import{C as l}from"./Button.js";import{r as d,o,c as n,F as _,i as E,h as i,b as a,f as C,p,g as u,a as b,_ as O}from"./index.js";const w=e=>(p("data-v-7b4db61b"),e=e(),u(),e),k={class:"controls"},m=w(()=>b("div",{class:"controls--text"},"Управление",-1));function f(e,D,c,K,t,Y){const s=d("controls-button");return o(),n("div",k,[(o(!0),n(_,null,E(t.arrows,r=>(o(),i(s,{class:"controls-button",clickable:!1,keyCode:r},null,8,["keyCode"]))),256)),c.canChangeTabs?(o(),n(_,{key:0},[a(s,{clickable:!1,text:"Q",keyCode:t.KEY_CODE_Q},null,8,["keyCode"]),a(s,{clickable:!1,text:"E",keyCode:t.KEY_CODE_E},null,8,["keyCode"])],64)):C("",!0),m])}const y={props:{canChangeTabs:{type:Boolean,default:!0}},components:{ControlsButton:l},data(){return{arrows:[window.KEY_CODE_ARROW_TOP,window.KEY_CODE_ARROW_BOTTOM,window.KEY_CODE_ARROW_LEFT,window.KEY_CODE_ARROW_RIGHT],KEY_CODE_Q:window.KEY_CODE_Q,KEY_CODE_E:window.KEY_CODE_E}},created(){},methods:{}},v=O(y,[["render",f],["__scopeId","data-v-7b4db61b"]]);export{v as C};
