import{o as i,c as l,w as n,u as e,g as a,b as s,a as o,d as u,e as _,h as m}from"./app-DnroACXc.js";import{i as p,c as d}from"./app-DckefXYL.js";import{_ as f}from"./app-DgsA44Do.js";import{_ as h}from"./app-MnSDCF4P.js";import{D as g}from"./app-Cx7ENVlu.js";import{_ as v}from"./app-BbRQPmFH.js";import{_ as x}from"./app-COct4tsy.js";import{_ as C}from"./app-CeaP97on.js";import"./app-B2-Q9WJQ.js";import"./app-DAKlLAys.js";import"./app-xECxwo4T.js";import"./app-BBDtZW3a.js";import"./app-Co2SIBzr.js";import"./app-B0NrURRk.js";import"./app-B4bUdtyo.js";import"./app-CYYQ_Zep.js";import"./app-LqsmzyUT.js";import"./app-C7P1WxYu.js";import"./app-R-vSvFIF.js";import"./app-HaDoyrq5.js";import"./app-Cmxxk_WX.js";import"./app-CF8nmC-F.js";import"./app-B09rlSqG.js";function y(){p(this),this.success=this.$NotifyReloadSuccess("保存成功")}const S={key:0},$=["value"],N=["value"],O=o("td",null,"启用gRPC",-1),R=o("p",{class:"comment"},"选中后，表示启用当前网站的gRPC反向代理功能；在启用之前，请确保源站支持gRPC。不启用gRPC时当前网站会自动恢复为普通网站。",-1),V={key:1},Z={__name:"index",setup(k){const t=d(new y);return(w,r)=>(i(),l(f,{ctx:e(t)},{default:n(()=>[e(t).featureIsOn?(i(),a("div",S,[s(h,{action:"$",onSuccess:e(t).success},{default:n(()=>[o("input",{type:"hidden",name:"serverId",value:e(t).serverId},null,8,$),o("input",{type:"hidden",name:"grpcJSON",value:JSON.stringify(e(t).config)},null,8,N),s(g,null,{default:n(()=>[o("tbody",null,[o("tr",null,[O,o("td",null,[s(v,{modelValue:e(t).config.isOn,"onUpdate:modelValue":r[0]||(r[0]=c=>e(t).config.isOn=c)},null,8,["modelValue"]),R])])])]),_:1}),u(s(x,null,null,512),[[_,!e(t).isShared]])]),_:1},8,["onSuccess"])])):m("",!0),e(t).featureIsOn?m("",!0):(i(),a("div",V,[s(C)]))]),_:1},8,["ctx"]))}};export{Z as default};
