index-DVJ16dPo.js 184 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const c of i.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function s(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(l){if(l.ep)return;l.ep=!0;const i=s(l);fetch(l.href,i)}})();/**
  2. * @vue/shared v3.5.43
  3. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  4. * @license MIT
  5. **/function kn(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const ct={},Ee=[],se=()=>{},Al=()=>!1,Is=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),js=t=>t.startsWith("onUpdate:"),$t=Object.assign,Sn=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},Vi=Object.prototype.hasOwnProperty,tt=(t,e)=>Vi.call(t,e),G=Array.isArray,be=t=>ds(t)==="[object Map]",ws=t=>ds(t)==="[object Set]",Un=t=>ds(t)==="[object Date]",z=t=>typeof t=="function",ht=t=>typeof t=="string",ne=t=>typeof t=="symbol",rt=t=>t!==null&&typeof t=="object",Ol=t=>(rt(t)||z(t))&&z(t.then)&&z(t.catch),Dl=Object.prototype.toString,ds=t=>Dl.call(t),Gi=t=>ds(t).slice(8,-1),Pl=t=>ds(t)==="[object Object]",Mn=t=>ht(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Xe=kn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Hs=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},zi=/-\w/g,Ut=Hs(t=>t.replace(zi,e=>e.slice(1).toUpperCase())),Yi=/\B([A-Z])/g,Pe=Hs(t=>t.replace(Yi,"-$1").toLowerCase()),Fl=Hs(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ys=Hs(t=>t?`on${Fl(t)}`:""),ee=(t,e)=>!Object.is(t,e),Js=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},Il=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Ji=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Vn;const qs=()=>Vn||(Vn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _t(t){if(G(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],l=ht(n)?to(n):_t(n);if(l)for(const i in l)e[i]=l[i]}return e}else if(ht(t)||rt(t))return t}const Zi=/;(?![^(]*\))/g,Xi=/:([^]+)/,Qi=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function to(t){const e={};return t.replace(Qi,s=>s.startsWith("/*")?"":s).split(Zi).forEach(s=>{if(s){const n=s.split(Xi);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Tt(t){let e="";if(ht(t))e=t;else if(G(t))for(let s=0;s<t.length;s++){const n=Tt(t[s]);n&&(e+=n+" ")}else if(rt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const eo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",so=kn(eo);function jl(t){return!!t||t===""}function no(t,e,s){if(t.length!==e.length)return!1;let n=!0;for(let l=0;n&&l<t.length;l++)n=Ls(t[l],e[l],s);return n}function Gn(t,e,s){if(t.size!==e.size)return!1;const n=Array.from(e),l=new Uint8Array(n.length);for(const i of t){let c=-1;for(let a=0;a<n.length;a++)if(!l[a]&&Ls(i,n[a],s)){c=a;break}if(c<0)return!1;l[c]=1}return!0}function lo(t,e,s){let n=be(t),l=be(e);if(n||l||(n=ws(t),l=ws(e),n||l))return n&&l?Gn(t,e,s):!1;const i=Object.keys(t).length,c=Object.keys(e).length;if(i!==c)return!1;for(const a in t){const u=t.hasOwnProperty(a),_=e.hasOwnProperty(a);if(u&&!_||!u&&_||!Ls(t[a],e[a],s))return!1}return String(t)===String(e)}function zn(t,e,s,n){s||(s=[new Map,new Map]);const[l,i]=s;if(l.has(t)||i.has(e))return l.get(t)===e&&i.get(e)===t;l.set(t,e),i.set(e,t);const c=n(t,e,s);return l.delete(t),i.delete(e),c}function Ls(t,e,s){if(t===e)return!0;let n=Un(t),l=Un(e);return n||l?n&&l?t.getTime()===e.getTime():!1:(n=ne(t),l=ne(e),n||l?t===e:(n=G(t),l=G(e),n||l?n&&l?zn(t,e,s,no):!1:(n=rt(t),l=rt(e),n||l?!n||!l?!1:zn(t,e,s,lo):String(t)===String(e))))}const Hl=t=>!!(t&&t.__v_isRef===!0),f=t=>ht(t)?t:t==null?"":G(t)||rt(t)&&(t.toString===Dl||!z(t.toString))?Hl(t)?f(t.value):JSON.stringify(t,ql,2):String(t),ql=(t,e)=>Hl(e)?ql(t,e.value):be(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,l],i)=>(s[Zs(n,i)+" =>"]=l,s),{})}:ws(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Zs(s))}:ne(e)?Zs(e):rt(e)&&!G(e)&&!Pl(e)?String(e):e,Zs=(t,e="")=>{var s;return ne(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
  6. * @vue/reactivity v3.5.43
  7. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  8. * @license MIT
  9. **/let yt;class io{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&yt&&(yt.active?(this.parent=yt,this.index=(yt.scopes||(yt.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes){const n=this.scopes.slice();for(e=0,s=n.length;e<s;e++)n[e].pause()}for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes){const l=this.scopes.slice();for(e=0,s=l.length;e<s;e++)l[e].resume()}const n=this.effects.slice();for(e=0,s=n.length;e<s;e++)n[e].resume()}}run(e){if(this._active){const s=yt;try{return yt=this,e()}finally{yt=s}}}on(){++this._on===1&&(this.prevScope=yt,yt=this)}off(){if(this._on>0&&--this._on===0){if(yt===this)yt=this.prevScope;else{let e=yt;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){const l=this.scopes.slice();for(s=0,n=l.length;s<n;s++)l[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0}}}function oo(){return yt}let dt;const Xs=new WeakSet;class Ll{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,yt&&(yt.active?yt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xs.has(this)&&(Xs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Rl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Yn(this),Bl(this);const e=dt,s=Vt;dt=this,Vt=!0;try{return this.fn()}finally{Wl(this),dt=e,Vt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)En(e);this.deps=this.depsTail=void 0,Yn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fn(this)&&this.run()}get dirty(){return fn(this)}}let Nl=0,Qe,ts;function Rl(t,e=!1){if(t.flags|=8,e){t.next=ts,ts=t;return}t.next=Qe,Qe=t}function Tn(){Nl++}function Cn(){if(--Nl>0)return;if(ts){let e=ts;for(ts=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Qe;){let e=Qe;for(Qe=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Bl(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Wl(t){let e,s=t.depsTail,n=s;for(;n;){const l=n.prevDep;n.version===-1?(n===s&&(s=l),En(n),ro(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=l}t.deps=e,t.depsTail=s}function fn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Kl(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Kl(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===is)||(t.globalVersion=is,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!fn(t))))return;t.flags|=2;const e=t.dep,s=dt,n=Vt;dt=t,Vt=!0;try{Bl(t);const l=t.fn(t._value);(e.version===0||ee(l,t._value))&&(t.flags|=128,t._value=l,e.version++)}catch(l){throw e.version++,l}finally{dt=s,Vt=n,Wl(t),t.flags&=-3}}function En(t,e=!1){const{dep:s,prevSub:n,nextSub:l}=t;if(n&&(n.nextSub=l,t.prevSub=void 0),l&&(l.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)En(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function ro(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Vt=!0;const Ul=[];function fe(){Ul.push(Vt),Vt=!1}function pe(){const t=Ul.pop();Vt=t===void 0?!0:t}function Yn(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=dt;dt=void 0;try{e()}finally{dt=s}}}let is=0;class ao{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class An{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!dt||!Vt||dt===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==dt)s=this.activeLink=new ao(dt,this),dt.deps?(s.prevDep=dt.depsTail,dt.depsTail.nextDep=s,dt.depsTail=s):dt.deps=dt.depsTail=s,Vl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=dt.depsTail,s.nextDep=void 0,dt.depsTail.nextDep=s,dt.depsTail=s,dt.deps===s&&(dt.deps=n)}return s}trigger(e){this.version++,is++,this.notify(e)}notify(e){Tn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Cn()}}}function Vl(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Vl(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const pn=new WeakMap,Ae=Symbol(""),hn=Symbol(""),os=Symbol("");function wt(t,e,s){if(Vt&&dt){let n=pn.get(t);n||pn.set(t,n=new Map);let l=n.get(s);l||(n.set(s,l=new An),l.map=n,l.key=s),l.track()}}function ce(t,e,s,n,l,i){const c=pn.get(t);if(!c){is++;return}const a=u=>{u&&u.trigger()};if(Tn(),e==="clear")c.forEach(a);else{const u=G(t),_=u&&Mn(s);if(u&&s==="length"){const d=Number(n);c.forEach((v,m)=>{(m==="length"||m===os||!ne(m)&&m>=d)&&a(v)})}else switch((s!==void 0||c.has(void 0))&&a(c.get(s)),_&&a(c.get(os)),e){case"add":u?_&&a(c.get("length")):(a(c.get(Ae)),be(t)&&a(c.get(hn)));break;case"delete":u||(a(c.get(Ae)),be(t)&&a(c.get(hn)));break;case"set":be(t)&&a(c.get(Ae));break}}Cn()}function He(t){const e=Q(t);return e===t||(wt(e,"iterate",os),Nt(t))?e:le(t)?ye(t)?e.map(s=>$e(Rt(s))):e.map($e):e.map(Rt)}function Ns(t){return wt(t=Q(t),"iterate",os),t}function Qt(t,e){return le(t)?$e(ye(t)?Rt(e):e):Rt(e)}const co={__proto__:null,[Symbol.iterator](){return Qs(this,Symbol.iterator,t=>Qt(this,t))},concat(...t){return He(this).concat(...t.map(e=>G(e)?He(e):e))},entries(){return Qs(this,"entries",t=>(t[1]=Qt(this,t[1]),t))},every(t,e){return oe(this,"every",t,e,void 0,arguments)},filter(t,e){return oe(this,"filter",t,e,s=>s.map(n=>Qt(this,n)),arguments)},find(t,e){return oe(this,"find",t,e,s=>Qt(this,s),arguments)},findIndex(t,e){return oe(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return oe(this,"findLast",t,e,s=>Qt(this,s),arguments)},findLastIndex(t,e){return oe(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return oe(this,"forEach",t,e,void 0,arguments)},includes(...t){return tn(this,"includes",t)},indexOf(...t){return tn(this,"indexOf",t)},join(t){return He(this).join(t)},lastIndexOf(...t){return tn(this,"lastIndexOf",t)},map(t,e){return oe(this,"map",t,e,void 0,arguments)},pop(){return Ve(this,"pop")},push(...t){return Ve(this,"push",t)},reduce(t,...e){return Jn(this,"reduce",t,e)},reduceRight(t,...e){return Jn(this,"reduceRight",t,e)},shift(){return Ve(this,"shift")},some(t,e){return oe(this,"some",t,e,void 0,arguments)},splice(...t){return Ve(this,"splice",t)},toReversed(){return He(this).toReversed()},toSorted(t){return He(this).toSorted(t)},toSpliced(...t){return He(this).toSpliced(...t)},unshift(...t){return Ve(this,"unshift",t)},values(){return Qs(this,"values",t=>Qt(this,t))}};function Qs(t,e,s){const n=Ns(t),l=n[e]();return n!==t&&!Nt(t)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=s(i.value)),i}),l}const uo=Array.prototype;function oe(t,e,s,n,l,i){const c=Ns(t),a=c!==t&&!Nt(t),u=c[e];if(u!==uo[e]){const v=u.apply(t,i);return a?Rt(v):v}let _=s;c!==t&&(a?_=function(v,m){return s.call(this,Qt(t,v),m,t)}:s.length>2&&(_=function(v,m){return s.call(this,v,m,t)}));const d=u.call(c,_,n);return a&&l?l(d):d}function Jn(t,e,s,n){const l=Ns(t),i=l!==t&&!Nt(t);let c=s,a=!1;l!==t&&(i?(a=n.length===0,c=function(_,d,v){return a&&(a=!1,_=Qt(t,_)),s.call(this,_,Qt(t,d),v,t)}):s.length>3&&(c=function(_,d,v){return s.call(this,_,d,v,t)}));const u=l[e](c,...n);return a?Qt(t,u):u}function tn(t,e,s){const n=Q(t);wt(n,"iterate",os);const l=n[e](...s);return(l===-1||l===!1)&&Pn(s[0])?(s[0]=Q(s[0]),n[e](...s)):l}function Ve(t,e,s=[]){fe(),Tn();const n=Q(t)[e].apply(t,s);return Cn(),pe(),n}const fo=kn("__proto__,__v_isRef,__isVue"),Gl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(ne));function po(t){ne(t)||(t=String(t));const e=Q(this);return wt(e,"has",t),e.hasOwnProperty(t)}class zl{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__v_skip;const l=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!l;if(s==="__v_isReadonly")return l;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(l?i?xo:Xl:i?Zl:Jl).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=G(e);if(!l){let u;if(c&&(u=co[s]))return u;if(s==="hasOwnProperty")return po}const a=Reflect.get(e,s,xt(e)?e:n);if((ne(s)?Gl.has(s):fo(s))||(l||wt(e,"get",s),i))return a;if(xt(a)){const u=c&&Mn(s)?a:a.value;return l&&rt(u)?_n(u):u}return rt(a)?l?_n(a):Rs(a):a}}class Yl extends zl{constructor(e=!1){super(!1,e)}set(e,s,n,l){let i=e[s];const c=G(e)&&Mn(s);if(!this._isShallow){const _=le(i);if(!Nt(n)&&!le(n)&&(i=Q(i),n=Q(n)),!c&&xt(i)&&!xt(n))return _||(i.value=n),!0}const a=c?Number(s)<e.length:tt(e,s),u=Reflect.set(e,s,n,xt(e)?e:l);return e===Q(l)&&u&&(a?ee(n,i)&&ce(e,"set",s,n):ce(e,"add",s,n)),u}deleteProperty(e,s){const n=tt(e,s);e[s];const l=Reflect.deleteProperty(e,s);return l&&n&&ce(e,"delete",s,void 0),l}has(e,s){const n=Reflect.has(e,s);return(!ne(s)||!Gl.has(s))&&wt(e,"has",s),n}ownKeys(e){return wt(e,"iterate",G(e)?"length":Ae),Reflect.ownKeys(e)}}class ho extends zl{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const mo=new Yl,_o=new ho,go=new Yl(!0);const mn=t=>t,ms=t=>Reflect.getPrototypeOf(t);function vo(t,e,s){return function(...n){const l=this.__v_raw,i=Q(l),c=be(i),a=t==="entries"||t===Symbol.iterator&&c,u=t==="keys"&&c,_=l[t](...n),d=s?mn:e?$e:Rt;return!e&&wt(i,"iterate",u?hn:Ae),$t(Object.create(_),{next(){const{value:v,done:m}=_.next();return m?{value:v,done:m}:{value:a?[d(v[0]),d(v[1])]:d(v),done:m}}})}}function _s(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function bo(t,e){const s={get(l){const i=this.__v_raw,c=Q(i),a=Q(l);t||(ee(l,a)&&wt(c,"get",l),wt(c,"get",a));const{has:u}=ms(c),_=e?mn:t?$e:Rt;if(u.call(c,l))return _(i.get(l));if(u.call(c,a))return _(i.get(a));i!==c&&i.get(l)},get size(){const l=this.__v_raw;return!t&&wt(Q(l),"iterate",Ae),l.size},has(l){const i=this.__v_raw,c=Q(i),a=Q(l);return t||(ee(l,a)&&wt(c,"has",l),wt(c,"has",a)),l===a?i.has(l):i.has(l)||i.has(a)},forEach(l,i){const c=this,a=c.__v_raw,u=Q(a),_=e?mn:t?$e:Rt;return!t&&wt(u,"iterate",Ae),a.forEach((d,v)=>l.call(i,_(d),_(v),c))}};return $t(s,t?{add:_s("add"),set:_s("set"),delete:_s("delete"),clear:_s("clear")}:{add(l){const i=Q(this),c=ms(i),a=Q(l),u=!e&&!Nt(l)&&!le(l)?a:l;return c.has.call(i,u)||ee(l,u)&&c.has.call(i,l)||ee(a,u)&&c.has.call(i,a)||(i.add(u),ce(i,"add",u,u)),this},set(l,i){!e&&!Nt(i)&&!le(i)&&(i=Q(i));const c=Q(this),{has:a,get:u}=ms(c);let _=a.call(c,l);_||(l=Q(l),_=a.call(c,l));const d=u.call(c,l);return c.set(l,i),_?ee(i,d)&&ce(c,"set",l,i):ce(c,"add",l,i),this},delete(l){const i=Q(this),{has:c,get:a}=ms(i);let u=c.call(i,l);u||(l=Q(l),u=c.call(i,l)),a&&a.call(i,l);const _=i.delete(l);return u&&ce(i,"delete",l,void 0),_},clear(){const l=Q(this),i=l.size!==0,c=l.clear();return i&&ce(l,"clear",void 0,void 0),c}}),["keys","values","entries",Symbol.iterator].forEach(l=>{s[l]=vo(l,t,e)}),s}function On(t,e){const s=bo(t,e);return(n,l,i)=>l==="__v_isReactive"?!t:l==="__v_isReadonly"?t:l==="__v_raw"?n:Reflect.get(tt(s,l)&&l in n?s:n,l,i)}const yo={get:On(!1,!1)},$o={get:On(!1,!0)},wo={get:On(!0,!1)};const Jl=new WeakMap,Zl=new WeakMap,Xl=new WeakMap,xo=new WeakMap;function ko(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rs(t){return le(t)?t:Dn(t,!1,mo,yo,Jl)}function So(t){return Dn(t,!1,go,$o,Zl)}function _n(t){return Dn(t,!0,_o,wo,Xl)}function Dn(t,e,s,n,l){if(!rt(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const i=l.get(t);if(i)return i;const c=ko(Gi(t));if(c===0)return t;const a=new Proxy(t,c===2?n:s);return l.set(t,a),a}function ye(t){return le(t)?ye(t.__v_raw):!!(t&&t.__v_isReactive)}function le(t){return!!(t&&t.__v_isReadonly)}function Nt(t){return!!(t&&t.__v_isShallow)}function Pn(t){return t?!!t.__v_raw:!1}function Q(t){const e=t&&t.__v_raw;return e?Q(e):t}function Mo(t){return!tt(t,"__v_skip")&&Object.isExtensible(t)&&Il(t,"__v_skip",!0),t}const Rt=t=>rt(t)?Rs(t):t,$e=t=>rt(t)?_n(t):t;function xt(t){return t?t.__v_isRef===!0:!1}function St(t){return To(t,!1)}function To(t,e){return xt(t)?t:new Co(t,e)}class Co{constructor(e,s){this.dep=new An,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:Q(e),this._value=s?e:Rt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Nt(e)||le(e);e=n?e:Q(e),ee(e,s)&&(this._rawValue=e,this._value=n?e:Rt(e),this.dep.trigger())}}function h(t){return xt(t)?t.value:t}const Eo={get:(t,e,s)=>e==="__v_raw"?t:h(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const l=t[e];return xt(l)&&!xt(s)?(l.value=s,!0):Reflect.set(t,e,s,n)}};function Ql(t){return ye(t)?t:new Proxy(t,Eo)}class Ao{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new An(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&dt!==this)return Rl(this,!0),!0}get value(){const e=this.dep.track();return Kl(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Oo(t,e,s=!1){let n,l;return z(t)?n=t:(n=t.get,l=t.set),new Ao(n,l,s)}const gs={},xs=new WeakMap;let Te;function Do(t,e=!1,s=Te){if(s){let n=xs.get(s);n||xs.set(s,n=[]),n.push(t)}}function Po(t,e,s=ct){const{immediate:n,deep:l,once:i,scheduler:c,augmentJob:a,call:u}=s,_=D=>l?D:Nt(D)||l===!1||l===0?ue(D,1):ue(D);let d,v,m,b,S=!1,x=!1;if(xt(t)?(v=()=>t.value,S=Nt(t)):ye(t)?(v=()=>_(t),S=!0):G(t)?(x=!0,S=t.some(D=>ye(D)||Nt(D)),v=()=>t.map(D=>{if(xt(D))return D.value;if(ye(D))return _(D);if(z(D))return u?u(D,2):D()})):z(t)?e?v=u?()=>u(t,2):t:v=()=>{if(m){fe();try{m()}finally{pe()}}const D=Te;Te=d;try{return u?u(t,3,[b]):t(b)}finally{Te=D}}:v=se,e&&l){const D=v,L=l===!0?1/0:l;v=()=>ue(D(),L)}const j=oo(),$=()=>{d.stop(),j&&j.active&&Sn(j.effects,d)};if(i&&e){const D=e;e=(...L)=>{const Z=D(...L);return $(),Z}}let C=x?new Array(t.length).fill(gs):gs;const q=D=>{if(!(!(d.flags&1)||!d.dirty&&!D))if(e){const L=d.run();if(D||l||S||(x?L.some((Z,mt)=>ee(Z,C[mt])):ee(L,C))){m&&m();const Z=Te;Te=d;try{const mt=[L,C===gs?void 0:x&&C[0]===gs?[]:C,b];C=L,u?u(e,3,mt):e(...mt)}finally{Te=Z}}}else d.run()};return a&&a(q),d=new Ll(v),d.scheduler=c?()=>c(q,!1):q,b=D=>Do(D,!1,d),m=d.onStop=()=>{const D=xs.get(d);if(D){if(u)u(D,4);else for(const L of D)L();xs.delete(d)}},e?n?q(!0):C=d.run():c?c(q.bind(null,!0),!0):d.run(),$.pause=d.pause.bind(d),$.resume=d.resume.bind(d),$.stop=$,$}function ue(t,e=1/0,s){if(e<=0||!rt(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,xt(t))ue(t.value,e,s);else if(G(t))for(let n=0;n<t.length;n++)ue(t[n],e,s);else if(ws(t)||be(t))t.forEach(n=>{ue(n,e,s)});else if(Pl(t)){for(const n in t)ue(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&ue(t[n],e,s)}return t}/**
  10. * @vue/runtime-core v3.5.43
  11. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  12. * @license MIT
  13. **/function fs(t,e,s,n){try{return n?t(...n):t()}catch(l){Bs(l,e,s)}}function Gt(t,e,s,n){if(z(t)){const l=fs(t,e,s,n);return l&&Ol(l)&&l.catch(i=>{Bs(i,e,s)}),l}if(G(t)){const l=[];for(let i=0;i<t.length;i++)l.push(Gt(t[i],e,s,n));return l}}function Bs(t,e,s,n=!0){const l=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:c}=e&&e.appContext.config||ct;if(e){let a=e.parent;const u=e.proxy,_=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const d=a.ec;if(d){for(let v=0;v<d.length;v++)if(d[v](t,u,_)===!1)return}a=a.parent}if(i){fe(),fs(i,null,10,[t,u,_]),pe();return}}Fo(t,s,l,n,c)}function Fo(t,e,s,n=!0,l=!1){if(l)throw t;console.error(t)}const Mt=[];let Xt=-1;const Le=[];let ge=null,qe=0;const ti=Promise.resolve();let ks=null;function Io(t){const e=ks||ti;return t?e.then(this?t.bind(this):t):e}function jo(t){let e=Xt+1,s=Mt.length;for(;e<s;){const n=e+s>>>1,l=Mt[n],i=rs(l);i<t||i===t&&l.flags&2?e=n+1:s=n}return e}function Fn(t){if(!(t.flags&1)){const e=rs(t),s=Mt[Mt.length-1];!s||!(t.flags&2)&&e>=rs(s)?Mt.push(t):Mt.splice(jo(e),0,t),t.flags|=1,ei()}}function ei(){ks||(ks=ti.then(ni))}function Ho(t){if(!G(t))ge&&t.id===-1?ge.splice(qe+1,0,t):t.flags&1||(Le.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)Le.push(t[e]);ei()}function Zn(t,e,s=Xt+1){for(;s<Mt.length;s++){const n=Mt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Mt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function si(t){if(Le.length){const e=[...new Set(Le)].sort((s,n)=>rs(s)-rs(n));if(Le.length=0,ge){for(let s=0;s<e.length;s++)ge.push(e[s]);return}for(ge=e,qe=0;qe<ge.length;qe++){const s=ge[qe];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ge=null,qe=0}}const rs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function ni(t){try{for(Xt=0;Xt<Mt.length;Xt++){const e=Mt[Xt];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),fs(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Xt<Mt.length;Xt++){const e=Mt[Xt];e&&(e.flags&=-2)}Xt=-1,Mt.length=0,si(),ks=null,(Mt.length||Le.length)&&ni()}}let Lt=null,li=null;function Ss(t){const e=Lt;return Lt=t,li=t&&t.type.__scopeId||null,e}function qo(t,e=Lt,s){if(!e||t._n)return t;const n=(...l)=>{n._d&&cl(-1);const i=Ss(e),c=Oe.length;let a;try{a=t(...l)}finally{for(let u=Oe.length;u>c;u--)Ei();Ss(i),n._d&&cl(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function Xn(t,e){if(Lt===null)return t;const s=zs(Lt),n=t.dirs||(t.dirs=[]);for(let l=0;l<e.length;l++){let[i,c,a,u=ct]=e[l];i&&(z(i)&&(i={mounted:i,updated:i}),i.deep&&ue(c),n.push({dir:i,instance:s,value:c,oldValue:void 0,arg:a,modifiers:u}))}return t}function Se(t,e,s,n){const l=t.dirs,i=e&&e.dirs;for(let c=0;c<l.length;c++){const a=l[c];i&&(a.oldValue=i[c].value);let u=a.dir[n];u&&(fe(),Gt(u,s,8,[t.el,a,t,e]),pe())}}function Lo(t,e){if(Ct){let s=Ct.provides;const n=Ct.parent&&Ct.parent.provides;n===s&&(s=Ct.provides=Object.create(n)),s[t]=e}}function bs(t,e,s=!1){const n=Ir();if(n||Ne){let l=Ne?Ne._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(l&&t in l)return l[t];if(arguments.length>1)return s&&z(e)?e.call(n&&n.proxy):e}}const No=Symbol.for("v-scx"),Ro=()=>bs(No);function es(t,e,s){return ii(t,e,s)}function ii(t,e,s=ct){const{immediate:n,deep:l,flush:i,once:c}=s,a=$t({},s),u=e&&n||!e&&i!=="post";let _;if(us){if(i==="sync"){const b=Ro();_=b.__watcherHandles||(b.__watcherHandles=[])}else if(!u){const b=()=>{};return b.stop=se,b.resume=se,b.pause=se,b}}const d=Ct;a.call=(b,S,x)=>Gt(b,d,S,x);let v=!1;i==="post"?a.scheduler=b=>{At(b,d&&d.suspense)}:i!=="sync"&&(v=!0,a.scheduler=(b,S)=>{S?b():Fn(b)}),a.augmentJob=b=>{e&&(b.flags|=4),v&&(b.flags|=2,d&&(b.id=d.uid,b.i=d))};const m=Po(t,e,a);return us&&(_?_.push(m):u&&m()),m}function Bo(t,e,s){const n=this.proxy,l=ht(t)?t.includes(".")?oi(n,t):()=>n[t]:t.bind(n,n);let i;z(e)?i=e:(i=e.handler,s=e);const c=ps(this),a=ii(l,i.bind(n),s);return c(),a}function oi(t,e){const s=e.split(".");return()=>{let n=t;for(let l=0;l<s.length&&n;l++)n=n[s[l]];return n}}const Wo=Symbol("_vte"),Ws=t=>t.__isTeleport,en=Symbol("_leaveCb");function Ko(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==he){e=s;break}}return e}function ri(t){if(!jn(t))return Ws(t.type)&&t.children?Ko(t.children):t;if(t.component)return t.component.subTree;const{shapeFlag:e,children:s}=t;if(s){if(e&16)return s[0];if(e&32&&z(s.default))return s.default()}}function In(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;In(Ws(s.type)&&ri(s)||s,e)}else t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function It(t,e){return z(t)?$t({name:t.name},e,{setup:t}):t}function ai(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Qn(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const Ms=new WeakMap;function ss(t,e,s,n,l=!1){if(G(t)){t.forEach((x,j)=>ss(x,e&&(G(e)?e[j]:e),s,n,l));return}if(ns(n)&&!l){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ss(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?zs(n.component):n.el,c=l?null:i,{i:a,r:u}=t,_=e&&e.r,d=a.refs===ct?a.refs={}:a.refs,v=a.setupState,m=Q(v),b=v===ct?Al:x=>Qn(d,x)?!1:tt(m,x),S=(x,j)=>!(j&&Qn(d,j));if(_!=null&&_!==u){if(tl(e),ht(_))d[_]=null,b(_)&&(v[_]=null);else if(xt(_)){const x=e;S(_,x.k)&&(_.value=null),x.k&&(d[x.k]=null)}}if(z(u))fs(u,a,12,[c,d]);else{const x=ht(u),j=xt(u);if(x||j){const $=()=>{if(t.f){const C=x?b(u)?v[u]:d[u]:S()||!t.k?u.value:d[t.k];if(l)G(C)&&Sn(C,i);else if(G(C))C.includes(i)||C.push(i);else if(x)d[u]=[i],b(u)&&(v[u]=d[u]);else{const q=[i];S(u,t.k)&&(u.value=q),t.k&&(d[t.k]=q)}}else x?(d[u]=c,b(u)&&(v[u]=c)):j&&(S(u,t.k)&&(u.value=c),t.k&&(d[t.k]=c))};if(c){const C=()=>{$(),Ms.delete(t)};C.id=-1,Ms.set(t,C),At(C,s)}else tl(t),$()}}}function tl(t){const e=Ms.get(t);e&&(e.flags|=8,Ms.delete(t))}qs().requestIdleCallback;qs().cancelIdleCallback;const ns=t=>!!t.type.__asyncLoader,jn=t=>t.type.__isKeepAlive;function Uo(t,e){ci(t,"a",e)}function Vo(t,e){ci(t,"da",e)}function ci(t,e,s=Ct){const n=t.__wdc||(t.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return t()});if(Ks(e,n,s),s){let l=s.parent;for(;l&&l.parent;)jn(l.parent.vnode)&&Go(n,e,s,l),l=l.parent}}function Go(t,e,s,n){const l=Ks(e,t,n,!0);di(()=>{Sn(n[e],l)},s)}function Ks(t,e,s=Ct,n=!1){if(s){const l=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...c)=>{fe();const a=ps(s),u=Gt(e,s,t,c);return a(),pe(),u});return n?l.unshift(i):l.push(i),i}}const me=t=>(e,s=Ct)=>{(!us||t==="sp")&&Ks(t,(...n)=>e(...n),s)},zo=me("bm"),Us=me("m"),Yo=me("bu"),Jo=me("u"),ui=me("bum"),di=me("um"),Zo=me("sp"),Xo=me("rtg"),Qo=me("rtc");function tr(t,e=Ct){Ks("ec",t,e)}const er=Symbol.for("v-ndc");function st(t,e,s,n){let l;const i=s,c=G(t);if(c||ht(t)){const a=c&&ye(t);let u=!1,_=!1;a&&(u=!Nt(t),_=le(t),t=Ns(t)),l=new Array(t.length);for(let d=0,v=t.length;d<v;d++)l[d]=e(u?_?$e(Rt(t[d])):Rt(t[d]):t[d],d,void 0,i)}else if(typeof t=="number"){l=new Array(t);for(let a=0;a<t;a++)l[a]=e(a+1,a,void 0,i)}else if(rt(t))if(t[Symbol.iterator])l=Array.from(t,(a,u)=>e(a,u,void 0,i));else{const a=Object.keys(t);l=new Array(a.length);for(let u=0,_=a.length;u<_;u++){const d=a[u];l[u]=e(t[d],d,u,i)}}else l=[];return l}const gn=t=>t?Pi(t)?zs(t):gn(t.parent):null,ls=$t(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>gn(t.parent),$root:t=>gn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>pi(t),$forceUpdate:t=>t.f||(t.f=()=>{Fn(t.update)}),$nextTick:t=>t.n||(t.n=Io.bind(t.proxy)),$watch:t=>Bo.bind(t)}),sn=(t,e)=>t!==ct&&!t.__isScriptSetup&&tt(t,e),sr={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:l,props:i,accessCache:c,type:a,appContext:u}=t;if(e[0]!=="$"){const m=c[e];if(m!==void 0)switch(m){case 1:return n[e];case 2:return l[e];case 4:return s[e];case 3:return i[e]}else{if(sn(n,e))return c[e]=1,n[e];if(l!==ct&&tt(l,e))return c[e]=2,l[e];if(tt(i,e))return c[e]=3,i[e];if(s!==ct&&tt(s,e))return c[e]=4,s[e];vn&&(c[e]=0)}}const _=ls[e];let d,v;if(_)return e==="$attrs"&&wt(t.attrs,"get",""),_(t);if((d=a.__cssModules)&&(d=d[e]))return d;if(s!==ct&&tt(s,e))return c[e]=4,s[e];if(v=u.config.globalProperties,tt(v,e))return v[e]},set({_:t},e,s){const{data:n,setupState:l,ctx:i}=t;return sn(l,e)?(l[e]=s,!0):n!==ct&&tt(n,e)?(n[e]=s,!0):tt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:l,props:i,type:c}},a){let u;return!!(s[a]||t!==ct&&a[0]!=="$"&&tt(t,a)||sn(e,a)||tt(i,a)||tt(n,a)||tt(ls,a)||tt(l.config.globalProperties,a)||(u=c.__cssModules)&&u[a])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:tt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function el(t){return G(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let vn=!0;function nr(t){const e=pi(t),s=t.proxy,n=t.ctx;vn=!1,e.beforeCreate&&sl(e.beforeCreate,t,"bc");const{data:l,computed:i,methods:c,watch:a,provide:u,inject:_,created:d,beforeMount:v,mounted:m,beforeUpdate:b,updated:S,activated:x,deactivated:j,beforeDestroy:$,beforeUnmount:C,destroyed:q,unmounted:D,render:L,renderTracked:Z,renderTriggered:mt,errorCaptured:Bt,serverPrefetch:_e,expose:ie,inheritAttrs:xe,components:Fe,directives:jt,filters:Be}=e;if(_&&lr(_,n,null),c)for(const ut in c){const nt=c[ut];z(nt)&&(n[ut]=nt.bind(s))}if(l){const ut=l.call(s,s);rt(ut)&&(t.data=Rs(ut))}if(vn=!0,i)for(const ut in i){const nt=i[ut],Wt=z(nt)?nt.bind(s,s):z(nt.get)?nt.get.bind(s,s):se,ke=!z(nt)&&z(nt.set)?nt.set.bind(s):se,N=O({get:Wt,set:ke});Object.defineProperty(n,ut,{enumerable:!0,configurable:!0,get:()=>N.value,set:K=>N.value=K})}if(a)for(const ut in a)fi(a[ut],n,s,ut);if(u){const ut=z(u)?u.call(s):u;Reflect.ownKeys(ut).forEach(nt=>{Lo(nt,ut[nt])})}d&&sl(d,t,"c");function vt(ut,nt){G(nt)?nt.forEach(Wt=>ut(Wt.bind(s))):nt&&ut(nt.bind(s))}if(vt(zo,v),vt(Us,m),vt(Yo,b),vt(Jo,S),vt(Uo,x),vt(Vo,j),vt(tr,Bt),vt(Qo,Z),vt(Xo,mt),vt(ui,C),vt(di,D),vt(Zo,_e),G(ie))if(ie.length){const ut=t.exposed||(t.exposed={});ie.forEach(nt=>{Object.defineProperty(ut,nt,{get:()=>s[nt],set:Wt=>s[nt]=Wt,enumerable:!0})})}else t.exposed||(t.exposed={});L&&t.render===se&&(t.render=L),xe!=null&&(t.inheritAttrs=xe),Fe&&(t.components=Fe),jt&&(t.directives=jt),_e&&ai(t)}function lr(t,e,s=se){G(t)&&(t=bn(t));for(const n in t){const l=t[n];let i;rt(l)?"default"in l?i=bs(l.from||n,l.default,!0):i=bs(l.from||n):i=bs(l),xt(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):e[n]=i}}function sl(t,e,s){Gt(G(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function fi(t,e,s,n){let l=n.includes(".")?oi(s,n):()=>s[n];if(ht(t)){const i=e[t];z(i)&&es(l,i)}else if(z(t))es(l,t.bind(s));else if(rt(t))if(G(t))t.forEach(i=>fi(i,e,s,n));else{const i=z(t.handler)?t.handler.bind(s):e[t.handler];z(i)&&es(l,i,t)}}function pi(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:l,optionsCache:i,config:{optionMergeStrategies:c}}=t.appContext,a=i.get(e);let u;return a?u=a:!l.length&&!s&&!n?u=e:(u={},l.length&&l.forEach(_=>Ts(u,_,c,!0)),Ts(u,e,c)),rt(e)&&i.set(e,u),u}function Ts(t,e,s,n=!1){const{mixins:l,extends:i}=e;i&&Ts(t,i,s,!0),l&&l.forEach(c=>Ts(t,c,s,!0));for(const c in e)if(!(n&&c==="expose")){const a=ir[c]||s&&s[c];t[c]=a?a(t[c],e[c]):e[c]}return t}const ir={data:nl,props:ll,emits:ll,methods:Je,computed:Je,beforeCreate:kt,created:kt,beforeMount:kt,mounted:kt,beforeUpdate:kt,updated:kt,beforeDestroy:kt,beforeUnmount:kt,destroyed:kt,unmounted:kt,activated:kt,deactivated:kt,errorCaptured:kt,serverPrefetch:kt,components:Je,directives:Je,watch:rr,provide:nl,inject:or};function nl(t,e){return e?t?function(){return $t(z(t)?t.call(this,this):t,z(e)?e.call(this,this):e)}:e:t}function or(t,e){return Je(bn(t),bn(e))}function bn(t){if(G(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function kt(t,e){return t?[...new Set([].concat(t,e))]:e}function Je(t,e){return t?$t(Object.create(null),t,e):e}function ll(t,e){return t?G(t)&&G(e)?[...new Set([...t,...e])]:$t(Object.create(null),el(t),el(e??{})):e}function rr(t,e){if(!t)return e;if(!e)return t;const s=$t(Object.create(null),t);for(const n in e)s[n]=kt(t[n],e[n]);return s}function hi(){return{app:null,config:{isNativeTag:Al,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ar=0;function cr(t,e){return function(n,l=null){z(n)||(n=$t({},n)),l!=null&&!rt(l)&&(l=null);const i=hi(),c=new WeakSet,a=[];let u=!1;const _=i.app={_uid:ar++,_component:n,_props:l,_container:null,_context:i,_instance:null,version:Rr,get config(){return i.config},set config(d){},use(d,...v){return c.has(d)||(d&&z(d.install)?(c.add(d),d.install(_,...v)):z(d)&&(c.add(d),d(_,...v))),_},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),_},component(d,v){return v?(i.components[d]=v,_):i.components[d]},directive(d,v){return v?(i.directives[d]=v,_):i.directives[d]},mount(d,v,m){if(!u){const b=_._ceVNode||ft(n,l);return b.appContext=i,m===!0?m="svg":m===!1&&(m=void 0),t(b,d,m),u=!0,_._container=d,d.__vue_app__=_,zs(b.component)}},onUnmount(d){a.push(d)},unmount(){u&&(Gt(a,_._instance,16),t(null,_._container),delete _._container.__vue_app__)},provide(d,v){return i.provides[d]=v,_},runWithContext(d){const v=Ne;Ne=_;try{return d()}finally{Ne=v}}};return _}}let Ne=null;const ur=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ut(e)}Modifiers`]||t[`${Pe(e)}Modifiers`];function dr(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||ct;let l=s;const i=e.startsWith("update:"),c=i&&ur(n,e.slice(7));c&&(c.trim&&(l=s.map(d=>ht(d)?d.trim():d)),c.number&&(l=l.map(Ji)));let a,u=n[a=Ys(e)]||n[a=Ys(Ut(e))];!u&&i&&(u=n[a=Ys(Pe(e))]),u&&Gt(u,t,6,l);const _=n[a+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Gt(_,t,6,l)}}const fr=new WeakMap;function mi(t,e,s=!1){const n=s?fr:e.emitsCache,l=n.get(t);if(l!==void 0)return l;const i=t.emits;let c={},a=!1;if(!z(t)){const u=_=>{const d=mi(_,e,!0);d&&(a=!0,$t(c,d))};!s&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!i&&!a?(rt(t)&&n.set(t,null),null):(G(i)?i.forEach(u=>c[u]=null):$t(c,i),rt(t)&&n.set(t,c),c)}function Vs(t,e){return!t||!Is(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),tt(t,e[0].toLowerCase()+e.slice(1))||tt(t,Pe(e))||tt(t,e))}function il(t){const{type:e,vnode:s,proxy:n,withProxy:l,propsOptions:[i],slots:c,attrs:a,emit:u,render:_,renderCache:d,props:v,data:m,setupState:b,ctx:S,inheritAttrs:x}=t,j=Ss(t);let $,C;try{if(s.shapeFlag&4){const D=l||n,L=D;$=te(_.call(L,D,d,v,b,m,S)),C=a}else{const D=e;$=te(D.length>1?D(v,{attrs:a,slots:c,emit:u}):D(v,null)),C=e.props?a:pr(a)}}catch(D){Oe.length=0,Bs(D,t,1),$=ft(he)}let q=$;if(C&&x!==!1){const D=Object.keys(C),{shapeFlag:L}=q;D.length&&L&7&&(i&&D.some(js)&&(C=hr(C,i)),q=Re(q,C,!1,!0))}if(s.dirs&&(q=Re(q,null,!1,!0),q.dirs=q.dirs?q.dirs.concat(s.dirs):s.dirs),s.transition){const D=Ws(q.type)&&ri(q)||q;In(D,s.transition)}return $=q,Ss(j),$}const pr=t=>{let e;for(const s in t)(s==="class"||s==="style"||Is(s))&&((e||(e={}))[s]=t[s]);return e},hr=(t,e)=>{const s={};for(const n in t)(!js(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function mr(t,e,s){const{props:n,children:l,component:i}=t,{props:c,children:a,patchFlag:u}=e,_=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?ol(n,c,_):!!c;if(u&8){const d=e.dynamicProps;for(let v=0;v<d.length;v++){const m=d[v];if(_i(c,n,m)&&!Vs(_,m))return!0}}}else return(l||a)&&(!a||!a.$stable)?!0:n===c?!1:n?c?ol(n,c,_):!0:!!c;return!1}function ol(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let l=0;l<n.length;l++){const i=n[l];if(_i(e,t,i)&&!Vs(s,i))return!0}return!1}function _i(t,e,s){const n=t[s],l=e[s];return s==="style"&&rt(n)&&rt(l)?!Ls(n,l):n!==l}function _r({vnode:t,parent:e,suspense:s},n){for(;e;){const l=e.subTree;if(l.suspense&&l.suspense.activeBranch===t&&(l.suspense.vnode.el=l.el=n,t=l),l===t)(t=e.vnode).el=n,e=e.parent;else break}s&&s.activeBranch===t&&(s.vnode.el=n)}const gi={},vi=()=>Object.create(gi),bi=t=>Object.getPrototypeOf(t)===gi;function gr(t,e,s,n=!1){const l={},i=vi();t.propsDefaults=Object.create(null),yi(t,e,l,i);for(const c in t.propsOptions[0])c in l||(l[c]=void 0);s?t.props=n?l:So(l):t.type.props?t.props=l:t.props=i,t.attrs=i}function vr(t,e,s,n){const{props:l,attrs:i,vnode:{patchFlag:c}}=t,a=Q(l),[u]=t.propsOptions;let _=!1;if((n||c>0)&&!(c&16)){if(c&8){const d=t.vnode.dynamicProps;for(let v=0;v<d.length;v++){let m=d[v];if(Vs(t.emitsOptions,m))continue;const b=e[m];if(u)if(tt(i,m))b!==i[m]&&(i[m]=b,_=!0);else{const S=Ut(m);l[S]=yn(u,a,S,b,t,!1)}else b!==i[m]&&(i[m]=b,_=!0)}}}else{yi(t,e,l,i)&&(_=!0);let d;for(const v in a)(!e||!tt(e,v)&&((d=Pe(v))===v||!tt(e,d)))&&(u?s&&(s[v]!==void 0||s[d]!==void 0)&&(l[v]=yn(u,a,v,void 0,t,!0)):delete l[v]);if(i!==a)for(const v in i)(!e||!tt(e,v))&&(delete i[v],_=!0)}_&&ce(t.attrs,"set","")}function yi(t,e,s,n){const[l,i]=t.propsOptions;let c=!1,a;if(e)for(let u in e){if(Xe(u))continue;const _=e[u];let d;l&&tt(l,d=Ut(u))?!i||!i.includes(d)?s[d]=_:(a||(a={}))[d]=_:Vs(t.emitsOptions,u)||(!(u in n)||_!==n[u])&&(n[u]=_,c=!0)}if(i){const u=Q(s),_=a||ct;for(let d=0;d<i.length;d++){const v=i[d];s[v]=yn(l,u,v,_[v],t,!tt(_,v))}}return c}function yn(t,e,s,n,l,i){const c=t[s];if(c!=null){const a=tt(c,"default");if(a&&n===void 0){const u=c.default;if(c.type!==Function&&!c.skipFactory&&z(u)){const{propsDefaults:_}=l;if(s in _)n=_[s];else{const d=ps(l);n=_[s]=u.call(null,e),d()}}else n=u;l.ce&&l.ce._setProp(s,n)}c[0]&&(i&&!a?n=!1:c[1]&&(n===""||n===Pe(s))&&(n=!0))}return n}const br=new WeakMap;function $i(t,e,s=!1){const n=s?br:e.propsCache,l=n.get(t);if(l)return l;const i=t.props,c={},a=[];let u=!1;if(!z(t)){const d=v=>{u=!0;const[m,b]=$i(v,e,!0);$t(c,m),b&&a.push(...b)};!s&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!i&&!u)return rt(t)&&n.set(t,Ee),Ee;if(G(i))for(let d=0;d<i.length;d++){const v=Ut(i[d]);rl(v)&&(c[v]=ct)}else if(i)for(const d in i){const v=Ut(d);if(rl(v)){const m=i[d],b=c[v]=G(m)||z(m)?{type:m}:$t({},m),S=b.type;let x=!1,j=!0;if(G(S))for(let $=0;$<S.length;++$){const C=S[$],q=z(C)&&C.name;if(q==="Boolean"){x=!0;break}else q==="String"&&(j=!1)}else x=z(S)&&S.name==="Boolean";b[0]=x,b[1]=j,(x||tt(b,"default"))&&a.push(v)}}const _=[c,a];return rt(t)&&n.set(t,_),_}function rl(t){return t[0]!=="$"&&!Xe(t)}const Hn=t=>t==="_"||t==="_ctx"||t==="$stable",qn=t=>G(t)?t.map(te):[te(t)],yr=(t,e,s)=>{if(e._n)return e;const n=qo((...l)=>qn(e(...l)),s);return n._c=!1,n},wi=(t,e,s)=>{const n=t._ctx;for(const l in t){if(Hn(l))continue;const i=t[l];if(z(i))e[l]=yr(l,i,n);else if(i!=null){const c=qn(i);e[l]=()=>c}}},xi=(t,e)=>{const s=qn(e);t.slots.default=()=>s},ki=(t,e,s)=>{for(const n in e)(s||!Hn(n))&&(t[n]=e[n])},$r=(t,e,s)=>{const n=t.slots=vi();if(t.vnode.shapeFlag&32){const l=e._;l?(ki(n,e,s),s&&Il(n,"_",l,!0)):wi(e,n)}else e&&xi(t,e)},wr=(t,e,s)=>{const{vnode:n,slots:l}=t;let i=!0,c=ct;if(n.shapeFlag&32){const a=e._;a?s&&a===1?i=!1:ki(l,e,s):(i=!e.$stable,wi(e,l)),c=e}else e&&(xi(t,e),c={default:1});if(i)for(const a in l)!Hn(a)&&c[a]==null&&delete l[a]},At=Tr;function xr(t){return kr(t)}function kr(t,e){const s=qs();s.__VUE__=!0;const{insert:n,remove:l,patchProp:i,createElement:c,createText:a,createComment:u,setText:_,setElementText:d,parentNode:v,nextSibling:m,setScopeId:b=se,insertStaticContent:S}=t,x=(p,g,y,A=null,M=null,E=null,I=void 0,F=null,P=!!g.dynamicChildren)=>{if(p===g)return;p&&!Ge(p,g)&&(A=Kt(p),K(p,M,E,!0),p=null),g.patchFlag===-2&&(P=!1,g.dynamicChildren=null),g.dynamicChildren&&p&&p.dynamicChildren&&p.dynamicChildren.hasOnce&&(g.dynamicChildren===Ee&&(g.dynamicChildren=[]),g.dynamicChildren.hasOnce=!0);const{type:T,ref:B,shapeFlag:H}=g;switch(T){case Gs:j(p,g,y,A);break;case he:$(p,g,y,A);break;case ys:p==null&&C(g,y,A,I);break;case V:Fe(p,g,y,A,M,E,I,F,P);break;default:H&1?L(p,g,y,A,M,E,I,F,P):H&6?jt(p,g,y,A,M,E,I,F,P):(H&64||H&128)&&T.process(p,g,y,A,M,E,I,F,P,je)}B!=null&&M?ss(B,p&&p.ref,E,g||p,!g):B==null&&p&&p.ref!=null&&ss(p.ref,null,E,p,!0)},j=(p,g,y,A)=>{if(p==null)n(g.el=a(g.children),y,A);else{const M=g.el=p.el;g.children!==p.children&&_(M,g.children)}},$=(p,g,y,A)=>{p==null?n(g.el=u(g.children||""),y,A):g.el=p.el},C=(p,g,y,A)=>{[p.el,p.anchor]=S(p.children,g,y,A,p.el,p.anchor)},q=({el:p,anchor:g},y,A)=>{let M;for(;p&&p!==g;)M=m(p),n(p,y,A),p=M;n(g,y,A)},D=({el:p,anchor:g})=>{let y;for(;p&&p!==g;)y=m(p),l(p),p=y;l(g)},L=(p,g,y,A,M,E,I,F,P)=>{if(g.type==="svg"?I="svg":g.type==="math"&&(I="mathml"),p==null)Z(g,y,A,M,E,I,F,P);else{const T=p.el&&p.el._isVueCE?p.el:null;try{T&&T._beginPatch(),_e(p,g,M,E,I,F,P)}finally{T&&T._endPatch()}}},Z=(p,g,y,A,M,E,I,F)=>{let P,T;const{props:B,shapeFlag:H,transition:R,dirs:U}=p;if(P=p.el=c(p.type,E,B&&B.is,B),H&8?d(P,p.children):H&16&&Bt(p.children,P,null,A,M,nn(p,E),I,F),U&&Se(p,null,A,"created"),mt(P,p,p.scopeId,I,A),B){for(const at in B)at!=="value"&&!Xe(at)&&i(P,at,null,B[at],E,A);"value"in B&&i(P,"value",null,B.value,E),(T=B.onVnodeBeforeMount)&&Zt(T,A,p)}U&&Se(p,null,A,"beforeMount");const X=Sr(M,R);X&&R.beforeEnter(P),n(P,g,y),((T=B&&B.onVnodeMounted)||X||U)&&At(()=>{try{T&&Zt(T,A,p),X&&R.enter(P),U&&Se(p,null,A,"mounted")}finally{}},M)},mt=(p,g,y,A,M)=>{if(y&&b(p,y),A)for(let E=0;E<A.length;E++)b(p,A[E]);if(M){let E=M.subTree;if(g===E||Ci(E.type)&&(E.ssContent===g||E.ssFallback===g)){const I=M.vnode;mt(p,I,I.scopeId,I.slotScopeIds,M.parent)}}},Bt=(p,g,y,A,M,E,I,F,P=0)=>{for(let T=P;T<p.length;T++){const B=p[T]=F?ae(p[T]):te(p[T]);x(null,B,g,y,A,M,E,I,F)}},_e=(p,g,y,A,M,E,I)=>{const F=g.el=p.el;let{patchFlag:P,dynamicChildren:T,dirs:B}=g;P|=p.patchFlag&16;const H=p.props||ct,R=g.props||ct;let U;if(y&&Me(y,!1),(U=R.onVnodeBeforeUpdate)&&Zt(U,y,g,p),B&&Se(g,p,y,"beforeUpdate"),y&&Me(y,!0),T&&(!p.dynamicChildren||p.dynamicChildren.length!==T.length)&&(P=0,I=!1,T=null),(H.innerHTML&&R.innerHTML==null||H.textContent&&R.textContent==null)&&d(F,""),T?ie(p.dynamicChildren,T,F,y,A,nn(g,M),E):I||nt(p,g,F,null,y,A,nn(g,M),E,!1),P>0){if(P&16)xe(F,H,R,y,M);else if(P&2&&H.class!==R.class&&i(F,"class",null,R.class,M),P&4&&i(F,"style",H.style,R.style,M),P&8){const X=g.dynamicProps;for(let at=0;at<X.length;at++){const lt=X[at],gt=H[lt],bt=R[lt];(bt!==gt||lt==="value")&&i(F,lt,gt,bt,M,y)}}P&1&&p.children!==g.children&&d(F,g.children)}else!I&&T==null&&xe(F,H,R,y,M);((U=R.onVnodeUpdated)||B)&&At(()=>{U&&Zt(U,y,g,p),B&&Se(g,p,y,"updated")},A)},ie=(p,g,y,A,M,E,I)=>{for(let F=0;F<g.length;F++){const P=p[F],T=g[F],B=P.el&&(P.type===V||!Ge(P,T)||P.shapeFlag&198)?v(P.el):y;x(P,T,B,null,A,M,E,I,!0)}},xe=(p,g,y,A,M)=>{if(g!==y){if(g!==ct)for(const E in g)!Xe(E)&&!(E in y)&&i(p,E,g[E],null,M,A);for(const E in y){if(Xe(E))continue;const I=y[E],F=g[E];I!==F&&E!=="value"&&i(p,E,F,I,M,A)}"value"in y&&i(p,"value",g.value,y.value,M)}},Fe=(p,g,y,A,M,E,I,F,P)=>{const T=g.el=p?p.el:a(""),B=g.anchor=p?p.anchor:a("");let{patchFlag:H,dynamicChildren:R,slotScopeIds:U}=g;U&&(F=F?F.concat(U):U),p==null?(n(T,y,A),n(B,y,A),Bt(g.children||[],y,B,M,E,I,F,P)):H>0&&H&64&&R&&p.dynamicChildren&&p.dynamicChildren.length===R.length?(ie(p.dynamicChildren,R,y,M,E,I,F),(g.key!=null||M&&g===M.subTree)&&Si(p,g,!0)):nt(p,g,y,B,M,E,I,F,P)},jt=(p,g,y,A,M,E,I,F,P)=>{g.slotScopeIds=F,p==null?g.shapeFlag&512?M.ctx.activate(g,y,A,I,P):Be(g,y,A,M,E,I,P):hs(p,g,P)},Be=(p,g,y,A,M,E,I)=>{const F=p.component=Fr(p,A,M);if(jn(p)&&(F.ctx.renderer=je),jr(F,!1,I),F.asyncDep){if(M&&M.registerDep(F,vt,I),!p.el){const P=F.subTree=ft(he);$(null,P,g,y),p.placeholder=P.el}}else vt(F,p,g,y,M,E,I)},hs=(p,g,y)=>{const A=g.component=p.component;if(mr(p,g,y))if(A.asyncDep&&!A.asyncResolved){g.el=p.el,ut(A,g,y);return}else A.next=g,A.update();else g.el=p.el,A.vnode=g},vt=(p,g,y,A,M,E,I)=>{const F=()=>{if(p.isMounted){let{next:H,bu:R,u:U,parent:X,vnode:at}=p;{const Yt=Mi(p);if(Yt){H&&(H.el=at.el,ut(p,H,I)),Yt.asyncDep.then(()=>{At(()=>{p.isUnmounted||T()},M)});return}}let lt=H,gt;Me(p,!1),H?(H.el=at.el,ut(p,H,I)):H=at,R&&Js(R),(gt=H.props&&H.props.onVnodeBeforeUpdate)&&Zt(gt,X,H,at),Me(p,!0);const bt=il(p),zt=p.subTree;p.subTree=bt,x(zt,bt,v(zt.el),Kt(zt),p,M,E),H.el=bt.el,lt===null&&_r(p,bt.el),U&&At(U,M),(gt=H.props&&H.props.onVnodeUpdated)&&At(()=>Zt(gt,X,H,at),M)}else{let H;const{el:R,props:U}=g,{bm:X,m:at,parent:lt,root:gt,type:bt}=p,zt=ns(g);Me(p,!1),X&&Js(X),!zt&&(H=U&&U.onVnodeBeforeMount)&&Zt(H,lt,g),Me(p,!0);{gt.ce&&gt.ce._hasShadowRoot()&&gt.ce._injectChildStyle(bt,p.parent?p.parent.type:void 0);const Yt=p.subTree=il(p);x(null,Yt,y,A,p,M,E),g.el=Yt.el}if(at&&At(at,M),!zt&&(H=U&&U.onVnodeMounted)){const Yt=g;At(()=>Zt(H,lt,Yt),M)}(g.shapeFlag&256||lt&&ns(lt.vnode)&&lt.vnode.shapeFlag&256)&&p.a&&At(p.a,M),p.isMounted=!0,g=y=A=null}};p.scope.on();const P=p.effect=new Ll(F);p.scope.off();const T=p.update=P.run.bind(P),B=p.job=P.runIfDirty.bind(P);B.i=p,B.id=p.uid,P.scheduler=()=>Fn(B),Me(p,!0),T()},ut=(p,g,y)=>{g.component=p;const A=p.vnode.props;p.vnode=g,p.next=null,vr(p,g.props,A,y),wr(p,g.children,y),fe(),Zn(p),pe()},nt=(p,g,y,A,M,E,I,F,P=!1)=>{const T=p&&p.children,B=p?p.shapeFlag:0,H=g.children,{patchFlag:R,shapeFlag:U}=g;if(R>0){if(R&128){ke(T,H,y,A,M,E,I,F,P);return}else if(R&256){Wt(T,H,y,A,M,E,I,F,P);return}}U&8?(B&16&&Et(T,M,E),H!==T&&d(y,H)):B&16?U&16?ke(T,H,y,A,M,E,I,F,P):Et(T,M,E,!0):(B&8&&d(y,""),U&16&&Bt(H,y,A,M,E,I,F,P))},Wt=(p,g,y,A,M,E,I,F,P)=>{p=p||Ee,g=g||Ee;const T=p.length,B=g.length,H=Math.min(T,B);let R;for(R=0;R<H;R++){const U=g[R]=P?ae(g[R]):te(g[R]);x(p[R],U,y,null,M,E,I,F,P)}T>B?Et(p,M,E,!0,!1,H):Bt(g,y,A,M,E,I,F,P,H)},ke=(p,g,y,A,M,E,I,F,P)=>{let T=0;const B=g.length;let H=p.length-1,R=B-1;for(;T<=H&&T<=R;){const U=p[T],X=g[T]=P?ae(g[T]):te(g[T]);if(Ge(U,X))x(U,X,y,null,M,E,I,F,P);else break;T++}for(;T<=H&&T<=R;){const U=p[H],X=g[R]=P?ae(g[R]):te(g[R]);if(Ge(U,X))x(U,X,y,null,M,E,I,F,P);else break;H--,R--}if(T>H){if(T<=R){const U=R+1,X=U<B?g[U].el:A;for(;T<=R;)x(null,g[T]=P?ae(g[T]):te(g[T]),y,X,M,E,I,F,P),T++}}else if(T>R)for(;T<=H;)K(p[T],M,E,!0),T++;else{const U=T,X=T,at=new Map;for(T=X;T<=R;T++){const Pt=g[T]=P?ae(g[T]):te(g[T]);Pt.key!=null&&at.set(Pt.key,T)}let lt,gt=0;const bt=R-X+1;let zt=!1,Yt=0;const Ue=new Array(bt);for(T=0;T<bt;T++)Ue[T]=0;for(T=U;T<=H;T++){const Pt=p[T];if(gt>=bt){K(Pt,M,E,!0);continue}let Jt;if(Pt.key!=null)Jt=at.get(Pt.key);else for(lt=X;lt<=R;lt++)if(Ue[lt-X]===0&&Ge(Pt,g[lt])){Jt=lt;break}Jt===void 0?K(Pt,M,E,!0):(Ue[Jt-X]=T+1,Jt>=Yt?Yt=Jt:zt=!0,x(Pt,g[Jt],y,null,M,E,I,F,P),gt++)}const Bn=zt?Mr(Ue):Ee;for(lt=Bn.length-1,T=bt-1;T>=0;T--){const Pt=X+T,Jt=g[Pt],Wn=g[Pt+1],Kn=Pt+1<B?Wn.el||Ti(Wn):A;Ue[T]===0?x(null,Jt,y,Kn,M,E,I,F,P):zt&&(lt<0||T!==Bn[lt]?N(Jt,y,Kn,2):lt--)}}},N=(p,g,y,A,M=null)=>{const{el:E,type:I,transition:F,children:P,shapeFlag:T}=p;if(T&6){N(p.component.subTree,g,y,A);return}if(T&128){p.suspense.move(g,y,A);return}if(T&64){I.move(p,g,y,je);return}if(I===V){n(E,g,y);for(let H=0;H<P.length;H++)N(P[H],g,y,A);n(p.anchor,g,y);return}if(I===ys){q(p,g,y);return}if(A!==2&&T&1&&F)if(A===0)F.persisted&&!E[en]?n(E,g,y):(F.beforeEnter(E),n(E,g,y),At(()=>F.enter(E),M));else{const{leave:H,delayLeave:R,afterLeave:U}=F,X=()=>{p.ctx.isUnmounted?l(E):n(E,g,y)},at=()=>{const lt=E._isLeaving||!!E[en];E._isLeaving&&E[en](!0),F.persisted&&!lt?X():H(E,()=>{X(),U&&U()})};R?R(E,X,at):at()}else n(E,g,y)},K=(p,g,y,A=!1,M=!1)=>{const{type:E,props:I,ref:F,children:P,dynamicChildren:T,shapeFlag:B,patchFlag:H,dirs:R,cacheIndex:U,memo:X}=p;if((H===-2||T&&T.hasOnce)&&(M=!1),F!=null&&(fe(),ss(F,null,y,p,!0),pe()),U!=null&&(!p.ctx||p.ctx===g)&&(g.renderCache[U]=void 0),B&256){g.ctx.deactivate(p);return}const at=B&1&&R,lt=!ns(p);let gt;if(lt&&(gt=I&&I.onVnodeBeforeUnmount)&&Zt(gt,g,p),B&6)Ie(p.component,y,A);else{if(B&128){p.suspense.unmount(y,A);return}at&&Se(p,null,g,"beforeUnmount"),B&64?p.type.remove(p,g,y,je,A):T&&!T.hasOnce&&(E!==V||H>0&&H&64)?Et(T,g,y,!1,!0):(E===V&&H&384||!M&&B&16)&&Et(P,g,y),A&&J(p)}const bt=X!=null&&U==null;(lt&&(gt=I&&I.onVnodeUnmounted)||at||bt)&&At(()=>{gt&&Zt(gt,g,p),at&&Se(p,null,g,"unmounted"),bt&&(p.el=null)},y)},J=p=>{const{type:g,el:y,anchor:A,transition:M}=p;if(g===V){Ht(y,A);return}if(g===ys){D(p),M&&!M.persisted&&M.afterLeave&&M.afterLeave();return}const E=()=>{l(y),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(p.shapeFlag&1&&M&&!M.persisted){const{leave:I,delayLeave:F}=M,P=()=>I(y,E);F?F(p.el,E,P):P()}else E()},Ht=(p,g)=>{let y;for(;p!==g;)y=m(p),l(p),p=y;l(g)},Ie=(p,g,y)=>{const{bum:A,scope:M,job:E,subTree:I,um:F,m:P,a:T}=p;al(P),al(T),A&&Js(A),M.stop(),E?(E.flags|=8,K(I,p,g,y)):p.vnode.el&&I&&(I.transition=p.vnode.transition,K(I,p,g,y)),F&&At(F,g),At(()=>{p.isUnmounted=!0},g)},Et=(p,g,y,A=!1,M=!1,E=0)=>{for(let I=E;I<p.length;I++)K(p[I],g,y,A,M)},Kt=p=>{if(p.shapeFlag&6)return Kt(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const g=m(p.anchor||p.el),y=g&&g[Wo];return y?m(y):g};let We=!1;const Ke=(p,g,y)=>{let A;p==null?g._vnode&&(K(g._vnode,null,null,!0),A=g._vnode.component):x(g._vnode||null,p,g,null,null,null,y),g._vnode=p,We||(We=!0,Zn(A),si(),We=!1)},je={p:x,um:K,m:N,r:J,mt:Be,mc:Bt,pc:nt,pbc:ie,n:Kt,o:t};return{render:Ke,hydrate:void 0,createApp:cr(Ke)}}function nn({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function Me({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Sr(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Si(t,e,s=!1){const n=t.children,l=e.children;if(G(n)&&G(l))for(let i=0;i<n.length;i++){const c=n[i];let a=l[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=l[i]=ae(l[i]),a.el=c.el),!s&&a.patchFlag!==-2&&Si(c,a)),a.type===Gs&&(a.patchFlag===-1&&(a=l[i]=ae(a)),a.el=c.el),a.type===he&&!a.el&&(a.el=c.el)}}function Mr(t){const e=t.slice(),s=[0];let n,l,i,c,a;const u=t.length;for(n=0;n<u;n++){const _=t[n];if(_!==0){if(l=s[s.length-1],t[l]<_){e[n]=l,s.push(n);continue}for(i=0,c=s.length-1;i<c;)a=i+c>>1,t[s[a]]<_?i=a+1:c=a;_<t[s[i]]&&(i>0&&(e[n]=s[i-1]),s[i]=n)}}for(i=s.length,c=s[i-1];i-- >0;)s[i]=c,c=e[c];return s}function Mi(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Mi(e)}function al(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ti(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ti(e.subTree):null}const Ci=t=>t.__isSuspense;function Tr(t,e){e&&e.pendingBranch?G(t)?e.effects.push(...t):e.effects.push(t):Ho(t)}const V=Symbol.for("v-fgt"),Gs=Symbol.for("v-txt"),he=Symbol.for("v-cmt"),ys=Symbol.for("v-stc"),Oe=[];let Ft=null;function w(t=!1){Oe.push(Ft=t?null:[])}function Ei(){Oe.pop(),Ft=Oe[Oe.length-1]||null}let as=1;function cl(t,e=!1){as+=t,t<0&&Ft&&e&&(Ft.hasOnce=!0)}function Ai(t){return t.dynamicChildren=as>0?Ft||Ee:null,Ei(),as>0&&Ft&&Ft.push(t),t}function k(t,e,s,n,l,i){return Ai(r(t,e,s,n,l,i,!0))}function qt(t,e,s,n,l){return Ai(ft(t,e,s,n,l,!0))}function Oi(t){return t?t.__v_isVNode===!0:!1}function Ge(t,e){return t.type===e.type&&t.key===e.key}const Di=({key:t})=>t??null,$s=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?ht(t)||xt(t)||z(t)?{i:Lt,r:t,k:e,f:!!s}:t:null);function r(t,e=null,s=null,n=0,l=null,i=t===V?0:1,c=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Di(e),ref:e&&$s(e),scopeId:li,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:Lt};return a?(Cs(u,s),i&128&&t.normalize(u)):s&&(u.shapeFlag|=ht(s)?8:16),as>0&&!c&&Ft&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Ft.push(u),u}const ft=Cr;function Cr(t,e=null,s=null,n=0,l=null,i=!1){if((!t||t===er)&&(t=he),Oi(t)){const a=Re(t,e,!0);return s&&Cs(a,s),as>0&&!i&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(t)]=a:Ft.push(a)),a.patchFlag=-2,a}if(Nr(t)&&(t=t.__vccOpts),e){e=Er(e);let{class:a,style:u}=e;a&&!ht(a)&&(e.class=Tt(a)),rt(u)&&(Pn(u)&&!G(u)&&(u=$t({},u)),e.style=_t(u))}const c=ht(t)?1:Ci(t)?128:Ws(t)?64:rt(t)?4:z(t)?2:0;return r(t,e,s,n,l,c,i,!0)}function Er(t){return t?Pn(t)||bi(t)?$t({},t):t:null}function Re(t,e,s=!1,n=!1){const{props:l,ref:i,patchFlag:c,children:a,transition:u}=t,_=e?Or(l||{},e):l,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:_,key:_&&Di(_),ref:e&&e.ref?s&&i?G(i)?i.concat($s(e)):[i,$s(e)]:$s(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:a,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==V?c===-1?16:c|16:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Re(t.ssContent),ssFallback:t.ssFallback&&Re(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce,cacheIndex:t.cacheIndex};return u&&n&&In(d,u.clone(d)),d}function W(t=" ",e=0){return ft(Gs,null,t,e)}function Ar(t,e){const s=ft(ys,null,t);return s.staticCount=e,s}function ot(t="",e=!1){return e?(w(),qt(he,null,t)):ft(he,null,t)}function te(t){return t==null||typeof t=="boolean"?ft(he):G(t)?ft(V,null,t.slice()):Oi(t)?ae(t):ft(Gs,null,String(t))}function ae(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Re(t)}function Cs(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(G(e))s=16;else if(typeof e=="object")if(n&65){const l=e.default;l&&(l._c&&(l._d=!1),Cs(t,l()),l._c&&(l._d=!0));return}else{s=32;const l=e._;!l&&!bi(e)?e._ctx=Lt:l===3&&Lt&&(Lt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(z(e)){if(n&65){Cs(t,{default:e});return}e={default:e,_ctx:Lt},s=32}else e=String(e),n&64?(s=16,e=[W(e)]):s=8;t.children=e,t.shapeFlag|=s}function Or(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const l in n)if(l==="class")e.class!==n.class&&(e.class=Tt([e.class,n.class]));else if(l==="style")e.style=_t([e.style,n.style]);else if(Is(l)){const i=e[l],c=n[l];c&&i!==c&&!(G(i)&&i.includes(c))?e[l]=i?[].concat(i,c):c:c==null&&i==null&&!js(l)&&(e[l]=c)}else l!==""&&(e[l]=n[l])}return e}function Zt(t,e,s,n=null){Gt(t,e,7,[s,n])}const Dr=hi();let Pr=0;function Fr(t,e,s){const n=t.type,l=(e?e.appContext:t.appContext)||Dr,i={uid:Pr++,vnode:t,type:n,parent:e,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new io(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(l.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:$i(n,l),emitsOptions:mi(n,l),emit:null,emitted:null,propsDefaults:ct,inheritAttrs:n.inheritAttrs,ctx:ct,data:ct,props:ct,attrs:ct,slots:ct,refs:ct,setupState:ct,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=e?e.root:i,i.emit=dr.bind(null,i),t.ce&&t.ce(i),i}let Ct=null;const Ir=()=>Ct||Lt;let Es,cs;{const t=qs(),e=(s,n)=>{let l;return(l=t[s])||(l=t[s]=[]),l.push(n),i=>{l.length>1?l.forEach(c=>c(i)):l[0](i)}};Es=e("__VUE_INSTANCE_SETTERS__",s=>Ct=s),cs=e("__VUE_SSR_SETTERS__",s=>us=s)}const ps=t=>{const e=Ct;return Es(t),t.scope.on(),()=>{t.scope.off(),Es(e)}},ul=()=>{Ct&&Ct.scope.off(),Es(null)};function Pi(t){return t.vnode.shapeFlag&4}let us=!1;function jr(t,e=!1,s=!1){e&&cs(e);const{props:n,children:l}=t.vnode,i=Pi(t);gr(t,n,i,e),$r(t,l,s||e);const c=i?Hr(t,e):void 0;return e&&cs(!1),c}function Hr(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,sr);const{setup:n}=s;if(n){fe();const l=t.setupContext=n.length>1?Lr(t):null,i=ps(t),c=fs(n,t,0,[t.props,l]),a=Ol(c);if(pe(),i(),(a||t.sp)&&!ns(t)&&ai(t),a){if(c.then(ul,ul),e)return c.then(u=>{cs(!0);try{dl(t,u,e)}finally{cs(!1)}}).catch(u=>{Bs(u,t,0)});t.asyncDep=c}else dl(t,c)}else Fi(t)}function dl(t,e,s){z(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:rt(e)&&(t.setupState=Ql(e)),Fi(t)}function Fi(t,e,s){const n=t.type;t.render||(t.render=n.render||se);{const l=ps(t);fe();try{nr(t)}finally{pe(),l()}}}const qr={get(t,e){return wt(t,"get",""),t[e]}};function Lr(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,qr),slots:t.slots,emit:t.emit,expose:e}}function zs(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ql(Mo(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in ls)return ls[s](t)},has(e,s){return s in e||s in ls}})):t.proxy}function Nr(t){return z(t)&&"__vccOpts"in t}const O=(t,e)=>Oo(t,e,us),Rr="3.5.43";/**
  14. * @vue/runtime-dom v3.5.43
  15. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  16. * @license MIT
  17. **/let $n;const fl=typeof window<"u"&&window.trustedTypes;if(fl)try{$n=fl.createPolicy("vue",{createHTML:t=>t})}catch{}const Ii=$n?t=>$n.createHTML(t):t=>t,Br="http://www.w3.org/2000/svg",Wr="http://www.w3.org/1998/Math/MathML",re=typeof document<"u"?document:null,pl=re&&re.createElement("template"),Kr={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const l=e==="svg"?re.createElementNS(Br,t):e==="mathml"?re.createElementNS(Wr,t):s?re.createElement(t,{is:s}):re.createElement(t);return t==="select"&&n&&n.multiple!=null&&l.setAttribute("multiple",n.multiple),l},createText:t=>re.createTextNode(t),createComment:t=>re.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>re.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,l,i){const c=s?s.previousSibling:e.lastChild;if(l&&(l===i||l.nextSibling))for(;e.insertBefore(l.cloneNode(!0),s),!(l===i||!(l=l.nextSibling)););else{pl.innerHTML=Ii(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const a=pl.content;if(n==="svg"||n==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}e.insertBefore(a,s)}return[c?c.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},Ur=Symbol("_vtc");function Vr(t,e,s){const n=t[Ur];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const As=Symbol("_vod"),ji=Symbol("_vsh"),hl={name:"show",beforeMount(t,{value:e},{transition:s}){t[As]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):ze(t,e)},mounted(t,{value:e},{transition:s}){s&&e&&s.enter(t)},updated(t,{value:e,oldValue:s},{transition:n}){!e!=!s&&(n?e?(n.beforeEnter(t),ze(t,!0),n.enter(t)):n.leave(t,()=>{ze(t,!1)}):ze(t,e))},beforeUnmount(t,{value:e}){ze(t,e)}};function ze(t,e){t.style.display=e?t[As]:"none",t[ji]=!e}const Gr=Symbol(""),zr=/(?:^|;)\s*display\s*:/;function Yr(t,e,s){const n=t.style,l=ht(s);let i=!1;if(s&&!l){if(e)if(ht(e))for(const c of e.split(";")){const a=c.slice(0,c.indexOf(":")).trim();s[a]==null&&Ze(n,a,"")}else for(const c in e)s[c]==null&&Ze(n,c,"");for(const c in s){c==="display"&&(i=!0);const a=s[c];a!=null?Zr(t,c,!ht(e)&&e?e[c]:void 0,a)||Ze(n,c,a):Ze(n,c,"")}}else if(l){if(e!==s){const c=n[Gr];c&&(s+=";"+c),n.cssText=s,i=zr.test(s)}}else e&&t.removeAttribute("style");As in t&&(t[As]=i?n.display:"",t[ji]&&(n.display="none"))}const vs=/\s*!important$/;function Ze(t,e,s){if(G(s))s.forEach(n=>Ze(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))vs.test(s)?t.setProperty(e,s.replace(vs,""),"important"):t.setProperty(e,s);else{const n=Jr(t,e);vs.test(s)?t.setProperty(Pe(n),s.replace(vs,""),"important"):t[n]=s}}const ml=["Webkit","Moz","ms"],ln={};function Jr(t,e){const s=ln[e];if(s)return s;let n=Ut(e);if(n!=="filter"&&n in t)return ln[e]=n;n=Fl(n);for(let l=0;l<ml.length;l++){const i=ml[l]+n;if(i in t)return ln[e]=i}return e}function Zr(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&ht(n)&&s===n}const _l="http://www.w3.org/1999/xlink";function gl(t,e,s,n,l,i=so(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(_l,e.slice(6,e.length)):t.setAttributeNS(_l,e,s):s==null||i&&!jl(s)?t.removeAttribute(e):t.setAttribute(e,i?"":ne(s)?String(s):s)}function vl(t,e,s,n,l){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Ii(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?t.getAttribute("value")||"":t.value,u=s==null?t.type==="checkbox"?"on":"":String(s);(a!==u||!("_value"in t))&&(t.value=u),s==null&&t.removeAttribute(e),t._value=s;return}let c=!1;if(s===""||s==null){const a=typeof t[e];a==="boolean"?s=jl(s):s==null&&a==="string"?(s="",c=!0):a==="number"&&(s=0,c=!0)}try{t[e]=s}catch{}c&&t.removeAttribute(l||e)}function Xr(t,e,s,n){t.addEventListener(e,s,n)}function Qr(t,e,s,n){t.removeEventListener(e,s,n)}const bl=Symbol("_vei");function ta(t,e,s,n,l=null){const i=t[bl]||(t[bl]={}),c=i[e];if(n&&c)c.value=n;else{const[a,u]=na(e);if(n){const _=i[e]=oa(n,l);Xr(t,a,_,u)}else c&&(Qr(t,a,c,u),i[e]=void 0)}}const ea=/(Once|Passive|Capture)$/,sa=/^on:?(?:Once|Passive|Capture)$/;function na(t){let e,s;for(;(s=t.match(ea))&&!sa.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):Pe(t.slice(2)),e]}let on=0;const la=Promise.resolve(),ia=()=>on||(la.then(()=>on=0),on=Date.now());function oa(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const l=s.value;if(G(l)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const c=l.slice(),a=[n];for(let u=0;u<c.length&&!n._stopped;u++){const _=c[u];_&&Gt(_,e,5,a)}}else Gt(l,e,5,[n])};return s.value=t,s.attached=ia(),s}const yl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ra=(t,e,s,n,l,i)=>{const c=l==="svg";e==="class"?Vr(t,n,c):e==="style"?Yr(t,s,n):Is(e)?js(e)||ta(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):aa(t,e,n,c))?(vl(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&gl(t,e,n,c,i,e!=="value")):t._isVueCE&&(ca(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!ht(n)))?vl(t,Ut(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),gl(t,e,n,c))};function aa(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&yl(e)&&z(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="sandbox"&&t.tagName==="IFRAME"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const l=t.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return yl(e)&&ht(s)?!1:e in t}function ca(t,e){const s=t._def.props;if(!s)return!1;const n=Ut(e);return Array.isArray(s)?s.some(l=>Ut(l)===n):Object.keys(s).some(l=>Ut(l)===n)}const ua=$t({patchProp:ra},Kr);let $l;function da(){return $l||($l=xr(ua))}const fa=((...t)=>{const e=da().createApp(...t),{mount:s}=e;return e.mount=n=>{const l=ha(n);if(!l)return;const i=e._component;!z(i)&&!i.render&&!i.template&&(i.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const c=s(l,!1,pa(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),c},e});function pa(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function ha(t){return ht(t)?document.querySelector(t):t}const Hi={fleet:"/api/fleet",curves:"/api/curves",channels:"/api/channels",facts:"/api/facts",maintSurvey:"/api/maint_survey",maintStd:"/api/maint_std",maintFramework:"/api/maint_framework",dqFindings:"/api/dq_findings",ontList:"/api/ont_list",askStatus:"/api/ask_status",askModels:"/api/ask_models",vibcms:"/api/vibcms",algoHealth:"/algorithm/healthz",algoEndpoints:"/algorithm/api/endpoints",algoMatrix:"/algorithm/api/matrix",algoReliability:"/algorithm/api/reliability",algoPurity:"/algorithm/api/curves_check"};async function qi(t,e){const s=Hi[t],n=performance.now();try{const l=await fetch(s,{headers:{Accept:"application/json",...e?.body?{"Content-Type":"application/json"}:{}},...e}),i=await l.text();let c=i;try{c=JSON.parse(i)}catch{}return{name:t,path:s,ok:l.ok,status:l.status,ms:Math.round(performance.now()-n),data:c}}catch(l){return{name:t,path:s,ok:!1,status:0,ms:Math.round(performance.now()-n),error:l instanceof Error?l.message:String(l)}}}const rn=["facts","maintSurvey","ontList","askStatus","channels","dqFindings","algoHealth","algoEndpoints","algoMatrix","algoReliability","algoPurity"],ma={class:"card"},_a={class:"hint"},ga=["disabled"],va={class:"hint"},ba=It({__name:"ContractSmoke",setup(t){const e=St([]),s=St(!1),n=St(0);function l(c){return Array.isArray(c)?`list[${c.length}]`:c&&typeof c=="object"?Object.keys(c).slice(0,8).join(", "):typeof c}async function i(){s.value=!0,e.value=[],n.value=0;for(const c of rn){const a=await qi(c);e.value.push({name:c,path:a.path,ok:a.ok,status:a.status,ms:a.ms,keys:l(a.data),error:a.error}),n.value+=1}s.value=!1}return Us(i),(c,a)=>(w(),k("section",ma,[a[3]||(a[3]=r("h2",null,[W("契约自检 "),r("small",null,"(后端结构与算法服务可达性;对拍基准见 docs/接口契约_前后端_v0.1.md)")],-1)),r("p",_a,[W(" 进度 "+f(n.value)+"/"+f(h(rn).length)+' · 只判"通不通",不比数据值(值随数据变,锚点在 Python 侧的门禁里) ',1),r("button",{class:"re",disabled:s.value,onClick:i},"重跑",8,ga)]),r("table",null,[a[0]||(a[0]=r("thead",null,[r("tr",null,[r("th",null,"接口"),r("th",null,"路径"),r("th",null,"状态"),r("th",null,"耗时"),r("th",null,"顶层键 / 形状")])],-1)),r("tbody",null,[(w(!0),k(V,null,st(e.value,u=>(w(),k("tr",{key:u.name,class:Tt({bad:!u.ok})},[r("td",null,f(u.name),1),r("td",null,[r("code",null,f(u.path),1)]),r("td",null,f(u.status),1),r("td",null,f(u.ms)+" ms",1),r("td",null,f(u.error||u.keys),1)],2))),128))])]),r("p",va,[W(" 契约登记接口合计 "+f(Object.keys(h(Hi)).length)+" 条(本页抽样 "+f(h(rn).length)+" 条); 全量 42 条由 ",1),a[1]||(a[1]=r("code",null,"python scripts/http_contract_audit.py",-1)),a[2]||(a[2]=W(" 在线复核。 ",-1))])]))}}),ya={"app.brand":"观澜","app.build":"最新完成构建","app.lang_en":"英文","app.lang_zh":"中文","app.subtitle":"海上风电场","app.title":"观澜 · 风电数据分析与决策支持","ask.common_q":"{cat} · 常用问题 (点即问, 或下方自由输入)","ask.done_meta":"模型 {m} · 用时 {s} 秒 · {n} 步","ask.elapsed":"{s} 秒","ask.empty":"问题为空","ask.en_qa_failed":"英文质检未通过: 已拦截这次模型回答, 请重新提问。","ask.error":"出错: {e}","ask.go":"提问","ask.grounding":"答案句句带 [对象id] 溯源 + 数据回抓校验核验; 判级只转述本体原文带审级, 模型零判级权。","ask.idle":"空闲 — 点常用问题或输入后提问。串行一次一问。","ask.local_down":"本机模型未启动 (Ollama 127.0.0.1:11434 未响应); 离线版不转云","ask.model":"模型","ask.no_models":"无可用模型","ask.offline":"离线版: 模型问答需连接系统。","ask.partial":"初答 · 27B 复核中","ask.placeholder":"自由提问 ({cat})","ask.question":"问题: {q}","ask.refined":"已复核 (默认档 {m} 未过成文校验, 由更强模型重答)","ask.refs.none":"无匹配契约条目 (契约 {sha}): 本回答未被结构化事实契约背书, 按模型输出对待","ask.refs.title":"契约引用 ({n} 条, 契约 {sha}) — 按问题/回答匹配的可交付结论, 引文来自 qa_refs","ask.review":"交叉审核 · {m}","ask.review_err":"审核未完成: {e}","ask.review_note":"由另一模型基于同一份证据复核上述答案。溯源核验仅校验数字与机组号是否越界, 本项校验结论是否有证据支撑。","ask.running":"推理中…","ask.verify_bad":"溯源核验未全过 (引用 {n})","ask.verify_ok":"溯源核验 {n}/{n} 全真","ask.xrev":"交叉审核","ask.xrev_note":"(DeepSeek 14B 互审, +约 1 分钟)","ask.xrev_title":"由另一模型基于同一份证据复核; 同一模型自审无法构成独立校验","asst.alarm_type":"告警类型 {t}","asst.cause_counts":"手册 {r} 次 · 工单 {w} 次 · 涉码 {c}","asst.causes":"← 可能原因 (手册排查方向 + 工单实证)","asst.check":"查什么","asst.code_placeholder":"报警码, 如 3225 / 3130 / 13902","asst.common":"常见","asst.corrective":"抢修","asst.corrective_flow":"报警码 → 失效模式 → 手册分步处置 → 历史工单","asst.drawings":"对应图纸","asst.failmodes":"指向的失效模式","asst.faulttree":"故障树","asst.faulttree_flow":"按证据量排序的系统失效模式 + 部件级成因","asst.fm_counts":"该类本场报警 {a} 条 / 工单 {w} 条","asst.head":"检修助手 — 确定性本体查询","asst.head_note":"结果逐字取自手册与工单, 不经模型","asst.identity":"系统 {sys} · 本场 {n} 条","asst.interval":"周期 {i}","asst.known_tags":"该系统手册出现过的位号 (对图纸时参考):","asst.no_causes":"(手册无该类排查条目 — 原因层待补)","asst.no_name":"(码表未收录)","asst.no_steps":"本码无手册处置条目 (手册覆盖本场 161/322 码) — 需查图纸或联系厂商支持。","asst.node":"节点","asst.nodes":"应检节点 · {c}","asst.nodes_note":"手册此步未给位号 → 按回路构成展开, 逐点查","asst.prev_empty":"(该系统无匹配的年度维护条目 — 维护作业指导书按位置代号编排, 未必逐系统对齐)","asst.prev_fm":"失效模式 (按本场报警量)","asst.prev_head":"{sys} 预防链 · 失效模式 {f} 类 · 预防性任务 {n} 项","asst.prev_tasks":"年度任务","asst.preventive":"预防性维护","asst.preventive_flow":"系统 → 失效模式 → 年度任务 → 作业指导步骤","asst.qty":"量: {q}","asst.query_failed":"查询失败: {e}","asst.querying":"查询中…","asst.spec_name":"名称","asst.spec_no":"参数号","asst.spec_range":"允许范围","asst.spec_val":"整定值","asst.specs":"判定规范 (实机参数表)","asst.step_n":"第 {n} 步","asst.steps":"现场处置 {n} 步","asst.steps_note":"节点部件 = 手册原文元件位号 (确定); 判定规范 = 实机参数表按物理量匹配的候选判据, 非厂商绑定 — 现场以铭牌与图纸复核。","asst.tags":"节点部件","asst.tree_codes":"征兆码 {c}","asst.tree_counts":"本场报警 {a} 条 · 工单 {w} 条","asst.tree_empty":"该系统无失效模式记录","asst.tree_head":"{sys} 故障树 · {n} 个失效模式","asst.tree_note":"一层 = 系统 × 失效类 (归纳自本场码表与工单) · 二层 = 手册排查方向归一 + 工单原因计数; 条长按实证量 (报警条数 + 工单 × 10), 因果来自手册与工单原文非推断, 树深两层不外推。","asst.unassigned":"未归属","asst.wi_steps":"WI {n} 步","asst.wo_action":"处置","asst.wo_fault":"故障","asst.wo_head":"现场实际怎么修的 ({sys} 历史工单 {n} 条, 台账 2020~2024)","asst.wo_note":'工单时间窗止 2024-11-21; 2025–26 现场未提供 ⇒ "0 条" 是记录缺失非未修过。',"attr.变桨与液压":"变桨与液压","attr.塔架/结构":"塔架/结构","attr.无记录停机":"无记录停机","attr.未归类":"未归类","attr.电网/供电(外部)":"电网/供电(外部)","attr.轮毂/叶片":"轮毂/叶片","attr.运维操作":"运维操作","attr.风况(外部)":"风况(外部)","cat.equip":"设备类","cat.equip.hint":"设备状态 / 机制 / 判级 — 从机组档案、对象查询与机制检索取证","cat.equip.q1":"29号机组现在什么状态、为什么、该怎么办?","cat.equip.q2":"全场哪些机组有报警级或定论级判级?逐台列出并注明审级","cat.equip.q3":"失效机制库里有哪些机制族?各涉及哪些机组、状态如何?","cat.loss":"损失分析","cat.loss.hint":"当前 3 个月损失 / 未来损失 — ont_loss / ont_scenario 取证, 金额带电价区间统计方法","cat.loss.q1":"近3个月全场损失结构如何?分状态和分机组说, 电量与金额都给","cat.loss.q2":"29号如果拖到主轴承失效, 未来损失量级是多少?与现在修对比","cat.loss.q3":"限电常态化对检修机会成本有什么影响?","cat.risk":"安全风险预测","cat.risk.hint":"风险敞口 / 劣化趋势 / 盲区 — ont_risk / ont_mechanism_search 取证, 未列 ≠ 正常","cat.risk.q1":"当前哪些机组风险在上升需要重点盯?联动监视读数如何?","cat.risk.q2":'监测有哪些盲区?哪些"没报警"不等于正常?',"cat.risk.q3":"29号轴承正在承受金属接触, 风险敞口怎么评估?","cat.sched":"检修排程决策","cat.sched.hint":"排期沙盘 / 天气窗 / 验收树 — ont_scenario / ont_get 取证","cat.sched.q1":"29号修泵什么时候做最合适?对比各情景的损失与风险","cat.sched.q2":"未来几个月哪些月份适合安排CTV检修和吊装作业?依据历史可作业窗","cat.sched.q3":"29号修好之后按什么判据验收?三分支分别是什么条件?","ch.attrib.none":"无记录 {h}h ({p}%)","ch.attrib.ok":"已归因到部件 {h}h ({p}%)","ch.attrib.uncls":"未归类 {h}h","ch.beta.median":"全场中位 {v}°","ch.blame.d1":"限电与调度令, 不进设备责任","ch.blame.d2":"故障与检修停机, 唯一进设备考核","ch.blame.d3":"正常发电欠发与低风待机","ch.blame.n1":"交易与调度侧","ch.blame.n2":"设备侧","ch.blame.n3":"运行侧","ch.blame.title":"损失 {tot} MWh 按责任归属","ch.cap.legend":"圆内数字 = 台数, 圆面积 ∝ 台数","ch.cap.median":"中位 {v}","ch.cap.p":"满发封顶","ch.cap.w":"转速封顶","ch.ml.legend":"— {s}","ch.pareto.cum80":"累计 80%","ch.pareto.cumtip":"{k} · 累计 {p}%","ch.pareto.key":"关键少数: 前 {k} 项占 80%","ch.pareto.none":"时间窗内无数据","ch.pareto.top3":"前三: ","ch.pareto.total":"共 {n} 项, 合计 {tot}{unit}","ch.pareto.xlab":"报警码 (悬停看全名)","ch.quad.few":"时间窗内码数不足, 不作四象限","ch.quad.q1":"低频长时 · 硬故障","ch.quad.q1s":"备件与检修窗","ch.quad.q2":"高频长时 · 重点治理","ch.quad.q2s":"优先派工","ch.quad.q3":"低频短时 · 本底","ch.quad.q3s":"不单独处置","ch.quad.q4":"高频短时 · 重复触发","ch.quad.q4s":"调整参数或屏蔽, 非硬件故障","ch.quad.tip":"{n} 条 · 单次中位 {med}s · 累计 {h}h · {nt} 台","ch.quad.xlab":"发生条数 (对数)","ch.quad.ylab":"单次中位时长 (对数)","ch.ram.area":"圆面积 = 累计停机时长","ch.ram.equip":"设备类","ch.ram.ext":"外部类","ch.ram.few":"部件数不足, 不作象限","ch.ram.median":"虚线 = 本场中位分界","ch.ram.q1":"常坏且难修","ch.ram.q1s":"最高优先级","ch.ram.q2":"罕发难修","ch.ram.q2s":"备件与作业窗","ch.ram.q3":"频发易修","ch.ram.q3s":"查根因, 换件无用","ch.ram.q4":"少发好修","ch.ram.q4s":"维持","ch.ram.tip":"{p}: 平均无故障间隔(MTBF){mtbf}h · 单次停机时长(MDT){mdt}h · 停机 {h}h · {n}起 · {u}台","ch.ram.tip_ext":" · 外部类不计设备可靠性","ch.ram.xlab":"平均无故障间隔(MTBF,h,对数)→ 越右越可靠","ch.ram.ylab":"单次停机时长(MDT,h)→ 越上越难修","ch.rate.days":"仅{d}天","ch.rate.month":"{m}月","ch.rate.n":"{n}条","ch.rate.tip":"{m}: {v} 条/日 (总 {n} 条, 数据覆盖 {cov}%)","ch.rate.ylab":"条/日","ch.ruler.norm":"正态期望 3.7σ","ch.ruler.row":"{r}σ σ = {s}","ch.wf.act":"实际上网","ch.wf.theo":"理论可发","ch.wf.tip":"{nm}: 损失 {loss} MWh, 占理论 {pct}%, 时长 {h}h","chain.gb":"齿轮箱","chain.gde":"发电机DE","chain.gen":"发电机","chain.gnde":"发电机NDE","chain.hss":"高速","chain.ims":"中间","chain.mba":"主轴承后","chain.mbf":"主轴承前","chain.ps":"行星","cmp.alarm_n":"报警 {a}","cmp.alarm_units":"报警机组","cmp.basis":"依据","cmp.by_system":"按系统查看","cmp.cards_note":"点系统卡 → 该系统全场机组与依据; 九系统 = 交付九分册一一对应; 叶片与叶根 / 塔架与基础无 SCADA 轴 (分册蓝本取 CMS / 巡检)","cmp.counts":"报警 {a} · 不可判 {u} · 良好 {g} · 优秀 {e}","cmp.cross_eyebrow":"多系统交叉机组","cmp.detail":"详情","cmp.detail_head":"{sys} · 全场 {n} 台","cmp.external":"外部","cmp.fleet_n":" · 全场 {n} 台","cmp.fusion_moved":"振动线结论与四源融合已移至独立板块 →","cmp.fusion_n":"({n} 台次收录)","cmp.good_units":"良好 {n} 台 (轻微偏离, 周期观察 — 点开看逐台依据)","cmp.grading_pending":"正在按所选时间窗重算判级…","cmp.grading_pending_why":"时间窗 {span}:变桨/偏航/蓄能/温度四个判级面正按该时间窗重算(首次约 25 秒),下面的系统卡暂时还是上一份统计方法 —— 算完会自动刷新,不会静默混用。","cmp.hit_sys":"命中系统","cmp.n_sys":"系统数","cmp.n_units":"({n} 台)","cmp.none":"本系统全场无非常态。","cmp.problem_page":"该问题页 →","cmp.rel_ev":"事件","cmp.rel_eyebrow":"部件可靠性 · 时间窗 {win}","cmp.rel_fm":"典型失效模式 (按时长)","cmp.rel_h":"停机时长","cmp.rel_head":"部件停机贡献与可靠性","cmp.rel_mdt":"单次停机时长(MDT,h)","cmp.rel_meta":"总停机 {t}h = 设备类 {a} + 外部类 {b}","cmp.rel_mtbo":"平均停机间隔(MTBO,h)","cmp.rel_note":'统计方法 ≥1h 停机段, 不含调度令 — 与"电量算账"里的停机时长{h} 不同, 差额是短于 1h 的停机段 (本页按段做可靠性指标须成段, 能量账按逐条工况态算电量): 两个数都对, 不可互相相减。',"cmp.rel_part":"部件","cmp.rel_units":"影响机组","cmp.unk_n":" · 不可判 {u}","cmp.unk_units":"不可判 (监测/数据不足, ≠ 正常)","cmp.watch_head":"关注机组 (≥2 系统交叉, {n} 台; 点机组号 → 该台独立页)","dec.classic":"维护标准 / 维护框架 / 数据质量三块尚未迁入新版 —","dec.head":"检修决策 · 本体问答 (推理无界, 结论须过校验)","en.balance":"电量平衡","en.blame":"损失责任分账","en.blame_note":'最大一笔是限电不是故障。进设备考核的只有"故障与检修停机" {n} MWh; 限电属交易与调度侧, 2026 起交易策略主导, 少发未必是弃风。',"en.cap_fail":"不通过","en.cap_note":"能量守恒核 · 理论 {op} 全额定上限 {cap}","en.cap_pass":"通过","en.kpi_act":"实际上网 · 等效满发 {h} h","en.kpi_loss":"损失率 · {v} MWh","en.kpi_theo":"理论可发 (实际+损失)","en.loss_mwh":"损失 MWh","en.share":"时长占比","en.state":"工况态","en.states":"工况态明细","en.states_note":"控制参数一致性与曲线欠发筛查在固定干净窗判, 已迁入「发电性能」页 — 本页只出当期电量账。","en.win":"窗 {win}","fig.fleet_median":"全场中位","fig.point":"测点","fig.quartile":"四分位","fig.this_unit":"本台","fig.trend":"趋势","fig.vibbar_note":"条为本台与全场中位之比; 色按 z (稳健离群度): 绿 <2 · 橙 2~3 · 红 ≥3","fig.x_median":"×中位","flt.alarm_face":"报警面","flt.alarm_meta":"{n} 条 · {c} 个码 · 时间窗 {win}","flt.attrib_note":'归因覆盖: "无记录停机" {h}h 是全场最大单项, 因不给 MTBF 而在上图中不出现 — 它不是"没有故障", 是"没归上因"。统计方法为段起点 ±30min 首发码。缺口成因待定: 此前写的"98% 的段在前 72h 内有报警 ⇒ 长停远窗"不成立 — 前 72h 有报警不等于该报警与本段停机有因果 (双模审 2026-08-28 逮)。要定成因须改判"段起止是否落在某条报警的持续区间内", 未做之前只报缺口不报原因。',"flt.block_err":"本块未算出 ({k}): {e}","flt.eyebrow":"故障统计与可靠性","flt.pareto_d":"帕累托 · 按持续时长","flt.pareto_d_note":"时长 = 闩锁统计方法 (复位 − 激活), 只作排序参考不作停机时长","flt.pareto_n":"帕累托 · 按发生条数","flt.pareto_n_note":"条数 = 发生频次, 不反映影响程度 — 高频短时报警码 (信号抖动或重复触发) 排序靠前","flt.per_t":"台级分布 · 报警条数 top{n}","flt.per_t_note":"全场合计 {n} 条 · 单台占比高须先核查是否为单一报警码重复触发","flt.per_t_share":"占全场","flt.quad":"故障模式四象限 · 条数 × 单次时长","flt.quad_note":"时间窗内共 {n} 个码, 图上为条数前 {m} 个。","flt.quad_note2":"点面积表示影响机组数, 大点为批次共性、小点为单台; 竖分界取条数中位, 横分界取 10min (一个 SCADA 采样格)。右下角的码不要按条数排优先级 — 属重复触发, 非硬件故障。上面两张帕累托对照看即此图的两条投影。","flt.quad_partial":"窗含不满月 {m} (覆盖 {c}%), 条数为原始累计未按天归一。","flt.ram":"可靠性 × 可维修性 · 部件象限","flt.ram_note":'按停机时长排序的表看不出这层结构: 同样 500h 的停机, "频发易修"要查根因、"罕发难修"要备件, 处置相反。设备类停机 {a}h / 外部类 {b}h (外部 = 电网·风况·运维操作, 不计设备可靠性)。海上机组 MDT 普遍偏高是交通窗口决定的, 不等于维修本身慢 — 跨场比 MDT 须同为海上。',"flt.rate":"月度故障率","flt.rate_example":"实测: {m} 总数最低但日均 {v} 条/日 = 全时间窗前列。","flt.rate_full":"各月覆盖完整。","flt.rate_note":"柱高 = 日均条数, 不是月总数","flt.rate_partial":"本时间窗 {m} 数据不满月 (灰虚线柱), 直接比月总数会读反。","flt.seasonal":"故障季节性 · top 报警族 × 月","flt.seasonal_note":"全程 19 个月 (跨 2 冬 1 夏); 未做 χ² 显著性检验前为【参考级】, 只看形态不作季节归因","flt.seasonal_unit":"条/月","flt.seasonal_x":"月","flt.stop_face":"停机面","flt.stop_h":"停机时长","flt.stop_meta":"{h}h · {n} 起 · 统计方法 ≥1h 段, 不含调度令","flt.stop_n":"次数","flt.stop_pareto":"停机归因帕累托","flt.stop_pareto_note":"按停机时长; 事件次数见悬停","flt.stop_units":"台级停机 top{n}","flt.stop_units_note":"停机时长高 ≠ 设备差 — 须先看归因里外部类占比 (调度令已剔除)","fus.alarm_n":"{n} 条","fus.alarm_rank":" · 第 {r}/{t}","fus.burst":"⚠ {p}% 是码 {c} 抖动","fus.burst_tip":"⚠ 单码 {c} 占 {p}%, 中位 {m} 秒/次 — 条数被抖动灌满","fus.clear":"× 清除","fus.cms_act":"行动","fus.cms_action":"需行动机组 (报警 / 不可判)","fus.cms_basis":"统计方法说明","fus.cms_basis_note":"本表 = windcms 状态管理判级 (含标量趋势与数据可判性); 融合矩阵 / 逐台结论 = 振动线确诊链转录 (候选以上)。两统计方法差异台: 仅本表列 {a} (多为标量发作 / 数据不可判, 未到确诊链); 仅确诊链列 {b} (预警级在察, 状态管理未升)。","fus.cms_chain":"部件状态链","fus.cms_chain_note":"(主承前 · 主承后 · 齿轮箱 · 发电机; 悬停看逐件等级)","fus.cms_evidence":"证据强度","fus.cms_focus":"状态焦点","fus.cms_focus_note":"(传动链: 主承前 · 主承后 · 齿轮箱 · 发电机两端)","fus.cms_grades":"38 台部件等级一览","fus.cms_head":"振动状态评估 (windcms 报告 {d} 结果转录)","fus.cms_link":"谱图 · 波形 · 判据 · 工作台等分析功能在独立 windcms 系统 →","fus.cms_loading":"载入振动评估结果…","fus.cms_note":"状态管理判级, 不代表确诊数量; 判据/谱线/计算过程不在本页 — 深潜走底部独立系统。","fus.cms_open":"打开 windcms ↗","fus.cms_overall":"综合","fus.cms_static":"(未启动时用静态版)","fus.cms_window":'数据窗 {r} —— 本时间窗**实算**覆盖区间 (窗名只是起始日代号); 页面上的图谱与"末窗"状态取自时间窗内最新记录, 故多显示末期日期。',"fus.col.alarm":"报警","fus.col.claim":"证据时间窗","fus.col.claim_axis":"26-01 → 09","fus.col.display_only":" · 只展示","fus.col.fixed":" · 不随本时间窗","fus.col.lub":"润滑柱塞","fus.col.oil":"油样","fus.col.part":"部件","fus.col.signal":"振动信号","fus.col.state_concl":"设备状态 / 振动结论","fus.col.temp":"温度","fus.col.tempaxis":"温度轴","fus.col.tempaxis_note":"±6 K","fus.col.vib":"振动","fus.col.wo":"工单","fus.ev_code":"码","fus.ev_dur":"累计时长 h","fus.ev_head":"{c} — 报警 {an} 条 / {au} 台 · 工单 {wn} 条 / {wu} 台 (时间窗内)","fus.ev_min":"时长 min","fus.ev_no_alarm":"时间窗内无该部件报警","fus.ev_no_wo":"时间窗内无该部件工单 (工单数据止 2024-11, 2026 类窗必空 = 数据边界)","fus.ev_recent":"最近 {n} 条明细","fus.ev_text":"报警内容","fus.ev_time":"时间","fus.ev_top":"台分布 top: ","fus.ev_units":"台数","fus.ev_win":"时间窗 {win} · 顶部选择器可换","fus.ev_wo_act":"处理","fus.ev_wo_cause":"原因","fus.ev_wo_name":"故障名称","fus.eval_head":"评价体系 (规范化定义 — 两轴并存, 不可互相替代)","fus.eval_meaning":"含义","fus.eval_note":'设备状态答"这台设备现在怎么样" (危险 > 报警 > 良好 > 优秀 > 不可判); 证据状态答"这个判断有多可信" (定论 → INSUFFICIENT)。设备状态一律取自振动线的判级栏这一个来源。本页判级为转录, 不产新判级; 标注为参照同型机组/频谱信号级 (未定位到具体零件)/测量链/未对应到具体部件的行不作部件级结论消费; claim_window = 该结论的证据时间窗, 窗外状态该结论不背书。',"fus.eval_state":"设备状态 (业主统计方法)","fus.eval_tier":"证据状态 (可信度)","fus.eyebrow":"振动与 SCADA 证据视图 · 展示振动结论、SCADA 指标、报警与工单线索","fus.fam_tip":"{n} 条 · 全场最多 {m} 条","fus.legend_note":'两轴不可互相替代: "候选"说的是可信度不是设备好坏; "良好"说的是设备状态不是证据强度。设备状态只取自振动线的判级栏这一个来源。',"fus.legend_state":"格子颜色 = 设备状态 (业主统计方法, 与 windcms 报告同一套):","fus.legend_tier":"徽章 = 证据状态 (可信度, windcms 九枚举):","fus.loop_ba":"换前 → 换后 (同标尺)","fus.loop_bound":"数据边界: {b}","fus.loop_closed":"已闭环 · 换件后恢复 ({n} 例)","fus.loop_date":"换件日","fus.loop_el":"早期 → 近期 (同标尺)","fus.loop_head":"维修后验证案例 (检出 → 换件 → 恢复)","fus.loop_item":"事项","fus.loop_neg":"负面对照: 工单后持平 {n} 例 (换件 ≠ 必然回落, 说明回落非巧合)。","fus.loop_none":"暂无端到端闭环证据:现场提交的振动数据包里没有「报警→检修→复测」的成对记录","fus.loop_note":"有换件记录且同一统计方法指标回落, 可作为检测链已闭合的案例; 指标仍在上升但缺少可匹配工单的机组, 需现场或台账确认后再关闭。","fus.loop_ratio":"恢复比","fus.loop_rising":"未闭环 · 指标上升待现场/工单确认 ({n} 台)","fus.loop_state":"状态","fus.loop_verdict":"判","fus.loop_x":"倍比","fus.lub_now":"润滑柱塞现状","fus.lv.bad":"定论/报警级","fus.lv.note":"候选/监视/观察级","fus.lv.ok":"销案/无新证","fus.lv.warn":"预警级","fus.m.bad":"异常严重, 建议尽快停机检查","fus.m.bad_e":"证据: 已定案","fus.m.ex":"未见异常, 保持常规监视","fus.m.ex_e":"证据: 仅记录 / 已取消","fus.m.ok":"轻微偏离, 记录观察","fus.m.ok_e":"证据: 待现场核实 / 已记为基线下窗观察","fus.m.unk":"数据不足或监测中断 — 不等于正常","fus.m.unk_e":"证据: 数据不足","fus.m.warn":"存在需现场核实或处置的异常","fus.m.warn_e":"证据: 基本确认 / 新出现待核实","fus.matrix_foot":'润滑柱塞各台设定本就不同 (全场单次循环 22~961 秒), 所以此列只展示不判级, 只有已定案的机制链才标色; 油液多数台末次取样距今超 12 个月, 此列看的是"样够不够新", 不代表当前状态。',"fus.matrix_head":"全场融合矩阵 (38 台 × 6 个证据面)","fus.matrix_note1":'各列取数窗口不同 (见列头) — 不同窗的两格同时发红不等于"同时发生", 不可当共时印证。',"fus.matrix_note2":'每格右侧曲线 = 逐月记忆轨迹 ({n} 个月, {m0} 起; 实心点 = 现窗) — 现窗快照会丢形态, 轨迹才看得见"塌→回升→翻转"类机制签名。',"fus.no_alarm":"时间窗内无报警","fus.none_word":"无","fus.oil_fresh":"近共时","fus.oil_none":"无样","fus.oil_stale":"stale > 12 个月","fus.rule1":"① 同一失效机制的多个观测面 ≠ 多源印证 — 融合禁按源数加权 (29# 柱塞/温度/振动稳态/振动瞬态 = 四个观测面一条机制链)。","fus.rule2":'② "没报警" ≠ "正常" — 在已知盲区上, 缺报警只说明监测面无效, 不说明设备无恙。',"fus.rules_head":"两条判读纪律 (随板块常显)","fus.short.nodata":"数据不足","fus.short.normal":"正常","fus.short.nosample":"未取样","fus.short.stale":"样龄过期","fus.short.uneval":"未评估","fus.short.unlisted":"未收录","fus.sub.cms":"振动分析","fus.sub.events":"报警工单","fus.sub.loop":"端到端闭环","fus.sub.matrix":"融合矩阵","fus.sub.units":"逐台情况","fus.temp_now":"温度轴现状","fus.tip_state":" — 设备状态 {s}","fus.tip_tier":" / 证据状态 {e}","fus.unavailable":"融合面数据不可用: {e}","fus.units_filter":" · 筛选: {l}","fus.units_head":'逐台情况 (全场 {u} 台 / {n} 台次{f}; 深入谱图/波形 → "振动分析")',"fus.unlisted_head":"未列机组 {n} 台 (振动线未收录 — 未列 ≠ 正常)","fus.unlisted_link":"未列 {n} 台","fus.win_n":"{n} 个窗段","fus.win_none":"未标窗","fus.wo_n":"{n} 单","fus.wo_none":"时间窗内无传动链工单","gen.beta":"桨距调度同档差","gen.beta_note":"同一功率档下的桨角与全场中位之差。{units} 偏离达中位的 {k} 倍 → {v}","gen.cands":"曲线欠发筛查","gen.cands_meta":"{note} · σ = {s}%","gen.cap":"封顶参数落位","gen.cap_note":"台数落在几个离散位置上, 不是连成一片 — 这是配置/版本差异的形状; 磨损或工况引起的会是连续散布。两轴各自成组且分组不同台 ⇒ 参数级差异, 成因须配置台账。","gen.ctrl":"控制参数一致性","gen.ctrl_win":"窗 {win}","gen.eyebrow":"特性曲线与控制参数","gen.figs":"七个镜头 · 逐档中位与同型机群残差","gen.fixed_win":"随上方时间窗 · 按时间窗重算","gen.loading":"正在计算七个镜头 (剥限电 · 逐档中位 · 同型机群残差)…","gen.no_cands":"无候选","gen.recomputing":"正在按所选时间窗重算七镜头…","gen.recomputing_short":"正在按窗重算…","gen.ruler":"尺子巡检 · 极差 ÷ σ","gen.ruler_note":"判据自身的分辨力。38 台正态抽样的极差期望约 3.7σ, 明显超出即分布非单峰 — 与左图的分组互为印证; 落在期望附近的轴 (额定桨角) 则是连续分布。","gen.win_range":"时间窗 {span}","gen.win_why":'七镜头与月度时序都按所选时间窗重算(含自定义起止日期)。提示:2025-07 ~ 2025-12 是"限电前干净判别窗"——2026 起交易策略主导,曲线含策略性少发,作设备判据时须注意;选到含 2026 的窗时该影响存在但不再遮掩。',"kpi.alarm_units":"九系统有报警的台数 / 全场","kpi.alarm_units.hint":"统计方法: 九系统 (叶片与叶根/变桨/偏航/齿轮箱/发电机/主轴承/变流器/塔架与基础/主控与传感网) 中任一被判「报警」即计一台。与下方「全场状态」格的统计方法不同 —— 那里按每台 振动/温度/润滑/油液/报警/工单 六列取最严一级, 所以两处数字可以不同, 不是矛盾。","kpi.avail":"时间可用率 (不含调度令) · {win}","kpi.curtail":"限电·绑定 电量损失","kpi.downtime":"停机时长 · {n} 起","kpi.loss":"停机电量损失 · {win}","kpi.loss_dispatch":"另调度令 {n}","kpi.mtbo":"平均停机间隔(MTBO;非行业 MTBF)","loss.curtail_bound":"限电 (命令与实际功率对得上)","loss.curtail_unbound":"限电命令期 · 功率未被压制","loss.dispatch":"调度令停机","loss.lowwind":"低风待机","loss.normal":"正常发电时的欠发","loss.stop":"故障与检修停机","mdl.cloud":"云端","mdl.deepseek-chat.nm":"DeepSeek","mdl.deepseek-chat.t":"约 3 到 10 秒","mdl.deepseek-r1:14b.nm":"本机 DeepSeek 14B · 审核档","mdl.deepseek-r1:14b.t":"约 1 到 3 分钟","mdl.deepseek-r1:32b.nm":"本机 DeepSeek 32B","mdl.deepseek-r1:32b.t":"约 3 到 8 分钟","mdl.deepseek-v4-pro.nm":"云端 DS","mdl.deepseek-v4-pro.t":"约 2 到 6 分钟","mdl.kimi-fast.nm":"Kimi","mdl.kimi-fast.t":"约 5 到 20 秒","mdl.local":"本地","mdl.outbound_warn":"内容会外发到模型厂商, 场名与台号已去标识化","mdl.qwen-plus.nm":"通义千问","mdl.qwen-plus.t":"约 5 到 20 秒","mdl.qwen3.8:27b.nm":"标准 27B · 复杂题","mdl.qwen3.8:27b.t":"约 2 到 4 分钟","mdl.qwen3:30b-a3b.nm":"快 30B (a3b)","mdl.qwen3:30b-a3b.t":"约 20 到 60 秒","mdl.qwen3:8b.nm":"轻量 8B · 默认","mdl.qwen3:8b.t":"约 30 到 60 秒","mdl.unknown_warn":"未知档位, 按内容会外发处理","mdl.zero_outbound":"全程零外发","mt.cov":"当前覆盖","mt.eyebrow":"系统维护 · 数据输入与更新端口","mt.fail":"盘点失败: {e}","mt.freq":"频率","mt.head":"数据维护面 · {n} 个源","mt.how":"补数据怎么做","mt.last":"末次更新","mt.layer_data":"数据层","mt.layer_data_note":"随运营滚动 — 新数据到位后跑摄入, 本体与判级自动刷新","mt.layer_mech":"机理层","mt.layer_mech_note":"相对稳定 — 换厂商资料或现场反馈修正时才动; 它是判据的地基, 变更须过审","mt.note":'每个源给出: 当前覆盖 / 末次更新 / 约定位置 / 摄入命令 / 更新频率 / 责任方。要补数据就把新文件放到"约定位置"再跑"摄入命令"。',"mt.put":"放到:","mt.resp":"责任","mt.rows_n":" ({n} 条)","mt.run":"跑:","mt.src":"源","mt.surveying":"盘点中…","ov.all_steps_done":"已走完(待验收)","ov.attention":"需要关注","ov.attention_n":"{n} 台","ov.basis_fusion":"本台依据来自融合面(九系统判级无「报警」行):部件 {part} · 链路走到第 {done}/{n} 步 · 卡在「{stuck}」 · 证据源 {srcs}","ov.caveat":"限定","ov.evidence":"查看完整依据","ov.fus_gap_hint":"这一面(需要关注 / 全场状态)取数来自融合面;缺件时如实为空,不从交付包补齐。在本机放好原始件后跑一次重算即会由观澜自己的生成端补上(scripts/rudong_fusion_handoff.py,见 docs 的「源代码化清单」)。","ov.illustrative":"示意数据","ov.no_srcs":"无(该台无外部证据源)","ov.quiet":"其余 {n} 台未进入优先关注清单;设备状态请查看全场状态评估。","ov.quiet_all":"当前优先关注清单为空;{n} 台机组的设备状态请查看全场状态评估。","ov.ranked_by":"按 设备状态 × 证据量 排序","ov.strip":"全场状态","ov.strip_hint":"一格一台 · 点格定位","ov.systems":"九系统","ov.systems_hint":"点系统看逐台依据","pop.acts":"动作统计","pop.close":"关闭","pop.loading":"载入中…","pop.none":"本时间窗无记录","pop.o_act":"处置","pop.o_cause":"原因","pop.o_check":"排查","pop.o_date":"日期","pop.o_fault":"故障","pop.o_kind":"类别","pop.orders":"工单 {n} 单","pop.orders_none":"时间窗内无工单","pop.orders_one":"工单 1 单","pop.problem":"{u} · {sys}","pop.unit":"{u} · 全部问题","rpt.attrib.note":'"无记录停机"不是没有故障, 是没归上因。',"rpt.attrib.title":"归因覆盖","rpt.aud_in":"场站内部 (全量)","rpt.aud_up":"上报集团 (脱敏)","rpt.b.attrib.d":"已归因 vs 无记录停机的占比 — 无记录不等于没有故障","rpt.b.attrib.nm":"归因覆盖","rpt.b.blame.d":'交易调度侧 / 设备侧 / 运行侧 三段占比 — 回答"谁的责任"',"rpt.b.blame.nm":"损失责任分账","rpt.b.caliber.d":"统计期 / 残月 / 工单时间窗 / 判级性质 — 建议常驻, 没有边界的数字堆不能作汇报依据","rpt.b.caliber.nm":"统计方法与适用边界","rpt.b.chain.d":"证据→机制→判级→排期→动作→验收 六步的瓶颈分布","rpt.b.chain.nm":"决策链进度","rpt.b.emon.d":"逐月上网 / 损失 / 损失率 / 等效满发, 含数据覆盖率","rpt.b.emon.nm":"逐月发电表","rpt.b.frate.d":"按天归一的日均条数, 数据不满月单独标注","rpt.b.frate.nm":"月度故障率","rpt.b.kpi.d":"六个核心数: 上网电量 / 等效满发 / 可用率 / 损失率 / 停机间隔 / 需行动台","rpt.b.kpi.nm":"一级指标","rpt.b.loop.d":"检出 → 换件 → 复测回落的历史例证, 证明这条链是通的","rpt.b.loop.nm":"闭环实证","rpt.b.narr.d":"模型基于实测数据生成的运行总结 — 为图表补充文字结论, 供汇报使用","rpt.b.narr.nm":"运行总结","rpt.b.pareto.d":"按条数降序 + 累计 80% 线, 找关键少数","rpt.b.pareto.nm":"故障帕累托","rpt.b.parts.d":"逐部件停机时长 / 事件数 / 平均无故障间隔(MTBF)/ 单次停机时长(MDT)/ 影响机组数","rpt.b.parts.nm":"部件停机表","rpt.b.plan.d":"由数据推出的行动项, 不是套话","rpt.b.plan.nm":"下期建议","rpt.b.quad.d":"条数 × 单次时长, 区分重复触发与实际停机 — 按条数排序会误定优先级","rpt.b.quad.nm":"故障四象限","rpt.b.ram.d":'平均无故障间隔(MTBF)× 单次停机时长(MDT)部件象限, 分出"频发易修"与"罕发难修", 处置方向相反',"rpt.b.ram.nm":"可靠性象限","rpt.b.units.d":"需跟踪台的部件 / 证据源 / 六步进度 / 卡在哪一步","rpt.b.units.nm":"重点机组","rpt.b.water.d":"理论可发 → 逐段扣损 → 实际上网, 用于定位电量流向","rpt.b.water.nm":"能量瀑布","rpt.blame.cal":"工况态分解 + 限电命令面绑定判别; 平均出力=实发÷台时, 用作风资源代理量","rpt.blame.note":'进设备考核的只有"故障与检修停机"; 限电属交易与调度侧。',"rpt.blame.note2":'限电不是"低风时段收到的空令": 限电·绑定时段平均出力 1.435 MW, 正常发电时段 1.412 MW, 比值 1.02 — 风况相同而出力被压, 说明限电是真压制; 但"限电命令期·功率未被压制"那一档平均出力仅 0.724 MW (18% 额定), 确属低风时段收令。',"rpt.blame.title":"损失责任分账","rpt.cal.deid":"脱敏","rpt.cal.deid_d":"上报版隐去判据门槛与特征频率","rpt.cal.denom":"可用率与损失率分母不同","rpt.cal.denom_d":'可用率分母剔除低风待机与调度令(问"该发时能不能发"), 损失率分母含全部时段(问"理论能发多少"); 同一低风时段在可用率里不计时间、在损失率里计入基数 — 这是两个指标的设计差异不是错, 但两者不可直接相乘或互推。低风待机对损失的贡献仅 118 MWh(0.5%)',"rpt.cal.partial":" — {m} 数据不满月(覆盖 {c}%), 月度已按天归一","rpt.cal.period":"统计期","rpt.cal.rating":"判级","rpt.cal.rating_d":"由振动/温度/润滑/油液四源融合得出; 行动等级由综合报告出具","rpt.cal.stop":"停机","rpt.cal.stop_d":"可靠性统计方法 ≥1h 段, 电量账为逐条工况态 — 两个数都对, 不可相减","rpt.cal.title":"统计方法与数据边界","rpt.cal.wo":"工单","rpt.cal.wo_d":"台账 2020~2024-11, 本报告不对本期检修执行下结论","rpt.caliber_lbl":"统计方法: ","rpt.chain.cal":"「动作」一列不可判 — {b}","rpt.chain.note":"六步: 证据 → 机制 → 判级 → 排期 → 动作 → 验收。当前 {s}。","rpt.chain.title":"决策链进度","rpt.chapters":"{n} 个章节","rpt.cloud_note":"; 内容会外发到模型厂商","rpt.compose":"生成","rpt.compose_fail":"生成失败: {e}","rpt.composed":"已按需求编排 {n} 块{narr} · {m} 用时 {s}s","rpt.composing":"模型编排中… 挑组件 + 写总结","rpt.emon.act":"上网 MWh","rpt.emon.cal":"覆盖率<50% 的月不参与环比","rpt.emon.cov":"覆盖","rpt.emon.eflh":"等效满发 h","rpt.emon.loss":"损失 MWh","rpt.emon.m":"月","rpt.emon.partial":" 不满月","rpt.emon.pct":"损失率","rpt.emon.title":"逐月发电","rpt.empty_canvas":"画布是空的 — 先从组件库选内容","rpt.export_docx":"导出 Word","rpt.export_xlsx":"导出 Excel","rpt.eyebrow":"汇报定制 · 画布","rpt.facts.agg":"聚合层","rpt.facts.sub":"{n} 条, 契约 {sha}; 数据/时间窗/结论只经契约更新","rpt.facts.sys":"系统","rpt.facts.text":"结论","rpt.facts.title":"可交付级结论 · 契约生成","rpt.facts.verdict":"裁决","rpt.foot_asof":"出件 {d}","rpt.foot_deid":"判据门槛与特征频率已脱敏","rpt.foot_src":"数据源 SCADA 10min · 报警事件 · 工单台账 · CMS 振动 · 油液化验","rpt.foot_trace":"结论可回溯至本体对象","rpt.frate.cal":"不满月按天归一","rpt.frate.note":"柱高=日均条数, 不是月总数。","rpt.frate.title":"月度故障率","rpt.g.end":"收尾","rpt.g.flt":"故障","rpt.g.gen":"发电","rpt.g.rel":"可靠性","rpt.g.unit":"机组","rpt.grounded":"数字全部接地","rpt.hint_idle":"悬停查看组件说明 · 已选组件再次点击移出 · 右侧 ↑↓ 调整顺序","rpt.kpi.act":"上网电量","rpt.kpi.action":"需行动机组","rpt.kpi.action_n":"定论 {a} · 预警 {b} · 候选 {c}","rpt.kpi.annual":"年化约 {v} h","rpt.kpi.avail":"时间可用率","rpt.kpi.avail_n":"不含调度令与低风待机","rpt.kpi.eflh":"等效满发小时","rpt.kpi.loss":"损失率","rpt.kpi.mom":"环比 {v}%","rpt.kpi.mom_na":"环比不可比(末月不满)","rpt.kpi.mtbo":"平均停机间隔","rpt.kpi.mtbo_n":"停机 {n} 起 · 单次均 {h}h","rpt.kpi.theo":"理论可发 {v}","rpt.library":"组件库","rpt.library_note":"点击加入报告, 再次点击移出 · 画布里已有 {n} 块","rpt.local_note":"; 数据不出本地","rpt.loop.cal":"振动标量前后对比","rpt.loop.comp":"部件","rpt.loop.date":"换件日期","rpt.loop.note":"这几台正是算法当初的检出台 ⇒ 故障前能看见、换件后能看见恢复。","rpt.loop.post":"换后","rpt.loop.pre":"换前","rpt.loop.ratio":"比值","rpt.loop.title":"端到端闭环实证","rpt.narr.cal":"模型 {m} 生成 · 数字取自系统实测摘要 · 数据回抓校验{g}","rpt.narr.empty":"还没有生成 — 在上面的交互窗输入报告要求。","rpt.narr.g_n":"报 {n} 处待核","rpt.narr.g_ok":"全通过","rpt.narr.title":"运行总结","rpt.narr.ungr":"⚠ 以下数值由模型自行推算, 不在原始数据摘要中, 引用前须核对: {v}","rpt.narr_plus":" + 一段运行总结","rpt.need_empty":"先输入报告要求","rpt.need_head":"输入报告要求","rpt.need_hint":"模型依据需求选取组件, 并基于实测数据生成运行总结","rpt.need_ph":"例如: 上报集团月报, 侧重设备可靠性与重点机组","rpt.no_compose":"本部署未启用编排接口, 画布仍可手动拼装","rpt.no_models":"本部署未配置任何模型密钥, 编排不可用","rpt.paper_sub":"统计期 {win} | {n} 台","rpt.paper_title":"运行分析报告","rpt.pareto.cal":"报警事件表","rpt.pareto.title":"故障帕累托","rpt.parts.cal":"归因=段起点±30min 首发码","rpt.parts.ev":"事件","rpt.parts.ext":" (外部)","rpt.parts.h":"停机h","rpt.parts.mdt":"单次停机时长(MDT,h)","rpt.parts.mtbf":"平均无故障间隔(MTBF,h)","rpt.parts.part":"部件","rpt.parts.title":"部件停机","rpt.parts.units":"影响机组","rpt.plan.1":'补机制定性 — {n} 台停在"判了级但根因未定", 是当前最大单一瓶颈',"rpt.plan.2":"回收 25~26 工单 — 台账止 2024-11, 本期检修执行与闭环无法自动判定","rpt.plan.3":"油液采样节奏 — 四源里油液长期 stale, 只能作回测锚","rpt.plan.4":"限电侧 — 损失六成在交易与调度侧, 设备侧改善空间有限","rpt.plan.cal":"建议级 — 排期与动作须经审批","rpt.plan.title":"下期计划与建议","rpt.preset.blank":"空白画布","rpt.preset.month":"月度运行分析","rpt.preset.topic":"设备专题","rpt.preset.week":"周报","rpt.preset.year":"年度总结","rpt.presets":"预设","rpt.preview_empty":"文档预览窗 — 从上面的组件库点选内容, 此处显示报告预览","rpt.print":"打印 / 存 PDF","rpt.quad.cal":"纵界=10min(一个SCADA采样格)","rpt.quad.note":"右下角报警码属重复触发, 不应按条数排定优先级。","rpt.quad.title":"故障模式四象限","rpt.ram.cal":"SCADA ≥1h 停机段, 不含调度令; 海上 MDT 含交通窗口","rpt.ram.note":"设备类 {a}h / 外部类 {b}h (电网·风况·运维操作不计设备可靠性)","rpt.ram.title":"可靠性 × 可维修性","rpt.ungrounded_n":"{n} 个数字待核","rpt.units.at":"卡在","rpt.units.cal":"四源融合判级","rpt.units.clear":"全通","rpt.units.ev":"部件与证据","rpt.units.head":"需跟踪 {n} 台 / {tot} | 瓶颈 ","rpt.units.prog":"进度","rpt.units.rising":"在升 {r}×","rpt.units.state":"状态","rpt.units.stuck":"{n} 台卡在「{s}」","rpt.units.title":"重点机组与处置","rpt.up_note":"上报版 — 判据门槛与特征频率已脱敏","rpt.up_tag":"上报版","rpt.water.cal":"SCADA 10min 工况态分解; 损失=同工况理论出力与实测之差。量级自检为防虚高的下限校验, 不是风资源判据","rpt.water.cap_bad":"量级自检: 理论 ≥ 全额定上限 {cap} MWh ✗ 数字不可信","rpt.water.cap_ok":"量级自检: 理论低于全额定上限 {cap} MWh ✔","rpt.water.note":"理论可发 {theo} = 上网 {act} + 损失 {loss} MWh ({pct}%)","rpt.water.title":"发电完成情况","rv.advci":"AdvCI","rv.dual":"双模型审","rv.lite":"lite","rv.none":"未审","st.bad":"危险","st.excellent":"优秀","st.ok":"良好","st.ok_excellent":"良好 / 优秀","st.unk":"不可判","st.warn":"报警","step.acceptance":"验收","step.action":"动作","step.evidence":"证据","step.mechanism":"机制","step.rating":"判级","step.schedule":"排期","step.site_records":"现场记录","step.stuck_at":"卡在「{step}」","sys.blade":"叶片与叶根","sys.control":"主控与传感网","sys.converter":"变流器","sys.gearbox":"齿轮箱","sys.generator":"发电机","sys.main_bearing":"主轴承","sys.other":"其他","sys.pitch":"变桨","sys.tower":"塔架与基础","sys.yaw":"偏航","tab.assistant":"检修助手","tab.component":"部件问题","tab.decision":"检修决策","tab.energy":"电量算账","tab.fault":"故障统计","tab.generation":"发电性能","tab.ontology":"本体","tab.overview":"总览","tab.report":"汇报定制","tab.system":"系统维护","tab.vibration":"振动融合分析","tier.candidate":"候选","tier.candidate.s":"候选","tier.candidate_baseline":"候选·记基线","tier.candidate_baseline.s":"候选·记基线","tier.candidate_new":"候选·新发","tier.candidate_new.s":"候选·新发","tier.confirmed":"定论","tier.confirmed.s":"定论","tier.detail.不可判":"不可判","tier.detail.仲裁输入":"仲裁输入","tier.detail.优":"优","tier.detail.优秀":"优秀","tier.detail.传感器项":"传感器项","tier.detail.候选":"候选","tier.detail.候选·监视(复发)":"候选·监视(复发)","tier.detail.候选·跟踪":"候选·跟踪","tier.detail.危险":"危险","tier.detail.可降":"可降","tier.detail.复发候选(两轴合并)":"复发候选(两轴合并)","tier.detail.定论":"定论","tier.detail.弱同向新证":"弱同向新证","tier.detail.报":"报","tier.detail.报警":"报警","tier.detail.本体无新证":"本体无新证","tier.detail.正常":"正常","tier.detail.正样本":"正样本","tier.detail.温度单轴保留":"温度单轴保留","tier.detail.监视":"监视","tier.detail.监视(不开箱)":"监视(不开箱)","tier.detail.良":"良","tier.detail.良好":"良好","tier.detail.蓄能失效候选(定向查)":"蓄能失效候选(定向查)","tier.detail.观察":"观察","tier.detail.观察(发电机侧)":"观察(发电机侧)","tier.detail.记基线观察":"记基线观察","tier.detail.销案(定论)":"销案(定论)","tier.detail.降观察":"降观察","tier.detail.预警":"预警","tier.detail.预警·处置升急":"预警·处置升急","tier.detail.预警·处置规划":"预警·处置规划","tier.insufficient":"不足","tier.insufficient.s":"不足","tier.near":"准定论·预警","tier.near.s":"准定论","tier.normal":"正常","tier.normal.s":"正常","tier.reference":"参考","tier.reference.s":"参考","tier.withdrawn":"撤回","tier.withdrawn.s":"撤回","ui.all":"全部","ui.back_portal":"← 返回门户","ui.back_to":"← 返回{tab}","ui.collapse":"收起","ui.count":"条数","ui.data_hidden":"({n} 处数据文本尚无英文,需复核)","ui.date":"日期","ui.empty":"无数据","ui.error":"出错了","ui.expand":"展开","ui.loading":"载入中…","ui.not_ported":"本页尚未迁入新版。","ui.not_recorded":"台账未填","ui.open":"查看 →","ui.open_classic":"在经典版打开 →","ui.query":"查询","ui.reselect":"重新选择机组 / 测点","ui.retry":"重试","ui.system":"系统","ui.unit":"机组","ui.units":"机组","ui.verbatim":"原始记录 (中文)","ui.verbatim_note":"{n} 处为手册/工单原文, 无英文译本, 按原文转录。","unit.h":"h","unit.n":" 条","unit.units":"台","vp.(振动线未收录)":"(振动线未收录)","vp.主轴承(后)+集中润滑泵":"主轴承(后)+集中润滑泵","vp.发电机(引用同族, 见族主台)":"发电机(无本台独立证据, 参照同型机组)","vp.发电机(未映射)":"发电机(未对应到具体部件)","vp.发电机DE":"发电机DE","vp.发电机DE+NDE(两端)":"发电机DE+NDE(两端)","vp.发电机NDE":"发电机NDE","vp.齿轮箱(未映射)":"齿轮箱(未对应到具体部件)","vp.齿轮箱(测量链问题, 非部件)":"齿轮箱(测量链问题, 非部件)","vp.齿轮箱(谱线级, 未映射到部件)":"齿轮箱(频谱信号级 (未定位到具体零件), 未对应到具体部件)","vp.齿轮箱中间轴":"齿轮箱中间轴","vp.齿轮箱二级行星内齿圈":"齿轮箱二级行星内齿圈","vp.齿轮箱高速轴":"齿轮箱高速轴","win.2025H2":"2025H2","win.2026":"2026年","win.2026H1":"2026H1","win.30d":"近30日","win.90d":"近90日","win.all":"全程","win.apply":"应用","win.bad_order":"开始日期不能晚于结束日期","win.banner":"时间窗 {win} · 本页全部数字随上方时间窗切换","win.custom":"自定义","win.custom_hint":"自定义起止日期(含两端)。日粒度件(判级/停机台账/曲线)按日精确;月度聚合件按所跨月份取整,图上会写明。","win.custom_sel":"自定义 {a} ~ {b}","win.from":"开始日期(含)","win.label":"时间窗","win.months":"按月","win.need_both":"请把开始与结束日期都选上","win.partial":"时间窗内 {m} 数据不满月 (覆盖 {c}%), 月度图已按天归一","win.presets":"预设时间窗","win.through":"至{date}","win.to":"结束日期(含)"};function o(t,e){let s=ya[t]??t;if(e)for(const[n,l]of Object.entries(e))s=s.split(`{${n}}`).join(String(l));return s}const $a=["overview","energy","component","vibration","generation","fault","decision","assistant","report","system"],an=["overview","energy","component","fault","vibration","generation","decision","assistant","system"],wa={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},xa={critical:"bad",alarm:"warn",undeterminable:"unk",indeterminate:"unk","not evaluable":"unk",good:"ok",excellent:"ex",warn:"warn",bad:"bad",ok:"ok",unk:"unk",ex:"ex"},Os=t=>wa[String(t)]||xa[String(t)],wl={证据:"evidence",机制:"mechanism",判级:"rating",排期:"schedule",动作:"action",验收:"acceptance"},wn=t=>"st."+(t==="ex"?"excellent":t),pt=t=>String(t).replace("WTG","").replace(/^0/,"")+"#",it=(t,e=0)=>{if(t==null||typeof t=="number"&&isNaN(t))return"—";const s=Number(t);return isNaN(s)?"—":s.toLocaleString("zh-CN",{maximumFractionDigits:e,minimumFractionDigits:e})},xl=t=>{const e=Os(t);return e?o(wn(e)):String(t??"")},ka=["振动","温度","润滑","油液","报警","工单"];function kl(t){const e=ka.map(n=>Os((t?.[n]||{}).ostate)).filter(Boolean);if(!e.length)return"unk";if(e.includes("bad"))return"bad";if(e.includes("warn"))return"warn";const s=e.filter(n=>n!=="unk");return s.length?s.includes("ok")?"ok":"ex":"unk"}const Sl={bad:"critical",warn:"warning",unk:"unknown",ok:"good",ex:"excellent"},we=t=>String(t??""),Ln=["叶片与叶根","变桨","偏航","齿轮箱","发电机","主轴承","变流器","塔架与基础","主控与传感网"],Ds={叶片与叶根:"blade",变桨:"pitch",偏航:"yaw",齿轮箱:"gearbox",发电机:"generator",主轴承:"main_bearing",变流器:"converter",塔架与基础:"tower",主控与传感网:"control",主轴:"main_bearing",其他:"other"},Li=(()=>{const t={};for(const e of Ln)t[Ds[e]]=e;for(const[e,s]of Object.entries(Ds))s in t||(t[s]=e);return t})(),Ps=t=>Ds[String(t)]||String(t),Ml=t=>Li[String(t)]||String(t),de=t=>{const e=Ds[String(t)]||String(t);return Li[e]?o("sys."+e):String(t??"")},Fs=t=>de(t),Sa={key:0},Ma={class:"small"},Ta={href:"#tab=component","data-back":"1"},Ca={class:"panel mb"},Ea={style:{display:"flex",height:"12px","border-radius":"4px",overflow:"hidden",margin:"8px 0 4px"}},Aa={class:"small muted"},Oa={class:"tblwrap"},Da={style:{width:"74px"}},Pa={class:"r",style:{width:"96px"}},Fa=["href"],Ia={class:"small"},ja={class:"r"},Ha=["href"],qa={key:0,class:"panel mb"},La={style:{cursor:"pointer","font-weight":"600"}},Na={class:"tblwrap"},Ra={style:{"margin-top":"10px"}},Ba={style:{width:"74px"}},Wa={class:"small"},Ka={key:1,class:"panel"},Ua={class:"small"},Va={key:0},Ga={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},za={class:"eyebrow"},Ya={class:"panel mb"},Ja={style:{display:"grid","grid-template-columns":"repeat(auto-fit,minmax(170px,1fr))",gap:"10px"}},Za=["data-sys"],Xa={class:"t"},Qa={class:"bar"},tc={class:"small muted"},ec=["innerHTML"],sc={class:"small muted",style:{"margin-top":"8px"}},nc={key:1},lc={class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},ic={class:"small"},oc={key:2},rc={class:"eyebrow"},ac={class:"panel mb"},cc={class:"small muted",style:{"font-weight":"400"}},uc={class:"small muted",style:{margin:"-2px 0 8px"}},dc={class:"tblwrap"},fc={class:"r"},pc={class:"r"},hc={class:"r"},mc={class:"r"},_c={key:0},gc={class:"badge"},vc={class:"num small"},bc={class:"r"},yc={class:"r"},$c={class:"r"},wc={class:"r"},xc={class:"small"},kc={class:"small muted"},Sc={key:3},Mc={class:"panel mb"},Tc={class:"small"},Cc={href:"#tab=vibration"},Ec={class:"eyebrow"},Ac={class:"panel mb"},Oc={class:"tblwrap"},Dc={class:"r"},Pc=["href"],Fc={class:"r"},Ic=["innerHTML"],jc={class:"small"},Hc=It({__name:"Component",props:{d:{},sys:{}},setup(t){const e=t,s=O(()=>e.d?.sysdist||{}),n=O(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),l=O(()=>e.sys?Ml(e.sys):null),i=O(()=>Ln.filter(d=>s.value[d]).map(d=>{const v=s.value[d],m=v.报警||0,b=v.不可判||0,S=Object.values(v).reduce((j,$)=>j+$,0)||1,x=m>=8?"var(--critical)":m>=3?"var(--warning)":m?"var(--accent)":"var(--good)";return{s:d,dist:v,a:m,u:b,N:S,col:x}}));function c(d){return(d.syss||[]).map(v=>`<a href="/problem/${d.t}/${encodeURIComponent(Ml(v)||v)}">${de(v)}</a>`).join(" · ")}const a=O(()=>{const v=(((e.d?.control||{}).energy||{}).items||[]).filter(m=>m.k==="停机").map(m=>m.h)[0];return v??null}),u=O(()=>{const d=n.value?.表||[],v=Math.max(1,...d.map(m=>m.停机时长h));return d.map(m=>({r:m,maxH:v,sev:m.部件==="无记录停机"?"var(--unknown)":m.外部?"var(--accent)":m.占停机>=.06?"var(--critical)":m.占停机>=.03?"var(--warning)":"var(--good)"}))}),_=O(()=>{const d=l.value;if(!d)return null;const v=(e.d?.systems||{})[d]||[],m=s.value[d]||{},b=(e.d?.systems||{})[d+"·良好"]||[],S=j=>m[j]||0,x=Object.values(m).reduce((j,$)=>j+$,0)||1;return{s:d,N:x,gd:b,cnt:S,al:v.filter(j=>j.st==="报警"),un:v.filter(j=>j.st==="不可判"),dist:m}});return(d,v)=>_.value?(w(),k("section",Sa,[r("p",Ma,[r("a",Ta,f(h(o)("ui.back_to",{tab:h(o)("tab.component")})),1)]),r("div",Ca,[r("h3",null,f(h(o)("cmp.detail_head",{sys:h(de)(_.value.s),n:_.value.N})),1),r("div",Ea,[(w(),k(V,null,st([["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],([m,b])=>r("i",{key:m,style:_t(`width:${(_.value.cnt(m)/_.value.N*100).toFixed(1)}%;background:var(--${b})`)},null,4)),64))]),r("div",Aa,f(h(o)("cmp.counts",{a:_.value.cnt("报警"),u:_.value.cnt("不可判"),g:_.value.cnt("良好"),e:_.value.cnt("优秀")})),1)]),(w(!0),k(V,null,st([_.value.al,_.value.un],(m,b)=>Xn((w(),k("div",{key:b,class:"panel mb"},[r("h3",null,f(b===0?h(o)("cmp.alarm_units"):h(o)("cmp.unk_units"))+" "+f(h(o)("cmp.n_units",{n:m.length})),1),r("div",Oa,[r("table",null,[r("tr",null,[r("th",Da,f(h(o)("ui.unit")),1),r("th",null,f(h(o)("cmp.why")),1),r("th",Pa,f(h(o)("cmp.detail")),1)]),(w(!0),k(V,null,st(m,S=>(w(),k("tr",{key:S.t},[r("td",null,[r("a",{href:`/turbine/${S.t}`},[r("b",null,f(h(pt)(S.t)),1)],8,Fa)]),r("td",Ia,f(S.why),1),r("td",ja,[r("a",{class:"small",href:`/problem/${S.t}/${encodeURIComponent(_.value.s)}`},f(h(o)("cmp.detail_link")),9,Ha)])]))),128))])])])),[[hl,m.length]])),128)),_.value.gd.length?(w(),k("details",qa,[r("summary",La,f(h(o)("cmp.good_units",{n:_.value.gd.length})),1),r("div",Na,[r("table",Ra,[r("tr",null,[r("th",Ba,f(h(o)("ui.unit")),1),r("th",null,f(h(o)("cmp.why")),1)]),(w(!0),k(V,null,st(_.value.gd,m=>(w(),k("tr",{key:m.t},[r("td",null,[r("b",null,f(h(pt)(m.t)),1)]),r("td",Wa,f(m.why),1)]))),128))])])])):ot("",!0),!_.value.al.length&&!_.value.un.length&&!_.value.gd.length?(w(),k("div",Ka,[r("p",Ua,f(h(o)("cmp.none")),1)])):ot("",!0)])):(w(),k(V,{key:1},[t.d.sysmx_pending?(w(),k("section",Va,[r("div",Ga,[r("b",null,f(h(o)("cmp.grading_pending")),1),W(" "+f(h(o)("cmp.grading_pending_why",{span:t.d.sysmx_span||""})),1)])])):ot("",!0),r("section",null,[r("div",za,f(h(o)("cmp.by_system")),1),r("div",Ya,[r("div",Ja,[(w(!0),k(V,null,st(i.value,m=>(w(),k("div",{key:m.s,class:"sysc",role:"button",tabindex:"0","data-sys":h(Ps)(m.s),style:_t(`cursor:pointer;border-left:3px solid ${m.col}`)},[r("div",Xa,[r("b",null,f(h(de)(m.s)),1)]),r("div",Qa,[(w(),k(V,null,st([["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],([b,S])=>Xn(r("i",{key:b,style:_t(`width:${(m.dist[b]/m.N*100).toFixed(1)}%;background:var(--${S})`)},null,4),[[hl,m.dist[b]]])),64))]),r("div",tc,[r("span",{innerHTML:h(o)("cmp.alarm_n",{a:`<b style="color:${m.col}">${m.a}</b>`})},null,8,ec),W(f((m.u?h(o)("cmp.unk_n",{u:m.u}):"")+h(o)("cmp.fleet_n",{n:m.N})),1)])],12,Za))),128))]),r("p",sc,f(h(o)("cmp.cards_note")),1)])]),t.d.rel&&t.d.rel.err?(w(),k("section",nc,[r("div",lc,[r("p",ic,f(h(o)("flt.block_err",{k:"rel",e:t.d.rel.err})),1)])])):n.value?(w(),k("section",oc,[r("div",rc,f(h(o)("cmp.rel_eyebrow",{win:n.value.窗})),1),r("div",ac,[r("h3",null,[W(f(h(o)("cmp.rel_head"))+" ",1),r("span",cc,f(h(o)("cmp.rel_meta",{t:n.value.总停机h,a:n.value.设备类停机h,b:n.value.外部类停机h})),1)]),r("p",uc,f(h(o)("cmp.rel_note",{h:a.value==null?"":" "+h(it)(a.value)+"h"})),1),r("div",dc,[r("table",null,[r("tr",null,[r("th",null,f(h(o)("cmp.rel_part")),1),r("th",null,f(h(o)("cmp.rel_h")),1),r("th",fc,f(h(o)("cmp.rel_ev")),1),r("th",pc,f(h(o)("cmp.rel_mtbo")),1),r("th",hc,f(h(o)("cmp.rel_mdt")),1),r("th",mc,f(h(o)("cmp.rel_units")),1),r("th",null,f(h(o)("cmp.rel_fm")),1)]),(w(!0),k(V,null,st(u.value,m=>(w(),k("tr",{key:m.r.部件},[r("td",null,[r("b",null,f(h(Fs)(m.r.部件)),1),m.r.外部?(w(),k("span",_c,[v[0]||(v[0]=W(f(" "),-1)),r("span",gc,f(h(o)("cmp.external")),1)])):ot("",!0)]),r("td",null,[r("i",{class:"bar",style:_t(`width:${Math.round(m.r.停机时长h/m.maxH*72)}px;background:${m.sev}`)},null,4),r("span",vc,f(m.r.停机时长h)+"h · "+f((m.r.占停机*100).toFixed(1))+"%",1)]),r("td",bc,f(m.r.事件数),1),r("td",yc,f(m.r.外部?"—":m.r.MTBF_h||"—"),1),r("td",$c,f(m.r.MDT_h),1),r("td",wc,f(m.r.影响台数),1),r("td",xc,f(m.r.典型失效模式||"—"),1)]))),128))])]),r("p",kc,f(n.value.口径),1)])])):ot("",!0),t.d.fus&&!t.d.fus.err?(w(),k("section",Sc,[r("div",Mc,[r("p",Tc,[W(f(h(o)("cmp.fusion_moved"))+" ",1),r("a",Cc,[r("b",null,f(h(o)("tab.vibration")),1)]),W(" "+f(h(o)("cmp.fusion_n",{n:(t.d.fus.表||[]).length})),1)])])])):ot("",!0),r("section",null,[r("div",Ec,f(h(o)("cmp.cross_eyebrow")),1),r("div",Ac,[r("h3",null,f(h(o)("cmp.watch_head",{n:(t.d.watch||[]).length})),1),r("div",Oc,[r("table",null,[r("tr",null,[r("th",null,f(h(o)("ui.unit")),1),r("th",Dc,f(h(o)("cmp.n_sys")),1),r("th",null,f(h(o)("cmp.hit_sys")),1),r("th",null,f(h(o)("cmp.basis")),1)]),(w(!0),k(V,null,st(t.d.watch||[],m=>(w(),k("tr",{key:m.t},[r("td",null,[r("a",{href:`/turbine/${m.t}`},[r("b",null,f(h(pt)(m.t)),1)],8,Pc)]),r("td",Fc,f(m.n),1),r("td",{class:"small",innerHTML:c(m)},null,8,Ic),r("td",jc,f(m.why),1)]))),128))])])])])],64))}}),qc="modulepreload",Lc=function(t,e){return new URL(t,e).href},Tl={},Nc=function(e,s,n){let l=Promise.resolve();if(s&&s.length>0){let c=function(d){return Promise.all(d.map(v=>Promise.resolve(v).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};const a=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),_=u?.nonce||u?.getAttribute("nonce");l=c(s.map(d=>{if(d=Lc(d,n),d in Tl)return;Tl[d]=!0;const v=d.endsWith(".css"),m=v?'[rel="stylesheet"]':"";if(!!n)for(let x=a.length-1;x>=0;x--){const j=a[x];if(j.href===d&&(!v||j.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${m}`))return;const S=document.createElement("link");if(S.rel=v?"stylesheet":qc,v||(S.as="script"),S.crossOrigin="",S.href=d,_&&S.setAttribute("nonce",_),document.head.appendChild(S),v)return new Promise((x,j)=>{S.addEventListener("load",x),S.addEventListener("error",()=>j(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(c){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=c,window.dispatchEvent(a),!a.defaultPrevented)throw c}return l.then(c=>{for(const a of c||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})},Rc=["data-chart"],Bc=It({__name:"EChart",props:{option:{},height:{}},setup(t){const e=t,s=St(null);let n=null;async function l(){if(!s.value)return;const i=await Nc(()=>import("./index-BAPDkhe3.js"),[],import.meta.url);n||(n=i.init(s.value,void 0,{renderer:"canvas"})),n.setOption(e.option,!0)}return Us(l),es(()=>e.option,l,{deep:!0}),ui(()=>{n&&(n.dispose(),n=null)}),(i,c)=>(w(),k("div",{class:"echart","data-chart":JSON.stringify(t.option),style:_t(`height:${t.height||"260px"}`),ref_key:"el",ref:s},null,12,Rc))}}),Ni=(t,e)=>{const s=t.__vccOpts||t;for(const[n,l]of e)s[n]=l;return s},Ot=Ni(Bc,[["__scopeId","data-v-999bee15"]]),Wc={key:0},Kc={class:"panel"},Uc={class:"small muted"},Vc={key:1},Gc={class:"kpis",style:{"margin-bottom":"12px"}},zc={key:0},Yc={class:"grid2"},Jc={class:"panel span2"},Zc={class:"small muted",style:{"font-weight":"400"}},Xc={class:"panel"},Qc={style:{"font-weight":"600"}},tu={class:"num"},eu={class:"small muted"},su={class:"small muted",style:{"margin-top":"6px"}},nu={class:"panel"},lu={class:"small muted",style:{"font-weight":"400"}},iu={class:"tblwrap"},ou={class:"r",style:{width:"90px"}},ru={class:"small"},au={class:"num small"},cu={class:"r small"},uu={class:"small muted",style:{"margin-top":"6px"}},du=It({__name:"Energy",props:{d:{}},setup(t){const e=t,s=O(()=>(e.d?.control||{}).energy),n=O(()=>(e.d?.control||{}).states||[]),l={"限电·绑定":"loss.curtail_bound","限电命令·未绑定":"loss.curtail_unbound","停机(调度令)":"loss.dispatch",停机:"loss.stop",正常发电:"loss.normal",低风待机:"loss.lowwind"},i=m=>l[m]?o(l[m]):m,c=O(()=>{const m=s.value||{};return[{v:it(m.theo),u:"MWh",l:o("en.kpi_theo"),k:""},{v:it(m.act),u:"MWh",l:o("en.kpi_act",{h:it(m.eflh)}),k:"ok"},{v:it(m.loss_pct,1),u:"%",l:o("en.kpi_loss",{v:it(m.loss)}),k:m.loss_pct>=10?"warn":""},{v:m.cap_ok?o("en.cap_pass"):o("en.cap_fail"),u:"",l:o("en.cap_note",{op:m.cap_ok?"<":"≥",cap:it(m.cap)}),k:m.cap_ok?"ok":"bad"}]}),a=m=>m.indexOf("限电")>=0||m.indexOf("调度")>=0?0:m==="停机"?1:2,u=O(()=>{const m=[0,0,0];for(const b of s.value?.items||[])m[a(b.k)]+=b.loss;return m}),_=O(()=>{const m=s.value||{},b=(m.items||[]).filter($=>$.loss>0).map($=>({name:$.k,value:Math.round($.loss)})),S=u.value,x=S.reduce(($,C)=>$+C,0)||1,j=S.map($=>Math.round($/x*100)).filter(($,C)=>S[C]/x*500>46);return{title:{text:o("en.balance"),left:"center",textStyle:{fontSize:13}},tooltip:{trigger:"axis"},grid:{left:70,right:20,top:44,bottom:40},xAxis:{type:"category",data:b.map($=>$.name)},yAxis:{type:"value",name:"MWh"},series:[{type:"bar",data:b.map($=>$.value),itemStyle:{color:"#0b5fa5"}}],__data__:[Math.round(m.theo),Math.round(m.act),Math.round(b.reduce(($,C)=>$+C.value,0)),...b.map($=>$.value),...j]}}),d=O(()=>{const m=u.value;return{grid:{left:90,right:24,top:20,bottom:30},xAxis:{type:"value",name:"MWh"},yAxis:{type:"category",data:[o("ch.blame.n1"),o("ch.blame.n2"),o("ch.blame.n3")]},series:[{type:"bar",data:m.map(b=>Math.round(b)),itemStyle:{color:"#2f7dbf"}}],__data__:[]}}),v=O(()=>Math.max(1,...n.value.map(m=>m.pct)));return(m,b)=>s.value?(w(),k("section",Vc,[r("div",Gc,[(w(!0),k(V,null,st(c.value,(S,x)=>(w(),k("div",{key:x,class:Tt(["kpi",S.k])},[r("b",null,[W(f(S.v),1),S.u?(w(),k("small",zc,f(S.u),1)):ot("",!0)]),r("span",null,f(S.l),1)],2))),128))]),r("div",Yc,[r("div",Jc,[r("h3",null,[W(f(h(o)("en.balance"))+" ",1),r("span",Zc,f(h(o)("en.win",{win:h(we)(t.d.win)})),1)]),ft(Ot,{option:_.value,height:"280px"},null,8,["option"])]),r("div",Xc,[r("h3",null,f(h(o)("en.blame")),1),ft(Ot,{option:d.value,height:"240px"},null,8,["option"]),(w(!0),k(V,null,st(u.value,(S,x)=>(w(),k("div",{key:x,style:{display:"flex","align-items":"baseline",gap:"7px","margin-top":"5px"}},[r("i",{style:_t(`flex:none;width:9px;height:9px;border-radius:2px;background:${["var(--accent)","var(--critical)","var(--muted)"][x]};opacity:.55`)},null,4),r("span",Qc,f(h(o)(["ch.blame.n1","ch.blame.n2","ch.blame.n3"][x])),1),r("span",tu,f(h(it)(Math.round(S)))+" MWh",1),r("span",eu,f(h(o)(["ch.blame.d1","ch.blame.d2","ch.blame.d3"][x])),1)]))),128)),r("p",su,f(h(o)("en.blame_note",{n:h(it)(Math.round(((s.value.items||[]).find(S=>S.k==="停机")||{}).loss||0))})),1)]),r("div",nu,[r("h3",null,[W(f(h(o)("en.states"))+" ",1),r("span",lu,f(h(o)("en.win",{win:h(we)(t.d.win)})),1)]),r("div",iu,[r("table",null,[r("tr",null,[r("th",null,f(h(o)("en.state")),1),r("th",null,f(h(o)("en.share")),1),r("th",ou,f(h(o)("en.loss_mwh")),1)]),(w(!0),k(V,null,st(n.value,S=>(w(),k("tr",{key:S.k},[r("td",ru,f(i(S.k)),1),r("td",null,[r("i",{class:"bar",style:_t(`width:${Math.round(S.pct/v.value*84)}px;background:${S.k.indexOf("停机")>=0&&S.k.indexOf("调度")<0?"var(--critical)":"var(--accent)"}`)},null,4),r("span",au,f(S.pct)+"% · "+f(h(it)(Math.round(S.h)))+"h",1)]),r("td",cu,f(h(it)(Math.round(S.loss))),1)]))),128))])]),r("p",uu,[W(f(t.d.control.anchors||""),1),b[0]||(b[0]=r("br",null,null,-1)),W(f(h(o)("en.states_note")),1)])])])])):(w(),k("section",Wc,[r("div",Kc,[r("p",Uc,f(h(o)("ui.empty")),1)])]))}}),fu={class:"eyebrow"},pu={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},hu={style:{color:"var(--warning)"}},mu={class:"grid2"},_u={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},gu={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},vu={class:"panel span2"},bu={class:"small muted",style:{"margin-top":"6px"}},yu={class:"panel"},$u=["innerHTML"],wu={class:"panel"},xu=["innerHTML"],ku={class:"panel span2"},Su={class:"small muted",style:{"margin-top":"6px"}},Mu={key:0,style:{color:"var(--warning)"}},Tu={class:"panel"},Cu={class:"tblwrap"},Eu={style:{width:"70px"}},Au={class:"r",style:{width:"80px"}},Ou={class:"num small"},Du={class:"r small"},Pu={class:"small muted",style:{"margin-top":"6px"}},Fu={key:0,class:"panel",style:{"border-left":"3px solid var(--critical)"}},Iu={class:"small"},ju={key:1,class:"panel"},Hu={class:"small muted",style:{"font-weight":"400"}},qu={class:"legend",style:{"margin-top":"6px","flex-wrap":"wrap"}},Lu={class:"small muted",style:{"margin-top":"6px"}},Nu={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},Ru={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},Bu={key:0,class:"panel span2"},Wu={class:"small muted",style:{"margin-top":"6px"}},Ku={style:{"margin-top":"12px"}},Uu={class:"small muted",style:{"margin-top":"2px"}},Vu={class:"panel"},Gu=["innerHTML"],zu={class:"small muted",style:{"margin-top":"4px"}},Yu={class:"panel"},Ju={class:"tblwrap"},Zu={style:{width:"64px"}},Xu={class:"r",style:{width:"56px"}},Qu={class:"num small"},td={class:"r small"},ed={class:"small muted",style:{"margin-top":"6px"}},sd=It({__name:"Fault",props:{d:{}},setup(t){const e=t,s=O(()=>e.d?.faults||{}),n=O(()=>s.value.partial||[]),l=O(()=>e.d?.m8&&!e.d.m8.err?e.d.m8.mtbf:null),i=O(()=>s.value.monthly||{months:[],vals:[]}),c=O(()=>i.value.per_day||[]),a=O(()=>n.value.length?(i.value.months||[]).indexOf(n.value[0]):-1),u=O(()=>{const N=n.value.length?o("flt.rate_partial",{m:n.value.join("/")}):o("flt.rate_full"),K=a.value>=0&&!!i.value.per_day;return N+(K?" "+o("flt.rate_example",{m:n.value[0],v:_.value}):"")}),_=O(()=>{const N=a.value;return N>=0&&i.value.per_day?i.value.per_day[N]:null}),d=O(()=>n.value.length?o("win.partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)}):""),v={grid:{left:60,right:20,top:24,bottom:46},tooltip:{trigger:"axis"},yAxis:{type:"value"}},m=O(()=>({...v,xAxis:{type:"category",data:i.value.months||[]},series:[{type:"bar",data:c.value.map(N=>N==null?null:Math.round(N*100)/100),itemStyle:{color:"#0b5fa5"}}],__data__:c.value.filter(N=>N!=null)}));function b(N){const K=(N||[]).filter(J=>J&&J.v>0);return{...v,xAxis:{type:"category",data:K.map(J=>J.k)},series:[{type:"bar",data:K.map(J=>J.v),itemStyle:{color:"#2f7dbf"}}],__data__:[]}}const S=N=>{const K=String(N).match(/^([0-9]+)/);return K?K[1]:String(N).slice(0,4)},x=N=>String(N??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");function j(N,K,J){const Ht=(N||[]).filter(Dt=>Dt&&Dt.v>0);if(!Ht.length)return x(o("ch.pareto.none"));const Ie=Ht.reduce((Dt,p)=>Dt+p.v,0);let Et=0,Kt=null;for(let Dt=0;Dt<Ht.length;Dt++)Et+=Ht[Dt].v,Kt===null&&Ie&&Et/Ie>=.8&&(Kt=Dt+1);const We=Ht.slice(0,3).map(Dt=>`<b>${x(S(Dt.k))}</b> ${x(String(Dt.k).replace(/^[0-9]+ */,"").slice(0,18))}`).join(" · "),Ke=o("ch.pareto.total",{n:Ht.length,tot:it(Math.round(Ie)),unit:K});return(Kt?`<b>${x(o("ch.pareto.key",{k:Kt}))}</b> (${x(Ke)})`:x(Ke))+"<br>"+x(o("ch.pareto.top3"))+We+(J?"<br>"+x(J):"")}const $=O(()=>j(s.value.pareto_n||[],o("unit.n"),o("flt.pareto_n_note"))),C=O(()=>j(s.value.pareto_d||[]," h",o("flt.pareto_d_note"))),q=O(()=>j(ut.value," h",o("flt.stop_pareto_note"))),D=O(()=>b(s.value.pareto_n||[])),L=O(()=>b(s.value.pareto_d||[])),Z=O(()=>{const N=(s.value.quad||[]).filter(K=>K&&K.n>0&&K.med>0);return{grid:{left:60,right:24,top:24,bottom:46},xAxis:{type:"log",name:"MTBF(h)"},yAxis:{type:"value",name:"MDT(h)"},series:[{type:"scatter",data:N.map(K=>[K.mtbf??K.n,K.med]),symbolSize:K=>Math.min(28,6+Math.sqrt(Math.max(K[0]||1,1))),itemStyle:{color:"#b42318",opacity:.6}}],__data__:[]}}),mt=O(()=>s.value.per_t||[]),Bt=O(()=>Math.max(1,...mt.value.map(N=>N.v))),_e=O(()=>l.value&&e.d?.m8?.seasonal?e.d.m8.seasonal:[]),ie=["var(--accent)","#D48A1E","#2E8B6A","#7C5295"],xe=O(()=>_e.value.slice(0,4).map(N=>String(N.name).slice(0,16))),Fe=O(()=>{const N=_e.value.slice(0,4),K=N.length?N[0].months:[];return{...v,xAxis:{type:"category",data:K},legend:{top:0,textStyle:{fontSize:10}},series:N.map(J=>({name:String(J.name).slice(0,16),type:"line",data:J.vals,connectNulls:!1})),__data__:[]}}),jt=O(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),Be=O(()=>{const N=jt.value?.表||[];return{grid:{left:60,right:24,top:24,bottom:40},xAxis:{type:"value",name:"MTBF(h)"},yAxis:{type:"value",name:"MDT(h)"},series:[{type:"scatter",data:N.filter(K=>!K.外部&&K.MTBF_h).map(K=>[K.MTBF_h,K.MDT_h]),symbolSize:8,itemStyle:{color:"#2f7dbf",opacity:.5}}],__data__:[]}}),hs=O(()=>{const N=jt.value?.表||[],K=(N.find(Et=>Et.部件==="无记录停机")||{}).停机时长h||0,J=N.filter(Et=>Et.部件==="未归类").reduce((Et,Kt)=>Et+Kt.停机时长h,0);return{ok:(jt.value?.总停机h||0)-K-J,unk:K,un2:J}}),vt=O(()=>{const N=hs.value;return{xAxis:{type:"value"},yAxis:{type:"category",data:[o("ch.attrib.ok",{h:Math.round(N.ok),p:""}),o("ch.attrib.none",{h:Math.round(N.unk),p:""}),o("ch.attrib.uncls",{h:Math.round(N.un2)})]},series:[{type:"bar",data:[Math.round(N.ok),Math.round(N.unk),Math.round(N.un2)],itemStyle:{color:"#0b5fa5"}}],__data__:[Math.round(N.ok),Math.round(N.unk),Math.round(N.un2)]}}),ut=O(()=>(e.d?.m8?.stop_pareto||[]).map(N=>({k:String(N.k).split(";")[0].slice(0,26),v:N.h}))),nt=O(()=>b(ut.value)),Wt=O(()=>l.value?.台级top||[]),ke=O(()=>Math.max(1,...Wt.value.map(N=>N.时长h)));return(N,K)=>(w(),k("section",null,[r("div",fu,f(h(o)("flt.eyebrow")),1),r("div",pu,[r("b",null,f(h(o)("win.banner",{win:h(we)(t.d.win)})),1),d.value?(w(),k(V,{key:0},[K[0]||(K[0]=W(" | ",-1)),r("span",hu,f(d.value),1)],64)):ot("",!0)]),r("div",mu,[r("div",_u,[W(f(h(o)("flt.alarm_face"))+" ",1),r("span",gu,f(h(o)("flt.alarm_meta",{n:h(it)(s.value.total),c:s.value.n_codes,win:h(we)(t.d.win)})),1)]),r("div",vu,[r("h3",null,f(h(o)("flt.rate")),1),ft(Ot,{option:m.value,height:"250px"},null,8,["option"]),r("p",bu,[r("b",null,f(h(o)("flt.rate_note")),1),W(" — "+f(u.value),1)])]),r("div",yu,[r("h3",null,f(h(o)("flt.pareto_n")),1),ft(Ot,{option:D.value,height:"240px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"5px","line-height":"1.6"},innerHTML:$.value},null,8,$u)]),r("div",wu,[r("h3",null,f(h(o)("flt.pareto_d")),1),ft(Ot,{option:L.value,height:"240px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"5px","line-height":"1.6"},innerHTML:C.value},null,8,xu)]),r("div",ku,[r("h3",null,f(h(o)("flt.quad")),1),ft(Ot,{option:Z.value,height:"300px"},null,8,["option"]),r("p",Su,[W(f(h(o)("flt.quad_note",{n:s.value.n_codes,m:(s.value.quad||[]).length}))+" ",1),n.value.length?(w(),k("span",Mu,f(h(o)("flt.quad_partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)})),1)):ot("",!0),W(" "+f(h(o)("flt.quad_note2")),1)])]),r("div",Tu,[r("h3",null,f(h(o)("flt.per_t",{n:mt.value.length})),1),r("div",Cu,[r("table",null,[r("tr",null,[r("th",Eu,f(h(o)("ui.unit")),1),r("th",null,f(h(o)("ui.count")),1),r("th",Au,f(h(o)("flt.per_t_share")),1)]),(w(!0),k(V,null,st(mt.value,J=>(w(),k("tr",{key:J.k},[r("td",null,[r("b",null,f(h(pt)(J.k)),1)]),r("td",null,[r("i",{class:"bar",style:_t(`width:${Math.round(J.v/Bt.value*90)}px;background:${J.v/Bt.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),r("span",Ou,f(h(it)(J.v)),1)]),r("td",Du,f((J.v/s.value.total*100).toFixed(1))+"%",1)]))),128))])]),r("p",Pu,f(h(o)("flt.per_t_note",{n:h(it)(s.value.total)})),1)]),t.d.m8&&t.d.m8.err?(w(),k("div",Fu,[r("p",Iu,f(h(o)("flt.block_err",{k:"m8",e:t.d.m8.err})),1)])):ot("",!0),l.value&&_e.value.length?(w(),k("div",ju,[r("h3",null,[W(f(h(o)("flt.seasonal"))+" ",1),r("span",Hu,"("+f(h(o)("flt.seasonal_unit"))+")",1)]),ft(Ot,{option:Fe.value,height:"260px"},null,8,["option"]),r("div",qu,[(w(!0),k(V,null,st(xe.value,(J,Ht)=>(w(),k("span",{key:Ht},[r("i",{style:_t(`background:${ie[Ht%4]}`)},null,4),W(f(J),1)]))),128))]),r("p",Lu,f(h(o)("flt.seasonal_note")),1)])):ot("",!0),l.value?(w(),k(V,{key:2},[r("div",Nu,[W(f(h(o)("flt.stop_face"))+" ",1),r("span",Ru,f(h(o)("flt.stop_meta",{h:h(it)(l.value.停机总时长h),n:h(it)(l.value.停机事件数)})),1)]),jt.value?(w(),k("div",Bu,[r("h3",null,f(h(o)("flt.ram")),1),ft(Ot,{option:Be.value,height:"300px"},null,8,["option"]),r("p",Wu,f(h(o)("flt.ram_note",{a:jt.value.设备类停机h,b:jt.value.外部类停机h})),1),r("div",Ku,[ft(Ot,{option:vt.value,height:"160px"},null,8,["option"])]),r("p",Uu,f(h(o)("flt.attrib_note",{h:((jt.value.表||[]).find(J=>J.部件==="无记录停机")||{}).停机时长h||0})),1)])):ot("",!0),r("div",Vu,[r("h3",null,f(h(o)("flt.stop_pareto")),1),ft(Ot,{option:nt.value,height:"240px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"5px","line-height":"1.6"},innerHTML:q.value},null,8,Gu),r("p",zu,f(l.value.口径),1)]),r("div",Yu,[r("h3",null,f(h(o)("flt.stop_units",{n:Wt.value.length})),1),r("div",Ju,[r("table",null,[r("tr",null,[r("th",Zu,f(h(o)("ui.unit")),1),r("th",null,f(h(o)("flt.stop_h")),1),r("th",Xu,f(h(o)("flt.stop_n")),1)]),(w(!0),k(V,null,st(Wt.value,J=>(w(),k("tr",{key:J.t},[r("td",null,[r("b",null,f(h(pt)(J.t)),1)]),r("td",null,[r("i",{class:"bar",style:_t(`width:${Math.round(J.时长h/ke.value*90)}px;background:${J.时长h/ke.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),r("span",Qu,f(h(it)(J.时长h)),1),K[1]||(K[1]=W("h",-1))]),r("td",td,f(J.次),1)]))),128))])]),r("p",ed,f(h(o)("flt.stop_units_note")),1)])],64)):ot("",!0)])]))}}),nd=[[/DE[/]NDE/g,"驱动端与非驱动端"],[/GenDE/g,"发电机驱动端"],[/GenNDE/g,"发电机非驱动端"],[/HS_gen2?/g,"高速轴发电机侧"],[/HS_rot/g,"高速轴转子侧"],[/IMS/g,"中间轴"],[/(?<![A-Za-z])NDE(?![A-Za-z])/g,"非驱动端"],[/(?<![A-Za-z])DE(?![A-Za-z])/g,"驱动端"],[/内圈BPFI/g,"内圈特征频率"],[/外圈BPFO/g,"外圈特征频率"],[/BPFI/g,"内圈特征频率"],[/BPFO/g,"外圈特征频率"],[/FTF/g,"保持架特征频率"],[/BSF/g,"滚动体特征频率"],[/TD_1R/g,"时域单转指标"],[/Peak/g,"冲击峰值"],[/Rms/gi,"有效值"],[/([0-9]+(?:[.][0-9]+)?)[ ]*阶/g,"$1 倍轴频"],[/[(]o([0-9]+(?:[.][0-9]+)?)[)]/g,"(轴频 $1 倍)"],[/×p90/g,"×全场90分位"],[/×fleet/g,"×全场中位"],[/六窗/g,"六个观测窗"],[/([0-9])窗/g,"$1 个观测窗"],[/宽带/g,"宽频带总量"],[/台阶/g,"阶跃上升"],[/缓升/g,"缓慢上升"],[/回落/g,"回落至"],[/全净|六窗全净/g,"各窗均干净"],[/清洁/g,"干净"],[/回归/g,"回到常态"],[/同族/g,"同批次共性 (见该批主台)"],[/族第([^ ]+)台/g,"同批次第$1台"],[/族/g,"批次共性组"],[/gain异常/g,"测点增益异常"],[/gain/g,"测点增益"],[/[(]销[)]/g,"(已销案)"],[/梯度/g,"沿链梯度最高点"],[/周期主导/g,"周期成分主导"],[/急性事件/g,"突发事件"],[/慢性/g,"长期"],[/主异常在/g,"主要异常位于"]],Y=t=>String(t??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),Ri=t=>String(t??""),et=t=>Y(t),ld={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},id={critical:"bad",alarm:"warn",undeterminable:"unk",indeterminate:"unk","not evaluable":"unk",good:"ok",excellent:"ex",warn:"warn",bad:"bad",ok:"ok",unk:"unk",ex:"ex"},Nn=t=>ld[String(t)]||id[String(t)],Bi={bad:"var(--critical)",warn:"var(--warning)",unk:"var(--unknown)",ok:"var(--good)",ex:"var(--excellent)"},Wi={优秀:"var(--excellent)",良好:"var(--good)",报警:"var(--warning)",危险:"var(--critical)",不可判:"var(--unknown)",监测不可用:"var(--unknown)",无监测:"var(--unknown)"},Ki={bad:"var(--critical)",warn:"var(--warning)",note:"var(--muted)",ok:"var(--good)",unlisted:"var(--muted)",stale:"var(--muted)",meta:"var(--muted)"},od={定论:"confirmed","准定论·预警":"near","候选·新发":"candidate_new",候选:"candidate","候选·记基线":"candidate_baseline",参考:"reference",INSUFFICIENT:"insufficient",正常:"normal",撤回:"withdrawn"},Rn=t=>"st."+(t==="ex"?"excellent":t),ve=t=>{const e=Nn(t);return e?o(Rn(e)):et(t)},cn=t=>{const e=od[String(t)],s="tier."+e;return e?o(s):String(t)==="—"?"—":et(t)},Ui=(t,e,s)=>`<span class="duo" style="--c:${s}"><span class="st">${t}</span><span class="ev">${e}</span></span>`,De=t=>{let e=String(t??"");for(const[s,n]of nd)e=e.replace(s,n);return e},un=t=>De(t),rd=(t,e)=>{if(!t||t.filter(v=>v!=null).length<3)return"";const s=t.filter(v=>v!=null),n=Math.min(...s),l=Math.max(...s),i=l-n||1,c=84,a=22,u=t.length;let _="",d=null;return t.forEach((v,m)=>{if(v==null)return;const b=m/(u-1)*c,S=a-2-(v-n)/i*(a-4);_+=(_?"L":"M")+b.toFixed(1)+" "+S.toFixed(1),d=[b,S]}),`<svg width="${c}" height="${a}" style="vertical-align:middle;margin-left:6px"><path d="${_}" fill="none" stroke="${e}" stroke-width="1.2" opacity=".75"/><circle cx="${d[0]}" cy="${d[1]}" r="2.4" fill="${e}"/></svg>`},ad={齿轮箱:"#8A6D3B",发电机:"#4A6FA5",主轴承:"#2E7D6B",变桨叶片:"#4A6FA5",偏航:"#2E7D6B",测风:"#7C5295",其他:"#5A6470"},cd=(t,e,s)=>{if(!e)return`<span class="small muted">${o("fus.no_alarm")}</span>`;const n=118,l=Math.max(6,Math.round(e/Math.max(s||e,1)*n));return`<div title="${Y(o("fus.fam_tip",{n:e,m:s||e}))}" style="display:flex;height:9px;border-radius:3px;overflow:hidden;width:${l}px">${(t||[]).map(i=>`<i title="${Y(de(i.k))} ${i.n}" style="width:${(i.n/e*100).toFixed(1)}%;background:${ad[i.k]||"#5A6470"}"></i>`).join("")}</div><div class="small muted" style="margin-top:3px">${(t||[]).slice(0,2).map(i=>de(i.k)+" "+i.n).join(" · ")}</div>`};function ud(t){const e=(t.列窗||{}).months||[];let s=`<div class="panel mb" style="border-left:3px solid var(--warning)"><b>${o("fus.rules_head")}</b><p class="small" style="margin-top:4px">${o("fus.rule1")}<br>${o("fus.rule2")}</p></div>`;s+=`<div class="panel mb"><h3>${o("fus.matrix_head")}</h3><p class="small muted">${o("fus.matrix_note1")}</p><p class="small">${o("fus.matrix_note2",{n:e.length,m0:e[0]||"?"})}</p>
  18. <div class="small muted" style="margin:6px 0 12px;line-height:2"><div><b>${o("fus.legend_state")}</b> ${["bad","warn","ok","ex","unk"].map(m=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${Bi[m]}"></i>${o(Rn(m))}</span>`).join("")}</div>
  19. <div><b>${o("fus.legend_tier")}</b> ${["定论","准定论·预警","候选·新发","候选","候选·记基线","参考","INSUFFICIENT"].map(m=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${(t.色标||{})[m]||"#ccc"}"></i>${cn(m)}</span>`).join("")}</div><div>${o("fus.legend_note")}</div></div>`;const n=m=>{const b=String(m||""),S=b.match(/20[0-9][0-9]-[0-9][0-9](?:~20[0-9][0-9]-[0-9][0-9])?|至[ ]*20[0-9][0-9]-[0-9][0-9]|20[0-9][0-9]~20[0-9][0-9]/);return S?S[0].startsWith("至")?o("win.through",{date:S[0].replace(/^至\s*/,"")}):S[0]:b.slice(0,14)},l=(m,b,S)=>`<th title="${Y(b||"")}${S||""}"><div>${m}</div><div class="small muted" style="font-weight:400">${et(n(b))}${S||""}</div></th>`,i=t.列窗||{};s+=`<div class="tblwrap"><table class="fmx" style="table-layout:fixed;width:100%;min-width:900px"><colgroup><col style="width:7%">${'<col style="width:15.5%">'.repeat(6)}</colgroup><tr><th>${o("ui.unit")}</th>${l(o("fus.col.vib"),i.振动,o("fus.col.fixed"))}${l(o("fus.col.temp"),i.温度)}${l(o("fus.col.lub"),i.润滑,o("fus.col.display_only"))}${l(o("fus.col.oil"),i.油液)}${l(o("fus.col.alarm"),i.报警)}${l(o("fus.col.wo"),i.工单)}</tr>`;const c=t.矩阵||[],a=Math.max(1,...c.map(m=>(m.报警||{}).n||0)),u=Math.max(1,...c.map(m=>(m.工单||{}).n||0)),_=t.色标||{},d=m=>{if(m.ostate&&m.ostate!=="不可判")return ve(m.ostate);const b=String(m.note||"");return/数据不足|不可判|nsufficient/.test(b)?o("fus.short.nodata"):/未评估|ot assessed/.test(b)?o("fus.short.uneval"):/无样|未取样|o sample/.test(b)?o("fus.short.nosample"):/样龄|stale/.test(b)?o("fus.short.stale"):{ok:o("fus.short.normal"),unlisted:o("fus.short.unlisted"),stale:o("fus.short.stale")}[m.level]||"—"},v=m=>{const b=m||{},S=Wi[b.ostate]||_[b.wlevel]||Ki[b.level]||"var(--muted)",x=De(b.note),j=["bad","warn","note"].includes(b.level),$=Y(x)+o("fus.tip_state",{s:ve(b.ostate||"?")});if(!j)return`<td class="small" title="${$}" style="border-left:3px solid ${S};color:var(--muted)">${d(b)}</td>`;const C=x.split(/[::]/),q=(C.length>1?C.slice(1).join(":"):x).trim(),D=/^[ ]*(评估报告|两口径差异|⚠|ssessment)/.test(q)||q.length>16?"":q,L=D?et(D):b.ostate&&b.ostate!=="不可判"?"":d(b),Z=b.wlevel&&b.wlevel!=="—"&&b.wlevel!=="正常"&&b.ostate?Ui(ve(b.ostate),cn(b.wlevel),S):"";return`<td class="small" title="${$}${o("fus.tip_tier",{e:cn(b.wlevel||"?")})}" style="border-left:3px solid ${S};overflow:hidden"><div><div style="color:${S};font-weight:${["bad","warn"].includes(b.level)?600:400}">${L}</div>${Z}</div>${rd(b.hist,b.level==="bad"?"var(--critical)":b.level==="warn"?"var(--warning)":"var(--muted)")}</td>`};return c.forEach(m=>{const b=m.报警||{n:0,fam:[]},S=m.工单||{n:0,acts:[]},x=b.rank&&b.rank<=5?"var(--warning)":"var(--line)",j=b.burst,$=Y((b.items||[]).map(C=>`${C.code} ${De(C.text)} — ${C.n} (${C.first}~${C.last})`).join(`
  20. `))+(j?`
  21. `+Y(o("fus.burst_tip",{c:j.code,p:(j.share*100).toFixed(0),m:j.med_s})):"");s+=`<tr><td><a href="/turbine/${m.turbine}"><b>${pt(m.turbine)}</b></a></td>${v(m.振动)}${v(m.温度)}${v(m.润滑)}${v(m.油液)}
  22. <td title="${$}" style="border-left:3px solid ${j?"var(--unknown)":x}"><b class="small num" style="color:${b.rank&&b.rank<=10?"var(--ink)":"var(--muted)"}">${o("fus.alarm_n",{n:b.n})}</b>${b.rank?`<span class="small muted">${o("fus.alarm_rank",{r:b.rank,t:b.tot})}</span>`:""}${j?`<div class="small" style="color:var(--unknown)">${o("fus.burst",{p:(j.share*100).toFixed(0),c:j.code})}</div>`:""}${b.rank&&b.rank<=10||j?cd(b.fam,b.n,a):""}</td>
  23. <td title="${Y((S.items||[]).map(C=>`${C.date} ${un(C.name)} → ${un(C.act)}${C.part?" "+un(C.part):""}`).join(`
  24. `)||o("fus.wo_none"))}" style="min-width:110px">${S.n?`<b class="small">${o("fus.wo_n",{n:S.n})}</b>${S.last?`<span class="small muted"> · ${Y(S.last)}</span>`:""}<div style="height:7px;border-radius:3px;background:var(--muted);opacity:.5;margin-top:4px;width:${Math.max(6,Math.round(S.n/u*90))}px"></div><div class="small muted" style="margin-top:3px">${(S.acts||[]).slice(0,2).map(C=>et(C.k)+"×"+C.n).join(" · ")}</div>`:'<span class="small muted">—</span>'}</td></tr>`}),s+`</table></div><p class="small muted" style="margin-top:8px">${o("fus.matrix_foot")}</p></div>`}const Cl=(t,e,s)=>{const n=Math.max(t,e,7),l=120,i=c=>Math.max(2,c/n*(l-4));return`<svg class="dt" viewBox="0 0 ${l} 26" style="width:${l}px;height:26px"><rect x="2" y="2" width="${i(t).toFixed(1)}" height="9" rx="2" fill="var(--muted)" fill-opacity=".55"/><rect x="2" y="15" width="${i(e).toFixed(1)}" height="9" rx="2" fill="${s}" fill-opacity=".9"/></svg>`},xn=(t,e)=>{const s=String(t||"").replace(/main bearing[, ]*[(]?(?:rear|back)[)]?/ig,"主轴承后").replace(/main bearing[, ]*[(]?(?:front|forward)[)]?/ig,"主轴承前").replace(/main bearing/ig,"主轴承").replace(/generator[, ]*(?:NDE|non-drive[- ]end)/ig,"发电机NDE").replace(/generator[, ]*(?:DE|drive[- ]end)/ig,"发电机DE").replace(/generator/ig,"发电机").replace(/gearbox/ig,"齿轮箱").replace(/planetary/ig,"行星").replace(/intermediate[- ](?:speed[- ])?shaft/ig,"中间轴").replace(/high[- ]speed shaft/ig,"高速轴"),n=/齿轮箱/.test(s)&&!/行星|中间轴|中速|高速轴/.test(s);return`<span class="chain" title="${Y(Ri(t))}">${_d.map(([l,i])=>{const c=i.test(s)||n&&["ps","ims","hss"].includes(l);return`<i class="${c?"on":""}" style="${c?`background:${e};border-color:${e}`:""}" title="${o("chain."+l)}"></i>`}).join("")}</span>`};function dd(t){const e=t.能力&&t.能力.loop&&t.能力.loop["换件闭环 (检出→换件→恢复)"]?t.能力.loop:null;if(!e)return`<div class="panel mb"><p class="small">${o("fus.loop_none")}</p></div>`;const s=e["换件闭环 (检出→换件→恢复)"]||[],n=e["当前在升 (无工单可对)"]||[],l=e["负面对照 (工单后持平)"];return`<div class="panel mb"><h3>${o("fus.loop_head")}</h3><p class="small">${o("fus.loop_note")}</p>
  25. <h3 style="margin-top:8px">${o("fus.loop_closed",{n:s.length})}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.col.part")}</th><th>${o("fus.loop_item")}</th><th>${o("fus.loop_date")}</th><th>${o("fus.loop_ba")}</th><th class="r">${o("fus.loop_ratio")}</th><th>${o("fus.loop_verdict")}</th></tr>
  26. ${s.map(i=>`<tr><td><b>${pt(i.turbine)}</b></td><td>${xn(i.component+(i.title||""),"var(--good)")} <span class="small">${Fs(i.component)}</span></td><td class="small">${et(i.title)}</td><td>${Y(i.replace_date)}</td><td>${Cl(i.pre,i.post,"var(--good)")}<span class="small muted">${i.pre} → ${i.post}</span></td><td class="r"><b style="color:var(--good)">${i.ratio}×</b></td><td><span class="chip ok">${et(i.verdict)}</span></td></tr>`).join("")}</table></div>
  27. <p class="small" style="margin-top:6px">${o("fus.loop_neg",{n:l})}</p>
  28. <h3 style="margin-top:14px">${o("fus.loop_rising",{n:n.length})}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.col.part")}</th><th>${o("fus.loop_el")}</th><th class="r">${o("fus.loop_x")}</th><th>${o("fus.loop_state")}</th></tr>
  29. ${n.map(i=>`<tr><td><b>${pt(i.turbine)}</b></td><td>${xn(i.component,"var(--warning)")} <span class="small">${Fs(i.component)}</span></td><td>${Cl(i.early,i.late,"var(--warning)")}<span class="small muted">${i.early} → ${i.late}</span></td><td class="r"><b style="color:var(--warning)">${i.ratio}×</b></td><td><span class="chip warn">${o("rpt.units.rising",{r:i.ratio})}</span></td></tr>`).join("")}</table></div>
  30. <p class="small muted" style="margin-top:8px">${o("fus.loop_bound",{b:et(String(e["★数据边界"]||"").split("**").join(""))})}</p></div>`}const fd=(t,e,s,n)=>{if(e==null)return`<span class="small">${et(Ri(n).slice(0,30))}</span>`;const l=6,i=104,c=i/2,a=Math.max(-1,Math.min(1,e/l)),u=Math.abs(a)*(c-8),d=Math.abs(e)>=3?/候选|andidate/.test(s||"")?"var(--warning)":/记基线|aseline/.test(s||"")?"var(--accent)":/不可判|返服|ndeterm/.test(s||"")?"var(--unknown)":"var(--muted)":"var(--muted)",v=Math.abs(e)>l;return`<div title="${Y(n||"")}" style="display:flex;align-items:center;gap:7px"><svg class="dt" viewBox="0 0 ${i} 18" style="width:${i}px;height:18px;flex:none"><line x1="4" y1="9" x2="${i-4}" y2="9" stroke="var(--line)" stroke-opacity=".7"/><line x1="${c}" y1="1" x2="${c}" y2="17" stroke="var(--muted)" stroke-opacity=".6"/><rect x="${e>=0?c:c-u}" y="4" width="${Math.max(u,1.5)}" height="10" rx="2" fill="${d}" fill-opacity=".9"/>${v?`<path d="M${e>0?i-5:5},9 l${e>0?-5:5},-4 v8 z" fill="${d}"/>`:""}</svg><b class="small num" style="color:${d}">${e>0?"+":""}${e}K</b></div><div class="small muted" style="margin-top:1px">${Y(t||"")}</div>`},pd=(t,e)=>{if(!t||!t.length)return`<span class="small" title="${Y(e||"")}">${o("fus.win_none")}</span>`;const s=Date.parse("2026-01-01"),n=Date.parse("2026-09-01"),l=118,i=c=>3+Math.max(0,Math.min(1,(Date.parse(c)-s)/(n-s)))*(l-6);return`<div title="${Y(e||"")}"><svg class="dt" viewBox="0 0 ${l} 18" style="width:${l}px;height:18px"><rect x="3" y="4" width="${l-6}" height="10" rx="2" fill="var(--line)" fill-opacity=".5"/>${t.map(([c,a])=>{const u=i(c),_=i(a);return`<rect x="${u.toFixed(1)}" y="4" width="${Math.max(_-u,2.5).toFixed(1)}" height="10" rx="2" fill="var(--accent)" fill-opacity=".8"/>`}).join("")}</svg><div class="small muted">${o("fus.win_n",{n:t.length})}</div></div>`},hd=(t,e,s)=>`<div title="${Y(s||"")}" style="display:flex;align-items:center;gap:6px"><i style="width:9px;height:9px;border-radius:50%;flex:none;background:${e?"var(--good)":"var(--unknown)"}"></i><span class="small num">${Y(t||o("fus.oil_none"))}</span></div><div class="small muted">${t?o(e?"fus.oil_fresh":"fus.oil_stale"):"—"}</div>`,Ce=(t,e)=>{const s=Nn(t);return s?`<span class="chip ${s} ">${o(Rn(s))}</span>`:t?`<span class="chip">${Y(t)}</span>`:""};function md(t,e){const s=t.表||[],n=t.矩阵||[];let l=s,c=`<div class="panel mb"><h3>${o("fus.units_head",{u:new Set(s.map(a=>a.turbine)).size,n:l.length+"",f:""})}</h3>
  31. <div style="display:flex;gap:8px;margin:8px 0 12px;flex-wrap:wrap">${["bad","warn","note","ok"].map(a=>`<button class="pill ${e===a?"on":""}" data-ffilter="${a}">${o("fus.lv."+a)}</button>`).join("")}<button class="pill " data-ffilter="unlisted">${o("fus.unlisted_link",{n:n.filter(a=>(a.振动||{}).level==="unlisted").length})}</button></div>
  32. <div class="panel" style="border-left:3px solid var(--accent);margin-bottom:12px"><b class="small">${o("fus.eval_head")}</b><div class="tblwrap"><table style="margin-top:8px"><tr><th style="width:30%">${o("fus.eval_state")}</th><th style="width:30%">${o("fus.eval_tier")}</th><th>${o("fus.eval_meaning")}</th></tr>
  33. <tr><td>${Ce("危险")}</td><td><span class="tier confirmed">${o("tier.confirmed.s")}</span></td><td class="small">${o("fus.m.bad")} <span class="muted">(${o("fus.m.bad_e")})</span></td></tr>
  34. <tr><td>${Ce("报警")}</td><td><span class="tier near">${o("tier.near")}</span> / <span class="tier candidate">${o("tier.candidate_new")}</span></td><td class="small">${o("fus.m.warn")} <span class="muted">(${o("fus.m.warn_e")})</span></td></tr>
  35. <tr><td>${Ce("良好")}</td><td><span class="tier candidate">${o("tier.candidate")}</span> / <span class="tier candidate">${o("tier.candidate_baseline")}</span></td><td class="small">${o("fus.m.ok")} <span class="muted">(${o("fus.m.ok_e")})</span></td></tr>
  36. <tr><td>${Ce("优秀")}</td><td><span class="tier reference">${o("tier.reference")}</span> / <span class="tier reference">${o("tier.normal")}</span> / <span class="tier withdrawn">${o("tier.withdrawn")}</span></td><td class="small">${o("fus.m.ex")} <span class="muted">(${o("fus.m.ex_e")})</span></td></tr>
  37. <tr><td>${Ce("不可判")}</td><td><span class="tier insufficient">${o("tier.insufficient")}</span></td><td class="small">${o("fus.m.unk")} <span class="muted">(${o("fus.m.unk_e")})</span></td></tr></table></div><p class="small muted" style="margin-top:7px">${o("fus.eval_note")}</p></div>
  38. <div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.col.part")}</th><th>${o("fus.col.state_concl")}</th><th>${o("fus.col.claim")} <span class="small muted" style="font-weight:400">${o("fus.col.claim_axis")}</span></th><th>${o("fus.col.signal")}</th><th>${o("fus.col.tempaxis")} <span class="small muted" style="font-weight:400">${o("fus.col.tempaxis_note")}</span></th><th>${o("fus.col.oil")}</th></tr>`;return l.forEach(a=>{const u=Ki[a.级]||"var(--accent)",_=Wi[a.设备状态]||"var(--muted)";c+=`<tr><td><a href="/turbine/${a.turbine}"><b>${pt(a.turbine)}</b></a></td><td style="min-width:200px">${xn(a.部件,u)} <span class="small">${Fs(a.部件)}</span></td>
  39. <td title="${Y(De(a.振动结论))}">${Ui(ve(a.设备状态||"—"),et(a.振动结论),_)}</td><td style="min-width:130px">${pd(a.窗区间,a.claim_window)}</td>
  40. <td class="small" title="${Y(a.振动信号||"")}">${et(De(a.振动信号))}</td><td style="min-width:158px">${fd(a.温度通道,a.温度dev,a.温度判,a.温度轴)}</td><td style="min-width:112px">${hd(a.油末样,a.油新鲜,a.油样轴)}</td></tr>`}),c+"</table></div></div>"}const _d=[["mbf",/主轴承[((]前|主轴承前|主轴承[++]|主轴承(?![((前后])/],["mba",/主轴承[((]后|主轴承后/],["ps",/行星|二级行星/],["ims",/中间轴|中速/],["hss",/高速轴|高速(?!.*发电)/],["gde",/发电机DE|发电机[((]|发电机(?!NDE)/],["gnde",/发电机NDE|NDE/]],Ye=t=>Bi[Nn(t)]||null,El=t=>`<span class="chain">${Object.entries(t).map(([e,s])=>`<i class="${s?"on":""}" style="${s?`background:${s};border-color:${s}`:""}" title="${o("chain."+e)}"></i>`).join("")}</span>`,gd=t=>{const e=String(t||""),s=/准定论|near[- ](?:conf|establish)/i.test(e)?3:/确诊|onfirmed/.test(e)?4:/定论|ettled|stablished/.test(e)?3:/候选|andidate/.test(e)?2:/参考|eference/.test(e)?1:0,n=s>=4?"var(--critical)":s===3?"var(--warning)":s===2?"var(--accent)":s===1?"var(--muted)":"var(--unknown)";return`<div style="display:flex;align-items:center;gap:7px"><svg class="dt" viewBox="0 0 62 20" style="width:62px;height:20px;flex:none">${[0,1,2,3].map(l=>`<rect x="${2+l*15}" y="${12-l*3}" width="11" height="${6+l*3}" rx="1.5" fill="${l<s?n:"none"}" fill-opacity=".9" stroke="${n}" stroke-opacity="${l<s?1:.4}" ${l>=s?'stroke-dasharray="2 1.5"':""}/>`).join("")}</svg><span class="small" style="color:${n}">${et(e)}</span></div>`};function vd(t,e){if(!t.事件)return`<div class="panel mb"><p class="small muted">${o("ui.empty")}</p></div>`;let s=`<div class="panel mb"><p class="small muted"><b>${o("fus.ev_win",{win:we(e.win)})}</b></p></div>`;for(const[n,l]of Object.entries(t.事件)){const i=l,c=i.报警||{},a=i.工单||{};s+=`<div class="panel mb"><h3>${o("fus.ev_head",{c:de(n),an:c.总条数||0,au:c.台数||0,wn:a.总条数||0,wu:a.台数||0})}</h3>`,c.总条数>0?s+=`<div class="tblwrap"><table><tr><th>${o("fus.ev_code")}</th><th>${o("fus.ev_text")}</th><th class="r">${o("ui.count")}</th><th class="r">${o("fus.ev_units")}</th><th class="r">${o("fus.ev_dur")}</th></tr>${(c.码统计||[]).map(u=>`<tr><td>${Y(u.code)}</td><td class="small">${et(De(u.text))}</td><td class="r">${u.条数}</td><td class="r">${u.台数}</td><td class="r">${u.时长h}</td></tr>`).join("")}</table></div>
  41. <p class="small">${o("fus.ev_top")}${Object.entries(c.top台||{}).map(([u,_])=>`<a href="/turbine/${u}">${pt(u)}</a>×${_}`).join(" · ")}</p>
  42. <details><summary class="small">${o("fus.ev_recent",{n:(c.近况||[]).length})}</summary><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.ev_time")}</th><th>${o("fus.ev_code")}</th><th>${o("fus.ev_text")}</th><th class="r">${o("fus.ev_min")}</th></tr>${(c.近况||[]).map(u=>`<tr><td>${pt(u.t)}</td><td class="small">${Y(u.on)}</td><td>${Y(u.code)}</td><td class="small">${et(De(u.text))}</td><td class="r">${u.dur_min??"—"}</td></tr>`).join("")}</table></div></details>`:s+=`<p class="small">${o("fus.ev_no_alarm")}</p>`,a.总条数>0?s+=`<div class="tblwrap"><table style="margin-top:8px"><tr><th>${o("ui.unit")}</th><th>${o("ui.date")}</th><th>${o("fus.ev_wo_name")}</th><th>${o("fus.ev_wo_act")}</th><th>${o("fus.ev_wo_cause")}</th></tr>${(a.明细||[]).map(u=>`<tr><td>${pt(u.t)}</td><td class="small">${Y(u.date)}</td><td class="small">${et(u.name)}</td><td class="small">${et(u.act)}</td><td class="small">${et(u.cause)}</td></tr>`).join("")}</table></div>`:s+=`<p class="small">${o("fus.ev_no_wo")}</p>`,s+="</div>"}return s}function bd(t,e){if(!t)return`<div class="panel mb"><p class="small muted">${o("fus.cms_loading")}</p></div>`;if(t.error)return`<div class="panel mb"><p class="small" style="color:var(--critical)">${et(t.error)}</p></div>`;const s={主轴承前:"mbf",主轴承后:"mba",齿轮箱:"gb",发电机:"gen",发电机DE:"gde",发电机NDE:"gnde","Main bearing, front":"mbf","Main bearing, rear":"mba",Gearbox:"gb",Generator:"gen","Generator DE":"gde","Generator NDE":"gnde"};return`<div class="panel mb"><h3>${o("fus.cms_head",{d:Y(t.date||"")})}</h3>
  43. ${t.时间范围?`<p class="small" style="margin:2px 0 6px">${o("fus.cms_window",{r:Y(t.时间范围)})}</p>`:""}
  44. <p class="small">${et(t.overall||"")} ${o("fus.cms_note")}</p>
  45. <h3 style="margin-top:10px">${o("fus.cms_action")}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.loop_state")}</th><th>${o("fus.cms_focus")} <span class="small muted" style="font-weight:400">${o("fus.cms_focus_note")}</span></th><th>${o("fus.cms_evidence")}</th><th>${o("fus.cms_act")}</th></tr>
  46. ${(t.action||[]).map(n=>{const l={};return String(n[2]).split(/[;;]/).forEach(i=>{const c=i.split(/[::]/);if(c.length>1){const a=s[c[0].trim()]||null;a&&(l[a]=Ye(c[1].trim()))}}),`<tr><td><b>${pt(n[0])}</b></td><td>${Ce(n[1])}</td><td title="${Y(n[2])}">${El(l)} <span class="small muted">${et(n[2])}</span></td><td style="min-width:150px">${gd(n[3])}</td><td>${/P0/.test(n[4])?`<b style="color:var(--critical)">${Y(n[4])}</b>`:Y(n[4])}</td></tr>`}).join("")}</table></div>
  47. <h3 style="margin-top:14px">${o("fus.cms_grades")}</h3><div class="tblwrap"><table><tr><th>${o("ui.unit")}</th><th>${o("fus.cms_chain")} <span class="small muted" style="font-weight:400">${o("fus.cms_chain_note")}</span></th><th>${o("fus.cms_overall")}</th><th>${o("fus.cms_act")}</th></tr>
  48. ${(t.grades||[]).map(n=>`<tr><td><b>${pt(n.t)}</b></td><td title="${o("chain.mbf")} ${ve(n.主轴承前)} · ${o("chain.mba")} ${ve(n.主轴承后)} · ${o("chain.gb")} ${ve(n.齿轮箱)} · ${o("chain.gen")} ${ve(n.发电机)}">${El({mbf:Ye(n.主轴承前),mba:Ye(n.主轴承后),gb:Ye(n.齿轮箱),gen:Ye(n.发电机)})}</td><td>${Ce(n.综合)}</td><td class="small">${Y(n.行动)}</td></tr>`).join("")}</table></div>
  49. <div class="small" style="margin-top:12px;padding:10px;border:1px solid var(--line);border-radius:8px"><b>${o("fus.cms_basis")}</b> ${o("fus.cms_basis_note",{a:((t.diff||{}).only_cms||[]).map(pt).join(", ")||o("fus.none_word"),b:((t.diff||{}).only_vibration_package||(t.diff||{}).only_handoff||[]).map(pt).join(", ")||o("fus.none_word")})}</div>
  50. <p class="small muted" style="margin-top:10px">${o("fus.cms_link")} <a href="http://localhost:8030/index.html" target="_blank" rel="noopener">${o("fus.cms_open")}</a> <a href="/windcms/index.html" target="_blank" rel="noopener">${o("fus.cms_static")}</a></p></div>`}const yd=["matrix","loop","units","events","cms"],$d={class:"eyebrow"},wd={style:{display:"flex",gap:"8px","margin-bottom":"14px","flex-wrap":"wrap"}},xd=["data-fsub","onClick"],kd=["innerHTML"],Sd=It({__name:"Vibration",props:{d:{},sub:{},cms:{}},emits:["sub"],setup(t,{emit:e}){const s=t,n=e,l=O(()=>s.sub||"matrix"),i=O(()=>s.d?.fus),c=O(()=>{const a=i.value;return!a||a.err?`<section><div class="panel"><p>${o("fus.unavailable",{e:String(a&&a.err||"")})}</p></div></section>`:l.value==="matrix"?ud(a):l.value==="loop"?dd(a):l.value==="units"?md(a,null):l.value==="events"?vd(a,s.d):l.value==="cms"?bd(s.cms??null):`<div class="panel mb"><p class="small muted">子视图「${o("fus.sub."+l.value)}」尚未迁移到 Vue(迁移中)。</p></div>`});return(a,u)=>(w(),k("section",null,[r("div",$d,f(h(o)("fus.eyebrow")),1),r("div",wd,[(w(!0),k(V,null,st(h(yd),_=>(w(),k("button",{key:_,class:Tt(["pill",{on:_===l.value}]),"data-fsub":_,onClick:d=>n("sub",_)},f(h(o)("fus.sub."+_)),11,xd))),128))]),r("div",{innerHTML:c.value},null,8,kd)]))}}),Md={class:"eyebrow"},Td={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},Cd={class:"muted",style:{"margin-top":"3px"}},Ed={key:0,class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},Ad={class:"small"},Od={class:"small muted",style:{"font-weight":"400"}},Dd={key:0,class:"chip"},Pd={style:{display:"flex","flex-wrap":"wrap",gap:"18px"}},Fd={style:{flex:"1 1 300px","min-width":"280px"}},Id={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},jd={class:"small muted",style:{"margin-top":"4px"}},Hd={style:{flex:"1 1 300px","min-width":"280px"}},qd={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},Ld=["innerHTML"],Nd={class:"small",style:{"font-weight":"600",margin:"12px 0 4px"}},Rd={class:"small muted",style:{"margin-top":"4px"}},Bd={key:2,class:"panel mb"},Wd={class:"small muted",style:{"font-weight":"400"}},Kd=["innerHTML"],Ud={class:"eyebrow"},Vd={key:3,class:"panel",style:{"border-left":"3px solid var(--critical)"}},Gd={class:"small"},zd={key:4,class:"panel",style:{"border-left":"3px solid var(--accent)"}},Yd={class:"small"},Jd={key:5,class:"panel"},Zd={class:"small muted"},Xd={key:6,class:"grid2"},Qd={key:0},tf={class:"small muted",style:{"font-weight":"400"}},ef={class:"legend",style:{"margin-top":"6px","flex-wrap":"wrap"}},sf={key:0,class:"small muted",style:{"margin-top":"6px"}},nf=It({__name:"Generation",props:{d:{},curves:{},pending:{type:Boolean}},setup(t){const e=t,s=O(()=>e.d?.m9&&!e.d.m9.err?e.d.m9:null),n=O(()=>e.d?.control||null),l=O(()=>e.curves||null),i=O(()=>(e.d?.sysmx_span||[]).join(" ~ ")||""),c=C=>{const q=Object.entries(C?.分组||{}).map(([Z,mt])=>({v:parseFloat(Z),n:mt,raw:Z}));if(!q.length)return null;const D=q.map(Z=>Z.v).sort((Z,mt)=>Z-mt),L=D.length%2?D[(D.length-1)/2]:(D[D.length/2-1]+D[D.length/2])/2;return{gs:q,med:L}},a=O(()=>({p:c(s.value?.P封顶),w:c(s.value?.ω封顶)})),u=O(()=>{const C=a.value.p,q=a.value.w,D=[];return C&&D.push({name:o("ch.cap.p"),type:"scatter",data:C.gs.map(L=>[L.v,1]),symbolSize:10,itemStyle:{color:"#0b5fa5",opacity:.6}}),q&&D.push({name:o("ch.cap.w"),type:"scatter",data:q.gs.map(L=>[L.v,0]),symbolSize:10,itemStyle:{color:"#b45309",opacity:.6}}),{grid:{left:56,right:36,top:20,bottom:24},xAxis:{type:"value"},yAxis:{type:"value",min:-.5,max:1.5,show:!1},series:D,__data__:[]}}),_=O(()=>s.value?.β_schedule?.离群||[]),d=O(()=>s.value?.β_schedule?.全场同档差中位||0),v=O(()=>({grid:{left:56,right:60,top:20,bottom:24},xAxis:{type:"value"},yAxis:{type:"category",data:_.value.map(C=>pt(C.t))},series:[{type:"bar",data:_.value.map(C=>C.平均偏),itemStyle:{color:"#0b5fa5"}}],__data__:[]})),m=O(()=>{const C=n.value?.curve?.cands||[];return C.length?C.map(q=>`<a href="/turbine/${q.t}">${pt(q.t)}</a> ${q.dev}% ${et(q.判)}`).join(" | "):o("gen.no_cands")}),b=O(()=>o("gen.beta_note",{units:_.value.map(C=>`<a href="/turbine/${C.t}">${pt(C.t)}</a>`).join(" / "),k:_.value.length?Math.round(Math.max(..._.value.map(C=>C.平均偏))/Math.max(d.value||0,.01)):"—",v:et(s.value?.β_schedule?.判)})),S=O(()=>Object.entries(s.value?.尺子||{}).map(([C,q])=>({k:C,r:q.极差/q.σ}))),x=O(()=>({grid:{left:100,right:80,top:20,bottom:24},xAxis:{type:"value"},yAxis:{type:"category",data:S.value.map(C=>C.k)},series:[{type:"bar",data:S.value.map(C=>C.r),itemStyle:{color:"#0b5fa5"}}],__data__:[]})),j=O(()=>l.value?.figs||[]);function $(C){const q=C.months||C.x||[];return{grid:{left:56,right:20,top:28,bottom:40},legend:{top:0,textStyle:{fontSize:10}},xAxis:{type:"category",data:q},yAxis:{type:"value",scale:!0},series:(C.series||[]).map(D=>({name:String(D.name),type:"line",data:D.vals,connectNulls:!1})),__data__:[]}}return(C,q)=>(w(),k("section",null,[r("div",Md,f(h(o)("gen.eyebrow")),1),r("div",Td,[r("b",null,f(h(o)("gen.fixed_win")),1),W(" "+f(i.value?h(o)("gen.win_range",{span:i.value}):"")+" ",1),r("div",Cd,f(h(o)("gen.win_why")),1)]),t.d.m9&&t.d.m9.err?(w(),k("div",Ed,[r("p",Ad,f(h(o)("flt.block_err",{k:"m9",e:h(et)(t.d.m9.err)})),1)])):ot("",!0),s.value?(w(),k("div",{key:1,class:"panel mb",style:_t(t.pending?"border-left:3px solid var(--accent)":"")},[r("h3",null,[W(f(h(o)("gen.ctrl"))+" ",1),r("span",Od,f(h(o)("gen.ctrl_win",{win:h(et)(s.value.窗)})),1),t.pending?(w(),k("span",Dd,f(h(o)("gen.recomputing_short")),1)):ot("",!0)]),r("div",Pd,[r("div",Fd,[r("div",Id,f(h(o)("gen.cap")),1),ft(Ot,{option:u.value,height:"170px"},null,8,["option"]),r("p",jd,f(h(o)("gen.cap_note")),1)]),r("div",Hd,[r("div",qd,f(h(o)("gen.beta")),1),ft(Ot,{option:v.value,height:"170px"},null,8,["option"]),r("p",{class:"small muted",style:{"margin-top":"4px"},innerHTML:b.value},null,8,Ld),r("div",Nd,f(h(o)("gen.ruler")),1),ft(Ot,{option:x.value,height:"170px"},null,8,["option"]),r("p",Rd,f(h(o)("gen.ruler_note")),1)])])],4)):ot("",!0),n.value&&n.value.curve?(w(),k("div",Bd,[r("h3",null,[W(f(h(o)("gen.cands"))+" ",1),r("span",Wd,f(h(o)("gen.cands_meta",{note:h(et)(n.value.curve.note||""),s:t.d.sigma||n.value.curve.sigma})),1)]),r("p",{class:"small",innerHTML:m.value},null,8,Kd)])):ot("",!0),r("div",Ud,f(h(o)("gen.figs")),1),l.value&&l.value.err?(w(),k("div",Vd,[r("p",Gd,f(h(Y)(l.value.err)),1)])):l.value&&l.value.building?(w(),k("div",zd,[r("p",Yd,[r("b",null,f(h(o)("gen.recomputing")),1),W(" "+f(h(et)(l.value.curves?.note||"")),1)]),q[0]||(q[0]=r("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),q[1]||(q[1]=r("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))])):l.value?(w(),k("div",Xd,[(w(!0),k(V,null,st(j.value,(D,L)=>(w(),k("div",{key:L,class:"panel"},[r("h3",null,[W(f(h(et)(D.title||"")),1),D.unit?(w(),k("span",Qd,[r("span",tf,"("+f(h(et)(D.unit))+")",1)])):ot("",!0)]),ft(Ot,{option:$(D),height:"260px"},null,8,["option"]),r("div",ef,[(w(!0),k(V,null,st(D.series||[],(Z,mt)=>(w(),k("span",{key:mt},[r("i",{style:_t(`background:${["var(--accent)","#D48A1E","#2E8B6A","#7C5295"][mt%4]}`)},null,4),W(f(String(Z.name)),1)]))),128))]),D.note?(w(),k("p",sf,f(h(et)(D.note)),1)):ot("",!0)]))),128))])):(w(),k("div",Jd,[r("p",Zd,f(h(o)("gen.loading")),1),q[2]||(q[2]=r("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),q[3]||(q[3]=r("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))]))]))}}),lf={class:"eyebrow"},of={class:"small muted"},rf=["href"],af=["innerHTML"],cf={class:"panel mb"},uf={class:"small muted"},df=["innerHTML"],ff={style:{display:"flex",gap:"8px","flex-wrap":"wrap",margin:"10px 0","align-items":"center"}},pf=["placeholder","value"],hf={class:"small muted",for:"askm"},mf=["innerHTML"],_f=["innerHTML"],gf=["title"],vf={class:"muted"},bf={class:"btn",id:"askgo"},yf={id:"askout",class:"small"},$f=It({__name:"Decision",props:{d:{},apis:{}},setup(t){const e=t,s=[["equip","设备类"],["sched","检修排程决策"],["loss","损失分析"],["risk","安全风险预测"]],n={"qwen3:8b":"local","qwen3.8:27b":"local","qwen3:30b-a3b":"local","deepseek-r1:14b":"local","deepseek-r1:32b":"local","deepseek-chat":"cloud","kimi-fast":"cloud","qwen-plus":"cloud","deepseek-v4-pro":"cloud"},l=St("equip"),i=St(""),c=St(""),a=St(""),u=O(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),_=O(()=>u.value?u.value.models||{}:null),d=O(()=>!!u.value?.offline||!!u.value?.LOCAL_AI_DOWN),v=O(()=>o("cat."+l.value)),m=O(()=>s.map(([L])=>`<button class="pill ${L===l.value?"on":""}" data-cat="${L}">${o("cat."+L)}</button>`).join("")),b=O(()=>[1,2,3].map(L=>`<div class="qitem" data-q="${Y(o("cat."+l.value+".q"+L))}">${o("cat."+l.value+".q"+L)}</div>`).join("")),S=(L,Z)=>o("mdl."+L+"."+Z),x=L=>(S(L,"nm")||L)+(n[L]?" · "+o("mdl."+n[L]):"")+(S(L,"t")?" · "+S(L,"t"):""),j=L=>n[L]?n[L]==="local"?o("mdl.zero_outbound"):`<span style="color:var(--warning)">${o("mdl.outbound_warn")}</span>`:`<span style="color:var(--warning)">${o("mdl.unknown_warn")}</span>`,$=O(()=>{const L=_.value;if(L===null)return c.value;const Z=Object.keys(L);return!c.value||!Z.includes(c.value)?Z[0]||"":c.value}),C=O(()=>{const L=_.value;return L===null?'<option value="">…</option>':Object.keys(L).length?Object.keys(L).map(Z=>`<option value="${Y(Z)}" ${Z===$?"selected":""}>${Y(x(Z))}</option>`).join(""):`<option value="">${d.value?o("ask.local_down"):o("ask.no_models")}</option>`}),q=O(()=>`/?lang=zh&win=${encodeURIComponent(String(e.d?.win||""))}`),D=O(()=>$.value?j($.value):"");return(L,Z)=>(w(),k("section",null,[r("div",lf,f(h(o)("dec.head")),1),r("p",of,[W(f(h(o)("dec.classic"))+" ",1),r("a",{href:q.value},f(h(o)("ui.open_classic")),9,rf)]),r("div",{style:{display:"flex",gap:"8px",margin:"10px 0 12px","flex-wrap":"wrap"},innerHTML:m.value},null,8,af),r("div",cf,[r("h3",null,f(h(o)("ask.common_q",{cat:v.value})),1),r("p",uf,f(h(o)("cat."+l.value+".hint"))+f("。")+f(h(o)("ask.grounding")),1),r("div",{innerHTML:b.value},null,8,df),r("div",ff,[r("input",{id:"askq",type:"text",placeholder:h(Y)(h(o)("ask.placeholder",{cat:v.value})),value:i.value,style:{flex:"1","min-width":"280px"}},null,8,pf),r("label",hf,f(h(o)("ask.model")),1),r("select",{id:"askm",innerHTML:C.value},null,8,mf),r("span",{id:"mdlnote",class:"small",innerHTML:D.value},null,8,_f),r("label",{class:"small",style:{cursor:"pointer","white-space":"nowrap"},title:h(Y)(h(o)("ask.xrev_title"))},[Z[0]||(Z[0]=r("input",{type:"checkbox",id:"askxrev"},null,-1)),W(" "+f(h(o)("ask.xrev"))+" ",1),r("span",vf,f(h(o)("ask.xrev_note")),1)],8,gf),r("button",bf,f(h(o)("ask.go")),1)]),r("div",yf,f(a.value||h(o)("ask.idle")),1)])]))}}),wf={class:"eyebrow"},xf={class:"panel mb"},kf={class:"small muted",style:{"font-weight":"400"}},Sf=["placeholder","value"],Mf={class:"btn","data-asst":"fault"},Tf={class:"small muted"},Cf=["innerHTML"],Ef={id:"asstOut_fault",style:{"margin-top":"10px"}},Af={class:"panel mb"},Of={class:"small muted",style:{"font-weight":"400"}},Df=["innerHTML"],Pf={class:"btn","data-asst":"prev"},Ff={id:"asstOut_prev",style:{"margin-top":"10px"}},If={class:"panel mb"},jf={class:"small muted",style:{"font-weight":"400"}},Hf=["innerHTML"],qf={class:"btn","data-asst":"tree"},Lf={id:"asstOut_tree",style:{"margin-top":"10px"}},dn="display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px",Nf=It({__name:"Assistant",setup(t){const e=["变桨","偏航","主轴承","齿轮箱","发电机","变流器","塔架与基础","主控与传感网","叶片与叶根"],s=["3225","3130","13902","10105","3224"],n=Rs({fault:"",prev:"pitch",tree:"pitch",out:{fault:"",prev:"",tree:""}}),l=c=>e.map(a=>`<option value="${Ps(a)}" ${n[c]===Ps(a)?"selected":""}>${de(a)}</option>`).join(""),i=O(()=>s.map(c=>`<a href="#" data-code="${c}">${c}</a>`).join(" · "));return(c,a)=>(w(),k("section",null,[r("div",wf,f(h(o)("asst.head"))+" — "+f(h(o)("asst.head_note")),1),r("div",xf,[r("h3",null,[W(f(h(o)("asst.corrective"))+" ",1),r("span",kf,f(h(o)("asst.corrective_flow")),1)]),r("div",{style:dn},[r("input",{id:"asstIn_fault",placeholder:h(Y)(h(o)("asst.code_placeholder")),value:n.fault,style:{flex:"1 1 220px"}},null,8,Sf),r("button",Mf,f(h(o)("ui.query")),1),r("span",Tf,[W(f(h(o)("asst.common"))+" ",1),r("span",{innerHTML:i.value},null,8,Cf)])]),r("div",Ef,f(n.out.fault),1)]),r("div",Af,[r("h3",null,[W(f(h(o)("asst.preventive"))+" ",1),r("span",Of,f(h(o)("asst.preventive_flow")),1)]),r("div",{style:dn},[r("select",{id:"asstIn_prev",style:{flex:"1 1 200px"},innerHTML:l("prev")},null,8,Df),r("button",Pf,f(h(o)("ui.query")),1)]),r("div",Ff,f(n.out.prev),1)]),r("div",If,[r("h3",null,[W(f(h(o)("asst.faulttree"))+" ",1),r("span",jf,f(h(o)("asst.faulttree_flow")),1)]),r("div",{style:dn},[r("select",{id:"asstIn_tree",style:{flex:"1 1 200px"},innerHTML:l("tree")},null,8,Hf),r("button",qf,f(h(o)("ui.query")),1)]),r("div",Lf,f(n.out.tree),1)])]))}}),Rf={class:"eyebrow"},Bf={key:0,class:"panel"},Wf={class:"small muted"},Kf={key:1,class:"panel"},Uf={class:"small",style:{color:"var(--critical)"}},Vf={class:"panel mb"},Gf={class:"small muted"},zf={class:"small muted"},Yf={class:"tblwrap"},Jf={style:{"margin-top":"10px"}},Zf={style:{width:"18%"}},Xf={style:{width:"20%"}},Qf={style:{width:"13%"}},tp={style:{width:"10%"}},ep={style:{width:"11%"}},sp={class:"small"},np={class:"small num"},lp={key:0,class:"muted"},ip={class:"small muted"},op={class:"small"},rp={class:"small"},ap={class:"small"},cp={class:"muted"},up={style:{"margin-top":"3px"}},dp={class:"muted",style:{"margin-top":"3px"}},fp=It({__name:"System",props:{apis:{}},setup(t){const e=t,s=a=>String(a??""),n=O(()=>e.apis?.["/detail/api/maint_survey"]??e.apis?.["/api/maint_survey"]??null),l=[[["数据","Data"],"mt.layer_data","mt.layer_data_note","var(--accent)"],[["机理","Domain model","Mechanism"],"mt.layer_mech","mt.layer_mech_note","var(--warning)"]],i=O(()=>n.value?.rows||[]),c=O(()=>l.map(([a,u,_,d])=>({kn:u,kd:_,col:d,rs:i.value.filter(v=>a.includes(String(v.层)))})).filter(a=>a.rs.length));return(a,u)=>(w(),k("section",null,[r("div",Rf,f(h(o)("mt.eyebrow")),1),n.value?n.value.error?(w(),k("div",Kf,[r("p",Uf,f(h(et)(n.value.error)),1)])):(w(),k(V,{key:2},[r("div",Vf,[r("h3",null,f(h(o)("mt.head",{n:i.value.length})),1),r("p",Gf,f(h(o)("mt.note")),1)]),(w(!0),k(V,null,st(c.value,_=>(w(),k("div",{key:_.kn,class:"panel mb",style:_t(`border-left:3px solid ${_.col}`)},[r("h3",null,f(h(o)(_.kn))+" ("+f(_.rs.length)+")",1),r("p",zf,f(h(o)(_.kd)),1),r("div",Yf,[r("table",Jf,[r("tr",null,[r("th",Zf,f(h(o)("mt.src")),1),r("th",Xf,f(h(o)("mt.cov")),1),r("th",Qf,f(h(o)("mt.last")),1),r("th",tp,f(h(o)("mt.freq")),1),r("th",ep,f(h(o)("mt.resp")),1),r("th",null,f(h(o)("mt.how")),1)]),(w(!0),k(V,null,st(_.rs,(d,v)=>(w(),k("tr",{key:v},[r("td",sp,[r("b",null,f(d.存在?"":"✗ ")+f(s(d.名)),1)]),r("td",np,[W(f(s(d.覆盖)),1),d.条数?(w(),k("span",lp,f(h(o)("mt.rows_n",{n:h(it)(d.条数)})),1)):ot("",!0)]),r("td",ip,f(h(Y)(d.末次更新||"—")),1),r("td",op,f(s(d.频率)),1),r("td",rp,f(s(d.责任)),1),r("td",ap,[r("div",cp,[W(f(h(o)("mt.put"))+" ",1),r("code",null,f(s(d.位置)),1)]),r("div",up,[W(f(h(o)("mt.run"))+" ",1),r("code",null,f(s(d.摄入)),1)]),r("div",dp,f(s(d.说明)),1)])]))),128))])])],4))),128))],64)):(w(),k("div",Bf,[r("p",Wf,f(h(o)("mt.surveying")),1)]))]))}}),pp={class:"kpis"},hp=["title"],mp=["innerHTML"],_p={key:1},gp={key:0},vp={class:"sechead"},bp={class:"meta"},yp={class:"meta"},$p={key:0,class:"card mb",style:{"margin-bottom":"10px"}},wp={class:"small",style:{color:"var(--warning)"}},xp={class:"small muted"},kp={class:"cards"},Sp=["id"],Mp={class:"head"},Tp=["href"],Cp={class:"sys"},Ep={class:"evidence-detail"},Ap={class:"why"},Op={class:"evid"},Dp={key:1,class:"rv"},Pp={key:0,class:"caveat"},Fp={class:"sechead"},Ip={class:"meta"},jp={class:"legend"},Hp={class:"cells"},qp=["data-u","title"],Lp={key:1,class:"quiet",style:{padding:"10px"}},Np={class:"nums"},Rp={class:"quiet"},Bp={class:"sechead"},Wp={class:"meta"},Kp={class:"systems"},Up={class:"t"},Vp=["href"],Gp={class:"bar"},zp={class:"cnt"},Yp=It({__name:"Overview",props:{d:{}},setup(t){const e=t,s=O(()=>e.d?.fus||{}),n=O(()=>e.d?.m8?.mtbf||{}),l=O(()=>e.d?.control||{}),i=O(()=>{const x={};for(const j of l.value.states||[])x[j.k]=j.loss;return x}),c=O(()=>{const x=l.value,j=o("kpi.loss",{win:we(e.d?.win)})+(i.value["停机(调度令)"]!=null?` · ${o("kpi.loss_dispatch",{n:it(i.value["停机(调度令)"])})}`:"");return[{v:it(x.avail,1),u:"%",l:o("kpi.avail",{win:we(e.d?.win)}),k:x.avail>=95?"ok":"warn",ti:""},{v:it(n.value.停机总时长h),u:"h",l:o("kpi.downtime",{n:it(n.value.停机事件数)}),k:"warn",ti:""},{v:it(n.value.MTBF_h),u:"h",l:o("kpi.mtbo"),k:"",ti:""},{v:it(i.value.停机),u:"MWh",l:j,k:"",ti:""},{v:it(i.value["限电·绑定"]),u:"MWh",l:o("kpi.curtail"),k:"",ti:""},{vRaw:`${it(e.d?.kpi?.报警台)} <small>/ ${it(e.d?.kpi?.全场)}</small>`,u:"",l:o("kpi.alarm_units"),k:e.d?.kpi?.报警台?"warn":"ok",ti:o("kpi.alarm_units.hint"),vHtml:!0}]}),a=O(()=>{const x={};for(const j of e.d?.watch||[])x[j.t]=j.why;return x}),u=O(()=>((s.value.链盘||{}).rows||[]).filter(x=>x.lvl==="bad"||x.lvl==="warn"));function _(x){const j=(a.value[x.t]||"").trim();if(j)return j;const $=wl[x.stuck]||String(x.stuck||"").toLowerCase(),C=o($==="evidence"?"step.site_records":"step."+($||"evidence"));return o("ov.basis_fusion",{part:x.part||"—",done:x.done==null?"—":x.done,n:(x.steps||[]).length||"—",stuck:x.stuck?C:o("ov.all_steps_done"),srcs:(x.srcs||[]).join(" / ")||o("ov.no_srcs")})}function d(x){if(!x.stuck)return"";const j=wl[x.stuck]||String(x.stuck||"").toLowerCase(),$=o(j==="evidence"?"step.site_records":"step."+(j||"evidence"));return o("step.stuck_at",{step:$})}const v=[["危险","critical"],["报警","warning"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],m=O(()=>{const x=e.d?.sysdist||{};return Ln.map(j=>{const $=x[j]||{},C=Object.values($).reduce((q,D)=>q+D,0)||1;return{name:de(j),slug:Ps(j),dist:$,n:C,seg:v.filter(([q])=>$[q]).map(([q,D])=>({k:q,v:D}))}})}),b=O(()=>s.value.矩阵||[]),S=O(()=>new Set(u.value.map(x=>x.t)));return(x,j)=>(w(),k(V,null,[r("section",null,[r("div",pp,[(w(!0),k(V,null,st(c.value,($,C)=>(w(),k("div",{key:C,class:Tt(["kpi",$.k]),title:$.ti||void 0},[$.vHtml?(w(),k("b",{key:0,innerHTML:$.vRaw},null,8,mp)):(w(),k("b",_p,[W(f($.v),1),$.u?(w(),k("small",gp,f($.u),1)):ot("",!0)])),r("span",null,f($.l),1)],10,hp))),128))])]),r("section",null,[r("div",vp,[r("h2",null,f(h(o)("ov.attention")),1),r("span",bp,f(h(o)("ov.attention_n",{n:u.value.length})),1),r("span",yp,f(h(o)("ov.ranked_by")),1)]),s.value.gap?(w(),k("div",$p,[r("p",wp,f(s.value.gap),1),r("p",xp,f(h(o)("ov.fus_gap_hint")),1)])):ot("",!0),r("div",kp,[(w(!0),k(V,null,st(u.value,$=>(w(),k("div",{key:$.t,class:"card",id:`u-${$.t}`,style:_t(`--sev:var(--${h(Sl)[h(Os)($.ostate)||($.lvl==="bad"?"bad":"warn")]})`)},[r("div",Mp,[r("a",{class:"unit",href:`/turbine/${$.t}`},f(h(pt)($.t)),9,Tp),r("span",Cp,f($.part||""),1),r("span",{class:Tt(["chip",h(Os)($.ostate)||($.lvl==="bad"?"bad":"warn")])},f(h(xl)($.ostate||($.lvl==="bad"?"危险":"报警"))),3)]),r("details",Ep,[r("summary",null,f(h(o)("ov.evidence")),1),r("div",Ap,f(_($)),1)]),r("div",Op,[$.estate?(w(),k("span",{key:0,class:Tt(["tier",$.estate])},f(h(xl)($.estate)),3)):ot("",!0),$.srcs&&$.srcs.length?(w(),k("span",Dp,f($.srcs.length)+" sources",1)):ot("",!0)]),d($)||$.next?(w(),k("div",Pp,[r("b",null,f(h(o)("ov.caveat")),1),W(f(d($))+f(d($)&&$.next?" — ":"")+f($.next||""),1)])):ot("",!0)],12,Sp))),128))])]),r("section",null,[r("div",Fp,[r("h2",null,f(h(o)("ov.strip")),1),r("span",Ip,f(h(o)("ov.strip_hint")),1),r("div",jp,[(w(),k(V,null,st(["bad","warn","unk","ok","ex"],$=>r("span",{key:$},[r("i",{style:_t(`background:var(--${h(Sl)[$]})`)},null,4),W(f(h(o)(h(wn)($))),1)])),64))])]),r("div",{class:"strip",style:_t(`--n:${b.value.length||38}`)},[r("div",Hp,[b.value.length?(w(!0),k(V,{key:0},st(b.value,$=>(w(),k("div",{key:$.turbine,class:Tt(["cell",[h(kl)($),S.value.has($.turbine)?"hot":""]]),"data-u":$.turbine,title:`${h(pt)($.turbine)} ${h(o)(h(wn)(h(kl)($)))}`},null,10,qp))),128)):(w(),k("div",Lp,f(s.value.gap||h(o)("ov.fus_gap_hint")),1))]),r("div",Np,[(w(!0),k(V,null,st(b.value,$=>(w(),k("span",{key:`n-${$.turbine}`,class:Tt(S.value.has($.turbine)?"hot":"")},f(h(pt)($.turbine).replace("#","")),3))),128))]),r("div",Rp,f(u.value.length?h(o)("ov.quiet",{n:Math.max(0,(b.value.length||38)-u.value.length)}):h(o)("ov.quiet_all",{n:b.value.length||38})),1)],4)]),r("section",null,[r("div",Bp,[r("h2",null,f(h(o)("ov.systems")),1),r("span",Wp,f(h(o)("ov.systems_hint")),1)]),r("div",Kp,[(w(!0),k(V,null,st(m.value,$=>(w(),k("div",{key:$.name,class:"sysc"},[r("div",Up,[r("b",null,f($.name),1),r("a",{href:`#tab=component&sys=${encodeURIComponent($.slug)}`},f(h(o)("ui.open")),9,Vp)]),r("div",Gp,[(w(!0),k(V,null,st($.seg,C=>(w(),k("i",{key:C.k,style:_t(`width:${($.dist[C.k]/$.n*100).toFixed(1)}%;background:var(--${C.v})`)},null,4))),128))]),r("div",zp,[(w(!0),k(V,null,st($.seg,C=>(w(),k("span",{key:`c-${C.k}`},[r("i",{style:_t(`background:var(--${C.v})`)},null,4),W(f($.dist[C.k]),1)]))),128))])]))),128))])])],64))}}),Jp={class:"wb-tabs"},Zp=["onClick"],Xp={key:0,class:"todo"},Qp={class:"page-head"},th={class:"window-badge"},eh={key:9,class:"card"},sh={class:"hint"},nh=It({__name:"Workbench",props:{d:{},tab:{},sys:{},sub:{},cms:{},curves:{},apis:{}},emits:["tab","sub"],setup(t,{emit:e}){const s=t,n=e,l=O(()=>!an.includes(s.tab));return(i,c)=>(w(),k(V,null,[r("nav",Jp,[(w(!0),k(V,null,st(h($a),a=>(w(),k("button",{key:a,class:Tt({on:a===t.tab}),onClick:u=>n("tab",a)},[W(f(h(o)("tab."+a)),1),h(an).includes(a)?ot("",!0):(w(),k("sup",Xp,"迁移中"))],10,Zp))),128))]),r("div",Qp,[r("h1",null,f(h(o)("tab."+t.tab)),1),r("span",th,f(h(o)("win.label"))+" · "+f(h(we)(t.d?.win)),1)]),t.tab==="overview"?(w(),qt(Yp,{key:0,d:t.d},null,8,["d"])):t.tab==="energy"?(w(),qt(du,{key:1,d:t.d},null,8,["d"])):t.tab==="component"?(w(),qt(Hc,{key:2,d:t.d,sys:t.sys},null,8,["d","sys"])):t.tab==="fault"?(w(),qt(sd,{key:3,d:t.d},null,8,["d"])):t.tab==="vibration"?(w(),qt(Sd,{key:4,d:t.d,sub:t.sub,cms:t.cms,onSub:c[0]||(c[0]=a=>n("sub",a))},null,8,["d","sub","cms"])):t.tab==="generation"?(w(),qt(nf,{key:5,d:t.d,curves:t.curves,pending:!!t.d.m9_pending},null,8,["d","curves","pending"])):t.tab==="decision"?(w(),qt($f,{key:6,d:t.d,apis:t.apis},null,8,["d","apis"])):t.tab==="assistant"?(w(),qt(Nf,{key:7,d:t.d},null,8,["d"])):t.tab==="system"?(w(),qt(fp,{key:8,apis:t.apis},null,8,["apis"])):l.value?(w(),k("section",eh,[r("h2",null,[W(f(h(o)("tab."+t.tab))+" ",1),c[1]||(c[1]=r("small",null,"(本页签尚未迁移到 Vue)",-1))]),r("p",sh,[c[2]||(c[2]=W(" 迁移纪律:页签逐个搬,每搬一个就用 ",-1)),c[3]||(c[3]=r("code",null,"tools/render_parity.mjs",-1)),c[4]||(c[4]=W(" 与重构前页面 (现网 ",-1)),c[5]||(c[5]=r("code",null,"/detail/v2",-1)),W(")对拍文案/数值/类名序列,**通过后**才删对应的 Python 前端源码。 当前已迁移:"+f(h(an).join("、"))+"。 ",1)])])):ot("",!0)],64))}}),lh=Ni(nh,[["__scopeId","data-v-a738e9d0"]]),ih={class:"top"},oh={key:0,class:"hint",style:{padding:"0 18px"}},rh={key:1,class:"hint",style:{padding:"0 18px",color:"var(--bad)"}},ah={key:2,class:"card"},ch=It({__name:"App",setup(t){const e=St("workbench"),s=St("overview"),n=St(null),l=St(null),i=St(""),c=St(!1),a=St("");async function u(){c.value=!0,a.value="";const _=i.value?`?win=${encodeURIComponent(i.value)}`:"",d=await qi("fleet",{method:"GET"});if(_)try{const v=await fetch("/api/fleet"+_);l.value=await v.json()}catch(v){a.value=v instanceof Error?v.message:String(v)}else d.ok?(l.value=d.data,l.value?.win&&(i.value=l.value.win)):a.value=d.error||`HTTP ${d.status}`;c.value=!1}return es(i,_=>{_&&_!==l.value?.win&&u()}),Us(u),(_,d)=>(w(),k(V,null,[r("header",ih,[d[5]||(d[5]=r("div",{class:"brand"},"观澜 · 风电数据分析与决策支持",-1)),r("nav",null,[r("button",{class:Tt({on:e.value==="workbench"}),onClick:d[0]||(d[0]=v=>e.value="workbench")},"工作台",2),r("button",{class:Tt({on:e.value==="smoke"}),onClick:d[1]||(d[1]=v=>e.value="smoke")},"契约自检",2),r("button",{class:Tt({on:e.value==="about"}),onClick:d[2]||(d[2]=v=>e.value="about")},"关于本前端",2)])]),r("main",null,[e.value==="workbench"?(w(),k(V,{key:0},[c.value?(w(),k("p",oh,"取数中(/api/fleet)…")):a.value?(w(),k("p",rh,"取数失败:"+f(a.value),1)):l.value?(w(),qt(lh,{key:2,d:l.value,tab:s.value,sub:n.value,onTab:d[3]||(d[3]=v=>s.value=v),onSub:d[4]||(d[4]=v=>n.value=v)},null,8,["d","tab","sub"])):ot("",!0)],64)):e.value==="smoke"?(w(),qt(ba,{key:1})):(w(),k("section",ah,[...d[6]||(d[6]=[Ar("<h2>关于本前端</h2><ul><li>技术栈:<b>Vue 3 + Vite + TypeScript + Node.js</b>(用户令 2026-09-29)</li><li>与后端交互:只走网关一个源站,路径与形状以 <code>app_backEnd/app_backEnd_guanlan/contract/http_api_v1.json</code> 冻契约为准</li><li>数据来源:与重构前 <code>/detail/v2</code> 同一个接口 <code>/api/fleet?win=</code></li><li>迁移纪律:页签逐个搬,与重构前页面对拍通过后才删对应 Python 源码</li></ul>",2)])]))])],64))}});fa(ch).mount("#app");