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/applay-lest-ssl-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 t,r,o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",a=o.toStringTag||"@@toStringTag";function u(e,o,l,a){var u=o&&o.prototype instanceof i?o:i,s=Object.create(u.prototype);return n(s,"_invoke",function(e,n,o){var l,a,u,i=0,s=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return l=e,a=0,u=t,d.n=n,c}};function p(e,n){for(a=e,u=n,r=0;!f&&i&&!o&&r<s.length;r++){var o,l=s[r],p=d.p,y=l[2];e>3?(o=y===n)&&(u=l[(a=l[4])?5:(a=3,3)],l[4]=l[5]=t):l[0]<=p&&((o=e<2&&p<l[1])?(a=0,d.v=n,d.n=l[1]):p<y&&(o=e<3||l[0]>n||n>y)&&(l[4]=e,l[5]=n,d.n=y,a=0))}if(o||e>1)return c;throw f=!0,n}return function(o,s,y){if(i>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,y),a=s,u=y;(r=a<2?t:u)||!f;){l||(a?a<3?(a>1&&(d.n=-1),p(a,u)):d.n=u:d.v=u);try{if(i=2,l){if(a||(o="next"),r=l[o]){if(!(r=r.call(l,u)))throw TypeError("iterator result is not an object");if(!r.done)return r;u=r.value,a<2&&(a=0)}else 1===a&&(r=l.return)&&r.call(l),a<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),a=1);l=t}else if((r=(f=d.n<0)?u:e.call(n,d))!==c)break}catch(r){l=t,a=1,u=r}finally{i=1}}return{value:r,done:f}}}(e,l,a),!0),s}var c={};function i(){}function s(){}function f(){}r=Object.getPrototypeOf;var d=[][l]?r(r([][l]())):(n(r={},l,function(){return this}),r),p=f.prototype=i.prototype=Object.create(d);function y(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,n(e,a,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,n(p,"constructor",f),n(f,"constructor",s),s.displayName="GeneratorFunction",n(f,a,"GeneratorFunction"),n(p),n(p,a,"Generator"),n(p,l,function(){return this}),n(p,"toString",function(){return"[object Generator]"}),(e=function(){return{w:u,m:y}})()}function n(e,t,r,o){var l=Object.defineProperty;try{l({},"",{})}catch(e){l=0}n=function(e,t,r,o){function a(t,r){n(e,t,function(e){return this._invoke(t,r,e)})}t?l?l(e,t,{value:r,enumerable:!o,configurable:!o,writable:!o}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},n(e,t,r,o)}function t(e,n,t,r,o,l,a){try{var u=e[l](a),c=u.value}catch(e){return void t(e)}u.done?n(c):Promise.resolve(c).then(r,o)}function r(e){return function(){var n=this,r=arguments;return new Promise(function(o,l){var a=e.apply(n,r);function u(e){t(a,o,l,u,c,"next",e)}function c(e){t(a,o,l,u,c,"throw",e)}u(void 0)})}}function o(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return l(e,n);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?l(e,n):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 l(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-legacy8.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./ssl-legacy.js?v=1777008528","./index-legacy118.js?v=1777008528","./useStore-legacy2.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useStore-legacy3.js?v=1777008528","./useController-legacy18.js?v=1777008528","./useMethod-legacy3.js?v=1777008528","./useController-legacy13.js?v=1777008528","./useController-legacy19.js?v=1777008528","./useMethod-legacy12.js?v=1777008528","./index-legacy192.js?v=1777008528","./useController-legacy20.js?v=1777008528"],function(n,t){"use strict";var l,a,u,c,i,s,f,d,p,y,m,v,b,h,g,j,_,x,w,k,S,C,O,V,A,G,L,P,T,E,U,F,I,B,D,M,N,z,W,q;return{setters:[function(e){l=e.c,a=e.t,u=e.g,c=e.e,i=e.U,s=e.x,f=e.z,d=e.o,p=e.a8,y=e.j,m=e.C,v=e.v,b=e.q,h=e.p,g=e.k,j=e.B,_=e.s,x=e.y,w=e.F,k=e.aB,S=e.ag,C=e.ad},function(e){O=e.X,V=e.B,A=e.cZ},function(e){G=e.a4,L=e.a5,P=e.a6,T=e.a7,E=e.y,U=e.a8,F=e.a9,I=e.aa,B=e.ab,D=e.ac,M=e.ad,N=e.ae,z=e.af,W=e.ag,q=e.ah},null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(){var t={class:"p-[12px] border-[1px] w-[50rem] h-[22rem] flex flex-col overflow-auto rounded-default border-lighter checkGroup"},H={class:"w-[41rem] flex items-center justify-between"},R=l({__name:"applay-lest-ssl",props:{compData:{}},setup:function(n,l){var A=l.expose,R=n;a(R);var X,Z=O({data:G,options:function(e){return u(function(){return[{type:"radio",label:"品牌",key:"ca",options:[{label:"LiteSSL",value:"litessl"},{label:"Let's Encrypt",value:"letsencrypt"}]},{type:"radio",label:"验证方法",key:"resource",options:[{label:"文件验证",value:"0"},{label:"DNS验证(支持通配符)",value:"1",disabled:L.value}]}].concat(o("1"===e.value.resource?[{type:"custom",render:function(){return c(V,{label:" "},{default:function(){return[c(i,{modelValue:e.value.auth_to,"onUpdate:modelValue":function(n){return e.value.auth_to=n}},{default:function(){return[s("手动解析")]}})]}})}},{type:"custom",render:function(){return c(V,{label:" "},{default:function(){return[c(i,{modelValue:e.value.autoWildcard,"onUpdate:modelValue":function(n){return e.value.autoWildcard=n}},{default:function(){return[s("自动组合泛域名")]}}),c("div",{class:"text-small"},[s("* 如需申请通配符域名请勾选此项,且不要在下方域名列表中选中泛域名")])]}})}}]:[]),[{type:"slots",key:"domain"},{type:"custom",render:function(){return c(V,{label:" "},{default:function(){return[c(f,{type:"primary",onClick:function(){return J()}},{default:function(){return[s("申请证书")]}})]}})}},{type:"help",options:P.value}])})},submit:(X=r(e().m(function n(t){return e().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,T(t);case 1:return e.a(2,e.v)}},n)})),function(e){return X.apply(this,arguments)})}),$=Z.BtForm,J=Z.submit,K=Z.param;return A({onConfirm:J}),d(r(e().m(function n(){var t;return e().w(function(e){for(;;)switch(e.n){case 0:return E.value="dns",null!==(t=R.compData)&&void 0!==t&&t.isRenew&&(U.value=!0),e.n=1,F();case 1:return e.n=2,I();case 2:return e.a(2)}},n)}))),p(B),function(e,n){var r=f,l=k,a=S,u=C;return y(),m(h($),{class:"p-2rem"},{domain:v(function(){return[c(u,{label:"域名"},{default:v(function(){return[b("div",t,[c(h(i),{indeterminate:h(D),class:"w-full mb-[6px] !border-none !p-[1rem]",modelValue:h(K).checkAll,"onUpdate:modelValue":n[0]||(n[0]=function(e){return h(K).checkAll=e}),onChange:h(M),border:""},{default:v(function(){return o(n[2]||(n[2]=[s(" 全选 ",-1)]))}),_:1},8,["indeterminate","modelValue","onChange"]),c(a,{class:"flex flex-col",modelValue:h(K).checkList,"onUpdate:modelValue":n[1]||(n[1]=function(e){return h(K).checkList=e}),onChange:h(N)},{default:v(function(){return[(y(!0),g(w,null,j(h(q),function(e){return y(),m(l,{placement:"top",effect:"dark",trigger:"hover",width:"280",disabled:1===e.apply_ssl,key:e.name},{default:v(function(){return o(n[3]||(n[3]=[b("div",{class:"flex flex-col"},[b("span",null,"Let's Encrypt证书不支持申请IP证书"),b("span",null,"请选择【商用证书】的多域名SSL证书申请")],-1)]))}),reference:v(function(){return[(y(),m(h(i),{class:"w-full !mx-0 mb-[6px] overflow-hidden",disabled:0===e.apply_ssl,value:e.name,key:e.name,border:""},{default:v(function(){return[b("div",H,[b("span",null,_(e.name),1),"1"!==h(K).resource||0!==e.dns_status||h(K).auth_to||h(z)(e.name)?x("",!0):(y(),m(r,{key:0,type:"primary",size:"small",class:"ml-auto",onClick:function(n){return h(W)(e)}},{default:v(function(){return o(n[4]||(n[4]=[s(" 配置DNS ",-1)]))}),_:1},8,["onClick"]))])]}),_:2},1032,["disabled","value"]))]}),_:2},1032,["disabled"])}),128))]}),_:1},8,["modelValue","onChange"])])]}),_:1})]}),_:1})}}});n("default",A(R,[["__scopeId","data-v-0eabddb9"]]))}}})}();