test_lgq/niucloud/public/admin/assets/vue-web-terminal-6f196033.js

33 lines
104 KiB
JavaScript
Raw Permalink Normal View History

2024-01-24 17:36:08 +08:00
import{aX as Yt,aY as Xt,aZ as Qt,F as _e,a_ as Zt,a$ as en,b0 as tn,b1 as nn,b2 as on,b3 as rn,T as an,b4 as sn,b5 as ln,b6 as cn,b7 as un,b8 as dn,b9 as fn,ba as pn,bb as gn,q as ye,bc as hn,I as nt,B as re,c as L,a as T,bd as bn,be as vn,bf as mn,bg as yn,aK as xn,bh as wn,i as Xe,e as be,bi as jn,bj as kn,d as ve,bk as _n,bl as Cn,bm as Sn,bn as En,bo as Tn,bp as Mn,bq as Rn,br as An,C as $n,bs as zn,bt as Ln,bu as In,ag as On,bv as Bn,bw as Hn,bx as Nn,by as Fn,bz as Dn,bA as Pn,bB as Vn,bC as Wn,bD as Un,bE as Kn,bF as qn,bG as Jn,bH as Gn,bI as Yn,bJ as Xn,aQ as Qn,D as Ae,A as ot,bK as Zn,x as we,bL as eo,bM as to,bN as no,bO as oo,bP as ro,bQ as io,v as rt,bR as ao,bS as so,bT as lo,bU as co,o as yt,bV as uo,h as z,g as xt,bW as fo,bX as po,p as wt,bY as go,n as he,bZ as ho,r as U,b_ as bo,b$ as vo,G as Ce,b as fe,a1 as Qe,c0 as mo,J as yo,c1 as xo,c2 as wo,c3 as jo,c4 as ko,c5 as _o,c6 as Co,c7 as So,c8 as Eo,c9 as To,ca as Mo,cb as Ro,t as ie,cc as Ao,cd as $o,ax as zo,ce as Lo,m as Io,cf as Oo,cg as Bo,u as Ie,aP as Ho,ch as No,aR as Fo,ci as Do,cj as Po,ck as Vo,cl as Wo,cm as jt,cn as Uo,co as kt,cp as it,z as Ze,cq as Ko,cr as qo,s as je,H as Jo,cs as Go,ct as Yo,cu as Xo,w as Qo,cv as Zo,y as ke,S as $e,cw as er,a5 as et,cx as tr}from"./index-4dcc0234.js";const nr=()=>{},or=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Yt,Comment:Xt,EffectScope:Qt,Fragment:_e,KeepAlive:Zt,ReactiveEffect:en,Static:tn,Suspense:nn,Teleport:on,Text:rn,Transition:an,TransitionGroup:sn,VueElement:ln,callWithAsyncErrorHandling:cn,callWithErrorHandling:un,camelize:dn,capitalize:fn,cloneVNode:pn,compatUtils:gn,compile:nr,computed:ye,createApp:hn,createBlock:nt,createCommentVNode:re,createElementBlock:L,createElementVNode:T,createHydrationRenderer:bn,createPropsRestProxy:vn,createRenderer:mn,createSSRApp:yn,createSlots:xn,createStaticVNode:wn,createTextVNode:Xe,createVNode:be,customRef:jn,defineAsyncComponent:kn,defineComponent:ve,defineCustomElement:_n,defineEmits:Cn,defineExpose:Sn,defineProps:En,defineSSRCustomElement:Tn,get devtools(){return Mn},effect:Rn,effectScope:An,getCurrentInstance:$n,getCurrentScope:zn,getTransitionRawChildren:Ln,guardReactiveProps:In,h:On,handleError:Bn,hydrate:Hn,initCustomFormatter:Nn,initDirectivesForSSR:Fn,inject:Dn,isMemoSame:Pn,isProxy:Vn,isReactive:Wn,isReadonly:Un,isRef:Kn,isRuntimeOnly:qn,isShallow:Jn,isVNode:Gn,markRaw:Yn,mergeDefaults:Xn,mergeProps:Qn,nextTick:Ae,normalizeClass:ot,normalizeProps:Zn,normalizeStyle:we,onActivated:eo,onBeforeMount:to,onBeforeUnmount:no,onBeforeUpdate:oo,onDeactivated:ro,onErrorCaptured:io,onMounted:rt,onRenderTracked:ao,onRenderTriggered:so,onScopeDispose:lo,onServerPrefetch:co,onUnmounted:yt,onUpdated:uo,openBlock:z,popScopeId:xt,provide:fo,proxyRefs:po,pushScopeId:wt,queuePostFlushCb:go,reactive:he,readonly:ho,ref:U,registerRuntimeCompiler:bo,render:vo,renderList:Ce,renderSlot:fe,resolveComponent:Qe,resolveDirective:mo,resolveDynamicComponent:yo,resolveFilter:xo,resolveTransitionHooks:wo,setBlockTracking:jo,setDevtoolsHook:ko,setTransitionHooks:_o,shallowReactive:Co,shallowReadonly:So,shallowRef:Eo,ssrContextKey:To,ssrUtils:Mo,stop:Ro,toDisplayString:ie,toHandlerKey:Ao,toHandlers:$o,toRaw:zo,toRef:Lo,toRefs:Io,transformVNodeArgs:Oo,triggerRef:Bo,unref:Ie,useAttrs:Ho,useCssModule:No,useCssVars:Fo,useSSRContext:Do,useSlots:Po,useTransitionState:Vo,vModelCheckbox:Wo,vModelDynamic:jt,vModelRadio:Uo,vModelSelect:kt,vModelText:it,vShow:Ze,version:Ko,warn:qo,watch:je,watchEffect:Jo,watchPostEffect:Go,watchSyncEffect:Yo,withAsyncContext:Xo,withCtx:Qo,withDefaults:Zo,withDirectives:ke,withKeys:$e,withMemo:er,withModifiers:et,withScopeId:tr},Symbol.toStringTag,{value:"Module"}));(function(){try{if(typeof document<"u"){var i=document.createElement("style");i.appendChild(document.createTextNode('.t-window::-webkit-scrollbar,.t-code::-webkit-scrollbar,.t-text-editor::-webkit-scrollbar,.t-vue-codemirror .vue-codemirror .CodeMirror .CodeMirror-hscrollbar::-webkit-scrollbar{width:8px;height:8px}.t-window::-webkit-scrollbar-button,.t-code::-webkit-scroll
`?(b(),r++):b():c==="mac"&&b();continue}else if(n===`
`){b();continue}else{if(n==="\b")continue;if(n===" "){k(" ".repeat(4));continue}else if(n>="\0"&&n<="")continue}k(n)}}return u.join("")}const Oe=i=>(wt("data-v-197040ed"),i=i(),xt(),i),kc={class:"t-header"},_c={style:{display:"inline-block"}},Cc={class:"t-shell-dots"},Sc=Oe(()=>T("svg",{t:"1645078279626",class:"t-shell-dot",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1864",width:"10",height:"10"},[T("path",{d:"M544.448 499.2l284.576-284.576a32 32 0 0 0-45.248-45.248L499.2 453.952 214.624 169.376a32 32 0 0 0-45.248 45.248l284.576 284.576-284.576 284.576a32 32 0 0 0 45.248 45.248l284.576-284.576 284.576 284.576a31.904 31.904 0 0 0 45.248 0 32 32 0 0 0 0-45.248L544.448 499.2z","p-id":"1865",fill:"#1413139c"})],-1)),Ec=[Sc],Tc=Oe(()=>T("svg",{t:"1645078503601",class:"t-shell-dot",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2762",width:"10",height:"10"},[T("path",{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z","p-id":"2763",fill:"#1413139c"})],-1)),Mc=[Tc],Rc=Oe(()=>T("svg",{t:"1645078604258",class:"t-shell-dot",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9907",width:"10",height:"10"},[T("path",{d:"M188.373333 128H384c23.573333 0 42.666667-19.093333 42.666667-42.666667s-19.093333-42.666667-42.666667-42.666666H85.333333C61.76 42.666667 42.666667 61.76 42.666667 85.333333v298.666667c0 23.573333 19.093333 42.666667 42.666666 42.666667s42.666667-19.093333 42.666667-42.666667V188.373333L396.170667 456.533333a42.730667 42.730667 0 0 0 60.362666 0 42.741333 42.741333 0 0 0 0-60.362666L188.373333 128zM938.666667 597.002667c-23.573333 0-42.666667 19.093333-42.666667 42.666666v195.626667l-268.309333-268.16c-16.746667-16.64-43.893333-16.64-60.544 0s-16.650667 43.893333 0 60.533333L835.317333 896h-195.626666c-23.584 0-42.666667 19.093333-42.666667 42.666667s19.082667 42.666667 42.666667 42.666666h298.666666C961.92 981.333333 981.333333 961.92 981.333333 938.336v-298.666667c0-23.573333-19.093333-42.666667-42.666666-42.666666z","p-id":"9908",fill:"#1413139c"})],-1)),Ac=[Rc],$c={key:0,t:"1683254395548",class:"icon",viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4113",width:"18",height:"18"},zc=Oe(()=>T("path",{d:"M320 839.68l-238.592 174.08c-8.704 6.656-19.456 9.728-29.696 9.728-12.8 0-26.112-5.12-35.84-14.848-17.92-17.92-20.48-46.08-5.12-66.56l212.992-288.256L56.32 487.424C39.936 471.04 36.864 445.44 48.128 425.472c8.192-12.8 76.8-112.64 229.376-75.264 2.56 0.512 5.12 0.512 8.192 1.024 6.144 0.512 13.312 1.024 20.992 2.56 32.256 5.12 89.6-20.48 139.264-62.976 47.616-40.448 78.336-87.552 78.336-120.32 0-7.68 0-15.872-0.512-23.552-1.024-30.72-3.072-77.824 31.744-112.64 41.472-41.472 107.52-45.056 153.088-7.68 1.024 0.512 1.536 1.536 2.56 2.56 24.576 24.064 276.48 275.968 279.04 278.528 21.504 21.504 33.792 50.688 33.792 81.408s-11.776 59.392-33.792 80.896c-34.816 34.816-82.432 33.28-113.664 31.744-7.168 0-15.36-0.512-23.04-0.512-30.72 0-67.584 21.504-103.936 60.928-50.688 55.296-81.92 126.464-79.36 158.72 1.024 10.24 3.072 28.16 3.584 30.72 36.864 149.504-62.976 217.6-74.752 225.28-20.48 12.288-46.592 9.216-62.976-7.168l-165.376-165.376-50.688 35.328z","p-id":"4114",fill:"#daf3ef"},null,-1)),Lc=[zc],Ic={key:1,t:"1683166931100",class:"icon",viewBox:"0 0 1025 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2638",width:"18",height:"18"},Oc=Oe(()=>T("path",{d:"M51.196068 1024c-13.021992 0-26.0184-5.091113-36.021541-15.094254-18.113104-18.164271-20.262117-46.050265-5.091113-66.337966l213.059228-288.325828-166.983379-166.983379C39.862586 470.961896 36.639068 445.48075 48.305135 425.2698c7.982046-12.612656 76.699275-112.82315 229.483822-75.010766 2.532765 0.307002 5.270197 0.537253 8.212297 0.793088 6.267953 0.537253 13.277827 1.17684 20.87612 2.404847 32.33752 5.244614 89.516599-20.722619 139.148552-63.037697 47.559691-40.49865 78.285451-87.751339 78.285451-120.344693 0-7.57271-0.179084-15.631507-0.358169-23.536802-1.279174-30.623426-3.223519
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/var mt;function Kc(){return mt||(mt=1,function(i,c){(function(d,b){i.exports=b()})(Rt,function(){return function(){var u={686:function(k,m,r){r.d(m,{default:function(){return K}});var n=r(279),t=r.n(n),e=r(370),o=r.n(e),l=r(817),s=r.n(l);function f(A){try{return document.execCommand(A)}catch{return!1}}var g=function(S){var x=s()(S);return f("cut"),x},y=g;function I(A){var S=document.documentElement.getAttribute("dir")==="rtl",x=document.createElement("textarea");x.style.fontSize="12pt",x.style.border="0",x.style.padding="0",x.style.margin="0",x.style.position="absolute",x.style[S?"right":"left"]="-9999px";var R=window.pageYOffset||document.documentElement.scrollTop;return x.style.top="".concat(R,"px"),x.setAttribute("readonly",""),x.value=A,x}var q=function(S,x){var R=I(S);x.container.appendChild(R);var $=s()(R);return f("copy"),R.remove(),$},Q=function(S){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},R="";return typeof S=="string"?R=q(S,x):S instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(S==null?void 0:S.type)?R=q(S.value,x):(R=s()(S),f("copy")),R},H=Q;function M(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?M=function(x){return typeof x}:M=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},M(A)}var O=function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=S.action,R=x===void 0?"copy":x,$=S.container,D=S.target,oe=S.text;if(R!=="copy"&&R!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(D!==void 0)if(D&&M(D)==="object"&&D.nodeType===1){if(R==="copy"&&D.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(R==="cut"&&(D.hasAttribute("readonly")||D.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(oe)return H(oe,{container:$});if(D)return R==="cut"?y(D):H(D,{container:$})},X=O;function te(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?te=function(x){return typeof x}:te=function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x},te(A)}function Z(A,S){if(!(A instanceof S))throw new TypeError("Cannot call a class as a function")}function ne(A,S){for(var x=0;x<S.length;x++){var R=S[x];R.enumerable=R.enumerable||!1,R.configurable=!0,"value"in R&&(R.writable=!0),Object.defineProperty(A,R.key,R)}}function ue(A,S,x){return S&&ne(A.prototype,S),x&&ne(A,x),A}function xe(A,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");A.prototype=Object.create(S&&S.prototype,{constructor:{value:A,writable:!0,configurable:!0}}),S&&pe(A,S)}function pe(A,S){return pe=Object.setPrototypeOf||function(R,$){return R.__proto__=$,R},pe(A,S)}function E(A){var S=P();return function(){var R=V(A),$;if(S){var D=V(this).constructor;$=Reflect.construct(R,arguments,D)}else $=R.apply(this,arguments);return C(this,$)}}function C(A,S){return S&&(te(S)==="object"||typeof S=="function")?S:N(A)}function N(A){if(A===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A}function P(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function V(A){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)},V(A)}function F(A,S){var x="data-clipboard-".concat(A);if(S.hasAttribute(x))return S.getAttribute(x)}var J=function(A){xe(x,A);var S=E(x);function x(R,$){var D;return Z(this,x),D=S.call(this),D.resolveOptions($),D.listenClick(R),D}return ue(x,[{key:"resolveOptions",value:function(){var $=arguments.length>0&&arguments[0]!==void 0?
`)):[y].join(`
`):y}(l,e);return l[2]?"@media ".concat(l[2]," {").concat(s,"}"):s}).join("")},o.i=function(l,s,f){typeof l=="string"&&(l=[[null,l,""]]);var g={};if(f)for(var y=0;y<this.length;y++){var I=this[y][0];I!=null&&(g[I]=!0)}for(var q=0;q<l.length;q++){var Q=[].concat(l[q]);f&&g[Q[0]]||(s&&(Q[2]?Q[2]="".concat(s," and ").concat(Q[2]):Q[2]=s),o.push(Q))}},o}},function(r,n,t){var e,o,l,s={},f=(e=function(){return window&&document&&document.all&&!window.atob},function(){return o=o===void 0?e.apply(this,arguments):o}),g=(l={},function(E){if(l[E]===void 0){var C=function(N){return document.querySelector(N)}.call(this,E);if(C instanceof window.HTMLIFrameElement)try{C=C.contentDocument.head}catch{C=null}l[E]=C}return l[E]}),y=null,I=0,q=[],Q=t(41);function H(E,C){for(var N=0;N<E.length;N++){var P=E[N],V=s[P.id];if(V){V.refs++;for(var F=0;F<V.parts.length;F++)V.parts[F](P.parts[F]);for(;F<P.parts.length;F++)V.parts.push(ne(P.parts[F],C))}else{for(var J=[],F=0;F<P.parts.length;F++)J.push(ne(P.parts[F],C));s[P.id]={id:P.id,refs:1,parts:J}}}}function M(E,C){for(var N=[],P={},V=0;V<E.length;V++){var J=E[V],F=C.base?J[0]+C.base:J[0],J={css:J[1],media:J[2],sourceMap:J[3]};P[F]?P[F].parts.push(J):N.push(P[F]={id:F,parts:[J]})}return N}function O(E,C){var N=g(E.insertInto);if(!N)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var P=q[q.length-1];if(E.insertAt==="top")P?P.nextSibling?N.insertBefore(C,P.nextSibling):N.appendChild(C):N.insertBefore(C,N.firstChild),q.push(C);else if(E.insertAt==="bottom")N.appendChild(C);else{if(typeof E.insertAt!="object"||!E.insertAt.before)throw new Error(`[Style Loader]
Invalid value for parameter 'insertAt' ('options.insertAt') found.
Must be 'top', 'bottom', or Object.
(https://github.com/webpack-contrib/style-loader#insertat)
`);E=g(E.insertInto+" "+E.insertAt.before),N.insertBefore(C,E)}}function X(E){E.parentNode!==null&&(E.parentNode.removeChild(E),0<=(E=q.indexOf(E))&&q.splice(E,1))}function te(E){var C=document.createElement("style");return E.attrs.type="text/css",Z(C,E.attrs),O(E,C),C}function Z(E,C){Object.keys(C).forEach(function(N){E.setAttribute(N,C[N])})}function ne(E,C){var N,P,V,F,J;if(C.transform&&E.css){if(!(F=C.transform(E.css)))return function(){};E.css=F}return V=C.singleton?(J=I++,N=y=y||te(C),P=pe.bind(null,N,J,!1),pe.bind(null,N,J,!0)):E.sourceMap&&typeof URL=="function"&&typeof URL.createObjectURL=="function"&&typeof URL.revokeObjectURL=="function"&&typeof Blob=="function"&&typeof btoa=="function"?(F=C,J=document.createElement("link"),F.attrs.type="text/css",F.attrs.rel="stylesheet",Z(J,F.attrs),O(F,J),N=J,P=function(K,A,$){var x=$.css,R=$.sourceMap,$=A.convertToAbsoluteUrls===void 0&&R;(A.convertToAbsoluteUrls||$)&&(x=Q(x)),R&&(x+=`
/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(R))))+" */"),R=new Blob([x],{type:"text/css"}),x=K.href,K.href=URL.createObjectURL(R),x&&URL.revokeObjectURL(x)}.bind(null,N,C),function(){X(N),N.href&&URL.revokeObjectURL(N.href)}):(N=te(C),P=function(K,x){var S=x.css,x=x.media;if(x&&K.setAttribute("media",x),K.styleSheet)K.styleSheet.cssText=S;else{for(;K.firstChild;)K.removeChild(K.firstChild);K.appendChild(document.createTextNode(S))}}.bind(null,N),function(){X(N)}),P(E),function(K){K?K.css===E.css&&K.media===E.media&&K.sourceMap===E.sourceMap||P(E=K):V()}}r.exports=function(E,C){if(typeof DEBUG<"u"&&DEBUG&&typeof document!="object")throw new Error("The style-loader cannot be used in a non-browser environment");(C=C||{}).attrs=typeof C.attrs=="object"?C.attrs:{},C.singleton||typeof C.singleton=="boolean"||(C.singleton=f()),C.insertInto||(C.insertInto="head"),C.insertAt||(C.insertAt="bottom");var N=M(E,C);return H(N,C),function(P){for(var V=[],F=0;F<N.length;F++){var J=N[F];(K=s[J.id]).refs--,V.push(K)}P&&H(M(P,C),C);for(var K,F=0;F<V.length;F++)if((K=V[F]).refs===0){for(var A=0;A<K.parts.length;A++)K.parts[A]();delete s[K.id]}}};var ue,xe=(ue=[],function(E,C){return ue[E]=C,ue.filter(Boolean).join(`
`)});function pe(E,C,V,P){var V=V?"":P.css;E.styleSheet?E.styleSheet.cssText=xe(C,V):(P=document.createTextNode(V),(V=E.childNodes)[C]&&E.removeChild(V[C]),V.length?E.insertBefore(P,V[C]):E.appendChild(P))}},function(r,n,t){var e=t(45);typeof e=="string"&&(e=[[r.i,e,""]]);var o={hmr:!0,transform:void 0};t(26)(e,o),e.locals&&(r.exports=e.locals)},function(r,n,t){var e=t(23);t.o(e,"render")&&t.d(n,"render",function(){return e.render})},function(r,n,e){Object.defineProperty(n,"__esModule",{value:!0});var e=e(30),o=(e=e)&&e.__esModule?e:{default:e};n.default=Object.assign(o.default,{install:function(l){l.component("JsonViewer",o.default)}})},function(r,n,t){t.r(n);var e,s=t(28),o=t(12);for(e in o)e!=="default"&&function(f){t.d(n,f,function(){return o[f]})}(e);t(44);var l=t(0),s=t.n(l)()(o.default,[["render",s.render],["__file","lib/json-viewer.vue"]]);n.default=s},function(r,n,t){t.r(n);var e,o=t(14);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-string.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(15);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-undefined.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(16);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-number.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(17);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-boolean.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(18);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-object.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(19);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-array.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(20);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-function.vue"]]);n.default=l},function(r,n,t){t.r(n);var e,o=t(21);for(e in o)e!=="default"&&function(s){t.d(n,s,function(){return o[s]})}(e);var l=t(0),l=t.n(l)()(o.default,[["__file","lib/types/json-date.vue"]]);n.default=l},function(r,n,t){t(24)},function(r,n,t){(n=t(25)(!1)).push([r.i,`.jv-node{position:relative}.jv-node:after{content:','}.jv-node:last-of-type:after{content:''}.jv-node.toggle{margin-left:13px !important}.jv-node .jv-node{margin-left:25px}
`,""]),r.exports=n},function(r,n){r.exports=function(t){var e=typeof window<"u"&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||typeof t!="string")return t;var o=e.protocol+"//"+e.host,l=o+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(s,g){var g=g.trim().replace(/^"(.*)"$/,function(y,I){return I}).replace(/^'(.*)'$/,function(y,I){return I});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(g)?s:(g=g.indexOf("//")===0?g:g.indexOf("/")===0?o+g:l+g.replace(/^\.\//,""),"url("+JSON.stringify(g)+")")})}},function(r,n){r.exports=d},function(r,n,t){Object.defineProperty(n,"__esModule",{value:!0}),n.debounce=function(e,o){var l=Date.now(),s=void 0;return function(){for(var f=arguments.length,g=Array(f),y=0;y<f;y++)g[y]=arguments[y];Date.now()-l<o&&s&&clearTimeout(s),s=setTimeout(function(){e.apply(void 0,g)},o),l=Date.now()}}},function(r,n,t){t(27)},function(r,n,l){var e=l(25),o=l(46),l=l(47);n=e(!1),l=o(l),n.push([r.i,".jv-container{box-sizing:border-box;position:relative}.jv-container.boxed{border:1px solid #eee;border-radius:6px}.jv-container.boxed:hover{box-shadow:0 2px 7px rgba(0,0,0,0.15);border-color:transparent;position:relative}.jv-container.jv-light{background:#fff;white-space:nowrap;color:#525252;font-size:14px;font-family:Consolas, Menlo, Courier, monospace}.jv-container.jv-light .jv-ellipsis{color:#999;background-color:#eee;display:inline-block;line-height:0.9;font-size:0.9em;padding:0px 4px 2px 4px;margin:0 4px;border-radius:3px;vertical-align:2px;cursor:pointer;-webkit-user-select:none;user-select:none}.jv-container.jv-light .jv-button{color:#49b3ff}.jv-container.jv-light .jv-key{color:#111111;margin-right:4px}.jv-container.jv-light .jv-item.jv-array{color:#111111}.jv-container.jv-light .jv-item.jv-boolean{color:#fc1e70}.jv-container.jv-light .jv-item.jv-function{color:#067bca}.jv-container.jv-light .jv-item.jv-number{color:#fc1e70}.jv-container.jv-light .jv-item.jv-object{color:#111111}.jv-container.jv-light .jv-item.jv-undefined{color:#e08331}.jv-container.jv-light .jv-item.jv-string{color:#42b983;word-break:break-word;white-space:normal}.jv-container.jv-light .jv-item.jv-string .jv-link{color:#0366d6}.jv-container.jv-light .jv-code .jv-toggle:before{padding:0px 2px;border-radius:2px}.jv-container.jv-light .jv-code .jv-toggle:hover:before{background:#eee}.jv-container .jv-code{overflow:hidden;padding:30px 20px}.jv-container .jv-code.boxed{max-height:300px}.jv-container .jv-code.open{max-height:initial !important;overflow:visible;overflow-x:auto;padding-bottom:45px}.jv-container .jv-toggle{background-image:url("+l+`);background-repeat:no-repeat;background-size:contain;background-position:center center;cursor:pointer;width:10px;height:10px;margin-right:2px;display:inline-block;-webkit-transition:-webkit-transform 0.1s;transition:-webkit-transform 0.1s;transition:transform 0.1s;transition:transform 0.1s, -webkit-transform 0.1s}.jv-container .jv-toggle.open{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jv-container .jv-more{position:absolute;z-index:1;bottom:0;left:0;right:0;height:40px;width:100%;text-align:center;cursor:pointer}.jv-container .jv-more .jv-toggle{position:relative;top:40%;z-index:2;color:#888;-webkit-transition:all 0.1s;transition:all 0.1s;-webkit-transform:rotate(90deg);transform:rotate(90deg)}.jv-container .jv-more .jv-toggle.open{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}.jv-container .jv-more:after{content:"";width:100%;height:100%;position:absolute;bottom:0;left:0;z-index:1;background:-webkit-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);background:linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);-webkit-transition:all 0.1s;transition:all 0.1s}.jv-container .jv-more:hover .jv-toggle{top:50%;color:#111}.jv-container .jv-more:hover:after{background:-webkit-linear-gradient(top, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%);background:linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(230,230,230,0.3) 100%)}.jv-con
`,""]),r.exports=n},function(r,n,t){r.exports=function(e,o){return o=o||{},typeof(e=e&&e.__esModule?e.default:e)!="string"?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),o.hash&&(e+=o.hash),/["'() \t\n]/.test(e)||o.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(r,n){r.exports="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjE2IiB3aWR0aD0iOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KIAo8cG9seWdvbiBwb2ludHM9IjAsMCA4LDggMCwxNiIKc3R5bGU9ImZpbGw6IzY2NjtzdHJva2U6cHVycGxlO3N0cm9rZS13aWR0aDowIiAvPgo8L3N2Zz4="}],b.c=m,b.d=function(r,n,t){b.o(r,n)||Object.defineProperty(r,n,{enumerable:!0,get:t})},b.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},b.t=function(r,n){if(1&n&&(r=b(r)),8&n||4&n&&typeof r=="object"&&r&&r.__esModule)return r;var t=Object.create(null);if(b.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:r}),2&n&&typeof r!="string")for(var e in r)b.d(t,e,function(o){return r[o]}.bind(null,e));return t},b.n=function(r){var n=r&&r.__esModule?function(){return r.default}:function(){return r};return b.d(n,"a",n),n},b.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},b.p="",b(b.s=29);function b(r){if(m[r])return m[r].exports;var n=m[r]={i:r,l:!1,exports:{}};return k[r].call(n.exports,n,n.exports,b),n.l=!0,n.exports}var k,m})})(At);var qc=At.exports;const Jc=Vc(qc),Gc={style:{position:"relative"},class:"t-json-container"},Yc=T("option",{value:"",disabled:"",selected:"",hidden:"",label:"Choose a display deep"},null,-1),Xc=["label","value"],Qc=ve({__name:"TViewerJson",props:{message:Object,idx:[Number,String]},setup(i){const c=he([1,2,3,4,5,6,7,8,9,10]);return(u,d)=>(z(),L("span",Gc,[(z(),nt(Ie(Jc),{"expand-depth":i.message.depth,sort:"",copyable:"",expanded:"",key:i.idx+"_"+i.message.depth,value:Ie(br)(i.message.content)},null,8,["expand-depth","value"])),ke(T("select",{class:"t-json-deep-selector","onUpdate:modelValue":d[0]||(d[0]=b=>i.message.depth=b)},[Yc,(z(!0),L(_e,null,Ce(c,b=>(z(),L("option",{key:b,label:`Deep ${b}`,value:b},null,8,Xc))),128))],512),[[kt,i.message.depth]])]))}}),Zc={class:"t-code"},eu={key:0,class:"t-vue-highlight"},tu={key:1,class:"t-vue-codemirror"},nu={key:2,class:"t-code-default"},ou={style:{padding:"1em",margin:"0"}},ru={style:{"font-size":"15px"}},iu=ve({__name:"TViewerCode",props:{message:Object,idx:[Number,String]},setup(i){const c=ye(()=>{let d=gt();if(d)return d.highlight}),u=ye(()=>{let d=gt();if(d)return d.codemirror});return(d,b)=>{const k=Qe("highlightjs"),m=Qe("codemirror");return z(),L("div",Zc,[c.value?(z(),L("div",eu,[be(k,{ref:"highlightjs",autodetect:"",code:i.message.content},null,8,["code"])])):u.value?(z(),L("div",tu,[be(m,{ref:"codemirror",modelValue:i.message.content,"onUpdate:modelValue":b[0]||(b[0]=r=>i.message.content=r),options:u.value},null,8,["modelValue","options"])])):(z(),L("div",nu,[T("pre",ou,[T("code",ru,ie(i.message.content),1)])]))])}}}),au={class:"t-table t-border-dashed"},su={class:"t-border-dashed"},lu=["innerHTML"],cu=ve({__name:"TViewerTable",props:{message:Object,idx:[Number,String]},setup(i){return(c,u)=>(z(),L("table",au,[T("thead",null,[T("tr",su,[(z(!0),L(_e,null,Ce(i.message.content.head,d=>(z(),L("td",{key:d,class:"t-border-dashed"},ie(d),1))),128))])]),T("tbody",null,[(z(!0),L(_e,null,Ce(i.message.content.rows,(d,b)=>(z(),L("tr",{key:b,class:"t-border-dashed"},[(z(!0),L(_e,null,Ce(d,(k,m)=>(z(),L("td",{key:m,class:"t-border-dashed"},[T("div",{innerHTML:k},null,8,lu)]))),128))]))),128))])]))}}),uu=["innerHTML"],du={key:1},fu={key:0},pu={key:1},gu={class:"t-cmd-help-eg"},hu={class:"t-cmd-help-example"},bu={class:"t-example-ul"},vu={class:"t-example-li"},mu={class:"t-example-li"},yu={key:0,class:"t-cmd-help-des"},xu=ve({__name:"THelpBox",props:{top:Number,result:Object},setup(i,{expose:c}){const u=U();return c({getClientRect:()=>u.value.getBoundingClientRect()}),(b,k)=>(z(),L("div",{class:"t-cmd-help",ref_key:"terminalHelpBoxRef",ref:u,style:we(`top: ${i.top}px;max-height: calc(
<div>
<div style="float:left;width: 30px;display:flex;font-size: 12px;line-height: 18px;">
eg${parseInt(_)+1}:
</div>
<div class="t-cmd-help-example">
<ul class="t-example-ul">
<li class="t-example-li"><code>${le.cmd}</code></li>
<li class="t-example-li"><span></span></li>
`,ge(le.des)&&(B+=`<li class="t-example-li"><span>${le.des}</span></li>`),B+=`
</ul>
</div>
</div>
`}}w.push(B),j.rows.push(w)}),de({type:"table",content:j})},ct=()=>{if(We(),Bt(),ge(e.value))try{let a=e.value.split(" "),p=a[0];u("before-exec-cmd",p,e.value,G());const j=()=>{s.value=!1;let h=w=>{let B=()=>{s.value=!0,Ke()};if(w)if(w instanceof St){w.onFlush(_=>{Q.content=_}),w.onFinish(()=>{Q.open=!1,B()}),Q.open=!0;return}else if(w instanceof Ct){w.onAsk(_=>{H.input="",H.isPassword=_.isPassword,H.question=tt(_.question),H.callback=_.callback,H.autoReview=_.autoReview,se()}),w.onFinish(()=>{H.open=!1,B(),se(!0)}),H.open=!0;return}else de(w);B()},v=w=>{w&&de({type:"normal",class:"error",content:w}),s.value=!0,Ke()};u("exec-cmd",p,e.value,h,v,G())};if(d.enableDefaultCommand)switch(p){case"help":{let h=`^${a.length>1&&ge(a[1])?a[1]:"*"}$`;h=h.replace(/\*/g,".*"),Lt(new RegExp(h,"i"),a[1]);break}case"clear":Ve(a.length===2&&a[1]==="history");break;case"open":vr(a[1],de);break;default:{j();return}}else{j();return}}catch(a){console.error(a),de({type:"normal",class:"error",content:tt(Ge(a.stack)),tag:"error"})}Ke()},Ke=()=>{e.value="",He(),m.value?(se(),o.show=!0):o.show=!1,g.show=!0,g.defaultBoxRect=null},It=a=>{const p=a.type&&/^(normal|html|code|table|json)$/.test(a.type);return p?a.type==="json"&&(a.depth||(a.depth=1)):(console.debug(`Invalid terminal message type: ${a.type}, the default type normal will be used`),a.type="normal"),p},de=a=>{if(a){if(a instanceof Array){for(let p of a)ut(p);return}typeof a=="string"&&(a={type:"normal",content:a}),a.type==="ansi"&&(a.type="html",a.content=jc(a.content)),ut(a),a.type==="json"&&setTimeout(()=>{Be()},80)}},ut=a=>{It(a),a.type!=="cmdLine"&&d.pushMessageBefore&&d.pushMessageBefore(a,G()),f.value.push(a);let p=Math.floor(d.logSizeLimit*1.1);if(p>0&&f.value.length>p){let j=f.value.length-d.logSizeLimit;f.value.splice(0,j)}},Ot=a=>{let p;for(let j=f.value.length-1;j>=0;j--){let h=f.value[j];if(h.type!=="cmdLine"){p=h;break}}p?p.type==="normal"||p.type==="ansi"||p.type==="code"||p.type=="html"?p.content+=a:(console.warn(`The last message type is ${p.type}, can not append it and then push it.`),de(a)):de(a)},Be=()=>{Ae(()=>{let a=ne.value;a!=null&&a.scrollTo({top:a.scrollHeight,behavior:d.scrollMode})}).then(()=>{})},Bt=()=>{ge(e.value)&&me.push(G(),e.value),f.value.push({type:"cmdLine",content:`${Ge(d.context)}${d.contextSuffix}${ft(e.value)}`})},He=a=>{st(),o.idx=(a||e.value).length,o.left="unset",o.top="unset",o.width=o.defaultWidth},Ne=a=>{let p=o.idx,j=a||e.value;if(st(),p<0||p>=j.length){He();return}q.promptWidth===0&&lt();let h=pe.value.getBoundingClientRect().width,v={left:0,top:0},w=o.defaultWidth,B=q.promptWidth;for(let _=0;_<=p;_++)w=Pt(j[_]),v.left+=B,B=w,v.left>h&&(v.top+=20,v.left=w);o.left=v.left+"px",o.top=v.top+"px",o.width=w},Ht=()=>{o.idx>0&&o.idx--,Ne()},Nt=()=>{o.idx<e.value.length&&o.idx++,Ne()},Ft=()=>{let a=me.getLog(G()),p=me.getIdx(G());a.length!==0&&p>0&&(p-=1,e.value=a[p]?a[p]:""),He(),me.setIdx(G(),p),Ue(e.value.trim().split(" ")[0])},Dt=()=>{let a=me.getLog(G()),p=me.getIdx(G());a.length!==0&&p<a.length-1?(p+=1,e.value=a[p]?a[p]:""):(p=a.length,e.value=""),He(),me.setIdx(G(),p),Ue(e.value.trim().split(" ")[0])},Pt=a=>{let p=0;for(let j of a)p+=fr(j)===1?l.en:l.cn;return p},Vt=a=>{if(d.inputFilter){let h=a.target.value,v=d.inputFilter(a.data,h,a);v==null&&(v=h),e.value=v.trim()}Le(e.value)?We():Ue(),Fe(),Ne();let p=V.value.getBoundingClientRect(),j=g.defaultBoxRect||(F.value?F.value.getClientRect():null);p&&j&&bt(p,j)?(g.show=!1,g.defaultBoxRect=j):(g.show=!0,g.defaultBoxRect=null)},Fe=()=>{let a=ue.value;a.selectionStart!==o.idx&&(o.idx=a.selectionStart)},dt=a=>{let p=a.key.toLowerCase();p==="arrowleft"?(Fe(),Ht()):p==="arrowright"&&(Fe(),Nt())},Wt=a=>{let p=a.key.toLowerCase(),j=a.code.toLowerCase();(p==="home"||p==="end"||j==="altleft"||j==="metaleft"||j==="controlleft"||(a.ctrlKey||a.metaKey||a.altKey)&&(p==="arrowright"||p==="arrowleft"))&&(Fe(),Ne())},Re=()=>{let a=te.value;if(I.value){let p=document;p.exitFullscreen?p.exitFullscreen():p.webkitCancelFullScreen?p.webkitCancelFullScreen():p.mozCancelFullScreen?p.mozCancelFullScre