"use strict";(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[3862],{657:function(t,a,n){n.d(a,{Z:function(){return p}});var s=n(6252),o=n(3577);const r={class:"icon-container"},e=["src","alt"];function l(t,a,n,l,i,c){return(0,s.wg)(),(0,s.iD)("div",r,[n.url?.length?((0,s.wg)(),(0,s.iD)("img",{key:0,class:"icon",src:n.url,alt:n.alt},null,8,e)):c.className?.length?((0,s.wg)(),(0,s.iD)("i",{key:1,class:(0,o.C_)(["icon",c.className]),style:(0,o.j5)({color:n.color})},null,6)):(0,s.kq)("",!0)])}var i={props:{class:{type:String},url:{type:String},color:{type:String,default:""},alt:{type:String,default:""}},computed:{className(){return this.class}}},c=n(3744);const u=(0,c.Z)(i,[["render",l],["__scopeId","data-v-706a3bd1"]]);var p=u},2717:function(t,a,n){n.d(a,{Z:function(){return f}});var s=n(6252);const o=t=>((0,s.dD)("data-v-2edff8b7"),t=t(),(0,s.Cn)(),t),r={class:"restart-btn-container"},e=o((()=>(0,s._)("i",{class:"fas fa-redo-alt"},null,-1)));function l(t,a,n,o,l,i){const c=(0,s.up)("ConfirmDialog");return(0,s.wg)(),(0,s.iD)("div",r,[(0,s.Wm)(c,{ref:"modal",onInput:i.restart},{default:(0,s.w5)((()=>[(0,s.Uk)(" Are you sure that you want to restart the application? ")])),_:1},8,["onInput"]),(0,s._)("button",{class:"btn btn-default restart-btn",onClick:a[0]||(a[0]=(...t)=>i.showDialog&&i.showDialog(...t)),onTouch:a[1]||(a[1]=(...t)=>i.showDialog&&i.showDialog(...t))},[e,(0,s.Uk)("   Restart Application ")],32)])}var i=n(7833),c=n(8637),u={name:"RestartButton",components:{ConfirmDialog:i.Z},mixins:[c.Z],methods:{showDialog(){this.$refs.modal.show()},async restart(){await this.request("application.restart")}}},p=n(3744);const d=(0,p.Z)(u,[["render",l],["__scopeId","data-v-2edff8b7"]]);var f=d}}]);
//# sourceMappingURL=3862.0ca0e08c.js.map