System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./useController-legacy14.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159","./site-legacy.js?v=1761009159","./column-legacy.js?v=1761009159","./index-legacy106.js?v=1761009159","./validator-legacy.js?v=1761009159","./useStore-legacy4.js?v=1761009159"],function(e,l){"use strict";var n,t,u,a,r,o,s,i,c,d,f,m,p,g,v,y,b,_,V,j,h,x,k,w,C,U,z,L,S,F,H,$,q,B,G;return{setters:[function(e){n=e.k,t=e.$},function(e){u=e.c,a=e.w,r=e.q,o=e.H,s=e.v,i=e.x,c=e.I,d=e.y,f=e.N,m=e.B,p=e.e,g=e.z,v=e.F,y=e.b0,b=e.J,_=e.C,V=e.an,j=e.ab,h=e.ak,x=e.al,k=e.G,w=e.a9},function(e){C=e.$,U=e.a0,z=e.p,L=e.f,S=e.a1,F=e.a2,H=e.a3,$=e.a4,q=e.a5,B=e.e,G=e.a6},null,null,null,null,null,null],execute:function(){var l={class:"p-[20px]"},I={class:"mt-[1.6rem]"},J={class:"flex items-center"},N={class:"ml-[20px]"};e("default",u({__name:"setting-compress",setup:function(e){return a(function(){return z.value.gzip},function(e){e?C(e):U.status=!1}),r(function(){C(z.value.gzip)}),function(e,u){var a=V,r=j,C=n,z=h,R=x,A=k,D=w,E=t,K=o("bt-loading");return s(),i("div",l,[c((s(),f(D,{ref_key:"compressFormRef",ref:$,class:"h-[38rem]",model:d(U),rules:d(q),"label-width":"100px",disabled:d(B)},{default:m(function(){return[p(r,{label:"内容压缩",prop:"status"},{default:m(function(){return[p(a,{modelValue:d(U).status,"onUpdate:modelValue":u[0]||(u[0]=function(e){return d(U).status=e}),onChange:d(S)},null,8,["modelValue","onChange"])]}),_:1}),c(g("div",I,[p(r,{label:"压缩类型",prop:"type"},{default:m(function(){return[p(C,{modelValue:d(U).type,"onUpdate:modelValue":u[1]||(u[1]=function(e){return d(U).type=e}),type:"textarea",width:"42rem",rows:6,resize:"none"},null,8,["modelValue"])]}),_:1}),p(r,{label:"压缩级别",prop:"level"},{default:m(function(){return[p(R,{class:"!w-[42rem]",modelValue:d(U).level,"onUpdate:modelValue":u[2]||(u[2]=function(e){return d(U).level=e})},{default:m(function(){return[(s(),i(v,null,y(9,function(e){return p(z,{key:e,label:e,value:String(e)},null,8,["label","value"])}),64))]}),_:1},8,["modelValue"])]}),_:1}),p(r,{label:"压缩最小长度",prop:"minLength"},{default:m(function(){return[g("div",J,[p(C,{modelValue:d(U).minLength,"onUpdate:modelValue":u[3]||(u[3]=function(e){return d(U).minLength=e})},null,8,["modelValue"]),p(r,{prop:"unit"},{default:m(function(){return[p(R,{class:"ml-[1rem] !w-[8rem]",modelValue:d(U).unit,"onUpdate:modelValue":u[4]||(u[4]=function(e){return d(U).unit=e}),placeholder:"请选择"},{default:m(function(){return[(s(!0),i(v,null,y(d(F),function(e){return s(),f(z,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])}),128))]}),_:1},8,["modelValue"])]}),_:1})])]}),_:1})],512),[[b,d(U).status]]),c(p(r,{label:" ",class:"mt-[1.6rem]"},{default:m(function(){return[p(A,{type:"primary",onClick:d(H)},{default:m(function(){return u[5]||(u[5]=[_("保存",-1)])}),_:1,__:[5]},8,["onClick"])]}),_:1},512),[[b,d(U).status]])]}),_:1},8,["model","rules","disabled"])),[[K,d(L)]]),g("div",N,[p(E,{options:d(G)},null,8,["options"])])])}}}))}}});
