import{o as i,c as m,w as r,u as e,g as a,b as o,f as u,h as p,a as s,d as n,e as l,F as d,D as _,t as f}from"./app-DA7OTM4Q.js";import{i as v,c as y}from"./app-BT68AfZ-.js";import{C as h}from"./app-P70ZK_FT.js";import{W as g}from"./app-D6fSNcLx.js";import{_ as x}from"./app-DokSVapq.js";import{_ as C}from"./app-CKSEN_Rg.js";import{_ as S}from"./app-BuCFHcNt.js";import{_ as b}from"./app-BkAiGH8d.js";import{D as $}from"./app-DNL2FXPk.js";import"./app-D5twQdhO.js";import"./app-BotiHebp.js";import"./app-up4gT9D9.js";import"./app-D29bbm9n.js";import"./app-Dxa5h-uG.js";import"./app-B_5dka6q.js";import"./app-BqY8p2gl.js";import"./app-CQwVTjAx.js";import"./app-Zes_jb7S.js";import"./app-BkWUIifj.js";import"./app-BHFzVhjx.js";import"./app-C5ROEzFd.js";import"./app-Bnbo6OlJ.js";import"./app-AbPAjGV5.js";import"./app-C-GI59rl.js";import"./app-DSiZNBrr.js";import"./app-a9KqBnqw.js";import"./app-KNE_24OY.js";import"./app-DuUYZNNT.js";import"./app-CFGyEQZz.js";import"./app-CHxME8Sw.js";import"./app-B5UbDc9M.js";import"./app-BQJXgoGu.js";import"./app-C0-Qcoum.js";import"./app-DEIWLCpe.js";import"./app-Bll_3-lM.js";function k(){v(this),this.success=this.$NotifyReloadSuccess("保存成功")}const w={key:0},D=["value"],N=["value"],T=s("td",{class:"title"},"绑定端口 *",-1),B={key:0},P={class:"ui basic small label"},vt={__name:"index",setup(V){const t=y(new k);return(R,F)=>(i(),m(h,{ctx:e(t),"has-tab":!0},{default:r(()=>[e(t).canSpecifyPort?p("",!0):(i(),a("div",w,[o(g,null,{default:r(()=>[u("根据管理员设定，你不能修改此网站端口信息。")]),_:1})])),o(x,{action:"$",onSuccess:e(t).success},{default:r(()=>[s("input",{type:"hidden",name:"serverId",value:e(t).serverId},null,8,D),s("input",{type:"hidden",name:"serverType",value:e(t).serverType},null,8,N),o($,null,{default:r(()=>[s("tbody",null,[s("tr",null,[T,s("td",null,[n(s("div",null,[o(S,{"v-server-type":e(t).serverType,"v-addresses":e(t).tlsConfig.listen,"v-protocol":"tls"},null,8,["v-server-type","v-addresses"])],512),[[l,e(t).canSpecifyPort]]),e(t).tlsConfig.listen!=null?n((i(),a("div",B,[(i(!0),a(d,null,_(e(t).tlsConfig.listen,c=>(i(),a("span",P,"tls://*:"+f(c.portRange),1))),256))],512)),[[l,!e(t).canSpecifyPort]]):p("",!0)])])])]),_:1}),n(o(b,{"v-ssl-policy":e(t).tlsConfig.sslPolicy,"v-protocol":"tls"},null,8,["v-ssl-policy"]),[[l,e(t).tlsConfig.isOn]]),o(C)]),_:1},8,["onSuccess"])]),_:1},8,["ctx"]))}};export{vt as default};
