<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-96722c30"],{"0ac0":function(e,t,i){},"19a4":function(e,t,i){"use strict";var r=i("0ac0"),n=i.n(r);n.a},"2d4d":function(e,t,i){"use strict";var r=i("f3ae"),n=i.n(r);n.a},"48e7":function(module,__webpack_exports__,__webpack_require__){"use strict";var core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("99af"),core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(core_js_modules_es_array_concat__WEBPACK_IMPORTED_MODULE_0__),core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("baa5"),core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(core_js_modules_es_array_last_index_of__WEBPACK_IMPORTED_MODULE_1__),core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("b0c0"),core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(core_js_modules_es_function_name__WEBPACK_IMPORTED_MODULE_2__),_services_API__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("fce9"),_shareDilaog_vue__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("e04c"),_data_status_json__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("5986"),_data_status_json__WEBPACK_IMPORTED_MODULE_5___namespace=__webpack_require__.t("5986",1),_mixins_setTitle_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("c892");__webpack_exports__["a"]={name:"webguacamole",mixins:[_mixins_setTitle_js__WEBPACK_IMPORTED_MODULE_6__["a"]],components:{ShareDilaog:_shareDilaog_vue__WEBPACK_IMPORTED_MODULE_4__["a"]},data:function(){var e=this;return{ip:JSON.parse(window.passwordDecrypt(this.$route.query.obj,"muyun.com")).ip,port:JSON.parse(window.passwordDecrypt(this.$route.query.obj,"muyun.com")).port,key:JSON.parse(window.passwordDecrypt(this.$route.query.obj,"muyun.com")).key,username:decodeURIComponent(JSON.parse(window.passwordDecrypt(this.$route.query.obj,"muyun.com")).username),conn_type:JSON.parse(window.passwordDecrypt(this.$route.query.obj,"muyun.com")).conn_type,filetransfer:JSON.parse(window.passwordDecrypt(this.$route.query.obj,"muyun.com")).filetransfer,socketURI:"",ruleForm:{name:"",url:""},rules:{url:[{required:!0,message:"请输入要下载文件的全部路径",trigger:"blur"}]},fileInfo:{file:"",img:""},term:"",rows:30,cols:20,fileName:"",filelist:[],options:{target:"/rump_frontend/deskUpload/",maxChunkRetries:2,testChunks:!1,fileParameterName:"file",chunkSize:20971520,forceChunkSize:!1,simultaneousUploads:3,query:function(t,i){return{key:JSON.parse(window.passwordDecrypt(e.$route.query.obj,"muyun.com")).key,ip:JSON.parse(window.passwordDecrypt(e.$route.query.obj,"muyun.com")).ip,port:JSON.parse(window.passwordDecrypt(e.$route.query.obj,"muyun.com")).port}},headers:{"www-authenticate":this.$store.state.token,cancelToken:this.$store.state.token}},statusText:{success:"上传成功",error:"上传失败",uploading:"上传中",paused:"暂停中",waiting:"等待中"},attrs:{accept:[]},filename:"",file_total:0,errorfilelist:[],controllerErrorFileDialog:!1,uploadType:"zip",progress:"",isStart:!1,guac:"",Isosk:!1,input:"",dialogVisibleCopy:!1,isSendInputValue:!1,inputScreen:"",timer:null}},created:function(){},mounted:function(){var e=this;e.setTimer();var t=document.getElementById("display"),i="https:"===location.protocol?"wss://":"ws://",r=i+location.hostname+(location.port?":"+location.port:"")+"/rump_ws/webRemote/",n=new Guacamole.Client(new Guacamole.WebSocketTunnel(r));this.guac=n,t.appendChild(n.getDisplay().getElement());var s=window.innerWidth-10,o=window.innerHeight-document.querySelector(".xterm-title").offsetHeight-10,a=this.getDPI();function l(){var t=window.innerWidth-10,i=window.innerHeight-document.querySelector(".xterm-title").offsetHeight-10;e.guac.sendSize(t,i)}n.connect("width=".concat(s,"&amp;height=").concat(o,"&amp;dpi=").concat(a,"&amp;key=").concat(this.key,"&amp;port=").concat(this.port)),n.onclipboard=function(t,i){if(/^text\//.test(i)){var r=new Guacamole.StringReader(t),n="";r.ontext=function(e){n+=e},r.onend=function(){n.length&lt;=65535&amp;&amp;e.copy(n)}}},n.onerror=function(e){e.code;var t="EN"==this.$store.state.global.lang?1:2,i="["+_data_status_json__WEBPACK_IMPORTED_MODULE_5__[e.code][0]+":"+e.code+"]:"+_data_status_json__WEBPACK_IMPORTED_MODULE_5__[e.code][t];this.$message.warning(i)},this.operation(),window.addEventListener("resize",l)},beforeDestroy:function(){var e=this;e.guac.disconnect(),clearInterval(e.timer)},methods:{setTimer:function(){var e=this;e.timer=setInterval((function(){e.$nextTick((function(){e.$refs.screenInput.focus()}))}),1e3)},closeWindow:function(){this.$router.push("/login")},share:function(){clearInterval(this.timer),this.isSendInputValue=!0,this.$refs.ShareDilaog.dialogVisible=!0,this.$refs.ShareDilaog.key=this.key,this.$refs.ShareDilaog.shareUrl=window.location.origin+"/frontend_static/frontend/login/index.html#/webView?obj="+this.$route.query.obj},shareDiaglogClose:function(){this.isSendInputValue=!1,this.setTimer()},socketShareClose:function(){var e=this;e.delTunnelShareData()},delTunnelShareData:function(){var e=this.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),t=this,i="key="+this.key;Object(_services_API__WEBPACK_IMPORTED_MODULE_3__["t"])().then((function(r){0==r.data.code?delTunnelShare(i,{headers:{common:{"X-CSRFToken":r.data.data}}}).then((function(i){e.close(),0==i.data.code&amp;&amp;t.$message.success(i.data.msg)})).catch((function(){e.close()})):e.close()})).catch((function(){e.close()}))},socketClose:function(){var e=this;this.$confirm("确定要断开当前连接吗？?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.guac.disconnect(),e.$notify({title:"提示",message:"连接已关闭",type:"info"}),window.close()})).catch((function(){}))},dialogVisibleCopyShow:function(){clearInterval(this.timer),this.dialogVisibleCopy=!0},dialogVisibleCopyClose:function(){this.dialogVisibleCopy=!1,this.setTimer()},copy:function(e){var t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("Copy"),document.body.removeChild(t)},setClipboard:function(){for(var e=this,t=JSON.parse(JSON.stringify(e.input)),i=e.guac.createClipboardStream("text/plain"),r=new Guacamole.StringWriter(i),n=0;n&lt;t.length;n+=4096)r.sendText(t.substring(n,n+4096));r.sendEnd()},getDPI:function(){return document.getElementById("dpi").clientHeight},operation:function(){var e=this,t=e.guac,i=new Guacamole.Mouse(t.getDisplay().getElement());i.onmousedown=i.onmouseup=i.onmousemove=function(e){t.sendMouseState(e)};try{var r=new Guacamole.Touchpad(t.getDisplay().getElement());r.onmousedown=r.onmouseup=r.onmousemove=function(e){}}catch(l){}try{var n=new Guacamole.Touchscreen(t.getDisplay().getElement());n.onmousedown=n.onmouseup=n.onmousemove=function(e){t.sendMouseState(e)}}catch(l){}var s=new Guacamole.Keyboard(document.getElementById("screenInput"));s.onkeydown=function(e){t.sendKeyEvent(1,e)},s.onkeyup=function(e){t.sendKeyEvent(0,e)};var o={language:"en_US",type:"qwerty",width:32,keys:{0:[{title:"0",requires:[]},{title:")",requires:["shift"]}],1:[{title:"1",requires:[]},{title:"!",requires:["shift"]}],2:[{title:"2",requires:[]},{title:"@",requires:["shift"]}],3:[{title:"3",requires:[]},{title:"#",requires:["shift"]}],4:[{title:"4",requires:[]},{title:"$",requires:["shift"]}],5:[{title:"5",requires:[]},{title:"%",requires:["shift"]}],6:[{title:"6",requires:[]},{title:"^",requires:["shift"]}],7:[{title:"7",requires:[]},{title:"&amp;",requires:["shift"]}],8:[{title:"8",requires:[]},{title:"*",requires:["shift"]}],9:[{title:"9",requires:[]},{title:"(",requires:["shift"]}],Back:65288,Tab:65289,Enter:65293,Esc:65307,Home:65360,PgUp:65365,PgDn:65366,End:65367,Ins:65379,F1:65470,F2:65471,F3:65472,F4:65473,F5:65474,F6:65475,F7:65476,F8:65477,F9:65478,F10:65479,F11:65480,F12:65481,Del:65535,Space:" ",Left:[{title:"←",keysym:65361}],Up:[{title:"↑",keysym:65362}],Right:[{title:"→",keysym:65363}],Down:[{title:"↓",keysym:65364}],Menu:[{title:"Menu",keysym:65383}],LShift:[{title:"Shift",modifier:"shift",keysym:65505}],RShift:[{title:"Shift",modifier:"shift",keysym:65506}],LCtrl:[{title:"Ctrl",modifier:"control",keysym:65507}],RCtrl:[{title:"Ctrl",modifier:"control",keysym:65508}],Caps:[{title:"Caps",modifier:"caps",keysym:65509}],LAlt:[{title:"Alt",modifier:"alt",keysym:65513}],RAlt:[{title:"Alt",modifier:"alt",keysym:65514}],Super:[{title:"Win",modifier:"super",keysym:65515}],"`":[{title:"`",requires:[]},{title:"~",requires:["shift"]}],"-":[{title:"-",requires:[]},{title:"_",requires:["shift"]}],"=":[{title:"=",requires:[]},{title:"+",requires:["shift"]}],",":[{title:",",requires:[]},{title:"&lt;",requires:["shift"]}],".":[{title:".",requires:[]},{title:"&gt;",requires:["shift"]}],"/":[{title:"/",requires:[]},{title:"?",requires:["shift"]}],"[":[{title:"[",requires:[]},{title:"{",requires:["shift"]}],"]":[{title:"]",requires:[]},{title:"}",requires:["shift"]}],"\\":[{title:"\\",requires:[]},{title:"|",requires:["shift"]}],";":[{title:";",requires:[]},{title:":",requires:["shift"]}],"'":[{title:"'",requires:[]},{title:'"',requires:["shift"]}],q:[{title:"q",requires:[]},{title:"Q",requires:["caps"]},{title:"Q",requires:["shift"]},{title:"q",requires:["caps","shift"]}],w:[{title:"w",requires:[]},{title:"W",requires:["caps"]},{title:"W",requires:["shift"]},{title:"w",requires:["caps","shift"]}],e:[{title:"e",requires:[]},{title:"E",requires:["caps"]},{title:"E",requires:["shift"]},{title:"e",requires:["caps","shift"]}],r:[{title:"r",requires:[]},{title:"R",requires:["caps"]},{title:"R",requires:["shift"]},{title:"r",requires:["caps","shift"]}],t:[{title:"t",requires:[]},{title:"T",requires:["caps"]},{title:"T",requires:["shift"]},{title:"t",requires:["caps","shift"]}],y:[{title:"y",requires:[]},{title:"Y",requires:["caps"]},{title:"Y",requires:["shift"]},{title:"y",requires:["caps","shift"]}],u:[{title:"u",requires:[]},{title:"U",requires:["caps"]},{title:"U",requires:["shift"]},{title:"u",requires:["caps","shift"]}],i:[{title:"i",requires:[]},{title:"I",requires:["caps"]},{title:"I",requires:["shift"]},{title:"i",requires:["caps","shift"]}],o:[{title:"o",requires:[]},{title:"O",requires:["caps"]},{title:"O",requires:["shift"]},{title:"o",requires:["caps","shift"]}],p:[{title:"p",requires:[]},{title:"P",requires:["caps"]},{title:"P",requires:["shift"]},{title:"p",requires:["caps","shift"]}],a:[{title:"a",requires:[]},{title:"A",requires:["caps"]},{title:"A",requires:["shift"]},{title:"a",requires:["caps","shift"]}],s:[{title:"s",requires:[]},{title:"S",requires:["caps"]},{title:"S",requires:["shift"]},{title:"s",requires:["caps","shift"]}],d:[{title:"d",requires:[]},{title:"D",requires:["caps"]},{title:"D",requires:["shift"]},{title:"d",requires:["caps","shift"]}],f:[{title:"f",requires:[]},{title:"F",requires:["caps"]},{title:"F",requires:["shift"]},{title:"f",requires:["caps","shift"]}],g:[{title:"g",requires:[]},{title:"G",requires:["caps"]},{title:"G",requires:["shift"]},{title:"g",requires:["caps","shift"]}],h:[{title:"h",requires:[]},{title:"H",requires:["caps"]},{title:"H",requires:["shift"]},{title:"h",requires:["caps","shift"]}],j:[{title:"j",requires:[]},{title:"J",requires:["caps"]},{title:"J",requires:["shift"]},{title:"j",requires:["caps","shift"]}],k:[{title:"k",requires:[]},{title:"K",requires:["caps"]},{title:"K",requires:["shift"]},{title:"k",requires:["caps","shift"]}],l:[{title:"l",requires:[]},{title:"L",requires:["caps"]},{title:"L",requires:["shift"]},{title:"l",requires:["caps","shift"]}],z:[{title:"z",requires:[]},{title:"Z",requires:["caps"]},{title:"Z",requires:["shift"]},{title:"z",requires:["caps","shift"]}],x:[{title:"x",requires:[]},{title:"X",requires:["caps"]},{title:"X",requires:["shift"]},{title:"x",requires:["caps","shift"]}],c:[{title:"c",requires:[]},{title:"C",requires:["caps"]},{title:"C",requires:["shift"]},{title:"c",requires:["caps","shift"]}],v:[{title:"v",requires:[]},{title:"V",requires:["caps"]},{title:"V",requires:["shift"]},{title:"v",requires:["caps","shift"]}],b:[{title:"b",requires:[]},{title:"B",requires:["caps"]},{title:"B",requires:["shift"]},{title:"b",requires:["caps","shift"]}],n:[{title:"n",requires:[]},{title:"N",requires:["caps"]},{title:"N",requires:["shift"]},{title:"n",requires:["caps","shift"]}],m:[{title:"m",requires:[]},{title:"M",requires:["caps"]},{title:"M",requires:["shift"]},{title:"m",requires:["caps","shift"]}]},layout:[["Esc",.7,"F1","F2","F3","F4",.7,"F5","F6","F7","F8",.7,"F9","F10","F11","F12"],[.1],{main:{alpha:[["`","1","2","3","4","5","6","7","8","9","0","-","=","Back"],["Tab","q","w","e","r","t","y","u","i","o","p","[","]","\\"],["Caps","a","s","d","f","g","h","j","k","l",";","'","Enter"],["LShift","z","x","c","v","b","n","m",",",".","/","RShift"],["LCtrl","Super","LAlt","Space","RAlt","Menu","RCtrl"]],movement:[["Ins","Home","PgUp"],["Del","End","PgDn"],[1],["Up"],["Left","Down","Right"]]}}],keyWidths:{Back:2,Tab:1.5,"\\":1.5,Caps:1.85,Enter:2.25,LShift:2.1,RShift:3.1,LCtrl:1.6,Super:1.6,LAlt:1.6,Space:6.1,RAlt:1.6,Menu:1.6,RCtrl:1.6,Ins:1.6,Home:1.6,PgUp:1.6,Del:1.6,End:1.6,PgDn:1.6}},a=new Guacamole.OnScreenKeyboard(o);document.getElementById("osk").appendChild(a.getElement()),a.resize(1280),a.onkeydown=function(e){t.sendKeyEvent(1,e)},a.onkeyup=function(e){t.sendKeyEvent(0,e)},window.onbeforeunload=function(e){return!1}},onFileAdded:function(e){var t=this;this.progress="",this.isStart=!1,this.filename=e.name;e.name.substring(e.name.lastIndexOf(".")+1);var i=e.size/1024/1024/1024&lt;4;if(!i)return this.$notify({title:"提示",message:"上传文件最大支持4GB",type:"warning"}),!1;e.pause(),this.$nextTick((function(){t.file_total=t.$refs["uploader"].files.length})),0!==this.errorfilelist.length&amp;&amp;(this.controllerErrorFileDialog=!0)},onFileSuccess:function(e,t,i,r){var n=JSON.parse(i);if(1e4!==n.code){var s={rootname:"无",name:t.name,errorinfo:n.message};!0===e.isFolder&amp;&amp;(s["rootname"]=e.name),this.errorfilelist.push(s),this.controllerErrorFileDialog=!0}},onFileError:function(e,t,i,r){var n={rootname:"无",name:t.name,errorinfo:"文件上传失败"};!0===e.isFolder&amp;&amp;(n["rootname"]=e.name),this.errorfilelist.push(n),this.controllerErrorFileDialog=!0},fileRemoved:function(e){var t=this;this.$nextTick((function(){t.file_total=t.$refs["uploader"].files.length}))},submitUpload:function(){var e=this;if(0==this.$refs["uploader"].files.length)return this.$notify({title:"提示",message:"请先选择文件",type:"warning"}),!1;this.isStart=!0,Object(_services_API__WEBPACK_IMPORTED_MODULE_3__["t"])().then((function(t){0==t.data.code&amp;&amp;(e.options.headers["X-CSRFToken"]=t.data.data,e.$nextTick((function(){var t=e.$refs["uploader"].files.length-1;e.$refs["uploader"].files[t].resume()})))}))},onFileProgress:function onFileProgress(rootFile,file,chunk){var p=Math.round(100*file.progress());if(this.progress=p+"%",chunk.processedState){var response=eval("("+chunk.processedState.res+")");100==p&amp;&amp;response.complete?(this.$notify({title:"提示",message:this.filename+"已上传成功",type:"success"}),this.isStart=!1):1==response.code&amp;&amp;this.$notify({title:"提示",message:this.filename+response.msg,type:"warning"})}},closeErrorDialog:function(){this.errorDialog=!1},handelClose:function(){this.clearcache(),this.thirdDialog=!1},clearcache:function(){this.file_total=0,this.errorfilelist=[],this.controllerErrorFileDialog=!1,this.$refs.uploader.uploader.cancel()},cancelUpload:function(){this.filename="",this.progress="",this.isStart=!1,this.thirdDialog=!1,this.clearcache()},playFile:function(e,t){var i=this;e.stopPropagation(),this.$nextTick((function(){var e=i.$refs["uploader"].files.length-1;i.$refs["uploader"].files[e].resume()}))},pauseFile:function(e,t){var i=this;e.stopPropagation(),this.$nextTick((function(){var e=i.$refs["uploader"].files.length-1;i.$refs["uploader"].files[e].pause()}))},get_term_size:function(){var e=9,t=17,i=parseInt(window.innerWidth),r=document.querySelector(".xterm-container").clientHeight;return{cols:Math.floor(i/e),rows:Math.floor(r/t)-1}}}}},5986:function(e){e.exports=JSON.parse('{"0x0000":["SUCCESS","The operation succeeded","操作成功"],"0x0100":["UNSUPPORTED","The requested operation is unsupported","不支持请求的操作"],"0x0200":["SERVER_ERROR","The operation could not be performed due to an internal failure","由于内部故障，无法执行操作"],"0x0201":["SERVER_BUSY","The operation could not be performed as the server is busy","由于服务器繁忙，无法执行该操作"],"0x0202":["UPSTREAM_TIMEOUT","The operation could not be performed because the upstream server is not","无法执行该操作，因为上游服务器不在"],"0x0203":["UPSTREAM_ERROR","The operation was unsuccessful due to an error or otherwise unexpected","由于错误或其他意外原因，操作不成功"],"0x0204":["RESOURCE_NOT_FOUND","The operation could not be performed as the requested resource does not","无法执行操作，因为请求的资源不存在"],"0x0205":["RESOURCE_CONFLICT","The operation could not be performed as the requested resource is already in use","无法执行该操作，因为请求的资源已在使用中"],"0x0206":["RESOURCE_CLOSED","The operation could not be performed as the requested resource is now closed","无法执行该操作，因为请求的资源现在已关闭"],"0x0207":["UPSTREAM_NOT_FOUND"," The operation could not be performed because the upstream server does not appear to exist","无法执行该操作，因为上游服务器似乎不存在"],"0x0208":["UPSTREAM_UNAVAILABLE","The operation could not be performed because the upstream server is not available to service the request","无法执行该操作，因为上游服务器无法为该请求提供服务"],"0x0209":["SESSION_CONFLICT","The session within the upstream server has ended because it conflicted with another session","上游服务器中的会话已经结束，因为它与另一个会话冲突"],"0x020A":["SESSION_TIMEOUT","The session within the upstream server has ended because it appeared to be inactive","上游服务器中的会话已经结束，因为它看起来不活跃"],"0x020B":["SESSION_CLOSED","The session within the upstream server has been forcibly terminated","上游服务器内的会话已被强制终止"],"0x0300":["CLIENT_BAD_REQUEST","The operation could not be performed because bad parameters were given","操作无法执行，因为给出了错误的参数"],"0x0301":["CLIENT_UNAUTHORIZED","Permission was denied to perform the operation, as the user is not yet authorized (not yet logged in, for example)","执行操作的权限被拒绝，因为用户尚未获得授权(例如，尚未登录)"],"0x0303":["CLIENT_FORBIDDEN","Permission was denied to perform the operation, and this permission will not be granted even if the user is authorized","执行操作的权限被拒绝，即使用户被授权也不会被授予该权限"],"0x0308":["CLIENT_TIMEOUT","The client took too long to respond","客户端回复时间过长"],"0x030D":["CLIENT_OVERRUN","The client sent too much data","客户端发送的数据过多"],"0x030F":["CLIENT_BAD_TYPE","The client sent data of an unsupported or unexpected type","客户端发送了不支持或意外类型的数据"],"0x031D":["CLIENT_TOO_MANY","The operation failed because the current client is already using too many resources","操作失败，因为当前客户端已经使用了太多的资源"]}')},"8f9a":function(e,t,i){"use strict";i.r(t);var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"xterm"},[i("div",{staticClass:"xterm-title"},[i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",staticStyle:{width:"100%"},attrs:{model:e.ruleForm,rules:e.rules,"label-width":"0",size:"small"}},[i("div",{staticStyle:{display:"flex","flex-wrap":"wrap","justify-content":"space-between"}},[i("el-form-item",{attrs:{label:"",prop:""}},[i("span",{staticClass:"ipName",staticStyle:{"margin-right":"10px"}},[e._v("协议："+e._s(e.conn_type)+" 连接："+e._s(e.username+"@"+e.ip+":"+e.port))]),i("el-button",{staticStyle:{margin:"0 10px 0 0"},attrs:{type:"primary",icon:"el-icon-share"},on:{click:e.share}},[e._v("分享")]),i("el-button",{staticStyle:{"margin-left":"0","margin-right":"10px"},attrs:{type:"danger",icon:"el-icon-circle-close"},on:{click:e.socketClose}},[e._v("断开")]),i("el-button",{staticStyle:{"margin-left":"0","margin-right":"10px"},attrs:{type:"primary"},on:{click:function(t){e.Isosk=!e.Isosk}}},[e._v("屏幕键盘")]),i("el-button",{staticStyle:{"margin-left":"0"},attrs:{type:"primary"},on:{click:e.dialogVisibleCopyShow}},[e._v("剪切板")])],1),e.filetransfer?i("el-form-item",[i("div",{staticClass:"uploader-wrap"},[i("uploader",{ref:"uploader",staticClass:"uploader-example",attrs:{options:e.options,"file-status-text":e.statusText,"auto-start":!1},on:{"file-added":e.onFileAdded,"file-success":e.onFileSuccess,"file-error":e.onFileError,"file-removed":e.fileRemoved,"file-progress":e.onFileProgress}},[i("uploader-unsupport"),i("uploader-drop",[i("el-input",{staticStyle:{width:"230px"},attrs:{placeholder:"上传文件最大支持4GB",disabled:!0},model:{value:e.filename,callback:function(t){e.filename=t},expression:"filename"}}),i("uploader-btn",{staticStyle:{"background-color":"#67c13b",padding:"9px 15px"},attrs:{attrs:e.attrs,single:""}},[i("i",{staticClass:"el-icon-upload",staticStyle:{"margin-right":"5px"}}),i("span",{staticStyle:{"font-size":"12px"}},[e._v("上传文件")])]),i("p",{directives:[{name:"show",rawName:"v-show",value:e.isStart,expression:"isStart"}],staticClass:"progresswrapper",staticStyle:{width:"200px","border-radius":"2px",height:"30px",position:"relative",background:"#fff",display:"inline-block","vertical-align":"middle","margin-left":"10px",cursor:"pointer"}},[i("span",{staticClass:"percentageWidth pro",staticStyle:{display:"inline-block",width:"0%",height:"30px","border-radius":"2px",position:"absolute",left:"0",top:"0"},style:{width:e.progress}}),i("span",{staticStyle:{display:"flex","align-items":"center","justify-content":"space-between",bottom:"0",right:"0x",color:"#555",position:"absolute",top:"0px",left:"0","z-index":"10","line-height":"33px"}},[i("span",{staticStyle:{"margin-right":"10px","padding-left":"10px","font-size":"14px"}},[e._v(" "+e._s(e.progress))]),i("span",{staticClass:"el-icon-video-pause",staticStyle:{"margin-right":"10px","font-size":"20px"},on:{click:function(t){return e.pauseFile(t)}}}),i("span",{staticClass:"el-icon-caret-right",staticStyle:{"margin-right":"10px","font-size":"20px"},on:{click:function(t){return e.playFile(t)}}}),i("span",{staticClass:"el-icon-close",staticStyle:{"font-size":"20px"},on:{click:e.cancelUpload}})])]),i("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary"},on:{click:e.submitUpload}},[e._v("开始上传")])],1)],1)],1)]):e._e()],1)])],1),i("div",{attrs:{id:"dpi"}}),i("div",{staticClass:"mt-1 content-list",attrs:{id:"display"}}),i("div",{directives:[{name:"show",rawName:"v-show",value:e.Isosk,expression:"Isosk"}],staticClass:"keyboard-container p-1",attrs:{id:"osk"}}),i("span",{attrs:{id:"group_name",text:"",hidden:""}}),i("el-dialog",{attrs:{"append-to-body":!0,title:"剪切板",visible:e.dialogVisibleCopy,"close-on-click-modal":!1,width:"30%",top:"150px"},on:{"update:visible":function(t){e.dialogVisibleCopy=t},close:e.dialogVisibleCopyClose}},[i("el-input",{attrs:{placeholder:"此处内容会自动同步到终端剪切板中。",type:"textarea"},on:{input:e.setClipboard},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}})],1),i("ShareDilaog",{ref:"ShareDilaog",on:{"close-dialog":e.shareDiaglogClose,"to-parent":e.closeWindow,"to-closeShare":e.socketShareClose}}),i("el-input",{ref:"screenInput",staticStyle:{opacity:"0",position:"fixed","z-index":"200000"},attrs:{id:"screenInput",autofocus:!0,placeholder:"请输入内容"},model:{value:e.inputScreen,callback:function(t){e.inputScreen=t},expression:"inputScreen"}})],1)},n=[],s=i("48e7"),o=s["a"],a=(i("19a4"),i("2877")),l=Object(a["a"])(o,r,n,!1,null,"1651e276",null);t["default"]=l.exports},b0c0:function(e,t,i){var r=i("83ab"),n=i("9bf2").f,s=Function.prototype,o=s.toString,a=/^\s*function ([^ (]*)/,l="name";r&amp;&amp;!(l in s)&amp;&amp;n(s,l,{configurable:!0,get:function(){try{return o.call(this).match(a)[1]}catch(e){return""}}})},baa5:function(e,t,i){var r=i("23e7"),n=i("e58c");r({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},c892:function(e,t,i){"use strict";i.d(t,"a",(function(){return r}));var r={mounted:function(){this.setTitle()},methods:{setTitle:function(){var e=document.getElementsByTagName("title")[0],t=window.localStorage.getItem("organization");e.innerHTML=t||"超级终端"}}}},e04c:function(e,t,i){"use strict";var r=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("el-dialog",{attrs:{"append-to-body":!0,size:"medium",title:"分享设置",visible:e.dialogVisible,width:"400px"},on:{close:e.dialogClose,"update:visible":function(t){e.dialogVisible=t}}},[i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{size:"medium",model:e.ruleForm,rules:e.rules,"label-width":"100px"}},[i("el-form-item",{attrs:{label:"权限",prop:"readOnly"}},[i("el-radio-group",{model:{value:e.ruleForm.readOnly,callback:function(t){e.$set(e.ruleForm,"readOnly",t)},expression:"ruleForm.readOnly"}},[i("el-radio",{attrs:{label:!0}},[e._v("只读")]),i("el-radio",{attrs:{label:!1}},[e._v("读写")])],1)],1),i("el-form-item",{attrs:{label:"人数限制",prop:"limit"}},[i("el-input",{model:{value:e.ruleForm.limit,callback:function(t){e.$set(e.ruleForm,"limit",t)},expression:"ruleForm.limit"}})],1),i("el-form-item",{attrs:{label:"时长",prop:"period"}},[i("el-input",{model:{value:e.ruleForm.period,callback:function(t){e.$set(e.ruleForm,"period",t)},expression:"ruleForm.period"}})],1),i("el-form-item",[i("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("ruleForm")}}},[e._v("确定")])],1)],1)],1),i("el-dialog",{attrs:{"close-on-click-modal":!1,top:"28vh",size:"medium",title:"分享链接",visible:e.dialogVisibleShare,width:"400px"},on:{"update:visible":function(t){e.dialogVisibleShare=t}}},[i("el-input",{staticStyle:{width:"80%"},attrs:{size:"medium",readOnly:""},model:{value:e.shareUrl,callback:function(t){e.shareUrl=t},expression:"shareUrl"}}),i("el-button",{attrs:{size:"medium"},on:{click:function(t){return e.copy(e.shareUrl)}}},[e._v("复制")])],1),i("el-dialog",{staticStyle:{position:"absolute",left:"auto",top:"45%"},attrs:{"show-close":!1,"close-on-click-modal":!1,modal:!1,"custom-class":"shareClose",size:"medium",title:"当前在线",visible:e.dialogVisibleShareCont,width:"300px",top:"auto"},on:{"update:visible":function(t){e.dialogVisibleShareCont=t}}},[i("div",{staticStyle:{"max-height":"150px","overflow-y":"scroll"}},e._l(e.sharedData,(function(t,r){return i("div",{key:r},[e._v(e._s(t))])})),0),i("el-button",{staticStyle:{"margin-top":"10px"},attrs:{size:"small",type:"primary"},on:{click:e.shareClose}},[e._v("结束分享")])],1)],1)},n=[],s=i("fce9"),o={name:"shareDilaog",data:function(){return{shareUrl:"",dialogVisibleShare:!1,dialogVisible:!1,dialogVisibleShareCont:!1,key:"",ruleForm:{readOnly:!0,limit:1,period:30},rules:{limit:[{required:!0,message:"请输入人数限制",trigger:"blur"}],period:[{required:!0,message:"请输入时长",trigger:"blur"}]},sharedData:[],timer:null}},beforeDestroy:function(){var e=this;clearInterval(e.timer)},methods:{setTimer:function(){var e=this;this.timer=setInterval((function(){e.getTunnelSharedData()}),3e3)},dialogClose:function(){this.$emit("close-dialog")},getTunnelSharedData:function(){var e=this,t="key="+this.key;Object(s["t"])().then((function(i){0==i.data.code&amp;&amp;Object(s["v"])(t,{headers:{common:{"X-CSRFToken":i.data.data}}}).then((function(t){0==t.data.code&amp;&amp;(e.sharedData=t.data.data)})).catch((function(){}))})).catch((function(){}))},shareClose:function(){this.dialogVisibleShare=!1;var e=this;this.$confirm("确定要断开分享连接吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((function(){e.dialogVisibleShareCont=!1,e.$emit("to-closeShare")})).catch((function(){}))},copy:function(e){var t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),document.execCommand("Copy"),document.body.removeChild(t),this.$message({message:"复制成功",type:"success"})},submitForm:function(e){var t=this;this.$refs[e].validate((function(e){if(!e)return!1;t.setTunnelShareData()}))},setTunnelShareData:function(){var e=this,t=this.$loading({lock:!0,text:"Loading",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.7)"}),i="readOnly="+this.ruleForm.readOnly+"&amp;limit="+this.ruleForm.limit+"&amp;period="+this.ruleForm.period+"&amp;key="+this.key;Object(s["t"])().then((function(r){0==r.data.code?Object(s["D"])(i,{headers:{common:{"X-CSRFToken":r.data.data}}}).then((function(i){t.close(),0==i.data.code?(e.$emit("close-dialog"),e.dialogVisible=!1,e.dialogVisibleShare=!0,e.dialogVisibleShareCont=!0,e.setTimer()):11==i.data.code?e.$emit("to-parent"):e.$message({type:"warning",message:i.data.msg})})).catch((function(){t.close()})):t.close()})).catch((function(){t.close()}))}}},a=o,l=(i("2d4d"),i("2877")),u=Object(l["a"])(a,r,n,!1,null,null,null);t["a"]=u.exports},e58c:function(e,t,i){"use strict";var r=i("fc6a"),n=i("a691"),s=i("50c4"),o=i("a640"),a=i("ae40"),l=Math.min,u=[].lastIndexOf,c=!!u&amp;&amp;1/[1].lastIndexOf(1,-0)&lt;0,d=o("lastIndexOf"),p=a("indexOf",{ACCESSORS:!0,1:0}),f=c||!d||!p;e.exports=f?function(e){if(c)return u.apply(this,arguments)||0;var t=r(this),i=s(t.length),o=i-1;for(arguments.length&gt;1&amp;&amp;(o=l(o,n(arguments[1]))),o&lt;0&amp;&amp;(o=i+o);o&gt;=0;o--)if(o in t&amp;&amp;t[o]===e)return o||0;return-1}:u},f3ae:function(e,t,i){},fce9:function(e,t,i){"use strict";i.d(t,"F",(function(){return u})),i.d(t,"B",(function(){return c})),i.d(t,"E",(function(){return d})),i.d(t,"t",(function(){return p})),i.d(t,"q",(function(){return f})),i.d(t,"p",(function(){return h})),i.d(t,"m",(function(){return m})),i.d(t,"w",(function(){return _})),i.d(t,"A",(function(){return g})),i.d(t,"y",(function(){return y})),i.d(t,"n",(function(){return q})),i.d(t,"f",(function(){return b})),i.d(t,"g",(function(){return w})),i.d(t,"e",(function(){return v})),i.d(t,"d",(function(){return S})),i.d(t,"z",(function(){return E})),i.d(t,"c",(function(){return x})),i.d(t,"b",(function(){return k})),i.d(t,"r",(function(){return C})),i.d(t,"o",(function(){return T})),i.d(t,"C",(function(){return D})),i.d(t,"s",(function(){return O})),i.d(t,"i",(function(){return F})),i.d(t,"h",(function(){return I})),i.d(t,"D",(function(){return R})),i.d(t,"j",(function(){return P})),i.d(t,"v",(function(){return U})),i.d(t,"u",(function(){return L})),i.d(t,"x",(function(){return M})),i.d(t,"l",(function(){return $}));i("d3b7");var r=i("cebe"),n=i.n(r),s=(i("4360"),i("a18c"),n.a.create({timeout:0,baseURL:"/",maxRedirects:5,headers:{"Content-Type":"application/x-www-form-urlencoded","Cache-Control":"no-cache",Pragma:"no-cache"},withCredentials:!0}));s.interceptors.request.use((function(e){return e}),(function(e){return Promise.reject(e)})),s.interceptors.response.use((function(e){var t=e.data;if(t.code)if(11==t.code)window.location.href="/";else if(0==t.code)return e;return e}),(function(e){return Promise.reject(e)}));var o="";function a(e,t){return s.get(o+e,t)}function l(e,t,i){return s.post(o+e,t,i)}function u(e,t){return l("/rump_frontend/login/",e,t)}function c(){return a("/rump_frontend/getSmsAuthCode/")}function d(e,t){return l("/rump_frontend/loginFromSms/",e,t)}function p(e){var t="/rump_frontend/getToken/";return a(t)}function f(e){var t="/rump_frontend/getLoginParam/";return e&amp;&amp;(t="/rump_frontend/getLoginParam/?domain="+e),a(t)}function h(){return a("/rump_frontend/getHomeParam/")}function m(e){return a(e?"/rump_frontend/getAppList/?search_key="+e:"/rump_frontend/getAppList/")}function _(e){return a(e?"/rump_frontend/getLibiaryList/?search_key="+e:"/rump_frontend/getLibiaryList/")}function g(e,t){return l("/rump_frontend/resetPasswd/",e,t)}function y(e,t){return l("/rump_frontend/logout/",e,t)}function q(e){var t=e.limit,i=e.page,r=e.keyWord,n="limit="+t+"&amp;page="+i;return r&amp;&amp;(n=n+"&amp;search="+r),a("/rump_frontend/beianList/?"+n)}function b(e){return a("/rump_frontend/beian/?"+e)}function w(e){return a("/rump_frontend/beianInst/?"+e)}function v(e){var t=e.limit,i=e.page,r="limit="+t+"&amp;page="+i;return a("/rump_frontend/beianConfirmList/?"+r)}function S(e,t){return l("/rump_frontend/confirmBeian/",e,t)}function E(e,t){return l("/rump_frontend/replyRectify/",e,t)}function x(e){var t=e.limit,i=e.page,r=e.keyWord,n="limit="+t+"&amp;page="+i;return r&amp;&amp;(n=n+"&amp;search="+encodeURIComponent(r)),a("/rump_frontend/rectifyRecordList/?"+n)}function k(e){return a("/rump_frontend/rectifyRecord/?"+e)}function C(e,t){return a("/rump_frontend/getUploadFile/?"+e,t)}function T(){return a("/rump_frontend/getCollection/")}function D(e,t){return l("/rump_frontend/setCollection/",e,t)}function O(e,t){return l("/rump_frontend/getTerminalInfo/",e,t)}function F(e,t){return l("/rump_frontend/createRemoteConn/",e,t)}function I(e,t){return l("/rump_frontend/sshDownload/",e,t)}function R(e,t){return l("/rump_frontend/setTunnelShare/",e,t)}function P(e,t){return l("/rump_frontend/delTunnelShare/",e,t)}function U(e,t){return l("/rump_frontend/getTunnelShared/",e,t)}function L(){return a("/rump_frontend/getTokenQrcode/")}function M(e,t){return l("/rump_frontend/loginFromToken/",e,t)}function $(){return a("/rump_frontend/finishScan/")}}}]);</pre></body></html>