HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/setting-replace-add-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./useController-legacy11.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useStore-legacy2.js?v=1777008528"],function(n,t){"use strict";var r,l,o,u,a,s,i,c,d,f,m,p,y,b,g,v,_,h,j,w,V,A,I,S,x,C,U;return{setters:[function(e){r=e.c,l=e.j,o=e.C,u=e.v,a=e.e,s=e.p,i=e.k,c=e.Q,d=e.x,f=e.q,m=e.s,p=e.y,y=e.ad,b=e.U,g=e.ag,v=e.ab},function(e){_=e.cO},function(e){h=e.g,j=e.i,w=e.j,V=e.k,A=e.r,I=e.l,S=e.m,x=e.n,C=e.d,U=e.q},null,null,null,null,null,null],execute:function(){var t={key:0},k={class:"mt-[1.6rem]"};n("default",r({__name:"setting-replace-add",setup:function(n,r){return(0,r.expose)({onConfirm:h}),function(n,r){var h=_,q=y,O=b,E=g,F=v;return l(),o(F,{ref_key:"replaceFormRef",ref:x,disabled:s(C),model:s(j),class:"p-[2rem] addfrom",rules:s(U),"label-width":"5rem"},{default:u(function(){return[a(q,{label:"原关键词",prop:"oldstr"},{default:u(function(){return[a(h,{modelValue:s(j).oldstr,"onUpdate:modelValue":r[0]||(r[0]=function(e){return s(j).oldstr=e}),width:"40rem",placeholder:"请输入要被替换的内容,如:http://www.bt.cn",onInput:s(w)},null,8,["modelValue","onInput"])]}),_:1}),a(q,{label:"替换词",prop:"newstr"},{default:u(function(){return[a(h,{modelValue:s(j).newstr,"onUpdate:modelValue":r[1]||(r[1]=function(e){return s(j).newstr=e}),width:"40rem",placeholder:"新的内容,如:https://www.bt.cn",onInput:s(w)},null,8,["modelValue","onInput"]),s(V).subs_filter?(l(),i("div",t,[a(E,{class:"mt-[1.6rem]",modelValue:s(A),"onUpdate:modelValue":r[2]||(r[2]=function(e){return c(A)?A.value=e:null}),onChange:s(I)},{default:u(function(){return[a(O,{value:"i"},{default:u(function(){return e(r[3]||(r[3]=[d("不区分大小写(",-1),f("span",{class:"font-bold"},"i",-1),d(")",-1)]))}),_:1}),a(O,{value:"o"},{default:u(function(){return e(r[4]||(r[4]=[d("只替换第一个(",-1),f("span",{class:"font-bold"},"o",-1),d(")",-1)]))}),_:1}),a(O,{value:"r"},{default:u(function(){return e(r[5]||(r[5]=[d("正则表达式(",-1),f("span",{class:"font-bold"},"r",-1),d(")",-1)]))}),_:1})]}),_:1},8,["modelValue","onChange"]),f("div",k,m(s(S)),1)])):p("",!0)]}),_:1})]}),_:1},8,["disabled","model","rules"])}}}))}}})}();