From d0fb61b87bff751b4afaf48686aafe3544bcb1b3 Mon Sep 17 00:00:00 2001 From: QMK Bot Date: Tue, 7 Jan 2025 04:34:12 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20=20@=20e5dab?= =?UTF-8?q?aac43a885a6c5807a7d6064cf1f6bd61d24=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/{BaseKey-5d776fbf.js => BaseKey-82402d2e.js} | 2 +- assets/{Home-ccd2dacc.js => Home-09ef69e2.js} | 6 +++--- assets/{Print-59e7c655.js => Print-0fc2074b.js} | 2 +- assets/{Test-05ff3726.js => Test-155333bc.js} | 2 +- assets/{index-d2cc914b.js => index-6ba28ab1.js} | 6 +++--- index.html | 2 +- keymaps/g/gh60_v1p3_default.json | 6 +----- 7 files changed, 11 insertions(+), 15 deletions(-) rename assets/{BaseKey-5d776fbf.js => BaseKey-82402d2e.js} (97%) rename assets/{Home-ccd2dacc.js => Home-09ef69e2.js} (90%) rename assets/{Print-59e7c655.js => Print-0fc2074b.js} (97%) rename assets/{Test-05ff3726.js => Test-155333bc.js} (99%) rename assets/{index-d2cc914b.js => index-6ba28ab1.js} (99%) diff --git a/assets/BaseKey-5d776fbf.js b/assets/BaseKey-82402d2e.js similarity index 97% rename from assets/BaseKey-5d776fbf.js rename to assets/BaseKey-82402d2e.js index 864b2ff9d6..7ac11149d2 100644 --- a/assets/BaseKey-5d776fbf.js +++ b/assets/BaseKey-82402d2e.js @@ -1,2 +1,2 @@ -import{n as _,D as n,c as d,m as p,i as o,d as y}from"./index-d2cc914b.js";const k={name:"base-keymap",computed:{styles(){let e=.85,t=.61;return this.config.SCALE<1&&(e*=(1+this.config.SCALE)/2,t*=(1+this.config.SCALE)/2),{"--unit-width":"1","--unit-height":"1","--default-smaller-key-font-size":`${t}rem`,"--default-key-font-size":`${e}rem`,"--default-key-height":`${this.config.KEY_HEIGHT}px`,"--default-key-width":`${this.config.KEY_WIDTH}px`,"--default-key-x-spacing":`${this.config.KEY_X_SPACING}px`,"--default-key-y-spacing":`${this.config.KEY_Y_SPACING}px`,width:`${this.width}px`,height:`${this.height}px`}}},methods:{calcKeyKeymapDims(e,t){return{w:e*this.config.KEY_X_SPACING-(this.config.KEY_X_SPACING-this.config.KEY_WIDTH),h:t*this.config.KEY_Y_SPACING-(this.config.KEY_Y_SPACING-this.config.KEY_HEIGHT),uh:t,uw:e}},calcKeyKeymapPos(e,t){return{x:e*this.config.KEY_X_SPACING,y:t*this.config.KEY_Y_SPACING}},setSize(e){this.width=e.x,this.height=e.y},calculateMax(e){const s=this.layouts[e].reduce((i,a)=>{let r=Object.assign({w:1,h:1},a);const l=this.calcKeyKeymapPos(r.x,r.y),u=this.calcKeyKeymapDims(r.w,r.h);return i.x=Math.max(i.x,l.x+u.w),i.y=Math.max(i.y,l.y+u.h),i},{x:0,y:0});return s.x>this.defaults.MAX_X&&(this.resizeConfig(s),s.x*=this.config.SCALE,s.y*=this.config.SCALE),s}}};let w,v;const m={};var S=_(k,w,v,!1,K,null,null,null);function K(e){for(let t in m)this[t]=m[t]}const A=function(){return S.exports}();var x=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"key",class:e.myclasses,style:e.mystyles,attrs:{draggable:"",id:e.myid,title:e.myTitle},on:{click:e.clicked,dragstart:e.dragstart,dragend:e.dragend,drop:function(i){return i.stopPropagation(),e.dropped.apply(null,arguments)},dragleave:function(i){return i.preventDefault(),e.dragleave.apply(null,arguments)},dragover:function(i){return i.preventDefault(),e.dragover.apply(null,arguments)},dragenter:function(i){return i.preventDefault(),e.dragenter.apply(null,arguments)}}},[e._v(e._s(e.displayName)),e.icon?s("font-awesome-icon",{attrs:{size:"2x",icon:e.icon}}):e._e(),e.visible?[e.visible?s("div",{staticClass:"remove",on:{click:function(i){return i.stopPropagation(),e.remove.apply(null,arguments)}}},[s("font-awesome-icon",{attrs:{icon:"times",size:"xs"}})],1):e._e()]:e._e()],2)},$=[];let c=Object.assign({},n.iconCodes,n.platformIcons(window.navigator.platform));const C=(e,t)=>{if(e==1)switch(t){case 1:return"k1u";case 1.25:return"k125u";case 1.5:return"k15u";case 1.75:return"k175u";case 2:return"k2u";case 2.25:return"k225u";case 2.75:return"k275u";case 3:return"k3u";case 4:return"k4u";case 6:return"k6u";case 6.25:return"k625u";case 7:return"k7u"}if(t==1)switch(e){case 1.25:return"k125uh";case 1.5:return"k15uh";case 1.75:return"k175uh";case 2:return"k2uh"}if(e===2){if(t===1.25)return"kiso";if(t===1.5)return"kbae"}return"custom"},h=new Map,f=(e,t)=>{const s=`${e}-${t}`;if(h.has(s))return h.get(s);const a=C(e,t);return h.set(s,a),a},E={name:"base-key",props:{id:Number,meta:Object,w:Number,h:Number,y:Number,x:Number,uh:Number,uw:Number,colorway:String,legends:{type:String,default:"keymap"},matrix:Array,printable:{type:Boolean,default:!1}},computed:{...d("keymap",["config"]),...d("keymap",{curLayer:"layer"}),...p("keymap",["getKey","getSelectedKey","colorwayOverride"]),...p("keycodes",["lookupKeycode"]),myTitle(){return this.meta?this.meta.code:""},myid(){return`key-${this.id}`},visible(){return this.meta?this.meta.code!=="KC_NO":!1},displayName(){switch(this.legends){case"size":{const{uh:e,uw:t}=this;return e>t?t===1?e:`${t} / +import{n as _,D as n,c as d,m as p,i as o,d as y}from"./index-6ba28ab1.js";const k={name:"base-keymap",computed:{styles(){let e=.85,t=.61;return this.config.SCALE<1&&(e*=(1+this.config.SCALE)/2,t*=(1+this.config.SCALE)/2),{"--unit-width":"1","--unit-height":"1","--default-smaller-key-font-size":`${t}rem`,"--default-key-font-size":`${e}rem`,"--default-key-height":`${this.config.KEY_HEIGHT}px`,"--default-key-width":`${this.config.KEY_WIDTH}px`,"--default-key-x-spacing":`${this.config.KEY_X_SPACING}px`,"--default-key-y-spacing":`${this.config.KEY_Y_SPACING}px`,width:`${this.width}px`,height:`${this.height}px`}}},methods:{calcKeyKeymapDims(e,t){return{w:e*this.config.KEY_X_SPACING-(this.config.KEY_X_SPACING-this.config.KEY_WIDTH),h:t*this.config.KEY_Y_SPACING-(this.config.KEY_Y_SPACING-this.config.KEY_HEIGHT),uh:t,uw:e}},calcKeyKeymapPos(e,t){return{x:e*this.config.KEY_X_SPACING,y:t*this.config.KEY_Y_SPACING}},setSize(e){this.width=e.x,this.height=e.y},calculateMax(e){const s=this.layouts[e].reduce((i,a)=>{let r=Object.assign({w:1,h:1},a);const l=this.calcKeyKeymapPos(r.x,r.y),u=this.calcKeyKeymapDims(r.w,r.h);return i.x=Math.max(i.x,l.x+u.w),i.y=Math.max(i.y,l.y+u.h),i},{x:0,y:0});return s.x>this.defaults.MAX_X&&(this.resizeConfig(s),s.x*=this.config.SCALE,s.y*=this.config.SCALE),s}}};let w,v;const m={};var S=_(k,w,v,!1,K,null,null,null);function K(e){for(let t in m)this[t]=m[t]}const A=function(){return S.exports}();var x=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"key",class:e.myclasses,style:e.mystyles,attrs:{draggable:"",id:e.myid,title:e.myTitle},on:{click:e.clicked,dragstart:e.dragstart,dragend:e.dragend,drop:function(i){return i.stopPropagation(),e.dropped.apply(null,arguments)},dragleave:function(i){return i.preventDefault(),e.dragleave.apply(null,arguments)},dragover:function(i){return i.preventDefault(),e.dragover.apply(null,arguments)},dragenter:function(i){return i.preventDefault(),e.dragenter.apply(null,arguments)}}},[e._v(e._s(e.displayName)),e.icon?s("font-awesome-icon",{attrs:{size:"2x",icon:e.icon}}):e._e(),e.visible?[e.visible?s("div",{staticClass:"remove",on:{click:function(i){return i.stopPropagation(),e.remove.apply(null,arguments)}}},[s("font-awesome-icon",{attrs:{icon:"times",size:"xs"}})],1):e._e()]:e._e()],2)},$=[];let c=Object.assign({},n.iconCodes,n.platformIcons(window.navigator.platform));const C=(e,t)=>{if(e==1)switch(t){case 1:return"k1u";case 1.25:return"k125u";case 1.5:return"k15u";case 1.75:return"k175u";case 2:return"k2u";case 2.25:return"k225u";case 2.75:return"k275u";case 3:return"k3u";case 4:return"k4u";case 6:return"k6u";case 6.25:return"k625u";case 7:return"k7u"}if(t==1)switch(e){case 1.25:return"k125uh";case 1.5:return"k15uh";case 1.75:return"k175uh";case 2:return"k2uh"}if(e===2){if(t===1.25)return"kiso";if(t===1.5)return"kbae"}return"custom"},h=new Map,f=(e,t)=>{const s=`${e}-${t}`;if(h.has(s))return h.get(s);const a=C(e,t);return h.set(s,a),a},E={name:"base-key",props:{id:Number,meta:Object,w:Number,h:Number,y:Number,x:Number,uh:Number,uw:Number,colorway:String,legends:{type:String,default:"keymap"},matrix:Array,printable:{type:Boolean,default:!1}},computed:{...d("keymap",["config"]),...d("keymap",{curLayer:"layer"}),...p("keymap",["getKey","getSelectedKey","colorwayOverride"]),...p("keycodes",["lookupKeycode"]),myTitle(){return this.meta?this.meta.code:""},myid(){return`key-${this.id}`},visible(){return this.meta?this.meta.code!=="KC_NO":!1},displayName(){switch(this.legends){case"size":{const{uh:e,uw:t}=this;return e>t?t===1?e:`${t} / ${e}`:t}case"matrix":if(this.matrix){const[e,t]=this.matrix;return`${e},${t}`}return"?";case"index":return this.id}if(!o(this.meta)&&o(c[this.meta.code]))return this.formatName(this.meta.name)},icon(){if(this.isShowingKeymapLegends&&this.meta&&c[this.meta.code])return c[this.meta.code]},isSelected(){return this.id===this.getSelectedKey&&!this.$store.state.keymap.selectedContent},isContentSelected(){return this.$store.state.keymap.selectedContent&&this.id===this.getSelectedKey},isShowingKeymapLegends(){return this.legends==="keymap"},myclasses(){let e=[];this.isSelected&&e.push("keycode-select"),this.inHover&&e.push("overme"),this.inSwap&&e.push("swapme"),this.meta&&this.meta.name.length>=2&&this.isShowingKeymapLegends&&e.push("smaller");const{KEY_WIDTH:t,KEY_HEIGHT:s}=this.config;return e.push(f(this.uh,this.uw)),!o(this.meta)&&!this.printable&&(this.colorwayOverride&&this.colorwayOverride[this.meta.code]?e.push(`${this.colorway}-${this.colorwayOverride[this.meta.code]}`):n.alphaCodes[this.meta.code]?e.push(`${this.colorway}-key`):n.modCodes[this.meta.code]||this.w<=t*3&&(this.w>t||this.h>s)?(e.push("mod"),e.push(`${this.colorway}-mod`)):e.push(`${this.colorway}-key`)),e.join(" ")},mystyles(){let e=[];return this.y>0&&e.push(`top: ${this.y}px;`),this.x>0&&e.push(`left: ${this.x}px;`),f(this.uh,this.uw)==="custom"&&(this.uw!==1&&e.push(`--unit-width: ${this.uw};`),this.uh!==1&&e.push(`--unit-height: ${this.uh};`)),e.join("")}},methods:{...y("keymap",["setSelected","setKeycode","swapKeys","setSelectedContent"]),...y("app",["stopListening","startListening"]),clicked(){let e=this.id;this.isSelected&&(e=void 0),this.setSelected(e)},dropped(e){this.setSelected(this.id);let t=JSON.parse(e.dataTransfer.getData("application/json"));t.action==="swap"?(console.log(`swapping ${t.id} with ${this.id}`),this.swapKeys({layer:this.curLayer,srcIndex:t.id,dstIndex:this.id})):this.setKeycode({_code:t.code,layer:t.layer}),this.dragleave()},dragend(){this.inSwap=!1,this.inHover=!1,this.$el.style.opacity="1"},dragover(){return!1},dragenter(){this.inHover=!0},dragleave(){this.inHover=!1},dragstart(e){this.inSwap=!0;let{id:t}=this;e.dropEffect="move",e.dataTransfer.dropEffect="move",e.dataTransfer.setData("application/json",JSON.stringify({action:"swap",id:t}))},formatName(e){return e},remove(){this.setSelected(this.id),this.setKeycode({_code:"KC_NO"})},clickContents(){let e=this.id;this.isContentSelected&&(e=void 0),this.setSelectedContent(e)}},data(){return{inHover:!1,inSwap:!1,platform:void 0}}},g={};var N=_(E,x,$,!1,b,null,null,null);function b(e){for(let t in g)this[t]=g[t]}const I=function(){return N.exports}();export{I as B,A as a}; diff --git a/assets/Home-ccd2dacc.js b/assets/Home-09ef69e2.js similarity index 90% rename from assets/Home-ccd2dacc.js rename to assets/Home-09ef69e2.js index 843fe1a529..7c95be0045 100644 --- a/assets/Home-ccd2dacc.js +++ b/assets/Home-09ef69e2.js @@ -1,4 +1,4 @@ -import{_ as ve,t as fe,g as L,u as v,s as c,b as be,a as Re,m as f,c as g,V as h,i as o,f as _,d as u,e as w,h as S,r as Oe,j as Ue,P as _e,k as ke,n as p,l as we,o as Ae,p as Pe,q as Ie,v as Me,w as Be,x as qe,y as Je,z as Ve,A as Ye,B as V}from"./index-d2cc914b.js";import{B as k,a as He}from"./BaseKey-5d776fbf.js";function We(e,a,t){var r=-1,i=e.length;a<0&&(a=-a>i?0:i+a),t=t>i?i:t,t<0&&(t+=i),i=a>t?0:t-a>>>0,a>>>=0;for(var s=Array(i);++r=r?e:Qe(e,a,t)}var Ze=Xe;function et(e){return e.split("")}var tt=et,xe="\\ud800-\\udfff",at="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",st=at+rt+it,nt="\\ufe0e\\ufe0f",ot="["+xe+"]",U="["+st+"]",A="\\ud83c[\\udffb-\\udfff]",lt="(?:"+U+"|"+A+")",$e="[^"+xe+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",ct="\\u200d",Se=lt+"?",Te="["+nt+"]?",dt="(?:"+ct+"(?:"+[$e,Ce,Le].join("|")+")"+Te+Se+")*",ut=Te+Se+dt,pt="(?:"+[$e+U+"?",U,Ce,Le,ot].join("|")+")",mt=RegExp(A+"(?="+A+")|"+pt+ut,"g");function gt(e){return e.match(mt)||[]}var ht=gt,yt=tt,vt=ve,ft=ht;function bt(e){return vt(e)?ft(e):yt(e)}var _t=bt,kt=Ze,wt=ve,xt=_t,$t=fe;function Ct(e){return function(a){a=$t(a);var t=wt(a)?xt(a):void 0,r=t?t[0]:a.charAt(0),i=t?kt(t,1).join(""):a.slice(1);return r[e]()+i}}var Lt=Ct,St=Lt,Tt=St("toUpperCase"),Kt=Tt,Ft=fe,jt=Kt;function Nt(e){return jt(Ft(e).toLowerCase())}var Et=Nt;const Dt=L(Et);let z,zt="Baking";function P(e){const a=v();a.append(e),a.scrollToEnd()}function Rt(e,a,t){Ke();let r=c.state.keymap.templates.keymap;const i=c.getters["keymap/exportLayers"]({compiler:!0});let s=JSON.stringify({...r,keyboard:e,keymap:a,layout:t,layers:i});console.log(s);const n=v();n.empty&&n.append(` +import{_ as ve,t as fe,g as L,u as v,s as c,b as be,a as Re,m as f,c as g,V as h,i as o,f as _,d as u,e as w,h as S,r as Oe,j as Ue,P as _e,k as ke,n as p,l as we,o as Ae,p as Pe,q as Ie,v as Me,w as Be,x as qe,y as Je,z as Ve,A as Ye,B as V}from"./index-6ba28ab1.js";import{B as k,a as He}from"./BaseKey-82402d2e.js";function We(e,a,t){var r=-1,i=e.length;a<0&&(a=-a>i?0:i+a),t=t>i?i:t,t<0&&(t+=i),i=a>t?0:t-a>>>0,a>>>=0;for(var s=Array(i);++r=r?e:Qe(e,a,t)}var Ze=Xe;function et(e){return e.split("")}var tt=et,xe="\\ud800-\\udfff",at="\\u0300-\\u036f",rt="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",st=at+rt+it,nt="\\ufe0e\\ufe0f",ot="["+xe+"]",U="["+st+"]",A="\\ud83c[\\udffb-\\udfff]",lt="(?:"+U+"|"+A+")",$e="[^"+xe+"]",Ce="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",ct="\\u200d",Se=lt+"?",Te="["+nt+"]?",dt="(?:"+ct+"(?:"+[$e,Ce,Le].join("|")+")"+Te+Se+")*",ut=Te+Se+dt,pt="(?:"+[$e+U+"?",U,Ce,Le,ot].join("|")+")",mt=RegExp(A+"(?="+A+")|"+pt+ut,"g");function gt(e){return e.match(mt)||[]}var ht=gt,yt=tt,vt=ve,ft=ht;function bt(e){return vt(e)?ft(e):yt(e)}var _t=bt,kt=Ze,wt=ve,xt=_t,$t=fe;function Ct(e){return function(a){a=$t(a);var t=wt(a)?xt(a):void 0,r=t?t[0]:a.charAt(0),i=t?kt(t,1).join(""):a.slice(1);return r[e]()+i}}var Lt=Ct,St=Lt,Tt=St("toUpperCase"),Kt=Tt,Ft=fe,jt=Kt;function Nt(e){return jt(Ft(e).toLowerCase())}var Et=Nt;const Dt=L(Et);let z,zt="Baking";function P(e){const a=v();a.append(e),a.scrollToEnd()}function Rt(e,a,t){Ke();let r=c.state.keymap.templates.keymap;const i=c.getters["keymap/exportLayers"]({compiler:!0});let s=JSON.stringify({...r,keyboard:e,keymap:a,layout:t,layers:i});console.log(s);const n=v();n.empty&&n.append(` `),n.append(`* Sending ${e}:${a} with ${t}`),fetch(be,{method:"POST",headers:{"Content-Type":"application/json"},body:s}).then(async l=>{if(l.ok){c.commit("app/setShowSpinner",!0);const m=await l.json();m.enqueued&&(n.append(` * Received job_id: ${m.job_id}`),n.scrollToEnd(),c.commit("app/setJobID",m.job_id),I())}else throw l}).catch(l=>{window.alert("Unexpected error ",console.log(l))})}function C(){c.commit("app/enableCompile"),setTimeout(()=>{c.commit("app/setShowSpinner",!1)},2e3)}function Ke(){c.commit("app/disableCompile")}function Ot(){c.commit("app/setEnableDownloads")}function Fe(){c.commit("app/setDisableDownloads")}function I(){const e=`${be}/${c.state.app.jobID}`,a=performance.now(),t=v();fetch(e).then(async r=>{console.log(`response in ${performance.now()-a}ms`,r);let i;const s=await r.json();if(!r.ok)console.log("Unexpected status",s.status),C();else{const n=Math.floor(2500+Math.random()*1e3);switch(console.log(`Next Poll in ${n}ms`),s.status){case"finished":c.commit("app/setSpinnerMsg","Done!"),t.append(` * Finished: @@ -12,7 +12,7 @@ ${i.warnings.join(` `)}`,s=`${s} ${i.errors.join(` `)}`),e?(this.append(s),this.setDeferredMessage(s)):a.commit("keymap/setDirty")}))}catch(t){P(` -* Sorry there is no default for the ${this.keyboard} keyboard... yet!`),console.log("error loadDefault",t)}},async initializeKeyboards(){console.info(`initializeKeyboards: ${this.keyboard}`);let e="";if(this.$route.query){let r=this.$route.query.filter;o(r)||this.updateFilter(r)}this.keyboard?(e=this.keyboard,console.info(`Loading keyboard from store:${e}`)):e=this.keyboards[Oe(this.keyboards.length-1)],console.log(`_keyboard:${e}`);let{keyboardP:a,layoutP:t}=this.$route.params;Ue(a)&&a!==""&&a!==_e&&(e=a,this.firstRun=!1),this.setLayout(t),await this.updateKeyboard(e)},async updateKeyboard(e){this.firstRun&&(this.firstRun=!1),e!==this.keyboard&&Fe(),await this.changeKeyboard(e).then(this.postUpdateKeyboard)},favKeyboard(){this.keyboard===this.configuratorSettings.favoriteKeyboard?this.setFavoriteKeyboard(""):this.setFavoriteKeyboard(this.keyboard)},postUpdateKeyboard(){this.clearStatus(),this.$router.replace({path:`/${this.keyboard}/${this.layout}`}).catch(e=>{if(!K(e,F.duplicated)&&!K(e,F.cancelled))throw e}),this.viewReadme(this.keyboard)},updateLayout(e){const a=e.target?e.target.value:e;this.setLayout(a),this.$router.replace({path:`/${this.keyboard}/${this.layout}`}).catch(t=>{if(!K(t,F.duplicated)&&!K(t,F.cancelled))throw t})},compile(){let e=this.keymapName,a=this.exportKeymapName;e=e===""?a.slice(this.keyboard.length+1,a.length):e,Rt(this.keyboard,e,this.layout)},updateFilter(e){this.$store.commit("app/setFilter",e)},opened(){this.stopListening();const e=this.$refs.select;h.nextTick(()=>{const a=e.$el.querySelector(".vs__dropdown-menu .vs__dropdown-option--selected");if(a){var t=a.offsetTop-a.offsetHeight;e.typeAheadPointer=this.keyboards.indexOf(this.keyboard),e.$el.scrollTo(t>0?t:0,0)}})},focus(){this.stopListening()},blur(){this.startListening()}}},Y={};var It=p(Pt,Ut,At,!1,Mt,null,null,null);function Mt(e){for(let a in Y)this[a]=Y[a]}const Bt=function(){return It.exports}();var qt=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"status"}},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.message,expression:"message"}],ref:"terminal",class:e.terminalClasses,attrs:{id:"terminal",readonly:""},domProps:{value:e.message},on:{input:function(r){r.target.composing||(e.message=r.target.value)}}}),e._v(" "),t("label",{class:e.terminalClasses,attrs:{for:"toggle-terminal",id:"toggle-terminal-label"},on:{click:e.toggleTerminal}},[e._v(e._s(e.$t("toggleTerminal.label")))]),t("font-awesome-icon",{class:e.terminalClasses,attrs:{icon:"chevron-up",size:"lg","fixed-width":"",id:"toggle-terminal",title:e.$t("toggleTerminal.title")},on:{click:e.toggleTerminal}})],1)},Jt=[];const Vt={name:"status-panel",watch:{message(e,a){this.scrollToLatest&&e!==a&&(this.scrollViewportToEnd(),this.doneScroll())},compileDisabled(e){e===!0&&(this.isTerminalOpen=!0)}},methods:{...S(v,["doneScroll"]),scrollViewportToEnd(){let e=this.$refs.terminal;this.$nextTick(()=>{e.scrollTop=e.scrollHeight})},toggleTerminal(){this.isTerminalOpen=!this.isTerminalOpen}},computed:{...we(v,["message","scrollToLatest"]),...g("app",["compileDisabled"]),terminalClasses(){const e=[];return this.isTerminalOpen||e.push("collapsed"),e.join(" ")}},data:()=>({isTerminalOpen:!0})},H={};var Yt=p(Vt,qt,Jt,!1,Ht,null,null,null);function Ht(e){for(let a in H)this[a]=H[a]}const Wt=function(){return Yt.exports}();var Gt=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("button",{staticClass:"fixed-size",attrs:{id:"fwFile",title:e.$t("flashFirmware.title"),disabled:e.disableDownloadBinary},on:{click:e.autoFlashFirmware}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("flashFirmware.label"))+" ")],1),t("button",{staticClass:"fixed-size",attrs:{id:"fwFile",title:e.$t("flashFile.title"),disabled:e.disableFlashFile},on:{click:e.flashFirmware}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("flashFile.label"))+" ")],1)])},Qt=[];const Xt={name:"ElectronBottomControls",props:{disableDownloadBinary:{type:Boolean,required:!0,default:!0}},computed:{...g("app",["keyboard","firmwareBinaryURL","firmwareFile"]),disableFlashFile(){return!window.Bridge.enableFlashing},disableFlashSource(){return!window.Bridge.enableFlashing||o(this.firmwareBinaryURL)||this.firmwareBinaryURL===""}},methods:{flashFirmware(){window.Bridge.autoFlash=!1,window.Bridge.flashFile()},autoFlashFirmware(){window.Bridge.autoFlash=!0,window.Bridge.flashURL(_(this.firmwareBinaryURL),this.keyboard,this.firmwareFile)}}},W={};var Zt=p(Xt,Gt,Qt,!1,ea,null,null,null);function ea(e){for(let a in W)this[a]=W[a]}const ta=function(){return Zt.exports}(),aa={"2_milk":{target:"spaceman/2_milk"},"6ball":{target:"maple_computing/6ball"},"7skb/rev1":{target:"salicylic_acid3/7skb/rev1"},"7splus":{target:"salicylic_acid3/7splus"},absinthe:{target:"keyhive/absinthe"},acr60:{target:"mechkeys/acr60"},adalyn:{target:"tominabox1/adalyn"},"aeboards/ext65":{target:"aeboards/ext65/rev1"},"ai03/equinox":{target:"ai03/equinox/rev1"},ajisai74:{target:"salicylic_acid3/ajisai74"},aleth42:{target:"25keys/aleth42"},alice:{target:"tgr/alice"},alicia_cook:{target:"ibnuda/alicia_cook"},allison:{target:"prototypist/allison"},allison_numpad:{target:"prototypist/allison_numpad"},alu84:{target:"mechkeys/alu84"},amj40:{target:"amjkeyboard/amj40"},amj60:{target:"amjkeyboard/amj60"},amj96:{target:"amjkeyboard/amj96"},amjpad:{target:"amjkeyboard/amjpad"},angel17:{target:"angel17/alpha"},"angel17/alpha":{target:"kakunpc/angel17/alpha"},"angel17/rev1":{target:"kakunpc/angel17/rev1"},angel64:{target:"angel64/alpha"},"angel64/alpha":{target:"kakunpc/angel64/alpha"},"angel64/rev1":{target:"kakunpc/angel64/rev1"},aplx6:{target:"aplyard/aplx6/rev1"},arch_36:{target:"obosob/arch_36"},at101_bh:{target:"viktus/at101_bh"},at101_blackheart:{target:"at101_bh"},"atom47/rev2":{target:"maartenwut/atom47/rev2"},"atom47/rev3":{target:"maartenwut/atom47/rev3"},bakeneko60:{target:"kkatano/bakeneko60"},bakeneko65:{target:"bakeneko65/rev2"},"bakeneko65/rev2":{target:"kkatano/bakeneko65/rev2"},"bakeneko65/rev3":{target:"kkatano/bakeneko65/rev3"},bakeneko80:{target:"kkatano/bakeneko80"},barleycorn:{target:"yiancardesigns/barleycorn"},"bat43/rev1":{target:"dailycraft/bat43/rev1"},"bat43/rev2":{target:"dailycraft/bat43/rev2"},bear_65:{target:"jacky_studio/bear_65"},bear_face:{target:"bear_face/v1"},"bigseries/1key":{target:"woodkeys/bigseries/1key"},"bigseries/2key":{target:"woodkeys/bigseries/2key"},"bigseries/3key":{target:"woodkeys/bigseries/3key"},"bigseries/4key":{target:"woodkeys/bigseries/4key"},bkf:{target:"drhigsby/bkf"},bm16a:{target:"kprepublic/bm16a"},bm16s:{target:"kprepublic/bm16s"},bm40hsrgb:{target:"kprepublic/bm40hsrgb"},bm43a:{target:"kprepublic/bm43a"},bm60poker:{target:"kprepublic/bm60poker"},bm60rgb:{target:"kprepublic/bm60rgb"},bm60rgb_iso:{target:"kprepublic/bm60rgb_iso"},bm65iso:{target:"kprepublic/bm65iso"},bm68rgb:{target:"kprepublic/bm68rgb"},"bpiphany/pegasushoof":{target:"bpiphany/pegasushoof/2013"},"business_card/alpha":{target:"kakunpc/business_card/alpha"},"business_card/beta":{target:"kakunpc/business_card/beta"},butterstick:{target:"gboards/butterstick"},c39:{target:"maple_computing/c39"},"candybar/lefty":{target:"tkc/candybar/lefty"},"candybar/righty":{target:"tkc/candybar/righty"},canoe:{target:"percent/canoe"},cassette42:{target:"25keys/cassette42"},chavdai40:{target:"chavdai40/rev1"},chidori:{target:"kagizaraya/chidori"},chili:{target:"ydkb/chili"},chimera_ergo:{target:"glenpickle/chimera_ergo"},chimera_ls:{target:"glenpickle/chimera_ls"},chimera_ortho:{target:"glenpickle/chimera_ortho"},chimera_ortho_plus:{target:"glenpickle/chimera_ortho_plus"},choc_taro:{target:"kakunpc/choc_taro"},choco60:{target:"recompile_keys/choco60"},christmas_tree:{target:"maple_computing/christmas_tree"},"claw44/rev1":{target:"dailycraft/claw44/rev1"},"clawsome/gamebuddy":{target:"clawsome/gamebuddy/v1_0"},"cmm_studio/saka68":{target:"cmm_studio/saka68/solder"},cocoa40:{target:"recompile_keys/cocoa40"},comet46:{target:"satt/comet46"},cospad:{target:"kprepublic/cospad"},"crkbd/rev1/common":{target:"crkbd/rev1"},"crkbd/rev1/legacy":{target:"crkbd/rev1"},cu24:{target:"capsunlocked/cu24"},cu75:{target:"capsunlocked/cu75"},cu80:{target:"capsunlocked/cu80/v1"},daisy:{target:"ktec/daisy"},delilah:{target:"rainkeebs/delilah"},diverge3:{target:"unikeyboard/diverge3"},divergetm2:{target:"unikeyboard/divergetm2"},"doro67/multi":{layouts:{LAYOUT_ansi:"LAYOUT_65_ansi_blocker"}},"doro67/regular":{layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},"doro67/rgb":{layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},dozen0:{target:"yynmt/dozen0"},drakon:{target:"jagdpietr/drakon"},dubba175:{target:"drhigsby/dubba175"},dumbpad:{target:"dumbpad/v0x"},"durgod/k320":{target:"durgod/k3x0/k320/base"},"dztech/dz60rgb":{target:"dztech/dz60rgb/v1"},"dztech/dz60rgb_ansi":{target:"dztech/dz60rgb_ansi/v1"},"dztech/dz60rgb_wkl":{target:"dztech/dz60rgb_wkl/v1"},"dztech/dz65rgb":{target:"dztech/dz65rgb/v1"},"dztech/volcano660":{target:"ilumkb/volcano660"},eek:{target:"eek/silk_down"},eggman:{target:"qpockets/eggman"},ergo42:{target:"biacco42/ergo42"},ergoarrows:{target:"salicylic_acid3/ergoarrows"},"ergodash/mini":{target:"omkbd/ergodash/mini"},"ergodash/rev1":{target:"omkbd/ergodash/rev1"},ergodone:{target:"ktec/ergodone"},ergodox_ez:{target:"ergodox_ez/base"},ergodox_infinity:{target:"input_club/ergodox_infinity"},ergoinu:{target:"dm9records/ergoinu"},ergosaurus:{target:"keyhive/ergosaurus"},ergotaco:{target:"gboards/ergotaco"},espectro:{target:"mechkeys/espectro"},"exclusive/e85":{target:"exclusive/e85/hotswap"},felix:{target:"unikeyboard/felix"},four_banger:{target:"bpiphany/four_banger"},freyr:{target:"hnahkb/freyr"},function96:{target:"function96/v1"},geminate60:{target:"weirdo/geminate60"},georgi:{target:"gboards/georgi"},gergo:{target:"gboards/gergo"},getta25:{target:"salicylic_acid3/getta25"},gh60:{target:"gh60/revc"},gingham:{target:"yiancardesigns/gingham"},"gmmk/pro":{target:"gmmk/pro/ansi"},"gmmk/pro/ansi":{target:"gmmk/pro/rev1/ansi"},"gmmk/pro/iso":{target:"gmmk/pro/rev1/iso"},gurindam:{target:"ibnuda/gurindam"},halberd:{target:"kagizaraya/halberd"},"handwired/ferris":{target:"ferris/0_1"},"handwired/p1800fl":{target:"team0110/p1800fl"},"handwired/pill60":{target:"handwired/pill60/bluepill"},"hecomi/alpha":{target:"takashiski/hecomi/alpha"},"helix/pico/sc/back":{target:"helix/pico/sc"},"helix/pico/sc/under":{target:"helix/pico/sc"},"helix/rev2/back/oled":{target:"helix/rev2/back"},"helix/rev2/oled":{target:"helix/rev2"},"helix/rev2/oled/back":{target:"helix/rev2/back"},"helix/rev2/oled/under":{target:"helix/rev2/under"},"helix/rev2/sc/back":{target:"helix/rev2/sc"},"helix/rev2/sc/oled":{target:"helix/rev2/sc"},"helix/rev2/sc/oledback":{target:"helix/rev2/sc"},"helix/rev2/sc/oledunder":{target:"helix/rev2/sc"},"helix/rev2/sc/under":{target:"helix/rev2/sc"},"helix/rev2/under":{target:"helix/rev2/sc"},"helix/rev2/under/oled":{target:"helix/rev2/under"},hid_liber:{target:"bpiphany/hid_liber"},honeycomb:{target:"keyhive/honeycomb"},"id67/default_rgb":{target:"idobao/id67/default_rgb"},"id67/rgb":{target:"idobao/id67/rgb"},id80:{target:"idobao/id80/v1"},id87:{target:"idobao/id87/v1"},idb_60:{target:"idb/idb_60",layouts:{LAYOUT:"LAYOUT_all"}},idobo:{target:"idobao/id75/v1"},infinity60:{target:"input_club/infinity60"},"ivy/rev1":{target:"maple_computing/ivy/rev1"},jisplit89:{target:"salicylic_acid3/jisplit89"},jj40:{target:"kprepublic/jj40"},jj4x4:{target:"kprepublic/jj4x4"},jj50:{target:"kprepublic/jj50"},jnao:{target:"maple_computing/jnao"},jones:{target:"jones/v03_1"},just60:{target:"ydkb/just60"},k_type:{target:"input_club/k_type"},kagamidget:{target:"yynmt/kagamidget"},katana60:{target:"rominronin/katana60/rev1"},"kbdfans/kbd67/mkiirgb":{target:"kbdfans/kbd67/mkiirgb/v1"},"kbdfans/kbd67mkiirgb":{target:"kbdfans/kbd67/mkiirgb",layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},"keebio/dsp40":{target:"keebio/dsp40/rev1"},"kelowna/rgb64":{target:"weirdo/kelowna/rgb64"},"keycapsss/kimiko":{target:"keycapsss/kimiko/rev1"},"keycapsss/plaid_pad":{target:"keycapsss/plaid_pad/rev1"},"kprepublic/bm60poker":{target:"kprepublic/bm60hsrgb_poker/rev1"},"kprepublic/bm60rgb":{target:"kprepublic/bm60hsrgb/rev1"},"kprepublic/bm60rgb_iso":{target:"kprepublic/bm60hsrgb_iso/rev1"},"kprepublic/bm65hsrgb_iso":{target:"kprepublic/bm65hsrgb_iso/rev1"},"kprepublic/bm65iso":{target:"kprepublic/bm65hsrgb_iso"},"kprepublic/bm68hsrgb":{target:"kprepublic/bm68hsrgb/rev1"},"kprepublic/bm68rgb":{target:"kprepublic/bm68hsrgb"},"kprepublic/bm80":{target:"kprepublic/bm80hsrgb"},kudox:{target:"kudox/rev1"},"kyria/rev1":{target:"splitkb/kyria/rev1"},latin17rgb:{target:"latincompass/latin17rgb"},latin47ble:{target:"latincompass/latin47ble"},latin60rgb:{target:"latincompass/latin60rgb"},latin64ble:{target:"latincompass/latin64ble"},latin6rgb:{target:"latincompass/latin6rgb"},latinpad:{target:"latincompass/latinpad"},latinpadble:{target:"latincompass/latinpadble"},lattice60:{target:"keyhive/lattice60"},"launchpad/rev1":{target:"maple_computing/launchpad/rev1"},lck75:{target:"lyso1/lck75"},le_chiffre:{target:"tominabox1/le_chiffre"},lefishe:{target:"lyso1/lefishe"},"lets_split_eh/eh":{target:"maple_computing/lets_split_eh/eh"},"lfkeyboards/lfk78":{target:"lfkeyboards/lfk78/revj"},"lfkeyboards/smk65":{target:"lfkeyboards/smk65/revb"},ls_60:{target:"weirdo/ls_60"},m0lly:{target:"tkc/m0lly"},m3n3van:{target:"matthewdias/m3n3van"},"maartenwut/atom47/rev2":{target:"evyd13/atom47/rev2"},"maartenwut/atom47/rev3":{target:"evyd13/atom47/rev3"},"maartenwut/eon40":{target:"evyd13/eon40"},"maartenwut/eon65":{target:"evyd13/eon65"},"maartenwut/eon75":{target:"evyd13/eon75"},"maartenwut/eon87":{target:"evyd13/eon87"},"maartenwut/eon95":{target:"evyd13/eon95"},"maartenwut/gh80_1800":{target:"evyd13/gh80_1800"},"maartenwut/gh80_3700":{target:"evyd13/gh80_3700"},"maartenwut/minitomic":{target:"evyd13/minitomic"},"maartenwut/mx5160":{target:"evyd13/mx5160"},"maartenwut/nt660":{target:"evyd13/nt660"},"maartenwut/omrontkl":{target:"evyd13/omrontkl"},"maartenwut/plain60":{target:"evyd13/plain60"},"maartenwut/pockettype":{target:"evyd13/pockettype"},"maartenwut/quackfire":{target:"evyd13/quackfire"},"maartenwut/solheim68":{target:"evyd13/solheim68"},"maartenwut/ta65":{target:"evyd13/ta65"},"maartenwut/wasdat":{target:"evyd13/wasdat"},"maartenwut/wasdat_code":{target:"evyd13/wasdat_code"},"maartenwut/wonderland":{target:"evyd13/wonderland"},"mechlovin/adelais/rgb_led":{target:"mechlovin/adelais/rgb_led/rev1"},"mechlovin/adelais/standard_led":{target:"mechlovin/adelais/standard_led/rev2"},"mechlovin/delphine":{target:"mechlovin/delphine/mono_led"},"mechlovin/hannah60rgb":{target:"mechlovin/hannah60rgb/rev1"},"mechlovin/hannah65":{target:"mechlovin/hannah65/rev1"},"mechlovin/hannah65/mechlovin9":{target:"mechlovin/mechlovin9"},"mechlovin/hannah910":{target:"mechlovin/hannah910/rev1"},"mechmini/v1":{target:"mechkeys/mechmini/v1"},"mechmini/v2":{target:"mechkeys/mechmini/v2"},meira:{target:"woodkeys/meira"},meishi:{target:"biacco42/meishi"},meishi2:{target:"biacco42/meishi2"},"melgeek/z70ultra":{target:"melgeek/z70ultra/rev1"},melody96:{target:"ymdk/melody96"},"minidox/rev1":{target:"maple_computing/minidox/rev1"},minim:{target:"matthewdias/minim"},mio:{target:"recompile_keys/mio"},model01:{target:"keyboardio/model01"},model_v:{target:"matthewdias/model_v"},montex:{target:"idobao/montex/v1"},"montsinger/rebound":{target:"montsinger/rebound/rev1"},mt40:{target:"mt/mt40"},mt64rgb:{target:"mt/mt64rgb"},mt84:{target:"mt/mt84"},mt980:{target:"mt/mt980"},nafuda:{target:"salicylic_acid3/nafuda"},"naiping/np64":{target:"weirdo/naiping/np64"},"naiping/nphhkb":{target:"weirdo/naiping/nphhkb"},"naiping/npminila":{target:"weirdo/naiping/npminila"},naked48:{target:"salicylic_acid3/naked48"},naked60:{target:"salicylic_acid3/naked60"},naked64:{target:"salicylic_acid3/naked64"},namecard2x4:{target:"takashiski/namecard2x4"},"navi10/rev0":{target:"keyhive/navi10/rev0"},"navi10/rev2":{target:"keyhive/navi10/rev2"},"navi10/rev3":{target:"keyhive/navi10/rev3"},"nckiibs/flatbread60":{target:"delikeeb/flatbread60"},"nckiibs/vaguettelite":{target:"delikeeb/vaguettelite"},"nckiibs/vanana/rev1":{target:"delikeeb/vanana/rev1"},"nckiibs/vanana/rev2":{target:"delikeeb/vanana/rev2"},"nckiibs/vaneela":{target:"delikeeb/vaneela"},"nckiibs/vaneelaex":{target:"delikeeb/vaneelaex"},"nckiibs/waaffle/rev3/elite_c":{target:"delikeeb/waaffle/rev3/elite_c"},"nckiibs/waaffle/rev3/pro_micro":{target:"delikeeb/waaffle/rev3/pro_micro"},nebula12:{target:"spaceholdings/nebula12"},nebula68:{target:"spaceholdings/nebula68"},nebula68b:{target:"spaceholdings/nebula68b"},niu_mini:{target:"kbdfans/niu_mini"},nk1:{target:"novelkeys/nk1"},nk65:{target:"novelkeys/nk65"},nk87:{target:"novelkeys/nk87"},nknl7en:{target:"salicylic_acid3/nknl7en"},nknl7jp:{target:"salicylic_acid3/nknl7jp"},nomu30:{target:"recompile_keys/nomu30"},novelpad:{target:"novelkeys/novelpad"},"noxary/268_2":{layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},oddball:{target:"oddball/v1"},ogurec:{target:"drhigsby/ogurec"},omnikey_bh:{target:"viktus/omnikey_bh"},omnikey_blackheart:{target:"omnikey_bh"},opus:{target:"keyhive/opus"},"otaku_split/rev0":{target:"takashiski/otaku_split/rev0"},"otaku_split/rev1":{target:"takashiski/otaku_split/rev1"},owl8:{target:"dailycraft/owl8"},"pabile/p20":{target:"pabile/p20/ver1"},packrat:{target:"drhigsby/packrat"},"pancake/feather":{target:"spaceman/pancake/feather"},"pancake/promicro":{target:"spaceman/pancake/promicro"},"peiorisboards/ixora":{target:"coarse/ixora"},"percent/canoe":{layouts:{LAYOUT_iso:"LAYOUT_65_iso_blocker"}},pistachio:{target:"rate/pistachio"},pistachio_mp:{target:"rate/pistachio_mp"},pistachio_pro:{target:"rate/pistachio_pro"},plaid:{target:"dm9records/plaid"},plain60:{target:"maartenwut/plain60"},plexus75:{target:"checkerboards/plexus75"},"ploopyco/trackball":{target:"ploopyco/trackball/rev1_005"},polilla:{target:"polilla/rev1"},"preonic/rev1":{layouts:{LAYOUT_preonic_grid:"LAYOUT_ortho_5x12"}},"preonic/rev2":{layouts:{LAYOUT_preonic_grid:"LAYOUT_ortho_5x12"}},"preonic/rev3":{layouts:{LAYOUT_preonic_grid:"LAYOUT_ortho_5x12"}},"primekb/prime_l":{target:"primekb/prime_l/v1"},"primekb/prime_l_v2":{target:"primekb/prime_l/v2"},"projectkb/alice":{target:"projectkb/alice/rev1"},pursuit40:{target:"checkerboards/pursuit40"},qaz:{target:"tominabox1/qaz"},quark:{target:"checkerboards/quark"},rabbit_capture_plan:{target:"kakunpc/rabbit_capture_plan"},rainkeeb:{target:"rainkeebs/rainkeeb"},"rama/koyu":{target:"wilba_tech/rama_works_koyu"},"rama/m10_b":{target:"wilba_tech/rama_works_m10_b"},"rama/m60_a":{target:"wilba_tech/rama_works_m60_a"},"rama/m6_a":{target:"wilba_tech/rama_works_m6_a"},"rama/m6_b":{target:"wilba_tech/rama_works_m6_b"},"rama/u80_a":{target:"wilba_tech/rama_works_u80_a"},"ramonimbao/herringbone":{target:"ramonimbao/herringbone/v1"},"redox/rev1":{target:"redox/rev1/base"},reviung33:{target:"reviung/reviung33"},reviung34:{target:"reviung/reviung34"},reviung39:{target:"reviung/reviung39"},reviung41:{target:"reviung/reviung41"},reviung5:{target:"reviung/reviung5"},reviung53:{target:"reviung/reviung53"},reviung61:{target:"reviung/reviung61"},"rgbkb/pan":{target:"rgbkb/pan/rev1/32a"},"rgbkb/pan/rev1":{target:"rgbkb/pan/rev1/32a"},romac:{target:"kingly_keys/romac"},ropro:{target:"kingly_keys/ropro"},"runner3680/3x6":{target:"omkbd/runner3680/3x6"},"runner3680/3x7":{target:"omkbd/runner3680/3x7"},"runner3680/3x8":{target:"omkbd/runner3680/3x8"},"runner3680/4x6":{target:"omkbd/runner3680/4x6"},"runner3680/4x7":{target:"omkbd/runner3680/4x7"},"runner3680/4x8":{target:"omkbd/runner3680/4x8"},"runner3680/5x6":{target:"omkbd/runner3680/5x6"},"runner3680/5x6_5x8":{target:"omkbd/runner3680/5x6_5x8"},"runner3680/5x7":{target:"omkbd/runner3680/5x7"},"runner3680/5x8":{target:"omkbd/runner3680/5x8"},"s7_elephant/rev1":{target:"jacky_studio/s7_elephant/rev1"},"s7_elephant/rev2":{target:"jacky_studio/s7_elephant/rev2"},satan:{target:"gh60/satan"},scarletbandana:{target:"woodkeys/scarletbandana"},scythe:{target:"kagizaraya/scythe"},seigaiha:{target:"yiancardesigns/seigaiha"},setta21:{target:"salicylic_acid3/setta21"},skog:{target:"percent/skog"},smallice:{target:"keyhive/smallice"},southpaw75:{target:"fr4/southpaw75"},southpole:{target:"keyhive/southpole"},"space_space/rev1":{target:"qpockets/space_space/rev1"},"space_space/rev2":{target:"qpockets/space_space/rev2"},speedo:{target:"cozykeys/speedo/v2"},"spiderisland/winry25tc":{target:"winry/winry25tc"},splitreus62:{target:"nacly/splitreus62"},"squiggle/rev1":{target:"ibnuda/squiggle/rev1"},standaside:{target:"edi/standaside"},staryu:{target:"ktec/staryu"},steal_this_keyboard:{target:"obosob/steal_this_keyboard"},stella:{target:"hnahkb/stella"},stoutgat:{target:"tkw/stoutgat/v1"},suihankey:{target:"suihankey/split/alpha"},"suihankey/alpha":{target:"kakunpc/suihankey/alpha"},"suihankey/rev1":{target:"kakunpc/suihankey/rev1"},"suihankey/split":{target:"kakunpc/suihankey/split"},ta65:{target:"maartenwut/ta65"},tartan:{target:"dm9records/tartan"},the_ruler:{target:"maple_computing/the_ruler"},thedogkeyboard:{target:"kakunpc/thedogkeyboard"},tiger910:{target:"weirdo/tiger910"},tkc1800:{target:"tkc/tkc1800"},"tkw/stoutgat/v2":{target:"tkw/stoutgat/v2/f411"},tokyo60:{target:"tokyokeyboard/tokyo60"},treadstone32:{target:"marksard/treadstone32"},"treadstone48/rev1":{target:"marksard/treadstone48/rev1"},"treadstone48/rev2":{target:"marksard/treadstone48/rev2"},txuu:{target:"matthewdias/txuu"},ua62:{target:"nacly/ua62"},underscore33:{target:"underscore33/rev1"},"underscore33/rev1":{target:"tominabox1/underscore33/rev1"},"underscore33/rev2":{target:"tominabox1/underscore33/rev2"},uno:{target:"keyhive/uno"},ut472:{target:"keyhive/ut472"},vinta:{target:"coarse/vinta",layouts:{LAYOUT_67_ansi:"LAYOUT_65_ansi_blocker"}},vn66:{target:"hnahkb/vn66"},wallaby:{target:"kkatano/wallaby"},wanten:{target:"qpockets/wanten"},wasdat:{target:"maartenwut/wasdat"},"westfoxtrot/cypher":{target:"westfoxtrot/cypher/rev1"},"whale/sk":{target:"whale/sk/v3"},"wheatfield/blocked65":{target:"mt/blocked65"},"wheatfield/split75":{target:"mt/split75"},whitefox:{target:"input_club/whitefox"},"wings42/rev1":{target:"dailycraft/wings42/rev1"},"wings42/rev1_extkeys":{target:"dailycraft/wings42/rev1_extkeys"},"wings42/rev2":{target:"dailycraft/wings42/rev2"},xd002:{target:"xiudi/xd002"},"xd004/v1":{target:"xiudi/xd004/v1"},"xd60/rev2":{target:"xiudi/xd60/rev2"},"xd60/rev3":{target:"xiudi/xd60/rev3"},xd68:{target:"xiudi/xd68"},xd75:{target:"xiudi/xd75"},xd84:{target:"xiudi/xd84"},xd84pro:{target:"xiudi/xd84pro"},xd87:{target:"xiudi/xd87"},xd96:{target:"xiudi/xd96"},"xelus/dawn60":{target:"xelus/dawn60/rev1"},"xelus/valor":{target:"xelus/valor/rev1"},yasui:{target:"rainkeebs/yasui"},yd60mq:{target:"ymdk/yd60mq"},yd68:{target:"ydkb/yd68"},ymd75:{target:"ymdk/ymd75"},ymd96:{target:"ymdk/ymd96"},ymdk_np21:{target:"ymdk/np21"},yurei:{target:"kkatano/yurei"},z150_bh:{target:"viktus/z150_bh"},z150_blackheart:{target:"z150_bh"},zeal60:{target:"wilba_tech/zeal60"},zeal65:{target:"wilba_tech/zeal65"},zinc:{target:"25keys/zinc"},"zinc/rev1":{target:"25keys/zinc/rev1"},"zinc/reva":{target:"25keys/zinc/reva"}},G={lookup:aa};var ra=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"botctrl",attrs:{id:"controller-bottom"}},[t("VeilComponent",{attrs:{"is-visible":e.isVeilOpened},scopedSlots:e._u([{key:"contents",fn:function(){return[t("div",{staticClass:"input-url-modal"},[t("div",[t("label",{attrs:{for:"url-import-field"}},[e._v("Url:")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.urlImport,expression:"urlImport"}],ref:"urlimport",attrs:{id:"url-import-field",type:"text"},domProps:{value:e.urlImport},on:{input:function(r){r.target.composing||(e.urlImport=r.target.value)}}})]),t("div",[t("button",{on:{click:e.importUrlkeymap}},[e._v("Load")]),t("button",{on:{click:e.closeVeil}},[e._v("cancel")])])])]},proxy:!0}])}),t("div",{staticClass:"botctrl-1-1"},[t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("downloadJSON.title"),expression:"$t('downloadJSON.title')",modifiers:{bottom:!0}}],attrs:{id:"export"},on:{click:e.exportJSON}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}})],1),t("span",{staticClass:"label-button"},[e._v(e._s(e.$t("downloadJSON.label")))]),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("importJSON.title"),expression:"$t('importJSON.title')",modifiers:{bottom:!0}}],attrs:{id:"import"},on:{click:e.importKeymap}},[t("font-awesome-icon",{attrs:{icon:"upload",size:"lg","fixed-width":""}})],1),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("importUrlJSON.title"),expression:"$t('importUrlJSON.title')",modifiers:{bottom:!0}}],attrs:{id:"import-url"},on:{click:e.openVeil}},[t("font-awesome-icon",{attrs:{icon:"cloud-upload-alt",size:"lg","fixed-width":""}})],1),t("a",{staticClass:"button-padding",attrs:{rel:"noopener",target:"_blank",href:e.configuratorDocsURL}},[t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("keymapHelp.title"),expression:"$t('keymapHelp.title')",modifiers:{bottom:!0}}],staticClass:"ui-button",attrs:{id:"keymapHelp"}},[t("font-awesome-icon",{attrs:{icon:"question-circle",size:"lg","fixed-width":""}}),t("span",{staticClass:"hide-small"},[e._v(e._s(e.$t("keymapHelp.label")))])],1)]),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("printKeymap.title"),expression:"$t('printKeymap.title')",modifiers:{bottom:!0}}],attrs:{id:"printkeymaps"},on:{click:e.printKeymaps}},[t("font-awesome-icon",{attrs:{icon:"print",size:"lg","fixed-width":""}}),t("span",{staticClass:"hide-small"},[e._v(e._s(e.$t("printKeymap.label")))])],1),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("testKeys.title"),expression:"$t('testKeys.title')",modifiers:{bottom:!0}}],attrs:{id:"testkeys"},on:{click:e.testKeys}},[t("font-awesome-icon",{attrs:{icon:"keyboard",size:"lg","fixed-width":""}}),t("span",{staticClass:"hide-small"},[e._v(e._s(e.$t("testKeys.label")))])],1),t("input",{ref:"fileImportElement",attrs:{id:"fileImport",type:"file",accept:"application/json"},on:{change:e.fileImportChanged}}),t("input",{ref:"infoPreviewElement",attrs:{id:"infoPreview",type:"file",accept:"application/json"},on:{change:e.infoPreviewChanged}})]),e.electron?t("div",{staticClass:"botctrl-1-2"},[t("ElectronBottomControls",{attrs:{"disable-download-binary":e.disableDownloadBinary}})],1):t("div",{staticClass:"botctrl-1-2"},[t("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("downloadSource.title"),expression:"$t('downloadSource.title')"}],staticClass:"fixed-size",attrs:{id:"source",disabled:e.disableDownloadSource},on:{click:e.downloadSource}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("downloadSource.label"))+" ")],1),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("downloadFirmware.title"),expression:"$t('downloadFirmware.title')"}],attrs:{id:"fwFile",disabled:e.disableDownloadBinary},on:{click:e.downloadFirmware}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("downloadFirmware.label"))+" ")],1)]),e.downloadElementEnabled?t("div",[t("a",{ref:"downloadElement",attrs:{href:e.urlEncodedData,download:e.filename}})]):e._e()],1)},ia=[];const{isNavigationFailure:Q,NavigationFailureType:X}=ke,sa="data:application/json;charset=utf-8,",na={name:"BottomController",components:{ElectronBottomControls:ta},data:()=>({isVeilOpened:!1,downloadElementEnabled:!1,urlEncodedData:"",filename:"",urlImport:"",reader:void 0}),computed:{...g("keymap",["templates"]),...g("app",["keyboard","layout","previewRequested","enableDownloads","firmwareBinaryURL","firmwareSourceURL","keymapSourceURL","author","notes","electron"]),...f("app",["exportKeymapName","firmwareFile"]),...f("keymap",["isDirty","exportLayers"]),disableDownloadKeymap(){return!this.enableDownloads&&this.keymapSourceURL!==""},disableDownloadSource(){return!this.enableDownloads&&this.firmwareSourceURL!==""},disableDownloadBinary(){return!this.enableDownloads||o(this.firmwareBinaryURL)||this.firmwareBinaryURL===""},configuratorDocsURL(){return"https://docs.qmk.fm/#/configurator_troubleshooting"}},watch:{previewRequested(e){e&&(this.$refs.infoPreviewElement.click(),window.setTimeout(()=>this.dismissPreview()))}},methods:{...u("app",["dismissPreview","enablePreview","setAuthor","setKeyboard","setKeymapName","setLayout","setNotes","startListening","stopListening"]),...u("keymap",["setLoadingKeymapPromise","setDirty","clear"]),...u("keymap",{clearKeymap:"clear"}),...w("app",["changeKeyboard","loadKeymapFromUrl","loadLayouts"]),...w("keymap",["load_converted_keymap"]),...S(v,["viewReadme","setDeferredMessage","append","clearStatus"]),async importUrlkeymap(){try{const e=await this.loadKeymapFromUrl(this.urlImport);await this.loadJsonData(e)}catch(e){alert("Seems like there is an issue trying to get the file"),console.error(e)}this.closeVeil()},openVeil(){this.isVeilOpened=!0,this.stopListening(),h.nextTick(()=>{this.$refs.urlimport.focus()})},closeVeil(){this.startListening(),this.urlImport="",this.isVeilOpened=!1},exportJSON(){let e=this.exportLayers({compiler:!1});const{keymap:a}=this.templates;let t=Object.assign(a,{keyboard:this.keyboard,keymap:this.exportKeymapName,layout:this.layout,layers:e,author:this.author,notes:this.notes});this.download(`${this.exportKeymapName}.json`,JSON.stringify(t,null,2))},download(e,a){this.urlEncodedData=sa+encodeURIComponent(a),this.filename=e,this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},downloadFirmware(){this.urlEncodedData=_(this.firmwareBinaryURL),this.filename=this.firmwareFile,this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},downloadSource(){this.urlEncodedData=_(this.firmwareSourceURL),this.filename="source.zip",this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},downloadKeymap(){this.urlEncodedData=_(this.keymapSourceURL),this.filename="source.zip",this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},importKeymap(){if(this.isDirty&&!confirm(j({action:"change keyboard and layout"})))return!1;this.$refs.fileImportElement.click()},fileImportChanged(){var e=this.$refs.fileImportElement.files;this.reader=new FileReader,this.reader.onload=this.importJSONOnLoad,this.reader.readAsText(_(e)),this.$refs.fileImportElement.value=""},remapKeyboard(e,a,t=0){let r=!1;if(t>10)console.warn(`possible remap loop detected with ${e}:${a}`);else if(!o(G.lookup[e])){const{target:i,layouts:s}=G.lookup[e];o(i)||(e=i,r=!0),!o(s)&&!o(s[a])&&(a=s[a],r=!0)}return r?this.remapKeyboard(e,a,++t):{keyboard:e,layout:a}},async loadJsonData(e){if(e.version&&e.keyboard&&e.keyboard.settings){alert(this.$t("errors.kbfirmwareJSONUnsupported"));return}if(Ae(e)){alert(this.$t("errors.unknownJSON"));return}if(!o(e.author)){const{author:a,notes:t}=e;this.setAuthor(a),this.setNotes(t)}e=Object.assign(e,this.remapKeyboard(e.keyboard,e.layout)),this.setKeyboard(e.keyboard);try{await this.changeKeyboard(this.keyboard),this.setLayout(e.layout),await this.$router.replace({path:`/${e.keyboard}/${e.layout}`}).catch(r=>{if(!Q(r,X.duplicated)&&!Q(r,X.cancelled))throw r}),await new Promise(r=>this.setLoadingKeymapPromise(r));const a=await this.load_converted_keymap(e.layers);let t=this.$t("statsTemplate",a);(a.warnings.length>0||a.errors.length>0)&&(t=`${t} +* Sorry there is no default for the ${this.keyboard} keyboard... yet!`),console.log("error loadDefault",t)}},async initializeKeyboards(){console.info(`initializeKeyboards: ${this.keyboard}`);let e="";if(this.$route.query){let r=this.$route.query.filter;o(r)||this.updateFilter(r)}this.keyboard?(e=this.keyboard,console.info(`Loading keyboard from store:${e}`)):e=this.keyboards[Oe(this.keyboards.length-1)],console.log(`_keyboard:${e}`);let{keyboardP:a,layoutP:t}=this.$route.params;Ue(a)&&a!==""&&a!==_e&&(e=a,this.firstRun=!1),this.setLayout(t),await this.updateKeyboard(e)},async updateKeyboard(e){this.firstRun&&(this.firstRun=!1),e!==this.keyboard&&Fe(),await this.changeKeyboard(e).then(this.postUpdateKeyboard)},favKeyboard(){this.keyboard===this.configuratorSettings.favoriteKeyboard?this.setFavoriteKeyboard(""):this.setFavoriteKeyboard(this.keyboard)},postUpdateKeyboard(){this.clearStatus(),this.$router.replace({path:`/${this.keyboard}/${this.layout}`}).catch(e=>{if(!K(e,F.duplicated)&&!K(e,F.cancelled))throw e}),this.viewReadme(this.keyboard)},updateLayout(e){const a=e.target?e.target.value:e;this.setLayout(a),this.$router.replace({path:`/${this.keyboard}/${this.layout}`}).catch(t=>{if(!K(t,F.duplicated)&&!K(t,F.cancelled))throw t})},compile(){let e=this.keymapName,a=this.exportKeymapName;e=e===""?a.slice(this.keyboard.length+1,a.length):e,Rt(this.keyboard,e,this.layout)},updateFilter(e){this.$store.commit("app/setFilter",e)},opened(){this.stopListening();const e=this.$refs.select;h.nextTick(()=>{const a=e.$el.querySelector(".vs__dropdown-menu .vs__dropdown-option--selected");if(a){var t=a.offsetTop-a.offsetHeight;e.typeAheadPointer=this.keyboards.indexOf(this.keyboard),e.$el.scrollTo(t>0?t:0,0)}})},focus(){this.stopListening()},blur(){this.startListening()}}},Y={};var It=p(Pt,Ut,At,!1,Mt,null,null,null);function Mt(e){for(let a in Y)this[a]=Y[a]}const Bt=function(){return It.exports}();var qt=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"status"}},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.message,expression:"message"}],ref:"terminal",class:e.terminalClasses,attrs:{id:"terminal",readonly:""},domProps:{value:e.message},on:{input:function(r){r.target.composing||(e.message=r.target.value)}}}),e._v(" "),t("label",{class:e.terminalClasses,attrs:{for:"toggle-terminal",id:"toggle-terminal-label"},on:{click:e.toggleTerminal}},[e._v(e._s(e.$t("toggleTerminal.label")))]),t("font-awesome-icon",{class:e.terminalClasses,attrs:{icon:"chevron-up",size:"lg","fixed-width":"",id:"toggle-terminal",title:e.$t("toggleTerminal.title")},on:{click:e.toggleTerminal}})],1)},Jt=[];const Vt={name:"status-panel",watch:{message(e,a){this.scrollToLatest&&e!==a&&(this.scrollViewportToEnd(),this.doneScroll())},compileDisabled(e){e===!0&&(this.isTerminalOpen=!0)}},methods:{...S(v,["doneScroll"]),scrollViewportToEnd(){let e=this.$refs.terminal;this.$nextTick(()=>{e.scrollTop=e.scrollHeight})},toggleTerminal(){this.isTerminalOpen=!this.isTerminalOpen}},computed:{...we(v,["message","scrollToLatest"]),...g("app",["compileDisabled"]),terminalClasses(){const e=[];return this.isTerminalOpen||e.push("collapsed"),e.join(" ")}},data:()=>({isTerminalOpen:!0})},H={};var Yt=p(Vt,qt,Jt,!1,Ht,null,null,null);function Ht(e){for(let a in H)this[a]=H[a]}const Wt=function(){return Yt.exports}();var Gt=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("button",{staticClass:"fixed-size",attrs:{id:"fwFile",title:e.$t("flashFirmware.title"),disabled:e.disableDownloadBinary},on:{click:e.autoFlashFirmware}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("flashFirmware.label"))+" ")],1),t("button",{staticClass:"fixed-size",attrs:{id:"fwFile",title:e.$t("flashFile.title"),disabled:e.disableFlashFile},on:{click:e.flashFirmware}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("flashFile.label"))+" ")],1)])},Qt=[];const Xt={name:"ElectronBottomControls",props:{disableDownloadBinary:{type:Boolean,required:!0,default:!0}},computed:{...g("app",["keyboard","firmwareBinaryURL","firmwareFile"]),disableFlashFile(){return!window.Bridge.enableFlashing},disableFlashSource(){return!window.Bridge.enableFlashing||o(this.firmwareBinaryURL)||this.firmwareBinaryURL===""}},methods:{flashFirmware(){window.Bridge.autoFlash=!1,window.Bridge.flashFile()},autoFlashFirmware(){window.Bridge.autoFlash=!0,window.Bridge.flashURL(_(this.firmwareBinaryURL),this.keyboard,this.firmwareFile)}}},W={};var Zt=p(Xt,Gt,Qt,!1,ea,null,null,null);function ea(e){for(let a in W)this[a]=W[a]}const ta=function(){return Zt.exports}(),aa={"2_milk":{target:"spaceman/2_milk"},"6ball":{target:"maple_computing/6ball"},"7skb/rev1":{target:"salicylic_acid3/7skb/rev1"},"7splus":{target:"salicylic_acid3/7splus"},absinthe:{target:"keyhive/absinthe"},acr60:{target:"mechkeys/acr60"},adalyn:{target:"tominabox1/adalyn"},"aeboards/ext65":{target:"aeboards/ext65/rev1"},"ai03/equinox":{target:"ai03/equinox/rev1"},ajisai74:{target:"salicylic_acid3/ajisai74"},aleth42:{target:"25keys/aleth42"},alice:{target:"tgr/alice"},alicia_cook:{target:"ibnuda/alicia_cook"},allison:{target:"prototypist/allison"},allison_numpad:{target:"prototypist/allison_numpad"},alu84:{target:"mechkeys/alu84"},amj40:{target:"amjkeyboard/amj40"},amj60:{target:"amjkeyboard/amj60"},amj96:{target:"amjkeyboard/amj96"},amjpad:{target:"amjkeyboard/amjpad"},angel17:{target:"angel17/alpha"},"angel17/alpha":{target:"kakunpc/angel17/alpha"},"angel17/rev1":{target:"kakunpc/angel17/rev1"},angel64:{target:"angel64/alpha"},"angel64/alpha":{target:"kakunpc/angel64/alpha"},"angel64/rev1":{target:"kakunpc/angel64/rev1"},aplx6:{target:"aplyard/aplx6/rev1"},arch_36:{target:"obosob/arch_36"},at101_bh:{target:"viktus/at101_bh"},at101_blackheart:{target:"at101_bh"},"atom47/rev2":{target:"maartenwut/atom47/rev2"},"atom47/rev3":{target:"maartenwut/atom47/rev3"},bakeneko60:{target:"kkatano/bakeneko60"},bakeneko65:{target:"bakeneko65/rev2"},"bakeneko65/rev2":{target:"kkatano/bakeneko65/rev2"},"bakeneko65/rev3":{target:"kkatano/bakeneko65/rev3"},bakeneko80:{target:"kkatano/bakeneko80"},barleycorn:{target:"yiancardesigns/barleycorn"},"bat43/rev1":{target:"dailycraft/bat43/rev1"},"bat43/rev2":{target:"dailycraft/bat43/rev2"},bear_65:{target:"jacky_studio/bear_65"},bear_face:{target:"bear_face/v1"},"bigseries/1key":{target:"woodkeys/bigseries/1key"},"bigseries/2key":{target:"woodkeys/bigseries/2key"},"bigseries/3key":{target:"woodkeys/bigseries/3key"},"bigseries/4key":{target:"woodkeys/bigseries/4key"},bkf:{target:"drhigsby/bkf"},bm16a:{target:"kprepublic/bm16a"},bm16s:{target:"kprepublic/bm16s"},bm40hsrgb:{target:"kprepublic/bm40hsrgb"},bm43a:{target:"kprepublic/bm43a"},bm60poker:{target:"kprepublic/bm60poker"},bm60rgb:{target:"kprepublic/bm60rgb"},bm60rgb_iso:{target:"kprepublic/bm60rgb_iso"},bm65iso:{target:"kprepublic/bm65iso"},bm68rgb:{target:"kprepublic/bm68rgb"},"bpiphany/pegasushoof":{target:"bpiphany/pegasushoof/2013"},"business_card/alpha":{target:"kakunpc/business_card/alpha"},"business_card/beta":{target:"kakunpc/business_card/beta"},butterstick:{target:"gboards/butterstick"},c39:{target:"maple_computing/c39"},"candybar/lefty":{target:"tkc/candybar/lefty"},"candybar/righty":{target:"tkc/candybar/righty"},canoe:{target:"percent/canoe"},cassette42:{target:"25keys/cassette42"},chavdai40:{target:"chavdai40/rev1"},chidori:{target:"kagizaraya/chidori"},chili:{target:"ydkb/chili"},chimera_ergo:{target:"glenpickle/chimera_ergo"},chimera_ls:{target:"glenpickle/chimera_ls"},chimera_ortho:{target:"glenpickle/chimera_ortho"},chimera_ortho_plus:{target:"glenpickle/chimera_ortho_plus"},choc_taro:{target:"kakunpc/choc_taro"},choco60:{target:"recompile_keys/choco60"},christmas_tree:{target:"maple_computing/christmas_tree"},"claw44/rev1":{target:"dailycraft/claw44/rev1"},"clawsome/gamebuddy":{target:"clawsome/gamebuddy/v1_0"},"cmm_studio/saka68":{target:"cmm_studio/saka68/solder"},cocoa40:{target:"recompile_keys/cocoa40"},comet46:{target:"satt/comet46"},cospad:{target:"kprepublic/cospad"},"crkbd/rev1/common":{target:"crkbd/rev1"},"crkbd/rev1/legacy":{target:"crkbd/rev1"},cu24:{target:"capsunlocked/cu24"},cu75:{target:"capsunlocked/cu75"},cu80:{target:"capsunlocked/cu80/v1"},daisy:{target:"ktec/daisy"},delilah:{target:"rainkeebs/delilah"},diverge3:{target:"unikeyboard/diverge3"},divergetm2:{target:"unikeyboard/divergetm2"},"doro67/multi":{layouts:{LAYOUT_ansi:"LAYOUT_65_ansi_blocker"}},"doro67/regular":{layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},"doro67/rgb":{layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},dozen0:{target:"yynmt/dozen0"},drakon:{target:"jagdpietr/drakon"},dubba175:{target:"drhigsby/dubba175"},dumbpad:{target:"dumbpad/v0x"},"durgod/k320":{target:"durgod/k3x0/k320/base"},"dztech/dz60rgb":{target:"dztech/dz60rgb/v1"},"dztech/dz60rgb_ansi":{target:"dztech/dz60rgb_ansi/v1"},"dztech/dz60rgb_wkl":{target:"dztech/dz60rgb_wkl/v1"},"dztech/dz65rgb":{target:"dztech/dz65rgb/v1"},"dztech/volcano660":{target:"ilumkb/volcano660"},eek:{target:"eek/silk_down"},eggman:{target:"qpockets/eggman"},ergo42:{target:"biacco42/ergo42"},ergoarrows:{target:"salicylic_acid3/ergoarrows"},"ergodash/mini":{target:"omkbd/ergodash/mini"},"ergodash/rev1":{target:"omkbd/ergodash/rev1"},ergodone:{target:"ktec/ergodone"},ergodox_ez:{target:"ergodox_ez/base"},ergodox_infinity:{target:"input_club/ergodox_infinity"},ergoinu:{target:"dm9records/ergoinu"},ergosaurus:{target:"keyhive/ergosaurus"},ergotaco:{target:"gboards/ergotaco"},espectro:{target:"mechkeys/espectro"},"exclusive/e85":{target:"exclusive/e85/hotswap"},felix:{target:"unikeyboard/felix"},four_banger:{target:"bpiphany/four_banger"},freyr:{target:"hnahkb/freyr"},function96:{target:"function96/v1"},geminate60:{target:"weirdo/geminate60"},georgi:{target:"gboards/georgi"},gergo:{target:"gboards/gergo"},getta25:{target:"salicylic_acid3/getta25"},gh60:{target:"gh60/revc"},gingham:{target:"yiancardesigns/gingham"},"gmmk/pro":{target:"gmmk/pro/ansi"},"gmmk/pro/ansi":{target:"gmmk/pro/rev1/ansi"},"gmmk/pro/iso":{target:"gmmk/pro/rev1/iso"},gurindam:{target:"ibnuda/gurindam"},halberd:{target:"kagizaraya/halberd"},"handwired/ferris":{target:"ferris/0_1"},"handwired/p1800fl":{target:"team0110/p1800fl"},"handwired/pill60":{target:"handwired/pill60/bluepill"},"hecomi/alpha":{target:"takashiski/hecomi/alpha"},"helix/pico/sc/back":{target:"helix/pico/sc"},"helix/pico/sc/under":{target:"helix/pico/sc"},"helix/rev2/back/oled":{target:"helix/rev2/back"},"helix/rev2/oled":{target:"helix/rev2"},"helix/rev2/oled/back":{target:"helix/rev2/back"},"helix/rev2/oled/under":{target:"helix/rev2/under"},"helix/rev2/sc/back":{target:"helix/rev2/sc"},"helix/rev2/sc/oled":{target:"helix/rev2/sc"},"helix/rev2/sc/oledback":{target:"helix/rev2/sc"},"helix/rev2/sc/oledunder":{target:"helix/rev2/sc"},"helix/rev2/sc/under":{target:"helix/rev2/sc"},"helix/rev2/under":{target:"helix/rev2/sc"},"helix/rev2/under/oled":{target:"helix/rev2/under"},hid_liber:{target:"bpiphany/hid_liber"},honeycomb:{target:"keyhive/honeycomb"},"id67/default_rgb":{target:"idobao/id67/default_rgb"},"id67/rgb":{target:"idobao/id67/rgb"},id80:{target:"idobao/id80/v1"},id87:{target:"idobao/id87/v1"},idb_60:{target:"idb/idb_60",layouts:{LAYOUT:"LAYOUT_all"}},idobo:{target:"idobao/id75/v1"},infinity60:{target:"input_club/infinity60"},"ivy/rev1":{target:"maple_computing/ivy/rev1"},jisplit89:{target:"salicylic_acid3/jisplit89"},jj40:{target:"kprepublic/jj40"},jj4x4:{target:"kprepublic/jj4x4"},jj50:{target:"kprepublic/jj50"},jnao:{target:"maple_computing/jnao"},jones:{target:"jones/v03_1"},just60:{target:"ydkb/just60"},k_type:{target:"input_club/k_type"},kagamidget:{target:"yynmt/kagamidget"},katana60:{target:"rominronin/katana60/rev1"},"kbdfans/kbd67/mkiirgb":{target:"kbdfans/kbd67/mkiirgb/v1"},"kbdfans/kbd67mkiirgb":{target:"kbdfans/kbd67/mkiirgb",layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},"keebio/dsp40":{target:"keebio/dsp40/rev1"},"kelowna/rgb64":{target:"weirdo/kelowna/rgb64"},"keycapsss/kimiko":{target:"keycapsss/kimiko/rev1"},"keycapsss/plaid_pad":{target:"keycapsss/plaid_pad/rev1"},"kprepublic/bm60poker":{target:"kprepublic/bm60hsrgb_poker/rev1"},"kprepublic/bm60rgb":{target:"kprepublic/bm60hsrgb/rev1"},"kprepublic/bm60rgb_iso":{target:"kprepublic/bm60hsrgb_iso/rev1"},"kprepublic/bm65hsrgb_iso":{target:"kprepublic/bm65hsrgb_iso/rev1"},"kprepublic/bm65iso":{target:"kprepublic/bm65hsrgb_iso"},"kprepublic/bm68hsrgb":{target:"kprepublic/bm68hsrgb/rev1"},"kprepublic/bm68rgb":{target:"kprepublic/bm68hsrgb"},"kprepublic/bm80":{target:"kprepublic/bm80hsrgb"},kudox:{target:"kudox/rev1"},"kyria/rev1":{target:"splitkb/kyria/rev1"},latin17rgb:{target:"latincompass/latin17rgb"},latin47ble:{target:"latincompass/latin47ble"},latin60rgb:{target:"latincompass/latin60rgb"},latin64ble:{target:"latincompass/latin64ble"},latin6rgb:{target:"latincompass/latin6rgb"},latinpad:{target:"latincompass/latinpad"},latinpadble:{target:"latincompass/latinpadble"},lattice60:{target:"keyhive/lattice60"},"launchpad/rev1":{target:"maple_computing/launchpad/rev1"},lck75:{target:"lyso1/lck75"},le_chiffre:{target:"tominabox1/le_chiffre"},lefishe:{target:"lyso1/lefishe"},"lets_split_eh/eh":{target:"maple_computing/lets_split_eh/eh"},"lfkeyboards/lfk78":{target:"lfkeyboards/lfk78/revj"},"lfkeyboards/smk65":{target:"lfkeyboards/smk65/revb"},ls_60:{target:"weirdo/ls_60"},m0lly:{target:"tkc/m0lly"},m3n3van:{target:"matthewdias/m3n3van"},"maartenwut/atom47/rev2":{target:"evyd13/atom47/rev2"},"maartenwut/atom47/rev3":{target:"evyd13/atom47/rev3"},"maartenwut/eon40":{target:"evyd13/eon40"},"maartenwut/eon65":{target:"evyd13/eon65"},"maartenwut/eon75":{target:"evyd13/eon75"},"maartenwut/eon87":{target:"evyd13/eon87"},"maartenwut/eon95":{target:"evyd13/eon95"},"maartenwut/gh80_1800":{target:"evyd13/gh80_1800"},"maartenwut/gh80_3700":{target:"evyd13/gh80_3700"},"maartenwut/minitomic":{target:"evyd13/minitomic"},"maartenwut/mx5160":{target:"evyd13/mx5160"},"maartenwut/nt660":{target:"evyd13/nt660"},"maartenwut/omrontkl":{target:"evyd13/omrontkl"},"maartenwut/plain60":{target:"evyd13/plain60"},"maartenwut/pockettype":{target:"evyd13/pockettype"},"maartenwut/quackfire":{target:"evyd13/quackfire"},"maartenwut/solheim68":{target:"evyd13/solheim68"},"maartenwut/ta65":{target:"evyd13/ta65"},"maartenwut/wasdat":{target:"evyd13/wasdat"},"maartenwut/wasdat_code":{target:"evyd13/wasdat_code"},"maartenwut/wonderland":{target:"evyd13/wonderland"},"mechlovin/adelais/rgb_led":{target:"mechlovin/adelais/rgb_led/rev1"},"mechlovin/adelais/standard_led":{target:"mechlovin/adelais/standard_led/rev2"},"mechlovin/delphine":{target:"mechlovin/delphine/mono_led"},"mechlovin/hannah60rgb":{target:"mechlovin/hannah60rgb/rev1"},"mechlovin/hannah65":{target:"mechlovin/hannah65/rev1"},"mechlovin/hannah65/mechlovin9":{target:"mechlovin/mechlovin9"},"mechlovin/hannah910":{target:"mechlovin/hannah910/rev1"},"mechmini/v1":{target:"mechkeys/mechmini/v1"},"mechmini/v2":{target:"mechkeys/mechmini/v2"},meira:{target:"woodkeys/meira"},meishi:{target:"biacco42/meishi"},meishi2:{target:"biacco42/meishi2"},"melgeek/z70ultra":{target:"melgeek/z70ultra/rev1"},melody96:{target:"ymdk/melody96"},"minidox/rev1":{target:"maple_computing/minidox/rev1"},minim:{target:"matthewdias/minim"},mio:{target:"recompile_keys/mio"},model01:{target:"keyboardio/model01"},model_v:{target:"matthewdias/model_v"},montex:{target:"idobao/montex/v1"},"montsinger/rebound":{target:"montsinger/rebound/rev1"},mt40:{target:"mt/mt40"},mt64rgb:{target:"mt/mt64rgb"},mt84:{target:"mt/mt84"},mt980:{target:"mt/mt980"},nafuda:{target:"salicylic_acid3/nafuda"},"naiping/np64":{target:"weirdo/naiping/np64"},"naiping/nphhkb":{target:"weirdo/naiping/nphhkb"},"naiping/npminila":{target:"weirdo/naiping/npminila"},naked48:{target:"salicylic_acid3/naked48"},naked60:{target:"salicylic_acid3/naked60"},naked64:{target:"salicylic_acid3/naked64"},namecard2x4:{target:"takashiski/namecard2x4"},"navi10/rev0":{target:"keyhive/navi10/rev0"},"navi10/rev2":{target:"keyhive/navi10/rev2"},"navi10/rev3":{target:"keyhive/navi10/rev3"},"nckiibs/flatbread60":{target:"delikeeb/flatbread60"},"nckiibs/vaguettelite":{target:"delikeeb/vaguettelite"},"nckiibs/vanana/rev1":{target:"delikeeb/vanana/rev1"},"nckiibs/vanana/rev2":{target:"delikeeb/vanana/rev2"},"nckiibs/vaneela":{target:"delikeeb/vaneela"},"nckiibs/vaneelaex":{target:"delikeeb/vaneelaex"},"nckiibs/waaffle/rev3/elite_c":{target:"delikeeb/waaffle/rev3/elite_c"},"nckiibs/waaffle/rev3/pro_micro":{target:"delikeeb/waaffle/rev3/pro_micro"},nebula12:{target:"spaceholdings/nebula12"},nebula68:{target:"spaceholdings/nebula68"},nebula68b:{target:"spaceholdings/nebula68b"},niu_mini:{target:"kbdfans/niu_mini"},nk1:{target:"novelkeys/nk1"},nk65:{target:"novelkeys/nk65"},nk87:{target:"novelkeys/nk87"},nknl7en:{target:"salicylic_acid3/nknl7en"},nknl7jp:{target:"salicylic_acid3/nknl7jp"},nomu30:{target:"recompile_keys/nomu30"},novelpad:{target:"novelkeys/novelpad"},"noxary/268_2":{layouts:{LAYOUT:"LAYOUT_65_ansi_blocker"}},oddball:{target:"oddball/v1"},ogurec:{target:"drhigsby/ogurec"},omnikey_bh:{target:"viktus/omnikey_bh"},omnikey_blackheart:{target:"omnikey_bh"},opus:{target:"keyhive/opus"},"otaku_split/rev0":{target:"takashiski/otaku_split/rev0"},"otaku_split/rev1":{target:"takashiski/otaku_split/rev1"},owl8:{target:"dailycraft/owl8"},"pabile/p20":{target:"pabile/p20/ver1"},packrat:{target:"drhigsby/packrat"},"pancake/feather":{target:"spaceman/pancake/feather"},"pancake/promicro":{target:"spaceman/pancake/promicro"},"peiorisboards/ixora":{target:"coarse/ixora"},"percent/canoe":{layouts:{LAYOUT_iso:"LAYOUT_65_iso_blocker"}},pistachio:{target:"rate/pistachio"},pistachio_mp:{target:"rate/pistachio_mp"},pistachio_pro:{target:"rate/pistachio_pro"},plaid:{target:"dm9records/plaid"},plain60:{target:"maartenwut/plain60"},plexus75:{target:"checkerboards/plexus75"},"ploopyco/trackball":{target:"ploopyco/trackball/rev1_005"},polilla:{target:"polilla/rev1"},"preonic/rev1":{layouts:{LAYOUT_preonic_grid:"LAYOUT_ortho_5x12"}},"preonic/rev2":{layouts:{LAYOUT_preonic_grid:"LAYOUT_ortho_5x12"}},"preonic/rev3":{layouts:{LAYOUT_preonic_grid:"LAYOUT_ortho_5x12"}},"primekb/prime_l":{target:"primekb/prime_l/v1"},"primekb/prime_l_v2":{target:"primekb/prime_l/v2"},"projectkb/alice":{target:"projectkb/alice/rev1"},pursuit40:{target:"checkerboards/pursuit40"},qaz:{target:"tominabox1/qaz"},quark:{target:"checkerboards/quark"},rabbit_capture_plan:{target:"kakunpc/rabbit_capture_plan"},rainkeeb:{target:"rainkeebs/rainkeeb"},"rama/koyu":{target:"wilba_tech/rama_works_koyu"},"rama/m10_b":{target:"wilba_tech/rama_works_m10_b"},"rama/m60_a":{target:"wilba_tech/rama_works_m60_a"},"rama/m6_a":{target:"wilba_tech/rama_works_m6_a"},"rama/m6_b":{target:"wilba_tech/rama_works_m6_b"},"rama/u80_a":{target:"wilba_tech/rama_works_u80_a"},"ramonimbao/herringbone":{target:"ramonimbao/herringbone/v1"},"redox/rev1":{target:"redox/rev1/base"},reviung33:{target:"reviung/reviung33"},reviung34:{target:"reviung/reviung34"},reviung39:{target:"reviung/reviung39"},reviung41:{target:"reviung/reviung41"},reviung5:{target:"reviung/reviung5"},reviung53:{target:"reviung/reviung53"},reviung61:{target:"reviung/reviung61"},"rgbkb/pan":{target:"rgbkb/pan/rev1/32a"},"rgbkb/pan/rev1":{target:"rgbkb/pan/rev1/32a"},romac:{target:"kingly_keys/romac"},ropro:{target:"kingly_keys/ropro"},"runner3680/3x6":{target:"omkbd/runner3680/3x6"},"runner3680/3x7":{target:"omkbd/runner3680/3x7"},"runner3680/3x8":{target:"omkbd/runner3680/3x8"},"runner3680/4x6":{target:"omkbd/runner3680/4x6"},"runner3680/4x7":{target:"omkbd/runner3680/4x7"},"runner3680/4x8":{target:"omkbd/runner3680/4x8"},"runner3680/5x6":{target:"omkbd/runner3680/5x6"},"runner3680/5x6_5x8":{target:"omkbd/runner3680/5x6_5x8"},"runner3680/5x7":{target:"omkbd/runner3680/5x7"},"runner3680/5x8":{target:"omkbd/runner3680/5x8"},"s7_elephant/rev1":{target:"jacky_studio/s7_elephant/rev1"},"s7_elephant/rev2":{target:"jacky_studio/s7_elephant/rev2"},satan:{target:"gh60/satan"},scarletbandana:{target:"woodkeys/scarletbandana"},scythe:{target:"kagizaraya/scythe"},seigaiha:{target:"yiancardesigns/seigaiha"},setta21:{target:"salicylic_acid3/setta21"},skog:{target:"percent/skog"},smallice:{target:"keyhive/smallice"},southpaw75:{target:"fr4/southpaw75"},southpole:{target:"keyhive/southpole"},"space_space/rev1":{target:"qpockets/space_space/rev1"},"space_space/rev2":{target:"qpockets/space_space/rev2"},speedo:{target:"cozykeys/speedo/v2"},"spiderisland/winry25tc":{target:"winry/winry25tc"},splitreus62:{target:"nacly/splitreus62"},"squiggle/rev1":{target:"ibnuda/squiggle/rev1"},standaside:{target:"edi/standaside"},staryu:{target:"ktec/staryu"},steal_this_keyboard:{target:"obosob/steal_this_keyboard"},stella:{target:"hnahkb/stella"},stoutgat:{target:"tkw/stoutgat/v1"},suihankey:{target:"suihankey/split/alpha"},"suihankey/alpha":{target:"kakunpc/suihankey/alpha"},"suihankey/rev1":{target:"kakunpc/suihankey/rev1"},"suihankey/split":{target:"kakunpc/suihankey/split"},ta65:{target:"maartenwut/ta65"},tartan:{target:"dm9records/tartan"},the_ruler:{target:"maple_computing/the_ruler"},thedogkeyboard:{target:"kakunpc/thedogkeyboard"},tiger910:{target:"weirdo/tiger910"},tkc1800:{target:"tkc/tkc1800"},"tkw/stoutgat/v2":{target:"tkw/stoutgat/v2/f411"},tokyo60:{target:"tokyokeyboard/tokyo60"},treadstone32:{target:"marksard/treadstone32"},"treadstone48/rev1":{target:"marksard/treadstone48/rev1"},"treadstone48/rev2":{target:"marksard/treadstone48/rev2"},txuu:{target:"matthewdias/txuu"},ua62:{target:"nacly/ua62"},underscore33:{target:"underscore33/rev1"},"underscore33/rev1":{target:"tominabox1/underscore33/rev1"},"underscore33/rev2":{target:"tominabox1/underscore33/rev2"},uno:{target:"keyhive/uno"},ut472:{target:"keyhive/ut472"},vinta:{target:"coarse/vinta",layouts:{LAYOUT_67_ansi:"LAYOUT_65_ansi_blocker"}},vn66:{target:"hnahkb/vn66"},wallaby:{target:"kkatano/wallaby"},wanten:{target:"qpockets/wanten"},wasdat:{target:"maartenwut/wasdat"},"westfoxtrot/cypher":{target:"westfoxtrot/cypher/rev1"},"whale/sk":{target:"whale/sk/v3"},"wheatfield/blocked65":{target:"mt/blocked65"},"wheatfield/split75":{target:"mt/split75"},whitefox:{target:"input_club/whitefox"},"wings42/rev1":{target:"dailycraft/wings42/rev1"},"wings42/rev1_extkeys":{target:"dailycraft/wings42/rev1_extkeys"},"wings42/rev2":{target:"dailycraft/wings42/rev2"},xd002:{target:"xiudi/xd002"},"xd004/v1":{target:"xiudi/xd004/v1"},"xd60/rev2":{target:"xiudi/xd60/rev2"},"xd60/rev3":{target:"xiudi/xd60/rev3"},xd68:{target:"xiudi/xd68"},xd75:{target:"xiudi/xd75"},xd84:{target:"xiudi/xd84"},xd84pro:{target:"xiudi/xd84pro"},xd87:{target:"xiudi/xd87"},xd96:{target:"xiudi/xd96"},"xelus/dawn60":{target:"xelus/dawn60/rev1"},"xelus/valor":{target:"xelus/valor/rev1"},yasui:{target:"rainkeebs/yasui"},yd60mq:{target:"ymdk/yd60mq"},yd68:{target:"ydkb/yd68"},ymd75:{target:"ymdk/ymd75"},ymd96:{target:"ymdk/ymd96"},ymdk_np21:{target:"ymdk/np21"},yurei:{target:"kkatano/yurei"},z150_bh:{target:"viktus/z150_bh"},z150_blackheart:{target:"z150_bh"},zeal60:{target:"wilba_tech/zeal60"},zeal65:{target:"wilba_tech/zeal65"},zinc:{target:"25keys/zinc"},"zinc/rev1":{target:"25keys/zinc/rev1"},"zinc/reva":{target:"25keys/zinc/reva"}},G={lookup:aa};var ra=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"botctrl",attrs:{id:"controller-bottom"}},[t("VeilComponent",{attrs:{"is-visible":e.isVeilOpened},scopedSlots:e._u([{key:"contents",fn:function(){return[t("div",{staticClass:"input-url-modal"},[t("div",[t("label",{attrs:{for:"url-import-field"}},[e._v("Url:")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.urlImport,expression:"urlImport"}],ref:"urlimport",attrs:{id:"url-import-field",type:"text"},domProps:{value:e.urlImport},on:{input:function(r){r.target.composing||(e.urlImport=r.target.value)}}})]),t("div",[t("button",{on:{click:e.importUrlkeymap}},[e._v("Load")]),t("button",{on:{click:e.closeVeil}},[e._v("cancel")])])])]},proxy:!0}])}),t("div",{staticClass:"botctrl-1-1"},[t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("downloadJSON.title"),expression:"$t('downloadJSON.title')",modifiers:{bottom:!0}}],attrs:{id:"export"},on:{click:e.exportJSON}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}})],1),t("span",{staticClass:"label-button"},[e._v(e._s(e.$t("downloadJSON.label")))]),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("importJSON.title"),expression:"$t('importJSON.title')",modifiers:{bottom:!0}}],attrs:{id:"import"},on:{click:e.importKeymap}},[t("font-awesome-icon",{attrs:{icon:"upload",size:"lg","fixed-width":""}})],1),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("importUrlJSON.title"),expression:"$t('importUrlJSON.title')",modifiers:{bottom:!0}}],attrs:{id:"import-url"},on:{click:e.openVeil}},[t("font-awesome-icon",{attrs:{icon:"cloud-upload-alt",size:"lg","fixed-width":""}})],1),t("a",{staticClass:"button-padding",attrs:{rel:"noopener",target:"_blank",href:e.configuratorDocsURL}},[t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("keymapHelp.title"),expression:"$t('keymapHelp.title')",modifiers:{bottom:!0}}],staticClass:"ui-button",attrs:{id:"keymapHelp"}},[t("font-awesome-icon",{attrs:{icon:"question-circle",size:"lg","fixed-width":""}}),t("span",{staticClass:"hide-small"},[e._v(e._s(e.$t("keymapHelp.label")))])],1)]),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("printKeymap.title"),expression:"$t('printKeymap.title')",modifiers:{bottom:!0}}],attrs:{id:"printkeymaps"},on:{click:e.printKeymaps}},[t("font-awesome-icon",{attrs:{icon:"print",size:"lg","fixed-width":""}}),t("span",{staticClass:"hide-small"},[e._v(e._s(e.$t("printKeymap.label")))])],1),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip.bottom",value:e.$t("testKeys.title"),expression:"$t('testKeys.title')",modifiers:{bottom:!0}}],attrs:{id:"testkeys"},on:{click:e.testKeys}},[t("font-awesome-icon",{attrs:{icon:"keyboard",size:"lg","fixed-width":""}}),t("span",{staticClass:"hide-small"},[e._v(e._s(e.$t("testKeys.label")))])],1),t("input",{ref:"fileImportElement",attrs:{id:"fileImport",type:"file",accept:"application/json"},on:{change:e.fileImportChanged}}),t("input",{ref:"infoPreviewElement",attrs:{id:"infoPreview",type:"file",accept:"application/json"},on:{change:e.infoPreviewChanged}})]),e.electron?t("div",{staticClass:"botctrl-1-2"},[t("ElectronBottomControls",{attrs:{"disable-download-binary":e.disableDownloadBinary}})],1):t("div",{staticClass:"botctrl-1-2"},[t("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("downloadSource.title"),expression:"$t('downloadSource.title')"}],staticClass:"fixed-size",attrs:{id:"source",disabled:e.disableDownloadSource},on:{click:e.downloadSource}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("downloadSource.label"))+" ")],1),t("button",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("downloadFirmware.title"),expression:"$t('downloadFirmware.title')"}],attrs:{id:"fwFile",disabled:e.disableDownloadBinary},on:{click:e.downloadFirmware}},[t("font-awesome-icon",{attrs:{icon:"download",size:"lg","fixed-width":""}}),e._v(" "+e._s(e.$t("downloadFirmware.label"))+" ")],1)]),e.downloadElementEnabled?t("div",[t("a",{ref:"downloadElement",attrs:{href:e.urlEncodedData,download:e.filename}})]):e._e()],1)},ia=[];const{isNavigationFailure:Q,NavigationFailureType:X}=ke,sa="data:application/json;charset=utf-8,",na={name:"BottomController",components:{ElectronBottomControls:ta},data:()=>({isVeilOpened:!1,downloadElementEnabled:!1,urlEncodedData:"",filename:"",urlImport:"",reader:void 0}),computed:{...g("keymap",["templates"]),...g("app",["keyboard","layout","previewRequested","enableDownloads","firmwareBinaryURL","firmwareSourceURL","keymapSourceURL","author","notes","electron"]),...f("app",["exportKeymapName","firmwareFile"]),...f("keymap",["isDirty","exportLayers"]),disableDownloadKeymap(){return!this.enableDownloads&&this.keymapSourceURL!==""},disableDownloadSource(){return!this.enableDownloads&&this.firmwareSourceURL!==""},disableDownloadBinary(){return!this.enableDownloads||o(this.firmwareBinaryURL)||this.firmwareBinaryURL===""},configuratorDocsURL(){return"https://docs.qmk.fm/configurator_troubleshooting"}},watch:{previewRequested(e){e&&(this.$refs.infoPreviewElement.click(),window.setTimeout(()=>this.dismissPreview()))}},methods:{...u("app",["dismissPreview","enablePreview","setAuthor","setKeyboard","setKeymapName","setLayout","setNotes","startListening","stopListening"]),...u("keymap",["setLoadingKeymapPromise","setDirty","clear"]),...u("keymap",{clearKeymap:"clear"}),...w("app",["changeKeyboard","loadKeymapFromUrl","loadLayouts"]),...w("keymap",["load_converted_keymap"]),...S(v,["viewReadme","setDeferredMessage","append","clearStatus"]),async importUrlkeymap(){try{const e=await this.loadKeymapFromUrl(this.urlImport);await this.loadJsonData(e)}catch(e){alert("Seems like there is an issue trying to get the file"),console.error(e)}this.closeVeil()},openVeil(){this.isVeilOpened=!0,this.stopListening(),h.nextTick(()=>{this.$refs.urlimport.focus()})},closeVeil(){this.startListening(),this.urlImport="",this.isVeilOpened=!1},exportJSON(){let e=this.exportLayers({compiler:!1});const{keymap:a}=this.templates;let t=Object.assign(a,{keyboard:this.keyboard,keymap:this.exportKeymapName,layout:this.layout,layers:e,author:this.author,notes:this.notes});this.download(`${this.exportKeymapName}.json`,JSON.stringify(t,null,2))},download(e,a){this.urlEncodedData=sa+encodeURIComponent(a),this.filename=e,this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},downloadFirmware(){this.urlEncodedData=_(this.firmwareBinaryURL),this.filename=this.firmwareFile,this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},downloadSource(){this.urlEncodedData=_(this.firmwareSourceURL),this.filename="source.zip",this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},downloadKeymap(){this.urlEncodedData=_(this.keymapSourceURL),this.filename="source.zip",this.downloadElementEnabled=!0,h.nextTick(()=>{this.$refs.downloadElement.click(),this.downloadElementEnabled=!1})},importKeymap(){if(this.isDirty&&!confirm(j({action:"change keyboard and layout"})))return!1;this.$refs.fileImportElement.click()},fileImportChanged(){var e=this.$refs.fileImportElement.files;this.reader=new FileReader,this.reader.onload=this.importJSONOnLoad,this.reader.readAsText(_(e)),this.$refs.fileImportElement.value=""},remapKeyboard(e,a,t=0){let r=!1;if(t>10)console.warn(`possible remap loop detected with ${e}:${a}`);else if(!o(G.lookup[e])){const{target:i,layouts:s}=G.lookup[e];o(i)||(e=i,r=!0),!o(s)&&!o(s[a])&&(a=s[a],r=!0)}return r?this.remapKeyboard(e,a,++t):{keyboard:e,layout:a}},async loadJsonData(e){if(e.version&&e.keyboard&&e.keyboard.settings){alert(this.$t("errors.kbfirmwareJSONUnsupported"));return}if(Ae(e)){alert(this.$t("errors.unknownJSON"));return}if(!o(e.author)){const{author:a,notes:t}=e;this.setAuthor(a),this.setNotes(t)}e=Object.assign(e,this.remapKeyboard(e.keyboard,e.layout)),this.setKeyboard(e.keyboard);try{await this.changeKeyboard(this.keyboard),this.setLayout(e.layout),await this.$router.replace({path:`/${e.keyboard}/${e.layout}`}).catch(r=>{if(!Q(r,X.duplicated)&&!Q(r,X.cancelled))throw r}),await new Promise(r=>this.setLoadingKeymapPromise(r));const a=await this.load_converted_keymap(e.layers);let t=this.$t("statsTemplate",a);(a.warnings.length>0||a.errors.length>0)&&(t=`${t} ${a.warnings.join(` `)}`,t=`${t} ${a.errors.join(` @@ -24,4 +24,4 @@ ${a.errors.join(` WARNING: layout ${e} does not exist on this keyboard `;console.log(r),this.append(r),this.scrollToEnd();return}const t=a.reduce((r,i)=>{let s=Object.assign({w:1,h:1},i);const n=this.calcKeyKeymapPos(s.x,s.y),l=this.calcKeyKeymapDims(s.w,s.h);return r.x=Math.max(r.x,n.x+l.w),r.y=Math.max(r.y,n.y+l.h),r},{x:0,y:0});t.x>this.defaults.MAX_X&&(this.resizeConfig(t),t.x*=this.config.SCALE,t.y*=this.config.SCALE),this.setSize(t),this.profile&&console.timeEnd("layout::scale")}}},oe={};var Ba=p(Ma,Pa,Ia,!1,qa,null,null,null);function qa(e){for(let a in oe)this[a]=oe[a]}const Ja=function(){return Ba.exports}();var Va=Math.ceil,Ya=Math.max;function Ha(e,a,t,r){for(var i=-1,s=Ya(Va((a-e)/(t||1)),0),n=Array(s);s--;)n[r?s:++i]=e,e+=t;return n}var Wa=Ha,Ga=Wa,Qa=Be,R=qe;function Xa(e){return function(a,t,r){return r&&typeof r!="number"&&Qa(a,t,r)&&(t=r=void 0),a=R(a),t===void 0?(t=a,a=0):t=R(t),r=r===void 0?a{let t=[a],r=this.getLayer(a);return o(r)||t.push("non-empty"),this.layer==a&&t.push("active"),{id:a,name:a,clazz:t.join(" ")}})},defaultClearLayerCode(){return this.configuratorSettings.clearLayerDefault?"KC_TRNS":"KC_NO"}},methods:{...u("keymap",["changeLayer","initLayer"]),clicked(e){o(this.getLayer(e))&&this.initLayer({layer:e,code:this.defaultClearLayerCode}),this.changeLayer(e)},clearLayer(){confirm(this.$t("layer.confirm"))&&(this.initLayer({layer:this.layer,code:this.defaultClearLayerCode}),this.$store.commit("keymap/setDirty"))}}},le={};var or=p(nr,ir,sr,!1,lr,null,null,null);function lr(e){for(let a in le)this[a]=le[a]}const cr=function(){return or.exports}();var dr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("div",{ref:"console"},[e.appInitialized?t("controllerTop"):e._e(),t("statusPanel"),t("controllerBottom")],1),t("div",{staticClass:"hint hint-right"},[t("a",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("downloadToolbox.label"),expression:"$t('downloadToolbox.label')"}],attrs:{href:"https://github.com/qmk/qmk_toolbox/releases",target:"_blank",rel:"noopener"}},[e._v(e._s(e.$t("downloadToolbox.label")))])]),t("div",{staticClass:"split-content"},[t("div",{staticClass:"left-side"},[t("layerControl")],1),t("div",{staticClass:"right-side"},[t("div",{staticClass:"keymap--area"},[t("label",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("ColorwayTip.title"),expression:"$t('ColorwayTip.title')"}],staticClass:"keymap--label"},[e._v(" "+e._s(e.$t("keymap.label"))+": "),e.continuousInput?t("font-awesome-icon",{attrs:{icon:"keyboard","fixed-width":""}}):e._e()],1),e._v("   "),t("select",{directives:[{name:"model",rawName:"v-model",value:e.curIndex,expression:"curIndex"}],staticClass:"keymap--keyset",attrs:{id:"colorway-select"},on:{focus:e.focus,blur:e.blur,change:function(r){var i=Array.prototype.filter.call(r.target.options,function(s){return s.selected}).map(function(s){var n="_value"in s?s._value:s.value;return n});e.curIndex=r.target.multiple?i:i[0]}}},e._l(e.displayColorways,function(r,i){return t("option",{key:i,staticClass:"option",domProps:{value:i}},[e._v(" "+e._s(r)+" ")])}),0),t("a",{directives:[{name:"tooltip",rawName:"v-tooltip",value:e.$t("favoriteColor"),expression:"$t('favoriteColor')"}],class:{active:e.isFavoriteColor},attrs:{id:"favorite-colorway"},on:{click:e.favColor}},[t("font-awesome-icon",{attrs:{icon:"star",size:"lg","fixed-width":""}})],1)]),t("visualKeymap",{attrs:{profile:!1}}),t("span",{staticClass:"keymap--count"},[t("span",{staticClass:"keymap--counter"},[e._v(e._s(e.keyCount))]),e._v("Keys")])],1)])])},ur=[];const pr={name:"MainComponent",props:{},components:{ControllerTop:Bt,StatusPanel:Wt,ControllerBottom:ca,VisualKeymap:Ja,LayerControl:cr},computed:{...g("app",["appInitialized","configuratorSettings"]),...f("app",["keyCount"]),...g("keymap",["continuousInput"]),...f("keymap",["colorwayIndex","colorways","size"]),curIndex:{get(){return this.colorwayIndex},set(e){this.nextColorway(e)}},displayColorways(){return this.colorways.map(e=>e.replace(/-/g," ").split(" ").map(a=>Dt(a)).join(" ").replace(/Gmk/,"GMK").replace(/^Sa/,"SA").replace(/^Dsa/,"DSA").replace(/^Jtk/,"JTK").replace(/Kat/,"KAT").replace(/Wob/,"WOB").replace(/Ta/,"TA").replace(/Mt3/,"MT3").replace(/Dcs/,"DCS").replace(/Dev Tty/,"/dev/tty").replace(/ ?Plus/g,"+").replace(/ ?Dot ?/g,".").replace(/Ascii/,"ASCII"))},redditPost(){return"https://www.reddit.com/r/MechanicalKeyboards/comments/aio97b/qmk_configurator_updates_beta_need_your_input/"},isFavoriteColor(){return this.configuratorSettings.favoriteColor&&this.displayColorways[this.curIndex].toLowerCase()===this.configuratorSettings.favoriteColor.toLowerCase()}},methods:{...w("app",["setFavoriteColor","initKeypressListener"]),...u("keymap",["nextColorway"]),...u("app",["resetListener","stopListening","startListening"]),favColor(){this.isFavoriteColor?this.setFavoriteColor(""):this.setFavoriteColor(this.displayColorways[this.curIndex])},focus(){this.stopListening()},blur(){this.startListening()}},async mounted(){if(await this.initKeypressListener(),this.configuratorSettings.favoriteColor){const e=this.configuratorSettings.favoriteColor.toLowerCase();this.curIndex=this.displayColorways.findIndex(a=>a.toLowerCase()===e)}},beforeDestroy(){this.resetListener()}},ce={};var mr=p(pr,dr,ur,!1,gr,null,null,null);function gr(e){for(let a in ce)this[a]=ce[a]}const hr=function(){return mr.exports}();var yr=Je,vr=function(){return yr.Date.now()},fr=vr,br=Ve,O=fr,de=Ye,_r="Expected a function",kr=Math.max,wr=Math.min;function xr(e,a,t){var r,i,s,n,l,m,b=0,M=!1,x=!1,N=!0;if(typeof e!="function")throw new TypeError(_r);a=de(a)||0,br(t)&&(M=!!t.leading,x="maxWait"in t,s=x?kr(de(t.maxWait)||0,a):s,N="trailing"in t?!!t.trailing:N);function E(d){var y=r,$=i;return r=i=void 0,b=d,n=e.apply($,y),n}function Ne(d){return b=d,l=setTimeout(T,a),M?E(d):n}function Ee(d){var y=d-m,$=d-b,J=a-y;return x?wr(J,s-$):J}function B(d){var y=d-m,$=d-b;return m===void 0||y>=a||y<0||x&&$>=s}function T(){var d=O();if(B(d))return q(d);l=setTimeout(T,Ee(d))}function q(d){return l=void 0,N&&r?E(d):(r=i=void 0,n)}function De(){l!==void 0&&clearTimeout(l),b=0,r=m=i=l=void 0}function ze(){return l===void 0?n:q(O())}function D(){var d=O(),y=B(d);if(r=arguments,i=this,m=d,y){if(l===void 0)return Ne(m);if(x)return clearTimeout(l),l=setTimeout(T,a),E(m)}return l===void 0&&(l=setTimeout(T,a)),n}return D.cancel=De,D.flush=ze,D}var $r=xr;const Cr=L($r);var Lr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"keycode ui-draggable ui-draggable-handle",class:e.computedClass,style:e.computedStyles,attrs:{draggable:"","data-type":e.type,"data-code":e.code},on:{drag:e.drag,dragstart:e.dragstart,dragend:e.dragend,click:e.clicked,mouseenter:function(r){return e.$emit("mouseenter")},mouseleave:function(r){return e.$emit("mouseleave")}}},[e._v(e._s(e.displayName))])},Sr=[];const Tr={name:"keycode-component",props:{type:String,code:String,title:String,width:null,name:String,classes:String,styles:Object,layer:Number},computed:{computedStyles(){return this.styles?this.styles:""},computedClass(){let e=[];return o(this.width)||e.push(`keycode-${this.width}`),o(this.type)||e.push(`keycode-${this.type}`),this.dragging&&e.push("dragging"),this.classes&&e.push(this.classes),e.join(" ")},displayName(){return this.name},displayTitle(){return this.title?`${this.code} -${this.title}`:this.code}},data(){return{dragging:!1,crt:void 0,hidden:void 0}},methods:{dragend(){this.dragging=!1,this.hidden.removeChild(this.crt)},drag(){},dragstart(e){this.crt=this.$el.cloneNode(!0),this.hidden.appendChild(this.crt),e.dataTransfer.setDragImage(this.crt,0,0),this.dragging=!0;let{name:a,code:t,type:r,layer:i}=this;e.dropEffect="copy",e.dataTransfer.dropEffect="move",e.dataTransfer.setData("application/json",JSON.stringify({name:a,type:r,code:t,layer:i}))},clicked(){this.$store.commit("keymap/setKeycode",{_code:this.code,layer:this.layer})}},mounted(){this.hidden=document.getElementsByClassName("qmk-hidden-drag-n-drop")[0]}},ue={};var Kr=p(Tr,Lr,Sr,!1,Fr,null,null,null);function Fr(e){for(let a in ue)this[a]=ue[a]}const pe=function(){return Kr.exports}();var jr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"space",class:e.computedClass,attrs:{title:e.label},on:{mouseenter:function(r){return e.$emit("mouseenter")}}},[e._v(" "+e._s(e.label)+"  "),e.icon?t("span",{class:e.iconClass},[t("font-awesome-icon",{attrs:{icon:e.icon,"fixed-width":""}})],1):e._e()])},Nr=[];const Er={name:"space-component",props:{label:String,width:null,icon:{type:String,default:""},iconClass:{type:String,default:""}},computed:{computedClass(){let e=[];return o(this.width)||e.push(`space-${this.width}`),e}},data(){return{}}},me={};var Dr=p(Er,jr,Nr,!1,zr,null,null,null);function zr(e){for(let a in me)this[a]=me[a]}const ge=function(){return Dr.exports}();var Rr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"keycodes-section"}},[t("div",{staticStyle:{"text-align":"left","margin-left":"10px"}},[t("p",[t("label",[e._v(e._s(e.$t("keycodes.label"))+":")]),t("span",{staticClass:"hint"},[t("a",{attrs:{href:"https://docs.qmk.fm/#/keycodes",title:e.$t("keycodesRef.label"),target:"_blank",rel:"noopener"}},[e._v(e._s(e.$t("keycodesRef.label")))])])])]),t("div",{attrs:{id:"keycodes"}},[t("div",{staticClass:"tabs"},[e._l(e.keycodesByGroup,function(r,i){return t("span",{key:i,staticClass:"tab",class:e.classes(i),attrs:{title:e.$t("keycodesTab."+i+".label")},on:{click:function(s){return e.changeActive(i)}}},[e._v(e._s(e.$t("keycodesTab."+i+".label"))),e.searchFilter!==""?t("span",[e._v("("+e._s(e.searchCounters[i])+")")]):e._e()])}),t("span",{staticClass:"end-tab"},[t("font-awesome-icon",{staticClass:"keycode-search-icon",attrs:{icon:"search"}}),t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchFilter_,expression:"searchFilter_"}],attrs:{type:"text",placeholder:e.$t("searchKeycodes"),autocomplete:"off",spellcheck:"false"},domProps:{value:e.searchFilter_},on:{focus:e.stopListening,blur:e.startListening,input:function(r){r.target.composing||(e.searchFilter_=r.target.value)}}})],1)],2),t("div",{staticClass:"tab-area"},[e._l(e.activeTab,function(r,i){return[t(e.getComponent(r.code),e._b({key:i,tag:"component",class:e.filterClass(r),on:{mouseenter:function(s){return e.message(r)}}},"component",r,!1))]})],2)])])},Or=[];const Ur={name:"keycodes-component",components:{Keycode:pe,Space:ge},props:{},data(){return{clearTimeout:void 0}},mounted(){this.debouncedSetSearchFilter=Cr(this.setSearchFilter,500)},computed:{...we(V,["keycodes","searchFilter","searchCounters","active"]),...g("app",["configuratorSettings"]),activeTab(){return this.keycodesByGroup[this.active]},keycodesByGroup(){let e=this.keycodes.reduce((a,t)=>(t.group?(a[t.label]=[],a.current=t.label):a[a.current].push(t),a),{});return delete e.current,e},searchFilter_:{get(){return this.searchFilter},set(e){this.debouncedSetSearchFilter(e)}}},methods:{...u("app",["setMessage","stopListening","startListening"]),...S(V,["setSearchFilter","changeActive"]),getComponent(e){return o(e)?ge:pe},classes(e){let a=[];return e===this.active&&a.push("active"),a.join(" ")},message(e){let a="";o(e.code)?a=e.title?e.title:"":a=e.title?`${e.code} - ${e.title}`:e.code,this.setMessage(a),this.messageClear()},messageClear(){this.clearTimeout&&window.clearTimeout(this.clearTimeout),this.clearTimeout=window.setTimeout(()=>{c.commit("app/setMessage","")},3e3)},filterClass(e){if(this.searchFilter===""||o(e.code))return"";const a=this.searchFilter_.toUpperCase();if(!e.code.includes(a)&&!(e.name&&e.name.toUpperCase().includes(a))&&!(e.title&&e.title.toUpperCase().includes(a)))return"desaturated"}}},he={};var Ar=p(Ur,Rr,Or,!1,Pr,null,null,null);function Pr(e){for(let a in he)this[a]=he[a]}const Ir=function(){return Ar.exports}();var Mr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("div",{staticClass:"main"},[t("MainComponent")],1),t("div",[t("keycodes")],1)])},Br=[];const qr={name:"configurator-component",components:{MainComponent:hr,Keycodes:Ir},methods:{}},ye={};var Jr=p(qr,Mr,Br,!1,Vr,null,null,null);function Vr(e){for(let a in ye)this[a]=ye[a]}const Wr=function(){return Jr.exports}();export{Wr as default}; +${this.title}`:this.code}},data(){return{dragging:!1,crt:void 0,hidden:void 0}},methods:{dragend(){this.dragging=!1,this.hidden.removeChild(this.crt)},drag(){},dragstart(e){this.crt=this.$el.cloneNode(!0),this.hidden.appendChild(this.crt),e.dataTransfer.setDragImage(this.crt,0,0),this.dragging=!0;let{name:a,code:t,type:r,layer:i}=this;e.dropEffect="copy",e.dataTransfer.dropEffect="move",e.dataTransfer.setData("application/json",JSON.stringify({name:a,type:r,code:t,layer:i}))},clicked(){this.$store.commit("keymap/setKeycode",{_code:this.code,layer:this.layer})}},mounted(){this.hidden=document.getElementsByClassName("qmk-hidden-drag-n-drop")[0]}},ue={};var Kr=p(Tr,Lr,Sr,!1,Fr,null,null,null);function Fr(e){for(let a in ue)this[a]=ue[a]}const pe=function(){return Kr.exports}();var jr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"space",class:e.computedClass,attrs:{title:e.label},on:{mouseenter:function(r){return e.$emit("mouseenter")}}},[e._v(" "+e._s(e.label)+"  "),e.icon?t("span",{class:e.iconClass},[t("font-awesome-icon",{attrs:{icon:e.icon,"fixed-width":""}})],1):e._e()])},Nr=[];const Er={name:"space-component",props:{label:String,width:null,icon:{type:String,default:""},iconClass:{type:String,default:""}},computed:{computedClass(){let e=[];return o(this.width)||e.push(`space-${this.width}`),e}},data(){return{}}},me={};var Dr=p(Er,jr,Nr,!1,zr,null,null,null);function zr(e){for(let a in me)this[a]=me[a]}const ge=function(){return Dr.exports}();var Rr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{attrs:{id:"keycodes-section"}},[t("div",{staticStyle:{"text-align":"left","margin-left":"10px"}},[t("p",[t("label",[e._v(e._s(e.$t("keycodes.label"))+":")]),t("span",{staticClass:"hint"},[t("a",{attrs:{href:"https://docs.qmk.fm/keycodes",title:e.$t("keycodesRef.label"),target:"_blank",rel:"noopener"}},[e._v(e._s(e.$t("keycodesRef.label")))])])])]),t("div",{attrs:{id:"keycodes"}},[t("div",{staticClass:"tabs"},[e._l(e.keycodesByGroup,function(r,i){return t("span",{key:i,staticClass:"tab",class:e.classes(i),attrs:{title:e.$t("keycodesTab."+i+".label")},on:{click:function(s){return e.changeActive(i)}}},[e._v(e._s(e.$t("keycodesTab."+i+".label"))),e.searchFilter!==""?t("span",[e._v("("+e._s(e.searchCounters[i])+")")]):e._e()])}),t("span",{staticClass:"end-tab"},[t("font-awesome-icon",{staticClass:"keycode-search-icon",attrs:{icon:"search"}}),t("input",{directives:[{name:"model",rawName:"v-model",value:e.searchFilter_,expression:"searchFilter_"}],attrs:{type:"text",placeholder:e.$t("searchKeycodes"),autocomplete:"off",spellcheck:"false"},domProps:{value:e.searchFilter_},on:{focus:e.stopListening,blur:e.startListening,input:function(r){r.target.composing||(e.searchFilter_=r.target.value)}}})],1)],2),t("div",{staticClass:"tab-area"},[e._l(e.activeTab,function(r,i){return[t(e.getComponent(r.code),e._b({key:i,tag:"component",class:e.filterClass(r),on:{mouseenter:function(s){return e.message(r)}}},"component",r,!1))]})],2)])])},Or=[];const Ur={name:"keycodes-component",components:{Keycode:pe,Space:ge},props:{},data(){return{clearTimeout:void 0}},mounted(){this.debouncedSetSearchFilter=Cr(this.setSearchFilter,500)},computed:{...we(V,["keycodes","searchFilter","searchCounters","active"]),...g("app",["configuratorSettings"]),activeTab(){return this.keycodesByGroup[this.active]},keycodesByGroup(){let e=this.keycodes.reduce((a,t)=>(t.group?(a[t.label]=[],a.current=t.label):a[a.current].push(t),a),{});return delete e.current,e},searchFilter_:{get(){return this.searchFilter},set(e){this.debouncedSetSearchFilter(e)}}},methods:{...u("app",["setMessage","stopListening","startListening"]),...S(V,["setSearchFilter","changeActive"]),getComponent(e){return o(e)?ge:pe},classes(e){let a=[];return e===this.active&&a.push("active"),a.join(" ")},message(e){let a="";o(e.code)?a=e.title?e.title:"":a=e.title?`${e.code} - ${e.title}`:e.code,this.setMessage(a),this.messageClear()},messageClear(){this.clearTimeout&&window.clearTimeout(this.clearTimeout),this.clearTimeout=window.setTimeout(()=>{c.commit("app/setMessage","")},3e3)},filterClass(e){if(this.searchFilter===""||o(e.code))return"";const a=this.searchFilter_.toUpperCase();if(!e.code.includes(a)&&!(e.name&&e.name.toUpperCase().includes(a))&&!(e.title&&e.title.toUpperCase().includes(a)))return"desaturated"}}},he={};var Ar=p(Ur,Rr,Or,!1,Pr,null,null,null);function Pr(e){for(let a in he)this[a]=he[a]}const Ir=function(){return Ar.exports}();var Mr=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",[t("div",{staticClass:"main"},[t("MainComponent")],1),t("div",[t("keycodes")],1)])},Br=[];const qr={name:"configurator-component",components:{MainComponent:hr,Keycodes:Ir},methods:{}},ye={};var Jr=p(qr,Mr,Br,!1,Vr,null,null,null);function Vr(e){for(let a in ye)this[a]=ye[a]}const Wr=function(){return Jr.exports}();export{Wr as default}; diff --git a/assets/Print-59e7c655.js b/assets/Print-0fc2074b.js similarity index 97% rename from assets/Print-59e7c655.js rename to assets/Print-0fc2074b.js index 089e38737f..ab67919bb3 100644 --- a/assets/Print-59e7c655.js +++ b/assets/Print-0fc2074b.js @@ -1,4 +1,4 @@ -import{n as i,c as n,m as y,d as v,i as l,V as g}from"./index-d2cc914b.js";import{B as $,a as k}from"./BaseKey-5d776fbf.js";var b=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"key",class:t.myclasses,style:t.mystyles,attrs:{id:t.myid,title:t.displayName}},[t._v(" "+t._s(t.displayName)+" ")])},w=[];const x={name:"print-key",props:{layer:Number},extends:$,computed:{myid(){return`key-${this.layer}-${this.id}`},displayName(){return this.meta.type==="layer"?this.meta.code.replace("layer",this.meta.layer):this.meta.type==="text"?this.formatName(this.breakLines(this.meta.text)):this.meta.type==="layer-container"?`${this.meta.name.toUpperCase()} +import{n as i,c as n,m as y,d as v,i as l,V as g}from"./index-6ba28ab1.js";import{B as $,a as k}from"./BaseKey-82402d2e.js";var b=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"key",class:t.myclasses,style:t.mystyles,attrs:{id:t.myid,title:t.displayName}},[t._v(" "+t._s(t.displayName)+" ")])},w=[];const x={name:"print-key",props:{layer:Number},extends:$,computed:{myid(){return`key-${this.layer}-${this.id}`},displayName(){return this.meta.type==="layer"?this.meta.code.replace("layer",this.meta.layer):this.meta.type==="text"?this.formatName(this.breakLines(this.meta.text)):this.meta.type==="layer-container"?`${this.meta.name.toUpperCase()} ${this.formatName(this.meta.contents.name)}`:this.meta.type==="container"?`${this.meta.name.toUpperCase()} ${this.formatName(this.meta.contents.name)}`:this.formatName(this.breakLines(this.meta.name))}},methods:{breakLines(t){return this.uw<1.75&&(t=t.replace(" ",` `).replace("_",`_ diff --git a/assets/Test-05ff3726.js b/assets/Test-155333bc.js similarity index 99% rename from assets/Test-05ff3726.js rename to assets/Test-155333bc.js index b4262fcd6b..6816c6273a 100644 --- a/assets/Test-05ff3726.js +++ b/assets/Test-155333bc.js @@ -1,4 +1,4 @@ -import{n as O,C as k,c as B,m as E,i as L,B as N,d as M,e as X}from"./index-d2cc914b.js";import{B as q,a as W}from"./BaseKey-5d776fbf.js";var Q=function(){var a=this,v=a.$createElement,n=a._self._c||v;return n("div",{staticClass:"key tester-key",class:a.localClasses,style:a.mystyles,attrs:{id:a.myid,title:a.displayName}},[a._v(a._s(a.displayName))])},Y=[];const Z={name:"tester-key",props:{layer:Number},extends:q,computed:{myid(){return`key-${this.layer}-${this.id}`},displayName(){return this.formatName(this.breakLines(this.meta.name))},localClasses(){const a=[];return this.meta.active&&a.push("active"),this.meta.chatter&&a.push("chatter-detected"),this.meta.detected&&a.push("detected"),`${this.myclasses} ${a.join(" ")}`}},methods:{breakLines(a){return this.uw<1.75&&(a=a.replace(" ",` +import{n as O,C as k,c as B,m as E,i as L,B as N,d as M,e as X}from"./index-6ba28ab1.js";import{B as q,a as W}from"./BaseKey-82402d2e.js";var Q=function(){var a=this,v=a.$createElement,n=a._self._c||v;return n("div",{staticClass:"key tester-key",class:a.localClasses,style:a.mystyles,attrs:{id:a.myid,title:a.displayName}},[a._v(a._s(a.displayName))])},Y=[];const Z={name:"tester-key",props:{layer:Number},extends:q,computed:{myid(){return`key-${this.layer}-${this.id}`},displayName(){return this.formatName(this.breakLines(this.meta.name))},localClasses(){const a=[];return this.meta.active&&a.push("active"),this.meta.chatter&&a.push("chatter-detected"),this.meta.detected&&a.push("detected"),`${this.myclasses} ${a.join(" ")}`}},methods:{breakLines(a){return this.uw<1.75&&(a=a.replace(" ",` `).replace("_",`_ `)),a}}},$={};var j=O(Z,Q,Y,!1,U,null,null,null);function U(a){for(let v in $)this[v]=$[v]}const D=function(){return j.exports}();var G={};/*! * howler.js v2.2.3 diff --git a/assets/index-d2cc914b.js b/assets/index-6ba28ab1.js similarity index 99% rename from assets/index-d2cc914b.js rename to assets/index-6ba28ab1.js index 510f3625e9..5c499c1a19 100644 --- a/assets/index-d2cc914b.js +++ b/assets/index-6ba28ab1.js @@ -9,11 +9,11 @@ */function ik(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:a});else{var n=e.prototype._init;e.prototype._init=function(i){i===void 0&&(i={}),i.init=i.init?[a].concat(i.init):a,n.call(this,i)}}function a(){var i=this.$options;i.store?this.$store=typeof i.store=="function"?i.store():i.store:i.parent&&i.parent.$store&&(this.$store=i.parent.$store)}}var rk=typeof window<"u"?window:typeof global<"u"?global:{},Sf=rk.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ok(e){Sf&&(e._devtoolHook=Sf,Sf.emit("vuex:init",e),Sf.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(t,n){Sf.emit("vuex:mutation",t,n)},{prepend:!0}),e.subscribeAction(function(t,n){Sf.emit("vuex:action",t,n)},{prepend:!0}))}function lk(e,t){return e.filter(t)[0]}function QK(e,t){if(t===void 0&&(t=[]),e===null||typeof e!="object")return e;var n=lk(t,function(i){return i.original===e});if(n)return n.copy;var a=Array.isArray(e)?[]:{};return t.push({original:e,copy:a}),Object.keys(e).forEach(function(i){a[i]=QK(e[i],t)}),a}function Yf(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function qE(e){return e!==null&&typeof e=="object"}function sk(e){return e&&typeof e.then=="function"}function _k(e,t){return function(){return e(t)}}var so=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var a=t.state;this.state=(typeof a=="function"?a():a)||{}},eb={namespaced:{configurable:!0}};eb.namespaced.get=function(){return!!this._rawModule.namespaced};so.prototype.addChild=function(t,n){this._children[t]=n};so.prototype.removeChild=function(t){delete this._children[t]};so.prototype.getChild=function(t){return this._children[t]};so.prototype.hasChild=function(t){return t in this._children};so.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};so.prototype.forEachChild=function(t){Yf(this._children,t)};so.prototype.forEachGetter=function(t){this._rawModule.getters&&Yf(this._rawModule.getters,t)};so.prototype.forEachAction=function(t){this._rawModule.actions&&Yf(this._rawModule.actions,t)};so.prototype.forEachMutation=function(t){this._rawModule.mutations&&Yf(this._rawModule.mutations,t)};Object.defineProperties(so.prototype,eb);var ou=function(t){this.register([],t,!1)};ou.prototype.get=function(t){return t.reduce(function(n,a){return n.getChild(a)},this.root)};ou.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(a,i){return n=n.getChild(i),a+(n.namespaced?i+"/":"")},"")};ou.prototype.update=function(t){tb([],this.root,t)};ou.prototype.register=function(t,n,a){var i=this;a===void 0&&(a=!0);var l=new so(n,a);if(t.length===0)this.root=l;else{var u=this.get(t.slice(0,-1));u.addChild(t[t.length-1],l)}n.modules&&Yf(n.modules,function(m,C){i.register(t.concat(C),m,a)})};ou.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),a=t[t.length-1],i=n.getChild(a);i&&i.runtime&&n.removeChild(a)};ou.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),a=t[t.length-1];return n?n.hasChild(a):!1};function tb(e,t,n){if(t.update(n),n.modules)for(var a in n.modules){if(!t.getChild(a))return;tb(e.concat(a),t.getChild(a),n.modules[a])}}var Si,ji=function(t){var n=this;t===void 0&&(t={}),!Si&&typeof window<"u"&&window.Vue&&ib(window.Vue);var a=t.plugins;a===void 0&&(a=[]);var i=t.strict;i===void 0&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ou(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Si,this._makeLocalGettersCache=Object.create(null);var l=this,u=this,m=u.dispatch,C=u.commit;this.dispatch=function(P,w){return m.call(l,P,w)},this.commit=function(P,w,G){return C.call(l,P,w,G)},this.strict=i;var d=this._modules.root.state;_h(this,d,[],this._modules.root),eR(this,d),a.forEach(function(b){return b(n)});var g=t.devtools!==void 0?t.devtools:Si.config.devtools;g&&ok(this)},qv={state:{configurable:!0}};qv.state.get=function(){return this._vm._data.$$state};qv.state.set=function(e){};ji.prototype.commit=function(t,n,a){var i=this,l=wp(t,n,a),u=l.type,m=l.payload,C={type:u,payload:m},d=this._mutations[u];d&&(this._withCommit(function(){d.forEach(function(b){b(m)})}),this._subscribers.slice().forEach(function(g){return g(C,i.state)}))};ji.prototype.dispatch=function(t,n){var a=this,i=wp(t,n),l=i.type,u=i.payload,m={type:l,payload:u},C=this._actions[l];if(C){try{this._actionSubscribers.slice().filter(function(g){return g.before}).forEach(function(g){return g.before(m,a.state)})}catch{}var d=C.length>1?Promise.all(C.map(function(g){return g(u)})):C[0](u);return new Promise(function(g,b){d.then(function(P){try{a._actionSubscribers.filter(function(w){return w.after}).forEach(function(w){return w.after(m,a.state)})}catch{}g(P)},function(P){try{a._actionSubscribers.filter(function(w){return w.error}).forEach(function(w){return w.error(m,a.state,P)})}catch{}b(P)})})}};ji.prototype.subscribe=function(t,n){return nb(t,this._subscribers,n)};ji.prototype.subscribeAction=function(t,n){var a=typeof t=="function"?{before:t}:t;return nb(a,this._actionSubscribers,n)};ji.prototype.watch=function(t,n,a){var i=this;return this._watcherVM.$watch(function(){return t(i.state,i.getters)},n,a)};ji.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._vm._data.$$state=t})};ji.prototype.registerModule=function(t,n,a){a===void 0&&(a={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),_h(this,this.state,t,this._modules.get(t),a.preserveState),eR(this,this.state)};ji.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var a=tR(n.state,t.slice(0,-1));Si.delete(a,t[t.length-1])}),ab(this)};ji.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};ji.prototype.hotUpdate=function(t){this._modules.update(t),ab(this,!0)};ji.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(ji.prototype,qv);function nb(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var a=t.indexOf(e);a>-1&&t.splice(a,1)}}function ab(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;_h(e,n,[],e._modules.root,!0),eR(e,n,t)}function eR(e,t,n){var a=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var i=e._wrappedGetters,l={};Yf(i,function(m,C){l[C]=_k(m,e),Object.defineProperty(e.getters,C,{get:function(){return e._vm[C]},enumerable:!0})});var u=Si.config.silent;Si.config.silent=!0,e._vm=new Si({data:{$$state:t},computed:l}),Si.config.silent=u,e.strict&&dk(e),a&&(n&&e._withCommit(function(){a._data.$$state=null}),Si.nextTick(function(){return a.$destroy()}))}function _h(e,t,n,a,i){var l=!n.length,u=e._modules.getNamespace(n);if(a.namespaced&&(e._modulesNamespaceMap[u],e._modulesNamespaceMap[u]=a),!l&&!i){var m=tR(t,n.slice(0,-1)),C=n[n.length-1];e._withCommit(function(){Si.set(m,C,a.state)})}var d=a.context=ck(e,u,n);a.forEachMutation(function(g,b){var P=u+b;fk(e,P,g,d)}),a.forEachAction(function(g,b){var P=g.root?b:u+b,w=g.handler||g;mk(e,P,w,d)}),a.forEachGetter(function(g,b){var P=u+b;Ck(e,P,g,d)}),a.forEachChild(function(g,b){_h(e,t,n.concat(b),g,i)})}function ck(e,t,n){var a=t==="",i={dispatch:a?e.dispatch:function(l,u,m){var C=wp(l,u,m),d=C.payload,g=C.options,b=C.type;return(!g||!g.root)&&(b=t+b),e.dispatch(b,d)},commit:a?e.commit:function(l,u,m){var C=wp(l,u,m),d=C.payload,g=C.options,b=C.type;(!g||!g.root)&&(b=t+b),e.commit(b,d,g)}};return Object.defineProperties(i,{getters:{get:a?function(){return e.getters}:function(){return uk(e,t)}},state:{get:function(){return tR(e.state,n)}}}),i}function uk(e,t){if(!e._makeLocalGettersCache[t]){var n={},a=t.length;Object.keys(e.getters).forEach(function(i){if(i.slice(0,a)===t){var l=i.slice(a);Object.defineProperty(n,l,{get:function(){return e.getters[i]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function fk(e,t,n,a){var i=e._mutations[t]||(e._mutations[t]=[]);i.push(function(u){n.call(e,a.state,u)})}function mk(e,t,n,a){var i=e._actions[t]||(e._actions[t]=[]);i.push(function(u){var m=n.call(e,{dispatch:a.dispatch,commit:a.commit,getters:a.getters,state:a.state,rootGetters:e.getters,rootState:e.state},u);return sk(m)||(m=Promise.resolve(m)),e._devtoolHook?m.catch(function(C){throw e._devtoolHook.emit("vuex:error",C),C}):m})}function Ck(e,t,n,a){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(l){return n(a.state,a.getters,l.state,l.getters)})}function dk(e){e._vm.$watch(function(){return this._data.$$state},function(){},{deep:!0,sync:!0})}function tR(e,t){return t.reduce(function(n,a){return n[a]},e)}function wp(e,t,n){return qE(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function ib(e){Si&&e===Si||(Si=e,ik(Si))}var EC=fh(function(e,t){var n={};return uh(t).forEach(function(a){var i=a.key,l=a.val;n[i]=function(){var m=this.$store.state,C=this.$store.getters;if(e){var d=mh(this.$store,"mapState",e);if(!d)return;m=d.context.state,C=d.context.getters}return typeof l=="function"?l.call(this,m,C):m[l]},n[i].vuex=!0}),n}),bC=fh(function(e,t){var n={};return uh(t).forEach(function(a){var i=a.key,l=a.val;n[i]=function(){for(var m=[],C=arguments.length;C--;)m[C]=arguments[C];var d=this.$store.commit;if(e){var g=mh(this.$store,"mapMutations",e);if(!g)return;d=g.context.commit}return typeof l=="function"?l.apply(this,[d].concat(m)):d.apply(this.$store,[l].concat(m))}}),n}),nR=fh(function(e,t){var n={};return uh(t).forEach(function(a){var i=a.key,l=a.val;l=e+l,n[i]=function(){if(!(e&&!mh(this.$store,"mapGetters",e)))return this.$store.getters[l]},n[i].vuex=!0}),n}),ch=fh(function(e,t){var n={};return uh(t).forEach(function(a){var i=a.key,l=a.val;n[i]=function(){for(var m=[],C=arguments.length;C--;)m[C]=arguments[C];var d=this.$store.dispatch;if(e){var g=mh(this.$store,"mapActions",e);if(!g)return;d=g.context.dispatch}return typeof l=="function"?l.apply(this,[d].concat(m)):d.apply(this.$store,[l].concat(m))}}),n}),rb=function(e){return{mapState:EC.bind(null,e),mapGetters:nR.bind(null,e),mapMutations:bC.bind(null,e),mapActions:ch.bind(null,e)}};function uh(e){return pk(e)?Array.isArray(e)?e.map(function(t){return{key:t,val:t}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}}):[]}function pk(e){return Array.isArray(e)||qE(e)}function fh(e){return function(t,n){return typeof t!="string"?(n=t,t=""):t.charAt(t.length-1)!=="/"&&(t+="/"),e(t,n)}}function mh(e,t,n){var a=e._modulesNamespaceMap[n];return a}function hk(e){e===void 0&&(e={});var t=e.collapsed;t===void 0&&(t=!0);var n=e.filter;n===void 0&&(n=function(g,b,P){return!0});var a=e.transformer;a===void 0&&(a=function(g){return g});var i=e.mutationTransformer;i===void 0&&(i=function(g){return g});var l=e.actionFilter;l===void 0&&(l=function(g,b){return!0});var u=e.actionTransformer;u===void 0&&(u=function(g){return g});var m=e.logMutations;m===void 0&&(m=!0);var C=e.logActions;C===void 0&&(C=!0);var d=e.logger;return d===void 0&&(d=console),function(g){var b=QK(g.state);typeof d>"u"||(m&&g.subscribe(function(P,w){var G=QK(w);if(n(P,b,G)){var z=Ay(),j=i(P),V="mutation "+P.type+z;yy(d,V,t),d.log("%c prev state","color: #9E9E9E; font-weight: bold",a(b)),d.log("%c mutation","color: #03A9F4; font-weight: bold",j),d.log("%c next state","color: #4CAF50; font-weight: bold",a(G)),Ly(d)}b=G}),C&&g.subscribeAction(function(P,w){if(l(P,w)){var G=Ay(),z=u(P),j="action "+P.type+G;yy(d,j,t),d.log("%c action","color: #03A9F4; font-weight: bold",z),Ly(d)}}))}}function yy(e,t,n){var a=n?e.groupCollapsed:e.group;try{a.call(e,t)}catch{e.log(t)}}function Ly(e){try{e.groupEnd()}catch{e.log("—— log end ——")}}function Ay(){var e=new Date;return" @ "+Fd(e.getHours(),2)+":"+Fd(e.getMinutes(),2)+":"+Fd(e.getSeconds(),2)+"."+Fd(e.getMilliseconds(),3)}function Sk(e,t){return new Array(t+1).join(e)}function Fd(e,t){return Sk("0",t-e.toString().length)+e}var Kk={Store:ji,install:ib,version:"3.6.2",mapState:EC,mapMutations:bC,mapGetters:nR,mapActions:ch,createNamespacedHelpers:rb,createLogger:hk};const ob=Kk;var lb={exports:{}};(function(e,t){(function(a,i){e.exports=i()})(Fi,function(){return function(n){var a={};function i(l){if(a[l])return a[l].exports;var u=a[l]={i:l,l:!1,exports:{}};return n[l].call(u.exports,u,u.exports,i),u.l=!0,u.exports}return i.m=n,i.c=a,i.i=function(l){return l},i.d=function(l,u,m){i.o(l,u)||Object.defineProperty(l,u,{configurable:!1,enumerable:!0,get:m})},i.n=function(l){var u=l&&l.__esModule?function(){return l.default}:function(){return l};return i.d(u,"a",u),u},i.o=function(l,u){return Object.prototype.hasOwnProperty.call(l,u)},i.p="/dist/",i(i.s=2)}([function(n,a,i){i(8);var l=i(6)(i(1),i(7),"data-v-25adc6c0",null);n.exports=l.exports},function(n,a,i){Object.defineProperty(a,"__esModule",{value:!0});var l=i(3),u=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},m="#75c791",C="#bfcbd9",d="on",g="off",b="#fff";a.default={name:"ToggleButton",props:{value:{type:Boolean,default:!1},name:{type:String},disabled:{type:Boolean,default:!1},tag:{type:String},sync:{type:Boolean,default:!1},speed:{type:Number,default:300},color:{type:[String,Object],validator:function(w){return i.i(l.a)(w)||i.i(l.b)(w,"checked")||i.i(l.b)(w,"unchecked")||i.i(l.b)(w,"disabled")}},switchColor:{type:[String,Object],validator:function(w){return i.i(l.a)(w)||i.i(l.b)(w,"checked")||i.i(l.b)(w,"unchecked")}},cssColors:{type:Boolean,default:!1},labels:{type:[Boolean,Object],default:!1,validator:function(w){return(typeof w>"u"?"undefined":u(w))==="object"?w.checked||w.unchecked:typeof w=="boolean"}},height:{type:Number,default:22},width:{type:Number,default:50},margin:{type:Number,default:3},fontSize:{type:Number}},computed:{className:function(){var w=this.toggled,G=this.disabled;return["vue-js-switch",{toggled:w,disabled:G}]},coreStyle:function(){return{width:i.i(l.c)(this.width),height:i.i(l.c)(this.height),backgroundColor:this.cssColors?null:this.disabled?this.colorDisabled:this.colorCurrent,borderRadius:i.i(l.c)(Math.round(this.height/2))}},buttonRadius:function(){return this.height-this.margin*2},distance:function(){return i.i(l.c)(this.width-this.height+this.margin)},buttonStyle:function(){var w="transform "+this.speed+"ms",G=i.i(l.c)(this.margin),z=this.toggled?i.i(l.d)(this.distance,G):i.i(l.d)(G,G),j=this.switchColor?this.switchColorCurrent:null;return{width:i.i(l.c)(this.buttonRadius),height:i.i(l.c)(this.buttonRadius),transition:w,transform:z,background:j}},labelStyle:function(){return{lineHeight:i.i(l.c)(this.height),fontSize:this.fontSize?i.i(l.c)(this.fontSize):null}},colorChecked:function(){var w=this.color;return i.i(l.e)(w)?i.i(l.f)(w,"checked",m):w||m},colorUnchecked:function(){return i.i(l.f)(this.color,"unchecked",C)},colorDisabled:function(){return i.i(l.f)(this.color,"disabled",this.colorCurrent)},colorCurrent:function(){return this.toggled?this.colorChecked:this.colorUnchecked},labelChecked:function(){return i.i(l.f)(this.labels,"checked",d)},labelUnchecked:function(){return i.i(l.f)(this.labels,"unchecked",g)},switchColorChecked:function(){return i.i(l.f)(this.switchColor,"checked",b)},switchColorUnchecked:function(){return i.i(l.f)(this.switchColor,"unchecked",b)},switchColorCurrent:function(){return this.switchColor,i.i(l.e)(this.switchColor)?this.toggled?this.switchColorChecked:this.switchColorUnchecked:this.switchColor||b}},watch:{value:function(w){this.sync&&(this.toggled=!!w)}},data:function(){return{toggled:!!this.value}},methods:{toggle:function(w){var G=!this.toggled;this.sync||(this.toggled=G),this.$emit("input",G),this.$emit("change",{value:G,tag:this.tag,srcEvent:w})}}}},function(n,a,i){Object.defineProperty(a,"__esModule",{value:!0});var l=i(0),u=i.n(l);i.d(a,"ToggleButton",function(){return u.a});var m=!1;a.default={install:function(d){m||(d.component("ToggleButton",u.a),m=!0)}}},function(n,a,i){i.d(a,"a",function(){return u}),i.d(a,"e",function(){return m}),i.d(a,"b",function(){return C}),i.d(a,"f",function(){return d}),i.d(a,"c",function(){return g}),i.d(a,"d",function(){return b});var l=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},u=function(w){return typeof w=="string"},m=function(w){return(typeof w>"u"?"undefined":l(w))==="object"},C=function(w,G){return m(w)&&w.hasOwnProperty(G)},d=function(w,G,z){return C(w,G)?w[G]:z},g=function(w){return w+"px"},b=function(w,G){var z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0px";return"translate3d("+w+", "+G+", "+z+")"}},function(n,a,i){a=n.exports=i(5)(),a.push([n.i,".vue-js-switch[data-v-25adc6c0]{display:inline-block;position:relative;vertical-align:middle;user-select:none;font-size:10px;cursor:pointer}.vue-js-switch .v-switch-input[data-v-25adc6c0]{opacity:0;position:absolute;width:1px;height:1px}.vue-js-switch .v-switch-label[data-v-25adc6c0]{position:absolute;top:0;font-weight:600;color:#fff;z-index:1}.vue-js-switch .v-switch-label.v-left[data-v-25adc6c0]{left:10px}.vue-js-switch .v-switch-label.v-right[data-v-25adc6c0]{right:10px}.vue-js-switch .v-switch-core[data-v-25adc6c0]{display:block;position:relative;box-sizing:border-box;outline:0;margin:0;transition:border-color .3s,background-color .3s;user-select:none}.vue-js-switch .v-switch-core .v-switch-button[data-v-25adc6c0]{display:block;position:absolute;overflow:hidden;top:0;left:0;border-radius:100%;background-color:#fff;z-index:2}.vue-js-switch.disabled[data-v-25adc6c0]{pointer-events:none;opacity:.6}",""])},function(n,a){n.exports=function(){var i=[];return i.toString=function(){for(var u=[],m=0;mle.parts.length&&(ie.parts.length=le.parts.length)}else{for(var A=[],D=0;Dthis.$t(`settingsPanel.osKeyboardLayout.label.${t}`);return[...this.osKeyboardLayouts].sort((t,n)=>e(t).localeCompare(e(n)))}},methods:{...bC("keymap",["toggleContinuousInput"]),...bC("app",["setLegends","toggleTutorial","toggleSnowflakes"]),...ch("app",["toggleDarkMode","changeLanguage","changeOSKeyboardLayout","toggleClearLayerDefault"]),darkMode(){this.toggleDarkMode()},clearLayerDefault(){this.toggleClearLayerDefault()},help(e){switch(e){case"fastInput":this.helpText=this.$t("settingsPanel.fastInput.help");break;case"legends":this.helpText=this.$t("settingsPanel.legends.help");break;case"toggleTutorial":this.helpText=this.$t("settingsPanel.toggleTutorial.help");break;case"darkmode":this.helpText=this.$t("settingsPanel.darkmode.help");break;case"language":this.helpText=this.$t("settingsPanel.language.help");break;case"osKeyboardLayout":this.helpText=this.$t("settingsPanel.osKeyboardLayout.help");break;case"clearLayer":this.helpText=this.$t("settingsPanel.clearLayer.help");break}this.clearTextTimer&&(window.clearTimeout(this.clearTextTimer),this.clearTextTimer=void 0),this.clearTextTimer=window.setTimeout(()=>{this.helpText=void 0},5e3)}}},Ey={};var Lk=B_(yk,Rk,gk,!1,Ak,null,null,null);function Ak(e){for(let t in Ey)this[t]=Ey[t]}const Ek=function(){return Lk.exports}();var bk=function(e,t){return t._c,t._m(0)},Tk=[function(e,t){var n=t._c;return n("div",{staticClass:"snowflakes",attrs:{"aria-hidden":"true"}},[n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")])])}];const Pk={},by={};var wk=B_(Pk,bk,Tk,!0,Ok,null,null,null);function Ok(e){for(let t in by)this[t]=by[t]}const Ik=function(){return wk.exports}(),Nk="/assets/Santa_hat-caf4a6a3.svg",Uk="/assets/jinglebell-32197867.svg";var Dk=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"},on:{click:e.dismiss}},[n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.revision))]),n("div",[n("header",[n("p",{staticClass:"random-potato"},[e._v(e._s(e.potatoFact))])]),n("router-view"),n("spinner",{attrs:{"is-visible":e.showSpinner,status:e.spinnerMsg}}),n("InfoBar",{attrs:{msg:e.message}})],1),n("slideout-panel"),n("footer",[n("p",[e._v(e._s(e.$t("maintain")))]),n("p",[e._v(e._s(e.$t("hostedOn")))]),n("p",{staticStyle:{"font-size":"10px"}},[e._v("version: "+e._s(e.revision))])]),n("div",{staticClass:"help",class:e.helpClasses,attrs:{title:e.$t("help.label")},on:{click:e.toggleTutorial,mouseenter:function(a){e.setMessage(e.$t("help.label")),e.hover=!0},mouseleave:function(a){e.setMessage(""),e.hover=!1}}},[n("font-awesome-icon",{directives:[{name:"show",rawName:"v-show",value:!e.snowflakes&&!e.tutorialEnabled,expression:"!snowflakes && !tutorialEnabled"}],attrs:{icon:"hat-wizard",transform:"rotate-22",size:"3x"}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.snowflakes&&!e.tutorialEnabled,expression:"snowflakes && !tutorialEnabled"}],staticClass:"santa-hat",attrs:{src:Nk,alt:"Santa Hat by Theresa Knott [Public domain], via Wikimedia Commons"}}),n("font-awesome-icon",{directives:[{name:"show",rawName:"v-show",value:!e.snowflakes&&e.tutorialEnabled,expression:"!snowflakes && tutorialEnabled"}],attrs:{icon:"magic",transform:"rotate-185",size:"3x"}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.snowflakes&&e.tutorialEnabled,expression:"snowflakes && tutorialEnabled"}],staticClass:"jinglebell",attrs:{src:Uk,alt:"Jingle Bell SVG Icon made from Icon Fonts is licensed by CC BY 3.0"}})],1),e.tutorialEnabled?n("iframe",{staticClass:"embedded-tutorial",attrs:{width:"560",height:"315",src:"https://www.youtube.com/embed/-imgglzDMdY?list=PLZlceRZZjRugJFL-vnenYnDrbMc6wu_e_",frameborder:"0",sandbox:"allow-scripts allow-same-origin",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}}):e._e(),e.snowflakes?n("SnowFlake"):e._e()],1)},kk=[];const{mapState:Mk,mapMutations:Gk}=rb("app"),Bk={name:"app",components:{Spinner:ak,InfoBar:lD,SnowFlake:Ik},data(){return{revision:"38be222ee0c9ad686222d579794844faea9a0001",potatoFact:"QMK for potatoes",interval:12e4,destroyWatcher:void 0,panel:void 0,settingsClasses:"",hover:!1}},computed:{...nR("keymap",["isDirty"]),...Mk(["showSpinner","spinnerMsg","message","tutorialEnabled","snowflakes"]),showInfoBar(){return this.message!==""},helpClasses(){var e=[];return this.hover&&e.push("faa-tada","animated-hover"),e.join(" ")}},async beforeMount(){await this.appLoad(),this.randomPotatoFact(),this.interval=setInterval(()=>{this.randomPotatoFact()},this.interval)},created(){window.addEventListener("beforeunload",this.showConfirmationPrompt)},mounted(){this.destroyWatcher=this.$store.watch(e=>e.app.settingsPanelVisible,this.toggleSettingsPanel)},beforeDestroy(){clearInterval(this.interval),i2(this.destroyWatcher)&&this.destroyWatcher(),window.removeEventListener("beforeunload",this.showConfirmationPrompt)},methods:{...Gk(["setShowSpinner","setSettingsPanel","toggleTutorial","setMessage"]),...ch("app",["loadApplicationState"]),randomPotatoFact(){const e=Xv(this.$t("potato"));this.potatoFact=this.$t("potato."+XD(1,e))},async appLoad(){await this.loadApplicationState()},dismiss(){this.setShowSpinner(!1)},showConfirmationPrompt(e){return this.isDirty===!0?(e.preventDefault(),e.returnValue="",!0):null},toggleSettingsPanel(e){e?(this.panel=this.$showPanel({component:Ek,openOn:"right",props:{},width:"300px"}),this.panel.promise.then(()=>{this.setSettingsPanel(!1)})):(this.panel.hide(),this.panel=void 0)},showSettings(){this.setSettingsPanel(!0)}}},Ty={};var xk=B_(Bk,Dk,kk,!1,$k,null,null,null);function $k(e){for(let t in Ty)this[t]=Ty[t]}const Fk=function(){return xk.exports}(),Hk="modulepreload",Qk=function(e){return"/"+e},Py={},aR=function(t,n,a){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=Qk(l),l in Py)return;Py[l]=!0;const u=l.endsWith(".css"),m=u?'[rel="stylesheet"]':"";if(!!a)for(let g=i.length-1;g>=0;g--){const b=i[g];if(b.href===l&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Hk,u||(d.as="script",d.crossOrigin=""),d.href=l,document.head.appendChild(d),u)return new Promise((g,b)=>{d.addEventListener("load",g),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t()).catch(l=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l})};/*! +/*# sourceMappingURL=data:application/json;base64,`+btoa(unescape(encodeURIComponent(JSON.stringify(D))))+" */"),ee.styleSheet)ee.styleSheet.cssText=le;else{for(;ee.firstChild;)ee.removeChild(ee.firstChild);ee.appendChild(document.createTextNode(le))}}},function(n,a){n.exports=function(l,u){for(var m=[],C={},d=0;dthis.$t(`settingsPanel.osKeyboardLayout.label.${t}`);return[...this.osKeyboardLayouts].sort((t,n)=>e(t).localeCompare(e(n)))}},methods:{...bC("keymap",["toggleContinuousInput"]),...bC("app",["setLegends","toggleTutorial","toggleSnowflakes"]),...ch("app",["toggleDarkMode","changeLanguage","changeOSKeyboardLayout","toggleClearLayerDefault"]),darkMode(){this.toggleDarkMode()},clearLayerDefault(){this.toggleClearLayerDefault()},help(e){switch(e){case"fastInput":this.helpText=this.$t("settingsPanel.fastInput.help");break;case"legends":this.helpText=this.$t("settingsPanel.legends.help");break;case"toggleTutorial":this.helpText=this.$t("settingsPanel.toggleTutorial.help");break;case"darkmode":this.helpText=this.$t("settingsPanel.darkmode.help");break;case"language":this.helpText=this.$t("settingsPanel.language.help");break;case"osKeyboardLayout":this.helpText=this.$t("settingsPanel.osKeyboardLayout.help");break;case"clearLayer":this.helpText=this.$t("settingsPanel.clearLayer.help");break}this.clearTextTimer&&(window.clearTimeout(this.clearTextTimer),this.clearTextTimer=void 0),this.clearTextTimer=window.setTimeout(()=>{this.helpText=void 0},5e3)}}},Ey={};var Lk=B_(yk,Rk,gk,!1,Ak,null,null,null);function Ak(e){for(let t in Ey)this[t]=Ey[t]}const Ek=function(){return Lk.exports}();var bk=function(e,t){return t._c,t._m(0)},Tk=[function(e,t){var n=t._c;return n("div",{staticClass:"snowflakes",attrs:{"aria-hidden":"true"}},[n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")]),n("div",{staticClass:"snowflake"},[t._v("❅")]),n("div",{staticClass:"snowflake"},[t._v("❆")])])}];const Pk={},by={};var wk=B_(Pk,bk,Tk,!0,Ok,null,null,null);function Ok(e){for(let t in by)this[t]=by[t]}const Ik=function(){return wk.exports}(),Nk="/assets/Santa_hat-caf4a6a3.svg",Uk="/assets/jinglebell-32197867.svg";var Dk=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"},on:{click:e.dismiss}},[n("span",{staticStyle:{display:"none"}},[e._v(e._s(e.revision))]),n("div",[n("header",[n("p",{staticClass:"random-potato"},[e._v(e._s(e.potatoFact))])]),n("router-view"),n("spinner",{attrs:{"is-visible":e.showSpinner,status:e.spinnerMsg}}),n("InfoBar",{attrs:{msg:e.message}})],1),n("slideout-panel"),n("footer",[n("p",[e._v(e._s(e.$t("maintain")))]),n("p",[e._v(e._s(e.$t("hostedOn")))]),n("p",{staticStyle:{"font-size":"10px"}},[e._v("version: "+e._s(e.revision))])]),n("div",{staticClass:"help",class:e.helpClasses,attrs:{title:e.$t("help.label")},on:{click:e.toggleTutorial,mouseenter:function(a){e.setMessage(e.$t("help.label")),e.hover=!0},mouseleave:function(a){e.setMessage(""),e.hover=!1}}},[n("font-awesome-icon",{directives:[{name:"show",rawName:"v-show",value:!e.snowflakes&&!e.tutorialEnabled,expression:"!snowflakes && !tutorialEnabled"}],attrs:{icon:"hat-wizard",transform:"rotate-22",size:"3x"}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.snowflakes&&!e.tutorialEnabled,expression:"snowflakes && !tutorialEnabled"}],staticClass:"santa-hat",attrs:{src:Nk,alt:"Santa Hat by Theresa Knott [Public domain], via Wikimedia Commons"}}),n("font-awesome-icon",{directives:[{name:"show",rawName:"v-show",value:!e.snowflakes&&e.tutorialEnabled,expression:"!snowflakes && tutorialEnabled"}],attrs:{icon:"magic",transform:"rotate-185",size:"3x"}}),n("img",{directives:[{name:"show",rawName:"v-show",value:e.snowflakes&&e.tutorialEnabled,expression:"snowflakes && tutorialEnabled"}],staticClass:"jinglebell",attrs:{src:Uk,alt:"Jingle Bell SVG Icon made from Icon Fonts is licensed by CC BY 3.0"}})],1),e.tutorialEnabled?n("iframe",{staticClass:"embedded-tutorial",attrs:{width:"560",height:"315",src:"https://www.youtube.com/embed/-imgglzDMdY?list=PLZlceRZZjRugJFL-vnenYnDrbMc6wu_e_",frameborder:"0",sandbox:"allow-scripts allow-same-origin",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowfullscreen:""}}):e._e(),e.snowflakes?n("SnowFlake"):e._e()],1)},kk=[];const{mapState:Mk,mapMutations:Gk}=rb("app"),Bk={name:"app",components:{Spinner:ak,InfoBar:lD,SnowFlake:Ik},data(){return{revision:"e5dabaac43a885a6c5807a7d6064cf1f6bd61d24",potatoFact:"QMK for potatoes",interval:12e4,destroyWatcher:void 0,panel:void 0,settingsClasses:"",hover:!1}},computed:{...nR("keymap",["isDirty"]),...Mk(["showSpinner","spinnerMsg","message","tutorialEnabled","snowflakes"]),showInfoBar(){return this.message!==""},helpClasses(){var e=[];return this.hover&&e.push("faa-tada","animated-hover"),e.join(" ")}},async beforeMount(){await this.appLoad(),this.randomPotatoFact(),this.interval=setInterval(()=>{this.randomPotatoFact()},this.interval)},created(){window.addEventListener("beforeunload",this.showConfirmationPrompt)},mounted(){this.destroyWatcher=this.$store.watch(e=>e.app.settingsPanelVisible,this.toggleSettingsPanel)},beforeDestroy(){clearInterval(this.interval),i2(this.destroyWatcher)&&this.destroyWatcher(),window.removeEventListener("beforeunload",this.showConfirmationPrompt)},methods:{...Gk(["setShowSpinner","setSettingsPanel","toggleTutorial","setMessage"]),...ch("app",["loadApplicationState"]),randomPotatoFact(){const e=Xv(this.$t("potato"));this.potatoFact=this.$t("potato."+XD(1,e))},async appLoad(){await this.loadApplicationState()},dismiss(){this.setShowSpinner(!1)},showConfirmationPrompt(e){return this.isDirty===!0?(e.preventDefault(),e.returnValue="",!0):null},toggleSettingsPanel(e){e?(this.panel=this.$showPanel({component:Ek,openOn:"right",props:{},width:"300px"}),this.panel.promise.then(()=>{this.setSettingsPanel(!1)})):(this.panel.hide(),this.panel=void 0)},showSettings(){this.setSettingsPanel(!0)}}},Ty={};var xk=B_(Bk,Dk,kk,!1,$k,null,null,null);function $k(e){for(let t in Ty)this[t]=Ty[t]}const Fk=function(){return xk.exports}(),Hk="modulepreload",Qk=function(e){return"/"+e},Py={},aR=function(t,n,a){if(!n||n.length===0)return t();const i=document.getElementsByTagName("link");return Promise.all(n.map(l=>{if(l=Qk(l),l in Py)return;Py[l]=!0;const u=l.endsWith(".css"),m=u?'[rel="stylesheet"]':"";if(!!a)for(let g=i.length-1;g>=0;g--){const b=i[g];if(b.href===l&&(!u||b.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":Hk,u||(d.as="script",d.crossOrigin=""),d.href=l,document.head.appendChild(d),u)return new Promise((g,b)=>{d.addEventListener("load",g),d.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${l}`)))})})).then(()=>t()).catch(l=>{const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=l,window.dispatchEvent(u),!u.defaultPrevented)throw l})};/*! * vue-router v3.5.3 * (c) 2021 Evan You * @license MIT - */function ao(e,t){for(var n in t)e[n]=t[n];return e}var Vk=/[!'()*]/g,Wk=function(e){return"%"+e.charCodeAt(0).toString(16)},zk=/%2C/g,Kf=function(e){return encodeURIComponent(e).replace(Vk,Wk).replace(zk,",")};function VK(e){try{return decodeURIComponent(e)}catch{}return e}function jk(e,t,n){t===void 0&&(t={});var a=n||Jk,i;try{i=a(e||"")}catch{i={}}for(var l in t){var u=t[l];i[l]=Array.isArray(u)?u.map(wy):wy(u)}return i}var wy=function(e){return e==null||typeof e=="object"?e:String(e)};function Jk(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e&&e.split("&").forEach(function(n){var a=n.replace(/\+/g," ").split("="),i=VK(a.shift()),l=a.length>0?VK(a.join("=")):null;t[i]===void 0?t[i]=l:Array.isArray(t[i])?t[i].push(l):t[i]=[t[i],l]}),t}function Xk(e){var t=e?Object.keys(e).map(function(n){var a=e[n];if(a===void 0)return"";if(a===null)return Kf(n);if(Array.isArray(a)){var i=[];return a.forEach(function(l){l!==void 0&&(l===null?i.push(Kf(n)):i.push(Kf(n)+"="+Kf(l)))}),i.join("&")}return Kf(n)+"="+Kf(a)}).filter(function(n){return n.length>0}).join("&"):null;return t?"?"+t:""}var Op=/\/?$/;function Ip(e,t,n,a){var i=a&&a.options.stringifyQuery,l=t.query||{};try{l=WK(l)}catch{}var u={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:l,params:t.params||{},fullPath:Oy(t,i),matched:e?Zk(e):[]};return n&&(u.redirectedFrom=Oy(n,i)),Object.freeze(u)}function WK(e){if(Array.isArray(e))return e.map(WK);if(e&&typeof e=="object"){var t={};for(var n in e)t[n]=WK(e[n]);return t}else return e}var x_=Ip(null,{path:"/"});function Zk(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Oy(e,t){var n=e.path,a=e.query;a===void 0&&(a={});var i=e.hash;i===void 0&&(i="");var l=t||Xk;return(n||"/")+l(a)+i}function sb(e,t,n){return t===x_?e===t:t?e.path&&t.path?e.path.replace(Op,"")===t.path.replace(Op,"")&&(n||e.hash===t.hash&&lp(e.query,t.query)):e.name&&t.name?e.name===t.name&&(n||e.hash===t.hash&&lp(e.query,t.query)&&lp(e.params,t.params)):!1:!1}function lp(e,t){if(e===void 0&&(e={}),t===void 0&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),a=Object.keys(t).sort();return n.length!==a.length?!1:n.every(function(i,l){var u=e[i],m=a[l];if(m!==i)return!1;var C=t[i];return u==null||C==null?u===C:typeof u=="object"&&typeof C=="object"?lp(u,C):String(u)===String(C)})}function Yk(e,t){return e.path.replace(Op,"/").indexOf(t.path.replace(Op,"/"))===0&&(!t.hash||e.hash===t.hash)&&qk(e.query,t.query)}function qk(e,t){for(var n in t)if(!(n in e))return!1;return!0}function _b(e){for(var t=0;t=0&&(t=e.slice(a),e=e.slice(0,a));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}function E_(e){return e.replace(/\/+/g,"/")}var Np=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},qf=mb,aM=iR,iM=sM,rM=ub,oM=fb,lM=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function iR(e,t){for(var n=[],a=0,i=0,l="",u=t&&t.delimiter||"/",m;(m=lM.exec(e))!=null;){var C=m[0],d=m[1],g=m.index;if(l+=e.slice(i,g),i=g+C.length,d){l+=d[1];continue}var b=e[i],P=m[2],w=m[3],G=m[4],z=m[5],j=m[6],V=m[7];l&&(n.push(l),l="");var q=P!=null&&b!=null&&b!==P,Y=j==="+"||j==="*",ee=j==="?"||j==="*",ae=m[2]||u,le=G||z;n.push({name:w||a++,prefix:P||"",delimiter:ae,optional:ee,repeat:Y,partial:q,asterisk:!!V,pattern:le?uM(le):V?".*":"[^"+sp(ae)+"]+?"})}return i1||!ae.length)return ae.length===0?t():t("span",{},ae)}if(this.tag==="a")ee.on=Y,ee.attrs={href:C,"aria-current":V};else{var le=Cb(this.$slots.default);if(le){le.isStatic=!1;var ie=le.data=ao({},le.data);ie.on=ie.on||{};for(var D in ie.on){var A=ie.on[D];D in Y&&(ie.on[D]=Array.isArray(A)?A:[A])}for(var O in Y)O in ie.on?ie.on[O].push(Y[O]):ie.on[O]=q;var M=le.data.attrs=ao({},le.data.attrs);M.href=C,M["aria-current"]=V}else ee.on=Y}return t(this.tag,ee,this.$slots.default)}};function Dy(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Cb(e){if(e){for(var t,n=0;n-1&&(j.params[ee]=G.params[ee]);return j.path=_p(q.path,j.params),P(q,j,z)}else if(j.path){j.params={};for(var ae=0;ae=e.length?n():e[i]?t(e[i],function(){a(i+1)}):a(i+1)};a(0)}var lu={redirected:2,aborted:4,cancelled:8,duplicated:16};function TM(e,t){return dh(e,t,lu.redirected,'Redirected when going from "'+e.fullPath+'" to "'+IM(t)+'" via a navigation guard.')}function PM(e,t){var n=dh(e,t,lu.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function $y(e,t){return dh(e,t,lu.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function wM(e,t){return dh(e,t,lu.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function dh(e,t,n,a){var i=new Error(a);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var OM=["params","query","hash"];function IM(e){if(typeof e=="string")return e;if("path"in e)return e.path;var t={};return OM.forEach(function(n){n in e&&(t[n]=e[n])}),JSON.stringify(t,null,2)}function kp(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function ph(e,t){return kp(e)&&e._isRouter&&(t==null||e.type===t)}function NM(e){return function(t,n,a){var i=!1,l=0,u=null;Rb(e,function(m,C,d,g){if(typeof m=="function"&&m.cid===void 0){i=!0,l++;var b=Fy(function(z){DM(z)&&(z=z.default),m.resolved=typeof z=="function"?z:Up.extend(z),d.components[g]=z,l--,l<=0&&a()}),P=Fy(function(z){var j="Failed to resolve async component "+g+": "+z;u||(u=kp(z)?z:new Error(j),a(u))}),w;try{w=m(b,P)}catch(z){P(z)}if(w)if(typeof w.then=="function")w.then(b,P);else{var G=w.component;G&&typeof G.then=="function"&&G.then(b,P)}}}),i||a()}}function Rb(e,t){return gb(e.map(function(n){return Object.keys(n.components).map(function(a){return t(n.components[a],n.instances[a],n,a)})}))}function gb(e){return Array.prototype.concat.apply([],e)}var UM=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function DM(e){return e.__esModule||UM&&e[Symbol.toStringTag]==="Module"}function Fy(e){var t=!1;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];if(!t)return t=!0,e.apply(this,n)}}var _o=function(t,n){this.router=t,this.base=kM(n),this.current=x_,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};_o.prototype.listen=function(t){this.cb=t};_o.prototype.onReady=function(t,n){this.ready?t():(this.readyCbs.push(t),n&&this.readyErrorCbs.push(n))};_o.prototype.onError=function(t){this.errorCbs.push(t)};_o.prototype.transitionTo=function(t,n,a){var i=this,l;try{l=this.router.match(t,this.current)}catch(m){throw this.errorCbs.forEach(function(C){C(m)}),m}var u=this.current;this.confirmTransition(l,function(){i.updateRoute(l),n&&n(l),i.ensureURL(),i.router.afterHooks.forEach(function(m){m&&m(l,u)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(m){m(l)}))},function(m){a&&a(m),m&&!i.ready&&(!ph(m,lu.redirected)||u!==x_)&&(i.ready=!0,i.readyErrorCbs.forEach(function(C){C(m)}))})};_o.prototype.confirmTransition=function(t,n,a){var i=this,l=this.current;this.pending=t;var u=function(z){!ph(z)&&kp(z)&&(i.errorCbs.length?i.errorCbs.forEach(function(j){j(z)}):console.error(z)),a&&a(z)},m=t.matched.length-1,C=l.matched.length-1;if(sb(t,l)&&m===C&&t.matched[m]===l.matched[C])return this.ensureURL(),t.hash&&b_(this.router,l,t,!1),u(PM(l,t));var d=MM(this.current.matched,t.matched),g=d.updated,b=d.deactivated,P=d.activated,w=[].concat(BM(b),this.router.beforeHooks,xM(g),P.map(function(z){return z.beforeEnter}),NM(P)),G=function(z,j){if(i.pending!==t)return u($y(l,t));try{z(t,l,function(V){V===!1?(i.ensureURL(!0),u(wM(l,t))):kp(V)?(i.ensureURL(!0),u(V)):typeof V=="string"||typeof V=="object"&&(typeof V.path=="string"||typeof V.name=="string")?(u(TM(l,t)),typeof V=="object"&&V.replace?i.replace(V):i.push(V)):j(V)})}catch(V){u(V)}};xy(w,G,function(){var z=$M(P),j=z.concat(i.router.resolveHooks);xy(j,G,function(){if(i.pending!==t)return u($y(l,t));i.pending=null,n(t),i.router.app&&i.router.app.$nextTick(function(){_b(t)})})})};_o.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)};_o.prototype.setupListeners=function(){};_o.prototype.teardown=function(){this.listeners.forEach(function(t){t()}),this.listeners=[],this.current=x_,this.pending=null};function kM(e){if(!e)if(xC){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function MM(e,t){var n,a=Math.max(e.length,t.length);for(n=0;n0)){var i=this.router,l=i.options.scrollBehavior,u=T_&&l;u&&this.listeners.push(Kb());var m=function(){var C=a.current,d=oC(a.base);a.current===x_&&d===a._startLocation||a.transitionTo(d,function(g){u&&b_(i,g,C,!0)})};window.addEventListener("popstate",m),this.listeners.push(function(){window.removeEventListener("popstate",m)})}},t.prototype.go=function(a){window.history.go(a)},t.prototype.push=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){Dp(E_(u.base+d.fullPath)),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.replace=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){JK(E_(u.base+d.fullPath)),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.ensureURL=function(a){if(oC(this.base)!==this.current.fullPath){var i=E_(this.base+this.current.fullPath);a?Dp(i):JK(i)}},t.prototype.getCurrentLocation=function(){return oC(this.base)},t}(_o);function oC(e){var t=window.location.pathname,n=t.toLowerCase(),a=e.toLowerCase();return e&&(n===a||n.indexOf(E_(a+"/"))===0)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ab=function(e){function t(n,a,i){e.call(this,n,a),!(i&&HM(this.base))&&Hy()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var a=this;if(!(this.listeners.length>0)){var i=this.router,l=i.options.scrollBehavior,u=T_&&l;u&&this.listeners.push(Kb());var m=function(){var d=a.current;Hy()&&a.transitionTo(cp(),function(g){u&&b_(a.router,g,d,!0),T_||up(g.fullPath)})},C=T_?"popstate":"hashchange";window.addEventListener(C,m),this.listeners.push(function(){window.removeEventListener(C,m)})}},t.prototype.push=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){Qy(d.fullPath),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.replace=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){up(d.fullPath),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.go=function(a){window.history.go(a)},t.prototype.ensureURL=function(a){var i=this.current.fullPath;cp()!==i&&(a?Qy(i):up(i))},t.prototype.getCurrentLocation=function(){return cp()},t}(_o);function HM(e){var t=oC(e);if(!/^\/#/.test(t))return window.location.replace(E_(e+"/#"+t)),!0}function Hy(){var e=cp();return e.charAt(0)==="/"?!0:(up("/"+e),!1)}function cp(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function XK(e){var t=window.location.href,n=t.indexOf("#"),a=n>=0?t.slice(0,n):t;return a+"#"+e}function Qy(e){T_?Dp(XK(e)):window.location.hash=e}function up(e){T_?JK(XK(e)):window.location.replace(XK(e))}var QM=function(e){function t(n,a){e.call(this,n,a),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(a,i,l){var u=this;this.transitionTo(a,function(m){u.stack=u.stack.slice(0,u.index+1).concat(m),u.index++,i&&i(m)},l)},t.prototype.replace=function(a,i,l){var u=this;this.transitionTo(a,function(m){u.stack=u.stack.slice(0,u.index).concat(m),i&&i(m)},l)},t.prototype.go=function(a){var i=this,l=this.index+a;if(!(l<0||l>=this.stack.length)){var u=this.stack[l];this.confirmTransition(u,function(){var m=i.current;i.index=l,i.updateRoute(u),i.router.afterHooks.forEach(function(C){C&&C(u,m)})},function(m){ph(m,lu.duplicated)&&(i.index=l)})}},t.prototype.getCurrentLocation=function(){var a=this.stack[this.stack.length-1];return a?a.fullPath:"/"},t.prototype.ensureURL=function(){},t}(_o),Pn=function(t){t===void 0&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=vM(t.routes||[],this);var n=t.mode||"hash";switch(this.fallback=n==="history"&&!T_&&t.fallback!==!1,this.fallback&&(n="hash"),xC||(n="abstract"),this.mode=n,n){case"history":this.history=new Lb(this,t.base);break;case"hash":this.history=new Ab(this,t.base,this.fallback);break;case"abstract":this.history=new QM(this,t.base);break}},Eb={currentRoute:{configurable:!0}};Pn.prototype.match=function(t,n,a){return this.matcher.match(t,n,a)};Eb.currentRoute.get=function(){return this.history&&this.history.current};Pn.prototype.init=function(t){var n=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var u=n.apps.indexOf(t);u>-1&&n.apps.splice(u,1),n.app===t&&(n.app=n.apps[0]||null),n.app||n.history.teardown()}),!this.app){this.app=t;var a=this.history;if(a instanceof Lb||a instanceof Ab){var i=function(u){var m=a.current,C=n.options.scrollBehavior,d=T_&&C;d&&"fullPath"in u&&b_(n,u,m,!1)},l=function(u){a.setupListeners(),i(u)};a.transitionTo(a.getCurrentLocation(),l,l)}a.listen(function(u){n.apps.forEach(function(m){m._route=u})})}};Pn.prototype.beforeEach=function(t){return _R(this.beforeHooks,t)};Pn.prototype.beforeResolve=function(t){return _R(this.resolveHooks,t)};Pn.prototype.afterEach=function(t){return _R(this.afterHooks,t)};Pn.prototype.onReady=function(t,n){this.history.onReady(t,n)};Pn.prototype.onError=function(t){this.history.onError(t)};Pn.prototype.push=function(t,n,a){var i=this;if(!n&&!a&&typeof Promise<"u")return new Promise(function(l,u){i.history.push(t,l,u)});this.history.push(t,n,a)};Pn.prototype.replace=function(t,n,a){var i=this;if(!n&&!a&&typeof Promise<"u")return new Promise(function(l,u){i.history.replace(t,l,u)});this.history.replace(t,n,a)};Pn.prototype.go=function(t){this.history.go(t)};Pn.prototype.back=function(){this.go(-1)};Pn.prototype.forward=function(){this.go(1)};Pn.prototype.getMatchedComponents=function(t){var n=t?t.matched?t:this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(a){return Object.keys(a.components).map(function(i){return a.components[i]})})):[]};Pn.prototype.resolve=function(t,n,a){n=n||this.history.current;var i=lR(t,n,a,this),l=this.match(i,n),u=l.redirectedFrom||l.fullPath,m=this.history.base,C=VM(m,u,this.mode);return{location:i,route:l,href:C,normalizedTo:i,resolved:l}};Pn.prototype.getRoutes=function(){return this.matcher.getRoutes()};Pn.prototype.addRoute=function(t,n){this.matcher.addRoute(t,n),this.history.current!==x_&&this.history.transitionTo(this.history.getCurrentLocation())};Pn.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==x_&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Pn.prototype,Eb);function _R(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function VM(e,t,n){var a=n==="hash"?"#"+t:t;return e?E_(e+"/"+a):a}Pn.install=zK;Pn.version="3.5.3";Pn.isNavigationFailure=ph;Pn.NavigationFailureType=lu;Pn.START_LOCATION=x_;xC&&window.Vue&&window.Vue.use(Pn);const bb=Pn,Vy=()=>aR(()=>import("./Home-ccd2dacc.js"),["assets/Home-ccd2dacc.js","assets/BaseKey-5d776fbf.js","assets/BaseKey-34f28bd3.css","assets/Home-fe6589aa.css"]),WM=()=>aR(()=>import("./Print-59e7c655.js"),["assets/Print-59e7c655.js","assets/BaseKey-5d776fbf.js","assets/BaseKey-34f28bd3.css","assets/Print-76aa46fc.css"]),zM=()=>aR(()=>import("./Test-05ff3726.js"),["assets/Test-05ff3726.js","assets/BaseKey-5d776fbf.js","assets/BaseKey-34f28bd3.css","assets/Test-a430b51d.css"]);Ze.use(bb);const jM=new bb({routes:[{path:"/:keyboardP(.+)/:layoutP(.+)",component:Vy,name:"home"},{path:"/print",component:WM,name:"print"},{path:"/test",component:zM,name:"test"},{path:"*",component:Vy}]});var JM=!0;Ze.util.warn;function XM(){return!!_w()}function ZM(){return Tb().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Tb(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const YM=typeof Proxy=="function",qM="devtools-plugin:setup",eG="plugin:settings:set";let vf,ZK;function tG(){var e;return vf!==void 0||(typeof window<"u"&&window.performance?(vf=!0,ZK=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(vf=!0,ZK=globalThis.perf_hooks.performance):vf=!1),vf}function nG(){return tG()?ZK.now():Date.now()}class aG{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const u in t.settings){const m=t.settings[u];a[u]=m.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let l=Object.assign({},a);try{const u=localStorage.getItem(i),m=JSON.parse(u);Object.assign(l,m)}catch{}this.fallbacks={getSettings(){return l},setSettings(u){try{localStorage.setItem(i,JSON.stringify(u))}catch{}l=u},now(){return nG()}},n&&n.on(eG,(u,m)=>{u===this.plugin.id&&this.fallbacks.setSettings(m)}),this.proxiedOn=new Proxy({},{get:(u,m)=>this.target?this.target.on[m]:(...C)=>{this.onQueue.push({method:m,args:C})}}),this.proxiedTarget=new Proxy({},{get:(u,m)=>this.target?this.target[m]:m==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(m)?(...C)=>(this.targetQueue.push({method:m,args:C,resolve:()=>{}}),this.fallbacks[m](...C)):(...C)=>new Promise(d=>{this.targetQueue.push({method:m,args:C,resolve:d})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Pb(e,t){const n=e,a=Tb(),i=ZM(),l=YM&&n.enableEarlyProxy;if(i&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!l))i.emit(qM,e,t);else{const u=l?new aG(n,i):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:u}),u&&t(u.proxiedTarget)}}/*! + */function ao(e,t){for(var n in t)e[n]=t[n];return e}var Vk=/[!'()*]/g,Wk=function(e){return"%"+e.charCodeAt(0).toString(16)},zk=/%2C/g,Kf=function(e){return encodeURIComponent(e).replace(Vk,Wk).replace(zk,",")};function VK(e){try{return decodeURIComponent(e)}catch{}return e}function jk(e,t,n){t===void 0&&(t={});var a=n||Jk,i;try{i=a(e||"")}catch{i={}}for(var l in t){var u=t[l];i[l]=Array.isArray(u)?u.map(wy):wy(u)}return i}var wy=function(e){return e==null||typeof e=="object"?e:String(e)};function Jk(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e&&e.split("&").forEach(function(n){var a=n.replace(/\+/g," ").split("="),i=VK(a.shift()),l=a.length>0?VK(a.join("=")):null;t[i]===void 0?t[i]=l:Array.isArray(t[i])?t[i].push(l):t[i]=[t[i],l]}),t}function Xk(e){var t=e?Object.keys(e).map(function(n){var a=e[n];if(a===void 0)return"";if(a===null)return Kf(n);if(Array.isArray(a)){var i=[];return a.forEach(function(l){l!==void 0&&(l===null?i.push(Kf(n)):i.push(Kf(n)+"="+Kf(l)))}),i.join("&")}return Kf(n)+"="+Kf(a)}).filter(function(n){return n.length>0}).join("&"):null;return t?"?"+t:""}var Op=/\/?$/;function Ip(e,t,n,a){var i=a&&a.options.stringifyQuery,l=t.query||{};try{l=WK(l)}catch{}var u={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:l,params:t.params||{},fullPath:Oy(t,i),matched:e?Zk(e):[]};return n&&(u.redirectedFrom=Oy(n,i)),Object.freeze(u)}function WK(e){if(Array.isArray(e))return e.map(WK);if(e&&typeof e=="object"){var t={};for(var n in e)t[n]=WK(e[n]);return t}else return e}var x_=Ip(null,{path:"/"});function Zk(e){for(var t=[];e;)t.unshift(e),e=e.parent;return t}function Oy(e,t){var n=e.path,a=e.query;a===void 0&&(a={});var i=e.hash;i===void 0&&(i="");var l=t||Xk;return(n||"/")+l(a)+i}function sb(e,t,n){return t===x_?e===t:t?e.path&&t.path?e.path.replace(Op,"")===t.path.replace(Op,"")&&(n||e.hash===t.hash&&lp(e.query,t.query)):e.name&&t.name?e.name===t.name&&(n||e.hash===t.hash&&lp(e.query,t.query)&&lp(e.params,t.params)):!1:!1}function lp(e,t){if(e===void 0&&(e={}),t===void 0&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),a=Object.keys(t).sort();return n.length!==a.length?!1:n.every(function(i,l){var u=e[i],m=a[l];if(m!==i)return!1;var C=t[i];return u==null||C==null?u===C:typeof u=="object"&&typeof C=="object"?lp(u,C):String(u)===String(C)})}function Yk(e,t){return e.path.replace(Op,"/").indexOf(t.path.replace(Op,"/"))===0&&(!t.hash||e.hash===t.hash)&&qk(e.query,t.query)}function qk(e,t){for(var n in t)if(!(n in e))return!1;return!0}function _b(e){for(var t=0;t=0&&(t=e.slice(a),e=e.slice(0,a));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}function E_(e){return e.replace(/\/+/g,"/")}var Np=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"},qf=mb,aM=iR,iM=sM,rM=ub,oM=fb,lM=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function iR(e,t){for(var n=[],a=0,i=0,l="",u=t&&t.delimiter||"/",m;(m=lM.exec(e))!=null;){var C=m[0],d=m[1],g=m.index;if(l+=e.slice(i,g),i=g+C.length,d){l+=d[1];continue}var b=e[i],P=m[2],w=m[3],G=m[4],z=m[5],j=m[6],V=m[7];l&&(n.push(l),l="");var q=P!=null&&b!=null&&b!==P,Y=j==="+"||j==="*",ee=j==="?"||j==="*",ae=m[2]||u,le=G||z;n.push({name:w||a++,prefix:P||"",delimiter:ae,optional:ee,repeat:Y,partial:q,asterisk:!!V,pattern:le?uM(le):V?".*":"[^"+sp(ae)+"]+?"})}return i1||!ae.length)return ae.length===0?t():t("span",{},ae)}if(this.tag==="a")ee.on=Y,ee.attrs={href:C,"aria-current":V};else{var le=Cb(this.$slots.default);if(le){le.isStatic=!1;var ie=le.data=ao({},le.data);ie.on=ie.on||{};for(var D in ie.on){var A=ie.on[D];D in Y&&(ie.on[D]=Array.isArray(A)?A:[A])}for(var O in Y)O in ie.on?ie.on[O].push(Y[O]):ie.on[O]=q;var M=le.data.attrs=ao({},le.data.attrs);M.href=C,M["aria-current"]=V}else ee.on=Y}return t(this.tag,ee,this.$slots.default)}};function Dy(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Cb(e){if(e){for(var t,n=0;n-1&&(j.params[ee]=G.params[ee]);return j.path=_p(q.path,j.params),P(q,j,z)}else if(j.path){j.params={};for(var ae=0;ae=e.length?n():e[i]?t(e[i],function(){a(i+1)}):a(i+1)};a(0)}var lu={redirected:2,aborted:4,cancelled:8,duplicated:16};function TM(e,t){return dh(e,t,lu.redirected,'Redirected when going from "'+e.fullPath+'" to "'+IM(t)+'" via a navigation guard.')}function PM(e,t){var n=dh(e,t,lu.duplicated,'Avoided redundant navigation to current location: "'+e.fullPath+'".');return n.name="NavigationDuplicated",n}function $y(e,t){return dh(e,t,lu.cancelled,'Navigation cancelled from "'+e.fullPath+'" to "'+t.fullPath+'" with a new navigation.')}function wM(e,t){return dh(e,t,lu.aborted,'Navigation aborted from "'+e.fullPath+'" to "'+t.fullPath+'" via a navigation guard.')}function dh(e,t,n,a){var i=new Error(a);return i._isRouter=!0,i.from=e,i.to=t,i.type=n,i}var OM=["params","query","hash"];function IM(e){if(typeof e=="string")return e;if("path"in e)return e.path;var t={};return OM.forEach(function(n){n in e&&(t[n]=e[n])}),JSON.stringify(t,null,2)}function kp(e){return Object.prototype.toString.call(e).indexOf("Error")>-1}function ph(e,t){return kp(e)&&e._isRouter&&(t==null||e.type===t)}function NM(e){return function(t,n,a){var i=!1,l=0,u=null;Rb(e,function(m,C,d,g){if(typeof m=="function"&&m.cid===void 0){i=!0,l++;var b=Fy(function(z){DM(z)&&(z=z.default),m.resolved=typeof z=="function"?z:Up.extend(z),d.components[g]=z,l--,l<=0&&a()}),P=Fy(function(z){var j="Failed to resolve async component "+g+": "+z;u||(u=kp(z)?z:new Error(j),a(u))}),w;try{w=m(b,P)}catch(z){P(z)}if(w)if(typeof w.then=="function")w.then(b,P);else{var G=w.component;G&&typeof G.then=="function"&&G.then(b,P)}}}),i||a()}}function Rb(e,t){return gb(e.map(function(n){return Object.keys(n.components).map(function(a){return t(n.components[a],n.instances[a],n,a)})}))}function gb(e){return Array.prototype.concat.apply([],e)}var UM=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol";function DM(e){return e.__esModule||UM&&e[Symbol.toStringTag]==="Module"}function Fy(e){var t=!1;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];if(!t)return t=!0,e.apply(this,n)}}var _o=function(t,n){this.router=t,this.base=kM(n),this.current=x_,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};_o.prototype.listen=function(t){this.cb=t};_o.prototype.onReady=function(t,n){this.ready?t():(this.readyCbs.push(t),n&&this.readyErrorCbs.push(n))};_o.prototype.onError=function(t){this.errorCbs.push(t)};_o.prototype.transitionTo=function(t,n,a){var i=this,l;try{l=this.router.match(t,this.current)}catch(m){throw this.errorCbs.forEach(function(C){C(m)}),m}var u=this.current;this.confirmTransition(l,function(){i.updateRoute(l),n&&n(l),i.ensureURL(),i.router.afterHooks.forEach(function(m){m&&m(l,u)}),i.ready||(i.ready=!0,i.readyCbs.forEach(function(m){m(l)}))},function(m){a&&a(m),m&&!i.ready&&(!ph(m,lu.redirected)||u!==x_)&&(i.ready=!0,i.readyErrorCbs.forEach(function(C){C(m)}))})};_o.prototype.confirmTransition=function(t,n,a){var i=this,l=this.current;this.pending=t;var u=function(z){!ph(z)&&kp(z)&&(i.errorCbs.length?i.errorCbs.forEach(function(j){j(z)}):console.error(z)),a&&a(z)},m=t.matched.length-1,C=l.matched.length-1;if(sb(t,l)&&m===C&&t.matched[m]===l.matched[C])return this.ensureURL(),t.hash&&b_(this.router,l,t,!1),u(PM(l,t));var d=MM(this.current.matched,t.matched),g=d.updated,b=d.deactivated,P=d.activated,w=[].concat(BM(b),this.router.beforeHooks,xM(g),P.map(function(z){return z.beforeEnter}),NM(P)),G=function(z,j){if(i.pending!==t)return u($y(l,t));try{z(t,l,function(V){V===!1?(i.ensureURL(!0),u(wM(l,t))):kp(V)?(i.ensureURL(!0),u(V)):typeof V=="string"||typeof V=="object"&&(typeof V.path=="string"||typeof V.name=="string")?(u(TM(l,t)),typeof V=="object"&&V.replace?i.replace(V):i.push(V)):j(V)})}catch(V){u(V)}};xy(w,G,function(){var z=$M(P),j=z.concat(i.router.resolveHooks);xy(j,G,function(){if(i.pending!==t)return u($y(l,t));i.pending=null,n(t),i.router.app&&i.router.app.$nextTick(function(){_b(t)})})})};_o.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)};_o.prototype.setupListeners=function(){};_o.prototype.teardown=function(){this.listeners.forEach(function(t){t()}),this.listeners=[],this.current=x_,this.pending=null};function kM(e){if(!e)if(xC){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return e.charAt(0)!=="/"&&(e="/"+e),e.replace(/\/$/,"")}function MM(e,t){var n,a=Math.max(e.length,t.length);for(n=0;n0)){var i=this.router,l=i.options.scrollBehavior,u=T_&&l;u&&this.listeners.push(Kb());var m=function(){var C=a.current,d=oC(a.base);a.current===x_&&d===a._startLocation||a.transitionTo(d,function(g){u&&b_(i,g,C,!0)})};window.addEventListener("popstate",m),this.listeners.push(function(){window.removeEventListener("popstate",m)})}},t.prototype.go=function(a){window.history.go(a)},t.prototype.push=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){Dp(E_(u.base+d.fullPath)),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.replace=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){JK(E_(u.base+d.fullPath)),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.ensureURL=function(a){if(oC(this.base)!==this.current.fullPath){var i=E_(this.base+this.current.fullPath);a?Dp(i):JK(i)}},t.prototype.getCurrentLocation=function(){return oC(this.base)},t}(_o);function oC(e){var t=window.location.pathname,n=t.toLowerCase(),a=e.toLowerCase();return e&&(n===a||n.indexOf(E_(a+"/"))===0)&&(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var Ab=function(e){function t(n,a,i){e.call(this,n,a),!(i&&HM(this.base))&&Hy()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var a=this;if(!(this.listeners.length>0)){var i=this.router,l=i.options.scrollBehavior,u=T_&&l;u&&this.listeners.push(Kb());var m=function(){var d=a.current;Hy()&&a.transitionTo(cp(),function(g){u&&b_(a.router,g,d,!0),T_||up(g.fullPath)})},C=T_?"popstate":"hashchange";window.addEventListener(C,m),this.listeners.push(function(){window.removeEventListener(C,m)})}},t.prototype.push=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){Qy(d.fullPath),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.replace=function(a,i,l){var u=this,m=this,C=m.current;this.transitionTo(a,function(d){up(d.fullPath),b_(u.router,d,C,!1),i&&i(d)},l)},t.prototype.go=function(a){window.history.go(a)},t.prototype.ensureURL=function(a){var i=this.current.fullPath;cp()!==i&&(a?Qy(i):up(i))},t.prototype.getCurrentLocation=function(){return cp()},t}(_o);function HM(e){var t=oC(e);if(!/^\/#/.test(t))return window.location.replace(E_(e+"/#"+t)),!0}function Hy(){var e=cp();return e.charAt(0)==="/"?!0:(up("/"+e),!1)}function cp(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function XK(e){var t=window.location.href,n=t.indexOf("#"),a=n>=0?t.slice(0,n):t;return a+"#"+e}function Qy(e){T_?Dp(XK(e)):window.location.hash=e}function up(e){T_?JK(XK(e)):window.location.replace(XK(e))}var QM=function(e){function t(n,a){e.call(this,n,a),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(a,i,l){var u=this;this.transitionTo(a,function(m){u.stack=u.stack.slice(0,u.index+1).concat(m),u.index++,i&&i(m)},l)},t.prototype.replace=function(a,i,l){var u=this;this.transitionTo(a,function(m){u.stack=u.stack.slice(0,u.index).concat(m),i&&i(m)},l)},t.prototype.go=function(a){var i=this,l=this.index+a;if(!(l<0||l>=this.stack.length)){var u=this.stack[l];this.confirmTransition(u,function(){var m=i.current;i.index=l,i.updateRoute(u),i.router.afterHooks.forEach(function(C){C&&C(u,m)})},function(m){ph(m,lu.duplicated)&&(i.index=l)})}},t.prototype.getCurrentLocation=function(){var a=this.stack[this.stack.length-1];return a?a.fullPath:"/"},t.prototype.ensureURL=function(){},t}(_o),Pn=function(t){t===void 0&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=vM(t.routes||[],this);var n=t.mode||"hash";switch(this.fallback=n==="history"&&!T_&&t.fallback!==!1,this.fallback&&(n="hash"),xC||(n="abstract"),this.mode=n,n){case"history":this.history=new Lb(this,t.base);break;case"hash":this.history=new Ab(this,t.base,this.fallback);break;case"abstract":this.history=new QM(this,t.base);break}},Eb={currentRoute:{configurable:!0}};Pn.prototype.match=function(t,n,a){return this.matcher.match(t,n,a)};Eb.currentRoute.get=function(){return this.history&&this.history.current};Pn.prototype.init=function(t){var n=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var u=n.apps.indexOf(t);u>-1&&n.apps.splice(u,1),n.app===t&&(n.app=n.apps[0]||null),n.app||n.history.teardown()}),!this.app){this.app=t;var a=this.history;if(a instanceof Lb||a instanceof Ab){var i=function(u){var m=a.current,C=n.options.scrollBehavior,d=T_&&C;d&&"fullPath"in u&&b_(n,u,m,!1)},l=function(u){a.setupListeners(),i(u)};a.transitionTo(a.getCurrentLocation(),l,l)}a.listen(function(u){n.apps.forEach(function(m){m._route=u})})}};Pn.prototype.beforeEach=function(t){return _R(this.beforeHooks,t)};Pn.prototype.beforeResolve=function(t){return _R(this.resolveHooks,t)};Pn.prototype.afterEach=function(t){return _R(this.afterHooks,t)};Pn.prototype.onReady=function(t,n){this.history.onReady(t,n)};Pn.prototype.onError=function(t){this.history.onError(t)};Pn.prototype.push=function(t,n,a){var i=this;if(!n&&!a&&typeof Promise<"u")return new Promise(function(l,u){i.history.push(t,l,u)});this.history.push(t,n,a)};Pn.prototype.replace=function(t,n,a){var i=this;if(!n&&!a&&typeof Promise<"u")return new Promise(function(l,u){i.history.replace(t,l,u)});this.history.replace(t,n,a)};Pn.prototype.go=function(t){this.history.go(t)};Pn.prototype.back=function(){this.go(-1)};Pn.prototype.forward=function(){this.go(1)};Pn.prototype.getMatchedComponents=function(t){var n=t?t.matched?t:this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(a){return Object.keys(a.components).map(function(i){return a.components[i]})})):[]};Pn.prototype.resolve=function(t,n,a){n=n||this.history.current;var i=lR(t,n,a,this),l=this.match(i,n),u=l.redirectedFrom||l.fullPath,m=this.history.base,C=VM(m,u,this.mode);return{location:i,route:l,href:C,normalizedTo:i,resolved:l}};Pn.prototype.getRoutes=function(){return this.matcher.getRoutes()};Pn.prototype.addRoute=function(t,n){this.matcher.addRoute(t,n),this.history.current!==x_&&this.history.transitionTo(this.history.getCurrentLocation())};Pn.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==x_&&this.history.transitionTo(this.history.getCurrentLocation())};Object.defineProperties(Pn.prototype,Eb);function _R(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function VM(e,t,n){var a=n==="hash"?"#"+t:t;return e?E_(e+"/"+a):a}Pn.install=zK;Pn.version="3.5.3";Pn.isNavigationFailure=ph;Pn.NavigationFailureType=lu;Pn.START_LOCATION=x_;xC&&window.Vue&&window.Vue.use(Pn);const bb=Pn,Vy=()=>aR(()=>import("./Home-09ef69e2.js"),["assets/Home-09ef69e2.js","assets/BaseKey-82402d2e.js","assets/BaseKey-34f28bd3.css","assets/Home-fe6589aa.css"]),WM=()=>aR(()=>import("./Print-0fc2074b.js"),["assets/Print-0fc2074b.js","assets/BaseKey-82402d2e.js","assets/BaseKey-34f28bd3.css","assets/Print-76aa46fc.css"]),zM=()=>aR(()=>import("./Test-155333bc.js"),["assets/Test-155333bc.js","assets/BaseKey-82402d2e.js","assets/BaseKey-34f28bd3.css","assets/Test-a430b51d.css"]);Ze.use(bb);const jM=new bb({routes:[{path:"/:keyboardP(.+)/:layoutP(.+)",component:Vy,name:"home"},{path:"/print",component:WM,name:"print"},{path:"/test",component:zM,name:"test"},{path:"*",component:Vy}]});var JM=!0;Ze.util.warn;function XM(){return!!_w()}function ZM(){return Tb().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Tb(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const YM=typeof Proxy=="function",qM="devtools-plugin:setup",eG="plugin:settings:set";let vf,ZK;function tG(){var e;return vf!==void 0||(typeof window<"u"&&window.performance?(vf=!0,ZK=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(vf=!0,ZK=globalThis.perf_hooks.performance):vf=!1),vf}function nG(){return tG()?ZK.now():Date.now()}class aG{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const a={};if(t.settings)for(const u in t.settings){const m=t.settings[u];a[u]=m.defaultValue}const i=`__vue-devtools-plugin-settings__${t.id}`;let l=Object.assign({},a);try{const u=localStorage.getItem(i),m=JSON.parse(u);Object.assign(l,m)}catch{}this.fallbacks={getSettings(){return l},setSettings(u){try{localStorage.setItem(i,JSON.stringify(u))}catch{}l=u},now(){return nG()}},n&&n.on(eG,(u,m)=>{u===this.plugin.id&&this.fallbacks.setSettings(m)}),this.proxiedOn=new Proxy({},{get:(u,m)=>this.target?this.target.on[m]:(...C)=>{this.onQueue.push({method:m,args:C})}}),this.proxiedTarget=new Proxy({},{get:(u,m)=>this.target?this.target[m]:m==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(m)?(...C)=>(this.targetQueue.push({method:m,args:C,resolve:()=>{}}),this.fallbacks[m](...C)):(...C)=>new Promise(d=>{this.targetQueue.push({method:m,args:C,resolve:d})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Pb(e,t){const n=e,a=Tb(),i=ZM(),l=YM&&n.enableEarlyProxy;if(i&&(a.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!l))i.emit(qM,e,t);else{const u=l?new aG(n,i):null;(a.__VUE_DEVTOOLS_PLUGINS__=a.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:u}),u&&t(u.proxiedTarget)}}/*! * pinia v2.2.4 * (c) 2024 Eduardo San Martin Morote * @license MIT @@ -1351,7 +1351,7 @@ function print() { __p += __j.call(arguments, '') } }`;var z=p4(function(){return Function(l,w+"return "+b).apply(void 0,u)});if(z.source=b,K4(z))throw z;return z}var N4=I4;const U4=Ba(N4),hh="https://api.qmk.fm";if(Nn(hh))throw"Backend URL has not been specified";const RR="https://keyboards.qmk.fm";if(Nn(RR))throw"Keyboard Metadata URL has not been specified";const fT=`${RR}/v1/keyboards`,D4=`${RR}/v1/keyboard_list.json`,iZ=`${hh}/v1/compile`,k4=`${hh}/v1`,M4=U4(`${fT}/<%= keyboard %>/readme.md`),G4=`${hh}/v1/skeletons`,aK="Preview info.json";function B4(e,t,n,a){for(var i=e.length,l=n+(a?1:-1);a?l--:++l-1:!!i&&aF(e,t,n)>-1}var cF=_F;const iK=Ba(cF);function uF(e){return e&&e.length?e[0]:void 0}var fF=uF,mF=fF;const mL=Ba(mF),CF=["1upkeyboards/sweet16","40percentclub/i75","7skb","8pack","adkb96","aeboards/ext65","ai03/equinox","aleth42","angel17","angel64","atreus","bat43","bear_face","bigseries","boston_meetup","bpiphany/pegasushoof","business_card","cannonkeys/satisfaction75","christmas_tree","claw44","converter/palm_usb","converter/sun_usb","converter/usb_usb","crkbd","delikeeb/vanana","delikeeb/waaffle/rev3","deltasplit75","duck/eagle_viper","duck/octagon","duck/orion","dumbpad","eco","eek","ergo42","ergodash","ergoslab","ergotravel","exclusive/e85","fortitude60","getta25","hadron","handwired/bento","handwired/bluepill","handwired/dactyl_manuform","handwired/onekey","handwired/pill60","handwired/postageboard","handwired/pytest/has_community","handwired/qc60","handwired/splittest","handwired/unk","handwired/xealous","hecomi","helix","helix/pico","helix/pico/back","helix/pico/under","helix/rev2","helix/rev2/back","helix/rev2/sc","helix/rev2/under","id80","ivy","jian","jiran","jisplit89","jones","kbdfans/kbd75","keebio/bdn9","keebio/dsp40","keebio/iris","keebio/kbo5000","keebio/levinson","keebio/nyquist","keebio/quefrency","keebio/rorschach","keebio/sinc","keebio/viterbi","keycapsss/kimiko","keycapsss/plaid_pad","kinesis","kudox","kudox_game","kyria","launchpad","lets_split","lets_split_eh","lfkeyboards/lfk78","lfkeyboards/smk65","lily58","maartenwut/atom47","marksard/rhymestone","maxipad","mechllama/g35","mechlovin/adelais","mechlovin/adelais/rgb_led","mechlovin/adelais/standard_led","mechlovin/delphine","mechlovin/hannah60rgb","mechlovin/hannah65","mechlovin/hannah910","mechmini","meira","melgeek/z70ultra","minidox","montsinger/rebound","mschwingen/modelm","murcielago","naked48","naked60","naked64","namecard2x4","navi10","nomu30","oddball","orthodox","pimentoso/paddino02","pico","pinky","planck","ploopyco/trackball","ploopyco/trackball_mini","ploopyco/trackball_nano","ploopyco/trackball_nano/rev1_001","polilla","preonic","primekb/prime_l","projectkb/alice","ps2avrGB","qwertyydox","ramonimbao/herringbone","redox","rgbkb/pan","rgbkb/pan/rev1","rgbkb/sol","rgbkb/zen","rgbkb/zygomorph","runner3680","s7_elephant","sentraq/s60_x","setta21","sirius/uni660","sofle","spacetime","suihankey","suihankey/split","tkw/stoutgat/v2","treadstone48","tronguylabs/m122_3270","underscore33","unison","uzu42","vitamins_included","whale/sk","yd60mq","ymd75","yosino58","zinc","zvecr/zv48"];function dF(){return CF.reduce((e,t)=>(e[t]=!0,e),{})}function CL(e){let t=lT(e);if(iK(t,"LAYOUT"))return"LAYOUT";if(iK(t,"LAYOUT_all"))return"LAYOUT_all";if(iK(t,"KEYMAP"))return"KEYMAP";let n=t.filter(a=>!a.endsWith("_kc"));return n.length>0?mL(n):mL(t)}function rZ({keyboard:e,keymap:t,layout:n,layers:a}){return Nn(e)||Nn(t)||Nn(n)||Nn(a)}const pF=new Set(["gboards/gergo","gboards/georgi","stenokeyboards/the_uni/pro_micro","stenokeyboards/the_uni/rp_2040","stenokeyboards/the_uni/usb_c"]),hF={async fetchKeyboards({commit:e}){try{const t=await fetch(D4);if(t.ok){const n=await t.json(),a=dF(),i=n.keyboards.filter(l=>Nn(a[l]));return e("setKeyboards",i),i}}catch(t){console.error("Error fetching keyboards",t)}return[]},async loadDefaultKeymap({state:e}){const t=e.keyboard.slice(0,1).toLowerCase(),n=e.keyboard.replace(/\//g,"_");try{const a=await fetch(`keymaps/${t}/${n}_default.json`);if(a.ok)return await a.json()}catch(a){console.error("Error fetching default keymap",a)}},async loadKeymapFromUrl(e,t){return fetch(t).then(async n=>{if(n.ok)return await n.json();console.error("Error fetching keymap from URL",n.statusText)})},async changeKeyboard({state:e,commit:t,dispatch:n},a){const i=this;let l=!1;t("disablePreview"),t("enableCompile"),e.keyboard!==a&&(l=!0),t("setKeyboard",a);const u=e.layout||"";t("setLayout",void 0),await n("loadLayouts");let m=CL(e.layouts);console.info(CL(e.layouts)),u&&!Nn(e.layouts[u])&&(m=u),t("setLayout",m);const C=Nr();return pF.has(a)?C.enableSteno():C.disableSteno(),l&&i.commit("keymap/clear"),Promise.resolve()},async loadLayouts({commit:e,state:t},n){if(!Nn(n))return n.layouts[" "]={layout:[]},new Promise(l=>{let u={keyboards:{}};u.keyboards[t.keyboard]=n,e("setKeyboardMeta",{}),e("processLayouts",u),l(n)});const a=await fetch(`${fT}/${t.keyboard}/info.json`);if(a.ok){const i=await a.json();return e("setKeyboardMeta",i),e("processLayouts",i),a}},saveConfiguratorSettings({state:e}){PG(fR.configuratorSettings,JSON.stringify(e.configuratorSettings))},async changeLanguage({dispatch:e,commit:t},n){this.$i18n.locale=n,t("setCurrentLanguage",n),await e("saveConfiguratorSettings")},async changeOSKeyboardLayout({dispatch:e,state:t,commit:n},a){n("setOSKeyboardLayout",a);const i=Nr();i.updateKeycodeNames(),this.commit("keymap/updateKeycodeNames"),i.changeActive(t.configuratorSettings.iso?"ISO/JIS":"ANSI"),this.commit("tester/setLayout",t.configuratorSettings.iso?"ISO":"ANSI"),await this.dispatch("tester/init"),await e("saveConfiguratorSettings")},async toggleDarkMode({commit:e,state:t,dispatch:n},a){let i=t.configuratorSettings.darkmodeEnabled;a||(i=!i),i?document.getElementsByTagName("html")[0].dataset.theme="dark":document.getElementsByTagName("html")[0].dataset.theme="",e("setDarkmode",i),await n("saveConfiguratorSettings")},async toggleClearLayerDefault({commit:e,state:t,dispatch:n}){let a=t.configuratorSettings.clearLayerDefault;a=!a,e("setClearLayerDefault",a),await n("saveConfiguratorSettings")},async setFavoriteKeyboard({commit:e,dispatch:t},n){e("setFavoriteKeyboard",n),await t("saveConfiguratorSettings")},async setFavoriteColor({commit:e,dispatch:t},n){e("setFavoriteColor",n),await t("saveConfiguratorSettings")},async loadApplicationState({commit:e,dispatch:t}){console.log("loadApplicationState Start"),await t("fetchKeyboards"),await t("loadFavoriteKeyboard"),await t("toggleDarkMode",!0),await t("loadLanguage"),console.log("loadApplicationState End"),e("setAppInitialized",!0)},loadLanguage({state:e}){e.configuratorSettings.language&&this.$i18n.locale!==e.configuratorSettings.language?this.$i18n.locale=e.configuratorSettings.language:e.configuratorSettings.language=this.$i18n.locale},async loadFavoriteKeyboard({dispatch:e,state:t,getters:n,commit:a}){t.configuratorSettings.favoriteKeyboard&&(n.validateKeyboard(t.configuratorSettings.favoriteKeyboard)?(console.info(`setKeyboard ${t.configuratorSettings.favoriteKeyboard}`),a("setKeyboard",t.configuratorSettings.favoriteKeyboard)):(console.info("Invalid keyboard favorited. Removing setting from local storage"),a("setFavoriteKeyboard",""),await e("saveConfiguratorSettings")))},async initKeypressListener({commit:e}){const t=this,n=new Hb.keypress.Listener,a=Nr(),i=XB(t,a.keycodes);n.register_many(i),n.simple_combo("ctrl shift i",()=>{t.state.app.isPreview||e("requestPreview")}),n.simple_combo("ctrl alt n",()=>{t.commit("keymap/nextColorway")}),n.simple_combo("ctrl alt f",()=>{t.commit("keymap/toggleContinuousInput")}),n.simple_combo("ctrl alt s",()=>{e("toggleSettingsPanel")}),e("setKeypressListener",()=>n)},async updateKeymapName({commit:e,rootState:t},n){const a=this;e("setKeymapName",n),n!==""&&!t.keymap.dirty&&a.commit("keymap/setDirty"),n===""&&t.keymap.dirty&&a.commit("keymap/clearDirty")}};function SF(e,t,n,a){var i=-1,l=e==null?0:e.length;for(a&&l&&(n=e[++i]);++i-1}var JF=jF,XF=Sh;function ZF(e,t){var n=this.__data__,a=XF(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}var YF=ZF,qF=kF,e5=HF,t5=WF,n5=JF,a5=YF;function nm(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tm))return!1;var d=l.get(e),g=l.get(t);if(d&&g)return d==t&&g==e;var b=-1,P=!0,w=n&xH?new kH:void 0;for(l.set(e,t),l.set(t,e);++bt!==aK)},setKeyboard(e,t){e.keyboard=t},setLegends(e,t){e.legends=t},setCurrentLanguage(e,t){Ze.set(e.configuratorSettings,"language",t)},setFavoriteKeyboard(e,t){e.configuratorSettings.favoriteKeyboard=t},setFavoriteColor(e,t){Ze.set(e.configuratorSettings,"favoriteColor",t)},setKeyboards(e,t){e.keyboards=t,e._keyboards=t},setLayout(e,t){if(e.keyboardMeta&&e.keyboard&&e.keyboardMeta[e.keyboard]){const{layout_aliases:n}=e.keyboardMeta[e.keyboard];if(n&&n[t]){e.layout=n[t];return}}e.layout=t},setKeymapName(e,t){e.keymapName=t.replace(/[\s/]/g,"_").toLowerCase()},setJobID(e,t){e.jobID=t},setEnableDownloads(e){e.enableDownloads=!0},setDisableDownloads(e){e.enableDownloads=!1},setFirmwareFile(e,t){e.firmwareFile=t},setFirmwareBinaryURL(e,t){e.firmwareBinaryURL=t},setFirmwareSourceURL(e,t){e.firmwareSourceURL=t},setFilter(e,t){e.filter=t;let n=e._keyboards.filter(a=>e.filter===""?!0:a.startsWith(e.filter));n.length>0&&(e.keyboards=n)},processLayouts(e,t){if(t||e.isPreview){let n={};return e.isPreview?n=t.keyboards[aK].layouts:t&&t.keyboards&&(n=t.keyboards[e.keyboard].layouts),Xv(n)===0?e.layouts={to_be_defined:[]}:n&&(e.layouts=G7(n,function(a,i,l){return a[l]=i.layout?i.layout:i,a},{})),e.layouts}return{}},setAppInitialized(e,t){e.appInitialized=t},setKeypressListener(e,t){e.keypressListener=t},stopListening(e){e.keypressListener().stop_listening()},startListening(e){e.keypressListener().listen()},resetListener(e){e.keypressListener().reset()},setShowSpinner(e,t){e.showSpinner=t},setSpinnerMsg(e,t){e.spinnerMsg=t},setKeymapSourceURL(e,t){e.keymapSourceURL=t},setMessage(e,t){e.message=t},setSettingsPanel(e,t){e.settingsPanelVisible=t},toggleSettingsPanel(e){e.settingsPanelVisible=!e.settingsPanelVisible},setHasErrors(e){tv.disableCompile(e)},setHasNoErrors(e){tv.enableCompile(e)},setAuthor(e,t){e.author=t},setNotes(e,t){e.notes=t},toggleTutorial(e){e.tutorialEnabled=!e.tutorialEnabled},setDarkmode(e,t){e.configuratorSettings.darkmodeEnabled=t},setOSKeyboardLayout(e,t){e.configuratorSettings.osKeyboardLayout=t},setIso(e,t){e.configuratorSettings.iso=t},setClearLayerDefault(e,t){e.configuratorSettings.clearLayerDefault=t},toggleSnowflakes(e){e.snowflakes=!e.snowflakes},setKeyboardMeta(e,t){e.keyboardMeta=t!=null&&t.keyboards?t.keyboards:{}}},B7={namespaced:!0,state:IG,getters:DG,actions:hF,mutations:tv},x7={name:"dsa-galaxy-class",override:{KC_ESC:"pink",KC_F1:"darker-blue",KC_F2:"darker-blue",KC_F3:"darker-blue",KC_F4:"darker-blue",KC_F5:"pink",KC_F6:"pink",KC_F7:"pink",KC_F8:"pink",KC_F9:"light-blue",KC_F10:"light-blue",KC_F11:"light-blue",KC_F12:"light-blue",KC_PSCR:"purple",KC_SCRL:"purple",KC_PAUS:"purple",KC_GRV:"mod",QK_GESC:"mod",KC_1:"mod",KC_2:"mod",KC_3:"mod",KC_4:"mod",KC_5:"mod",KC_6:"mod",KC_7:"mod",KC_8:"mod",KC_9:"mod",KC_0:"mod",KC_MINS:"mod",KC_EQL:"mod",KC_TAB:"purple",KC_BSLS:"mod",KC_CAPS:"purple",KC_LSFT:"purple",KC_LCTL:"purple",KC_LGUI:"purple",KC_LALT:"purple",KC_SPC:"gray",KC_RALT:"purple",KC_RGUI:"purple",KC_INS:"pink",KC_HOME:"pink",KC_PGUP:"pink",KC_DEL:"pink",KC_END:"pink",KC_PGDN:"pink",KC_UP:"darker-blue",KC_LEFT:"darker-blue",KC_DOWN:"darker-blue",KC_RGHT:"darker-blue",KC_NUM:"mod",KC_PSLS:"mod",KC_PAST:"mod",KC_PMNS:"mod",KC_PPLS:"mod",KC_PENT:"mod",KC_PDOT:"pink",KC_P0:"pink",KC_P1:"light-blue",KC_P2:"light-blue",KC_P3:"light-blue",KC_P4:"light-blue",KC_P5:"light-blue",KC_P6:"light-blue",KC_P7:"light-blue",KC_P8:"light-blue",KC_P9:"light-blue"}},$7={name:"dsa-milkshake",override:{KC_ESC:"esc",KC_BSPC:"backspace",KC_ENT:"enter",KC_RGUI:"os",KC_LGUI:"os",KC_LALT:"alt",KC_RALT:"alt"}},F7=[x7,$7],H7={name:"gmk-8008",override:{KC_ENT:"accent",KC_ESC:"accent",QK_GESC:"accent",KC_PENT:"accent"}},Q7={name:"gmk-9009",override:{KC_ENT:"enter",KC_PENT:"enter",KC_ESC:"esc",QK_GESC:"esc"}},V7={name:"gmk-alter",override:{KC_SPC:"key"}},W7={name:"gmk-analog-dreams",override:{KC_ENT:"enter",KC_PENT:"enter",KC_ESC:"esc",QK_GESC:"esc"}},z7={name:"gmk-ascii"},j7={name:"gmk-bento",override:{KC_ESC:"accent",KC_ENT:"accent",QK_GESC:"accent",KC_PENT:"accent",KC_RALT:"accent",KC_LALT:"accent"}},J7={name:"gmk-bingsu",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent"}},X7={name:"gmk-cafe",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent"}},Z7={name:"gmk-calm-depths"},Y7={name:"gmk-camping",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent"}},q7={name:"gmk-deku",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent",KC_UP:"accent",KC_DOWN:"accent",KC_LEFT:"accent",KC_RGHT:"accent"}},e9={name:"gmk-dolch"},t9={name:"gmk-dracula",override:{KC_TAB:"mod2",KC_BSPC:"mod2",KC_LGUI:"mod2",KC_RGUI:"mod2",KC_CAPS:"mod3",KC_ENT:"mod3",KC_PENT:"mod3",KC_LALT:"mod3",KC_RALT:"mod3",KC_LSFT:"mod4",KC_RSFT:"mod4",KC_LCTL:"mod5",KC_RCTL:"mod5",KC_NUM:"mod5","MO(layer)":"mod6",KC_ESC:"accent",QK_GESC:"accent",KC_UP:"accent2",KC_DOWN:"accent3",KC_LEFT:"accent4",KC_RGHT:"accent5",KC_SPC:"accent6",KC_F1:"func",KC_F2:"func",KC_F3:"func",KC_F4:"func",KC_F9:"func",KC_F10:"func",KC_F11:"func",KC_F12:"func",KC_F5:"func2",KC_F6:"func2",KC_F7:"func2",KC_F8:"func2"}},n9={name:"gmk-dualshot",override:{KC_ESC:"mod2",QK_GESC:"mod2",KC_BSPC:"mod2",KC_TAB:"mod3",KC_BSLS:"mod3",KC_CAPS:"mod4",KC_ENT:"mod4",KC_PENT:"mod4",KC_LSFT:"mod5",KC_RSFT:"mod5",KC_UP:"accent",KC_LEFT:"accent2",KC_DOWN:"accent3",KC_RGHT:"accent4"}},a9={name:"gmk-fro-dot-yo",override:{KC_TAB:"blu",KC_BSPC:"rdp",KC_LGUI:"blu",KC_RGUI:"blu",KC_CAPS:"ppl",KC_ENT:"grn",KC_PENT:"grn",KC_LALT:"grn",KC_RALT:"grn",KC_LSFT:"ylw",KC_RSFT:"ylw",KC_LCTL:"rdp",KC_RCTL:"rdp",KC_APP:"ppl",KC_INS:"rdp","MO(layer)":"ppl",KC_ESC:"rdp",QK_GESC:"rdp"}},i9={name:"gmk-grand-prix",override:{KC_ENT:"accent",KC_ESC:"accent"}},r9={name:"gmk-hammerhead-dark",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent"}},o9={name:"gmk-hammerhead-light",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent"}},l9={name:"gmk-handarbeit-plus",override:{KC_F1:"accent",KC_F2:"accent",KC_F3:"accent",KC_F4:"accent",KC_LBRC:"accent",KC_RBRC:"accent",KC_BSLS:"accent",KC_SCLN:"accent",KC_QUOT:"accent",KC_COMM:"accent",KC_DOT:"accent",KC_SLSH:"accent",KC_F5:"accent2",KC_F6:"accent2",KC_F7:"accent2",KC_F8:"accent2",KC_PPLS:"accent2",KC_F9:"accent3",KC_F10:"accent3",KC_F11:"accent3",KC_F12:"accent3",KC_INS:"accent3",KC_NUM:"accent3",KC_PSLS:"accent3",KC_PAST:"accent3",KC_PMNS:"accent3",KC_DEL:"accent3",KC_F:"accent3",KC_J:"accent3",KC_ENT:"accent3",KC_UP:"accent3",KC_SPC:"accent3",KC_PSCR:"accent4",KC_SCRL:"accent4",KC_PAUS:"accent4",KC_1:"accent5",KC_2:"accent5",KC_3:"accent5",KC_4:"accent5",KC_5:"accent5",KC_6:"accent5",KC_7:"accent5",KC_8:"accent5",KC_9:"accent5",KC_0:"accent5",KC_HOME:"accent5",KC_END:"accent5",KC_DOWN:"accent5",KC_BSPC:"accent6",KC_TAB:"accent6",KC_CAPS:"accent6",KC_LSFT:"accent6",KC_RSFT:"accent6",KC_P1:"accent6",KC_P2:"accent6",KC_P3:"accent6",KC_P4:"accent6",KC_P6:"accent6",KC_P7:"accent6",KC_P8:"accent6",KC_P9:"accent6",KC_LEFT:"accent7",KC_RGHT:"accent7",KC_PENT:"accent8",KC_PDOT:"accent9"}},s9={name:"gmk-hazakura",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent",KC_UP:"accent",KC_DOWN:"accent",KC_LEFT:"accent",KC_RGHT:"accent",KC_SPC:"accent"}},_9={name:"gmk-jamon"},c9={name:"gmk-merlin",override:{KC_ESC:"accent",KC_ENT:"accent"}},u9={name:"gmk-metaverse",override:{KC_ESC:"accent",KC_ENT:"accent",KC_F1:"mod",KC_F2:"mod",KC_F3:"mod",KC_F4:"mod",KC_F5:"accent",KC_F6:"accent",KC_F7:"accent",KC_F8:"accent",KC_F9:"mod",KC_F10:"mod",KC_F11:"mod",KC_F12:"mod",KC_LGUI:"accent",KC_RGUI:"accent",KC_LEFT:"accent",KC_RGHT:"accent",KC_DOWN:"accent",KC_UP:"accent",KC_P0:"mod",KC_P1:"mod",KC_P2:"mod",KC_P3:"mod",KC_P4:"mod",KC_P5:"mod",KC_P6:"mod",KC_P7:"mod",KC_P8:"mod",KC_P9:"mod",KC_PDOT:"mod",KC_PENT:"accent"}},f9={name:"gmk-metropolis-base",override:{KC_TAB:"mod2",KC_CAPS:"mod2",KC_BSPC:"mod2",KC_PSCR:"mod2",KC_SCRL:"mod2",KC_PAUS:"mod2",KC_INS:"mod2",KC_HOME:"mod2",KC_PGUP:"mod2",KC_DEL:"mod2",KC_END:"mod2",KC_PGDN:"mod2",KC_NUM:"mod2",KC_PSLS:"mod2",KC_PAST:"mod2",KC_PMNS:"mod2",KC_PPLS:"mod2",KC_PCMM:"mod2",KC_PEQL:"mod2",KC_LSFT:"mod3",KC_LCTL:"mod3",KC_LGUI:"mod3",KC_LALT:"mod3",KC_RALT:"mod3",KC_RGUI:"mod3",KC_APP:"mod3",KC_RCTL:"mod3",KC_RSFT:"mod3",KC_UP:"mod3",KC_LEFT:"mod3",KC_DOWN:"mod3",KC_RGHT:"mod3",KC_ESC:"accent",QK_GESC:"accent",KC_ENT:"accent2",KC_PENT:"accent2","MO(layer)":"accent3"}},m9={name:"gmk-metropolis-midnight",override:{KC_ESC:"accent",QK_GESC:"accent"}},C9={name:"gmk-mizu",override:{KC_ESC:"accent",KC_ENT:"accent",KC_PENT:"accent"}},d9={name:"gmk-nautilus",override:{KC_ENT:"accent",KC_ESC:"accent"}},p9={name:"gmk-nines",override:{KC_ESC:"accent",QK_GESC:"accent",KC_ENT:"accent",KC_PENT:"accent"}},h9={name:"gmk-olivetti",override:{KC_ESC:"accent",KC_ENT:"accent"}},S9={name:"gmk-olivia",override:{KC_SPC:"accent",KC_ENT:"accent",KC_ESC:"accent",KC_F1:"key",KC_F2:"key",KC_F3:"key",KC_F4:"key",KC_F9:"key",KC_F10:"key",KC_F11:"key",KC_F12:"key",KC_LEFT:"accent",KC_RGHT:"accent",KC_DOWN:"accent",KC_UP:"accent"}},K9={name:"gmk-olivia-plus-plus-dark",override:{KC_ESC:"accent",QK_GESC:"accent",KC_ENT:"accent",KC_PENT:"accent"}},v9={name:"gmk-phosphorous",override:{KC_ESC:"accent",QK_GESC:"accent",KC_P:"accent",KC_ENT:"accent",KC_PENT:"accent"}},R9={name:"gmk-plum",override:{KC_ENT:"accent"}},g9={name:"gmk-serika",override:{KC_ESC:"accent",KC_ENT:"accent",KC_PENT:"accent"}},y9={name:"gmk-space-cadet",override:{KC_F1:"mod",KC_F2:"mod",KC_F3:"mod",KC_F4:"mod",KC_F9:"mod",KC_F10:"mod",KC_F11:"mod",KC_F12:"mod"}},L9={name:"gmk-striker",override:{KC_ESC:"accent",KC_ENT:"accent",KC_PENT:"accent",KC_SPC:"accent"}},A9={name:"gmk-terminal",override:{KC_H:"accent",KC_J:"accent",KC_K:"accent",KC_L:"accent",KC_ESC:"accent",KC_ENT:"accent"}},E9={name:"gmk-ta-royal-alpha",override:{KC_ESC:"accent",KC_ENT:"accent",KC_SPC:"accent"}},b9={name:"gmk-vaporwave",override:{KC_ENT:"accent",KC_ESC:"accent"}},T9={name:"gmk-wob"},P9={name:"gmk-yuri",override:{KC_ENT:"accent",KC_ESC:"accent"}},w9=[H7,Q7,V7,W7,z7,j7,J7,X7,Z7,Y7,q7,e9,t9,n9,a9,i9,r9,o9,l9,s9,_9,c9,u9,f9,m9,C9,d9,p9,h9,S9,K9,v9,R9,g9,y9,L9,E9,A9,b9,T9,P9],O9={name:"sa-bliss",override:{KC_ESC:"accent",QK_GESC:"accent",KC_ENT:"accent",KC_PENT:"accent",KC_SPC:"accent",KC_PSCR:"accent",KC_SCRL:"accent",KC_PAUS:"accent",KC_UP:"accent",KC_LEFT:"accent",KC_DOWN:"accent",KC_RGHT:"accent"}},I9={name:"sa-carbon",override:{KC_ESC:"accent",KC_ENT:"accent",KC_F5:"accent",KC_F6:"accent",KC_F7:"accent",KC_F8:"accent",KC_PSCR:"accent",KC_SCRL:"accent",KC_PAUS:"accent",KC_UP:"accent",KC_LEFT:"accent",KC_DOWN:"accent",KC_RGHT:"accent"}},N9={name:"sa-danger-zone",override:{KC_ESC:"accent-red",KC_ENT:"accent-yellow",KC_UP:"key",KC_LEFT:"key",KC_DOWN:"key",KC_RGHT:"key"}},U9={name:"sa-jukebox",override:{KC_ESC:"accent",KC_ENT:"accent"}},D9={name:"sa-modern-selectric",override:{KC_F1:"mod",KC_F2:"mod",KC_F3:"mod",KC_F4:"mod",KC_F9:"mod",KC_F10:"mod",KC_F11:"mod",KC_F12:"mod"}},k9={name:"sa-nantucket-selectric",override:{KC_F1:"mod",KC_F2:"mod",KC_F3:"mod",KC_F4:"mod",KC_F9:"mod",KC_F10:"mod",KC_F11:"mod",KC_F12:"mod",KC_INS:"key",KC_DEL:"key",KC_HOME:"key",KC_END:"key",KC_PGUP:"key",KC_PGDN:"key",KC_P0:"mod",KC_PDOT:"mod"}},M9={name:"sa-oblivion-hagoromo",override:{KC_ESC:"accent",KC_ENT:"accent",KC_PENT:"accent"}},G9={name:"sa-vilebloom",override:{KC_ESC:"accent1",KC_F1:"accent1",KC_F2:"accent1",KC_F3:"accent1",KC_F4:"accent2",KC_F5:"accent3",KC_GRV:"accent1",QK_GESC:"accent1",KC_1:"accent1",KC_2:"accent1",KC_3:"accent1",KC_4:"accent2",KC_5:"accent2",KC_6:"accent3",KC_T:"accent3",KC_F:"accent3",KC_C:"accent3",KC_TAB:"accent1",KC_Q:"accent1",KC_W:"accent1",KC_CAPS:"accent1",KC_A:"accent1",KC_LSFT:"accent1",KC_NUBS:"accent1",KC_LCTL:"accent1",KC_E:"accent2",KC_R:"accent2",KC_S:"accent2",KC_D:"accent2",KC_Z:"accent2",KC_X:"accent2",KC_LGUI:"accent2",KC_LALT:"accent2",KC_P1:"accent3",KC_P5:"accent3",KC_P9:"accent3",KC_PMNS:"accent3",KC_P2:"accent2",KC_P3:"accent2",KC_P6:"accent2",KC_PPLS:"accent2",KC_P0:"accent2",KC_PDOT:"accent1",KC_PENT:"accent1"}},B9=[O9,I9,N9,U9,D9,k9,M9,G9],x9={name:"jtk-suited-assassin",override:{KC_ESC:"accent",QK_GESC:"accent",KC_ENT:"accent",KC_PENT:"accent"}},$9=[x9],F9={name:"kat-hyperfuse",override:{KC_ENT:"accent",KC_PENT:"accent",KC_ESC:"accent",QK_GESC:"accent"}},H9={name:"kat-oasis"},Q9=[F9,H9],V9={name:"mt3-dev-tty",override:{KC_ENT:"accent",KC_ESC:"accent",QK_GESC:"accent",BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod"}},W9={name:"mt3-dev-tty-teal",override:{BL_STEP:"mod",SC_RSPC:"mod",QK_GESC:"mod",SC_LSPO:"mod"}},z9={name:"mt3-dev-tty-ortho",override:{KC_ENT:"accent",KC_ESC:"accent",QK_GESC:"accent",KC_DEL:"mod",KC_QUOT:"mod",KC_GRV:"mod",BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod"}},j9={name:"mt3-susuwatari",override:{KC_ENT:"accent-red",KC_ESC:"accent-red",QK_GESC:"accent-red",KC_LALT:"mod-blue",KC_RALT:"mod-blue",KC_LGUI:"mod-blue",KC_RGUI:"mod-blue",KC_LSFT:"mod-green",KC_RSFT:"mod-green",KC_RCTL:"mod-blue",KC_LCTL:"mod-blue",KC_APP:"mod-blue",KC_MENU:"mod-blue",BL_STEP:"mod-blue","MO(layer)":"mod-blue","TG(layer)":"mod-blue","TO(layer)":"mod-blue","TT(layer)":"mod-blue","DF(layer)":"mod-blue","OSL(layer)":"mod-blue",SC_RSPC:"mod-green",SC_LSPO:"mod-green"}},J9={name:"mt3-susuwatari-ortho",override:{KC_ENT:"accent",KC_ESC:"accent",QK_GESC:"accent",KC_DEL:"mod",KC_QUOT:"mod",KC_GRV:"mod",KC_LALT:"mod-blue",KC_RALT:"mod-blue",KC_LGUI:"mod-blue",KC_RGUI:"mod-blue",KC_RCTL:"mod-blue",KC_LCTL:"mod-blue",KC_APP:"mod-blue",KC_UP:"mod-blue",KC_LEFT:"mod-blue",KC_DOWN:"mod-blue",KC_RGHT:"mod-blue",KC_MENU:"mod-blue",BL_STEP:"mod-blue","MO(layer)":"mod-blue","TG(layer)":"mod-blue","TO(layer)":"mod-blue","TT(layer)":"mod-blue","DF(layer)":"mod-blue","OSL(layer)":"mod-blue",SC_RSPC:"mod",SC_LSPO:"mod"}},X9={name:"mt3-lotr-elvish",override:{BL_STEP:"mod",SC_RSPC:"mod",QK_GESC:"mod",SC_LSPO:"mod"}},Z9={name:"mt3-lotr-elvish-rivendell",override:{BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod",KC_UP:"accent",KC_DOWN:"accent",KC_LEFT:"accent",KC_RGHT:"accent",KC_SPC:"accent",KC_ENT:"accent",QK_GESC:"accent",KC_ESC:"accent"}},Y9={name:"mt3-lotr-elvish-evenstar",override:{BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod",KC_UP:"accent",KC_DOWN:"accent",KC_LEFT:"accent",KC_RGHT:"accent",KC_SPC:"accent",KC_ENT:"accent",QK_GESC:"accent",KC_ESC:"accent"}},q9={name:"mt3-lotr-elvish-ortho",override:{KC_ENT:"mod",KC_ESC:"mod",QK_GESC:"mod",KC_DEL:"mod",KC_QUOT:"mod",BL_STEP:"mod",SC_RSPC:"mod",KC_GRV:"mod",SC_LSPO:"mod"}},eQ={name:"mt3-lotr-dwarvish",override:{BL_STEP:"mod",SC_RSPC:"mod",QK_GESC:"mod",SC_LSPO:"mod"}},tQ={name:"mt3-lotr-dwarvish-ortho",override:{KC_ENT:"mod",KC_ESC:"mod",QK_GESC:"mod",KC_DEL:"mod",KC_QUOT:"mod",BL_STEP:"mod",SC_RSPC:"mod",KC_GRV:"mod",SC_LSPO:"mod"}},nQ={name:"mt3-lotr-dwarvish-durin",override:{BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod",KC_UP:"accent",KC_DOWN:"accent",KC_LEFT:"accent",KC_RGHT:"accent",KC_SPC:"accent",KC_ENT:"accent",QK_GESC:"accent",KC_ESC:"accent"}},aQ={name:"mt3-3277",override:{BL_STEP:"mod",SC_RSPC:"mod",QK_GESC:"mod",SC_LSPO:"mod"}},iQ={name:"mt3-3277-ortho",override:{KC_ENT:"mod",KC_ESC:"mod",QK_GESC:"mod",KC_DEL:"mod",KC_QUOT:"mod",BL_STEP:"mod",SC_RSPC:"mod",KC_GRV:"mod",SC_LSPO:"mod"}},rQ={name:"mt3-3277-accent-red",override:{BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod",KC_UP:"accent-red",KC_DOWN:"accent-red",KC_LEFT:"accent-red",KC_RGHT:"accent-red",KC_SPC:"accent-red",KC_ENT:"accent-red",QK_GESC:"accent-red",KC_ESC:"accent-red"}},oQ=[V9,W9,z9,j9,J9,X9,Z9,Y9,q9,eQ,nQ,tQ,aQ,iQ,rQ],lQ={name:"dcs-midnight",override:{BL_STEP:"mod",SC_RSPC:"mod",SC_LSPO:"mod",KC_ESC:"accent",QK_GESC:"accent",KC_ENT:"accent"}},sQ={name:"dcs-midnight-twilight",override:{BL_STEP:"mod",SC_RSPC:"mod",QK_GESC:"mod",SC_LSPO:"mod"}},_Q=[lQ,sQ],cQ={...["KC_F1","KC_F2","KC_F3","KC_F4","KC_F9","KC_F10","KC_F11","KC_F12","KC_BSLS","KC_P0","KC_P1","KC_P2","KC_P3","KC_P4","KC_P5","KC_P6","KC_P7","KC_P8","KC_P9","KC_PDOT"].reduce((e,t)=>(e[t]=!0,e),{})},uQ={...["KC_ESC","KC_F5","KC_F6","KC_F7","KC_F8","KC_LEFT","KC_RGHT","KC_UP","KC_DOWN","KC_PSCR","KC_SCRL","KC_PAUS","KC_INS","KC_DEL","KC_HOME","KC_END","KC_PGUP","KC_PGDN","KC_LSFT","KC_RSFT","KC_TAB","KC_RGUI","KC_LGUI","KC_LALT","KC_RALT","KC_LCTL","KC_RCTL","KC_ENT","KC_BSPC","KC_NUM","KC_PSLS","KC_PAST","KC_PMNS","KC_PPLS","KC_PENT","KC_PCMM","KC_PEQL","KC_CAPS","KC_LCAP","KC_LNUM","KC_LSCR","MO(layer)","TG(layer)","TO(layer)","TT(layer)","DF(layer)","OSL(layer)"].reduce((e,t)=>(e[t]=!0,e),{})},PL={alphaCodes:cQ,modCodes:uQ,list:[..._Q,...F7,...B9,...w9,...$9,...Q9,...oQ],iconCodes:{KC_UP:"arrow-up",KC_DOWN:"arrow-down",KC_LEFT:"arrow-left",KC_RGHT:"arrow-right",KC_APP:"bars"},platformIcons(e){let t=[];switch(e){case"MacIntel":case"Macintosh":case"MacPPC":case"iPhone":case"iPad":t=["fab","apple"];break;case"Linux i686":case"Linux x86_64":case"Linux armv7l":t=["fab","linux"];break;case"Win32":t=["fab","windows"];break;default:t=void 0}return{KC_LGUI:t,KC_RGUI:t}}},TC={MAX_X:800,KEY_WIDTH:40,KEY_HEIGHT:40,SWAP_KEY_WIDTH:30,SWAP_KEY_HEIGHT:30,KEY_X_SPACING:45,KEY_Y_SPACING:45,SCALE:1},Lf={KC_TRANSPARENT:"KC_TRNS",_______:"KC_TRNS",XXXXXXX:"KC_NO",KC_ENTER:"KC_ENT",KC_ESCAPE:"KC_ESC",KC_SPACE:"KC_SPC",KC_MINUS:"KC_MINS",KC_EQUAL:"KC_EQL",KC_NONUS_HASH:"KC_NUHS",KC_QUOTE:"KC_QUOT",KC_GRAVE:"KC_GRV",KC_COMMA:"KC_COMM",KC_SLASH:"KC_SLSH",KC_BRMD:"KC_SCRL",KC_PAUSE:"KC_PAUS",KC_BRK:"KC_PAUS",KC_BRMU:"KC_PAUS",KC_INSERT:"KC_INS",KC_DELETE:"KC_DEL",KC_RIGHT:"KC_RGHT",KC_KP_SLASH:"KC_PSLS",KC_KP_ASTERISK:"KC_PAST",KC_KP_MINUS:"KC_PMNS",KC_KP_PLUS:"KC_PPLS",KC_KP_ENTER:"KC_PENT",KC_KP_1:"KC_P1",KC_KP_2:"KC_P2",KC_KP_3:"KC_P3",KC_KP_4:"KC_P4",KC_KP_5:"KC_P5",KC_KP_6:"KC_P6",KC_KP_7:"KC_P7",KC_KP_8:"KC_P8",KC_KP_9:"KC_P9",KC_KP_0:"KC_P0",KC_KP_DOT:"KC_PDOT",KC_APPLICATION:"KC_APP",KC_KP_EQUAL:"KC_PEQL",KC_EXECUTE:"KC_EXEC",KC_SELECT:"KC_SLCT",KC_AGAIN:"KC_AGIN",KC_PASTE:"KC_PSTE",KC_KP_COMMA:"KC_PCMM",KC_INTERNATIONAL_1:"KC_INT1",KC_INTERNATIONAL_2:"KC_INT2",KC_INTERNATIONAL_3:"KC_INT3",KC_INTERNATIONAL_4:"KC_INT4",KC_INTERNATIONAL_5:"KC_INT5",KC_INTERNATIONAL_6:"KC_INT6",KC_INTERNATIONAL_7:"KC_INT7",KC_INTERNATIONAL_8:"KC_INT8",KC_INTERNATIONAL_9:"KC_INT9",KC_LANGUAGE_1:"KC_LNG1",KC_LANGUAGE_2:"KC_LNG2",KC_LANGUAGE_3:"KC_LNG3",KC_LANGUAGE_4:"KC_LNG4",KC_LANGUAGE_5:"KC_LNG5",KC_LANGUAGE_6:"KC_LNG6",KC_LANGUAGE_7:"KC_LNG7",KC_LANGUAGE_8:"KC_LNG8",KC_LANGUAGE_9:"KC_LNG9",KC_CLEAR:"KC_CLR",KC_LCMD:"KC_LGUI",KC_LWIN:"KC_LGUI",KC_ALGR:"KC_RALT",KC_RCMD:"KC_RGUI",KC_RWIN:"KC_RGUI",KC_SYSTEM_POWER:"KC_PWR",KC_SYSTEM_SLEEP:"KC_SLEP",KC_SYSTEM_WAKE:"KC_WAKE",KC_AUDIO_MUTE:"KC_MUTE",KC_AUDIO_VOL_UP:"KC_VOLU",KC_AUDIO_VOL_DOWN:"KC_VOLD",KC_MEDIA_NEXT_TRACK:"KC_MNXT",KC_MEDIA_PREV_TRACK:"KC_MPRV",KC_MEDIA_STOP:"KC_MSTP",KC_MEDIA_PLAY_PAUSE:"KC_MPLY",KC_MEDIA_SELECT:"KC_MSEL",KC_MEDIA_EJECT:"KC_EJCT",KC_CALCULATOR:"KC_CALC",KC_MY_COMPUTER:"KC_MYCM",KC_WWW_SEARCH:"KC_WSCH",KC_WWW_HOME:"KC_WHOM",KC_WWW_BACK:"KC_WBAK",KC_WWW_FORWARD:"KC_WFWD",KC_WWW_STOP:"KC_WSTP",KC_WWW_REFRESH:"KC_WREF",KC_WWW_FAVORITES:"KC_WFAV",KC_MEDIA_FAST_FORWARD:"KC_MFFD",KC_MEDIA_REWIND:"KC_MRWD",KC_BRIGHTNESS_UP:"KC_BRIU",KC_BRIGHTNESS_DOWN:"KC_BRID",MAGIC_SWAP_CONTROL_CAPSLOCK:"CL_SWAP",MAGIC_UNSWAP_CONTROL_CAPSLOCK:"CL_NORM",MAGIC_CAPSLOCK_TO_CONTROL:"CL_CTRL",MAGIC_UNCAPSLOCK_TO_CONTROL:"CL_CAPS",MAGIC_SWAP_LCTL_LGUI:"CG_LSWP",MAGIC_UNSWAP_LCTL_LGUI:"CG_LNRM",MAGIC_SWAP_RCTL_RGUI:"CG_RSWP",MAGIC_UNSWAP_RCTL_RGUI:"CG_RNRM",MAGIC_SWAP_CTL_GUI:"CG_SWAP",MAGIC_UNSWAP_CTL_GUI:"CG_NORM",MAGIC_TOGGLE_CTL_GUI:"CG_TOGG",MAGIC_SWAP_LALT_LGUI:"AG_LSWP",MAGIC_UNSWAP_LALT_LGUI:"AG_LNRM",MAGIC_SWAP_RALT_RGUI:"AG_RSWP",MAGIC_UNSWAP_RALT_RGUI:"AG_RNRM",MAGIC_SWAP_ALT_GUI:"AG_SWAP",MAGIC_UNSWAP_ALT_GUI:"AG_NORM",MAGIC_TOGGLE_ALT_GUI:"AG_TOGG",MAGIC_NO_GUI:"GUI_OFF",MAGIC_UNNO_GUI:"GUI_ON",MAGIC_SWAP_GRAVE_ESC:"GE_SWAP",MAGIC_UNSWAP_GRAVE_ESC:"GE_NORM",MAGIC_SWAP_BACKSLASH_BACKSPACE:"BS_SWAP",MAGIC_UNSWAP_BACKSLASH_BACKSPACE:"BS_NORM",MAGIC_HOST_NKRO:"NK_ON",MAGIC_UNHOST_NKRO:"NK_OFF",MAGIC_TOGGLE_NKRO:"NK_TOGG",MAGIC_EE_HANDS_LEFT:"EH_LEFT",MAGIC_EE_HANDS_RIGHT:"EH_RGHT",KC_MS_UP:"KC_MS_U",KC_MS_DOWN:"KC_MS_D",KC_MS_LEFT:"KC_MS_L",KC_MS_RIGHT:"KC_MS_R",KC_MS_BTN1:"KC_BTN1",KC_MS_BTN2:"KC_BTN2",KC_MS_BTN3:"KC_BTN3",KC_MS_BTN4:"KC_BTN4",KC_MS_BTN5:"KC_BTN5",KC_MS_WH_UP:"KC_WH_U",KC_MS_WH_DOWN:"KC_WH_D",KC_MS_WH_LEFT:"KC_WH_L",KC_MS_WH_RIGHT:"KC_WH_R",KC_MS_ACCEL0:"KC_ACL0",KC_MS_ACCEL1:"KC_ACL1",KC_MS_ACCEL2:"KC_ACL2",C:"LCTL",S:"LSFT",A:"LALT",G:"LGUI",LCMD:"LGUI",LWIN:"LGUI",LOPT:"LALT",ROPT:"RALT",ALGR:"RALT",RCMD:"RGUI",RWIN:"RGUI",SCMD:"SGUI",SWIN:"SGUI",RGB_MODE_FORWARD:"RGB_MOD",RGB_MODE_REVERSE:"RGB_RMOD",RGB_MODE_PLAIN:"RGB_M_P",RGB_MODE_BREATHE:"RGB_M_B",RGB_MODE_RAINBOW:"RGB_M_R",RGB_MODE_SWIRL:"RGB_M_SW",RGB_MODE_SNAKE:"RGB_M_SN",RGB_MODE_KNIGHT:"RGB_M_K",RGB_MODE_XMAS:"RGB_M_X",RGB_MODE_GRADIENT:"RGB_M_G",RGB_MODE_RGBTEST:"RGB_M_T",KC_TILDE:"KC_TILD",KC_EXCLAIM:"KC_EXLM",KC_DOLLAR:"KC_DLR",KC_PERCENT:"KC_PERC",KC_CIRCUMFLEX:"KC_CIRC",KC_AMPERSAND:"KC_AMPR",KC_ASTERISK:"KC_ASTR",KC_LEFT_PAREN:"KC_LPRN",KC_RIGHT_PAREN:"KC_RPRN",KC_UNDERSCORE:"KC_UNDS",KC_LEFT_CURLY_BRACE:"KC_LCBR",KC_RIGHT_CURLY_BRACE:"KC_RCBR",KC_COLON:"KC_COLN",KC_DOUBLE_QUOTE:"KC_DQUO",KC_DQT:"KC_DQUO",KC_LEFT_ANGLE_BRACKET:"KC_LT",KC_LABK:"KC_LT",KC_RIGHT_ANGLE_BRACKET:"KC_GT",KC_RABK:"KC_GT",KC_QUESTION:"KC_QUES",KC_BSPACE:"KC_BSPC",KC_LBRACKET:"KC_LBRC",KC_RBRACKET:"KC_RBRC",KC_BSLASH:"KC_BSLS",KC_SCOLON:"KC_SCLN",KC_ZKHK:"KC_GRV",KC_CAPSLOCK:"KC_CAPS",KC_CLCK:"KC_CAPS",KC_PSCREEN:"KC_PSCR",KC_SCROLLLOCK:"KC_SCRL",KC_SLCK:"KC_SCRL",KC_PGDOWN:"KC_PGDN",KC_NUMLOCK:"KC_NUM",KC_NLCK:"KC_NUM",KC_NONUS_BSLASH:"KC_NUBS",KC_LOCKING_CAPS:"KC_LCAP",KC_LOCKING_NUM:"KC_LNUM",KC_LOCKING_SCROLL:"KC_LSCR",KC_ALT_ERASE:"KC_ERAS",KC_LCTRL:"KC_LCTL",KC_LSHIFT:"KC_LSFT",KC_RCTRL:"KC_RCTL",KC_RSHIFT:"KC_RSFT",KC_LANG1:"KC_LNG1",KC_LANG2:"KC_LNG2",KC_LANG3:"KC_LNG3",KC_LANG4:"KC_LNG4",KC_LANG5:"KC_LNG5",KC_LANG6:"KC_LNG6",KC_LANG7:"KC_LNG7",KC_LANG8:"KC_LNG8",KC_LANG9:"KC_LNG9",KC_RO:"KC_INT1",KC_KANA:"KC_INT2",KC_JYEN:"KC_INT3",KC_HENK:"KC_INT4",KC_MHEN:"KC_INT5",KC_HAEN:"KC_LNG1",KC_HANJ:"KC_LNG2",RESET:"QK_BOOT",DEBUG:"DB_TOGG",EEPROM_RESET:"EE_CLR",EEP_RST:"EE_CLR",QK_REPEAT_KEY:"QK_REP",QK_ALT_REPEAT_KEY:"QK_AREP",CLICKY_TOGGLE:"CK_TOGG",CLICKY_UP:"CK_UP",CLICKY_DOWN:"CK_DOWN",CLICKY_RESET:"CK_RST",BL_INC:"BL_UP",BL_DEC:"BL_DOWN",DYN_REC_START1:"DM_REC1",DYN_REC_START2:"DM_REC2",DYN_MACRO_PLAY1:"DM_PLY1",DYN_MACRO_PLAY2:"DM_PLY2",DYN_REC_STOP:"DM_RSTP",GRAVE_ESC:"QK_GESC",KC_GESC:"QK_GESC",KC_LCPO:"SC_LCPO",KC_RCPC:"SC_RCPC",KC_LSPO:"SC_LSPO",KC_RSPC:"SC_RSPC",KC_LAPO:"SC_LAPO",KC_RAPC:"SC_RAPC",UNICODE_MODE_FORWARD:"UC_NEXT",UNICODE_MODE_REVERSE:"UC_PREV",UNICODE_MODE_OSX:"UC_MAC",UNICODE_MODE_LNX:"UC_LINX",UNICODE_MODE_WIN:"UC_WIN",UNICODE_MODE_BSD:"UC_BSD",UNICODE_MODE_WINC:"UC_WINC",LAG_SWP:"AG_LSWP",LAG_NRM:"AG_LNRM",RAG_SWP:"AG_RSWP",RAG_NRM:"AG_RNRM",GUI_ON:"GU_ON",GUI_OFF:"GU_OFF",LCG_SWP:"CG_LSWP",LCG_NRM:"CG_LNRM",RCG_SWP:"CG_RSWP",RCG_NRM:"CG_RNRM"};function wr(e,t){return(e&1<m.trim()),a=a.map(m=>{switch(m){case"MOD_LCTL":return 1;case"MOD_RCTL":return 17;case"MOD_LSFT":return 2;case"MOD_RSFT":return 18;case"MOD_LALT":return 4;case"MOD_RALT":return 20;case"MOD_LGUI":return 8;case"MOD_RGUI":return 24;case"MOD_MEH":return 7;case"MOD_HYPR":return 15}}),a=a.reduce((m,C)=>(m|=C,m));let i=[];const l=wr(a,4)?"MOD_R":"MOD_L";wr(a,0)&&i.push(`${l}CTL`),wr(a,1)&&i.push(`${l}SFT`),wr(a,2)&&i.push(`${l}ALT`),wr(a,3)&&i.push(`${l}GUI`),wr(a,0)&&wr(a,1)&&wr(a,2)&&wr(a,3)?i=["MOD_HYPR"]:wr(a,0)&&wr(a,1)&&wr(a,2)&&(i=["MOD_MEH"]),a=i.join("|"),t=`OSM(${a})`;const u=e.lookupKeycode(t);return lC(u,t)}function mQ(e){return e.indexOf("ANY(")===0&&(e=e.slice(4,-1)),e}function Wd(e,t){const n=e.lookupKeycode("text");return Object.assign({},n,{text:t})}function lC(e,t,n){var a={name:e.name,code:t,type:e.type};return n!==void 0&&(a=Object.assign({},a,n)),a}function CQ(e,t,n){const a=n.split(","),i=e.lookupKeycode(`${t}(${a[0]},kc)`);let l=e.lookupKeycode(Lf[a[1]]||a[1]);Nn(l)&&(l=e.lookupKeycode("KC_NO"));let{code:u,layer:m,name:C,type:d}=i;return Object.assign({code:u,layer:m,name:C,type:d,contents:l})}function dQ(e,t,n){let a;if(t=mQ(t),n.count+=1,Lf[t]&&(t=Lf[t]),t.includes("(")){let i,l,u=t.split("("),m=u[0];Lf[m]&&(m=Lf[m]);let C=u[1];if(C=C.split(")")[0],m==="OSM")return fQ(e,t);if(C.includes("KC")){if(m==="LT")return CQ(e,m,C);if(C=Lf[C]||C,a=e.lookupKeycode(C),a===void 0)return n.any+=1,Wd(e,t);let d=lC(a,C);return l=m+"(kc)",a=e.lookupKeycode(l),a===void 0?(n.any+=1,Wd(e,t)):(i=lC(a,l,{contents:d}),i)}return l=m+"(layer)",a=e.lookupKeycode(l),a===void 0?(n.any+=1,Wd(e,t)):(i=lC(a,l,{layer:C}),i)}return t.length<4?(n.warnings.push(`WARNING: Found an unexpected keycode ${r4(t)} on layer ${n.layers} in keymap. Setting to KC_TRNS `),e.lookupKeycode("KC_TRNS")):(a=e.lookupKeycode(t),a===void 0?(n.any+=1,Wd(e,t)):lC(a,t))}function pQ(e){return Math.floor(Math.random()*e)}const hQ={keymap:[[]],layer:0,dirty:!1,selectedIndex:void 0,selectedContent:!1,defaults:TC,config:Object.assign({},TC),loadingKeymapPromise:void 0,colorways:PL.list,colorwayIndex:pQ(PL.list.length-1),continuousInput:!1,ignoreMod:!1,templates:{keymap:{version:1,documentation:`This file is a QMK Configurator export. You can import this at . It can also be used directly with QMK's source code. -To setup your QMK environment check out the tutorial: +To setup your QMK environment check out the tutorial: You can convert this file to a keymap.c using this command: \`qmk json2c {keymap}\` diff --git a/index.html b/index.html index 51a8501b5c..2a8d2bc29a 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,7 @@ margin-left: -100vh; } - + diff --git a/keymaps/g/gh60_v1p3_default.json b/keymaps/g/gh60_v1p3_default.json index 189d9cca0d..cb952e6ec5 100644 --- a/keymaps/g/gh60_v1p3_default.json +++ b/keymaps/g/gh60_v1p3_default.json @@ -1,7 +1,4 @@ { - "version": 1, - "notes": "", - "documentation": "\"This file is a QMK Configurator export. You can import this at . It can also be used directly with QMK's source code.\n\nTo setup your QMK environment check out the tutorial: \n\nYou can convert this file to a keymap.c using this command: `qmk json2c {keymap}`\n\nYou can compile this keymap using this command: `qmk compile {keymap}`\"\n", "keyboard": "gh60/v1p3", "keymap": "default", "commit": "8f6d2ac53cdde6d0befc9f86c326f56620dcfcc0", @@ -21,6 +18,5 @@ "KC_NO", "KC_NO", "QK_BOOT", "BL_DOWN", "BL_ON", "BL_UP", "KC_NO", "KC_VOLD", "KC_MUTE", "KC_VOLU", "KC_END", "KC_PGDN", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO", "KC_NO" ] - ], - "author": "NPKC RGB CP Store on AliExpress" + ] }