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/cache-dialog-legacy.js
!function(){function e(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var n,r,i="function"==typeof Symbol?Symbol:{},u=i.iterator||"@@iterator",o=i.toStringTag||"@@toStringTag";function a(e,i,u,o){var a=i&&i.prototype instanceof c?i:c,s=Object.create(a.prototype);return t(s,"_invoke",function(e,t,i){var u,o,a,c=0,s=i||[],f=!1,m={p:0,n:0,v:n,a:p,f:p.bind(n,4),d:function(e,t){return u=e,o=0,a=n,m.n=t,l}};function p(e,t){for(o=e,a=t,r=0;!f&&c&&!i&&r<s.length;r++){var i,u=s[r],p=m.p,d=u[2];e>3?(i=d===t)&&(a=u[(o=u[4])?5:(o=3,3)],u[4]=u[5]=n):u[0]<=p&&((i=e<2&&p<u[1])?(o=0,m.v=t,m.n=u[1]):p<d&&(i=e<3||u[0]>t||t>d)&&(u[4]=e,u[5]=t,m.n=d,o=0))}if(i||e>1)return l;throw f=!0,t}return function(i,s,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,d),o=s,a=d;(r=o<2?n:a)||!f;){u||(o?o<3?(o>1&&(m.n=-1),p(o,a)):m.n=a:m.v=a);try{if(c=2,u){if(o||(i="next"),r=u[i]){if(!(r=r.call(u,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,o<2&&(o=0)}else 1===o&&(r=u.return)&&r.call(u),o<2&&(a=TypeError("The iterator does not provide a '"+i+"' method"),o=1);u=n}else if((r=(f=m.n<0)?a:e.call(t,m))!==l)break}catch(r){u=n,o=1,a=r}finally{c=1}}return{value:r,done:f}}}(e,u,o),!0),s}var l={};function c(){}function s(){}function f(){}r=Object.getPrototypeOf;var m=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),p=f.prototype=c.prototype=Object.create(m);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,t(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,t(p,"constructor",f),t(f,"constructor",s),s.displayName="GeneratorFunction",t(f,o,"GeneratorFunction"),t(p),t(p,o,"Generator"),t(p,u,function(){return this}),t(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:a,m:d}})()}function t(e,n,r,i){var u=Object.defineProperty;try{u({},"",{})}catch(e){u=0}t=function(e,n,r,i){function o(n,r){t(e,n,function(e){return this._invoke(n,r,e)})}n?u?u(e,n,{value:r,enumerable:!i,configurable:!i,writable:!i}):e[n]=r:(o("next",0),o("throw",1),o("return",2))},t(e,n,r,i)}function n(e,t,n,r,i,u,o){try{var a=e[u](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./form-item-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./index-legacy298.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy206.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy116.js?v=1777008528","./index-legacy175.js?v=1777008528","./index.vue_vue_type_style_index_0_scoped_cdc7f4d3_lang-legacy.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy8.js?v=1777008528","./index.vue_vue_type_script_setup_true_lang-legacy18.js?v=1777008528","./index-legacy118.js?v=1777008528","./index-legacy302.js?v=1777008528","./index-legacy217.js?v=1777008528","./index-legacy131.js?v=1777008528"],function(t,r){"use strict";var i,u,o,a,l,c,s,f,m,p,d,v,y,g,_,j,b;return{setters:[function(e){i=e.X,u=e.cO,o=e.W,a=e.k,l=e.cZ},function(e){c=e.c,s=e.aC,f=e.g,m=e.e,p=e.j,d=e.k,v=e.p},function(e){y=e.F,g=e.g},function(e){_=e.setPhpSiteCache},function(e){j=e.u},function(e){b=e.u},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var r={class:"flex flex-col p-[1.6rem]"},h=c({__name:"cache-dialog",props:{compData:{default:void 0}},setup:function(t,l){var c,h,x=l.expose,w=t,V=j(),O=b(),U=s("popupClose",function(){}),S=[{label:"秒",value:"s"},{label:"分钟",value:"m"},{label:"小时",value:"h"},{label:"天",value:"d"}],P=i({data:function(){var e,t;console.log(w);var n,r=function(e){if(!e)return{timeValue:"",timeUnit:"h"};var t=e.match(/^(\d+)([dhms])$/);return t?{timeValue:t[1],timeUnit:t[2]}:{timeValue:"",timeUnit:"h"}}(null===(e=w.compData)||void 0===e?void 0:e.time_out),i=r.timeValue,u=r.timeUnit;return{suffix:(n=null===(t=w.compData)||void 0===t||null===(t=t._original)||void 0===t?void 0:t.suffix)&&Array.isArray(n)?n.join(","):"",timeValue:i,timeUnit:u}},options:f(function(){return[y("缓存后缀","suffix",{attrs:{class:"!w-[30rem]",placeholder:"例如:jpg,css,js"},rules:[{required:!0,message:"请输入缓存后缀",trigger:"blur"}]}),g("缓存时间",function(){return m("div",{class:"flex items-center"},[m(u,{modelValue:T.value.timeValue,"onUpdate:modelValue":function(e){return T.value.timeValue=e},type:"number",class:"!w-[15rem]",placeholder:"请输入缓存时间"},null),m(o,{modelValue:T.value.timeUnit,"onUpdate:modelValue":function(e){return T.value.timeUnit=e},options:S,class:"!w-[10rem] ml-[1rem]"},null)])},"timeValue",{rules:{timeValue:[{required:!0,message:"请输入缓存时间",trigger:"blur"},{validator:function(e,t,n){!t||t<=0?n(new Error("缓存时间必须大于0")):n()},trigger:"blur"}]}})]}),submit:(c=e().m(function t(n,r){var i,u,o,l;return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,r();case 1:u="".concat(n.value.timeValue).concat(n.value.timeUnit),o=n.value.suffix.split(",").map(function(e){return e.trim()}).filter(function(e){return e}),l={site_name:V.siteInfo.value.name,suffix:o,time_out:u},null!==(i=w.compData)&&void 0!==i&&null!==(i=i._original)&&void 0!==i&&i.suffix&&(l.old_suffix=w.compData._original.suffix),a({loading:w.compData?"保存中...":"添加中...",message:!0,request:_(l),success:function(){O.isRefreshCacheList=!0,U()}});case 2:return e.a(2)}},t)}),h=function(){var e=this,t=arguments;return new Promise(function(r,i){var u=c.apply(e,t);function o(e){n(u,r,i,o,a,"next",e)}function a(e){n(u,r,i,o,a,"throw",e)}o(void 0)})},function(e,t){return h.apply(this,arguments)})}),D=P.BtForm,G=P.submit,T=P.param;return x({onConfirm:G}),function(e,t){return p(),d("div",r,[m(v(D))])}}});t("default",l(h,[["__scopeId","data-v-85abd2b4"]]))}}})}();