(function(t){function e(e){for(var s,r,n=e[0],l=e[1],c=e[2],u=0,p=[];u Playground LabBootstrap "+t+"
";this.$swal({type:t,html:s+a,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})},setFilter(){this.moreParams={filter:this.searchFor,type:this.selected},s["default"].nextTick(()=>this.$refs.vuetable.refresh())},resetFilter(){this.moreParams={},this.searchFor="",s["default"].nextTick(()=>this.$refs.vuetable.refresh())},onPaginationData(t){this.$refs.pagination.setPaginationData(t),this.$refs.paginationInfo.setPaginationData(t)},onChangePage(t){this.$refs.vuetable.changePage(t)},editRow(t){alert("You clicked edit on"+JSON.stringify(t))},async onAction(t,e,a){await f.dispatch("pipelineLLO/swarmlabhybridjoin",{token:this.token,action:"join"});if("edit"==t)this.nodeadmin=!0,this.nodeadminupdate=!0,this.nodeid=e.nodeid,this.nodeip=e.ip,this.nodename=e.name,this.noderole=e.role,this.nodezones=e.zones,this.nodedesc=e.description;else if("update"==t){if(await this.$refs.provider.validate().then(t=>{t.valid?this.valid=!0:this.valid=!1}),this.valid){await f.dispatch("pipelineLLO/swarmlabhybridadd",{token:this.token,action:"add",nodeid:this.nodeid,nodeip:this.nodeip,nodename:this.nodename,noderole:this.noderole,nodezones:this.nodezones,nodedesc:this.nodedesc});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}}else if("rm"==t)this.rowdata=e,this.$swal({type:"info",html:"info",showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!0,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Yes, Delete it!"}).then(t=>{this.rmAndClose(t)});else if("add"==t)this.nodeadmin=!0,this.nodeadminupdate=!1;else if("addserver"==t){if(await this.$refs.provider.validate().then(t=>{t.valid?this.valid=!0:this.valid=!1}),this.valid){this.nodeadmin=!1,this.nodeadminupdate=!1;await f.dispatch("pipelineLLO/swarmlabhybridadd",{token:this.token,action:"add",nodeid:this.nodeid,nodeip:this.nodeip,nodename:this.nodename,noderole:this.noderole,nodezones:this.nodezones,nodedesc:this.nodedesc});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}}else"cancel"==t&&(this.nodeadmin=!1,this.nodeadminupdate=!1)},async rmAndClose(t){await f.dispatch("pipelineLLO/getswarmlabhybridinfo",{token:this.token,nodezones:this.rowdata.zones});if(t.value){await f.dispatch("pipelineLLO/swarmlabhybridrm",{token:this.token,action:"rm",nodeid:this.rowdata.nodeid,nodeip:this.rowdata.ip,nodename:this.rowdata.name,noderole:this.rowdata.role,nodezones:this.rowdata.zones,nodedesc:this.rowdata.description});s["default"].nextTick(()=>this.$refs.vuetable.refresh())}},async addAndClose(t){},refreshVuetable(){this.$nextTick(()=>{this.vuetablekeyc+=1})},playbookinfoShow(t){return this.visibility[t]=!0},playbookinfo(t){return this.playbookInfo=t},rowClicked(t,e){return{html:!0,title:()=>"Hello Popover: "+ ++this.counter,content:()=>"The date is:
"+new Date+""}},loadsuccess(t){var e=t.data.data;this.fielddata=e;e.length},onLoadError(t){"401"==t.response.status&&(window.location.href="https://api-login.swarmlab.io:8089",s["default"].nextTick(()=>window.location.href="https://api-login.swarmlab.io:8089"))}},actions:{}},E=D,P=(a("55b7"),Object(_["a"])(E,O,R,!1,null,null,null)),T=P.exports,V=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-header",staticStyle:{"max-height":"100%"},attrs:{title:"Hybrid API Request"}},[a("b-row",[a("b-col",{attrs:{cols:"12"}},[a("table",{staticClass:"table table-bordered"},[a("tbody",[a("tr",[a("th",{staticClass:"text-center",attrs:{scope:"row"}},[t._v(" Project ")]),a("td",[a("div",{staticClass:"input-group input-group-sm sm-3"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.swarmlabhybridapi.project,expression:"swarmlabhybridapi.project"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Project Name (Alphanumeric characters, dashes and underscores, NOT spaces)"},domProps:{value:t.swarmlabhybridapi.project},on:{input:function(e){e.target.composing||t.$set(t.swarmlabhybridapi,"project",e.target.value)}}}),a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"ti-info btn btn-outline-primary",attrs:{round:"",type:"button"},on:{click:function(e){return t.showinfo("Project")}}})])])])]),a("tr",[a("th",{staticClass:"text-center",attrs:{scope:"row"}},[t._v(" Category ")]),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.swarmlabhybridapi.faculty,expression:"swarmlabhybridapi.faculty"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"Project Category"},domProps:{value:t.swarmlabhybridapi.faculty},on:{input:function(e){e.target.composing||t.$set(t.swarmlabhybridapi,"faculty",e.target.value)}}})])]),a("tr",[a("th",{staticClass:"text-center",attrs:{scope:"row"}},[t._v(" Description ")]),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:t.swarmlabhybridapi.desc,expression:"swarmlabhybridapi.desc"}],staticClass:"form-control",attrs:{type:"text","aria-label":"Small","aria-describedby":"inputGroup-sizing-sm",placeholder:"What is the purpose of the project?"},domProps:{value:t.swarmlabhybridapi.desc},on:{input:function(e){e.target.composing||t.$set(t.swarmlabhybridapi,"desc",e.target.value)}}})])])])])])],1),a("b-row",[a("b-col",{attrs:{cols:"12"}},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:t.getApi}},[t._v(" Request hybrid API ")])])])],1)],1)},F=[],G={components:{},props:{},data(){return{swarmlabhybridapi:{labservices:"services"}}},mounted(){},beforeDestroy(){},computed:{},methods:{showinfo(t){if("Project"==t){var e='We use that "Name" to retrieve the corresponding key values
The name assigned here will be needed to connect you to Swarmlab Server.
The ProjectName can only contain alphanumeric characters, dashes or underscores.';this.$swal({type:"info",html:e,showCloseButton:!1,showLoaderOnConfirm:!1,allowOutsideClick:!1,showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!1,confirmButtonText:"Ok!"})}},async getApi(){console.log("getApi");var t=await f.dispatch("pipelineLLO/swarmlabhybridapi",{lab:this.swarmlabhybridapi});if(console.log(JSON.stringify(t)),"ok"==t.data.action){var e="OK
";this.$swal({type:"info",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,focusCancel:!0})}else{e="Error
";this.$swal({type:"error",html:e,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,focusCancel:!0})}}},actions:{}},z=G,M=(a("546d"),Object(_["a"])(z,V,F,!1,null,null,null)),j=M.exports,U=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("0ed5"),alt:"..."}})]),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("Swarmlab hybrid-agent config")])])]),s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("br")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Node ID")])]),s("div",{staticClass:"col-9"},[s("i",[t._v(t._s(t.CONFIG.nodeid))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Swarmlab key")])]),s("div",{staticClass:"col-9"},[s("i",[t._v(t._s(t.CONFIG.workerkey))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Swarmlab PublicKey")])]),s("div",{staticClass:"col-9"},[s("i",[t._v(t._s(t.CONFIG.swarmlab_public_wgkey))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Swarmlab ip")])]),s("div",{staticClass:"col-3"},[s("i",[t._v(t._s(t.CONFIG.server_ip))])]),s("div",{staticClass:"col-2"},[s("b",[t._v("Local IP")])]),s("div",{staticClass:"col-4"},[s("i",[t._v(t._s(t.CONFIG.wg_ip))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-3"},[s("b",[t._v("Private key")])]),s("div",{staticClass:"col-3"},[s("i",[t._v(t._s(t.CONFIG.privatekey))])]),s("div",{staticClass:"col-2"},[s("b",[t._v("Public key")])]),s("div",{staticClass:"col-4"},[s("i",[t._v(t._s(t.CONFIG.publickey))])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[s("br")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-4"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[s("button",{staticClass:"ti-settings btn btn-outline-info",attrs:{round:"",type:"button",title:"Load config"},on:{click:function(e){return t.onAction("load")}}},[t._v(" Load Settings ")])]),s("div",{staticClass:"input-group-prepend"})])]),s("div",{staticClass:"col-1"},[s("div",{staticClass:"input-group input-group-sm sm-3"})]),t._v(" "),s("div",{staticClass:"col-7 text-right"},[s("div",{staticClass:"input-group input-group-sm sm-3 text-right"},[s("div",{staticClass:"input-group-append text-right"},[s("button",{staticClass:"ti-link btn btn-outline-success",attrs:{round:"",type:"button",title:"Connect"},on:{click:function(e){return t.onAction("connect")}}},[t._v(" Connect ")]),s("button",{staticClass:"ti-unlink btn btn-outline-warning",attrs:{round:"",type:"button",title:"Connect"},on:{click:function(e){return t.onAction("disconnect")}}},[t._v(" Disconnect ")]),t.isconnect?s("button",{staticClass:"ti-link btn btn-outline-success",attrs:{round:"",type:"button",title:"Connect"}},[t._v(" Status online ")]):s("button",{staticClass:"ti-unlink btn btn-outline-warning",attrs:{round:"",type:"button",title:"Connect"}},[t._v(" Status offline ")])])])])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-12"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[t.ishybridlab?s("button",{staticClass:"ti-key btn btn-outline-info",attrs:{round:"",type:"button",title:"Api keys"},on:{click:function(e){return t.onAction("apikeyopen")}}},[t._v(" Enable the Swarmlab hybrid API ")]):s("button",{staticClass:"ti-layout-media-overlay-alt btn btn-outline-warning",attrs:{round:"",type:"button",title:"Api keys"},on:{click:function(e){return t.onAction("apikeyclose")}}},[t._v(" Enable the Swarmlab hybrid API ")]),s("button",{staticClass:"ti-info btn btn-outline-success",attrs:{round:"",type:"button",title:"HowTo"},on:{click:function(e){return t.onAction("register")}}})])])])])])],1)},Y=[],q={components:{card:k},props:{},data(){return{isconnect:!1,ishybridlab:!0,isstatus:!1,CONFIG:{status:"",privatekey:"",publickey:"",server_ip:"",nodeid:"",workerkey:"",allowed_ips:"",swarmlab_public_wgkey:"",wg_ip:"",swarm_ip:"",wg_port:""},token:""}},mounted(){this.$root.$on("hybrid_connect_server_view",t=>{this.CONFIG.status=t.status,this.CONFIG.workerkey=t.workerkey,this.CONFIG.swarmlab_public_wgkey=t.swarmlab_public_wgkey,this.CONFIG.server_ip=t.server_ip,this.CONFIG.allowed_ips=t.allowed_ips,this.CONFIG.wg_port=t.wg_port,this.CONFIG.wg_ip=t.wg_ip,this.CONFIG.swarm_ip=t.swarm_ip,this.CONFIG.privatekey=t.privatekey,this.CONFIG.publickey=t.publickey,"on"==this.CONFIG.status?this.isstatus=!0:"off"==this.CONFIG.status&&(this.isstatus=!1)}),this.$root.$on("hybrid_server_status",t=>{this.serverstatus()})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_connect_server_view"),this.$root.$off("hybrid_server_status")},computed:{},methods:{async serverstatus(t){var e=f.getters["pipelineLLO/getstatus"];"active"==e.data.swarmlab&&"Online"==e.data.hybrid?(this.isstatus=!0,this.isconnect=!0,this.CONFIG.nodeid=e.data.swarmlabid):(this.isstatus=!1,this.isconnect=!1,this.CONFIG.nodeid="null")},async onAction(t){if("load"==t){var e=await f.dispatch("pipelineLLO/swarmlabhybridconfig",{token:this.token});this.CONFIG.status=e.data.data.status,this.CONFIG.workerkey=e.data.data.workerkey,this.CONFIG.swarmlab_public_wgkey=e.data.data.wg_public,this.CONFIG.server_ip=e.data.data.endpoint,this.CONFIG.allowed_ips=e.data.data.allowed_ip,this.CONFIG.wg_port=e.data.data.wg_port,this.CONFIG.wg_ip=e.data.data.wg_ip,this.CONFIG.swarm_ip=e.data.data.swarm_ip,this.CONFIG.privatekey=e.data.data.privatekey,this.CONFIG.publickey=e.data.data.publickey,"on"==this.CONFIG.status?this.isstatus=!0:"off"==this.CONFIG.status&&(this.isstatus=!1),this.onAction("save")}else if("apikeyopen"==t)this.ishybridlab=!1,this.$root.$emit("hybrid_lab_keyview","open");else if("apikeyclose"==t)this.ishybridlab=!0,this.$root.$emit("hybrid_lab_keyview","close");else if("connect"==t){e=await f.dispatch("pipelineLLO/get_config",{token:this.token});this.isconnect=!0;var a=e.data.data;if(e.data.error_msg="ok"){var s='sudo /bin/bash ';s+=a.trim(),s+="/hybrid/connect/join.sh "}else s="no exec file";var i='Swarmlab Connect
You are about to connect with others. Be Careful
Copy-and-run-command
';this.$swal({type:"info",html:i+s,icon:"info",showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0})}else if("save"==t)e=await f.dispatch("pipelineLLO/create_config",{token:this.token,value:this.CONFIG});else if("disconnect"==t){e=await f.dispatch("pipelineLLO/get_config",{token:this.token}),a=e.data.data;if(e.data.error_msg="ok"){s='sudo /bin/bash ';s+=a.trim(),s+="/hybrid/connect/leave.sh "}else s="no exec file";i="Swarmlab Disconnect
Copy-and-run-command
";this.$swal({type:"info",icon:"info",html:i+s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0})}else if("register"==t){s="Before you begin\n
\n Before you start using the Swarmlab Hybrid API, you need a hybrid enabled account and the Swarmlab API enabled. \n
\n To learn more, see Get Started with Hybrid Platform. \n ",i="Get API Key's
";this.$swal({type:"info",html:i+s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0})}}},actions:{}},H=q,K=(a("cd6e"),Object(_["a"])(H,U,Y,!1,null,null,null)),W=K.exports,J={components:{HybridLab:j,ZonesView:T,card:k,MyconnectServer:W},data(){return{loading:!1,ishybridlab:!1,consoleView:"off",productIndex:1}},mounted(){this.$root.$on("hybrid_lab_keyview",t=>{"open"==t?this.ishybridlab=!0:"close"==t&&(this.ishybridlab=!1)})},beforeDestroy(){this.$root.$off("hybrid_lab_keyview")},created(){}},Q=J,Z=Object(_["a"])(Q,x,A,!1,null,null,null),X=Z.exports,tt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-7 order-first "},[a("br"),a("view-network"),a("docker-services"),a("br"),a("br"),a("hr"),a("div",{staticClass:"row text-center"},[a("div",{staticClass:"col-12"},[a("b",[t._v("View and Manage your local system "),a("span",{staticClass:"text-info"},[t._v("(Docker Images, Containers and Volumes)")])])])]),a("hr"),a("br"),a("docker-images"),a("br"),a("br"),a("br"),a("hr"),a("div",{staticClass:"row text-center"},[a("div",{staticClass:"col-12"},[a("b",[t._v("View and Manage your local "),a("span",{staticClass:"text-info"},[t._v(" Docker networks")])])])]),a("hr"),a("docker-networks")],1),a("div",{staticClass:"col-5 order-last"},[a("br"),a("adhoc-view")],1)])])},et=[],at=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("card",{staticClass:"card-user",staticStyle:{"max-height":"100%"}},[s("div",{staticClass:"author"},[s("img",{staticClass:"avatar border-white",attrs:{src:a("0ed5"),alt:"..."}})]),s("v-wait",{attrs:{for:"myRunInstanceeditor"}},[s("template",{slot:"waiting"},[s("div",[s("img",{attrs:{src:a("cf1c")}}),t._v(" Enter Editor... ")])])],2),s("b-container",{staticClass:"bv-example-row",attrs:{fluid:""}},[s("div",{staticClass:"row text-center"},[s("div",{staticClass:"col-12"},[s("b",[t._v("View and Manage your "),s("span",{staticClass:"text-info"},[t._v("Running Instances")])])])]),s("br"),s("div",{staticClass:"row"},[s("div",{staticClass:"col-5"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend"},[t.$socket.disconnected?s("button",{staticClass:"ti-unlink btn btn-outline-danger",attrs:{round:"",type:"button",title:"You are disconnected from Swarmlab-hybrid",disabled:""}}):s("button",{staticClass:"ti-link btn btn-outline-success",attrs:{round:"",type:"button",title:"You are connected swarmlab-hybrid"},on:{click:function(e){return t.onAction("shareinfo")}}})]),s("div",{staticClass:"input-group-prepend"},[t.webinterface?s("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("startweb")}}},[t._v(" Web")]):t._e(),t.webinterfacegeneric&&t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-info",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("startwebgeneric")}}},[t._v(" openGui")]):t._e()]),s("div",{staticClass:"input-group-prepend"},[t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("container-connect")}}},[t._v(" Connect")]):s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button",disabled:""}},[t._v(" Connect")]),t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-danger",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("container-stop")}}},[t._v(" Stop")]):s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button",disabled:""}},[t._v(" stop")])]),s("div",{staticClass:"input-group-append"},[t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-warning",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("container-logs")}}},[t._v(" Logs")]):s("button",{staticClass:"btn btn-outline-secondary",attrs:{round:"",type:"button",disabled:""}},[t._v(" Logs")])])])]),t._v(" "),s("div",{staticClass:"col-1"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend float-center"},[t.webinterfacegenericedit&&t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("basedireditor")}}},[t._v(" Editor")]):t._e()])])]),t._v(" "),s("div",{staticClass:"col-1"}),t._v(" "),s("div",{staticClass:"col-5"},[s("div",{staticClass:"input-group input-group-sm sm-3"},[s("div",{staticClass:"input-group-prepend float-right"},[t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-info",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("basedir")}}},[t._v(" Persistent Data")]):t._e()]),s("div",{staticClass:"input-group-prepend float-right"},[t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-warning",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("basebackup")}}},[t._v(" Backup")]):t._e()]),s("div",{staticClass:"input-group-prepend float-right"},[t.hybridshowdata.Names?s("button",{staticClass:"btn btn-outline-success",attrs:{round:"",type:"button"},on:{click:function(e){return t.onAction("basebackupview")}}},[t._v(" BrowseBackups")]):t._e()])])])])]),s("b-container",{attrs:{fluid:""}},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v(" ID ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.ID)+" ")]),s("div",{staticClass:"col-2 text-info"},[t._v(" Image ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.Image)+" ")])]),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v(" Names ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.Names)+" ")]),s("div",{staticClass:"col-2 text-info"},[t._v(" RunningFor ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.RunningFor)+" ")])]),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t._v(" Status ")]),s("div",{staticClass:"col-3 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.Status)+" ")]),s("div",{staticClass:"col-2 text-info"},[t._v(" CreatedAt ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.CreatedAt)+" ")])]),t._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col-2 text-info"},[t.hybridshowdata.Networks&&0==t.addNetworkMenou?s("button",{staticClass:"btn btn-outline-info btn-sm",attrs:{round:"",type:"button"},on:{click:function(e){return t.addNetwork(t.hybridshowdata,"on")}}},[t._v(" Networks")]):t._e(),t.hybridshowdata.Networks&&1==t.addNetworkMenou?s("button",{staticClass:"btn btn-outline-warning btn-sm",attrs:{round:"",type:"button"},on:{click:function(e){return t.addNetwork(t.hybridshowdata,"off")}}},[t._v(" Networks")]):t._e()]),s("div",{staticClass:"col-3 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.Networks)+" ")]),s("div",{staticClass:"col-2 text-info"},[t._v(" Ports ")]),s("div",{staticClass:"col-4 text-secondary"},[t._v(" "+t._s(t.hybridshowdata.Ports)+" ")])])]),1==t.addNetworkMenou?s("div",{staticClass:"card border-success bg-light mb-3",staticStyle:{"max-width":"100%"}},[s("div",{staticClass:"card-header"}),s("div",{staticClass:"card-body text-info"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col-6 text-info"},[s("h5",{staticClass:"card-title"},[t._v("Select network")])]),s("div",{staticClass:"col-6 text-info"},[t._v(" Connect a running container to multiple networks ")])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-6 text-info"},[s("b-form-select",{attrs:{options:t.localNetworkoptions,multiple:"","select-size":4},model:{value:t.selectedNetworks,callback:function(e){t.selectedNetworks=e},expression:"selectedNetworks"}}),s("div",{staticClass:"mt-3"},[t._v("Selected: "),s("strong",[t._v(t._s(t.selectedNetworks))])])],1),s("div",{staticClass:"col-6 text-info"},[s("img",{staticClass:"border-white img-thumbnail",attrs:{src:a("04d6"),alt:"..."}})])]),s("div",{staticClass:"row"},[s("div",{staticClass:"col-6 text-info"},[s("button",{staticClass:"btn btn-outline-warning btn-sm",attrs:{round:"",type:"button"},on:{click:function(e){return t.updateNetwork(t.hybridshowdata,"update")}}},[t._v(" Update")])])])])]):t._e()],1)},st=[];const it=[{name:"microservice-firefox",automated:!0,version:0,port:0},{name:"microservice-xelatexthesis",automated:!0,version:0,port:0},{name:"microservice-wireshark",automated:!0,version:0,port:0},{name:"microservice-oletools",automated:!0,version:0,port:0}],ot=[{name:"just-test-info-no-service",large:"no or text",custom:"true",customostext:"Base OS: python:3.11-rc-alpine3.15",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!1,ttydport:"3787/tcp",ttydurl:"http",app1:!1,link1:"Click here to open rstudio",url1:"http",port1:"8787/tcp",app2:!1,link2:"Click here to open app text",url2:"http",port2:"8788/tcp",app3:!1,link3:"Click here to open app text",url3:"http",port3:"8789/tcp"},{name:"microservice-etherpad",app:!0,url:"http",port:"9001/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"jitsiweb",app:!0,url:"https",port:"443/tcp",ttyd:!1,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-novncfull",app:!0,url:"http",port:"80/tcp",ttyd:!1,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-novnclite",app:!0,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-mongoexpress",app:!0,url:"http",port:"8081/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-gns3",custom:"true",customostext:"Base OS: ubuntu:18.04.6 LTS ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!0,url:"http",port:"8001/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-ubuntu",custom:"true",customostext:"Base OS: ubuntu:20.04.3 LTS",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"8001/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-ubuntugui",app:!0,url:"http",port:"80/tcp",ttyd:!1,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-numpylite",custom:"true",customostext:"Base OS: debian:buster",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-nodejs",custom:"true",customostext:"Base OS: alpine:3.13",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-nginx",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-ipterm",custom:"true",customostext:"Base OS: debian:jessie ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-firefox",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-haproxy",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-xelatexthesis",custom:"true",customostext:"Base OS: alpine:3.15 ",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-snmpsim",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-ansible",custom:"true",customostext:"Base OS: alpine:3.14 ",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-wireshark",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-redisserver",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-mongoserver",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-filemanager",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-powershell",custom:"true",customostext:"Base OS: alpine:3.14 ",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-dvwa",app:!0,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-hping3",custom:"true",customostext:"Base OS: alpine:3.15 ",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-volatilitylinux",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-volatilitywindows",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-twint",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-twintexplorer",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-octave",large:"The build will take some time, so be patient!",custom:"true",customostext:"Base OS: ubuntu:18.04.6 LTS ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!0,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-r",large:"Note that this image is somewhat heavy (~2GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser",custom:"true",customostext:"Base OS: ubuntu:18.04.6 LTS ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!0,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http",app1:!0,link1:"Click here to open rstudio",url1:"http",port1:"8787/tcp"},{name:"microservice-rust",large:"no",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-julia",large:"no",custom:"true",customostext:"Base OS: alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-lua",large:"no",custom:"true",customostext:"Base OS: alpine3.12",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-luajit",large:"no",custom:"true",customostext:"Base OS: alpine3.12",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-nodesqlite3",large:"no",custom:"true",customostext:"Base OS: ubuntu:20.04 LTS ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-electron",large:"Note that this image is somewhat heavy (~1.5GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-rubyfull",large:"Note that this image is somewhat heavy (~1GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-ruby",large:"no",custom:"true",customostext:"Base OS: alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-golangfull",large:"Note that this image is somewhat heavy (~1GB). It can take some time to build the Instance. If you think the proccess is frosen you can reload the page in your Browser",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-golang",large:"no",custom:"true",customostext:"Base OS: alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-mariadb",large:"no",app:!1,url:"http",port:"6901/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-adminer",large:"no",custom:"true",customostext:"Base OS: alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!0,url:"http",port:"8080/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-gcc",large:"no",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"8080/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-opencv",large:"no",custom:"true",customostext:"Base OS: debian:buster",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"8080/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-phpcli",large:"no",app:!1,url:"http",port:"8080/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-phpapache",large:"no",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http",app2:!0,link2:"Click to run your PHP code over https",url2:"https",port2:"443/tcp",app1:!0,link1:"Click to run your PHP code over http",url1:"http",port1:"80/tcp"},{name:"microservice-wordpress",large:"no",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!0,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-oletools",large:"no",custom:"true",customostext:"Base OS: python:3.11-rc-alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-dfirntfs",large:"no",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-peframe",large:"The build will take some time, so be patient!",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-libvshadow",large:"no",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-regripper",large:"no",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-jsshell",large:"no",custom:"true",customostext:"Base OS: python:3.11-rc-alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-alpine313",large:"no",custom:"true",customostext:"Base OS: alpine3.13",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-alpine314",large:"no",custom:"true",customostext:"Base OS: alpine3.14",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-alpine315",large:"no",custom:"true",customostext:"Base OS: alpine3.15",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-debianbookworm",large:"no",custom:"true",customostext:"Base OS: debian:bookworm ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-debianbullseye",large:"no",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-debianbuster",large:"no",custom:"true",customostext:"Base OS: debian:buster ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-awscli",large:"no",custom:"true",customostext:"Base OS: alpine3.13",customos:"apk add --no-cache net-tools ",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-perl",large:"no",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"},{name:"microservice-perlfull",large:"no",custom:"true",customostext:"Base OS: debian:bullseye ",customos:"apt-get update && apt-get install -y --no-install-recommends net-tools",customshtext:"It is executed after all the normal builds",customsh:" #!/bin/sh",app:!1,url:"http",port:"80/tcp",ttyd:!0,ttydport:"3787/tcp",ttydurl:"http"}],rt=[{name:"microservice-xelatexthesis",automated:!0,url:"http",version:0,port:0},{name:"microservice-ansible",automated:!0,url:"http",version:0,port:0},{name:"microservice-nodejs",automated:!0,url:"http",version:0,port:0},{name:"microservice-numpylite",automated:!0,url:"http",version:0,port:0},{name:"microservice-rust",automated:!0,url:"http",version:0,port:0},{name:"microservice-julia",automated:!0,url:"http",version:0,port:0},{name:"microservice-lua",automated:!0,url:"http",version:0,port:0},{name:"microservice-luajit",automated:!0,url:"http",version:0,port:0},{name:"microservice-nodesqlite3",automated:!0,url:"http",version:0,port:0},{name:"microservice-electron",automated:!0,url:"http",version:0,port:0},{name:"microservice-ruby",automated:!0,url:"http",version:0,port:0},{name:"microservice-rubyfull",automated:!0,url:"http",version:0,port:0},{name:"microservice-golang",automated:!0,url:"http",version:0,port:0},{name:"microservice-golangfull",automated:!0,url:"http",version:0,port:0},{name:"microservice-gcc",automated:!0,url:"http",version:0,port:0},{name:"microservice-opencv",automated:!0,url:"http",version:0,port:0},{name:"microservice-phpcli",automated:!0,url:"http",version:0,port:0},{name:"microservice-jsshell",automated:!0,url:"http",version:0,port:0},{name:"microservice-phpapache",automated:!0,url:"http",version:0,port:0},{name:"microservice-alpine313",automated:!0,url:"http",version:0,port:0},{name:"microservice-alpine314",automated:!0,url:"http",version:0,port:0},{name:"microservice-alpine315",automated:!0,url:"http",version:0,port:0},{name:"microservice-debianbookworm",automated:!0,url:"http",version:0,port:0},{name:"microservice-debianbuster",automated:!0,url:"http",version:0,port:0},{name:"microservice-debianbullseye",automated:!0,url:"http",version:0,port:0},{name:"microservice-awscli",automated:!0,url:"http",version:0,port:0},{name:"microservice-perl",automated:!0,url:"http",version:0,port:0},{name:"microservice-perlfull",automated:!0,url:"http",version:0,port:0}];Object(B["b"])("alpha_num",N["a"]),Object(B["b"])("required",{...N["c"],message:"This field is required"});var nt={components:{card:k},props:{},data(){return{addNetworkMenou:!1,localNetworks:[],selectedNetworks:[],localNetworkoptions:[],localNetworkdefault:"",webinterface:!1,webinterfacegeneric:!1,webinterfacegenericedit:!1,webinterface_port:"",STATUS:{},editor_instance:{start:"",port:""},CONFIG:{status:"",workerkey:"",swarmlab_public_wgkey:"",server_ip:"",allowed_ips:"",wg_port:"",wg_ip:"",swarm_ip:"",privatekey:"",publickey:"",workerkey:"",privatekey:"",publickey:"",server_ip:""},CONFIGallowed_ips:"",swarmlabnamecustomstart:{},swarmlabnamecustomdata:{},swarmlabnamecustom:"",swarmlabnamecustomservice:"",swarmlabnamecustomuser:"",swarmlabname:"swarmlab-sec",swarmlabname_port:"",swarmlabname_size:3,swarmlabname_git:"",hybridshowdata:{},hybridshowdatashare:{},issocket:"close",setFilter:{},searchFor:{},resetFilter:{}}},beforeMount(){this.socketopen(),this.socketauthenticate()},mounted(){this.$root.$on("hybrid_show_info",t=>{this.webinterface=!1,this.webinterfacegeneric=!1,this.webinterfacegenericedit=!1,this.$nextTick((function(){this.hybridshowdata=t;var e="microservice-jupyter",a=new RegExp(e);a.test(t.Networks)&&a.test(t.Names)?(this.webinterface=!0,this.webinterface_port=t.Ports):(this.webinterface=!1,this.webinterface_port="");for(var s=this.hybridshowdata.Names.split("_"),i=0;i
"+this.hybridshowdata.Names;s+="
',s+=" Click on hyperlink opens Directory in new tab
",s+="Local | Container | '+c[p].Source+" | "+c[p].Destination+" | "}s+="
",s+=n,s+="
",this.$swal({type:"Info",icon:"info",html:s,showCloseButton:!0,showLoaderOnConfirm:!1,allowOutsideClick:!1,cancelButtonText:"No, cancel!",showCancelButton:!1,showLoaderOnConfirm:!1,reverseButtons:!0,focusCancel:!0,confirmButtonText:"Ok!"})}else if("shareinfo"==t){var m="no",b="microservice-jupyter",v=new RegExp(b);if(v.test(this.hybridshowdata.Names)){a=await f.dispatch("pipelineLLO/getjupyterinfo",{instance:this.hybridshowdata.Names});if(a.data.test){var w=a.data.test.split("?token="),g=w[1],y=g.split(" "),_=y[0],C=this.webinterface_port.split("->"),k=C[0].trim();m=`http://${k}/?token=${_}`}}a=await f.dispatch("pipelineLLO/getshareinfo",{instance:this.hybridshowdata.Names});this.hybridshowdatashare=a.data.network;var x=this.hybridshowdatashare.IPv4Address.split("/"),A="->",O=",",R=new RegExp(A),I=new RegExp(O);s="";if(R.test(this.hybridshowdata.Ports))try{if(I.test(this.hybridshowdata.Ports))for(var S=this.hybridshowdata.Ports.split(","),L=0;L',s+="docker exec -it -u"+V+" "+this.hybridshowdata.Names+" "+E,s+="
"):(s+='',s+="docker exec -it "+this.hybridshowdata.Names+" "+E,s+="
"),"no"!=G&&(s+='',s+='Click here to open the Web_App',s+="
"),"no"!=K&&(s+='',s+='Click here to open the Web_App',s+="
");var Z=this.hybridshowdata.Names.split("_"),X="no",tt="no",et="no",at="no",st="no",it="no",rt="no",nt="no",lt="no",ct="no",dt="no",ut="no",pt="no",ht="no",mt="no",bt="no",ft="no",vt="no";for(p=0;p',s+=' - OR -
Click to open Terminal emulator',s+="
',s+='Click here to open Web App',s+="
",s+="',s+=' '+at+"",s+="
",s+="',s+=' '+it+"",s+="
",s+="',s+=' '+nt+"",s+="
",s+="',s+=' '+ct+"",s+="
",s+="',s+=' '+ut+"",s+="
",s+="',s+=' '+ht+"",s+="
",s+="',s+=' '+bt+"",s+="
",s+="',s+=' '+vt+"",s+="
",s+="',o+="sudo chown -R $USER.$USER "+a+"/instance/"+s+"/"+s,o+="
",o+="',e+=" Click on hyperlink opens Editor in new tab
",e+=' Open Editor',e+="Shift-Tab | indentLess |
Alt-Q | wrapLines |
Ctrl-Up | scrollLineUp |
Ctrl-Down | scrollLineDown |
Ctrl-L | selectLine |
Esc | singleSelectionTop |
Ctrl-Enter | insertLineAfter |
Ctrl-D | selectNextOccurrence |
Shift-Ctrl-Space | selectScope |
Shift-Ctrl-M | selectBetweenBrackets |
Ctrl-M | goToBracket |
Ctrl-K Ctrl-Y | sublimeYank |
Ctrl-K Ctrl-C | showInCenter |
Ctrl-K Ctrl-G | clearBookmarks |
Ctrl-K Ctrl-Backspace | delLineLeft |
Ctrl-K Ctrl-0 | unfoldAll |
Ctrl-K Ctrl-J | unfoldAll |
Ctrl-Alt-Up | addCursorToPrevLine |
Ctrl-Alt-Down | addCursorToNextLine |
Ctrl-F3 | findUnder |
Shift-Ctrl-F3 | findUnderPrevious |
Shift-Ctrl-[ | fold |
Shift-Ctrl-] | unfold |
Ctrl-F | find |
\n It\'s the total amount of layers; \n
\n\n The current limit of 125 layers is due to the kernel\'s ARG_MAX, which limits the number of arguments / length of arguments that can be passed when mounting the layers \n \n
(this limit can be raised in kernels, but is not something that could be relied on as it would make those images non-interoperable on systems that don\'t have the custom configuration)\n
\n Note that not every step in a Dockerfile creates a new layer, only (RUN) steps that modify the filesystem will introduce a new layer.\n
\n\n\n
\n Delete all local docker images related to your dockerfile using the following:\n
\n
\n docker rmi -f $(docker images -a -q)\n
\n
\n
Playground
';return a}a='Lab
';return a}},{name:"_id",title:'mongo',visible:!1},{name:"Status",title:'Status',sortField:"Status",titleClass:"center aligned",visible:!0,width:"10%"},{name:"ID",sortField:"ID",titleClass:"center aligned",dataClass:"left aligned w-25",visible:!1,width:"15%"},{name:"__slot:actions",title:"Actions",titleClass:"center aligned",dataClass:"center aligned",width:"10%"}],apiurl:d.url_80+"/dockerservices",css:$["a"],perpage:5,searchFor:"",sortOrder:[{field:"Names",direction:"asc"}],multiSort:!0,paginationComponent:"vuetable-pagination",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"scripts",tutor:"yes"}}},mounted(){this.$root.$on("hybrid_refresh_networktable",()=>{s["default"].nextTick(()=>this.$refs.vuetable.refresh()),this.refreshVuetable()}),this.$root.$on("hybrid_refresh_dockerservices",()=>{s["default"].nextTick(()=>this.$refs.vuetable.refresh()),this.refreshVuetable()}),this.$root.$on("hybrid_refresh_table",t=>{this.$nextTick((function(){s["default"].nextTick(()=>this.$refs.vuetable.refresh()),this.viewhybridoptions=!1}))})},created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token")},beforeDestroy(){this.$root.$off("hybrid_refresh_networktable"),this.$root.$off("hybrid_refresh_dockerservices"),this.$root.$off("hybrid_refresh_table")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{onError(t,e){var a=e,s="',t+=" Click on hyperlink opens Directory in new tab
",t+=' View Backups',t+="'+e[0]+"
";return a}a='';return a}return t}},{name:"gitrepo",title:'User repo',sortField:"gitrepo",titleClass:"center aligned",dataClass:"left aligned w-25",visible:!0,width:"30%"},{name:"__slot:actionsenabled",title:"Status",titleClass:"center",dataClass:"center aligned",width:"5%"},{name:"__slot:actionslocal",title:"Installed",titleClass:"center",dataClass:"center aligned",width:"5%"},{name:"__slot:actions",title:"Download",titleClass:"col text-center",dataClass:"center aligned",width:"10%"}],apiurl:d.swarmlab_url_80+"/swarmlabhybridmymicroservicesall",css:$["a"],perpage:8,searchFor:"",sortOrder:[{field:"pipelinename",direction:"asc"}],multiSort:!0,paginationComponent:"vuetable-pagination",currentpage:"1",currentpagepaginationData:{},dataselect:"",indexselect:"",itemActions:[{name:"view-item",label:"",icon:"glyphicon glyphicon-zoom-in",class:"btn btn-info",extra:{title:"View","data-toggle":"tooltip","data-placement":"left"}},{name:"edit-item",label:"",icon:"glyphicon glyphicon-pencil",class:"btn btn-warning",extra:{title:"Edit","data-toggle":"tooltip","data-placement":"top"}},{name:"delete-item",label:"",icon:"glyphicon glyphicon-remove",class:"btn btn-danger",extra:{title:"Delete","data-toggle":"tooltip","data-placement":"right"}}],moreParams:{filter:"",type:"scripts"}}},mounted(){this.$root.$on("hybrid_build_micro_service_menou_refreshtable",()=>{this.refreshVuetable()}),this.$root.$on("hybrid_refresh_availableservices",()=>{s["default"].nextTick(()=>this.refreshVuetable())}),this.$root.$on("hybrid_refresh_table",t=>{this.$nextTick((function(){this.refreshVuetable(),this.viewhybridoptions=!1}))})},async created(){var t=window.location.href,e=new URL(t);this.token=e.searchParams.get("token"),await this.refreshVuetable()},beforeDestroy(){this.$root.$off("hybrid_refresh_availableservices"),this.$root.$off("hybrid_build_micro_service_menou_refreshtable"),this.$root.$off("hybrid_refresh_table")},computed:{httpOptions(){var t=this.token;return{headers:{Authorization:"Bearer "+t}}}},methods:{onError(t,e){var a=e,s="'+i+"
',t+=" Click on hyperlink opens Directory in new tab
",t+=' View Backups',t+="Shift-Tab | indentLess |
Alt-Q | wrapLines |
Ctrl-Up | scrollLineUp |
Ctrl-Down | scrollLineDown |
Ctrl-L | selectLine |
Esc | singleSelectionTop |
Ctrl-Enter | insertLineAfter |
Ctrl-D | selectNextOccurrence |
Shift-Ctrl-Space | selectScope |
Shift-Ctrl-M | selectBetweenBrackets |
Ctrl-M | goToBracket |
Ctrl-K Ctrl-Y | sublimeYank |
Ctrl-K Ctrl-C | showInCenter |
Ctrl-K Ctrl-G | clearBookmarks |
Ctrl-K Ctrl-Backspace | delLineLeft |
Ctrl-K Ctrl-0 | unfoldAll |
Ctrl-K Ctrl-J | unfoldAll |
Ctrl-Alt-Up | addCursorToPrevLine |
Ctrl-Alt-Down | addCursorToNextLine |
Ctrl-F3 | findUnder |
Shift-Ctrl-F3 | findUnderPrevious |
Shift-Ctrl-[ | fold |
Shift-Ctrl-] | unfold |
Ctrl-F | find |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:';t+="
",t+="
",t+="1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.",t+="
",t+="
",t+="2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.",t+="
",t+="
",t+="3. Neither the name of Swarmlab.io nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.",t+="
",t+="
",t+="THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
";let e=''+t+"