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-DA7OTM4Q.js";import{i as p,c as d}from"./app-BT68AfZ-.js";import{_ as f}from"./app-CKBPOVnC.js";import{_ as h}from"./app-DokSVapq.js";import{D as g}from"./app-DNL2FXPk.js";import{_ as v}from"./app-a9KqBnqw.js";import{_ as x}from"./app-CKSEN_Rg.js";import{_ as C}from"./app-DQ7IohAF.js";import"./app-P70ZK_FT.js";import"./app-D5twQdhO.js";import"./app-BotiHebp.js";import"./app-OC5wWJiS.js";import"./app-CnGe5nlE.js";import"./app-KNE_24OY.js";import"./app-Dxa5h-uG.js";import"./app-Zes_jb7S.js";import"./app-D6fSNcLx.js";import"./app-up4gT9D9.js";import"./app-D29bbm9n.js";import"./app-B_5dka6q.js";import"./app-BqY8p2gl.js";import"./app-CQwVTjAx.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},Y={__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{Y as default};
