| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- (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)}})();/**
- * @vue/shared v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function Tn(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const Ct={},Pe=[],fe=()=>{},ql=()=>!1,Hs=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Rs=t=>t.startsWith("onUpdate:"),Nt=Object.assign,Cn=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},zi=Object.prototype.hasOwnProperty,wt=(t,e)=>zi.call(t,e),ct=Array.isArray,Fe=t=>fs(t)==="[object Map]",Ss=t=>fs(t)==="[object Set]",Jn=t=>fs(t)==="[object Date]",dt=t=>typeof t=="function",qt=t=>typeof t=="string",me=t=>typeof t=="symbol",Mt=t=>t!==null&&typeof t=="object",Ll=t=>(Mt(t)||dt(t))&&dt(t.then)&&dt(t.catch),Dl=Object.prototype.toString,fs=t=>Dl.call(t),Yi=t=>fs(t).slice(8,-1),jl=t=>fs(t)==="[object Object]",En=t=>qt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,es=Tn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Is=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},Ji=/-\w/g,ne=Is(t=>t.replace(Ji,e=>e.slice(1).toUpperCase())),Xi=/\B([A-Z])/g,Ne=Is(t=>t.replace(Xi,"-$1").toLowerCase()),Pl=Is(t=>t.charAt(0).toUpperCase()+t.slice(1)),Xs=Is(t=>t?`on${Pl(t)}`:""),he=(t,e)=>!Object.is(t,e),Zs=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},Hl=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Zi=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Xn;const Ns=()=>Xn||(Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function It(t){if(ct(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],l=qt(n)?sa(n):It(n);if(l)for(const i in l)e[i]=l[i]}return e}else if(qt(t)||Mt(t))return t}const Qi=/;(?![^(]*\))/g,ta=/:([^]+)/,ea=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function sa(t){const e={};return t.replace(ea,s=>s.startsWith("/*")?"":s).split(Qi).forEach(s=>{if(s){const n=s.split(ta);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Wt(t){let e="";if(qt(t))e=t;else if(ct(t))for(let s=0;s<t.length;s++){const n=Wt(t[s]);n&&(e+=n+" ")}else if(Mt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const na="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",la=Tn(na);function Rl(t){return!!t||t===""}function ia(t,e,s){if(t.length!==e.length)return!1;let n=!0;for(let l=0;n&&l<t.length;l++)n=Bs(t[l],e[l],s);return n}function Zn(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 r=0;r<n.length;r++)if(!l[r]&&Bs(i,n[r],s)){c=r;break}if(c<0)return!1;l[c]=1}return!0}function aa(t,e,s){let n=Fe(t),l=Fe(e);if(n||l||(n=Ss(t),l=Ss(e),n||l))return n&&l?Zn(t,e,s):!1;const i=Object.keys(t).length,c=Object.keys(e).length;if(i!==c)return!1;for(const r in t){const d=t.hasOwnProperty(r),v=e.hasOwnProperty(r);if(d&&!v||!d&&v||!Bs(t[r],e[r],s))return!1}return String(t)===String(e)}function Qn(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 Bs(t,e,s){if(t===e)return!0;let n=Jn(t),l=Jn(e);return n||l?n&&l?t.getTime()===e.getTime():!1:(n=me(t),l=me(e),n||l?t===e:(n=ct(t),l=ct(e),n||l?n&&l?Qn(t,e,s,ia):!1:(n=Mt(t),l=Mt(e),n||l?!n||!l?!1:Qn(t,e,s,aa):String(t)===String(e))))}const Il=t=>!!(t&&t.__v_isRef===!0),p=t=>qt(t)?t:t==null?"":ct(t)||Mt(t)&&(t.toString===Dl||!dt(t.toString))?Il(t)?p(t.value):JSON.stringify(t,Nl,2):String(t),Nl=(t,e)=>Il(e)?Nl(t,e.value):Fe(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,l],i)=>(s[Qs(n,i)+" =>"]=l,s),{})}:Ss(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>Qs(s))}:me(e)?Qs(e):Mt(e)&&!ct(e)&&!jl(e)?String(e):e,Qs=(t,e="")=>{var s;return me(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
- * @vue/reactivity v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let Rt;class oa{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&&Rt&&(Rt.active?(this.parent=Rt,this.index=(Rt.scopes||(Rt.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=Rt;try{return Rt=this,e()}finally{Rt=s}}}on(){++this._on===1&&(this.prevScope=Rt,Rt=this)}off(){if(this._on>0&&--this._on===0){if(Rt===this)Rt=this.prevScope;else{let e=Rt;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 ra(){return Rt}let Et;const tn=new WeakSet;class Bl{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,Rt&&(Rt.active?Rt.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,tn.has(this)&&(tn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ul(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tl(this),Kl(this);const e=Et,s=le;Et=this,le=!0;try{return this.fn()}finally{Vl(this),Et=e,le=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)On(e);this.deps=this.depsTail=void 0,tl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?tn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){mn(this)&&this.run()}get dirty(){return mn(this)}}let Wl=0,ss,ns;function Ul(t,e=!1){if(t.flags|=8,e){t.next=ns,ns=t;return}t.next=ss,ss=t}function Fn(){Wl++}function An(){if(--Wl>0)return;if(ns){let e=ns;for(ns=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;ss;){let e=ss;for(ss=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 Kl(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Vl(t){let e,s=t.depsTail,n=s;for(;n;){const l=n.prevDep;n.version===-1?(n===s&&(s=l),On(n),ca(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=l}t.deps=e,t.depsTail=s}function mn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Gl(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Gl(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===os)||(t.globalVersion=os,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!mn(t))))return;t.flags|=2;const e=t.dep,s=Et,n=le;Et=t,le=!0;try{Kl(t);const l=t.fn(t._value);(e.version===0||he(l,t._value))&&(t.flags|=128,t._value=l,e.version++)}catch(l){throw e.version++,l}finally{Et=s,le=n,Vl(t),t.flags&=-3}}function On(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)On(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function ca(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let le=!0;const zl=[];function we(){zl.push(le),le=!1}function ke(){const t=zl.pop();le=t===void 0?!0:t}function tl(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=Et;Et=void 0;try{e()}finally{Et=s}}}let os=0;class da{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 qn{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(!Et||!le||Et===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Et)s=this.activeLink=new da(Et,this),Et.deps?(s.prevDep=Et.depsTail,Et.depsTail.nextDep=s,Et.depsTail=s):Et.deps=Et.depsTail=s,Yl(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=Et.depsTail,s.nextDep=void 0,Et.depsTail.nextDep=s,Et.depsTail=s,Et.deps===s&&(Et.deps=n)}return s}trigger(e){this.version++,os++,this.notify(e)}notify(e){Fn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{An()}}}function Yl(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)Yl(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const vn=new WeakMap,He=Symbol(""),_n=Symbol(""),rs=Symbol("");function Bt(t,e,s){if(le&&Et){let n=vn.get(t);n||vn.set(t,n=new Map);let l=n.get(s);l||(n.set(s,l=new qn),l.map=n,l.key=s),l.track()}}function ye(t,e,s,n,l,i){const c=vn.get(t);if(!c){os++;return}const r=d=>{d&&d.trigger()};if(Fn(),e==="clear")c.forEach(r);else{const d=ct(t),v=d&&En(s);if(d&&s==="length"){const f=Number(n);c.forEach((m,b)=>{(b==="length"||b===rs||!me(b)&&b>=f)&&r(m)})}else switch((s!==void 0||c.has(void 0))&&r(c.get(s)),v&&r(c.get(rs)),e){case"add":d?v&&r(c.get("length")):(r(c.get(He)),Fe(t)&&r(c.get(_n)));break;case"delete":d||(r(c.get(He)),Fe(t)&&r(c.get(_n)));break;case"set":Fe(t)&&r(c.get(He));break}}An()}function Be(t){const e=xt(t);return e===t||(Bt(e,"iterate",rs),ee(t))?e:ve(t)?Ae(t)?e.map(s=>Oe(se(s))):e.map(Oe):e.map(se)}function Ws(t){return Bt(t=xt(t),"iterate",rs),t}function ue(t,e){return ve(t)?Oe(Ae(t)?se(e):e):se(e)}const ua={__proto__:null,[Symbol.iterator](){return en(this,Symbol.iterator,t=>ue(this,t))},concat(...t){return Be(this).concat(...t.map(e=>ct(e)?Be(e):e))},entries(){return en(this,"entries",t=>(t[1]=ue(this,t[1]),t))},every(t,e){return _e(this,"every",t,e,void 0,arguments)},filter(t,e){return _e(this,"filter",t,e,s=>s.map(n=>ue(this,n)),arguments)},find(t,e){return _e(this,"find",t,e,s=>ue(this,s),arguments)},findIndex(t,e){return _e(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return _e(this,"findLast",t,e,s=>ue(this,s),arguments)},findLastIndex(t,e){return _e(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return _e(this,"forEach",t,e,void 0,arguments)},includes(...t){return sn(this,"includes",t)},indexOf(...t){return sn(this,"indexOf",t)},join(t){return Be(this).join(t)},lastIndexOf(...t){return sn(this,"lastIndexOf",t)},map(t,e){return _e(this,"map",t,e,void 0,arguments)},pop(){return Ye(this,"pop")},push(...t){return Ye(this,"push",t)},reduce(t,...e){return el(this,"reduce",t,e)},reduceRight(t,...e){return el(this,"reduceRight",t,e)},shift(){return Ye(this,"shift")},some(t,e){return _e(this,"some",t,e,void 0,arguments)},splice(...t){return Ye(this,"splice",t)},toReversed(){return Be(this).toReversed()},toSorted(t){return Be(this).toSorted(t)},toSpliced(...t){return Be(this).toSpliced(...t)},unshift(...t){return Ye(this,"unshift",t)},values(){return en(this,"values",t=>ue(this,t))}};function en(t,e,s){const n=Ws(t),l=n[e]();return n!==t&&!ee(t)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=s(i.value)),i}),l}const pa=Array.prototype;function _e(t,e,s,n,l,i){const c=Ws(t),r=c!==t&&!ee(t),d=c[e];if(d!==pa[e]){const m=d.apply(t,i);return r?se(m):m}let v=s;c!==t&&(r?v=function(m,b){return s.call(this,ue(t,m),b,t)}:s.length>2&&(v=function(m,b){return s.call(this,m,b,t)}));const f=d.call(c,v,n);return r&&l?l(f):f}function el(t,e,s,n){const l=Ws(t),i=l!==t&&!ee(t);let c=s,r=!1;l!==t&&(i?(r=n.length===0,c=function(v,f,m){return r&&(r=!1,v=ue(t,v)),s.call(this,v,ue(t,f),m,t)}):s.length>3&&(c=function(v,f,m){return s.call(this,v,f,m,t)}));const d=l[e](c,...n);return r?ue(t,d):d}function sn(t,e,s){const n=xt(t);Bt(n,"iterate",rs);const l=n[e](...s);return(l===-1||l===!1)&&jn(s[0])?(s[0]=xt(s[0]),n[e](...s)):l}function Ye(t,e,s=[]){we(),Fn();const n=xt(t)[e].apply(t,s);return An(),ke(),n}const ha=Tn("__proto__,__v_isRef,__isVue"),Jl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(me));function fa(t){me(t)||(t=String(t));const e=xt(this);return Bt(e,"has",t),e.hasOwnProperty(t)}class Xl{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?ka:ei:i?ti:Ql).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=ct(e);if(!l){let d;if(c&&(d=ua[s]))return d;if(s==="hasOwnProperty")return fa}const r=Reflect.get(e,s,Ut(e)?e:n);if((me(s)?Jl.has(s):ha(s))||(l||Bt(e,"get",s),i))return r;if(Ut(r)){const d=c&&En(s)?r:r.value;return l&&Mt(d)?bn(d):d}return Mt(r)?l?bn(r):ms(r):r}}class Zl extends Xl{constructor(e=!1){super(!1,e)}set(e,s,n,l){let i=e[s];const c=ct(e)&&En(s);if(!this._isShallow){const v=ve(i);if(!ee(n)&&!ve(n)&&(i=xt(i),n=xt(n)),!c&&Ut(i)&&!Ut(n))return v||(i.value=n),!0}const r=c?Number(s)<e.length:wt(e,s),d=Reflect.set(e,s,n,Ut(e)?e:l);return e===xt(l)&&d&&(r?he(n,i)&&ye(e,"set",s,n):ye(e,"add",s,n)),d}deleteProperty(e,s){const n=wt(e,s);e[s];const l=Reflect.deleteProperty(e,s);return l&&n&&ye(e,"delete",s,void 0),l}has(e,s){const n=Reflect.has(e,s);return(!me(s)||!Jl.has(s))&&Bt(e,"has",s),n}ownKeys(e){return Bt(e,"iterate",ct(e)?"length":He),Reflect.ownKeys(e)}}class ma extends Xl{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const va=new Zl,_a=new ma,ga=new Zl(!0);const gn=t=>t,gs=t=>Reflect.getPrototypeOf(t);function ba(t,e,s){return function(...n){const l=this.__v_raw,i=xt(l),c=Fe(i),r=t==="entries"||t===Symbol.iterator&&c,d=t==="keys"&&c,v=l[t](...n),f=s?gn:e?Oe:se;return!e&&Bt(i,"iterate",d?_n:He),Nt(Object.create(v),{next(){const{value:m,done:b}=v.next();return b?{value:m,done:b}:{value:r?[f(m[0]),f(m[1])]:f(m),done:b}}})}}function bs(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function ya(t,e){const s={get(l){const i=this.__v_raw,c=xt(i),r=xt(l);t||(he(l,r)&&Bt(c,"get",l),Bt(c,"get",r));const{has:d}=gs(c),v=e?gn:t?Oe:se;if(d.call(c,l))return v(i.get(l));if(d.call(c,r))return v(i.get(r));i!==c&&i.get(l)},get size(){const l=this.__v_raw;return!t&&Bt(xt(l),"iterate",He),l.size},has(l){const i=this.__v_raw,c=xt(i),r=xt(l);return t||(he(l,r)&&Bt(c,"has",l),Bt(c,"has",r)),l===r?i.has(l):i.has(l)||i.has(r)},forEach(l,i){const c=this,r=c.__v_raw,d=xt(r),v=e?gn:t?Oe:se;return!t&&Bt(d,"iterate",He),r.forEach((f,m)=>l.call(i,v(f),v(m),c))}};return Nt(s,t?{add:bs("add"),set:bs("set"),delete:bs("delete"),clear:bs("clear")}:{add(l){const i=xt(this),c=gs(i),r=xt(l),d=!e&&!ee(l)&&!ve(l)?r:l;return c.has.call(i,d)||he(l,d)&&c.has.call(i,l)||he(r,d)&&c.has.call(i,r)||(i.add(d),ye(i,"add",d,d)),this},set(l,i){!e&&!ee(i)&&!ve(i)&&(i=xt(i));const c=xt(this),{has:r,get:d}=gs(c);let v=r.call(c,l);v||(l=xt(l),v=r.call(c,l));const f=d.call(c,l);return c.set(l,i),v?he(i,f)&&ye(c,"set",l,i):ye(c,"add",l,i),this},delete(l){const i=xt(this),{has:c,get:r}=gs(i);let d=c.call(i,l);d||(l=xt(l),d=c.call(i,l)),r&&r.call(i,l);const v=i.delete(l);return d&&ye(i,"delete",l,void 0),v},clear(){const l=xt(this),i=l.size!==0,c=l.clear();return i&&ye(l,"clear",void 0,void 0),c}}),["keys","values","entries",Symbol.iterator].forEach(l=>{s[l]=ba(l,t,e)}),s}function Ln(t,e){const s=ya(t,e);return(n,l,i)=>l==="__v_isReactive"?!t:l==="__v_isReadonly"?t:l==="__v_raw"?n:Reflect.get(wt(s,l)&&l in n?s:n,l,i)}const $a={get:Ln(!1,!1)},xa={get:Ln(!1,!0)},wa={get:Ln(!0,!1)};const Ql=new WeakMap,ti=new WeakMap,ei=new WeakMap,ka=new WeakMap;function Ma(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ms(t){return ve(t)?t:Dn(t,!1,va,$a,Ql)}function Sa(t){return Dn(t,!1,ga,xa,ti)}function bn(t){return Dn(t,!0,_a,wa,ei)}function Dn(t,e,s,n,l){if(!Mt(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=Ma(Yi(t));if(c===0)return t;const r=new Proxy(t,c===2?n:s);return l.set(t,r),r}function Ae(t){return ve(t)?Ae(t.__v_raw):!!(t&&t.__v_isReactive)}function ve(t){return!!(t&&t.__v_isReadonly)}function ee(t){return!!(t&&t.__v_isShallow)}function jn(t){return t?!!t.__v_raw:!1}function xt(t){const e=t&&t.__v_raw;return e?xt(e):t}function Ta(t){return!wt(t,"__v_skip")&&Object.isExtensible(t)&&Hl(t,"__v_skip",!0),t}const se=t=>Mt(t)?ms(t):t,Oe=t=>Mt(t)?bn(t):t;function Ut(t){return t?t.__v_isRef===!0:!1}function At(t){return Ca(t,!1)}function Ca(t,e){return Ut(t)?t:new Ea(t,e)}class Ea{constructor(e,s){this.dep=new qn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:xt(e),this._value=s?e:se(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||ee(e)||ve(e);e=n?e:xt(e),he(e,s)&&(this._rawValue=e,this._value=n?e:se(e),this.dep.trigger())}}function u(t){return Ut(t)?t.value:t}const Fa={get:(t,e,s)=>e==="__v_raw"?t:u(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const l=t[e];return Ut(l)&&!Ut(s)?(l.value=s,!0):Reflect.set(t,e,s,n)}};function si(t){return Ae(t)?t:new Proxy(t,Fa)}class Aa{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new qn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=os-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Et!==this)return Ul(this,!0),!0}get value(){const e=this.dep.track();return Gl(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Oa(t,e,s=!1){let n,l;return dt(t)?n=t:(n=t.get,l=t.set),new Aa(n,l,s)}const ys={},Ts=new WeakMap;let De;function qa(t,e=!1,s=De){if(s){let n=Ts.get(s);n||Ts.set(s,n=[]),n.push(t)}}function La(t,e,s=Ct){const{immediate:n,deep:l,once:i,scheduler:c,augmentJob:r,call:d}=s,v=T=>l?T:ee(T)||l===!1||l===0?$e(T,1):$e(T);let f,m,b,$,q=!1,J=!1;if(Ut(t)?(m=()=>t.value,q=ee(t)):Ae(t)?(m=()=>v(t),q=!0):ct(t)?(J=!0,q=t.some(T=>Ae(T)||ee(T)),m=()=>t.map(T=>{if(Ut(T))return T.value;if(Ae(T))return v(T);if(dt(T))return d?d(T,2):T()})):dt(t)?e?m=d?()=>d(t,2):t:m=()=>{if(b){we();try{b()}finally{ke()}}const T=De;De=f;try{return d?d(t,3,[$]):t($)}finally{De=T}}:m=fe,e&&l){const T=m,I=l===!0?1/0:l;m=()=>$e(T(),I)}const tt=ra(),ot=()=>{f.stop(),tt&&tt.active&&Cn(tt.effects,f)};if(i&&e){const T=e;e=(...I)=>{const mt=T(...I);return ot(),mt}}let D=J?new Array(t.length).fill(ys):ys;const N=T=>{if(!(!(f.flags&1)||!f.dirty&&!T))if(e){const I=f.run();if(T||l||q||(J?I.some((mt,pt)=>he(mt,D[pt])):he(I,D))){b&&b();const mt=De;De=f;try{const pt=[I,D===ys?void 0:J&&D[0]===ys?[]:D,$];D=I,d?d(e,3,pt):e(...pt)}finally{De=mt}}}else f.run()};return r&&r(N),f=new Bl(m),f.scheduler=c?()=>c(N,!1):N,$=T=>qa(T,!1,f),b=f.onStop=()=>{const T=Ts.get(f);if(T){if(d)d(T,4);else for(const I of T)I();Ts.delete(f)}},e?n?N(!0):D=f.run():c?c(N.bind(null,!0),!0):f.run(),ot.pause=f.pause.bind(f),ot.resume=f.resume.bind(f),ot.stop=ot,ot}function $e(t,e=1/0,s){if(e<=0||!Mt(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,Ut(t))$e(t.value,e,s);else if(ct(t))for(let n=0;n<t.length;n++)$e(t[n],e,s);else if(Ss(t)||Fe(t))t.forEach(n=>{$e(n,e,s)});else if(jl(t)){for(const n in t)$e(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&$e(t[n],e,s)}return t}/**
- * @vue/runtime-core v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function vs(t,e,s,n){try{return n?t(...n):t()}catch(l){Us(l,e,s)}}function ie(t,e,s,n){if(dt(t)){const l=vs(t,e,s,n);return l&&Ll(l)&&l.catch(i=>{Us(i,e,s)}),l}if(ct(t)){const l=[];for(let i=0;i<t.length;i++)l.push(ie(t[i],e,s,n));return l}}function Us(t,e,s,n=!0){const l=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:c}=e&&e.appContext.config||Ct;if(e){let r=e.parent;const d=e.proxy,v=`https://vuejs.org/error-reference/#runtime-${s}`;for(;r;){const f=r.ec;if(f){for(let m=0;m<f.length;m++)if(f[m](t,d,v)===!1)return}r=r.parent}if(i){we(),vs(i,null,10,[t,d,v]),ke();return}}Da(t,s,l,n,c)}function Da(t,e,s,n=!0,l=!1){if(l)throw t;console.error(t)}const Vt=[];let de=-1;const Ue=[];let Ce=null,We=0;const ni=Promise.resolve();let Cs=null;function ja(t){const e=Cs||ni;return t?e.then(this?t.bind(this):t):e}function Pa(t){let e=de+1,s=Vt.length;for(;e<s;){const n=e+s>>>1,l=Vt[n],i=cs(l);i<t||i===t&&l.flags&2?e=n+1:s=n}return e}function Pn(t){if(!(t.flags&1)){const e=cs(t),s=Vt[Vt.length-1];!s||!(t.flags&2)&&e>=cs(s)?Vt.push(t):Vt.splice(Pa(e),0,t),t.flags|=1,li()}}function li(){Cs||(Cs=ni.then(ai))}function Ha(t){if(!ct(t))Ce&&t.id===-1?Ce.splice(We+1,0,t):t.flags&1||(Ue.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)Ue.push(t[e]);li()}function sl(t,e,s=de+1){for(;s<Vt.length;s++){const n=Vt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Vt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function ii(t){if(Ue.length){const e=[...new Set(Ue)].sort((s,n)=>cs(s)-cs(n));if(Ue.length=0,Ce){for(let s=0;s<e.length;s++)Ce.push(e[s]);return}for(Ce=e,We=0;We<Ce.length;We++){const s=Ce[We];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Ce=null,We=0}}const cs=t=>t.id==null?t.flags&2?-1:1/0:t.id;function ai(t){try{for(de=0;de<Vt.length;de++){const e=Vt[de];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),vs(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;de<Vt.length;de++){const e=Vt[de];e&&(e.flags&=-2)}de=-1,Vt.length=0,ii(),Cs=null,(Vt.length||Ue.length)&&ai()}}let te=null,oi=null;function Es(t){const e=te;return te=t,oi=t&&t.type.__scopeId||null,e}function Ra(t,e=te,s){if(!e||t._n)return t;const n=(...l)=>{n._d&&hl(-1);const i=Es(e),c=Re.length;let r;try{r=t(...l)}finally{for(let d=Re.length;d>c;d--)Fi();Es(i),n._d&&hl(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Ks(t,e){if(te===null)return t;const s=Js(te),n=t.dirs||(t.dirs=[]);for(let l=0;l<e.length;l++){let[i,c,r,d=Ct]=e[l];i&&(dt(i)&&(i={mounted:i,updated:i}),i.deep&&$e(c),n.push({dir:i,instance:s,value:c,oldValue:void 0,arg:r,modifiers:d}))}return t}function qe(t,e,s,n){const l=t.dirs,i=e&&e.dirs;for(let c=0;c<l.length;c++){const r=l[c];i&&(r.oldValue=i[c].value);let d=r.dir[n];d&&(we(),ie(d,s,8,[t.el,r,t,e]),ke())}}function Ia(t,e){if(Gt){let s=Gt.provides;const n=Gt.parent&&Gt.parent.provides;n===s&&(s=Gt.provides=Object.create(n)),s[t]=e}}function xs(t,e,s=!1){const n=Ho();if(n||Ke){let l=Ke?Ke._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&&dt(e)?e.call(n&&n.proxy):e}}const Na=Symbol.for("v-scx"),Ba=()=>xs(Na);function ws(t,e,s){return ri(t,e,s)}function ri(t,e,s=Ct){const{immediate:n,deep:l,flush:i,once:c}=s,r=Nt({},s),d=e&&n||!e&&i!=="post";let v;if(ps){if(i==="sync"){const $=Ba();v=$.__watcherHandles||($.__watcherHandles=[])}else if(!d){const $=()=>{};return $.stop=fe,$.resume=fe,$.pause=fe,$}}const f=Gt;r.call=($,q,J)=>ie($,f,q,J);let m=!1;i==="post"?r.scheduler=$=>{zt($,f&&f.suspense)}:i!=="sync"&&(m=!0,r.scheduler=($,q)=>{q?$():Pn($)}),r.augmentJob=$=>{e&&($.flags|=4),m&&($.flags|=2,f&&($.id=f.uid,$.i=f))};const b=La(t,e,r);return ps&&(v?v.push(b):d&&b()),b}function Wa(t,e,s){const n=this.proxy,l=qt(t)?t.includes(".")?ci(n,t):()=>n[t]:t.bind(n,n);let i;dt(e)?i=e:(i=e.handler,s=e);const c=_s(this),r=ri(l,i.bind(n),s);return c(),r}function ci(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 Ua=Symbol("_vte"),Vs=t=>t.__isTeleport,nn=Symbol("_leaveCb");function Ka(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==Me){e=s;break}}return e}function di(t){if(!Rn(t))return Vs(t.type)&&t.children?Ka(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&&dt(s.default))return s.default()}}function Hn(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;Hn(Vs(s.type)&&di(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 jt(t,e){return dt(t)?Nt({name:t.name},e,{setup:t}):t}function ui(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function nl(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const Fs=new WeakMap;function ls(t,e,s,n,l=!1){if(ct(t)){t.forEach((J,tt)=>ls(J,e&&(ct(e)?e[tt]:e),s,n,l));return}if(is(n)&&!l){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ls(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?Js(n.component):n.el,c=l?null:i,{i:r,r:d}=t,v=e&&e.r,f=r.refs===Ct?r.refs={}:r.refs,m=r.setupState,b=xt(m),$=m===Ct?ql:J=>nl(f,J)?!1:wt(b,J),q=(J,tt)=>!(tt&&nl(f,tt));if(v!=null&&v!==d){if(ll(e),qt(v))f[v]=null,$(v)&&(m[v]=null);else if(Ut(v)){const J=e;q(v,J.k)&&(v.value=null),J.k&&(f[J.k]=null)}}if(dt(d))vs(d,r,12,[c,f]);else{const J=qt(d),tt=Ut(d);if(J||tt){const ot=()=>{if(t.f){const D=J?$(d)?m[d]:f[d]:q()||!t.k?d.value:f[t.k];if(l)ct(D)&&Cn(D,i);else if(ct(D))D.includes(i)||D.push(i);else if(J)f[d]=[i],$(d)&&(m[d]=f[d]);else{const N=[i];q(d,t.k)&&(d.value=N),t.k&&(f[t.k]=N)}}else J?(f[d]=c,$(d)&&(m[d]=c)):tt&&(q(d,t.k)&&(d.value=c),t.k&&(f[t.k]=c))};if(c){const D=()=>{ot(),Fs.delete(t)};D.id=-1,Fs.set(t,D),zt(D,s)}else ll(t),ot()}}}function ll(t){const e=Fs.get(t);e&&(e.flags|=8,Fs.delete(t))}Ns().requestIdleCallback;Ns().cancelIdleCallback;const is=t=>!!t.type.__asyncLoader,Rn=t=>t.type.__isKeepAlive;function Va(t,e){pi(t,"a",e)}function Ga(t,e){pi(t,"da",e)}function pi(t,e,s=Gt){const n=t.__wdc||(t.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return t()});if(Gs(e,n,s),s){let l=s.parent;for(;l&&l.parent;)Rn(l.parent.vnode)&&za(n,e,s,l),l=l.parent}}function za(t,e,s,n){const l=Gs(e,t,n,!0);In(()=>{Cn(n[e],l)},s)}function Gs(t,e,s=Gt,n=!1){if(s){const l=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...c)=>{we();const r=_s(s),d=ie(e,s,t,c);return r(),ke(),d});return n?l.unshift(i):l.push(i),i}}const Te=t=>(e,s=Gt)=>{(!ps||t==="sp")&&Gs(t,(...n)=>e(...n),s)},Ya=Te("bm"),Ge=Te("m"),Ja=Te("bu"),Xa=Te("u"),Za=Te("bum"),In=Te("um"),Qa=Te("sp"),to=Te("rtg"),eo=Te("rtc");function so(t,e=Gt){Gs("ec",t,e)}const no=Symbol.for("v-ndc");function $t(t,e,s,n){let l;const i=s,c=ct(t);if(c||qt(t)){const r=c&&Ae(t);let d=!1,v=!1;r&&(d=!ee(t),v=ve(t),t=Ws(t)),l=new Array(t.length);for(let f=0,m=t.length;f<m;f++)l[f]=e(d?v?Oe(se(t[f])):se(t[f]):t[f],f,void 0,i)}else if(typeof t=="number"){l=new Array(t);for(let r=0;r<t;r++)l[r]=e(r+1,r,void 0,i)}else if(Mt(t))if(t[Symbol.iterator])l=Array.from(t,(r,d)=>e(r,d,void 0,i));else{const r=Object.keys(t);l=new Array(r.length);for(let d=0,v=r.length;d<v;d++){const f=r[d];l[d]=e(t[f],f,d,i)}}else l=[];return l}const yn=t=>t?Li(t)?Js(t):yn(t.parent):null,as=Nt(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=>yn(t.parent),$root:t=>yn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>fi(t),$forceUpdate:t=>t.f||(t.f=()=>{Pn(t.update)}),$nextTick:t=>t.n||(t.n=ja.bind(t.proxy)),$watch:t=>Wa.bind(t)}),ln=(t,e)=>t!==Ct&&!t.__isScriptSetup&&wt(t,e),lo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:l,props:i,accessCache:c,type:r,appContext:d}=t;if(e[0]!=="$"){const b=c[e];if(b!==void 0)switch(b){case 1:return n[e];case 2:return l[e];case 4:return s[e];case 3:return i[e]}else{if(ln(n,e))return c[e]=1,n[e];if(l!==Ct&&wt(l,e))return c[e]=2,l[e];if(wt(i,e))return c[e]=3,i[e];if(s!==Ct&&wt(s,e))return c[e]=4,s[e];$n&&(c[e]=0)}}const v=as[e];let f,m;if(v)return e==="$attrs"&&Bt(t.attrs,"get",""),v(t);if((f=r.__cssModules)&&(f=f[e]))return f;if(s!==Ct&&wt(s,e))return c[e]=4,s[e];if(m=d.config.globalProperties,wt(m,e))return m[e]},set({_:t},e,s){const{data:n,setupState:l,ctx:i}=t;return ln(l,e)?(l[e]=s,!0):n!==Ct&&wt(n,e)?(n[e]=s,!0):wt(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}},r){let d;return!!(s[r]||t!==Ct&&r[0]!=="$"&&wt(t,r)||ln(e,r)||wt(i,r)||wt(n,r)||wt(as,r)||wt(l.config.globalProperties,r)||(d=c.__cssModules)&&d[r])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:wt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function il(t){return ct(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let $n=!0;function io(t){const e=fi(t),s=t.proxy,n=t.ctx;$n=!1,e.beforeCreate&&al(e.beforeCreate,t,"bc");const{data:l,computed:i,methods:c,watch:r,provide:d,inject:v,created:f,beforeMount:m,mounted:b,beforeUpdate:$,updated:q,activated:J,deactivated:tt,beforeDestroy:ot,beforeUnmount:D,destroyed:N,unmounted:T,render:I,renderTracked:mt,renderTriggered:pt,errorCaptured:bt,serverPrefetch:Pt,expose:Qt,inheritAttrs:E,components:V,directives:G,filters:L}=e;if(v&&ao(v,n,null),c)for(const F in c){const j=c[F];dt(j)&&(n[F]=j.bind(s))}if(l){const F=l.call(s,s);Mt(F)&&(t.data=ms(F))}if($n=!0,i)for(const F in i){const j=i[F],U=dt(j)?j.bind(s,s):dt(j.get)?j.get.bind(s,s):fe,P=!dt(j)&&dt(j.set)?j.set.bind(s):fe,K=B({get:U,set:P});Object.defineProperty(n,F,{enumerable:!0,configurable:!0,get:()=>K.value,set:Z=>K.value=Z})}if(r)for(const F in r)hi(r[F],n,s,F);if(d){const F=dt(d)?d.call(s):d;Reflect.ownKeys(F).forEach(j=>{Ia(j,F[j])})}f&&al(f,t,"c");function R(F,j){ct(j)?j.forEach(U=>F(U.bind(s))):j&&F(j.bind(s))}if(R(Ya,m),R(Ge,b),R(Ja,$),R(Xa,q),R(Va,J),R(Ga,tt),R(so,bt),R(eo,mt),R(to,pt),R(Za,D),R(In,T),R(Qa,Pt),ct(Qt))if(Qt.length){const F=t.exposed||(t.exposed={});Qt.forEach(j=>{Object.defineProperty(F,j,{get:()=>s[j],set:U=>s[j]=U,enumerable:!0})})}else t.exposed||(t.exposed={});I&&t.render===fe&&(t.render=I),E!=null&&(t.inheritAttrs=E),V&&(t.components=V),G&&(t.directives=G),Pt&&ui(t)}function ao(t,e,s=fe){ct(t)&&(t=xn(t));for(const n in t){const l=t[n];let i;Mt(l)?"default"in l?i=xs(l.from||n,l.default,!0):i=xs(l.from||n):i=xs(l),Ut(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):e[n]=i}}function al(t,e,s){ie(ct(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function hi(t,e,s,n){let l=n.includes(".")?ci(s,n):()=>s[n];if(qt(t)){const i=e[t];dt(i)&&ws(l,i)}else if(dt(t))ws(l,t.bind(s));else if(Mt(t))if(ct(t))t.forEach(i=>hi(i,e,s,n));else{const i=dt(t.handler)?t.handler.bind(s):e[t.handler];dt(i)&&ws(l,i,t)}}function fi(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:l,optionsCache:i,config:{optionMergeStrategies:c}}=t.appContext,r=i.get(e);let d;return r?d=r:!l.length&&!s&&!n?d=e:(d={},l.length&&l.forEach(v=>As(d,v,c,!0)),As(d,e,c)),Mt(e)&&i.set(e,d),d}function As(t,e,s,n=!1){const{mixins:l,extends:i}=e;i&&As(t,i,s,!0),l&&l.forEach(c=>As(t,c,s,!0));for(const c in e)if(!(n&&c==="expose")){const r=oo[c]||s&&s[c];t[c]=r?r(t[c],e[c]):e[c]}return t}const oo={data:ol,props:rl,emits:rl,methods:Qe,computed:Qe,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:Qe,directives:Qe,watch:co,provide:ol,inject:ro};function ol(t,e){return e?t?function(){return Nt(dt(t)?t.call(this,this):t,dt(e)?e.call(this,this):e)}:e:t}function ro(t,e){return Qe(xn(t),xn(e))}function xn(t){if(ct(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 Qe(t,e){return t?Nt(Object.create(null),t,e):e}function rl(t,e){return t?ct(t)&&ct(e)?[...new Set([...t,...e])]:Nt(Object.create(null),il(t),il(e??{})):e}function co(t,e){if(!t)return e;if(!e)return t;const s=Nt(Object.create(null),t);for(const n in e)s[n]=Kt(t[n],e[n]);return s}function mi(){return{app:null,config:{isNativeTag:ql,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 uo=0;function po(t,e){return function(n,l=null){dt(n)||(n=Nt({},n)),l!=null&&!Mt(l)&&(l=null);const i=mi(),c=new WeakSet,r=[];let d=!1;const v=i.app={_uid:uo++,_component:n,_props:l,_container:null,_context:i,_instance:null,version:Uo,get config(){return i.config},set config(f){},use(f,...m){return c.has(f)||(f&&dt(f.install)?(c.add(f),f.install(v,...m)):dt(f)&&(c.add(f),f(v,...m))),v},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),v},component(f,m){return m?(i.components[f]=m,v):i.components[f]},directive(f,m){return m?(i.directives[f]=m,v):i.directives[f]},mount(f,m,b){if(!d){const $=v._ceVNode||Ft(n,l);return $.appContext=i,b===!0?b="svg":b===!1&&(b=void 0),t($,f,b),d=!0,v._container=f,f.__vue_app__=v,Js($.component)}},onUnmount(f){r.push(f)},unmount(){d&&(ie(r,v._instance,16),t(null,v._container),delete v._container.__vue_app__)},provide(f,m){return i.provides[f]=m,v},runWithContext(f){const m=Ke;Ke=v;try{return f()}finally{Ke=m}}};return v}}let Ke=null;const ho=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${ne(e)}Modifiers`]||t[`${Ne(e)}Modifiers`];function fo(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||Ct;let l=s;const i=e.startsWith("update:"),c=i&&ho(n,e.slice(7));c&&(c.trim&&(l=s.map(f=>qt(f)?f.trim():f)),c.number&&(l=l.map(Zi)));let r,d=n[r=Xs(e)]||n[r=Xs(ne(e))];!d&&i&&(d=n[r=Xs(Ne(e))]),d&&ie(d,t,6,l);const v=n[r+"Once"];if(v){if(!t.emitted)t.emitted={};else if(t.emitted[r])return;t.emitted[r]=!0,ie(v,t,6,l)}}const mo=new WeakMap;function vi(t,e,s=!1){const n=s?mo:e.emitsCache,l=n.get(t);if(l!==void 0)return l;const i=t.emits;let c={},r=!1;if(!dt(t)){const d=v=>{const f=vi(v,e,!0);f&&(r=!0,Nt(c,f))};!s&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}return!i&&!r?(Mt(t)&&n.set(t,null),null):(ct(i)?i.forEach(d=>c[d]=null):Nt(c,i),Mt(t)&&n.set(t,c),c)}function zs(t,e){return!t||!Hs(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),wt(t,e[0].toLowerCase()+e.slice(1))||wt(t,Ne(e))||wt(t,e))}function cl(t){const{type:e,vnode:s,proxy:n,withProxy:l,propsOptions:[i],slots:c,attrs:r,emit:d,render:v,renderCache:f,props:m,data:b,setupState:$,ctx:q,inheritAttrs:J}=t,tt=Es(t);let ot,D;try{if(s.shapeFlag&4){const T=l||n,I=T;ot=pe(v.call(I,T,f,m,$,b,q)),D=r}else{const T=e;ot=pe(T.length>1?T(m,{attrs:r,slots:c,emit:d}):T(m,null)),D=e.props?r:vo(r)}}catch(T){Re.length=0,Us(T,t,1),ot=Ft(Me)}let N=ot;if(D&&J!==!1){const T=Object.keys(D),{shapeFlag:I}=N;T.length&&I&7&&(i&&T.some(Rs)&&(D=_o(D,i)),N=Ve(N,D,!1,!0))}if(s.dirs&&(N=Ve(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(s.dirs):s.dirs),s.transition){const T=Vs(N.type)&&di(N)||N;Hn(T,s.transition)}return ot=N,Es(tt),ot}const vo=t=>{let e;for(const s in t)(s==="class"||s==="style"||Hs(s))&&((e||(e={}))[s]=t[s]);return e},_o=(t,e)=>{const s={};for(const n in t)(!Rs(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function go(t,e,s){const{props:n,children:l,component:i}=t,{props:c,children:r,patchFlag:d}=e,v=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return n?dl(n,c,v):!!c;if(d&8){const f=e.dynamicProps;for(let m=0;m<f.length;m++){const b=f[m];if(_i(c,n,b)&&!zs(v,b))return!0}}}else return(l||r)&&(!r||!r.$stable)?!0:n===c?!1:n?c?dl(n,c,v):!0:!!c;return!1}function dl(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)&&!zs(s,i))return!0}return!1}function _i(t,e,s){const n=t[s],l=e[s];return s==="style"&&Mt(n)&&Mt(l)?!Bs(n,l):n!==l}function bo({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={},bi=()=>Object.create(gi),yi=t=>Object.getPrototypeOf(t)===gi;function yo(t,e,s,n=!1){const l={},i=bi();t.propsDefaults=Object.create(null),$i(t,e,l,i);for(const c in t.propsOptions[0])c in l||(l[c]=void 0);s?t.props=n?l:Sa(l):t.type.props?t.props=l:t.props=i,t.attrs=i}function $o(t,e,s,n){const{props:l,attrs:i,vnode:{patchFlag:c}}=t,r=xt(l),[d]=t.propsOptions;let v=!1;if((n||c>0)&&!(c&16)){if(c&8){const f=t.vnode.dynamicProps;for(let m=0;m<f.length;m++){let b=f[m];if(zs(t.emitsOptions,b))continue;const $=e[b];if(d)if(wt(i,b))$!==i[b]&&(i[b]=$,v=!0);else{const q=ne(b);l[q]=wn(d,r,q,$,t,!1)}else $!==i[b]&&(i[b]=$,v=!0)}}}else{$i(t,e,l,i)&&(v=!0);let f;for(const m in r)(!e||!wt(e,m)&&((f=Ne(m))===m||!wt(e,f)))&&(d?s&&(s[m]!==void 0||s[f]!==void 0)&&(l[m]=wn(d,r,m,void 0,t,!0)):delete l[m]);if(i!==r)for(const m in i)(!e||!wt(e,m))&&(delete i[m],v=!0)}v&&ye(t.attrs,"set","")}function $i(t,e,s,n){const[l,i]=t.propsOptions;let c=!1,r;if(e)for(let d in e){if(es(d))continue;const v=e[d];let f;l&&wt(l,f=ne(d))?!i||!i.includes(f)?s[f]=v:(r||(r={}))[f]=v:zs(t.emitsOptions,d)||(!(d in n)||v!==n[d])&&(n[d]=v,c=!0)}if(i){const d=xt(s),v=r||Ct;for(let f=0;f<i.length;f++){const m=i[f];s[m]=wn(l,d,m,v[m],t,!wt(v,m))}}return c}function wn(t,e,s,n,l,i){const c=t[s];if(c!=null){const r=wt(c,"default");if(r&&n===void 0){const d=c.default;if(c.type!==Function&&!c.skipFactory&&dt(d)){const{propsDefaults:v}=l;if(s in v)n=v[s];else{const f=_s(l);n=v[s]=d.call(null,e),f()}}else n=d;l.ce&&l.ce._setProp(s,n)}c[0]&&(i&&!r?n=!1:c[1]&&(n===""||n===Ne(s))&&(n=!0))}return n}const xo=new WeakMap;function xi(t,e,s=!1){const n=s?xo:e.propsCache,l=n.get(t);if(l)return l;const i=t.props,c={},r=[];let d=!1;if(!dt(t)){const f=m=>{d=!0;const[b,$]=xi(m,e,!0);Nt(c,b),$&&r.push(...$)};!s&&e.mixins.length&&e.mixins.forEach(f),t.extends&&f(t.extends),t.mixins&&t.mixins.forEach(f)}if(!i&&!d)return Mt(t)&&n.set(t,Pe),Pe;if(ct(i))for(let f=0;f<i.length;f++){const m=ne(i[f]);ul(m)&&(c[m]=Ct)}else if(i)for(const f in i){const m=ne(f);if(ul(m)){const b=i[f],$=c[m]=ct(b)||dt(b)?{type:b}:Nt({},b),q=$.type;let J=!1,tt=!0;if(ct(q))for(let ot=0;ot<q.length;++ot){const D=q[ot],N=dt(D)&&D.name;if(N==="Boolean"){J=!0;break}else N==="String"&&(tt=!1)}else J=dt(q)&&q.name==="Boolean";$[0]=J,$[1]=tt,(J||wt($,"default"))&&r.push(m)}}const v=[c,r];return Mt(t)&&n.set(t,v),v}function ul(t){return t[0]!=="$"&&!es(t)}const Nn=t=>t==="_"||t==="_ctx"||t==="$stable",Bn=t=>ct(t)?t.map(pe):[pe(t)],wo=(t,e,s)=>{if(e._n)return e;const n=Ra((...l)=>Bn(e(...l)),s);return n._c=!1,n},wi=(t,e,s)=>{const n=t._ctx;for(const l in t){if(Nn(l))continue;const i=t[l];if(dt(i))e[l]=wo(l,i,n);else if(i!=null){const c=Bn(i);e[l]=()=>c}}},ki=(t,e)=>{const s=Bn(e);t.slots.default=()=>s},Mi=(t,e,s)=>{for(const n in e)(s||!Nn(n))&&(t[n]=e[n])},ko=(t,e,s)=>{const n=t.slots=bi();if(t.vnode.shapeFlag&32){const l=e._;l?(Mi(n,e,s),s&&Hl(n,"_",l,!0)):wi(e,n)}else e&&ki(t,e)},Mo=(t,e,s)=>{const{vnode:n,slots:l}=t;let i=!0,c=Ct;if(n.shapeFlag&32){const r=e._;r?s&&r===1?i=!1:Mi(l,e,s):(i=!e.$stable,wi(e,l)),c=e}else e&&(ki(t,e),c={default:1});if(i)for(const r in l)!Nn(r)&&c[r]==null&&delete l[r]},zt=Fo;function So(t){return To(t)}function To(t,e){const s=Ns();s.__VUE__=!0;const{insert:n,remove:l,patchProp:i,createElement:c,createText:r,createComment:d,setText:v,setElementText:f,parentNode:m,nextSibling:b,setScopeId:$=fe,insertStaticContent:q}=t,J=(h,_,g,y=null,M=null,C=null,A=void 0,O=null,w=!!_.dynamicChildren)=>{if(h===_)return;h&&!Je(h,_)&&(y=nt(h),Z(h,M,C,!0),h=null),_.patchFlag===-2&&(w=!1,_.dynamicChildren=null),_.dynamicChildren&&h&&h.dynamicChildren&&h.dynamicChildren.hasOnce&&(_.dynamicChildren===Pe&&(_.dynamicChildren=[]),_.dynamicChildren.hasOnce=!0);const{type:x,ref:Y,shapeFlag:H}=_;switch(x){case Ys:tt(h,_,g,y);break;case Me:ot(h,_,g,y);break;case ks:h==null&&D(_,g,y,A);break;case it:V(h,_,g,y,M,C,A,O,w);break;default:H&1?I(h,_,g,y,M,C,A,O,w):H&6?G(h,_,g,y,M,C,A,O,w):(H&64||H&128)&&x.process(h,_,g,y,M,C,A,O,w,st)}Y!=null&&M?ls(Y,h&&h.ref,C,_||h,!_):Y==null&&h&&h.ref!=null&&ls(h.ref,null,C,h,!0)},tt=(h,_,g,y)=>{if(h==null)n(_.el=r(_.children),g,y);else{const M=_.el=h.el;_.children!==h.children&&v(M,_.children)}},ot=(h,_,g,y)=>{h==null?n(_.el=d(_.children||""),g,y):_.el=h.el},D=(h,_,g,y)=>{[h.el,h.anchor]=q(h.children,_,g,y,h.el,h.anchor)},N=({el:h,anchor:_},g,y)=>{let M;for(;h&&h!==_;)M=b(h),n(h,g,y),h=M;n(_,g,y)},T=({el:h,anchor:_})=>{let g;for(;h&&h!==_;)g=b(h),l(h),h=g;l(_)},I=(h,_,g,y,M,C,A,O,w)=>{if(_.type==="svg"?A="svg":_.type==="math"&&(A="mathml"),h==null)mt(_,g,y,M,C,A,O,w);else{const x=h.el&&h.el._isVueCE?h.el:null;try{x&&x._beginPatch(),Pt(h,_,M,C,A,O,w)}finally{x&&x._endPatch()}}},mt=(h,_,g,y,M,C,A,O)=>{let w,x;const{props:Y,shapeFlag:H,transition:Q,dirs:lt}=h;if(w=h.el=c(h.type,C,Y&&Y.is,Y),H&8?f(w,h.children):H&16&&bt(h.children,w,null,y,M,an(h,C),A,O),lt&&qe(h,null,y,"created"),pt(w,h,h.scopeId,A,y),Y){for(const St in Y)St!=="value"&&!es(St)&&i(w,St,null,Y[St],C,y);"value"in Y&&i(w,"value",null,Y.value,C),(x=Y.onVnodeBeforeMount)&&ce(x,y,h)}lt&&qe(h,null,y,"beforeMount");const gt=Co(M,Q);gt&&Q.beforeEnter(w),n(w,_,g),((x=Y&&Y.onVnodeMounted)||gt||lt)&&zt(()=>{try{x&&ce(x,y,h),gt&&Q.enter(w),lt&&qe(h,null,y,"mounted")}finally{}},M)},pt=(h,_,g,y,M)=>{if(g&&$(h,g),y)for(let C=0;C<y.length;C++)$(h,y[C]);if(M){let C=M.subTree;if(_===C||Ei(C.type)&&(C.ssContent===_||C.ssFallback===_)){const A=M.vnode;pt(h,A,A.scopeId,A.slotScopeIds,M.parent)}}},bt=(h,_,g,y,M,C,A,O,w=0)=>{for(let x=w;x<h.length;x++){const Y=h[x]=O?be(h[x]):pe(h[x]);J(null,Y,_,g,y,M,C,A,O)}},Pt=(h,_,g,y,M,C,A)=>{const O=_.el=h.el;let{patchFlag:w,dynamicChildren:x,dirs:Y}=_;w|=h.patchFlag&16;const H=h.props||Ct,Q=_.props||Ct;let lt;if(g&&Le(g,!1),(lt=Q.onVnodeBeforeUpdate)&&ce(lt,g,_,h),Y&&qe(_,h,g,"beforeUpdate"),g&&Le(g,!0),x&&(!h.dynamicChildren||h.dynamicChildren.length!==x.length)&&(w=0,A=!1,x=null),(H.innerHTML&&Q.innerHTML==null||H.textContent&&Q.textContent==null)&&f(O,""),x?Qt(h.dynamicChildren,x,O,g,y,an(_,M),C):A||j(h,_,O,null,g,y,an(_,M),C,!1),w>0){if(w&16)E(O,H,Q,g,M);else if(w&2&&H.class!==Q.class&&i(O,"class",null,Q.class,M),w&4&&i(O,"style",H.style,Q.style,M),w&8){const gt=_.dynamicProps;for(let St=0;St<gt.length;St++){const kt=gt[St],Lt=H[kt],Ht=Q[kt];(Ht!==Lt||kt==="value")&&i(O,kt,Lt,Ht,M,g)}}w&1&&h.children!==_.children&&f(O,_.children)}else!A&&x==null&&E(O,H,Q,g,M);((lt=Q.onVnodeUpdated)||Y)&&zt(()=>{lt&&ce(lt,g,_,h),Y&&qe(_,h,g,"updated")},y)},Qt=(h,_,g,y,M,C,A)=>{for(let O=0;O<_.length;O++){const w=h[O],x=_[O],Y=w.el&&(w.type===it||!Je(w,x)||w.shapeFlag&198)?m(w.el):g;J(w,x,Y,null,y,M,C,A,!0)}},E=(h,_,g,y,M)=>{if(_!==g){if(_!==Ct)for(const C in _)!es(C)&&!(C in g)&&i(h,C,_[C],null,M,y);for(const C in g){if(es(C))continue;const A=g[C],O=_[C];A!==O&&C!=="value"&&i(h,C,O,A,M,y)}"value"in g&&i(h,"value",_.value,g.value,M)}},V=(h,_,g,y,M,C,A,O,w)=>{const x=_.el=h?h.el:r(""),Y=_.anchor=h?h.anchor:r("");let{patchFlag:H,dynamicChildren:Q,slotScopeIds:lt}=_;lt&&(O=O?O.concat(lt):lt),h==null?(n(x,g,y),n(Y,g,y),bt(_.children||[],g,Y,M,C,A,O,w)):H>0&&H&64&&Q&&h.dynamicChildren&&h.dynamicChildren.length===Q.length?(Qt(h.dynamicChildren,Q,g,M,C,A,O),(_.key!=null||M&&_===M.subTree)&&Si(h,_,!0)):j(h,_,g,Y,M,C,A,O,w)},G=(h,_,g,y,M,C,A,O,w)=>{_.slotScopeIds=O,h==null?_.shapeFlag&512?M.ctx.activate(_,g,y,A,w):L(_,g,y,M,C,A,w):W(h,_,w)},L=(h,_,g,y,M,C,A)=>{const O=h.component=Po(h,y,M);if(Rn(h)&&(O.ctx.renderer=st),Ro(O,!1,A),O.asyncDep){if(M&&M.registerDep(O,R,A),!h.el){const w=O.subTree=Ft(Me);ot(null,w,_,g),h.placeholder=w.el}}else R(O,h,_,g,M,C,A)},W=(h,_,g)=>{const y=_.component=h.component;if(go(h,_,g))if(y.asyncDep&&!y.asyncResolved){_.el=h.el,F(y,_,g);return}else y.next=_,y.update();else _.el=h.el,y.vnode=_},R=(h,_,g,y,M,C,A)=>{const O=()=>{if(h.isMounted){let{next:H,bu:Q,u:lt,parent:gt,vnode:St}=h;{const oe=Ti(h);if(oe){H&&(H.el=St.el,F(h,H,A)),oe.asyncDep.then(()=>{zt(()=>{h.isUnmounted||x()},M)});return}}let kt=H,Lt;Le(h,!1),H?(H.el=St.el,F(h,H,A)):H=St,Q&&Zs(Q),(Lt=H.props&&H.props.onVnodeBeforeUpdate)&&ce(Lt,gt,H,St),Le(h,!0);const Ht=cl(h),ae=h.subTree;h.subTree=Ht,J(ae,Ht,m(ae.el),nt(ae),h,M,C),H.el=Ht.el,kt===null&&bo(h,Ht.el),lt&&zt(lt,M),(Lt=H.props&&H.props.onVnodeUpdated)&&zt(()=>ce(Lt,gt,H,St),M)}else{let H;const{el:Q,props:lt}=_,{bm:gt,m:St,parent:kt,root:Lt,type:Ht}=h,ae=is(_);Le(h,!1),gt&&Zs(gt),!ae&&(H=lt&<.onVnodeBeforeMount)&&ce(H,kt,_),Le(h,!0);{Lt.ce&&Lt.ce._hasShadowRoot()&&Lt.ce._injectChildStyle(Ht,h.parent?h.parent.type:void 0);const oe=h.subTree=cl(h);J(null,oe,g,y,h,M,C),_.el=oe.el}if(St&&zt(St,M),!ae&&(H=lt&<.onVnodeMounted)){const oe=_;zt(()=>ce(H,kt,oe),M)}(_.shapeFlag&256||kt&&is(kt.vnode)&&kt.vnode.shapeFlag&256)&&h.a&&zt(h.a,M),h.isMounted=!0,_=g=y=null}};h.scope.on();const w=h.effect=new Bl(O);h.scope.off();const x=h.update=w.run.bind(w),Y=h.job=w.runIfDirty.bind(w);Y.i=h,Y.id=h.uid,w.scheduler=()=>Pn(Y),Le(h,!0),x()},F=(h,_,g)=>{_.component=h;const y=h.vnode.props;h.vnode=_,h.next=null,$o(h,_.props,y,g),Mo(h,_.children,g),we(),sl(h),ke()},j=(h,_,g,y,M,C,A,O,w=!1)=>{const x=h&&h.children,Y=h?h.shapeFlag:0,H=_.children,{patchFlag:Q,shapeFlag:lt}=_;if(Q>0){if(Q&128){P(x,H,g,y,M,C,A,O,w);return}else if(Q&256){U(x,H,g,y,M,C,A,O,w);return}}lt&8?(Y&16&&ht(x,M,C),H!==x&&f(g,H)):Y&16?lt&16?P(x,H,g,y,M,C,A,O,w):ht(x,M,C,!0):(Y&8&&f(g,""),lt&16&&bt(H,g,y,M,C,A,O,w))},U=(h,_,g,y,M,C,A,O,w)=>{h=h||Pe,_=_||Pe;const x=h.length,Y=_.length,H=Math.min(x,Y);let Q;for(Q=0;Q<H;Q++){const lt=_[Q]=w?be(_[Q]):pe(_[Q]);J(h[Q],lt,g,null,M,C,A,O,w)}x>Y?ht(h,M,C,!0,!1,H):bt(_,g,y,M,C,A,O,w,H)},P=(h,_,g,y,M,C,A,O,w)=>{let x=0;const Y=_.length;let H=h.length-1,Q=Y-1;for(;x<=H&&x<=Q;){const lt=h[x],gt=_[x]=w?be(_[x]):pe(_[x]);if(Je(lt,gt))J(lt,gt,g,null,M,C,A,O,w);else break;x++}for(;x<=H&&x<=Q;){const lt=h[H],gt=_[Q]=w?be(_[Q]):pe(_[Q]);if(Je(lt,gt))J(lt,gt,g,null,M,C,A,O,w);else break;H--,Q--}if(x>H){if(x<=Q){const lt=Q+1,gt=lt<Y?_[lt].el:y;for(;x<=Q;)J(null,_[x]=w?be(_[x]):pe(_[x]),g,gt,M,C,A,O,w),x++}}else if(x>Q)for(;x<=H;)Z(h[x],M,C,!0),x++;else{const lt=x,gt=x,St=new Map;for(x=gt;x<=Q;x++){const Xt=_[x]=w?be(_[x]):pe(_[x]);Xt.key!=null&&St.set(Xt.key,x)}let kt,Lt=0;const Ht=Q-gt+1;let ae=!1,oe=0;const ze=new Array(Ht);for(x=0;x<Ht;x++)ze[x]=0;for(x=lt;x<=H;x++){const Xt=h[x];if(Lt>=Ht){Z(Xt,M,C,!0);continue}let re;if(Xt.key!=null)re=St.get(Xt.key);else for(kt=gt;kt<=Q;kt++)if(ze[kt-gt]===0&&Je(Xt,_[kt])){re=kt;break}re===void 0?Z(Xt,M,C,!0):(ze[re-gt]=x+1,re>=oe?oe=re:ae=!0,J(Xt,_[re],g,null,M,C,A,O,w),Lt++)}const Gn=ae?Eo(ze):Pe;for(kt=Gn.length-1,x=Ht-1;x>=0;x--){const Xt=gt+x,re=_[Xt],zn=_[Xt+1],Yn=Xt+1<Y?zn.el||Ci(zn):y;ze[x]===0?J(null,re,g,Yn,M,C,A,O,w):ae&&(kt<0||x!==Gn[kt]?K(re,g,Yn,2):kt--)}}},K=(h,_,g,y,M=null)=>{const{el:C,type:A,transition:O,children:w,shapeFlag:x}=h;if(x&6){K(h.component.subTree,_,g,y);return}if(x&128){h.suspense.move(_,g,y);return}if(x&64){A.move(h,_,g,st);return}if(A===it){n(C,_,g);for(let H=0;H<w.length;H++)K(w[H],_,g,y);n(h.anchor,_,g);return}if(A===ks){N(h,_,g);return}if(y!==2&&x&1&&O)if(y===0)O.persisted&&!C[nn]?n(C,_,g):(O.beforeEnter(C),n(C,_,g),zt(()=>O.enter(C),M));else{const{leave:H,delayLeave:Q,afterLeave:lt}=O,gt=()=>{h.ctx.isUnmounted?l(C):n(C,_,g)},St=()=>{const kt=C._isLeaving||!!C[nn];C._isLeaving&&C[nn](!0),O.persisted&&!kt?gt():H(C,()=>{gt(),lt&<()})};Q?Q(C,gt,St):St()}else n(C,_,g)},Z=(h,_,g,y=!1,M=!1)=>{const{type:C,props:A,ref:O,children:w,dynamicChildren:x,shapeFlag:Y,patchFlag:H,dirs:Q,cacheIndex:lt,memo:gt}=h;if((H===-2||x&&x.hasOnce)&&(M=!1),O!=null&&(we(),ls(O,null,g,h,!0),ke()),lt!=null&&(!h.ctx||h.ctx===_)&&(_.renderCache[lt]=void 0),Y&256){_.ctx.deactivate(h);return}const St=Y&1&&Q,kt=!is(h);let Lt;if(kt&&(Lt=A&&A.onVnodeBeforeUnmount)&&ce(Lt,_,h),Y&6)at(h.component,g,y);else{if(Y&128){h.suspense.unmount(g,y);return}St&&qe(h,null,_,"beforeUnmount"),Y&64?h.type.remove(h,_,g,st,y):x&&!x.hasOnce&&(C!==it||H>0&&H&64)?ht(x,_,g,!1,!0):(C===it&&H&384||!M&&Y&16)&&ht(w,_,g),y&&et(h)}const Ht=gt!=null&<==null;(kt&&(Lt=A&&A.onVnodeUnmounted)||St||Ht)&&zt(()=>{Lt&&ce(Lt,_,h),St&&qe(h,null,_,"unmounted"),Ht&&(h.el=null)},g)},et=h=>{const{type:_,el:g,anchor:y,transition:M}=h;if(_===it){z(g,y);return}if(_===ks){T(h),M&&!M.persisted&&M.afterLeave&&M.afterLeave();return}const C=()=>{l(g),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(h.shapeFlag&1&&M&&!M.persisted){const{leave:A,delayLeave:O}=M,w=()=>A(g,C);O?O(h.el,C,w):w()}else C()},z=(h,_)=>{let g;for(;h!==_;)g=b(h),l(h),h=g;l(_)},at=(h,_,g)=>{const{bum:y,scope:M,job:C,subTree:A,um:O,m:w,a:x}=h;pl(w),pl(x),y&&Zs(y),M.stop(),C?(C.flags|=8,Z(A,h,_,g)):h.vnode.el&&A&&(A.transition=h.vnode.transition,Z(A,h,_,g)),O&&zt(O,_),zt(()=>{h.isUnmounted=!0},_)},ht=(h,_,g,y=!1,M=!1,C=0)=>{for(let A=C;A<h.length;A++)Z(h[A],_,g,y,M)},nt=h=>{if(h.shapeFlag&6)return nt(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const _=b(h.anchor||h.el),g=_&&_[Ua];return g?b(g):_};let vt=!1;const ft=(h,_,g)=>{let y;h==null?_._vnode&&(Z(_._vnode,null,null,!0),y=_._vnode.component):J(_._vnode||null,h,_,null,null,null,g),_._vnode=h,vt||(vt=!0,sl(y),ii(),vt=!1)},st={p:J,um:Z,m:K,r:et,mt:L,mc:bt,pc:j,pbc:Qt,n:nt,o:t};return{render:ft,hydrate:void 0,createApp:po(ft)}}function an({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 Le({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Co(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Si(t,e,s=!1){const n=t.children,l=e.children;if(ct(n)&&ct(l))for(let i=0;i<n.length;i++){const c=n[i];let r=l[i];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=l[i]=be(l[i]),r.el=c.el),!s&&r.patchFlag!==-2&&Si(c,r)),r.type===Ys&&(r.patchFlag===-1&&(r=l[i]=be(r)),r.el=c.el),r.type===Me&&!r.el&&(r.el=c.el)}}function Eo(t){const e=t.slice(),s=[0];let n,l,i,c,r;const d=t.length;for(n=0;n<d;n++){const v=t[n];if(v!==0){if(l=s[s.length-1],t[l]<v){e[n]=l,s.push(n);continue}for(i=0,c=s.length-1;i<c;)r=i+c>>1,t[s[r]]<v?i=r+1:c=r;v<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 Ti(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Ti(e)}function pl(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Ci(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Ci(e.subTree):null}const Ei=t=>t.__isSuspense;function Fo(t,e){e&&e.pendingBranch?ct(t)?e.effects.push(...t):e.effects.push(t):Ha(t)}const it=Symbol.for("v-fgt"),Ys=Symbol.for("v-txt"),Me=Symbol.for("v-cmt"),ks=Symbol.for("v-stc"),Re=[];let Zt=null;function k(t=!1){Re.push(Zt=t?null:[])}function Fi(){Re.pop(),Zt=Re[Re.length-1]||null}let ds=1;function hl(t,e=!1){ds+=t,t<0&&Zt&&e&&(Zt.hasOnce=!0)}function Ai(t){return t.dynamicChildren=ds>0?Zt||Pe:null,Fi(),ds>0&&Zt&&Zt.push(t),t}function S(t,e,s,n,l,i){return Ai(a(t,e,s,n,l,i,!0))}function Dt(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 Je(t,e){return t.type===e.type&&t.key===e.key}const qi=({key:t})=>t??null,Ms=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?qt(t)||Ut(t)||dt(t)?{i:te,r:t,k:e,f:!!s}:t:null);function a(t,e=null,s=null,n=0,l=null,i=t===it?0:1,c=!1,r=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&qi(e),ref:e&&Ms(e),scopeId:oi,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:te};return r?(Os(d,s),i&128&&t.normalize(d)):s&&(d.shapeFlag|=qt(s)?8:16),ds>0&&!c&&Zt&&(d.patchFlag>0||i&6)&&d.patchFlag!==32&&Zt.push(d),d}const Ft=Ao;function Ao(t,e=null,s=null,n=0,l=null,i=!1){if((!t||t===no)&&(t=Me),Oi(t)){const r=Ve(t,e,!0);return s&&Os(r,s),ds>0&&!i&&Zt&&(r.shapeFlag&6?Zt[Zt.indexOf(t)]=r:Zt.push(r)),r.patchFlag=-2,r}if(Wo(t)&&(t=t.__vccOpts),e){e=Oo(e);let{class:r,style:d}=e;r&&!qt(r)&&(e.class=Wt(r)),Mt(d)&&(jn(d)&&!ct(d)&&(d=Nt({},d)),e.style=It(d))}const c=qt(t)?1:Ei(t)?128:Vs(t)?64:Mt(t)?4:dt(t)?2:0;return a(t,e,s,n,l,c,i,!0)}function Oo(t){return t?jn(t)||yi(t)?Nt({},t):t:null}function Ve(t,e,s=!1,n=!1){const{props:l,ref:i,patchFlag:c,children:r,transition:d}=t,v=e?Lo(l||{},e):l,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:v,key:v&&qi(v),ref:e&&e.ref?s&&i?ct(i)?i.concat(Ms(e)):[i,Ms(e)]:Ms(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:r,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==it?c===-1?16:c|16:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:d,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ve(t.ssContent),ssFallback:t.ssFallback&&Ve(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce,cacheIndex:t.cacheIndex};return d&&n&&Hn(f,d.clone(f)),f}function rt(t=" ",e=0){return Ft(Ys,null,t,e)}function qo(t,e){const s=Ft(ks,null,t);return s.staticCount=e,s}function _t(t="",e=!1){return e?(k(),Dt(Me,null,t)):Ft(Me,null,t)}function pe(t){return t==null||typeof t=="boolean"?Ft(Me):ct(t)?Ft(it,null,t.slice()):Oi(t)?be(t):Ft(Ys,null,String(t))}function be(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ve(t)}function Os(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ct(e))s=16;else if(typeof e=="object")if(n&65){const l=e.default;l&&(l._c&&(l._d=!1),Os(t,l()),l._c&&(l._d=!0));return}else{s=32;const l=e._;!l&&!yi(e)?e._ctx=te:l===3&&te&&(te.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(dt(e)){if(n&65){Os(t,{default:e});return}e={default:e,_ctx:te},s=32}else e=String(e),n&64?(s=16,e=[rt(e)]):s=8;t.children=e,t.shapeFlag|=s}function Lo(...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=Wt([e.class,n.class]));else if(l==="style")e.style=It([e.style,n.style]);else if(Hs(l)){const i=e[l],c=n[l];c&&i!==c&&!(ct(i)&&i.includes(c))?e[l]=i?[].concat(i,c):c:c==null&&i==null&&!Rs(l)&&(e[l]=c)}else l!==""&&(e[l]=n[l])}return e}function ce(t,e,s,n=null){ie(t,e,7,[s,n])}const Do=mi();let jo=0;function Po(t,e,s){const n=t.type,l=(e?e.appContext:t.appContext)||Do,i={uid:jo++,vnode:t,type:n,parent:e,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new oa(!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:xi(n,l),emitsOptions:vi(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=fo.bind(null,i),t.ce&&t.ce(i),i}let Gt=null;const Ho=()=>Gt||te;let qs,us;{const t=Ns(),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)}};qs=e("__VUE_INSTANCE_SETTERS__",s=>Gt=s),us=e("__VUE_SSR_SETTERS__",s=>ps=s)}const _s=t=>{const e=Gt;return qs(t),t.scope.on(),()=>{t.scope.off(),qs(e)}},fl=()=>{Gt&&Gt.scope.off(),qs(null)};function Li(t){return t.vnode.shapeFlag&4}let ps=!1;function Ro(t,e=!1,s=!1){e&&us(e);const{props:n,children:l}=t.vnode,i=Li(t);yo(t,n,i,e),ko(t,l,s||e);const c=i?Io(t,e):void 0;return e&&us(!1),c}function Io(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,lo);const{setup:n}=s;if(n){we();const l=t.setupContext=n.length>1?Bo(t):null,i=_s(t),c=vs(n,t,0,[t.props,l]),r=Ll(c);if(ke(),i(),(r||t.sp)&&!is(t)&&ui(t),r){if(c.then(fl,fl),e)return c.then(d=>{us(!0);try{ml(t,d,e)}finally{us(!1)}}).catch(d=>{Us(d,t,0)});t.asyncDep=c}else ml(t,c)}else Di(t)}function ml(t,e,s){dt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Mt(e)&&(t.setupState=si(e)),Di(t)}function Di(t,e,s){const n=t.type;t.render||(t.render=n.render||fe);{const l=_s(t);we();try{io(t)}finally{ke(),l()}}}const No={get(t,e){return Bt(t,"get",""),t[e]}};function Bo(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,No),slots:t.slots,emit:t.emit,expose:e}}function Js(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(si(Ta(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in as)return as[s](t)},has(e,s){return s in e||s in as}})):t.proxy}function Wo(t){return dt(t)&&"__vccOpts"in t}const B=(t,e)=>Oa(t,e,ps),Uo="3.5.43";/**
- * @vue/runtime-dom v3.5.43
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let kn;const vl=typeof window<"u"&&window.trustedTypes;if(vl)try{kn=vl.createPolicy("vue",{createHTML:t=>t})}catch{}const ji=kn?t=>kn.createHTML(t):t=>t,Ko="http://www.w3.org/2000/svg",Vo="http://www.w3.org/1998/Math/MathML",ge=typeof document<"u"?document:null,_l=ge&&ge.createElement("template"),Go={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"?ge.createElementNS(Ko,t):e==="mathml"?ge.createElementNS(Vo,t):s?ge.createElement(t,{is:s}):ge.createElement(t);return t==="select"&&n&&n.multiple!=null&&l.setAttribute("multiple",n.multiple),l},createText:t=>ge.createTextNode(t),createComment:t=>ge.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ge.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{_l.innerHTML=ji(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const r=_l.content;if(n==="svg"||n==="mathml"){const d=r.firstChild;for(;d.firstChild;)r.appendChild(d.firstChild);r.removeChild(d)}e.insertBefore(r,s)}return[c?c.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},zo=Symbol("_vtc");function Yo(t,e,s){const n=t[zo];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ls=Symbol("_vod"),Pi=Symbol("_vsh"),Jo={name:"show",beforeMount(t,{value:e},{transition:s}){t[Ls]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):Xe(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),Xe(t,!0),n.enter(t)):n.leave(t,()=>{Xe(t,!1)}):Xe(t,e))},beforeUnmount(t,{value:e}){Xe(t,e)}};function Xe(t,e){t.style.display=e?t[Ls]:"none",t[Pi]=!e}const Xo=Symbol(""),Zo=/(?:^|;)\s*display\s*:/;function Qo(t,e,s){const n=t.style,l=qt(s);let i=!1;if(s&&!l){if(e)if(qt(e))for(const c of e.split(";")){const r=c.slice(0,c.indexOf(":")).trim();s[r]==null&&ts(n,r,"")}else for(const c in e)s[c]==null&&ts(n,c,"");for(const c in s){c==="display"&&(i=!0);const r=s[c];r!=null?er(t,c,!qt(e)&&e?e[c]:void 0,r)||ts(n,c,r):ts(n,c,"")}}else if(l){if(e!==s){const c=n[Xo];c&&(s+=";"+c),n.cssText=s,i=Zo.test(s)}}else e&&t.removeAttribute("style");Ls in t&&(t[Ls]=i?n.display:"",t[Pi]&&(n.display="none"))}const $s=/\s*!important$/;function ts(t,e,s){if(ct(s))s.forEach(n=>ts(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))$s.test(s)?t.setProperty(e,s.replace($s,""),"important"):t.setProperty(e,s);else{const n=tr(t,e);$s.test(s)?t.setProperty(Ne(n),s.replace($s,""),"important"):t[n]=s}}const gl=["Webkit","Moz","ms"],on={};function tr(t,e){const s=on[e];if(s)return s;let n=ne(e);if(n!=="filter"&&n in t)return on[e]=n;n=Pl(n);for(let l=0;l<gl.length;l++){const i=gl[l]+n;if(i in t)return on[e]=i}return e}function er(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&qt(n)&&s===n}const bl="http://www.w3.org/1999/xlink";function yl(t,e,s,n,l,i=la(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(bl,e.slice(6,e.length)):t.setAttributeNS(bl,e,s):s==null||i&&!Rl(s)?t.removeAttribute(e):t.setAttribute(e,i?"":me(s)?String(s):s)}function $l(t,e,s,n,l){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?ji(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const r=i==="OPTION"?t.getAttribute("value")||"":t.value,d=s==null?t.type==="checkbox"?"on":"":String(s);(r!==d||!("_value"in t))&&(t.value=d),s==null&&t.removeAttribute(e),t._value=s;return}let c=!1;if(s===""||s==null){const r=typeof t[e];r==="boolean"?s=Rl(s):s==null&&r==="string"?(s="",c=!0):r==="number"&&(s=0,c=!0)}try{t[e]=s}catch{}c&&t.removeAttribute(l||e)}function sr(t,e,s,n){t.addEventListener(e,s,n)}function nr(t,e,s,n){t.removeEventListener(e,s,n)}const xl=Symbol("_vei");function lr(t,e,s,n,l=null){const i=t[xl]||(t[xl]={}),c=i[e];if(n&&c)c.value=n;else{const[r,d]=or(e);if(n){const v=i[e]=dr(n,l);sr(t,r,v,d)}else c&&(nr(t,r,c,d),i[e]=void 0)}}const ir=/(Once|Passive|Capture)$/,ar=/^on:?(?:Once|Passive|Capture)$/;function or(t){let e,s;for(;(s=t.match(ir))&&!ar.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):Ne(t.slice(2)),e]}let rn=0;const rr=Promise.resolve(),cr=()=>rn||(rr.then(()=>rn=0),rn=Date.now());function dr(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const l=s.value;if(ct(l)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const c=l.slice(),r=[n];for(let d=0;d<c.length&&!n._stopped;d++){const v=c[d];v&&ie(v,e,5,r)}}else ie(l,e,5,[n])};return s.value=t,s.attached=cr(),s}const wl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ur=(t,e,s,n,l,i)=>{const c=l==="svg";e==="class"?Yo(t,n,c):e==="style"?Qo(t,s,n):Hs(e)?Rs(e)||lr(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):pr(t,e,n,c))?($l(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&yl(t,e,n,c,i,e!=="value")):t._isVueCE&&(hr(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!qt(n)))?$l(t,ne(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),yl(t,e,n,c))};function pr(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&wl(e)&&dt(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 wl(e)&&qt(s)?!1:e in t}function hr(t,e){const s=t._def.props;if(!s)return!1;const n=ne(e);return Array.isArray(s)?s.some(l=>ne(l)===n):Object.keys(s).some(l=>ne(l)===n)}const fr=Nt({patchProp:ur},Go);let kl;function mr(){return kl||(kl=So(fr))}const vr=((...t)=>{const e=mr().createApp(...t),{mount:s}=e;return e.mount=n=>{const l=gr(n);if(!l)return;const i=e._component;!dt(i)&&!i.render&&!i.template&&(i.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const c=s(l,!1,_r(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),c},e});function _r(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function gr(t){return qt(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 Ri(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 cn=["facts","maintSurvey","ontList","askStatus","channels","dqFindings","algoHealth","algoEndpoints","algoMatrix","algoReliability","algoPurity"],br={class:"card"},yr={class:"hint"},$r=["disabled"],xr={class:"hint"},wr=jt({__name:"ContractSmoke",setup(t){const e=At([]),s=At(!1),n=At(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 cn){const r=await Ri(c);e.value.push({name:c,path:r.path,ok:r.ok,status:r.status,ms:r.ms,keys:l(r.data),error:r.error}),n.value+=1}s.value=!1}return Ge(i),(c,r)=>(k(),S("section",br,[r[3]||(r[3]=a("h2",null,[rt("契约自检 "),a("small",null,"(后端结构与算法服务可达性;对拍基准见 docs/接口契约_前后端_v0.1.md)")],-1)),a("p",yr,[rt(" 进度 "+p(n.value)+"/"+p(u(cn).length)+' · 只判"通不通",不比数据值(值随数据变,锚点在 Python 侧的门禁里) ',1),a("button",{class:"re",disabled:s.value,onClick:i},"重跑",8,$r)]),a("table",null,[r[0]||(r[0]=a("thead",null,[a("tr",null,[a("th",null,"接口"),a("th",null,"路径"),a("th",null,"状态"),a("th",null,"耗时"),a("th",null,"顶层键 / 形状")])],-1)),a("tbody",null,[(k(!0),S(it,null,$t(e.value,d=>(k(),S("tr",{key:d.name,class:Wt({bad:!d.ok})},[a("td",null,p(d.name),1),a("td",null,[a("code",null,p(d.path),1)]),a("td",null,p(d.status),1),a("td",null,p(d.ms)+" ms",1),a("td",null,p(d.error||d.keys),1)],2))),128))])]),a("p",xr,[rt(" 契约登记接口合计 "+p(Object.keys(u(Hi)).length)+" 条(本页抽样 "+p(u(cn).length)+" 条); 全量 42 条由 ",1),r[1]||(r[1]=a("code",null,"python scripts/http_contract_audit.py",-1)),r[2]||(r[2]=rt(" 在线复核。 ",-1))])]))}}),kr={"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":"结束日期(含)","tab.documents":"交付文档","tab.recalc":"数据重算","doc.eyebrow":"交付文档","doc.loading":"正在读取交付文档…","doc.head":"交付文档 ({n})","doc.note":"交付文档随包提供;下载后可离线查阅。","doc.name":"文档","doc.size":"大小","doc.get":"获取","doc.download":"下载","rc.eyebrow":"数据重算","rc.loading":"正在读取重算状态…","rc.running":"重算进行中","rc.idle":"当前空闲","rc.note":"重算链按步执行;本页每 5 秒刷新状态与日志尾部。","rc.since":"开始于","rc.start":"开始重算","rc.log":"重算日志(尾部)","rc.empty":"(暂无日志)","tab.portal":"门户栏目","pt.eyebrow":"门户栏目","pt.head":"重构前门户上的栏目(已迁移 / 可达)","pt.note":"总览、振动·CMS、交付文档、数据重算已迁为页签;系统架构/方法/经验发现/案例·液压 见「架构与资料」页签;下列两项为在线服务入口。","pt.col":"栏目","pt.what":"说明","pt.open":"打开","pt.kind_portal":"门户存档页(release/portal.html 经网关 /portal 伺服)","pt.kind_svc":"在线服务(经网关)","tab.portal_sec":"架构与资料","ps.eyebrow":"系统架构 · 方法 · 经验发现 · 案例·液压","ps.missing":"该节内容未抽取到(请检查 v2.9.2 门户原文)。","tab.portal_src":"门户","pv.eyebrow":"观澜门户(Vue 装配 · v2.9.2 原文外壳与内嵌件)","pv.loading":"正在装配门户(外壳 + 内嵌件)…","pv.assembled":"门户已装配:内嵌件 {n} 件(外壳与内嵌件均取自 v2.9.2 原文)"};function o(t,e){let s=kr[t]??t;if(e)for(const[n,l]of Object.entries(e))s=s.split(`{${n}}`).join(String(l));return s}const Mr=["overview","energy","component","vibration","generation","fault","decision","assistant","report","system","documents","recalc","portal_sec","portal_src"],dn=["overview","energy","component","fault","vibration","generation","decision","assistant","system","report","documents","recalc","portal_sec","portal_src"],Sr={class:"eyebrow"},Tr={key:0,class:"panel"},Cr={class:"small",style:{color:"var(--critical)"}},Er={key:1,class:"panel"},Fr={class:"small muted"},Ar={class:"panel mb"},Or={class:"small muted"},qr={class:"panel mb"},Lr={class:"tblwrap"},Dr={style:{"margin-top":"4px"}},jr={style:{width:"60%"}},Pr={style:{width:"16%"}},Hr={style:{width:"24%"}},Rr={class:"small"},Ir={class:"small num"},Nr={class:"small"},Br=["href","download"],Wr=jt({__name:"Documents",setup(t){const e=At(null),s=At(""),n=l=>l>=1048576?(l/1048576).toFixed(1)+" MB":Math.max(1,Math.round(l/1024))+" KB";return Ge(async()=>{try{const i=await(await fetch("/api/delivery_docs")).json();i&&i.error?s.value=String(i.error):e.value=i&&i.docs||[]}catch(l){s.value=String(l&&l.message||l)}}),(l,i)=>(k(),S("section",null,[a("div",Sr,p(u(o)("doc.eyebrow")),1),s.value?(k(),S("div",Tr,[a("p",Cr,p(s.value),1)])):e.value?(k(),S(it,{key:2},[a("div",Ar,[a("h3",null,p(u(o)("doc.head",{n:e.value.length})),1),a("p",Or,p(u(o)("doc.note")),1)]),a("div",qr,[a("div",Lr,[a("table",Dr,[a("tr",null,[a("th",jr,p(u(o)("doc.name")),1),a("th",Pr,p(u(o)("doc.size")),1),a("th",Hr,p(u(o)("doc.get")),1)]),(k(!0),S(it,null,$t(e.value,c=>(k(),S("tr",{key:c.name},[a("td",Rr,p(c.name),1),a("td",Ir,p(n(c.size||0)),1),a("td",Nr,[a("a",{href:c.url,download:c.name},p(u(o)("doc.download")),9,Br)])]))),128))])])])],64)):(k(),S("div",Er,[a("p",Fr,p(u(o)("doc.loading")),1)]))]))}}),Ur={class:"eyebrow"},Kr={key:0,class:"panel"},Vr={class:"small",style:{color:"var(--critical)"}},Gr={key:1,class:"panel"},zr={class:"small muted"},Yr={class:"panel mb"},Jr={class:"small muted"},Xr={key:0,class:"small"},Zr=["disabled"],Qr={class:"panel mb"},tc={class:"small",style:{"max-height":"340px",overflow:"auto",margin:"0"}},ec=jt({__name:"Recalc",setup(t){const e=At(null),s=At(""),n=At(!1);let l=null;const i=async()=>{try{const r=await fetch("/api/recalc");e.value=await r.json()}catch(r){s.value=String(r&&r.message||r)}},c=async()=>{n.value=!0;try{await fetch("/api/recalc_start",{method:"POST"}),await i()}catch(r){s.value=String(r&&r.message||r)}finally{n.value=!1}};return Ge(()=>{i(),l=setInterval(i,5e3)}),In(()=>{l&&clearInterval(l)}),(r,d)=>(k(),S("section",null,[a("div",Ur,p(u(o)("rc.eyebrow")),1),s.value?(k(),S("div",Kr,[a("p",Vr,p(s.value),1)])):e.value?(k(),S(it,{key:2},[a("div",Yr,[a("h3",null,p(e.value.running?u(o)("rc.running"):u(o)("rc.idle")),1),a("p",Jr,p(u(o)("rc.note")),1),e.value.started_at?(k(),S("p",Xr,[rt(p(u(o)("rc.since"))+" ",1),a("code",null,p(e.value.started_at),1)])):_t("",!0),a("button",{class:"pill",disabled:n.value||e.value.running,onClick:c},p(u(o)("rc.start")),9,Zr)]),a("div",Qr,[a("h3",null,p(u(o)("rc.log")),1),a("pre",tc,p(e.value.log||u(o)("rc.empty")),1)])],64)):(k(),S("div",Gr,[a("p",zr,p(u(o)("rc.loading")),1)]))]))}}),sc={class:"eyebrow"},nc={class:"panel mb"},lc={class:"small muted"},ic={class:"panel mb"},ac={class:"tblwrap"},oc={style:{"margin-top":"4px"}},rc={style:{width:"22%"}},cc={style:{width:"56%"}},dc={class:"small"},uc={class:"small muted"},pc={class:"small"},hc=["href"],fc=jt({__name:"Portal",setup(t){const e=[{id:"sim",label:"仿真",href:"/sim/",note:"仿真与回放(仿真台 18791)",kind:"svc"},{id:"admin",label:"状态",href:"/ops",note:"系统状态(运维台)",kind:"svc"},{id:"classic",label:"经典",href:"/web/detail_v2.html",note:"经典版页面(v2.9.2 原文原样:布局/样式/字体/图文表一致)",kind:"svc"}];return(s,n)=>(k(),S("section",null,[a("div",sc,p(u(o)("pt.eyebrow")),1),a("div",nc,[a("h3",null,p(u(o)("pt.head")),1),a("p",lc,p(u(o)("pt.note")),1)]),a("div",ic,[a("div",ac,[a("table",oc,[a("tr",null,[a("th",rc,p(u(o)("pt.col")),1),a("th",cc,p(u(o)("pt.what")),1),a("th",null,p(u(o)("pt.open")),1)]),(k(),S(it,null,$t(e,l=>a("tr",{key:l.id},[a("td",dc,[a("b",null,p(l.note),1)]),a("td",uc,p(l.kind==="portal"?u(o)("pt.kind_portal"):u(o)("pt.kind_svc")),1),a("td",pc,[a("a",{href:l.href},p(u(o)("pt.open")),9,hc)])])),64))])])])]))}}),mc=`</div><div class="pg" id="architecture" data-title="系统架构"><section class="hero"><div class="wrap"><div class="kicker">技术白皮书 · 系统架构</div><h1>从证据分析到处置建议</h1><p class="lead">五个相连的系统层:保留来源身份、落位设备上下文、检验机制、准备可问责的决定,并从检修结果中学习。</p></div></section>
- <section><div class="wrap"><div class="chips"><span class="chip">十分钟 SCADA</span><span class="chip">秒级数据</span><span class="chip">CMS</span><span class="chip">报警</span><span class="chip">工单</span><span class="chip">油样与检查</span><span class="chip">技术文档</span></div>
- <div class="rail" style="--n:5;margin-top:26px"><div class="node"><i>01</i><b>数据地基</b><small>每条记录能被辨识和解释吗?</small></div><div class="node"><i>02</i><b>设备本体</b><small>每条记录指向哪个物理对象与配置?</small></div><div class="node on"><i>03</i><b>证据引擎</b><small>证据支持某个具体机制吗?</small></div><div class="node"><i>04</i><b>决策服务</b><small>现在有什么动作是有依据的?</small></div><div class="node"><i>05</i><b>检修学习</b><small>动作改变了预期指标吗?</small></div></div>
- <div class="grid g2" style="margin-top:22px"><div class="callout"><b>验证过的现场结果</b> → 本体 + 证据史 → 下一轮分析</div><div class="callout warn"><b>必需证据缺失</b> → 点名采集任务 → 停止升级</div></div>
- <p class="sub" style="margin-top:12px">身份、来源完整性或必需证据未解决时,系统失败关闭;验证过的检修结果成为可复用的证据。</p></div></section>
- <section><div class="wrap"><div class="kicker">01 · 数据地基 · 登记与契约</div><h2>每条记录能被辨识和解释吗?</h2><div class="grid g2" style="margin-top:14px"><div class="card"><p>保留原始证据,定义每个通道:登记来源位置、指纹、时间覆盖与格式,不改原文件;十分钟与秒级数据核单位、采样间隔、时间戳、哨兵值、通道活性与运行状态。</p></div><div class="card"><div class="k">输出</div><p>来源登记簿、通道定义、可用时段与排除项。</p></div></div></div></section><section><div class="wrap"><div class="kicker">02 · 设备本体 · 落位</div><h2>每条记录指向哪个物理对象与配置?</h2><div class="grid g2" style="margin-top:14px"><div class="card"><p>通过受控的工程图谱连接证据:资产、系统、总成、部件、测点与通道、告警、规程、工单、文档相连;机型、配置、有效期与来源约束每一条映射,含糊的对象停在未分配。</p></div><div class="card"><div class="k">输出</div><p>按机型限定的设备对象、带类型的关系与出处。</p></div></div></div></section><section><div class="wrap"><div class="kicker">03 · 证据引擎 · 检验机制</div><h2>证据支持某个具体机制吗?</h2><div class="grid g2" style="margin-top:14px"><div class="card"><p>先验测量链与物理界,再比较绝对水平、同工况机群残差、变化、分布形状与合格谱证据;证据族分开,相互矛盾的记录保持可见。</p></div><div class="card"><div class="k">输出</div><p>有界的发现、疑似机制、支持证据、矛盾项,或「需更多数据」。</p></div></div></div></section><section><div class="wrap"><div class="kicker">04 · 决策服务 · 限定动作</div><h2>现在有什么动作是有依据的?</h2><div class="grid g2" style="margin-top:14px"><div class="card"><p>写一个可问责的决定对象:状态、机制、置信、后果、选项、责任人、到期日与闭合证据放在一起;系统准备监视/计划/动作三种选项,授权工程师批准现场与高成本动作。</p></div><div class="card"><div class="k">输出</div><p>可审阅的决定、批准人与执行边界。</p></div></div></div></section><section><div class="wrap"><div class="kicker">05 · 检修学习 · 验证与复用</div><h2>动作改变了预期指标吗?</h2><div class="grid g2" style="margin-top:14px"><div class="card"><p>工作包写明部件、规程、检查点与必需记录;检修后在同工况下比较同一指标,改善支持闭合,无改善则重开机制;验证过的结果挂回本体,供下一个相似案例。</p></div><div class="card"><div class="k">输出</div><p>现场记录、修后比较、闭合或重开的调查。</p></div></div></div></section>
- <section><div class="wrap"><div class="kicker">受保护的内容</div><h2>资产专属参考保持在受保护工作区内</h2><p class="sub">特征频率、业主与场站标识、私有技术文档与台级证据留在受保护工作区;公开图只展示架构。</p></div></section>
- </div>`,vc=`</div><div class="pg" id="method" data-title="方法"><section class="hero"><div class="wrap"><div class="kicker">工程方法</div><h1>六步分析与决策依据</h1><p class="lead">观澜把运行数据、设备上下文与检修历史连在一起,不隐藏不确定性。每个结果保留来源、时段与下一步验证。</p></div></section>
- <section><div class="wrap"><div class="kicker">输入</div><h2>十分钟 SCADA + 秒级数据</h2><div class="grid g3"><div class="card"><div class="k">十分钟 SCADA</div><h3>运行状态、热行为、负荷与机群比较</h3><p></p></div><div class="card"><div class="k">秒级数据</div><h3>快速暂态、控制响应与事件序列</h3><p></p></div><div class="card"><div class="k">CMS</div><h3>状态监测标量与合格谱</h3><p></p></div><div class="card"><div class="k">报警</div><h3>码按适用的整机厂码表解析</h3><p></p></div><div class="card"><div class="k">检修</div><h3>工单、检查、油样与换件</h3><p></p></div><div class="card"><div class="k">技术来源</div><h3>按机型限定的图纸、手册、规程与配置记录</h3><p></p></div></div>
- <div class="callout" style="margin-top:16px">单位、采样间隔、时间戳、哨兵值与通道活性在使用前核验。<b>有这一列不等于有活信号。</b></div></div></section>
- <section><div class="wrap"><div class="kicker">执行路径</div><h2>六步</h2><div class="rail" style="--n:6"><div class="node"><i>01</i><b>登记</b><small>来源:指纹与覆盖</small></div><div class="node"><i>02</i><b>落位</b><small>身份:机型与配置</small></div><div class="node"><i>03</i><b>验证</b><small>测量:单位、时间与活性</small></div><div class="node"><i>04</i><b>比较</b><small>状态:绝对与同工况对照</small></div><div class="node on"><i>05</i><b>检验</b><small>机制:支持与矛盾</small></div><div class="node"><i>06</i><b>发布</b><small>决定:动作、责任人与闭合</small></div></div></div></section>
- <section><div class="wrap"><div class="kicker">四道控制</div><h2>诊断结论的验证要求</h2><div class="grid g4"><div class="card"><div class="k">01</div><h3>先验测量链</h3><p>算特征之前先查静态偏置、缺失或默认值、时间戳对齐与真实采样行为。</p></div><div class="card"><div class="k">02</div><h3>匹配状态与时段</h3><p>同工况、同证据窗比较;检修与配置变更开启新时段。</p></div><div class="card"><div class="k">03</div><h3>证据保持独立</h3><p>同一传感器的多个特征仍是一族证据;共享预处理或共同测量链不构成互证。</p></div><div class="card"><div class="k">04</div><h3>缺必需证据就停</h3><p>缺必需证据只产出"需更多数据",点名采集任务,禁止升级到更强的结论。</p></div></div></div></section>
- <section><div class="wrap"><div class="kicker">决定与检修</div><h2>从发现到验证过的现场结果</h2><div class="grid g3"><div class="card"><div class="k">发现</div><h3>陈述状态</h3><p>部件、疑似机制、幅度、证据、矛盾与置信。</p></div><div class="card"><div class="k">决定</div><h3>选择 监视 / 计划 / 动作</h3><p>给出后果、选项、责任人、到期日、批准与闭合证据。</p></div><div class="card"><div class="k">现场结果</div><h3>看变了什么</h3><p>同工况下比较同一指标;闭合、继续或重开机制。</p></div></div><div class="callout" style="margin-top:16px">系统准备可审阅的工作范围与闭合所需证据;<b>不签发工作许可</b>,授权工程师批准现场与高成本动作。</div></div></section>
- <section><div class="wrap"><div class="kicker">边界保持可见</div><h2>记录决定边界</h2><div class="grid g2"><div class="card"><div class="k">十分钟数据</div><h3>分不开秒级作用的机制</h3><p>秒级数据改善时序证据,但本身不建立因果。</p></div><div class="card"><div class="k">相对偏差</div><h3>只是筛查结果</h3><p>直到有绝对物理量与适用边界支持为止。</p></div><div class="card"><div class="k">无确认阳性的阈值</div><h3>可排序、可筛查</h3><p>不能确认诊断。</p></div><div class="card"><div class="k">语言模型</div><h3>解释受控对象并引用记录</h3><p>不能发明关系、补缺输入或批准检修。</p></div></div></div></section>
- </div>`,_c=`</div><div class="pg" id="findings" data-title="经验发现"><section class="hero"><div class="wrap"><div class="kicker">现场经验</div><h1>现场经验与工程判断</h1><p class="lead">在 1.5 到 6 MW 机群上的工作,形成了一套鉴定证据、检验机制、支持检修决定的实用方法。</p><div class="chips"><span class="chip ev">59 项内部检查 → 8 条公开教训</span></div></div></section>
- <section><div class="wrap"><div class="grid g4"><div class="card"><div class="k">分析足迹</div><h3>60+ 个风场</h3><p>陆上 + 海上</p></div><div class="card"><div class="k">容量范围</div><h3>1.5–6 MW</h3><p></p></div><div class="card"><div class="k">架构</div><h3>双馈 · 直驱 · 半直驱</h3><p></p></div><div class="card"><div class="k">平台</div><h3>远景 · 金风 · 明阳 · 西门子</h3><p></p></div></div><p class="sub" style="margin-top:12px">项目身份、业主、场站、机组标识与资产专属诊断参数不公开。</p></div></section>
- <section><div class="wrap"><div class="kicker">八条反复出现的教训</div><h2>会改变工程结论的检查</h2><div class="grid g4" style="margin-top:14px"><div class="card"><div class="k">A · 采样</div><h3>让样本匹配问题</h3><p>比较机组或机群之前,先声明独立单位、聚合层级、对照组、分母与时间窗。</p></div><div class="card"><div class="k">B · 归因</div><h3>要机制,也要时间顺序</h3><p>共现与相关只能筛查假设;因果归因还需要物理机制、预期方向与事件级先后。</p></div><div class="card"><div class="k">C · 测量</div><h3>先验测量链</h3><p>有值的字段、固定偏置或安静的通道未必是活信号;先查单位、时间戳、采样、哨兵、偏置与传感器状态。</p></div><div class="card"><div class="k">D · 聚合</div><h3>先保留事件再汇总</h3><p>平均会抹掉极端、持续时长与受影响比例;出机群统计前先看点级形状、缺口与边界。</p></div><div class="card"><div class="k">E · 判据</div><h3>写明每条判据的适用域</h3><p>单位、阈值、方差、运行状态、控制时长、必需输入与边界附近的情形都随结果一起给出。</p></div><div class="card"><div class="k">F · 守护</div><h3>验证守护真的在跑</h3><p>文档里的检查在触发条件与生产调用路径确认前不提供任何保护,且失败必须可见。</p></div><div class="card"><div class="k">G · 管线</div><h3>让检查器失败来测它</h3><p>向隔离的样例注入已知错误,证明真实入口拒绝它,再恢复有效输入证明通过。</p></div><div class="card"><div class="k">H · 决定</div><h3>筛查与动作分开</h3><p>技术发现只有在范围、不确定性、后果、选项、责任人与批准明确后,才成为检修决定。</p></div></div></div></section>
- <section><div class="wrap"><div class="kicker">经验怎么用</div><h2>从异常发现到检修建议</h2><div class="rail" style="--n:3"><div class="node"><i>01</i><b>鉴定证据</b><small>现有数据能支持什么、不能支持什么、哪项检查补上缺口</small></div><div class="node"><i>02</i><b>落位设备上下文</b><small>通过本体映射到正确的机型、配置、部件、测点与疑似机制</small></div><div class="node on"><i>03</i><b>准备决定</b><small>给出监视/计划/动作选项、后果、现场范围、必需记录、批准人与闭合证据</small></div></div>
- <div class="callout" style="margin-top:22px"><b>经验边界。</b>经验横跨陆上与海上;换环境或换不熟悉的配置,复用任何判据或结论前都要重新验证控制、测量链、部件结构与运行制度。</div></div></section>
- <section id="contract-claims" data-contract="362a00a7649889ea79c3df3108c8b21f439da2537c93af8517da5bd92c855bba" data-version="v0"><div class="wrap"><div class="kicker">本场结论 · 契约生成</div><h2>定论与准定论·预警 (0 条)</h2><p class="sub">由结构化事实契约 362a00a7649889ea 渲染 (共 6 条); 数据、时间窗、结论只经契约更新, 本段禁手改 (release-manifest.content_contract)。</p><div style="overflow:auto"><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>系统</th><th>窗 (天)</th></tr></table></div><h2 style="margin-top:22px">候选 · 参考 · 证据不足 (6 条, 按系统)</h2><details><summary>报警面 · 1 条 (候选 1)</summary><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>缺项</th></tr><tr><td><code>RD-LEDGER-ALM-01</code></td><td>候选</td><td>报警集中: WTG08 5148 条(机群中位 616 条的 8.4 倍)</td><td>报警条数不等于缺陷严重度: 单码抖动(同一码反复报)会抬高条数; 未做同码基线归一。</td></tr></table></details><details><summary>传动链 · 1 条 (候选 1)</summary><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>缺项</th></tr><tr><td><code>RD-LEDGER-WO-01</code></td><td>候选</td><td>重复检修: WTG33 的「偏航单元」累计 81 次(窗内)</td><td>检修台账记录的是"做过什么", 不等于"坏过几次": 同一部件的例行检查也会计次; 未做计划性/故障性停机区分(缺 work_type 字段)。</td></tr></table></details><details><summary>发电量 · 1 条 (参考 1)</summary><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>缺项</th></tr><tr><td><code>RD-LEDGER-LOSS-01</code></td><td>参考</td><td>停机损失集中: WTG05 占全场停机损失 10%(2,874 MWh, 全场停机 29,368 MWh)</td><td>损失是"损失了多少电", 不是"为什么损失"; 含调度令停机(非缺陷)与限电, 需与故障类分开看。</td></tr></table></details><details><summary>温度面 · 1 条 (候选 1)</summary><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>缺项</th></tr><tr><td><code>RD-LEDGER-TEMP-01</code></td><td>候选</td><td>温度相对离群: WTG01 的 tmp_wtc_TrafoTMa_mean 在 3750.0 功率档偏离机群中位 18.0K(工况窗 ref)</td><td>同工况中位比对的是"机群", 若全机群共因升温和(环境/冷却水温)则判据失效; 未接绝对限值(无 ISO/厂商温度锚)。</td></tr></table></details><details><summary>发电量, 功率曲线 · 1 条 (参考 1)</summary><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>缺项</th></tr><tr><td><code>RD-LEDGER-PC-01</code></td><td>参考</td><td>功率曲线偏离: WTG03 同风速下功率偏差 -147 kW(判别: 风速计偏高候选(A类)); 全场判别分布 {'欠发候选(筛查级)': 3, '风速计偏高候选(A类)': 1}</td><td>同风速残差受机位风资源(尾流/扇区)影响; 未做机位修正, 故只作"待核"不作缺陷结论。</td></tr></table></details><details><summary>振动面 · 1 条 (候选 1)</summary><table><tr><th>claim</th><th>裁决</th><th>结论</th><th>缺项</th></tr><tr><td><code>RD-LEDGER-VIB-01</code></td><td>候选</td><td>振动面过闸线: 3 条特征线达「候选」及以上(13#·hs_rotor·BPFO(外圈), 35#·hs_rotor·BPFO(外圈), 6#·hs_rotor·BPFO(外圈))</td><td>机制未定 ⇒ **不命名部件**(滚道/圈侧须实物或换件闭环); 峰值拾取为本器口径(目标频率 ±2 bin 取最大), 无正样本锚 ⇒ 封顶「候选」, 不出「</td></tr></table></details><h2 style="margin-top:22px">已撤回 (0 条)</h2><ul></ul></div></section><!--/contract-claims--></div>`,gc=`</div><div class="pg" id="case_hydraulic" data-title="案例·液压"><section class="hero"><div class="wrap"><div class="kicker">发现案例 · 系统① 液压 · 变桨回路与高速轴制动回路</div><h1>八台机组变桨蓄能器失效</h1><p class="lead">如东海上 38 台 SWT-4.0-130。通过泵加载特征评估 70 号蓄能器储能能力,形成逐台复核与处置建议。证据状态以各项记录为准。</p>
- <div class="chips"><span class="chip s gd">健康 26 台</span><span class="chip s al">气容丧失 8 台</span><span class="chip s ob">边界 / 参数侧 5 台</span><span class="chip ev">证据窗 运行 → 2026-07-07</span><span class="chip ev">已处置 1 台 (4#) · 恢复基准待核对</span></div></div></section>
- <section><div class="wrap"><div class="kicker">01 · 问</div><h2>评估对象、监测量与适用条件</h2><div class="grid g5"><div class="card"><div class="k">系统</div><h3>液压 · 变桨回路</h3><p>一个油箱、两条回路:变桨大站 400 L / 245 bar,HS 制动器由大站经 P BRAKE 分出。</p></div><div class="card"><div class="k">监测量</div><h3>泵单次加载输出量 V_cyc</h3><p>加载时长 × 排量 36.8 L/min,来自 10-min 与秒级 SCADA 的泵启停信号。</p></div><div class="card"><div class="k">方向</div><h3>V_cyc 降低:单次进油量减少</h3><p>蓄能器气容丧失后,每次加载只能推进很少的油。</p></div><div class="card"><div class="k">评估限制</div><h3>缺 Δp 或未逐台落值</h3><p>横坐标缺失的台不外推;档案给组区间的台按区间画,不当单点。</p></div><div class="card"><div class="k">缺失资料</div><h3>轮毂 106 号无连续通道</h3><p>只能靠机组自检容量检查记录(235 bar 起测)。</p></div></div></div></section>
- <section><div class="wrap"><div class="kicker">02 · 证</div><h2>两组蓄能器,分工完全不同,判据只对 70 号有效</h2><div class="grid g2"><div class="card"><div class="k">70 号 · 泵站近端缓冲</div><h3>10 L / 180 bar</h3><p>活塞式,经 ø7 节流直连泵压主管,全额参与蓄能循环;A 类失效全在此件。系统总容变按仿真标定式分解:C = C管路 + C70 + 0.095·C106;预充 180 bar 由 38 台实测容变反算证实 (0.0839 ≈ 实测 0.087 L/bar)。</p></div><div class="card"><div class="k">106 号 · 轮毂顺桨主源</div><h3>6 × 30 L / 125 bar</h3><p>无连续 SCADA 通道,经长管 + 旋转接头 + 118 单向阀,对蓄能循环仅弱耦合 (系数 0.095)。有自检容量检查可查;最近记录 140 bar @20 ℃ = 正常。</p></div></div>
- <div class="grid g2" style="margin-top:16px"><div class="card"><div class="k">健康 · 26 台</div><h3>3.1 – 7.2 L</h3><p>全部机群带中位 4.4 L。独立核验:按变桨活动带标定的仿真健康点 4.9 L 落在带内,与中位差 12%,仿真结果与运行统计对照;独立性需另行核查。同期泵周期 96 s、加载 6 次/10 min、带宽 50 bar、油温 38 ℃、超压 0%。</p></div><div class="card"><div class="k">气容丧失 · 8 台</div><h3>0.52 L</h3><p>A 类中位 0.85 秒,为健康中位的 1/8.5。本质是系统总容变 C 由 0.087 塌到 0.0037 L/bar = 23 倍(剩下的只有纯管路柔度)。8# 实测同期:周期 2.6 s、加载 228 次/10 min、带宽 135、油温 51 ℃、超压占时 98.3%。</p></div></div></div></section>
- <section><div class="wrap"><div class="kicker">03 · 裁</div><h2>失效机理与鉴别依据</h2><div class="grid g3"><div class="card"><div class="k">阶跃变化的机理解释</div><h3>循环尖峰 → 铁片抬升 → 118 单向阀闭 → 轮毂 106 退出循环</h3><p>C 直接塌到纯管路 ≈0.003(对齐 8# 实测 0.0037)。一旦越过这个连锁点,指标阶跃下落,没有中间态。</p></div><div class="card"><div class="k">为什么不是漏油</div><h3>外漏只增每循环消耗,不改系统容变 C</h3><p>25# 泵输出 1.46× 而容变 C 仍在健康区 0.62 ⇒ 主导因素在消耗侧,先查漏点。但 C 已非满值,不能断言蓄能器完好,该台已补"同次测预充"。</p></div><div class="card"><div class="k">为什么不是泵磨损</div><h3>排量下降会拉长单次加载而不改频次</h3><p>实测 8# 是频次由 6 升到 228 次/10 min(38×)且单次时长反缩短,该特征不支持单独以泵磨损解释,仍需结合现场检查。</p></div></div><div class="callout" style="margin-top:16px">口径边界:反算出的 C 绝对值依赖假定排量 36.8 L/min;分型与健康带用的是实测 V_cyc,不受此影响。</div></div></section>
- <section><div class="wrap"><div class="kicker">04 · 分型</div><h2>V_cyc × Δp 二维判别:分型与处置参考</h2><div class="grid g4"><div class="card"><div class="k">右下</div><h3>换 70 号蓄能器</h3><p>压力波动范围扩大,单次进油量降低。7#、10#、8#、3#、20#、2#、35#。</p></div><div class="card"><div class="k">右上</div><h3>不换蓄能器</h3><p>压力波动范围扩大,但单次进油量保持 ⟹ 漏油或参数。25#。</p></div><div class="card"><div class="k">左上</div><h3>正常 · 30 台</h3><p>Δp 锁定 52,进油量满。</p></div><div class="card"><div class="k">左下 / 未落值</div><h3>参数侧 · 先测</h3><p>Δp 过窄属参数侧;Δp 未落值的台横坐标无处安放,未测 ≠ 正常。7#、10# 档案无 Δp,不因缺少坐标而取消现场复核。</p></div></div></div></section>
- <section><div class="wrap"><div class="kicker">05 · 改</div><h2>逐台处置建议</h2><table><tr><th>台</th><th>V_cyc (L/次) 原 → 现</th><th>Δp</th><th>判别</th><th>处置</th></tr><tr><td>7#</td><td class="n">9.61 → 1.8</td><td>—</td><td>气容丧失 · 全场衰减最快</td><td>换 70 号蓄能器</td></tr><tr><td>10#</td><td class="n">2.9 → 0.47</td><td>—</td><td>气容丧失 · 最新一起阶跃下降</td><td>换 70 号蓄能器</td></tr><tr><td>3# / 20# / 2# / 35#</td><td class="n">0.47–0.63 (组区间)</td><td>宽</td><td>气容丧失 · 档案未逐台落值</td><td>换 70 号蓄能器 (逐台落值后下单)</td></tr><tr><td>8#</td><td class="n">1.45 → 0.5</td><td>宽</td><td>气容丧失 · 频次 6 → 228 次/10 min</td><td>换 70 号蓄能器</td></tr><tr><td>21# / 28# / 19#</td><td class="n">0.98 / 1.15 / 0.52</td><td>宽</td><td>边界台</td><td>先测预充定型, 再定</td></tr><tr><td>25#</td><td class="n">4.33</td><td>宽 (泵输出 1.46×)</td><td>漏油或参数, 不是蓄能器</td><td>先现场核, 不换蓄能器</td></tr><tr><td>14# / 32#</td><td class="n">3.4–4.4 (健康带内)</td><td>窄</td><td>压力带宽问题</td><td>参数侧核</td></tr><tr><td>4#</td><td class="n">0.53 → 4.84</td><td>—</td><td>已处置 · 恢复基准待核对</td><td>验收:核对基准后同工况复核</td></tr></table><div class="callout warn" style="margin-top:14px">备件:70 号蓄能器 物资编码 A9B10051506(10 L / 180 bar 活塞式),编码取自备件系统「物资编码」字段;库存列表无导出日期,下单前必核 ERP 现存量,禁按本表采购。凡标「件号待确认」的条目,采购前联系现场核实。</div></div></section>
- <section><div class="wrap"><div class="kicker">06 · 顺桨安全</div><h2>顺桨储能与自检证据</h2><div class="grid g3"><div class="card"><div class="k">70 号失效</div><h3>SCADA 循环特征变化明显</h3><p>失电顺桨主源是轮毂 106(103 → 121 路),70 号不在此路。数据窗内 4 次全场停电全部安全顺桨、零超速。</p></div><div class="card"><div class="k">106 失氮(假设情形)</div><h3>SCADA 循环指标识别能力有限</h3><p>循环侧只有中度变化(吞吐约 2 L),与个体基线难分辨;能看见它的只有机组自检容量检查(UP03284 组,从轮毂 235 bar 起测)。后果最重:失电顺桨失去能量源。</p></div><div class="card"><div class="k">两者同时失效</div><h3>SCADA 上与单独 70 号失效不可分辨</h3><p>而实际后果是顺桨失败 ⇒ 不能仅凭 SCADA 排除液压失效。两套监测互补、同时关注。</p></div></div><div class="callout" style="margin-top:16px">将现有自检记录按月归档,用于跟踪 106 号蓄能器的容量变化。</div></div></section>
- <section><div class="wrap"><div class="kicker">07 · 量</div><h2>修后验证</h2><div class="grid g3"><div class="card"><div class="k">同工况复核</div><h3>同一指标 V_cyc,同一变桨活动带</h3><p>4# 已处置:0.53 → 4.84 L。4.84 L 低于此处所列 5.0–11.7 L 下限,与页面另一处 3.1–7.2 L 基准不一致。须核对工况与基准来源,当前不能据此确认修后恢复。</p></div><div class="card"><div class="k">阴性对照</div><h3>换蓄能器不该改变能量产出</h3><p>4# 换件在 E1 阴性对照池中(优化窗 22 天 < 28 → INSUFFICIENT,未出数),不夸大收益。</p></div><div class="card"><div class="k">记录归档</div><h3>工单 → 复核 → 台账</h3><p>每台的处置进检修任务,复核结果挂回本体;106 号自检记录进月度台账。</p></div></div><div class="chips" style="margin-top:14px"></div><p class="sub" style="margin-top:12px">依据:U6_变桨液压仿真台(SWT-4.0-130,图纸 1034384 / 1034386;参数标定自本场 38 台实测与原厂图纸,2026-08-13 现场证实)。本页数字全部来自《如东_液压系统治理清单_v1.2》,未重跑。<a href="#sim" data-nav="sim">仿真台在"仿真与回放"页可交互 →</a></p></div></section>
- </div>`,bc={class:"eyebrow"},yc={class:"panel mb",style:{display:"flex",gap:"8px","flex-wrap":"wrap"}},$c=["onClick"],xc={key:0,class:"panel"},wc={class:"small muted"},kc=["innerHTML"],Mc=jt({__name:"PortalSections",setup(t){const e=[{id:"architecture",label:"系统架构",html:mc},{id:"method",label:"方法",html:vc},{id:"findings",label:"经验发现",html:_c},{id:"case_hydraulic",label:"案例·液压",html:gc}],s=At("architecture"),n=B(()=>(e.find(i=>i.id===s.value)||e[0]).html),l=B(()=>!n.value);return(i,c)=>(k(),S("section",null,[a("div",bc,p(u(o)("ps.eyebrow")),1),a("div",yc,[(k(),S(it,null,$t(e,r=>a("button",{key:r.id,class:Wt(["pill",{on:r.id===s.value}]),onClick:d=>s.value=r.id},p(r.label),11,$c)),64))]),l.value?(k(),S("div",xc,[a("p",wc,p(u(o)("ps.missing")),1)])):(k(),S("div",{key:1,class:"ps-embed",innerHTML:n.value},null,8,kc))]))}}),Sc={class:"portal-full"},Tc={key:0,class:"portal-loading"},un="/web/portal/",Cc=jt({__name:"PortalView",setup(t){const e=At(null),s=At("loading"),n=At("");async function l(i){const c=await fetch(i);if(!c.ok)throw new Error(i+" "+c.status);return await c.text()}return Ge(async()=>{try{let i=await l(un+"shell.html");const c=i.match(/<title[^>]*>([^<]*)<\/title>/i);c&&c[1].trim()&&(document.title=c[1].trim());const r=Array.from(i.matchAll(/<!--@TEMPLATE:([^>]+?)-->/g)).map(f=>f[1]),d=await Promise.all(r.map(async f=>{try{return await l(un+"templates/"+encodeURIComponent(f)+".html")}catch{return""}}));r.forEach((f,m)=>{i=i.replace("<!--@TEMPLATE:"+f+"-->",d[m])});try{const f=await l(un+"governance_sources.json");i=i.replace("<!--@GOVERNANCE_SOURCES-->",'<script type="application/json" id="__governance_sources">'+f.replace(/</g,"\\u003c")+"<\/script>")}catch{}i=i.replace(/href="[^"]*\/detail\/v2[^"]*"/g,'href="#workbench"'),i=i.replace(/href="[^"]*\/v2[^"]*"/g,'href="#workbench"'),n.value=o("pv.assembled",{n:r.length});const v=new Blob([i],{type:"text/html;charset=utf-8"});e.value&&(e.value.src=URL.createObjectURL(v)),s.value="ready"}catch(i){n.value=String(i&&i.message||i),s.value="error"}}),(i,c)=>(k(),S("div",Sc,[s.value!=="ready"?(k(),S("div",Tc,p(s.value==="loading"?u(o)("pv.loading"):n.value),1)):_t("",!0),c[0]||(c[0]=a("a",{class:"portal-wb",href:"#workbench",title:"切换到 Vue 工作台"},"工作台",-1)),a("iframe",{ref_key:"frame",ref:e,class:"portal-frame",title:"观澜门户"},null,512)]))}}),Ii=(t,e)=>{const s=t.__vccOpts||t;for(const[n,l]of e)s[n]=l;return s},Ni=Ii(Cc,[["__scopeId","data-v-7046e038"]]),Ec={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},Fc={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"},Ds=t=>Ec[String(t)]||Fc[String(t)],Ml={证据:"evidence",机制:"mechanism",判级:"rating",排期:"schedule",动作:"action",验收:"acceptance"},Mn=t=>"st."+(t==="ex"?"excellent":t),Ot=t=>String(t).replace("WTG","").replace(/^0/,"")+"#",Tt=(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})},Sl=t=>{const e=Ds(t);return e?o(Mn(e)):String(t??"")},Ac=["振动","温度","润滑","油液","报警","工单"];function Tl(t){const e=Ac.map(n=>Ds((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 Cl={bad:"critical",warn:"warning",unk:"unknown",ok:"good",ex:"excellent"},Se=t=>String(t??""),Wn=["叶片与叶根","变桨","偏航","齿轮箱","发电机","主轴承","变流器","塔架与基础","主控与传感网"],js={叶片与叶根:"blade",变桨:"pitch",偏航:"yaw",齿轮箱:"gearbox",发电机:"generator",主轴承:"main_bearing",变流器:"converter",塔架与基础:"tower",主控与传感网:"control",主轴:"main_bearing",其他:"other"},Bi=(()=>{const t={};for(const e of Wn)t[js[e]]=e;for(const[e,s]of Object.entries(js))s in t||(t[s]=e);return t})(),Ps=t=>js[String(t)]||String(t),El=t=>Bi[String(t)]||String(t),xe=t=>{const e=js[String(t)]||String(t);return Bi[e]?o("sys."+e):String(t??"")},hs=t=>xe(t),Oc={key:0},qc={class:"small"},Lc={href:"#tab=component","data-back":"1"},Dc={class:"panel mb"},jc={style:{display:"flex",height:"12px","border-radius":"4px",overflow:"hidden",margin:"8px 0 4px"}},Pc={class:"small muted"},Hc={class:"tblwrap"},Rc={style:{width:"74px"}},Ic={class:"r",style:{width:"96px"}},Nc=["href"],Bc={class:"small"},Wc={class:"r"},Uc=["href"],Kc={key:0,class:"panel mb"},Vc={style:{cursor:"pointer","font-weight":"600"}},Gc={class:"tblwrap"},zc={style:{"margin-top":"10px"}},Yc={style:{width:"74px"}},Jc={class:"small"},Xc={key:1,class:"panel"},Zc={class:"small"},Qc={key:0},td={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},ed={class:"eyebrow"},sd={class:"panel mb"},nd={style:{display:"grid","grid-template-columns":"repeat(auto-fit,minmax(170px,1fr))",gap:"10px"}},ld=["data-sys"],id={class:"t"},ad={class:"bar"},od=["innerHTML"],rd={class:"small muted",style:{"margin-top":"8px"}},cd={key:1,class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},dd={class:"small"},ud={class:"eyebrow"},pd={class:"panel mb"},hd={class:"small muted",style:{"font-weight":"400"}},fd={class:"small muted",style:{margin:"-2px 0 8px"}},md={class:"tblwrap"},vd={class:"r"},_d={class:"r"},gd={class:"r"},bd={class:"r"},yd={key:0,class:"badge"},$d={class:"num small"},xd={class:"r"},wd={class:"r"},kd={class:"r"},Md={class:"r"},Sd={class:"small"},Td={class:"small muted"},Cd={key:3,class:"panel mb"},Ed={class:"small"},Fd={href:"#tab=vibration"},Ad={class:"eyebrow"},Od={class:"panel mb"},qd={class:"tblwrap"},Ld={class:"r"},Dd=["href"],jd={class:"r"},Pd=["innerHTML"],Hd={class:"small"},Rd=jt({__name:"Component",props:{d:{},sys:{}},setup(t){const e=t,s=B(()=>e.d?.sysdist||{}),n=B(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),l=B(()=>e.sys?El(e.sys):null),i=B(()=>Wn.filter(f=>s.value[f]).map(f=>{const m=s.value[f],b=m.报警||0,$=m.不可判||0,q=Object.values(m).reduce((tt,ot)=>tt+ot,0)||1,J=b>=8?"var(--critical)":b>=3?"var(--warning)":b?"var(--accent)":"var(--good)";return{segs:[["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]].filter(([tt])=>m[tt]).map(([tt,ot])=>({col:ot,w:(m[tt]/q*100).toFixed(1)})),line:o("cmp.alarm_n",{a:`<b style="color:${J}">${b}</b>`})+($?o("cmp.unk_n",{u:$}):"")+o("cmp.fleet_n",{n:q}),s:f,dist:m,a:b,u:$,N:q,col:J}}));function c(f){return(f.syss||[]).map(m=>`<a href="/problem/${f.t}/${encodeURIComponent(El(m)||m)}">${xe(m)}</a>`).join(" · ")}const r=B(()=>{const m=(((e.d?.control||{}).energy||{}).items||[]).filter(b=>b.k==="停机").map(b=>b.h)[0];return m??null}),d=B(()=>{const f=n.value?.表||[],m=Math.max(1,...f.map(b=>b.停机时长h));return f.map(b=>({r:b,maxH:m,sev:b.部件==="无记录停机"?"var(--unknown)":b.外部?"var(--accent)":b.占停机>=.06?"var(--critical)":b.占停机>=.03?"var(--warning)":"var(--good)"}))}),v=B(()=>{const f=l.value;if(!f)return null;const m=(e.d?.systems||{})[f]||[],b=s.value[f]||{},$=(e.d?.systems||{})[f+"·良好"]||[],q=tt=>b[tt]||0,J=Object.values(b).reduce((tt,ot)=>tt+ot,0)||1;return{s:f,N:J,gd:$,cnt:q,al:m.filter(tt=>tt.st==="报警"),un:m.filter(tt=>tt.st==="不可判"),dist:b}});return(f,m)=>v.value?(k(),S("section",Oc,[a("p",qc,[a("a",Lc,p(u(o)("ui.back_to",{tab:u(o)("tab.component")})),1)]),a("div",Dc,[a("h3",null,p(u(o)("cmp.detail_head",{sys:u(xe)(v.value.s),n:v.value.N})),1),a("div",jc,[(k(),S(it,null,$t([["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],([b,$])=>a("i",{key:b,style:It(`width:${(v.value.cnt(b)/v.value.N*100).toFixed(1)}%;background:var(--${$})`)},null,4)),64))]),a("div",Pc,p(u(o)("cmp.counts",{a:v.value.cnt("报警"),u:v.value.cnt("不可判"),g:v.value.cnt("良好"),e:v.value.cnt("优秀")})),1)]),(k(!0),S(it,null,$t([v.value.al,v.value.un],(b,$)=>Ks((k(),S("div",{key:$,class:"panel mb"},[a("h3",null,p($===0?u(o)("cmp.alarm_units"):u(o)("cmp.unk_units"))+" "+p(u(o)("cmp.n_units",{n:b.length})),1),a("div",Hc,[a("table",null,[a("tr",null,[a("th",Rc,p(u(o)("ui.unit")),1),a("th",null,p(u(o)("cmp.why")),1),a("th",Ic,p(u(o)("cmp.detail")),1)]),(k(!0),S(it,null,$t(b,q=>(k(),S("tr",{key:q.t},[a("td",null,[a("a",{href:`/turbine/${q.t}`},[a("b",null,p(u(Ot)(q.t)),1)],8,Nc)]),a("td",Bc,p(q.why),1),a("td",Wc,[a("a",{class:"small",href:`/problem/${q.t}/${encodeURIComponent(v.value.s)}`},p(u(o)("cmp.detail_link")),9,Uc)])]))),128))])])])),[[Jo,b.length]])),128)),v.value.gd.length?(k(),S("details",Kc,[a("summary",Vc,p(u(o)("cmp.good_units",{n:v.value.gd.length})),1),a("div",Gc,[a("table",zc,[a("tr",null,[a("th",Yc,p(u(o)("ui.unit")),1),a("th",null,p(u(o)("cmp.why")),1)]),(k(!0),S(it,null,$t(v.value.gd,b=>(k(),S("tr",{key:b.t},[a("td",null,[a("b",null,p(u(Ot)(b.t)),1)]),a("td",Jc,p(b.why),1)]))),128))])])])):_t("",!0),!v.value.al.length&&!v.value.un.length&&!v.value.gd.length?(k(),S("div",Xc,[a("p",Zc,p(u(o)("cmp.none")),1)])):_t("",!0)])):(k(),S(it,{key:1},[t.d.sysmx_pending?(k(),S("section",Qc,[a("div",td,[a("b",null,p(u(o)("cmp.grading_pending")),1),rt(" "+p(u(o)("cmp.grading_pending_why",{span:t.d.sysmx_span||""})),1)])])):_t("",!0),a("section",null,[a("div",ed,p(u(o)("cmp.by_system")),1),a("div",sd,[a("div",nd,[(k(!0),S(it,null,$t(i.value,b=>(k(),S("div",{key:b.s,class:"sysc",role:"button",tabindex:"0","data-sys":u(Ps)(b.s),style:It(`cursor:pointer;border-left:3px solid ${b.col}`)},[a("div",id,[a("b",null,p(u(xe)(b.s)),1)]),a("div",ad,[(k(!0),S(it,null,$t(b.segs,$=>(k(),S("i",{key:$.col,style:It(`width:${$.w}%;background:var(--${$.col})`)},null,4))),128))]),a("div",{class:"small muted",innerHTML:b.line},null,8,od)],12,ld))),128))]),a("p",rd,p(u(o)("cmp.cards_note")),1)])]),t.d.rel&&t.d.rel.err?(k(),S("div",cd,[a("p",dd,p(u(o)("flt.block_err",{k:"rel",e:t.d.rel.err})),1)])):n.value?(k(),S(it,{key:2},[a("div",ud,p(u(o)("cmp.rel_eyebrow",{win:n.value.窗})),1),a("div",pd,[a("h3",null,[rt(p(u(o)("cmp.rel_head"))+" ",1),a("span",hd,p(u(o)("cmp.rel_meta",{t:n.value.总停机h,a:n.value.设备类停机h,b:n.value.外部类停机h})),1)]),a("p",fd,p(u(o)("cmp.rel_note",{h:r.value==null?"":" "+u(Tt)(r.value)+"h"})),1),a("div",md,[a("table",null,[a("tr",null,[a("th",null,p(u(o)("cmp.rel_part")),1),a("th",null,p(u(o)("cmp.rel_h")),1),a("th",vd,p(u(o)("cmp.rel_ev")),1),a("th",_d,p(u(o)("cmp.rel_mtbo")),1),a("th",gd,p(u(o)("cmp.rel_mdt")),1),a("th",bd,p(u(o)("cmp.rel_units")),1),a("th",null,p(u(o)("cmp.rel_fm")),1)]),(k(!0),S(it,null,$t(d.value,b=>(k(),S("tr",{key:b.r.部件},[a("td",null,[a("b",null,p(u(hs)(b.r.部件)),1),m[0]||(m[0]=rt(" ",-1)),b.r.外部?(k(),S("span",yd,p(u(o)("cmp.external")),1)):_t("",!0)]),a("td",null,[a("i",{class:"bar",style:It(`width:${Math.round(b.r.停机时长h/b.maxH*72)}px;background:${b.sev}`)},null,4),a("span",$d,p(b.r.停机时长h)+"h · "+p((b.r.占停机*100).toFixed(1))+"%",1)]),a("td",xd,p(b.r.事件数),1),a("td",wd,p(b.r.外部?"—":b.r.MTBF_h||"—"),1),a("td",kd,p(b.r.MDT_h),1),a("td",Md,p(b.r.影响台数),1),a("td",Sd,p(b.r.典型失效模式||"—"),1)]))),128))])]),a("p",Td,p(n.value.口径),1)])],64)):_t("",!0),t.d.fus&&!t.d.fus.err?(k(),S("div",Cd,[a("p",Ed,[rt(p(u(o)("cmp.fusion_moved"))+" ",1),a("a",Fd,[a("b",null,p(u(o)("tab.vibration")),1)]),rt(" "+p(u(o)("cmp.fusion_n",{n:(t.d.fus.表||[]).length})),1)])])):_t("",!0),a("div",Ad,p(u(o)("cmp.cross_eyebrow")),1),a("div",Od,[a("h3",null,p(u(o)("cmp.watch_head",{n:(t.d.watch||[]).length})),1),a("div",qd,[a("table",null,[a("tr",null,[a("th",null,p(u(o)("ui.unit")),1),a("th",Ld,p(u(o)("cmp.n_sys")),1),a("th",null,p(u(o)("cmp.hit_sys")),1),a("th",null,p(u(o)("cmp.basis")),1)]),(k(!0),S(it,null,$t(t.d.watch||[],b=>(k(),S("tr",{key:b.t},[a("td",null,[a("a",{href:`/turbine/${b.t}`},[a("b",null,p(u(Ot)(b.t)),1)],8,Dd)]),a("td",jd,p(b.n),1),a("td",{class:"small",innerHTML:c(b)},null,8,Pd),a("td",Hd,p(b.why),1)]))),128))])])])],64))}}),Id=["innerHTML"],Yt=jt({__name:"LegacyChart",props:{html:{}},setup(t){return(e,s)=>(k(),S("div",{class:"legacy-chart",innerHTML:t.html},null,8,Id))}}),Nd=typeof window<"u"?window:globalThis;Nd.__charts=function(t){const{t:e,fmt:s,esc:n,dv:l,EN:i}=t,c=/[㐀-鿿]/,r=E=>i&&c.test(String(E??"")),d=E=>(E=t.displayText?t.displayText(E):E==null?"":String(E),r(E)&&t.verb&&t.verb(),E),v=E=>{const V=d(E);return`<title${r(V)?' class="verbatim"':""}>${n(V)}</title>`},f=(E,V,G)=>`<svg class="dt" viewBox="0 0 ${E} ${V}" style="width:${E}px;max-width:100%;height:auto" role="img">${G}</svg>`,m=(E,V,G,L={})=>`<text x="${(+E).toFixed(1)}" y="${(+V).toFixed(1)}" font-size="${L.fs||9}" fill="${L.fill||"var(--muted)"}"${L.anchor?` text-anchor="${L.anchor}"`:""}${L.op?` opacity="${L.op}"`:""}${L.w?` font-weight="${L.w}"`:""}${L.tr?` transform="${L.tr}"`:""}${L.cls?` class="${L.cls}"`:""}>${G}</text>`,b=(E,V,G,L={})=>{const W=d(G);return m(E,V,n(W),r(W)?Object.assign({},L,{cls:"verbatim"}):L)},$={"限电·绑定":"loss.curtail_bound","限电命令·未绑定":"loss.curtail_unbound","停机(调度令)":"loss.dispatch",停机:"loss.stop",正常发电:"loss.normal",低风待机:"loss.lowwind"},q=E=>$[E]?e($[E]):d(E);function J(E){const V=(E||[]).filter(w=>w&&w.n>0&&w.med>0);if(V.length<3)return`<p class="small muted">${e("ch.quad.few")}</p>`;const G=720,L=330,W=58,R=16,F=44,j=16,U=w=>Math.log10(w),P=V.map(w=>U(w.n)),K=V.map(w=>U(w.med)),Z=Math.min(...P)-.15,et=Math.max(...P)+.15,z=Math.min(...K)-.15,at=Math.max(...K)+.15,ht=w=>W+(U(w)-Z)/(et-Z)*(G-W-R),nt=w=>L-F-(U(w)-z)/(at-z)*(L-j-F),vt=V.map(w=>w.n).sort((w,x)=>w-x),ft=vt[Math.floor(vt.length/2)],st=ht(ft),X=nt(600),h=Math.max(...V.map(w=>w.nt)),_=V.map(w=>{const x=3+Math.sqrt(w.nt/h)*7,Y=w.n>=ft&&w.med>=600,H=Y?"var(--critical)":"var(--accent)";return`<circle cx="${ht(w.n).toFixed(1)}" cy="${nt(w.med).toFixed(1)}" r="${x.toFixed(1)}" fill="${H}" fill-opacity=".5" stroke="${H}" stroke-width="1">${v(`${w.code} ${d(w.k)}
- `+e("ch.quad.tip",{n:w.n,med:w.med,h:w.h,nt:w.nt}))}</circle>`}).join(""),g=V.filter(w=>w.n>=ft||w.med>=600).slice(0,8).map(w=>m(ht(w.n)+9,nt(w.med)+3,n(w.code))).join(""),y=(w,x,Y,H)=>m(w,x,Y,{fs:10,op:.85})+m(w,x+12,H,{fs:8.5,op:.6}),M=w=>w>=3600?w/3600+"h":w>=60?w/60+"min":w+"s",C=[10,60,600,3600,36e3].filter(w=>U(w)>=z&&U(w)<=at).map(w=>`<line x1="${W}" y1="${nt(w).toFixed(1)}" x2="${G-R}" y2="${nt(w).toFixed(1)}" stroke="var(--line)" stroke-opacity=".4"/>`+m(W-6,nt(w)+3,M(w),{anchor:"end"})).join(""),A=[1,10,100,1e3,1e4].filter(w=>U(w)>=Z&&U(w)<=et).map(w=>m(ht(w),L-F+14,w,{anchor:"middle"})).join(""),O=j+(L-F-j)/2;return f(G,L,`${C}${A}
- <line x1="${st.toFixed(1)}" y1="${j}" x2="${st.toFixed(1)}" y2="${L-F}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".5"/>
- <line x1="${W}" y1="${X.toFixed(1)}" x2="${G-R}" y2="${X.toFixed(1)}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".5"/>
- ${y(W+6,j+12,e("ch.quad.q1"),e("ch.quad.q1s"))}${y(G-R-130,j+12,e("ch.quad.q2"),e("ch.quad.q2s"))}
- ${y(W+6,L-F-18,e("ch.quad.q3"),e("ch.quad.q3s"))}${y(G-R-130,L-F-18,e("ch.quad.q4"),e("ch.quad.q4s"))}
- ${_}${g}
- ${m(W+(G-R-W)/2,L-6,e("ch.quad.xlab"),{fs:9.5,anchor:"middle"})}
- ${m(14,O,e("ch.quad.ylab"),{fs:9.5,anchor:"middle",tr:`rotate(-90 14 ${O.toFixed(1)})`})}`)}function tt(E){const V=E.months||[],G=E.vals||[],L=E.cov||V.map(()=>1),W=E.per_day||[],R=720,F=250,j=48,U=14,P=52,K=18,Z=V.length||1,et=Math.max(...W.filter(ft=>ft!=null),1),z=(R-j-U)/Z;let at="",ht="";V.forEach((ft,st)=>{const X=W[st],h=L[st]<.5;if(X==null)return;const _=X/et*(F-K-P),g=j+st*z+z*.16,y=F-P-_,M=g+z*.34;at+=`<rect x="${g.toFixed(1)}" y="${y.toFixed(1)}" width="${(z*.68).toFixed(1)}" height="${_.toFixed(1)}" rx="2" fill="${h?"var(--muted)":"var(--accent)"}" fill-opacity="${h?.32:.8}" stroke="${h?"var(--warning)":"none"}" stroke-dasharray="${h?"3 2":""}"><title>${e("ch.rate.tip",{m:ft,v:X,n:G[st],cov:(L[st]*100).toFixed(0)})}</title></rect>`,ht+=m(M,y-4,X,{anchor:"middle"})+m(M,F-P+13,e("ch.rate.month",{m:ft.slice(5)}),{anchor:"middle"})+m(M,F-P+25,e("ch.rate.n",{n:G[st]}),{fs:8,op:.65,anchor:"middle"})+(h?m(M,F-P+37,e("ch.rate.days",{d:Math.round(L[st]*30)}),{fs:8,fill:"var(--warning)",anchor:"middle"}):"")});const nt=[0,.5,1].map(ft=>m(j-6,F-P-ft*(F-K-P)+3,Math.round(et*ft),{anchor:"end"})).join(""),vt=K+(F-P-K)/2;return f(R,F,`<line x1="${j}" y1="${F-P}" x2="${R-U}" y2="${F-P}" stroke="var(--line)"/><line x1="${j}" y1="${K}" x2="${j}" y2="${F-P}" stroke="var(--line)"/>
- ${at}${ht}${nt}${m(14,vt,e("ch.rate.ylab"),{fs:9.5,anchor:"middle",tr:`rotate(-90 14 ${vt.toFixed(1)})`})}`)}function ot(E){if(!E||!E.theo)return"";const V=720,G=300,L=8,W=8,R=30,F=64,j=(E.items||[]).filter(nt=>nt.loss>0),U=j.length+2,P=(V-L-W)/U,K=(G-R-F)/E.theo;let Z=E.theo,et="",z=0;const at=(nt,vt,ft,st,X)=>`<rect x="${(L+nt*P+P*.14).toFixed(1)}" y="${vt.toFixed(1)}" width="${(P*.72).toFixed(1)}" height="${Math.max(ft,1.2).toFixed(1)}" rx="2" fill="${st}" fill-opacity="${X}"/>`,ht=(nt,vt,ft,st,X)=>m(L+nt*P+P*.5,vt-6,st,{fs:10,fill:X||"var(--ink)",anchor:"middle",w:600})+m(L+nt*P+P*.5,G-F+14,ft,{fs:8.5,anchor:"middle"});return et+=at(0,G-F-E.theo*K,E.theo*K,"var(--accent)",.45)+ht(0,G-F-E.theo*K,e("ch.wf.theo"),s(E.theo)),j.forEach(nt=>{z++;const vt=G-F-Z*K,ft=nt.loss*K;Z-=nt.loss;const st=q(nt.k);et+=at(z,vt,ft,"var(--critical)",.55)+`<line x1="${(L+(z-1)*P+P*.86).toFixed(1)}" y1="${vt.toFixed(1)}" x2="${(L+z*P+P*.14).toFixed(1)}" y2="${vt.toFixed(1)}" stroke="var(--muted)" stroke-dasharray="2 2" stroke-opacity=".6"/>`+ht(z,vt,n(st.length>12?st.slice(0,11)+"…":st),"−"+s(nt.loss),"var(--critical)")+v(e("ch.wf.tip",{nm:st,loss:s(nt.loss),pct:(nt.loss/E.theo*100).toFixed(1),h:s(nt.h)}))}),et+=at(U-1,G-F-E.act*K,E.act*K,"var(--good)",.6)+ht(U-1,G-F-E.act*K,e("ch.wf.act"),s(E.act),"var(--good)"),f(V,G,`<line x1="${L}" y1="${G-F}" x2="${V-W}" y2="${G-F}" stroke="var(--line)"/>${m(L,14,"MWh",{fs:9.5})}${et}`)}function D(E,V){const G=(E||[]).filter(x=>x.MTBF_h&&x.MDT_h);if(G.length<3)return`<p class="small muted">${e("ch.ram.few")}</p>`;const L=720,W=340,R=56,F=112,j=48,U=16,P=x=>Math.log10(x),K=G.map(x=>P(x.MTBF_h)),Z=G.map(x=>x.MDT_h),et=Math.min(...K)-.08,z=Math.max(...K)+.08,at=0,ht=Math.max(...Z)*1.12,nt=x=>R+(P(x)-et)/(z-et)*(L-R-F),vt=x=>W-j-(x-at)/(ht-at)*(W-U-j),ft=x=>{const Y=x.slice().sort((H,Q)=>H-Q);return Y[Math.floor(Y.length/2)]},st=ft(G.map(x=>x.MTBF_h)),X=ft(Z),h=nt(st),_=vt(X),g=Math.max(...G.map(x=>x.停机时长h)),y=x=>d(V?V(x.部件):x.部件),M=G.map(x=>{const Y=4+Math.sqrt(x.停机时长h/g)*13,H=x.外部,Q=x.MTBF_h<st&&x.MDT_h>=X,lt=H?"var(--muted)":Q?"var(--critical)":"var(--accent)";return`<circle cx="${nt(x.MTBF_h).toFixed(1)}" cy="${vt(x.MDT_h).toFixed(1)}" r="${Y.toFixed(1)}" fill="${lt}" fill-opacity="${H?.3:.42}" stroke="${lt}" stroke-width="1.2" stroke-dasharray="${H?"3 2":""}">${v(e("ch.ram.tip",{p:y(x),mtbf:x.MTBF_h,mdt:x.MDT_h,h:x.停机时长h,n:x.事件数,u:x.影响台数})+(H?e("ch.ram.tip_ext"):""))}</circle>`+b(nt(x.MTBF_h)+Y+4,vt(x.MDT_h)+3.5,d(y(x)).slice(0,i?14:7),{fs:9.5,fill:H?"var(--muted)":"currentColor"})}).join(""),C=(x,Y,H,Q,lt)=>m(x,Y,Q,{fs:10,anchor:H,op:.9})+m(x,Y+12,lt,{fs:8.5,anchor:H,op:.62}),A=[1e3,2e3,5e3,1e4,2e4].filter(x=>P(x)>=et&&P(x)<=z).map(x=>`<line x1="${nt(x).toFixed(1)}" y1="${U}" x2="${nt(x).toFixed(1)}" y2="${W-j}" stroke="var(--line)" stroke-opacity=".3"/>`+m(nt(x),W-j+14,x>=1e3?x/1e3+"k":x,{anchor:"middle"})).join(""),O=[0,5,10,15,20].filter(x=>x<=ht).map(x=>m(R-6,vt(x)+3,x,{anchor:"end"})).join(""),w=U+(W-j-U)/2;return f(L,W,`${A}${O}<line x1="${R}" y1="${W-j}" x2="${L-F}" y2="${W-j}" stroke="var(--line)"/><line x1="${R}" y1="${U}" x2="${R}" y2="${W-j}" stroke="var(--line)"/>
- <line x1="${h.toFixed(1)}" y1="${U}" x2="${h.toFixed(1)}" y2="${W-j}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".45"/>
- <line x1="${R}" y1="${_.toFixed(1)}" x2="${L-F}" y2="${_.toFixed(1)}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".45"/>
- ${C(R+6,U+12,"start",e("ch.ram.q1"),e("ch.ram.q1s"))}${C(L-F-6,U+12,"end",e("ch.ram.q2"),e("ch.ram.q2s"))}
- ${C(R+6,W-j-16,"start",e("ch.ram.q3"),e("ch.ram.q3s"))}${C(L-F-6,W-j-16,"end",e("ch.ram.q4"),e("ch.ram.q4s"))}
- ${M}${m(R+(L-F-R)/2,W-8,e("ch.ram.xlab"),{fs:9.5,anchor:"middle"})}
- ${m(13,w,e("ch.ram.ylab"),{fs:9.5,anchor:"middle",tr:`rotate(-90 13 ${w.toFixed(1)})`})}
- <circle cx="${L-F+16}" cy="${U+40}" r="5" fill="var(--accent)" fill-opacity=".42" stroke="var(--accent)"/>${m(L-F+26,U+44,e("ch.ram.equip"))}
- <circle cx="${L-F+16}" cy="${U+58}" r="5" fill="var(--muted)" fill-opacity=".3" stroke="var(--muted)" stroke-dasharray="3 2"/>${m(L-F+26,U+62,e("ch.ram.ext"))}
- ${m(L-F+6,U+84,e("ch.ram.area"),{fs:8.5})}${m(L-F+6,U+98,e("ch.ram.median"),{fs:8.5})}`)}function N(E,V){const G=(E||[]).find(et=>et.部件==="无记录停机"),L=G?G.停机时长h:0,W=(E||[]).filter(et=>et.部件==="未归类").reduce((et,z)=>et+z.停机时长h,0),R=V-L-W,F=720,j=54,U=(et,z,at,ht)=>`<rect x="${et.toFixed(1)}" y="14" width="${Math.max(z,1).toFixed(1)}" height="22" rx="3" fill="${at}" fill-opacity="${ht}"/>`,P=R/V*F,K=W/V*F,Z=L/V*F;return f(F,j,`${U(0,P,"var(--accent)",.55)}${U(P,K,"var(--warning)",.5)}${U(P+K,Z,"var(--critical)",.5)}
- ${m(4,10,e("ch.attrib.ok",{h:Math.round(R),p:(R/V*100).toFixed(0)}))}
- ${m(P+K+Z-2,10,e("ch.attrib.none",{h:Math.round(L),p:(L/V*100).toFixed(0)}),{fill:"var(--critical)",anchor:"end"})}
- ${m(P+K/2,50,e("ch.attrib.uncls",{h:Math.round(W)}),{fill:"var(--warning)",anchor:"middle"})}`)}function T(E,V,G){const L=(E||[]).filter(y=>y&&y.v>0);if(!L.length)return`<p class="small muted">${e("ch.pareto.none")}</p>`;const W=520,R=236,F=46,j=40,U=40,P=14,K=L.length,Z=L.reduce((y,M)=>y+M.v,0),et=Math.max(...L.map(y=>y.v)),z=(W-F-j)/K,at=y=>{y=d(y);const M=String(y).match(/^([0-9]+)/);return M?M[1]:String(y).slice(0,4)};let ht=0,nt="",vt=[],ft="",st=null;L.forEach((y,M)=>{const C=y.v/et*(R-P-U),A=F+M*z+z*.14,O=R-U-C;nt+=`<rect x="${A.toFixed(1)}" y="${O.toFixed(1)}" width="${(z*.72).toFixed(1)}" height="${C.toFixed(1)}" rx="2" fill="var(--accent)" fill-opacity="${M<3?.85:.45}">${v(`${d(y.k)}: ${s(y.v)}${V}`)}</rect>`,ht+=y.v;const w=ht/Z;st===null&&w>=.8&&(st=M+1);const x=F+M*z+z/2,Y=P+(1-w)*(R-P-U);vt.push(`${x.toFixed(1)},${Y.toFixed(1)}`),ft+=`<circle cx="${x.toFixed(1)}" cy="${Y.toFixed(1)}" r="2.4" fill="var(--warning)">${v(e("ch.pareto.cumtip",{k:d(y.k),p:(w*100).toFixed(0)}))}</circle>`});const X=P+.2*(R-P-U),h=L.map((y,M)=>b(F+M*z+z/2,R-U+13,at(y.k),{anchor:"middle"})).join(""),_=[0,.5,1].map(y=>m(F-5,R-U-y*(R-P-U)+3,s(Math.round(et*y)),{anchor:"end"})).join("")+[0,.5,1].map(y=>m(W-j+5,P+(1-y)*(R-P-U)+3,Math.round(y*100)+"%",{fill:"var(--warning)"})).join(""),g=L.slice(0,3).map(y=>`<b>${r(at(y.k))?`<span class="verbatim">${n(d(at(y.k)))}</span>`:n(at(y.k))}</b> ${l(d(y.k).replace(/^[0-9]+ */,"").slice(0,18))}`).join(" · ");return f(W,R,`<line x1="${F}" y1="${R-U}" x2="${W-j}" y2="${R-U}" stroke="var(--line)"/><line x1="${F}" y1="${P}" x2="${F}" y2="${R-U}" stroke="var(--line)"/>${nt}
- <line x1="${F}" y1="${X.toFixed(1)}" x2="${W-j}" y2="${X.toFixed(1)}" stroke="var(--warning)" stroke-dasharray="4 3" stroke-opacity=".7"/>
- ${m(W-j-3,X-4,e("ch.pareto.cum80"),{fill:"var(--warning)",anchor:"end"})}
- <polyline points="${vt.join(" ")}" fill="none" stroke="var(--warning)" stroke-width="1.5"/>${ft}${h}${_}
- ${m(F+(W-j-F)/2,R-3,e("ch.pareto.xlab"),{fs:8.5,anchor:"middle"})}`)+`<p class="small muted" style="margin-top:5px;line-height:1.6">${st?`<b>${e("ch.pareto.key",{k:st})}</b> (${e("ch.pareto.total",{n:K,tot:s(Math.round(Z)),unit:V})})`:e("ch.pareto.total",{n:K,tot:s(Math.round(Z)),unit:V})}<br>${e("ch.pareto.top3")}${g}${G?"<br>"+G:""}</p>`}function I(E){const V=et=>et.indexOf("限电")>=0||et.indexOf("调度")>=0?0:et==="停机"?1:2,G=[e("ch.blame.n1"),e("ch.blame.n2"),e("ch.blame.n3")],L=[e("ch.blame.d1"),e("ch.blame.d2"),e("ch.blame.d3")],W=["var(--accent)","var(--critical)","var(--muted)"],R=[0,0,0];(E.items||[]).forEach(et=>{R[V(et.k)]+=et.loss});const F=R.reduce((et,z)=>et+z,0)||1,j=500,U=44;let P=0,K="";R.forEach((et,z)=>{const at=et/F*j;K+=`<rect x="${P.toFixed(1)}" y="12" width="${Math.max(at,1).toFixed(1)}" height="26" rx="3" fill="${W[z]}" fill-opacity=".55"><title>${G[z]}: ${s(Math.round(et))} MWh</title></rect>`+(at>46?m(P+at/2,29,(et/F*100).toFixed(0)+"%",{fs:10.5,fill:"currentColor",anchor:"middle",w:600}):""),P+=at});const Z=R.map((et,z)=>`<div style="display:flex;align-items:baseline;gap:7px;margin-top:5px"><i style="flex:none;width:9px;height:9px;border-radius:2px;background:${W[z]};opacity:.55"></i><span style="font-weight:600">${G[z]}</span><span class="num">${s(Math.round(et))} MWh</span><span class="small muted">${L[z]}</span></div>`).join("");return f(j,U,`${m(0,8,e("ch.blame.title",{tot:s(Math.round(F))}))}${K}`)+Z}function mt(E){const V=E.months||E.x||[],G=V.length;if(!G)return"";const L=620,W=250,R=52,F=34,j=["var(--accent)","#D48A1E","#2E8B6A","#7C5295"],U=[];if((E.series||[]).forEach(X=>X.vals.forEach(h=>{h!=null&&h===h&&U.push(h)})),(E.thresholds||[]).forEach(X=>{X&&X.v!=null&&U.push(X.v)}),!U.length)return"";let P=E.zero===!1?Math.min(...U):Math.min(0,...U),K=Math.max(...U);P===K&&(P-=1,K+=1);const Z=(K-P)*.08;K+=Z,E.zero===!1&&(P-=Z);const et=X=>R+X/Math.max(G-1,1)*(L-R-12),z=X=>W-F-(X-P)/(K-P)*(W-F-14),at=(X,h)=>{let _=[],g=[];return X.forEach((y,M)=>{y==null||y!==y?(g.length&&_.push(g),g=[]):g.push(`${et(M).toFixed(1)},${z(y).toFixed(1)}`)}),g.length&&_.push(g),_.map(y=>`<polyline points="${y.join(" ")}" fill="none" stroke="${h}" stroke-width="1.8"/>`).join("")};let ht=(E.series||[]).map((X,h)=>at(X.vals,j[h%4])).join("");const nt=Math.max(1,Math.ceil(G/8));let vt="";for(let X=0;X<G;X+=nt)vt+=m(et(X),W-10,String(V[X]).includes("-")?String(V[X]).slice(2,7):String(V[X]),{fs:10,anchor:"middle"});let ft="";for(let X=0;X<5;X++){const h=P+(K-P)*X/4;ft+=m(R-6,z(h)+3,h.toFixed(Math.abs(K)<10?1:0),{fs:10,anchor:"end"})+`<line x1="${R}" x2="${L-12}" y1="${z(h).toFixed(1)}" y2="${z(h).toFixed(1)}" stroke="var(--line)"/>`}(E.thresholds||[]).forEach(X=>{!X||X.v==null||(ht+=`<line x1="${R}" x2="${L-12}" y1="${z(X.v).toFixed(1)}" y2="${z(X.v).toFixed(1)}" stroke="var(--muted)" stroke-dasharray="5 4"/>`+(X.label?b(R+6,z(X.v)-4,X.label,{fs:10}):""))}),E.xlab&&(ht+=b((R+L)/2,W-1,E.xlab,{fs:10,anchor:"middle"}));const st='<div class="legend" style="margin-top:6px;flex-wrap:wrap">'+(E.series||[]).map((X,h)=>`<span><i style="background:${j[h%4]}"></i>${r(X.name)?`<span class="verbatim">${n(d(X.name))}</span>`:n(X.name)}</span>`).join("")+"</div>";return f(L,W,`${ft}${ht}${vt}`)+st}function pt(E,V){const F=(j,U,P)=>{const K=Object.entries(U.分组||{}).map(([st,X])=>({v:parseFloat(st),n:X,raw:st}));if(!K.length)return"";const Z=Math.min(...K.map(st=>st.v)),et=Math.max(...K.map(st=>st.v)),z=(et-Z)*.22||1,at=Z-z,ht=et+z,nt=st=>54+(st-at)/(ht-at)*412,vt=Math.max(...K.map(st=>st.n)),ft=U.中位;return m(48,j+3,P,{fs:9.5,anchor:"end"})+`<line x1="54" y1="${j}" x2="466" y2="${j}" stroke="var(--line)"/><line x1="${nt(ft).toFixed(1)}" y1="${j-24}" x2="${nt(ft).toFixed(1)}" y2="${j+18}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".55"/>`+m(nt(ft),j+28,e("ch.cap.median",{v:ft}),{fs:8.5,anchor:"middle"})+K.map(st=>{const X=5+Math.sqrt(st.n/vt)*9;return`<circle cx="${nt(st.v).toFixed(1)}" cy="${j}" r="${X.toFixed(1)}" fill="var(--accent)" fill-opacity=".42" stroke="var(--accent)"/>`+m(nt(st.v),j-X-5,n(st.raw),{anchor:"middle",fill:"currentColor"})+m(nt(st.v),j+3.5,st.n,{anchor:"middle",fill:"var(--panel)",w:600})}).join("")};return f(500,158,`${F(44,E||{},e("ch.cap.p"))}${F(120,V||{},e("ch.cap.w"))}${m(466,12,e("ch.cap.legend"),{fs:8.5,anchor:"end"})}`)}function bt(E,V){const G=E.离群||[],L=E.全场同档差中位||0,W=500,R=34+G.length*26,F=52,j=58,U=Math.max(L,...G.map(Z=>Z.平均偏))*1.18||1,P=Z=>F+Z/U*(W-F-j),K=G.map((Z,et)=>{const z=30+et*26;return m(F-6,z+10,n(V(Z.t)),{fs:9.5,anchor:"end",fill:"currentColor"})+`<rect x="${F}" y="${z+1}" width="${(P(Z.平均偏)-F).toFixed(1)}" height="13" rx="2" fill="var(--warning)" fill-opacity=".62"/>`+m(P(Z.平均偏)+5,z+11,Z.平均偏+"°",{fill:"var(--warning)"})}).join("");return f(W,R,`<line x1="${P(L).toFixed(1)}" y1="18" x2="${P(L).toFixed(1)}" y2="${R-4}" stroke="var(--good)" stroke-dasharray="3 3"/>${m(P(L),12,e("ch.beta.median",{v:L}),{fs:8.5,fill:"var(--good)"})}<line x1="${F}" y1="18" x2="${F}" y2="${R-4}" stroke="var(--line)"/>${K}`)}function Pt(E){const V=Object.entries(E||{}),G=500,L=26+V.length*30,W=96,R=76,F=3.7,j=Math.max(F*1.35,...V.map(([,K])=>K.极差/K.σ)),U=K=>W+K/j*(G-W-R),P=V.map(([K,Z],et)=>{const z=22+et*30,at=Z.极差/Z.σ,ht=at>F;return b(W-6,z+11,K,{fs:9.5,anchor:"end",fill:"currentColor"})+`<rect x="${W}" y="${z+2}" width="${(U(at)-W).toFixed(1)}" height="12" rx="2" fill="${ht?"var(--warning)":"var(--accent)"}" fill-opacity=".55"/>`+m(U(at)+5,z+11,e("ch.ruler.row",{r:at.toFixed(1),s:Z.σ}))}).join("");return f(G,L,`<line x1="${U(F).toFixed(1)}" y1="14" x2="${U(F).toFixed(1)}" y2="${L-4}" stroke="var(--good)" stroke-dasharray="3 3"/>${m(U(F),10,e("ch.ruler.norm"),{fs:8.5,fill:"var(--good)",anchor:"middle"})}${P}`)}function Qt(E){const V=E.kind;if(V==="vib")return`<p class="small">${r(E.text||E.comp)?`<span class="verbatim">${n(d(E.text||E.comp))}</span>`:n(E.text||E.comp||"")}</p>`;if(V==="vibbar"){const g=E.rows||[];if(!g.length)return"";const y=A=>{const O=Math.abs(A);return O>=100?A.toFixed(0):O>=10?A.toFixed(1):O>=1?A.toFixed(2):O>=.01?A.toFixed(3):Number(A).toExponential(1)},M={};g.forEach(A=>{(M[A.指标]=M[A.指标]||[]).push(A)});let C=`<p class="small muted">${e("fig.vibbar_note")}</p>`;for(const[A,O]of Object.entries(M))C+=`<div class="tblwrap" style="margin-top:8px"><b class="small muted">${l(A)}</b><table style="margin-top:2px"><tr><th>${e("fig.point")}</th><th class="r">${e("fig.x_median")}</th><th class="r">${e("fig.this_unit")}</th><th class="r">${e("fig.fleet_median")}</th><th class="r">z</th><th class="r">${e("fig.trend")}</th></tr>`+O.map(w=>{const x=Math.abs(w.z)>=3?"var(--critical)":Math.abs(w.z)>=2?"var(--warning)":"var(--good)";return`<tr><td class="small">${l(w.测点)}</td><td class="r" style="color:${x};font-weight:600">${w.倍中位!=null?w.倍中位+"×":"—"}</td><td class="r small">${y(w.本台)}</td><td class="r small muted">${y(w.全场中位)}</td><td class="r small" style="color:${Math.abs(w.z)>=3?"var(--critical)":"var(--muted)"}">${w.z}</td><td class="r small" style="color:${w.六窗比>1.15?"var(--warning)":"var(--muted)"}">${w.六窗比!=null?w.六窗比+"×":"—"}</td></tr>`}).join("")+"</table></div>";return C}const G=E.months||E.x||[],L=G.length;if(!L)return"";const W=620,R=250,F=52,j=34,U=14,P=[];if(V==="band"?[E.self,E.med,E.q1,E.q3].forEach(g=>(g||[]).forEach(y=>{y!=null&&y===y&&P.push(y)})):V==="bars"?(P.push(0),(E.vals||[]).forEach(g=>{g!=null&&g===g&&P.push(g)})):V==="xy"?[E.self,E.med].forEach(g=>(g||[]).forEach(y=>{y!=null&&y===y&&P.push(y)})):(E.series||[]).forEach(g=>(g.vals||[]).forEach(y=>{y!=null&&y===y&&P.push(y)})),(E.thresholds||[]).forEach(g=>{g&&g.v!=null&&P.push(g.v)}),!P.length)return"";let K=Math.min(...P),Z=Math.max(...P);K===Z&&(K-=1,Z+=1);const et=(Z-K)*.08;K-=et,Z+=et;const z=g=>F+g/Math.max(L-1,1)*(W-F-12),at=g=>R-j-(g-K)/(Z-K)*(R-j-U),ht=(g,y,M)=>{let C=[],A=[];return(g||[]).forEach((O,w)=>{O==null||O!==O?(A.length&&C.push(A),A=[]):A.push(`${z(w).toFixed(1)},${at(O).toFixed(1)}`)}),A.length&&C.push(A),C.map(O=>`<polyline points="${O.join(" ")}" fill="none" stroke="${y}" stroke-width="${M||1.8}"/>`).join("")};let nt="";if(V==="band"&&E.q1&&E.q3){const g=[],y=[];E.q3.forEach((M,C)=>{M!=null&&g.push(`${z(C).toFixed(1)},${at(M).toFixed(1)}`)});for(let M=E.q1.length-1;M>=0;M--)E.q1[M]!=null&&y.push(`${z(M).toFixed(1)},${at(E.q1[M]).toFixed(1)}`);g.length&&y.length&&(nt+=`<polygon points="${g.join(" ")} ${y.join(" ")}" fill="var(--unknown)" fill-opacity=".18"/>`)}if(V==="bars"){const g=Math.max(3,(W-F-20)/L*.6),y=at(Math.max(K,0));nt+=(E.vals||[]).map((M,C)=>M==null||M!==M?"":`<rect x="${(z(C)-g/2).toFixed(1)}" y="${at(M).toFixed(1)}" width="${g.toFixed(1)}" height="${Math.max(y-at(M),.8).toFixed(1)}" rx="2" fill="var(--accent)" fill-opacity=".75"/>`).join("")}E.med&&(nt+=ht(E.med,"var(--muted)",1.7)),E.self&&(nt+=ht(E.self,"var(--critical)",2.1)+(E.self||[]).map((g,y)=>g==null||g!==g?"":`<circle cx="${z(y).toFixed(1)}" cy="${at(g).toFixed(1)}" r="2.4" fill="var(--critical)"/>`).join(""));const vt=["var(--accent)","#D48A1E","#2E8B6A","#7C5295"];(E.series||[]).forEach((g,y)=>{nt+=ht(g.vals,vt[y%4])}),(E.thresholds||[]).forEach(g=>{g==null||g.v==null||(nt+=`<line x1="${F}" x2="${W-12}" y1="${at(g.v).toFixed(1)}" y2="${at(g.v).toFixed(1)}" stroke="var(--muted)" stroke-dasharray="5 4"/>`+(g.label?b(F+6,at(g.v)-4,g.label,{fs:10}):""))});const ft=Math.max(1,Math.ceil(L/8));let st="";for(let g=0;g<L;g+=ft)st+=m(z(g),R-10,String(G[g]).includes("-")?String(G[g]).slice(2,7):String(G[g]),{fs:10,anchor:"middle"});let X="";for(let g=0;g<5;g++){const y=K+(Z-K)*g/4;X+=m(F-6,at(y)+3,y.toFixed(Math.abs(Z)<10?1:0),{fs:10,anchor:"end"})+`<line x1="${F}" x2="${W-12}" y1="${at(y).toFixed(1)}" y2="${at(y).toFixed(1)}" stroke="var(--line)"/>`}const h=V==="band"?m(W-190,12,e("fig.this_unit"),{fill:"var(--critical)",fs:10})+m(W-110,12,e("fig.fleet_median"),{fs:10})+m(W-40,12,e("fig.quartile"),{fs:10}):(E.series||[]).length&&(E.series||[]).length<=2?E.series.map((g,y)=>m(W-12-(E.series.length-1-y)*118,12,"— "+n(d(g.name)),{fill:vt[y%4],fs:10,anchor:"end"})).join(""):"",_=(E.series||[]).length>2?'<div class="legend" style="margin-top:6px;flex-wrap:wrap">'+E.series.map((g,y)=>`<span><i style="background:${vt[y%4]}"></i>${r(g.name)?`<span class="verbatim">${n(d(g.name))}</span>`:n(g.name)}</span>`).join("")+"</div>":"";return f(W,R,`${X}${nt}${st}${h}`)+_}return{quadChart:J,rateChart:tt,waterfall:ot,ramChart:D,attribBar:N,paretoChart:T,blameBar:I,lossName:q,multiline:mt,capAxis:pt,betaBar:bt,rulerBar:Pt,fig:Qt}};const Bd=[[/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,"主要异常位于"]],ut=t=>String(t??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""),Wi=t=>String(t??""),yt=t=>ut(t),Wd={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},Ud={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"},Un=t=>Wd[String(t)]||Ud[String(t)],Ui={bad:"var(--critical)",warn:"var(--warning)",unk:"var(--unknown)",ok:"var(--good)",ex:"var(--excellent)"},Ki={优秀:"var(--excellent)",良好:"var(--good)",报警:"var(--warning)",危险:"var(--critical)",不可判:"var(--unknown)",监测不可用:"var(--unknown)",无监测:"var(--unknown)"},Vi={bad:"var(--critical)",warn:"var(--warning)",note:"var(--muted)",ok:"var(--good)",unlisted:"var(--muted)",stale:"var(--muted)",meta:"var(--muted)"},Kd={定论:"confirmed","准定论·预警":"near","候选·新发":"candidate_new",候选:"candidate","候选·记基线":"candidate_baseline",参考:"reference",INSUFFICIENT:"insufficient",正常:"normal",撤回:"withdrawn"},Kn=t=>"st."+(t==="ex"?"excellent":t),Ee=t=>{const e=Un(t);return e?o(Kn(e)):yt(t)},pn=t=>{const e=Kd[String(t)],s="tier."+e;return e?o(s):String(t)==="—"?"—":yt(t)},Gi=(t,e,s)=>`<span class="duo" style="--c:${s}"><span class="st">${t}</span><span class="ev">${e}</span></span>`,Ie=t=>{let e=String(t??"");for(const[s,n]of Bd)e=e.replace(s,n);return e},hn=t=>Ie(t),Vd=(t,e)=>{if(!t||t.filter(m=>m!=null).length<3)return"";const s=t.filter(m=>m!=null),n=Math.min(...s),l=Math.max(...s),i=l-n||1,c=84,r=22,d=t.length;let v="",f=null;return t.forEach((m,b)=>{if(m==null)return;const $=b/(d-1)*c,q=r-2-(m-n)/i*(r-4);v+=(v?"L":"M")+$.toFixed(1)+" "+q.toFixed(1),f=[$,q]}),`<svg width="${c}" height="${r}" style="vertical-align:middle;margin-left:6px"><path d="${v}" fill="none" stroke="${e}" stroke-width="1.2" opacity=".75"/><circle cx="${f[0]}" cy="${f[1]}" r="2.4" fill="${e}"/></svg>`},Gd={齿轮箱:"#8A6D3B",发电机:"#4A6FA5",主轴承:"#2E7D6B",变桨叶片:"#4A6FA5",偏航:"#2E7D6B",测风:"#7C5295",其他:"#5A6470"},zd=(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="${ut(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="${ut(xe(i.k))} ${i.n}" style="width:${(i.n/e*100).toFixed(1)}%;background:${Gd[i.k]||"#5A6470"}"></i>`).join("")}</div><div class="small muted" style="margin-top:3px">${(t||[]).slice(0,2).map(i=>xe(i.k)+" "+i.n).join(" · ")}</div>`};function Yd(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>
- <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(b=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${Ui[b]}"></i>${o(Kn(b))}</span>`).join("")}</div>
- <div><b>${o("fus.legend_tier")}</b> ${["定论","准定论·预警","候选·新发","候选","候选·记基线","参考","INSUFFICIENT"].map(b=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${(t.色标||{})[b]||"#ccc"}"></i>${pn(b)}</span>`).join("")}</div><div>${o("fus.legend_note")}</div></div>`;const n=b=>{const $=String(b||""),q=$.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 q?q[0].startsWith("至")?o("win.through",{date:q[0].replace(/^至\s*/,"")}):q[0]:$.slice(0,14)},l=(b,$,q)=>`<th title="${ut($||"")}${q||""}"><div>${b}</div><div class="small muted" style="font-weight:400">${yt(n($))}${q||""}</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.矩阵||[],r=Math.max(1,...c.map(b=>(b.报警||{}).n||0)),d=Math.max(1,...c.map(b=>(b.工单||{}).n||0)),v=t.色标||{},f=b=>{if(b.ostate&&b.ostate!=="不可判")return Ee(b.ostate);const $=String(b.note||"");return/数据不足|不可判|nsufficient/.test($)?o("fus.short.nodata"):/未评估|ot assessed/.test($)?o("fus.short.uneval"):/无样|未取样|o sample/.test($)?o("fus.short.nosample"):/样龄|stale/.test($)?o("fus.short.stale"):{ok:o("fus.short.normal"),unlisted:o("fus.short.unlisted"),stale:o("fus.short.stale")}[b.level]||"—"},m=b=>{const $=b||{},q=Ki[$.ostate]||v[$.wlevel]||Vi[$.level]||"var(--muted)",J=Ie($.note),tt=["bad","warn","note"].includes($.level),ot=ut(J)+o("fus.tip_state",{s:Ee($.ostate||"?")});if(!tt)return`<td class="small" title="${ot}" style="border-left:3px solid ${q};color:var(--muted)">${f($)}</td>`;const D=J.split(/[::]/),N=(D.length>1?D.slice(1).join(":"):J).trim(),T=/^[ ]*(评估报告|两口径差异|⚠|ssessment)/.test(N)||N.length>16?"":N,I=T?yt(T):$.ostate&&$.ostate!=="不可判"?"":f($),mt=$.wlevel&&$.wlevel!=="—"&&$.wlevel!=="正常"&&$.ostate?Gi(Ee($.ostate),pn($.wlevel),q):"";return`<td class="small" title="${ot}${o("fus.tip_tier",{e:pn($.wlevel||"?")})}" style="border-left:3px solid ${q};overflow:hidden"><div><div style="color:${q};font-weight:${["bad","warn"].includes($.level)?600:400}">${I}</div>${mt}</div>${Vd($.hist,$.level==="bad"?"var(--critical)":$.level==="warn"?"var(--warning)":"var(--muted)")}</td>`};return c.forEach(b=>{const $=b.报警||{n:0,fam:[]},q=b.工单||{n:0,acts:[]},J=$.rank&&$.rank<=5?"var(--warning)":"var(--line)",tt=$.burst,ot=ut(($.items||[]).map(D=>`${D.code} ${Ie(D.text)} — ${D.n} (${D.first}~${D.last})`).join(`
- `))+(tt?`
- `+ut(o("fus.burst_tip",{c:tt.code,p:(tt.share*100).toFixed(0),m:tt.med_s})):"");s+=`<tr><td><a href="/turbine/${b.turbine}"><b>${Ot(b.turbine)}</b></a></td>${m(b.振动)}${m(b.温度)}${m(b.润滑)}${m(b.油液)}
- <td title="${ot}" style="border-left:3px solid ${tt?"var(--unknown)":J}"><b class="small num" style="color:${$.rank&&$.rank<=10?"var(--ink)":"var(--muted)"}">${o("fus.alarm_n",{n:$.n})}</b>${$.rank?`<span class="small muted">${o("fus.alarm_rank",{r:$.rank,t:$.tot})}</span>`:""}${tt?`<div class="small" style="color:var(--unknown)">${o("fus.burst",{p:(tt.share*100).toFixed(0),c:tt.code})}</div>`:""}${$.rank&&$.rank<=10||tt?zd($.fam,$.n,r):""}</td>
- <td title="${ut((q.items||[]).map(D=>`${D.date} ${hn(D.name)} → ${hn(D.act)}${D.part?" "+hn(D.part):""}`).join(`
- `)||o("fus.wo_none"))}" style="min-width:110px">${q.n?`<b class="small">${o("fus.wo_n",{n:q.n})}</b>${q.last?`<span class="small muted"> · ${ut(q.last)}</span>`:""}<div style="height:7px;border-radius:3px;background:var(--muted);opacity:.5;margin-top:4px;width:${Math.max(6,Math.round(q.n/d*90))}px"></div><div class="small muted" style="margin-top:3px">${(q.acts||[]).slice(0,2).map(D=>yt(D.k)+"×"+D.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 Fl=(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>`},Sn=(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="${ut(Wi(t))}">${eu.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 Jd(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>
- <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>
- ${s.map(i=>`<tr><td><b>${Ot(i.turbine)}</b></td><td>${Sn(i.component+(i.title||""),"var(--good)")} <span class="small">${hs(i.component)}</span></td><td class="small">${yt(i.title)}</td><td>${ut(i.replace_date)}</td><td>${Fl(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">${yt(i.verdict)}</span></td></tr>`).join("")}</table></div>
- <p class="small" style="margin-top:6px">${o("fus.loop_neg",{n:l})}</p>
- <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>
- ${n.map(i=>`<tr><td><b>${Ot(i.turbine)}</b></td><td>${Sn(i.component,"var(--warning)")} <span class="small">${hs(i.component)}</span></td><td>${Fl(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>
- <p class="small muted" style="margin-top:8px">${o("fus.loop_bound",{b:yt(String(e["★数据边界"]||"").split("**").join(""))})}</p></div>`}const Xd=(t,e,s,n)=>{if(e==null)return`<span class="small">${yt(Wi(n).slice(0,30))}</span>`;const l=6,i=104,c=i/2,r=Math.max(-1,Math.min(1,e/l)),d=Math.abs(r)*(c-8),f=Math.abs(e)>=3?/候选|andidate/.test(s||"")?"var(--warning)":/记基线|aseline/.test(s||"")?"var(--accent)":/不可判|返服|ndeterm/.test(s||"")?"var(--unknown)":"var(--muted)":"var(--muted)",m=Math.abs(e)>l;return`<div title="${ut(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-d}" y="4" width="${Math.max(d,1.5)}" height="10" rx="2" fill="${f}" fill-opacity=".9"/>${m?`<path d="M${e>0?i-5:5},9 l${e>0?-5:5},-4 v8 z" fill="${f}"/>`:""}</svg><b class="small num" style="color:${f}">${e>0?"+":""}${e}K</b></div><div class="small muted" style="margin-top:1px">${ut(t||"")}</div>`},Zd=(t,e)=>{if(!t||!t.length)return`<span class="small" title="${ut(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="${ut(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,r])=>{const d=i(c),v=i(r);return`<rect x="${d.toFixed(1)}" y="4" width="${Math.max(v-d,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>`},Qd=(t,e,s)=>`<div title="${ut(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">${ut(t||o("fus.oil_none"))}</span></div><div class="small muted">${t?o(e?"fus.oil_fresh":"fus.oil_stale"):"—"}</div>`,je=(t,e)=>{const s=Un(t);return s?`<span class="chip ${s} ">${o(Kn(s))}</span>`:t?`<span class="chip">${ut(t)}</span>`:""};function tu(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(r=>r.turbine)).size,n:l.length+"",f:""})}</h3>
- <div style="display:flex;gap:8px;margin:8px 0 12px;flex-wrap:wrap">${["bad","warn","note","ok"].map(r=>`<button class="pill ${e===r?"on":""}" data-ffilter="${r}">${o("fus.lv."+r)}</button>`).join("")}<button class="pill " data-ffilter="unlisted">${o("fus.unlisted_link",{n:n.filter(r=>(r.振动||{}).level==="unlisted").length})}</button></div>
- <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>
- <tr><td>${je("危险")}</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>
- <tr><td>${je("报警")}</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>
- <tr><td>${je("良好")}</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>
- <tr><td>${je("优秀")}</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>
- <tr><td>${je("不可判")}</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>
- <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(r=>{const d=Vi[r.级]||"var(--accent)",v=Ki[r.设备状态]||"var(--muted)";c+=`<tr><td><a href="/turbine/${r.turbine}"><b>${Ot(r.turbine)}</b></a></td><td style="min-width:200px">${Sn(r.部件,d)} <span class="small">${hs(r.部件)}</span></td>
- <td title="${ut(Ie(r.振动结论))}">${Gi(Ee(r.设备状态||"—"),yt(r.振动结论),v)}</td><td style="min-width:130px">${Zd(r.窗区间,r.claim_window)}</td>
- <td class="small" title="${ut(r.振动信号||"")}">${yt(Ie(r.振动信号))}</td><td style="min-width:158px">${Xd(r.温度通道,r.温度dev,r.温度判,r.温度轴)}</td><td style="min-width:112px">${Qd(r.油末样,r.油新鲜,r.油样轴)}</td></tr>`}),c+"</table></div></div>"}const eu=[["mbf",/主轴承[((]前|主轴承前|主轴承[++]|主轴承(?![((前后])/],["mba",/主轴承[((]后|主轴承后/],["ps",/行星|二级行星/],["ims",/中间轴|中速/],["hss",/高速轴|高速(?!.*发电)/],["gde",/发电机DE|发电机[((]|发电机(?!NDE)/],["gnde",/发电机NDE|NDE/]],Ze=t=>Ui[Un(t)]||null,Al=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>`,su=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}">${yt(e)}</span></div>`};function nu(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:Se(e.win)})}</b></p></div>`;for(const[n,l]of Object.entries(t.事件)){const i=l,c=i.报警||{},r=i.工单||{};s+=`<div class="panel mb"><h3>${o("fus.ev_head",{c:xe(n),an:c.总条数||0,au:c.台数||0,wn:r.总条数||0,wu:r.台数||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(d=>`<tr><td>${ut(d.code)}</td><td class="small">${yt(Ie(d.text))}</td><td class="r">${d.条数}</td><td class="r">${d.台数}</td><td class="r">${d.时长h}</td></tr>`).join("")}</table></div>
- <p class="small">${o("fus.ev_top")}${Object.entries(c.top台||{}).map(([d,v])=>`<a href="/turbine/${d}">${Ot(d)}</a>×${v}`).join(" · ")}</p>
- <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(d=>`<tr><td>${Ot(d.t)}</td><td class="small">${ut(d.on)}</td><td>${ut(d.code)}</td><td class="small">${yt(Ie(d.text))}</td><td class="r">${d.dur_min??"—"}</td></tr>`).join("")}</table></div></details>`:s+=`<p class="small">${o("fus.ev_no_alarm")}</p>`,r.总条数>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>${(r.明细||[]).map(d=>`<tr><td>${Ot(d.t)}</td><td class="small">${ut(d.date)}</td><td class="small">${yt(d.name)}</td><td class="small">${yt(d.act)}</td><td class="small">${yt(d.cause)}</td></tr>`).join("")}</table></div>`:s+=`<p class="small">${o("fus.ev_no_wo")}</p>`,s+="</div>"}return s}function lu(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)">${yt(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:ut(t.date||"")})}</h3>
- ${t.时间范围?`<p class="small" style="margin:2px 0 6px">${o("fus.cms_window",{r:ut(t.时间范围)})}</p>`:""}
- <p class="small">${yt(t.overall||"")} ${o("fus.cms_note")}</p>
- <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>
- ${(t.action||[]).map(n=>{const l={};return String(n[2]).split(/[;;]/).forEach(i=>{const c=i.split(/[::]/);if(c.length>1){const r=s[c[0].trim()]||null;r&&(l[r]=Ze(c[1].trim()))}}),`<tr><td><b>${Ot(n[0])}</b></td><td>${je(n[1])}</td><td title="${ut(n[2])}">${Al(l)} <span class="small muted">${yt(n[2])}</span></td><td style="min-width:150px">${su(n[3])}</td><td>${/P0/.test(n[4])?`<b style="color:var(--critical)">${ut(n[4])}</b>`:ut(n[4])}</td></tr>`}).join("")}</table></div>
- <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>
- ${(t.grades||[]).map(n=>`<tr><td><b>${Ot(n.t)}</b></td><td title="${o("chain.mbf")} ${Ee(n.主轴承前)} · ${o("chain.mba")} ${Ee(n.主轴承后)} · ${o("chain.gb")} ${Ee(n.齿轮箱)} · ${o("chain.gen")} ${Ee(n.发电机)}">${Al({mbf:Ze(n.主轴承前),mba:Ze(n.主轴承后),gb:Ze(n.齿轮箱),gen:Ze(n.发电机)})}</td><td>${je(n.综合)}</td><td class="small">${ut(n.行动)}</td></tr>`).join("")}</table></div>
- <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(Ot).join(", ")||o("fus.none_word"),b:((t.diff||{}).only_vibration_package||(t.diff||{}).only_handoff||[]).map(Ot).join(", ")||o("fus.none_word")})}</div>
- <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 iu=["matrix","loop","units","events","cms"],au=typeof window<"u"?window:globalThis,Ol=au.__charts,ou=Ol?Ol({t:o,fmt:Tt,esc:ut,dv:yt,EN:!1,displayText:t=>t==null?"":String(t),verb:()=>{}}):{};function Jt(t,...e){const s=ou[t];if(typeof s!="function")return"";try{return s(...e)}catch{return""}}const ru={key:0},cu={class:"panel"},du={class:"small muted"},uu={key:1},pu={class:"kpis",style:{"margin-bottom":"12px"}},hu={key:0},fu={class:"grid2"},mu={class:"panel span2"},vu={class:"small muted",style:{"font-weight":"400"}},_u={class:"panel"},gu={class:"small muted",style:{"margin-top":"6px"}},bu={class:"panel"},yu={class:"small muted",style:{"font-weight":"400"}},$u={class:"tblwrap"},xu={class:"r",style:{width:"90px"}},wu={class:"small"},ku={class:"num small"},Mu={class:"r small"},Su={class:"small muted",style:{"margin-top":"6px"}},Tu=jt({__name:"Energy",props:{d:{}},setup(t){const e=t,s=B(()=>(e.d?.control||{}).energy),n=B(()=>(e.d?.control||{}).states||[]),l={"限电·绑定":"loss.curtail_bound","限电命令·未绑定":"loss.curtail_unbound","停机(调度令)":"loss.dispatch",停机:"loss.stop",正常发电:"loss.normal",低风待机:"loss.lowwind"},i=d=>l[d]?o(l[d]):d,c=B(()=>{const d=s.value||{};return[{v:Tt(d.theo),u:"MWh",l:o("en.kpi_theo"),k:""},{v:Tt(d.act),u:"MWh",l:o("en.kpi_act",{h:Tt(d.eflh)}),k:"ok"},{v:Tt(d.loss_pct,1),u:"%",l:o("en.kpi_loss",{v:Tt(d.loss)}),k:d.loss_pct>=10?"warn":""},{v:d.cap_ok?o("en.cap_pass"):o("en.cap_fail"),u:"",l:o("en.cap_note",{op:d.cap_ok?"<":"≥",cap:Tt(d.cap)}),k:d.cap_ok?"ok":"bad"}]}),r=B(()=>Math.max(1,...n.value.map(d=>d.pct)));return(d,v)=>s.value?(k(),S("section",uu,[a("div",pu,[(k(!0),S(it,null,$t(c.value,(f,m)=>(k(),S("div",{key:m,class:Wt(["kpi",f.k])},[a("b",null,[rt(p(f.v),1),f.u?(k(),S("small",hu,p(f.u),1)):_t("",!0)]),a("span",null,p(f.l),1)],2))),128))]),a("div",fu,[a("div",mu,[a("h3",null,[rt(p(u(o)("en.balance"))+" ",1),a("span",vu,p(u(o)("en.win",{win:u(Se)(t.d.win)})),1)]),Ft(Yt,{html:u(Jt)("waterfall",s.value)},null,8,["html"])]),a("div",_u,[a("h3",null,p(u(o)("en.blame")),1),Ft(Yt,{html:u(Jt)("blameBar",s.value)},null,8,["html"]),a("p",gu,p(u(o)("en.blame_note",{n:u(Tt)(Math.round(((s.value.items||[]).find(f=>f.k==="停机")||{}).loss||0))})),1)]),a("div",bu,[a("h3",null,[rt(p(u(o)("en.states"))+" ",1),a("span",yu,p(u(o)("en.win",{win:u(Se)(t.d.win)})),1)]),a("div",$u,[a("table",null,[a("tr",null,[a("th",null,p(u(o)("en.state")),1),a("th",null,p(u(o)("en.share")),1),a("th",xu,p(u(o)("en.loss_mwh")),1)]),(k(!0),S(it,null,$t(n.value,f=>(k(),S("tr",{key:f.k},[a("td",wu,p(i(f.k)),1),a("td",null,[a("i",{class:"bar",style:It(`width:${Math.round(f.pct/r.value*84)}px;background:${f.k.indexOf("停机")>=0&&f.k.indexOf("调度")<0?"var(--critical)":"var(--accent)"}`)},null,4),a("span",ku,p(f.pct)+"% · "+p(u(Tt)(Math.round(f.h)))+"h",1)]),a("td",Mu,p(u(Tt)(Math.round(f.loss))),1)]))),128))])]),a("p",Su,[rt(p(t.d.control.anchors||""),1),v[0]||(v[0]=a("br",null,null,-1)),rt(p(u(o)("en.states_note")),1)])])])])):(k(),S("section",ru,[a("div",cu,[a("p",du,p(u(o)("ui.empty")),1)])]))}}),Cu={class:"eyebrow"},Eu={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},Fu={style:{color:"var(--warning)"}},Au={class:"grid2"},Ou={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},qu={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},Lu={class:"panel span2"},Du={class:"small muted",style:{"margin-top":"6px"}},ju={class:"panel"},Pu={class:"panel"},Hu={class:"panel span2"},Ru={class:"small muted",style:{"margin-top":"6px"}},Iu={key:0,style:{color:"var(--warning)"}},Nu={class:"panel"},Bu={class:"tblwrap"},Wu={style:{width:"70px"}},Uu={class:"r",style:{width:"80px"}},Ku={class:"num small"},Vu={class:"r small"},Gu={class:"small muted",style:{"margin-top":"6px"}},zu={key:0,class:"panel",style:{"border-left":"3px solid var(--critical)"}},Yu={class:"small"},Ju={key:1,class:"panel"},Xu={class:"small muted",style:{"font-weight":"400"}},Zu={class:"small muted",style:{"margin-top":"6px"}},Qu={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},tp={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},ep={key:0,class:"panel span2"},sp={class:"small muted",style:{"margin-top":"6px"}},np={style:{"margin-top":"12px"}},lp={class:"small muted",style:{"margin-top":"2px"}},ip={class:"panel"},ap={class:"small muted",style:{"margin-top":"4px"}},op={class:"panel"},rp={class:"tblwrap"},cp={style:{width:"64px"}},dp={class:"r",style:{width:"56px"}},up={class:"num small"},pp={class:"r small"},hp={class:"small muted",style:{"margin-top":"6px"}},fp=jt({__name:"Fault",props:{d:{}},setup(t){const e=t,s=B(()=>e.d?.faults||{}),n=B(()=>s.value.partial||[]),l=B(()=>e.d?.m8&&!e.d.m8.err?e.d.m8.mtbf:null),i=B(()=>s.value.monthly||{months:[],vals:[]}),c=B(()=>n.value.length?(i.value.months||[]).indexOf(n.value[0]):-1),r=B(()=>{const N=n.value.length?o("flt.rate_partial",{m:n.value.join("/")}):o("flt.rate_full"),T=c.value>=0&&!!i.value.per_day;return N+(T?" "+o("flt.rate_example",{m:n.value[0],v:d.value}):"")}),d=B(()=>{const N=c.value;return N>=0&&i.value.per_day?i.value.per_day[N]:null}),v=B(()=>n.value.length?o("win.partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)}):""),f=B(()=>s.value.per_t||[]),m=B(()=>Math.max(1,...f.value.map(N=>N.v))),b=B(()=>l.value&&e.d?.m8?.seasonal?e.d.m8.seasonal:[]),$=B(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),q=B(()=>(e.d?.m8?.stop_pareto||[]).map(N=>({k:String(N.k).split(";")[0].slice(0,26),v:N.h}))),J=N=>hs(N),tt=B(()=>({months:b.value[0]&&b.value[0].months||[],series:b.value.slice(0,4).map(N=>({name:String(N.name).slice(0,16),vals:N.vals})),xlab:o("flt.seasonal_x")})),ot=B(()=>l.value?.台级top||[]),D=B(()=>Math.max(1,...ot.value.map(N=>N.时长h)));return(N,T)=>(k(),S("section",null,[a("div",Cu,p(u(o)("flt.eyebrow")),1),a("div",Eu,[a("b",null,p(u(o)("win.banner",{win:u(Se)(t.d.win)})),1),v.value?(k(),S(it,{key:0},[T[0]||(T[0]=rt(" | ",-1)),a("span",Fu,p(v.value),1)],64)):_t("",!0)]),a("div",Au,[a("div",Ou,[rt(p(u(o)("flt.alarm_face"))+" ",1),a("span",qu,p(u(o)("flt.alarm_meta",{n:u(Tt)(s.value.total),c:s.value.n_codes,win:u(Se)(t.d.win)})),1)]),a("div",Lu,[a("h3",null,p(u(o)("flt.rate")),1),Ft(Yt,{html:u(Jt)("rateChart",i.value)},null,8,["html"]),a("p",Du,[a("b",null,p(u(o)("flt.rate_note")),1),rt(" — "+p(r.value),1)])]),a("div",ju,[a("h3",null,p(u(o)("flt.pareto_n")),1),Ft(Yt,{html:u(Jt)("paretoChart",s.value.pareto_n||[],u(o)("unit.n"),u(o)("flt.pareto_n_note"))},null,8,["html"])]),a("div",Pu,[a("h3",null,p(u(o)("flt.pareto_d")),1),Ft(Yt,{html:u(Jt)("paretoChart",s.value.pareto_d||[]," h",u(o)("flt.pareto_d_note"))},null,8,["html"])]),a("div",Hu,[a("h3",null,p(u(o)("flt.quad")),1),Ft(Yt,{html:u(Jt)("quadChart",s.value.quad||[])},null,8,["html"]),a("p",Ru,[rt(p(u(o)("flt.quad_note",{n:s.value.n_codes,m:(s.value.quad||[]).length}))+" ",1),n.value.length?(k(),S("span",Iu,p(u(o)("flt.quad_partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)})),1)):_t("",!0),rt(" "+p(u(o)("flt.quad_note2")),1)])]),a("div",Nu,[a("h3",null,p(u(o)("flt.per_t",{n:f.value.length})),1),a("div",Bu,[a("table",null,[a("tr",null,[a("th",Wu,p(u(o)("ui.unit")),1),a("th",null,p(u(o)("ui.count")),1),a("th",Uu,p(u(o)("flt.per_t_share")),1)]),(k(!0),S(it,null,$t(f.value,I=>(k(),S("tr",{key:I.k},[a("td",null,[a("b",null,p(u(Ot)(I.k)),1)]),a("td",null,[a("i",{class:"bar",style:It(`width:${Math.round(I.v/m.value*90)}px;background:${I.v/m.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),a("span",Ku,p(u(Tt)(I.v)),1)]),a("td",Vu,p((I.v/s.value.total*100).toFixed(1))+"%",1)]))),128))])]),a("p",Gu,p(u(o)("flt.per_t_note",{n:u(Tt)(s.value.total)})),1)]),t.d.m8&&t.d.m8.err?(k(),S("div",zu,[a("p",Yu,p(u(o)("flt.block_err",{k:"m8",e:t.d.m8.err})),1)])):_t("",!0),l.value&&b.value.length?(k(),S("div",Ju,[a("h3",null,[rt(p(u(o)("flt.seasonal"))+" ",1),a("span",Xu,"("+p(u(o)("flt.seasonal_unit"))+")",1)]),Ft(Yt,{html:u(Jt)("multiline",tt.value)},null,8,["html"]),a("p",Zu,p(u(o)("flt.seasonal_note")),1)])):_t("",!0),l.value?(k(),S(it,{key:2},[a("div",Qu,[rt(p(u(o)("flt.stop_face"))+" ",1),a("span",tp,p(u(o)("flt.stop_meta",{h:u(Tt)(l.value.停机总时长h),n:u(Tt)(l.value.停机事件数)})),1)]),$.value?(k(),S("div",ep,[a("h3",null,p(u(o)("flt.ram")),1),Ft(Yt,{html:u(Jt)("ramChart",$.value&&$.value.表||[],J)},null,8,["html"]),a("p",sp,p(u(o)("flt.ram_note",{a:$.value.设备类停机h,b:$.value.外部类停机h})),1),a("div",np,[Ft(Yt,{html:u(Jt)("attribBar",$.value&&$.value.表||[],$.value&&$.value.总停机h||0)},null,8,["html"])]),a("p",lp,p(u(o)("flt.attrib_note",{h:(($.value.表||[]).find(I=>I.部件==="无记录停机")||{}).停机时长h||0})),1)])):_t("",!0),a("div",ip,[a("h3",null,p(u(o)("flt.stop_pareto")),1),Ft(Yt,{html:u(Jt)("paretoChart",q.value," h",u(o)("flt.stop_pareto_note"))},null,8,["html"]),a("p",ap,p(l.value.口径),1)]),a("div",op,[a("h3",null,p(u(o)("flt.stop_units",{n:ot.value.length})),1),a("div",rp,[a("table",null,[a("tr",null,[a("th",cp,p(u(o)("ui.unit")),1),a("th",null,p(u(o)("flt.stop_h")),1),a("th",dp,p(u(o)("flt.stop_n")),1)]),(k(!0),S(it,null,$t(ot.value,I=>(k(),S("tr",{key:I.t},[a("td",null,[a("b",null,p(u(Ot)(I.t)),1)]),a("td",null,[a("i",{class:"bar",style:It(`width:${Math.round(I.时长h/D.value*90)}px;background:${I.时长h/D.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),a("span",up,p(u(Tt)(I.时长h)),1),T[1]||(T[1]=rt("h",-1))]),a("td",pp,p(I.次),1)]))),128))])]),a("p",hp,p(u(o)("flt.stop_units_note")),1)])],64)):_t("",!0)])]))}});function mp(t){const e=t.parentNode;if(e){for(;t.firstChild;)e.insertBefore(t.firstChild,t);e.removeChild(t)}}const Vn={mounted:t=>mp(t)},vp={class:"eyebrow"},_p={style:{display:"flex",gap:"8px","margin-bottom":"14px","flex-wrap":"wrap"}},gp=["data-fsub","onClick"],bp=["innerHTML"],yp=jt({__name:"Vibration",props:{d:{},sub:{},cms:{}},emits:["sub"],setup(t,{emit:e}){const s=t,n=e,l=B(()=>s.sub||"matrix"),i=B(()=>s.d?.fus),c=B(()=>{const r=i.value;return!r||r.err?`<section><div class="panel"><p>${o("fus.unavailable",{e:String(r&&r.err||"")})}</p></div></section>`:l.value==="matrix"?Yd(r):l.value==="loop"?Jd(r):l.value==="units"?tu(r,null):l.value==="events"?nu(r,s.d):l.value==="cms"?lu(s.cms??null):`<div class="panel mb"><p class="small muted">子视图「${o("fus.sub."+l.value)}」尚未迁移到 Vue(迁移中)。</p></div>`});return(r,d)=>(k(),S("section",null,[a("div",vp,p(u(o)("fus.eyebrow")),1),a("div",_p,[(k(!0),S(it,null,$t(u(iu),v=>(k(),S("button",{key:v,class:Wt(["pill",{on:v===l.value}]),"data-fsub":v,onClick:f=>n("sub",v)},p(u(o)("fus.sub."+v)),11,gp))),128))]),Ks(a("div",{class:"unwrap-host",innerHTML:c.value},null,8,bp),[[u(Vn)]])]))}}),$p={class:"eyebrow"},xp={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},wp={class:"muted",style:{"margin-top":"3px"}},kp={key:0,class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},Mp={class:"small"},Sp={class:"small muted",style:{"font-weight":"400"}},Tp={key:0,class:"chip"},Cp={style:{display:"flex","flex-wrap":"wrap",gap:"18px"}},Ep={style:{flex:"1 1 300px","min-width":"280px"}},Fp={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},Ap={class:"small muted",style:{"margin-top":"4px"}},Op={style:{flex:"1 1 300px","min-width":"280px"}},qp={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},Lp=["innerHTML"],Dp={class:"small",style:{"font-weight":"600",margin:"12px 0 4px"}},jp={class:"small muted",style:{"margin-top":"4px"}},Pp={key:2,class:"panel mb"},Hp={class:"small muted",style:{"font-weight":"400"}},Rp=["innerHTML"],Ip={class:"eyebrow"},Np={key:3,class:"panel",style:{"border-left":"3px solid var(--critical)"}},Bp={class:"small"},Wp={key:4,class:"panel",style:{"border-left":"3px solid var(--accent)"}},Up={class:"small"},Kp={key:5,class:"panel"},Vp={class:"small muted"},Gp={key:6,class:"grid2"},zp={key:0,class:"small muted",style:{"font-weight":"400"}},Yp={key:0,class:"small muted",style:{"margin-top":"6px"}},Jp=jt({__name:"Generation",props:{d:{},curves:{},pending:{type:Boolean}},setup(t){const e=t,s=B(()=>e.d?.m9&&!e.d.m9.err?e.d.m9:null),n=B(()=>e.d?.control||null),l=B(()=>e.curves||null),i=B(()=>(e.d?.sysmx_span||[]).join(" ~ ")||""),c=B(()=>s.value?.β_schedule?.离群||[]),r=B(()=>s.value?.β_schedule?.全场同档差中位||0),d=B(()=>{const m=n.value?.curve?.cands||[];return m.length?m.map(b=>`<a href="/turbine/${b.t}">${Ot(b.t)}</a> ${b.dev}% ${yt(b.判)}`).join(" | "):o("gen.no_cands")}),v=B(()=>o("gen.beta_note",{units:c.value.map(m=>`<a href="/turbine/${m.t}">${Ot(m.t)}</a>`).join(" / "),k:c.value.length?Math.round(Math.max(...c.value.map(m=>m.平均偏))/Math.max(r.value||0,.01)):"—",v:yt(s.value?.β_schedule?.判)})),f=B(()=>l.value?.figs||[]);return(m,b)=>(k(),S("section",null,[a("div",$p,p(u(o)("gen.eyebrow")),1),a("div",xp,[a("b",null,p(u(o)("gen.fixed_win")),1),rt(" "+p(i.value?u(o)("gen.win_range",{span:i.value}):"")+" ",1),a("div",wp,p(u(o)("gen.win_why")),1)]),t.d.m9&&t.d.m9.err?(k(),S("div",kp,[a("p",Mp,p(u(o)("flt.block_err",{k:"m9",e:u(yt)(t.d.m9.err)})),1)])):_t("",!0),s.value?(k(),S("div",{key:1,class:"panel mb",style:It(t.pending?"border-left:3px solid var(--accent)":"")},[a("h3",null,[rt(p(u(o)("gen.ctrl"))+" ",1),a("span",Sp,p(u(o)("gen.ctrl_win",{win:u(yt)(s.value.窗)})),1),t.pending?(k(),S("span",Tp,p(u(o)("gen.recomputing_short")),1)):_t("",!0)]),a("div",Cp,[a("div",Ep,[a("div",Fp,p(u(o)("gen.cap")),1),Ft(Yt,{html:u(Jt)("capAxis",s.value&&s.value.P封顶,s.value&&s.value.ω封顶)},null,8,["html"]),a("p",Ap,p(u(o)("gen.cap_note")),1)]),a("div",Op,[a("div",qp,p(u(o)("gen.beta")),1),Ft(Yt,{html:u(Jt)("betaBar",s.value&&s.value.β_schedule||{},u(Ot))},null,8,["html"]),a("p",{class:"small muted",style:{"margin-top":"4px"},innerHTML:v.value},null,8,Lp),a("div",Dp,p(u(o)("gen.ruler")),1),Ft(Yt,{html:u(Jt)("rulerBar",s.value&&s.value.尺子)},null,8,["html"]),a("p",jp,p(u(o)("gen.ruler_note")),1)])])],4)):_t("",!0),n.value&&n.value.curve?(k(),S("div",Pp,[a("h3",null,[rt(p(u(o)("gen.cands"))+" ",1),a("span",Hp,p(u(o)("gen.cands_meta",{note:u(yt)(n.value.curve.note||""),s:t.d.sigma||n.value.curve.sigma})),1)]),a("p",{class:"small",innerHTML:d.value},null,8,Rp)])):_t("",!0),a("div",Ip,p(u(o)("gen.figs")),1),l.value&&l.value.err?(k(),S("div",Np,[a("p",Bp,p(u(ut)(l.value.err)),1)])):l.value&&l.value.building?(k(),S("div",Wp,[a("p",Up,[a("b",null,p(u(o)("gen.recomputing")),1),rt(" "+p(u(yt)(l.value.curves?.note||"")),1)]),b[0]||(b[0]=a("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),b[1]||(b[1]=a("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))])):l.value?(k(),S("div",Gp,[(k(!0),S(it,null,$t(f.value,($,q)=>(k(),S("div",{key:q,class:"panel"},[a("h3",null,[rt(p(u(yt)($.title||"")),1),$.unit?(k(),S("span",zp,"("+p(u(yt)($.unit))+")",1)):_t("",!0)]),Ft(Yt,{html:u(Jt)("multiline",Object.assign({zero:!1},$))},null,8,["html"]),$.note?(k(),S("p",Yp,p(u(yt)($.note)),1)):_t("",!0)]))),128))])):(k(),S("div",Kp,[a("p",Vp,p(u(o)("gen.loading")),1),b[2]||(b[2]=a("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),b[3]||(b[3]=a("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))]))]))}}),Xp={class:"eyebrow"},Zp={class:"small muted"},Qp=["href"],th=["innerHTML"],eh={class:"panel mb"},sh={class:"small muted"},nh=["innerHTML"],lh={style:{display:"flex",gap:"8px","flex-wrap":"wrap",margin:"10px 0","align-items":"center"}},ih=["placeholder","value"],ah={class:"small muted",for:"askm"},oh=["innerHTML"],rh=["innerHTML"],ch=["title"],dh={class:"muted"},uh={class:"btn",id:"askgo"},ph={id:"askout",class:"small"},hh=jt({__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=At("equip"),i=At(""),c=At(""),r=At(""),d=B(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),v=B(()=>d.value?d.value.models||{}:null),f=B(()=>!!d.value?.offline||!!d.value?.LOCAL_AI_DOWN),m=B(()=>o("cat."+l.value)),b=B(()=>s.map(([I])=>`<button class="pill ${I===l.value?"on":""}" data-cat="${I}">${o("cat."+I)}</button>`).join("")),$=B(()=>[1,2,3].map(I=>`<div class="qitem" data-q="${ut(o("cat."+l.value+".q"+I))}">${o("cat."+l.value+".q"+I)}</div>`).join("")),q=(I,mt)=>o("mdl."+I+"."+mt),J=I=>(q(I,"nm")||I)+(n[I]?" · "+o("mdl."+n[I]):"")+(q(I,"t")?" · "+q(I,"t"):""),tt=I=>n[I]?n[I]==="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>`,ot=B(()=>{const I=v.value;if(I===null)return c.value;const mt=Object.keys(I);return!c.value||!mt.includes(c.value)?mt[0]||"":c.value}),D=B(()=>{const I=v.value;return I===null?'<option value="">…</option>':Object.keys(I).length?Object.keys(I).map(mt=>`<option value="${ut(mt)}" ${mt===ot?"selected":""}>${ut(J(mt))}</option>`).join(""):`<option value="">${f.value?o("ask.local_down"):o("ask.no_models")}</option>`}),N=B(()=>`/?lang=zh&win=${encodeURIComponent(String(e.d?.win||""))}`),T=B(()=>ot.value?tt(ot.value):"");return(I,mt)=>(k(),S("section",null,[a("div",Xp,p(u(o)("dec.head")),1),a("p",Zp,[rt(p(u(o)("dec.classic"))+" ",1),a("a",{href:N.value},p(u(o)("ui.open_classic")),9,Qp)]),a("div",{style:{display:"flex",gap:"8px",margin:"10px 0 12px","flex-wrap":"wrap"},innerHTML:b.value},null,8,th),a("div",eh,[a("h3",null,p(u(o)("ask.common_q",{cat:m.value})),1),a("p",sh,p(u(o)("cat."+l.value+".hint"))+p("。")+p(u(o)("ask.grounding")),1),Ks(a("div",{innerHTML:$.value,class:"unwrap-host"},null,8,nh),[[u(Vn)]]),a("div",lh,[a("input",{id:"askq",type:"text",placeholder:u(ut)(u(o)("ask.placeholder",{cat:m.value})),value:i.value,style:{flex:"1","min-width":"280px"}},null,8,ih),a("label",ah,p(u(o)("ask.model")),1),a("select",{id:"askm",innerHTML:D.value},null,8,oh),a("span",{id:"mdlnote",class:"small",innerHTML:T.value},null,8,rh),a("label",{class:"small",style:{cursor:"pointer","white-space":"nowrap"},title:u(ut)(u(o)("ask.xrev_title"))},[mt[0]||(mt[0]=a("input",{type:"checkbox",id:"askxrev"},null,-1)),rt(" "+p(u(o)("ask.xrev"))+" ",1),a("span",dh,p(u(o)("ask.xrev_note")),1)],8,ch),a("button",uh,p(u(o)("ask.go")),1)]),a("div",ph,p(r.value||u(o)("ask.idle")),1)])]))}}),fh={class:"eyebrow"},mh={class:"panel mb"},vh={class:"small muted",style:{"font-weight":"400"}},_h=["placeholder","value"],gh={class:"btn","data-asst":"fault"},bh={class:"small muted"},yh=["innerHTML"],$h={id:"asstOut_fault",style:{"margin-top":"10px"}},xh={class:"panel mb"},wh={class:"small muted",style:{"font-weight":"400"}},kh=["innerHTML"],Mh={class:"btn","data-asst":"prev"},Sh={id:"asstOut_prev",style:{"margin-top":"10px"}},Th={class:"panel mb"},Ch={class:"small muted",style:{"font-weight":"400"}},Eh=["innerHTML"],Fh={class:"btn","data-asst":"tree"},Ah={id:"asstOut_tree",style:{"margin-top":"10px"}},fn="display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px",Oh=jt({__name:"Assistant",setup(t){const e=["变桨","偏航","主轴承","齿轮箱","发电机","变流器","塔架与基础","主控与传感网","叶片与叶根"],s=["3225","3130","13902","10105","3224"],n=ms({fault:"",prev:"pitch",tree:"pitch",out:{fault:"",prev:"",tree:""}}),l=c=>e.map(r=>`<option value="${Ps(r)}" ${n[c]===Ps(r)?"selected":""}>${xe(r)}</option>`).join(""),i=B(()=>s.map(c=>`<a href="#" data-code="${c}">${c}</a>`).join(" · "));return(c,r)=>(k(),S("section",null,[a("div",fh,p(u(o)("asst.head"))+" — "+p(u(o)("asst.head_note")),1),a("div",mh,[a("h3",null,[rt(p(u(o)("asst.corrective"))+" ",1),a("span",vh,p(u(o)("asst.corrective_flow")),1)]),a("div",{style:fn},[a("input",{id:"asstIn_fault",placeholder:u(ut)(u(o)("asst.code_placeholder")),value:n.fault,style:{flex:"1 1 220px"}},null,8,_h),a("button",gh,p(u(o)("ui.query")),1),a("span",bh,[rt(p(u(o)("asst.common"))+" ",1),Ks(a("span",{class:"unwrap-host",innerHTML:i.value},null,8,yh),[[u(Vn)]])])]),a("div",$h,p(n.out.fault),1)]),a("div",xh,[a("h3",null,[rt(p(u(o)("asst.preventive"))+" ",1),a("span",wh,p(u(o)("asst.preventive_flow")),1)]),a("div",{style:fn},[a("select",{id:"asstIn_prev",style:{flex:"1 1 200px"},innerHTML:l("prev")},null,8,kh),a("button",Mh,p(u(o)("ui.query")),1)]),a("div",Sh,p(n.out.prev),1)]),a("div",Th,[a("h3",null,[rt(p(u(o)("asst.faulttree"))+" ",1),a("span",Ch,p(u(o)("asst.faulttree_flow")),1)]),a("div",{style:fn},[a("select",{id:"asstIn_tree",style:{flex:"1 1 200px"},innerHTML:l("tree")},null,8,Eh),a("button",Fh,p(u(o)("ui.query")),1)]),a("div",Ah,p(n.out.tree),1)])]))}}),qh={class:"eyebrow"},Lh={key:0,class:"panel"},Dh={class:"small muted"},jh={key:1,class:"panel"},Ph={class:"small",style:{color:"var(--critical)"}},Hh={class:"panel mb"},Rh={class:"small muted"},Ih={class:"small muted"},Nh={class:"tblwrap"},Bh={style:{"margin-top":"10px"}},Wh={style:{width:"18%"}},Uh={style:{width:"20%"}},Kh={style:{width:"13%"}},Vh={style:{width:"10%"}},Gh={style:{width:"11%"}},zh={class:"small"},Yh={class:"small num"},Jh={key:0,class:"muted"},Xh={class:"small muted"},Zh={class:"small"},Qh={class:"small"},tf={class:"small"},ef={class:"muted"},sf={style:{"margin-top":"3px"}},nf={class:"muted",style:{"margin-top":"3px"}},lf=jt({__name:"System",props:{apis:{}},setup(t){const e=t,s=r=>String(r??""),n=B(()=>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=B(()=>n.value?.rows||[]),c=B(()=>l.map(([r,d,v,f])=>({kn:d,kd:v,col:f,rs:i.value.filter(m=>r.includes(String(m.层)))})).filter(r=>r.rs.length));return(r,d)=>(k(),S("section",null,[a("div",qh,p(u(o)("mt.eyebrow")),1),n.value?n.value.error?(k(),S("div",jh,[a("p",Ph,p(u(yt)(n.value.error)),1)])):(k(),S(it,{key:2},[a("div",Hh,[a("h3",null,p(u(o)("mt.head",{n:i.value.length})),1),a("p",Rh,p(u(o)("mt.note")),1)]),(k(!0),S(it,null,$t(c.value,v=>(k(),S("div",{key:v.kn,class:"panel mb",style:It(`border-left:3px solid ${v.col}`)},[a("h3",null,p(u(o)(v.kn))+" ("+p(v.rs.length)+")",1),a("p",Ih,p(u(o)(v.kd)),1),a("div",Nh,[a("table",Bh,[a("tr",null,[a("th",Wh,p(u(o)("mt.src")),1),a("th",Uh,p(u(o)("mt.cov")),1),a("th",Kh,p(u(o)("mt.last")),1),a("th",Vh,p(u(o)("mt.freq")),1),a("th",Gh,p(u(o)("mt.resp")),1),a("th",null,p(u(o)("mt.how")),1)]),(k(!0),S(it,null,$t(v.rs,(f,m)=>(k(),S("tr",{key:m},[a("td",zh,[a("b",null,p(f.存在?"":"✗ ")+p(s(f.名)),1)]),a("td",Yh,[rt(p(s(f.覆盖)),1),f.条数?(k(),S("span",Jh,p(u(o)("mt.rows_n",{n:u(Tt)(f.条数)})),1)):_t("",!0)]),a("td",Xh,p(u(ut)(f.末次更新||"—")),1),a("td",Zh,p(s(f.频率)),1),a("td",Qh,p(s(f.责任)),1),a("td",tf,[a("div",ef,[rt(p(u(o)("mt.put"))+" ",1),a("code",null,p(s(f.位置)),1)]),a("div",sf,[rt(p(u(o)("mt.run"))+" ",1),a("code",null,p(s(f.摄入)),1)]),a("div",nf,p(s(f.说明)),1)])]))),128))])])],4))),128))],64)):(k(),S("div",Lh,[a("p",Dh,p(u(o)("mt.surveying")),1)]))]))}}),af={class:"eyebrow"},of={class:"panel mb noprint"},rf={style:{display:"flex",gap:"10px","align-items":"center","flex-wrap":"wrap","margin-bottom":"10px"}},cf={class:"small",style:{"font-weight":"600"}},df=["data-preset"],uf={id:"rptaud"},pf=["selected"],hf=["selected"],ff={class:"btn quiet",id:"rptprint"},mf={class:"btn quiet","data-export":"docx"},vf={class:"btn quiet","data-export":"xlsx"},_f={key:0,class:"small",style:{color:"var(--warning)","flex-basis":"100%"}},gf={class:"small",style:{"font-weight":"600","margin-bottom":"7px"}},bf={style:{"font-weight":"400",color:"var(--muted)"}},yf=["innerHTML"],$f={id:"rpthint",class:"small muted",style:{"margin-top":"9px","padding-top":"8px","border-top":"1px solid var(--line)","min-height":"19px"}},xf={style:{"margin-top":"11px","padding-top":"10px","border-top":"1px solid var(--line)"}},wf={class:"small",style:{"font-weight":"600","margin-bottom":"6px"}},kf=["innerHTML"],Mf={style:{display:"flex",gap:"8px","align-items":"center","flex-wrap":"wrap"}},Sf=["placeholder","value"],Tf=["innerHTML"],Cf=["disabled"],Ef={id:"rptout",class:"small muted",style:{"margin-top":"7px"}},Ff={key:0,class:"paper",style:{"text-align":"center",padding:"56px 40px"}},Af={class:"small muted"},Of={key:1,class:"paper"},qf={class:"paper-hd"},Lf={class:"paper-ti"},Df={class:"small muted",style:{"margin-top":"3px"}},jf={class:"small muted",style:{"text-align":"right"}},Pf={key:0,class:"noprint",style:{display:"flex",gap:"3px","justify-content":"flex-end","margin-bottom":"-6px",position:"relative","z-index":"2"}},Hf=["data-k","disabled"],Rf=["data-k","disabled"],If=["data-k"],Nf=["innerHTML"],Bf=["innerHTML"],Wf={class:"paper-ft"},Uf=jt({__name:"Report",props:{d:{},apis:{}},setup(t){const e=t,s={month:["kpi","water","emon","blame","ram","pareto","units","plan","caliber"],week:["kpi","frate","units","plan","caliber"],topic:["units","chain","ram","loop","caliber"],year:["kpi","water","emon","ram","loop","caliber"],blank:[]},n={kpi:"gen",water:"gen",emon:"gen",blame:"gen",ram:"rel",parts:"rel",attrib:"rel",pareto:"flt",quad:"flt",frate:"flt",units:"unit",chain:"unit",loop:"unit",plan:"end",caliber:"end",narr:"end"},l={kpi:"▦",water:"▤",emon:"▥",blame:"◧",ram:"◈",parts:"▤",attrib:"▬",pareto:"▮",quad:"◇",frate:"▪",units:"☰",chain:"⛓",loop:"✓",plan:"✎",caliber:"⚑",narr:"✍"},i={"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"},c=["gen","rel","flt","unit","end"],r=ms({canvas:[],aud:"in",need:"",model:"",models:null,compose:null,narr:null,out:""}),d=B(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),v=B(()=>d.value?d.value.models||{}:r.models),f=B(()=>!!d.value?.offline),m=(pt,bt)=>o("mdl."+pt+"."+bt),b=pt=>(m(pt,"nm")||pt)+(i[pt]?" · "+o("mdl."+i[pt]):"")+(m(pt,"t")?" · "+m(pt,"t"):""),$=pt=>r.canvas.includes(pt),q=B(()=>r.compose===!0&&!!v.value&&Object.keys(v.value).length>0),J=B(()=>{const pt=v.value;return pt===null?'<option value="">…</option>':Object.keys(pt).length?Object.keys(pt).map(bt=>`<option value="${ut(bt)}" ${bt===N?"selected":""}>${ut(b(bt))}</option>`).join(""):`<option value="">${f.value?o("ask.local_down"):o("ask.no_models")}</option>`}),tt=B(()=>c.map(pt=>`<div class="small muted" style="text-align:right;white-space:nowrap">${o("rpt.g."+pt)}</div><div style="display:flex;gap:6px;flex-wrap:wrap">`+Object.keys(n).filter(bt=>n[bt]===pt).map(bt=>`<button class="pill ${$(bt)?"on":""}" data-block="${bt}" style="border-radius:7px;padding:5px 11px;font-size:12.5px;opacity:${$(bt)?1:.8}">${l[bt]} ${o("rpt.b."+bt+".nm")}${$(bt)?" ✓":""}</button>`).join("")+"</div>").join("")),ot=B(()=>""),D=pt=>"",N=B(()=>{const pt=v.value;if(pt===null)return r.model;const bt=Object.keys(pt);return!r.model||!bt.includes(r.model)?bt[0]||"":r.model}),T=B(()=>o("rpt.need_hint")+(N.value?i[N.value]==="local"?o("rpt.local_note"):`<span style="color:var(--warning)">${o("rpt.cloud_note")}</span>`:"")),I=B(()=>r.out?r.out:r.compose===!1?o("rpt.no_compose"):v.value&&!Object.keys(v.value).length?f.value?o("ask.local_down"):o("rpt.no_models"):""),mt=B(()=>(String(e.d?.fus?.数据时点||"").match(/\d{4}-\d{2}-\d{2}/)||[""])[0]);return(pt,bt)=>(k(),S("section",null,[a("div",af,p(u(o)("rpt.eyebrow")),1),a("div",of,[a("div",rf,[a("span",cf,p(u(o)("rpt.presets")),1),(k(!0),S(it,null,$t(Object.keys(s),Pt=>(k(),S("button",{key:Pt,class:"pill","data-preset":Pt},p(u(o)("rpt.preset."+Pt)),9,df))),128)),bt[0]||(bt[0]=a("span",{style:{flex:"1"}},null,-1)),a("select",uf,[a("option",{value:"in",selected:r.aud==="in"},p(u(o)("rpt.aud_in")),9,pf),a("option",{value:"up",selected:r.aud==="up"},p(u(o)("rpt.aud_up")),9,hf)]),a("button",ff,p(u(o)("rpt.print")),1),a("button",mf,p(u(o)("rpt.export_docx")),1),a("button",vf,p(u(o)("rpt.export_xlsx")),1),r.aud==="up"?(k(),S("span",_f,p(u(o)("rpt.up_note")),1)):_t("",!0)]),a("div",gf,[rt(p(u(o)("rpt.library"))+" ",1),a("span",bf,p(u(o)("rpt.library_note",{n:r.canvas.length})),1)]),a("div",{style:{display:"grid","grid-template-columns":"auto 1fr",gap:"6px 12px","align-items":"center"},innerHTML:tt.value},null,8,yf),a("div",$f,p(u(o)("rpt.hint_idle")),1),a("div",xf,[a("div",wf,[rt(p(u(o)("rpt.need_head"))+" ",1),a("span",{id:"rptmdlnote",style:{"font-weight":"400",color:"var(--muted)"},innerHTML:T.value},null,8,kf)]),a("div",Mf,[a("input",{id:"rptneed",placeholder:u(ut)(u(o)("rpt.need_ph")),value:r.need,style:{flex:"1 1 300px","min-width":"220px"}},null,8,Sf),a("select",{id:"rptmdl",innerHTML:J.value},null,8,Tf),a("button",{class:"btn",id:"rptgo",disabled:!q.value},p(u(o)("rpt.compose")),9,Cf)]),a("div",Ef,p(I.value),1)])]),r.canvas.length?(k(),S("div",Of,[a("div",qf,[a("div",null,[a("div",Lf,p(u(o)("app.brand"))+" · "+p(u(o)("rpt.paper_title")),1),a("div",Df,p(u(o)("rpt.paper_sub",{win:u(Se)(t.d.win),n:(t.d.kpi||{}).全场||38}))+p(r.aud==="up"?" | "+u(o)("rpt.up_tag"):""),1)]),a("div",jf,p(u(o)("rpt.chapters",{n:r.canvas.length})),1)]),(k(!0),S(it,null,$t(r.canvas,(Pt,Qt)=>(k(),S(it,{key:Pt},[n[Pt]?(k(),S("div",Pf,[a("button",{class:"pill","data-mv":"up","data-k":Pt,disabled:Qt===0,style:{padding:"1px 8px","font-size":"11px",opacity:".7"}},"↑",8,Hf),a("button",{class:"pill","data-mv":"down","data-k":Pt,disabled:Qt===r.canvas.length-1,style:{padding:"1px 8px","font-size":"11px",opacity:".7"}},"↓",8,Rf),a("button",{class:"pill","data-mv":"del","data-k":Pt,style:{padding:"1px 8px","font-size":"11px",opacity:".7"}},"×",8,If)])):_t("",!0),n[Pt]?(k(),S("div",{key:1,innerHTML:D()},null,8,Nf)):_t("",!0)],64))),128)),a("div",{innerHTML:ot.value},null,8,Bf),a("div",Wf,[a("span",null,p(u(o)("rpt.foot_src"))+p(mt.value?" | "+u(o)("rpt.foot_asof",{d:mt.value}):""),1),a("span",null,p(u(o)("rpt.foot_trace"))+p(r.aud==="up"?" | "+u(o)("rpt.foot_deid"):""),1)])])):(k(),S("div",Ff,[a("div",Af,p(u(o)("rpt.preview_empty")),1)]))]))}}),Kf={class:"kpis"},Vf=["title"],Gf=["innerHTML"],zf={key:1},Yf={key:0},Jf={class:"sechead"},Xf={class:"meta"},Zf={class:"meta"},Qf={key:0,class:"card mb",style:{"margin-bottom":"10px"}},tm={class:"small",style:{color:"var(--warning)"}},em={class:"small muted"},sm={class:"cards"},nm=["id"],lm={class:"head"},im=["href"],am={class:"sys"},om={class:"evidence-detail"},rm={class:"why"},cm={class:"evid"},dm=["title"],um={key:1,class:"rv"},pm={key:0,class:"caveat"},hm={class:"sechead"},fm={class:"meta"},mm={class:"legend"},vm={class:"cells"},_m=["data-u","title"],gm={key:1,class:"quiet",style:{padding:"10px"}},bm={class:"nums"},ym={class:"quiet"},$m={class:"sechead"},xm={class:"meta"},wm={class:"systems"},km={class:"t"},Mm=["href"],Sm={class:"bar"},Tm={class:"cnt"},Cm=jt({__name:"Overview",props:{d:{}},setup(t){const e=t,s=B(()=>e.d?.fus||{}),n=B(()=>e.d?.m8?.mtbf||{}),l=B(()=>e.d?.control||{}),i=B(()=>{const D={};for(const N of l.value.states||[])D[N.k]=N.loss;return D}),c=B(()=>{const D=l.value,N=o("kpi.loss",{win:Se(e.d?.win)})+(i.value["停机(调度令)"]!=null?` · ${o("kpi.loss_dispatch",{n:Tt(i.value["停机(调度令)"])})}`:"");return[{v:Tt(D.avail,1),u:"%",l:o("kpi.avail",{win:Se(e.d?.win)}),k:D.avail>=95?"ok":"warn",ti:""},{v:Tt(n.value.停机总时长h),u:"h",l:o("kpi.downtime",{n:Tt(n.value.停机事件数)}),k:"warn",ti:""},{v:Tt(n.value.MTBF_h),u:"h",l:o("kpi.mtbo"),k:"",ti:""},{v:Tt(i.value.停机),u:"MWh",l:N,k:"",ti:""},{v:Tt(i.value["限电·绑定"]),u:"MWh",l:o("kpi.curtail"),k:"",ti:""},{vRaw:`${Tt(e.d?.kpi?.报警台)} <small>/ ${Tt(e.d?.kpi?.全场)}</small>`,u:"",l:o("kpi.alarm_units"),k:e.d?.kpi?.报警台?"warn":"ok",ti:o("kpi.alarm_units.hint"),vHtml:!0}]}),r=B(()=>{const D={};for(const N of e.d?.watch||[])D[N.t]=N.why;return D}),d=B(()=>((s.value.链盘||{}).rows||[]).filter(D=>D.lvl==="bad"||D.lvl==="warn"));function v(D){const N=(r.value[D.t]||"").trim();if(N)return N;const T=Ml[D.stuck]||String(D.stuck||"").toLowerCase(),I=o(T==="evidence"?"step.site_records":"step."+(T||"evidence"));return o("ov.basis_fusion",{part:D.part||"—",done:D.done==null?"—":D.done,n:(D.steps||[]).length||"—",stuck:D.stuck?I:o("ov.all_steps_done"),srcs:(D.srcs||[]).join(" / ")||o("ov.no_srcs")})}function f(D){if(!D.stuck)return"";const N=Ml[D.stuck]||String(D.stuck||"").toLowerCase(),T=o(N==="evidence"?"step.site_records":"step."+(N||"evidence"));return o("step.stuck_at",{step:T})}const m=[["危险","critical"],["报警","warning"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],b=B(()=>{const D=e.d?.sysdist||{};return Wn.map(N=>{const T=D[N]||{},I=Object.values(T).reduce((mt,pt)=>mt+pt,0)||1;return{name:xe(N),slug:Ps(N),dist:T,n:I,seg:m.filter(([mt])=>T[mt]).map(([mt,pt])=>({k:mt,v:pt}))}})}),$=B(()=>s.value.矩阵||[]),q=B(()=>new Set(d.value.map(D=>D.t))),J={定论:"confirmed","准定论·预警":"near","候选·新发":"candidate_new",候选:"candidate","候选·记基线":"candidate_baseline",参考:"reference",INSUFFICIENT:"insufficient",正常:"normal",撤回:"withdrawn"},tt={candidate_new:"candidate",candidate_baseline:"candidate",normal:"reference"},ot=D=>{const N=J[String(D??"")];return N?tt[N]||N:""};return(D,N)=>(k(),S(it,null,[a("section",null,[a("div",Kf,[(k(!0),S(it,null,$t(c.value,(T,I)=>(k(),S("div",{key:I,class:Wt(["kpi",T.k]),title:T.ti||void 0},[T.vHtml?(k(),S("b",{key:0,innerHTML:T.vRaw},null,8,Gf)):(k(),S("b",zf,[rt(p(T.v),1),T.u?(k(),S("small",Yf,p(T.u),1)):_t("",!0)])),a("span",null,p(T.l),1)],10,Vf))),128))])]),a("section",null,[a("div",Jf,[a("h2",null,p(u(o)("ov.attention")),1),a("span",Xf,p(u(o)("ov.attention_n",{n:d.value.length})),1),a("span",Zf,p(u(o)("ov.ranked_by")),1)]),s.value.gap?(k(),S("div",Qf,[a("p",tm,p(s.value.gap),1),a("p",em,p(u(o)("ov.fus_gap_hint")),1)])):_t("",!0),a("div",sm,[(k(!0),S(it,null,$t(d.value,T=>(k(),S("div",{key:T.t,class:"card",id:`u-${T.t}`,style:It(`--sev:var(--${u(Cl)[u(Ds)(T.ostate)||(T.lvl==="bad"?"bad":"warn")]})`)},[a("div",lm,[a("a",{class:"unit",href:`/turbine/${T.t}`},p(u(Ot)(T.t)),9,im),a("span",am,p(T.part||""),1),a("span",{class:Wt(["chip",u(Ds)(T.ostate)||(T.lvl==="bad"?"bad":"warn")])},p(u(Sl)(T.ostate||(T.lvl==="bad"?"危险":"报警"))),3)]),a("details",om,[a("summary",null,p(u(o)("ov.evidence")),1),a("div",rm,p(v(T)),1)]),a("div",cm,[T.estate?(k(),S("span",{key:0,class:Wt(["tier",ot(T.estate)]),title:u(o)("tier."+(J[T.estate]||"unknown"))},p(u(Sl)(T.estate)),11,dm)):_t("",!0),T.srcs&&T.srcs.length?(k(),S("span",um,p(T.srcs.length)+" sources",1)):_t("",!0)]),f(T)||T.next?(k(),S("div",pm,[a("b",null,p(u(o)("ov.caveat")),1),rt(p(f(T))+p(f(T)&&T.next?" — ":"")+p(T.next||""),1)])):_t("",!0)],12,nm))),128))])]),a("section",null,[a("div",hm,[a("h2",null,p(u(o)("ov.strip")),1),a("span",fm,p(u(o)("ov.strip_hint")),1),a("div",mm,[(k(),S(it,null,$t(["bad","warn","unk","ok","ex"],T=>a("span",{key:T},[a("i",{style:It(`background:var(--${u(Cl)[T]})`)},null,4),rt(p(u(o)(u(Mn)(T))),1)])),64))])]),a("div",{class:"strip",style:It(`--n:${$.value.length||38}`)},[a("div",vm,[$.value.length?(k(!0),S(it,{key:0},$t($.value,T=>(k(),S("div",{key:T.turbine,class:Wt(["cell",[u(Tl)(T),q.value.has(T.turbine)?"hot":""]]),"data-u":T.turbine,title:`${u(Ot)(T.turbine)} ${u(o)(u(Mn)(u(Tl)(T)))}`},null,10,_m))),128)):(k(),S("div",gm,p(s.value.gap||u(o)("ov.fus_gap_hint")),1))]),a("div",bm,[(k(!0),S(it,null,$t($.value,T=>(k(),S("span",{key:`n-${T.turbine}`,class:Wt(q.value.has(T.turbine)?"hot":"")},p(u(Ot)(T.turbine).replace("#","")),3))),128))]),a("div",ym,p(d.value.length?u(o)("ov.quiet",{n:Math.max(0,($.value.length||38)-d.value.length)}):u(o)("ov.quiet_all",{n:$.value.length||38})),1)],4)]),a("section",null,[a("div",$m,[a("h2",null,p(u(o)("ov.systems")),1),a("span",xm,p(u(o)("ov.systems_hint")),1)]),a("div",wm,[(k(!0),S(it,null,$t(b.value,T=>(k(),S("div",{key:T.name,class:"sysc"},[a("div",km,[a("b",null,p(T.name),1),a("a",{href:`#tab=component&sys=${encodeURIComponent(T.slug)}`},p(u(o)("ui.open")),9,Mm)]),a("div",Sm,[(k(!0),S(it,null,$t(T.seg,I=>(k(),S("i",{key:I.k,style:It(`width:${(T.dist[I.k]/T.n*100).toFixed(1)}%;background:var(--${I.v})`)},null,4))),128))]),a("div",Tm,[(k(!0),S(it,null,$t(T.seg,I=>(k(),S("span",{key:`c-${I.k}`},[a("i",{style:It(`background:var(--${I.v})`)},null,4),rt(p(T.dist[I.k]),1)]))),128))])]))),128))])])],64))}}),Em={class:"wb-tabs"},Fm=["onClick"],Am={key:0,class:"todo"},Om={class:"page-head"},qm={class:"window-badge"},Lm={key:15,class:"card"},Dm={class:"hint"},jm=jt({__name:"Workbench",props:{d:{},tab:{},sys:{},sub:{},cms:{},curves:{},apis:{}},emits:["tab","sub"],setup(t,{emit:e}){const s=t,n=e,l=B(()=>!dn.includes(s.tab));return(i,c)=>(k(),S(it,null,[a("nav",Em,[(k(!0),S(it,null,$t(u(Mr),r=>(k(),S("button",{key:r,class:Wt({on:r===t.tab}),onClick:d=>n("tab",r)},[rt(p(u(o)("tab."+r)),1),u(dn).includes(r)?_t("",!0):(k(),S("sup",Am,"迁移中"))],10,Fm))),128))]),a("div",Om,[a("h1",null,p(u(o)("tab."+t.tab)),1),a("span",qm,p(u(o)("win.label"))+" · "+p(u(Se)(t.d?.win)),1)]),t.tab==="overview"?(k(),Dt(Cm,{key:0,d:t.d},null,8,["d"])):t.tab==="energy"?(k(),Dt(Tu,{key:1,d:t.d},null,8,["d"])):t.tab==="component"?(k(),Dt(Rd,{key:2,d:t.d,sys:t.sys},null,8,["d","sys"])):t.tab==="fault"?(k(),Dt(fp,{key:3,d:t.d},null,8,["d"])):t.tab==="vibration"?(k(),Dt(yp,{key:4,d:t.d,sub:t.sub,cms:t.cms,onSub:c[0]||(c[0]=r=>n("sub",r))},null,8,["d","sub","cms"])):t.tab==="generation"?(k(),Dt(Jp,{key:5,d:t.d,curves:t.curves,pending:!!t.d.m9_pending},null,8,["d","curves","pending"])):t.tab==="decision"?(k(),Dt(hh,{key:6,d:t.d,apis:t.apis},null,8,["d","apis"])):t.tab==="assistant"?(k(),Dt(Oh,{key:7,d:t.d},null,8,["d"])):t.tab==="system"?(k(),Dt(lf,{key:8,apis:t.apis},null,8,["apis"])):t.tab==="report"?(k(),Dt(Uf,{key:9,d:t.d,apis:t.apis},null,8,["d","apis"])):t.tab==="documents"?(k(),Dt(Wr,{key:10})):t.tab==="recalc"?(k(),Dt(ec,{key:11})):t.tab==="portal"?(k(),Dt(fc,{key:12})):t.tab==="portal_sec"?(k(),Dt(Mc,{key:13})):t.tab==="portal_src"?(k(),Dt(Ni,{key:14})):l.value?(k(),S("section",Lm,[a("h2",null,[rt(p(u(o)("tab."+t.tab))+" ",1),c[1]||(c[1]=a("small",null,"(本页签尚未迁移到 Vue)",-1))]),a("p",Dm,[c[2]||(c[2]=rt(" 迁移纪律:页签逐个搬,每搬一个就用 ",-1)),c[3]||(c[3]=a("code",null,"tools/render_parity.mjs",-1)),c[4]||(c[4]=rt(" 与重构前页面 (现网 ",-1)),c[5]||(c[5]=a("code",null,"/detail/v2",-1)),rt(")对拍文案/数值/类名序列,**通过后**才删对应的 Python 前端源码。 当前已迁移:"+p(u(dn).join("、"))+"。 ",1)])])):_t("",!0)],64))}}),Pm=Ii(jm,[["__scopeId","data-v-bef855f5"]]),Hm={key:1,class:"wrap"},Rm={class:"top"},Im={class:"tabs"},Nm={key:0,id:"root"},Bm={key:0,class:"hint",style:{padding:"0 18px"}},Wm={key:1,class:"hint",style:{padding:"0 18px",color:"var(--bad)"}},Um={key:2,class:"card"},Km=jt({__name:"App",setup(t){const e=location.hash.replace("#",""),s=(e.match(/^tab=([a-z_]+)/)||[])[1]||"",n=At(e==="workbench"||s?"workbench":"portal");s&&(i.value=s);function l(b){n.value=b;try{location.hash=b==="portal"?"":b}catch{}}const i=At("overview"),c=At(null),r=At(null),d=At(""),v=At(!1),f=At("");async function m(){v.value=!0,f.value="";const b=d.value?`?win=${encodeURIComponent(d.value)}`:"",$=await Ri("fleet",{method:"GET"});if(b)try{const q=await fetch("/api/fleet"+b);r.value=await q.json()}catch(q){f.value=q instanceof Error?q.message:String(q)}else $.ok?(r.value=$.data,r.value?.win&&(d.value=r.value.win)):f.value=$.error||`HTTP ${$.status}`;v.value=!1}return ws(d,b=>{b&&b!==r.value?.win&&m()}),Ge(m),(b,$)=>n.value==="portal"?(k(),Dt(Ni,{key:0})):(k(),S("div",Hm,[a("header",Rm,[$[5]||($[5]=a("div",{class:"brand"},"观澜 · 风电数据分析与决策支持",-1)),a("nav",Im,[a("button",{class:Wt({on:n.value==="workbench"}),onClick:$[0]||($[0]=q=>l("workbench"))},"工作台",2),a("button",{class:Wt({on:n.value==="smoke"}),onClick:$[1]||($[1]=q=>l("smoke"))},"契约自检",2),a("button",{class:Wt({on:n.value==="about"}),onClick:$[2]||($[2]=q=>l("about"))},"关于本前端",2)])]),n.value!=="portal"?(k(),S("main",Nm,[n.value==="workbench"?(k(),S(it,{key:0},[v.value?(k(),S("p",Bm,"取数中(/api/fleet)…")):f.value?(k(),S("p",Wm,"取数失败:"+p(f.value),1)):r.value?(k(),Dt(Pm,{key:2,d:r.value,tab:i.value,sub:c.value,onTab:$[3]||($[3]=q=>i.value=q),onSub:$[4]||($[4]=q=>c.value=q)},null,8,["d","tab","sub"])):_t("",!0)],64)):n.value==="smoke"?(k(),Dt(wr,{key:1})):(k(),S("section",Um,[...$[6]||($[6]=[qo("<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)])]))])):_t("",!0),$[7]||($[7]=a("footer",{id:"foot",class:"small muted",style:{"margin-top":"36px"}},null,-1))]))}});vr(Km).mount("#app");
|