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/index-legacy482.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 t,r,u="function"==typeof Symbol?Symbol:{},o=u.iterator||"@@iterator",a=u.toStringTag||"@@toStringTag";function l(e,u,o,a){var l=u&&u.prototype instanceof c?u:c,s=Object.create(l.prototype);return n(s,"_invoke",function(e,n,u){var o,a,l,c=0,s=u||[],f=!1,p={p:0,n:0,v:t,a:m,f:m.bind(t,4),d:function(e,n){return o=e,a=0,l=t,p.n=n,i}};function m(e,n){for(a=e,l=n,r=0;!f&&c&&!u&&r<s.length;r++){var u,o=s[r],m=p.p,d=o[2];e>3?(u=d===n)&&(l=o[(a=o[4])?5:(a=3,3)],o[4]=o[5]=t):o[0]<=m&&((u=e<2&&m<o[1])?(a=0,p.v=n,p.n=o[1]):m<d&&(u=e<3||o[0]>n||n>d)&&(o[4]=e,o[5]=n,p.n=d,a=0))}if(u||e>1)return i;throw f=!0,n}return function(u,s,d){if(c>1)throw TypeError("Generator is already running");for(f&&1===s&&m(s,d),a=s,l=d;(r=a<2?t:l)||!f;){o||(a?a<3?(a>1&&(p.n=-1),m(a,l)):p.n=l:p.v=l);try{if(c=2,o){if(a||(u="next"),r=o[u]){if(!(r=r.call(o,l)))throw TypeError("iterator result is not an object");if(!r.done)return r;l=r.value,a<2&&(a=0)}else 1===a&&(r=o.return)&&r.call(o),a<2&&(l=TypeError("The iterator does not provide a '"+u+"' method"),a=1);o=t}else if((r=(f=p.n<0)?l:e.call(n,p))!==i)break}catch(r){o=t,a=1,l=r}finally{c=1}}return{value:r,done:f}}}(e,o,a),!0),s}var i={};function c(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][o]?r(r([][o]())):(n(r={},o,function(){return this}),r),m=f.prototype=c.prototype=Object.create(p);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,n(e,a,"GeneratorFunction")),e.prototype=Object.create(m),e}return s.prototype=f,n(m,"constructor",f),n(f,"constructor",s),s.displayName="GeneratorFunction",n(f,a,"GeneratorFunction"),n(m),n(m,a,"Generator"),n(m,o,function(){return this}),n(m,"toString",function(){return"[object Generator]"}),(e=function(){return{w:l,m:d}})()}function n(e,t,r,u){var o=Object.defineProperty;try{o({},"",{})}catch(e){o=0}n=function(e,t,r,u){function a(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?o?o(e,t,{value:r,enumerable:!u,configurable:!u,writable:!u}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},n(e,t,r,u)}function t(e,n,t,r,u,o,a){try{var l=e[o](a),i=l.value}catch(e){return void t(e)}l.done?n(i):Promise.resolve(i).then(r,u)}function r(e){return function(){var n=this,r=arguments;return new Promise(function(u,o){var a=e.apply(n,r);function l(e){t(a,u,o,l,i,"next",e)}function i(e){t(a,u,o,l,i,"throw",e)}l(void 0)})}}System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./useController-legacy19.js?v=1777008528","./form-item-legacy.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./index-legacy3.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./useController-legacy13.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy192.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,t){"use strict";var u,o,a,l,i,c,s,f,p,m,d,v,y,h,b,g,w,j,x;return{setters:[function(e){u=e.c,o=e.B,a=e.k,l=e.X},function(e){i=e.aI,c=e.g,s=e.e,f=e.T,p=e.x,m=e.aW,d=e.c,v=e.o,y=e.j,h=e.k,b=e.p},function(e){g=e.u},function(e){w=e.k},function(e){j=e.h},function(e){x=e.k},null,null,null,null,null,null,null],execute:function(){var t=u().payment,_=i(g()),P=_.localRow,D=_.cloneLocalForm,k=_.isRefreshLocalList,O=function(){return c(function(){var e={type:"custom",key:"subDomain",render:function(){return s(o,{label:" ",prop:"subDomain"},{default:function(){return[s(f,{style:"min-width: 220px; max-width: 300px",modelValue:D.value.subDomain,"onUpdate:modelValue":function(e){return D.value.subDomain=e}},{append:function(){return s("span",null,[p("."),P.value.name])}}),s(f,{style:"width: 120px",class:"ml-[1rem]",modelValue:D.value.subPath,"onUpdate:modelValue":function(e){return D.value.subPath=e},placeholder:"克隆路径"},{prepend:function(){return s("span",null,[p("/")])}}),s(m,{content:"空克隆路径意味着克隆在根目录中",placement:"top"},{default:function(){return[s("span",{class:"svgtofont-el-warning !text-extraLarge ml-[1rem] !text-warning"},null)]}})]}})},rules:{subDomain:[{required:!0,message:"请输入子域名",trigger:"blur"}]}},n={type:"custom",render:function(){return s(o,{label:" ",prop:"newDomain"},{default:function(){return[s(f,{style:"width: 200px",modelValue:D.value.newDomain,"onUpdate:modelValue":function(e){return D.value.newDomain=e},placeholder:"新域名"},null),s(f,{style:"width: 120px",class:"ml-[1rem]",modelValue:D.value.newPath,"onUpdate:modelValue":function(e){return D.value.newPath=e},placeholder:"克隆路径"},{prepend:function(){return s("span",null,[p("/")])}}),s(m,{content:"空克隆路径意味着克隆在根目录中",placement:"top"},{default:function(){return[s("span",{class:"svgtofont-el-warning !text-extraLarge ml-[1rem] !text-warning"},null)]}})]}})},rules:{newDomain:[{required:!0,message:"请输入新的域名",trigger:"blur"}]}};return[{type:"custom",render:function(){return s(o,{label:"来源站点"},{default:function(){return[s("span",null,[P.value.name])]}})}},{label:"目标站点",key:"method",type:"radio:button",options:[{label:"创建子域名",value:1},{label:"创建新域名",value:2}]},1===D.value.method?e:n,w("FastCGI缓存","cache_status",{attrs:{class:"!w-[100px]"}})]})},F=function(){return{domain:1===D.value.method?"".concat(D.value.subDomain,".").concat(P.value.name):D.value.newDomain,s_id:P.value.id,sub_path:1===D.value.method?D.value.subPath:D.value.newPath,enable_cache:D.value.cache_status?1:0}},T=function(){var n=r(e().m(function n(r){return e().w(function(e){for(;;)switch(e.n){case 0:if("ltd"===t.value.authType){e.n=1;break}return x({disablePro:!0,sourceId:335}),e.a(2);case 1:a({loading:"正在克隆站点...",request:j(F()),message:!0,success:function(e){e.status&&(r(),k.value=!0)}});case 2:return e.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}(),V={class:"p-[2rem]"};n("default",d({__name:"index",setup:function(n,t){var u,o=t.expose,a=i(g()).cloneLocalForm,c=g().resetCloneLocalForm,f=l({data:function(){return a.value},options:O(),submit:(u=r(e().m(function n(t,r,u){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,r();case 1:return e.a(2)}},n)})),function(e,n,t){return u.apply(this,arguments)})}),p=f.BtForm,m=f.submit,d=function(){var n=r(e().m(function n(t){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,m();case 1:T(t);case 2:return e.a(2)}},n)}));return function(e){return n.apply(this,arguments)}}();return v(function(){c()}),o({onConfirm:d}),function(e,n){return y(),h("div",V,[s(b(p))])}}}))}}})}();