index-CjdARNCg.js 226 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. (function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const c of o.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&n(c)}).observe(document,{childList:!0,subtree:!0});function s(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerPolicy&&(o.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?o.credentials="include":l.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(l){if(l.ep)return;l.ep=!0;const o=s(l);fetch(l.href,o)}})();/**
  2. * @vue/shared v3.5.43
  3. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  4. * @license MIT
  5. **/function An(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const Tt={},Le=[],he=()=>{},Nl=()=>!1,Bs=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ws=t=>t.startsWith("onUpdate:"),Lt=Object.assign,jn=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},sa=Object.prototype.hasOwnProperty,xt=(t,e)=>sa.call(t,e),dt=Array.isArray,Ee=t=>_s(t)==="[object Map]",Fs=t=>_s(t)==="[object Set]",tl=t=>_s(t)==="[object Date]",pt=t=>typeof t=="function",jt=t=>typeof t=="string",me=t=>typeof t=="symbol",kt=t=>t!==null&&typeof t=="object",Bl=t=>(kt(t)||pt(t))&&pt(t.then)&&pt(t.catch),Wl=Object.prototype.toString,_s=t=>Wl.call(t),na=t=>_s(t).slice(8,-1),Kl=t=>_s(t)==="[object Object]",qn=t=>jt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ns=An(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ks=t=>{const e=Object.create(null);return(s=>e[s]||(e[s]=t(s)))},la=/-\w/g,Vt=Ks(t=>t.replace(la,e=>e.slice(1).toUpperCase())),oa=/\B([A-Z])/g,je=Ks(t=>t.replace(oa,"-$1").toLowerCase()),Us=Ks(t=>t.charAt(0).toUpperCase()+t.slice(1)),en=Ks(t=>t?`on${Us(t)}`:""),fe=(t,e)=>!Object.is(t,e),Ss=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},Ul=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},Dn=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let el;const Vs=()=>el||(el=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dt(t){if(dt(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],l=jt(n)?ca(n):Dt(n);if(l)for(const o in l)e[o]=l[o]}return e}else if(jt(t)||kt(t))return t}const aa=/;(?![^(]*\))/g,ia=/:([^]+)/,ra=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function ca(t){const e={};return t.replace(ra,s=>s.startsWith("/*")?"":s).split(aa).forEach(s=>{if(s){const n=s.split(ia);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function Qt(t){let e="";if(jt(t))e=t;else if(dt(t))for(let s=0;s<t.length;s++){const n=Qt(t[s]);n&&(e+=n+" ")}else if(kt(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const ua="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",da=An(ua);function Vl(t){return!!t||t===""}function pa(t,e,s){if(t.length!==e.length)return!1;let n=!0;for(let l=0;n&&l<t.length;l++)n=zs(t[l],e[l],s);return n}function sl(t,e,s){if(t.size!==e.size)return!1;const n=Array.from(e),l=new Uint8Array(n.length);for(const o of t){let c=-1;for(let i=0;i<n.length;i++)if(!l[i]&&zs(o,n[i],s)){c=i;break}if(c<0)return!1;l[c]=1}return!0}function fa(t,e,s){let n=Ee(t),l=Ee(e);if(n||l||(n=Fs(t),l=Fs(e),n||l))return n&&l?sl(t,e,s):!1;const o=Object.keys(t).length,c=Object.keys(e).length;if(o!==c)return!1;for(const i in t){const u=t.hasOwnProperty(i),_=e.hasOwnProperty(i);if(u&&!_||!u&&_||!zs(t[i],e[i],s))return!1}return String(t)===String(e)}function nl(t,e,s,n){s||(s=[new Map,new Map]);const[l,o]=s;if(l.has(t)||o.has(e))return l.get(t)===e&&o.get(e)===t;l.set(t,e),o.set(e,t);const c=n(t,e,s);return l.delete(t),o.delete(e),c}function zs(t,e,s){if(t===e)return!0;let n=tl(t),l=tl(e);return n||l?n&&l?t.getTime()===e.getTime():!1:(n=me(t),l=me(e),n||l?t===e:(n=dt(t),l=dt(e),n||l?n&&l?nl(t,e,s,pa):!1:(n=kt(t),l=kt(e),n||l?!n||!l?!1:nl(t,e,s,fa):String(t)===String(e))))}const zl=t=>!!(t&&t.__v_isRef===!0),p=t=>jt(t)?t:t==null?"":dt(t)||kt(t)&&(t.toString===Wl||!pt(t.toString))?zl(t)?p(t.value):JSON.stringify(t,Gl,2):String(t),Gl=(t,e)=>zl(e)?Gl(t,e.value):Ee(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,l],o)=>(s[sn(n,o)+" =>"]=l,s),{})}:Fs(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>sn(s))}:me(e)?sn(e):kt(e)&&!dt(e)&&!Kl(e)?String(e):e,sn=(t,e="")=>{var s;return me(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
  6. * @vue/reactivity v3.5.43
  7. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  8. * @license MIT
  9. **/let It;class ha{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&&It&&(It.active?(this.parent=It,this.index=(It.scopes||(It.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=It;try{return It=this,e()}finally{It=s}}}on(){++this._on===1&&(this.prevScope=It,It=this)}off(){if(this._on>0&&--this._on===0){if(It===this)It=this.prevScope;else{let e=It;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 ma(){return It}let Et;const nn=new WeakSet;class Yl{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,It&&(It.active?It.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,nn.has(this)&&(nn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ll(this),Zl(this);const e=Et,s=le;Et=this,le=!0;try{return this.fn()}finally{Ql(this),Et=e,le=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Ln(e);this.deps=this.depsTail=void 0,ll(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?nn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gn(this)&&this.run()}get dirty(){return gn(this)}}let Jl=0,ls,os;function Xl(t,e=!1){if(t.flags|=8,e){t.next=os,os=t;return}t.next=ls,ls=t}function Pn(){Jl++}function In(){if(--Jl>0)return;if(os){let e=os;for(os=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;ls;){let e=ls;for(ls=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 Zl(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Ql(t){let e,s=t.depsTail,n=s;for(;n;){const l=n.prevDep;n.version===-1?(n===s&&(s=l),Ln(n),_a(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=l}t.deps=e,t.depsTail=s}function gn(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(to(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function to(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===cs)||(t.globalVersion=cs,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!gn(t))))return;t.flags|=2;const e=t.dep,s=Et,n=le;Et=t,le=!0;try{Zl(t);const l=t.fn(t._value);(e.version===0||fe(l,t._value))&&(t.flags|=128,t._value=l,e.version++)}catch(l){throw e.version++,l}finally{Et=s,le=n,Ql(t),t.flags&=-3}}function Ln(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 o=s.computed.deps;o;o=o.nextDep)Ln(o,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function _a(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 eo=[];function we(){eo.push(le),le=!1}function ke(){const t=eo.pop();le=t===void 0?!0:t}function ll(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=Et;Et=void 0;try{e()}finally{Et=s}}}let cs=0;class va{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 Hn{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 va(Et,this),Et.deps?(s.prevDep=Et.depsTail,Et.depsTail.nextDep=s,Et.depsTail=s):Et.deps=Et.depsTail=s,so(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++,cs++,this.notify(e)}notify(e){Pn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{In()}}}function so(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)so(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const bn=new WeakMap,He=Symbol(""),yn=Symbol(""),us=Symbol("");function Rt(t,e,s){if(le&&Et){let n=bn.get(t);n||bn.set(t,n=new Map);let l=n.get(s);l||(n.set(s,l=new Hn),l.map=n,l.key=s),l.track()}}function ye(t,e,s,n,l,o){const c=bn.get(t);if(!c){cs++;return}const i=u=>{u&&u.trigger()};if(Pn(),e==="clear")c.forEach(i);else{const u=dt(t),_=u&&qn(s);if(u&&s==="length"){const f=Number(n);c.forEach((m,v)=>{(v==="length"||v===us||!me(v)&&v>=f)&&i(m)})}else switch((s!==void 0||c.has(void 0))&&i(c.get(s)),_&&i(c.get(us)),e){case"add":u?_&&i(c.get("length")):(i(c.get(He)),Ee(t)&&i(c.get(yn)));break;case"delete":u||(i(c.get(He)),Ee(t)&&i(c.get(yn)));break;case"set":Ee(t)&&i(c.get(He));break}}In()}function Ke(t){const e=$t(t);return e===t||(Rt(e,"iterate",us),se(t))?e:_e(t)?Fe(t)?e.map(s=>Oe(ne(s))):e.map(Oe):e.map(ne)}function Gs(t){return Rt(t=$t(t),"iterate",us),t}function de(t,e){return _e(t)?Oe(Fe(t)?ne(e):e):ne(e)}const ga={__proto__:null,[Symbol.iterator](){return ln(this,Symbol.iterator,t=>de(this,t))},concat(...t){return Ke(this).concat(...t.map(e=>dt(e)?Ke(e):e))},entries(){return ln(this,"entries",t=>(t[1]=de(this,t[1]),t))},every(t,e){return ve(this,"every",t,e,void 0,arguments)},filter(t,e){return ve(this,"filter",t,e,s=>s.map(n=>de(this,n)),arguments)},find(t,e){return ve(this,"find",t,e,s=>de(this,s),arguments)},findIndex(t,e){return ve(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ve(this,"findLast",t,e,s=>de(this,s),arguments)},findLastIndex(t,e){return ve(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ve(this,"forEach",t,e,void 0,arguments)},includes(...t){return on(this,"includes",t)},indexOf(...t){return on(this,"indexOf",t)},join(t){return Ke(this).join(t)},lastIndexOf(...t){return on(this,"lastIndexOf",t)},map(t,e){return ve(this,"map",t,e,void 0,arguments)},pop(){return Xe(this,"pop")},push(...t){return Xe(this,"push",t)},reduce(t,...e){return ol(this,"reduce",t,e)},reduceRight(t,...e){return ol(this,"reduceRight",t,e)},shift(){return Xe(this,"shift")},some(t,e){return ve(this,"some",t,e,void 0,arguments)},splice(...t){return Xe(this,"splice",t)},toReversed(){return Ke(this).toReversed()},toSorted(t){return Ke(this).toSorted(t)},toSpliced(...t){return Ke(this).toSpliced(...t)},unshift(...t){return Xe(this,"unshift",t)},values(){return ln(this,"values",t=>de(this,t))}};function ln(t,e,s){const n=Gs(t),l=n[e]();return n!==t&&!se(t)&&(l._next=l.next,l.next=()=>{const o=l._next();return o.done||(o.value=s(o.value)),o}),l}const ba=Array.prototype;function ve(t,e,s,n,l,o){const c=Gs(t),i=c!==t&&!se(t),u=c[e];if(u!==ba[e]){const m=u.apply(t,o);return i?ne(m):m}let _=s;c!==t&&(i?_=function(m,v){return s.call(this,de(t,m),v,t)}:s.length>2&&(_=function(m,v){return s.call(this,m,v,t)}));const f=u.call(c,_,n);return i&&l?l(f):f}function ol(t,e,s,n){const l=Gs(t),o=l!==t&&!se(t);let c=s,i=!1;l!==t&&(o?(i=n.length===0,c=function(_,f,m){return i&&(i=!1,_=de(t,_)),s.call(this,_,de(t,f),m,t)}):s.length>3&&(c=function(_,f,m){return s.call(this,_,f,m,t)}));const u=l[e](c,...n);return i?de(t,u):u}function on(t,e,s){const n=$t(t);Rt(n,"iterate",us);const l=n[e](...s);return(l===-1||l===!1)&&Bn(s[0])?(s[0]=$t(s[0]),n[e](...s)):l}function Xe(t,e,s=[]){we(),Pn();const n=$t(t)[e].apply(t,s);return In(),ke(),n}const ya=An("__proto__,__v_isRef,__isVue"),no=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(me));function $a(t){me(t)||(t=String(t));const e=$t(this);return Rt(e,"has",t),e.hasOwnProperty(t)}class lo{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,o=this._isShallow;if(s==="__v_isReactive")return!l;if(s==="__v_isReadonly")return l;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(l?o?Oa:ro:o?io:ao).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const c=dt(e);if(!l){let u;if(c&&(u=ga[s]))return u;if(s==="hasOwnProperty")return $a}const i=Reflect.get(e,s,Bt(e)?e:n);if((me(s)?no.has(s):ya(s))||(l||Rt(e,"get",s),o))return i;if(Bt(i)){const u=c&&qn(s)?i:i.value;return l&&kt(u)?xn(u):u}return kt(i)?l?xn(i):vs(i):i}}class oo extends lo{constructor(e=!1){super(!1,e)}set(e,s,n,l){let o=e[s];const c=dt(e)&&qn(s);if(!this._isShallow){const _=_e(o);if(!se(n)&&!_e(n)&&(o=$t(o),n=$t(n)),!c&&Bt(o)&&!Bt(n))return _||(o.value=n),!0}const i=c?Number(s)<e.length:xt(e,s),u=Reflect.set(e,s,n,Bt(e)?e:l);return e===$t(l)&&u&&(i?fe(n,o)&&ye(e,"set",s,n):ye(e,"add",s,n)),u}deleteProperty(e,s){const n=xt(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)||!no.has(s))&&Rt(e,"has",s),n}ownKeys(e){return Rt(e,"iterate",dt(e)?"length":He),Reflect.ownKeys(e)}}class xa extends lo{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const wa=new oo,ka=new xa,Ma=new oo(!0);const $n=t=>t,ys=t=>Reflect.getPrototypeOf(t);function Sa(t,e,s){return function(...n){const l=this.__v_raw,o=$t(l),c=Ee(o),i=t==="entries"||t===Symbol.iterator&&c,u=t==="keys"&&c,_=l[t](...n),f=s?$n:e?Oe:ne;return!e&&Rt(o,"iterate",u?yn:He),Lt(Object.create(_),{next(){const{value:m,done:v}=_.next();return v?{value:m,done:v}:{value:i?[f(m[0]),f(m[1])]:f(m),done:v}}})}}function $s(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Ta(t,e){const s={get(l){const o=this.__v_raw,c=$t(o),i=$t(l);t||(fe(l,i)&&Rt(c,"get",l),Rt(c,"get",i));const{has:u}=ys(c),_=e?$n:t?Oe:ne;if(u.call(c,l))return _(o.get(l));if(u.call(c,i))return _(o.get(i));o!==c&&o.get(l)},get size(){const l=this.__v_raw;return!t&&Rt($t(l),"iterate",He),l.size},has(l){const o=this.__v_raw,c=$t(o),i=$t(l);return t||(fe(l,i)&&Rt(c,"has",l),Rt(c,"has",i)),l===i?o.has(l):o.has(l)||o.has(i)},forEach(l,o){const c=this,i=c.__v_raw,u=$t(i),_=e?$n:t?Oe:ne;return!t&&Rt(u,"iterate",He),i.forEach((f,m)=>l.call(o,_(f),_(m),c))}};return Lt(s,t?{add:$s("add"),set:$s("set"),delete:$s("delete"),clear:$s("clear")}:{add(l){const o=$t(this),c=ys(o),i=$t(l),u=!e&&!se(l)&&!_e(l)?i:l;return c.has.call(o,u)||fe(l,u)&&c.has.call(o,l)||fe(i,u)&&c.has.call(o,i)||(o.add(u),ye(o,"add",u,u)),this},set(l,o){!e&&!se(o)&&!_e(o)&&(o=$t(o));const c=$t(this),{has:i,get:u}=ys(c);let _=i.call(c,l);_||(l=$t(l),_=i.call(c,l));const f=u.call(c,l);return c.set(l,o),_?fe(o,f)&&ye(c,"set",l,o):ye(c,"add",l,o),this},delete(l){const o=$t(this),{has:c,get:i}=ys(o);let u=c.call(o,l);u||(l=$t(l),u=c.call(o,l)),i&&i.call(o,l);const _=o.delete(l);return u&&ye(o,"delete",l,void 0),_},clear(){const l=$t(this),o=l.size!==0,c=l.clear();return o&&ye(l,"clear",void 0,void 0),c}}),["keys","values","entries",Symbol.iterator].forEach(l=>{s[l]=Sa(l,t,e)}),s}function Rn(t,e){const s=Ta(t,e);return(n,l,o)=>l==="__v_isReactive"?!t:l==="__v_isReadonly"?t:l==="__v_raw"?n:Reflect.get(xt(s,l)&&l in n?s:n,l,o)}const Ca={get:Rn(!1,!1)},Ea={get:Rn(!1,!0)},Fa={get:Rn(!0,!1)};const ao=new WeakMap,io=new WeakMap,ro=new WeakMap,Oa=new WeakMap;function Aa(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vs(t){return _e(t)?t:Nn(t,!1,wa,Ca,ao)}function ja(t){return Nn(t,!1,Ma,Ea,io)}function xn(t){return Nn(t,!0,ka,Fa,ro)}function Nn(t,e,s,n,l){if(!kt(t)||t.__v_raw&&!(e&&t.__v_isReactive)||t.__v_skip||!Object.isExtensible(t))return t;const o=l.get(t);if(o)return o;const c=Aa(na(t));if(c===0)return t;const i=new Proxy(t,c===2?n:s);return l.set(t,i),i}function Fe(t){return _e(t)?Fe(t.__v_raw):!!(t&&t.__v_isReactive)}function _e(t){return!!(t&&t.__v_isReadonly)}function se(t){return!!(t&&t.__v_isShallow)}function Bn(t){return t?!!t.__v_raw:!1}function $t(t){const e=t&&t.__v_raw;return e?$t(e):t}function qa(t){return!xt(t,"__v_skip")&&Object.isExtensible(t)&&Ul(t,"__v_skip",!0),t}const ne=t=>kt(t)?vs(t):t,Oe=t=>kt(t)?xn(t):t;function Bt(t){return t?t.__v_isRef===!0:!1}function gt(t){return Da(t,!1)}function Da(t,e){return Bt(t)?t:new Pa(t,e)}class Pa{constructor(e,s){this.dep=new Hn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:$t(e),this._value=s?e:ne(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||se(e)||_e(e);e=n?e:$t(e),fe(e,s)&&(this._rawValue=e,this._value=n?e:ne(e),this.dep.trigger())}}function d(t){return Bt(t)?t.value:t}const Ia={get:(t,e,s)=>e==="__v_raw"?t:d(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const l=t[e];return Bt(l)&&!Bt(s)?(l.value=s,!0):Reflect.set(t,e,s,n)}};function co(t){return Fe(t)?t:new Proxy(t,Ia)}class La{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new Hn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=cs-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 Xl(this,!0),!0}get value(){const e=this.dep.track();return to(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ha(t,e,s=!1){let n,l;return pt(t)?n=t:(n=t.get,l=t.set),new La(n,l,s)}const xs={},Os=new WeakMap;let Pe;function Ra(t,e=!1,s=Pe){if(s){let n=Os.get(s);n||Os.set(s,n=[]),n.push(t)}}function Na(t,e,s=Tt){const{immediate:n,deep:l,once:o,scheduler:c,augmentJob:i,call:u}=s,_=S=>l?S:se(S)||l===!1||l===0?$e(S,1):$e(S);let f,m,v,$,j=!1,R=!1;if(Bt(t)?(m=()=>t.value,j=se(t)):Fe(t)?(m=()=>_(t),j=!0):dt(t)?(R=!0,j=t.some(S=>Fe(S)||se(S)),m=()=>t.map(S=>{if(Bt(S))return S.value;if(Fe(S))return _(S);if(pt(S))return u?u(S,2):S()})):pt(t)?e?m=u?()=>u(t,2):t:m=()=>{if(v){we();try{v()}finally{ke()}}const S=Pe;Pe=f;try{return u?u(t,3,[$]):t($)}finally{Pe=S}}:m=he,e&&l){const S=m,B=l===!0?1/0:l;m=()=>$e(S(),B)}const X=ma(),lt=()=>{f.stop(),X&&X.active&&jn(X.effects,f)};if(o&&e){const S=e;e=(...B)=>{const ct=S(...B);return lt(),ct}}let L=R?new Array(t.length).fill(xs):xs;const K=S=>{if(!(!(f.flags&1)||!f.dirty&&!S))if(e){const B=f.run();if(S||l||j||(R?B.some((ct,Ct)=>fe(ct,L[Ct])):fe(B,L))){v&&v();const ct=Pe;Pe=f;try{const Ct=[B,L===xs?void 0:R&&L[0]===xs?[]:L,$];L=B,u?u(e,3,Ct):e(...Ct)}finally{Pe=ct}}}else f.run()};return i&&i(K),f=new Yl(m),f.scheduler=c?()=>c(K,!1):K,$=S=>Ra(S,!1,f),v=f.onStop=()=>{const S=Os.get(f);if(S){if(u)u(S,4);else for(const B of S)B();Os.delete(f)}},e?n?K(!0):L=f.run():c?c(K.bind(null,!0),!0):f.run(),lt.pause=f.pause.bind(f),lt.resume=f.resume.bind(f),lt.stop=lt,lt}function $e(t,e=1/0,s){if(e<=0||!kt(t)||t.__v_skip||(s=s||new Map,(s.get(t)||0)>=e))return t;if(s.set(t,e),e--,Bt(t))$e(t.value,e,s);else if(dt(t))for(let n=0;n<t.length;n++)$e(t[n],e,s);else if(Fs(t)||Ee(t))t.forEach(n=>{$e(n,e,s)});else if(Kl(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}/**
  10. * @vue/runtime-core v3.5.43
  11. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  12. * @license MIT
  13. **/function gs(t,e,s,n){try{return n?t(...n):t()}catch(l){Ys(l,e,s)}}function oe(t,e,s,n){if(pt(t)){const l=gs(t,e,s,n);return l&&Bl(l)&&l.catch(o=>{Ys(o,e,s)}),l}if(dt(t)){const l=[];for(let o=0;o<t.length;o++)l.push(oe(t[o],e,s,n));return l}}function Ys(t,e,s,n=!0){const l=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:c}=e&&e.appContext.config||Tt;if(e){let i=e.parent;const u=e.proxy,_=`https://vuejs.org/error-reference/#runtime-${s}`;for(;i;){const f=i.ec;if(f){for(let m=0;m<f.length;m++)if(f[m](t,u,_)===!1)return}i=i.parent}if(o){we(),gs(o,null,10,[t,u,_]),ke();return}}Ba(t,s,l,n,c)}function Ba(t,e,s,n=!0,l=!1){if(l)throw t;console.error(t)}const Ut=[];let ue=-1;const ze=[];let Te=null,Ue=0;const uo=Promise.resolve();let As=null;function Wa(t){const e=As||uo;return t?e.then(this?t.bind(this):t):e}function Ka(t){let e=ue+1,s=Ut.length;for(;e<s;){const n=e+s>>>1,l=Ut[n],o=ds(l);o<t||o===t&&l.flags&2?e=n+1:s=n}return e}function Wn(t){if(!(t.flags&1)){const e=ds(t),s=Ut[Ut.length-1];!s||!(t.flags&2)&&e>=ds(s)?Ut.push(t):Ut.splice(Ka(e),0,t),t.flags|=1,po()}}function po(){As||(As=uo.then(ho))}function Ua(t){if(!dt(t))Te&&t.id===-1?Te.splice(Ue+1,0,t):t.flags&1||(ze.push(t),t.flags|=1);else for(let e=0;e<t.length;e++)ze.push(t[e]);po()}function al(t,e,s=ue+1){for(;s<Ut.length;s++){const n=Ut[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Ut.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function fo(t){if(ze.length){const e=[...new Set(ze)].sort((s,n)=>ds(s)-ds(n));if(ze.length=0,Te){for(let s=0;s<e.length;s++)Te.push(e[s]);return}for(Te=e,Ue=0;Ue<Te.length;Ue++){const s=Te[Ue];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Te=null,Ue=0}}const ds=t=>t.id==null?t.flags&2?-1:1/0:t.id;function ho(t){try{for(ue=0;ue<Ut.length;ue++){const e=Ut[ue];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),gs(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;ue<Ut.length;ue++){const e=Ut[ue];e&&(e.flags&=-2)}ue=-1,Ut.length=0,fo(),As=null,(Ut.length||ze.length)&&ho()}}let te=null,mo=null;function js(t){const e=te;return te=t,mo=t&&t.type.__scopeId||null,e}function Va(t,e=te,s){if(!e||t._n)return t;const n=(...l)=>{n._d&&gl(-1);const o=js(e),c=Ne.length;let i;try{i=t(...l)}finally{for(let u=Ne.length;u>c;u--)Ho();js(o),n._d&&gl(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function wn(t,e){if(te===null)return t;const s=tn(te),n=t.dirs||(t.dirs=[]);for(let l=0;l<e.length;l++){let[o,c,i,u=Tt]=e[l];o&&(pt(o)&&(o={mounted:o,updated:o}),o.deep&&$e(c),n.push({dir:o,instance:s,value:c,oldValue:void 0,arg:i,modifiers:u}))}return t}function qe(t,e,s,n){const l=t.dirs,o=e&&e.dirs;for(let c=0;c<l.length;c++){const i=l[c];o&&(i.oldValue=o[c].value);let u=i.dir[n];u&&(we(),oe(u,s,8,[t.el,i,t,e]),ke())}}function za(t,e){if(Nt){let s=Nt.provides;const n=Nt.parent&&Nt.parent.provides;n===s&&(s=Nt.provides=Object.create(n)),s[t]=e}}function Ts(t,e,s=!1){const n=zi();if(n||Ge){let l=Ge?Ge._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&&pt(e)?e.call(n&&n.proxy):e}}const Ga=Symbol.for("v-scx"),Ya=()=>Ts(Ga);function Re(t,e,s){return _o(t,e,s)}function _o(t,e,s=Tt){const{immediate:n,deep:l,flush:o,once:c}=s,i=Lt({},s),u=e&&n||!e&&o!=="post";let _;if(hs){if(o==="sync"){const $=Ya();_=$.__watcherHandles||($.__watcherHandles=[])}else if(!u){const $=()=>{};return $.stop=he,$.resume=he,$.pause=he,$}}const f=Nt;i.call=($,j,R)=>oe($,f,j,R);let m=!1;o==="post"?i.scheduler=$=>{Gt($,f&&f.suspense)}:o!=="sync"&&(m=!0,i.scheduler=($,j)=>{j?$():Wn($)}),i.augmentJob=$=>{e&&($.flags|=4),m&&($.flags|=2,f&&($.id=f.uid,$.i=f))};const v=Na(t,e,i);return hs&&(_?_.push(v):u&&v()),v}function Ja(t,e,s){const n=this.proxy,l=jt(t)?t.includes(".")?vo(n,t):()=>n[t]:t.bind(n,n);let o;pt(e)?o=e:(o=e.handler,s=e);const c=bs(this),i=_o(l,o.bind(n),s);return c(),i}function vo(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 Xa=Symbol("_vte"),Js=t=>t.__isTeleport,an=Symbol("_leaveCb");function Za(t){let e=t[0];if(t.length>1){for(const s of t)if(s.type!==Me){e=s;break}}return e}function go(t){if(!Un(t))return Js(t.type)&&t.children?Za(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&&pt(s.default))return s.default()}}function Kn(t,e){if(t.shapeFlag&6&&t.component){t.transition=e;const s=t.component.subTree;Kn(Js(s.type)&&go(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 Wt(t,e){return pt(t)?Lt({name:t.name},e,{setup:t}):t}function bo(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function il(t,e){let s;return!!((s=Object.getOwnPropertyDescriptor(t,e))&&!s.configurable)}const qs=new WeakMap;function as(t,e,s,n,l=!1){if(dt(t)){t.forEach((R,X)=>as(R,e&&(dt(e)?e[X]:e),s,n,l));return}if(is(n)&&!l){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&as(t,e,s,n.component.subTree);return}const o=n.shapeFlag&4?tn(n.component):n.el,c=l?null:o,{i,r:u}=t,_=e&&e.r,f=i.refs===Tt?i.refs={}:i.refs,m=i.setupState,v=$t(m),$=m===Tt?Nl:R=>il(f,R)?!1:xt(v,R),j=(R,X)=>!(X&&il(f,X));if(_!=null&&_!==u){if(rl(e),jt(_))f[_]=null,$(_)&&(m[_]=null);else if(Bt(_)){const R=e;j(_,R.k)&&(_.value=null),R.k&&(f[R.k]=null)}}if(pt(u))gs(u,i,12,[c,f]);else{const R=jt(u),X=Bt(u);if(R||X){const lt=()=>{if(t.f){const L=R?$(u)?m[u]:f[u]:j()||!t.k?u.value:f[t.k];if(l)dt(L)&&jn(L,o);else if(dt(L))L.includes(o)||L.push(o);else if(R)f[u]=[o],$(u)&&(m[u]=f[u]);else{const K=[o];j(u,t.k)&&(u.value=K),t.k&&(f[t.k]=K)}}else R?(f[u]=c,$(u)&&(m[u]=c)):X&&(j(u,t.k)&&(u.value=c),t.k&&(f[t.k]=c))};if(c){const L=()=>{lt(),qs.delete(t)};L.id=-1,qs.set(t,L),Gt(L,s)}else rl(t),lt()}}}function rl(t){const e=qs.get(t);e&&(e.flags|=8,qs.delete(t))}Vs().requestIdleCallback;Vs().cancelIdleCallback;const is=t=>!!t.type.__asyncLoader,Un=t=>t.type.__isKeepAlive;function Qa(t,e){yo(t,"a",e)}function ti(t,e){yo(t,"da",e)}function yo(t,e,s=Nt){const n=t.__wdc||(t.__wdc=()=>{let l=s;for(;l;){if(l.isDeactivated)return;l=l.parent}return t()});if(Xs(e,n,s),s){let l=s.parent;for(;l&&l.parent;)Un(l.parent.vnode)&&ei(n,e,s,l),l=l.parent}}function ei(t,e,s,n){const l=Xs(e,t,n,!0);$o(()=>{jn(n[e],l)},s)}function Xs(t,e,s=Nt,n=!1){if(s){const l=s[t]||(s[t]=[]),o=e.__weh||(e.__weh=(...c)=>{we();const i=bs(s),u=oe(e,s,t,c);return i(),ke(),u});return n?l.unshift(o):l.push(o),o}}const Se=t=>(e,s=Nt)=>{(!hs||t==="sp")&&Xs(t,(...n)=>e(...n),s)},si=Se("bm"),We=Se("m"),ni=Se("bu"),li=Se("u"),oi=Se("bum"),$o=Se("um"),ai=Se("sp"),ii=Se("rtg"),ri=Se("rtc");function ci(t,e=Nt){Xs("ec",t,e)}const ui="components";function di(t,e){return fi(ui,t,!0,e)||t}const pi=Symbol.for("v-ndc");function fi(t,e,s=!0,n=!1){const l=te||Nt;if(l){const o=l.type;{const i=Zi(o,!1);if(i&&(i===e||i===Vt(e)||i===Us(Vt(e))))return o}const c=cl(l[t]||o[t],e)||cl(l.appContext[t],e);return!c&&n?o:c}}function cl(t,e){return t&&(t[e]||t[Vt(e)]||t[Us(Vt(e))])}function bt(t,e,s,n){let l;const o=s,c=dt(t);if(c||jt(t)){const i=c&&Fe(t);let u=!1,_=!1;i&&(u=!se(t),_=_e(t),t=Gs(t)),l=new Array(t.length);for(let f=0,m=t.length;f<m;f++)l[f]=e(u?_?Oe(ne(t[f])):ne(t[f]):t[f],f,void 0,o)}else if(typeof t=="number"){l=new Array(t);for(let i=0;i<t;i++)l[i]=e(i+1,i,void 0,o)}else if(kt(t))if(t[Symbol.iterator])l=Array.from(t,(i,u)=>e(i,u,void 0,o));else{const i=Object.keys(t);l=new Array(i.length);for(let u=0,_=i.length;u<_;u++){const f=i[u];l[u]=e(t[f],f,u,o)}}else l=[];return l}const kn=t=>t?Wo(t)?tn(t):kn(t.parent):null,rs=Lt(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=>kn(t.parent),$root:t=>kn(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>wo(t),$forceUpdate:t=>t.f||(t.f=()=>{Wn(t.update)}),$nextTick:t=>t.n||(t.n=Wa.bind(t.proxy)),$watch:t=>Ja.bind(t)}),rn=(t,e)=>t!==Tt&&!t.__isScriptSetup&&xt(t,e),hi={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:l,props:o,accessCache:c,type:i,appContext:u}=t;if(e[0]!=="$"){const v=c[e];if(v!==void 0)switch(v){case 1:return n[e];case 2:return l[e];case 4:return s[e];case 3:return o[e]}else{if(rn(n,e))return c[e]=1,n[e];if(l!==Tt&&xt(l,e))return c[e]=2,l[e];if(xt(o,e))return c[e]=3,o[e];if(s!==Tt&&xt(s,e))return c[e]=4,s[e];Mn&&(c[e]=0)}}const _=rs[e];let f,m;if(_)return e==="$attrs"&&Rt(t.attrs,"get",""),_(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(s!==Tt&&xt(s,e))return c[e]=4,s[e];if(m=u.config.globalProperties,xt(m,e))return m[e]},set({_:t},e,s){const{data:n,setupState:l,ctx:o}=t;return rn(l,e)?(l[e]=s,!0):n!==Tt&&xt(n,e)?(n[e]=s,!0):xt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:l,props:o,type:c}},i){let u;return!!(s[i]||t!==Tt&&i[0]!=="$"&&xt(t,i)||rn(e,i)||xt(o,i)||xt(n,i)||xt(rs,i)||xt(l.config.globalProperties,i)||(u=c.__cssModules)&&u[i])},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:xt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function ul(t){return dt(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let Mn=!0;function mi(t){const e=wo(t),s=t.proxy,n=t.ctx;Mn=!1,e.beforeCreate&&dl(e.beforeCreate,t,"bc");const{data:l,computed:o,methods:c,watch:i,provide:u,inject:_,created:f,beforeMount:m,mounted:v,beforeUpdate:$,updated:j,activated:R,deactivated:X,beforeDestroy:lt,beforeUnmount:L,destroyed:K,unmounted:S,render:B,renderTracked:ct,renderTriggered:Ct,errorCaptured:Ot,serverPrefetch:Xt,expose:zt,inheritAttrs:E,components:J,directives:Z,filters:A}=e;if(_&&_i(_,n,null),c)for(const C in c){const N=c[C];pt(N)&&(n[C]=N.bind(s))}if(l){const C=l.call(s,s);kt(C)&&(t.data=vs(C))}if(Mn=!0,o)for(const C in o){const N=o[C],G=pt(N)?N.bind(s,s):pt(N.get)?N.get.bind(s,s):he,W=!pt(N)&&pt(N.set)?N.set.bind(s):he,Y=z({get:G,set:W});Object.defineProperty(n,C,{enumerable:!0,configurable:!0,get:()=>Y.value,set:tt=>Y.value=tt})}if(i)for(const C in i)xo(i[C],n,s,C);if(u){const C=pt(u)?u.call(s):u;Reflect.ownKeys(C).forEach(N=>{za(N,C[N])})}f&&dl(f,t,"c");function O(C,N){dt(N)?N.forEach(G=>C(G.bind(s))):N&&C(N.bind(s))}if(O(si,m),O(We,v),O(ni,$),O(li,j),O(Qa,R),O(ti,X),O(ci,Ot),O(ri,ct),O(ii,Ct),O(oi,L),O($o,S),O(ai,Xt),dt(zt))if(zt.length){const C=t.exposed||(t.exposed={});zt.forEach(N=>{Object.defineProperty(C,N,{get:()=>s[N],set:G=>s[N]=G,enumerable:!0})})}else t.exposed||(t.exposed={});B&&t.render===he&&(t.render=B),E!=null&&(t.inheritAttrs=E),J&&(t.components=J),Z&&(t.directives=Z),Xt&&bo(t)}function _i(t,e,s=he){dt(t)&&(t=Sn(t));for(const n in t){const l=t[n];let o;kt(l)?"default"in l?o=Ts(l.from||n,l.default,!0):o=Ts(l.from||n):o=Ts(l),Bt(o)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[n]=o}}function dl(t,e,s){oe(dt(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function xo(t,e,s,n){let l=n.includes(".")?vo(s,n):()=>s[n];if(jt(t)){const o=e[t];pt(o)&&Re(l,o)}else if(pt(t))Re(l,t.bind(s));else if(kt(t))if(dt(t))t.forEach(o=>xo(o,e,s,n));else{const o=pt(t.handler)?t.handler.bind(s):e[t.handler];pt(o)&&Re(l,o,t)}}function wo(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:l,optionsCache:o,config:{optionMergeStrategies:c}}=t.appContext,i=o.get(e);let u;return i?u=i:!l.length&&!s&&!n?u=e:(u={},l.length&&l.forEach(_=>Ds(u,_,c,!0)),Ds(u,e,c)),kt(e)&&o.set(e,u),u}function Ds(t,e,s,n=!1){const{mixins:l,extends:o}=e;o&&Ds(t,o,s,!0),l&&l.forEach(c=>Ds(t,c,s,!0));for(const c in e)if(!(n&&c==="expose")){const i=vi[c]||s&&s[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const vi={data:pl,props:fl,emits:fl,methods:es,computed:es,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:es,directives:es,watch:bi,provide:pl,inject:gi};function pl(t,e){return e?t?function(){return Lt(pt(t)?t.call(this,this):t,pt(e)?e.call(this,this):e)}:e:t}function gi(t,e){return es(Sn(t),Sn(e))}function Sn(t){if(dt(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 es(t,e){return t?Lt(Object.create(null),t,e):e}function fl(t,e){return t?dt(t)&&dt(e)?[...new Set([...t,...e])]:Lt(Object.create(null),ul(t),ul(e??{})):e}function bi(t,e){if(!t)return e;if(!e)return t;const s=Lt(Object.create(null),t);for(const n in e)s[n]=Kt(t[n],e[n]);return s}function ko(){return{app:null,config:{isNativeTag:Nl,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 yi=0;function $i(t,e){return function(n,l=null){pt(n)||(n=Lt({},n)),l!=null&&!kt(l)&&(l=null);const o=ko(),c=new WeakSet,i=[];let u=!1;const _=o.app={_uid:yi++,_component:n,_props:l,_container:null,_context:o,_instance:null,version:tr,get config(){return o.config},set config(f){},use(f,...m){return c.has(f)||(f&&pt(f.install)?(c.add(f),f.install(_,...m)):pt(f)&&(c.add(f),f(_,...m))),_},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),_},component(f,m){return m?(o.components[f]=m,_):o.components[f]},directive(f,m){return m?(o.directives[f]=m,_):o.directives[f]},mount(f,m,v){if(!u){const $=_._ceVNode||Ft(n,l);return $.appContext=o,v===!0?v="svg":v===!1&&(v=void 0),t($,f,v),u=!0,_._container=f,f.__vue_app__=_,tn($.component)}},onUnmount(f){i.push(f)},unmount(){u&&(oe(i,_._instance,16),t(null,_._container),delete _._container.__vue_app__)},provide(f,m){return o.provides[f]=m,_},runWithContext(f){const m=Ge;Ge=_;try{return f()}finally{Ge=m}}};return _}}let Ge=null;const xi=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Vt(e)}Modifiers`]||t[`${je(e)}Modifiers`];function wi(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||Tt;let l=s;const o=e.startsWith("update:"),c=o&&xi(n,e.slice(7));c&&(c.trim&&(l=s.map(f=>jt(f)?f.trim():f)),c.number&&(l=l.map(Dn)));let i,u=n[i=en(e)]||n[i=en(Vt(e))];!u&&o&&(u=n[i=en(je(e))]),u&&oe(u,t,6,l);const _=n[i+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,oe(_,t,6,l)}}const ki=new WeakMap;function Mo(t,e,s=!1){const n=s?ki:e.emitsCache,l=n.get(t);if(l!==void 0)return l;const o=t.emits;let c={},i=!1;if(!pt(t)){const u=_=>{const f=Mo(_,e,!0);f&&(i=!0,Lt(c,f))};!s&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!o&&!i?(kt(t)&&n.set(t,null),null):(dt(o)?o.forEach(u=>c[u]=null):Lt(c,o),kt(t)&&n.set(t,c),c)}function Zs(t,e){return!t||!Bs(e)?!1:(e=e.slice(2),e=e==="Once"?e:e.replace(/Once$/,""),xt(t,e[0].toLowerCase()+e.slice(1))||xt(t,je(e))||xt(t,e))}function hl(t){const{type:e,vnode:s,proxy:n,withProxy:l,propsOptions:[o],slots:c,attrs:i,emit:u,render:_,renderCache:f,props:m,data:v,setupState:$,ctx:j,inheritAttrs:R}=t,X=js(t);let lt,L;try{if(s.shapeFlag&4){const S=l||n,B=S;lt=pe(_.call(B,S,f,m,$,v,j)),L=i}else{const S=e;lt=pe(S.length>1?S(m,{attrs:i,slots:c,emit:u}):S(m,null)),L=e.props?i:Mi(i)}}catch(S){Ne.length=0,Ys(S,t,1),lt=Ft(Me)}let K=lt;if(L&&R!==!1){const S=Object.keys(L),{shapeFlag:B}=K;S.length&&B&7&&(o&&S.some(Ws)&&(L=Si(L,o)),K=Ye(K,L,!1,!0))}if(s.dirs&&(K=Ye(K,null,!1,!0),K.dirs=K.dirs?K.dirs.concat(s.dirs):s.dirs),s.transition){const S=Js(K.type)&&go(K)||K;Kn(S,s.transition)}return lt=K,js(X),lt}const Mi=t=>{let e;for(const s in t)(s==="class"||s==="style"||Bs(s))&&((e||(e={}))[s]=t[s]);return e},Si=(t,e)=>{const s={};for(const n in t)(!Ws(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function Ti(t,e,s){const{props:n,children:l,component:o}=t,{props:c,children:i,patchFlag:u}=e,_=o.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?ml(n,c,_):!!c;if(u&8){const f=e.dynamicProps;for(let m=0;m<f.length;m++){const v=f[m];if(So(c,n,v)&&!Zs(_,v))return!0}}}else return(l||i)&&(!i||!i.$stable)?!0:n===c?!1:n?c?ml(n,c,_):!0:!!c;return!1}function ml(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 o=n[l];if(So(e,t,o)&&!Zs(s,o))return!0}return!1}function So(t,e,s){const n=t[s],l=e[s];return s==="style"&&kt(n)&&kt(l)?!zs(n,l):n!==l}function Ci({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 To={},Co=()=>Object.create(To),Eo=t=>Object.getPrototypeOf(t)===To;function Ei(t,e,s,n=!1){const l={},o=Co();t.propsDefaults=Object.create(null),Fo(t,e,l,o);for(const c in t.propsOptions[0])c in l||(l[c]=void 0);s?t.props=n?l:ja(l):t.type.props?t.props=l:t.props=o,t.attrs=o}function Fi(t,e,s,n){const{props:l,attrs:o,vnode:{patchFlag:c}}=t,i=$t(l),[u]=t.propsOptions;let _=!1;if((n||c>0)&&!(c&16)){if(c&8){const f=t.vnode.dynamicProps;for(let m=0;m<f.length;m++){let v=f[m];if(Zs(t.emitsOptions,v))continue;const $=e[v];if(u)if(xt(o,v))$!==o[v]&&(o[v]=$,_=!0);else{const j=Vt(v);l[j]=Tn(u,i,j,$,t,!1)}else $!==o[v]&&(o[v]=$,_=!0)}}}else{Fo(t,e,l,o)&&(_=!0);let f;for(const m in i)(!e||!xt(e,m)&&((f=je(m))===m||!xt(e,f)))&&(u?s&&(s[m]!==void 0||s[f]!==void 0)&&(l[m]=Tn(u,i,m,void 0,t,!0)):delete l[m]);if(o!==i)for(const m in o)(!e||!xt(e,m))&&(delete o[m],_=!0)}_&&ye(t.attrs,"set","")}function Fo(t,e,s,n){const[l,o]=t.propsOptions;let c=!1,i;if(e)for(let u in e){if(ns(u))continue;const _=e[u];let f;l&&xt(l,f=Vt(u))?!o||!o.includes(f)?s[f]=_:(i||(i={}))[f]=_:Zs(t.emitsOptions,u)||(!(u in n)||_!==n[u])&&(n[u]=_,c=!0)}if(o){const u=$t(s),_=i||Tt;for(let f=0;f<o.length;f++){const m=o[f];s[m]=Tn(l,u,m,_[m],t,!xt(_,m))}}return c}function Tn(t,e,s,n,l,o){const c=t[s];if(c!=null){const i=xt(c,"default");if(i&&n===void 0){const u=c.default;if(c.type!==Function&&!c.skipFactory&&pt(u)){const{propsDefaults:_}=l;if(s in _)n=_[s];else{const f=bs(l);n=_[s]=u.call(null,e),f()}}else n=u;l.ce&&l.ce._setProp(s,n)}c[0]&&(o&&!i?n=!1:c[1]&&(n===""||n===je(s))&&(n=!0))}return n}const Oi=new WeakMap;function Oo(t,e,s=!1){const n=s?Oi:e.propsCache,l=n.get(t);if(l)return l;const o=t.props,c={},i=[];let u=!1;if(!pt(t)){const f=m=>{u=!0;const[v,$]=Oo(m,e,!0);Lt(c,v),$&&i.push(...$)};!s&&e.mixins.length&&e.mixins.forEach(f),t.extends&&f(t.extends),t.mixins&&t.mixins.forEach(f)}if(!o&&!u)return kt(t)&&n.set(t,Le),Le;if(dt(o))for(let f=0;f<o.length;f++){const m=Vt(o[f]);_l(m)&&(c[m]=Tt)}else if(o)for(const f in o){const m=Vt(f);if(_l(m)){const v=o[f],$=c[m]=dt(v)||pt(v)?{type:v}:Lt({},v),j=$.type;let R=!1,X=!0;if(dt(j))for(let lt=0;lt<j.length;++lt){const L=j[lt],K=pt(L)&&L.name;if(K==="Boolean"){R=!0;break}else K==="String"&&(X=!1)}else R=pt(j)&&j.name==="Boolean";$[0]=R,$[1]=X,(R||xt($,"default"))&&i.push(m)}}const _=[c,i];return kt(t)&&n.set(t,_),_}function _l(t){return t[0]!=="$"&&!ns(t)}const Vn=t=>t==="_"||t==="_ctx"||t==="$stable",zn=t=>dt(t)?t.map(pe):[pe(t)],Ai=(t,e,s)=>{if(e._n)return e;const n=Va((...l)=>zn(e(...l)),s);return n._c=!1,n},Ao=(t,e,s)=>{const n=t._ctx;for(const l in t){if(Vn(l))continue;const o=t[l];if(pt(o))e[l]=Ai(l,o,n);else if(o!=null){const c=zn(o);e[l]=()=>c}}},jo=(t,e)=>{const s=zn(e);t.slots.default=()=>s},qo=(t,e,s)=>{for(const n in e)(s||!Vn(n))&&(t[n]=e[n])},ji=(t,e,s)=>{const n=t.slots=Co();if(t.vnode.shapeFlag&32){const l=e._;l?(qo(n,e,s),s&&Ul(n,"_",l,!0)):Ao(e,n)}else e&&jo(t,e)},qi=(t,e,s)=>{const{vnode:n,slots:l}=t;let o=!0,c=Tt;if(n.shapeFlag&32){const i=e._;i?s&&i===1?o=!1:qo(l,e,s):(o=!e.$stable,Ao(e,l)),c=e}else e&&(jo(t,e),c={default:1});if(o)for(const i in l)!Vn(i)&&c[i]==null&&delete l[i]},Gt=Hi;function Di(t){return Pi(t)}function Pi(t,e){const s=Vs();s.__VUE__=!0;const{insert:n,remove:l,patchProp:o,createElement:c,createText:i,createComment:u,setText:_,setElementText:f,parentNode:m,nextSibling:v,setScopeId:$=he,insertStaticContent:j}=t,R=(h,g,b,y=null,M=null,F=null,I=void 0,H=null,w=!!g.dynamicChildren)=>{if(h===g)return;h&&!Ze(h,g)&&(y=nt(h),tt(h,M,F,!0),h=null),g.patchFlag===-2&&(w=!1,g.dynamicChildren=null),g.dynamicChildren&&h&&h.dynamicChildren&&h.dynamicChildren.hasOnce&&(g.dynamicChildren===Le&&(g.dynamicChildren=[]),g.dynamicChildren.hasOnce=!0);const{type:x,ref:et,shapeFlag:U}=g;switch(x){case Qs:X(h,g,b,y);break;case Me:lt(h,g,b,y);break;case Cs:h==null&&L(g,b,y,I);break;case it:J(h,g,b,y,M,F,I,H,w);break;default:U&1?B(h,g,b,y,M,F,I,H,w):U&6?Z(h,g,b,y,M,F,I,H,w):(U&64||U&128)&&x.process(h,g,b,y,M,F,I,H,w,at)}et!=null&&M?as(et,h&&h.ref,F,g||h,!g):et==null&&h&&h.ref!=null&&as(h.ref,null,F,h,!0)},X=(h,g,b,y)=>{if(h==null)n(g.el=i(g.children),b,y);else{const M=g.el=h.el;g.children!==h.children&&_(M,g.children)}},lt=(h,g,b,y)=>{h==null?n(g.el=u(g.children||""),b,y):g.el=h.el},L=(h,g,b,y)=>{[h.el,h.anchor]=j(h.children,g,b,y,h.el,h.anchor)},K=({el:h,anchor:g},b,y)=>{let M;for(;h&&h!==g;)M=v(h),n(h,b,y),h=M;n(g,b,y)},S=({el:h,anchor:g})=>{let b;for(;h&&h!==g;)b=v(h),l(h),h=b;l(g)},B=(h,g,b,y,M,F,I,H,w)=>{if(g.type==="svg"?I="svg":g.type==="math"&&(I="mathml"),h==null)ct(g,b,y,M,F,I,H,w);else{const x=h.el&&h.el._isVueCE?h.el:null;try{x&&x._beginPatch(),Xt(h,g,M,F,I,H,w)}finally{x&&x._endPatch()}}},ct=(h,g,b,y,M,F,I,H)=>{let w,x;const{props:et,shapeFlag:U,transition:ot,dirs:rt}=h;if(w=h.el=c(h.type,F,et&&et.is,et),U&8?f(w,h.children):U&16&&Ot(h.children,w,null,y,M,cn(h,F),I,H),rt&&qe(h,null,y,"created"),Ct(w,h,h.scopeId,I,y),et){for(const Mt in et)Mt!=="value"&&!ns(Mt)&&o(w,Mt,null,et[Mt],F,y);"value"in et&&o(w,"value",null,et.value,F),(x=et.onVnodeBeforeMount)&&ce(x,y,h)}rt&&qe(h,null,y,"beforeMount");const vt=Ii(M,ot);vt&&ot.beforeEnter(w),n(w,g,b),((x=et&&et.onVnodeMounted)||vt||rt)&&Gt(()=>{try{x&&ce(x,y,h),vt&&ot.enter(w),rt&&qe(h,null,y,"mounted")}finally{}},M)},Ct=(h,g,b,y,M)=>{if(b&&$(h,b),y)for(let F=0;F<y.length;F++)$(h,y[F]);if(M){let F=M.subTree;if(g===F||Lo(F.type)&&(F.ssContent===g||F.ssFallback===g)){const I=M.vnode;Ct(h,I,I.scopeId,I.slotScopeIds,M.parent)}}},Ot=(h,g,b,y,M,F,I,H,w=0)=>{for(let x=w;x<h.length;x++){const et=h[x]=H?be(h[x]):pe(h[x]);R(null,et,g,b,y,M,F,I,H)}},Xt=(h,g,b,y,M,F,I)=>{const H=g.el=h.el;let{patchFlag:w,dynamicChildren:x,dirs:et}=g;w|=h.patchFlag&16;const U=h.props||Tt,ot=g.props||Tt;let rt;if(b&&De(b,!1),(rt=ot.onVnodeBeforeUpdate)&&ce(rt,b,g,h),et&&qe(g,h,b,"beforeUpdate"),b&&De(b,!0),x&&(!h.dynamicChildren||h.dynamicChildren.length!==x.length)&&(w=0,I=!1,x=null),(U.innerHTML&&ot.innerHTML==null||U.textContent&&ot.textContent==null)&&f(H,""),x?zt(h.dynamicChildren,x,H,b,y,cn(g,M),F):I||N(h,g,H,null,b,y,cn(g,M),F,!1),w>0){if(w&16)E(H,U,ot,b,M);else if(w&2&&U.class!==ot.class&&o(H,"class",null,ot.class,M),w&4&&o(H,"style",U.style,ot.style,M),w&8){const vt=g.dynamicProps;for(let Mt=0;Mt<vt.length;Mt++){const wt=vt[Mt],qt=U[wt],Pt=ot[wt];(Pt!==qt||wt==="value")&&o(H,wt,qt,Pt,M,b)}}w&1&&h.children!==g.children&&f(H,g.children)}else!I&&x==null&&E(H,U,ot,b,M);((rt=ot.onVnodeUpdated)||et)&&Gt(()=>{rt&&ce(rt,b,g,h),et&&qe(g,h,b,"updated")},y)},zt=(h,g,b,y,M,F,I)=>{for(let H=0;H<g.length;H++){const w=h[H],x=g[H],et=w.el&&(w.type===it||!Ze(w,x)||w.shapeFlag&198)?m(w.el):b;R(w,x,et,null,y,M,F,I,!0)}},E=(h,g,b,y,M)=>{if(g!==b){if(g!==Tt)for(const F in g)!ns(F)&&!(F in b)&&o(h,F,g[F],null,M,y);for(const F in b){if(ns(F))continue;const I=b[F],H=g[F];I!==H&&F!=="value"&&o(h,F,H,I,M,y)}"value"in b&&o(h,"value",g.value,b.value,M)}},J=(h,g,b,y,M,F,I,H,w)=>{const x=g.el=h?h.el:i(""),et=g.anchor=h?h.anchor:i("");let{patchFlag:U,dynamicChildren:ot,slotScopeIds:rt}=g;rt&&(H=H?H.concat(rt):rt),h==null?(n(x,b,y),n(et,b,y),Ot(g.children||[],b,et,M,F,I,H,w)):U>0&&U&64&&ot&&h.dynamicChildren&&h.dynamicChildren.length===ot.length?(zt(h.dynamicChildren,ot,b,M,F,I,H),(g.key!=null||M&&g===M.subTree)&&Do(h,g,!0)):N(h,g,b,et,M,F,I,H,w)},Z=(h,g,b,y,M,F,I,H,w)=>{g.slotScopeIds=H,h==null?g.shapeFlag&512?M.ctx.activate(g,b,y,I,w):A(g,b,y,M,F,I,w):q(h,g,w)},A=(h,g,b,y,M,F,I)=>{const H=h.component=Vi(h,y,M);if(Un(h)&&(H.ctx.renderer=at),Gi(H,!1,I),H.asyncDep){if(M&&M.registerDep(H,O,I),!h.el){const w=H.subTree=Ft(Me);lt(null,w,g,b),h.placeholder=w.el}}else O(H,h,g,b,M,F,I)},q=(h,g,b)=>{const y=g.component=h.component;if(Ti(h,g,b))if(y.asyncDep&&!y.asyncResolved){g.el=h.el,C(y,g,b);return}else y.next=g,y.update();else g.el=h.el,y.vnode=g},O=(h,g,b,y,M,F,I)=>{const H=()=>{if(h.isMounted){let{next:U,bu:ot,u:rt,parent:vt,vnode:Mt}=h;{const ie=Po(h);if(ie){U&&(U.el=Mt.el,C(h,U,I)),ie.asyncDep.then(()=>{Gt(()=>{h.isUnmounted||x()},M)});return}}let wt=U,qt;De(h,!1),U?(U.el=Mt.el,C(h,U,I)):U=Mt,ot&&Ss(ot),(qt=U.props&&U.props.onVnodeBeforeUpdate)&&ce(qt,vt,U,Mt),De(h,!0);const Pt=hl(h),ae=h.subTree;h.subTree=Pt,R(ae,Pt,m(ae.el),nt(ae),h,M,F),U.el=Pt.el,wt===null&&Ci(h,Pt.el),rt&&Gt(rt,M),(qt=U.props&&U.props.onVnodeUpdated)&&Gt(()=>ce(qt,vt,U,Mt),M)}else{let U;const{el:ot,props:rt}=g,{bm:vt,m:Mt,parent:wt,root:qt,type:Pt}=h,ae=is(g);De(h,!1),vt&&Ss(vt),!ae&&(U=rt&&rt.onVnodeBeforeMount)&&ce(U,wt,g),De(h,!0);{qt.ce&&qt.ce._hasShadowRoot()&&qt.ce._injectChildStyle(Pt,h.parent?h.parent.type:void 0);const ie=h.subTree=hl(h);R(null,ie,b,y,h,M,F),g.el=ie.el}if(Mt&&Gt(Mt,M),!ae&&(U=rt&&rt.onVnodeMounted)){const ie=g;Gt(()=>ce(U,wt,ie),M)}(g.shapeFlag&256||wt&&is(wt.vnode)&&wt.vnode.shapeFlag&256)&&h.a&&Gt(h.a,M),h.isMounted=!0,g=b=y=null}};h.scope.on();const w=h.effect=new Yl(H);h.scope.off();const x=h.update=w.run.bind(w),et=h.job=w.runIfDirty.bind(w);et.i=h,et.id=h.uid,w.scheduler=()=>Wn(et),De(h,!0),x()},C=(h,g,b)=>{g.component=h;const y=h.vnode.props;h.vnode=g,h.next=null,Fi(h,g.props,y,b),qi(h,g.children,b),we(),al(h),ke()},N=(h,g,b,y,M,F,I,H,w=!1)=>{const x=h&&h.children,et=h?h.shapeFlag:0,U=g.children,{patchFlag:ot,shapeFlag:rt}=g;if(ot>0){if(ot&128){W(x,U,b,y,M,F,I,H,w);return}else if(ot&256){G(x,U,b,y,M,F,I,H,w);return}}rt&8?(et&16&&Q(x,M,F),U!==x&&f(b,U)):et&16?rt&16?W(x,U,b,y,M,F,I,H,w):Q(x,M,F,!0):(et&8&&f(b,""),rt&16&&Ot(U,b,y,M,F,I,H,w))},G=(h,g,b,y,M,F,I,H,w)=>{h=h||Le,g=g||Le;const x=h.length,et=g.length,U=Math.min(x,et);let ot;for(ot=0;ot<U;ot++){const rt=g[ot]=w?be(g[ot]):pe(g[ot]);R(h[ot],rt,b,null,M,F,I,H,w)}x>et?Q(h,M,F,!0,!1,U):Ot(g,b,y,M,F,I,H,w,U)},W=(h,g,b,y,M,F,I,H,w)=>{let x=0;const et=g.length;let U=h.length-1,ot=et-1;for(;x<=U&&x<=ot;){const rt=h[x],vt=g[x]=w?be(g[x]):pe(g[x]);if(Ze(rt,vt))R(rt,vt,b,null,M,F,I,H,w);else break;x++}for(;x<=U&&x<=ot;){const rt=h[U],vt=g[ot]=w?be(g[ot]):pe(g[ot]);if(Ze(rt,vt))R(rt,vt,b,null,M,F,I,H,w);else break;U--,ot--}if(x>U){if(x<=ot){const rt=ot+1,vt=rt<et?g[rt].el:y;for(;x<=ot;)R(null,g[x]=w?be(g[x]):pe(g[x]),b,vt,M,F,I,H,w),x++}}else if(x>ot)for(;x<=U;)tt(h[x],M,F,!0),x++;else{const rt=x,vt=x,Mt=new Map;for(x=vt;x<=ot;x++){const Zt=g[x]=w?be(g[x]):pe(g[x]);Zt.key!=null&&Mt.set(Zt.key,x)}let wt,qt=0;const Pt=ot-vt+1;let ae=!1,ie=0;const Je=new Array(Pt);for(x=0;x<Pt;x++)Je[x]=0;for(x=rt;x<=U;x++){const Zt=h[x];if(qt>=Pt){tt(Zt,M,F,!0);continue}let re;if(Zt.key!=null)re=Mt.get(Zt.key);else for(wt=vt;wt<=ot;wt++)if(Je[wt-vt]===0&&Ze(Zt,g[wt])){re=wt;break}re===void 0?tt(Zt,M,F,!0):(Je[re-vt]=x+1,re>=ie?ie=re:ae=!0,R(Zt,g[re],b,null,M,F,I,H,w),qt++)}const Xn=ae?Li(Je):Le;for(wt=Xn.length-1,x=Pt-1;x>=0;x--){const Zt=vt+x,re=g[Zt],Zn=g[Zt+1],Qn=Zt+1<et?Zn.el||Io(Zn):y;Je[x]===0?R(null,re,b,Qn,M,F,I,H,w):ae&&(wt<0||x!==Xn[wt]?Y(re,b,Qn,2):wt--)}}},Y=(h,g,b,y,M=null)=>{const{el:F,type:I,transition:H,children:w,shapeFlag:x}=h;if(x&6){Y(h.component.subTree,g,b,y);return}if(x&128){h.suspense.move(g,b,y);return}if(x&64){I.move(h,g,b,at);return}if(I===it){n(F,g,b);for(let U=0;U<w.length;U++)Y(w[U],g,b,y);n(h.anchor,g,b);return}if(I===Cs){K(h,g,b);return}if(y!==2&&x&1&&H)if(y===0)H.persisted&&!F[an]?n(F,g,b):(H.beforeEnter(F),n(F,g,b),Gt(()=>H.enter(F),M));else{const{leave:U,delayLeave:ot,afterLeave:rt}=H,vt=()=>{h.ctx.isUnmounted?l(F):n(F,g,b)},Mt=()=>{const wt=F._isLeaving||!!F[an];F._isLeaving&&F[an](!0),H.persisted&&!wt?vt():U(F,()=>{vt(),rt&&rt()})};ot?ot(F,vt,Mt):Mt()}else n(F,g,b)},tt=(h,g,b,y=!1,M=!1)=>{const{type:F,props:I,ref:H,children:w,dynamicChildren:x,shapeFlag:et,patchFlag:U,dirs:ot,cacheIndex:rt,memo:vt}=h;if((U===-2||x&&x.hasOnce)&&(M=!1),H!=null&&(we(),as(H,null,b,h,!0),ke()),rt!=null&&(!h.ctx||h.ctx===g)&&(g.renderCache[rt]=void 0),et&256){g.ctx.deactivate(h);return}const Mt=et&1&&ot,wt=!is(h);let qt;if(wt&&(qt=I&&I.onVnodeBeforeUnmount)&&ce(qt,g,h),et&6)V(h.component,b,y);else{if(et&128){h.suspense.unmount(b,y);return}Mt&&qe(h,null,g,"beforeUnmount"),et&64?h.type.remove(h,g,b,at,y):x&&!x.hasOnce&&(F!==it||U>0&&U&64)?Q(x,g,b,!1,!0):(F===it&&U&384||!M&&et&16)&&Q(w,g,b),y&&P(h)}const Pt=vt!=null&&rt==null;(wt&&(qt=I&&I.onVnodeUnmounted)||Mt||Pt)&&Gt(()=>{qt&&ce(qt,g,h),Mt&&qe(h,null,g,"unmounted"),Pt&&(h.el=null)},b)},P=h=>{const{type:g,el:b,anchor:y,transition:M}=h;if(g===it){D(b,y);return}if(g===Cs){S(h),M&&!M.persisted&&M.afterLeave&&M.afterLeave();return}const F=()=>{l(b),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(h.shapeFlag&1&&M&&!M.persisted){const{leave:I,delayLeave:H}=M,w=()=>I(b,F);H?H(h.el,F,w):w()}else F()},D=(h,g)=>{let b;for(;h!==g;)b=v(h),l(h),h=b;l(g)},V=(h,g,b)=>{const{bum:y,scope:M,job:F,subTree:I,um:H,m:w,a:x}=h;vl(w),vl(x),y&&Ss(y),M.stop(),F?(F.flags|=8,tt(I,h,g,b)):h.vnode.el&&I&&(I.transition=h.vnode.transition,tt(I,h,g,b)),H&&Gt(H,g),Gt(()=>{h.isUnmounted=!0},g)},Q=(h,g,b,y=!1,M=!1,F=0)=>{for(let I=F;I<h.length;I++)tt(h[I],g,b,y,M)},nt=h=>{if(h.shapeFlag&6)return nt(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const g=v(h.anchor||h.el),b=g&&g[Xa];return b?v(b):g};let _t=!1;const ht=(h,g,b)=>{let y;h==null?g._vnode&&(tt(g._vnode,null,null,!0),y=g._vnode.component):R(g._vnode||null,h,g,null,null,null,b),g._vnode=h,_t||(_t=!0,al(y),fo(),_t=!1)},at={p:R,um:tt,m:Y,r:P,mt:A,mc:Ot,pc:N,pbc:zt,n:nt,o:t};return{render:ht,hydrate:void 0,createApp:$i(ht)}}function cn({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 De({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Ii(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Do(t,e,s=!1){const n=t.children,l=e.children;if(dt(n)&&dt(l))for(let o=0;o<n.length;o++){const c=n[o];let i=l[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=l[o]=be(l[o]),i.el=c.el),!s&&i.patchFlag!==-2&&Do(c,i)),i.type===Qs&&(i.patchFlag===-1&&(i=l[o]=be(i)),i.el=c.el),i.type===Me&&!i.el&&(i.el=c.el)}}function Li(t){const e=t.slice(),s=[0];let n,l,o,c,i;const u=t.length;for(n=0;n<u;n++){const _=t[n];if(_!==0){if(l=s[s.length-1],t[l]<_){e[n]=l,s.push(n);continue}for(o=0,c=s.length-1;o<c;)i=o+c>>1,t[s[i]]<_?o=i+1:c=i;_<t[s[o]]&&(o>0&&(e[n]=s[o-1]),s[o]=n)}}for(o=s.length,c=s[o-1];o-- >0;)s[o]=c,c=e[c];return s}function Po(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Po(e)}function vl(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}function Io(t){if(t.placeholder)return t.placeholder;const e=t.component;return e?Io(e.subTree):null}const Lo=t=>t.__isSuspense;function Hi(t,e){e&&e.pendingBranch?dt(t)?e.effects.push(...t):e.effects.push(t):Ua(t)}const it=Symbol.for("v-fgt"),Qs=Symbol.for("v-txt"),Me=Symbol.for("v-cmt"),Cs=Symbol.for("v-stc"),Ne=[];let ee=null;function k(t=!1){Ne.push(ee=t?null:[])}function Ho(){Ne.pop(),ee=Ne[Ne.length-1]||null}let ps=1;function gl(t,e=!1){ps+=t,t<0&&ee&&e&&(ee.hasOnce=!0)}function Ro(t){return t.dynamicChildren=ps>0?ee||Le:null,Ho(),ps>0&&ee&&ee.push(t),t}function T(t,e,s,n,l,o){return Ro(r(t,e,s,n,l,o,!0))}function Ht(t,e,s,n,l){return Ro(Ft(t,e,s,n,l,!0))}function No(t){return t?t.__v_isVNode===!0:!1}function Ze(t,e){return t.type===e.type&&t.key===e.key}const Bo=({key:t})=>t??null,Es=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?jt(t)||Bt(t)||pt(t)?{i:te,r:t,k:e,f:!!s}:t:null);function r(t,e=null,s=null,n=0,l=null,o=t===it?0:1,c=!1,i=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Bo(e),ref:e&&Es(e),scopeId:mo,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:o,patchFlag:n,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:te};return i?(Ps(u,s),o&128&&t.normalize(u)):s&&(u.shapeFlag|=jt(s)?8:16),ps>0&&!c&&ee&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&ee.push(u),u}const Ft=Ri;function Ri(t,e=null,s=null,n=0,l=null,o=!1){if((!t||t===pi)&&(t=Me),No(t)){const i=Ye(t,e,!0);return s&&Ps(i,s),ps>0&&!o&&ee&&(i.shapeFlag&6?ee[ee.indexOf(t)]=i:ee.push(i)),i.patchFlag=-2,i}if(Qi(t)&&(t=t.__vccOpts),e){e=Ni(e);let{class:i,style:u}=e;i&&!jt(i)&&(e.class=Qt(i)),kt(u)&&(Bn(u)&&!dt(u)&&(u=Lt({},u)),e.style=Dt(u))}const c=jt(t)?1:Lo(t)?128:Js(t)?64:kt(t)?4:pt(t)?2:0;return r(t,e,s,n,l,c,o,!0)}function Ni(t){return t?Bn(t)||Eo(t)?Lt({},t):t:null}function Ye(t,e,s=!1,n=!1){const{props:l,ref:o,patchFlag:c,children:i,transition:u}=t,_=e?Wi(l||{},e):l,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:_,key:_&&Bo(_),ref:e&&e.ref?s&&o?dt(o)?o.concat(Es(e)):[o,Es(e)]:Es(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,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:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ye(t.ssContent),ssFallback:t.ssFallback&&Ye(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce,cacheIndex:t.cacheIndex};return u&&n&&Kn(f,u.clone(f)),f}function ut(t=" ",e=0){return Ft(Qs,null,t,e)}function Bi(t,e){const s=Ft(Cs,null,t);return s.staticCount=e,s}function mt(t="",e=!1){return e?(k(),Ht(Me,null,t)):Ft(Me,null,t)}function pe(t){return t==null||typeof t=="boolean"?Ft(Me):dt(t)?Ft(it,null,t.slice()):No(t)?be(t):Ft(Qs,null,String(t))}function be(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ye(t)}function Ps(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(dt(e))s=16;else if(typeof e=="object")if(n&65){const l=e.default;l&&(l._c&&(l._d=!1),Ps(t,l()),l._c&&(l._d=!0));return}else{s=32;const l=e._;!l&&!Eo(e)?e._ctx=te:l===3&&te&&(te.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else if(pt(e)){if(n&65){Ps(t,{default:e});return}e={default:e,_ctx:te},s=32}else e=String(e),n&64?(s=16,e=[ut(e)]):s=8;t.children=e,t.shapeFlag|=s}function Wi(...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=Qt([e.class,n.class]));else if(l==="style")e.style=Dt([e.style,n.style]);else if(Bs(l)){const o=e[l],c=n[l];c&&o!==c&&!(dt(o)&&o.includes(c))?e[l]=o?[].concat(o,c):c:c==null&&o==null&&!Ws(l)&&(e[l]=c)}else l!==""&&(e[l]=n[l])}return e}function ce(t,e,s,n=null){oe(t,e,7,[s,n])}const Ki=ko();let Ui=0;function Vi(t,e,s){const n=t.type,l=(e?e.appContext:t.appContext)||Ki,o={uid:Ui++,vnode:t,type:n,parent:e,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ha(!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:Oo(n,l),emitsOptions:Mo(n,l),emit:null,emitted:null,propsDefaults:Tt,inheritAttrs:n.inheritAttrs,ctx:Tt,data:Tt,props:Tt,attrs:Tt,slots:Tt,refs:Tt,setupState:Tt,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 o.ctx={_:o},o.root=e?e.root:o,o.emit=wi.bind(null,o),t.ce&&t.ce(o),o}let Nt=null;const zi=()=>Nt||te;let Is,fs;{const t=Vs(),e=(s,n)=>{let l;return(l=t[s])||(l=t[s]=[]),l.push(n),o=>{l.length>1?l.forEach(c=>c(o)):l[0](o)}};Is=e("__VUE_INSTANCE_SETTERS__",s=>Nt=s),fs=e("__VUE_SSR_SETTERS__",s=>hs=s)}const bs=t=>{const e=Nt;return Is(t),t.scope.on(),()=>{t.scope.off(),Is(e)}},bl=()=>{Nt&&Nt.scope.off(),Is(null)};function Wo(t){return t.vnode.shapeFlag&4}let hs=!1;function Gi(t,e=!1,s=!1){e&&fs(e);const{props:n,children:l}=t.vnode,o=Wo(t);Ei(t,n,o,e),ji(t,l,s||e);const c=o?Yi(t,e):void 0;return e&&fs(!1),c}function Yi(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,hi);const{setup:n}=s;if(n){we();const l=t.setupContext=n.length>1?Xi(t):null,o=bs(t),c=gs(n,t,0,[t.props,l]),i=Bl(c);if(ke(),o(),(i||t.sp)&&!is(t)&&bo(t),i){if(c.then(bl,bl),e)return c.then(u=>{fs(!0);try{yl(t,u,e)}finally{fs(!1)}}).catch(u=>{Ys(u,t,0)});t.asyncDep=c}else yl(t,c)}else Ko(t)}function yl(t,e,s){pt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:kt(e)&&(t.setupState=co(e)),Ko(t)}function Ko(t,e,s){const n=t.type;t.render||(t.render=n.render||he);{const l=bs(t);we();try{mi(t)}finally{ke(),l()}}}const Ji={get(t,e){return Rt(t,"get",""),t[e]}};function Xi(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Ji),slots:t.slots,emit:t.emit,expose:e}}function tn(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(co(qa(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in rs)return rs[s](t)},has(e,s){return s in e||s in rs}})):t.proxy}function Zi(t,e=!0){return pt(t)?t.displayName||t.name:t.name||e&&t.__name}function Qi(t){return pt(t)&&"__vccOpts"in t}const z=(t,e)=>Ha(t,e,hs),tr="3.5.43";/**
  14. * @vue/runtime-dom v3.5.43
  15. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  16. * @license MIT
  17. **/let Cn;const $l=typeof window<"u"&&window.trustedTypes;if($l)try{Cn=$l.createPolicy("vue",{createHTML:t=>t})}catch{}const Uo=Cn?t=>Cn.createHTML(t):t=>t,er="http://www.w3.org/2000/svg",sr="http://www.w3.org/1998/Math/MathML",ge=typeof document<"u"?document:null,xl=ge&&ge.createElement("template"),nr={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(er,t):e==="mathml"?ge.createElementNS(sr,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,o){const c=s?s.previousSibling:e.lastChild;if(l&&(l===o||l.nextSibling))for(;e.insertBefore(l.cloneNode(!0),s),!(l===o||!(l=l.nextSibling)););else{xl.innerHTML=Uo(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const i=xl.content;if(n==="svg"||n==="mathml"){const u=i.firstChild;for(;u.firstChild;)i.appendChild(u.firstChild);i.removeChild(u)}e.insertBefore(i,s)}return[c?c.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},lr=Symbol("_vtc");function or(t,e,s){const n=t[lr];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const Ls=Symbol("_vod"),Vo=Symbol("_vsh"),ar={name:"show",beforeMount(t,{value:e},{transition:s}){t[Ls]=t.style.display==="none"?"":t.style.display,s&&e?s.beforeEnter(t):Qe(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),Qe(t,!0),n.enter(t)):n.leave(t,()=>{Qe(t,!1)}):Qe(t,e))},beforeUnmount(t,{value:e}){Qe(t,e)}};function Qe(t,e){t.style.display=e?t[Ls]:"none",t[Vo]=!e}const ir=Symbol(""),rr=/(?:^|;)\s*display\s*:/;function cr(t,e,s){const n=t.style,l=jt(s);let o=!1;if(s&&!l){if(e)if(jt(e))for(const c of e.split(";")){const i=c.slice(0,c.indexOf(":")).trim();s[i]==null&&ss(n,i,"")}else for(const c in e)s[c]==null&&ss(n,c,"");for(const c in s){c==="display"&&(o=!0);const i=s[c];i!=null?dr(t,c,!jt(e)&&e?e[c]:void 0,i)||ss(n,c,i):ss(n,c,"")}}else if(l){if(e!==s){const c=n[ir];c&&(s+=";"+c),n.cssText=s,o=rr.test(s)}}else e&&t.removeAttribute("style");Ls in t&&(t[Ls]=o?n.display:"",t[Vo]&&(n.display="none"))}const ws=/\s*!important$/;function ss(t,e,s){if(dt(s))s.forEach(n=>ss(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))ws.test(s)?t.setProperty(e,s.replace(ws,""),"important"):t.setProperty(e,s);else{const n=ur(t,e);ws.test(s)?t.setProperty(je(n),s.replace(ws,""),"important"):t[n]=s}}const wl=["Webkit","Moz","ms"],un={};function ur(t,e){const s=un[e];if(s)return s;let n=Vt(e);if(n!=="filter"&&n in t)return un[e]=n;n=Us(n);for(let l=0;l<wl.length;l++){const o=wl[l]+n;if(o in t)return un[e]=o}return e}function dr(t,e,s,n){return t.tagName==="TEXTAREA"&&(e==="width"||e==="height")&&jt(n)&&s===n}const kl="http://www.w3.org/1999/xlink";function Ml(t,e,s,n,l,o=da(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(kl,e.slice(6,e.length)):t.setAttributeNS(kl,e,s):s==null||o&&!Vl(s)?t.removeAttribute(e):t.setAttribute(e,o?"":me(s)?String(s):s)}function Sl(t,e,s,n,l){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?Uo(s):s);return}const o=t.tagName;if(e==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?t.getAttribute("value")||"":t.value,u=s==null?t.type==="checkbox"?"on":"":String(s);(i!==u||!("_value"in t))&&(t.value=u),s==null&&t.removeAttribute(e),t._value=s;return}let c=!1;if(s===""||s==null){const i=typeof t[e];i==="boolean"?s=Vl(s):s==null&&i==="string"?(s="",c=!0):i==="number"&&(s=0,c=!0)}try{t[e]=s}catch{}c&&t.removeAttribute(l||e)}function Ve(t,e,s,n){t.addEventListener(e,s,n)}function pr(t,e,s,n){t.removeEventListener(e,s,n)}const Tl=Symbol("_vei");function fr(t,e,s,n,l=null){const o=t[Tl]||(t[Tl]={}),c=o[e];if(n&&c)c.value=n;else{const[i,u]=_r(e);if(n){const _=o[e]=br(n,l);Ve(t,i,_,u)}else c&&(pr(t,i,c,u),o[e]=void 0)}}const hr=/(Once|Passive|Capture)$/,mr=/^on:?(?:Once|Passive|Capture)$/;function _r(t){let e,s;for(;(s=t.match(hr))&&!mr.test(t);)e||(e={}),t=t.slice(0,t.length-s[1].length),e[s[1].toLowerCase()]=!0;return[t[2]===":"?t.slice(3):je(t.slice(2)),e]}let dn=0;const vr=Promise.resolve(),gr=()=>dn||(vr.then(()=>dn=0),dn=Date.now());function br(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const l=s.value;if(dt(l)){const o=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{o.call(n),n._stopped=!0};const c=l.slice(),i=[n];for(let u=0;u<c.length&&!n._stopped;u++){const _=c[u];_&&oe(_,e,5,i)}}else oe(l,e,5,[n])};return s.value=t,s.attached=gr(),s}const Cl=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,yr=(t,e,s,n,l,o)=>{const c=l==="svg";e==="class"?or(t,n,c):e==="style"?cr(t,s,n):Bs(e)?Ws(e)||fr(t,e,s,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):$r(t,e,n,c))?(Sl(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&Ml(t,e,n,c,o,e!=="value")):t._isVueCE&&(xr(t,e)||t._def.__asyncLoader&&(/[A-Z]/.test(e)||!jt(n)))?Sl(t,Vt(e),n,o,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),Ml(t,e,n,c))};function $r(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&Cl(e)&&pt(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 Cl(e)&&jt(s)?!1:e in t}function xr(t,e){const s=t._def.props;if(!s)return!1;const n=Vt(e);return Array.isArray(s)?s.some(l=>Vt(l)===n):Object.keys(s).some(l=>Vt(l)===n)}const El=t=>{const e=t.props["onUpdate:modelValue"]||!1;return dt(e)?s=>Ss(e,s):e};function wr(t){t.target.composing=!0}function Fl(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const ks=Symbol("_assign"),Ms=Symbol("_initialValue");function pn(t,e,s){return e&&(t=t.trim()),s&&(t=Dn(t)),t}const Ol={created(t,{modifiers:{lazy:e,trim:s,number:n}},l){t.parentNode&&(t.type==="text"?t[Ms]=t.defaultValue.replace(/[\r\n]/g,""):t.type==="textarea"&&(t[Ms]=t.defaultValue.replace(/\r\n?/g,`
  18. `))),t[ks]=El(l);const o=n||l.props&&l.props.type==="number";Ve(t,e?"change":"input",c=>{c.target.composing||t[ks](pn(t.value,s,o))}),(s||o)&&Ve(t,"change",()=>{t.value=pn(t.value,s,o)}),e||(Ve(t,"compositionstart",wr),Ve(t,"compositionend",Fl),Ve(t,"change",Fl))},mounted(t,{value:e,modifiers:{trim:s,number:n}}){const l=e??"",o=t[Ms];delete t[Ms],o!==void 0&&(t.type==="text"||t.type==="textarea")&&t.value!==o?t[ks](pn(t.value,s,n)):t.value=l},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:l,number:o}},c){if(t[ks]=El(c),t.composing)return;const i=(o||t.type==="number")&&!/^0\d/.test(t.value)?Dn(t.value):t.value,u=e??"";if(i===u)return;const _=t.getRootNode();(_ instanceof Document||_ instanceof ShadowRoot)&&_.activeElement===t&&t.type!=="range"&&(n&&e===s||l&&t.value.trim()===u)||(t.value=u)}},kr=["ctrl","shift","alt","meta"],Mr={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>kr.some(s=>t[`${s}Key`]&&!e.includes(s))},Sr=(t,e)=>{if(!t)return t;const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=((l,...o)=>{for(let c=0;c<e.length;c++){const i=Mr[e[c]];if(i&&i(l,e))return}return t(l,...o)}))},Tr={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Cr=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=(l=>{if(!("key"in l))return;const o=je(l.key);if(e.some(c=>c===o||Tr[c]===o))return t(l)}))},Er=Lt({patchProp:yr},nr);let Al;function Fr(){return Al||(Al=Di(Er))}const Or=((...t)=>{const e=Fr().createApp(...t),{mount:s}=e;return e.mount=n=>{const l=jr(n);if(!l)return;const o=e._component;!pt(o)&&!o.render&&!o.template&&(o.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const c=s(l,!1,Ar(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),c},e});function Ar(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function jr(t){return jt(t)?document.querySelector(t):t}const zo={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 qr(t,e){const s=zo[t],n=performance.now();try{const l=await fetch(s,{headers:{Accept:"application/json",...e?.body?{"Content-Type":"application/json"}:{}},...e}),o=await l.text();let c=o;try{c=JSON.parse(o)}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 fn=["facts","maintSurvey","ontList","askStatus","channels","dqFindings","algoHealth","algoEndpoints","algoMatrix","algoReliability","algoPurity"],Dr={class:"card"},Pr={class:"hint"},Ir=["disabled"],Lr={class:"hint"},Hr=Wt({__name:"ContractSmoke",setup(t){const e=gt([]),s=gt(!1),n=gt(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 o(){s.value=!0,e.value=[],n.value=0;for(const c of fn){const i=await qr(c);e.value.push({name:c,path:i.path,ok:i.ok,status:i.status,ms:i.ms,keys:l(i.data),error:i.error}),n.value+=1}s.value=!1}return We(o),(c,i)=>(k(),T("section",Dr,[i[3]||(i[3]=r("h2",null,[ut("契约自检 "),r("small",null,"(后端结构与算法服务可达性;对拍基准见 docs/接口契约_前后端_v0.1.md)")],-1)),r("p",Pr,[ut(" 进度 "+p(n.value)+"/"+p(d(fn).length)+' · 只判"通不通",不比数据值(值随数据变,锚点在 Python 侧的门禁里) ',1),r("button",{class:"re",disabled:s.value,onClick:o},"重跑",8,Ir)]),r("table",null,[i[0]||(i[0]=r("thead",null,[r("tr",null,[r("th",null,"接口"),r("th",null,"路径"),r("th",null,"状态"),r("th",null,"耗时"),r("th",null,"顶层键 / 形状")])],-1)),r("tbody",null,[(k(!0),T(it,null,bt(e.value,u=>(k(),T("tr",{key:u.name,class:Qt({bad:!u.ok})},[r("td",null,p(u.name),1),r("td",null,[r("code",null,p(u.path),1)]),r("td",null,p(u.status),1),r("td",null,p(u.ms)+" ms",1),r("td",null,p(u.error||u.keys),1)],2))),128))])]),r("p",Lr,[ut(" 契约登记接口合计 "+p(Object.keys(d(zo)).length)+" 条(本页抽样 "+p(d(fn).length)+" 条); 全量 42 条由 ",1),i[1]||(i[1]=r("code",null,"python scripts/http_contract_audit.py",-1)),i[2]||(i[2]=ut(" 在线复核。 ",-1))])]))}}),Rr={"app.data_missing":"暂无数据:产物尚未生成或已被清除。请到「系统维护」页执行「数据重算」(或在 /ops 控制台点「执行重算」),完成后本页会自动刷新。","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.portal_cms":"振动 CMS","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 a(t,e){let s=Rr[t]??t;if(e)for(const[n,l]of Object.entries(e))s=s.split(`{${n}}`).join(String(l));return s}const Nr=["overview","energy","component","vibration","generation","fault","decision","assistant","report","system","documents"],En=["overview","energy","component","fault","vibration","generation","decision","assistant","system","report","documents"],Br={class:"eyebrow"},Wr={key:0,class:"panel"},Kr={class:"small",style:{color:"var(--critical)"}},Ur={key:1,class:"panel"},Vr={class:"small muted"},zr={class:"panel mb"},Gr={class:"small muted"},Yr={class:"panel mb"},Jr={class:"tblwrap"},Xr={style:{"margin-top":"4px"}},Zr={style:{width:"60%"}},Qr={style:{width:"16%"}},tc={style:{width:"24%"}},ec={class:"small"},sc={class:"small num"},nc={class:"small"},lc=["href","download"],oc=Wt({__name:"Documents",setup(t){const e=gt(null),s=gt(""),n=l=>l>=1048576?(l/1048576).toFixed(1)+" MB":Math.max(1,Math.round(l/1024))+" KB";return We(async()=>{try{const o=await(await fetch("/api/delivery_docs")).json();o&&o.error?s.value=String(o.error):e.value=o&&o.docs||[]}catch(l){s.value=String(l&&l.message||l)}}),(l,o)=>(k(),T("section",null,[r("div",Br,p(d(a)("doc.eyebrow")),1),s.value?(k(),T("div",Wr,[r("p",Kr,p(s.value),1)])):e.value?(k(),T(it,{key:2},[r("div",zr,[r("h3",null,p(d(a)("doc.head",{n:e.value.length})),1),r("p",Gr,p(d(a)("doc.note")),1)]),r("div",Yr,[r("div",Jr,[r("table",Xr,[r("tr",null,[r("th",Zr,p(d(a)("doc.name")),1),r("th",Qr,p(d(a)("doc.size")),1),r("th",tc,p(d(a)("doc.get")),1)]),(k(!0),T(it,null,bt(e.value,c=>(k(),T("tr",{key:c.name},[r("td",ec,p(c.name),1),r("td",sc,p(n(c.size||0)),1),r("td",nc,[r("a",{href:c.url,download:c.name},p(d(a)("doc.download")),9,lc)])]))),128))])])])],64)):(k(),T("div",Ur,[r("p",Vr,p(d(a)("doc.loading")),1)]))]))}}),ac={class:"portal-full"},ic={key:0,class:"portal-loading"},hn="/web/portal/",rc=Wt({__name:"PortalView",setup(t){const e=gt(null),s=gt("loading"),n=gt("");async function l(i){const u=await fetch(i);if(!u.ok)throw new Error(i+" "+u.status);return await u.text()}We(async()=>{try{let i=await l(hn+"shell.html");const u=i.match(/<title[^>]*>([^<]*)<\/title>/i);u&&u[1].trim()&&(document.title=u[1].trim());const _=Array.from(i.matchAll(/<!--@TEMPLATE:([^>]+?)-->/g)).map($=>$[1]);_.forEach($=>{i=i.replace("<!--@TEMPLATE:"+$+"-->",'<template id="'+$+'"></template>')});try{const $=await l(hn+"governance_sources.json");i=i.replace("<!--@GOVERNANCE_SOURCES-->",$.replace(/</g,"\\u003c"))}catch{}const f=[[/<a([^>]*?)href="#cms"/g,'<a$1target="_top" href="/detail/v2#tab=vibration"'],[/<a([^>]*?)href="#documents"/g,'<a$1target="_top" href="/detail/v2#tab=documents"'],[/<a([^>]*?)href="#recalc"/g,'<a$1target="_top" href="/detail/v2#tab=recalc"'],[/<a([^>]*?)href="(?:https?:\/\/[^"]*)?\/(?:detail\/v2|v2)[^"]*"/g,'<a$1target="_top" href="/detail/v2#workbench"']];for(const[$,j]of f)i=i.replace($,j);const m=["cms","documents","recalc"];for(const $ of m)i=i.replace(new RegExp('<a[^>]*data-nav="'+$+'"[^>]*>[^<]*</a>',"g"),"");n.value=a("pv.assembled",{n:_.length});const v=new Blob([i],{type:"text/html;charset=utf-8"});e.value&&(e.value.src=URL.createObjectURL(v)),c(),o(_),s.value="ready"}catch(i){n.value=String(i&&i.message||i),s.value="error"}});async function o(i){let _=0,f=0;const m=async()=>{for(;_<i.length;){const v=i[_++];try{const $=await fetch(hn+"templates/"+encodeURIComponent(v)+".html",{cache:"force-cache"}),j=$.ok?await $.text():"",R=e.value&&e.value.contentDocument,X=R&&R.getElementById(v);if(R&&X){const lt=R.createElement("template");lt.id=v,lt.innerHTML=j,X.replaceWith(lt)}}catch{}f++,n.value=a("pv.assembled",{n:f})}};await Promise.all(Array.from({length:6},()=>m()))}function c(){const i=[['nav a[data-nav="cms"]',"#tab=vibration"],['nav a[data-nav="documents"]',"#tab=documents"],['nav a[data-nav="recalc"]',"#tab=recalc"]],u=()=>{const f=e.value&&e.value.contentDocument;if(!f)return;const m=j=>R=>{R.preventDefault(),R.stopImmediatePropagation();const X=window.top;try{X.location.href=j}catch{location.href=j}};for(const[j,R]of i){const X=f.querySelector(j);X&&X.addEventListener("click",m("/detail/v2"+R),!0)}const v=f.querySelector("nav a:not([data-nav])")||f.querySelector('a[href*="18033"]');v&&v.addEventListener("click",m("/detail/v2#workbench"),!0);const $=f.querySelector("a.portal-wb");$&&$.addEventListener("click",m("/detail/v2#workbench"),!0)},_=e.value;_&&(_.addEventListener("load",u),u())}return(i,u)=>(k(),T("div",ac,[s.value!=="ready"?(k(),T("div",ic,p(s.value==="loading"?d(a)("pv.loading"):n.value),1)):mt("",!0),u[0]||(u[0]=r("a",{class:"portal-wb",href:"#workbench",title:"切换到 Vue 工作台"},"工作台",-1)),r("iframe",{ref_key:"frame",ref:e,class:"portal-frame",title:"观澜门户"},null,512)]))}}),Go=(t,e)=>{const s=t.__vccOpts||t;for(const[n,l]of e)s[n]=l;return s},Yo=Go(rc,[["__scopeId","data-v-77ae2ea1"]]),Gn=["叶片与叶根","变桨","偏航","齿轮箱","发电机","主轴承","变流器","塔架与基础","主控与传感网"],Hs={叶片与叶根:"blade",变桨:"pitch",偏航:"yaw",齿轮箱:"gearbox",发电机:"generator",主轴承:"main_bearing",变流器:"converter",塔架与基础:"tower",主控与传感网:"control",主轴:"main_bearing",其他:"other"},Jo=(()=>{const t={};for(const e of Gn)t[Hs[e]]=e;for(const[e,s]of Object.entries(Hs))s in t||(t[s]=e);return t})(),Rs=t=>Hs[String(t)]||String(t),jl=t=>Jo[String(t)]||String(t),xe=t=>{const e=Hs[String(t)]||String(t);return Jo[e]?a("sys."+e):String(t??"")},ms=t=>xe(t),cc={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},uc={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"},Ns=t=>cc[String(t)]||uc[String(t)],ql={证据:"evidence",机制:"mechanism",判级:"rating",排期:"schedule",动作:"action",验收:"acceptance"},Fn=t=>"st."+(t==="ex"?"excellent":t),At=t=>String(t).replace("WTG","").replace(/^0/,"")+"#",St=(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})},Dl=t=>{const e=Ns(t);return e?a(Fn(e)):String(t??"")},dc=["振动","温度","润滑","油液","报警","工单"];function Pl(t){const e=dc.map(n=>Ns((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 Il={bad:"critical",warn:"warning",unk:"unknown",ok:"good",ex:"excellent"},Ae=t=>String(t??""),pc={key:0},fc={class:"small"},hc={href:"#tab=component","data-back":"1"},mc={class:"panel mb"},_c={style:{display:"flex",height:"12px","border-radius":"4px",overflow:"hidden",margin:"8px 0 4px"}},vc={class:"small muted"},gc={class:"tblwrap"},bc={style:{width:"74px"}},yc={class:"r",style:{width:"96px"}},$c=["href"],xc={class:"small"},wc={class:"r"},kc=["href"],Mc={key:0,class:"panel mb"},Sc={style:{cursor:"pointer","font-weight":"600"}},Tc={class:"tblwrap"},Cc={style:{"margin-top":"10px"}},Ec={style:{width:"74px"}},Fc={class:"small"},Oc={key:1,class:"panel"},Ac={class:"small"},jc={key:0},qc={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},Dc={class:"eyebrow"},Pc={class:"panel mb"},Ic={style:{display:"grid","grid-template-columns":"repeat(auto-fit,minmax(170px,1fr))",gap:"10px"}},Lc=["data-sys"],Hc={class:"t"},Rc={class:"bar"},Nc=["innerHTML"],Bc={class:"small muted",style:{"margin-top":"8px"}},Wc={key:1,class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},Kc={class:"small"},Uc={class:"eyebrow"},Vc={class:"panel mb"},zc={class:"small muted",style:{"font-weight":"400"}},Gc={class:"small muted",style:{margin:"-2px 0 8px"}},Yc={class:"tblwrap"},Jc={class:"r"},Xc={class:"r"},Zc={class:"r"},Qc={class:"r"},tu={key:0,class:"badge"},eu={class:"num small"},su={class:"r"},nu={class:"r"},lu={class:"r"},ou={class:"r"},au={class:"small"},iu={class:"small muted"},ru={key:3,class:"panel mb"},cu={class:"small"},uu={href:"#tab=vibration"},du={class:"eyebrow"},pu={class:"panel mb"},fu={class:"tblwrap"},hu={class:"r"},mu=["href"],_u={class:"r"},vu=["innerHTML"],gu={class:"small"},bu=Wt({__name:"Component",props:{d:{},sys:{}},setup(t){const e=t,s=z(()=>e.d?.sysdist||{}),n=z(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),l=z(()=>e.sys?jl(e.sys):null),o=z(()=>Gn.filter(f=>s.value[f]).map(f=>{const m=s.value[f],v=m.报警||0,$=m.不可判||0,j=Object.values(m).reduce((X,lt)=>X+lt,0)||1,R=v>=8?"var(--critical)":v>=3?"var(--warning)":v?"var(--accent)":"var(--good)";return{segs:[["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]].filter(([X])=>m[X]).map(([X,lt])=>({col:lt,w:(m[X]/j*100).toFixed(1)})),line:a("cmp.alarm_n",{a:`<b style="color:${R}">${v}</b>`})+($?a("cmp.unk_n",{u:$}):"")+a("cmp.fleet_n",{n:j}),s:f,dist:m,a:v,u:$,N:j,col:R}}));function c(f){return(f.syss||[]).map(m=>`<a href="/problem/${f.t}/${encodeURIComponent(jl(m)||m)}">${xe(m)}</a>`).join(" · ")}const i=z(()=>{const m=(((e.d?.control||{}).energy||{}).items||[]).filter(v=>v.k==="停机").map(v=>v.h)[0];return m??null}),u=z(()=>{const f=n.value?.表||[],m=Math.max(1,...f.map(v=>v.停机时长h));return f.map(v=>({r:v,maxH:m,sev:v.部件==="无记录停机"?"var(--unknown)":v.外部?"var(--accent)":v.占停机>=.06?"var(--critical)":v.占停机>=.03?"var(--warning)":"var(--good)"}))}),_=z(()=>{const f=l.value;if(!f)return null;const m=(e.d?.systems||{})[f]||[],v=s.value[f]||{},$=(e.d?.systems||{})[f+"·良好"]||[],j=X=>v[X]||0,R=Object.values(v).reduce((X,lt)=>X+lt,0)||1;return{s:f,N:R,gd:$,cnt:j,al:m.filter(X=>X.st==="报警"),un:m.filter(X=>X.st==="不可判"),dist:v}});return(f,m)=>_.value?(k(),T("section",pc,[r("p",fc,[r("a",hc,p(d(a)("ui.back_to",{tab:d(a)("tab.component")})),1)]),r("div",mc,[r("h3",null,p(d(a)("cmp.detail_head",{sys:d(xe)(_.value.s),n:_.value.N})),1),r("div",_c,[(k(),T(it,null,bt([["报警","critical"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],([v,$])=>r("i",{key:v,style:Dt(`width:${(_.value.cnt(v)/_.value.N*100).toFixed(1)}%;background:var(--${$})`)},null,4)),64))]),r("div",vc,p(d(a)("cmp.counts",{a:_.value.cnt("报警"),u:_.value.cnt("不可判"),g:_.value.cnt("良好"),e:_.value.cnt("优秀")})),1)]),(k(!0),T(it,null,bt([_.value.al,_.value.un],(v,$)=>wn((k(),T("div",{key:$,class:"panel mb"},[r("h3",null,p($===0?d(a)("cmp.alarm_units"):d(a)("cmp.unk_units"))+" "+p(d(a)("cmp.n_units",{n:v.length})),1),r("div",gc,[r("table",null,[r("tr",null,[r("th",bc,p(d(a)("ui.unit")),1),r("th",null,p(d(a)("cmp.why")),1),r("th",yc,p(d(a)("cmp.detail")),1)]),(k(!0),T(it,null,bt(v,j=>(k(),T("tr",{key:j.t},[r("td",null,[r("a",{href:`/turbine/${j.t}`},[r("b",null,p(d(At)(j.t)),1)],8,$c)]),r("td",xc,p(j.why),1),r("td",wc,[r("a",{class:"small",href:`/problem/${j.t}/${encodeURIComponent(_.value.s)}`},p(d(a)("cmp.detail_link")),9,kc)])]))),128))])])])),[[ar,v.length]])),128)),_.value.gd.length?(k(),T("details",Mc,[r("summary",Sc,p(d(a)("cmp.good_units",{n:_.value.gd.length})),1),r("div",Tc,[r("table",Cc,[r("tr",null,[r("th",Ec,p(d(a)("ui.unit")),1),r("th",null,p(d(a)("cmp.why")),1)]),(k(!0),T(it,null,bt(_.value.gd,v=>(k(),T("tr",{key:v.t},[r("td",null,[r("b",null,p(d(At)(v.t)),1)]),r("td",Fc,p(v.why),1)]))),128))])])])):mt("",!0),!_.value.al.length&&!_.value.un.length&&!_.value.gd.length?(k(),T("div",Oc,[r("p",Ac,p(d(a)("cmp.none")),1)])):mt("",!0)])):(k(),T(it,{key:1},[t.d.sysmx_pending?(k(),T("section",jc,[r("div",qc,[r("b",null,p(d(a)("cmp.grading_pending")),1),ut(" "+p(d(a)("cmp.grading_pending_why",{span:t.d.sysmx_span||""})),1)])])):mt("",!0),r("section",null,[r("div",Dc,p(d(a)("cmp.by_system")),1),r("div",Pc,[r("div",Ic,[(k(!0),T(it,null,bt(o.value,v=>(k(),T("div",{key:v.s,class:"sysc",role:"button",tabindex:"0","data-sys":d(Rs)(v.s),style:Dt(`cursor:pointer;border-left:3px solid ${v.col}`)},[r("div",Hc,[r("b",null,p(d(xe)(v.s)),1)]),r("div",Rc,[(k(!0),T(it,null,bt(v.segs,$=>(k(),T("i",{key:$.col,style:Dt(`width:${$.w}%;background:var(--${$.col})`)},null,4))),128))]),r("div",{class:"small muted",innerHTML:v.line},null,8,Nc)],12,Lc))),128))]),r("p",Bc,p(d(a)("cmp.cards_note")),1)])]),t.d.rel&&t.d.rel.err?(k(),T("div",Wc,[r("p",Kc,p(d(a)("flt.block_err",{k:"rel",e:t.d.rel.err})),1)])):n.value?(k(),T(it,{key:2},[r("div",Uc,p(d(a)("cmp.rel_eyebrow",{win:n.value.窗})),1),r("div",Vc,[r("h3",null,[ut(p(d(a)("cmp.rel_head"))+" ",1),r("span",zc,p(d(a)("cmp.rel_meta",{t:n.value.总停机h,a:n.value.设备类停机h,b:n.value.外部类停机h})),1)]),r("p",Gc,p(d(a)("cmp.rel_note",{h:i.value==null?"":" "+d(St)(i.value)+"h"})),1),r("div",Yc,[r("table",null,[r("tr",null,[r("th",null,p(d(a)("cmp.rel_part")),1),r("th",null,p(d(a)("cmp.rel_h")),1),r("th",Jc,p(d(a)("cmp.rel_ev")),1),r("th",Xc,p(d(a)("cmp.rel_mtbo")),1),r("th",Zc,p(d(a)("cmp.rel_mdt")),1),r("th",Qc,p(d(a)("cmp.rel_units")),1),r("th",null,p(d(a)("cmp.rel_fm")),1)]),(k(!0),T(it,null,bt(u.value,v=>(k(),T("tr",{key:v.r.部件},[r("td",null,[r("b",null,p(d(ms)(v.r.部件)),1),m[0]||(m[0]=ut(" ",-1)),v.r.外部?(k(),T("span",tu,p(d(a)("cmp.external")),1)):mt("",!0)]),r("td",null,[r("i",{class:"bar",style:Dt(`width:${Math.round(v.r.停机时长h/v.maxH*72)}px;background:${v.sev}`)},null,4),r("span",eu,p(v.r.停机时长h)+"h · "+p((v.r.占停机*100).toFixed(1))+"%",1)]),r("td",su,p(v.r.事件数),1),r("td",nu,p(v.r.外部?"—":v.r.MTBF_h||"—"),1),r("td",lu,p(v.r.MDT_h),1),r("td",ou,p(v.r.影响台数),1),r("td",au,p(v.r.典型失效模式||"—"),1)]))),128))])]),r("p",iu,p(n.value.口径),1)])],64)):mt("",!0),t.d.fus&&!t.d.fus.err?(k(),T("div",ru,[r("p",cu,[ut(p(d(a)("cmp.fusion_moved"))+" ",1),r("a",uu,[r("b",null,p(d(a)("tab.vibration")),1)]),ut(" "+p(d(a)("cmp.fusion_n",{n:(t.d.fus.表||[]).length})),1)])])):mt("",!0),r("div",du,p(d(a)("cmp.cross_eyebrow")),1),r("div",pu,[r("h3",null,p(d(a)("cmp.watch_head",{n:(t.d.watch||[]).length})),1),r("div",fu,[r("table",null,[r("tr",null,[r("th",null,p(d(a)("ui.unit")),1),r("th",hu,p(d(a)("cmp.n_sys")),1),r("th",null,p(d(a)("cmp.hit_sys")),1),r("th",null,p(d(a)("cmp.basis")),1)]),(k(!0),T(it,null,bt(t.d.watch||[],v=>(k(),T("tr",{key:v.t},[r("td",null,[r("a",{href:`/turbine/${v.t}`},[r("b",null,p(d(At)(v.t)),1)],8,mu)]),r("td",_u,p(v.n),1),r("td",{class:"small",innerHTML:c(v)},null,8,vu),r("td",gu,p(v.why),1)]))),128))])])])],64))}}),yu=["innerHTML"],Yt=Wt({__name:"LegacyChart",props:{html:{}},setup(t){return(e,s)=>(k(),T("div",{class:"legacy-chart",innerHTML:t.html},null,8,yu))}}),$u=typeof window<"u"?window:globalThis;$u.__charts=function(t){const{t:e,fmt:s,esc:n,dv:l,EN:o}=t,c=/[㐀-鿿]/,i=E=>o&&c.test(String(E??"")),u=E=>(E=t.displayText?t.displayText(E):E==null?"":String(E),i(E)&&t.verb&&t.verb(),E),_=E=>{const J=u(E);return`<title${i(J)?' class="verbatim"':""}>${n(J)}</title>`},f=(E,J,Z)=>`<svg class="dt" viewBox="0 0 ${E} ${J}" style="width:${E}px;max-width:100%;height:auto" role="img">${Z}</svg>`,m=(E,J,Z,A={})=>`<text x="${(+E).toFixed(1)}" y="${(+J).toFixed(1)}" font-size="${A.fs||9}" fill="${A.fill||"var(--muted)"}"${A.anchor?` text-anchor="${A.anchor}"`:""}${A.op?` opacity="${A.op}"`:""}${A.w?` font-weight="${A.w}"`:""}${A.tr?` transform="${A.tr}"`:""}${A.cls?` class="${A.cls}"`:""}>${Z}</text>`,v=(E,J,Z,A={})=>{const q=u(Z);return m(E,J,n(q),i(q)?Object.assign({},A,{cls:"verbatim"}):A)},$={"限电·绑定":"loss.curtail_bound","限电命令·未绑定":"loss.curtail_unbound","停机(调度令)":"loss.dispatch",停机:"loss.stop",正常发电:"loss.normal",低风待机:"loss.lowwind"},j=E=>$[E]?e($[E]):u(E);function R(E){const J=(E||[]).filter(w=>w&&w.n>0&&w.med>0);if(J.length<3)return`<p class="small muted">${e("ch.quad.few")}</p>`;const Z=720,A=330,q=58,O=16,C=44,N=16,G=w=>Math.log10(w),W=J.map(w=>G(w.n)),Y=J.map(w=>G(w.med)),tt=Math.min(...W)-.15,P=Math.max(...W)+.15,D=Math.min(...Y)-.15,V=Math.max(...Y)+.15,Q=w=>q+(G(w)-tt)/(P-tt)*(Z-q-O),nt=w=>A-C-(G(w)-D)/(V-D)*(A-N-C),_t=J.map(w=>w.n).sort((w,x)=>w-x),ht=_t[Math.floor(_t.length/2)],at=Q(ht),st=nt(600),h=Math.max(...J.map(w=>w.nt)),g=J.map(w=>{const x=3+Math.sqrt(w.nt/h)*7,et=w.n>=ht&&w.med>=600,U=et?"var(--critical)":"var(--accent)";return`<circle cx="${Q(w.n).toFixed(1)}" cy="${nt(w.med).toFixed(1)}" r="${x.toFixed(1)}" fill="${U}" fill-opacity=".5" stroke="${U}" stroke-width="1">${_(`${w.code} ${u(w.k)}
  19. `+e("ch.quad.tip",{n:w.n,med:w.med,h:w.h,nt:w.nt}))}</circle>`}).join(""),b=J.filter(w=>w.n>=ht||w.med>=600).slice(0,8).map(w=>m(Q(w.n)+9,nt(w.med)+3,n(w.code))).join(""),y=(w,x,et,U)=>m(w,x,et,{fs:10,op:.85})+m(w,x+12,U,{fs:8.5,op:.6}),M=w=>w>=3600?w/3600+"h":w>=60?w/60+"min":w+"s",F=[10,60,600,3600,36e3].filter(w=>G(w)>=D&&G(w)<=V).map(w=>`<line x1="${q}" y1="${nt(w).toFixed(1)}" x2="${Z-O}" y2="${nt(w).toFixed(1)}" stroke="var(--line)" stroke-opacity=".4"/>`+m(q-6,nt(w)+3,M(w),{anchor:"end"})).join(""),I=[1,10,100,1e3,1e4].filter(w=>G(w)>=tt&&G(w)<=P).map(w=>m(Q(w),A-C+14,w,{anchor:"middle"})).join(""),H=N+(A-C-N)/2;return f(Z,A,`${F}${I}
  20. <line x1="${at.toFixed(1)}" y1="${N}" x2="${at.toFixed(1)}" y2="${A-C}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".5"/>
  21. <line x1="${q}" y1="${st.toFixed(1)}" x2="${Z-O}" y2="${st.toFixed(1)}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".5"/>
  22. ${y(q+6,N+12,e("ch.quad.q1"),e("ch.quad.q1s"))}${y(Z-O-130,N+12,e("ch.quad.q2"),e("ch.quad.q2s"))}
  23. ${y(q+6,A-C-18,e("ch.quad.q3"),e("ch.quad.q3s"))}${y(Z-O-130,A-C-18,e("ch.quad.q4"),e("ch.quad.q4s"))}
  24. ${g}${b}
  25. ${m(q+(Z-O-q)/2,A-6,e("ch.quad.xlab"),{fs:9.5,anchor:"middle"})}
  26. ${m(14,H,e("ch.quad.ylab"),{fs:9.5,anchor:"middle",tr:`rotate(-90 14 ${H.toFixed(1)})`})}`)}function X(E){const J=E.months||[],Z=E.vals||[],A=E.cov||J.map(()=>1),q=E.per_day||[],O=720,C=250,N=48,G=14,W=52,Y=18,tt=J.length||1,P=Math.max(...q.filter(ht=>ht!=null),1),D=(O-N-G)/tt;let V="",Q="";J.forEach((ht,at)=>{const st=q[at],h=A[at]<.5;if(st==null)return;const g=st/P*(C-Y-W),b=N+at*D+D*.16,y=C-W-g,M=b+D*.34;V+=`<rect x="${b.toFixed(1)}" y="${y.toFixed(1)}" width="${(D*.68).toFixed(1)}" height="${g.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:ht,v:st,n:Z[at],cov:(A[at]*100).toFixed(0)})}</title></rect>`,Q+=m(M,y-4,st,{anchor:"middle"})+m(M,C-W+13,e("ch.rate.month",{m:ht.slice(5)}),{anchor:"middle"})+m(M,C-W+25,e("ch.rate.n",{n:Z[at]}),{fs:8,op:.65,anchor:"middle"})+(h?m(M,C-W+37,e("ch.rate.days",{d:Math.round(A[at]*30)}),{fs:8,fill:"var(--warning)",anchor:"middle"}):"")});const nt=[0,.5,1].map(ht=>m(N-6,C-W-ht*(C-Y-W)+3,Math.round(P*ht),{anchor:"end"})).join(""),_t=Y+(C-W-Y)/2;return f(O,C,`<line x1="${N}" y1="${C-W}" x2="${O-G}" y2="${C-W}" stroke="var(--line)"/><line x1="${N}" y1="${Y}" x2="${N}" y2="${C-W}" stroke="var(--line)"/>
  27. ${V}${Q}${nt}${m(14,_t,e("ch.rate.ylab"),{fs:9.5,anchor:"middle",tr:`rotate(-90 14 ${_t.toFixed(1)})`})}`)}function lt(E){if(!E||!E.theo)return"";const J=720,Z=300,A=8,q=8,O=30,C=64,N=(E.items||[]).filter(nt=>nt.loss>0),G=N.length+2,W=(J-A-q)/G,Y=(Z-O-C)/E.theo;let tt=E.theo,P="",D=0;const V=(nt,_t,ht,at,st)=>`<rect x="${(A+nt*W+W*.14).toFixed(1)}" y="${_t.toFixed(1)}" width="${(W*.72).toFixed(1)}" height="${Math.max(ht,1.2).toFixed(1)}" rx="2" fill="${at}" fill-opacity="${st}"/>`,Q=(nt,_t,ht,at,st)=>m(A+nt*W+W*.5,_t-6,at,{fs:10,fill:st||"var(--ink)",anchor:"middle",w:600})+m(A+nt*W+W*.5,Z-C+14,ht,{fs:8.5,anchor:"middle"});return P+=V(0,Z-C-E.theo*Y,E.theo*Y,"var(--accent)",.45)+Q(0,Z-C-E.theo*Y,e("ch.wf.theo"),s(E.theo)),N.forEach(nt=>{D++;const _t=Z-C-tt*Y,ht=nt.loss*Y;tt-=nt.loss;const at=j(nt.k);P+=V(D,_t,ht,"var(--critical)",.55)+`<line x1="${(A+(D-1)*W+W*.86).toFixed(1)}" y1="${_t.toFixed(1)}" x2="${(A+D*W+W*.14).toFixed(1)}" y2="${_t.toFixed(1)}" stroke="var(--muted)" stroke-dasharray="2 2" stroke-opacity=".6"/>`+Q(D,_t,n(at.length>12?at.slice(0,11)+"…":at),"−"+s(nt.loss),"var(--critical)")+_(e("ch.wf.tip",{nm:at,loss:s(nt.loss),pct:(nt.loss/E.theo*100).toFixed(1),h:s(nt.h)}))}),P+=V(G-1,Z-C-E.act*Y,E.act*Y,"var(--good)",.6)+Q(G-1,Z-C-E.act*Y,e("ch.wf.act"),s(E.act),"var(--good)"),f(J,Z,`<line x1="${A}" y1="${Z-C}" x2="${J-q}" y2="${Z-C}" stroke="var(--line)"/>${m(A,14,"MWh",{fs:9.5})}${P}`)}function L(E,J){const Z=(E||[]).filter(x=>x.MTBF_h&&x.MDT_h);if(Z.length<3)return`<p class="small muted">${e("ch.ram.few")}</p>`;const A=720,q=340,O=56,C=112,N=48,G=16,W=x=>Math.log10(x),Y=Z.map(x=>W(x.MTBF_h)),tt=Z.map(x=>x.MDT_h),P=Math.min(...Y)-.08,D=Math.max(...Y)+.08,V=0,Q=Math.max(...tt)*1.12,nt=x=>O+(W(x)-P)/(D-P)*(A-O-C),_t=x=>q-N-(x-V)/(Q-V)*(q-G-N),ht=x=>{const et=x.slice().sort((U,ot)=>U-ot);return et[Math.floor(et.length/2)]},at=ht(Z.map(x=>x.MTBF_h)),st=ht(tt),h=nt(at),g=_t(st),b=Math.max(...Z.map(x=>x.停机时长h)),y=x=>u(J?J(x.部件):x.部件),M=Z.map(x=>{const et=4+Math.sqrt(x.停机时长h/b)*13,U=x.外部,ot=x.MTBF_h<at&&x.MDT_h>=st,rt=U?"var(--muted)":ot?"var(--critical)":"var(--accent)";return`<circle cx="${nt(x.MTBF_h).toFixed(1)}" cy="${_t(x.MDT_h).toFixed(1)}" r="${et.toFixed(1)}" fill="${rt}" fill-opacity="${U?.3:.42}" stroke="${rt}" stroke-width="1.2" stroke-dasharray="${U?"3 2":""}">${_(e("ch.ram.tip",{p:y(x),mtbf:x.MTBF_h,mdt:x.MDT_h,h:x.停机时长h,n:x.事件数,u:x.影响台数})+(U?e("ch.ram.tip_ext"):""))}</circle>`+v(nt(x.MTBF_h)+et+4,_t(x.MDT_h)+3.5,u(y(x)).slice(0,o?14:7),{fs:9.5,fill:U?"var(--muted)":"currentColor"})}).join(""),F=(x,et,U,ot,rt)=>m(x,et,ot,{fs:10,anchor:U,op:.9})+m(x,et+12,rt,{fs:8.5,anchor:U,op:.62}),I=[1e3,2e3,5e3,1e4,2e4].filter(x=>W(x)>=P&&W(x)<=D).map(x=>`<line x1="${nt(x).toFixed(1)}" y1="${G}" x2="${nt(x).toFixed(1)}" y2="${q-N}" stroke="var(--line)" stroke-opacity=".3"/>`+m(nt(x),q-N+14,x>=1e3?x/1e3+"k":x,{anchor:"middle"})).join(""),H=[0,5,10,15,20].filter(x=>x<=Q).map(x=>m(O-6,_t(x)+3,x,{anchor:"end"})).join(""),w=G+(q-N-G)/2;return f(A,q,`${I}${H}<line x1="${O}" y1="${q-N}" x2="${A-C}" y2="${q-N}" stroke="var(--line)"/><line x1="${O}" y1="${G}" x2="${O}" y2="${q-N}" stroke="var(--line)"/>
  28. <line x1="${h.toFixed(1)}" y1="${G}" x2="${h.toFixed(1)}" y2="${q-N}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".45"/>
  29. <line x1="${O}" y1="${g.toFixed(1)}" x2="${A-C}" y2="${g.toFixed(1)}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".45"/>
  30. ${F(O+6,G+12,"start",e("ch.ram.q1"),e("ch.ram.q1s"))}${F(A-C-6,G+12,"end",e("ch.ram.q2"),e("ch.ram.q2s"))}
  31. ${F(O+6,q-N-16,"start",e("ch.ram.q3"),e("ch.ram.q3s"))}${F(A-C-6,q-N-16,"end",e("ch.ram.q4"),e("ch.ram.q4s"))}
  32. ${M}${m(O+(A-C-O)/2,q-8,e("ch.ram.xlab"),{fs:9.5,anchor:"middle"})}
  33. ${m(13,w,e("ch.ram.ylab"),{fs:9.5,anchor:"middle",tr:`rotate(-90 13 ${w.toFixed(1)})`})}
  34. <circle cx="${A-C+16}" cy="${G+40}" r="5" fill="var(--accent)" fill-opacity=".42" stroke="var(--accent)"/>${m(A-C+26,G+44,e("ch.ram.equip"))}
  35. <circle cx="${A-C+16}" cy="${G+58}" r="5" fill="var(--muted)" fill-opacity=".3" stroke="var(--muted)" stroke-dasharray="3 2"/>${m(A-C+26,G+62,e("ch.ram.ext"))}
  36. ${m(A-C+6,G+84,e("ch.ram.area"),{fs:8.5})}${m(A-C+6,G+98,e("ch.ram.median"),{fs:8.5})}`)}function K(E,J){const Z=(E||[]).find(P=>P.部件==="无记录停机"),A=Z?Z.停机时长h:0,q=(E||[]).filter(P=>P.部件==="未归类").reduce((P,D)=>P+D.停机时长h,0),O=J-A-q,C=720,N=54,G=(P,D,V,Q)=>`<rect x="${P.toFixed(1)}" y="14" width="${Math.max(D,1).toFixed(1)}" height="22" rx="3" fill="${V}" fill-opacity="${Q}"/>`,W=O/J*C,Y=q/J*C,tt=A/J*C;return f(C,N,`${G(0,W,"var(--accent)",.55)}${G(W,Y,"var(--warning)",.5)}${G(W+Y,tt,"var(--critical)",.5)}
  37. ${m(4,10,e("ch.attrib.ok",{h:Math.round(O),p:(O/J*100).toFixed(0)}))}
  38. ${m(W+Y+tt-2,10,e("ch.attrib.none",{h:Math.round(A),p:(A/J*100).toFixed(0)}),{fill:"var(--critical)",anchor:"end"})}
  39. ${m(W+Y/2,50,e("ch.attrib.uncls",{h:Math.round(q)}),{fill:"var(--warning)",anchor:"middle"})}`)}function S(E,J,Z){const A=(E||[]).filter(y=>y&&y.v>0);if(!A.length)return`<p class="small muted">${e("ch.pareto.none")}</p>`;const q=520,O=236,C=46,N=40,G=40,W=14,Y=A.length,tt=A.reduce((y,M)=>y+M.v,0),P=Math.max(...A.map(y=>y.v)),D=(q-C-N)/Y,V=y=>{y=u(y);const M=String(y).match(/^([0-9]+)/);return M?M[1]:String(y).slice(0,4)};let Q=0,nt="",_t=[],ht="",at=null;A.forEach((y,M)=>{const F=y.v/P*(O-W-G),I=C+M*D+D*.14,H=O-G-F;nt+=`<rect x="${I.toFixed(1)}" y="${H.toFixed(1)}" width="${(D*.72).toFixed(1)}" height="${F.toFixed(1)}" rx="2" fill="var(--accent)" fill-opacity="${M<3?.85:.45}">${_(`${u(y.k)}: ${s(y.v)}${J}`)}</rect>`,Q+=y.v;const w=Q/tt;at===null&&w>=.8&&(at=M+1);const x=C+M*D+D/2,et=W+(1-w)*(O-W-G);_t.push(`${x.toFixed(1)},${et.toFixed(1)}`),ht+=`<circle cx="${x.toFixed(1)}" cy="${et.toFixed(1)}" r="2.4" fill="var(--warning)">${_(e("ch.pareto.cumtip",{k:u(y.k),p:(w*100).toFixed(0)}))}</circle>`});const st=W+.2*(O-W-G),h=A.map((y,M)=>v(C+M*D+D/2,O-G+13,V(y.k),{anchor:"middle"})).join(""),g=[0,.5,1].map(y=>m(C-5,O-G-y*(O-W-G)+3,s(Math.round(P*y)),{anchor:"end"})).join("")+[0,.5,1].map(y=>m(q-N+5,W+(1-y)*(O-W-G)+3,Math.round(y*100)+"%",{fill:"var(--warning)"})).join(""),b=A.slice(0,3).map(y=>`<b>${i(V(y.k))?`<span class="verbatim">${n(u(V(y.k)))}</span>`:n(V(y.k))}</b> ${l(u(y.k).replace(/^[0-9]+ */,"").slice(0,18))}`).join(" · ");return f(q,O,`<line x1="${C}" y1="${O-G}" x2="${q-N}" y2="${O-G}" stroke="var(--line)"/><line x1="${C}" y1="${W}" x2="${C}" y2="${O-G}" stroke="var(--line)"/>${nt}
  40. <line x1="${C}" y1="${st.toFixed(1)}" x2="${q-N}" y2="${st.toFixed(1)}" stroke="var(--warning)" stroke-dasharray="4 3" stroke-opacity=".7"/>
  41. ${m(q-N-3,st-4,e("ch.pareto.cum80"),{fill:"var(--warning)",anchor:"end"})}
  42. <polyline points="${_t.join(" ")}" fill="none" stroke="var(--warning)" stroke-width="1.5"/>${ht}${h}${g}
  43. ${m(C+(q-N-C)/2,O-3,e("ch.pareto.xlab"),{fs:8.5,anchor:"middle"})}`)+`<p class="small muted" style="margin-top:5px;line-height:1.6">${at?`<b>${e("ch.pareto.key",{k:at})}</b> (${e("ch.pareto.total",{n:Y,tot:s(Math.round(tt)),unit:J})})`:e("ch.pareto.total",{n:Y,tot:s(Math.round(tt)),unit:J})}<br>${e("ch.pareto.top3")}${b}${Z?"<br>"+Z:""}</p>`}function B(E){const J=P=>P.indexOf("限电")>=0||P.indexOf("调度")>=0?0:P==="停机"?1:2,Z=[e("ch.blame.n1"),e("ch.blame.n2"),e("ch.blame.n3")],A=[e("ch.blame.d1"),e("ch.blame.d2"),e("ch.blame.d3")],q=["var(--accent)","var(--critical)","var(--muted)"],O=[0,0,0];(E.items||[]).forEach(P=>{O[J(P.k)]+=P.loss});const C=O.reduce((P,D)=>P+D,0)||1,N=500,G=44;let W=0,Y="";O.forEach((P,D)=>{const V=P/C*N;Y+=`<rect x="${W.toFixed(1)}" y="12" width="${Math.max(V,1).toFixed(1)}" height="26" rx="3" fill="${q[D]}" fill-opacity=".55"><title>${Z[D]}: ${s(Math.round(P))} MWh</title></rect>`+(V>46?m(W+V/2,29,(P/C*100).toFixed(0)+"%",{fs:10.5,fill:"currentColor",anchor:"middle",w:600}):""),W+=V});const tt=O.map((P,D)=>`<div style="display:flex;align-items:baseline;gap:7px;margin-top:5px"><i style="flex:none;width:9px;height:9px;border-radius:2px;background:${q[D]};opacity:.55"></i><span style="font-weight:600">${Z[D]}</span><span class="num">${s(Math.round(P))} MWh</span><span class="small muted">${A[D]}</span></div>`).join("");return f(N,G,`${m(0,8,e("ch.blame.title",{tot:s(Math.round(C))}))}${Y}`)+tt}function ct(E){const J=E.months||E.x||[],Z=J.length;if(!Z)return"";const A=620,q=250,O=52,C=34,N=["var(--accent)","#D48A1E","#2E8B6A","#7C5295"],G=[];if((E.series||[]).forEach(st=>st.vals.forEach(h=>{h!=null&&h===h&&G.push(h)})),(E.thresholds||[]).forEach(st=>{st&&st.v!=null&&G.push(st.v)}),!G.length)return"";let W=E.zero===!1?Math.min(...G):Math.min(0,...G),Y=Math.max(...G);W===Y&&(W-=1,Y+=1);const tt=(Y-W)*.08;Y+=tt,E.zero===!1&&(W-=tt);const P=st=>O+st/Math.max(Z-1,1)*(A-O-12),D=st=>q-C-(st-W)/(Y-W)*(q-C-14),V=(st,h)=>{let g=[],b=[];return st.forEach((y,M)=>{y==null||y!==y?(b.length&&g.push(b),b=[]):b.push(`${P(M).toFixed(1)},${D(y).toFixed(1)}`)}),b.length&&g.push(b),g.map(y=>`<polyline points="${y.join(" ")}" fill="none" stroke="${h}" stroke-width="1.8"/>`).join("")};let Q=(E.series||[]).map((st,h)=>V(st.vals,N[h%4])).join("");const nt=Math.max(1,Math.ceil(Z/8));let _t="";for(let st=0;st<Z;st+=nt)_t+=m(P(st),q-10,String(J[st]).includes("-")?String(J[st]).slice(2,7):String(J[st]),{fs:10,anchor:"middle"});let ht="";for(let st=0;st<5;st++){const h=W+(Y-W)*st/4;ht+=m(O-6,D(h)+3,h.toFixed(Math.abs(Y)<10?1:0),{fs:10,anchor:"end"})+`<line x1="${O}" x2="${A-12}" y1="${D(h).toFixed(1)}" y2="${D(h).toFixed(1)}" stroke="var(--line)"/>`}(E.thresholds||[]).forEach(st=>{!st||st.v==null||(Q+=`<line x1="${O}" x2="${A-12}" y1="${D(st.v).toFixed(1)}" y2="${D(st.v).toFixed(1)}" stroke="var(--muted)" stroke-dasharray="5 4"/>`+(st.label?v(O+6,D(st.v)-4,st.label,{fs:10}):""))}),E.xlab&&(Q+=v((O+A)/2,q-1,E.xlab,{fs:10,anchor:"middle"}));const at='<div class="legend" style="margin-top:6px;flex-wrap:wrap">'+(E.series||[]).map((st,h)=>`<span><i style="background:${N[h%4]}"></i>${i(st.name)?`<span class="verbatim">${n(u(st.name))}</span>`:n(st.name)}</span>`).join("")+"</div>";return f(A,q,`${ht}${Q}${_t}`)+at}function Ct(E,J){const C=(N,G,W)=>{const Y=Object.entries(G.分组||{}).map(([at,st])=>({v:parseFloat(at),n:st,raw:at}));if(!Y.length)return"";const tt=Math.min(...Y.map(at=>at.v)),P=Math.max(...Y.map(at=>at.v)),D=(P-tt)*.22||1,V=tt-D,Q=P+D,nt=at=>54+(at-V)/(Q-V)*412,_t=Math.max(...Y.map(at=>at.n)),ht=G.中位;return m(48,N+3,W,{fs:9.5,anchor:"end"})+`<line x1="54" y1="${N}" x2="466" y2="${N}" stroke="var(--line)"/><line x1="${nt(ht).toFixed(1)}" y1="${N-24}" x2="${nt(ht).toFixed(1)}" y2="${N+18}" stroke="var(--muted)" stroke-dasharray="3 3" stroke-opacity=".55"/>`+m(nt(ht),N+28,e("ch.cap.median",{v:ht}),{fs:8.5,anchor:"middle"})+Y.map(at=>{const st=5+Math.sqrt(at.n/_t)*9;return`<circle cx="${nt(at.v).toFixed(1)}" cy="${N}" r="${st.toFixed(1)}" fill="var(--accent)" fill-opacity=".42" stroke="var(--accent)"/>`+m(nt(at.v),N-st-5,n(at.raw),{anchor:"middle",fill:"currentColor"})+m(nt(at.v),N+3.5,at.n,{anchor:"middle",fill:"var(--panel)",w:600})}).join("")};return f(500,158,`${C(44,E||{},e("ch.cap.p"))}${C(120,J||{},e("ch.cap.w"))}${m(466,12,e("ch.cap.legend"),{fs:8.5,anchor:"end"})}`)}function Ot(E,J){const Z=E.离群||[],A=E.全场同档差中位||0,q=500,O=34+Z.length*26,C=52,N=58,G=Math.max(A,...Z.map(tt=>tt.平均偏))*1.18||1,W=tt=>C+tt/G*(q-C-N),Y=Z.map((tt,P)=>{const D=30+P*26;return m(C-6,D+10,n(J(tt.t)),{fs:9.5,anchor:"end",fill:"currentColor"})+`<rect x="${C}" y="${D+1}" width="${(W(tt.平均偏)-C).toFixed(1)}" height="13" rx="2" fill="var(--warning)" fill-opacity=".62"/>`+m(W(tt.平均偏)+5,D+11,tt.平均偏+"°",{fill:"var(--warning)"})}).join("");return f(q,O,`<line x1="${W(A).toFixed(1)}" y1="18" x2="${W(A).toFixed(1)}" y2="${O-4}" stroke="var(--good)" stroke-dasharray="3 3"/>${m(W(A),12,e("ch.beta.median",{v:A}),{fs:8.5,fill:"var(--good)"})}<line x1="${C}" y1="18" x2="${C}" y2="${O-4}" stroke="var(--line)"/>${Y}`)}function Xt(E){const J=Object.entries(E||{}),Z=500,A=26+J.length*30,q=96,O=76,C=3.7,N=Math.max(C*1.35,...J.map(([,Y])=>Y.极差/Y.σ)),G=Y=>q+Y/N*(Z-q-O),W=J.map(([Y,tt],P)=>{const D=22+P*30,V=tt.极差/tt.σ,Q=V>C;return v(q-6,D+11,Y,{fs:9.5,anchor:"end",fill:"currentColor"})+`<rect x="${q}" y="${D+2}" width="${(G(V)-q).toFixed(1)}" height="12" rx="2" fill="${Q?"var(--warning)":"var(--accent)"}" fill-opacity=".55"/>`+m(G(V)+5,D+11,e("ch.ruler.row",{r:V.toFixed(1),s:tt.σ}))}).join("");return f(Z,A,`<line x1="${G(C).toFixed(1)}" y1="14" x2="${G(C).toFixed(1)}" y2="${A-4}" stroke="var(--good)" stroke-dasharray="3 3"/>${m(G(C),10,e("ch.ruler.norm"),{fs:8.5,fill:"var(--good)",anchor:"middle"})}${W}`)}function zt(E){const J=E.kind;if(J==="vib")return`<p class="small">${i(E.text||E.comp)?`<span class="verbatim">${n(u(E.text||E.comp))}</span>`:n(E.text||E.comp||"")}</p>`;if(J==="vibbar"){const b=E.rows||[];if(!b.length)return"";const y=I=>{const H=Math.abs(I);return H>=100?I.toFixed(0):H>=10?I.toFixed(1):H>=1?I.toFixed(2):H>=.01?I.toFixed(3):Number(I).toExponential(1)},M={};b.forEach(I=>{(M[I.指标]=M[I.指标]||[]).push(I)});let F=`<p class="small muted">${e("fig.vibbar_note")}</p>`;for(const[I,H]of Object.entries(M))F+=`<div class="tblwrap" style="margin-top:8px"><b class="small muted">${l(I)}</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>`+H.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 F}const Z=E.months||E.x||[],A=Z.length;if(!A)return"";const q=620,O=250,C=52,N=34,G=14,W=[];if(J==="band"?[E.self,E.med,E.q1,E.q3].forEach(b=>(b||[]).forEach(y=>{y!=null&&y===y&&W.push(y)})):J==="bars"?(W.push(0),(E.vals||[]).forEach(b=>{b!=null&&b===b&&W.push(b)})):J==="xy"?[E.self,E.med].forEach(b=>(b||[]).forEach(y=>{y!=null&&y===y&&W.push(y)})):(E.series||[]).forEach(b=>(b.vals||[]).forEach(y=>{y!=null&&y===y&&W.push(y)})),(E.thresholds||[]).forEach(b=>{b&&b.v!=null&&W.push(b.v)}),!W.length)return"";let Y=Math.min(...W),tt=Math.max(...W);Y===tt&&(Y-=1,tt+=1);const P=(tt-Y)*.08;Y-=P,tt+=P;const D=b=>C+b/Math.max(A-1,1)*(q-C-12),V=b=>O-N-(b-Y)/(tt-Y)*(O-N-G),Q=(b,y,M)=>{let F=[],I=[];return(b||[]).forEach((H,w)=>{H==null||H!==H?(I.length&&F.push(I),I=[]):I.push(`${D(w).toFixed(1)},${V(H).toFixed(1)}`)}),I.length&&F.push(I),F.map(H=>`<polyline points="${H.join(" ")}" fill="none" stroke="${y}" stroke-width="${M||1.8}"/>`).join("")};let nt="";if(J==="band"&&E.q1&&E.q3){const b=[],y=[];E.q3.forEach((M,F)=>{M!=null&&b.push(`${D(F).toFixed(1)},${V(M).toFixed(1)}`)});for(let M=E.q1.length-1;M>=0;M--)E.q1[M]!=null&&y.push(`${D(M).toFixed(1)},${V(E.q1[M]).toFixed(1)}`);b.length&&y.length&&(nt+=`<polygon points="${b.join(" ")} ${y.join(" ")}" fill="var(--unknown)" fill-opacity=".18"/>`)}if(J==="bars"){const b=Math.max(3,(q-C-20)/A*.6),y=V(Math.max(Y,0));nt+=(E.vals||[]).map((M,F)=>M==null||M!==M?"":`<rect x="${(D(F)-b/2).toFixed(1)}" y="${V(M).toFixed(1)}" width="${b.toFixed(1)}" height="${Math.max(y-V(M),.8).toFixed(1)}" rx="2" fill="var(--accent)" fill-opacity=".75"/>`).join("")}E.med&&(nt+=Q(E.med,"var(--muted)",1.7)),E.self&&(nt+=Q(E.self,"var(--critical)",2.1)+(E.self||[]).map((b,y)=>b==null||b!==b?"":`<circle cx="${D(y).toFixed(1)}" cy="${V(b).toFixed(1)}" r="2.4" fill="var(--critical)"/>`).join(""));const _t=["var(--accent)","#D48A1E","#2E8B6A","#7C5295"];(E.series||[]).forEach((b,y)=>{nt+=Q(b.vals,_t[y%4])}),(E.thresholds||[]).forEach(b=>{b==null||b.v==null||(nt+=`<line x1="${C}" x2="${q-12}" y1="${V(b.v).toFixed(1)}" y2="${V(b.v).toFixed(1)}" stroke="var(--muted)" stroke-dasharray="5 4"/>`+(b.label?v(C+6,V(b.v)-4,b.label,{fs:10}):""))});const ht=Math.max(1,Math.ceil(A/8));let at="";for(let b=0;b<A;b+=ht)at+=m(D(b),O-10,String(Z[b]).includes("-")?String(Z[b]).slice(2,7):String(Z[b]),{fs:10,anchor:"middle"});let st="";for(let b=0;b<5;b++){const y=Y+(tt-Y)*b/4;st+=m(C-6,V(y)+3,y.toFixed(Math.abs(tt)<10?1:0),{fs:10,anchor:"end"})+`<line x1="${C}" x2="${q-12}" y1="${V(y).toFixed(1)}" y2="${V(y).toFixed(1)}" stroke="var(--line)"/>`}const h=J==="band"?m(q-190,12,e("fig.this_unit"),{fill:"var(--critical)",fs:10})+m(q-110,12,e("fig.fleet_median"),{fs:10})+m(q-40,12,e("fig.quartile"),{fs:10}):(E.series||[]).length&&(E.series||[]).length<=2?E.series.map((b,y)=>m(q-12-(E.series.length-1-y)*118,12,"— "+n(u(b.name)),{fill:_t[y%4],fs:10,anchor:"end"})).join(""):"",g=(E.series||[]).length>2?'<div class="legend" style="margin-top:6px;flex-wrap:wrap">'+E.series.map((b,y)=>`<span><i style="background:${_t[y%4]}"></i>${i(b.name)?`<span class="verbatim">${n(u(b.name))}</span>`:n(b.name)}</span>`).join("")+"</div>":"";return f(q,O,`${st}${nt}${at}${h}`)+g}return{quadChart:R,rateChart:X,waterfall:lt,ramChart:L,attribBar:K,paretoChart:S,blameBar:B,lossName:j,multiline:ct,capAxis:Ct,betaBar:Ot,rulerBar:Xt,fig:zt}};const xu=[[/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,"主要异常位于"]],ft=t=>String(t??"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;"),Xo=t=>String(t??""),yt=t=>ft(t),wu={危险:"bad",报警:"warn",不可判:"unk",良好:"ok",优秀:"ex"},ku={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"},Yn=t=>wu[String(t)]||ku[String(t)],Zo={bad:"var(--critical)",warn:"var(--warning)",unk:"var(--unknown)",ok:"var(--good)",ex:"var(--excellent)"},Qo={优秀:"var(--excellent)",良好:"var(--good)",报警:"var(--warning)",危险:"var(--critical)",不可判:"var(--unknown)",监测不可用:"var(--unknown)",无监测:"var(--unknown)"},ta={bad:"var(--critical)",warn:"var(--warning)",note:"var(--muted)",ok:"var(--good)",unlisted:"var(--muted)",stale:"var(--muted)",meta:"var(--muted)"},Mu={定论:"confirmed","准定论·预警":"near","候选·新发":"candidate_new",候选:"candidate","候选·记基线":"candidate_baseline",参考:"reference",INSUFFICIENT:"insufficient",正常:"normal",撤回:"withdrawn"},Jn=t=>"st."+(t==="ex"?"excellent":t),Ce=t=>{const e=Yn(t);return e?a(Jn(e)):yt(t)},mn=t=>{const e=Mu[String(t)],s="tier."+e;return e?a(s):String(t)==="—"?"—":yt(t)},ea=(t,e,s)=>`<span class="duo" style="--c:${s}"><span class="st">${t}</span><span class="ev">${e}</span></span>`,Be=t=>{let e=String(t??"");for(const[s,n]of xu)e=e.replace(s,n);return e},_n=t=>Be(t),Su=(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),o=l-n||1,c=84,i=22,u=t.length;let _="",f=null;return t.forEach((m,v)=>{if(m==null)return;const $=v/(u-1)*c,j=i-2-(m-n)/o*(i-4);_+=(_?"L":"M")+$.toFixed(1)+" "+j.toFixed(1),f=[$,j]}),`<svg width="${c}" height="${i}" style="vertical-align:middle;margin-left:6px"><path d="${_}" fill="none" stroke="${e}" stroke-width="1.2" opacity=".75"/><circle cx="${f[0]}" cy="${f[1]}" r="2.4" fill="${e}"/></svg>`},Tu={齿轮箱:"#8A6D3B",发电机:"#4A6FA5",主轴承:"#2E7D6B",变桨叶片:"#4A6FA5",偏航:"#2E7D6B",测风:"#7C5295",其他:"#5A6470"},Cu=(t,e,s)=>{if(!e)return`<span class="small muted">${a("fus.no_alarm")}</span>`;const n=118,l=Math.max(6,Math.round(e/Math.max(s||e,1)*n));return`<div title="${ft(a("fus.fam_tip",{n:e,m:s||e}))}" style="display:flex;height:9px;border-radius:3px;overflow:hidden;width:${l}px">${(t||[]).map(o=>`<i title="${ft(xe(o.k))} ${o.n}" style="width:${(o.n/e*100).toFixed(1)}%;background:${Tu[o.k]||"#5A6470"}"></i>`).join("")}</div><div class="small muted" style="margin-top:3px">${(t||[]).slice(0,2).map(o=>xe(o.k)+" "+o.n).join(" · ")}</div>`};function Eu(t){const e=(t.列窗||{}).months||[];let s=`<div class="panel mb" style="border-left:3px solid var(--warning)"><b>${a("fus.rules_head")}</b><p class="small" style="margin-top:4px">${a("fus.rule1")}<br>${a("fus.rule2")}</p></div>`;s+=`<div class="panel mb"><h3>${a("fus.matrix_head")}</h3><p class="small muted">${a("fus.matrix_note1")}</p><p class="small">${a("fus.matrix_note2",{n:e.length,m0:e[0]||"?"})}</p>
  44. <div class="small muted" style="margin:6px 0 12px;line-height:2"><div><b>${a("fus.legend_state")}</b> ${["bad","warn","ok","ex","unk"].map(v=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${Zo[v]}"></i>${a(Jn(v))}</span>`).join("")}</div>
  45. <div><b>${a("fus.legend_tier")}</b> ${["定论","准定论·预警","候选·新发","候选","候选·记基线","参考","INSUFFICIENT"].map(v=>`<span style="display:inline-flex;align-items:center;gap:4px;margin-right:12px"><i style="width:10px;height:10px;border-radius:2px;background:${(t.色标||{})[v]||"#ccc"}"></i>${mn(v)}</span>`).join("")}</div><div>${a("fus.legend_note")}</div></div>`;const n=v=>{const $=String(v||""),j=$.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 j?j[0].startsWith("至")?a("win.through",{date:j[0].replace(/^至\s*/,"")}):j[0]:$.slice(0,14)},l=(v,$,j)=>`<th title="${ft($||"")}${j||""}"><div>${v}</div><div class="small muted" style="font-weight:400">${yt(n($))}${j||""}</div></th>`,o=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>${a("ui.unit")}</th>${l(a("fus.col.vib"),o.振动,a("fus.col.fixed"))}${l(a("fus.col.temp"),o.温度)}${l(a("fus.col.lub"),o.润滑,a("fus.col.display_only"))}${l(a("fus.col.oil"),o.油液)}${l(a("fus.col.alarm"),o.报警)}${l(a("fus.col.wo"),o.工单)}</tr>`;const c=t.矩阵||[],i=Math.max(1,...c.map(v=>(v.报警||{}).n||0)),u=Math.max(1,...c.map(v=>(v.工单||{}).n||0)),_=t.色标||{},f=v=>{if(v.ostate&&v.ostate!=="不可判")return Ce(v.ostate);const $=String(v.note||"");return/数据不足|不可判|nsufficient/.test($)?a("fus.short.nodata"):/未评估|ot assessed/.test($)?a("fus.short.uneval"):/无样|未取样|o sample/.test($)?a("fus.short.nosample"):/样龄|stale/.test($)?a("fus.short.stale"):{ok:a("fus.short.normal"),unlisted:a("fus.short.unlisted"),stale:a("fus.short.stale")}[v.level]||"—"},m=v=>{const $=v||{},j=Qo[$.ostate]||_[$.wlevel]||ta[$.level]||"var(--muted)",R=Be($.note),X=["bad","warn","note"].includes($.level),lt=ft(R)+a("fus.tip_state",{s:Ce($.ostate||"?")});if(!X)return`<td class="small" title="${lt}" style="border-left:3px solid ${j};color:var(--muted)">${f($)}</td>`;const L=R.split(/[::]/),K=(L.length>1?L.slice(1).join(":"):R).trim(),S=/^[ ]*(评估报告|两口径差异|⚠|ssessment)/.test(K)||K.length>16?"":K,B=S?yt(S):$.ostate&&$.ostate!=="不可判"?"":f($),ct=$.wlevel&&$.wlevel!=="—"&&$.wlevel!=="正常"&&$.ostate?ea(Ce($.ostate),mn($.wlevel),j):"";return`<td class="small" title="${lt}${a("fus.tip_tier",{e:mn($.wlevel||"?")})}" style="border-left:3px solid ${j};overflow:hidden"><div><div style="color:${j};font-weight:${["bad","warn"].includes($.level)?600:400}">${B}</div>${ct}</div>${Su($.hist,$.level==="bad"?"var(--critical)":$.level==="warn"?"var(--warning)":"var(--muted)")}</td>`};return c.forEach(v=>{const $=v.报警||{n:0,fam:[]},j=v.工单||{n:0,acts:[]},R=$.rank&&$.rank<=5?"var(--warning)":"var(--line)",X=$.burst,lt=ft(($.items||[]).map(L=>`${L.code} ${Be(L.text)} — ${L.n} (${L.first}~${L.last})`).join(`
  46. `))+(X?`
  47. `+ft(a("fus.burst_tip",{c:X.code,p:(X.share*100).toFixed(0),m:X.med_s})):"");s+=`<tr><td><a href="/turbine/${v.turbine}"><b>${At(v.turbine)}</b></a></td>${m(v.振动)}${m(v.温度)}${m(v.润滑)}${m(v.油液)}
  48. <td title="${lt}" style="border-left:3px solid ${X?"var(--unknown)":R}"><b class="small num" style="color:${$.rank&&$.rank<=10?"var(--ink)":"var(--muted)"}">${a("fus.alarm_n",{n:$.n})}</b>${$.rank?`<span class="small muted">${a("fus.alarm_rank",{r:$.rank,t:$.tot})}</span>`:""}${X?`<div class="small" style="color:var(--unknown)">${a("fus.burst",{p:(X.share*100).toFixed(0),c:X.code})}</div>`:""}${$.rank&&$.rank<=10||X?Cu($.fam,$.n,i):""}</td>
  49. <td title="${ft((j.items||[]).map(L=>`${L.date} ${_n(L.name)} → ${_n(L.act)}${L.part?" "+_n(L.part):""}`).join(`
  50. `)||a("fus.wo_none"))}" style="min-width:110px">${j.n?`<b class="small">${a("fus.wo_n",{n:j.n})}</b>${j.last?`<span class="small muted"> · ${ft(j.last)}</span>`:""}<div style="height:7px;border-radius:3px;background:var(--muted);opacity:.5;margin-top:4px;width:${Math.max(6,Math.round(j.n/u*90))}px"></div><div class="small muted" style="margin-top:3px">${(j.acts||[]).slice(0,2).map(L=>yt(L.k)+"×"+L.n).join(" · ")}</div>`:'<span class="small muted">—</span>'}</td></tr>`}),s+`</table></div><p class="small muted" style="margin-top:8px">${a("fus.matrix_foot")}</p></div>`}const Ll=(t,e,s)=>{const n=Math.max(t,e,7),l=120,o=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="${o(t).toFixed(1)}" height="9" rx="2" fill="var(--muted)" fill-opacity=".55"/><rect x="2" y="15" width="${o(e).toFixed(1)}" height="9" rx="2" fill="${s}" fill-opacity=".9"/></svg>`},On=(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="${ft(Xo(t))}">${Du.map(([l,o])=>{const c=o.test(s)||n&&["ps","ims","hss"].includes(l);return`<i class="${c?"on":""}" style="${c?`background:${e};border-color:${e}`:""}" title="${a("chain."+l)}"></i>`}).join("")}</span>`};function Fu(t){const e=t.能力&&t.能力.loop&&t.能力.loop["换件闭环 (检出→换件→恢复)"]?t.能力.loop:null;if(!e)return`<div class="panel mb"><p class="small">${a("fus.loop_none")}</p></div>`;const s=e["换件闭环 (检出→换件→恢复)"]||[],n=e["当前在升 (无工单可对)"]||[],l=e["负面对照 (工单后持平)"];return`<div class="panel mb"><h3>${a("fus.loop_head")}</h3><p class="small">${a("fus.loop_note")}</p>
  51. <h3 style="margin-top:8px">${a("fus.loop_closed",{n:s.length})}</h3><div class="tblwrap"><table><tr><th>${a("ui.unit")}</th><th>${a("fus.col.part")}</th><th>${a("fus.loop_item")}</th><th>${a("fus.loop_date")}</th><th>${a("fus.loop_ba")}</th><th class="r">${a("fus.loop_ratio")}</th><th>${a("fus.loop_verdict")}</th></tr>
  52. ${s.map(o=>`<tr><td><b>${At(o.turbine)}</b></td><td>${On(o.component+(o.title||""),"var(--good)")} <span class="small">${ms(o.component)}</span></td><td class="small">${yt(o.title)}</td><td>${ft(o.replace_date)}</td><td>${Ll(o.pre,o.post,"var(--good)")}<span class="small muted">${o.pre} → ${o.post}</span></td><td class="r"><b style="color:var(--good)">${o.ratio}×</b></td><td><span class="chip ok">${yt(o.verdict)}</span></td></tr>`).join("")}</table></div>
  53. <p class="small" style="margin-top:6px">${a("fus.loop_neg",{n:l})}</p>
  54. <h3 style="margin-top:14px">${a("fus.loop_rising",{n:n.length})}</h3><div class="tblwrap"><table><tr><th>${a("ui.unit")}</th><th>${a("fus.col.part")}</th><th>${a("fus.loop_el")}</th><th class="r">${a("fus.loop_x")}</th><th>${a("fus.loop_state")}</th></tr>
  55. ${n.map(o=>`<tr><td><b>${At(o.turbine)}</b></td><td>${On(o.component,"var(--warning)")} <span class="small">${ms(o.component)}</span></td><td>${Ll(o.early,o.late,"var(--warning)")}<span class="small muted">${o.early} → ${o.late}</span></td><td class="r"><b style="color:var(--warning)">${o.ratio}×</b></td><td><span class="chip warn">${a("rpt.units.rising",{r:o.ratio})}</span></td></tr>`).join("")}</table></div>
  56. <p class="small muted" style="margin-top:8px">${a("fus.loop_bound",{b:yt(String(e["★数据边界"]||"").split("**").join(""))})}</p></div>`}const Ou=(t,e,s,n)=>{if(e==null)return`<span class="small">${yt(Xo(n).slice(0,30))}</span>`;const l=6,o=104,c=o/2,i=Math.max(-1,Math.min(1,e/l)),u=Math.abs(i)*(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="${ft(n||"")}" style="display:flex;align-items:center;gap:7px"><svg class="dt" viewBox="0 0 ${o} 18" style="width:${o}px;height:18px;flex:none"><line x1="4" y1="9" x2="${o-4}" y2="9" stroke="var(--line)" stroke-opacity=".7"/><line x1="${c}" y1="1" x2="${c}" y2="17" stroke="var(--muted)" stroke-opacity=".6"/><rect x="${e>=0?c:c-u}" y="4" width="${Math.max(u,1.5)}" height="10" rx="2" fill="${f}" fill-opacity=".9"/>${m?`<path d="M${e>0?o-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">${ft(t||"")}</div>`},Au=(t,e)=>{if(!t||!t.length)return`<span class="small" title="${ft(e||"")}">${a("fus.win_none")}</span>`;const s=Date.parse("2026-01-01"),n=Date.parse("2026-09-01"),l=118,o=c=>3+Math.max(0,Math.min(1,(Date.parse(c)-s)/(n-s)))*(l-6);return`<div title="${ft(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,i])=>{const u=o(c),_=o(i);return`<rect x="${u.toFixed(1)}" y="4" width="${Math.max(_-u,2.5).toFixed(1)}" height="10" rx="2" fill="var(--accent)" fill-opacity=".8"/>`}).join("")}</svg><div class="small muted">${a("fus.win_n",{n:t.length})}</div></div>`},ju=(t,e,s)=>`<div title="${ft(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">${ft(t||a("fus.oil_none"))}</span></div><div class="small muted">${t?a(e?"fus.oil_fresh":"fus.oil_stale"):"—"}</div>`,Ie=(t,e)=>{const s=Yn(t);return s?`<span class="chip ${s} ">${a(Jn(s))}</span>`:t?`<span class="chip">${ft(t)}</span>`:""};function qu(t,e){const s=t.表||[],n=t.矩阵||[];let l=s,c=`<div class="panel mb"><h3>${a("fus.units_head",{u:new Set(s.map(i=>i.turbine)).size,n:l.length+"",f:""})}</h3>
  57. <div style="display:flex;gap:8px;margin:8px 0 12px;flex-wrap:wrap">${["bad","warn","note","ok"].map(i=>`<button class="pill ${e===i?"on":""}" data-ffilter="${i}">${a("fus.lv."+i)}</button>`).join("")}<button class="pill " data-ffilter="unlisted">${a("fus.unlisted_link",{n:n.filter(i=>(i.振动||{}).level==="unlisted").length})}</button></div>
  58. <div class="panel" style="border-left:3px solid var(--accent);margin-bottom:12px"><b class="small">${a("fus.eval_head")}</b><div class="tblwrap"><table style="margin-top:8px"><tr><th style="width:30%">${a("fus.eval_state")}</th><th style="width:30%">${a("fus.eval_tier")}</th><th>${a("fus.eval_meaning")}</th></tr>
  59. <tr><td>${Ie("危险")}</td><td><span class="tier confirmed">${a("tier.confirmed.s")}</span></td><td class="small">${a("fus.m.bad")} <span class="muted">(${a("fus.m.bad_e")})</span></td></tr>
  60. <tr><td>${Ie("报警")}</td><td><span class="tier near">${a("tier.near")}</span> / <span class="tier candidate">${a("tier.candidate_new")}</span></td><td class="small">${a("fus.m.warn")} <span class="muted">(${a("fus.m.warn_e")})</span></td></tr>
  61. <tr><td>${Ie("良好")}</td><td><span class="tier candidate">${a("tier.candidate")}</span> / <span class="tier candidate">${a("tier.candidate_baseline")}</span></td><td class="small">${a("fus.m.ok")} <span class="muted">(${a("fus.m.ok_e")})</span></td></tr>
  62. <tr><td>${Ie("优秀")}</td><td><span class="tier reference">${a("tier.reference")}</span> / <span class="tier reference">${a("tier.normal")}</span> / <span class="tier withdrawn">${a("tier.withdrawn")}</span></td><td class="small">${a("fus.m.ex")} <span class="muted">(${a("fus.m.ex_e")})</span></td></tr>
  63. <tr><td>${Ie("不可判")}</td><td><span class="tier insufficient">${a("tier.insufficient")}</span></td><td class="small">${a("fus.m.unk")} <span class="muted">(${a("fus.m.unk_e")})</span></td></tr></table></div><p class="small muted" style="margin-top:7px">${a("fus.eval_note")}</p></div>
  64. <div class="tblwrap"><table><tr><th>${a("ui.unit")}</th><th>${a("fus.col.part")}</th><th>${a("fus.col.state_concl")}</th><th>${a("fus.col.claim")} <span class="small muted" style="font-weight:400">${a("fus.col.claim_axis")}</span></th><th>${a("fus.col.signal")}</th><th>${a("fus.col.tempaxis")} <span class="small muted" style="font-weight:400">${a("fus.col.tempaxis_note")}</span></th><th>${a("fus.col.oil")}</th></tr>`;return l.forEach(i=>{const u=ta[i.级]||"var(--accent)",_=Qo[i.设备状态]||"var(--muted)";c+=`<tr><td><a href="/turbine/${i.turbine}"><b>${At(i.turbine)}</b></a></td><td style="min-width:200px">${On(i.部件,u)} <span class="small">${ms(i.部件)}</span></td>
  65. <td title="${ft(Be(i.振动结论))}">${ea(Ce(i.设备状态||"—"),yt(i.振动结论),_)}</td><td style="min-width:130px">${Au(i.窗区间,i.claim_window)}</td>
  66. <td class="small" title="${ft(i.振动信号||"")}">${yt(Be(i.振动信号))}</td><td style="min-width:158px">${Ou(i.温度通道,i.温度dev,i.温度判,i.温度轴)}</td><td style="min-width:112px">${ju(i.油末样,i.油新鲜,i.油样轴)}</td></tr>`}),c+"</table></div></div>"}const Du=[["mbf",/主轴承[((]前|主轴承前|主轴承[++]|主轴承(?![((前后])/],["mba",/主轴承[((]后|主轴承后/],["ps",/行星|二级行星/],["ims",/中间轴|中速/],["hss",/高速轴|高速(?!.*发电)/],["gde",/发电机DE|发电机[((]|发电机(?!NDE)/],["gnde",/发电机NDE|NDE/]],ts=t=>Zo[Yn(t)]||null,Hl=t=>`<span class="chain">${Object.entries(t).map(([e,s])=>`<i class="${s?"on":""}" style="${s?`background:${s};border-color:${s}`:""}" title="${a("chain."+e)}"></i>`).join("")}</span>`,Pu=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 Iu(t,e){if(!t.事件)return`<div class="panel mb"><p class="small muted">${a("ui.empty")}</p></div>`;let s=`<div class="panel mb"><p class="small muted"><b>${a("fus.ev_win",{win:Ae(e.win)})}</b></p></div>`;for(const[n,l]of Object.entries(t.事件)){const o=l,c=o.报警||{},i=o.工单||{};s+=`<div class="panel mb"><h3>${a("fus.ev_head",{c:xe(n),an:c.总条数||0,au:c.台数||0,wn:i.总条数||0,wu:i.台数||0})}</h3>`,c.总条数>0?s+=`<div class="tblwrap"><table><tr><th>${a("fus.ev_code")}</th><th>${a("fus.ev_text")}</th><th class="r">${a("ui.count")}</th><th class="r">${a("fus.ev_units")}</th><th class="r">${a("fus.ev_dur")}</th></tr>${(c.码统计||[]).map(u=>`<tr><td>${ft(u.code)}</td><td class="small">${yt(Be(u.text))}</td><td class="r">${u.条数}</td><td class="r">${u.台数}</td><td class="r">${u.时长h}</td></tr>`).join("")}</table></div>
  67. <p class="small">${a("fus.ev_top")}${Object.entries(c.top台||{}).map(([u,_])=>`<a href="/turbine/${u}">${At(u)}</a>×${_}`).join(" · ")}</p>
  68. <details><summary class="small">${a("fus.ev_recent",{n:(c.近况||[]).length})}</summary><div class="tblwrap"><table><tr><th>${a("ui.unit")}</th><th>${a("fus.ev_time")}</th><th>${a("fus.ev_code")}</th><th>${a("fus.ev_text")}</th><th class="r">${a("fus.ev_min")}</th></tr>${(c.近况||[]).map(u=>`<tr><td>${At(u.t)}</td><td class="small">${ft(u.on)}</td><td>${ft(u.code)}</td><td class="small">${yt(Be(u.text))}</td><td class="r">${u.dur_min??"—"}</td></tr>`).join("")}</table></div></details>`:s+=`<p class="small">${a("fus.ev_no_alarm")}</p>`,i.总条数>0?s+=`<div class="tblwrap"><table style="margin-top:8px"><tr><th>${a("ui.unit")}</th><th>${a("ui.date")}</th><th>${a("fus.ev_wo_name")}</th><th>${a("fus.ev_wo_act")}</th><th>${a("fus.ev_wo_cause")}</th></tr>${(i.明细||[]).map(u=>`<tr><td>${At(u.t)}</td><td class="small">${ft(u.date)}</td><td class="small">${yt(u.name)}</td><td class="small">${yt(u.act)}</td><td class="small">${yt(u.cause)}</td></tr>`).join("")}</table></div>`:s+=`<p class="small">${a("fus.ev_no_wo")}</p>`,s+="</div>"}return s}function Lu(t,e){if(!t)return`<div class="panel mb"><p class="small muted">${a("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>${a("fus.cms_head",{d:ft(t.date||"")})}</h3>
  69. ${t.时间范围?`<p class="small" style="margin:2px 0 6px">${a("fus.cms_window",{r:ft(t.时间范围)})}</p>`:""}
  70. <p class="small">${yt(t.overall||"")} ${a("fus.cms_note")}</p>
  71. <h3 style="margin-top:10px">${a("fus.cms_action")}</h3><div class="tblwrap"><table><tr><th>${a("ui.unit")}</th><th>${a("fus.loop_state")}</th><th>${a("fus.cms_focus")} <span class="small muted" style="font-weight:400">${a("fus.cms_focus_note")}</span></th><th>${a("fus.cms_evidence")}</th><th>${a("fus.cms_act")}</th></tr>
  72. ${(t.action||[]).map(n=>{const l={};return String(n[2]).split(/[;;]/).forEach(o=>{const c=o.split(/[::]/);if(c.length>1){const i=s[c[0].trim()]||null;i&&(l[i]=ts(c[1].trim()))}}),`<tr><td><b>${At(n[0])}</b></td><td>${Ie(n[1])}</td><td title="${ft(n[2])}">${Hl(l)} <span class="small muted">${yt(n[2])}</span></td><td style="min-width:150px">${Pu(n[3])}</td><td>${/P0/.test(n[4])?`<b style="color:var(--critical)">${ft(n[4])}</b>`:ft(n[4])}</td></tr>`}).join("")}</table></div>
  73. <h3 style="margin-top:14px">${a("fus.cms_grades")}</h3><div class="tblwrap"><table><tr><th>${a("ui.unit")}</th><th>${a("fus.cms_chain")} <span class="small muted" style="font-weight:400">${a("fus.cms_chain_note")}</span></th><th>${a("fus.cms_overall")}</th><th>${a("fus.cms_act")}</th></tr>
  74. ${(t.grades||[]).map(n=>`<tr><td><b>${At(n.t)}</b></td><td title="${a("chain.mbf")} ${Ce(n.主轴承前)} · ${a("chain.mba")} ${Ce(n.主轴承后)} · ${a("chain.gb")} ${Ce(n.齿轮箱)} · ${a("chain.gen")} ${Ce(n.发电机)}">${Hl({mbf:ts(n.主轴承前),mba:ts(n.主轴承后),gb:ts(n.齿轮箱),gen:ts(n.发电机)})}</td><td>${Ie(n.综合)}</td><td class="small">${ft(n.行动)}</td></tr>`).join("")}</table></div>
  75. <div class="small" style="margin-top:12px;padding:10px;border:1px solid var(--line);border-radius:8px"><b>${a("fus.cms_basis")}</b> ${a("fus.cms_basis_note",{a:((t.diff||{}).only_cms||[]).map(At).join(", ")||a("fus.none_word"),b:((t.diff||{}).only_vibration_package||(t.diff||{}).only_handoff||[]).map(At).join(", ")||a("fus.none_word")})}</div>
  76. <p class="small muted" style="margin-top:10px">${a("fus.cms_link")} <a href="http://localhost:8030/index.html" target="_blank" rel="noopener">${a("fus.cms_open")}</a> <a href="/windcms/index.html" target="_blank" rel="noopener">${a("fus.cms_static")}</a></p></div>`}const Hu=["matrix","loop","units","events","cms","portal_cms"];function Ru(t,e){const s=t&&t.fus||{},n=s.kpi||{},l=ct=>typeof ct=="number"?ct:Number(ct)||0,o=t&&t.kpi||{},c=l(o.关注台),i=l(o.报警台),u=l(o.全场??n.全场??n.收录台);l(n.候选观察),l(n.全场??n.收录台);const _=String(t&&t.win||""),f=((s.事件||{}).主轴||{}).工单||{},m=l(f.总条数),v=e||{},$=Array.isArray(v.grades)?v.grades:[],j=ct=>$.filter(Ct=>String(Ct.综合||"")===ct).length,R=Array.isArray(v.action)?v.action.length:0,X=String(v.窗||""),lt=String(v.时间范围||"").replace(/^\S+\s*/,"").slice(0,60),L=String(v.date||""),K=String(s.证据窗末||v.date||"").slice(0,10),S=(ct,Ct=!1)=>'<span style="display:inline-flex;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;font-size:12.5px;'+(Ct?"border:1px solid var(--warning,#B7791F);color:var(--warning,#B7791F)":"border:1px solid var(--line,#D8DDE3);color:var(--sub,#5A6472);background:var(--panel2,#EDF0F3)")+'">'+ct+"</span>",B=(ct,Ct,Ot)=>'<div class="panel" style="flex:1 1 280px;min-width:260px"><div class="small muted">'+ct+'</div><h3 style="margin:4px 0 6px">'+Ct+'</h3><p class="small muted" style="margin:0">'+Ot+"</p></div>";return'<div class="eyebrow">状态监测 · 振动诊断 (windcms)</div><div class="panel mb"><h3 style="margin:0 0 6px">振动与 SCADA 联合分析</h3><p class="small muted" style="margin:0 0 10px">六层模型:数据完整性 → ISO 标量 → 主轴承 rms → 台内自适应基线 → 谱线八闸 → 六枚举裁决。厂商判据与模型融合,机制未定不命名部件。</p><div style="display:flex;flex-wrap:wrap;gap:8px">'+S("当前时间窗 · "+_)+S("关注台 "+c+" 台",!0)+S("报警台 "+i+" 台",!0)+S("全场 "+u+" 台")+S("证据窗末 "+(K||"—"))+S("证据窗内报警工单 · "+m+" 条")+S("CMS 采集窗 "+(X||"—")+(lt?" · "+lt:""))+S("CMS 裁决 · 优秀 "+j("优秀")+" / 良好 "+j("良好")+" / 报警 "+j("报警"))+S("行动项 "+R+" 条"+(L?" · 数据时点 "+L:""))+S("TCM 六采集窗 · 320 万记录 · 160 万谱")+'</div><p class="small muted" style="margin:10px 0 0">口径:「当前时间窗 / 关注台 / 报警台 / 全场」随右上角时间窗变化;「证据窗末 / 证据窗内报警工单 / CMS 采集窗 / CMS 裁决 / 行动项 / TCM」取自**振动证据包与 CMS 侧**,按证据窗固定(门户原文:<i>振动:证据窗固定,不随本窗</i>),切窗时这些不变。</p></div><div class="eyebrow">振动分析 · 方法与证据边界</div><div style="display:flex;flex-wrap:wrap;gap:12px;margin-bottom:14px">'+B("比较基准","异常比较先核实基准","先确认测点、工况、处理链和频带可比,再结合线能量占比与机群分布识别异常。阈值须注明来源、样本和适用范围;本底接近检测下限时,倍数不宜单独解释,诊断仍需补充证据。")+B("证据关联","多种特征不等于独立证据","频谱、标量和时域特征若来自同一波形,应保留共同来源,避免重复计票。跨测点或跨窗口的一致性也需核查共同工况与采集依赖;结论升级应结合独立检修等证据,不以特征数量替代证据质量。")+B("结论边界","结论强度与证据匹配","使用“持续恶化”“单调”或“唯一”等表述前,应明确观察范围、比较对象、样本依赖和对应检验。端段差异不能代替全程趋势证据;复核发现支持不足时,补充验证或降低结论强度,并保留不确定性。")+'</div><div class="eyebrow">在线 · 客户版</div><div class="panel"><h3 style="margin:0 0 6px">CMS 振动分析工作台</h3><p class="small muted" style="margin:0 0 10px">左栏"需关注 / 未见异常"按台展开四个测点判级;工作台可选机组、测点、分析类即时出图;交互页可提问。演示只停客户版与一次工作台运行。</p><div style="display:flex;flex-wrap:wrap;gap:8px"><a class="chip" style="padding:5px 11px;border-radius:999px;border:1px solid var(--line,#D8DDE3);text-decoration:none" href="/cms/?theme=light" target="_blank" rel="noopener">新窗口打开 windcms →</a><a class="chip" style="padding:5px 11px;border-radius:999px;border:1px solid var(--line,#D8DDE3);text-decoration:none" href="/cms/workbench.html?theme=light" target="_blank" rel="noopener">工作台 →</a></div><iframe title="windcms" src="/cms/?theme=light" style="width:100%;height:760px;border:1px solid var(--line,#D8DDE3);border-radius:8px;margin-top:12px"></iframe></div>'}const Nu=typeof window<"u"?window:globalThis,Rl=Nu.__charts,Bu=Rl?Rl({t:a,fmt:St,esc:ft,dv:yt,EN:!1,displayText:t=>t==null?"":String(t),verb:()=>{}}):{};function Jt(t,...e){const s=Bu[t];if(typeof s!="function")return"";try{return s(...e)}catch{return""}}const Wu={key:0},Ku={class:"panel"},Uu={class:"small muted"},Vu={key:1},zu={class:"kpis",style:{"margin-bottom":"12px"}},Gu={key:0},Yu={class:"grid2"},Ju={class:"panel span2"},Xu={class:"small muted",style:{"font-weight":"400"}},Zu={class:"panel"},Qu={class:"small muted",style:{"margin-top":"6px"}},td={class:"panel"},ed={class:"small muted",style:{"font-weight":"400"}},sd={class:"tblwrap"},nd={class:"r",style:{width:"90px"}},ld={class:"small"},od={class:"num small"},ad={class:"r small"},id={class:"small muted",style:{"margin-top":"6px"}},rd=Wt({__name:"Energy",props:{d:{}},setup(t){const e=t,s=z(()=>(e.d?.control||{}).energy),n=z(()=>(e.d?.control||{}).states||[]),l={"限电·绑定":"loss.curtail_bound","限电命令·未绑定":"loss.curtail_unbound","停机(调度令)":"loss.dispatch",停机:"loss.stop",正常发电:"loss.normal",低风待机:"loss.lowwind"},o=u=>l[u]?a(l[u]):u,c=z(()=>{const u=s.value||{};return[{v:St(u.theo),u:"MWh",l:a("en.kpi_theo"),k:""},{v:St(u.act),u:"MWh",l:a("en.kpi_act",{h:St(u.eflh)}),k:"ok"},{v:St(u.loss_pct,1),u:"%",l:a("en.kpi_loss",{v:St(u.loss)}),k:u.loss_pct>=10?"warn":""},{v:u.cap_ok?a("en.cap_pass"):a("en.cap_fail"),u:"",l:a("en.cap_note",{op:u.cap_ok?"<":"≥",cap:St(u.cap)}),k:u.cap_ok?"ok":"bad"}]}),i=z(()=>Math.max(1,...n.value.map(u=>u.pct)));return(u,_)=>s.value?(k(),T("section",Vu,[r("div",zu,[(k(!0),T(it,null,bt(c.value,(f,m)=>(k(),T("div",{key:m,class:Qt(["kpi",f.k])},[r("b",null,[ut(p(f.v),1),f.u?(k(),T("small",Gu,p(f.u),1)):mt("",!0)]),r("span",null,p(f.l),1)],2))),128))]),r("div",Yu,[r("div",Ju,[r("h3",null,[ut(p(d(a)("en.balance"))+" ",1),r("span",Xu,p(d(a)("en.win",{win:d(Ae)(t.d.win)})),1)]),Ft(Yt,{html:d(Jt)("waterfall",s.value)},null,8,["html"])]),r("div",Zu,[r("h3",null,p(d(a)("en.blame")),1),Ft(Yt,{html:d(Jt)("blameBar",s.value)},null,8,["html"]),r("p",Qu,p(d(a)("en.blame_note",{n:d(St)(Math.round(((s.value.items||[]).find(f=>f.k==="停机")||{}).loss||0))})),1)]),r("div",td,[r("h3",null,[ut(p(d(a)("en.states"))+" ",1),r("span",ed,p(d(a)("en.win",{win:d(Ae)(t.d.win)})),1)]),r("div",sd,[r("table",null,[r("tr",null,[r("th",null,p(d(a)("en.state")),1),r("th",null,p(d(a)("en.share")),1),r("th",nd,p(d(a)("en.loss_mwh")),1)]),(k(!0),T(it,null,bt(n.value,f=>(k(),T("tr",{key:f.k},[r("td",ld,p(o(f.k)),1),r("td",null,[r("i",{class:"bar",style:Dt(`width:${Math.round(f.pct/i.value*84)}px;background:${f.k.indexOf("停机")>=0&&f.k.indexOf("调度")<0?"var(--critical)":"var(--accent)"}`)},null,4),r("span",od,p(f.pct)+"% · "+p(d(St)(Math.round(f.h)))+"h",1)]),r("td",ad,p(d(St)(Math.round(f.loss))),1)]))),128))])]),r("p",id,[ut(p(t.d.control.anchors||""),1),_[0]||(_[0]=r("br",null,null,-1)),ut(p(d(a)("en.states_note")),1)])])])])):(k(),T("section",Wu,[r("div",Ku,[r("p",Uu,p(d(a)("ui.empty")),1)])]))}}),cd={class:"eyebrow"},ud={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},dd={style:{color:"var(--warning)"}},pd={class:"grid2"},fd={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},hd={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},md={class:"panel span2"},_d={class:"small muted",style:{"margin-top":"6px"}},vd={class:"panel"},gd={class:"panel"},bd={class:"panel span2"},yd={class:"small muted",style:{"margin-top":"6px"}},$d={key:0,style:{color:"var(--warning)"}},xd={class:"panel"},wd={class:"tblwrap"},kd={style:{width:"70px"}},Md={class:"r",style:{width:"80px"}},Sd={class:"num small"},Td={class:"r small"},Cd={class:"small muted",style:{"margin-top":"6px"}},Ed={key:0,class:"panel",style:{"border-left":"3px solid var(--critical)"}},Fd={class:"small"},Od={key:1,class:"panel"},Ad={class:"small muted",style:{"font-weight":"400"}},jd={class:"small muted",style:{"margin-top":"6px"}},qd={class:"eyebrow",style:{"grid-column":"1/-1","margin-top":"4px"}},Dd={style:{"text-transform":"none","letter-spacing":"0",color:"var(--muted)"}},Pd={key:0,class:"panel span2"},Id={class:"small muted",style:{"margin-top":"6px"}},Ld={style:{"margin-top":"12px"}},Hd={class:"small muted",style:{"margin-top":"2px"}},Rd={class:"panel"},Nd={class:"small muted",style:{"margin-top":"4px"}},Bd={class:"panel"},Wd={class:"tblwrap"},Kd={style:{width:"64px"}},Ud={class:"r",style:{width:"56px"}},Vd={class:"num small"},zd={class:"r small"},Gd={class:"small muted",style:{"margin-top":"6px"}},Yd=Wt({__name:"Fault",props:{d:{}},setup(t){const e=t,s=z(()=>e.d?.faults||{}),n=z(()=>s.value.partial||[]),l=z(()=>e.d?.m8&&!e.d.m8.err?e.d.m8.mtbf:null),o=z(()=>s.value.monthly||{months:[],vals:[]}),c=z(()=>n.value.length?(o.value.months||[]).indexOf(n.value[0]):-1),i=z(()=>{const K=n.value.length?a("flt.rate_partial",{m:n.value.join("/")}):a("flt.rate_full"),S=c.value>=0&&!!o.value.per_day;return K+(S?" "+a("flt.rate_example",{m:n.value[0],v:u.value}):"")}),u=z(()=>{const K=c.value;return K>=0&&o.value.per_day?o.value.per_day[K]:null}),_=z(()=>n.value.length?a("win.partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)}):""),f=z(()=>s.value.per_t||[]),m=z(()=>Math.max(1,...f.value.map(K=>K.v))),v=z(()=>l.value&&e.d?.m8?.seasonal?e.d.m8.seasonal:[]),$=z(()=>e.d?.rel&&!e.d.rel.err?e.d.rel:null),j=z(()=>(e.d?.m8?.stop_pareto||[]).map(K=>({k:String(K.k).split(";")[0].slice(0,26),v:K.h}))),R=K=>ms(K),X=z(()=>({months:v.value[0]&&v.value[0].months||[],series:v.value.slice(0,4).map(K=>({name:String(K.name).slice(0,16),vals:K.vals})),xlab:a("flt.seasonal_x")})),lt=z(()=>l.value?.台级top||[]),L=z(()=>Math.max(1,...lt.value.map(K=>K.时长h)));return(K,S)=>(k(),T("section",null,[r("div",cd,p(d(a)("flt.eyebrow")),1),r("div",ud,[r("b",null,p(d(a)("win.banner",{win:d(Ae)(t.d.win)})),1),_.value?(k(),T(it,{key:0},[S[0]||(S[0]=ut(" | ",-1)),r("span",dd,p(_.value),1)],64)):mt("",!0)]),r("div",pd,[r("div",fd,[ut(p(d(a)("flt.alarm_face"))+" ",1),r("span",hd,p(d(a)("flt.alarm_meta",{n:d(St)(s.value.total),c:s.value.n_codes,win:d(Ae)(t.d.win)})),1)]),r("div",md,[r("h3",null,p(d(a)("flt.rate")),1),Ft(Yt,{html:d(Jt)("rateChart",o.value)},null,8,["html"]),r("p",_d,[r("b",null,p(d(a)("flt.rate_note")),1),ut(" — "+p(i.value),1)])]),r("div",vd,[r("h3",null,p(d(a)("flt.pareto_n")),1),Ft(Yt,{html:d(Jt)("paretoChart",s.value.pareto_n||[],d(a)("unit.n"),d(a)("flt.pareto_n_note"))},null,8,["html"])]),r("div",gd,[r("h3",null,p(d(a)("flt.pareto_d")),1),Ft(Yt,{html:d(Jt)("paretoChart",s.value.pareto_d||[]," h",d(a)("flt.pareto_d_note"))},null,8,["html"])]),r("div",bd,[r("h3",null,p(d(a)("flt.quad")),1),Ft(Yt,{html:d(Jt)("quadChart",s.value.quad||[])},null,8,["html"]),r("p",yd,[ut(p(d(a)("flt.quad_note",{n:s.value.n_codes,m:(s.value.quad||[]).length}))+" ",1),n.value.length?(k(),T("span",$d,p(d(a)("flt.quad_partial",{m:n.value.join("/"),c:Math.round((s.value.cov_min||0)*100)})),1)):mt("",!0),ut(" "+p(d(a)("flt.quad_note2")),1)])]),r("div",xd,[r("h3",null,p(d(a)("flt.per_t",{n:f.value.length})),1),r("div",wd,[r("table",null,[r("tr",null,[r("th",kd,p(d(a)("ui.unit")),1),r("th",null,p(d(a)("ui.count")),1),r("th",Md,p(d(a)("flt.per_t_share")),1)]),(k(!0),T(it,null,bt(f.value,B=>(k(),T("tr",{key:B.k},[r("td",null,[r("b",null,p(d(At)(B.k)),1)]),r("td",null,[r("i",{class:"bar",style:Dt(`width:${Math.round(B.v/m.value*90)}px;background:${B.v/m.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),r("span",Sd,p(d(St)(B.v)),1)]),r("td",Td,p((B.v/s.value.total*100).toFixed(1))+"%",1)]))),128))])]),r("p",Cd,p(d(a)("flt.per_t_note",{n:d(St)(s.value.total)})),1)]),t.d.m8&&t.d.m8.err?(k(),T("div",Ed,[r("p",Fd,p(d(a)("flt.block_err",{k:"m8",e:t.d.m8.err})),1)])):mt("",!0),l.value&&v.value.length?(k(),T("div",Od,[r("h3",null,[ut(p(d(a)("flt.seasonal"))+" ",1),r("span",Ad,"("+p(d(a)("flt.seasonal_unit"))+")",1)]),Ft(Yt,{html:d(Jt)("multiline",X.value)},null,8,["html"]),r("p",jd,p(d(a)("flt.seasonal_note")),1)])):mt("",!0),l.value?(k(),T(it,{key:2},[r("div",qd,[ut(p(d(a)("flt.stop_face"))+" ",1),r("span",Dd,p(d(a)("flt.stop_meta",{h:d(St)(l.value.停机总时长h),n:d(St)(l.value.停机事件数)})),1)]),$.value?(k(),T("div",Pd,[r("h3",null,p(d(a)("flt.ram")),1),Ft(Yt,{html:d(Jt)("ramChart",$.value&&$.value.表||[],R)},null,8,["html"]),r("p",Id,p(d(a)("flt.ram_note",{a:$.value.设备类停机h,b:$.value.外部类停机h})),1),r("div",Ld,[Ft(Yt,{html:d(Jt)("attribBar",$.value&&$.value.表||[],$.value&&$.value.总停机h||0)},null,8,["html"])]),r("p",Hd,p(d(a)("flt.attrib_note",{h:(($.value.表||[]).find(B=>B.部件==="无记录停机")||{}).停机时长h||0})),1)])):mt("",!0),r("div",Rd,[r("h3",null,p(d(a)("flt.stop_pareto")),1),Ft(Yt,{html:d(Jt)("paretoChart",j.value," h",d(a)("flt.stop_pareto_note"))},null,8,["html"]),r("p",Nd,p(l.value.口径),1)]),r("div",Bd,[r("h3",null,p(d(a)("flt.stop_units",{n:lt.value.length})),1),r("div",Wd,[r("table",null,[r("tr",null,[r("th",Kd,p(d(a)("ui.unit")),1),r("th",null,p(d(a)("flt.stop_h")),1),r("th",Ud,p(d(a)("flt.stop_n")),1)]),(k(!0),T(it,null,bt(lt.value,B=>(k(),T("tr",{key:B.t},[r("td",null,[r("b",null,p(d(At)(B.t)),1)]),r("td",null,[r("i",{class:"bar",style:Dt(`width:${Math.round(B.时长h/L.value*90)}px;background:${B.时长h/L.value>.6?"var(--critical)":"var(--accent)"}`)},null,4),r("span",Vd,p(d(St)(B.时长h)),1),S[1]||(S[1]=ut("h",-1))]),r("td",zd,p(B.次),1)]))),128))])]),r("p",Gd,p(d(a)("flt.stop_units_note")),1)])],64)):mt("",!0)])]))}}),Jd={class:"eyebrow"},Xd={style:{display:"flex",gap:"8px","margin-bottom":"14px","flex-wrap":"wrap"}},Zd=["data-fsub","onClick"],Qd=["innerHTML"],tp=Wt({__name:"Vibration",props:{d:{},sub:{},cms:{}},emits:["sub"],setup(t,{emit:e}){const s=t,n=e,l=z(()=>s.sub||"matrix"),o=gt(null),c=gt("");Re(l,async f=>{if((f==="cms"||f==="portal_cms")&&!o.value&&!s.cms&&!c.value)try{const m=await fetch("/api/vibcms");o.value=await m.json()}catch(m){c.value=String(m?.message||m)}},{immediate:!0});const i=z(()=>s.cms??o.value),u=z(()=>s.d?.fus),_=z(()=>{const f=u.value;return!f||f.err?`<section><div class="panel"><p>${a("fus.unavailable",{e:String(f&&f.err||"")})}</p></div></section>`:l.value==="matrix"?Eu(f):l.value==="loop"?Fu(f):l.value==="units"?qu(f,null):l.value==="events"?Iu(f,s.d):l.value==="cms"?Lu(i.value):l.value==="portal_cms"?Ru(s.d,i.value):`<div class="panel mb"><p class="small muted">子视图「${a("fus.sub."+l.value)}」尚未迁移到 Vue(迁移中)。</p></div>`});return(f,m)=>(k(),T("section",null,[r("div",Jd,p(d(a)("fus.eyebrow")),1),r("div",Xd,[(k(!0),T(it,null,bt(d(Hu),v=>(k(),T("button",{key:v,class:Qt(["pill",{on:v===l.value}]),"data-fsub":v,onClick:$=>n("sub",v)},p(d(a)("fus.sub."+v)),11,Zd))),128))]),r("div",{class:"unwrap-host",innerHTML:_.value},null,8,Qd)]))}}),ep={class:"eyebrow"},sp={class:"panel mb small",style:{"border-left":"3px solid var(--accent)"}},np={class:"muted",style:{"margin-top":"3px"}},lp={key:0,class:"panel mb",style:{"border-left":"3px solid var(--critical)"}},op={class:"small"},ap={class:"small muted",style:{"font-weight":"400"}},ip={key:0,class:"chip"},rp={style:{display:"flex","flex-wrap":"wrap",gap:"18px"}},cp={style:{flex:"1 1 300px","min-width":"280px"}},up={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},dp={class:"small muted",style:{"margin-top":"4px"}},pp={style:{flex:"1 1 300px","min-width":"280px"}},fp={class:"small",style:{"font-weight":"600","margin-bottom":"4px"}},hp=["innerHTML"],mp={class:"small",style:{"font-weight":"600",margin:"12px 0 4px"}},_p={class:"small muted",style:{"margin-top":"4px"}},vp={key:2,class:"panel mb"},gp={class:"small muted",style:{"font-weight":"400"}},bp=["innerHTML"],yp={class:"eyebrow"},$p={key:3,class:"panel",style:{"border-left":"3px solid var(--critical)"}},xp={class:"small"},wp={key:4,class:"panel",style:{"border-left":"3px solid var(--accent)"}},kp={class:"small"},Mp={key:5,class:"panel"},Sp={class:"small muted"},Tp={key:6,class:"grid2"},Cp={key:0,class:"small muted",style:{"font-weight":"400"}},Ep={key:0,class:"small muted",style:{"margin-top":"6px"}},Fp=Wt({__name:"Generation",props:{d:{},curves:{},pending:{type:Boolean}},setup(t){const e=t,s=z(()=>e.d?.m9&&!e.d.m9.err?e.d.m9:null),n=z(()=>e.d?.control||null),l=z(()=>e.curves||null),o=z(()=>(e.d?.sysmx_span||[]).join(" ~ ")||""),c=z(()=>s.value?.β_schedule?.离群||[]),i=z(()=>s.value?.β_schedule?.全场同档差中位||0),u=z(()=>{const m=n.value?.curve?.cands||[];return m.length?m.map(v=>`<a href="/turbine/${v.t}">${At(v.t)}</a> ${v.dev}% ${yt(v.判)}`).join(" | "):a("gen.no_cands")}),_=z(()=>a("gen.beta_note",{units:c.value.map(m=>`<a href="/turbine/${m.t}">${At(m.t)}</a>`).join(" / "),k:c.value.length?Math.round(Math.max(...c.value.map(m=>m.平均偏))/Math.max(i.value||0,.01)):"—",v:yt(s.value?.β_schedule?.判)})),f=z(()=>l.value?.figs||[]);return(m,v)=>(k(),T("section",null,[r("div",ep,p(d(a)("gen.eyebrow")),1),r("div",sp,[r("b",null,p(d(a)("gen.fixed_win")),1),ut(" "+p(o.value?d(a)("gen.win_range",{span:o.value}):"")+" ",1),r("div",np,p(d(a)("gen.win_why")),1)]),t.d.m9&&t.d.m9.err?(k(),T("div",lp,[r("p",op,p(d(a)("flt.block_err",{k:"m9",e:d(yt)(t.d.m9.err)})),1)])):mt("",!0),s.value?(k(),T("div",{key:1,class:"panel mb",style:Dt(t.pending?"border-left:3px solid var(--accent)":"")},[r("h3",null,[ut(p(d(a)("gen.ctrl"))+" ",1),r("span",ap,p(d(a)("gen.ctrl_win",{win:d(yt)(s.value.窗)})),1),t.pending?(k(),T("span",ip,p(d(a)("gen.recomputing_short")),1)):mt("",!0)]),r("div",rp,[r("div",cp,[r("div",up,p(d(a)("gen.cap")),1),Ft(Yt,{html:d(Jt)("capAxis",s.value&&s.value.P封顶,s.value&&s.value.ω封顶)},null,8,["html"]),r("p",dp,p(d(a)("gen.cap_note")),1)]),r("div",pp,[r("div",fp,p(d(a)("gen.beta")),1),Ft(Yt,{html:d(Jt)("betaBar",s.value&&s.value.β_schedule||{},d(At))},null,8,["html"]),r("p",{class:"small muted",style:{"margin-top":"4px"},innerHTML:_.value},null,8,hp),r("div",mp,p(d(a)("gen.ruler")),1),Ft(Yt,{html:d(Jt)("rulerBar",s.value&&s.value.尺子)},null,8,["html"]),r("p",_p,p(d(a)("gen.ruler_note")),1)])])],4)):mt("",!0),n.value&&n.value.curve?(k(),T("div",vp,[r("h3",null,[ut(p(d(a)("gen.cands"))+" ",1),r("span",gp,p(d(a)("gen.cands_meta",{note:d(yt)(n.value.curve.note||""),s:t.d.sigma||n.value.curve.sigma})),1)]),r("p",{class:"small",innerHTML:u.value},null,8,bp)])):mt("",!0),r("div",yp,p(d(a)("gen.figs")),1),l.value&&l.value.err?(k(),T("div",$p,[r("p",xp,p(d(ft)(l.value.err)),1)])):l.value&&l.value.building?(k(),T("div",wp,[r("p",kp,[r("b",null,p(d(a)("gen.recomputing")),1),ut(" "+p(d(yt)(l.value.curves?.note||"")),1)]),v[0]||(v[0]=r("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),v[1]||(v[1]=r("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))])):l.value?(k(),T("div",Tp,[(k(!0),T(it,null,bt(f.value,($,j)=>(k(),T("div",{key:j,class:"panel"},[r("h3",null,[ut(p(d(yt)($.title||"")),1),$.unit?(k(),T("span",Cp,"("+p(d(yt)($.unit))+")",1)):mt("",!0)]),Ft(Yt,{html:d(Jt)("multiline",Object.assign({zero:!1},$))},null,8,["html"]),$.note?(k(),T("p",Ep,p(d(yt)($.note)),1)):mt("",!0)]))),128))])):(k(),T("div",Mp,[r("p",Sp,p(d(a)("gen.loading")),1),v[2]||(v[2]=r("div",{class:"skel",style:{width:"60%","margin-top":"10px"}},null,-1)),v[3]||(v[3]=r("div",{class:"skel",style:{width:"80%","margin-top":"8px"}},null,-1))]))]))}}),Op={class:"eyebrow"},Ap={class:"small muted"},jp=["href"],qp=["innerHTML"],Dp={class:"panel mb"},Pp={class:"small muted"},Ip=["innerHTML"],Lp={style:{display:"flex",gap:"8px","flex-wrap":"wrap",margin:"10px 0","align-items":"center"}},Hp=["placeholder","value"],Rp={class:"small muted",for:"askm"},Np=["innerHTML"],Bp=["innerHTML"],Wp=["title"],Kp={class:"muted"},Up={class:"btn",id:"askgo"},Vp={id:"askout",class:"small"},zp=Wt({__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=gt("equip"),o=gt(""),c=gt(""),i=gt(""),u=z(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),_=z(()=>u.value?u.value.models||{}:null),f=z(()=>!!u.value?.offline||!!u.value?.LOCAL_AI_DOWN),m=z(()=>a("cat."+l.value)),v=z(()=>s.map(([B])=>`<button class="pill ${B===l.value?"on":""}" data-cat="${B}">${a("cat."+B)}</button>`).join("")),$=z(()=>[1,2,3].map(B=>`<div class="qitem" data-q="${ft(a("cat."+l.value+".q"+B))}">${a("cat."+l.value+".q"+B)}</div>`).join("")),j=(B,ct)=>a("mdl."+B+"."+ct),R=B=>(j(B,"nm")||B)+(n[B]?" · "+a("mdl."+n[B]):"")+(j(B,"t")?" · "+j(B,"t"):""),X=B=>n[B]?n[B]==="local"?a("mdl.zero_outbound"):`<span style="color:var(--warning)">${a("mdl.outbound_warn")}</span>`:`<span style="color:var(--warning)">${a("mdl.unknown_warn")}</span>`,lt=z(()=>{const B=_.value;if(B===null)return c.value;const ct=Object.keys(B);return!c.value||!ct.includes(c.value)?ct[0]||"":c.value}),L=z(()=>{const B=_.value;return B===null?'<option value="">…</option>':Object.keys(B).length?Object.keys(B).map(ct=>`<option value="${ft(ct)}" ${ct===lt?"selected":""}>${ft(R(ct))}</option>`).join(""):`<option value="">${f.value?a("ask.local_down"):a("ask.no_models")}</option>`}),K=z(()=>`/?lang=zh&win=${encodeURIComponent(String(e.d?.win||""))}`),S=z(()=>lt.value?X(lt.value):"");return(B,ct)=>(k(),T("section",null,[r("div",Op,p(d(a)("dec.head")),1),r("p",Ap,[ut(p(d(a)("dec.classic"))+" ",1),r("a",{href:K.value},p(d(a)("ui.open_classic")),9,jp)]),r("div",{style:{display:"flex",gap:"8px",margin:"10px 0 12px","flex-wrap":"wrap"},innerHTML:v.value},null,8,qp),r("div",Dp,[r("h3",null,p(d(a)("ask.common_q",{cat:m.value})),1),r("p",Pp,p(d(a)("cat."+l.value+".hint"))+p("。")+p(d(a)("ask.grounding")),1),r("div",{innerHTML:$.value,class:"unwrap-host"},null,8,Ip),r("div",Lp,[r("input",{id:"askq",type:"text",placeholder:d(ft)(d(a)("ask.placeholder",{cat:m.value})),value:o.value,style:{flex:"1","min-width":"280px"}},null,8,Hp),r("label",Rp,p(d(a)("ask.model")),1),r("select",{id:"askm",innerHTML:L.value},null,8,Np),r("span",{id:"mdlnote",class:"small",innerHTML:S.value},null,8,Bp),r("label",{class:"small",style:{cursor:"pointer","white-space":"nowrap"},title:d(ft)(d(a)("ask.xrev_title"))},[ct[0]||(ct[0]=r("input",{type:"checkbox",id:"askxrev"},null,-1)),ut(" "+p(d(a)("ask.xrev"))+" ",1),r("span",Kp,p(d(a)("ask.xrev_note")),1)],8,Wp),r("button",Up,p(d(a)("ask.go")),1)]),r("div",Vp,p(i.value||d(a)("ask.idle")),1)])]))}}),Gp={class:"eyebrow"},Yp={class:"panel mb"},Jp={class:"small muted",style:{"font-weight":"400"}},Xp=["placeholder","value"],Zp={class:"btn","data-asst":"fault"},Qp={class:"small muted"},tf=["innerHTML"],ef={id:"asstOut_fault",style:{"margin-top":"10px"}},sf={class:"panel mb"},nf={class:"small muted",style:{"font-weight":"400"}},lf=["innerHTML"],of={class:"btn","data-asst":"prev"},af={id:"asstOut_prev",style:{"margin-top":"10px"}},rf={class:"panel mb"},cf={class:"small muted",style:{"font-weight":"400"}},uf=["innerHTML"],df={class:"btn","data-asst":"tree"},pf={id:"asstOut_tree",style:{"margin-top":"10px"}},vn="display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px",ff=Wt({__name:"Assistant",setup(t){const e=["变桨","偏航","主轴承","齿轮箱","发电机","变流器","塔架与基础","主控与传感网","叶片与叶根"],s=["3225","3130","13902","10105","3224"],n=vs({fault:"",prev:"pitch",tree:"pitch",out:{fault:"",prev:"",tree:""}}),l=c=>e.map(i=>`<option value="${Rs(i)}" ${n[c]===Rs(i)?"selected":""}>${xe(i)}</option>`).join(""),o=z(()=>s.map(c=>`<a href="#" data-code="${c}">${c}</a>`).join(" · "));return(c,i)=>(k(),T("section",null,[r("div",Gp,p(d(a)("asst.head"))+" — "+p(d(a)("asst.head_note")),1),r("div",Yp,[r("h3",null,[ut(p(d(a)("asst.corrective"))+" ",1),r("span",Jp,p(d(a)("asst.corrective_flow")),1)]),r("div",{style:vn},[r("input",{id:"asstIn_fault",placeholder:d(ft)(d(a)("asst.code_placeholder")),value:n.fault,style:{flex:"1 1 220px"}},null,8,Xp),r("button",Zp,p(d(a)("ui.query")),1),r("span",Qp,[ut(p(d(a)("asst.common"))+" ",1),r("span",{class:"unwrap-host",innerHTML:o.value},null,8,tf)])]),r("div",ef,p(n.out.fault),1)]),r("div",sf,[r("h3",null,[ut(p(d(a)("asst.preventive"))+" ",1),r("span",nf,p(d(a)("asst.preventive_flow")),1)]),r("div",{style:vn},[r("select",{id:"asstIn_prev",style:{flex:"1 1 200px"},innerHTML:l("prev")},null,8,lf),r("button",of,p(d(a)("ui.query")),1)]),r("div",af,p(n.out.prev),1)]),r("div",rf,[r("h3",null,[ut(p(d(a)("asst.faulttree"))+" ",1),r("span",cf,p(d(a)("asst.faulttree_flow")),1)]),r("div",{style:vn},[r("select",{id:"asstIn_tree",style:{flex:"1 1 200px"},innerHTML:l("tree")},null,8,uf),r("button",df,p(d(a)("ui.query")),1)]),r("div",pf,p(n.out.tree),1)])]))}}),hf={class:"eyebrow"},mf={key:0,class:"panel"},_f={class:"small muted"},vf={key:1,class:"panel"},gf={class:"small",style:{color:"var(--critical)"}},bf={class:"panel mb"},yf={class:"small muted"},$f={class:"small muted"},xf={class:"tblwrap"},wf={style:{"margin-top":"10px"}},kf={style:{width:"18%"}},Mf={style:{width:"20%"}},Sf={style:{width:"13%"}},Tf={style:{width:"10%"}},Cf={style:{width:"11%"}},Ef={class:"small"},Ff={class:"small num"},Of={key:0,class:"muted"},Af={class:"small muted"},jf={class:"small"},qf={class:"small"},Df={class:"small"},Pf={class:"muted"},If={style:{"margin-top":"3px"}},Lf={class:"muted",style:{"margin-top":"3px"}},Hf={class:"eyebrow",style:{"margin-top":"18px"}},Rf={"data-added":"recalc",style:{"margin-top":"18px",display:"flex",gap:"8px","align-items":"center"}},Nf=Wt({__name:"System",props:{apis:{}},emits:["refresh"],setup(t,{emit:e}){const s=t,n=e,l=gt(null);function o(){const m=l.value&&l.value.contentDocument;if(!m)return;const v=["b_off","b_rebuild","b_start","b_stop","b_restart"];for(const $ of v){const j=m.getElementById($);j&&!j.__bound&&(j.__bound=!0,j.addEventListener("click",()=>{setTimeout(()=>n("refresh"),4e3)},!0))}}We(()=>{const m=l.value;m&&m.addEventListener("load",()=>setTimeout(o,800))});const c=m=>String(m??""),i=z(()=>s.apis?.["/detail/api/maint_survey"]??s.apis?.["/api/maint_survey"]??null),u=[[["数据","Data"],"mt.layer_data","mt.layer_data_note","var(--accent)"],[["机理","Domain model","Mechanism"],"mt.layer_mech","mt.layer_mech_note","var(--warning)"]],_=z(()=>i.value?.rows||[]),f=z(()=>u.map(([m,v,$,j])=>({kn:v,kd:$,col:j,rs:_.value.filter(R=>m.includes(String(R.层)))})).filter(m=>m.rs.length));return(m,v)=>{const $=di("Recalc");return k(),T("section",null,[r("div",hf,p(d(a)("mt.eyebrow")),1),i.value?i.value.error?(k(),T("div",vf,[r("p",gf,p(d(yt)(i.value.error)),1)])):(k(),T(it,{key:2},[r("div",bf,[r("h3",null,p(d(a)("mt.head",{n:_.value.length})),1),r("p",yf,p(d(a)("mt.note")),1)]),(k(!0),T(it,null,bt(f.value,j=>(k(),T("div",{key:j.kn,class:"panel mb",style:Dt(`border-left:3px solid ${j.col}`)},[r("h3",null,p(d(a)(j.kn))+" ("+p(j.rs.length)+")",1),r("p",$f,p(d(a)(j.kd)),1),r("div",xf,[r("table",wf,[r("tr",null,[r("th",kf,p(d(a)("mt.src")),1),r("th",Mf,p(d(a)("mt.cov")),1),r("th",Sf,p(d(a)("mt.last")),1),r("th",Tf,p(d(a)("mt.freq")),1),r("th",Cf,p(d(a)("mt.resp")),1),r("th",null,p(d(a)("mt.how")),1)]),(k(!0),T(it,null,bt(j.rs,(R,X)=>(k(),T("tr",{key:X},[r("td",Ef,[r("b",null,p(R.存在?"":"✗ ")+p(c(R.名)),1)]),r("td",Ff,[ut(p(c(R.覆盖)),1),R.条数?(k(),T("span",Of,p(d(a)("mt.rows_n",{n:d(St)(R.条数)})),1)):mt("",!0)]),r("td",Af,p(d(ft)(R.末次更新||"—")),1),r("td",jf,p(c(R.频率)),1),r("td",qf,p(c(R.责任)),1),r("td",Df,[r("div",Pf,[ut(p(d(a)("mt.put"))+" ",1),r("code",null,p(c(R.位置)),1)]),r("div",If,[ut(p(d(a)("mt.run"))+" ",1),r("code",null,p(c(R.摄入)),1)]),r("div",Lf,p(c(R.说明)),1)])]))),128))])])],4))),128))],64)):(k(),T("div",mf,[r("p",_f,p(d(a)("mt.surveying")),1)])),r("div",Hf,p(d(a)("tab.recalc")),1),Ft($),r("div",Rf,[r("button",{class:"btn quiet",id:"refresh-data",onClick:v[0]||(v[0]=j=>n("refresh"))},"刷新数据"),v[1]||(v[1]=r("span",{class:"small muted"},"清产物 / 重算 / 启停服务后,可点此让工作台重新取数;控制台内按钮动作后也会自动重取。",-1))]),r("iframe",{ref_key:"frame",ref:l,"data-added":"recalc",class:"portal-recalc-frame",title:"数据重算与产物",src:"/ops",style:{width:"100%",height:"1420px",border:"0",display:"block","margin-top":"18px"}},null,512)])}}}),Bf={class:"eyebrow"},Wf={class:"panel mb noprint"},Kf={style:{display:"flex",gap:"10px","align-items":"center","flex-wrap":"wrap","margin-bottom":"10px"}},Uf={class:"small",style:{"font-weight":"600"}},Vf=["data-preset","onClick"],zf=["selected"],Gf=["selected"],Yf={key:0,class:"small",style:{color:"var(--warning)","flex-basis":"100%"}},Jf={class:"small",style:{"font-weight":"600","margin-bottom":"7px"}},Xf={style:{"font-weight":"400",color:"var(--muted)"}},Zf={style:{display:"grid","grid-template-columns":"auto 1fr",gap:"6px 12px","align-items":"center"}},Qf={class:"small muted",style:{"text-align":"right","padding-top":"3px"}},th={style:{display:"flex","flex-wrap":"wrap",gap:"6px"}},eh=["data-block","onClick","onMouseenter"],sh={id:"rpthint",class:"small muted",style:{"margin-top":"9px","padding-top":"8px","border-top":"1px solid var(--line)","min-height":"19px"}},nh={style:{"margin-top":"11px","padding-top":"10px","border-top":"1px solid var(--line)"}},lh={class:"small",style:{"font-weight":"600","margin-bottom":"6px"}},oh=["innerHTML"],ah={style:{display:"flex",gap:"8px","align-items":"center","flex-wrap":"wrap"}},ih=["placeholder","value"],rh=["innerHTML"],ch=["disabled"],uh={id:"rptout",class:"small muted",style:{"margin-top":"7px"}},dh={key:0,class:"paper",style:{"text-align":"center",padding:"56px 40px"}},ph={class:"small muted"},fh={key:1,class:"paper"},hh={class:"paper-hd"},mh={class:"paper-ti"},_h={class:"small muted",style:{"margin-top":"3px"}},vh={class:"small muted",style:{"text-align":"right"}},gh={key:0,class:"noprint",style:{display:"flex",gap:"3px","justify-content":"flex-end","margin-bottom":"-6px",position:"relative","z-index":"2"}},bh=["data-k","disabled","onClick"],yh=["data-k","disabled","onClick"],$h=["data-k","onClick"],xh=["innerHTML"],wh=["innerHTML"],kh={class:"paper-ft"},Mh=Wt({__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:"✍"},o={"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"],i=vs({canvas:[],aud:"in",need:"",model:"",models:null,compose:null,narr:null,out:""}),u=z(()=>e.apis?.["/detail/api/ask_models"]??e.apis?.["/api/ask_models"]??null),_=z(()=>u.value?u.value.models||{}:i.models),f=z(()=>!!u.value?.offline),m=(P,D)=>a("mdl."+P+"."+D),v=P=>(m(P,"nm")||P)+(o[P]?" · "+a("mdl."+o[P]):"")+(m(P,"t")?" · "+m(P,"t"):""),$=P=>i.canvas.includes(P),j=z(()=>i.compose===!0&&!!_.value&&Object.keys(_.value).length>0),R=z(()=>{const P=_.value;return P===null?'<option value="">…</option>':Object.keys(P).length?Object.keys(P).map(D=>`<option value="${ft(D)}" ${D===K?"selected":""}>${ft(v(D))}</option>`).join(""):`<option value="">${f.value?a("ask.local_down"):a("ask.no_models")}</option>`}),X=z(()=>c.map(P=>({g:P,label:a("rpt.g."+P),items:Object.keys(n).filter(D=>n[D]===P).map(D=>({k:D,icon:l[D]||"",on:$(D),name:a("rpt.b."+D+".nm")}))}))),lt=z(()=>""),L=P=>"",K=z(()=>{const P=_.value;if(P===null)return i.model;const D=Object.keys(P);return!i.model||!D.includes(i.model)?D[0]||"":i.model}),S=z(()=>a("rpt.need_hint")+(K.value?o[K.value]==="local"?a("rpt.local_note"):`<span style="color:var(--warning)">${a("rpt.cloud_note")}</span>`:"")),B=z(()=>i.out?i.out:i.compose===!1?a("rpt.no_compose"):_.value&&!Object.keys(_.value).length?f.value?a("ask.local_down"):a("rpt.no_models"):""),ct=z(()=>(String(e.d?.fus?.数据时点||"").match(/\d{4}-\d{2}-\d{2}/)||[""])[0]);function Ct(P){i.canvas=(s[P]||[]).slice(),O()}function Ot(P){const D=i.canvas.indexOf(P);D>=0?i.canvas.splice(D,1):i.canvas.push(P),W.value=a("rpt.hint_idle"),O()}function Xt(P){W.value=a("rpt.b."+P+".nm")+" — "+a("rpt.b."+P+".d")}function zt(){W.value=a("rpt.hint_idle")}function E(P,D){const V=i.canvas.indexOf(P);if(V<0)return;if(D==="del"){i.canvas.splice(V,1);return}const Q=V+(D==="up"?-1:1);if(Q<0||Q>=i.canvas.length)return;const nt=i.canvas[V];i.canvas[V]=i.canvas[Q],i.canvas[Q]=nt}function J(P){i.aud=P.target.value}function Z(){try{window.print()}catch{}}function A(P){if(!i.canvas.length){try{window.alert(a("rpt.empty_canvas"))}catch{}return}const D=i.narr&&i.narr.text?i.narr.text:"",V="/api/rpt_export?fmt="+P+"&blocks="+encodeURIComponent(i.canvas.join(","))+"&aud="+i.aud+"&win="+encodeURIComponent(String(e.d&&e.d.win||""))+"&narr="+encodeURIComponent(D),Q=document.createElement("a");Q.href=V,Q.download="",document.body.appendChild(Q),Q.click(),Q.remove()}let q=!1;async function O(){if(!q){q=!0;try{const P=await fetch("/api/rpt_compose?probe=1");i.compose=!!(P&&P.ok)}catch{i.compose=!1}}}async function C(){const P=String(i.need||"");if(!P.trim()){tt.value=a("rpt.need_empty");return}Y.value=!0,tt.value=a("rpt.composing");let D;try{const Q=i.model||"";D=await(await fetch("/api/rpt_compose?need="+encodeURIComponent(P)+"&canvas="+encodeURIComponent(i.canvas.join(","))+"&model="+encodeURIComponent(Q))).json()}catch(Q){tt.value=a("rpt.compose_fail",{e:Q?.message||String(Q)}),Y.value=!1;return}if(Y.value=!1,D.err){tt.value=String(D.err);return}i.narr={text:D.narrative,model:D.model,ungrounded:D.ungrounded||[]};const V=(D.blocks||[]).filter(Q=>n[Q]);V.length?i.canvas=(D.narrative?["narr"]:[]).concat(V):D.narrative&&!i.canvas.includes("narr")&&i.canvas.unshift("narr"),tt.value=a("rpt.composed",{n:V.length,narr:D.narrative?a("rpt.narr_plus"):"",m:D.model||"",s:D.secs})}function N(P){i.model=P.target.value}function G(P){i.need=P.target.value}const W=gt(a("rpt.hint_idle")),Y=gt(!1),tt=gt("");return We(()=>{O()}),(P,D)=>(k(),T("section",null,[r("div",Bf,p(d(a)("rpt.eyebrow")),1),r("div",Wf,[r("div",Kf,[r("span",Uf,p(d(a)("rpt.presets")),1),(k(!0),T(it,null,bt(Object.keys(s),V=>(k(),T("button",{key:V,class:"pill","data-preset":V,onClick:Q=>Ct(V)},p(d(a)("rpt.preset."+V)),9,Vf))),128)),D[2]||(D[2]=r("span",{style:{flex:"1"}},null,-1)),r("select",{id:"rptaud",onChange:J},[r("option",{value:"in",selected:i.aud==="in"},p(d(a)("rpt.aud_in")),9,zf),r("option",{value:"up",selected:i.aud==="up"},p(d(a)("rpt.aud_up")),9,Gf)],32),r("button",{class:"btn quiet",id:"rptprint",onClick:Z},p(d(a)("rpt.print")),1),r("button",{class:"btn quiet","data-export":"docx",onClick:D[0]||(D[0]=V=>A("docx"))},p(d(a)("rpt.export_docx")),1),r("button",{class:"btn quiet","data-export":"xlsx",onClick:D[1]||(D[1]=V=>A("xlsx"))},p(d(a)("rpt.export_xlsx")),1),i.aud==="up"?(k(),T("span",Yf,p(d(a)("rpt.up_note")),1)):mt("",!0)]),r("div",Jf,[ut(p(d(a)("rpt.library"))+" ",1),r("span",Xf,p(d(a)("rpt.library_note",{n:i.canvas.length})),1)]),r("div",Zf,[(k(!0),T(it,null,bt(X.value,V=>(k(),T(it,{key:V.g},[r("div",Qf,p(V.label),1),r("div",th,[(k(!0),T(it,null,bt(V.items,Q=>(k(),T("button",{key:Q.k,class:Qt(["pill",{on:Q.on}]),"data-block":Q.k,style:Dt({borderRadius:"7px",padding:"5px 11px",fontSize:"12.5px",opacity:Q.on?1:.8}),onClick:nt=>Ot(Q.k),onMouseenter:nt=>Xt(Q.k),onMouseleave:zt},p(Q.icon)+" "+p(Q.name),47,eh))),128))])],64))),128))]),r("div",sh,p(W.value),1),r("div",nh,[r("div",lh,[ut(p(d(a)("rpt.need_head"))+" ",1),r("span",{id:"rptmdlnote",style:{"font-weight":"400",color:"var(--muted)"},innerHTML:S.value},null,8,oh)]),r("div",ah,[r("input",{id:"rptneed",placeholder:d(ft)(d(a)("rpt.need_ph")),value:i.need,style:{flex:"1 1 300px","min-width":"220px"},onInput:G,onKeydown:Cr(C,["enter"])},null,40,ih),r("select",{id:"rptmdl",innerHTML:R.value,onChange:N},null,40,rh),r("button",{class:"btn",id:"rptgo",disabled:!j.value,onClick:C},p(d(a)("rpt.compose")),9,ch)]),r("div",uh,p(tt.value||B.value),1)])]),i.canvas.length?(k(),T("div",fh,[r("div",hh,[r("div",null,[r("div",mh,p(d(a)("app.brand"))+" · "+p(d(a)("rpt.paper_title")),1),r("div",_h,p(d(a)("rpt.paper_sub",{win:d(Ae)(t.d.win),n:(t.d.kpi||{}).全场||38}))+p(i.aud==="up"?" | "+d(a)("rpt.up_tag"):""),1)]),r("div",vh,p(d(a)("rpt.chapters",{n:i.canvas.length})),1)]),(k(!0),T(it,null,bt(i.canvas,(V,Q)=>(k(),T(it,{key:V},[n[V]?(k(),T("div",gh,[r("button",{class:"pill","data-mv":"up","data-k":V,disabled:Q===0,style:{padding:"1px 8px","font-size":"11px",opacity:".7"},onClick:nt=>E(V,"up")},"↑",8,bh),r("button",{class:"pill","data-mv":"down","data-k":V,disabled:Q===i.canvas.length-1,style:{padding:"1px 8px","font-size":"11px",opacity:".7"},onClick:nt=>E(V,"down")},"↓",8,yh),r("button",{class:"pill","data-mv":"del","data-k":V,style:{padding:"1px 8px","font-size":"11px",opacity:".7"},onClick:nt=>E(V,"del")},"×",8,$h)])):mt("",!0),n[V]?(k(),T("div",{key:1,innerHTML:L()},null,8,xh)):mt("",!0)],64))),128)),r("div",{innerHTML:lt.value},null,8,wh),r("div",kh,[r("span",null,p(d(a)("rpt.foot_src"))+p(ct.value?" | "+d(a)("rpt.foot_asof",{d:ct.value}):""),1),r("span",null,p(d(a)("rpt.foot_trace"))+p(i.aud==="up"?" | "+d(a)("rpt.foot_deid"):""),1)])])):(k(),T("div",dh,[r("div",ph,p(d(a)("rpt.preview_empty")),1)]))]))}}),Sh={class:"kpis"},Th=["title"],Ch=["innerHTML"],Eh={key:1},Fh={key:0},Oh={class:"sechead"},Ah={class:"meta"},jh={class:"meta"},qh={key:0,class:"card mb",style:{"margin-bottom":"10px"}},Dh={class:"small",style:{color:"var(--warning)"}},Ph={class:"small muted"},Ih={class:"cards"},Lh=["id"],Hh={class:"head"},Rh=["href"],Nh={class:"sys"},Bh={class:"evidence-detail"},Wh={class:"why"},Kh={class:"evid"},Uh=["title"],Vh={key:1,class:"rv"},zh={key:0,class:"caveat"},Gh={class:"sechead"},Yh={class:"meta"},Jh={class:"legend"},Xh={class:"cells"},Zh=["data-u","title"],Qh={key:1,class:"quiet",style:{padding:"10px"}},tm={class:"nums"},em={class:"quiet"},sm={class:"sechead"},nm={class:"meta"},lm={class:"systems"},om={class:"t"},am=["href"],im={class:"bar"},rm={class:"cnt"},cm=Wt({__name:"Overview",props:{d:{}},setup(t){const e=t,s=z(()=>e.d?.fus||{}),n=z(()=>e.d?.m8?.mtbf||{}),l=z(()=>e.d?.control||{}),o=z(()=>{const L={};for(const K of l.value.states||[])L[K.k]=K.loss;return L}),c=z(()=>{const L=l.value,K=a("kpi.loss",{win:Ae(e.d?.win)})+(o.value["停机(调度令)"]!=null?` · ${a("kpi.loss_dispatch",{n:St(o.value["停机(调度令)"])})}`:"");return[{v:St(L.avail,1),u:"%",l:a("kpi.avail",{win:Ae(e.d?.win)}),k:L.avail>=95?"ok":"warn",ti:""},{v:St(n.value.停机总时长h),u:"h",l:a("kpi.downtime",{n:St(n.value.停机事件数)}),k:"warn",ti:""},{v:St(n.value.MTBF_h),u:"h",l:a("kpi.mtbo"),k:"",ti:""},{v:St(o.value.停机),u:"MWh",l:K,k:"",ti:""},{v:St(o.value["限电·绑定"]),u:"MWh",l:a("kpi.curtail"),k:"",ti:""},{vRaw:`${St(e.d?.kpi?.报警台)} <small>/ ${St(e.d?.kpi?.全场)}</small>`,u:"",l:a("kpi.alarm_units"),k:e.d?.kpi?.报警台?"warn":"ok",ti:a("kpi.alarm_units.hint"),vHtml:!0}]}),i=z(()=>{const L={};for(const K of e.d?.watch||[])L[K.t]=K.why;return L}),u=z(()=>((s.value.链盘||{}).rows||[]).filter(L=>L.lvl==="bad"||L.lvl==="warn"));function _(L){const K=(i.value[L.t]||"").trim();if(K)return K;const S=ql[L.stuck]||String(L.stuck||"").toLowerCase(),B=a(S==="evidence"?"step.site_records":"step."+(S||"evidence"));return a("ov.basis_fusion",{part:L.part||"—",done:L.done==null?"—":L.done,n:(L.steps||[]).length||"—",stuck:L.stuck?B:a("ov.all_steps_done"),srcs:(L.srcs||[]).join(" / ")||a("ov.no_srcs")})}function f(L){if(!L.stuck)return"";const K=ql[L.stuck]||String(L.stuck||"").toLowerCase(),S=a(K==="evidence"?"step.site_records":"step."+(K||"evidence"));return a("step.stuck_at",{step:S})}const m=[["危险","critical"],["报警","warning"],["不可判","unknown"],["良好","good"],["优秀","excellent"]],v=z(()=>{const L=e.d?.sysdist||{};return Gn.map(K=>{const S=L[K]||{},B=Object.values(S).reduce((ct,Ct)=>ct+Ct,0)||1;return{name:xe(K),slug:Rs(K),dist:S,n:B,seg:m.filter(([ct])=>S[ct]).map(([ct,Ct])=>({k:ct,v:Ct}))}})}),$=z(()=>s.value.矩阵||[]),j=z(()=>new Set(u.value.map(L=>L.t))),R={定论:"confirmed","准定论·预警":"near","候选·新发":"candidate_new",候选:"candidate","候选·记基线":"candidate_baseline",参考:"reference",INSUFFICIENT:"insufficient",正常:"normal",撤回:"withdrawn"},X={candidate_new:"candidate",candidate_baseline:"candidate",normal:"reference"},lt=L=>{const K=R[String(L??"")];return K?X[K]||K:""};return(L,K)=>(k(),T(it,null,[r("section",null,[r("div",Sh,[(k(!0),T(it,null,bt(c.value,(S,B)=>(k(),T("div",{key:B,class:Qt(["kpi",S.k]),title:S.ti||void 0},[S.vHtml?(k(),T("b",{key:0,innerHTML:S.vRaw},null,8,Ch)):(k(),T("b",Eh,[ut(p(S.v),1),S.u?(k(),T("small",Fh,p(S.u),1)):mt("",!0)])),r("span",null,p(S.l),1)],10,Th))),128))])]),r("section",null,[r("div",Oh,[r("h2",null,p(d(a)("ov.attention")),1),r("span",Ah,p(d(a)("ov.attention_n",{n:u.value.length})),1),r("span",jh,p(d(a)("ov.ranked_by")),1)]),s.value.gap?(k(),T("div",qh,[r("p",Dh,p(s.value.gap),1),r("p",Ph,p(d(a)("ov.fus_gap_hint")),1)])):mt("",!0),r("div",Ih,[(k(!0),T(it,null,bt(u.value,S=>(k(),T("div",{key:S.t,class:"card",id:`u-${S.t}`,style:Dt(`--sev:var(--${d(Il)[d(Ns)(S.ostate)||(S.lvl==="bad"?"bad":"warn")]})`)},[r("div",Hh,[r("a",{class:"unit",href:`/turbine/${S.t}`},p(d(At)(S.t)),9,Rh),r("span",Nh,p(S.part||""),1),r("span",{class:Qt(["chip",d(Ns)(S.ostate)||(S.lvl==="bad"?"bad":"warn")])},p(d(Dl)(S.ostate||(S.lvl==="bad"?"危险":"报警"))),3)]),r("details",Bh,[r("summary",null,p(d(a)("ov.evidence")),1),r("div",Wh,p(_(S)),1)]),r("div",Kh,[S.estate?(k(),T("span",{key:0,class:Qt(["tier",lt(S.estate)]),title:d(a)("tier."+(R[S.estate]||"unknown"))},p(d(Dl)(S.estate)),11,Uh)):mt("",!0),S.srcs&&S.srcs.length?(k(),T("span",Vh,p(S.srcs.length)+" sources",1)):mt("",!0)]),f(S)||S.next?(k(),T("div",zh,[r("b",null,p(d(a)("ov.caveat")),1),ut(p(f(S))+p(f(S)&&S.next?" — ":"")+p(S.next||""),1)])):mt("",!0)],12,Lh))),128))])]),r("section",null,[r("div",Gh,[r("h2",null,p(d(a)("ov.strip")),1),r("span",Yh,p(d(a)("ov.strip_hint")),1),r("div",Jh,[(k(),T(it,null,bt(["bad","warn","unk","ok","ex"],S=>r("span",{key:S},[r("i",{style:Dt(`background:var(--${d(Il)[S]})`)},null,4),ut(p(d(a)(d(Fn)(S))),1)])),64))])]),r("div",{class:"strip",style:Dt(`--n:${$.value.length||38}`)},[r("div",Xh,[$.value.length?(k(!0),T(it,{key:0},bt($.value,S=>(k(),T("div",{key:S.turbine,class:Qt(["cell",[d(Pl)(S),j.value.has(S.turbine)?"hot":""]]),"data-u":S.turbine,title:`${d(At)(S.turbine)} ${d(a)(d(Fn)(d(Pl)(S)))}`},null,10,Zh))),128)):(k(),T("div",Qh,p(s.value.gap||d(a)("ov.fus_gap_hint")),1))]),r("div",tm,[(k(!0),T(it,null,bt($.value,S=>(k(),T("span",{key:`n-${S.turbine}`,class:Qt(j.value.has(S.turbine)?"hot":"")},p(d(At)(S.turbine).replace("#","")),3))),128))]),r("div",em,p(u.value.length?d(a)("ov.quiet",{n:Math.max(0,($.value.length||38)-u.value.length)}):d(a)("ov.quiet_all",{n:$.value.length||38})),1)],4)]),r("section",null,[r("div",sm,[r("h2",null,p(d(a)("ov.systems")),1),r("span",nm,p(d(a)("ov.systems_hint")),1)]),r("div",lm,[(k(!0),T(it,null,bt(v.value,S=>(k(),T("div",{key:S.name,class:"sysc"},[r("div",om,[r("b",null,p(S.name),1),r("a",{href:`#tab=component&sys=${encodeURIComponent(S.slug)}`},p(d(a)("ui.open")),9,am)]),r("div",im,[(k(!0),T(it,null,bt(S.seg,B=>(k(),T("i",{key:B.k,style:Dt(`width:${(S.dist[B.k]/S.n*100).toFixed(1)}%;background:var(--${B.v})`)},null,4))),128))]),r("div",rm,[(k(!0),T(it,null,bt(S.seg,B=>(k(),T("span",{key:`c-${B.k}`},[r("i",{style:Dt(`background:var(--${B.v})`)},null,4),ut(p(S.dist[B.k]),1)]))),128))])]))),128))])])],64))}}),um={class:"page-head"},dm={key:12,class:"card"},pm={class:"hint"},fm=Wt({__name:"Workbench",props:{d:{},tab:{},sys:{},sub:{},cms:{},curves:{},apis:{},win:{}},emits:["tab","sub","win","reselect","refresh"],setup(t,{emit:e}){const s=t,n=e,l=gt(""),o=gt(""),c=gt("");Re(()=>s.win,u=>{l.value=u||"";const _=String(u||"").split("~");_.length===2&&(o.value=_[0],c.value=_[1])},{immediate:!0});const i=z(()=>!En.includes(s.tab));return(u,_)=>(k(),T(it,null,[r("div",um,[r("h1",null,p(d(a)("tab."+t.tab)),1)]),t.tab==="overview"?(k(),Ht(cm,{key:0,d:t.d},null,8,["d"])):t.tab==="energy"?(k(),Ht(rd,{key:1,d:t.d},null,8,["d"])):t.tab==="component"?(k(),Ht(bu,{key:2,d:t.d,sys:t.sys},null,8,["d","sys"])):t.tab==="fault"?(k(),Ht(Yd,{key:3,d:t.d},null,8,["d"])):t.tab==="vibration"?(k(),Ht(tp,{key:4,d:t.d,sub:t.sub,cms:t.cms,onSub:_[0]||(_[0]=f=>n("sub",f))},null,8,["d","sub","cms"])):t.tab==="generation"?(k(),Ht(Fp,{key:5,d:t.d,curves:t.curves,pending:!!t.d.m9_pending},null,8,["d","curves","pending"])):t.tab==="decision"?(k(),Ht(zp,{key:6,d:t.d,apis:t.apis},null,8,["d","apis"])):t.tab==="assistant"?(k(),Ht(ff,{key:7,d:t.d},null,8,["d"])):t.tab==="system"?(k(),Ht(Nf,{key:8,apis:t.apis,onRefresh:_[1]||(_[1]=f=>n("refresh"))},null,8,["apis"])):t.tab==="report"?(k(),Ht(Mh,{key:9,d:t.d,apis:t.apis},null,8,["d","apis"])):t.tab==="documents"?(k(),Ht(oc,{key:10})):t.tab==="portal_src"?(k(),Ht(Yo,{key:11})):i.value?(k(),T("section",dm,[r("h2",null,[ut(p(d(a)("tab."+t.tab))+" ",1),_[2]||(_[2]=r("small",null,"(本页签尚未迁移到 Vue)",-1))]),r("p",pm,[_[3]||(_[3]=ut(" 迁移纪律:页签逐个搬,每搬一个就用 ",-1)),_[4]||(_[4]=r("code",null,"tools/render_parity.mjs",-1)),_[5]||(_[5]=ut(" 与重构前页面 (现网 ",-1)),_[6]||(_[6]=r("code",null,"/detail/v2",-1)),ut(")对拍文案/数值/类名序列,**通过后**才删对应的 Python 前端源码。 当前已迁移:"+p(d(En).join("、"))+"。 ",1)])])):mt("",!0)],64))}}),hm=Go(fm,[["__scopeId","data-v-3ea55616"]]),mm={key:1,class:"wrap"},_m={class:"top"},vm={class:"right"},gm=["title"],bm=["title"],ym={class:"small muted",for:"win"},$m=["aria-label","value"],xm=["label"],wm=["value"],km=["label"],Mm=["value"],Sm=["label"],Tm=["value"],Cm=["title"],Em=["aria-label"],Fm=["aria-label"],Om={class:"tabs",id:"tabs"},Am=["onClick"],jm={key:0,class:"todo"},qm={key:0,id:"root"},Dm={key:0,class:"panel mb",style:{"border-color":"var(--warning,#B7791F)"}},Pm={class:"small",style:{margin:"0",color:"var(--warning,#B7791F)"}},Im={key:0,class:"hint",style:{padding:"0 18px"}},Lm={key:1,class:"hint",style:{padding:"0 18px",color:"var(--bad)"}},Hm={key:3,class:"card"},Rm=Wt({__name:"App",setup(t){const e=location.hash.replace("#",""),s=(e.match(/^tab=([a-z_]+)/)||[])[1]||"",n=(e.match(/^tab=[a-z_]+:([a-z_]+)/)||[])[1]||"",l=/\/detail\/v2\/?$/.test(location.pathname),o=gt(l||e==="workbench"||s?"workbench":"portal"),c=gt(!1);function i(A){o.value=A;try{location.hash=A==="portal"?"":A}catch{}}const u=gt("overview");s&&(u.value=s);const _=gt(null);n&&(_.value=n);const f=gt(null),m=gt(""),v=[["近30日","win.30d"],["近90日","win.90d"],["2026年","win.2026"],["2026H1","win.2026H1"],["2025H2","win.2025H2"],["全程","win.all"]],$={近30日:"30d",近90日:"90d","2026年":"2026","2026H1":"2026H1","2025H2":"2025H2",全程:"all"},j=z(()=>m.value||""),R=z(()=>/^\d{4}-\d{2}-\d{2}~\d{4}-\d{2}-\d{2}$/.test(j.value)),X=z(()=>((f.value||{}).all_months||[]).slice().reverse()),lt=gt(""),L=gt("");function K(A){const q=A.target.value;m.value=$[q]||q}function S(){lt.value&&L.value&&(m.value=lt.value+"~"+L.value)}const B=gt(!1),ct=gt(""),Ct={system:["/api/maint_survey"],decision:["/api/ask_models"],report:["/api/ask_models"],generation:["/api/curves"]},Ot=gt({}),Xt=gt(null);async function zt(A){const q=Ct[A]||[];for(const O of q){if(O==="/api/curves"){if(Xt.value)continue}else if(Ot.value[O]!==void 0)continue;try{const N=await(await fetch(O)).json();O==="/api/curves"?Xt.value=N:Ot.value={...Ot.value,[O]:N}}catch(C){Ot.value={...Ot.value,[O]:{error:String(C?.message||C)}}}}}Re(u,A=>{o.value==="workbench"&&zt(A)},{immediate:!0});async function E(){Ot.value={},Xt.value=null,await J(),await zt(u.value)}async function J(){B.value=!0,ct.value="",c.value=!1;const A=m.value?`?win=${encodeURIComponent(m.value)}`:"";try{const q=await fetch("/api/fleet"+A);if(q.ok){const O=await q.json();f.value=O,O?.win&&(m.value=O.win)}else f.value={},c.value=!0}catch{f.value={},c.value=!0}B.value=!1}Re(m,A=>{A&&A!==f.value?.win&&J()});function Z(){u.value="overview",_.value=null,J()}return We(()=>{J(),window.addEventListener("hashchange",()=>{const A=location.hash.replace("#",""),q=(A.match(/^tab=([a-z_]+)/)||[])[1]||"";A==="workbench"||q?(o.value="workbench",q&&(u.value=q)):A||(o.value="portal")})}),(A,q)=>o.value==="portal"?(k(),Ht(Yo,{key:0})):(k(),T("div",mm,[r("header",_m,[q[7]||(q[7]=r("span",{class:"mark"},"≋",-1)),q[8]||(q[8]=r("span",{class:"brand"},[ut("观澜"),r("small",null,"WIND ASSET INTELLIGENCE")],-1)),r("div",vm,[r("a",{class:"back-portal",href:"#",title:d(a)("ui.back_portal"),onClick:q[0]||(q[0]=Sr(O=>i("portal"),["prevent"]))},p(d(a)("ui.back_portal")),9,gm),r("button",{type:"button",class:"reselect",title:d(a)("ui.reselect"),onClick:Z},p(d(a)("ui.reselect")),9,bm),r("label",ym,p(d(a)("win.label")),1),r("select",{id:"win","aria-label":d(a)("win.label"),value:j.value,onChange:K},[r("optgroup",{label:d(a)("win.presets")},[(k(),T(it,null,bt(v,([O,C])=>r("option",{key:O,value:O},p(d(a)(C)),9,wm)),64))],8,xm),R.value?(k(),T("optgroup",{key:0,label:d(a)("win.custom")},[r("option",{value:j.value},p(d(a)("win.custom_sel",{a:j.value.split("~")[0],b:j.value.split("~")[1]})),9,Mm)],8,km)):mt("",!0),X.value.length?(k(),T("optgroup",{key:1,label:d(a)("win.months")},[(k(!0),T(it,null,bt(X.value,O=>(k(),T("option",{key:O,value:O},p(O),9,Tm))),128))],8,Sm)):mt("",!0)],40,$m),r("span",{class:"winrng",title:d(a)("win.custom_hint")},[wn(r("input",{type:"date","aria-label":d(a)("win.from"),"onUpdate:modelValue":q[1]||(q[1]=O=>lt.value=O)},null,8,Em),[[Ol,lt.value]]),q[6]||(q[6]=r("span",{class:"muted"},"~",-1)),wn(r("input",{type:"date","aria-label":d(a)("win.to"),"onUpdate:modelValue":q[2]||(q[2]=O=>L.value=O)},null,8,Fm),[[Ol,L.value]]),r("button",{type:"button",onClick:S},p(d(a)("win.apply")),1)],8,Cm)])]),r("nav",Om,[(k(!0),T(it,null,bt(d(Nr),O=>(k(),T("button",{key:O,class:Qt({on:O===u.value}),onClick:C=>u.value=O},[ut(p(d(a)("tab."+O)),1),d(En).includes(O)?mt("",!0):(k(),T("sup",jm,"迁移中"))],10,Am))),128))]),o.value!=="portal"?(k(),T("main",qm,[c.value?(k(),T("div",Dm,[r("p",Pm,p(d(a)("app.data_missing")),1)])):mt("",!0),o.value==="workbench"?(k(),T(it,{key:1},[B.value?(k(),T("p",Im,"取数中(/api/fleet)…")):ct.value?(k(),T("p",Lm,"取数失败:"+p(ct.value),1)):f.value?(k(),Ht(hm,{key:2,d:f.value,tab:u.value,sub:_.value,onTab:q[3]||(q[3]=O=>u.value=O),onSub:q[4]||(q[4]=O=>_.value=O),win:m.value,onWin:q[5]||(q[5]=O=>{m.value=O}),onReselect:Z,apis:Ot.value,curves:Xt.value,onRefresh:E},null,8,["d","tab","sub","win","apis","curves"])):mt("",!0)],64)):o.value==="smoke"?(k(),Ht(Hr,{key:2})):(k(),T("section",Hm,[...q[9]||(q[9]=[Bi("<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)])]))])):mt("",!0),q[10]||(q[10]=r("footer",{id:"foot",class:"small muted",style:{"margin-top":"36px"}},null,-1))]))}});Or(Rm).mount("#app");