import{aC as e,e as s}from"./utils-lib.js?v=1761009159";import{u as a,S as t}from"./useStore4.js?v=1761009159";import{i as l,t as i,a as n,o}from"./useController19.js?v=1761009159";import{c as r,q as p,v as m,x as u,y as x,N as c,Q as d,z as f,C as g,e as y,B as h}from"./base-lib.js?v=1761009159";const j={key:1,class:"bg-light flex items-center justify-center h-full",style:{"min-height":"600px"}},v={class:"bg-lighter px-[48px] py-[16px] text-default flex items-center"},b=r({__name:"index",setup(r,{expose:b}){const{isBindExtranet:C,siteType:_}=a(),{jumpTabEvent:k}=t();return p(l),b({init:l}),(a,t)=>{const l=e,r=s;return m(),u("div",null,[x(C)||"java"===x(_)?(m(),c(l,{key:0,type:"card",modelValue:x(i),"onUpdate:modelValue":t[0]||(t[0]=e=>d(i)?i.value=e:null),options:x(n),onChange:x(o)},null,8,["modelValue","options","onChange"])):(m(),u("div",j,[f("div",v,[t[3]||(t[3]=g(" 请开启 ",-1)),y(r,{class:"mx-[.4rem]",onClick:t[1]||(t[1]=e=>x(k)("mapping"))},{default:h(()=>t[2]||(t[2]=[g(" 外网映射 ",-1)])),_:1,__:[2]}),t[4]||(t[4]=g(" 后查看 ",-1))])]))])}}});export{b as _};
