!function(){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,r,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.toStringTag||"@@toStringTag";function a(t,o,i,u){var a=o&&o.prototype instanceof l?o:l,s=Object.create(a.prototype);return n(s,"_invoke",function(t,n,o){var i,u,a,l=0,s=o||[],f=!1,p={p:0,n:0,v:e,a:v,f:v.bind(e,4),d:function(t,n){return i=t,u=0,a=e,p.n=n,c}};function v(t,n){for(u=t,a=n,r=0;!f&&l&&!o&&r<s.length;r++){var o,i=s[r],v=p.p,y=i[2];t>3?(o=y===n)&&(a=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=v&&((o=t<2&&v<i[1])?(u=0,p.v=n,p.n=i[1]):v<y&&(o=t<3||i[0]>n||n>y)&&(i[4]=t,i[5]=n,p.n=y,u=0))}if(o||t>1)return c;throw f=!0,n}return function(o,s,y){if(l>1)throw TypeError("Generator is already running");for(f&&1===s&&v(s,y),u=s,a=y;(r=u<2?e:a)||!f;){i||(u?u<3?(u>1&&(p.n=-1),v(u,a)):p.n=a:p.v=a);try{if(l=2,i){if(u||(o="next"),r=i[o]){if(!(r=r.call(i,a)))throw TypeError("iterator result is not an object");if(!r.done)return r;a=r.value,u<2&&(u=0)}else 1===u&&(r=i.return)&&r.call(i),u<2&&(a=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=e}else if((r=(f=p.n<0)?a:t.call(n,p))!==c)break}catch(r){i=e,u=1,a=r}finally{l=1}}return{value:r,done:f}}}(t,i,u),!0),s}var c={};function l(){}function s(){}function f(){}r=Object.getPrototypeOf;var p=[][i]?r(r([][i]())):(n(r={},i,function(){return this}),r),v=f.prototype=l.prototype=Object.create(p);function y(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,n(t,u,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=f,n(v,"constructor",f),n(f,"constructor",s),s.displayName="GeneratorFunction",n(f,u,"GeneratorFunction"),n(v),n(v,u,"Generator"),n(v,i,function(){return this}),n(v,"toString",function(){return"[object Generator]"}),(t=function(){return{w:a,m:y}})()}function n(t,e,r,o){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}n=function(t,e,r,o){function u(e,r){n(t,e,function(t){return this._invoke(e,r,t)})}e?i?i(t,e,{value:r,enumerable:!o,configurable:!o,writable:!o}):t[e]=r:(u("next",0),u("throw",1),u("return",2))},n(t,e,r,o)}function e(t,n,e,r,o,i,u){try{var a=t[i](u),c=a.value}catch(t){return void e(t)}a.done?n(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var n=this,r=arguments;return new Promise(function(o,i){var u=t.apply(n,r);function a(t){e(u,o,i,a,c,"next",t)}function c(t){e(u,o,i,a,c,"throw",t)}a(void 0)})}}System.register(["./base-lib-legacy.js?v=1761009159","./utils-lib-legacy.js?v=1761009159","./firewall-legacy.js?v=1761009159","./__commonjsHelpers__-legacy.js?v=1761009159"],function(n,e){"use strict";var o,i,u,a,c,l,s,f,p,v,y,d,m,b,h,_,g,j,w;return{setters:[function(t){o=t.c,i=t.r,u=t.q,a=t.H,c=t.I,l=t.y,s=t.v,f=t.x,p=t.z,v=t.e,y=t.Q,d=t.B,m=t.C,b=t.G},function(t){h=t.P,_=t.ax,g=t._},function(t){j=t.az,w=t.bv},null],execute:function(){var e={class:"p-[2rem]"},P={class:"sn-test-line"},O={class:"sn-test-line-content"},x=o({__name:"simulate-attack",props:{compData:{type:Function}},emits:["close"],setup:function(n,o){var g=o.emit,x=n,G=g,S=i(!1),T=i(""),k=i([]),H=function(){var n=r(t().m(function n(){return t().w(function(t){for(;;)switch(t.n){case 0:return k.value=[],t.n=1,h({loading:S,request:j(),data:{php_versions:[Array,function(t){k.value=t.map(function(t){return{label:t.version,value:t.v}})}]}});case 1:return t.a(2)}},n)}));return function(){return n.apply(this,arguments)}}(),F=function(){var n=r(t().m(function n(){return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,h({loading:"正在模拟攻击，预计等待一分钟，请稍候...",request:w({version:T.value}),message:!0});case 1:x.compData(),G("close");case 2:return t.a(2)}},n)}));return function(){return n.apply(this,arguments)}}();return u(function(){return H()}),function(t,n){var r=_,o=b,i=a("bt-loading");return c((s(),f("div",e,[p("div",P,[n[3]||(n[3]=p("div",{class:"sn-test-line-title"},"1.选择一个PHP版本进行模拟攻击（预计一分钟）",-1)),p("div",O,[n[2]||(n[2]=p("span",null,"PHP版本",-1)),v(r,{modelValue:l(T),"onUpdate:modelValue":n[0]||(n[0]=function(t){return y(T)?T.value=t:null}),options:l(k),class:"ml-[2rem] !w-[155px]",placeholder:"请选择PHP版本"},null,8,["modelValue","options"]),v(o,{class:"!ml-[1rem]",type:"primary",onClick:F},{default:d(function(){return n[1]||(n[1]=[m("模拟攻击",-1)])}),_:1,__:[1]})])])])),[[i,l(S)]])}}});n("default",g(x,[["__scopeId","data-v-ab4f4e7a"]]))}}})}();
