(window.webpackJsonp=window.webpackJsonp||[]).push([[111],{1055:function(e,t,n){"use strict";n.r(t);n(8),n(29),n(87),n(102);var i={data:function data(){return{timer:null,keyCode:""}},computed:{options:function options(){var e;return null===(e=this.$slots.default[0].context)||void 0===e?void 0:e.question.answer.values}},methods:{reset:function reset(){this.keyCode="",this.timer=null},answerRatingFor:function answerRatingFor(e){var t=this;if(this.timer&&clearTimeout(this.timer),"Tab"!=e.key)if("Space"!=e.code)if(this.keyCode+=e.key,isNaN(this.keyCode))this.reset();else{var n=this.options.find((function(e){return e.value==t.keyCode}));this.timer=setTimeout((function(){n&&document.getElementById(n.id).click(),t.reset()}),300)}else document.activeElement.click()}}},o=n(37),s=Object(o.a)(i,(function render(){var e=this;return(0,e._self._c)("div",{on:{keydown:function keydown(t){return t.preventDefault(),e.answerRatingFor.apply(null,arguments)}}},[e._t("default")],2)}),[],!1,null,null,null);t.default=s.exports}}]);