import{z as el,C as tl,D as kt,E as ll,F as nl,G as ol,H as al,f as xt,b as ft,B as rl,V as sl,h as il,a as ie,s as le,j as vt,x as At}from"./main.js";import{B as _e,H as T,aG as dl,ay as qe,ax as _t,b0 as ul,j,aY as Fe,bM as fl,bj as ct,r as q,an as Bt,ap as cl,aq as pl,aO as ml,aV as vl,am as _l,bN as bl,ar as Pe,as as I,av as te,au as ee,a_ as gl,bO as hl,bF as Dt,b as tt,aI as Ft,w as wt,n as rt,u as kl,aC as yt,J as Pt,b4 as xl,aD as wl,aL as Ie,v as ot,y as at,z as yl,c as J,b3 as he,A as Cl,b5 as Sl,b8 as pt,b2 as Rl,at as Ul,D as $l,bt as S,bu as V,bv as t,bw as e,bo as l,i as lt,k as d,br as ke,s as It,by as i,bC as Y,F as de,bE as oe,bD as ze,bx as Q,b9 as pe,bm as zl,bG as Tl,bK as Ct,bI as Al,aX as Bl}from"./_plugin-vue_export-helper.js";import{b as Me,S as Dl,p as bt,r as st,J as Fl,L as Mt,_ as Pl}from"./op_select.js";import{f as Il,d as Ml,a as ue,c as fe,b as Ol,e as Ot,_ as Vl}from"./SlickOperatorSelect.js";import{g as Nl,a as ce,b as El,_ as xe}from"./Select.js";import{_ as Ll}from"./Alert.js";import{g as Hl}from"./get-slot.js";import{r as jl,s as ql,_ as Ge,a as Ke}from"./RadioGroup.js";import{u as Gl,_ as We}from"./Input.js";import{_ as mt}from"./Avatar.js";import{_ as be}from"./HelpText.js";import{g as Kl,a as Wl,_ as Yl,b as Xl}from"./Grid.js";import{_ as it}from"./Divider.js";import{_ as He}from"./Tag.js";import{_ as gt}from"./index.js";import{V as Ql}from"./VirtualList.js";const Jl=_e({name:"Search",render(){return T("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",style:"enable-background: new 0 0 512 512"},T("path",{d:`M443.5,420.2L336.7,312.4c20.9-26.2,33.5-59.4,33.5-95.5c0-84.5-68.5-153-153.1-153S64,132.5,64,217s68.5,153,153.1,153
  c36.6,0,70.1-12.8,96.5-34.2l106.1,107.1c3.2,3.4,7.6,5.1,11.9,5.1c4.1,0,8.2-1.5,11.3-4.5C449.5,437.2,449.7,426.8,443.5,420.2z
   M217.1,337.1c-32.1,0-62.3-12.5-85-35.2c-22.7-22.7-35.2-52.9-35.2-84.9c0-32.1,12.5-62.3,35.2-84.9c22.7-22.7,52.9-35.2,85-35.2
  c32.1,0,62.3,12.5,85,35.2c22.7,22.7,35.2,52.9,35.2,84.9c0,32.1-12.5,62.3-35.2,84.9C279.4,324.6,249.2,337.1,217.1,337.1z`}))}}),Zl=_e({name:"RadioButton",props:jl,setup:ql,render(){const{mergedClsPrefix:a}=this;return T("label",{class:[`${a}-radio-button`,this.mergedDisabled&&`${a}-radio-button--disabled`,this.renderSafeChecked&&`${a}-radio-button--checked`,this.focus&&[`${a}-radio-button--focus`]]},T("input",{ref:"inputRef",type:"radio",class:`${a}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),T("div",{class:`${a}-radio-button__state-border`}),dl(this.$slots.default,f=>!f&&!this.label?null:T("div",{ref:"labelRef",class:`${a}-radio__label`},f||this.label)))}});function en(){return el}const tn={name:"Flex",self:en},ln=Object.assign(Object.assign({},qe.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrap:{type:Boolean,default:!0}}),Oe=_e({name:"Flex",props:ln,setup(a){const{mergedClsPrefixRef:f,mergedRtlRef:o}=_t(a),p=qe("Flex","-flex",void 0,tn,a,f);return{rtlEnabled:ul("Flex",o,f),mergedClsPrefix:f,margin:j(()=>{const{size:r}=a;if(Array.isArray(r))return{horizontal:r[0],vertical:r[1]};if(typeof r=="number")return{horizontal:r,vertical:r};const{self:{[Fe("gap",r)]:g}}=p.value,{row:_,col:x}=fl(g);return{horizontal:ct(x),vertical:ct(_)}})}},render(){const{vertical:a,reverse:f,align:o,inline:p,justify:s,margin:r,wrap:g,mergedClsPrefix:_,rtlEnabled:x}=this,c=tl(Hl(this),!1);return c.length?T("div",{role:"none",class:[`${_}-flex`,x&&`${_}-flex--rtl`],style:{display:p?"inline-flex":"flex",flexDirection:a&&!f?"column":a&&f?"column-reverse":!a&&f?"row-reverse":"row",justifyContent:s,flexWrap:!g||a?"nowrap":"wrap",alignItems:o,gap:`${r.vertical}px ${r.horizontal}px`}},c):null}}),nn=Object.assign(Object.assign({},Kl),Il),on=_e({__GRID_ITEM__:!0,name:"FormItemGridItem",alias:["FormItemGi"],props:nn,setup(){const a=q(null);return{formItemInstRef:a,validate:(...p)=>{const{value:s}=a;if(s)return s.validate(...p)},restoreValidation:()=>{const{value:p}=a;p&&p.restoreValidation()}}},render(){return T(Yl,kt(this.$.vnode.props||{},Wl),{default:()=>{const a=kt(this.$props,Ml);return T(ue,Object.assign({ref:"formItemInstRef"},a),this.$slots)}})}});function an(a){const f="rgba(0, 0, 0, .85)",o="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:p,primaryColor:s,baseColor:r,cardColor:g,modalColor:_,popoverColor:x,borderRadius:c,fontSize:U,opacityDisabled:C}=a;return Object.assign(Object.assign({},ll),{fontSize:U,markFontSize:U,railColor:p,railColorHover:p,fillColor:s,fillColorHover:s,opacityDisabled:C,handleColor:"#FFF",dotColor:g,dotColorModal:_,dotColorPopover:x,handleBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowHover:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowActive:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",handleBoxShadowFocus:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",indicatorColor:f,indicatorBoxShadow:o,indicatorTextColor:r,indicatorBorderRadius:c,dotBorder:`2px solid ${p}`,dotBorderActive:`2px solid ${s}`,dotBoxShadow:""})}const rn={name:"Slider",common:Bt,self:an};function sn(a){const{fontWeight:f,fontSizeLarge:o,fontSizeMedium:p,fontSizeSmall:s,heightLarge:r,heightMedium:g,borderRadius:_,cardColor:x,tableHeaderColor:c,textColor1:U,textColorDisabled:C,textColor2:$,textColor3:u,borderColor:w,hoverColor:z,closeColorHover:R,closeColorPressed:M,closeIconColor:N,closeIconColorHover:B,closeIconColorPressed:D}=a;return Object.assign(Object.assign({},al),{itemHeightSmall:g,itemHeightMedium:g,itemHeightLarge:r,fontSizeSmall:s,fontSizeMedium:p,fontSizeLarge:o,borderRadius:_,dividerColor:w,borderColor:w,listColor:x,headerColor:_l(x,c),titleTextColor:U,titleTextColorDisabled:C,extraTextColor:u,extraTextColorDisabled:C,itemTextColor:$,itemTextColorDisabled:C,itemColorPending:z,titleFontWeight:f,closeColorHover:R,closeColorPressed:M,closeIconColor:N,closeIconColorHover:B,closeIconColorPressed:D})}const dn=cl({name:"Transfer",common:Bt,peers:{Checkbox:nl,Scrollbar:pl,Input:ml,Empty:ol,Button:vl},self:sn});function St(a){return window.TouchEvent&&a instanceof window.TouchEvent}function Rt(){const a=new Map,f=o=>p=>{a.set(o,p)};return bl(()=>{a.clear()}),[a,f]}const un=Pe([I("slider",`
 display: block;
 padding: calc((var(--n-handle-size) - var(--n-rail-height)) / 2) 0;
 position: relative;
 z-index: 0;
 width: 100%;
 cursor: pointer;
 user-select: none;
 -webkit-user-select: none;
 `,[te("reverse",[I("slider-handles",[I("slider-handle-wrapper",`
 transform: translate(50%, -50%);
 `)]),I("slider-dots",[I("slider-dot",`
 transform: translateX(50%, -50%);
 `)]),te("vertical",[I("slider-handles",[I("slider-handle-wrapper",`
 transform: translate(-50%, -50%);
 `)]),I("slider-marks",[I("slider-mark",`
 transform: translateY(calc(-50% + var(--n-dot-height) / 2));
 `)]),I("slider-dots",[I("slider-dot",`
 transform: translateX(-50%) translateY(0);
 `)])])]),te("vertical",`
 padding: 0 calc((var(--n-handle-size) - var(--n-rail-height)) / 2);
 width: var(--n-rail-width-vertical);
 height: 100%;
 `,[I("slider-handles",`
 top: calc(var(--n-handle-size) / 2);
 right: 0;
 bottom: calc(var(--n-handle-size) / 2);
 left: 0;
 `,[I("slider-handle-wrapper",`
 top: unset;
 left: 50%;
 transform: translate(-50%, 50%);
 `)]),I("slider-rail",`
 height: 100%;
 `,[ee("fill",`
 top: unset;
 right: 0;
 bottom: unset;
 left: 0;
 `)]),te("with-mark",`
 width: var(--n-rail-width-vertical);
 margin: 0 32px 0 8px;
 `),I("slider-marks",`
 top: calc(var(--n-handle-size) / 2);
 right: unset;
 bottom: calc(var(--n-handle-size) / 2);
 left: 22px;
 font-size: var(--n-mark-font-size);
 `,[I("slider-mark",`
 transform: translateY(50%);
 white-space: nowrap;
 `)]),I("slider-dots",`
 top: calc(var(--n-handle-size) / 2);
 right: unset;
 bottom: calc(var(--n-handle-size) / 2);
 left: 50%;
 `,[I("slider-dot",`
 transform: translateX(-50%) translateY(50%);
 `)])]),te("disabled",`
 cursor: not-allowed;
 opacity: var(--n-opacity-disabled);
 `,[I("slider-handle",`
 cursor: not-allowed;
 `)]),te("with-mark",`
 width: 100%;
 margin: 8px 0 32px 0;
 `),Pe("&:hover",[I("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[ee("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),I("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),te("active",[I("slider-rail",{backgroundColor:"var(--n-rail-color-hover)"},[ee("fill",{backgroundColor:"var(--n-fill-color-hover)"})]),I("slider-handle",{boxShadow:"var(--n-handle-box-shadow-hover)"})]),I("slider-marks",`
 position: absolute;
 top: 18px;
 left: calc(var(--n-handle-size) / 2);
 right: calc(var(--n-handle-size) / 2);
 `,[I("slider-mark",`
 position: absolute;
 transform: translateX(-50%);
 white-space: nowrap;
 `)]),I("slider-rail",`
 width: 100%;
 position: relative;
 height: var(--n-rail-height);
 background-color: var(--n-rail-color);
 transition: background-color .3s var(--n-bezier);
 border-radius: calc(var(--n-rail-height) / 2);
 `,[ee("fill",`
 position: absolute;
 top: 0;
 bottom: 0;
 border-radius: calc(var(--n-rail-height) / 2);
 transition: background-color .3s var(--n-bezier);
 background-color: var(--n-fill-color);
 `)]),I("slider-handles",`
 position: absolute;
 top: 0;
 right: calc(var(--n-handle-size) / 2);
 bottom: 0;
 left: calc(var(--n-handle-size) / 2);
 `,[I("slider-handle-wrapper",`
 outline: none;
 position: absolute;
 top: 50%;
 transform: translate(-50%, -50%);
 cursor: pointer;
 display: flex;
 `,[I("slider-handle",`
 height: var(--n-handle-size);
 width: var(--n-handle-size);
 border-radius: 50%;
 overflow: hidden;
 transition: box-shadow .2s var(--n-bezier), background-color .3s var(--n-bezier);
 background-color: var(--n-handle-color);
 box-shadow: var(--n-handle-box-shadow);
 `,[Pe("&:hover",`
 box-shadow: var(--n-handle-box-shadow-hover);
 `)]),Pe("&:focus",[I("slider-handle",`
 box-shadow: var(--n-handle-box-shadow-focus);
 `,[Pe("&:hover",`
 box-shadow: var(--n-handle-box-shadow-active);
 `)])])])]),I("slider-dots",`
 position: absolute;
 top: 50%;
 left: calc(var(--n-handle-size) / 2);
 right: calc(var(--n-handle-size) / 2);
 `,[te("transition-disabled",[I("slider-dot","transition: none;")]),I("slider-dot",`
 transition:
 border-color .3s var(--n-bezier),
 box-shadow .3s var(--n-bezier),
 background-color .3s var(--n-bezier);
 position: absolute;
 transform: translate(-50%, -50%);
 height: var(--n-dot-height);
 width: var(--n-dot-width);
 border-radius: var(--n-dot-border-radius);
 overflow: hidden;
 box-sizing: border-box;
 border: var(--n-dot-border);
 background-color: var(--n-dot-color);
 `,[te("active","border: var(--n-dot-border-active);")])])]),I("slider-handle-indicator",`
 font-size: var(--n-font-size);
 padding: 6px 10px;
 border-radius: var(--n-indicator-border-radius);
 color: var(--n-indicator-text-color);
 background-color: var(--n-indicator-color);
 box-shadow: var(--n-indicator-box-shadow);
 `,[xt()]),I("slider-handle-indicator",`
 font-size: var(--n-font-size);
 padding: 6px 10px;
 border-radius: var(--n-indicator-border-radius);
 color: var(--n-indicator-text-color);
 background-color: var(--n-indicator-color);
 box-shadow: var(--n-indicator-box-shadow);
 `,[te("top",`
 margin-bottom: 12px;
 `),te("right",`
 margin-left: 12px;
 `),te("bottom",`
 margin-top: 12px;
 `),te("left",`
 margin-right: 12px;
 `),xt()]),gl(I("slider",[I("slider-dot","background-color: var(--n-dot-color-modal);")])),hl(I("slider",[I("slider-dot","background-color: var(--n-dot-color-popover);")]))]),fn=0,cn=Object.assign(Object.assign({},qe.props),{to:ft.propTo,defaultValue:{type:[Number,Array],default:0},marks:Object,disabled:{type:Boolean,default:void 0},formatTooltip:Function,keyboard:{type:Boolean,default:!0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:[Number,String],default:1},range:Boolean,value:[Number,Array],placement:String,showTooltip:{type:Boolean,default:void 0},tooltip:{type:Boolean,default:!0},vertical:Boolean,reverse:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onDragstart:[Function],onDragend:[Function]}),pn=_e({name:"Slider",props:cn,setup(a){const{mergedClsPrefixRef:f,namespaceRef:o,inlineThemeDisabled:p}=_t(a),s=qe("Slider","-slider",un,rn,a,f),r=q(null),[g,_]=Rt(),[x,c]=Rt(),U=q(new Set),C=Dt(a),{mergedDisabledRef:$}=C,u=j(()=>{const{step:v}=a;if(Number(v)<=0||v==="mark")return 0;const k=v.toString();let A=0;return k.includes(".")&&(A=k.length-k.indexOf(".")-1),A}),w=q(a.defaultValue),z=tt(a,"value"),R=Ft(z,w),M=j(()=>{const{value:v}=R;return(a.range?v:[v]).map(Be)}),N=j(()=>M.value.length>2),B=j(()=>a.placement===void 0?a.vertical?"right":"top":a.placement),D=j(()=>{const{marks:v}=a;return v?Object.keys(v).map(Number.parseFloat):null}),b=q(-1),h=q(-1),F=q(-1),n=q(!1),P=q(!1),Z=j(()=>{const{vertical:v,reverse:k}=a;return v?k?"top":"bottom":k?"right":"left"}),ae=j(()=>{if(N.value)return;const v=M.value,k=ge(a.range?Math.min(...v):a.min),A=ge(a.range?Math.max(...v):v[0]),{value:E}=Z;return a.vertical?{[E]:`${k}%`,height:`${A-k}%`}:{[E]:`${k}%`,width:`${A-k}%`}}),y=j(()=>{const v=[],{marks:k}=a;if(k){const A=M.value.slice();A.sort((re,se)=>re-se);const{value:E}=Z,{value:W}=N,{range:ne}=a,ve=W?()=>!1:re=>ne?re>=A[0]&&re<=A[A.length-1]:re<=A[0];for(const re of Object.keys(k)){const se=Number(re);v.push({active:ve(se),label:k[re],style:{[E]:`${ge(se)}%`}})}}return v});function X(v,k){const A=ge(v),{value:E}=Z;return{[E]:`${A}%`,zIndex:k===b.value?1:0}}function K(v){return a.showTooltip||F.value===v||b.value===v&&n.value}function L(v){return n.value?!(b.value===v&&h.value===v):!0}function O(v){var k;~v&&(b.value=v,(k=g.get(v))===null||k===void 0||k.focus())}function G(){x.forEach((v,k)=>{K(k)&&v.syncPosition()})}function H(v){const{"onUpdate:value":k,onUpdateValue:A}=a,{nTriggerFormInput:E,nTriggerFormChange:W}=C;A&&Ie(A,v),k&&Ie(k,v),w.value=v,E(),W()}function me(v){const{range:k}=a;if(k){if(Array.isArray(v)){const{value:A}=M;v.join()!==A.join()&&H(v)}}else Array.isArray(v)||M.value[0]!==v&&H(v)}function Te(v,k){if(a.range){const A=M.value.slice();A.splice(k,1,v),me(A)}else me(v)}function Ae(v,k,A){const E=A!==void 0;A||(A=v-k>0?1:-1);const W=D.value||[],{step:ne}=a;if(ne==="mark"){const se=we(v,W.concat(k),E?A:void 0);return se?se.value:k}if(ne<=0)return k;const{value:ve}=u;let re;if(E){const se=Number((k/ne).toFixed(ve)),$e=Math.floor(se),dt=se>$e?$e:$e-1,ut=se<$e?$e:$e+1;re=we(k,[Number((dt*ne).toFixed(ve)),Number((ut*ne).toFixed(ve)),...W],A)}else{const se=Ye(v);re=we(v,[...W,se])}return re?Be(re.value):k}function Be(v){return Math.min(a.max,Math.max(a.min,v))}function ge(v){const{max:k,min:A}=a;return(v-A)/(k-A)*100}function Ve(v){const{max:k,min:A}=a;return A+(k-A)*v}function Ye(v){const{step:k,min:A}=a;if(Number(k)<=0||k==="mark")return v;const E=Math.round((v-A)/k)*k+A;return Number(E.toFixed(u.value))}function we(v,k=D.value,A){if(!(k!=null&&k.length))return null;let E=null,W=-1;for(;++W<k.length;){const ne=k[W]-v,ve=Math.abs(ne);(A===void 0||ne*A>0)&&(E===null||ve<E.distance)&&(E={index:W,distance:ve,value:k[W]})}return E}function Ne(v){const k=r.value;if(!k)return;const A=St(v)?v.touches[0]:v,E=k.getBoundingClientRect();let W;return a.vertical?W=(E.bottom-A.clientY)/E.height:W=(A.clientX-E.left)/E.width,a.reverse&&(W=1-W),Ve(W)}function Xe(v){if($.value||!a.keyboard)return;const{vertical:k,reverse:A}=a;switch(v.key){case"ArrowUp":v.preventDefault(),ye(k&&A?-1:1);break;case"ArrowRight":v.preventDefault(),ye(!k&&A?-1:1);break;case"ArrowDown":v.preventDefault(),ye(k&&A?1:-1);break;case"ArrowLeft":v.preventDefault(),ye(!k&&A?1:-1);break}}function ye(v){const k=b.value;if(k===-1)return;const{step:A}=a,E=M.value[k],W=Number(A)<=0||A==="mark"?E:E+A*v;Te(Ae(W,E,v>0?1:-1),k)}function Qe(v){var k,A;if($.value||!St(v)&&v.button!==fn)return;const E=Ne(v);if(E===void 0)return;const W=M.value.slice(),ne=a.range?(A=(k=we(E,W))===null||k===void 0?void 0:k.index)!==null&&A!==void 0?A:-1:0;ne!==-1&&(v.preventDefault(),O(ne),Je(),Te(Ae(E,M.value[ne]),ne))}function Je(){n.value||(n.value=!0,a.onDragstart&&Ie(a.onDragstart),ot("touchend",document,Re),ot("mouseup",document,Re),ot("touchmove",document,Se),ot("mousemove",document,Se))}function Ce(){n.value&&(n.value=!1,a.onDragend&&Ie(a.onDragend),at("touchend",document,Re),at("mouseup",document,Re),at("touchmove",document,Se),at("mousemove",document,Se))}function Se(v){const{value:k}=b;if(!n.value||k===-1){Ce();return}const A=Ne(v);A!==void 0&&Te(Ae(A,M.value[k]),k)}function Re(){Ce()}function Ze(v){b.value=v,$.value||(F.value=v)}function et(v){b.value===v&&(b.value=-1,Ce()),F.value===v&&(F.value=-1)}function m(v){F.value=v}function De(v){F.value===v&&(F.value=-1)}wt(b,(v,k)=>void rt(()=>h.value=k)),wt(R,()=>{if(a.marks){if(P.value)return;P.value=!0,rt(()=>{P.value=!1})}rt(G)}),kl(()=>{Ce()});const Ue=j(()=>{const{self:{markFontSize:v,railColor:k,railColorHover:A,fillColor:E,fillColorHover:W,handleColor:ne,opacityDisabled:ve,dotColor:re,dotColorModal:se,handleBoxShadow:$e,handleBoxShadowHover:dt,handleBoxShadowActive:ut,handleBoxShadowFocus:Et,dotBorder:Lt,dotBoxShadow:Ht,railHeight:jt,railWidthVertical:qt,handleSize:Gt,dotHeight:Kt,dotWidth:Wt,dotBorderRadius:Yt,fontSize:Xt,dotBorderActive:Qt,dotColorPopover:Jt},common:{cubicBezierEaseInOut:Zt}}=s.value;return{"--n-bezier":Zt,"--n-dot-border":Lt,"--n-dot-border-active":Qt,"--n-dot-border-radius":Yt,"--n-dot-box-shadow":Ht,"--n-dot-color":re,"--n-dot-color-modal":se,"--n-dot-color-popover":Jt,"--n-dot-height":Kt,"--n-dot-width":Wt,"--n-fill-color":E,"--n-fill-color-hover":W,"--n-font-size":Xt,"--n-handle-box-shadow":$e,"--n-handle-box-shadow-active":ut,"--n-handle-box-shadow-focus":Et,"--n-handle-box-shadow-hover":dt,"--n-handle-color":ne,"--n-handle-size":Gt,"--n-opacity-disabled":ve,"--n-rail-color":k,"--n-rail-color-hover":A,"--n-rail-height":jt,"--n-rail-width-vertical":qt,"--n-mark-font-size":v}}),Ee=p?yt("slider",void 0,Ue,a):void 0,ht=j(()=>{const{self:{fontSize:v,indicatorColor:k,indicatorBoxShadow:A,indicatorTextColor:E,indicatorBorderRadius:W}}=s.value;return{"--n-font-size":v,"--n-indicator-border-radius":W,"--n-indicator-box-shadow":A,"--n-indicator-color":k,"--n-indicator-text-color":E}}),Le=p?yt("slider-indicator",void 0,ht,a):void 0;return{mergedClsPrefix:f,namespace:o,uncontrolledValue:w,mergedValue:R,mergedDisabled:$,mergedPlacement:B,isMounted:Pt(),adjustedTo:ft(a),dotTransitionDisabled:P,markInfos:y,isShowTooltip:K,shouldKeepTooltipTransition:L,handleRailRef:r,setHandleRefs:_,setFollowerRefs:c,fillStyle:ae,getHandleStyle:X,activeIndex:b,arrifiedValues:M,followerEnabledIndexSet:U,handleRailMouseDown:Qe,handleHandleFocus:Ze,handleHandleBlur:et,handleHandleMouseEnter:m,handleHandleMouseLeave:De,handleRailKeyDown:Xe,indicatorCssVars:p?void 0:ht,indicatorThemeClass:Le==null?void 0:Le.themeClass,indicatorOnRender:Le==null?void 0:Le.onRender,cssVars:p?void 0:Ue,themeClass:Ee==null?void 0:Ee.themeClass,onRender:Ee==null?void 0:Ee.onRender}},render(){var a;const{mergedClsPrefix:f,themeClass:o,formatTooltip:p}=this;return(a=this.onRender)===null||a===void 0||a.call(this),T("div",{class:[`${f}-slider`,o,{[`${f}-slider--disabled`]:this.mergedDisabled,[`${f}-slider--active`]:this.activeIndex!==-1,[`${f}-slider--with-mark`]:this.marks,[`${f}-slider--vertical`]:this.vertical,[`${f}-slider--reverse`]:this.reverse}],style:this.cssVars,onKeydown:this.handleRailKeyDown,onMousedown:this.handleRailMouseDown,onTouchstart:this.handleRailMouseDown},T("div",{class:`${f}-slider-rail`},T("div",{class:`${f}-slider-rail__fill`,style:this.fillStyle}),this.marks?T("div",{class:[`${f}-slider-dots`,this.dotTransitionDisabled&&`${f}-slider-dots--transition-disabled`]},this.markInfos.map(s=>T("div",{key:s.label,class:[`${f}-slider-dot`,{[`${f}-slider-dot--active`]:s.active}],style:s.style}))):null,T("div",{ref:"handleRailRef",class:`${f}-slider-handles`},this.arrifiedValues.map((s,r)=>{const g=this.isShowTooltip(r);return T(rl,null,{default:()=>[T(sl,null,{default:()=>T("div",{ref:this.setHandleRefs(r),class:`${f}-slider-handle-wrapper`,tabindex:this.mergedDisabled?-1:0,role:"slider","aria-valuenow":s,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-orientation":this.vertical?"vertical":"horizontal","aria-disabled":this.disabled,style:this.getHandleStyle(s,r),onFocus:()=>{this.handleHandleFocus(r)},onBlur:()=>{this.handleHandleBlur(r)},onMouseenter:()=>{this.handleHandleMouseEnter(r)},onMouseleave:()=>{this.handleHandleMouseLeave(r)}},xl(this.$slots.thumb,()=>[T("div",{class:`${f}-slider-handle`})]))}),this.tooltip&&T(il,{ref:this.setFollowerRefs(r),show:g,to:this.adjustedTo,enabled:this.showTooltip&&!this.range||this.followerEnabledIndexSet.has(r),teleportDisabled:this.adjustedTo===ft.tdkey,placement:this.mergedPlacement,containerClass:this.namespace},{default:()=>T(wl,{name:"fade-in-scale-up-transition",appear:this.isMounted,css:this.shouldKeepTooltipTransition(r),onEnter:()=>{this.followerEnabledIndexSet.add(r)},onAfterLeave:()=>{this.followerEnabledIndexSet.delete(r)}},{default:()=>{var _;return g?((_=this.indicatorOnRender)===null||_===void 0||_.call(this),T("div",{class:[`${f}-slider-handle-indicator`,this.indicatorThemeClass,`${f}-slider-handle-indicator--${this.mergedPlacement}`],style:this.indicatorCssVars},typeof p=="function"?p(s):s)):null}})})]})})),this.marks?T("div",{class:`${f}-slider-marks`},this.markInfos.map(s=>T("div",{key:s.label,class:`${f}-slider-mark`,style:s.style},s.label))):null))}}),nt=yl("n-transfer"),Ut=_e({name:"TransferHeader",props:{size:{type:String,required:!0},selectAllText:String,clearText:String,source:Boolean,onCheckedAll:Function,onClearAll:Function,title:String},setup(a){const{targetOptionsRef:f,canNotSelectAnythingRef:o,canBeClearedRef:p,allCheckedRef:s,mergedThemeRef:r,disabledRef:g,mergedClsPrefixRef:_,srcOptionsLengthRef:x}=J(nt),{localeRef:c}=Gl("Transfer");return()=>{const{source:U,onClearAll:C,onCheckedAll:$,selectAllText:u,clearText:w}=a,{value:z}=r,{value:R}=_,{value:M}=c,N=a.size==="large"?"small":"tiny",{title:B}=a;return T("div",{class:`${R}-transfer-list-header`},B&&T("div",{class:`${R}-transfer-list-header__title`},B),U&&T(he,{class:`${R}-transfer-list-header__button`,theme:z.peers.Button,themeOverrides:z.peerOverrides.Button,size:N,tertiary:!0,onClick:s.value?C:$,disabled:o.value||g.value},{default:()=>s.value?w||M.unselectAll:u||M.selectAll}),!U&&p.value&&T(he,{class:`${R}-transfer-list-header__button`,theme:z.peers.Button,themeOverrides:z.peerOverrides.Button,size:N,tertiary:!0,onClick:C,disabled:g.value},{default:()=>M.clearAll}),T("div",{class:`${R}-transfer-list-header__extra`},U?M.total(x.value):M.selected(f.value.length)))}}}),$t=_e({name:"NTransferListItem",props:{source:Boolean,label:{type:String,required:!0},value:{type:[String,Number],required:!0},disabled:Boolean,option:{type:Object,required:!0}},setup(a){const{targetValueSetRef:f,mergedClsPrefixRef:o,mergedThemeRef:p,handleItemCheck:s,renderSourceLabelRef:r,renderTargetLabelRef:g,showSelectedRef:_}=J(nt),x=Cl(()=>f.value.has(a.value));function c(){a.disabled||s(!x.value,a.value)}return{mergedClsPrefix:o,mergedTheme:p,checked:x,showSelected:_,renderSourceLabel:r,renderTargetLabel:g,handleClick:c}},render(){const{disabled:a,mergedTheme:f,mergedClsPrefix:o,label:p,checked:s,source:r,renderSourceLabel:g,renderTargetLabel:_}=this;return T("div",{class:[`${o}-transfer-list-item`,a&&`${o}-transfer-list-item--disabled`,r?`${o}-transfer-list-item--source`:`${o}-transfer-list-item--target`],onClick:r?this.handleClick:void 0},T("div",{class:`${o}-transfer-list-item__background`}),r&&this.showSelected&&T("div",{class:`${o}-transfer-list-item__checkbox`},T(ce,{theme:f.peers.Checkbox,themeOverrides:f.peerOverrides.Checkbox,disabled:a,checked:s})),T("div",{class:`${o}-transfer-list-item__label`,title:Nl(p)},r?g?g({option:this.option}):p:_?_({option:this.option}):p),!r&&!a&&T(Sl,{focusable:!1,class:`${o}-transfer-list-item__close`,clsPrefix:o,onClick:this.handleClick}))}}),zt=_e({name:"TransferList",props:{virtualScroll:{type:Boolean,required:!0},itemSize:{type:Number,required:!0},options:{type:Array,required:!0},disabled:{type:Boolean,required:!0},source:Boolean},setup(){const{mergedThemeRef:a,mergedClsPrefixRef:f}=J(nt),o=q(null),p=q(null);function s(){var _;(_=o.value)===null||_===void 0||_.sync()}function r(){const{value:_}=p;if(!_)return null;const{listElRef:x}=_;return x}function g(){const{value:_}=p;if(!_)return null;const{itemsElRef:x}=_;return x}return{mergedTheme:a,mergedClsPrefix:f,scrollerInstRef:o,vlInstRef:p,syncVLScroller:s,scrollContainer:r,scrollContent:g}},render(){const{mergedTheme:a,options:f}=this;if(f.length===0)return T(El,{theme:a.peers.Empty,themeOverrides:a.peerOverrides.Empty});const{mergedClsPrefix:o,virtualScroll:p,source:s,disabled:r,syncVLScroller:g}=this;return T(pt,{ref:"scrollerInstRef",theme:a.peers.Scrollbar,themeOverrides:a.peerOverrides.Scrollbar,container:p?this.scrollContainer:void 0,content:p?this.scrollContent:void 0},{default:()=>p?T(Ql,{ref:"vlInstRef",style:{height:"100%"},class:`${o}-transfer-list-content`,items:this.options,itemSize:this.itemSize,showScrollbar:!1,onResize:g,onScroll:g,keyField:"value"},{default:({item:_})=>{const{source:x,disabled:c}=this;return T($t,{source:x,key:_.value,value:_.value,disabled:_.disabled||c,label:_.label,option:_})}}):T("div",{class:`${o}-transfer-list-content`},f.map(_=>T($t,{source:s,key:_.value,value:_.value,disabled:_.disabled||r,label:_.label,option:_})))})}}),Tt=_e({name:"TransferFilter",props:{value:String,placeholder:String,disabled:Boolean,onUpdateValue:{type:Function,required:!0}},setup(){const{mergedThemeRef:a,mergedClsPrefixRef:f}=J(nt);return{mergedClsPrefix:f,mergedTheme:a}},render(){const{mergedTheme:a,mergedClsPrefix:f}=this;return T("div",{class:`${f}-transfer-filter`},T(We,{value:this.value,onUpdateValue:this.onUpdateValue,disabled:this.disabled,placeholder:this.placeholder,theme:a.peers.Input,themeOverrides:a.peerOverrides.Input,clearable:!0,size:"small"},{"clear-icon-placeholder":()=>T(Rl,{clsPrefix:f},{default:()=>T(Jl,null)})}))}});function mn(a){const f=q(a.defaultValue),o=Ft(tt(a,"value"),f),p=j(()=>{const D=new Map;return(a.options||[]).forEach(b=>D.set(b.value,b)),D}),s=j(()=>new Set(o.value||[])),r=j(()=>{const D=p.value,b=[];return(o.value||[]).forEach(h=>{const F=D.get(h);F&&b.push(F)}),b}),g=q(""),_=q(""),x=j(()=>a.sourceFilterable||!!a.filterable),c=j(()=>{const{showSelected:D,options:b,filter:h}=a;return x.value?b.filter(F=>h(g.value,F,"source")&&(D||!s.value.has(F.value))):D?b:b.filter(F=>!s.value.has(F.value))}),U=j(()=>{if(!a.targetFilterable)return r.value;const{filter:D}=a;return r.value.filter(b=>D(_.value,b,"target"))}),C=j(()=>{const{value:D}=o;return D===null?new Set:new Set(D)}),$=j(()=>{const D=new Set(C.value);return c.value.forEach(b=>{!b.disabled&&!D.has(b.value)&&D.add(b.value)}),D}),u=j(()=>{const D=new Set(C.value);return c.value.forEach(b=>{!b.disabled&&D.has(b.value)&&D.delete(b.value)}),D}),w=j(()=>{const D=new Set(C.value);return U.value.forEach(b=>{b.disabled||D.delete(b.value)}),D}),z=j(()=>c.value.every(D=>D.disabled)),R=j(()=>{if(!c.value.length)return!1;const D=C.value;return c.value.every(b=>b.disabled||D.has(b.value))}),M=j(()=>U.value.some(D=>!D.disabled));function N(D){g.value=D??""}function B(D){_.value=D??""}return{uncontrolledValueRef:f,mergedValueRef:o,targetValueSetRef:s,valueSetForCheckAllRef:$,valueSetForUncheckAllRef:u,valueSetForClearRef:w,filteredTgtOptionsRef:U,filteredSrcOptionsRef:c,targetOptionsRef:r,canNotSelectAnythingRef:z,canBeClearedRef:M,allCheckedRef:R,srcPatternRef:g,tgtPatternRef:_,mergedSrcFilterableRef:x,handleSrcFilterUpdateValue:N,handleTgtFilterUpdateValue:B}}const vn=I("transfer",`
 width: 100%;
 font-size: var(--n-font-size);
 height: 300px;
 display: flex;
 flex-wrap: nowrap;
 word-break: break-word;
`,[te("disabled",[I("transfer-list",[I("transfer-list-header",[ee("title",`
 color: var(--n-header-text-color-disabled);
 `),ee("extra",`
 color: var(--n-header-extra-text-color-disabled);
 `)])])]),I("transfer-list",`
 flex: 1;
 min-width: 0;
 height: inherit;
 display: flex;
 flex-direction: column;
 background-clip: padding-box;
 position: relative;
 transition: background-color .3s var(--n-bezier);
 background-color: var(--n-list-color);
 `,[te("source",`
 border-top-left-radius: var(--n-border-radius);
 border-bottom-left-radius: var(--n-border-radius);
 `,[ee("border","border-right: 1px solid var(--n-divider-color);")]),te("target",`
 border-top-right-radius: var(--n-border-radius);
 border-bottom-right-radius: var(--n-border-radius);
 `,[ee("border","border-left: none;")]),ee("border",`
 padding: 0 12px;
 border: 1px solid var(--n-border-color);
 transition: border-color .3s var(--n-bezier);
 pointer-events: none;
 border-radius: inherit;
 position: absolute;
 left: 0;
 right: 0;
 top: 0;
 bottom: 0;
 `),I("transfer-list-header",`
 min-height: var(--n-header-height);
 box-sizing: border-box;
 display: flex;
 padding: 12px 12px 10px 12px;
 align-items: center;
 background-clip: padding-box;
 border-radius: inherit;
 border-bottom-left-radius: 0;
 border-bottom-right-radius: 0;
 line-height: 1.5;
 transition:
 border-color .3s var(--n-bezier),
 background-color .3s var(--n-bezier);
 `,[Pe("> *:not(:first-child)",`
 margin-left: 8px;
 `),ee("title",`
 flex: 1;
 min-width: 0;
 line-height: 1.5;
 font-size: var(--n-header-font-size);
 font-weight: var(--n-header-font-weight);
 transition: color .3s var(--n-bezier);
 color: var(--n-header-text-color);
 `),ee("button",`
 position: relative;
 `),ee("extra",`
 transition: color .3s var(--n-bezier);
 font-size: var(--n-extra-font-size);
 margin-right: 0;
 white-space: nowrap;
 color: var(--n-header-extra-text-color);
 `)]),I("transfer-list-body",`
 flex-basis: 0;
 flex-grow: 1;
 box-sizing: border-box;
 position: relative;
 display: flex;
 flex-direction: column;
 border-radius: inherit;
 border-top-left-radius: 0;
 border-top-right-radius: 0;
 `,[I("transfer-filter",`
 padding: 4px 12px 8px 12px;
 box-sizing: border-box;
 transition:
 border-color .3s var(--n-bezier),
 background-color .3s var(--n-bezier);
 `),I("transfer-list-flex-container",`
 flex: 1;
 position: relative;
 `,[I("scrollbar",`
 position: absolute;
 left: 0;
 right: 0;
 top: 0;
 bottom: 0;
 height: unset;
 `),I("empty",`
 position: absolute;
 left: 50%;
 top: 50%;
 transform: translateY(-50%) translateX(-50%);
 `),I("transfer-list-content",`
 padding: 0;
 margin: 0;
 position: relative;
 `,[I("transfer-list-item",`
 padding: 0 12px;
 min-height: var(--n-item-height);
 display: flex;
 align-items: center;
 color: var(--n-item-text-color);
 position: relative;
 transition: color .3s var(--n-bezier);
 `,[ee("background",`
 position: absolute;
 left: 4px;
 right: 4px;
 top: 0;
 bottom: 0;
 border-radius: var(--n-border-radius);
 transition: background-color .3s var(--n-bezier);
 `),ee("checkbox",`
 position: relative;
 margin-right: 8px;
 `),ee("close",`
 opacity: 0;
 pointer-events: none;
 position: relative;
 transition:
 opacity .3s var(--n-bezier),
 background-color .3s var(--n-bezier),
 color .3s var(--n-bezier);
 `),ee("label",`
 position: relative;
 min-width: 0;
 flex-grow: 1;
 `),te("source","cursor: pointer;"),te("disabled",`
 cursor: not-allowed;
 color: var(--n-item-text-color-disabled);
 `),Ul("disabled",[Pe("&:hover",[ee("background","background-color: var(--n-item-color-pending);"),ee("close",`
 opacity: 1;
 pointer-events: all;
 `)])])])])])])])]),_n=Object.assign(Object.assign({},qe.props),{value:Array,defaultValue:{type:Array,default:null},options:{type:Array,default:()=>[]},disabled:{type:Boolean,default:void 0},virtualScroll:Boolean,sourceTitle:String,selectAllText:String,clearText:String,targetTitle:String,filterable:{type:Boolean,default:void 0},sourceFilterable:Boolean,targetFilterable:Boolean,showSelected:{type:Boolean,default:!0},sourceFilterPlaceholder:String,targetFilterPlaceholder:String,filter:{type:Function,default:(a,f)=>a?~`${f.label}`.toLowerCase().indexOf(`${a}`.toLowerCase()):!0},size:String,renderSourceLabel:Function,renderTargetLabel:Function,renderSourceList:Function,renderTargetList:Function,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]}),bn=_e({name:"Transfer",props:_n,setup(a){const{mergedClsPrefixRef:f}=_t(a),o=qe("Transfer","-transfer",vn,dn,a,f),p=Dt(a),{mergedSizeRef:s,mergedDisabledRef:r}=p,g=j(()=>{const{value:K}=s,{self:{[Fe("itemHeight",K)]:L}}=o.value;return ct(L)}),{uncontrolledValueRef:_,mergedValueRef:x,targetValueSetRef:c,valueSetForCheckAllRef:U,valueSetForUncheckAllRef:C,valueSetForClearRef:$,filteredTgtOptionsRef:u,filteredSrcOptionsRef:w,targetOptionsRef:z,canNotSelectAnythingRef:R,canBeClearedRef:M,allCheckedRef:N,srcPatternRef:B,tgtPatternRef:D,mergedSrcFilterableRef:b,handleSrcFilterUpdateValue:h,handleTgtFilterUpdateValue:F}=mn(a);function n(K){const{onUpdateValue:L,"onUpdate:value":O,onChange:G}=a,{nTriggerFormInput:H,nTriggerFormChange:me}=p;L&&Ie(L,K),O&&Ie(O,K),G&&Ie(G,K),_.value=K,H(),me()}function P(){n([...U.value])}function Z(){n([...C.value])}function ae(){n([...$.value])}function y(K,L){n(K?(x.value||[]).concat(L):(x.value||[]).filter(O=>O!==L))}function X(K){n(K)}return $l(nt,{targetValueSetRef:c,mergedClsPrefixRef:f,disabledRef:r,mergedThemeRef:o,targetOptionsRef:z,canNotSelectAnythingRef:R,canBeClearedRef:M,allCheckedRef:N,srcOptionsLengthRef:j(()=>a.options.length),handleItemCheck:y,renderSourceLabelRef:tt(a,"renderSourceLabel"),renderTargetLabelRef:tt(a,"renderTargetLabel"),showSelectedRef:tt(a,"showSelected")}),{mergedClsPrefix:f,mergedDisabled:r,itemSize:g,isMounted:Pt(),mergedTheme:o,filteredSrcOpts:w,filteredTgtOpts:u,srcPattern:B,tgtPattern:D,mergedSize:s,mergedSrcFilterable:b,handleSrcFilterUpdateValue:h,handleTgtFilterUpdateValue:F,handleSourceCheckAll:P,handleSourceUncheckAll:Z,handleTargetClearAll:ae,handleItemCheck:y,handleChecked:X,cssVars:j(()=>{const{value:K}=s,{common:{cubicBezierEaseInOut:L},self:{borderRadius:O,borderColor:G,listColor:H,titleTextColor:me,titleTextColorDisabled:Te,extraTextColor:Ae,itemTextColor:Be,itemColorPending:ge,itemTextColorDisabled:Ve,titleFontWeight:Ye,closeColorHover:we,closeColorPressed:Ne,closeIconColor:Xe,closeIconColorHover:ye,closeIconColorPressed:Qe,closeIconSize:Je,closeSize:Ce,dividerColor:Se,extraTextColorDisabled:Re,[Fe("extraFontSize",K)]:Ze,[Fe("fontSize",K)]:et,[Fe("titleFontSize",K)]:m,[Fe("itemHeight",K)]:De,[Fe("headerHeight",K)]:Ue}}=o.value;return{"--n-bezier":L,"--n-border-color":G,"--n-border-radius":O,"--n-extra-font-size":Ze,"--n-font-size":et,"--n-header-font-size":m,"--n-header-extra-text-color":Ae,"--n-header-extra-text-color-disabled":Re,"--n-header-font-weight":Ye,"--n-header-text-color":me,"--n-header-text-color-disabled":Te,"--n-item-color-pending":ge,"--n-item-height":De,"--n-item-text-color":Be,"--n-item-text-color-disabled":Ve,"--n-list-color":H,"--n-header-height":Ue,"--n-close-size":Ce,"--n-close-icon-size":Je,"--n-close-color-hover":we,"--n-close-color-pressed":Ne,"--n-close-icon-color":Xe,"--n-close-icon-color-hover":ye,"--n-close-icon-color-pressed":Qe,"--n-divider-color":Se}})}},render(){const{mergedClsPrefix:a,renderSourceList:f,renderTargetList:o,mergedTheme:p,mergedSrcFilterable:s,targetFilterable:r}=this;return T("div",{class:[`${a}-transfer`,this.mergedDisabled&&`${a}-transfer--disabled`],style:this.cssVars},T("div",{class:`${a}-transfer-list ${a}-transfer-list--source`},T(Ut,{source:!0,selectAllText:this.selectAllText,clearText:this.clearText,title:this.sourceTitle,onCheckedAll:this.handleSourceCheckAll,onClearAll:this.handleSourceUncheckAll,size:this.mergedSize}),T("div",{class:`${a}-transfer-list-body`},s?T(Tt,{onUpdateValue:this.handleSrcFilterUpdateValue,value:this.srcPattern,disabled:this.mergedDisabled,placeholder:this.sourceFilterPlaceholder}):null,T("div",{class:`${a}-transfer-list-flex-container`},f?T(pt,{theme:p.peers.Scrollbar,themeOverrides:p.peerOverrides.Scrollbar},{default:()=>f({onCheck:this.handleChecked,checkedOptions:this.filteredTgtOpts,pattern:this.srcPattern})}):T(zt,{source:!0,options:this.filteredSrcOpts,disabled:this.mergedDisabled,virtualScroll:this.virtualScroll,itemSize:this.itemSize}))),T("div",{class:`${a}-transfer-list__border`})),T("div",{class:`${a}-transfer-list ${a}-transfer-list--target`},T(Ut,{onClearAll:this.handleTargetClearAll,size:this.mergedSize,title:this.targetTitle}),T("div",{class:`${a}-transfer-list-body`},r?T(Tt,{onUpdateValue:this.handleTgtFilterUpdateValue,value:this.tgtPattern,disabled:this.mergedDisabled,placeholder:this.sourceFilterPlaceholder}):null,T("div",{class:`${a}-transfer-list-flex-container`},o?T(pt,{theme:p.peers.Scrollbar,themeOverrides:p.peerOverrides.Scrollbar},{default:()=>o({onCheck:this.handleChecked,checkedOptions:this.filteredTgtOpts,pattern:this.tgtPattern})}):T(zt,{options:this.filteredTgtOpts,disabled:this.mergedDisabled,virtualScroll:this.virtualScroll,itemSize:this.itemSize}))),T("div",{class:`${a}-transfer-list__border`})))}}),gn={__name:"SecretFront",setup(a){const f=J("mobile"),o=ie(),{ra_timeout:p,sf_target:s}=le(o),r=[{label:"1A→2A→3A→结局A",value:"结局A"},{label:"1A→2A→3A→结局B",value:"结局B"},{label:"1A→2A→3B→结局C",value:"结局C"},{label:"1A→2B→3C→结局D",value:"结局D"},{label:"1A→2B→3C→结局E",value:"结局E"}];return(g,_)=>{const x=Me,c=ue,U=xe,C=fe;return S(),V(C,{"label-placement":l(f)?"top":"left","show-feedback":!1,"label-width":"72","label-align":"left"},{default:t(()=>[e(c,{label:"超时时长"},{default:t(()=>[e(x,{value:l(p),"onUpdate:value":_[0]||(_[0]=$=>lt(p)?p.value=$:null)},{suffix:t(()=>_[2]||(_[2]=[d("秒")])),_:1},8,["value"])]),_:1}),e(c,{label:"选择路线"},{default:t(()=>[e(U,{value:l(s),"onUpdate:value":_[1]||(_[1]=$=>lt(s)?s.value=$:null),options:r},null,8,["value"])]),_:1})]),_:1},8,["label-placement"])}}},hn={__name:"ReclamationAlgorithm",setup(a){const f=J("mobile"),o=ie(),{ra_timeout:p}=le(o);return(s,r)=>{const g=Me,_=ue,x=fe;return S(),V(x,{"label-placement":l(f)?"top":"left","show-feedback":!1,"label-width":"72","label-align":"left"},{default:t(()=>[e(_,{label:"超时时长"},{default:t(()=>[e(g,{value:l(p),"onUpdate:value":r[0]||(r[0]=c=>lt(p)?p.value=c:null)},{suffix:t(()=>r[1]||(r[1]=[d("秒")])),_:1},8,["value"])]),_:1})]),_:1},8,["label-placement"])}}},kn={class:"sss-container"},xn={key:0,class:"wrapper"},wn={class:"title"},yn={key:1},Cn={__name:"Sss",setup(a){const f=J("mobile"),o=J("axios"),p="/sss-copilot",s=q({exists:!1});It(async()=>{const{data:z}=await o.get(p);s.value=z});function r({event:z}){s.value=JSON.parse(z.target.response)}const g=J("token"),_=q(!1),x=q(""),c=q(!1),U=q(null);function C(){x.value="",_.value=!0,rt(()=>U.value.focus())}async function $(){c.value=!0;const z=x.value.replace("maa://",""),{data:R}=await o.get(`https://prts.maa.plus/copilot/get/${z}`,{transformRequest:[(B,D)=>(delete D.token,JSON.stringify(B))]}),M=new FormData;M.append("copilot",new Blob([R.data.content],{type:"application/json"}));const N=await o.post(p,M);s.value=N.data,_.value=!1,c.value=!1}const u=ie(),{conf:w}=le(u);return(z,R)=>{const M=Ll,N=Ge,B=Oe,D=Ke,b=ue,h=ce,F=We,n=he,P=Ol,Z=Dl,ae=mt,y=fe;return S(),V(B,{vertical:""},{default:t(()=>[e(M,{title:"请检查并修正作业中的错误！",type:"warning"}),e(y,{"label-placement":l(f)?"top":"left","show-feedback":!1,"label-width":"72","label-align":"left"},{default:t(()=>[e(b,{label:"难度选择"},{default:t(()=>[e(D,{value:l(w).sss.mode,"onUpdate:value":R[0]||(R[0]=X=>l(w).sss.mode=X)},{default:t(()=>[e(B,null,{default:t(()=>[e(N,{value:"normal"},{default:t(()=>R[4]||(R[4]=[d("标准补给模式")])),_:1}),e(N,{value:"ex"},{default:t(()=>R[5]||(R[5]=[d("应急补给模式")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),e(b,{"show-label":!1},{default:t(()=>[e(h,{checked:l(w).sss.choose_agent,"onUpdate:checked":R[1]||(R[1]=X=>l(w).sss.choose_agent=X),disabled:!0},{default:t(()=>R[6]||(R[6]=[d(" 自动编队（暂未支持） ")])),_:1},8,["checked"])]),_:1}),e(b,{label:"导入作业"},{default:t(()=>[i("div",kn,[_.value?(S(),Y(de,{key:0},[e(F,{ref_key:"code",ref:U,value:x.value,"onUpdate:value":R[2]||(R[2]=X=>x.value=X),type:"text",placeholder:"maa://114514",disabled:c.value},null,8,["value","disabled"]),e(n,{onClick:$,loading:c.value,disabled:c.value},{default:t(()=>R[7]||(R[7]=[d(" 下载 ")])),_:1},8,["loading","disabled"]),e(n,{onClick:R[3]||(R[3]=X=>_.value=!1)},{default:t(()=>R[8]||(R[8]=[d("取消")])),_:1})],64)):(S(),Y(de,{key:1},[e(n,{style:{"flex-grow":"1"},onClick:C},{default:t(()=>R[9]||(R[9]=[d("输入“神秘代码”")])),_:1}),e(P,{style:{width:"auto","flex-grow":"1"},"trigger-style":"width: 100%",action:p,headers:{token:l(g)},"show-file-list":!1,name:"copilot",onFinish:r},{default:t(()=>[e(n,{style:{width:"100%"}},{default:t(()=>R[10]||(R[10]=[d("选择作业文件")])),_:1})]),_:1},8,["headers"])],64))])]),_:1}),e(b,{label:"作业信息"},{default:t(()=>[e(B,{vertical:""},{default:t(()=>[s.value.exists?(S(),Y("div",xn,[i("div",wn,oe(s.value.title),1),e(Z,{style:{"max-height":"500px"},"content-style":"padding-right: 12px",trigger:"none"},{default:t(()=>[d(oe(s.value.details),1)]),_:1})])):(S(),Y("div",yn,"未选择作业")),(S(!0),Y(de,null,ze(s.value.operators,X=>(S(),V(B,{align:"center"},{default:t(()=>[e(ae,{src:`avatar/${X.name}.webp`},null,8,["src"]),i("div",null,oe(X.name)+"（"+oe(X.skill)+"技能）",1)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1},8,["label-placement"])]),_:1})}}},Sn=ke(Cn,[["__scopeId","data-v-5cd87f70"]]),Rn={__name:"MaaRogue",setup(a){const f=J("mobile"),o=ie(),{maa_rg_theme:p,rogue:s}=le(o),r=vt(),{operators:g}=le(r),_=[{label:"傀影与猩红孤钻",value:"Phantom"},{label:"水月与深蓝之树",value:"Mizuki"},{label:"探索者的银凇止境",value:"Sami"},{label:"萨卡兹的无终奇语",value:"Sarkaz"}],x={Phantom:["研究","指挥","集群","后勤","矛头","突击战术","堡垒战术","远程战术","破坏战术","高规格"],Mizuki:["心胜于物","物尽其用","以人为本","研究","指挥","集群","后勤","矛头","突击战术","堡垒战术","远程战术","破坏战术","高规格"],Sami:["永恒狩猎","生活至上","科学主义","特训","指挥","集群","后勤","矛头","突击战术","堡垒战术","远程战术","破坏战术","高规格"],Sarkaz:["因地制宜","魂灵护送","博闻广记","蓝图测绘","指挥","集群","后勤","矛头","突击战术","堡垒战术","远程战术","破坏战术","高规格"]};for(const u in x)x[u]=x[u].map(w=>({label:w+"分队",value:w+"分队"}));const c=[{label:"先手必胜（先锋、狙击、特种）",value:"先手必胜"},{label:"稳扎稳打（重装、术师、狙击）",value:"稳扎稳打"},{label:"取长补短（近卫、辅助、医疗）",value:"取长补短"},{label:"随心所欲（随机）",value:"随心所欲"}],U=[{label:"刷蜡烛，尽可能稳定地打更多层数",value:0},{label:"刷源石锭，第一层投资完就退出",value:1},{label:"【即将弃用】兼顾",value:2},{label:"刷开局，到达第三层后直接退出",value:4},{label:"刷坍缩范式",value:5}],C=["去量化","去量深化","实质性坍缩","蔓延性坍缩","非线性移动","非线性行动","情绪实体","恐怖实体","泛社会悖论","泛文明悖论","气压异常","气压失序","触发性损伤","触发性危殆","趋同性消耗","趋同性缺失","目空一些","睁眼瞎","图像损坏","一抹黑"],$=[];for(const u of C)$.push({label:u,value:u});return(u,w)=>{const z=xe,R=ue,M=ce,N=fe;return S(),V(N,{"label-placement":l(f)?"top":"left","show-feedback":!1,class:"rogue"},{default:t(()=>[e(R,{label:"主题"},{default:t(()=>[e(z,{value:l(p),"onUpdate:value":w[0]||(w[0]=B=>lt(p)?p.value=B:null),options:_},null,8,["value"])]),_:1}),e(R,{label:"分队"},{default:t(()=>[e(z,{value:l(s).squad,"onUpdate:value":w[1]||(w[1]=B=>l(s).squad=B),options:x[l(p)]},null,8,["value","options"])]),_:1}),e(R,{label:"职业"},{default:t(()=>[e(z,{value:l(s).roles,"onUpdate:value":w[2]||(w[2]=B=>l(s).roles=B),options:c},null,8,["value"])]),_:1}),e(R,{label:"干员"},{default:t(()=>[e(z,{filterable:"",options:l(g),value:l(s).core_char,"onUpdate:value":w[3]||(w[3]=B=>l(s).core_char=B),filter:(B,D)=>l(bt)(D.label,B),"render-label":l(st)},null,8,["options","value","filter","render-label"])]),_:1}),e(R,{"show-label":!1},{default:t(()=>[e(M,{checked:l(s).use_support,"onUpdate:checked":w[4]||(w[4]=B=>l(s).use_support=B)},{default:t(()=>w[9]||(w[9]=[d("开局干员使用助战")])),_:1},8,["checked"])]),_:1}),l(s).use_support?(S(),V(R,{key:0,"show-label":!1},{default:t(()=>[e(M,{checked:l(s).use_nonfriend_support,"onUpdate:checked":w[5]||(w[5]=B=>l(s).use_nonfriend_support=B)},{default:t(()=>w[10]||(w[10]=[d("开局干员使用非好友助战")])),_:1},8,["checked"])]),_:1})):Q("",!0),e(R,{label:"策略"},{default:t(()=>[e(z,{options:U,value:l(s).mode,"onUpdate:value":w[6]||(w[6]=B=>l(s).mode=B)},null,8,["value"])]),_:1}),e(R,{"show-label":!1},{default:t(()=>[e(M,{checked:l(s).refresh_trader_with_dice,"onUpdate:checked":w[7]||(w[7]=B=>l(s).refresh_trader_with_dice=B)},{default:t(()=>w[11]||(w[11]=[d("刷新商店（指路鳞）")])),_:1},8,["checked"])]),_:1}),e(R,{label:"坍缩范式"},{default:t(()=>[e(z,{multiple:"",options:$,value:l(s).expected_collapsal_paradigms,"onUpdate:value":w[8]||(w[8]=B=>l(s).expected_collapsal_paradigms=B)},null,8,["value"])]),_:1})]),_:1},8,["label-placement"])}}},Un={__name:"LongTasks",setup(a){const f=ie(),{conf:o}=le(f),p=J("mobile"),s=[{label:"集成战略 (Maa)",value:"rogue"},{label:"保全派驻",value:"sss"},{label:"生息演算",value:"ra"},{label:"隐秘战线",value:"sf"}];return(r,g)=>{const _=ce,x=be,c=xe,U=Fl,C=on,$=Xl,u=fe,w=Rn,z=Sn,R=hn,M=gn,N=pe;return S(),V(N,null,{header:t(()=>[e(_,{checked:l(o).maa_rg_enable,"onUpdate:checked":g[0]||(g[0]=B=>l(o).maa_rg_enable=B)},{default:t(()=>g[4]||(g[4]=[i("div",{class:"card-title"},"大型任务",-1)])),_:1},8,["checked"]),e(x,null,{default:t(()=>g[5]||(g[5]=[i("div",null,"开始与结束时间设置为相同值时全天开启。",-1),i("div",null,"若结束时间早于开始时间，则表示开启至次日。例如：",-1),i("ul",null,[i("li",null,"23:00开始、8:00结束：表示从23:00至次日8:00执行大型任务；"),i("li",null,"10:00开始、14:00结束：表示从10:00至当日14:00执行大型任务。")],-1)])),_:1}),e(c,{value:l(o).maa_long_task_type,"onUpdate:value":g[1]||(g[1]=B=>l(o).maa_long_task_type=B),options:s},null,8,["value"])]),default:t(()=>[e(u,{"label-placement":l(p)?"top":"left","show-feedback":!1,style:{"margin-bottom":"12px"}},{default:t(()=>[e($,{cols:"2"},{default:t(()=>[e(C,{label:"开始时间"},{default:t(()=>[e(U,{format:"H:mm","formatted-value":l(o).maa_rg_sleep_max,"onUpdate:formattedValue":g[2]||(g[2]=B=>l(o).maa_rg_sleep_max=B)},null,8,["formatted-value"])]),_:1}),e(C,{label:"停止时间"},{default:t(()=>[e(U,{format:"H:mm","formatted-value":l(o).maa_rg_sleep_min,"onUpdate:formattedValue":g[3]||(g[3]=B=>l(o).maa_rg_sleep_min=B)},null,8,["formatted-value"])]),_:1})]),_:1})]),_:1},8,["label-placement"]),l(o).maa_long_task_type=="rogue"?(S(),V(w,{key:0})):l(o).maa_long_task_type=="sss"?(S(),V(z,{key:1})):l(o).maa_long_task_type=="ra"?(S(),V(R,{key:2})):l(o).maa_long_task_type=="sf"?(S(),V(M,{key:3})):Q("",!0)]),_:1})}}};async function $n(){return(await At.get("/dialog/file")).data}async function Vt(){return(await At.get("/dialog/folder")).data}const zn={class:"misc-container"},Tn={__name:"MaaBasic",setup(a){const f=J("axios"),o=J("mobile"),p=ie(),{conf:s}=le(p);async function r(){const C=await Vt();C&&(s.value.maa_path=C)}const g=q("");async function _(){g.value="正在测试……";const C=await f.get("/check-maa");g.value=C.data}const x=q([]);async function c(){const C=await f.get("/maa-conn-preset");s.value.maa_conn_presets=C.data.map($=>({label:$,value:$}))}const U=["maatouch","minitouch","adb"].map(C=>({label:C,value:C}));return(C,$)=>{const u=be,w=We,z=he,R=ue,M=xe,N=fe,B=it,D=pe;return S(),V(D,null,{header:t(()=>[$[4]||($[4]=d("Maa设置")),e(u,null,{default:t(()=>$[3]||($[3]=[d("集成战略")])),_:1})]),default:t(()=>[e(N,{"label-placement":l(o)?"top":"left","show-feedback":!1,"label-width":"96","label-align":"left"},{default:t(()=>[e(R,{label:"Maa目录"},{default:t(()=>[e(w,{type:"textarea",autosize:!0,value:l(s).maa_path,"onUpdate:value":$[0]||($[0]=b=>l(s).maa_path=b)},null,8,["value"]),e(z,{onClick:r,class:"dialog-btn"},{default:t(()=>$[5]||($[5]=[d("...")])),_:1})]),_:1}),e(R,{label:"连接配置"},{default:t(()=>[e(M,{options:x.value,value:l(s).maa_conn_preset,"onUpdate:value":$[1]||($[1]=b=>l(s).maa_conn_preset=b)},null,8,["options","value"]),e(z,{onClick:c,class:"dialog-btn"},{default:t(()=>$[6]||($[6]=[d("刷新")])),_:1})]),_:1}),e(R,{label:"触控模式"},{default:t(()=>[e(M,{value:l(s).maa_touch_option,"onUpdate:value":$[2]||($[2]=b=>l(s).maa_touch_option=b),options:l(U)},null,8,["value","options"])]),_:1})]),_:1},8,["label-placement"]),e(B),i("div",zn,[e(z,{onClick:_},{default:t(()=>$[7]||($[7]=[d("测试设置")])),_:1}),i("div",null,oe(g.value),1)])]),_:1})}}},An=ke(Tn,[["__scopeId","data-v-de0d813f"]]),Bn={__name:"Support",setup(a){const f=J("mobile"),o=ie(),{conf:p}=le(o),s=[{label:"精零",value:0},{label:"精一",value:1},{label:"精二",value:2}];return(r,g)=>{const _=ce,x=ue,c=xe,U=Me,C=fe,$=pe;return S(),V($,{title:"自动战斗"},{default:t(()=>[e(C,{"label-placement":l(f)?"top":"left","show-feedback":!1,"label-width":"120","label-align":"left"},{default:t(()=>[e(x,{"show-label":!1},{default:t(()=>[e(_,{checked:l(p).avatar_recog_pause,"onUpdate:checked":g[0]||(g[0]=u=>l(p).avatar_recog_pause=u)},{default:t(()=>g[4]||(g[4]=[d("识别干员时暂停")])),_:1},8,["checked"])]),_:1}),g[5]||(g[5]=i("div",{class:"subtitle"},"借助战",-1)),e(x,{label:"精英化限制"},{default:t(()=>[e(c,{value:l(p).support.elite,"onUpdate:value":g[1]||(g[1]=u=>l(p).support.elite=u),options:s},null,8,["value"])]),_:1}),e(x,{label:"等级限制"},{default:t(()=>[e(U,{value:l(p).support.level,"onUpdate:value":g[2]||(g[2]=u=>l(p).support.level=u),min:1,max:90},null,8,["value"])]),_:1}),e(x,{label:"最大刷新次数"},{default:t(()=>[e(U,{value:l(p).support.refresh,"onUpdate:value":g[3]||(g[3]=u=>l(p).support.refresh=u),min:1},null,8,["value"])]),_:1})]),_:1},8,["label-placement"])]),_:1})}}},Dn=ke(Bn,[["__scopeId","data-v-d419b3ce"]]);var Nt={};Object.defineProperty(Nt,"__esModule",{value:!0});const je=zl,Fn={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 24 24"},Pn=(0,je.createElementVNode)("g",{fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[(0,je.createElementVNode)("path",{d:"M20 11A8.1 8.1 0 0 0 4.5 9M4 5v4h4"}),(0,je.createElementVNode)("path",{d:"M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4"})],-1),In=[Pn];var Mn=Nt.default=(0,je.defineComponent)({name:"Refresh",render:function(f,o){return(0,je.openBlock)(),(0,je.createElementBlock)("svg",Fn,In)}});const On={class:"tasktable"},Vn={size:"small","single-column":!0,"single-line":!0},Nn={key:0,class:"today"},En={key:1},Ln={key:0},Hn={key:1},jn={__name:"MaaWeeklyNew",setup(a){Tl(b=>({"0a13b384":l(w),c58b1dac:l(z)}));const f=ie(),{conf:o}=le(f),p=q(new Date().getDay()),s=["周一","周二","周三","周四","周五","周六","周日"],r=(b,h)=>{b[h]=b[h]===1?2:1,o.value.maa_weekly_plan.slice(0,s.length).forEach((F,n)=>{F.stage=o.value.maa_weekly_plan1.value.filter(P=>P[s[n]]===2).map(P=>P.stage).flat()})},g=b=>{let h=0,F=0;s.forEach(n=>{b[n]===1?F=F+1:b[n]===2&&(h=h+1)}),s.forEach(n=>{b[n]>0&&(h>F?b[n]=1:b[n]=2)}),o.value.maa_weekly_plan.slice(0,s.length).forEach((n,P)=>{n.stage=o.value.maa_weekly_plan1.filter(Z=>Z[s[P]]===2).map(Z=>Z.stage).flat()})},_=(b,h)=>{b.stage=h,console.log(b.stage),o.value.maa_weekly_plan.slice(0,s.length).forEach((F,n)=>{F.stage=o.value.maa_weekly_plan1.filter(P=>P[s[n]]===2).map(P=>P.stage).flat()})},x=b=>{const h={"1-7":"1-7",Annihilation:"剿灭","LS-6":"经验书","CE-6":"龙门币","AP-5":"红票","SK-5":"碳条","CA-5":"技能书","PR-A-2":"重装医疗2","PR-B-2":"狙击术士2","PR-C-2":"先锋辅助2","PR-D-2":"近卫特种2","PR-A-1":"重装医疗1","PR-B-1":"狙击术士1","PR-C-1":"先锋辅助1","PR-D-1":"近卫特种1","":"上次作战"};return b in h?h[b]:b};function c(b){return b=b.toUpperCase(),b==" "||b=="上次作战"?{label:"上次作战",value:""}:b=="当期剿灭"?{label:"当期剿灭",value:"Annihilation"}:b.endsWith("磨难")?{label:b,value:b.slice(0,-2)+"-HARD"}:b.endsWith("标准")?{label:b,value:b.slice(0,-2)+"-NORMAL"}:{label:b,value:b}}const U=[{stage:"Annihilation",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"点x删除",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"把鼠标放到问号上查看帮助",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"自定义关卡3",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"1-7",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"LS-6",周一:1,周二:1,周三:1,周四:1,周五:1,周六:1,周日:1},{stage:"CE-6",周一:0,周二:1,周三:0,周四:1,周五:0,周六:1,周日:1},{stage:"AP-5",周一:1,周二:0,周三:0,周四:1,周五:0,周六:1,周日:1},{stage:"SK-5",周一:1,周二:0,周三:1,周四:0,周五:1,周六:1,周日:0},{stage:"CA-5",周一:0,周二:1,周三:1,周四:0,周五:1,周六:0,周日:1},{stage:"PR-A-2",周一:1,周二:0,周三:0,周四:1,周五:1,周六:0,周日:1},{stage:"PR-A-1",周一:1,周二:0,周三:0,周四:1,周五:1,周六:0,周日:1},{stage:"PR-B-2",周一:1,周二:1,周三:0,周四:0,周五:1,周六:1,周日:0},{stage:"PR-B-1",周一:1,周二:1,周三:0,周四:0,周五:1,周六:1,周日:0},{stage:"PR-C-2",周一:0,周二:0,周三:1,周四:1,周五:0,周六:1,周日:1},{stage:"PR-C-1",周一:0,周二:0,周三:1,周四:1,周五:0,周六:1,周日:1},{stage:"PR-D-2",周一:0,周二:1,周三:1,周四:0,周五:0,周六:1,周日:1},{stage:"PR-D-1",周一:0,周二:1,周三:1,周四:0,周五:0,周六:1,周日:1}];function C(){o.value.maa_weekly_plan1=U}const $=J("mobile"),u=J("axios"),w=j(()=>o.value.theme=="light"?"hsl(33, 30%, 91%)":"hsl(33, 15%, 50%)"),z=j(()=>o.value.theme=="light"?"hsl(200, 90%, 65%)":"hsl(200, 80%, 30%)"),R="/activity",M=q([]);async function N(){const{data:b}=await u.get(R);M.value=b}It(N);function B(b,h){h.dataTransfer.setData("text",b)}function D(b,h){h.preventDefault();const F=h.dataTransfer.getData("text");_(b,[F])}return(b,h)=>{const F=ce,n=be,P=he,Z=Oe,ae=ue,y=fe,X=Bl,K=xe,L=pe;return S(),V(L,null,{default:t(()=>[e(F,{checked:l(o).maa_enable,"onUpdate:checked":h[0]||(h[0]=O=>l(o).maa_enable=O),class:"card-title"},{default:t(()=>h[5]||(h[5]=[d("刷理智周计划")])),_:1},8,["checked"]),h[23]||(h[23]=d(" 有问题先看问号，2024年10月5日更新了 请点击下方按钮 ")),e(n,null,{default:t(()=>[h[13]||(h[13]=i("div",null,"支持所有主线关卡",-1)),h[14]||(h[14]=i("div",null,[d("如何不打本："),i("b",null,'把所有的"打"都点了'),d("或者点一次"),i("b",null,"清除当前配置以匹配最新表格")],-1)),h[15]||(h[15]=i("div",null,[d("建议每次更新后 点一次"),i("b",null,"清除当前配置以匹配最新表格")],-1)),h[16]||(h[16]=i("div",null,"前三行的空行用来写 一些自定义关卡",-1)),i("ul",null,[i("li",null,[h[8]||(h[8]=d(" 在第一行填入")),e(l(He),{closable:"",class:"tag-mr"},{default:t(()=>h[6]||(h[6]=[d("HE-7")])),_:1}),h[9]||(h[9]=d(" 第二行填入")),e(l(He),{closable:""},{default:t(()=>h[7]||(h[7]=[d("1-7")])),_:1}),h[10]||(h[10]=d(" 则会刷活动关HE-7，若活动未开放或刷完HE-7有剩余的理智，则刷1-7。 "))]),i("li",null,[h[12]||(h[12]=d(" 含磨难的主线关卡会自动选择可以代理的难度刷理智，仅需要写关卡名，如")),e(l(He),{closable:""},{default:t(()=>h[11]||(h[11]=[d("12-17")])),_:1})])])]),_:1}),e(P,{onClick:C,class:"btn-clear"},{default:t(()=>h[17]||(h[17]=[d("清除当前配置以匹配最新表格")])),_:1}),e(y,{"label-placement":l($)?"top":"left","show-feedback":!1,"label-width":"72","label-align":"left"},{default:t(()=>[e(ae,{"show-label":!1},{default:t(()=>[e(Z,null,{default:t(()=>[e(F,{checked:l(o).maa_expiring_medicine,"onUpdate:checked":h[1]||(h[1]=O=>l(o).maa_expiring_medicine=O)},{default:t(()=>h[18]||(h[18]=[d(" 自动使用将要过期（约3天）的理智药 ")])),_:1},8,["checked"]),e(F,{checked:l(o).exipring_medicine_on_weekend,"onUpdate:checked":h[2]||(h[2]=O=>l(o).exipring_medicine_on_weekend=O),disabled:!l(o).maa_expiring_medicine},{default:t(()=>h[19]||(h[19]=[d(" 仅在周末使用 ")])),_:1},8,["checked","disabled"])]),_:1})]),_:1})]),_:1},8,["label-placement"]),e(Z,{class:"activity"},{default:t(()=>[e(P,{text:"",type:"primary",onClick:N},{icon:t(()=>[e(X,null,{default:t(()=>[e(l(Mn))]),_:1})]),default:t(()=>[h[20]||(h[20]=d(" 活动关卡 "))]),_:1}),(S(!0),Y(de,null,ze(M.value,O=>(S(),V(l(He),{draggable:"true",onDragstart:G=>B(O,G)},{default:t(()=>[d(oe(O),1)]),_:2},1032,["onDragstart"]))),256))]),_:1}),i("div",On,[i("table",Vn,[i("thead",null,[i("tr",null,[h[21]||(h[21]=i("th",null,"全选",-1)),h[22]||(h[22]=i("th",null,"关卡",-1)),(S(),Y(de,null,ze(s,(O,G)=>i("th",{key:G},[d(oe(O[1])+" ",1),p.value===(G+1)%7?(S(),Y("div",Nn,"今天")):Q("",!0)])),64))])]),i("tbody",null,[(S(!0),Y(de,null,ze(l(o).maa_weekly_plan1,(O,G)=>(S(),Y("tr",{key:O.weekday1},[i("td",null,[e(P,{"v-model":O,onClick:()=>g(O),quaternary:"",style:{width:"100%",height:"100%"},class:"class1"},null,8,["v-model","onClick"])]),i("td",null,[G>1&&G<5?(S(),Y(de,{key:0},[Array.isArray(O.stage)&&O.stage.length===0?(S(),V(K,{key:0,placeholder:"关卡",value:O.stage,"onUpdate:value":[H=>O.stage=H,H=>_(O,H)],filterable:"",multiple:"",tag:"",show:!1,"show-arrow":!1,"on-create":c,onDragover:h[3]||(h[3]=Ct(()=>{},["prevent"])),onDrop:H=>D(O,H)},null,8,["value","onUpdate:value","onDrop"])):(S(),V(l(He),{key:1,closable:"",class:"custom-tag",onClose:H=>_(O,[]),onDragover:h[4]||(h[4]=Ct(()=>{},["prevent"])),onDrop:H=>D(O,H)},{default:t(()=>[d(oe(O.stage[0]),1)]),_:2},1032,["onClose","onDrop"]))],64)):(S(),Y("span",En,oe(x(O.stage)),1))]),(S(),Y(de,null,ze(s,H=>i("td",{class:Al({class2:O[H]===2,class1:O[H]===1})},[O[H]!==0?(S(),V(P,{key:0,"v-model":O[H],onClick:()=>r(O,H),quaternary:"",style:{width:"100%",height:"100%"}},{default:t(()=>[O[H]===2?(S(),Y("span",Ln,"打")):Q("",!0),O[H]===1?(S(),Y("span",Hn)):Q("",!0)]),_:2},1032,["v-model","onClick"])):Q("",!0)],2)),64))]))),128))])])])]),_:1})}}},qn=ke(jn,[["__scopeId","data-v-20879104"]]),Gn={__name:"Recruit",setup(a){const f=ie(),{conf:o}=le(f),p=J("mobile");return(s,r)=>{const g=ce,_=be,x=Me,c=ue,U=Ge,C=gt,$=Ke,u=fe,w=pe;return S(),V(w,null,{header:t(()=>[e(g,{checked:l(o).recruit_enable,"onUpdate:checked":r[0]||(r[0]=z=>l(o).recruit_enable=z)},{default:t(()=>r[6]||(r[6]=[i("div",{class:"card-title"},"公开招募",-1)])),_:1},8,["checked"])]),default:t(()=>[e(u,{"label-placement":l(p)?"top":"left","show-feedback":!1,"label-width":"140","label-align":"left"},{default:t(()=>[e(c,null,{label:t(()=>[r[8]||(r[8]=i("span",null,"启动间隔",-1)),e(_,null,{default:t(()=>r[7]||(r[7]=[d("可填小数")])),_:1})]),default:t(()=>[e(x,{value:l(o).recruit_gap,"onUpdate:value":r[1]||(r[1]=z=>l(o).recruit_gap=z)},{suffix:t(()=>r[9]||(r[9]=[d("小时")])),_:1},8,["value"])]),_:1}),e(c,null,{label:t(()=>[r[11]||(r[11]=i("span",null,"三星招募阈值",-1)),e(_,null,{default:t(()=>r[10]||(r[10]=[d("剩余公招券大于此阈值时招募三星干员")])),_:1})]),default:t(()=>[e(x,{value:l(o).recruitment_permit,"onUpdate:value":r[2]||(r[2]=z=>l(o).recruitment_permit=z)},{suffix:t(()=>r[12]||(r[12]=[d("张")])),_:1},8,["value"])]),_:1}),e(c,{label:"五星招募策略"},{default:t(()=>[e($,{value:l(o).recruit_auto_5,"onUpdate:value":r[3]||(r[3]=z=>l(o).recruit_auto_5=z)},{default:t(()=>[e(C,{justify:"start"},{default:t(()=>[e(U,{value:1},{default:t(()=>r[13]||(r[13]=[d("自动选择")])),_:1}),e(U,{value:2},{default:t(()=>r[14]||(r[14]=[d("手动选择")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),l(o).recruit_auto_5===2?(S(),V(c,{key:0,"show-label":!1},{default:t(()=>[e(g,{checked:l(o).recruit_auto_only5,"onUpdate:checked":r[4]||(r[4]=z=>l(o).recruit_auto_only5=z)},{default:t(()=>r[15]||(r[15]=[d("五星词条组合唯一时自动选择")])),_:1},8,["checked"])]),_:1})):Q("",!0),e(c,{"show-label":!1},{default:t(()=>[e(g,{checked:l(o).recruit_robot,"onUpdate:checked":r[5]||(r[5]=z=>l(o).recruit_robot=z)},{default:t(()=>r[16]||(r[16]=[d("保留支援机械标签")])),_:1},8,["checked"])]),_:1})]),_:1},8,["label-placement"])]),_:1})}}},Kn=ke(Gn,[["__scopeId","data-v-91c39920"]]),Wn={__name:"Clue",setup(a){const f=ie(),{conf:o,shop_list:p}=le(f),s=vt(),{operators:r}=le(s),g=J("mobile");function _({option:$,handleClose:u}){return T(He,{type:$.type,closable:!0,onMousedown:w=>{w.preventDefault()},onClose:w=>{w.stopPropagation(),u()}},{default:()=>$.label,avatar:()=>T(mt,{src:`/shop/${$.label}.png`})})}function x($){return T("div",{style:{display:"flex","align-items":"center",gap:"6px",padding:"2px 0"}},[T(mt,{src:`/shop/${$.label}.png`}),$.label])}const c=[{label:"向上",value:"Up"},{label:"向下",value:"Down"},{label:"向左",value:"Left"},{label:"向右",value:"Right"}],U=[{label:"第一编队",value:1},{label:"第二编队",value:2},{label:"第三编队",value:3},{label:"第四编队",value:4}],C=q(!1);return($,u)=>{const w=ce,z=be,R=Oe,M=it,N=ue,B=xe,D=Me,b=he,h=Ot,F=fe,n=Ge,P=gt,Z=Ke,ae=pe;return S(),V(ae,{title:"线索收集与信用"},{default:t(()=>[e(R,null,{default:t(()=>[e(w,{checked:l(o).enable_party,"onUpdate:checked":u[0]||(u[0]=y=>l(o).enable_party=y)},{default:t(()=>u[14]||(u[14]=[i("div",{class:"item"},"线索收集",-1)])),_:1},8,["checked"]),e(w,{checked:l(o).leifeng_mode,"onUpdate:checked":u[1]||(u[1]=y=>l(o).leifeng_mode=y)},{default:t(()=>[u[16]||(u[16]=d(" 雷锋模式 ")),e(z,null,{default:t(()=>u[15]||(u[15]=[i("div",null,"开启时，向好友赠送多余的线索；",-1),i("div",null,"关闭则超过9个线索才送好友。",-1)])),_:1})]),_:1},8,["checked"])]),_:1}),e(M),e(F,{"label-placement":l(g)?"top":"left","show-feedback":!1,class:"rogue"},{default:t(()=>[e(N,{"show-label":!1},{default:t(()=>[e(w,{checked:l(o).maa_credit_fight,"onUpdate:checked":u[2]||(u[2]=y=>l(o).maa_credit_fight=y)},{default:t(()=>u[17]||(u[17]=[i("div",{class:"item"},"信用作战",-1)])),_:1},8,["checked"]),e(z,null,{default:t(()=>u[18]||(u[18]=[i("div",null,"借助战打OF-1",-1),i("div",null,"使用指定编队中的指定干员",-1)])),_:1})]),_:1}),e(N,{label:"编队"},{default:t(()=>[e(B,{options:U,value:l(o).credit_fight.squad,"onUpdate:value":u[3]||(u[3]=y=>l(o).credit_fight.squad=y)},null,8,["value"])]),_:1}),e(N,{label:"干员"},{default:t(()=>[e(B,{filterable:"",options:l(r),value:l(o).credit_fight.operator,"onUpdate:value":u[4]||(u[4]=y=>l(o).credit_fight.operator=y),filter:(y,X)=>l(bt)(X.label,y),"render-label":l(st)},null,8,["options","value","filter","render-label"])]),_:1}),e(N,{label:"部署"},{default:t(()=>[u[19]||(u[19]=i("div",{style:{width:"40px","text-align":"right"}},"X",-1)),e(D,{style:{margin:"0 8px"},value:l(o).credit_fight.x,"onUpdate:value":u[5]||(u[5]=y=>l(o).credit_fight.x=y),"show-button":!1},null,8,["value"]),u[20]||(u[20]=i("div",{style:{width:"40px","text-align":"right"}},"Y",-1)),e(D,{style:{margin:"0 8px"},value:l(o).credit_fight.y,"onUpdate:value":u[6]||(u[6]=y=>l(o).credit_fight.y=y),"show-button":!1},null,8,["value"]),e(B,{style:{width:"250px","margin-right":"8px"},options:c,value:l(o).credit_fight.direction,"onUpdate:value":u[7]||(u[7]=y=>l(o).credit_fight.direction=y)},null,8,["value"]),e(b,{onClick:u[8]||(u[8]=y=>C.value=!C.value)},{default:t(()=>[d(oe(C.value?"隐藏":"显示")+"OF-1地图",1)]),_:1})]),_:1}),C.value?(S(),V(N,{key:0,"show-label":!1},{default:t(()=>[e(h,{src:"/map-OF-1.webp",width:"100%"})]),_:1})):Q("",!0)]),_:1},8,["label-placement"]),e(M),e(w,{checked:l(o).maa_enable,"onUpdate:checked":u[9]||(u[9]=y=>l(o).maa_enable=y),class:"maa-shop"},{default:t(()=>u[21]||(u[21]=[i("div",{class:"item"},"信用商店购物",-1)])),_:1},8,["checked"]),e(z,null,{default:t(()=>[u[23]||(u[23]=i("span",null,"性价比参考：",-1)),e(b,{text:"",tag:"a",href:"https://github.com/Bidgecfah/Rhodes-Island-Bureau-of-Price",target:"_blank",type:"primary"},{default:t(()=>u[22]||(u[22]=[d(" 罗德岛物价局 ")])),_:1}),u[24]||(u[24]=i("p",null,"注意：跑单时赤金与作战记录均大幅升值",-1))]),_:1}),e(F,{"label-placement":l(g)?"top":"left","show-feedback":!1,"label-width":"72","label-align":"left"},{default:t(()=>[e(N,{label:"信用溢出"},{default:t(()=>[e(Z,{value:l(o).maa_mall_ignore_blacklist_when_full,"onUpdate:value":u[10]||(u[10]=y=>l(o).maa_mall_ignore_blacklist_when_full=y)},{default:t(()=>[e(P,null,{default:t(()=>[e(n,{value:!1},{default:t(()=>u[25]||(u[25]=[d("停止购买")])),_:1}),e(n,{value:!0},{default:t(()=>u[26]||(u[26]=[d("无视黑名单继续购买，直至不再溢出")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),e(N,{label:"优先购买"},{default:t(()=>[e(Z,{value:l(o).maa_mall_ignore_blacklist_when_full,"onUpdate:value":u[12]||(u[12]=y=>l(o).maa_mall_ignore_blacklist_when_full=y)},{default:t(()=>[e(B,{multiple:"",filterable:"",tag:"",options:l(p),value:l(o).maa_mall_buy,"onUpdate:value":u[11]||(u[11]=y=>l(o).maa_mall_buy=y),"render-tag":_,"render-label":x},null,8,["options","value"])]),_:1},8,["value"])]),_:1}),e(N,{label:"黑名单"},{default:t(()=>[e(B,{multiple:"",filterable:"",tag:"",options:l(p),value:l(o).maa_mall_blacklist,"onUpdate:value":u[13]||(u[13]=y=>l(o).maa_mall_blacklist=y),"render-tag":_,"render-label":x},null,8,["options","value"])]),_:1})]),_:1},8,["label-placement"])]),_:1})}}},Yn=ke(Wn,[["__scopeId","data-v-d795bb52"]]),Xn={key:0},Qn={key:1},Jn={key:0},Zn={class:"email-test mt-16"},eo={__name:"Email",setup(a){const f=ie(),o=J("axios"),p=J("mobile"),s=q(""),{conf:r}=le(f);async function g(){s.value="正在发送……";const x=await o.get("/test-email");s.value=x.data}const _=[{label:"INFO - 基建任务、刷理智、公招汇总、基报、活动签到等",value:"INFO"},{label:"WARNING - 版本过旧、组内心情差过大、漏单、公招稀有标签等",value:"WARNING"},{label:"ERROR - 无法排班、专精失败、Maa调用出错、森空岛签到失败、活动签到超时、OF-1失败等",value:"ERROR"}];return(x,c)=>{const U=ce,C=he,$=Zl,u=Ke,w=We,z=ue,R=Ge,M=Oe,N=Me,B=be,D=xe,b=Mt,h=fe,F=it,n=pe;return S(),V(n,null,{header:t(()=>[e(U,{checked:l(r).mail_enable,"onUpdate:checked":c[0]||(c[0]=P=>l(r).mail_enable=P),class:"email-title"},{default:t(()=>c[11]||(c[11]=[i("div",{class:"card-title"},"邮件提醒",-1),i("div",{class:"expand"},null,-1)])),_:1},8,["checked"]),l(p)?(S(),V(C,{key:0,onClick:c[1]||(c[1]=P=>l(r).custom_smtp_server.enable=!l(r).custom_smtp_server.enable),type:"primary",ghost:""},{default:t(()=>[d(oe(l(r).custom_smtp_server.enable?"自定义邮箱":"QQ邮箱"),1)]),_:1})):(S(),V(u,{key:1,class:"email-mode",value:l(r).custom_smtp_server.enable,"onUpdate:value":c[2]||(c[2]=P=>l(r).custom_smtp_server.enable=P)},{default:t(()=>[e($,{value:!1,label:"QQ邮箱"}),e($,{value:!0,label:"自定义邮箱"})]),_:1},8,["value"]))]),default:t(()=>[e(h,{"label-placement":l(p)?"top":"left","show-feedback":!1,"label-width":"96","label-align":"left"},{default:t(()=>[l(r).custom_smtp_server.enable?(S(),V(z,{key:0,label:"SMTP服务器"},{default:t(()=>[e(w,{value:l(r).custom_smtp_server.server,"onUpdate:value":c[3]||(c[3]=P=>l(r).custom_smtp_server.server=P)},null,8,["value"])]),_:1})):Q("",!0),l(r).custom_smtp_server.enable?(S(),V(z,{key:1,label:"加密方式"},{default:t(()=>[e(u,{value:l(r).custom_smtp_server.encryption,"onUpdate:value":c[4]||(c[4]=P=>l(r).custom_smtp_server.encryption=P)},{default:t(()=>[e(M,null,{default:t(()=>[e(R,{value:"tls",label:"SSL/TLS"}),e(R,{value:"starttls",label:"STARTTLS"})]),_:1})]),_:1},8,["value"])]),_:1})):Q("",!0),l(r).custom_smtp_server.enable?(S(),V(z,{key:2,label:"端口号"},{default:t(()=>[e(N,{value:l(r).custom_smtp_server.ssl_port,"onUpdate:value":c[5]||(c[5]=P=>l(r).custom_smtp_server.ssl_port=P)},null,8,["value"])]),_:1})):Q("",!0),e(z,null,{label:t(()=>[l(r).custom_smtp_server.enable?(S(),Y("span",Xn,"账号")):(S(),Y("span",Qn,"QQ邮箱"))]),default:t(()=>[e(w,{value:l(r).account,"onUpdate:value":c[6]||(c[6]=P=>l(r).account=P)},null,8,["value"])]),_:1}),e(z,null,{label:t(()=>[l(r).custom_smtp_server.enable?(S(),Y("span",Jn,"密码")):(S(),Y(de,{key:1},[c[13]||(c[13]=i("span",null,"授权码",-1)),e(B,null,{default:t(()=>[e(C,{text:"",tag:"a",href:"https://service.mail.qq.com/detail/0/75",target:"_blank",type:"primary"},{default:t(()=>c[12]||(c[12]=[d(" https://service.mail.qq.com/detail/0/75 ")])),_:1})]),_:1})],64))]),default:t(()=>[e(w,{value:l(r).pass_code,"onUpdate:value":c[7]||(c[7]=P=>l(r).pass_code=P),type:"password","show-password-on":"click"},null,8,["value"])]),_:1}),e(z,{label:"通知等级"},{default:t(()=>[e(D,{value:l(r).notification_level,"onUpdate:value":c[8]||(c[8]=P=>l(r).notification_level=P),options:_},null,8,["value"])]),_:1}),e(z,null,{label:t(()=>[c[15]||(c[15]=i("span",null,"标题前缀",-1)),e(B,null,{default:t(()=>c[14]||(c[14]=[d("可用于区分来自多个Mower的邮件")])),_:1})]),default:t(()=>[e(w,{value:l(r).mail_subject,"onUpdate:value":c[9]||(c[9]=P=>l(r).mail_subject=P)},null,8,["value"])]),_:1}),e(z,null,{label:t(()=>[c[17]||(c[17]=i("span",null,"收件人",-1)),e(B,null,{default:t(()=>c[16]||(c[16]=[d("不填时将邮件发给自己")])),_:1})]),default:t(()=>[e(b,{value:l(r).recipient,"onUpdate:value":c[10]||(c[10]=P=>l(r).recipient=P)},null,8,["value"])]),_:1})]),_:1},8,["label-placement"]),e(F),i("div",Zn,[e(C,{onClick:g},{default:t(()=>c[18]||(c[18]=[d("发送测试邮件")])),_:1}),i("div",null,oe(s.value),1)])]),_:1})}}},to=ke(eo,[["__scopeId","data-v-87147c94"]]),lo={__name:"DailyMission",setup(a){const f=ie(),{conf:o}=le(f);return(p,s)=>{const r=ce,g=Oe,_=it,x=be,c=pe;return S(),V(c,{title:"每日任务"},{default:t(()=>[e(g,{vertical:""},{default:t(()=>[e(r,{checked:l(o).skland_enable,"onUpdate:checked":s[0]||(s[0]=U=>l(o).skland_enable=U)},{default:t(()=>s[5]||(s[5]=[i("div",{class:"item"},"森空岛签到",-1)])),_:1},8,["checked"]),(S(!0),Y(de,null,ze(l(o).skland_info,U=>(S(),Y("div",{key:U.account},[e(g,null,{default:t(()=>[e(r,{checked:U.isCheck,"onUpdate:checked":C=>U.isCheck=C,style:{"margin-right":"12px"}},{default:t(()=>[d(" 森空岛账号："+oe(U.account),1)]),_:2},1032,["checked","onUpdate:checked"]),e(r,{checked:U.sign_in_official,"onUpdate:checked":C=>U.sign_in_official=C,style:{"margin-right":"12px"}},{default:t(()=>s[6]||(s[6]=[d(" 官服签到 ")])),_:2},1032,["checked","onUpdate:checked"]),e(r,{checked:U.sign_in_bilibili,"onUpdate:checked":C=>U.sign_in_bilibili=C,style:{"margin-right":"12px"}},{default:t(()=>s[7]||(s[7]=[d(" B服签到 ")])),_:2},1032,["checked","onUpdate:checked"])]),_:2},1024)]))),128)),e(_),e(r,{checked:l(o).check_mail_enable,"onUpdate:checked":s[1]||(s[1]=U=>l(o).check_mail_enable=U)},{default:t(()=>s[8]||(s[8]=[i("div",{class:"item"},"领取邮件",-1)])),_:1},8,["checked"]),e(_),e(r,{checked:l(o).visit_friend,"onUpdate:checked":s[2]||(s[2]=U=>l(o).visit_friend=U)},{default:t(()=>s[9]||(s[9]=[i("div",{class:"item"},"访问好友",-1)])),_:1},8,["checked"]),e(_),e(g,null,{default:t(()=>[e(r,{checked:l(o).report_enable,"onUpdate:checked":s[3]||(s[3]=U=>l(o).report_enable=U)},{default:t(()=>s[10]||(s[10]=[i("div",{class:"item"},"读取基报",-1)])),_:1},8,["checked"])]),_:1}),e(_),e(g,null,{default:t(()=>[e(r,{checked:l(o).sign_in.enable,"onUpdate:checked":s[4]||(s[4]=U=>l(o).sign_in.enable=U)},{default:t(()=>s[11]||(s[11]=[i("div",{class:"item"},"签到活动",-1)])),_:1},8,["checked"]),e(x,null,{default:t(()=>s[12]||(s[12]=[d("游戏内签到、矿区、限定池每日单抽等")])),_:1})]),_:1})]),_:1})]),_:1})}}},no=ke(lo,[["__scopeId","data-v-80f1eec8"]]),oo={style:{display:"flex","align-items":"center",width:"100%"}},ao={style:{"margin-right":"24px"}},ro={__name:"Depotswitch",setup(a){const f=ie(),{conf:o}=le(f);return(p,s)=>{const r=ce,g=be,_=Ge,x=Oe,c=Ke,U=pe;return S(),V(U,null,{header:t(()=>[e(r,{checked:l(o).maa_depot_enable,"onUpdate:checked":s[0]||(s[0]=C=>l(o).maa_depot_enable=C)},{default:t(()=>s[1]||(s[1]=[i("div",{class:"card-title"},"仓库物品混合读取",-1)])),_:1},8,["checked"]),e(g,null,{default:t(()=>s[2]||(s[2]=[d("请调整森空岛账号顺序，仅读取"),i("b",null,"第一个",-1),d("账户"),i("b",null,"指定服务器",-1),d("的材料")])),_:1})]),default:t(()=>[(S(!0),Y(de,null,ze(l(o).skland_info,C=>(S(),Y("div",{key:C.account},[i("div",oo,[i("div",ao,"森空岛账号："+oe(C.account),1),e(c,{value:C.cultivate_select,"onUpdate:value":$=>C.cultivate_select=$},{default:t(()=>[e(x,null,{default:t(()=>[e(_,{value:!0},{default:t(()=>s[3]||(s[3]=[d("官服")])),_:1}),e(_,{value:!1},{default:t(()=>s[4]||(s[4]=[d("B服")])),_:1})]),_:1})]),_:2},1032,["value","onUpdate:value"])])]))),128))]),_:1})}}},so={style:{display:"flex","align-items":"center",width:"100%"}},io={class:"misc-container"},uo={__name:"SKLand",setup(a){const f=J("axios"),o=ie(),{conf:p}=le(o);function s(){return{isCheck:!0,account:"",password:"",sign_in_official:!0,sign_in_bilibili:!0,cultivate_select:!0}}const r=q("");async function g(){r.value="正在测试……";const _=await f.get("/check-skland");r.value=_.data}return(_,x)=>{const c=be,U=We,C=Mt,$=he,u=pe;return S(),V(u,null,{header:t(()=>[x[2]||(x[2]=i("div",{class:"card-title"},"森空岛账号",-1)),e(c,null,{default:t(()=>x[1]||(x[1]=[i("div",null,"连接失败时，请尝试：",-1),i("ol",{style:{margin:"0"}},[i("li",null,"同步系统时间后再试；"),i("li",null,"检查账号密码是否正确；"),i("li",null,"关闭代理软件或设置分流规则；"),i("li",null,"登录森空岛App，查看是否需要人机验证。")],-1)])),_:1})]),default:t(()=>[e(C,{value:l(p).skland_info,"onUpdate:value":x[0]||(x[0]=w=>l(p).skland_info=w),"on-create":s,"show-sort-button":""},{default:t(({value:w})=>[i("div",so,[e(U,{style:{"margin-right":"10px"},value:w.account,"onUpdate:value":z=>w.account=z,type:"text",placeholder:"账号"},null,8,["value","onUpdate:value"]),e(U,{value:w.password,"onUpdate:value":z=>w.password=z,type:"password","show-password-on":"click",placeholder:"密码"},null,8,["value","onUpdate:value"])])]),_:1},8,["value"]),i("div",io,[e($,{onClick:g},{default:t(()=>x[3]||(x[3]=[d("测试设置")])),_:1}),i("div",null,oe(r.value),1)])]),_:1})}}},fo={class:"grid-two"},co={class:"grid-left"},po={class:"threshold"},mo={class:"grid-right"},vo={__name:"Settings",setup(a){const f=ie(),{conf:o}=le(f),p=vt(),{operators:s}=le(p),{left_side_facility:r}=p,g=J("mobile"),_=j(()=>[{label:"（加速任意贸易站）",value:""}].concat(r)),x=[{label:"夜神",value:"夜神"},{label:"MuMu模拟器12",value:"MuMu12"},{label:"Waydroid",value:"Waydroid"},{label:"雷电模拟器9",value:"雷电9"},{label:"ReDroid",value:"ReDroid"},{label:"MuMu模拟器Pro",value:"MuMuPro"},{label:"Genymotion",value:"Genymotion"},{label:"其它",value:""}],c=[{label:"使用adb命令启动",value:"adb"},{label:"点击屏幕启动",value:"tap"}];async function U(){const F=await Vt();F&&(o.value.simulator.simulator_folder=F)}const C={},$=[.5,1,1.5,2,3];for(let F=.5;F<=3;F+=.25)C[F]=$.includes(F)?`${F*100}%`:"";const u=q(o.value.webview.scale);async function w(){const F=await $n();F&&(o.value.maa_adb_path=F)}const z=j({get(){let F="adb_gzip";return o.value.droidcast.enable?F="droidcast":o.value.custom_screenshot.enable&&(F="custom"),F},set(F){o.value.droidcast.enable=!1,o.value.custom_screenshot.enable=!1,F=="droidcast"?o.value.droidcast.enable=!0:F=="custom"&&(o.value.custom_screenshot.enable=!0)}}),R=q(!1),M=q(""),N=q(0),B=q(!1),D=J("axios");async function b(){B.value=!0,R.value=!1;try{const F=await D.get("/test-custom-screenshot");M.value=F.data.screenshot,N.value=F.data.elapsed}finally{B.value=!1,R.value=!0}}const h={CONNECTING:"正在提交反馈至神经",UNKNOWN:"未知",UNKNOWN_WITH_NAVBAR:"有导航栏的未知场景",LOADING:"场景跳转时的等待界面",LOGIN_LOADING:"登录中",LOGIN_MAIN_NOENTRY:"登录页面（无按钮入口）",OPERATOR_ONGOING:"代理作战"};return(F,n)=>{const P=Ge,Z=gt,ae=Ke,y=ue,X=We,K=he,L=be,O=xe,G=Me,H=ce,me=Oe,Te=Ot,Ae=Pl,Be=pn,ge=fe,Ve=pe,Ye=bn,we=Vl,Ne=uo,Xe=ro,ye=no,Qe=to,Je=Yn,Ce=Kn,Se=qn,Re=Dn,Ze=An,et=Un;return S(),Y("div",fo,[i("div",co,[i("div",null,[e(Ve,{title:"Mower设置"},{default:t(()=>[e(ge,{"label-placement":l(g)?"top":"left","show-feedback":!1,"label-width":"120","label-align":"left"},{default:t(()=>[e(y,{label:"服务器"},{default:t(()=>[e(ae,{value:l(o).package_type,"onUpdate:value":n[0]||(n[0]=m=>l(o).package_type=m)},{default:t(()=>[e(Z,null,{default:t(()=>[e(P,{value:"official"},{default:t(()=>n[40]||(n[40]=[d("官服")])),_:1}),e(P,{value:"bilibili"},{default:t(()=>n[41]||(n[41]=[d("BiliBili服")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),e(y,{label:"ADB路径"},{default:t(()=>[e(X,{type:"textarea",autosize:!0,value:l(o).maa_adb_path,"onUpdate:value":n[1]||(n[1]=m=>l(o).maa_adb_path=m)},null,8,["value"]),e(K,{onClick:w,class:"dialog-btn"},{default:t(()=>n[42]||(n[42]=[d("...")])),_:1})]),_:1}),e(y,null,{label:t(()=>[n[44]||(n[44]=i("span",null,"ADB连接地址",-1)),e(L,null,{default:t(()=>n[43]||(n[43]=[i("div",null,"不同模拟器adb地址不同。如不填，系统会自动去寻找adb device中的第一个。",-1),i("div",null,[d("夜神："),i("code",null,"127.0.0.1:62001")],-1)])),_:1})]),default:t(()=>[e(X,{value:l(o).adb,"onUpdate:value":n[2]||(n[2]=m=>l(o).adb=m)},null,8,["value"])]),_:1}),e(y,{label:"触控方案"},{default:t(()=>[e(ae,{value:l(o).touch_method,"onUpdate:value":n[3]||(n[3]=m=>l(o).touch_method=m)},{default:t(()=>[e(Z,null,{default:t(()=>[e(P,{value:"scrcpy"},{default:t(()=>n[45]||(n[45]=[d("scrcpy-1.21-novideo")])),_:1}),e(P,{value:"maatouch"},{default:t(()=>n[46]||(n[46]=[d("MaaTouch-1.1.0")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),e(y,{label:"模拟器"},{default:t(()=>[e(O,{value:l(o).simulator.name,"onUpdate:value":n[4]||(n[4]=m=>l(o).simulator.name=m),options:x},null,8,["value"])]),_:1}),l(o).simulator.name?(S(),V(y,{key:0},{label:t(()=>[n[48]||(n[48]=i("span",null,"模拟器文件夹",-1)),e(L,null,{default:t(()=>n[47]||(n[47]=[i("div",null,"夜神：写到bin文件夹",-1),i("div",null,"MuMu12: 写到shell文件夹",-1)])),_:1})]),default:t(()=>[e(X,{value:l(o).simulator.simulator_folder,"onUpdate:value":n[5]||(n[5]=m=>l(o).simulator.simulator_folder=m),type:"textarea",autosize:!0},null,8,["value"]),e(K,{onClick:U,class:"dialog-btn"},{default:t(()=>n[49]||(n[49]=[d("...")])),_:1})]),_:1})):Q("",!0),l(o).simulator.name?(S(),V(y,{key:1},{label:t(()=>[n[51]||(n[51]=i("span",null,"多开编号",-1)),e(L,null,{default:t(()=>n[50]||(n[50]=[i("div",null,"除夜神单开选择-1以外，其他的按照改模拟器多开器中的序号。",-1)])),_:1})]),default:t(()=>[e(X,{value:l(o).simulator.index,"onUpdate:value":n[6]||(n[6]=m=>l(o).simulator.index=m)},null,8,["value"])]),_:1})):Q("",!0),l(o).simulator.name?(S(),V(y,{key:2,label:"模拟器启动时间"},{default:t(()=>[e(G,{value:l(o).simulator.wait_time,"onUpdate:value":n[7]||(n[7]=m=>l(o).simulator.wait_time=m)},{suffix:t(()=>n[52]||(n[52]=[d("秒")])),_:1},8,["value"])]),_:1})):Q("",!0),l(o).simulator.name?(S(),V(y,{key:3},{label:t(()=>[n[58]||(n[58]=i("span",null,"模拟器老板键",-1)),e(L,null,{default:t(()=>[n[55]||(n[55]=i("div",null,"启动模拟器后按此快捷键",-1)),n[56]||(n[56]=i("div",null,"若不需要此功能，请留空",-1)),n[57]||(n[57]=i("div",null,"加号分隔按键，不要空格",-1)),i("div",null,[n[54]||(n[54]=d(" 按键名参考 ")),e(K,{text:"",tag:"a",href:"https://pyautogui.readthedocs.io/en/latest/keyboard.html#keyboard-keys",target:"_blank",type:"primary"},{default:t(()=>n[53]||(n[53]=[d(" KEYBOARD_KEYS ")])),_:1})])]),_:1})]),default:t(()=>[e(X,{value:l(o).simulator.hotkey,"onUpdate:value":n[8]||(n[8]=m=>l(o).simulator.hotkey=m),placeholder:"留空停用；组合键用加号分隔"},null,8,["value"])]),_:1})):Q("",!0),e(y,{label:"启动游戏"},{default:t(()=>[e(O,{value:l(o).tap_to_launch_game.enable,"onUpdate:value":n[9]||(n[9]=m=>l(o).tap_to_launch_game.enable=m),options:c},null,8,["value"])]),_:1}),l(o).tap_to_launch_game.enable=="tap"?(S(),V(y,{key:4,label:"点击坐标"},{default:t(()=>[n[59]||(n[59]=i("span",{class:"coord-label"},"X:",-1)),e(G,{value:l(o).tap_to_launch_game.x,"onUpdate:value":n[10]||(n[10]=m=>l(o).tap_to_launch_game.x=m)},null,8,["value"]),n[60]||(n[60]=i("span",{class:"coord-label"},"Y:",-1)),e(G,{value:l(o).tap_to_launch_game.y,"onUpdate:value":n[11]||(n[11]=m=>l(o).tap_to_launch_game.y=m)},null,8,["value"])]),_:1})):Q("",!0),e(y,{"show-label":!1},{default:t(()=>[e(H,{checked:l(o).exit_game_when_idle,"onUpdate:checked":n[12]||(n[12]=m=>l(o).exit_game_when_idle=m),disabled:l(o).simulator.name!=""&&l(o).close_simulator_when_idle},{default:t(()=>[n[62]||(n[62]=d(" 任务结束后退出游戏 ")),e(L,null,{default:t(()=>n[61]||(n[61]=[d("降低功耗")])),_:1})]),_:1},8,["checked","disabled"])]),_:1}),l(o).simulator.name?(S(),V(y,{key:5,"show-label":!1},{default:t(()=>[e(H,{checked:l(o).close_simulator_when_idle,"onUpdate:checked":n[13]||(n[13]=m=>l(o).close_simulator_when_idle=m)},{default:t(()=>[n[64]||(n[64]=d(" 任务结束后关闭模拟器 ")),e(L,null,{default:t(()=>n[63]||(n[63]=[d("减少空闲时的资源占用、避免模拟器长时间运行出现问题")])),_:1})]),_:1},8,["checked"])]),_:1})):Q("",!0),l(o).simulator.name=="MuMu12"&&l(o).close_simulator_when_idle?(S(),V(y,{key:6,"show-label":!1},{default:t(()=>[e(H,{checked:l(o).fix_mumu12_adb_disconnect,"onUpdate:checked":n[14]||(n[14]=m=>l(o).fix_mumu12_adb_disconnect=m)},{default:t(()=>[n[66]||(n[66]=d(" 关闭MuMu模拟器12时结束adb进程 ")),e(L,null,{default:t(()=>n[65]||(n[65]=[i("div",null,[d("运行命令"),i("code",null,"taskkill /f /t /im adb.exe")],-1),i("div",null,"使用MuMu模拟器12时，若遇到adb断连问题，可尝试开启此选项",-1)])),_:1})]),_:1},8,["checked"])]),_:1})):Q("",!0),e(y,{"show-label":!1},{default:t(()=>[e(H,{checked:l(o).start_automatically,"onUpdate:checked":n[15]||(n[15]=m=>l(o).start_automatically=m)},{default:t(()=>n[67]||(n[67]=[d("启动后自动开始任务")])),_:1},8,["checked"])]),_:1}),e(y,{label:"截图方案"},{default:t(()=>[e(ae,{value:z.value,"onUpdate:value":n[16]||(n[16]=m=>z.value=m)},{default:t(()=>[e(me,null,{default:t(()=>[e(P,{value:"adb_gzip"},{default:t(()=>[n[69]||(n[69]=d(" ADB+Gzip")),e(L,null,{default:t(()=>n[68]||(n[68]=[d("无损压缩，兼容性好")])),_:1})]),_:1}),e(P,{value:"droidcast"},{default:t(()=>[n[71]||(n[71]=d(" DroidCast")),e(L,null,{default:t(()=>n[70]||(n[70]=[d("有损压缩，速度更快")])),_:1})]),_:1}),e(P,{value:"custom"},{default:t(()=>[n[73]||(n[73]=d(" 自定义命令")),e(L,null,{default:t(()=>n[72]||(n[72]=[d("向"),i("code",null,"STDOUT",-1),d("打印图像")])),_:1})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),l(o).droidcast.enable?(S(),V(y,{key:7,label:"旋转截图"},{default:t(()=>[e(ae,{value:l(o).droidcast.rotate,"onUpdate:value":n[17]||(n[17]=m=>l(o).droidcast.rotate=m)},{default:t(()=>[e(me,null,{default:t(()=>[e(P,{value:!1},{default:t(()=>n[74]||(n[74]=[d("不旋转")])),_:1}),e(P,{value:!0},{default:t(()=>n[75]||(n[75]=[d("旋转180度")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1})):Q("",!0),l(o).custom_screenshot.enable?(S(),V(y,{key:8,label:"截图命令"},{default:t(()=>[e(X,{value:l(o).custom_screenshot.command,"onUpdate:value":n[18]||(n[18]=m=>l(o).custom_screenshot.command=m),type:"textarea",autosize:!0},null,8,["value"]),e(K,{class:"dialog-btn",onClick:b,loading:l(B)},{default:t(()=>n[76]||(n[76]=[d(" 测试 ")])),_:1},8,["loading"])]),_:1})):Q("",!0),l(o).custom_screenshot.enable&&l(R)?(S(),V(y,{key:9,"show-label":!1},{default:t(()=>[e(me,{vertical:""},{default:t(()=>[e(Te,{src:"data:image/jpeg;base64,"+l(M),width:"100%"},null,8,["src"]),i("div",null,"（截图用时"+oe(l(N))+"ms）",1)]),_:1})]),_:1})):Q("",!0),e(y,{label:"截图最短间隔"},{default:t(()=>[e(G,{value:l(o).screenshot_interval,"onUpdate:value":n[19]||(n[19]=m=>l(o).screenshot_interval=m),precision:0},{suffix:t(()=>n[77]||(n[77]=[d("毫秒")])),_:1},8,["value"])]),_:1}),e(y,null,{label:t(()=>[n[79]||(n[79]=i("span",null,"截图保存时间",-1)),e(L,null,{default:t(()=>n[78]||(n[78]=[d("可填小数")])),_:1})]),default:t(()=>[e(G,{value:l(o).screenshot,"onUpdate:value":n[20]||(n[20]=m=>l(o).screenshot=m)},{suffix:t(()=>n[80]||(n[80]=[d("小时")])),_:1},8,["value"])]),_:1}),e(y,{label:"识别线程数"},{default:t(()=>[e(G,{value:l(o).max_workers,"onUpdate:value":n[21]||(n[21]=m=>l(o).max_workers=m),min:1},null,8,["value"])]),_:1}),e(y,{label:"等待时间"},{default:t(()=>[e(Ae,{size:"small",class:"waiting-table"},{default:t(()=>[n[83]||(n[83]=i("thead",null,[i("tr",null,[i("th",null,"场景"),i("th",null,"截图间隔"),i("th",null,"超时时长")])],-1)),i("tbody",null,[(S(!0),Y(de,null,ze(l(o).waiting_scene_v2,(m,De)=>(S(),Y("tr",null,[i("td",null,oe(h[De]),1),i("td",null,[e(G,{value:m[0],"onUpdate:value":Ue=>m[0]=Ue,"show-button":!1,precision:0},{suffix:t(()=>n[81]||(n[81]=[d("毫秒")])),_:2},1032,["value","onUpdate:value"])]),i("td",null,[e(G,{value:m[1],"onUpdate:value":Ue=>m[1]=Ue,"show-button":!1,precision:0},{suffix:t(()=>n[82]||(n[82]=[d("秒")])),_:2},1032,["value","onUpdate:value"])])]))),256))])]),_:1})]),_:1}),e(y,{label:"界面缩放"},{default:t(()=>[e(Be,{value:l(u),"onUpdate:value":n[22]||(n[22]=m=>lt(u)?u.value=m:null),step:.25,min:.5,max:3,marks:C,"format-tooltip":m=>`${m*100}%`},null,8,["value","format-tooltip"]),e(K,{class:"scale-apply",disabled:l(u)==l(o).webview.scale,onClick:n[23]||(n[23]=m=>l(o).webview.scale=l(u))},{default:t(()=>n[84]||(n[84]=[d(" 应用 ")])),_:1},8,["disabled"])]),_:1}),e(y,{"show-label":!1},{default:t(()=>[e(H,{checked:l(o).webview.tray,"onUpdate:checked":n[24]||(n[24]=m=>l(o).webview.tray=m)},{default:t(()=>[n[86]||(n[86]=d(" 使用托盘图标 ")),e(L,null,{default:t(()=>n[85]||(n[85]=[d("重启生效")])),_:1})]),_:1},8,["checked"])]),_:1}),e(y,{label:"显示主题"},{default:t(()=>[e(ae,{value:l(o).theme,"onUpdate:value":n[25]||(n[25]=m=>l(o).theme=m)},{default:t(()=>[e(Z,null,{default:t(()=>[e(P,{value:"light"},{default:t(()=>n[87]||(n[87]=[d("亮色")])),_:1}),e(P,{value:"dark"},{default:t(()=>n[88]||(n[88]=[d("暗色")])),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),e(y,null,{label:t(()=>[n[90]||(n[90]=i("span",null,"日常任务间隔",-1)),e(L,null,{default:t(()=>n[89]||(n[89]=[i("div",null,"可填小数",-1),i("div",null,"清理智、日常/周常任务领取、借助战打OF-1",-1)])),_:1})]),default:t(()=>[e(G,{value:l(o).maa_gap,"onUpdate:value":n[26]||(n[26]=m=>l(o).maa_gap=m)},{suffix:t(()=>n[91]||(n[91]=[d("小时")])),_:1},8,["value"])]),_:1})]),_:1},8,["label-placement"])]),_:1})]),i("div",null,[e(Ve,{title:"基建设置"},{default:t(()=>[e(ge,{"label-placement":l(g)?"top":"left","show-feedback":!1,"label-width":"140","label-align":"left"},{default:t(()=>[e(y,null,{label:t(()=>[n[93]||(n[93]=i("span",null,"宿舍黑名单",-1)),e(L,null,{default:t(()=>n[92]||(n[92]=[i("div",null,"不希望进行填充宿舍的干员",-1)])),_:1})]),default:t(()=>[l(g)?(S(),V(Ye,{key:0,"virtual-scroll":"","source-filterable":"","target-filterable":"",options:l(s),value:l(o).free_blacklist,"onUpdate:value":n[27]||(n[27]=m=>l(o).free_blacklist=m),"render-source-label":m=>l(st)(m.option),"render-target-label":m=>l(st)(m.option),filter:(m,De)=>m?l(bt)(De.label,m):!0},null,8,["options","value","render-source-label","render-target-label","filter"])):(S(),V(we,{key:1,modelValue:l(o).free_blacklist,"onUpdate:modelValue":n[28]||(n[28]=m=>l(o).free_blacklist=m)},null,8,["modelValue"]))]),_:1}),e(y,null,{label:t(()=>[n[95]||(n[95]=i("span",null,"跑单前置延时",-1)),e(L,null,{default:t(()=>n[94]||(n[94]=[i("div",null,"推荐范围5-10",-1),i("div",null,"可填小数",-1)])),_:1})]),default:t(()=>[e(G,{value:l(o).run_order_delay,"onUpdate:value":n[29]||(n[29]=m=>l(o).run_order_delay=m)},{suffix:t(()=>n[96]||(n[96]=[d("分钟")])),_:1},8,["value"])]),_:1}),e(y,{"show-label":!1},{default:t(()=>[e(H,{checked:l(o).run_order_grandet_mode.enable,"onUpdate:checked":n[30]||(n[30]=m=>l(o).run_order_grandet_mode.enable=m)},{default:t(()=>n[97]||(n[97]=[d("葛朗台跑单")])),_:1},8,["checked"])]),_:1}),l(o).run_order_grandet_mode.enable?(S(),V(y,{key:0},{label:t(()=>[n[99]||(n[99]=i("span",null,"葛朗台缓冲时间",-1)),e(L,null,{default:t(()=>n[98]||(n[98]=[d("推荐范围：15-30")])),_:1})]),default:t(()=>[e(G,{value:l(o).run_order_grandet_mode.buffer_time,"onUpdate:value":n[31]||(n[31]=m=>l(o).run_order_grandet_mode.buffer_time=m)},{suffix:t(()=>n[100]||(n[100]=[d("秒")])),_:1},8,["value"])]),_:1})):Q("",!0),l(o).run_order_grandet_mode.enable?(S(),V(y,{key:1,"show-label":!1},{default:t(()=>[e(H,{checked:l(o).run_order_grandet_mode.back_to_index,"onUpdate:checked":n[32]||(n[32]=m=>l(o).run_order_grandet_mode.back_to_index=m)},{default:t(()=>n[101]||(n[101]=[d(" 跑单前返回主界面以保持登录状态 ")])),_:1},8,["checked"])]),_:1})):Q("",!0),e(y,null,{label:t(()=>[n[103]||(n[103]=i("span",null,"无人机使用房间",-1)),e(L,null,{default:t(()=>n[102]||(n[102]=[i("div",null,"加速制造站为指定制造站加速",-1),i("div",null,"（加速任意贸易站）只会加速有跑单人员作备班的站",-1),i("div",null,"例：没填龙舌兰但书的卖玉站 （加速任意贸易站） 不会被加速",-1),i("div",null,"如需要加速特定某个贸易站请指定对应房间",-1)])),_:1})]),default:t(()=>[e(O,{options:_.value,value:l(o).drone_room,"onUpdate:value":n[33]||(n[33]=m=>l(o).drone_room=m)},null,8,["options","value"])]),_:1}),e(y,null,{label:t(()=>[n[105]||(n[105]=i("span",null,"无人机使用阈值",-1)),e(L,null,{default:t(()=>n[104]||(n[104]=[i("div",null,"如加速贸易，推荐大于 贸易站数*x + 92",-1),i("div",null,"如加速制造，推荐大于 贸易站数*x",-1),i("div",null,"葛朗台跑单模式下x=0,非葛朗台推荐x=10",-1)])),_:1})]),default:t(()=>[e(G,{value:l(o).drone_count_limit,"onUpdate:value":n[34]||(n[34]=m=>l(o).drone_count_limit=m)},null,8,["value"])]),_:1}),e(y,null,{label:t(()=>[n[107]||(n[107]=i("span",null,"无人机加速间隔",-1)),e(L,null,{default:t(()=>n[106]||(n[106]=[i("div",null,"可填小数",-1)])),_:1})]),default:t(()=>[e(G,{value:l(o).drone_interval,"onUpdate:value":n[35]||(n[35]=m=>l(o).drone_interval=m)},{suffix:t(()=>n[108]||(n[108]=[d("小时")])),_:1},8,["value"])]),_:1}),e(y,{label:"搓玉补货房间"},{default:t(()=>[e(O,{multiple:"",filterable:"",tag:"",options:l(r),value:l(o).reload_room,"onUpdate:value":n[36]||(n[36]=m=>l(o).reload_room=m)},null,8,["options","value"])]),_:1}),e(y,null,{label:t(()=>[n[110]||(n[110]=i("span",null,"心情阈值",-1)),e(L,null,{default:t(()=>n[109]||(n[109]=[i("div",null,"2电站推荐不低于65%",-1),i("div",null,"3电站推荐不低于50%",-1),i("div",null,"即将大更新推荐设置成80%",-1)])),_:1})]),default:t(()=>[i("div",po,[e(Be,{value:l(o).resting_threshold,"onUpdate:value":n[37]||(n[37]=m=>l(o).resting_threshold=m),step:5,min:50,max:80,"format-tooltip":m=>`${m}%`},null,8,["value","format-tooltip"]),e(G,{value:l(o).resting_threshold,"onUpdate:value":n[38]||(n[38]=m=>l(o).resting_threshold=m),step:5,min:50,max:80},{suffix:t(()=>n[111]||(n[111]=[d("%")])),_:1},8,["value"])])]),_:1}),e(y,{"show-label":!1},{default:t(()=>[e(H,{checked:l(o).free_room,"onUpdate:checked":n[39]||(n[39]=m=>l(o).free_room=m)},{default:t(()=>[n[113]||(n[113]=d(" 宿舍不养闲人 ")),e(L,null,{default:t(()=>n[112]||(n[112]=[d("干员心情回满后，立即释放宿舍空位")])),_:1})]),_:1},8,["checked"])]),_:1})]),_:1},8,["label-placement"])]),_:1})]),i("div",null,[e(Ne)]),i("div",null,[e(Xe)]),i("div",null,[e(ye)]),i("div",null,[e(Qe)])]),i("div",mo,[i("div",null,[e(Je)]),i("div",null,[e(Ce)]),i("div",null,[e(Se)]),i("div",null,[e(Re)]),i("div",null,[e(Ze)]),i("div",null,[e(et)])])])}}},Bo=ke(vo,[["__scopeId","data-v-e9871853"]]);export{Bo as default};
