import{_ as f}from"./index-DIKmrNCq.js?v=1773287522785";import{_ as d}from"./index-CZps0rIN.js?v=1773287522785";import{ht as g,i as v}from"./index-BTglIPU2.js?v=1773287522785";import{c as x}from"./copy-D-wIKr0q.js?v=1773287522785";import{U as C}from"./setting-DouXuJGW.js?v=1773287522785";import{B}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k as w,r as y,$ as b,Z as k,a0 as e,X as $,S,_ as a,a9 as s,j as r,aa as n}from"./vue-core-DJjvd5ZC.js?v=1773287522785";import"./prismjs-BZPoR7_J.js?v=1773287522785";const D={class:"p-20px"},h={class:"mt-12px"},R=w({__name:"export",setup(j){const o=y(""),p=()=>{x(o.value)},c=()=>{g(o.value,"waf_config.json")};return(async()=>{const{message:t}=await C();v(t)&&(o.value=t.result)})(),(t,l)=>{const _=d,i=B,u=f;return b(),k("div",D,[e(_,{value:S(o),"onUpdate:value":l[0]||(l[0]=m=>$(o)?o.value=m:null),rows:14},null,8,["value"]),a("div",h,[e(i,{type:"primary",onClick:p},{default:s(()=>[r(n(t.$t("Public.Btn.Copy")),1)]),_:1}),e(i,{class:"ml-12px",onClick:c},{default:s(()=>[r(n(t.$t("Public.Btn.Download")),1)]),_:1})]),e(u,{class:"mt-16px"},{default:s(()=>[a("li",null,n(t.$t("Waf.Setting.index_19")),1),a("li",null,n(t.$t("Waf.Setting.index_20")),1),a("li",null,n(t.$t("Waf.Setting.index_21")),1)]),_:1})])}}});export{R as default};
