System.register(["./index.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509","./page_layout-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./index-legacy86.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509","./common-legacy.js?v=1753954525509","./__commonjsHelpers__-legacy.js?v=1753954525509","./index-legacy127.js?v=1753954525509","./index-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy4.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy7.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy5.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy11.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy6.js?v=1753954525509","./site-legacy4.js?v=1753954525509","./soft-legacy.js?v=1753954525509","./site-legacy.js?v=1753954525509","./index-legacy237.js?v=1753954525509","./index-legacy100.js?v=1753954525509","./index-legacy102.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy9.js?v=1753954525509","./index-legacy96.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy14.js?v=1753954525509","./theme-chrome-legacy.js?v=1753954525509","./file-legacy2.js?v=1753954525509","./refersh-legacy.js?v=1753954525509","./php-legacy.js?v=1753954525509","./index.vue_vue_type_script_setup_true_lang-legacy17.js?v=1753954525509","./index-legacy101.js?v=1753954525509","./ssl-legacy.js?v=1753954525509","./cert-legacy.js?v=1753954525509","./utils-legacy3.js?v=1753954525509","./index-legacy209.js?v=1753954525509","./paypal-js-legacy.js?v=1753954525509","./ssl-lets-progress-legacy.js?v=1753954525509","./Ssl.vue_vue_type_script_setup_true_lang-legacy.js?v=1753954525509"],(function(e,l){"use strict";var s,u,a,n,t,_,c,i,g,y,r,p,d,j,v,o,x,f,m;return{setters:[e=>{s=e._},e=>{u=e.dc,a=e.w,n=e.m},e=>{t=e.c},e=>{_=e.J,c=e.K},e=>{i=e.k,g=e.P,y=e.r,r=e.U,p=e.V,d=e.Q,j=e.a2,v=e.W,o=e.X,x=e.ah},e=>{f=e.cG,m=e.cA},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){const l={class:"p-20px"},h={class:"w-150px"};e("default",i({__name:"batch",props:{data:{}},setup(e,{expose:i}){const w=e,{t:P}=g(),{rows:b}=w.data,S=u(),H=y(null),k=y([]),{loading:J,setLoading:U}=t();return(async()=>{try{U(!0);const{message:e}=await _();a(e)&&e.length>0?(k.value=e.map((e=>({label:e.name,value:e.id}))),H.value=e[0].id):(H.value=null,k.value=[])}finally{U(!1)}})(),i({onConfirm:async({hide:e})=>{await c((()=>{if(null===H.value)throw n.error(P("Site.PHP.add_site_46")),new Error(P("Site.PHP.add_site_46"));return{site_type:H.value,site_ids:JSON.stringify(b.map((e=>e.id)))}})()),S.setRefresh(!0),e()}}),(e,u)=>{const a=f,n=m,t=s;return r(),p("div",l,[d(t,null,{default:j((()=>[d(n,{label:e.$t("Site.PHP.add_site_22"),"show-feedback":!1},{default:j((()=>[v("div",h,[d(a,{value:o(H),"onUpdate:value":u[0]||(u[0]=e=>x(H)?H.value=e:null),loading:o(J),options:o(k)},null,8,["value","loading","options"])])])),_:1},8,["label"])])),_:1})])}}}))}}}));
