import{o,c as n,w as r,u as t,g as i,b as a,f as c,h as l,a as s,d as p,e as u,F as d,D as _,t as f}from"./app-SC54XQDl.js";import{i as v,c as h}from"./app-Ba7ZqSpq.js";import{C as y}from"./app-qhR41k1m.js";import{W as x}from"./app-B9xxzP2y.js";import{_ as g}from"./app-DFulsyXy.js";import{_ as C}from"./app-DWUwCFNm.js";import{T as S}from"./app-DoVkxbmA.js";import{_ as T}from"./app-EJKcBieS.js";import{D as b}from"./app-ZeVDYyDS.js";import"./app-CS3AUTAk.js";import"./app-CCkWSX4Q.js";import"./app-C28obFWS.js";import"./app-CkINxBL9.js";import"./app-PPG0ZS4d.js";import"./app--Lj8zATS.js";import"./app-Ch8j4za4.js";import"./app-C2mBgI5Z.js";import"./app-CNHjdV6U.js";function k(){v(this),this.success=this.$NotifyReloadSuccess("保存成功")}const w={key:0},D=["value"],N=["value"],$=s("td",{class:"title"},"绑定端口 *",-1),B={key:0,class:"label-group"},Y={__name:"index",setup(V){const e=h(new k);return(L,P)=>(o(),n(y,{ctx:t(e),"has-tab":!0},{default:r(()=>[t(e).canSpecifyPort?l("",!0):(o(),i("div",w,[a(x,null,{default:r(()=>[c("根据系统管理员设定，你不能修改此网站的端口信息。")]),_:1})])),a(g,{action:"$",onSuccess:t(e).success},{default:r(()=>[s("input",{type:"hidden",name:"serverId",value:t(e).serverId},null,8,D),s("input",{type:"hidden",name:"serverType",value:t(e).serverType},null,8,N),a(b,null,{default:r(()=>[s("tbody",null,[s("tr",null,[$,s("td",null,[p(s("div",null,[a(T,{"v-server-type":t(e).serverType,"v-addresses":t(e).tcpConfig.listen,"v-protocol":"tcp"},null,8,["v-server-type","v-addresses"])],512),[[u,t(e).canSpecifyPort]]),t(e).tcpConfig.listen!=null?p((o(),i("div",B,[(o(!0),i(d,null,_(t(e).tcpConfig.listen,m=>(o(),n(S,{outlined:""},{default:r(()=>[c("tcp://*:"+f(m.portRange),1)]),_:2},1024))),256))],512)),[[u,!t(e).canSpecifyPort]]):l("",!0)])])])]),_:1}),a(C)]),_:1},8,["onSuccess"])]),_:1},8,["ctx"]))}};export{Y as default};
