webpackJsonp([1,2],{6:function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t=0&&g.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function u(e,t){var n,r,o;if(t.singleton){var i=m++;n=v||(v=s(t)),r=l.bind(null,n,i,!1),o=l.bind(null,n,i,!0)}else n=s(t),r=d.bind(null,n),o=function(){a(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function l(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function d(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var c={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},p=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),h=f(function(){return document.head||document.getElementsByTagName("head")[0]}),v=null,m=0,g=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=p()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a1&&"\\"!==r[0].charAt(r[0].length-1)&&(o=r.shift(),e({name:"erase",actor:o}));var i=r.join(":").replace(/\\:/g,":"),a={name:"type",args:[i]};null!=o&&(a.actor=o),e(a)}f["default"].isFunction(n)&&e({name:"callback",args:[n]}),f["default"].isNumber(n)&&e(n>0?{name:"wait",args:[n]}:{name:"erase",args:[n]}),f["default"].isObject(n)&&(f["default"].isArray(n.args)||(n.args=[]),n.args.unshift(function(){w(n.name+":end",n),c()}),t.push(n))}for(var t=[],n=arguments.length,r=Array(n),o=0;o=A.scenario.length)return A.status="ready",w("scenario:end"),this;var e=A.scenario[++A.currentScene];if(0===A.currentScene&&w("scenario:start"),"publisher"===e.name){var n=i(e.args),r=n[0],a=n.slice(1);return w.apply(void 0,o(a)),r()}switch(e.actor&&t(e.actor),w(e.name+":start",e),e.name){case"type":p.apply(void 0,o(e.args));break;case"erase":v.apply(void 0,o(e.args));break;case"callback":b.apply(void 0,o(e.args));break;case"wait":x.apply(void 0,o(e.args));break;default:console.debug("No scene handler for "+e.name)}return this}function p(e,t){var r=n(),o=A.options.locale,i=A.options.minSpeed.type,a=A.options.maxSpeed.type,s=r.displayValue,u=-1,l=!1,d=null,c=null,f=m["default"].map(t);return t=m["default"].strip(t),function p(){var n=m["default"].strip(r.displayValue.substr(s.length));if(n===t)return e();var v=t.substr(0,u+1),g=n!==v,y=r.shouldBeMistaken(n,t,d,c),b=l||!y;if(g&&b)l=!0,d=null,r.displayValue=s+m["default"].inject(n.substr(0,n.length-1),f),u--,c=u;else{l=!1;var x=t.charAt(++u);y&&(x=h["default"].randomCharNear(x,o),null==d&&(d=u)),r.displayValue=s+m["default"].inject(n+x,f)}return setTimeout(p,r.getTypingSpeed(i,a))}(),this}function v(e,t){var r=n();if(null==r)return e();if(C.erase!==!0)return r.displayValue="",e();var o=A.options.minSpeed.erase,i=A.options.maxSpeed.erase,a=r.displayValue,s=m["default"].map(a);a=m["default"].strip(a);var u=a.length,l=void 0,d=0;return f["default"].isNumber(t)&&(t>0?l=t:d=a.length+t),function c(){return u===d?e():(r.displayValue=m["default"].inject(a.substr(0,--u),s),setTimeout(c,l||r.getTypingSpeed(o,i)))}(),this}function b(e,t){return t.call(this,e),this}function x(e,t){return setTimeout(e.bind(this),t),this}function O(e,t){return e.split(",").forEach(function(e){e=e.trim(),f["default"].isArray(A.events[e])||(A.events[e]=[]),A.events[e].push(t)}),this}function w(){for(var e=arguments.length,t=Array(e),n=0;n0&&o.concat(A.events["*"]||[]).forEach(function(e){return e.apply(void 0,t)}),this}var C=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];if(C=d["default"].merge({},y,C),f["default"].isNumber(C.minSpeed)){var _=C,S=_.minSpeed;C.minSpeed={erase:S,type:S}}if(f["default"].isNumber(C.maxSpeed)){var j=C,M=j.maxSpeed;C.maxSpeed={erase:M,type:M}}if("detect"===C.locale&&g){var k=g.languages;f["default"].isArray(k)&&f["default"].isString(k[0])&&(C.locale=k[0].substr(0,2))}h["default"].supports(C.locale)||(C.locale=h["default"].defaultLocale);var A={options:C,casting:{},status:"ready",onStage:null,currentScene:-1,scenario:[],events:{}};return t(null),Object.freeze(Object.defineProperties({addActor:e,getCurrentActor:n,addScene:r,play:a,replay:s,stop:l,on:O},{options:{get:function(){return A.options},configurable:!0,enumerable:!0},status:{get:function(){return A.status},configurable:!0,enumerable:!0}}))}Object.defineProperty(t,"__esModule",{value:!0});var s=n(1),u=r(s),l=n(3),d=r(l),c=n(2),f=r(c),p=n(4),h=r(p),v=n(6),m=r(v),g="undefined"!=typeof window&&window.navigator,y={autoplay:!0,erase:!0,minSpeed:{erase:80,type:80},maxSpeed:{erase:450,type:450},locale:"detect"};a.init=function(){var e=arguments.length<=0||void 0===arguments[0]?"actor":arguments[0],t=a();return t.addActor(e,{accuracy:1,speed:.8}),t},t["default"]=a,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),i=r(o),a=n(3),s=r(a),u="undefined"!=typeof window&&window.document,l={speed:.6,accuracy:.6};t["default"]=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r="",o=void 0;if(i["default"].isNumber(t)&&(t={speed:t,accuracy:t}),t=s["default"].merge({},l,t),u&&(null==n&&(n="#"+e),i["default"].isString(n))){var a=n,d=u.querySelector(a);if(null==d)throw new Error("no matches for "+e+"'s selector: "+a);o=d,n=function(e){o.innerHTML=e}}return i["default"].isFunction(n)||(n=console.log.bind(console)),Object.defineProperties({$element:o,getTypingSpeed:function(e,n){var r=s["default"].randomFloat(t.speed,1);return s["default"].getPercentageOf(n,e,r)},shouldBeMistaken:function(e,n){var r=arguments.length<=2||void 0===arguments[2]?null:arguments[2],o=arguments.length<=3||void 0===arguments[3]?null:arguments[3],a=10*t.accuracy;if(a>=8)return!1;if(e.length<=a)return!1;if(e.length===n.length)return!1;if(i["default"].isNumber(r)){var u=e.length-r,l=a>=6?10-a:4;if(u>=l)return!1}if(i["default"].isNumber(o)){var u=e.length-o,d=2*Math.max(a,2);if(u<=d)return!1}return s["default"].randomFloat(0,.8)>t.accuracy}},{displayValue:{get:function(){return r},set:function(e){r=e,n(e)},configurable:!0,enumerable:!0},name:{get:function(){return e},configurable:!0,enumerable:!0}})},e.exports=t["default"]},function(e,t){"use strict";function n(e){return{}.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={isNumber:function(e){return"number"==typeof e},isString:function(e){return"[object String]"===n(e)},isObject:function(e){return"[object Object]"===n(e)},isArray:function(e){return"[object Array]"===n(e)},isFunction:function(e){return"function"==typeof e}},e.exports=t["default"]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={merge:function(e){for(var t=[].slice.call(arguments,1),n=0,r=t.length;n0?o[u["default"].random(0,o.length-1)]:this.randomChar(t);return i&&(c=c.toUpperCase()),c},randomChar:function(e){if(!this.supports(e))throw new Error('locale "'+e+'" is not supported');var t=d["default"][e].list.join("");return t.charAt(u["default"].random(0,t.length-1))}},e.exports=t["default"]},function(e,t){e.exports={en:["qwertyuiop","asdfghjkl","zxcvbnm"],fr:["azertyuiop","qsdfghjklm","wxcvbn"],da:["qwertyuiopå","asdfghjklæø","zxcvbnm"],de:["qwertzuiopü","asdfghjklöä","yxcvbnm"],pl:["qwertyuiopęó","asdfghjkląśł","zxcvbnmżźćń"],pt:["qwertyuiop","asdfghjklç","zxcvbnm"],ru:["йцукенгшщзх","фывапролджэ","ячсмитьбюъ"]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){var t=e.match(/<([^\s>]+)/);return Boolean(t)&&a["default"].indexOf(t[1].toLowerCase())>-1}Object.defineProperty(t,"__esModule",{value:!0});var i=n(7),a=r(i);t["default"]={strip:function(e){return e.replace(/(<([^>]+)>)/gi,"")},map:function(e){for(var t=/<[^>]+>/gi,n=[],r=[],i=void 0,a=void 0;i=t.exec(e);)a={tagName:i[0],position:i.index},"/"===a.tagName.charAt(1)?a.opener=r.pop():"/"===a.tagName.charAt(a.tagName.length-2)||o(a.tagName)||r.push(a),n.push(a);return n},inject:function(e,t){for(var n=0,r=void 0;n0&&r.position<=e.length?e=e.substr(0,r.position)+r.tagName+e.substr(r.position):r.opener&&r.opener.position0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(n)},r):this.doOpen(n)},doOpen:function(e){if((!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0,this.$emit("input",!0);var t=h(this.$el),n=e.modal,r=e.zIndex;r&&(u["default"].zIndex=r),n&&(this._closing&&(u["default"].closeModal(this._popupId),this._closing=!1),u["default"].openModal(this._popupId,u["default"].nextZIndex(),t,e.modalClass,e.modalFade),e.lockScroll&&(this.bodyOverflow||(this.bodyPaddingRight=document.body.style.paddingRight,this.bodyOverflow=document.body.style.overflow),f=p(),f>0&&(document.body.style.paddingRight=f+"px"),document.body.style.overflow="hidden")),"static"===getComputedStyle(t).position&&(t.style.position="absolute"),n?t.style.zIndex=u["default"].nextZIndex():r&&(t.style.zIndex=r),this.opened=!0,this.onOpen&&this.onOpen(),this.transition||this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){var e=this;this.$emit("input",!1),this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(function(){e.modal&&"hidden"!==e.bodyOverflow&&(document.body.style.overflow=e.bodyOverflow,document.body.style.paddingRight=e.bodyPaddingRight),e.bodyOverflow=null,e.bodyPaddingRight=null},200),this.opened=!1,this.transition||this.doAfterClose()},doAfterClose:function(){u["default"].closeModal(this._popupId),this._closing=!1}}},t.PopupManager=u["default"]},function(e,t){var n=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},r=function(e,t){if(!e||!t)return!1;if(t.indexOf(" ")!=-1)throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1},o=function(e,t){if(e){for(var n=e.className,o=(t||"").split(" "),i=0,a=o.length;i0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var a=i.modalClass.trim().split(/\s+/);a.forEach(function(e){return(0,r.removeClass)(n,e)})}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var s=t.length-1;s>=0;s--)if(t[s].id===e){t.splice(s,1);break}}0===t.length&&(this.modalFade&&(0,r.addClass)(n,"v-modal-leave"),setTimeout(function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none"),(0,r.removeClass)(n,"v-modal-leave")},200))}};window.addEventListener("keydown",function(e){if(27===e.keyCode&&a.modalStack.length>0){var t=a.modalStack[a.modalStack.length-1];if(!t)return;var n=a.getInstance(t.id);n.closeOnPressEscape&&n.close()}}),t["default"]=a},function(e,t){"use strict";function n(e){for(var t=1,n=arguments.length;t=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",i(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",i(e,t),t}function l(e,t){var n,r,o;if(t.singleton){var i=y++;n=g||(g=s(t)),r=d.bind(null,n,i,!1),o=d.bind(null,n,i,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(t),r=f.bind(null,n),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=c.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function d(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function c(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t){var n=t.css,r=t.sourceMap;r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var o=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(o),i&&URL.revokeObjectURL(i)}var p={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,b=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=o(e);return r(n,t),function(e){for(var i=[],a=0;a