webpackJsonp([0xd2a57dc1d883],{77:function(n,e,t){"use strict";function o(n,e,t){var o=a.map(function(t){if(t.plugin[n]){var o=t.plugin[n](e,t.options);return o}});return o=o.filter(function(n){return"undefined"!=typeof n}),o.length>0?o:t?[t]:[]}function r(n,e,t){return a.reduce(function(t,o){return o.plugin[n]?t.then(function(){return o.plugin[n](e,o.options)}):t},Promise.resolve())}e.__esModule=!0,e.apiRunner=o,e.apiRunnerAsync=r;var a=[{plugin:t(350),options:{plugins:[],trackingId:""}},{plugin:t(349),options:{plugins:[]}}]},196:function(n,e,t){"use strict";var o;e.components={"component---src-templates-blog-post-js":t(329),"component---src-pages-404-js":t(323),"component---src-pages-about-js":t(324),"component---src-pages-blog-index-js":t(325),"component---src-pages-contact-js":t(326),"component---src-pages-index-js":t(327),"component---src-pages-resources-js":t(328)},e.json=(o={"layout-index.json":t(9),"blog-angularjs-forms-and-validation.json":t(336)},o["layout-index.json"]=t(9),o["blog-object-oriented-javascript-cheat-sheet.json"]=t(341),o["layout-index.json"]=t(9),o["blog-javascript-cheat-sheet.json"]=t(340),o["layout-index.json"]=t(9),o["blog-angularjs-essentials.json"]=t(335),o["layout-index.json"]=t(9),o["blog-responsive-web-design-mobile-first-and-progressive-enhancement.json"]=t(343),o["layout-index.json"]=t(9),o["blog-responsive-web-design-essentials.json"]=t(342),o["layout-index.json"]=t(9),o["blog-git-branching-and-release-strategy.json"]=t(338),o["layout-index.json"]=t(9),o["blog-content-first-i-want-the-good-stuff-and-i-want-it-now.json"]=t(337),o["layout-index.json"]=t(9),o["blog-git-cheat-sheet.json"]=t(339),o["layout-index.json"]=t(9),o["blog-the-sum-of-its-parts.json"]=t(344),o["layout-index.json"]=t(9),o["blog-and-so-the-journey-begins.json"]=t(334),o["layout-index.json"]=t(9),o["404.json"]=t(330),o["layout-index.json"]=t(9),o["about.json"]=t(332),o["layout-index.json"]=t(9),o["blog.json"]=t(333),o["layout-index.json"]=t(9),o["contact.json"]=t(345),o["layout-index.json"]=t(9),o["index.json"]=t(346),o["layout-index.json"]=t(9),o["resources.json"]=t(347),o["layout-index.json"]=t(9),o["404-html.json"]=t(331),o),e.layouts={"layout---index":t(322)}},197:function(n,e,t){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}function r(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function a(n,e){if(!n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?n:e}function u(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(n,e):n.__proto__=e)}e.__esModule=!0;var s=Object.assign||function(n){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:"";return function(t){var o=decodeURIComponent(t),a=(0,u.default)(o,e);if(a.split("#").length>1&&(a=a.split("#").slice(0,-1).join("")),a.split("?").length>1&&(a=a.split("?").slice(0,-1).join("")),s[a])return s[a];var i=void 0;return n.some(function(n){if(n.matchPath){if((0,r.matchPath)(a,{path:n.path})||(0,r.matchPath)(a,{path:n.matchPath}))return i=n,s[a]=n,!0}else{if((0,r.matchPath)(a,{path:n.path,exact:!0}))return i=n,s[a]=n,!0;if((0,r.matchPath)(a,{path:n.path+"index.html"}))return i=n,s[a]=n,!0}return!1}),i}}},199:function(n,e,t){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}var r=t(105),a=o(r),u=t(77),s=(0,u.apiRunner)("replaceHistory"),i=s[0],c=i||(0,a.default)();n.exports=c},331:function(n,e,t){t(5),n.exports=function(n){return t.e(0xa2868bfb69fc,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(357)})})}},330:function(n,e,t){t(5),n.exports=function(n){return t.e(0xe70826b53c04,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(358)})})}},332:function(n,e,t){t(5),n.exports=function(n){return t.e(0xf927f8900006,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(359)})})}},334:function(n,e,t){t(5),n.exports=function(n){return t.e(0x937912060b45,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(360)})})}},335:function(n,e,t){t(5),n.exports=function(n){return t.e(0xb78ada27efd3,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(361)})})}},336:function(n,e,t){t(5),n.exports=function(n){return t.e(0x77e219a71f28,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(362)})})}},337:function(n,e,t){t(5),n.exports=function(n){return t.e(0xd68000477860,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(363)})})}},338:function(n,e,t){t(5),n.exports=function(n){return t.e(0xeb21fbcd9e47,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(364)})})}},339:function(n,e,t){t(5),n.exports=function(n){return t.e(18980355251870,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(365)})})}},340:function(n,e,t){t(5),n.exports=function(n){return t.e(81498132038367,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(366)})})}},341:function(n,e,t){t(5),n.exports=function(n){return t.e(53677382525257,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(367)})})}},342:function(n,e,t){t(5),n.exports=function(n){return t.e(0xd58cc23e44ab,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(368)})})}},343:function(n,e,t){t(5),n.exports=function(n){return t.e(0xb424c9defac9,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(369)})})}},344:function(n,e,t){t(5),n.exports=function(n){return t.e(0xf7d505d33e7a,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(370)})})}},333:function(n,e,t){t(5),n.exports=function(n){return t.e(49683490770531,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(371)})})}},345:function(n,e,t){t(5),n.exports=function(n){return t.e(0xa7f31e1aeaea,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(372)})})}},346:function(n,e,t){t(5),n.exports=function(n){return t.e(0x81b8806e4260,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(373)})})}},9:function(n,e,t){t(5),n.exports=function(n){return t.e(60335399758886,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(108)})})}},347:function(n,e,t){t(5),n.exports=function(n){return t.e(0xa0a3f3734aef,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(374)})})}},322:function(n,e,t){t(5),n.exports=function(n){return t.e(0x67ef26645b2a,function(e,o){o?(console.log("bundle loading error",o),n(!0)):n(null,function(){return t(200)})})}},129:function(n,e,t){(function(n){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}e.__esModule=!0,e.publicLoader=void 0;var r=t(2),a=(o(r),t(198)),u=o(a),s=t(59),i=o(s),c=t(130),l=o(c),f=void 0,p={},d={},h={},m={},g={},y=[],j=[],v={},b="",x=[],R={},w=function(n){return n&&n.default||n},C=void 0,N=!0,_=[],P={},k={},E=5;C=t(201)({getNextQueuedResources:function(){return x.slice(-1)[0]},createResourceDownload:function(n){T(n,function(){x=x.filter(function(e){return e!==n}),C.onResourcedFinished(n)})}}),i.default.on("onPreLoadPageResources",function(n){C.onPreLoadPageResources(n)}),i.default.on("onPostLoadPageResources",function(n){C.onPostLoadPageResources(n)});var L=function(n,e){return R[n]>R[e]?1:R[n]v[e]?1:v[n]1&&void 0!==arguments[1]?arguments[1]:function(){};if(m[e])n.nextTick(function(){t(null,m[e])});else{var o=void 0;o="component---"===e.slice(0,12)?d.components[e]:"layout---"===e.slice(0,9)?d.layouts[e]:d.json[e],o(function(n,o){m[e]=o,_.push({resource:e,succeeded:!n}),k[e]||(k[e]=n),_=_.slice(-E),t(n,o)})}},S=function(e,t){g[e]?n.nextTick(function(){t(null,g[e])}):k[e]?n.nextTick(function(){t(k[e])}):T(e,function(n,o){if(n)t(n);else{var r=w(o());g[e]=r,t(n,r)}})},A=function(){var n=navigator.onLine;if("boolean"==typeof n)return n;var e=_.find(function(n){return n.succeeded});return!!e},D=function(n,e){console.log(e),P[n]||(P[n]=e),A()&&window.location.pathname.replace(/\/$/g,"")!==n.replace(/\/$/g,"")&&(window.location.pathname=n)},M=1,U={empty:function(){j=[],v={},R={},x=[],y=[],b=""},addPagesArray:function(n){y=n,f=(0,u.default)(n,b)},addDevRequires:function(n){p=n},addProdRequires:function(n){d=n},dequeue:function(){return j.pop()},enqueue:function(n){var e=(0,l.default)(n,b);if(!y.some(function(n){return n.path===e}))return!1;var t=1/M;M+=1,v[e]?v[e]+=1:v[e]=1,U.has(e)||j.unshift(e),j.sort(O);var o=f(e);return o.jsonName&&(R[o.jsonName]?R[o.jsonName]+=1+t:R[o.jsonName]=1+t,x.indexOf(o.jsonName)!==-1||m[o.jsonName]||x.unshift(o.jsonName)),o.componentChunkName&&(R[o.componentChunkName]?R[o.componentChunkName]+=1+t:R[o.componentChunkName]=1+t,x.indexOf(o.componentChunkName)!==-1||m[o.jsonName]||x.unshift(o.componentChunkName)),x.sort(L),C.onNewResourcesAdded(),!0},getResources:function(){return{resourcesArray:x,resourcesCount:R}},getPages:function(){return{pathArray:j,pathCount:v}},getPage:function(n){return f(n)},has:function(n){return j.some(function(e){return e===n})},getResourcesForPathname:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};N&&navigator&&navigator.serviceWorker&&navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&(f(e)||navigator.serviceWorker.getRegistrations().then(function(n){if(n.length){for(var e=n,t=Array.isArray(e),o=0,e=t?e:e[Symbol.iterator]();;){var r;if(t){if(o>=e.length)break;r=e[o++]}else{if(o=e.next(),o.done)break;r=o.value}var a=r;a.unregister()}window.location.reload()}})),N=!1;if(P[e])return D(e,'Previously detected load failure for "'+e+'"'),t();var o=f(e);if(!o)return D(e,"A page wasn't found for \""+e+'"'),t();if(e=o.path,h[e])return n.nextTick(function(){t(h[e]),i.default.emit("onPostLoadPageResources",{page:o,pageResources:h[e]})}),h[e];i.default.emit("onPreLoadPageResources",{path:e});var r=void 0,a=void 0,u=void 0,s=function(){if(r&&a&&(!o.layoutComponentChunkName||u)){h[e]={component:r,json:a,layout:u,page:o};var n={component:r,json:a,layout:u,page:o};t(n),i.default.emit("onPostLoadPageResources",{page:o,pageResources:n})}};return S(o.componentChunkName,function(n,e){n&&D(o.path,"Loading the component for "+o.path+" failed"),r=e,s()}),S(o.jsonName,function(n,e){n&&D(o.path,"Loading the JSON for "+o.path+" failed"),a=e,s()}),void(o.layoutComponentChunkName&&S(o.layout,function(n,e){n&&D(o.path,"Loading the Layout for "+o.path+" failed"),u=e,s()}))},peek:function(n){return j.slice(-1)[0]},length:function(){return j.length},indexOf:function(n){return j.length-j.indexOf(n)-1}};e.publicLoader={getResourcesForPathname:U.getResourcesForPathname};e.default=U}).call(e,t(109))},375:function(n,e){n.exports=[{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-angularjs-forms-and-validation.json",path:"/blog/angularjs-forms-and-validation"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-object-oriented-javascript-cheat-sheet.json",path:"/blog/object-oriented-javascript-cheat-sheet"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-javascript-cheat-sheet.json",path:"/blog/javascript-cheat-sheet"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-angularjs-essentials.json",path:"/blog/angularjs-essentials"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-responsive-web-design-mobile-first-and-progressive-enhancement.json",path:"/blog/responsive-web-design-mobile-first-and-progressive-enhancement"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-responsive-web-design-essentials.json",path:"/blog/responsive-web-design-essentials"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-git-branching-and-release-strategy.json",path:"/blog/git-branching-and-release-strategy"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-content-first-i-want-the-good-stuff-and-i-want-it-now.json",path:"/blog/content-first-I-want-the-good-stuff-and-I-want-it-now"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-git-cheat-sheet.json",path:"/blog/git-cheat-sheet"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-the-sum-of-its-parts.json",path:"/blog/the-sum-of-its-parts"},{componentChunkName:"component---src-templates-blog-post-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog-and-so-the-journey-begins.json",path:"/blog/and-so-the-journey-begins"},{componentChunkName:"component---src-pages-404-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"404.json",path:"/404/"},{componentChunkName:"component---src-pages-about-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"about.json",path:"/about/"},{componentChunkName:"component---src-pages-blog-index-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"blog.json",path:"/blog/"},{componentChunkName:"component---src-pages-contact-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"contact.json",path:"/contact/"},{componentChunkName:"component---src-pages-index-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"index.json",path:"/"},{componentChunkName:"component---src-pages-resources-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"resources.json",path:"/resources/"},{componentChunkName:"component---src-pages-404-js",layout:"layout---index",layoutComponentChunkName:"component---src-layouts-index-js",jsonName:"404-html.json",path:"/404.html"}]},201:function(n,e){"use strict";n.exports=function(n){var e=n.getNextQueuedResources,t=n.createResourceDownload,o=[],r=[],a=function(){var n=e();n&&(r.push(n),t(n))},u=function(n){switch(n.type){case"RESOURCE_FINISHED":r=r.filter(function(e){return e!==n.payload});break;case"ON_PRE_LOAD_PAGE_RESOURCES":o.push(n.payload.path);break;case"ON_POST_LOAD_PAGE_RESOURCES":o=o.filter(function(e){return e!==n.payload.page.path});break;case"ON_NEW_RESOURCES_ADDED":}setTimeout(function(){0===r.length&&0===o.length&&a()},0)};return{onResourcedFinished:function(n){u({type:"RESOURCE_FINISHED",payload:n})},onPreLoadPageResources:function(n){u({type:"ON_PRE_LOAD_PAGE_RESOURCES",payload:n})},onPostLoadPageResources:function(n){u({type:"ON_POST_LOAD_PAGE_RESOURCES",payload:n})},onNewResourcesAdded:function(){u({type:"ON_NEW_RESOURCES_ADDED"})},getState:function(){return{pagesLoading:o,resourcesDownloading:r}},empty:function(){o=[],r=[]}}}},0:function(n,e,t){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}var r=Object.assign||function(n){for(var e=1;e0)return o[0];if(n){var r=n.location.pathname;if(r===t)return!1}return!0}(0,a.apiRunner)("registerServiceWorker").length>0&&t(202);var o=function(n){function e(n){n.page.path===k.default.getPage(o).path&&(j.default.off("onPostLoadPageResources",e),clearTimeout(u),window.___history.push(t))}var t=(0,h.createLocation)(n,null,null,g.default.location),o=t.pathname,r=E[o];r&&(o=r.toPath);var a=window.location;if(a.pathname!==t.pathname||a.search!==t.search||a.hash!==t.hash){var u=setTimeout(function(){j.default.off("onPostLoadPageResources",e),j.default.emit("onDelayedLoadPageResources",{pathname:o}),window.___history.push(t)},1e3);k.default.getResourcesForPathname(o)?(clearTimeout(u),window.___history.push(t)):j.default.on("onPostLoadPageResources",e)}};window.___navigateTo=o,(0,a.apiRunner)("onRouteUpdate",{location:g.default.location,action:g.default.action});var i=!1,p=(0,a.apiRunner)("replaceRouterComponent",{history:g.default})[0],m=function(n){var e=n.children;return s.default.createElement(l.Router,{history:g.default},e)},y=(0,l.withRouter)(C.default);k.default.getResourcesForPathname(window.location.pathname,function(){var t=function(){return(0,u.createElement)(p?p:m,null,(0,u.createElement)(f.ScrollContext,{shouldUpdateScroll:e},(0,u.createElement)(y,{layout:!0,children:function(e){return(0,u.createElement)(l.Route,{render:function(t){n(t.history);var o=e?e:t;return k.default.getPage(o.location.pathname)?(0,u.createElement)(C.default,r({page:!0},o)):(0,u.createElement)(C.default,{page:!0,location:{pathname:"/404.html"}})}})}})))},o=(0,a.apiRunner)("wrapRootComponent",{Root:t},t)[0];(0,d.default)(function(){return c.default.render(s.default.createElement(o,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,function(){(0,a.apiRunner)("onInitialClientRender")})})})})},376:function(n,e){n.exports=[]},202:function(n,e,t){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}var r=t(59),a=o(r),u="/";"serviceWorker"in navigator&&navigator.serviceWorker.register(u+"sw.js").then(function(n){n.addEventListener("updatefound",function(){var e=n.installing;console.log("installingWorker",e),e.addEventListener("statechange",function(){switch(e.state){case"installed":navigator.serviceWorker.controller?window.location.reload():(console.log("Content is now available offline!"),a.default.emit("sw:installed"));break;case"redundant":console.error("The installing service worker became redundant.")}})})}).catch(function(n){console.error("Error during service worker registration:",n)})},130:function(n,e){"use strict";e.__esModule=!0,e.default=function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return n.substr(0,e.length)===e?n.slice(e.length):n},n.exports=e.default},304:function(n,e,t){!function(e,t){n.exports=t()}("domready",function(){var n,e=[],t=document,o=t.documentElement.doScroll,r="DOMContentLoaded",a=(o?/^loaded|^c/:/^loaded|^i|^c/).test(t.readyState);return a||t.addEventListener(r,n=function(){for(t.removeEventListener(r,n),a=1;n=e.shift();)n()}),function(n){a?setTimeout(n,0):e.push(n)}})},5:function(n,e,t){"use strict";function o(){function n(n){var e=o.lastChild;return"SCRIPT"!==e.tagName?void("undefined"!=typeof console&&console.warn&&console.warn("Script is not a script",e)):void(e.onload=e.onerror=function(){e.onload=e.onerror=null,setTimeout(n,0)})}var e,o=document.querySelector("head"),r=t.e,a=t.s;t.e=function(o,u){var s=!1,i=!0,c=function(n){u&&(u(t,n),u=null)};return!a&&e&&e[o]?void c(!0):(r(o,function(){s||(s=!0,i?setTimeout(function(){c()}):c())}),void(s||(i=!1,n(function(){s||(s=!0,a?a[o]=void 0:(e||(e={}),e[o]=!0),c(!0))}))))}}o()},348:function(n,e,t){"use strict";var o=t(15);n.exports=function(n,e){n.addEventListener("click",function(n){if(0!==n.button||n.altKey||n.ctrlKey||n.metaKey||n.shiftKey||n.defaultPrevented)return!0;for(var t=null,r=n.target;r.parentNode;r=r.parentNode)if("A"===r.nodeName){t=r;break}if(!t)return!0;if(t.target&&"_self"!==t.target.toLowerCase())return!0;if(t.pathname===window.location.pathname&&""!==t.hash)return!0;if(""===t.pathname)return!0;if(t.pathname.search(/^.*\.((?!htm)[a-z0-9]{1,5})$/i)!==-1)return!0;var a=document.createElement("a");a.href=t.href;var u=document.createElement("a");if(u.href=window.location.href,a.host!==u.host)return!0;var s=new RegExp("^"+u.host+(0,o.withPrefix)("/"));return!s.test(""+a.host+a.pathname)||(n.preventDefault(),e(t.getAttribute("href")),!1)})}},349:function(n,e,t){"use strict";function o(n){return n&&n.__esModule?n:{default:n}}var r=t(15),a=t(348),u=o(a);e.onClientEntry=function(){(0,u.default)(window,function(n){(0,r.navigateTo)(n)})}},350:function(n,e,t){"use strict";e.onRouteUpdate=function(n){var e=n.location;"function"==typeof ga&&(window.ga("set","page",e?e.pathname+e.search+e.hash:void 0),window.ga("send","pageview"))}},377:function(n,e){function t(n){return n=n||Object.create(null),{on:function(e,t){(n[e]||(n[e]=[])).push(t)},off:function(e,t){n[e]&&n[e].splice(n[e].indexOf(t)>>>0,1)},emit:function(e,t){(n[e]||[]).slice().map(function(n){n(t)}),(n["*"]||[]).slice().map(function(n){n(e,t)})}}}n.exports=t},109:function(n,e){function t(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(n){if(l===setTimeout)return setTimeout(n,0);if((l===t||!l)&&setTimeout)return l=setTimeout,setTimeout(n,0);try{return l(n,0)}catch(e){try{return l.call(null,n,0)}catch(e){return l.call(this,n,0)}}}function a(n){if(f===clearTimeout)return clearTimeout(n);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(n);try{return f(n)}catch(e){try{return f.call(null,n)}catch(e){return f.call(this,n)}}}function u(){m&&d&&(m=!1,d.length?h=d.concat(h):g=-1,h.length&&s())}function s(){if(!m){var n=r(u);m=!0;for(var e=h.length;e;){for(d=h,h=[];++g1)for(var t=1;t