File: /www/server/panel/BTPanel/static/js/scan-details-legacy.js
!function(){function n(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,r,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function a(n,o,u,i){var a=o&&o.prototype instanceof l?o:l,f=Object.create(a.prototype);return t(f,"_invoke",function(n,t,o){var u,i,a,l=0,f=o||[],s=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(n,t){return u=n,i=0,a=e,p.n=t,c}};function v(n,t){for(i=n,a=t,r=0;!s&&l&&!o&&r<f.length;r++){var o,u=f[r],v=p.p,y=u[2];n>3?(o=y===t)&&(a=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=e):u[0]<=v&&((o=n<2&&v<u[1])?(i=0,p.v=t,p.n=u[1]):v<y&&(o=n<3||u[0]>t||t>y)&&(u[4]=n,u[5]=t,p.n=y,i=0))}if(o||n>1)return c;throw s=!0,t}return function(o,f,y){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&v(f,y),i=f,a=y;(r=i<2?e:a)||!s;){u||(i?i<3?(i>1&&(p.n=-1),v(i,a)):p.n=a:p.v=a);try{if(l=2,u){if(i||(o="next"),r=u[o]){if(!(r=r.call(u,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,i<2&&(i=0)}else 1===i&&(r=u.return)&&r.call(u),i<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=e}else if((r=(s=p.n<0)?a:n.call(t,p))!==c)break}catch(r){u=e,i=1,a=r}finally{l=1}}return{value:r,done:s}}}(n,u,i),!0),f}var c={};function l(){}function f(){}function s(){}r=Object.getPrototypeOf;var p=[][u]?r(r([][u]())):(t(r={},u,function(){return this}),r),v=s.prototype=l.prototype=Object.create(p);function y(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,s):(n.__proto__=s,t(n,i,"GeneratorFunction")),n.prototype=Object.create(v),n}return f.prototype=s,t(v,"constructor",s),t(s,"constructor",f),f.displayName="GeneratorFunction",t(s,i,"GeneratorFunction"),t(v),t(v,i,"Generator"),t(v,u,function(){return this}),t(v,"toString",function(){return"[object Generator]"}),(n=function(){return{w:a,m:y}})()}function t(n,e,r,o){var u=Object.defineProperty;try{u({},"",{})}catch(n){u=0}t=function(n,e,r,o){function i(e,r){t(n,e,function(n){return this._invoke(e,r,n)})}e?u?u(n,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):n[e]=r:(i("next",0),i("throw",1),i("return",2))},t(n,e,r,o)}function e(n,t,e,r,o,u,i){try{var a=n[u](i),c=a.value}catch(n){return void e(n)}a.done?t(c):Promise.resolve(c).then(r,o)}function r(n){return function(){var t=this,r=arguments;return new Promise(function(o,u){var i=n.apply(t,r);function a(n){e(i,o,u,a,c,"next",n)}function c(n){e(i,o,u,a,c,"throw",n)}a(void 0)})}}System.register(["./index-legacy206.js?v=1777008528","./firewall-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(t,e){"use strict";var o,u,i,a,c,l,f,s,p,v,y,d,m,g,h,b;return{setters:[function(n){o=n._},function(n){u=n.am},function(n){i=n.a1,a=n.M,c=n.w,l=n.k},function(n){f=n.c,s=n.aC,p=n.r,v=n.w,y=n.o,d=n.aH,m=n.j,g=n.k,h=n.e,b=n.p},null,null,null,null],execute:function(){var e={class:"flex-wrap h-full"};t("default",f({__name:"scan-details",props:{compData:{default:function(){return{}}}},setup:function(t,f){var j=f.expose,w=s("popupSetFooter"),_=t,x=p("获取中..."),O=p(!0),T=p(),k=_.compData.path_info,S=function(){var t=r(n().m(function t(){var e,r,o,u;return n().w(function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,x.value="获取中...",n.n=1,i({num:20,filename:k});case 1:if(o=n.v,x.value=o.msg||"扫描中...",-1===(null===(e=o.msg)||void 0===e?void 0:e.indexOf("扫描结束"))){n.n=2;break}return O.value=!1,a.success("扫描已结束"),w(!1),G(),n.a(2);case 2:-1===(null===(r=o.msg)||void 0===r?void 0:r.indexOf("扫描结束"))&&O.value&&(T.value=setTimeout(function(){S()},1500)),o.status||(a.request(o),O.value=!1),n.n=4;break;case 3:n.p=3,u=n.v,console.log(u),G();case 4:return n.a(2)}},t,null,[[0,3]])}));return function(){return t.apply(this,arguments)}}(),G=function(){T.value&&clearTimeout(T.value)},P=function(){var t=r(n().m(function t(e){return n().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,c({icon:"warning-filled",title:"停止检测网站",width:"40rem",content:"当前正在进行检测网站,确定停止检测网站吗?"});case 1:return n.n=2,l({loading:"正在停止检测,请稍后...",request:u({id:_.compData.id}),message:!0});case 2:O.value=!1,G(),e();case 3:return n.a(2)}},t)}));return function(n){return t.apply(this,arguments)}}();return v(function(){return _.compData},function(n){O.value=!0,S()}),y(function(){return S()}),d(function(){return G()}),j({onConfirm:P,onCancel:G}),function(n,t){var r=o;return m(),g("div",e,[h(r,{class:"h-full",title:"全屏查看",content:b(x)},null,8,["content"])])}}}))}}})}();