System.register(["./base-lib-legacy.js?v=1761009159","./utils-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,r,a,o,s,d,c,i,f,m,p,_,b,g,w,y,v,j,h,V,C,k,x,I,U;return{setters:[function(e){n=e.c,t=e.v,u=e.N,r=e.B,a=e.e,o=e.y,s=e.x,d=e.Q,c=e.C,i=e.z,f=e.A,m=e.D,p=e.ab,_=e.U,b=e.ae,g=e.a9},function(e){w=e.k},function(e){y=e.k,v=e.l,j=e.m,h=e.p,V=e.r,C=e.n,k=e.q,x=e.v,I=e.e,U=e.w},null,null,null,null,null,null],execute:function(){var l={key:0},S={class:"mt-[1.6rem]"};e("default",n({__name:"setting-replace-add",setup:function(e,n){return(0,n.expose)({onConfirm:y}),function(e,n){var y=w,q=p,z=_,A=b,B=g;return t(),u(B,{ref_key:"replaceFormRef",ref:x,disabled:o(I),model:o(v),class:"p-[2rem] addfrom",rules:o(U),"label-width":"5rem"},{default:r(function(){return[a(q,{label:"原关键词",prop:"oldstr"},{default:r(function(){return[a(y,{modelValue:o(v).oldstr,"onUpdate:modelValue":n[0]||(n[0]=function(e){return o(v).oldstr=e}),width:"40rem",placeholder:"请输入要被替换的内容，如：http://www.bt.cn",onInput:o(j)},null,8,["modelValue","onInput"])]}),_:1}),a(q,{label:"替换词",prop:"newstr"},{default:r(function(){return[a(y,{modelValue:o(v).newstr,"onUpdate:modelValue":n[1]||(n[1]=function(e){return o(v).newstr=e}),width:"40rem",placeholder:"新的内容，如：https://www.bt.cn",onInput:o(j)},null,8,["modelValue","onInput"]),o(h).subs_filter?(t(),s("div",l,[a(A,{class:"mt-[1.6rem]",modelValue:o(V),"onUpdate:modelValue":n[2]||(n[2]=function(e){return d(V)?V.value=e:null}),onChange:o(C)},{default:r(function(){return[a(z,{value:"i"},{default:r(function(){return n[3]||(n[3]=[c("不区分大小写(",-1),i("span",{class:"font-bold"},"i",-1),c(")",-1)])}),_:1,__:[3]}),a(z,{value:"o"},{default:r(function(){return n[4]||(n[4]=[c("只替换第一个(",-1),i("span",{class:"font-bold"},"o",-1),c(")",-1)])}),_:1,__:[4]}),a(z,{value:"r"},{default:r(function(){return n[5]||(n[5]=[c("正则表达式(",-1),i("span",{class:"font-bold"},"r",-1),c(")",-1)])}),_:1,__:[5]})]}),_:1},8,["modelValue","onChange"]),i("div",S,f(o(k)),1)])):m("",!0)]}),_:1})]}),_:1},8,["disabled","model","rules"])}}}))}}});
