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-legacy228.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}function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,n,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",o=i.toStringTag||"@@toStringTag";function c(t,i,a,o){var c=i&&i.prototype instanceof l?i:l,s=Object.create(c.prototype);return r(s,"_invoke",function(t,r,i){var a,o,c,l=0,s=i||[],f=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(n,t){return a=n,o=0,c=e,d.n=t,u}};function p(t,r){for(o=t,c=r,n=0;!f&&l&&!i&&n<s.length;n++){var i,a=s[n],p=d.p,v=a[2];t>3?(i=v===r)&&(c=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):a[0]<=p&&((i=t<2&&p<a[1])?(o=0,d.v=r,d.n=a[1]):p<v&&(i=t<3||a[0]>r||r>v)&&(a[4]=t,a[5]=r,d.n=v,o=0))}if(i||t>1)return u;throw f=!0,r}return function(i,s,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,v),o=s,c=v;(n=o<2?e:c)||!f;){a||(o?o<3?(o>1&&(d.n=-1),p(o,c)):d.n=c:d.v=c);try{if(l=2,a){if(o||(i="next"),n=a[i]){if(!(n=n.call(a,c)))throw TypeError("iterator result is not an object");if(!n.done)return n;c=n.value,o<2&&(o=0)}else 1===o&&(n=a.return)&&n.call(a),o<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),o=1);a=e}else if((n=(f=d.n<0)?c:t.call(r,d))!==u)break}catch(n){a=e,o=1,c=n}finally{l=1}}return{value:n,done:f}}}(t,a,o),!0),s}var u={};function l(){}function s(){}function f(){}n=Object.getPrototypeOf;var d=[][a]?n(n([][a]())):(r(n={},a,function(){return this}),n),p=f.prototype=l.prototype=Object.create(d);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,r(e,o,"GeneratorFunction")),e.prototype=Object.create(p),e}return s.prototype=f,r(p,"constructor",f),r(f,"constructor",s),s.displayName="GeneratorFunction",r(f,o,"GeneratorFunction"),r(p),r(p,o,"Generator"),r(p,a,function(){return this}),r(p,"toString",function(){return"[object Generator]"}),(t=function(){return{w:c,m:v}})()}function r(e,n,t,i){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}r=function(e,n,t,i){function o(n,t){r(e,n,function(e){return this._invoke(n,t,e)})}n?a?a(e,n,{value:t,enumerable:!i,configurable:!i,writable:!i}):e[n]=t:(o("next",0),o("throw",1),o("return",2))},r(e,n,t,i)}function i(e,n,t,r,i,a,o){try{var c=e[a](o),u=c.value}catch(e){return void t(e)}c.done?n(u):Promise.resolve(u).then(r,i)}function a(e){return function(){var n=this,t=arguments;return new Promise(function(r,a){var o=e.apply(n,t);function c(e){i(o,r,a,c,u,"next",e)}function u(e){i(o,r,a,c,u,"throw",e)}c(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./domain-legacy.js?v=1777008528","./useController-legacy26.js?v=1777008528","./useStore-legacy6.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(n,r){"use strict";var i,o,c,u,l,s,f,d,p,v,m,y,_,b,g,h,w,j,k,x,S,O,C,P,T,I,A,G,H,z,D,E,F,N,V;return{setters:[function(e){i=e.r,o=e.c,c=e.w,u=e.a8,l=e.I,s=e.j,f=e.k,d=e.q,p=e.e,v=e.v,m=e.p,y=e.x,_=e.Q,b=e.P,g=e.J,h=e.F,w=e.B,j=e.L,k=e.s,x=e.C,S=e.y,O=e.z,C=e.T,P=e.D,T=e.az},function(e){I=e.e,A=e._,G=e.f,H=e.a,z=e.b,D=e.cZ},function(e){E=e.a},function(e){F=e.J,N=e.x},function(e){V=e.u},null,null,null,null],execute:function(){var W=i(""),q=i([]),B=i(!1),J=i(!1),K=G(),U=function(){var e=a(t().m(function e(){var n,r;return t().w(function(e){for(;;)switch(e.p=e.n){case 0:if(W.value.trim()){e.n=1;break}return K.warn("请输入要查询的域名"),e.a(2);case 1:return J.value=!0,e.p=2,e.n=3,E({url:"/api/v1/domain/query/check",domain:W.value.trim(),rows:20,p:1});case 3:n=e.v,console.log("域名查询响应:",n),n.data&&n.data.data?(q.value=n.data.data.data.map(function(e){var n,t,r,i,a,o;return{name:e.domain,price:(null===(n=e.price_info)||void 0===n?void 0:n.first_year_discount_price)||(null===(t=e.price_info)||void 0===t?void 0:t.first_year_price)||0,isHot:e.premium||!1,available:e.available,premium:e.premium,premium_price:e.premium_price||0,status:e.status,status_desc:e.status_desc,first_year_price:(null===(r=e.price_info)||void 0===r?void 0:r.first_year_price)||0,renew_price:(null===(i=e.price_info)||void 0===i?void 0:i.renew_price)||0,first_year_discount_price:(null===(a=e.price_info)||void 0===a?void 0:a.first_year_discount_price)||0,renewal_discount_price:(null===(o=e.price_info)||void 0===o?void 0:o.renewal_discount_price)||0,suffix:e.suffix}}),console.log("处理后的域名列表:",q.value)):(K.error(n.msg),q.value=[]),e.n=5;break;case 4:e.p=4,r=e.v,console.error("域名查询失败:",r),q.value=[];case 5:return e.p=5,J.value=!1,e.f(5);case 6:return e.a(2)}},e,null,[[2,4,5,6]])}));return function(){return e.apply(this,arguments)}}(),L=function(e){console.log("购买域名:",e),F({domain:e.name,firstYearPrice:"¥".concat(e.first_year_discount_price),renewalPrice:"¥".concat(e.renewal_discount_price),years:1,accountBalance:"¥1250.50",suffix:e.suffix},"payment")},M=function(e){console.log("查看WHOIS:",e),I({title:"WHOIS查询",area:70,compData:{domainName:e.name},component:function(){return A(function(){return r.import("./index-legacy229.js?v=1777008528")},void 0,r.meta.url)}})},Q={class:"domain-search-content"},Y={class:"search-input-group mb-4"},Z={class:"domain-list min-h-[400px]"},$={class:"domain-info flex flex-1 items-center"},R={class:"domain-status ml-2"},X={class:"domain-actions"},ee={key:0,class:"domain-price"},ne={class:"price-info"},te={class:"current-price"},re={class:"original-price"},ie={class:"renewal-price"},ae=["onClick"],oe={key:0,class:"empty-state"},ce=o({__name:"index",props:{compData:{default:function(){return{}}}},setup:function(n){var r=V().domainSearchDialog,i=n;c(function(){var e;return null===(e=i.compData)||void 0===e?void 0:e.domainName},function(e){var n;e&&(n=e,W.value=n,n?U():(q.value=[],B.value=!1,J.value=!1))},{immediate:!0}),c(N,function(){var e=a(t().m(function e(n){return t().w(function(e){for(;;)switch(e.n){case 0:n&&W.value&&setTimeout(function(){U()},1e3);case 1:return e.a(2)}},e)}));return function(n){return e.apply(this,arguments)}}());return u(function(){q.value=[],W.value="",r.value=null}),function(n,t){var r=O,i=C,a=P,o=H,c=z,u=T,I=l("bt-loading");return s(),f("div",Q,[d("div",Y,[p(i,{modelValue:m(W),"onUpdate:modelValue":t[0]||(t[0]=function(e){return _(W)?W.value=e:null}),placeholder:"请输入要注册的域名",class:"search-input",onKeyup:b(m(U),["enter"])},{append:v(function(){return[p(r,{type:"primary",onClick:m(U),loading:m(J)},{default:v(function(){return e(t[1]||(t[1]=[y("查询",-1)]))}),_:1},8,["onClick","loading"])]}),_:1},8,["modelValue","onKeyup"])]),g((s(),f("div",Z,[(s(!0),f(h,null,w(m(q),function(n,r){return s(),f("div",{key:r,class:j(["domain-item",{"last-item":r===m(q).length-1}])},[d("div",$,[d("div",{class:j(["domain-name",{"registered-domain":!n.available}])},[y(k(n.name)+" ",1),n.isHot?(s(),x(a,{key:0,type:"danger",size:"small",class:"ml-2"},{default:v(function(){return e(t[2]||(t[2]=[y("热门",-1)]))}),_:1})):S("",!0),n.premium?(s(),x(a,{key:1,type:"warning",size:"small",class:"ml-2"},{default:v(function(){return e(t[3]||(t[3]=[y("溢价",-1)]))}),_:1})):S("",!0)],2),d("div",R,[n.available?S("",!0):(s(),f("span",{key:0,class:j((i=n.available,n.status,i?"status-available":"status-default"))},k(n.status_desc),3))])]),d("div",X,[n.available?(s(),f("div",ee,[d("div",ne,[d("div",te,[d("div",re," ¥"+k(n.first_year_price),1),y(" ¥"+k(n.first_year_discount_price)+"元/首年 ",1)]),d("div",ie," 续费¥"+k(n.renewal_discount_price)+"/年 ",1)])])):S("",!0),n.available?(s(),x(o,{key:1,type:"primary",size:"small",onClick:function(e){return m(L)(n)}},{default:v(function(){return e(t[4]||(t[4]=[y(" 立即购买 ",-1)]))}),_:1},8,["onClick"])):(s(),f("span",{key:2,class:"bt-link",onClick:function(e){return m(M)(n)}},[p(c,{name:"search",class:"mr-1"}),t[5]||(t[5]=y(" 查看WHOIS ",-1))],8,ae))])],2);var i}),128)),0!==m(q).length||m(J)?S("",!0):(s(),f("div",oe,[p(u,{description:"暂无可用域名"})]))])),[[I,m(J)]])])}}});n("default",D(ce,[["__scopeId","data-v-c3d85828"]]))}}})}();