System.register(["./utils-lib-legacy.js?v=1761009159","./base-lib-legacy.js?v=1761009159","./index-legacy473.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,v,y,b,g,_,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,v=e.z,y=e.F,b=e.b0,g=e.J,_=e.C,V=e.an,j=e.ab,h=e.al,x=e.G,k=e.a9,w=e.ak},function(e){C=e.s,U=e.h,z=e.f,L=e.i,S=e.j,F=e.l,H=e.k,q=e.m,B=e.e,G=e.n},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:"content-compression",setup:function(e){return a(function(){return U.value.gzip},function(e){e?C(e):L.status=!1}),r(function(){C(U.value.gzip)}),function(e,u){var a=V,r=j,C=n,U=w,R=h,$=x,A=k,D=t,E=o("bt-loading");return s(),i("div",l,[c((s(),f(A,{ref_key:"compressFormRef",ref:H,class:"h-[48rem]",model:d(L),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(L).status,"onUpdate:modelValue":u[0]||(u[0]=function(e){return d(L).status=e}),onChange:d(S)},null,8,["modelValue","onChange"])]}),_:1}),c(v("div",I,[p(r,{label:"压缩类型",prop:"type"},{default:m(function(){return[p(C,{modelValue:d(L).type,"onUpdate:modelValue":u[1]||(u[1]=function(e){return d(L).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(L).level,"onUpdate:modelValue":u[2]||(u[2]=function(e){return d(L).level=e})},{default:m(function(){return[(s(),i(y,null,b(9,function(e){return p(U,{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[v("div",J,[p(C,{modelValue:d(L).minLength,"onUpdate:modelValue":u[3]||(u[3]=function(e){return d(L).minLength=e})},null,8,["modelValue"]),p(r,{prop:"unit"},{default:m(function(){return[p(R,{class:"ml-[1rem] !w-[8rem]",modelValue:d(L).unit,"onUpdate:modelValue":u[4]||(u[4]=function(e){return d(L).unit=e}),placeholder:"请选择"},{default:m(function(){return[(s(!0),i(y,null,b(d(F),function(e){return s(),f(U,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])}),128))]}),_:1},8,["modelValue"])]}),_:1})])]}),_:1})],512),[[g,d(L).status]]),c(p(r,{label:" ",class:"mt-[1.6rem]"},{default:m(function(){return[p($,{type:"primary",onClick:d(S)},{default:m(function(){return u[5]||(u[5]=[_("保存",-1)])}),_:1,__:[5]},8,["onClick"])]}),_:1},512),[[g,d(L).status]])]}),_:1},8,["model","rules","disabled"])),[[E,d(z)]]),v("div",N,[p(D,{options:d(G)},null,8,["options"])])])}}}))}}});
