(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{259:function(t,r,e){"use strict";e.d(r,"b",(function(){return f})),e.d(r,"a",(function(){return a}));var o=e(256),n=e(252),i=e(249),s=e(257),c=e(254),l=e(258);const f=["CustomizedDisplay","AttemptCounter","PatternSelector","qft","qfst","controller"],a=t=>Object.fromEntries(Object.entries({qft:o,qfst:n,CustomizedDisplay:i,PatternSelector:s,AttemptCounter:c,controller:l}).map(([r,e])=>[r,e.getConfig(t)]))},267:function(t,r,e){},294:function(t,r,e){"use strict";e(267)},320:function(t,r,e){},337:function(t,r,e){"use strict";e.r(r);var o=e(241),n={props:{config:Object},computed:{transform(){const{x:t,y:r,height:e}=this.config;return`scale(0.9375,1) translate(${t||0}, ${r||0}) scale(${(e||0)/120})`},lw(){const{lw:t}=this.config;return t/6},bg(){const{bgRGB:t,bgA:r,bgLeft:e,bgRight:n,bgTop:i,bgBot:s}=this.config;return{x:e,y:i,w:n-e,h:s-i,fill:Object(o.h)(t,r)}},buttons(){return this.config.buttons.map(t=>({...t,color:Object(o.a)(t.c)}))},sticks(){return this.config.sticks.map(t=>({id:t.id,stroke:{transform:`translate(${t.x||0}, ${t.y||0}) scale(${t.rS||0})`,scale:t.rS,color:Object(o.a)(t.cS)},fill:{x:t.x,y:t.y,r:t.rF,color:Object(o.a)(t.cF)}}))},triggers(){const{cTF:t,cTS:r,triggers:e}=this.config;return e.map(e=>({fill:{color:Object(o.a)(t),x:e.w>0?e.x:e.x+e.wa,y:e.y0,w:Math.abs(e.wa),h:e.y1-e.y0},stroke:{color:Object(o.a)(r),x:e.w>0?e.x:e.x+e.w,y:e.y0,w:Math.abs(e.w),h:e.y1-e.y0}}))}}},i=(e(294),e(10)),s=Object(i.a)(n,(function(){var t=this,r=t._self._c;return r("svg",{attrs:{viewBox:"0 16 600 448"}},[r("defs",[r("polygon",{attrs:{id:"8gon",points:"1,0 0.7071067811865476,0.7071067811865475 0,1 -0.7071067811865475,0.7071067811865476 -1,0 -0.7071067811865477,-0.7071067811865475 0,-1 0.7071067811865474,-0.7071067811865477 1,0"}})]),t._v(" "),r("g",{attrs:{transform:t.transform,"stroke-width":t.lw}},[r("rect",{attrs:{x:t.bg.x,y:t.bg.y,width:t.bg.w,height:t.bg.h,fill:t.bg.fill}}),t._v(" "),t._l(t.buttons,(function(t){return r("g",{key:t.id},[r("circle",{attrs:{cx:t.x,cy:t.y,r:t.r,fill:"none",stroke:t.color}})])})),t._v(" "),t._l(t.sticks,(function(e){return r("g",{key:e.id},[r("use",{attrs:{"stroke-width":t.lw/e.stroke.scale,transform:e.stroke.transform,stroke:e.stroke.color,fill:"none",href:"#8gon"}}),t._v(" "),r("circle",{attrs:{cx:e.fill.x,cy:e.fill.y,r:e.fill.r,fill:e.fill.color,stroke:"none"}})])})),t._v(" "),t._l(t.triggers,(function(e){return r("g",{key:e.id},[r("rect",{attrs:{x:e.stroke.x,y:e.stroke.y,width:e.stroke.w,height:e.stroke.h,stroke:e.stroke.color,fill:"none"}}),t._v(" "),r("rect",{attrs:{x:e.fill.x,y:e.fill.y,width:e.fill.w,height:e.fill.h,fill:e.fill.color,stroke:"none"}})])}))],2)])}),[],!1,null,"3d90b803",null);r.default=s.exports},376:function(t,r,e){"use strict";e(320)},399:function(t,r,e){"use strict";e.r(r);var o=e(259),n={components:{ControllerPreview:e(337).default},props:{config:{type:Object}},computed:{_version(){const{_version:t}=this.config;return t},previews(){return o.b.flatMap(t=>{const r=this.config[t];return["controller","CustomizedDisplay"].includes(t)||null==r?[]:{...r,key:t}})}}},i=(e(376),e(10)),s=Object(i.a)(n,(function(){var t=this,r=t._self._c;return r("div",{staticClass:"preview-root"},[r("div",{staticClass:"preview-ctn"},[t._l(t.previews,(function(e){return r("PreviewString",{key:e.key,attrs:{config:e,version:t._version}})})),t._v(" "),t._l(t.config.CustomizedDisplay||[],(function(e,o){return r("PreviewString",{key:"CustomizedDisplay-"+o,attrs:{config:e,version:t._version}})})),t._v(" "),t.config.controller?r("ControllerPreview",{attrs:{config:t.config.controller}}):t._e()],2)])}),[],!1,null,"089186ee",null);r.default=s.exports}}]);