text: !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){n(281),e.exports=n(466)},function(e,t,n){var r=n(6),o=n(40),a=n(30),i=n(31),s=n(41),u="prototype",l=function(e,t,n){var c,f,d,p,h=e&l.F,v=e&l.G,m=e&l.S,g=e&l.P,y=e&l.B,b=v?r:m?r[t]||(r[t]={}):(r[t]||{})[u],x=v?o:o[t]||(o[t]={}),w=x[u]||(x[u]={});v&&(n=t);for(c in n)f=!h&&b&&void 0!==b[c],d=(f?b:n)[c],p=y&&f?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,b&&i(b,c,d,e&l.U),x[c]!=d&&a(x,c,p),g&&w[c]!=d&&(w[c]=d)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){"use strict";e.exports=n(108)},function(e,t,n){e.exports=n(952)()},function(e,t,n){"use strict";function r(e,t,n,r,a,i,s,u){if(o(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,s,u],f=0;l=new Error(t.replace(/%s/g,function(){return c[f++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}}var o=function(e){};e.exports=r},function(e,t,n){var r=n(8);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=n},function(e,t,n){"use strict";var r=n(51),o=r;e.exports=o},function(e,t,n){var r=n(145)("wks"),o=n(82),a=n(6).Symbol,i="function"==typeof a,s=e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))};s.store=r},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){e.exports=!n(7)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(5),o=n(310),a=n(50),i=Object.defineProperty;t.f=n(13)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(49),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){e.exports={default:n(287),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(383),a=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(927),a=r(o),i=n(925),s=r(i),u=n(385),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(385),a=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function a(e,t){var n=o(e);n._hostNode=t,t[m]=n}function i(e){var t=e._hostNode;t&&(delete t[m],e._hostNode=null)}function s(e,t){if(!(e._flags&v.hasCachedChildNodes)){var n=e._renderedChildren,i=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var u=n[s],l=o(u)._domID;if(0!==l){for(;null!==i;i=i.nextSibling)if(r(i,l)){a(u,i);continue e}f("32",l)}}e._flags|=v.hasCachedChildNodes}}function u(e){if(e[m])return e[m];for(var t=[];!e[m];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[m]);e=t.pop())n=r,t.length&&s(r,e);return n}function l(e){var t=u(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?f("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:f("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var f=n(9),d=n(102),p=n(396),h=(n(4),d.ID_ATTRIBUTE_NAME),v=p,m="__reactInternalInstance$"+Math.random().toString(36).slice(2),g={getClosestInstanceFromNode:u,getInstanceFromNode:l,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:a,uncacheNode:i};e.exports=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.connectAdvanced=t.createProvider=t.Provider=void 0;var o=n(1052),a=r(o),i=n(419),s=r(i),u=n(1053),l=r(u);t.Provider=a.default,t.createProvider=o.createProvider,t.connectAdvanced=s.default,t.connect=l.default},function(e,t,n){var r=n(47);e.exports=function(e){return Object(r(e))}},function(e,t){/*
  	object-assign
  	(c) Sindre Sorhus
  	@license MIT
  	*/
  "use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)a.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var f=0;f<s.length;f++)i.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t){e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(924),a=r(o);t.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){var r=n(14),o=n(78);e.exports=n(13)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(6),o=n(30),a=n(34),i=n(82)("src"),s="toString",u=Function[s],l=(""+u).split(s);n(40).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(a(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(a(n,i)||o(n,i,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,s,function(){return"function"==typeof this&&this[i]||u.call(this)})},function(e,t,n){var r=n(1),o=n(7),a=n(47),i=/"/g,s=function(e,t,n,r){var o=String(a(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(i,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,n,r){if(r=r||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var o="",a=0;a<t.length;a++)o&&(o+=","),o+=this.create(e,t[a],n,r);return o}return this.create(e,t,n,r)},create:function(e,t,n,r){return e=e||"450ms",t=t||"all",n=n||"0ms",r=r||"linear",t+" "+e+" "+r+" "+n}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(122),o=n(78),a=n(37),i=n(50),s=n(34),u=n(310),l=Object.getOwnPropertyDescriptor;t.f=n(13)?l:function(e,t){if(e=a(e),t=i(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(34),o=n(22),a=n(217)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(121),o=n(47);e.exports=function(e){return r(o(e))}},function(e,t){var n=Array.isArray;e.exports=n},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(26);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";var r=n(7);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,i,s){if(!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],c=0;u=new Error(t.replace(/%s/g,function(){return l[c++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}};e.exports=r},function(e,t,n){"use strict";var r=null;e.exports={debugTool:r}},function(e,t,n){var r=n(195)("wks"),o=n(133),a=n(63).Symbol,i="function"==typeof a,s=e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))};s.store=r},function(e,t,n){var r=n(41),o=n(121),a=n(22),i=n(15),s=n(202);e.exports=function(e,t){var n=1==e,u=2==e,l=3==e,c=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var v,m,g=a(t),y=o(g),b=r(s,h,3),x=i(y.length),w=0,_=n?p(t,x):u?p(t,0):void 0;x>w;w++)if((d||w in y)&&(v=y[w],m=b(v,w,g),e))if(n)_[w]=m;else if(m)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:_.push(v)}else if(c)return!1;return f?-1:l||c?c:_}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(1),o=n(40),a=n(7);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(8);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){function n(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){"use strict";e.exports=n(974)},function(e,t,n){"use strict";function r(){O.ReactReconcileTransaction&&_?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=d.getPooled(),this.reconcileTransaction=O.ReactReconcileTransaction.getPooled(!0)}function a(e,t,n,o,a,i){return r(),_.batchedUpdates(e,t,n,o,a,i)}function i(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==y.length?c("124",t,y.length):void 0,y.sort(i),b++;for(var n=0;n<t;n++){var r=y[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var a;if(h.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),a="React update: "+s.getName()}if(v.performUpdateIfNecessary(r,e.reconcileTransaction,b),o)for(var u=0;u<o.length;u++)e.callbackQueue.enqueue(o[u],r.getPublicInstance())}}function u(e){return r(),_.isBatchingUpdates?(y.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=b+1))):void _.batchedUpdates(u,e)}function l(e,t){g(_.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."),x.enqueue(e,t),w=!0}var c=n(9),f=n(23),d=n(394),p=n(83),h=n(399),v=n(105),m=n(170),g=n(4),y=[],b=0,x=d.getPooled(),w=!1,_=null,k={initialize:function(){this.dirtyComponentsLength=y.length},close:function(){this.dirtyComponentsLength!==y.length?(y.splice(0,this.dirtyComponentsLength),E()):y.length=0}},C={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},S=[k,C];f(o.prototype,m,{getTransactionWrappers:function(){return S},destructor:function(){this.dirtyComponentsLength=null,d.release(this.callbackQueue),this.callbackQueue=null,O.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return m.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var E=function(){for(;y.length||w;){if(y.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(w){w=!1;var t=x;x=d.getPooled(),t.notifyAll(),d.release(t)}}},P={injectReconcileTransaction:function(e){e?void 0:c("126"),O.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:c("127"),"function"!=typeof e.batchedUpdates?c("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?c("129"):void 0,_=e}},O={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:u,flushBatchedUpdates:E,injection:P,asap:l};e.exports=O},function(e,t){"use strict";function n(){this.canvas.setAttribute("width",window.getComputedStyle(this.canvas).width),this.canvas.setAttribute("height",window.getComputedStyle(this.canvas).height)}function r(){this.canvas.getContext("2d").clearRect(0,0,this.canvas.width,this.canvas.height)}function o(){var e,t=navigator.userAgent,n=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];if(/trident/i.test(n[1]))return e=/\brv[ :]+(\d+)/g.exec(t)||[],{name:"IE",version:e[1]||""};if("Chrome"===n[1]&&(e=t.match(/\bOPR\/(\d+)/),null!=e))return{name:"Opera",version:e[1]};n=n[2]?[n[1],n[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=t.match(/version\/(\d+)/i))&&n.splice(1,1,e[1]);var r=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(r=!0)}(navigator.userAgent||navigator.vendor||window.opera),{name:n[0],version:n[1],mobile:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.initCanvasXY=n,t.clearCanvas=r,t.getBrowser=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(488),a=r(o);t.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){var r=n(63),o=n(25),a=n(187),i=n(88),s=n(71),u="prototype",l=function(e,t,n){var c,f,d,p=e&l.F,h=e&l.G,v=e&l.S,m=e&l.P,g=e&l.B,y=e&l.W,b=h?o:o[t]||(o[t]={}),x=b[u],w=h?r:v?r[t]:(r[t]||{})[u];h&&(n=t);for(c in n)f=!p&&w&&void 0!==w[c],f&&s(b,c)||(d=f?w[c]:n[c],b[c]=h&&"function"!=typeof w[c]?n[c]:g&&f?a(d,r):y&&w[c]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[u]=e[u],t}(d):m&&"function"==typeof d?a(Function.call,d):d,m&&((b.virtual||(b.virtual={}))[c]=d,e&l.R&&x&&!x[c]&&i(x,c,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(331),o=n(1),a=n(145)("metadata"),i=a.store||(a.store=new(n(334))),s=function(e,t,n){var o=i.get(e);if(!o){if(!n)return;i.set(e,o=new r)}var a=o.get(t);if(!a){if(!n)return;o.set(t,a=new r)}return a},u=function(e,t,n){var r=s(t,n,!1);return void 0!==r&&r.has(e)},l=function(e,t,n){var r=s(t,n,!1);return void 0===r?void 0:r.get(e)},c=function(e,t,n,r){s(n,r,!0).set(e,t)},f=function(e,t){var n=s(e,t,!1),r=[];return n&&n.forEach(function(e,t){r.push(t)}),r},d=function(e){return void 0===e||"symbol"==typeof e?e:String(e)},p=function(e){o(o.S,"Reflect",e)};e.exports={store:i,map:s,has:u,get:l,set:c,keys:f,key:d,exp:p}},function(e,t,n){"use strict";if(n(13)){var r=n(66),o=n(6),a=n(7),i=n(1),s=n(147),u=n(223),l=n(41),c=n(73),f=n(78),d=n(30),p=n(79),h=n(49),v=n(15),m=n(329),g=n(81),y=n(50),b=n(34),x=n(120),w=n(8),_=n(22),k=n(209),C=n(75),S=n(36),E=n(76).f,P=n(225),O=n(82),T=n(11),M=n(46),A=n(134),j=n(146),R=n(226),N=n(90),I=n(140),D=n(80),L=n(201),F=n(302),B=n(14),W=n(35),U=B.f,z=W.f,G=o.RangeError,q=o.TypeError,H=o.Uint8Array,V="ArrayBuffer",K="Shared"+V,Y="BYTES_PER_ELEMENT",X="prototype",$=Array[X],Z=u.ArrayBuffer,Q=u.DataView,J=M(0),ee=M(2),te=M(3),ne=M(4),re=M(5),oe=M(6),ae=A(!0),ie=A(!1),se=R.values,ue=R.keys,le=R.entries,ce=$.lastIndexOf,fe=$.reduce,de=$.reduceRight,pe=$.join,he=$.sort,ve=$.slice,me=$.toString,ge=$.toLocaleString,ye=T("iterator"),be=T("toStringTag"),xe=O("typed_constructor"),we=O("def_constructor"),_e=s.CONSTR,ke=s.TYPED,Ce=s.VIEW,Se="Wrong length!",Ee=M(1,function(e,t){return Ae(j(e,e[we]),t)}),Pe=a(function(){return 1===new H(new Uint16Array([1]).buffer)[0]}),Oe=!!H&&!!H[X].set&&a(function(){new H(1).set({})}),Te=function(e,t){var n=h(e);if(n<0||n%t)throw G("Wrong offset!");return n},Me=function(e){if(w(e)&&ke in e)return e;throw q(e+" is not a typed array!")},Ae=function(e,t){if(!(w(e)&&xe in e))throw q("It is not a typed array constructor!");return new e(t)},je=function(e,t){return Re(j(e,e[we]),t)},Re=function(e,t){for(var n=0,r=t.length,o=Ae(e,r);r>n;)o[n]=t[n++];return o},Ne=function(e,t,n){U(e,t,{get:function(){return this._d[n]}})},Ie=function(e){var t,n,r,o,a,i,s=_(e),u=arguments.length,c=u>1?arguments[1]:void 0,f=void 0!==c,d=P(s);if(void 0!=d&&!k(d)){for(i=d.call(s),r=[],t=0;!(a=i.next()).done;t++)r.push(a.value);s=r}for(f&&u>2&&(c=l(c,arguments[2],2)),t=0,n=v(s.length),o=Ae(this,n);n>t;t++)o[t]=f?c(s[t],t):s[t];return o},De=function(){for(var e=0,t=arguments.length,n=Ae(this,t);t>e;)n[e]=arguments[e++];return n},Le=!!H&&a(function(){ge.call(new H(1))}),Fe=function(){return ge.apply(Le?ve.call(Me(this)):Me(this),arguments)},Be={copyWithin:function(e,t){return F.call(Me(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return ne(Me(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return L.apply(Me(this),arguments)},filter:function(e){return je(this,ee(Me(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return re(Me(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return oe(Me(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){J(Me(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ie(Me(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return ae(Me(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return pe.apply(Me(this),arguments)},lastIndexOf:function(e){return ce.apply(Me(this),arguments)},map:function(e){return Ee(Me(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return fe.apply(Me(this),arguments)},reduceRight:function(e){return de.apply(Me(this),arguments)},reverse:function(){for(var e,t=this,n=Me(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return te(Me(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return he.call(Me(this),e)},subarray:function(e,t){var n=Me(this),r=n.length,o=g(e,r);return new(j(n,n[we]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===t?r:g(t,r))-o))}},We=function(e,t){return je(this,ve.call(Me(this),e,t))},Ue=function(e){Me(this);var t=Te(arguments[1],1),n=this.length,r=_(e),o=v(r.length),a=0;if(o+t>n)throw G(Se);for(;a<o;)this[t+a]=r[a++]},ze={entries:function(){return le.call(Me(this))},keys:function(){return ue.call(Me(this))},values:function(){return se.call(Me(this))}},Ge=function(e,t){return w(e)&&e[ke]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},qe=function(e,t){return Ge(e,t=y(t,!0))?f(2,e[t]):z(e,t)},He=function(e,t,n){return!(Ge(e,t=y(t,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?U(e,t,n):(e[t]=n.value,e)};_e||(W.f=qe,B.f=He),i(i.S+i.F*!_e,"Object",{getOwnPropertyDescriptor:qe,defineProperty:He}),a(function(){me.call({})})&&(me=ge=function(){return pe.call(this)});var Ve=p({},Be);p(Ve,ze),d(Ve,ye,ze.values),p(Ve,{slice:We,set:Ue,constructor:function(){},toString:me,toLocaleString:Fe}),Ne(Ve,"buffer","b"),Ne(Ve,"byteOffset","o"),Ne(Ve,"byteLength","l"),Ne(Ve,"length","e"),U(Ve,be,{get:function(){return this[ke]}}),e.exports=function(e,t,n,u){u=!!u;var l=e+(u?"Clamped":"")+"Array",f="get"+e,p="set"+e,h=o[l],g=h||{},y=h&&S(h),b=!h||!s.ABV,_={},k=h&&h[X],P=function(e,n){var r=e._d;return r.v[f](n*t+r.o,Pe)},O=function(e,n,r){var o=e._d;u&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*t+o.o,r,Pe)},T=function(e,t){U(e,t,{get:function(){return P(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,r,o){c(e,h,l,"_d");var a,i,s,u,f=0,p=0;if(w(n)){if(!(n instanceof Z||(u=x(n))==V||u==K))return ke in n?Re(h,n):Ie.call(h,n);a=n,p=Te(r,t);var g=n.byteLength;if(void 0===o){if(g%t)throw G(Se);if(i=g-p,i<0)throw G(Se)}else if(i=v(o)*t,i+p>g)throw G(Se);s=i/t}else s=m(n),i=s*t,a=new Z(i);for(d(e,"_d",{b:a,o:p,l:i,e:s,v:new Q(a)});f<s;)T(e,f++)}),k=h[X]=C(Ve),d(k,"constructor",h)):a(function(){h(1)})&&a(function(){new h(-1)})&&I(function(e){new h,new h(null),new h(1.5),new h(e)},!0)||(h=n(function(e,n,r,o){c(e,h,l);var a;return w(n)?n instanceof Z||(a=x(n))==V||a==K?void 0!==o?new g(n,Te(r,t),o):void 0!==r?new g(n,Te(r,t)):new g(n):ke in n?Re(h,n):Ie.call(h,n):new g(m(n))}),J(y!==Function.prototype?E(g).concat(E(y)):E(g),function(e){e in h||d(h,e,g[e])}),h[X]=k,r||(k.constructor=h));var M=k[ye],A=!!M&&("values"==M.name||void 0==M.name),j=ze.values;d(h,xe,!0),d(k,ke,l),d(k,Ce,!0),d(k,we,h),(u?new h(1)[be]==l:be in k)||U(k,be,{get:function(){return l}}),_[l]=h,i(i.G+i.W+i.F*(h!=g),_),i(i.S,l,{BYTES_PER_ELEMENT:t}),i(i.S+i.F*a(function(){g.of.call(h,1)}),l,{from:Ie,of:De}),Y in k||d(k,Y,t),i(i.P,l,Be),D(l),i(i.P+i.F*Oe,l,{set:Ue}),i(i.P+i.F*!A,l,ze),r||k.toString==me||(k.toString=me),i(i.P+i.F*a(function(){new h(1).slice()}),l,{slice:We}),i(i.P+i.F*(a(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!a(function(){k.toLocaleString.call([1,2])})),l,{toLocaleString:Fe}),N[l]=A?M:j,r||A||d(k,ye,j)}}else e.exports=function(){}},function(e,t,n){(function(e,r){var o=n(847),a={function:!0,object:!0},i=a[typeof t]&&t&&!t.nodeType?t:void 0,s=a[typeof e]&&e&&!e.nodeType?e:void 0,u=o(i&&s&&"object"==typeof r&&r),l=o(a[typeof self]&&self),c=o(a[typeof window]&&window),f=o(a[typeof this]&&this),d=u||c!==(f&&f.window)&&c||l||f||Function("return this")();e.exports=d}).call(t,n(130)(e),function(){return this}())},function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return u?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse,this}var o=n(23),a=n(83),i=n(51),s=(n(10),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),u={type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=u,r.augmentClass=function(e,t){var n=this,r=function(){};r.prototype=n.prototype;var i=new r;o(i,e.prototype),e.prototype=i,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,a.addPoolingTo(e,a.fourArgumentPooler)},a.addPoolingTo(r,a.fourArgumentPooler),e.exports=r},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(69),o=n(289),a=n(197),i=Object.defineProperty;t.f=n(70)?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(11)("unscopables"),o=Array.prototype;void 0==o[r]&&n(30)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){e.exports=!1},function(e,t,n){var r=n(82)("meta"),o=n(8),a=n(34),i=n(14).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(7)(function(){return u(Object.preventExtensions({}))}),c=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return l&&h.NEED&&u(e)&&!a(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,n){"use strict";var r=!1,o=function(){};if(r){var a=function(e,t){var n=arguments.length;t=new Array(n>2?n-2:0);for(var r=2;r<n;r++)t[r-2]=arguments[r];var o=0,a="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console;try{throw new Error(a)}catch(e){}};o=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||a.apply(null,[t].concat(n))}}e.exports=o},function(e,t,n){var r=n(72);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(87)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(41),o=n(313),a=n(209),i=n(5),s=n(15),u=n(225),l={},c={},t=e.exports=function(e,t,n,f,d){var p,h,v,m,g=d?function(){return e}:u(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof g)throw TypeError(e+" is not iterable!");if(a(g)){for(p=s(e.length);p>b;b++)if(m=t?y(i(h=e[b])[0],h[1]):y(e[b]),m===l||m===c)return m}else for(v=g.call(e);!(h=v.next()).done;)if(m=o(v,y,h.value,t),m===l||m===c)return m};t.BREAK=l,t.RETURN=c},function(e,t,n){var r=n(5),o=n(319),a=n(205),i=n(217)("IE_PROTO"),s=function(){},u="prototype",l=function(){var e,t=n(204)("iframe"),r=a.length,o="<",i=">";for(t.style.display="none",n(207).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),l=e.F;r--;)delete l[u][a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[i]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(321),o=n(205).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(321),o=n(205);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(31);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(6),o=n(14),a=n(13),i=n(11)("species");e.exports=function(e){var t=r[e];a&&t&&!t[i]&&o.f(t,i,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(49),o=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):a(e,t)}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){"use strict";var r=n(9),o=(n(4),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,c=o,f=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=u,n},d={addPoolingTo:f,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:s};e.exports=d},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return{type:"increaseSpinner",value:e}}function o(){return{type:"toggleSettings"}}function a(){return{type:"decreaseSpinner"}}function i(e,t,n){var r=e?"layoutColPercentChange":"layoutRowPercentChange";return{type:r,idx:t,perc:n}}function s(e){return{type:"turnOffCanvas",name:e}}function u(e){return{type:"turnOnCanvas",name:e}}function l(e,t){return{type:"toggleMetadataColumn",idx:e,newValue:t}}function c(e){return{type:"toggleAllMetaColumns",newBool:e}}function f(e){return function(t){t({type:"clearAllData"}),e&&t({type:"newPage",name:"landing"})}}function d(){return{type:"clearTree"}}function p(){return{type:"clearMetadata"}}function h(){return{type:"toggleMetaKey"}}function v(){return{type:"toggleLogo"}}function m(){return{type:"clearAnnotationData"}}function g(){return{type:"clearBlockData"}}function y(){return{type:"clearPlotData"}}function b(e){return function(t,n){"roary"!==e&&("gubbins"!==e&&"gubbinsPerTaxa"!==e||n().blocks.fileNames.gubbins)&&("bratNextGen"!==e||n().blocks.fileNames.bratNextGen)&&("merged"!==e||n().blocks.fileNames.gubbins&&n().blocks.fileNames.bratNextGen)&&(t(r()),t({type:"showBlocks",name:e}),t((0,x.updateLineGraphData)()),t(a()))}}Object.defineProperty(t,"__esModule",{value:!0}),t.increaseSpinner=r,t.toggleSettings=o,t.decreaseSpinner=a,t.layoutPercentChange=i,t.turnOffCanvas=s,t.turnOnCanvas=u,t.toggleMetadataColumn=l,t.toggleAllMetaColumns=c,t.clearAllData=f,t.clearTree=d,t.clearMetadata=p,t.toggleMetaKey=h,t.toggleLogo=v,t.clearAnnotationData=m,t.clearBlockData=g,t.clearPlotData=y,t.showBlocks=b;var x=n(177);n(110)},function(e,t,n){"use strict";function r(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=this;this.dragging=!1,this.zooming=!1,this.debounceTimer=null,this.shouldZoom=!0,this.debounce=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;this.shouldZoom=!1,this.debounceTimer=setTimeout(function(){return e.shouldZoom=!0},t)},e.addEventListener("selectstart",function(e){return e.preventDefault(),!1},!1),e.addEventListener("mousedown",function(t){var n=a.getMouse(t,e);a.clickPositionX=n.x,a.dragoffx=n.x,a.dragoffy=n.y,a.dragging=!0},!0),e.addEventListener("mouseup",function(t){a.dragging=!1;var r=a.getMouse(t,e);Math.abs(r.x-a.clickPositionX)<5&&n(r.x,r.y)},!0),e.addEventListener("mouseout",function(){a.dragging=!1},!0),e.addEventListener("mousemove",function(n){if(a.getMouse(n,e),a.dragging){var o=a.getMouse(n,e),s=o.x,u=o.y,l=s-a.dragoffx;return t(r?(0,i.genomePan)(l/(e.width-20),!0):(0,i.genomePan)(-l/e.width)),a.dragoffx=s,void(a.dragoffy=u)}},!0);var s=/Firefox/i.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel";e.addEventListener(s,function(n){if(n.preventDefault(),!a.zooming){var s=a.getMouse(n,e),u=s.x,l=o(n);a.zooming=!0,a.shouldZoom&&t(r?(0,i.genomeZoom)(l,.5):(0,i.genomeZoom)(l,u/e.width)),a.debounce(30),a.zooming=!1}},!1)}function o(e){var t=e.detail,n=e.wheelDelta,r=225,o=r-1,a=n/t;return t=t?n?t/a:-t/1.35:n/120,t=t<1?t<-1?(-Math.pow(t,2)-o)/r:t:(Math.pow(t,2)+o)/r,Math.min(Math.max(t/2,-1),1)}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=t,o=0,a=0;if(void 0!==r.offsetParent)do o+=r.offsetLeft,a+=r.offsetTop;while(r=r.offsetParent);var i=e.pageX-o,s=e.pageY-a;if(n){var u=t.getContext("2d");u.beginPath(),u.arc(i,s,5,0,2*Math.PI,!1),u.fillStyle="red",u.fill(),u.closePath()}return{x:i,y:s,fixedY:e.pageY,fixedX:e.pageX}}Object.defineProperty(t,"__esModule",{value:!0}),t.Mouse=r,t.getMouse=a;var i=n(450);r.prototype.getMouse=a},function(e,t){"use strict";function n(e,t,n,r,o,a,s,u,l,c){this.direction=n||"None",this.fill=r||"#AAAAAA",this.stroke=o||"black",this.strokeWidth=a||1,this.info=s||"",this.contig=u||"",this.featurestart=e||0,this.featureend=t||0,this.contigstart=l||0,this.contigend=c||0,this.x=0,this.y=0,this.w=1,this.h=20,this.coordinates=[],this.ID="",this.product="",this.fields={},this.fields.Contig=this.contig,this.fields["Contig coordinates"]=this.contigstart+".."+this.contigend,this.fields["Genome coordinates"]=parseInt(this.featurestart,10)+".."+parseInt(this.featureend,10),this.fields.Length=this.featureend-this.featurestart;for(var f=this.info.split(";"),d=0;d<f.length;d++){var p=f[d].split("=");if(!(p.length<2)){var h=p[0].replace(/(^'|'$)/g,"").replace(/(^"|"$)/g,""),v=p[1].replace(/(^'|'$)/g,"").replace(/(^"|"$)/g,"").substring(0,50);
  if(h&&v&&(this.fields[h]=v),"color"===h||"colour"===h){var m=+v.replace(/(^'|'$)/g,"");isNaN(m)?this.fill=m:m<18&&m>-1&&(this.fill=i.artemis[m])}}}}function r(e,t,n,r,o,a,i){this.fill=n||"#AAAAAA",this.stroke=r||"black",this.strokeWidth=o||1,this.contigName=a||"",this.featurestart=e||0,this.featureend=t||0,this.length=i||0,this.x=0,this.y=0,this.w=1,this.h=10,this.direction="None",this.coordinates=[],this.fields={},this.fields.Contig=this.contigName,this.fields.Length=this.length}function o(e,t,n,r){var o=r.colour,a=void 0===o?void 0:o,s=r.taxa,u=void 0===s?void 0:s,l=r.node,c=void 0!==l&&l,f=r.info,d=void 0===f?{}:f;this.startBase=e,this.endBase=t,this.id=n,this.taxa=u,this.info=d,this.node=c,a?this.fill=a:this.fill=i.block.unknown,this.x1=0,this.x2=0,this.y1=0,this.y2=0}function a(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];this.stroke="black",this.strokeWidth=1,this.featurex=e,this.featurey=t,this.radiusX=r,this.rSquared=n,this.radiusX?this.fill="gray":n>.8?this.fill="#FF0000":n>.6?this.fill="#FFA500":n>.4?this.fill="#32CD32":n>.2?this.fill="#87CEFA":n>=0&&(this.fill="#0000FF")}Object.defineProperty(t,"__esModule",{value:!0}),t.Arrow=n,t.Contig=r,t.Block=o,t.Ellipse=a;var i=t.colourDB={block:{gubbinsLeaf:"blue",gubbinsNode:"red",gubbinsPerTaxa:"dodgerblue",bratNextGen:{default:"darkorange"},merge:"limegreen",roary:"mediumblue",unknown:"black"},line:{gubbins:"black",gubbinsPerTaxa:"dodgerblue",bratNextGen:"darkorange",roary:"mediumblue"},artemis:{0:"white",1:"#707070",2:"#C80000",3:"#2C802D",4:"#2A2C92",5:"#22A5A3",6:"#A61785",7:"#E9E930",8:"#19CE2E",9:"#19ACCE",10:"#ED961D",11:"#6B4E25",12:"#DB66D1",13:"#AFADAF",14:"#000000",15:"#ff3f3f",16:"#ff7f7f",17:"#ff7f7f"}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(64),o=n(118);e.exports=n(70)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(290),o=n(188);e.exports=function(e){return r(o(e))}},function(e,t){e.exports={}},function(e,t,n){var r=n(14).f,o=n(34),a=n(11)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(1),o=n(47),a=n(7),i=n(221),s="["+i+"]",u="​",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),f=function(e,t,n){var o={},s=a(function(){return!!i[e]()||u[e]()!=u}),l=o[e]=s?t(d):i[e];n&&(o[n]=l),r(r.P+r.F*s,"String",o)},d=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=f},function(e,t,n){var r=n(8);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createPath=t.parsePath=t.locationsAreEqual=t.createLocation=t.createMemoryHistory=t.createHashHistory=t.createBrowserHistory=void 0;var o=n(150);Object.defineProperty(t,"createLocation",{enumerable:!0,get:function(){return o.createLocation}}),Object.defineProperty(t,"locationsAreEqual",{enumerable:!0,get:function(){return o.locationsAreEqual}});var a=n(124);Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return a.parsePath}}),Object.defineProperty(t,"createPath",{enumerable:!0,get:function(){return a.createPath}});var i=n(787),s=r(i),u=n(788),l=r(u),c=n(789),f=r(c);t.createBrowserHistory=s.default,t.createHashHistory=l.default,t.createMemoryHistory=f.default},function(e,t){"use strict";function n(e,t,n){return n?[e,t]:e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){var r=n(97),o=n(60),a=r(o,"Map");e.exports=a},function(e,t,n){function r(e,t){var n=e[t];return o(n)?n:void 0}var o=n(891);e.exports=r},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t){function n(e){return!!e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e){var t=l(e);if(!t&&!s(e))return a(e);var n=i(e),r=!!n,c=n||[],f=c.length;for(var d in e)!o(e,d)||r&&("length"==d||u(d,f))||t&&"constructor"==d||c.push(d);return c}var o=n(361),a=n(834),i=n(370),s=n(238),u=n(156),l=n(237);e.exports=r},function(e,t,n){"use strict";function r(e){if(m){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)g(t,n[r],null);else null!=e.html?f(t,e.html):null!=e.text&&p(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function a(e,t){m?e.children.push(t):e.node.appendChild(t.node)}function i(e,t){m?e.html=t:f(e.node,t)}function s(e,t){m?e.text=t:p(e.node,t)}function u(){return this.node.nodeName}function l(e){return{node:e,children:[],html:null,text:null,toString:u}}var c=n(249),f=n(172),d=n(257),p=n(411),h=1,v=11,m="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),g=d(function(e,t,n){t.node.nodeType===v||t.node.nodeType===h&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===c.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});l.insertTreeBefore=g,l.replaceChildWithTree=o,l.queueChild=a,l.queueHTML=i,l.queueText=s,e.exports=l},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=n(9),a=(n(4),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},u=e.DOMAttributeNames||{},l=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var f in n){s.properties.hasOwnProperty(f)?o("48",f):void 0;var d=f.toLowerCase(),p=n[f],h={attributeName:d,attributeNamespace:null,propertyName:f,mutationMethod:null,mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",f),u.hasOwnProperty(f)){var v=u[f];h.attributeName=v}i.hasOwnProperty(f)&&(h.attributeNamespace=i[f]),l.hasOwnProperty(f)&&(h.propertyName=l[f]),c.hasOwnProperty(f)&&(h.mutationMethod=c[f]),s.properties[f]=h}}}),i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:i,ATTRIBUTE_NAME_CHAR:i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:a};e.exports=s},function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var a=n(9),i=n(250),s=n(167),u=n(254),l=n(404),c=n(405),f=(n(4),{}),d=null,p=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return p(e,!0)},v=function(e){return p(e,!1)},m=function(e){return"."+e._rootNodeID},g={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?a("94",t,typeof n):void 0;var r=m(e),o=f[t]||(f[t]={});o[r]=n;var s=i.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=f[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=m(e);return n&&n[r]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=f[t];if(r){var o=m(e);delete r[o]}},deleteAllListeners:function(e){var t=m(e);for(var n in f)if(f.hasOwnProperty(n)&&f[n][t]){var r=i.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete f[n][t]}},extractEvents:function(e,t,n,r){for(var o,a=i.plugins,s=0;s<a.length;s++){var u=a[s];if(u){var c=u.extractEvents(e,t,n,r);c&&(o=l(o,c))}}return o},enqueueEvents:function(e){e&&(d=l(d,e))},processEventQueue:function(e){var t=d;d=null,e?c(t,h):c(t,v),d?a("95"):void 0,u.rethrowCaughtError()},__purge:function(){f={}},__getListenerBank:function(){return f}};e.exports=g},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return g(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function i(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=g(e,r);o&&(n._dispatchListeners=v(n._dispatchListeners,o),n._dispatchInstances=v(n._dispatchInstances,e))}}function u(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function l(e){m(e,a)}function c(e){m(e,i)}function f(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function d(e){m(e,u)}var p=n(103),h=n(167),v=n(404),m=n(405),g=(n(10),p.getListener),y={accumulateTwoPhaseDispatches:l,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:d,accumulateEnterLeaveDispatches:f};e.exports=y},function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=n(997),a=(n(44),n(10),{mountComponent:function(e,t,n,o,a,i){var s=e.mountComponent(t,n,o,a,i);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,a){var i=e._currentElement;if(t!==i||a!==e._context){var s=o.shouldUpdateRefs(i,t);s&&o.detachRefs(e,i),e.receiveComponent(t,n,a),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});e.exports=a},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),a=n(260),i={view:function(e){if(e.view)return e.view;var t=a(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return!(0,i.default)(this.props,e)||!(0,i.default)(this.state,t)}t.__esModule=!0,t.default=o;var a=n(1051),i=r(a);e.exports=t.default},function(e,t,n){"use strict";var r=n(273),o=n(432),a=n(1090),i=n(1091),s=n(109),u=n(1092),l=n(1093),c=n(1094),f=n(1098),d=s.createElement,p=s.createFactory,h=s.cloneElement,v=r,m=function(e){return e},g={Children:{map:a.map,forEach:a.forEach,count:a.count,toArray:a.toArray,only:f},Component:o.Component,PureComponent:o.PureComponent,createElement:d,cloneElement:h,isValidElement:s.isValidElement,PropTypes:u,createClass:c,createFactory:p,createMixin:m,DOM:i,version:l,__spread:v};e.exports=g},function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var a=n(273),i=n(62),s=(n(10),n(436),Object.prototype.hasOwnProperty),u=n(434),l={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,a,i){var s={$$typeof:u,type:e,key:t,ref:n,props:i,_owner:a};return s};c.createElement=function(e,t,n){var a,u={},f=null,d=null,p=null,h=null;if(null!=t){r(t)&&(d=t.ref),o(t)&&(f=""+t.key),p=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(a in t)s.call(t,a)&&!l.hasOwnProperty(a)&&(u[a]=t[a])}var v=arguments.length-2;if(1===v)u.children=n;else if(v>1){for(var m=Array(v),g=0;g<v;g++)m[g]=arguments[g+2];u.children=m}if(e&&e.defaultProps){var y=e.defaultProps;for(a in y)void 0===u[a]&&(u[a]=y[a])}return c(e,f,d,p,h,i.current,u)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var u,f=a({},e.props),d=e.key,p=e.ref,h=e._self,v=e._source,m=e._owner;if(null!=t){r(t)&&(p=t.ref,m=i.current),o(t)&&(d=""+t.key);var g;e.type&&e.type.defaultProps&&(g=e.type.defaultProps);for(u in t)s.call(t,u)&&!l.hasOwnProperty(u)&&(void 0===t[u]&&void 0!==g?f[u]=g[u]:f[u]=t[u])}var y=arguments.length-2;if(1===y)f.children=n;else if(y>1){for(var b=Array(y),x=0;x<y;x++)b[x]=arguments[x+2];f.children=b}return c(e.type,d,p,h,v,m,f)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===u},e.exports=c},function(e,t){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{type:"notificationNew",title:e,msg:t,dialog:!!t}}function r(){return{type:"notificationSeen"}}function o(){return function(e,t){var n=t(),r=n.annotation,o=n.metadata,i=n.blocks,s=n.phylogeny,u=n.gwasGraph,l={type:"notificationNew",dialog:!0},c="not loaded",f={annotation:r.fileName!==c,phylogeny:s.fileName!==c,metadata:o.fileName!==c,blocks:0!==i.blocks.length,gwas:0!==u.values.length};f.phylogeny?!f.phylogeny||f.metadata||f.blocks?!f.blocks&&!f.gwas||f.annotation||e(a({},l,{title:"HEADS UP",msg:"Recombination / pan-genome / GWAS has been loaded without an annotation file!"})):e(a({},l,{title:"HEADS UP",msg:"A phylogeny has been loaded, but without recombination / pan genome / metadata files."})):f.blocks?e(a({},l,{title:"HEADS UP",msg:"Blocks provided without a tree, so this data cannot be displayed!"})):f.metadata?e(a({},l,{title:"HEADS UP",msg:"Metadata provided without a tree, so this data cannot be displayed!"})):f.annotation&&!f.gwas&&e(a({},l,{title:"HEADS UP",msg:"An annotation is being displayed but without corresponding recombination / pan genome / GWAS / tree data."}))}}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.notificationNew=n,t.notificationSeen=r,t.checkLoadedDataIsComplete=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e,t){return e+t}Object.defineProperty(t,"__esModule",{value:!0}),t.StaticLogo=t.AnimatedLogo=void 0;var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(2),c=r(l),f=n(3),d=r(f),p=t.AnimatedLogo=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var u=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return u.getLetterSpacing=function(e){for(var t=Array.apply(1,Array(e)),n=0,r=0;r<e;r++){var o=r<1?r:3,a=n>9?0:Math.round(Math.random()*o);n+a>9&&(a=9-n),8===r&&n<9&&(a=9-n),t[r]=a,n+=a}return t},u.getYPositions=function(e,t){for(var n=Array.apply(0,Array(e)),r=0;r<e;r++){var o=Math.round(1*Math.random()/4*t),a=Math.round(2*t/3+1*Math.random()/3*t);n[r]=[o,a-o]}return n},u.move=function(){for(var e=u.boxes.children,t=e.length,n=t,r=u.getLetterSpacing(n),o=Math.round(.9*u.svgElem.width.baseVal.value/9),a=u.props.w>400?-8:0,i=u.props.w>400?8:2,l=Math.round(.05*u.svgElem.width.baseVal.value),c=u.getYPositions(n,u.svgElem.height.baseVal.value),f=0;f<t;f++){e[f].x.baseVal.value=l+r.slice(0,f).reduce(s,0)*o+a,e[f].width.baseVal.value=r[f]*o-i,e[f].y.baseVal.value=c[f][0],e[f].height.baseVal.value=c[f][1];var d=1===r[f]?"#225ea8":"#f03b20";e[f].setAttribute("style","fill: "+d)}},u}return i(t,e),u(t,[{key:"componentDidMount",value:function(){this.move(),this.props.animate&&(this.intervalId=window.setInterval(this.move,this.props.interval))}},{key:"componentWillUnmount",value:function(){this.intervalId&&clearInterval(this.intervalId)}},{key:"render",value:function(){var e=this,t=56;return c.default.createElement("svg",{ref:function(t){return e.svgElem=t},width:this.props.w,height:this.props.h},c.default.createElement("g",{ref:function(t){return e.boxes=t}},c.default.createElement("rect",{x:.1*this.props.w,y:"0",fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.2*this.props.w,y:this.props.h,fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.3*this.props.w,y:"0",fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.4*this.props.w,y:this.props.h,fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.5*this.props.w,y:"0",fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.6*this.props.w,y:this.props.h,fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.7*this.props.w,y:"0",fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.8*this.props.w,y:this.props.h,fill:"#FFFFFF",width:"0",height:"0"}),c.default.createElement("rect",{x:.9*this.props.w,y:"0",fill:"#FFFFFF",width:"0",height:"0"})),c.default.createElement("g",null,c.default.createElement("text",{x:"5%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"p"),c.default.createElement("text",{x:"15%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"h"),c.default.createElement("text",{x:"25%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"a"),c.default.createElement("text",{x:"35%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"n"),c.default.createElement("text",{x:"45%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"d"),c.default.createElement("text",{x:"55%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"a"),c.default.createElement("text",{x:"65%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"n"),c.default.createElement("text",{x:"75%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"g"),c.default.createElement("text",{x:"85%",y:"50%",fill:"#FFFFFF",fontFamily:"Lato",fontSize:t},"o")))}}]),t}(c.default.Component);t.StaticLogo=function(){return c.default.createElement("svg",{viewBox:"0 0 173.737 88.637",opacity:"0.8"},c.default.createElement("rect",{y:"11.844",fill:"#ED1C24",width:"38.904",height:"65.98"}),c.default.createElement("rect",{x:"40.019",y:"23.688",fill:"#ED1C24",width:"36.052",height:"64.949"}),c.default.createElement("rect",{x:"114.758",fill:"#1C75BC",width:"18.146",height:"65.98"}),c.default.createElement("rect",{x:"133.969",y:"11.844",fill:"#ED1C24",width:"39.768",height:"65.465"}),c.default.createElement("rect",{x:"96.585",y:"23.688",fill:"#1C75BC",width:"16.652",height:"64.949"}),c.default.createElement("rect",{x:"77.071",y:"11.844",fill:"#1C75BC",width:"18.5",height:"54.137"}),c.default.createElement("rect",{y:"29.657",fill:"none",width:"380.808",height:"128.788"}),c.default.createElement("text",{transform:"matrix(1 0 0 1 0 55.8828)",fill:"#FFFFFF",fontFamily:"Lato",fontSize:"36"},"phandango"))};p.propTypes={interval:d.default.number,w:d.default.number.isRequired,h:d.default.number.isRequired,animate:d.default.bool},p.defaultProps={interval:5e3,animate:!0}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(491),a=r(o),i=n(489),s=r(i),u=n(179),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(179),a=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}},function(e,t){e.exports={}},function(e,t,n){var r=n(296),o=n(189);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(188);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(39),o=n(11)("toStringTag"),a="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),o))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(39);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(var i=0;i<r.length;i++)if(!o.call(t,r[i])||!n(e[r[i]],t[r[i]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t){"use strict";t.__esModule=!0;var n=(t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e},t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)});t.stripBasename=function(e,t){return n(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return a!==-1&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},function(e,t,n){function r(e){return a(e)&&o(e)}var o=n(238),a=n(99);e.exports=r},function(e,t,n){var r=n(838),o=n(856),a=o(function(e,t,n){r(e,t,n)});e.exports=a},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){"use strict";var n={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};e.exports=n},function(e,t){"use strict";function n(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){e.exports=!0},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(37),o=n(15),a=n(81);e.exports=function(e){return function(t,n,i){var s,u=r(t),l=o(u.length),c=a(i,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){"use strict";var r=n(6),o=n(1),a=n(31),i=n(79),s=n(67),u=n(74),l=n(73),c=n(8),f=n(7),d=n(140),p=n(91),h=n(208);e.exports=function(e,t,n,v,m,g){var y=r[e],b=y,x=m?"set":"add",w=b&&b.prototype,_={},k=function(e){var t=w[e];a(w,e,"delete"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!c(e)?void 0:t.call(this,0===e?0:e)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(g||w.forEach&&!f(function(){(new b).entries().next()}))){var C=new b,S=C[x](g?{}:-0,1)!=C,E=f(function(){C.has(1)}),P=d(function(e){new b(e)}),O=!g&&f(function(){for(var e=new b,t=5;t--;)e[x](t,t);return!e.has(-0)});P||(b=t(function(t,n){l(t,b,e);var r=h(new y,t,b);return void 0!=n&&u(n,m,r[x],r),r}),b.prototype=w,w.constructor=b),(E||O)&&(k("delete"),k("has"),m&&k("get")),(O||S)&&k(x),g&&w.clear&&delete w.clear}else b=v.getConstructor(t,e,m,x),i(b.prototype,n),s.NEED=!0;return p(b,e),_[e]=b,o(o.G+o.W+o.F*(b!=y),_),g||v.setStrong(b,e,m),b}},function(e,t,n){"use strict";var r=n(30),o=n(31),a=n(7),i=n(47),s=n(11);e.exports=function(e,t,n){var u=s(e),l=n(i,u,""[e]),c=l[0],f=l[1];a(function(){var t={};return t[u]=function(){return 7},7!=""[e](t)})&&(o(String.prototype,e,c),r(RegExp.prototype,u,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)}))}},function(e,t,n){"use strict";var r=n(5);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(39);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(8),o=n(39),a=n(11)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(11)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},function(e,t,n){"use strict";e.exports=n(66)||!n(7)(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete n(6)[e]})},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";var r=n(1),o=n(26),a=n(41),i=n(74);e.exports=function(e){r(r.S,e,{from:function(e){var t,n,r,s,u=arguments[1];return o(this),t=void 0!==u,t&&o(u),void 0==e?new this:(n=[],t?(r=0,s=a(u,arguments[2],2),i(e,!1,function(e){n.push(s(e,r++))})):i(e,!1,n.push,n),new this(n))}})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e){r(r.S,e,{of:function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}})}},function(e,t,n){var r=n(40),o=n(6),a="__core-js_shared__",i=o[a]||(o[a]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(66)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(5),o=n(26),a=n(11)("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[a])?t:o(n)}},function(e,t,n){for(var r,o=n(6),a=n(30),i=n(82),s=i("typed_array"),u=i("view"),l=!(!o.ArrayBuffer||!o.DataView),c=l,f=0,d=9,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<d;)(r=o[p[f++]])?(a(r.prototype,s,!0),a(r.prototype,u,!0)):c=!1;e.exports={ABV:l,CONSTR:c,TYPED:s,VIEW:u}},function(e,t,n){var r=n(6),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1135),i=r(a),s=n(1139),u=r(s),l=n(124);t.createLocation=function(e,t,n,r){var a=void 0;"string"==typeof e?(a=(0,l.parsePath)(e),a.state=t):(a=o({},e),void 0===a.pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(a.key=n),r?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,i.default)(a.pathname,r.pathname)):a.pathname=r.pathname:a.pathname||(a.pathname="/"),a},t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,u.default)(e.state,t.state)}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var n=String(e),a=r[n.toLowerCase()];if(a)return a;var a=o[n.toLowerCase()];return a?a:1===n.length?n.charCodeAt(0):void 0}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null===n||void 0===n)return!1;if("string"==typeof t){var a=r[t.toLowerCase()];if(a)return a===n;var a=o[t.toLowerCase()];if(a)return a===n}else if("number"==typeof t)return t===n;return!1}},t=e.exports=n;var r=t.code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};/*!
  	 * Programatically add the following
  	 */
  for(a=97;a<123;a++)r[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)r[a-48]=a;for(a=1;a<13;a++)r["f"+a]=a+111;for(a=0;a<10;a++)r["numpad "+a]=a+96;var i=t.names=t.title={};for(a in r)i[r[a]]=a;for(var s in o)r[s]=o[s]},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(880),a=n(881),i=n(882),s=n(883),u=n(884);r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=n(161);e.exports=r},function(e,t){function n(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}e.exports=n},function(e,t){function n(e,t){return t=null==t?r:t,!!t&&("number"==typeof e||o.test(e))&&e>-1&&e%1==0&&e<t}var r=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}var o=n(38),a=n(166),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;e.exports=r},function(e,t,n){var r=n(97),o=r(Object,"create");e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}var o=n(166),a=1/0;e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e){return o(e)&&s.call(e,"callee")&&(!l.call(e,"callee")||u.call(e)==a)}var o=n(125),a="[object Arguments]",i=Object.prototype,s=i.hasOwnProperty,u=i.toString,l=i.propertyIsEnumerable;e.exports=r},function(e,t,n){function r(e){var t=o(e)?u.call(e):"";return t==a||t==i}var o=n(52),a="[object Function]",i="[object GeneratorFunction]",s=Object.prototype,u=s.toString;e.exports=r},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){if(!i(e)||d.call(e)!=s||a(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==f}var o=n(236),a=n(155),i=n(99),s="[object Object]",u=Object.prototype,l=Function.prototype.toString,c=u.hasOwnProperty,f=l.call(Object),d=u.toString;e.exports=r},function(e,t,n){function r(e){return"symbol"==typeof e||o(e)&&s.call(e)==a}var o=n(99),a="[object Symbol]",i=Object.prototype,s=i.toString;e.exports=r},function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function a(e){return"topMouseDown"===e||"topTouchStart"===e}function i(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=g.getNodeFromInstance(r),t?v.invokeGuardedCallbackWithCatch(o,n,e):v.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)i(e,t,n[o],r[o]);else n&&i(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function u(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r]}else if(t&&t(e,n))return n;return null}function l(e){var t=u(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?h("103"):void 0,e.currentTarget=t?g.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function f(e){return!!e._dispatchListeners}var d,p,h=n(9),v=n(254),m=(n(4),n(10),{injectComponentTree:function(e){d=e},injectTreeTraversal:function(e){p=e}}),g={isEndish:r,isMoveish:o,isStartish:a,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:l,hasDispatches:f,getInstanceFromNode:function(e){return d.getInstanceFromNode(e)},getNodeFromInstance:function(e){return d.getNodeFromInstance(e)},isAncestor:function(e,t){return p.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return p.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return p.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return p.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return p.traverseEnterLeave(e,t,n,r,o)},injection:m};e.exports=g},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=p++,f[e[v]]={}),f[e[v]]}var o,a=n(23),i=n(250),s=n(989),u=n(256),l=n(1021),c=n(261),f={},d=!1,p=0,h={topAbort:"abort",topAnimationEnd:l("animationend")||"animationend",topAnimationIteration:l("animationiteration")||"animationiteration",topAnimationStart:l("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:l("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),m=a({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e}},setEnabled:function(e){m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!m.ReactEventListener||!m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),a=i.registrationNameDependencies[e],s=0;s<a.length;s++){var u=a[s];o.hasOwnProperty(u)&&o[u]||("topWheel"===u?c("wheel")?m.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):c("mousewheel")?m.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):m.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===u?c("scroll",!0)?m.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):m.ReactEventListener.trapBubbledEvent("topScroll","scroll",m.ReactEventListener.WINDOW_HANDLE):"topFocus"===u||"topBlur"===u?(c("focus",!0)?(m.ReactEventListener.trapCapturedEvent("topFocus","focus",n),m.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):c("focusin")&&(m.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),m.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):h.hasOwnProperty(u)&&m.ReactEventListener.trapBubbledEvent(u,h[u],n),o[u]=!0)}},trapBubbledEvent:function(e,t,n){return m.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return m.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=m.supportsEventPageXY()),!o&&!d){var e=u.refreshScrollValues;m.ReactEventListener.monitorScrollValue(e),d=!0}}});e.exports=m},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(106),a=n(256),i=n(259),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+a.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+a.currentScrollTop}};o.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";var r=n(9),o=(n(4),{}),a={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,a,i,s,u){this.isInTransaction()?r("27"):void 0;var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,n,o,a,i,s,u),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var a,i=t[n],s=this.wrapperInitData[n];try{a=!0,s!==o&&i.close&&i.close.call(this,s),a=!1}finally{if(a)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};e.exports=a},function(e,t){"use strict";function n(e){var t=""+e,n=o.exec(t);if(!n)return t;var r,a="",i=0,s=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}s!==i&&(a+=t.substring(s,i)),s=i+1,a+=r}return s!==i?a+t.substring(s,i):a}function r(e){return"boolean"==typeof e||"number"==typeof e?""+e:n(e)}var o=/["'&<>]/;e.exports=r},function(e,t,n){"use strict";var r,o=n(28),a=n(249),i=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,u=n(257),l=u(function(e,t){if(e.namespaceURI!==a.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(l=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}e.exports=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(68),l=r(u),c=n(43),f=r(c),d=n(2),p=r(d),h=n(3),v=r(h),m=function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(u))),r.state={match:r.computeMatch(r.props.history.location.pathname)},i=n,a(r,i)}return i(t,e),t.prototype.getChildContext=function(){return{router:s({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,r=t.history;(0,f.default)(null==n||1===p.default.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){(0,l.default)(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?p.default.Children.only(e):null},t}(p.default.Component);m.propTypes={history:v.default.object.isRequired,children:v.default.node},m.contextTypes={router:v.default.object},m.childContextTypes={router:v.default.object.isRequired},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(389),a=r(o),i={},s=1e4,u=0,l=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=i[n]||(i[n]={});if(r[e])return r[e];var o=[],l=(0,a.default)(e,o,t),c={re:l,keys:o};return u<s&&(r[e]=c,u++),c},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,o=r.path,a=r.exact,i=void 0!==a&&a,s=r.strict,u=void 0!==s&&s,c=r.sensitive,f=void 0!==c&&c;if(null==o)return n;var d=l(o,{end:i,strict:u,sensitive:f}),p=d.re,h=d.keys,v=p.exec(e);if(!v)return null;var m=v[0],g=v.slice(1),y=e===m;return i&&!y?null:{path:o,url:"/"===o&&""===m?"/":m,isExact:y,params:h.reduce(function(e,t,n){return e[t.name]=g[n],e},{})}};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(447),a=r(o),i=n(1132),s=r(i),u=n(1131),l=r(u),c=n(1130),f=r(c),d=n(446),p=r(d),h=n(448);r(h);t.createStore=a.default,t.combineReducers=s.default,t.bindActionCreators=l.default,t.applyMiddleware=f.default,t.compose=p.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var o=void 0,a=t?e:e.name;b(e,t).then(function(e){var t=void 0,n=x(a,e),r=i(n,2);return o=r[0],(t=r[1])(e)}).then(function(e){return w(n,r,e,o,a)}).then(function(){n({type:"decreaseSpinner"})}).catch(function(e){n((0,c.notificationNew)("Input error. File: "+a,e.toString()))})}}function a(){return{type:"clearAllData"}}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.incomingFile=o,t.clearAllData=a;var u=n(126),l=r(u),c=n(110),f=n(475),d=n(278),p=n(177),h=n(477),v=n(476),m=n(474),g=function(e){return new Promise(function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4===r.readyState&&(200===r.status?t(r.responseText):n("AJAX failed for url "+e+" (status "+r.status+")"))},r.send()})},y=function(e){return new Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(t){n("File "+e.name+" could not be read! Code "+t.target.error.code)},r.readAsText(e)})},b=function(e,t){return t?g(e):y(e)},x=function(e,t){var n=e.split(".").slice(-1)[0].toLowerCase(),r=void 0,o=void 0;switch(n){case"nex":case"nexus":case"newick":case"new":case"nwk":case"tree":case"tre":if(t.startsWith("#NEXUS"))throw new Error("Tree's can't be NEXUS format!");if(!t.startsWith("("))throw new Error("Tree is not in Newick format (must start with a '(')!");o="tree",r=function(e){return e};break;case"gff3":case"gff":r=f.gffParser,o="GUBBINS"===t.split("\n")[3].split("\t")[1]?"gubbins":"annotation";break;case"embl":throw new Error("EMBL files cannot be parsed -- you must convert to GFF3");case"csv":t.startsWith('"Gene","Non-unique Gene name"')||t.startsWith("Gene,Non-unique Gene name")?(o="roary",r=h.roaryParser):(o="meta",r=d.metaParser);break;case"gwas":case"plot":r=v.plotParser,o="gwas";break;case"txt":if(!t.startsWith("LIST OF FOREIGN GENOMIC SEGMENTS:"))throw new Error("Unknown file extension ("+n+")");r=m.bratNextGenParser,o="bratNextGen";break;default:throw new Error("Unknown file extension ("+n+")")}return[o,r]},w=function(e,t,n,r,o){var a={type:r+"Data",fileName:o};switch(r){case"annotation":e(s({},a,{data:[n[1],n[2]],genomeLength:n[0][1]}));break;case"gubbins":e(s({},a,{data:n[1],genomeLength:n[0][1]})),t().blocks.bratNextGen.length&&e({type:"showBlocks",name:"merged"}),e((0,p.updateLineGraphData)());break;case"bratNextGen":e(s({},a,{data:n[0],metadata:n[1],genomeLength:n[2]})),t().blocks.gubbins.length&&e({type:"showBlocks",name:"merged"}),e((0,p.updateLineGraphData)());break;case"meta":a=(0,l.default)(a,n),e(a);break;case"tree":e(s({},a,{data:n}));break;case"gwas":e(s({},a,{data:n}));break;case"roary":e(s({},a,{data:[n[0],n[1]],type:"annotationData"})),e(s({},a,{data:n[2],genomeLength:n[3]})),e((0,p.updateLineGraphData)());break;default:throw new Error("unexpected fallthrough in goDispatch()")}}},function(e,t){"use strict";function n(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t){var n=[t().blocks.dataType],r=!1;"merged"===n[0]?n=["gubbinsPerTaxa","bratNextGen"]:"roary"===n[0]&&(r=!0);var o={},a=!0,i=!1,s=void 0;try{for(var u,l=n[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;o[c]={},o[c].blocks=t().blocks[c],o[c].fileName=t().blocks.fileNames[c]}}catch(e){i=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw s}}e({type:"computeLineGraph",data:o,blocksArePerTaxa:n.length>1||t().blocks.blocksArePerTaxa,genomeLength:t().genomeInfo.genomeLength,taxa:Object.keys(t().phylogeny.activeTaxa),percent:r})}}function r(){return{type:"clearLineGraph"}}function o(e){return function(t,n){t({type:"computeSubLineGraph",blocks:n().blocks.blocks,genomeLength:n().genomeInfo.genomeLength,blocksArePerTaxa:n().blocks.blocksArePerTaxa,taxa:e})}}Object.defineProperty(t,"__esModule",{value:!0}),t.updateLineGraphData=n,t.clearLineGraph=r,t.computeSubLineGraph=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.InfoTip=void 0;var o=n(2),a=r(o),i=n(3),s=r(i),u=t.InfoTip=function(e){var t=e.x,n=e.y,r=e.disp,o={position:"absolute",zIndex:100,left:t,top:n,background:"black",color:"white",pointerEvents:"none"};return a.default.createElement("div",{style:o},Object.keys(r).map(function(e,t){return a.default.createElement("g",{key:t},e,": ",r[e],a.default.createElement("br",null))}))};u.propTypes={x:s.default.number,y:s.default.number,disp:s.default.object}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(284),a=r(o),i=n(492),s=r(i),u="function"==typeof s.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(a.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,n){n(562),e.exports=n(25).Object.assign},function(e,t,n){n(563);var r=n(25).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(567),e.exports=n(25).Object.keys},function(e,t,n){n(568),e.exports=n(25).Object.setPrototypeOf},function(e,t,n){n(570),n(569),n(571),n(572),e.exports=n(25).Symbol},function(e,t,n){n(200),n(300),e.exports=n(199).f("iterator")},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(538);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(69),o=n(554),a=n(189),i=n(194)("IE_PROTO"),s=function(){},u="prototype",l=function(){var e,t=n(288)("iframe"),r=a.length,o="<",i=">";for(t.style.display="none",n(544).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+i+"document.F=Object"+o+"/script"+i),e.close(),l=e.F;r--;)delete l[u][a[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[u]=r(e),n=new s,s[u]=null,n[i]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(57),o=n(25),a=n(87);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},function(e,t,n){var r=n(64).f,o=n(71),a=n(45)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(195)("keys"),o=n(133);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(25),o=n(63),a="__core-js_shared__",i=o[a]||(o[a]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(131)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(72);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(63),o=n(25),a=n(131),i=n(199),s=n(64).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t,n){t.f=n(45)},function(e,t,n){"use strict";var r=n(556)(!0);n(291)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(22),o=n(81),a=n(15);e.exports=function(e){for(var t=r(this),n=a(t.length),i=arguments.length,s=o(i>1?arguments[1]:void 0,n),u=i>2?arguments[2]:void 0,l=void 0===u?n:o(u,n);l>s;)t[s++]=e;return t}},function(e,t,n){var r=n(573);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){"use strict";var r=n(14),o=n(78);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(8),o=n(6).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(11)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(6).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(8),o=n(216).set;e.exports=function(e,t,n){var a,i=t.constructor;return i!==n&&"function"==typeof i&&(a=i.prototype)!==n.prototype&&r(a)&&o&&o(e,a),e}},function(e,t,n){var r=n(90),o=n(11)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},function(e,t,n){"use strict";var r=n(75),o=n(78),a=n(91),i={};n(30)(i,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},function(e,t,n){"use strict";var r=n(66),o=n(1),a=n(31),i=n(30),s=n(90),u=n(210),l=n(91),c=n(36),f=n(11)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",v="values",m=function(){return this};e.exports=function(e,t,n,g,y,b,x){u(n,t,g);var w,_,k,C=function(e){if(!d&&e in O)return O[e];switch(e){case h:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=y==v,P=!1,O=e.prototype,T=O[f]||O[p]||y&&O[y],M=T||C(y),A=y?E?C("entries"):M:void 0,j="Array"==t?O.entries||T:T;if(j&&(k=c(j.call(new e)),k!==Object.prototype&&k.next&&(l(k,S,!0),r||"function"==typeof k[f]||i(k,f,m))),E&&T&&T.name!==v&&(P=!0,M=function(){return T.call(this)}),r&&!x||!d&&!P&&O[f]||i(O,f,M),s[t]=M,s[S]=m,y)if(w={values:E?M:C(v),keys:b?M:C(h),entries:A},x)for(_ in w)_ in O||a(O,_,w[_]);else o(o.P+o.F*(d||P),t,w);return w}},function(e,t){var n=Math.expm1;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||n(-2e-17)!=-2e-17?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:Math.exp(e)-1}:n},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r=n(6),o=n(222).set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,s=r.Promise,u="process"==n(39)(i);e.exports=function(){var e,t,n,l=function(){var r,o;for(u&&(r=i.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(u)n=function(){i.nextTick(l)};else if(!a||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){o.call(r,l)};else{var f=!0,d=document.createTextNode("");new a(l).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(26);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(8),o=n(5),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(41)(Function.call,n(35).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(145)("keys"),o=n(82);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(49),o=n(47);e.exports=function(e){return function(t,n){var a,i,s=String(o(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u),a<55296||a>56319||u+1===l||(i=s.charCodeAt(u+1))<56320||i>57343?e?s.charAt(u):a:e?s.slice(u,u+2):(a-55296<<10)+(i-56320)+65536)}}},function(e,t,n){var r=n(139),o=n(47);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){"use strict";var r=n(49),o=n(47);e.exports=function(e){var t=String(o(this)),n="",a=r(e);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(t+=t))1&a&&(n+=t);return n}},function(e,t){e.exports="\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"},function(e,t,n){var r,o,a,i=n(41),s=n(311),u=n(207),l=n(204),c=n(6),f=c.process,d=c.setImmediate,p=c.clearImmediate,h=c.MessageChannel,v=c.Dispatch,m=0,g={},y="onreadystatechange",b=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},x=function(e){b.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},p=function(e){delete g[e]},"process"==n(39)(f)?r=function(e){f.nextTick(i(b,e,1))}:v&&v.now?r=function(e){v.now(i(b,e,1))}:h?(o=new h,a=o.port2,o.port1.onmessage=x,r=i(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",x,!1)):r=y in l("script")?function(e){u.appendChild(l("script"))[y]=function(){u.removeChild(this),b.call(e)}}:function(e){setTimeout(i(b,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){"use strict";function r(e,t,n){var r,o,a,i=new Array(n),s=8*n-t-1,u=(1<<s)-1,l=u>>1,c=23===t?U(2,-24)-U(2,-77):0,f=0,d=e<0||0===e&&1/e<0?1:0;for(e=W(e),e!=e||e===F?(o=e!=e?1:0,r=u):(r=z(G(e)/q),e*(a=U(2,-r))<1&&(r--,a*=2),e+=r+l>=1?c/a:c*U(2,1-l),e*a>=2&&(r++,a/=2),r+l>=u?(o=0,r=u):r+l>=1?(o=(e*a-1)*U(2,t),r+=l):(o=e*U(2,l-1)*U(2,t),r=0));t>=8;i[f++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;i[f++]=255&r,r/=256,s-=8);return i[--f]|=128*d,i}function o(e,t,n){var r,o=8*n-t-1,a=(1<<o)-1,i=a>>1,s=o-7,u=n-1,l=e[u--],c=127&l;for(l>>=7;s>0;c=256*c+e[u],u--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[u],u--,s-=8);if(0===c)c=1-i;else{if(c===a)return r?NaN:l?-F:F;r+=U(2,t),c-=i}return(l?-1:1)*r*U(2,c-t)}function a(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function i(e){return[255&e]}function s(e){return[255&e,e>>8&255]}function u(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function l(e){return r(e,52,8)}function c(e){return r(e,23,4)}function f(e,t,n){E(e[A],t,{get:function(){return this[n]}})}function d(e,t,n,r){var o=+n,a=C(o);if(a+t>e[X])throw L(R);var i=e[Y]._b,s=a+e[$],u=i.slice(s,s+t);return r?u:u.reverse()}function p(e,t,n,r,o,a){var i=+n,s=C(i);if(s+t>e[X])throw L(R);for(var u=e[Y]._b,l=s+e[$],c=r(+o),f=0;f<t;f++)u[l+f]=c[a?f:t-f-1]}var h=n(6),v=n(13),m=n(66),g=n(147),y=n(30),b=n(79),x=n(7),w=n(73),_=n(49),k=n(15),C=n(329),S=n(76).f,E=n(14).f,P=n(201),O=n(91),T="ArrayBuffer",M="DataView",A="prototype",j="Wrong length!",R="Wrong index!",N=h[T],I=h[M],D=h.Math,L=h.RangeError,F=h.Infinity,B=N,W=D.abs,U=D.pow,z=D.floor,G=D.log,q=D.LN2,H="buffer",V="byteLength",K="byteOffset",Y=v?"_b":H,X=v?"_l":V,$=v?"_o":K;if(g.ABV){if(!x(function(){N(1)})||!x(function(){new N(-1)})||x(function(){return new N,new N(1.5),new N(NaN),N.name!=T})){N=function(e){return w(this,N),new B(C(e))};for(var Z,Q=N[A]=B[A],J=S(B),ee=0;J.length>ee;)(Z=J[ee++])in N||y(N,Z,B[Z]);m||(Q.constructor=N)}var te=new I(new N(2)),ne=I[A].setInt8;te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||b(I[A],{setInt8:function(e,t){ne.call(this,e,t<<24>>24)},setUint8:function(e,t){ne.call(this,e,t<<24>>24)}},!0)}else N=function(e){w(this,N,T);var t=C(e);this._b=P.call(new Array(t),0),this[X]=t},I=function(e,t,n){w(this,I,M),w(e,N,M);var r=e[X],o=_(t);if(o<0||o>r)throw L("Wrong offset!");if(n=void 0===n?r-o:k(n),o+n>r)throw L(j);this[Y]=e,this[$]=o,this[X]=n},v&&(f(N,V,"_l"),f(I,H,"_b"),f(I,V,"_l"),f(I,K,"_o")),b(I[A],{getInt8:function(e){return d(this,1,e)[0]<<24>>24},getUint8:function(e){return d(this,1,e)[0]},getInt16:function(e){var t=d(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=d(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return a(d(this,4,e,arguments[1]))},getUint32:function(e){return a(d(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return o(d(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return o(d(this,8,e,arguments[1]),52,8);
  },setInt8:function(e,t){p(this,1,e,i,t)},setUint8:function(e,t){p(this,1,e,i,t)},setInt16:function(e,t){p(this,2,e,s,t,arguments[2])},setUint16:function(e,t){p(this,2,e,s,t,arguments[2])},setInt32:function(e,t){p(this,4,e,u,t,arguments[2])},setUint32:function(e,t){p(this,4,e,u,t,arguments[2])},setFloat32:function(e,t){p(this,4,e,c,t,arguments[2])},setFloat64:function(e,t){p(this,8,e,l,t,arguments[2])}});O(N,T),O(I,M),y(I[A],g.VIEW,!0),t[T]=N,t[M]=I},function(e,t,n){var r=n(6),o=n(40),a=n(66),i=n(330),s=n(14).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(120),o=n(11)("iterator"),a=n(90);e.exports=n(40).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[r(e)]}},function(e,t,n){"use strict";var r=n(65),o=n(314),a=n(90),i=n(37);e.exports=n(211)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t){"use strict";function n(e){return"string"==typeof e&&r.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=/-webkit-|-moz-|-ms-/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(151),a=r(o),i=function(){var e=null,t=function(t){return(0,a.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},n=function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):((0,a.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(i!==!1)}else o(!0)},r=[],o=function(e){var t=!0,n=function(){t&&e.apply(void 0,arguments)};return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}},i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.forEach(function(e){return e.apply(void 0,t)})};return{setPrompt:t,confirmTransitionTo:n,appendListener:o,notifyListeners:i}};t.default=i},function(e,t){"use strict";function n(e,t,f){if("string"!=typeof t){if(c){var d=l(t);d&&d!==c&&n(e,d,f)}var p=i(t);s&&(p=p.concat(s(t)));for(var h=0;h<p.length;++h){var v=p[h];if(!(r[v]||o[v]||f&&f[v])){var m=u(t,v);try{a(e,v,m)}catch(e){}}}return e}return e}var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a=Object.defineProperty,i=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,l=Object.getPrototypeOf,c=l&&l(Object);e.exports=n},function(e,t){"use strict";function n(e){return e.charAt(0).toUpperCase()+e.slice(1)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=n(875),a=n(876),i=n(877),s=n(878),u=n(879);r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=u,e.exports=r},function(e,t,n){var r=n(60),o=r.Symbol;e.exports=o},function(e,t,n){function r(e,t,n,s,u){return e===t||(null==e||null==t||!a(e)&&!i(t)?e!==e&&t!==t:o(e,t,r,n,s,u))}var o=n(831),a=n(52),i=n(99);e.exports=r},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=n(345);e.exports=r},function(e,t,n){function r(e,t,n,r){n||(n={});for(var a=-1,i=t.length;++a<i;){var s=t[a],u=r?r(n[s],e[s],s,n,e):e[s];o(n,s,u)}return n}var o=n(353);e.exports=r},function(e,t){function n(e){return r(Object(e))}var r=Object.getPrototypeOf;e.exports=n},function(e,t){function n(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||r;return e===n}var r=Object.prototype;e.exports=n},function(e,t,n){function r(e){return null!=e&&i(o(e))&&!a(e)}var o=n(862),a=n(163),i=n(164);e.exports=r},function(e,t,n){function r(e){return a(e)&&o(e.length)&&!!M[j.call(e)]}var o=n(164),a=n(99),i="[object Arguments]",s="[object Array]",u="[object Boolean]",l="[object Date]",c="[object Error]",f="[object Function]",d="[object Map]",p="[object Number]",h="[object Object]",v="[object RegExp]",m="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",x="[object DataView]",w="[object Float32Array]",_="[object Float64Array]",k="[object Int8Array]",C="[object Int16Array]",S="[object Int32Array]",E="[object Uint8Array]",P="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]",M={};M[w]=M[_]=M[k]=M[C]=M[S]=M[E]=M[P]=M[O]=M[T]=!0,M[i]=M[s]=M[b]=M[u]=M[x]=M[l]=M[c]=M[f]=M[d]=M[p]=M[h]=M[v]=M[m]=M[g]=M[y]=!1;var A=Object.prototype,j=A.toString;e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e)throw new TypeError(i);return t=s(void 0===t?e.length-1:a(t),0),function(){for(var n=arguments,r=-1,a=s(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,n[0],i);case 2:return e.call(this,n[0],n[1],i)}var u=Array(t+1);for(r=-1;++r<t;)u[r]=n[r];return u[t]=i,o(e,this,u)}}var o=n(821),a=n(896),i="Expected a function",s=Math.max;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(906),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(912),a=r(o);t.default=a.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(16),a=r(o),i=n(12),s=r(i),u=n(17),l=r(u),c=n(19),f=r(c),d=n(18),p=r(d),h=n(24),v=r(h),m=n(2),g=r(m),y=n(3),b=r(y),x=n(53),w=r(x),_=n(275),k=r(_),C=n(245),S=r(C),E=n(33),P=r(E),O=n(922),T=r(O),M=750,A=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,u=Array(i),l=0;l<i;l++)u[l]=arguments[l];return n=r=(0,f.default)(this,(e=t.__proto__||(0,a.default)(t)).call.apply(e,[this].concat(u))),r.pulsate=function(){var e=w.default.findDOMNode(r.refs.innerCircle);if(e){var t="scale(1)",n="scale(0.85)",o=e.style.transform||t,a=o===t?n:t;S.default.set(e.style,"transform",a),r.timeout=setTimeout(r.pulsate,M)}},o=n,(0,f.default)(r,o)}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.show&&(this.setRippleSize(),this.pulsate())}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,k.default)(this.props,e)||!(0,k.default)(this.state,t)}},{key:"componentDidUpdate",value:function(){this.props.show?(this.setRippleSize(),this.pulsate()):this.timeout&&clearTimeout(this.timeout)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"getRippleElement",value:function(e){var t=e.color,n=e.innerStyle,r=e.opacity,o=this.context.muiTheme,a=o.prepareStyles,i=o.ripple,s=(0,v.default)({position:"absolute",height:"100%",width:"100%",borderRadius:"50%",opacity:r?r:.16,backgroundColor:t||i.color,transition:P.default.easeOut(M+"ms","transform",null,P.default.easeInOutFunction)},n);return g.default.createElement("div",{ref:"innerCircle",style:a((0,v.default)({},s))})}},{key:"setRippleSize",value:function(){var e=w.default.findDOMNode(this.refs.innerCircle),t=e.offsetHeight,n=e.offsetWidth,r=Math.max(t,n),o=0;e.style.top.indexOf("px",e.style.top.length-2)!==-1&&(o=parseInt(e.style.top)),e.style.height=r+"px",e.style.top=t/2-r/2+o+"px"}},{key:"render",value:function(){var e=this.props,t=e.show,n=e.style,r=(0,v.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0},n),o=t?this.getRippleElement(this.props):null;return g.default.createElement(T.default,{maxScale:.85,style:r},o)}}]),t}(m.Component);A.contextTypes={muiTheme:b.default.object.isRequired},A.propTypes={},t.default=A},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.red50="#ffebee",t.red100="#ffcdd2",t.red200="#ef9a9a",t.red300="#e57373",t.red400="#ef5350",t.red500="#f44336",t.red600="#e53935",t.red700="#d32f2f",t.red800="#c62828",t.red900="#b71c1c",t.redA100="#ff8a80",t.redA200="#ff5252",t.redA400="#ff1744",t.redA700="#d50000",t.pink50="#fce4ec",t.pink100="#f8bbd0",t.pink200="#f48fb1",t.pink300="#f06292",t.pink400="#ec407a",t.pink500="#e91e63",t.pink600="#d81b60",t.pink700="#c2185b",t.pink800="#ad1457",t.pink900="#880e4f",t.pinkA100="#ff80ab",t.pinkA200="#ff4081",t.pinkA400="#f50057",t.pinkA700="#c51162",t.purple50="#f3e5f5",t.purple100="#e1bee7",t.purple200="#ce93d8",t.purple300="#ba68c8",t.purple400="#ab47bc",t.purple500="#9c27b0",t.purple600="#8e24aa",t.purple700="#7b1fa2",t.purple800="#6a1b9a",t.purple900="#4a148c",t.purpleA100="#ea80fc",t.purpleA200="#e040fb",t.purpleA400="#d500f9",t.purpleA700="#aa00ff",t.deepPurple50="#ede7f6",t.deepPurple100="#d1c4e9",t.deepPurple200="#b39ddb",t.deepPurple300="#9575cd",t.deepPurple400="#7e57c2",t.deepPurple500="#673ab7",t.deepPurple600="#5e35b1",t.deepPurple700="#512da8",t.deepPurple800="#4527a0",t.deepPurple900="#311b92",t.deepPurpleA100="#b388ff",t.deepPurpleA200="#7c4dff",t.deepPurpleA400="#651fff",t.deepPurpleA700="#6200ea",t.indigo50="#e8eaf6",t.indigo100="#c5cae9",t.indigo200="#9fa8da",t.indigo300="#7986cb",t.indigo400="#5c6bc0",t.indigo500="#3f51b5",t.indigo600="#3949ab",t.indigo700="#303f9f",t.indigo800="#283593",t.indigo900="#1a237e",t.indigoA100="#8c9eff",t.indigoA200="#536dfe",t.indigoA400="#3d5afe",t.indigoA700="#304ffe",t.blue50="#e3f2fd",t.blue100="#bbdefb",t.blue200="#90caf9",t.blue300="#64b5f6",t.blue400="#42a5f5",t.blue500="#2196f3",t.blue600="#1e88e5",t.blue700="#1976d2",t.blue800="#1565c0",t.blue900="#0d47a1",t.blueA100="#82b1ff",t.blueA200="#448aff",t.blueA400="#2979ff",t.blueA700="#2962ff",t.lightBlue50="#e1f5fe",t.lightBlue100="#b3e5fc",t.lightBlue200="#81d4fa",t.lightBlue300="#4fc3f7",t.lightBlue400="#29b6f6",t.lightBlue500="#03a9f4",t.lightBlue600="#039be5",t.lightBlue700="#0288d1",t.lightBlue800="#0277bd",t.lightBlue900="#01579b",t.lightBlueA100="#80d8ff",t.lightBlueA200="#40c4ff",t.lightBlueA400="#00b0ff",t.lightBlueA700="#0091ea",t.cyan50="#e0f7fa",t.cyan100="#b2ebf2",t.cyan200="#80deea",t.cyan300="#4dd0e1",t.cyan400="#26c6da",t.cyan500="#00bcd4",t.cyan600="#00acc1",t.cyan700="#0097a7",t.cyan800="#00838f",t.cyan900="#006064",t.cyanA100="#84ffff",t.cyanA200="#18ffff",t.cyanA400="#00e5ff",t.cyanA700="#00b8d4",t.teal50="#e0f2f1",t.teal100="#b2dfdb",t.teal200="#80cbc4",t.teal300="#4db6ac",t.teal400="#26a69a",t.teal500="#009688",t.teal600="#00897b",t.teal700="#00796b",t.teal800="#00695c",t.teal900="#004d40",t.tealA100="#a7ffeb",t.tealA200="#64ffda",t.tealA400="#1de9b6",t.tealA700="#00bfa5",t.green50="#e8f5e9",t.green100="#c8e6c9",t.green200="#a5d6a7",t.green300="#81c784",t.green400="#66bb6a",t.green500="#4caf50",t.green600="#43a047",t.green700="#388e3c",t.green800="#2e7d32",t.green900="#1b5e20",t.greenA100="#b9f6ca",t.greenA200="#69f0ae",t.greenA400="#00e676",t.greenA700="#00c853",t.lightGreen50="#f1f8e9",t.lightGreen100="#dcedc8",t.lightGreen200="#c5e1a5",t.lightGreen300="#aed581",t.lightGreen400="#9ccc65",t.lightGreen500="#8bc34a",t.lightGreen600="#7cb342",t.lightGreen700="#689f38",t.lightGreen800="#558b2f",t.lightGreen900="#33691e",t.lightGreenA100="#ccff90",t.lightGreenA200="#b2ff59",t.lightGreenA400="#76ff03",t.lightGreenA700="#64dd17",t.lime50="#f9fbe7",t.lime100="#f0f4c3",t.lime200="#e6ee9c",t.lime300="#dce775",t.lime400="#d4e157",t.lime500="#cddc39",t.lime600="#c0ca33",t.lime700="#afb42b",t.lime800="#9e9d24",t.lime900="#827717",t.limeA100="#f4ff81",t.limeA200="#eeff41",t.limeA400="#c6ff00",t.limeA700="#aeea00",t.yellow50="#fffde7",t.yellow100="#fff9c4",t.yellow200="#fff59d",t.yellow300="#fff176",t.yellow400="#ffee58",t.yellow500="#ffeb3b",t.yellow600="#fdd835",t.yellow700="#fbc02d",t.yellow800="#f9a825",t.yellow900="#f57f17",t.yellowA100="#ffff8d",t.yellowA200="#ffff00",t.yellowA400="#ffea00",t.yellowA700="#ffd600",t.amber50="#fff8e1",t.amber100="#ffecb3",t.amber200="#ffe082",t.amber300="#ffd54f",t.amber400="#ffca28",t.amber500="#ffc107",t.amber600="#ffb300",t.amber700="#ffa000",t.amber800="#ff8f00",t.amber900="#ff6f00",t.amberA100="#ffe57f",t.amberA200="#ffd740",t.amberA400="#ffc400",t.amberA700="#ffab00",t.orange50="#fff3e0",t.orange100="#ffe0b2",t.orange200="#ffcc80",t.orange300="#ffb74d",t.orange400="#ffa726",t.orange500="#ff9800",t.orange600="#fb8c00",t.orange700="#f57c00",t.orange800="#ef6c00",t.orange900="#e65100",t.orangeA100="#ffd180",t.orangeA200="#ffab40",t.orangeA400="#ff9100",t.orangeA700="#ff6d00",t.deepOrange50="#fbe9e7",t.deepOrange100="#ffccbc",t.deepOrange200="#ffab91",t.deepOrange300="#ff8a65",t.deepOrange400="#ff7043",t.deepOrange500="#ff5722",t.deepOrange600="#f4511e",t.deepOrange700="#e64a19",t.deepOrange800="#d84315",t.deepOrange900="#bf360c",t.deepOrangeA100="#ff9e80",t.deepOrangeA200="#ff6e40",t.deepOrangeA400="#ff3d00",t.deepOrangeA700="#dd2c00",t.brown50="#efebe9",t.brown100="#d7ccc8",t.brown200="#bcaaa4",t.brown300="#a1887f",t.brown400="#8d6e63",t.brown500="#795548",t.brown600="#6d4c41",t.brown700="#5d4037",t.brown800="#4e342e",t.brown900="#3e2723",t.blueGrey50="#eceff1",t.blueGrey100="#cfd8dc",t.blueGrey200="#b0bec5",t.blueGrey300="#90a4ae",t.blueGrey400="#78909c",t.blueGrey500="#607d8b",t.blueGrey600="#546e7a",t.blueGrey700="#455a64",t.blueGrey800="#37474f",t.blueGrey900="#263238",t.grey50="#fafafa",t.grey100="#f5f5f5",t.grey200="#eeeeee",t.grey300="#e0e0e0",t.grey400="#bdbdbd",t.grey500="#9e9e9e",t.grey600="#757575",t.grey700="#616161",t.grey800="#424242",t.grey900="#212121",t.black="#000000",t.white="#ffffff",t.transparent="rgba(0, 0, 0, 0)",t.fullBlack="rgba(0, 0, 0, 1)",t.darkBlack="rgba(0, 0, 0, 0.87)",t.lightBlack="rgba(0, 0, 0, 0.54)",t.minBlack="rgba(0, 0, 0, 0.26)",t.faintBlack="rgba(0, 0, 0, 0.12)",t.fullWhite="rgba(255, 255, 255, 1)",t.darkWhite="rgba(255, 255, 255, 0.87)",t.lightWhite="rgba(255, 255, 255, 0.54)"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={set:function(e,t,n){e[t]=n}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return e<t?t:e>n?n:e}function a(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],o+=4===n.length?", "+e.values[3]+")":")"}function i(e){if(4===e.length){for(var t="#",n=1;n<e.length;n++)t+=e.charAt(n)+e.charAt(n);e=t}var r={r:parseInt(e.substr(1,2),16),g:parseInt(e.substr(3,2),16),b:parseInt(e.substr(5,2),16)};return"rgb("+r.r+", "+r.g+", "+r.b+")"}function s(e){if("#"===e.charAt(0))return s(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return r=r.map(function(e){return parseFloat(e)}),{type:n,values:r}}function u(e,t){var n=l(e),r=l(t),o=(Math.max(n,r)+.05)/(Math.min(n,r)+.05);return Number(o.toFixed(2))}function l(e){if(e=s(e),e.type.indexOf("rgb")>-1){var t=e.values.map(function(e){return e/=255,e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return l(e)>.5?d(e,t):p(e,t)}function f(e,t){return e=s(e),t=o(t,0,1),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,a(e)}function d(e,t){if(e=s(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return a(e)}function p(e,t){if(e=s(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return a(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=a,t.convertHexToRGB=i,t.decomposeColor=s,t.getContrastRatio=u,t.getLuminance=l,t.emphasize=c,t.fade=f,t.darken=d,t.lighten=p;var h=n(127);r(h)},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){v&&p&&(v=!1,p.length?h=p.concat(h):m=-1,h.length&&s())}function s(){if(!v){var e=o(i);v=!0;for(var t=h.length;t;){for(p=h,h=[];++m<t;)p&&p[m].run();m=-1,t=h.length}p=null,v=!1,a(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,f,d=e.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var p,h=[],v=!1,m=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new u(e,t)),1!==h.length||v||o(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){c.insertTreeBefore(e,t,n)}function a(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):v(e,t,n)}function i(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],u(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var a=o.nextSibling;if(v(e,o,r),o===n)break;o=a}}function u(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function l(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&v(r,document.createTextNode(n),o):n?(h(o,n),u(r,o,t)):u(r,e,t)}var c=n(101),f=n(965),d=(n(20),n(44),n(257)),p=n(172),h=n(411),v=d(function(e,t,n){e.insertBefore(t,n)}),m=f.dangerouslyReplaceNodeWithMarkup,g={dangerouslyReplaceNodeWithMarkup:m,replaceDelimitedText:l,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case"INSERT_MARKUP":o(e,s.content,r(e,s.afterNode));break;case"MOVE_EXISTING":a(e,s.fromNode,r(e,s.afterNode));break;case"SET_MARKUP":p(e,s.content);break;case"TEXT_CONTENT":h(e,s.content);break;case"REMOVE_NODE":i(e,s.fromNode)}}}};e.exports=g},function(e,t){"use strict";var n={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};e.exports=n},function(e,t,n){"use strict";function r(){if(s)for(var e in u){var t=u[e],n=s.indexOf(e);if(n>-1?void 0:i("96",e),!l.plugins[n]){t.extractEvents?void 0:i("97",e),l.plugins[n]=t;var r=t.eventTypes;for(var a in r)o(r[a],t,a)?void 0:i("98",a,e)}}}function o(e,t,n){l.eventNameDispatchConfigs.hasOwnProperty(n)?i("99",n):void 0,l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,t,n)}return!0}return!!e.registrationName&&(a(e.registrationName,t,n),!0)}function a(e,t,n){l.registrationNameModules[e]?i("100",e):void 0,l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=n(9),s=(n(4),null),u={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?i("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];u.hasOwnProperty(n)&&u[n]===o||(u[n]?i("102",n):void 0,u[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=l.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];l.plugins.length=0;var t=l.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=l.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};e.exports=l},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var o={escape:n,unescape:r};e.exports=o},function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function a(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=n(9),u=n(995),l=n(391),c=n(108),f=l(c.isValidElement),d=(n(4),n(10),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),p={value:function(e,t,n){return!e[t]||d[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:f.func},h={},v={checkPropTypes:function(e,t,n){for(var r in p){if(p.hasOwnProperty(r))var o=p[r](t,r,e,"prop",null,u);if(o instanceof Error&&!(o.message in h)){h[o.message]=!0;i(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(a(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(a(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=v},function(e,t,n){"use strict";var r=n(9),o=(n(4),!1),a={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o?r("104"):void 0,a.replaceNodeWithMarkup=e.replaceNodeWithMarkup,a.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=a},function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===o&&(o=e)}}var o=null,a={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};e.exports=a},function(e,t,n){"use strict";function r(e){u.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function a(e,t){var n=s.get(e);if(!n){return null}return n}var i=n(9),s=(n(62),n(128)),u=(n(44),n(54)),l=(n(4),n(10),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){l.validateCallback(t,n);var o=a(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=a(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t,n){var o=a(e,"replaceState");o&&(o._pendingStateQueue=[t],o._pendingReplaceState=!0,void 0!==n&&null!==n&&(l.validateCallback(n,"replaceState"),o._pendingCallbacks?o._pendingCallbacks.push(n):o._pendingCallbacks=[n]),r(o))},enqueueSetState:function(e,t){var n=a(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?i("122",t,o(e)):void 0}});e.exports=l},function(e,t){"use strict";var n={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){n.currentScrollLeft=e.x,n.currentScrollTop=e.y}};e.exports=n},function(e,t){"use strict";var n=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};e.exports=n},function(e,t){"use strict";function n(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}e.exports=n},function(e,t){"use strict";function n(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=o[e];return!!r&&!!n[r]}function r(e){return n}var o={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t){"use strict";function n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";/**
  	 * Checks if an event is supported in the current execution environment.
  	 *
  	 * NOTE: This will not work correctly for non-generic events such as `change`,
  	 * `reset`, `load`, `error`, and `select`.
  	 *
  	 * Borrows from Modernizr.
  	 *
  	 * @param {string} eventNameSuffix Event name, e.g. "click".
  	 * @param {?boolean} capture Check if the capture phase is supported.
  	 * @return {boolean} True if the event is supported.
  	 * @internal
  	 * @license Modernizr 3.0.0pre (Custom Build) | MIT
  	 */
  function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=n(28);a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t){"use strict";function n(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,a=typeof t;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}e.exports=n},function(e,t,n){"use strict";var r=(n(23),n(51)),o=(n(10),r);e.exports=o},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return(0,O.default)({},D,e)}function i(e,t,n){var r=[e,t];return r.push(I.passiveOption?n:n.capture),r}function s(e,t,n,r){I.addEventListener?e.addEventListener.apply(e,i(t,n,r)):I.attachEvent&&e.attachEvent("on"+t,function(){n.call(e)})}function u(e,t,n,r){I.removeEventListener?e.removeEventListener.apply(e,i(t,n,r)):I.detachEvent&&e.detachEvent("on"+t,n)}function l(e,t){var n=(e.children,e.target,(0,E.default)(e,["children","target"]));(0,C.default)(n).forEach(function(e){if("on"===e.substring(0,2)){var r=n[e],o="undefined"==typeof r?"undefined":(0,_.default)(r),i="object"===o,s="function"===o;if(i||s){var u="capture"===e.substr(-7).toLowerCase(),l=e.substring(2).toLowerCase();l=u?l.substring(0,l.length-7):l,i?t(l,r.handler,r.options):t(l,r,a({capture:u}))}}})}function c(e,t){return{handler:e,options:a(t)}}Object.defineProperty(t,"__esModule",{value:!0});var f=n(1028),d=o(f),p=n(1033),h=o(p),v=n(1034),m=o(v),g=n(1037),y=o(g),b=n(1035),x=o(b),w=n(265),_=o(w),k=n(1029),C=o(k),S=n(1036),E=o(S),P=n(1026),O=o(P);t.withOptions=c;var T=n(2),M=(o(T),n(3)),A=(o(M),n(123)),j=o(A),R=n(1038),N=(o(R),n(1025)),I=r(N),D={capture:!1,passive:!1},L=function(e){function t(){return(0,h.default)(this,t),(0,y.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,m.default)(t,[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"shouldComponentUpdate",value:function(e){return!(0,j.default)(this.props,e)}},{key:"componentWillUpdate",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"addListeners",value:function(){this.applyListeners(s)}},{key:"removeListeners",value:function(){this.applyListeners(u)}},{key:"applyListeners",value:function(e){var t=this.props.target;if(t){var n=t;"string"==typeof t&&(n=window[t]),l(this.props,e.bind(null,n))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(T.Component);t.default=L},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1032),a=r(o),i=n(1031),s=r(i),u="function"==typeof s.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(a.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.nodeType,a=e.data,i=e.collectionLimit,s=e.previousData,u=e.circularCache,l=e.keyPath,c=e.postprocessValue,f=e.allExpanded,d=[];return(0,S.default)(r,a,i,t,n).forEach(function(t){if(t.to)d.push(y.default.createElement(T.default,(0,m.default)({},e,{key:"ItemRange"+t.from+"-"+t.to,from:t.from,to:t.to,getChildNodes:o})));else{var n=t.key,r=t.value,a=void 0;"undefined"!=typeof s&&null!==s&&(a=s[n]);var p=u.indexOf(r)!==-1,h=(0,P.default)((0,m.default)({},e,{keyPath:[n].concat(l),previousData:a,value:c(r),postprocessValue:c,collectionLimit:i,circularCache:[].concat(u,[r]),initialExpanded:!1,allExpanded:!p&&f,hideRoot:!1}));h!==!1&&d.push(h)}}),d}t.__esModule=!0,t.default=void 0;var a,i,s,u,l=n(112),c=r(l),f=n(115),d=r(f),p=n(113),h=r(p),v=n(56),m=r(v),g=n(2),y=r(g),b=n(418),x=r(b),w=n(417),_=n(414),k=r(_),C=n(1044),S=r(C),E=n(415),P=r(E),O=n(1039),T=r(O),M=n(107),A=r(M),j={base:{position:"relative",paddingTop:3,paddingBottom:3,marginLeft:14},label:{margin:0,padding:0,display:"inline-block",cursor:"pointer"},span:{cursor:"default"},spanType:{marginLeft:5,marginRight:5}},R=(a=x.default.decorate(w.ExpandedStateHandlerMixin),a((u=s=function(e){function t(n){(0,c.default)(this,t);var r=(0,d.default)(this,e.call(this,n));return r.shouldComponentUpdate=A.default,r.state={expanded:r.props.initialExpanded||r.props.allExpanded,createdChildNodes:!1},r}return(0,h.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.getItemString,n=e.nodeTypeIndicator,r=e.nodeType,a=e.data,i=e.hideRoot,s=e.styles,u=e.createItemString,l=e.theme,c=e.collectionLimit,f=e.keyPath,d=e.labelRenderer,p=this.state.expanded,h={padding:0,margin:0,listStyle:"none",display:p?"block":"none"},v=(0,m.default)({},j.span,{color:l.base0B}),g=(0,m.default)({},j.base);p&&(v=(0,m.default)({},v,{color:l.base03}));var b=p?o(this.props):null,x=y.default.createElement("span",{style:j.spanType},n),w=t(r,a,x,u(a,c));return i?y.default.createElement("div",null,b):y.default.createElement("li",{style:g},y.default.createElement(k.default,{theme:l,open:p,onClick:this.handleClick.bind(this),style:s.getArrowStyle(p)}),y.default.createElement("label",{style:(0,m.default)({},j.label,{color:l.base0D},s.getLabelStyle(r,p)),onClick:this.handleClick.bind(this)},d.apply(void 0,f),":"),y.default.createElement("span",{style:(0,m.default)({},v,s.getItemStringStyle(r,p)),onClick:this.handleClick.bind(this)},w),y.default.createElement("ul",{style:(0,m.default)({},h,s.getListStyle(r,p))},b))},t}(y.default.Component),s.defaultProps={data:[],initialExpanded:!1,allExpanded:!1,circularCache:[]},i=u))||i);t.default=R},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error;try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(173),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.withRouter=t.matchPath=t.generatePath=t.Switch=t.StaticRouter=t.Router=t.Route=t.Redirect=t.Prompt=t.NavLink=t.MemoryRouter=t.Link=t.HashRouter=t.BrowserRouter=void 0;var o=n(1070),a=r(o),i=n(1071),s=r(i),u=n(424),l=r(u),c=n(1072),f=r(c),d=n(1073),p=r(d),h=n(1074),v=r(h),m=n(1075),g=r(m),y=n(425),b=r(y),x=n(268),w=r(x),_=n(1076),k=r(_),C=n(1077),S=r(C),E=n(1078),P=r(E),O=n(1079),T=r(O),M=n(1080),A=r(M);t.BrowserRouter=a.default,t.HashRouter=s.default,t.Link=l.default,t.MemoryRouter=f.default,t.NavLink=p.default,t.Prompt=v.default,t.Redirect=g.default,t.Route=b.default,t.Router=w.default,t.StaticRouter=k.default,t.Switch=S.default,t.generatePath=P.default,t.matchPath=T.default,t.withRouter=A.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(68),l=r(u),c=n(43),f=r(c),d=n(2),p=r(d),h=n(3),v=r(h),m=n(174),g=r(m),y=function(e){return 0===p.default.Children.count(e)},b=function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(u))),r.state={match:r.computeMatch(r.props,r.context.router)},i=n,a(r,i)}return i(t,e),t.prototype.getChildContext=function(){return{router:s({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,o=e.path,a=e.strict,i=e.exact,s=e.sensitive;if(n)return n;(0,f.default)(t,"You should not use <Route> or withRouter() outside a <Router>");var u=t.route,l=(r||u.location).pathname;return(0,g.default)(l,{path:o,strict:a,exact:i,sensitive:s},u.match)},t.prototype.componentWillMount=function(){(0,l.default)(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),(0,l.default)(!(this.props.component&&this.props.children&&!y(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),(0,l.default)(!(this.props.render&&this.props.children&&!y(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){(0,l.default)(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),(0,l.default)(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function e(){var t=this.state.match,n=this.props,r=n.children,o=n.component,e=n.render,a=this.context.router,i=a.history,s=a.route,u=a.staticContext,l=this.props.location||s.location,c={match:t,location:l,history:i,staticContext:u};return o?t?p.default.createElement(o,c):null:e?t?e(c):null:"function"==typeof r?r(c):r&&!y(r)?p.default.Children.only(r):null},t}(p.default.Component);b.propTypes={computedMatch:v.default.object,path:v.default.string,exact:v.default.bool,strict:v.default.bool,sensitive:v.default.bool,component:v.default.func,render:v.default.func,children:v.default.oneOfType([v.default.func,v.default.node]),location:v.default.object},b.contextTypes={router:v.default.shape({history:v.default.object.isRequired,route:v.default.object.isRequired,staticContext:v.default.object})},b.childContextTypes={router:v.default.object.isRequired},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(389),a=r(o),i={},s=1e4,u=0,l=function(e){var t=e,n=i[t]||(i[t]={});if(n[e])return n[e];var r=a.default.compile(e);return u<s&&(n[e]=r,u++),r},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===e)return e;var n=l(e);return n(t,{pretty:!0})};t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(532),l=r(u),c=n(2),f=r(c),d=n(3),p=r(d),h=n(1086),v=(r(h),n(1087)),m=({component:p.default.any,childFactory:p.default.func,children:p.default.node},{component:"span",childFactory:function(e){return e}}),g=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r));return i.performAppear=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(i._handleDoneAppearing.bind(i,e,t)):i._handleDoneAppearing(e,t)},i._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete i.currentlyTransitioningKeys[e];var n=(0,v.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performEnter=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(i._handleDoneEntering.bind(i,e,t)):i._handleDoneEntering(e,t)},i._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete i.currentlyTransitioningKeys[e];var n=(0,v.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performLeave=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(i._handleDoneLeaving.bind(i,e,t)):i._handleDoneLeaving(e,t)},i._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete i.currentlyTransitioningKeys[e];var n=(0,v.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)?i.keysToEnter.push(e):i.setState(function(t){var n=s({},t.children);return delete n[e],{children:n}})},i.childRefs=Object.create(null),i.state={children:(0,v.getChildMapping)(n.children)},i}return i(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,v.getChildMapping)(e.children),n=this.state.children;this.setState({children:(0,v.mergeChildMappings)(n,t)});for(var r in t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var a in n){var i=t&&t.hasOwnProperty(a);!n[a]||i||this.currentlyTransitioningKeys[a]||this.keysToLeave.push(a)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach(function(t){return e.performEnter(t,e.childRefs[t])});var n=this.keysToLeave;this.keysToLeave=[],n.forEach(function(t){return e.performLeave(t,e.childRefs[t])})},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var o="string"!=typeof r.ref,a=e.props.childFactory(r),i=function(t){e.childRefs[n]=t};a===r&&o&&(i=(0,l.default)(r.ref,i)),t.push(f.default.cloneElement(a,{key:n,ref:i}))}};for(var r in this.state.children)n(r);var o=s({},this.props);return delete o.transitionLeave,delete o.transitionName,delete o.transitionAppear,delete o.transitionEnter,delete o.childFactory,delete o.transitionLeaveTimeout,delete o.transitionEnterTimeout,delete o.transitionAppearTimeout,delete o.component,f.default.createElement(this.props.component,o,t)},t}(f.default.Component);g.displayName="TransitionGroup",g.propTypes={},g.defaultProps=m,t.default=g,e.exports=t.default},function(e,t){/*
  	object-assign
  	(c) Sindre Sorhus
  	@license MIT
  	*/
  "use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)a.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var f=0;f<s.length;f++)i.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1106),a=r(o),i=n(275),s=r(i),u=n(437),l=(r(u),n(438)),c=(r(l),function(e){var t=(0,a.default)(function(e,t){return!(0,s.default)(e,t)});return t(e)});t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(123),a=r(o);t.default=a.default},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){var r=t.suffix,u=void 0===r?"":r,l=t.yMaxValue,c=void 0===l?"100":l,f=t.numTicks,d=void 0===f?4:f,p=t.dottedLines,h=void 0!==p&&p,v=t.pdfoutput,m=void 0!==v&&v,g=this.canvas.getContext("2d");if(m&&(g=window.svgCtx),a(e,g,m),c){if(h){var y=!0,b=!1,x=void 0;try{for(var w,_=h[Symbol.iterator]();!(y=(w=_.next()).done);y=!0){var k=w.value;s(e,g,o(e,k,c),m)}}catch(e){b=!0,x=e}finally{try{!y&&_.return&&_.return()}finally{if(b)throw x}}}var C=Math.ceil(parseFloat(c/d,10)),S=[].concat(n(Array(d))).map(function(e,t){return(t+1)*C}),E=o(e,S,c);i(g,E,m),g.save(),g.fillStyle="black",g.textBaseline="middle",g.textAlign="left",g.font="12px Helvetica";for(var P=0;P<d;++P){var O=P+1===d?5:0;g.fillText(S[P]+u,5,E[P]+O)}g.restore()}}function o(e,t,n){function r(t){return parseInt(e.height*(1-t/n),10)}var o=void 0;return o=t instanceof Array?t.map(function(e){return r(e)}):r(t)}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.save(),n||t.beginPath(),t.moveTo(e.width,e.height),t.lineTo(0,e.height),t.lineTo(0,0),t.stroke(),t.restore()}function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5;n||e.beginPath(),e.moveTo(0,0);for(var o=0;o<t.length;o++)e.lineTo(0,t[o]),e.lineTo(r,t[o]),e.lineTo(0,t[o]);e.stroke()}function s(e,t,n){var r=(arguments.length>3&&void 0!==arguments[3]&&arguments[3],arguments.length>4&&void 0!==arguments[4]?arguments[4]:"red"),o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[5,10];t.save(),t.strokeStyle=r,t.setLineDash(o),t.beginPath(),t.moveTo(0,n),t.lineTo(e.width,n),t.stroke(),t.restore()}Object.defineProperty(t,"__esModule",{value:!0}),t.drawGraphAxis=r},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),a=r(o),i=n(442),s=n(1117),u=r(s),l=n(1109),c=r(l),f=(0,i.createDevTools)(a.default.createElement(c.default,{toggleVisibilityKey:"ctrl-g",changePositionKey:"ctrl-q",defaultIsVisible:!1},a.default.createElement(u.default,{theme:"tomorrow"})));t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e){for(var t=v.default.parse(e),n=f(t.data[0]),r=p(n,4),a=r[0],s=r[1],h=r[2],m=r[3],g=a.length,y=Array.apply(void 0,o(Array(g))).map(function(){return!0}),b=c(t.data.slice(1),s),x=0;x<g;x++)void 0===h[x].type&&(h[x].type=l(new Set(b[s[x]])));for(var w=[],_=[],k=0;k<g;k++)h[k].inGroup||(_[k]=u(b[s[k]],h[k].type),"userColours"===h[k].type?w[k]=d(t.data,_[k],s[k],h[k].userColour):w[k]=i(h[k].type,_[k]));var C=!0,S=!1,E=void 0;try{for(var P,O=function(){var e=P.value,t=new Set,n=!0,r=!1,o=void 0;try{for(var a,s=m[e].indexes[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;b[l].forEach(function(e){t.add(e)})}}catch(e){r=!0,o=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw o}}var c=m[e].type;m[e].values=u(t,c),m[e].colours=i(c,m[e].values)},T=Object.keys(m)[Symbol.iterator]();!(C=(P=T.next()).done);C=!0)O()}catch(e){S=!0,E=e}finally{try{!C&&T.return&&T.return()}finally{if(S)throw E}}var M={},A=!0,j=!1,R=void 0;try{for(var N,I=t.data.slice(1)[Symbol.iterator]();!(A=(N=I.next()).done);A=!0){var D=N.value,L=D[0];M[L]=[];for(var F=0;F<g;F++){var B=D[s[F]];h[F].inGroup?M[L][F]=m[h[F].groupId].values.indexOf(B):M[L][F]=_[F].indexOf(B),M[L][F]===-1&&(M[L][F]=void 0)}}}catch(e){j=!0,R=e}finally{try{!A&&I.return&&I.return()}finally{if(j)throw R}}return{data:M,values:_,colours:w,headerNames:a,info:h,toggles:y,groups:m}}function i(e,t){var n=s(e,t);return"continuous"===e?Array.apply(void 0,o(Array(t.length))).map(function(e,r){return n(t[r]).hex()}):Array.apply(void 0,o(Array(t.length))).map(function(e,t){return n(t).hex()})}function s(e,t){switch(e){case"binary":return g.default.scale(["purple","orange"]).mode("hsl").domain([0,1]);case"ordinal":return g.default.scale("Spectral").mode("hcl").domain([t.length,0]);case"continuous":var n=t.map(parseFloat).filter(function(e){return!isNaN(e)});return g.default.scale(["navy","orange"]).mode("lch").domain([Math.min.apply(null,n),Math.max.apply(null,n)]);default:throw new Error("getScale fallthrough")}}function u(e,t){var n=void 0;return n="string"===t?Array.from(e).sort(function(e,t){return e.toLowerCase().localeCompare(t.toLowerCase())}):Array.from(e).sort(function(e,t){return e-t})}function l(e){var t=Array.from(e);return t.length<=2?"binary":t.every(function(e){return!isNaN(parseFloat(e))})?"continuous":"ordinal"}function c(e){for(var t=[void 0],n=e[0].length,r=1;r<n;r++){var o=new Set,a=!0,i=!1,s=void 0;try{for(var u,l=e[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;o.add(c[r])}}catch(e){i=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw s}}o.delete("unknown"),o.delete("Unknown"),o.delete(void 0),o.delete(""),t.push(o)}if(n!==t.length)throw new Error("rawValues length != numColsInData");return t}function f(e){for(var t=[],n=[],r=[],o={},a=1;a<e.length;a++){var i=e[a],s=!1,u=void 0,l=!1,c=!0;if(i.indexOf(":")>-1){var f=i.split(":")[1].toLowerCase();if(i=i.split(":")[0],"colour"===f||"color"===f){c=!1;var d=t.indexOf(i);d>-1&&(r[d].userColour=a,r[d].type="userColours",r[d].inGroup=!1,r[d].groupId=!1)}else"o"===f.slice(0,1)?u="ordinal":"c"===f.slice(0,1)&&(u="continuous");u&&f.length>1&&(s=!0,l=f,o[l]||(o[l]={indexes:[],type:u}),o[l].indexes.push(a))}c&&(t.push(i),n.push(a),r.push({userColour:!1,type:u,inGroup:s,groupId:l}))}return[t,n,r,o]}function d(e,t,n,r){var o=[],a=[],i=!0,s=!1,u=void 0;try{for(var l,c=e[Symbol.iterator]();!(i=(l=c.next()).done);i=!0){var f=l.value;o.push(f[n]),a.push(f[r])}}catch(e){s=!0,u=e}finally{try{!i&&c.return&&c.return()}finally{if(s)throw u}}var d=[],p=!0,h=!1,v=void 0;try{for(var m,g=t[Symbol.iterator]();!(p=(m=g.next()).done);p=!0){var y=m.value,b=a[o.indexOf(y)];7===b.length?"#"!==b.slice(0,1)&&(b="#000000"):b=6===b.length?"#"+b:"#000000",d.push(b)}}catch(e){h=!0,v=e}finally{try{!p&&g.return&&g.return()}finally{if(h)throw v}}return d}Object.defineProperty(t,"__esModule",{value:!0});var p=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.metaParser=a,t.getColourScale=s;var h=n(388),v=r(h),m=n(285),g=r(m)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments[1],n=void 0;switch(t.type){case"clearAllData":var r=v;return r.active.plots={},r;case"clearMetadata":return n=(0,c.default)({},e),n.active.meta=!1,n.colPercs=u(n.colPercs,1),n;case"clearAnnotationData":return n=(0,c.default)({},e),n.active.annotation=!1,n.rowPercs=u(n.rowPercs,0),n;case"clearBlockData":return n=(0,c.default)({},e),n.active.blocks=!1,n;case"clearPlotData":return n=(0,c.default)({},e),n.active.plots={},n.rowPercs=u(n.rowPercs,2),n;case"clearTree":return n=(0,c.default)({},e),n.active.tree=!1,n.active.meta=!1,n.colPercs=u(n.colPercs,0),n.colPercs=u(n.colPercs,1),n.rowPercs=u(n.rowPercs,1),n;case"annotationData":return n=(0,c.default)({},e),n.active.annotation=!0,n.colPercs=n.active.meta?p.three:p.noMeta,n;case"roaryData":case"gubbinsData":return n=(0,c.default)({},e),n.active.blocks=!0,n.colPercs=n.active.meta?p.three:p.noMeta,n;case"computeLineGraph":return n=(0,c.default)({},e),n.active.plots.line=!0,n.rowPercs[2]<d.rowPercs[2]&&(n.rowPercs=s(n.rowPercs,d.rowPercs[2],2)),n;case"gwasData":return n=(0,c.default)({},e),n.active.plots.gwas=!0,n.active.tree?n.rowPercs[2]<d.rowPercs[2]&&(n.rowPercs=s(n.rowPercs,d.rowPercs[2],2)):n.rowPercs=h.noTree,n;case"treeData":return n=(0,c.default)({},e),n.active.tree=!0,n.colPercs[0]||(n.colPercs=n.active.meta?p.three:p.noMeta),n.rowPercs[1]||(n.rowPercs=h.three),n;case"bratNextGenData":return n=(0,c.default)({},e),n.active.meta=!0,n.active.blocks=!0,n.colPercs=p.three,n;case"metaData":return n=(0,c.default)({},e),n.active.meta=!0,n.rowPercs[0]<d.rowPercs[0]&&(n.rowPercs=s(n.rowPercs,d.rowPercs[0],0)),n.rowPercs[1]<d.rowPercs[1]&&(n.rowPercs=s(n.rowPercs,d.rowPercs[1],1)),n.colPercs[2]?n.colPercs[1]<d.colPercs[1]&&(n.colPercs=s(n.colPercs,d.colPercs[1],1)):(n.colPercs[0]=30,n.colPercs[1]=100-n.colPercs[0]),n;case"layoutRowPercentChange":return n=(0,c.default)({},e),n.rowPercs=s(n.rowPercs,t.perc,t.idx),n;case"layoutColPercentChange":return n=(0,c.default)({},e),n.colPercs=s(n.colPercs,t.perc,t.idx),n;case"turnOffCanvas":return n=(0,c.default)({},e),n.active[t.name]=!1,n.active.meta||(n.active.metaKey=!1),n;case"turnOnCanvas":return n=(0,c.default)({},e),n.active[t.name]=!0,n;case"toggleAllMetaColumns":if(n=(0,c.default)({},e),n.active.meta=t.newBool,t.newBool){var o=p.noBlocks[1];(n.active.blocks||n.active.annotation)&&(o=p.three[1]),n.colPercs=s(n.colPercs,o,1)}else n.colPercs=s(n.colPercs,0,1);return n;case"toggleMetadataColumn":if(e.active.meta)return e;n=(0,c.default)({},e),n.active.meta=!0;var a=p.noBlocks[1];return(n.active.blocks||n.active.annotation)&&(a=p.three[1]),n.colPercs=s(n.colPercs,a,1),n;case"toggleMetaKey":return n=(0,c.default)({},e),e.active.meta&&(n.active.metaKey=!e.active.metaKey,n.active.metaKey&&!n.colPercs[2]?n.colPercs=p.noBlocksButKey:n.active.metaKey||n.active.annotation||(n.colPercs=p.noBlocks)),n;case"toggleLogo":return n=(0,c.default)({},e),n.logoIsOn=!n.logoIsOn,n;default:return e}}function i(e,t){return e+t}function s(e,t,n){var r=parseInt(t,10);if(r===e[n])return e;var a=[].concat(o(e));a[n]=r,a[n]<0&&(a[n]=0);var s=a[n]-e[n];return n===e.length-1?a[n-1]-=s:0===n?a[1]?a[1]-=s:a[2]-=s:a[n+1]-=s,a.some(function(e){return e<0})?e:a.reduce(i,0)>100?e:a}function u(e,t){if(0===e[t])return e;var n=[].concat(o(e));n[t]=0;for(var r=n.reduce(i,0),a=0;a<n.length;a++)n[a]=parseInt(n[a]/r*100,10);var s=n.reduce(i,0)-100;if(s)for(var u=n.length-1;u>-1;u--)if(n[u]){n[u]-=s;break}return n.some(function(e){return e<0})?e:n.reduce(i,0)>100?e:n}Object.defineProperty(t,"__esModule",{value:!0}),t.layout=a,t.changePercs=s,t.removeElement=u;var l=n(126),c=r(l),f={colPercs:[100,0,0],rowPercs:[15,77.5,7.5]},d={colPercs:[20,15,65],rowPercs:[15,70,15]},p={three:[20,15,65],noMeta:[25,0,75],noBlocks:[30,70,0],noBlocksButKey:[30,30,40]},h={three:[15,70,15],noGraph:[15,78,7],noTree:[20,0,80]},v={active:{blocks:!1,tree:!1,smallGenome:!1,meta:!1,annotation:!1,metaKey:!1,plots:{}},colPercs:f.colPercs,rowPercs:f.rowPercs,logoIsOn:!0}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="1.3.0";t.default=n},function(e,t,n){(function(e){"use strict";function t(e,t,n){e[t]||Object[r](e,t,{writable:!0,configurable:!0,value:n})}if(n(771),n(486),n(533),e._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");e._babelPolyfill=!0;var r="defineProperty";t(String.prototype,"padLeft","".padStart),t(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach(function(e){[][e]&&t(Array,e,Function.call.bind([][e]))})}).call(t,function(){return this}())},function(e,t,n){e.exports={default:n(535),__esModule:!0}},function(e,t,n){e.exports={default:n(537),__esModule:!0}},function(e,t,n){e.exports={default:n(185),__esModule:!0}},function(e,t,n){var r,o;(function(e){/**
  	 * @license
  	 *
  	 * chroma.js - JavaScript library for color conversions
  	 * 
  	 * Copyright (c) 2011-2015, Gregor Aisch
  	 * All rights reserved.
  	 * 
  	 * Redistribution and use in source and binary forms, with or without
  	 * modification, are permitted provided that the following conditions are met:
  	 * 
  	 * 1. Redistributions of source code must retain the above copyright notice, this
  	 *    list of conditions and the following disclaimer.
  	 * 
  	 * 2. Redistributions in binary form must reproduce the above copyright notice,
  	 *    this list of conditions and the following disclaimer in the documentation
  	 *    and/or other materials provided with the distribution.
  	 * 
  	 * 3. The name Gregor Aisch may not be used to endorse or promote products
  	 *    derived from this software without specific prior written permission.
  	 * 
  	 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  	 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  	 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  	 * DISCLAIMED. IN NO EVENT SHALL GREGOR AISCH OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  	 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
  	 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  	 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  	 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  	 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
  	 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  	 *
  	 */
  (function(){var n,a,i,s,u,l,c,f,d,p,h,v,m,g,y,b,x,w,_,k,C,S,E,P,O,T,M,A,j,R,N,I,D,L,F,B,W,U,z,G,q,H,V,K,Y,X,$,Z,Q,J,ee,te,ne,re,oe,ae,ie,se,ue,le,ce,fe,de,pe,he,ve,me,ge,ye,be,xe,we,_e,ke,Ce,Se,Ee,Pe,Oe=[].slice;ke=function(){var e,t,n,r,o;for(e={},o="Boolean Number String Function Array Date RegExp Undefined Null".split(" "),r=0,t=o.length;r<t;r++)n=o[r],e["[object "+n+"]"]=n.toLowerCase();return function(t){var n;return n=Object.prototype.toString.call(t),e[n]||"object"}}(),Y=function(e,t,n){return null==t&&(t=0),null==n&&(n=1),e<t&&(e=t),e>n&&(e=n),e},Ce=function(e){return e.length>=3?[].slice.call(e):e[0]},k=function(e){var t;for(t in e)t<3?(e[t]<0&&(e[t]=0),e[t]>255&&(e[t]=255)):3===t&&(e[t]<0&&(e[t]=0),e[t]>1&&(e[t]=1));return e},s=Math.PI,ye=Math.round,E=Math.cos,A=Math.floor,re=Math.pow,X=Math.log,xe=Math.sin,we=Math.sqrt,m=Math.atan2,Q=Math.max,v=Math.abs,c=2*s,u=s/3,a=s/180,l=180/s,_=function(){return arguments[0]instanceof n?arguments[0]:function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,arguments,function(){})},h=[],"undefined"!=typeof e&&null!==e&&null!=e.exports&&(e.exports=_),r=[],o=function(){return _}.apply(t,r),!(void 0!==o&&(e.exports=o)),_.version="1.1.1",p={},f=[],d=!1,n=function(){function e(){var e,t,n,r,o,a,i,s,u;for(a=this,t=[],s=0,r=arguments.length;s<r;s++)e=arguments[s],null!=e&&t.push(e);if(i=t[t.length-1],null!=p[i])a._rgb=k(p[i](Ce(t.slice(0,-1))));else{for(d||(f=f.sort(function(e,t){return t.p-e.p}),d=!0),u=0,o=f.length;u<o&&(n=f[u],!(i=n.test.apply(n,t)));u++);i&&(a._rgb=k(p[i].apply(p,t)))}null==a._rgb,null==a._rgb&&(a._rgb=[0,0,0]),3===a._rgb.length&&a._rgb.push(1)}return e.prototype.alpha=function(e){return arguments.length?(this._rgb[3]=e,this):this._rgb[3]},e.prototype.toString=function(){return this.name()},e}(),_._input=p,/**
  	  	ColorBrewer colors for chroma.js
  	  
  	  	Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The 
  	  	Pennsylvania State University.
  	  
  	  	Licensed under the Apache License, Version 2.0 (the "License"); 
  	  	you may not use this file except in compliance with the License.
  	  	You may obtain a copy of the License at	
  	  	http://www.apache.org/licenses/LICENSE-2.0
  	  
  	  	Unless required by applicable law or agreed to in writing, software distributed
  	  	under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  	  	CONDITIONS OF ANY KIND, either express or implied. See the License for the
  	  	specific language governing permissions and limitations under the License.
  	  
  	      @preserve
  	   */
  _.brewer=x={OrRd:["#fff7ec","#fee8c8","#fdd49e","#fdbb84","#fc8d59","#ef6548","#d7301f","#b30000","#7f0000"],PuBu:["#fff7fb","#ece7f2","#d0d1e6","#a6bddb","#74a9cf","#3690c0","#0570b0","#045a8d","#023858"],BuPu:["#f7fcfd","#e0ecf4","#bfd3e6","#9ebcda","#8c96c6","#8c6bb1","#88419d","#810f7c","#4d004b"],Oranges:["#fff5eb","#fee6ce","#fdd0a2","#fdae6b","#fd8d3c","#f16913","#d94801","#a63603","#7f2704"],BuGn:["#f7fcfd","#e5f5f9","#ccece6","#99d8c9","#66c2a4","#41ae76","#238b45","#006d2c","#00441b"],YlOrBr:["#ffffe5","#fff7bc","#fee391","#fec44f","#fe9929","#ec7014","#cc4c02","#993404","#662506"],YlGn:["#ffffe5","#f7fcb9","#d9f0a3","#addd8e","#78c679","#41ab5d","#238443","#006837","#004529"],Reds:["#fff5f0","#fee0d2","#fcbba1","#fc9272","#fb6a4a","#ef3b2c","#cb181d","#a50f15","#67000d"],RdPu:["#fff7f3","#fde0dd","#fcc5c0","#fa9fb5","#f768a1","#dd3497","#ae017e","#7a0177","#49006a"],Greens:["#f7fcf5","#e5f5e0","#c7e9c0","#a1d99b","#74c476","#41ab5d","#238b45","#006d2c","#00441b"],YlGnBu:["#ffffd9","#edf8b1","#c7e9b4","#7fcdbb","#41b6c4","#1d91c0","#225ea8","#253494","#081d58"],Purples:["#fcfbfd","#efedf5","#dadaeb","#bcbddc","#9e9ac8","#807dba","#6a51a3","#54278f","#3f007d"],GnBu:["#f7fcf0","#e0f3db","#ccebc5","#a8ddb5","#7bccc4","#4eb3d3","#2b8cbe","#0868ac","#084081"],Greys:["#ffffff","#f0f0f0","#d9d9d9","#bdbdbd","#969696","#737373","#525252","#252525","#000000"],YlOrRd:["#ffffcc","#ffeda0","#fed976","#feb24c","#fd8d3c","#fc4e2a","#e31a1c","#bd0026","#800026"],PuRd:["#f7f4f9","#e7e1ef","#d4b9da","#c994c7","#df65b0","#e7298a","#ce1256","#980043","#67001f"],Blues:["#f7fbff","#deebf7","#c6dbef","#9ecae1","#6baed6","#4292c6","#2171b5","#08519c","#08306b"],PuBuGn:["#fff7fb","#ece2f0","#d0d1e6","#a6bddb","#67a9cf","#3690c0","#02818a","#016c59","#014636"],Spectral:["#9e0142","#d53e4f","#f46d43","#fdae61","#fee08b","#ffffbf","#e6f598","#abdda4","#66c2a5","#3288bd","#5e4fa2"],RdYlGn:["#a50026","#d73027","#f46d43","#fdae61","#fee08b","#ffffbf","#d9ef8b","#a6d96a","#66bd63","#1a9850","#006837"],RdBu:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#f7f7f7","#d1e5f0","#92c5de","#4393c3","#2166ac","#053061"],PiYG:["#8e0152","#c51b7d","#de77ae","#f1b6da","#fde0ef","#f7f7f7","#e6f5d0","#b8e186","#7fbc41","#4d9221","#276419"],PRGn:["#40004b","#762a83","#9970ab","#c2a5cf","#e7d4e8","#f7f7f7","#d9f0d3","#a6dba0","#5aae61","#1b7837","#00441b"],RdYlBu:["#a50026","#d73027","#f46d43","#fdae61","#fee090","#ffffbf","#e0f3f8","#abd9e9","#74add1","#4575b4","#313695"],BrBG:["#543005","#8c510a","#bf812d","#dfc27d","#f6e8c3","#f5f5f5","#c7eae5","#80cdc1","#35978f","#01665e","#003c30"],RdGy:["#67001f","#b2182b","#d6604d","#f4a582","#fddbc7","#ffffff","#e0e0e0","#bababa","#878787","#4d4d4d","#1a1a1a"],PuOr:["#7f3b08","#b35806","#e08214","#fdb863","#fee0b6","#f7f7f7","#d8daeb","#b2abd2","#8073ac","#542788","#2d004b"],Set2:["#66c2a5","#fc8d62","#8da0cb","#e78ac3","#a6d854","#ffd92f","#e5c494","#b3b3b3"],Accent:["#7fc97f","#beaed4","#fdc086","#ffff99","#386cb0","#f0027f","#bf5b17","#666666"],Set1:["#e41a1c","#377eb8","#4daf4a","#984ea3","#ff7f00","#ffff33","#a65628","#f781bf","#999999"],Set3:["#8dd3c7","#ffffb3","#bebada","#fb8072","#80b1d3","#fdb462","#b3de69","#fccde5","#d9d9d9","#bc80bd","#ccebc5","#ffed6f"],Dark2:["#1b9e77","#d95f02","#7570b3","#e7298a","#66a61e","#e6ab02","#a6761d","#666666"],Paired:["#a6cee3","#1f78b4","#b2df8a","#33a02c","#fb9a99","#e31a1c","#fdbf6f","#ff7f00","#cab2d6","#6a3d9a","#ffff99","#b15928"],Pastel2:["#b3e2cd","#fdcdac","#cbd5e8","#f4cae4","#e6f5c9","#fff2ae","#f1e2cc","#cccccc"],Pastel1:["#fbb4ae","#b3cde3","#ccebc5","#decbe4","#fed9a6","#ffffcc","#e5d8bd","#fddaec","#f2f2f2"]},Se={indigo:"#4b0082",gold:"#ffd700",hotpink:"#ff69b4",firebrick:"#b22222",indianred:"#cd5c5c",yellow:"#ffff00",mistyrose:"#ffe4e1",darkolivegreen:"#556b2f",olive:"#808000",darkseagreen:"#8fbc8f",pink:"#ffc0cb",tomato:"#ff6347",lightcoral:"#f08080",orangered:"#ff4500",navajowhite:"#ffdead",lime:"#00ff00",palegreen:"#98fb98",darkslategrey:"#2f4f4f",greenyellow:"#adff2f",burlywood:"#deb887",seashell:"#fff5ee",mediumspringgreen:"#00fa9a",fuchsia:"#ff00ff",papayawhip:"#ffefd5",blanchedalmond:"#ffebcd",chartreuse:"#7fff00",dimgray:"#696969",black:"#000000",peachpuff:"#ffdab9",springgreen:"#00ff7f",aquamarine:"#7fffd4",white:"#ffffff",orange:"#ffa500",lightsalmon:"#ffa07a",darkslategray:"#2f4f4f",brown:"#a52a2a",ivory:"#fffff0",dodgerblue:"#1e90ff",peru:"#cd853f",lawngreen:"#7cfc00",chocolate:"#d2691e",crimson:"#dc143c",forestgreen:"#228b22",darkgrey:"#a9a9a9",lightseagreen:"#20b2aa",cyan:"#00ffff",mintcream:"#f5fffa",silver:"#c0c0c0",antiquewhite:"#faebd7",mediumorchid:"#ba55d3",skyblue:"#87ceeb",gray:"#808080",darkturquoise:"#00ced1",goldenrod:"#daa520",darkgreen:"#006400",floralwhite:"#fffaf0",darkviolet:"#9400d3",darkgray:"#a9a9a9",moccasin:"#ffe4b5",saddlebrown:"#8b4513",grey:"#808080",darkslateblue:"#483d8b",lightskyblue:"#87cefa",lightpink:"#ffb6c1",mediumvioletred:"#c71585",slategrey:"#708090",red:"#ff0000",deeppink:"#ff1493",limegreen:"#32cd32",darkmagenta:"#8b008b",palegoldenrod:"#eee8aa",plum:"#dda0dd",turquoise:"#40e0d0",lightgrey:"#d3d3d3",lightgoldenrodyellow:"#fafad2",darkgoldenrod:"#b8860b",lavender:"#e6e6fa",maroon:"#800000",yellowgreen:"#9acd32",sandybrown:"#f4a460",thistle:"#d8bfd8",violet:"#ee82ee",navy:"#000080",magenta:"#ff00ff",dimgrey:"#696969",tan:"#d2b48c",rosybrown:"#bc8f8f",olivedrab:"#6b8e23",blue:"#0000ff",lightblue:"#add8e6",ghostwhite:"#f8f8ff",honeydew:"#f0fff0",cornflowerblue:"#6495ed",slateblue:"#6a5acd",linen:"#faf0e6",darkblue:"#00008b",powderblue:"#b0e0e6",seagreen:"#2e8b57",darkkhaki:"#bdb76b",snow:"#fffafa",sienna:"#a0522d",mediumblue:"#0000cd",royalblue:"#4169e1",lightcyan:"#e0ffff",green:"#008000",mediumpurple:"#9370db",midnightblue:"#191970",cornsilk:"#fff8dc",paleturquoise:"#afeeee",bisque:"#ffe4c4",slategray:"#708090",darkcyan:"#008b8b",khaki:"#f0e68c",wheat:"#f5deb3",teal:"#008080",darkorchid:"#9932cc",deepskyblue:"#00bfff",salmon:"#fa8072",darkred:"#8b0000",steelblue:"#4682b4",palevioletred:"#db7093",lightslategray:"#778899",aliceblue:"#f0f8ff",lightslategrey:"#778899",lightgreen:"#90ee90",orchid:"#da70d6",gainsboro:"#dcdcdc",mediumseagreen:"#3cb371",lightgray:"#d3d3d3",mediumturquoise:"#48d1cc",lemonchiffon:"#fffacd",cadetblue:"#5f9ea0",lightyellow:"#ffffe0",lavenderblush:"#fff0f5",coral:"#ff7f50",purple:"#800080",aqua:"#00ffff",whitesmoke:"#f5f5f5",mediumslateblue:"#7b68ee",darkorange:"#ff8c00",mediumaquamarine:"#66cdaa",darksalmon:"#e9967a",beige:"#f5f5dc",blueviolet:"#8a2be2",azure:"#f0ffff",lightsteelblue:"#b0c4de",oldlace:"#fdf5e6",rebeccapurple:"#663399"},_.colors=S=Se,G=function(){var e,t,n,r,o,a,s,u,l;return t=Ce(arguments),o=t[0],e=t[1],n=t[2],u=(o+16)/116,s=isNaN(e)?u:u+e/500,l=isNaN(n)?u:u-n/200,u=i.Yn*q(u),s=i.Xn*q(s),l=i.Zn*q(l),a=Pe(3.2404542*s-1.5371385*u-.4985314*l),r=Pe(-.969266*s+1.8760108*u+.041556*l),n=Pe(.0556434*s-.2040259*u+1.0572252*l),a=Y(a,0,255),r=Y(r,0,255),n=Y(n,0,255),[a,r,n,t.length>3?t[3]:1]},Pe=function(e){return ye(255*(e<=.00304?12.92*e:1.055*re(e,1/2.4)-.055))},q=function(e){return e>i.t1?e*e*e:i.t2*(e-i.t0)},i={Kn:18,Xn:.95047,Yn:1,Zn:1.08883,t0:.137931034,t1:.206896552,t2:.12841855,t3:.008856452},ce=function(){var e,t,n,r,o,a,i,s;return r=Ce(arguments),n=r[0],t=r[1],e=r[2],o=ve(n,t,e),a=o[0],i=o[1],s=o[2],[116*i-16,500*(a-i),200*(i-s)]},me=function(e){return(e/=255)<=.04045?e/12.92:re((e+.055)/1.055,2.4)},Ee=function(e){return e>i.t3?re(e,1/3):e/i.t2+i.t0},ve=function(){var e,t,n,r,o,a,s;return r=Ce(arguments),n=r[0],t=r[1],e=r[2],n=me(n),t=me(t),e=me(e),o=Ee((.4124564*n+.3575761*t+.1804375*e)/i.Xn),a=Ee((.2126729*n+.7151522*t+.072175*e)/i.Yn),s=Ee((.0193339*n+.119192*t+.9503041*e)/i.Zn),[o,a,s]},_.lab=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["lab"]),function(){})},p.lab=G,n.prototype.lab=function(){return ce(this._rgb)},g=function(e){var t,n,r,o,a,i,s,u,l,c,f;return e=function(){var t,n,r;for(r=[],n=0,t=e.length;n<t;n++)o=e[n],r.push(_(o));return r}(),2===e.length?(l=function(){var t,n,r;for(r=[],n=0,t=e.length;n<t;n++)o=e[n],r.push(o.lab());return r}(),a=l[0],i=l[1],t=function(e){var t,n;return n=function(){var n,r;for(r=[],t=n=0;n<=2;t=++n)r.push(a[t]+e*(i[t]-a[t]));return r}(),_.lab.apply(_,n)}):3===e.length?(c=function(){var t,n,r;for(r=[],n=0,t=e.length;n<t;n++)o=e[n],r.push(o.lab());return r}(),a=c[0],i=c[1],s=c[2],t=function(e){var t,n;return n=function(){var n,r;for(r=[],t=n=0;n<=2;t=++n)r.push((1-e)*(1-e)*a[t]+2*(1-e)*e*i[t]+e*e*s[t]);return r}(),_.lab.apply(_,n)}):4===e.length?(f=function(){var t,n,r;for(r=[],n=0,t=e.length;n<t;n++)o=e[n],r.push(o.lab());return r}(),a=f[0],i=f[1],s=f[2],u=f[3],t=function(e){var t,n;return n=function(){var n,r;for(r=[],t=n=0;n<=2;t=++n)r.push((1-e)*(1-e)*(1-e)*a[t]+3*(1-e)*(1-e)*e*i[t]+3*(1-e)*e*e*s[t]+e*e*e*u[t]);return r}(),_.lab.apply(_,n)}):5===e.length&&(n=g(e.slice(0,3)),r=g(e.slice(2,5)),t=function(e){return e<.5?n(2*e):r(2*(e-.5))}),t},_.bezier=function(e){var t;return t=g(e),t.scale=function(){return _.scale(t)},t},_.cubehelix=function(e,t,n,r,o){var a,i,s;return null==e&&(e=300),null==t&&(t=-1.5),null==n&&(n=1),null==r&&(r=1),null==o&&(o=[0,1]),i=o[1]-o[0],a=0,s=function(s){var u,l,f,d,p,h,v,m,g;return u=c*((e+120)/360+t*s),v=re(o[0]+i*s,r),h=0!==a?n[0]+s*a:n,l=h*v*(1-v)/2,d=E(u),g=xe(u),m=v+l*(-.14861*d+1.78277*g),p=v+l*(-.29227*d-.90649*g),f=v+l*(1.97294*d),_(k([255*m,255*p,255*f]))},s.start=function(t){return null==t?e:(e=t,s)},s.rotations=function(e){return null==e?t:(t=e,s)},s.gamma=function(e){return null==e?r:(r=e,s)},s.hue=function(e){return null==e?n:(n=e,"array"===ke(n)?(a=n[1]-n[0],0===a&&(n=n[1])):a=0,s)},s.lightness=function(e){return null==e?o:(o=e,"array"===ke(o)?(i=o[1]-o[0],0===i&&(o=o[1])):i=0,s)},s.scale=function(){return _.scale(s)},s.hue(n),s},_.random=function(){var e,t,r,o;for(t="0123456789abcdef",e="#",r=o=0;o<6;r=++o)e+=t.charAt(A(16*Math.random()));return new n(e)},p.rgb=function(){var e,t,n,r;t=Ce(arguments),n=[];for(e in t)r=t[e],n.push(r);return n},_.rgb=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["rgb"]),function(){})},n.prototype.rgb=function(){return this._rgb.slice(0,3)},n.prototype.rgba=function(){return this._rgb},f.push({p:15,test:function(e){var t;return t=Ce(arguments),"array"===ke(t)&&3===t.length?"rgb":4===t.length&&"number"===ke(t[3])&&t[3]>=0&&t[3]<=1?"rgb":void 0}}),j=function(e){var t,n,r,o,a,i;if(e.match(/^#?([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/))return 4!==e.length&&7!==e.length||(e=e.substr(1)),3===e.length&&(e=e.split(""),e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),i=parseInt(e,16),o=i>>16,r=i>>8&255,n=255&i,[o,r,n,1];if(e.match(/^#?([A-Fa-f0-9]{8})$/))return 9===e.length&&(e=e.substr(1)),i=parseInt(e,16),o=i>>24&255,r=i>>16&255,n=i>>8&255,t=ye((255&i)/255*100)/100,[o,r,n,t];if(null!=p.css&&(a=p.css(e)))return a;throw"unknown color: "+e},ie=function(e,t){var n,r,o,a,i,s,u;return null==t&&(t="rgb"),i=e[0],o=e[1],r=e[2],n=e[3],u=i<<16|o<<8|r,s="000000"+u.toString(16),s=s.substr(s.length-6),a="0"+ye(255*n).toString(16),a=a.substr(a.length-2),"#"+function(){switch(t.toLowerCase()){case"rgba":return s+a;case"argb":return a+s;default:return s}}()},p.hex=function(e){return j(e)},_.hex=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["hex"]),function(){})},n.prototype.hex=function(e){return null==e&&(e="rgb"),ie(this._rgb,e)},f.push({p:10,test:function(e){if(1===arguments.length&&"string"===ke(e))return"hex"}}),I=function(){var e,t,n,r,o,a,i,s,u,l,c,f,d,p;if(e=Ce(arguments),o=e[0],c=e[1],i=e[2],0===c)u=r=t=255*i;else{for(p=[0,0,0],n=[0,0,0],d=i<.5?i*(1+c):i+c-i*c,f=2*i-d,o/=360,p[0]=o+1/3,p[1]=o,p[2]=o-1/3,a=s=0;s<=2;a=++s)p[a]<0&&(p[a]+=1),p[a]>1&&(p[a]-=1),6*p[a]<1?n[a]=f+6*(d-f)*p[a]:2*p[a]<1?n[a]=d:3*p[a]<2?n[a]=f+(d-f)*(2/3-p[a])*6:n[a]=f;l=[ye(255*n[0]),ye(255*n[1]),ye(255*n[2])],u=l[0],r=l[1],t=l[2]}return e.length>3?[u,r,t,e[3]]:[u,r,t]},ue=function(e,t,n){var r,o,a,i,s;return void 0!==e&&e.length>=3&&(i=e,e=i[0],t=i[1],n=i[2]),e/=255,t/=255,n/=255,a=Math.min(e,t,n),Q=Math.max(e,t,n),o=(Q+a)/2,Q===a?(s=0,r=Number.NaN):s=o<.5?(Q-a)/(Q+a):(Q-a)/(2-Q-a),e===Q?r=(t-n)/(Q-a):t===Q?r=2+(n-e)/(Q-a):n===Q&&(r=4+(e-t)/(Q-a)),r*=60,r<0&&(r+=360),[r,s,o]},_.hsl=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["hsl"]),function(){})},p.hsl=I,n.prototype.hsl=function(){return ue(this._rgb)},D=function(){var e,t,n,r,o,a,i,s,u,l,c,f,d,p,h,v,m,g;if(e=Ce(arguments),o=e[0],v=e[1],g=e[2],g*=255,0===v)u=r=t=g;else switch(360===o&&(o=0),o>360&&(o-=360),o<0&&(o+=360),o/=60,a=A(o),n=o-a,i=g*(1-v),s=g*(1-v*n),m=g*(1-v*(1-n)),a){case 0:l=[g,m,i],u=l[0],r=l[1],t=l[2];break;case 1:c=[s,g,i],u=c[0],r=c[1],t=c[2];break;case 2:f=[i,g,m],u=f[0],r=f[1],t=f[2];break;case 3:d=[i,s,g],u=d[0],r=d[1],t=d[2];break;case 4:p=[m,i,g],u=p[0],r=p[1],t=p[2];break;case 5:h=[g,i,s],u=h[0],r=h[1],t=h[2]}return u=ye(u),r=ye(r),t=ye(t),[u,r,t,e.length>3?e[3]:1]},le=function(){var e,t,n,r,o,a,i,s,u;return i=Ce(arguments),a=i[0],n=i[1],e=i[2],o=Math.min(a,n,e),Q=Math.max(a,n,e),t=Q-o,u=Q/255,0===Q?(r=Number.NaN,s=0):(s=t/Q,a===Q&&(r=(n-e)/t),n===Q&&(r=2+(e-a)/t),e===Q&&(r=4+(a-n)/t),r*=60,r<0&&(r+=360)),[r,s,u]},_.hsv=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["hsv"]),function(){})},p.hsv=D,n.prototype.hsv=function(){return le(this._rgb)},te=function(e){var t,n,r;return"number"===ke(e)&&e>=0&&e<=16777215?(r=e>>16,n=e>>8&255,t=255&e,[r,n,t,1]):[0,0,0,1]},pe=function(){var e,t,n,r;return r=Ce(arguments),n=r[0],t=r[1],e=r[2],(n<<16)+(t<<8)+e},_.num=function(e){return new n(e,"num")},n.prototype.num=function(e){return null==e&&(e="rgb"),pe(this._rgb,e)},p.num=te,f.push({p:10,test:function(e){if(1===arguments.length&&"number"===ke(e)&&e>=0&&e<=16777215)return"num"}}),P=function(e){var t,n,r,o,a,i,s,u;if(e=e.toLowerCase(),null!=_.colors&&_.colors[e])return j(_.colors[e]);if(a=e.match(/rgb\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*\)/)){for(s=a.slice(1,4),o=i=0;i<=2;o=++i)s[o]=+s[o];s[3]=1}else if(a=e.match(/rgba\(\s*(\-?\d+),\s*(\-?\d+)\s*,\s*(\-?\d+)\s*,\s*([01]|[01]?\.\d+)\)/))for(s=a.slice(1,5),o=u=0;u<=3;o=++u)s[o]=+s[o];else if(a=e.match(/rgb\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/)){for(s=a.slice(1,4),o=t=0;t<=2;o=++t)s[o]=ye(2.55*s[o]);s[3]=1}else if(a=e.match(/rgba\(\s*(\-?\d+(?:\.\d+)?)%,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/)){for(s=a.slice(1,5),o=n=0;n<=2;o=++n)s[o]=ye(2.55*s[o]);s[3]=+s[3]}else(a=e.match(/hsl\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*\)/))?(r=a.slice(1,4),r[1]*=.01,r[2]*=.01,s=I(r),s[3]=1):(a=e.match(/hsla\(\s*(\-?\d+(?:\.\d+)?),\s*(\-?\d+(?:\.\d+)?)%\s*,\s*(\-?\d+(?:\.\d+)?)%\s*,\s*([01]|[01]?\.\d+)\)/))&&(r=a.slice(1,4),r[1]*=.01,r[2]*=.01,s=I(r),s[3]=+a[4]);return s},ae=function(e){var t;return t=e[3]<1?"rgba":"rgb","rgb"===t?t+"("+e.slice(0,3).map(ye).join(",")+")":"rgba"===t?t+"("+e.slice(0,3).map(ye).join(",")+","+e[3]+")":void 0},ge=function(e){return ye(100*e)/100},N=function(e,t){var n;return n=t<1?"hsla":"hsl",e[0]=ge(e[0]||0),e[1]=ge(100*e[1])+"%",e[2]=ge(100*e[2])+"%","hsla"===n&&(e[3]=t),n+"("+e.join(",")+")"},p.css=function(e){return P(e)},_.css=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["css"]),function(){})},n.prototype.css=function(e){return null==e&&(e="rgb"),"rgb"===e.slice(0,3)?ae(this._rgb):"hsl"===e.slice(0,3)?N(this.hsl(),this.alpha()):void 0},p.named=function(e){return j(Se[e])},f.push({p:20,test:function(e){if(1===arguments.length&&null!=Se[e])return"named"}}),n.prototype.name=function(e){var t,n;arguments.length&&(Se[e]&&(this._rgb=j(Se[e])),this._rgb[3]=1),t=this.hex();for(n in Se)if(t===Se[n])return n;return t},H=function(){var e,t,n,r;return r=Ce(arguments),n=r[0],e=r[1],t=r[2],t*=a,[n,E(t)*e,xe(t)*e]},V=function(){var e,t,n,r,o,a,i,s,u,l,c;return n=Ce(arguments),s=n[0],o=n[1],i=n[2],l=H(s,o,i),e=l[0],t=l[1],r=l[2],c=G(e,t,r),u=c[0],a=c[1],r=c[2],[Y(u,0,255),Y(a,0,255),Y(r,0,255),n.length>3?n[3]:1]},z=function(){var e,t,n,r,o,a;return a=Ce(arguments),o=a[0],e=a[1],t=a[2],n=we(e*e+t*t),r=(m(t,e)*l+360)%360,0===ye(1e4*n)&&(r=Number.NaN),[o,n,r]},fe=function(){var e,t,n,r,o,a,i;return a=Ce(arguments),o=a[0],n=a[1],t=a[2],i=ce(o,n,t),r=i[0],e=i[1],t=i[2],z(r,e,t)},_.lch=function(){var e;return e=Ce(arguments),new n(e,"lch")},_.hcl=function(){var e;return e=Ce(arguments),new n(e,"hcl")},p.lch=V,p.hcl=function(){var e,t,n,r;return r=Ce(arguments),t=r[0],e=r[1],n=r[2],V([n,e,t])},n.prototype.lch=function(){return fe(this._rgb)},n.prototype.hcl=function(){return fe(this._rgb).reverse()},oe=function(e){var t,n,r,o,a,i,s,u,l;return null==e&&(e="rgb"),u=Ce(arguments),s=u[0],o=u[1],t=u[2],s/=255,o/=255,t/=255,a=1-Math.max(s,Math.max(o,t)),r=a<1?1/(1-a):0,n=(1-s-a)*r,i=(1-o-a)*r,l=(1-t-a)*r,[n,i,l,a]},C=function(){var e,t,n,r,o,a,i,s,u;return t=Ce(arguments),r=t[0],i=t[1],u=t[2],a=t[3],e=t.length>4?t[4]:1,1===a?[0,0,0,e]:(s=r>=1?0:ye(255*(1-r)*(1-a)),o=i>=1?0:ye(255*(1-i)*(1-a)),n=u>=1?0:ye(255*(1-u)*(1-a)),[s,o,n,e])},p.cmyk=function(){return C(Ce(arguments))},_.cmyk=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["cmyk"]),function(){})},n.prototype.cmyk=function(){return oe(this._rgb)},p.gl=function(){var e,t,n,r,o;for(r=function(){var e,n;e=Ce(arguments),n=[];for(t in e)o=e[t],n.push(o);return n}.apply(this,arguments),e=n=0;n<=2;e=++n)r[e]*=255;return r},_.gl=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["gl"]),function(){})},n.prototype.gl=function(){var e;return e=this._rgb,[e[0]/255,e[1]/255,e[2]/255,e[3]]},de=function(e,t,n){var r;return r=Ce(arguments),e=r[0],t=r[1],n=r[2],e=$(e),t=$(t),n=$(n),.2126*e+.7152*t+.0722*n},$=function(e){return e/=255,e<=.03928?e/12.92:re((e+.055)/1.055,2.4)},h=[],L=function(e,t,n,r){var o,a,i,s;for(null==n&&(n=.5),null==r&&(r="rgb"),"object"!==ke(e)&&(e=_(e)),"object"!==ke(t)&&(t=_(t)),i=0,a=h.length;i<a;i++)if(o=h[i],r===o[0]){s=o[1](e,t,n,r);break}if(null==s)throw"color mode "+r+" is not supported";return s.alpha(e.alpha()+n*(t.alpha()-e.alpha())),s},_.interpolate=L,n.prototype.interpolate=function(e,t,n){return L(this,e,t,n)},_.mix=L,n.prototype.mix=n.prototype.interpolate,U=function(e,t,r,o){var a,i;return a=e._rgb,i=t._rgb,new n(a[0]+r*(i[0]-a[0]),a[1]+r*(i[1]-a[1]),a[2]+r*(i[2]-a[2]),o)},h.push(["rgb",U]),n.prototype.luminance=function(e,t){var n,r,o,a;return null==t&&(t="rgb"),arguments.length?(0===e?this._rgb=[0,0,0,this._rgb[3]]:1===e?this._rgb=[255,255,255,this._rgb[3]]:(r=1e-7,o=20,a=function(n,i){var s,u;return u=n.interpolate(i,.5,t),s=u.luminance(),Math.abs(e-s)<r||!o--?u:s>e?a(n,u):a(u,i)},n=de(this._rgb),this._rgb=(n>e?a(_("black"),this):a(this,_("white"))).rgba()),this):de(this._rgb)},_e=function(e){var t,n,r,o;return o=e/100,o<66?(r=255,n=-155.25485562709179-.44596950469579133*(n=o-2)+104.49216199393888*X(n),t=o<20?0:-254.76935184120902+.8274096064007395*(t=o-10)+115.67994401066147*X(t)):(r=351.97690566805693+.114206453784165*(r=o-55)-40.25366309332127*X(r),n=325.4494125711974+.07943456536662342*(n=o-50)-28.0852963507957*X(n),t=255),k([r,n,t])},he=function(){var e,t,n,r,o,a,i,s,u;for(i=Ce(arguments),a=i[0],n=i[1],e=i[2],o=1e3,r=4e4,t=.4;r-o>t;)u=.5*(r+o),s=_e(u),s[2]/s[0]>=e/a?r=u:o=u;return ye(u)},_.temperature=_.kelvin=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["temperature"]),function(){})},p.temperature=p.kelvin=p.K=_e,n.prototype.temperature=function(){return he(this._rgb)},n.prototype.kelvin=n.prototype.temperature,_.contrast=function(e,t){var r,o,a,i;return"string"!==(a=ke(e))&&"number"!==a||(e=new n(e)),"string"!==(i=ke(t))&&"number"!==i||(t=new n(t)),r=e.luminance(),o=t.luminance(),r>o?(r+.05)/(o+.05):(o+.05)/(r+.05)},n.prototype.get=function(e){var t,n,r,o,a,i;return r=this,a=e.split("."),o=a[0],t=a[1],i=r[o](),t?(n=o.indexOf(t),n>-1?i[n]:void 0):i},n.prototype.set=function(e,t){var n,r,o,a,i,s;if(o=this,i=e.split("."),a=i[0],n=i[1],n){if(s=o[a](),r=a.indexOf(n),r>-1)if("string"===ke(t))switch(t.charAt(0)){case"+":s[r]+=+t;break;case"-":s[r]+=+t;break;case"*":s[r]*=+t.substr(1);break;case"/":s[r]/=+t.substr(1);break;default:s[r]=+t}else s[r]=t}else s=t;return o._rgb=_(s,a).alpha(o.alpha())._rgb,o},n.prototype.darken=function(e){var t,n;return null==e&&(e=1),n=this,t=n.lab(),t[0]-=i.Kn*e,_.lab(t).alpha(n.alpha())},n.prototype.brighten=function(e){return null==e&&(e=1),this.darken(-e)},n.prototype.darker=n.prototype.darken,n.prototype.brighter=n.prototype.brighten,n.prototype.saturate=function(e){var t,n;return null==e&&(e=1),n=this,t=n.lch(),t[1]+=e*i.Kn,t[1]<0&&(t[1]=0),_.lch(t).alpha(n.alpha())},n.prototype.desaturate=function(e){return null==e&&(e=1),this.saturate(-e)},n.prototype.premultiply=function(){var e,t;return t=this.rgb(),e=this.alpha(),_(t[0]*e,t[1]*e,t[2]*e,e)},y=function(e,t,n){if(!y[n])throw"unknown blend mode "+n;return y[n](e,t)},b=function(e){return function(t,n){var r,o;return r=_(n).rgb(),o=_(t).rgb(),_(e(r,o),"rgb")}},M=function(e){return function(t,n){var r,o,a;for(a=[],r=o=0;o<=3;r=++o)a[r]=e(t[r],n[r]);return a}},ee=function(e,t){return e},J=function(e,t){return e*t/255},O=function(e,t){return e>t?t:e},K=function(e,t){return e>t?e:t},be=function(e,t){return 255*(1-(1-e/255)*(1-t/255))},ne=function(e,t){return t<128?2*e*t/255:255*(1-2*(1-e/255)*(1-t/255))},w=function(e,t){return 255*(1-(1-t/255)/(e/255))},T=function(e,t){return 255===e?255:(e=255*(t/255)/(1-e/255),e>255?255:e)},y.normal=b(M(ee)),y.multiply=b(M(J)),y.screen=b(M(be)),y.overlay=b(M(ne)),y.darken=b(M(O)),y.lighten=b(M(K)),y.dodge=b(M(T)),y.burn=b(M(w)),_.blend=y,_.analyze=function(e){var t,n,r,o;for(r={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0},n=0,t=e.length;n<t;n++)o=e[n],null==o||isNaN(o)||(r.values.push(o),r.sum+=o,o<r.min&&(r.min=o),o>r.max&&(r.max=o),r.count+=1);return r.domain=[r.min,r.max],r.limits=function(e,t){return _.limits(r,e,t)},r},_.scale=function(e,t){var n,r,o,a,i,s,u,l,c,f,d,p,h,v,m,g,y,b,x,w,k;return c="rgb",f=_("#ccc"),v=0,s=!1,i=[0,1],h=[],p=[0,0],n=!1,o=[],d=!1,l=0,u=1,a=!1,r={},w=function(e){var t,n,r,a,i,s,u;if(null==e&&(e=["#fff","#000"]),null!=e&&"string"===ke(e)&&null!=(null!=(a=_.brewer)?a[e]:void 0)&&(e=_.brewer[e]),"array"===ke(e)){for(e=e.slice(0),t=r=0,i=e.length-1;0<=i?r<=i:r>=i;t=0<=i?++r:--r)n=e[t],"string"===ke(n)&&(e[t]=_(n));for(h.length=0,t=u=0,s=e.length-1;0<=s?u<=s:u>=s;t=0<=s?++u:--u)h.push(t/(e.length-1))}return x(),o=e},y=function(e){var t,r;if(null!=n){for(r=n.length-1,t=0;t<r&&e>=n[t];)t++;return t-1}return 0},k=function(e){return e},m=function(e){var t,r,o,a,i;return i=e,n.length>2&&(a=n.length-1,t=y(e),o=n[0]+(n[1]-n[0])*(0+.5*v),r=n[a-1]+(n[a]-n[a-1])*(1-.5*v),i=l+(n[t]+.5*(n[t+1]-n[t])-o)/(r-o)*(u-l)),i},b=function(e,t){var a,i,s,d,v,m,g,b;if(null==t&&(t=!1),isNaN(e))return f;if(t?b=e:n&&n.length>2?(a=y(e),b=a/(n.length-2),b=p[0]+b*(1-p[0]-p[1])):u!==l?(b=(e-l)/(u-l),b=p[0]+b*(1-p[0]-p[1]),b=Math.min(1,Math.max(0,b))):b=1,t||(b=k(b)),d=Math.floor(1e4*b),r[d])i=r[d];else{if("array"===ke(o))for(s=v=0,g=h.length-1;0<=g?v<=g:v>=g;s=0<=g?++v:--v){if(m=h[s],b<=m){i=o[s];break}if(b>=m&&s===h.length-1){i=o[s];break}if(b>m&&b<h[s+1]){b=(b-m)/(h[s+1]-m),i=_.interpolate(o[s],o[s+1],b,c);break}}else"function"===ke(o)&&(i=o(b));r[d]=i}return i},x=function(){return r={}},w(e),g=function(e){var t;return t=_(b(e)),d&&t[d]?t[d]():t},g.classes=function(e){var t;return null!=e?("array"===ke(e)?(n=e,i=[e[0],e[e.length-1]]):(t=_.analyze(i),n=0===e?[t.min,t.max]:_.limits(t,"e",e)),g):n},g.domain=function(e){var t,n,r,a,s,c,f;if(!arguments.length)return i;if(l=e[0],u=e[e.length-1],h=[],r=o.length,e.length===r&&l!==u)for(s=0,a=e.length;s<a;s++)n=e[s],h.push((n-l)/(u-l));else for(t=f=0,c=r-1;0<=c?f<=c:f>=c;t=0<=c?++f:--f)h.push(t/(r-1));return i=[l,u],g},g.mode=function(e){return arguments.length?(c=e,x(),g):c},g.range=function(e,t){return w(e,t),g},g.out=function(e){return d=e,g},g.spread=function(e){return arguments.length?(v=e,g):v},g.correctLightness=function(e){return null==e&&(e=!0),a=e,x(),k=a?function(e){var t,n,r,o,a,i,s,u,l;for(t=b(0,!0).lab()[0],n=b(1,!0).lab()[0],s=t>n,r=b(e,!0).lab()[0],a=t+(n-t)*e,o=r-a,u=0,l=1,i=20;Math.abs(o)>.01&&i-- >0;)!function(){return s&&(o*=-1),o<0?(u=e,e+=.5*(l-e)):(l=e,e+=.5*(u-e)),r=b(e,!0).lab()[0],o=r-a}();return e}:function(e){return e},g},g.padding=function(e){return null!=e?("number"===ke(e)&&(e=[e,e]),p=e,g):p},g.colors=function(){var t,r,o,a,s,u,l,c,f;if(a=0,s="hex",1===arguments.length&&("string"===ke(arguments[0])?s=arguments[0]:a=arguments[0]),2===arguments.length&&(a=arguments[0],s=arguments[1]),a)return r=i[0],t=i[1]-r,function(){l=[];for(var e=0;0<=a?e<a:e>a;0<=a?e++:e--)l.push(e);return l}.apply(this).map(function(e){return g(r+e/(a-1)*t)[s]()});if(e=[],c=[],n&&n.length>2)for(o=f=1,u=n.length;1<=u?f<u:f>u;o=1<=u?++f:--f)c.push(.5*(n[o-1]+n[o]));else c=i;return c.map(function(e){return g(e)[s]()})},g},null==_.scales&&(_.scales={}),_.scales.cool=function(){return _.scale([_.hsl(180,1,.9),_.hsl(250,.7,.4)])},_.scales.hot=function(){return _.scale(["#000","#f00","#ff0","#fff"],[0,.25,.75,1]).mode("rgb")},_.analyze=function(e,t,n){var r,o,a,i,s,u,l;if(s={min:Number.MAX_VALUE,max:Number.MAX_VALUE*-1,sum:0,values:[],count:0},null==n&&(n=function(){return!0}),r=function(e){null==e||isNaN(e)||(s.values.push(e),s.sum+=e,e<s.min&&(s.min=e),e>s.max&&(s.max=e),s.count+=1)},l=function(e,o){if(n(e,o))return r(null!=t&&"function"===ke(t)?t(e):null!=t&&"string"===ke(t)||"number"===ke(t)?e[t]:e)},"array"===ke(e))for(i=0,a=e.length;i<a;i++)u=e[i],l(u);else for(o in e)u=e[o],l(u,o);return s.domain=[s.min,s.max],s.limits=function(e,t){return _.limits(s,e,t)},s},_.limits=function(e,t,n){var r,o,a,i,s,u,l,c,f,d,p,h,m,g,y,b,x,w,k,C,S,E,P,O,T,M,j,R,N,I,D,L,F,B,W,U,z,G,q,H,V,K,Y,$,Z,J,ee,te,ne,oe,ae,ie,se,ue,le;if(null==t&&(t="equal"),null==n&&(n=7),"array"===ke(e)&&(e=_.analyze(e)),T=e.min,Q=e.max,ae=e.sum,ue=e.values.sort(function(e,t){return e-t}),P=[],"c"===t.substr(0,1)&&(P.push(T),P.push(Q)),"e"===t.substr(0,1)){for(P.push(T),C=D=1,W=n-1;1<=W?D<=W:D>=W;C=1<=W?++D:--D)P.push(T+C/n*(Q-T));P.push(Q)}else if("l"===t.substr(0,1)){if(T<=0)throw"Logarithmic scales are only possible for values > 0";for(M=Math.LOG10E*X(T),O=Math.LOG10E*X(Q),P.push(T),C=le=1,U=n-1;1<=U?le<=U:le>=U;C=1<=U?++le:--le)P.push(re(10,M+C/n*(O-M)));P.push(Q)}else if("q"===t.substr(0,1)){for(P.push(T),C=r=1,K=n-1;1<=K?r<=K:r>=K;C=1<=K?++r:--r)L=ue.length*C/n,F=A(L),F===L?P.push(ue[F]):(B=L-F,P.push(ue[F]*B+ue[F+1]*(1-B)));P.push(Q)}else if("k"===t.substr(0,1)){for(R=ue.length,g=new Array(R),w=new Array(n),oe=!0,N=0,b=null,b=[],b.push(T),C=o=1,Y=n-1;1<=Y?o<=Y:o>=Y;C=1<=Y?++o:--o)b.push(T+C/n*(Q-T));for(b.push(Q);oe;){for(S=a=0,$=n-1;0<=$?a<=$:a>=$;S=0<=$?++a:--a)w[S]=0;for(C=i=0,Z=R-1;0<=Z?i<=Z:i>=Z;C=0<=Z?++i:--i){for(se=ue[C],j=Number.MAX_VALUE,S=s=0,J=n-1;0<=J?s<=J:s>=J;S=0<=J?++s:--s)k=v(b[S]-se),k<j&&(j=k,y=S);w[y]++,g[C]=y}for(I=new Array(n),S=u=0,ee=n-1;0<=ee?u<=ee:u>=ee;S=0<=ee?++u:--u)I[S]=null;for(C=l=0,te=R-1;0<=te?l<=te:l>=te;C=0<=te?++l:--l)x=g[C],null===I[x]?I[x]=ue[C]:I[x]+=ue[C];for(S=c=0,ne=n-1;0<=ne?c<=ne:c>=ne;S=0<=ne?++c:--c)I[S]*=1/w[S];for(oe=!1,S=f=0,z=n-1;0<=z?f<=z:f>=z;S=0<=z?++f:--f)if(I[S]!==b[C]){oe=!0;break}b=I,N++,N>200&&(oe=!1)}for(E={},S=d=0,G=n-1;0<=G?d<=G:d>=G;S=0<=G?++d:--d)E[S]=[];for(C=p=0,q=R-1;0<=q?p<=q:p>=q;C=0<=q?++p:--p)x=g[C],E[x].push(ue[C]);for(ie=[],S=h=0,H=n-1;0<=H?h<=H:h>=H;S=0<=H?++h:--h)ie.push(E[S][0]),ie.push(E[S][E[S].length-1]);for(ie=ie.sort(function(e,t){return e-t}),P.push(ie[0]),C=m=1,V=ie.length-1;m<=V;C=m+=2)isNaN(ie[C])||P.push(ie[C])}return P},R=function(e,t,n){var r,o,a,i;return r=Ce(arguments),e=r[0],t=r[1],n=r[2],e/=360,e<1/3?(o=(1-t)/3,i=(1+t*E(c*e)/E(u-c*e))/3,a=1-(o+i)):e<2/3?(e-=1/3,i=(1-t)/3,a=(1+t*E(c*e)/E(u-c*e))/3,o=1-(i+a)):(e-=2/3,a=(1-t)/3,o=(1+t*E(c*e)/E(u-c*e))/3,i=1-(a+o)),i=Y(n*i*3),a=Y(n*a*3),o=Y(n*o*3),[255*i,255*a,255*o,r.length>3?r[3]:1]},se=function(){var e,t,n,r,o,a,i,s;return i=Ce(arguments),a=i[0],t=i[1],e=i[2],c=2*Math.PI,a/=255,t/=255,e/=255,o=Math.min(a,t,e),r=(a+t+e)/3,s=1-o/r,0===s?n=0:(n=(a-t+(a-e))/2,n/=Math.sqrt((a-t)*(a-t)+(a-e)*(t-e)),n=Math.acos(n),e>t&&(n=c-n),n/=c),[360*n,s,r]},_.hsi=function(){return function(e,t,n){n.prototype=e.prototype;var r=new n,o=e.apply(r,t);return Object(o)===o?o:r}(n,Oe.call(arguments).concat(["hsi"]),function(){})},p.hsi=R,n.prototype.hsi=function(){return se(this._rgb)},F=function(e,t,n,r){var o,a,i,s,u,l,c,f,d,p,h,v,m;return"hsl"===r?(v=e.hsl(),m=t.hsl()):"hsv"===r?(v=e.hsv(),m=t.hsv()):"hsi"===r?(v=e.hsi(),m=t.hsi()):"lch"!==r&&"hcl"!==r||(r="hcl",v=e.hcl(),m=t.hcl()),"h"===r.substr(0,1)&&(i=v[0],p=v[1],l=v[2],s=m[0],h=m[1],c=m[2]),isNaN(i)||isNaN(s)?isNaN(i)?isNaN(s)?a=Number.NaN:(a=s,1!==l&&0!==l||"hsv"===r||(d=h)):(a=i,1!==c&&0!==c||"hsv"===r||(d=p)):(o=s>i&&s-i>180?s-(i+360):s<i&&i-s>180?s+360-i:s-i,a=i+n*o),null==d&&(d=p+n*(h-p)),u=l+n*(c-l),f=_[r](a,d,u)},h=h.concat(function(){var e,t,n,r;for(n=["hsv","hsl","hsi","hcl","lch"],r=[],t=0,e=n.length;t<e;t++)Z=n[t],r.push([Z,F]);return r}()),W=function(e,t,n,r){var o,a;return o=e.num(),a=t.num(),_.num(o+(a-o)*n,"num")},h.push(["num",W]),B=function(e,t,r,o){var a,i,s;return i=e.lab(),s=t.lab(),a=new n(i[0]+r*(s[0]-i[0]),i[1]+r*(s[1]-i[1]),i[2]+r*(s[2]-i[2]),o)},h.push(["lab",B])}).call(this)}).call(t,n(130)(e))},function(e,t,n){n(564);var r=n(25).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(566),e.exports=n(25).Object.getPrototypeOf},function(e,t,n){var r=n(72),o=n(63).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,n){e.exports=!n(70)&&!n(87)(function(){return 7!=Object.defineProperty(n(288)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(186);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(131),o=n(57),a=n(297),i=n(88),s=n(116),u=n(549),l=n(193),c=n(295),f=n(45)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",v="values",m=function(){return this};e.exports=function(e,t,n,g,y,b,x){u(n,t,g);var w,_,k,C=function(e){if(!d&&e in O)return O[e];switch(e){case h:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=y==v,P=!1,O=e.prototype,T=O[f]||O[p]||y&&O[y],M=T||C(y),A=y?E?C("entries"):M:void 0,j="Array"==t?O.entries||T:T;if(j&&(k=c(j.call(new e)),k!==Object.prototype&&k.next&&(l(k,S,!0),r||"function"==typeof k[f]||i(k,f,m))),E&&T&&T.name!==v&&(P=!0,M=function(){return T.call(this)}),r&&!x||!d&&!P&&O[f]||i(O,f,M),s[t]=M,s[S]=m,y)if(w={values:E?M:C(v),keys:b?M:C(h),entries:A},x)for(_ in w)_ in O||a(O,_,w[_]);else o(o.P+o.F*(d||P),t,w);return w}},function(e,t,n){var r=n(132),o=n(118),a=n(89),i=n(197),s=n(71),u=n(289),l=Object.getOwnPropertyDescriptor;t.f=n(70)?l:function(e,t){if(e=a(e),t=i(t,!0),u)try{return l(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(89),o=n(294).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(296),o=n(189).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){
  return r(e,o)}},function(e,t,n){var r=n(71),o=n(119),a=n(194)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,n){var r=n(71),o=n(89),a=n(540)(!1),i=n(194)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)n!=i&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){e.exports=n(88)},function(e,t,n){var r=n(196),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(541),o=n(45)("iterator"),a=n(116);e.exports=n(25).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[r(e)]}},function(e,t,n){n(560);for(var r=n(63),o=n(88),a=n(116),i=n(45)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<s.length;u++){var l=s[u],c=r[l],f=c&&c.prototype;f&&!f[i]&&o(f,i,l),a[l]=a.Array}},function(e,t,n){var r=n(39);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){"use strict";var r=n(22),o=n(81),a=n(15);e.exports=[].copyWithin||function(e,t){var n=r(this),i=a(n.length),s=o(e,i),u=o(t,i),l=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===l?i:o(l,i))-u,i-s),f=1;for(u<s&&s<u+c&&(f=-1,u+=c-1,s+=c-1);c-- >0;)u in n?n[s]=n[u]:delete n[s],s+=f,u+=f;return n}},function(e,t,n){var r=n(74);e.exports=function(e,t){var n=[];return r(e,!1,n.push,n,t),n}},function(e,t,n){var r=n(26),o=n(22),a=n(121),i=n(15);e.exports=function(e,t,n,s,u){r(t);var l=o(e),c=a(l),f=i(l.length),d=u?f-1:0,p=u?-1:1;if(n<2)for(;;){if(d in c){s=c[d],d+=p;break}if(d+=p,u?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;u?d>=0:f>d;d+=p)d in c&&(s=t(s,c[d],d,l));return s}},function(e,t,n){"use strict";var r=n(26),o=n(8),a=n(311),i=[].slice,s={},u=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),s=function(){var r=n.concat(i.call(arguments));return this instanceof s?u(t,r.length,r):a(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t,n){"use strict";var r=n(14).f,o=n(75),a=n(79),i=n(41),s=n(73),u=n(74),l=n(211),c=n(314),f=n(80),d=n(13),p=n(67).fastKey,h=n(93),v=d?"_s":"size",m=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,l){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[v]=0,void 0!=r&&u(r,n,e[l],e)});return a(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[v]=0},delete:function(e){var n=h(this,t),r=m(n,e);if(r){var o=r.n,a=r.p;delete n._i[r.i],r.r=!0,a&&(a.n=o),o&&(o.p=a),n._f==r&&(n._f=o),n._l==r&&(n._l=a),n[v]--}return!!r},forEach:function(e){h(this,t);for(var n,r=i(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!m(h(this,t),e)}}),d&&r(c.prototype,"size",{get:function(){return h(this,t)[v]}}),c},def:function(e,t,n){var r,o,a=m(e,t);return a?a.v=n:(e._l=a={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=a),r&&(r.n=a),e[v]++,"F"!==o&&(e._i[o]=a)),e},getEntry:m,setStrong:function(e,t,n){l(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?c(0,n.k):"values"==t?c(0,n.v):c(0,[n.k,n.v]):(e._t=void 0,c(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){var r=n(120),o=n(303);e.exports=function(e){return function(){if(r(this)!=e)throw TypeError(e+"#toJSON isn't generic");return o(this)}}},function(e,t,n){"use strict";var r=n(79),o=n(67).getWeak,a=n(5),i=n(8),s=n(73),u=n(74),l=n(46),c=n(34),f=n(93),d=l(5),p=l(6),h=0,v=function(e){return e._l||(e._l=new m)},m=function(){this.a=[]},g=function(e,t){return d(e.a,function(e){return e[0]===t})};m.prototype={get:function(e){var t=g(this,e);if(t)return t[1]},has:function(e){return!!g(this,e)},set:function(e,t){var n=g(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,a){var l=e(function(e,r){s(e,l,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&u(r,n,e[a],e)});return r(l.prototype,{delete:function(e){if(!i(e))return!1;var n=o(e);return n===!0?v(f(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!i(e))return!1;var n=o(e);return n===!0?v(f(this,t)).has(e):n&&c(n,this._i)}}),l},def:function(e,t,n){var r=o(a(t),!0);return r===!0?v(e).set(t,n):r[e._i]=n,e},ufstore:v}},function(e,t,n){"use strict";function r(e,t,n,l,c,f,d,p){for(var h,v,m=c,g=0,y=!!d&&s(d,p,3);g<l;){if(g in n){if(h=y?y(n[g],g,t):n[g],v=!1,a(h)&&(v=h[u],v=void 0!==v?!!v:o(h)),v&&f>0)m=r(e,t,h,i(h.length),m,f-1)-1;else{if(m>=9007199254740991)throw TypeError();e[m]=h}m++}g++}return m}var o=n(138),a=n(8),i=n(15),s=n(41),u=n(11)("isConcatSpreadable");e.exports=r},function(e,t,n){e.exports=!n(13)&&!n(7)(function(){return 7!=Object.defineProperty(n(204)("div"),"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(8),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(5);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(213),o=Math.pow,a=o(2,-52),i=o(2,-23),s=o(2,127)*(2-i),u=o(2,-126),l=function(e){return e+1/a-1/a};e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),c=r(e);return o<u?c*l(o/u/i)*u*i:(t=(1+i/a)*o,n=t-(t-o),n>s||n!=n?c*(1/0):c*n)}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t){e.exports=Math.scale||function(e,t,n,r,o){return 0===arguments.length||e!=e||t!=t||n!=n||r!=r||o!=o?NaN:e===1/0||e===-(1/0)?e:(e-t)*(o-r)/(n-t)+r}},function(e,t,n){"use strict";var r=n(77),o=n(142),a=n(122),i=n(22),s=n(121),u=Object.assign;e.exports=!u||n(7)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=i(e),u=arguments.length,l=1,c=o.f,f=a.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},function(e,t,n){var r=n(14),o=n(5),a=n(77);e.exports=n(13)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,u=0;s>u;)r.f(e,n=i[u++],t[n]);return e}},function(e,t,n){var r=n(37),o=n(76).f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return i.slice()}};e.exports.f=function(e){return i&&"[object Window]"==a.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(34),o=n(37),a=n(134)(!1),i=n(217)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),u=0,l=[];for(n in s)n!=i&&r(s,n)&&l.push(n);for(;t.length>u;)r(s,n=t[u++])&&(~a(l,n)||l.push(n));return l}},function(e,t,n){var r=n(77),o=n(37),a=n(122).f;e.exports=function(e){return function(t){for(var n,i=o(t),s=r(i),u=s.length,l=0,c=[];u>l;)a.call(i,n=s[l++])&&c.push(e?[n,i[n]]:i[n]);return c}}},function(e,t,n){var r=n(76),o=n(142),a=n(5),i=n(6).Reflect;e.exports=i&&i.ownKeys||function(e){var t=r.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(6).parseFloat,o=n(92).trim;e.exports=1/r(n(221)+"-0")!==-(1/0)?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(6).parseInt,o=n(92).trim,a=n(221),i=/^[-+]?0[xX]/;e.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(i.test(n)?16:10))}:r},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(5),o=n(8),a=n(215);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=a.f(e),i=n.resolve;return i(t),n.promise}},function(e,t,n){var r=n(15),o=n(220),a=n(47);e.exports=function(e,t,n,i){var s=String(a(e)),u=s.length,l=void 0===n?" ":String(n),c=r(t);if(c<=u||""==l)return s;var f=c-u,d=o.call(l,Math.ceil(f/l.length));return d.length>f&&(d=d.slice(0,f)),i?d+s:s+d}},function(e,t,n){var r=n(49),o=n(15);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){t.f=n(11)},function(e,t,n){"use strict";var r=n(306),o=n(93),a="Map";e.exports=n(135)(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,a),e);return t&&t.v},set:function(e,t){return r.def(o(this,a),0===e?0:e,t)}},r,!0)},function(e,t,n){n(13)&&"g"!=/./g.flags&&n(14).f(RegExp.prototype,"flags",{configurable:!0,get:n(137)})},function(e,t,n){"use strict";var r=n(306),o=n(93),a="Set";e.exports=n(135)(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,a),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(46)(0),a=n(31),i=n(67),s=n(318),u=n(308),l=n(8),c=n(7),f=n(93),d="WeakMap",p=i.getWeak,h=Object.isExtensible,v=u.ufstore,m={},g=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(l(e)){var t=p(e);return t===!0?v(f(this,d)).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,d),e,t)}},b=e.exports=n(135)(d,g,y,u,!0,!0);c(function(){return 7!=(new b).set((Object.freeze||Object)(m),7).get(m)})&&(r=u.getConstructor(g,d),s(r.prototype,y),i.NEED=!0,o(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];a(t,e,function(t,o){if(l(t)&&!h(t)){this._f||(this._f=new r);var a=this._f[e](t,o);return"set"==e?this:a}return n.call(this,t,o)})}))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(0,i.default)(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(790),i=r(a);e.exports=t.default},function(e,t,n){"use strict";var r=n(51),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};e.exports=o},function(e,t){"use strict";function n(e){try{e.focus()}catch(e){}}e.exports=n},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},t.supportsPopStateOnHashChange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},t.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(e,t){"use strict";function n(e,t){e.indexOf(t)===-1&&e.push(t)}function r(e,t){if(Array.isArray(t))for(var r=0,o=t.length;r<o;++r)n(e,t[r]);else n(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,e.exports=t.default},function(e,t){"use strict";function n(e){return e instanceof Object&&!Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e,t,n,r,o){for(var a=0,i=e.length;a<i;++a){var s=e[a](t,n,r,o);if(s)return s}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){var r=n(97),o=n(60),a=r(o,"Set");e.exports=a},function(e,t,n){function r(e){var t=-1,n=e?e.length:0;for(this.__data__=new o;++t<n;)this.push(e[t])}var o=n(231),a=n(846);r.prototype.push=a,e.exports=r},function(e,t,n){var r=n(60),o=r.Uint8Array;e.exports=o},function(e,t){function n(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}e.exports=n},function(e,t,n){function r(e,t){return!!e.length&&o(e,t,0)>-1}var o=n(830);e.exports=r},function(e,t){function n(e,t,n){for(var r=-1,o=e.length;++r<o;)if(n(t,e[r]))return!0;return!1}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=n},function(e,t){function n(e,t,n,r){var o=-1,a=e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}e.exports=n},function(e,t,n){function r(e,t,n){(void 0===n||o(e[t],n))&&("number"!=typeof t||void 0!==n||t in e)||(e[t]=n)}var o=n(161);e.exports=r},function(e,t,n){function r(e,t,n){var r=e[t];i.call(e,t)&&o(r,n)&&(void 0!==n||t in e)||(e[t]=n)}var o=n(161),a=Object.prototype,i=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t){var n=o(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():i.call(e,n,1),!0}var o=n(154),a=Array.prototype,i=a.splice;e.exports=r},function(e,t,n){function r(e,t){var n=o(e,t);return n<0?void 0:e[n][1]}var o=n(154);e.exports=r},function(e,t,n){function r(e,t){return o(e,t)>-1}var o=n(154);e.exports=r},function(e,t,n){function r(e,t,n){var r=o(e,t);r<0?e.push([t,n]):e[r][1]=n}var o=n(154);e.exports=r},function(e,t,n){function r(e,t,n,_,k,C,S){var O;if(_&&(O=C?_(e,k,C,S):_(e)),void 0!==O)return O;if(!b(e))return e;var T=m(e);if(T){if(O=p(e),!t)return l(e,O)}else{var A=d(e),j=A==E||A==P;if(g(e))return u(e,t);if(A==M||A==w||j&&!C){if(y(e))return C?e:{};if(O=v(j?{}:e),!t)return c(e,s(O,e))}else{if(!K[A])return C?e:{};O=h(e,A,r,t)}}S||(S=new o);var R=S.get(e);if(R)return R;if(S.set(e,O),!T)var N=n?f(e):x(e);return a(N||e,function(o,a){N&&(a=o,o=e[a]),i(O,a,r(o,t,n,_,a,e,S))}),O}var o=n(153),a=n(346),i=n(353),s=n(823),u=n(848),l=n(365),c=n(855),f=n(861),d=n(368),p=n(869),h=n(870),v=n(871),m=n(38),g=n(890),y=n(155),b=n(52),x=n(100),w="[object Arguments]",_="[object Array]",k="[object Boolean]",C="[object Date]",S="[object Error]",E="[object Function]",P="[object GeneratorFunction]",O="[object Map]",T="[object Number]",M="[object Object]",A="[object RegExp]",j="[object Set]",R="[object String]",N="[object Symbol]",I="[object WeakMap]",D="[object ArrayBuffer]",L="[object DataView]",F="[object Float32Array]",B="[object Float64Array]",W="[object Int8Array]",U="[object Int16Array]",z="[object Int32Array]",G="[object Uint8Array]",q="[object Uint8ClampedArray]",H="[object Uint16Array]",V="[object Uint32Array]",K={};K[w]=K[_]=K[D]=K[L]=K[k]=K[C]=K[F]=K[B]=K[W]=K[U]=K[z]=K[O]=K[T]=K[M]=K[A]=K[j]=K[R]=K[N]=K[G]=K[q]=K[H]=K[V]=!0,K[S]=K[E]=K[I]=!1,e.exports=r},function(e,t,n){function r(e,t,n,i,s){var u=-1,l=e.length;for(n||(n=a),s||(s=[]);++u<l;){var c=e[u];t>0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=n(350),a=n(872);e.exports=r},function(e,t,n){function r(e,t){t=a(t,e)?[t]:o(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[i(t[n++])];return n&&n==r?e:void 0}var o=n(364),a=n(157),i=n(160);e.exports=r},function(e,t,n){function r(e,t){return i.call(e,t)||"object"==typeof e&&t in e&&null===o(e)}var o=n(236),a=Object.prototype,i=a.hasOwnProperty;e.exports=r},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function r(e,t){var n=e.__data__;if(o(t)){var r=n.__data__,i="string"==typeof t?r.string:r.hash;return i[t]===a}return n.has(t)}var o=n(98),a="__lodash_hash_undefined__";e.exports=r},function(e,t,n){function r(e){return o(e)?e:a(e)}var o=n(38),a=n(885);e.exports=r},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=n},function(e,t,n){function r(e,t,n,r,s,u){var l=-1,c=s&i,f=s&a,d=e.length,p=t.length;if(d!=p&&!(c&&p>d))return!1;var h=u.get(e);if(h)return h==t;var v=!0;for(u.set(e,t);++l<d;){var m=e[l],g=t[l];if(r)var y=c?r(g,m,l,t,e,u):r(m,g,l,e,t,u);if(void 0!==y){if(y)continue;v=!1;break}if(f){if(!o(t,function(e){return m===e||n(m,e,r,s,u)})){v=!1;break}}else if(m!==g&&!n(m,g,r,s,u)){v=!1;break}}return u.delete(e),v}var o=n(822),a=1,i=2;e.exports=r},function(e,t){function n(e){return r(Object(e))}var r=Object.getOwnPropertySymbols;r||(n=function(){return[]}),e.exports=n},function(e,t,n){function r(e){return g.call(e)}var o=n(814),a=n(96),i=n(816),s=n(343),u=n(818),l=n(374),c="[object Map]",f="[object Object]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",v="[object DataView]",m=Object.prototype,g=m.toString,y=l(o),b=l(a),x=l(i),w=l(s),_=l(u);(o&&r(new o(new ArrayBuffer(1)))!=v||a&&r(new a)!=c||i&&r(i.resolve())!=d||s&&r(new s)!=p||u&&r(new u)!=h)&&(r=function(e){var t=g.call(e),n=t==f?e.constructor:void 0,r=n?l(n):void 0;if(r)switch(r){case y:return v;case b:return c;case x:return d;case w:return p;case _:return h}return t}),e.exports=r},function(e,t,n){function r(e,t){return o?void 0!==e[t]:i.call(e,t)}var o=n(158),a=Object.prototype,i=a.hasOwnProperty;e.exports=r},function(e,t,n){function r(e){var t=e?e.length:void 0;return s(t)&&(i(e)||u(e)||a(e))?o(t,String):null}var o=n(841),a=n(162),i=n(38),s=n(164),u=n(378);e.exports=r},function(e,t,n){function r(e){return e===e&&!o(e)}var o=n(52);e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e.exports=n},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var r=Function.prototype.toString;e.exports=n},function(e,t,n){function r(e){return o(e,!0,!0)}var o=n(358);e.exports=r},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){function r(e,t){return o(e,t)}var o=n(233);e.exports=r},function(e,t,n){function r(e){return"string"==typeof e||!o(e)&&a(e)&&u.call(e)==i}var o=n(38),a=n(99),i="[object String]",s=Object.prototype,u=s.toString;e.exports=r},function(e,t,n){function r(e){for(var t=-1,n=s(e),r=o(e),u=r.length,c=a(e),f=!!c,d=c||[],p=d.length;++t<u;){var h=r[t];f&&("length"==h||i(h,p))||"constructor"==h&&(n||!l.call(e,h))||d.push(h)}return d}var o=n(835),a=n(370),i=n(156),s=n(237),u=Object.prototype,l=u.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(904),a=r(o);t.default=a.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(384),a=r(o),i=n(16),s=r(i),u=n(12),l=r(u),c=n(17),f=r(c),d=n(19),p=r(d),h=n(18),v=r(h),m=n(931),g=r(m),y=n(24),b=r(y),x=n(2),w=r(x),_=n(3),k=r(_),C=n(53),S=r(C),E=n(272),P=r(E),O=n(386),T=r(O),M=n(916),A=r(M),j=function(e){var t=(0,g.default)(e),n=t.slice(1);return n},R=function(e){function t(e,n){(0,l.default)(this,t);var r=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e,n));return r.handleMouseDown=function(e){0===e.button&&r.start(e,!1)},r.handleMouseUp=function(){r.end()},r.handleMouseLeave=function(){r.end()},r.handleTouchStart=function(e){e.stopPropagation(),r.props.abortOnScroll&&e.touches&&(r.startListeningForScrollAbort(e),r.startTime=Date.now()),r.start(e,!0)},r.handleTouchEnd=function(){r.end()},r.handleTouchMove=function(e){var t=Math.abs(Date.now()-r.startTime);if(t>300)return void r.stopListeningForScrollAbort();var n=Math.abs(e.touches[0].clientY-r.firstTouchY),o=Math.abs(e.touches[0].clientX-r.firstTouchX);if(n>6||o>6){var i=r.state.ripples,s=i[0],u=w.default.cloneElement(s,{aborted:!0});i=j(i),i=[].concat((0,a.default)(i),[u]),r.setState({ripples:i},function(){r.end()})}},r.ignoreNextMouseDown=!1,r.state={hasRipples:!1,nextKey:0,ripples:[]},r}return(0,v.default)(t,e),(0,f.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(this.ignoreNextMouseDown&&!t)return void(this.ignoreNextMouseDown=!1);var r=this.state.ripples;r=[].concat((0,a.default)(r),[w.default.createElement(A.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:r})}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:j(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=S.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=T.default.offset(t),a=e.touches&&e.touches.length,i=a?e.touches[0].pageX:e.pageX,s=a?e.touches[0].pageY:e.pageY,u=i-o.left,l=s-o.top,c=this.calcDiag(u,l),f=this.calcDiag(r-u,l),d=this.calcDiag(r-u,n-l),p=this.calcDiag(u,n-l),h=Math.max(c,f,d,p),v=2*h,m=u-h,g=l-h;return{directionInvariant:!0,height:v,width:v,top:g,left:m}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,a=r.ripples,i=this.context.muiTheme.prepareStyles,s=void 0;if(o){var u=(0,b.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none"},n);s=w.default.createElement(P.default,{style:i(u)},a)}return w.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},s,t)}}]),t}(x.Component);R.defaultProps={abortOnScroll:!0},R.contextTypes={muiTheme:k.default.object.isRequired},R.propTypes={},t.default=R},function(e,t,n){e.exports={default:n(534),__esModule:!0}},function(e,t,n){e.exports={default:n(286),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(382),a=r(o);t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,a.default)(e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(929),a=r(o),i=n(928),s=r(i),u="function"==typeof s.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};t.default="function"==typeof s.default&&"symbol"===u(a.default)?function(e){return"undefined"==typeof e?"undefined":u(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":u(e)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDescendant:function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={once:function(e,t,n){for(var r=t?t.split(" "):[],o=function e(t){return t.target.removeEventListener(t.type,e),n(t)},a=r.length-1;a>=0;a--)this.on(e,r[a],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,function(){n.call(e)})},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return["keydown","keypress","keyup"].indexOf(e.type)!==-1}}},function(e,t,n){var r,o,a;/*!
  		Papa Parse
  		v4.1.4
  		https://github.com/mholt/PapaParse
  	*/
  !function(n,i){o=[],r=i,a="function"==typeof r?r.apply(t,o):r,!(void 0!==a&&(e.exports=a))}(this,function(){"use strict";function e(e,t){if(t=t||{},t.dynamicTyping=t.dynamicTyping||!1,t.worker&&C.WORKERS_SUPPORTED){var n=l();return n.userStep=t.step,n.userChunk=t.chunk,n.userComplete=t.complete,n.userError=t.error,t.step=m(t.step),t.chunk=m(t.chunk),t.complete=m(t.complete),t.error=m(t.error),delete t.worker,void n.postMessage({input:e,config:t,workerId:n.id})}var i=null;return"string"==typeof e?i=t.download?new r(t):new a(t):(y.File&&e instanceof File||e instanceof Object)&&(i=new o(t)),i.stream(e)}function t(e,t){function n(){"object"==typeof t&&("string"==typeof t.delimiter&&1===t.delimiter.length&&C.BAD_DELIMITERS.indexOf(t.delimiter)===-1&&(l=t.delimiter),("boolean"==typeof t.quotes||t.quotes instanceof Array)&&(s=t.quotes),"string"==typeof t.newline&&(c=t.newline),"string"==typeof t.quoteChar&&(f=t.quoteChar),"boolean"==typeof t.header&&(u=t.header))}function r(e){if("object"!=typeof e)return[];var t=[];for(var n in e)t.push(n);return t}function o(e,t){var n="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var r=e instanceof Array&&e.length>0,o=!(t[0]instanceof Array);if(r&&u){for(var i=0;i<e.length;i++)i>0&&(n+=l),n+=a(e[i],i);t.length>0&&(n+=c)}for(var s=0;s<t.length;s++){for(var f=r?e.length:t[s].length,d=0;d<f;d++){d>0&&(n+=l);var p=r&&o?e[d]:d;n+=a(t[s][p],d)}s<t.length-1&&(n+=c)}return n}function a(e,t){if("undefined"==typeof e||null===e)return"";e=e.toString().replace(d,f+f);var n="boolean"==typeof s&&s||s instanceof Array&&s[t]||i(e,C.BAD_DELIMITERS)||e.indexOf(l)>-1||" "===e.charAt(0)||" "===e.charAt(e.length-1);return n?f+e+f:e}function i(e,t){for(var n=0;n<t.length;n++)if(e.indexOf(t[n])>-1)return!0;return!1}var s=!1,u=!0,l=",",c="\r\n",f='"';n();var d=new RegExp(f,"g");if("string"==typeof e&&(e=JSON.parse(e)),e instanceof Array){if(!e.length||e[0]instanceof Array)return o(null,e);if("object"==typeof e[0])return o(r(e[0]),e)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),e.data instanceof Array&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=e.data[0]instanceof Array?e.fields:r(e.data[0])),e.data[0]instanceof Array||"object"==typeof e.data[0]||(e.data=[e.data])),o(e.fields||[],e.data||[]);throw"exception: Unable to serialize unrecognized input"}function n(e){function t(e){var t=h(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null),this._handle=new i(t),this._handle.streamer=this,this._config=t}this._handle=null,this._paused=!1,this._finished=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},t.call(this,e),this.parseChunk=function(e){if(this.isFirstChunk&&m(this._config.beforeFirstChunk)){var t=this._config.beforeFirstChunk(e);void 0!==t&&(e=t)}this.isFirstChunk=!1;var n=this._partialLine+e;this._partialLine="";var r=this._handle.parse(n,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var o=r.meta.cursor;this._finished||(this._partialLine=n.substring(o-this._baseIndex),this._baseIndex=o),r&&r.data&&(this._rowCount+=r.data.length);var a=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(x)y.postMessage({results:r,workerId:C.WORKER_ID,finished:a});else if(m(this._config.chunk)){if(this._config.chunk(r,this._handle),this._paused)return;r=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(r.data),this._completeResults.errors=this._completeResults.errors.concat(r.errors),this._completeResults.meta=r.meta),!a||!m(this._config.complete)||r&&r.meta.aborted||this._config.complete(this._completeResults,this._input),a||r&&r.meta.paused||this._nextChunk(),r}},this._sendError=function(e){m(this._config.error)?this._config.error(e):x&&this._config.error&&y.postMessage({workerId:C.WORKER_ID,error:e,finished:!1})}}function r(e){function t(e){var t=e.getResponseHeader("Content-Range");return null===t?-1:parseInt(t.substr(t.lastIndexOf("/")+1))}e=e||{},e.chunkSize||(e.chunkSize=C.RemoteChunkSize),n.call(this,e);var r;b?this._nextChunk=function(){this._readChunk(),this._chunkLoaded()}:this._nextChunk=function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)return void this._chunkLoaded();if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),b||(r.onload=v(this._chunkLoaded,this),r.onerror=v(this._chunkError,this)),r.open("GET",this._input,!b),this._config.chunkSize){var e=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+e),r.setRequestHeader("If-None-Match","webkit-no-cache")}try{r.send()}catch(e){this._chunkError(e.message)}b&&0===r.status?this._chunkError():this._start+=this._config.chunkSize},this._chunkLoaded=function(){if(4==r.readyState){if(r.status<200||r.status>=400)return void this._chunkError();this._finished=!this._config.chunkSize||this._start>t(r),this.parseChunk(r.responseText)}},this._chunkError=function(e){var t=r.statusText||e;this._sendError(t)}}function o(e){e=e||{},e.chunkSize||(e.chunkSize=C.LocalChunkSize),n.call(this,e);var t,r,o="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,r=e.slice||e.webkitSlice||e.mozSlice,o?(t=new FileReader,t.onload=v(this._chunkLoaded,this),t.onerror=v(this._chunkError,this)):t=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var n=Math.min(this._start+this._config.chunkSize,this._input.size);e=r.call(e,this._start,n)}var a=t.readAsText(e,this._config.encoding);o||this._chunkLoaded({target:{result:a}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(t.error)}}function a(e){e=e||{},n.call(this,e);var t,r;this.stream=function(e){return t=e,r=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?r.substr(0,e):r;return r=e?r.substr(e):"",this._finished=!r,this.parseChunk(t)}}}function i(e){function t(){if(_&&p&&(c("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+C.DefaultDelimiter+"'"),p=!1),e.skipEmptyLines)for(var t=0;t<_.data.length;t++)1===_.data[t].length&&""===_.data[t][0]&&_.data.splice(t--,1);return n()&&r(),a()}function n(){return e.header&&0===w.length}function r(){if(_){for(var e=0;n()&&e<_.data.length;e++)for(var t=0;t<_.data[e].length;t++)w.push(_.data[e][t]);_.data.splice(0,1)}}function o(t,n){return(e.dynamicTyping[t]||e.dynamicTyping)===!0?"true"===n||"TRUE"===n||"false"!==n&&"FALSE"!==n&&l(n):n}function a(){if(!_||!e.header&&!e.dynamicTyping)return _;for(var t=0;t<_.data.length;t++){for(var n=e.header?{}:[],r=0;r<_.data[t].length;r++){var a=r,i=_.data[t][r];e.header&&(a=r>=w.length?"__parsed_extra":w[r]),i=o(a,i),"__parsed_extra"===a?(n[a]=n[a]||[],n[a].push(i)):n[a]=i}_.data[t]=n,e.header&&(r>w.length?c("FieldMismatch","TooManyFields","Too many fields: expected "+w.length+" fields but parsed "+r,t):r<w.length&&c("FieldMismatch","TooFewFields","Too few fields: expected "+w.length+" fields but parsed "+r,t))}return e.header&&_.meta&&(_.meta.fields=w),_}function i(t,n){for(var r,o,a,i=[",","\t","|",";",C.RECORD_SEP,C.UNIT_SEP],u=0;u<i.length;u++){var l=i[u],c=0,f=0;a=void 0;for(var d=new s({delimiter:l,newline:n,preview:10}).parse(t),p=0;p<d.data.length;p++){var h=d.data[p].length;f+=h,"undefined"!=typeof a?h>1&&(c+=Math.abs(h-a),a=h):a=h}d.data.length>0&&(f/=d.data.length),("undefined"==typeof o||c<o)&&f>1.99&&(o=c,r=l)}return e.delimiter=r,{successful:!!r,bestDelimiter:r}}function u(e){e=e.substr(0,1048576);var t=e.split("\r"),n=e.split("\n"),r=n.length>1&&n[0].length<t[0].length;if(1===t.length||r)return"\n";for(var o=0,a=0;a<t.length;a++)"\n"===t[a][0]&&o++;return o>=t.length/2?"\r\n":"\r"}function l(e){var t=v.test(e);return t?parseFloat(e):e}function c(e,t,n,r){_.errors.push({type:e,code:t,message:n,row:r})}var f,d,p,v=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,g=this,y=0,b=!1,x=!1,w=[],_={data:[],errors:[],meta:{}};if(m(e.step)){var k=e.step;e.step=function(r){if(_=r,n())t();else{if(t(),0===_.data.length)return;y+=r.data.length,e.preview&&y>e.preview?d.abort():k(_,g)}}}this.parse=function(n,r,o){if(e.newline||(e.newline=u(n)),p=!1,e.delimiter)"function"==typeof e.delimiter&&(e.delimiter=e.delimiter(n),_.meta.delimiter=e.delimiter);else{var a=i(n,e.newline);a.successful?e.delimiter=a.bestDelimiter:(p=!0,e.delimiter=C.DefaultDelimiter),_.meta.delimiter=e.delimiter}var l=h(e);return e.preview&&e.header&&l.preview++,f=n,d=new s(l),_=d.parse(f,r,o),t(),b?{meta:{paused:!0}}:_||{meta:{paused:!1}}},this.paused=function(){return b},this.pause=function(){b=!0,d.abort(),f=f.substr(d.getCharIndex())},this.resume=function(){b=!1,g.streamer.parseChunk(f)},this.aborted=function(){return x},this.abort=function(){x=!0,d.abort(),_.meta.aborted=!0,m(e.complete)&&e.complete(_),f=""}}function s(e){e=e||{};var t=e.delimiter,n=e.newline,r=e.comments,o=e.step,a=e.preview,i=e.fastMode,s=e.quoteChar||'"';if(("string"!=typeof t||C.BAD_DELIMITERS.indexOf(t)>-1)&&(t=","),r===t)throw"Comment character same as delimiter";r===!0?r="#":("string"!=typeof r||C.BAD_DELIMITERS.indexOf(r)>-1)&&(r=!1),"\n"!=n&&"\r"!=n&&"\r\n"!=n&&(n="\n");var u=0,l=!1;this.parse=function(e,c,f){function d(e){_.push(e),S=u}function p(t){return f?v():("undefined"==typeof t&&(t=e.substr(u)),C.push(t),u=g,d(C),w&&m(),v())}function h(t){u=t,d(C),C=[],T=e.indexOf(n,u)}function v(e){return{data:_,errors:k,meta:{delimiter:t,linebreak:n,aborted:l,truncated:!!e,cursor:S+(c||0)}}}function m(){o(v()),_=[],k=[]}if("string"!=typeof e)throw"Input must be a string";var g=e.length,y=t.length,b=n.length,x=r.length,w="function"==typeof o;u=0;var _=[],k=[],C=[],S=0;if(!e)return v();if(i||i!==!1&&e.indexOf(s)===-1){for(var E=e.split(n),P=0;P<E.length;P++){var C=E[P];if(u+=C.length,P!==E.length-1)u+=n.length;else if(f)return v();if(!r||C.substr(0,x)!==r){if(w){if(_=[],d(C.split(t)),m(),l)return v()}else d(C.split(t));if(a&&P>=a)return _=_.slice(0,a),v(!0)}}return v()}for(var O=e.indexOf(t,u),T=e.indexOf(n,u),M=new RegExp(s+s,"g");;)if(e[u]!==s)if(r&&0===C.length&&e.substr(u,x)===r){if(T===-1)return v();u=T+b,T=e.indexOf(n,u),O=e.indexOf(t,u)}else if(O!==-1&&(O<T||T===-1))C.push(e.substring(u,O)),u=O+y,O=e.indexOf(t,u);else{if(T===-1)break;if(C.push(e.substring(u,T)),h(T+b),w&&(m(),l))return v();if(a&&_.length>=a)return v(!0)}else{var A=u;for(u++;;){var A=e.indexOf(s,A+1);if(A===-1)return f||k.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:_.length,index:u}),p();if(A===g-1){var j=e.substring(u,A).replace(M,s);return p(j)}if(e[A+1]!==s){if(e[A+1]===t){C.push(e.substring(u,A).replace(M,s)),u=A+1+y,O=e.indexOf(t,u),T=e.indexOf(n,u);break}if(e.substr(A+1,b)===n){if(C.push(e.substring(u,A).replace(M,s)),h(A+1+b),O=e.indexOf(t,u),w&&(m(),l))return v();if(a&&_.length>=a)return v(!0);break}}else A++}}return p()},this.abort=function(){l=!0},this.getCharIndex=function(){return u}}function u(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}function l(){if(!C.WORKERS_SUPPORTED)return!1;if(!w&&null===C.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=C.SCRIPT_PATH||g;e+=(e.indexOf("?")!==-1?"&":"?")+"papaworker";var t=new y.Worker(e);return t.onmessage=c,t.id=k++,_[t.id]=t,t}function c(e){var t=e.data,n=_[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var o=function(){r=!0,f(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},a={abort:o,pause:d,resume:d};if(m(n.userStep)){for(var i=0;i<t.results.data.length&&(n.userStep({data:[t.results.data[i]],errors:t.results.errors,meta:t.results.meta},a),!r);i++);delete t.results}else m(n.userChunk)&&(n.userChunk(t.results,a,t.file),delete t.results)}t.finished&&!r&&f(t.workerId,t.results)}function f(e,t){var n=_[e];m(n.userComplete)&&n.userComplete(t),n.terminate(),delete _[e]}function d(){throw"Not implemented."}function p(e){var t=e.data;if("undefined"==typeof C.WORKER_ID&&t&&(C.WORKER_ID=t.workerId),"string"==typeof t.input)y.postMessage({workerId:C.WORKER_ID,results:C.parse(t.input,t.config),finished:!0});else if(y.File&&t.input instanceof File||t.input instanceof Object){var n=C.parse(t.input,t.config);n&&y.postMessage({workerId:C.WORKER_ID,results:n,finished:!0})}}function h(e){if("object"!=typeof e)return e;var t=e instanceof Array?[]:{};for(var n in e)t[n]=h(e[n]);return t}function v(e,t){return function(){e.apply(t,arguments)}}function m(e){return"function"==typeof e}var g,y=function(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof y?y:{}}(),b=!y.document&&!!y.postMessage,x=b&&/(\?|&)papaworker(=|&|$)/.test(y.location.search),w=!1,_={},k=0,C={};if(C.parse=e,C.unparse=t,C.RECORD_SEP=String.fromCharCode(30),C.UNIT_SEP=String.fromCharCode(31),C.BYTE_ORDER_MARK="\ufeff",C.BAD_DELIMITERS=["\r","\n",'"',C.BYTE_ORDER_MARK],C.WORKERS_SUPPORTED=!b&&!!y.Worker,C.SCRIPT_PATH=null,C.LocalChunkSize=10485760,C.RemoteChunkSize=5242880,C.DefaultDelimiter=",",C.Parser=s,C.ParserHandle=i,C.NetworkStreamer=r,C.FileStreamer=o,C.StringStreamer=a,y.jQuery){var S=y.jQuery;S.fn.parse=function(e){function t(){if(0===a.length)return void(m(e.complete)&&e.complete());var t=a[0];if(m(e.before)){var o=e.before(t.file,t.inputElem);if("object"==typeof o){if("abort"===o.action)return void n("AbortError",t.file,t.inputElem,o.reason);if("skip"===o.action)return void r();"object"==typeof o.config&&(t.instanceConfig=S.extend(t.instanceConfig,o.config))}else if("skip"===o)return void r()}var i=t.instanceConfig.complete;t.instanceConfig.complete=function(e){m(i)&&i(e,t.file,t.inputElem),r()},C.parse(t.file,t.instanceConfig)}function n(t,n,r,o){m(e.error)&&e.error({name:t},n,r,o)}function r(){a.splice(0,1),t()}var o=e.config||{},a=[];return this.each(function(e){var t="INPUT"===S(this).prop("tagName").toUpperCase()&&"file"===S(this).attr("type").toLowerCase()&&y.FileReader;if(!t||!this.files||0===this.files.length)return!0;for(var n=0;n<this.files.length;n++)a.push({file:this.files[n],inputElem:this,instanceConfig:S.extend({},o)})}),t(),this}}return x?y.onmessage=p:C.WORKERS_SUPPORTED&&(g=u(),document.body?document.addEventListener("DOMContentLoaded",function(){w=!0},!0):w=!0),r.prototype=Object.create(n.prototype),r.prototype.constructor=r,o.prototype=Object.create(n.prototype),o.prototype.constructor=o,a.prototype=Object.create(a.prototype),a.prototype.constructor=a,C})},function(e,t,n){function r(e,t){for(var n,r=[],o=0,a=0,i="",s=t&&t.delimiter||"/";null!=(n=y.exec(e));){var c=n[0],f=n[1],d=n.index;if(i+=e.slice(a,d),a=d+c.length,f)i+=f[1];else{var p=e[a],h=n[2],v=n[3],m=n[4],g=n[5],b=n[6],x=n[7];i&&(r.push(i),i="");var w=null!=h&&null!=p&&p!==h,_="+"===b||"*"===b,k="?"===b||"*"===b,C=n[2]||s,S=m||g;r.push({name:v||o++,prefix:h||"",delimiter:C,optional:k,repeat:_,partial:w,asterisk:!!x,pattern:S?l(S):x?".*":"[^"+u(C)+"]+?"})}}return a<e.length&&(i+=e.substr(a)),i&&r.push(i),r}function o(e,t){return s(r(e,t))}function a(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function i(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function s(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,r){for(var o="",s=n||{},u=r||{},l=u.pretty?a:encodeURIComponent,c=0;c<e.length;c++){var f=e[c];if("string"!=typeof f){var d,p=s[f.name];if(null==p){if(f.optional){f.partial&&(o+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(g(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(d=l(p[h]),!t[c].test(d))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===h?f.prefix:f.delimiter)+d}}else{if(d=f.asterisk?i(p):l(p),!t[c].test(d))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+d+'"');o+=f.prefix+d}}else o+=f}return o}}function u(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function l(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function c(e,t){return e.keys=t,e}function f(e){return e.sensitive?"":"i"}function d(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return c(e,t)}function p(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(m(e[o],t,n).source);var a=new RegExp("(?:"+r.join("|")+")",f(n));return c(a,t)}function h(e,t,n){return v(r(e,n),t,n)}function v(e,t,n){g(t)||(n=t||n,t=[]),n=n||{};for(var r=n.strict,o=n.end!==!1,a="",i=0;i<e.length;i++){var s=e[i];if("string"==typeof s)a+=u(s);else{var l=u(s.prefix),d="(?:"+s.pattern+")";t.push(s),s.repeat&&(d+="(?:"+l+d+")*"),d=s.optional?s.partial?l+"("+d+")?":"(?:"+l+"("+d+"))?":l+"("+d+")",a+=d}}var p=u(n.delimiter||"/"),h=a.slice(-p.length)===p;return r||(a=(h?a.slice(0,-p.length):a)+"(?:"+p+"(?=$))?"),a+=o?"$":r&&h?"":"(?="+p+"|$)",c(new RegExp("^"+a,f(n)),t)}function m(e,t,n){return g(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?d(e,t):g(e)?p(e,t,n):h(e,t,n)}var g=n(810);e.exports=m,e.exports.parse=r,e.exports.compile=o,e.exports.tokensToFunction=s,e.exports.tokensToRegExp=v;var y=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g")},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/dist/",t(0)}([function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t,n){var r=e[t]?e:e.prototype,o=r[t];r[t]=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.call(this,o,t)}}function i(e){e.call(this,a)}function s(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return new l.default(e,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.nodeRenderers=t.treeTypes=t.Parser=t.Tooltip=t.Branch=t.Tree=void 0;var u=n(1),l=o(u),c=n(7),f=o(c),d=n(9),p=o(d),h=n(30),v=o(h),m=n(11),g=o(m),y=n(8),b=o(y),x=n(2),w=r(x);t.Tree=l.default,t.Branch=f.default,t.Tooltip=p.default,t.Parser=v.default,t.treeTypes=g.default,t.nodeRenderers=b.default,t.utils=w,t.default={plugin:i,createTree:s}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object.defineProperty(t,"__esModule",{value:!0});var s=n(2),u=n(7),l=r(u),c=n(9),f=n(10),d=r(f),p=n(11),h=r(p),v=n(29),m=r(v),g=s.dom.addClass,y=s.events.fireEvent,b=s.events.addEvent,x=s.canvas.getPixelRatio,w=s.canvas.translateClick,_=function(){function e(t){var n=this,r=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];a(this,e),this.containerElement="string"==typeof t?document.getElementById(t):t,g(this.containerElement,"pc-container"),this.branches={},this.leaves=[],this.root=!1,this.stringRepresentation="",this.backColour=!1,this.originalTree={},"static"===window.getComputedStyle(this.containerElement).position&&(this.containerElement.style.position="relative"),this.containerElement.style.boxSizing="border-box";var o=document.createElement("canvas");o.id=(this.containerElement.id||"")+"__canvas",o.className="phylocanvas",o.style.position="relative",o.height=t.offsetHeight||400,o.width=t.offsetWidth||400,o.style.zIndex="1",this.containerElement.appendChild(o),this.defaultCollapsed={},this.tooltip=new c.ChildNodesTooltip(this),this.drawn=!1,this.highlighters=[],this.zoom=1,this.zoomFactor=.1,this.disableZoom=!1,this.fillCanvas=!1,this.branchScaling=!0,this.currentBranchScale=1,this.branchScalingStep=1.2,this.pickedup=!1,this.dragging=!1,this.startx=null,this.starty=null,this.pickedup=!1,this.baseNodeSize=1,this.curx=null,this.cury=null,this.origx=null,this.origy=null,this.canvas=o.getContext("2d"),this.canvas.canvas.onselectstart=function(){return!1},this.canvas.fillStyle="#000000",this.canvas.strokeStyle="#000000",this.canvas.save(),this.offsetx=this.canvas.canvas.width/2,this.offsety=this.canvas.canvas.height/2,this.selectedColour="rgba(49,151,245,1)",this.highlightColour="rgba(49,151,245,1)",this.highlightWidth=4,this.highlightSize=2,this.selectedNodeSizeIncrease=0,this.branchColour="rgba(0,0,0,1)",this.branchScalar=1,this.padding=50,this.labelPadding=5,this.multiSelect=!0,this.clickFlag="selected",this.clickFlagPredicate=function(){return!0},this.hoverLabel=!1,this.internalNodesSelectable=!0,this.showLabels=!0,this.showBootstraps=!1,this.setTreeType("radial"),this.maxBranchLength=0,this.lineWidth=1,this.textSize=7,this.font="sans-serif",this.unselectOnClickAway=!0,this.useNavigator&&(this.navigator=new d.default(this)),this.alignLabels=!1,this.farthestNodeFromRootX=0,this.farthestNodeFromRootY=0,this.maxLabelLength={},Object.assign(this,r),this.resizeToContainer(),this.addListener("click",this.clicked.bind(this)),this.addListener("mousedown",this.pickup.bind(this)),this.addListener("mouseup",this.drop.bind(this)),this.addListener("mouseout",this.drop.bind(this)),b(this.canvas.canvas,"mousemove",this.drag.bind(this)),this.disableZoom||(b(this.canvas.canvas,"mousewheel",this.scroll.bind(this)),b(this.canvas.canvas,"DOMMouseScroll",this.scroll.bind(this))),b(window,"resize",function(){n.resizeToContainer(),n.draw()})}return i(e,[{key:"setInitialCollapsedBranches",value:function(){var e,t,n=arguments.length<=0||void 0===arguments[0]?this.root:arguments[0];if(e=n.getChildProperties("id"),e&&e.length>this.defaultCollapsed.min&&e.length<this.defaultCollapsed.max)return void(n.collapsed=!0);for(t=0;t<n.children.length;t++)this.setInitialCollapsedBranches(n.children[t])}},{key:"getNodeAtMousePosition",value:function(e){var t;return(t=this.root).clicked.apply(t,o(w(e,this)))}},{key:"getSelectedNodeIds",value:function(){return this.getNodeIdsWithFlag("selected")}},{key:"getNodeIdsWithFlag",value:function(e){var t=arguments.length<=1||void 0===arguments[1]||arguments[1];return this.leaves.reduce(function(n,r){return r[e]===t&&n.push(r.id),n},[])}},{key:"clicked",value:function(e){var t;if(0===e.button){var n=[];if(this.dragging)return void(this.dragging=!1);if(!this.root)return!1;t=this.getNodeAtMousePosition(e);var r=this.multiSelect&&(e.metaKey||e.ctrlKey);if(t&&t.interactive)if(r){if(t.leaf)t[this.clickFlag]=!t[this.clickFlag];else if(this.internalNodesSelectable){var o=t.getChildProperties(this.clickFlag).some(function(e){return e===!1});t.cascadeFlag(this.clickFlag,o,this.clickFlagPredicate)}n=this.getNodeIdsWithFlag(this.clickFlag),this.draw()}else this.root.cascadeFlag(this.clickFlag,!1,this.clickFlagPredicate),(this.internalNodesSelectable||t.leaf)&&(t.cascadeFlag(this.clickFlag,!0,this.clickFlagPredicate),n=t.getChildProperties("id")),this.draw();else!this.unselectOnClickAway||this.dragging||r||(this.root.cascadeFlag(this.clickFlag,!1,this.clickFlagPredicate),this.draw());this.pickedup||(this.dragging=!1),this.nodesUpdated(n,this.clickFlag)}}},{key:"dblclicked",value:function(e){if(!this.root)return!1;var t=this.getNodeAtMousePosition(e);t&&(t.cascadeFlag("selected",!1),t.toggleCollapsed()),this.pickedup||(this.dragging=!1),this.draw()}},{key:"displayLabels",value:function(){this.showLabels=!0,this.draw()}},{key:"drag",value:function(e){var t=x(this.canvas);if(!this.drawn)return!1;if(this.pickedup){var n=(e.clientX-this.startx)*t,r=(e.clientY-this.starty)*t;Math.abs(n)+Math.abs(r)>5&&(this.dragging=!0,this.offsetx=this.origx+n,this.offsety=this.origy+r,this.draw())}else{var o=e,a=this.getNodeAtMousePosition(o);a&&a.interactive&&(this.internalNodesSelectable||a.leaf)?(this.root.cascadeFlag("hovered",!1),a.hovered=!0,a.leaf||a.hasCollapsedAncestor()||this.tooltip.open(o.clientX,o.clientY,a),this.containerElement.style.cursor="pointer"):(this.tooltip.close(),this.root.cascadeFlag("hovered",!1),this.containerElement.style.cursor="auto"),this.draw()}}},{key:"draw",value:function(e){var t=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];if(this.highlighters.length=0,0===this.maxBranchLength)return void this.loadError(new Error("All branches in the tree are identical."));this.canvas.restore(),t===!1&&this.canvas.clearRect(0,0,this.canvas.canvas.width,this.canvas.canvas.height),this.canvas.lineCap="round",this.canvas.lineJoin="round",this.canvas.strokeStyle=this.branchColour,this.canvas.save(),this.drawn&&!e||(this.prerenderer.run(this),e||this.fitInPanel());var n=x(this.canvas);this.canvas.lineWidth=this.lineWidth/this.zoom,this.canvas.translate(this.offsetx*n,this.offsety*n),this.canvas.scale(this.zoom,this.zoom),this.branchRenderer.render(this,this.root),this.highlighters.forEach(function(e){return e()}),this.drawn=!0,t===!0&&this.canvas.restore()}},{key:"drop",value:function(){return!!this.drawn&&void(this.pickedup=!1)}},{key:"findLeaves",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?"id":arguments[1],n=[],r=!0,o=!1,a=void 0;try{for(var i,s=this.leaves[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var u=i.value;u[t]&&u[t].match(e)&&n.push(u)}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}},{key:"updateLeaves",value:function(e,t,n){var r=!0,o=!1,a=void 0;try{for(var i,s=this.leaves[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var u=i.value;u[t]=!n}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}var l=!0,c=!1,f=void 0;try{for(var d,p=e[Symbol.iterator]();!(l=(d=p.next()).done);l=!0){var u=d.value;u[t]=n}}catch(e){c=!0,f=e}finally{try{!l&&p.return&&p.return()}finally{if(c)throw f}}this.nodesUpdated(e.map(function(e){return e.id}),t)}},{key:"clearSelect",value:function(){this.root.cascadeFlag("selected",!1),this.draw()}},{key:"getPngUrl",value:function(){return this.canvas.canvas.toDataURL()}},{key:"hideLabels",value:function(){this.showLabels=!1,this.draw()}},{key:"load",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2],r=t,o=n;if("function"==typeof t&&(o=t,r={}),o&&(r.callback=o),r.format)return void this.build(e,m.default[r.format],r);var a=!0,i=!1,s=void 0;try{for(var u,l=Object.keys(m.default)[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value,f=m.default[c];if(e.match(f.fileExtension)||e.match(f.validator))return void this.build(e,f,r)}}catch(e){i=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw s}}var d=new Error("String not recognised as a file or a parseable format string");o&&o(d),this.loadError(d)}},{key:"saveOriginalTree",value:function(){this.originalTree.branches=this.branches,this.originalTree.leaves=this.leaves,this.originalTree.root=this.root,this.originalTree.branchLengths={},this.originalTree.parents={}}},{key:"clearState",value:function(){this.root=!1,this.leaves=[],this.branches={},this.drawn=!1}},{key:"saveState",value:function(){if(this.extractNestedBranches(),this.root.branchLength=0,this.maxBranchLength=0,this.root.setTotalLength(),0===this.maxBranchLength)return void this.loadError(new Error("All branches in the tree are identical."))}},{key:"build",value:function(e,t,n){var r=this;this.originalTree={},this.clearState(),l.default.lastId=0;var o=new l.default;o.id="root",this.branches.root=o,this.setRoot(o),t.parse({formatString:e,root:o,options:n},function(t){return t?(n.callback&&n.callback(t),void r.loadError(t)):(r.stringRepresentation=e,r.saveState(),r.setInitialCollapsedBranches(),r.draw(),r.saveOriginalTree(),n.callback&&n.callback(),void r.loadCompleted())})}},{key:"pickup",value:function(e){return!!this.drawn&&(this.origx=this.offsetx,this.origy=this.offsety,0===e.button&&(this.pickedup=!0),this.startx=e.clientX,void(this.starty=e.clientY))}},{key:"redrawFromBranch",value:function(e){this.clearState(),this.resetTree(),this.originalTree.branchLengths[e.id]=e.branchLength,this.originalTree.parents[e.id]=e.parent,this.root=e,this.root.parent=!1,this.saveState(),this.draw(),this.subtreeDrawn(e.id)}},{key:"redrawOriginalTree",value:function(){this.load(this.stringRepresentation),this.originalTreeRedrawn()}},{key:"storeNode",value:function(e){if(e.id&&""!==e.id||(e.id=l.default.generateId()),this.branches[e.id]&&e!==this.branches[e.id]){if(e.leaf)throw new Error("Two nodes on this tree share the id "+e.id);e.id=l.default.generateId()}this.branches[e.id]=e,e.leaf&&this.leaves.push(e)}},{key:"scroll",value:function(e){var t=this;if(e.preventDefault(),!(this._zooming||"wheelDelta"in e&&0===e.wheelDelta)){var n=e.detail<0||e.wheelDelta>0?1:-1;if(this.branchScaling&&(e.metaKey||e.ctrlKey))this.currentBranchScale*=Math.pow(this.branchScalingStep,n),this.setBranchScale(this.currentBranchScale,{x:e.offsetX,y:e.offsetY});else{var r=Math.log(this.zoom)/Math.log(10)+n*this.zoomFactor;this.setZoom(r,e.offsetX,e.offsetY)}this._zooming=!0,setTimeout(function(){t._zooming=!1},128)}}},{key:"selectNodes",value:function(e){var t,n,r,o=e;if(this.root){this.root.cascadeFlag("selected",!1),"string"==typeof e&&(o=o.split(","));for(n in this.branches)if(this.branches.hasOwnProperty(n))for(t=this.branches[n],r=0;r<o.length;r++)o[r]===t.id&&t.cascadeFlag("selected",!0);this.draw()}}},{key:"setFont",value:function(e){isNaN(e)&&(this.font=e,this.draw())}},{key:"setNodeDisplay",value:function(e,t,n){var r=this;if(e)if(this.drawn){var o=[];if(o="string"==typeof e?e.split(","):e,o.length){var a=!0,i=!1,s=void 0;try{for(var u,l=o[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value;c in this.branches&&this.branches[c].setDisplay(t)}}catch(e){i=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw s}}this.draw()}}else n||!function(){var n=r,o=setInterval(function(){this.drawn&&(n.setNodeColourAndShape(e,t,!0),clearInterval(o))})}()}},{key:"setNodeSize",value:function(e){this.baseNodeSize=Number(e),this.draw()}},{key:"setRoot",value:function(e){e.canvas=this.canvas,e.tree=this,this.root=e}},{key:"setTextSize",value:function(e){this.textSize=Number(e),this.draw()}},{key:"setFontSize",value:function(e){this.textSize=this.calculateFontSize?this.calculateFontSize(e):Math.min(e/2,15),this.canvas.font=this.textSize+"pt "+this.font}},{key:"setTreeType",value:function(e,t){if(!(e in h.default))return y(this.containerElement,"error",{error:new Error('"'+e+'" is not a known tree-type.')});var n=this.treeType;this.treeType=e,this.branchRenderer=h.default[e].branchRenderer,this.prerenderer=h.default[e].prerenderer,this.labelAlign=h.default[e].labelAlign,
  this.scaleCollapsedNode=h.default[e].scaleCollapsedNode,this.calculateFontSize=h.default[e].calculateFontSize,this.drawn&&(this.drawn=!1,this.draw()),t||this.treeTypeChanged(n,e)}},{key:"setSize",value:function(e,t){this.canvas.canvas.width=e,this.canvas.canvas.height=t,this.navigator&&this.navigator.resize(),this.adjustForPixelRatio()}},{key:"setZoom",value:function(e){var t=arguments.length<=1||void 0===arguments[1]?this.canvas.canvas.width/2:arguments[1],n=arguments.length<=2||void 0===arguments[2]?this.canvas.canvas.height/2:arguments[2];if(e>-2&&e<2){var r=this.zoom,o=Math.pow(10,e);this.zoom=o,this.offsetx=this.calculateZoomedOffset(this.offsetx,t,r,o),this.offsety=this.calculateZoomedOffset(this.offsety,n,r,o),this.draw()}}},{key:"calculateZoomedOffset",value:function(e,t,n,r){return-1*((-1*e+t)/n*r-t)}},{key:"setBranchScale",value:function(){var e=arguments.length<=0||void 0===arguments[0]?1:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{x:this.canvas.canvas.width/2,y:this.canvas.canvas.height/2}:arguments[1],n=h.default[this.treeType];if(n.branchScalingAxis&&!(e<0)){var r=this.branchScalar;this.branchScalar=this.initialBranchScalar*e;var o=this.branchScalar/r,a=this["offset"+n.branchScalingAxis],i=t[n.branchScalingAxis],s=(t[n.branchScalingAxis]-a)*o+a;this["offset"+n.branchScalingAxis]+=i-s,this.draw()}}},{key:"toggleLabels",value:function(){this.showLabels=!this.showLabels,this.draw()}},{key:"setMaxLabelLength",value:function(){var e;void 0===this.maxLabelLength[this.treeType]&&(this.maxLabelLength[this.treeType]=0);for(var t=0;t<this.leaves.length;t++)e=this.canvas.measureText(this.leaves[t].id),e.width>this.maxLabelLength[this.treeType]&&(this.maxLabelLength[this.treeType]=e.width)}},{key:"originalTreeRedrawn",value:function(){y(this.containerElement,"originalTreeRedrawn",this)}},{key:"loadCompleted",value:function(){y(this.containerElement,"loaded")}},{key:"loadStarted",value:function(){y(this.containerElement,"loading")}},{key:"loadError",value:function(e){y(this.containerElement,"error",{error:e})}},{key:"subtreeDrawn",value:function(e){y(this.containerElement,"subtree",{node:e})}},{key:"nodesUpdated",value:function(e,t){var n=!(arguments.length<=2||void 0===arguments[2])&&arguments[2];y(this.containerElement,"updated",{nodeIds:e,property:t,append:n})}},{key:"addListener",value:function(e,t){b(this.containerElement,e,t)}},{key:"getBounds",value:function(){var e=arguments.length<=0||void 0===arguments[0]?this.leaves:arguments[0],t=e[0].startx,n=e[0].startx,r=e[0].starty,o=e[0].starty,a=!0,i=!1,s=void 0;try{for(var u,l=e[Symbol.iterator]();!(a=(u=l.next()).done);a=!0){var c=u.value,f=c.getBounds();t=Math.min(t,f.minx),n=Math.max(n,f.maxx),r=Math.min(r,f.miny),o=Math.max(o,f.maxy)}}catch(e){i=!0,s=e}finally{try{!a&&l.return&&l.return()}finally{if(i)throw s}}return[[t,r],[n,o]]}},{key:"fitInPanel",value:function(){var e=arguments.length<=0||void 0===arguments[0]?this.getBounds():arguments[0],t=[this.canvas.canvas.width-2*this.padding,this.canvas.canvas.height-2*this.padding],n=[e[1][0]-e[0][0],e[1][1]-e[0][1]],r=x(this.canvas),o=t[0]/n[0],a=t[1]/n[1];this.zoom=Math.min(o,a),this.offsetx=-1*e[0][0]*this.zoom,this.offsety=-1*e[0][1]*this.zoom,o>a?(this.offsetx+=this.padding+(t[0]-n[0]*this.zoom)/2,this.offsety+=this.padding):(this.offsetx+=this.padding,this.offsety+=this.padding+(t[1]-n[1]*this.zoom)/2),this.offsetx=this.offsetx/r,this.offsety=this.offsety/r}},{key:"adjustForPixelRatio",value:function(){var e=x(this.canvas);this.canvas.canvas.style.height=this.canvas.canvas.height+"px",this.canvas.canvas.style.width=this.canvas.canvas.width+"px",e>1&&(this.canvas.canvas.width*=e,this.canvas.canvas.height*=e)}},{key:"treeTypeChanged",value:function(e,t){y(this.containerElement,"typechanged",{oldType:e,newType:t})}},{key:"resetTree",value:function(){if(this.originalTree.branches){this.branches=this.originalTree.branches;var e=!0,t=!1,n=void 0;try{for(var r,o=Object.keys(this.originalTree.branchLengths)[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value;this.branches[a].branchLength=this.originalTree.branchLengths[a],this.branches[a].parent=this.originalTree.parents[a]}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}this.leaves=this.originalTree.leaves,this.root=this.originalTree.root}}},{key:"rotateBranch",value:function(e){this.branches[e.id].rotate()}},{key:"extractNestedBranches",value:function(){this.branches={},this.leaves=[],this.storeNode(this.root),this.root.extractChildren()}},{key:"exportNwk",value:function(){var e=this.root.getNwk();return e.substr(0,e.lastIndexOf(")")+1)+";"}},{key:"resizeToContainer",value:function(){this.setSize(this.containerElement.offsetWidth,this.containerElement.offsetHeight)}},{key:"alignLabels",get:function(){return this.showLabels&&this.labelAlign&&this.labelAlignEnabled},set:function(e){this.labelAlignEnabled=e}}]),e}();t.default=_,_.prototype.on=_.prototype.addListener},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(t,"__esModule",{value:!0}),t.events=t.dom=t.constants=t.canvas=void 0;var o=n(3),a=r(o),i=n(6),s=r(i),u=n(4),l=r(u),c=n(5),f=r(c);t.canvas=a,t.constants=s,t.dom=l,t.events=f},function(e,t,n){"use strict";function r(e){return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}function o(e){return(window.devicePixelRatio||1)/r(e)}function a(e,t){var n=o(t.canvas);return[(e.offsetX-t.offsetx)/t.zoom*n,(e.offsetY-t.offsety)/t.zoom*n]}function i(e,t){var n=e.x,r=e.y,a=o(t.canvas);return{x:n?(n-t.offsetx)/t.zoom*a:null,y:r?(r-t.offsety)/t.zoom*a:null}}function s(e,t){var n=e.x,r=e.y,a=o(t.canvas);return{x:n?n/a*t.zoom+t.offsetx:null,y:r?r/a*t.zoom+t.offsety:null}}Object.defineProperty(t,"__esModule",{value:!0}),t.getBackingStorePixelRatio=r,t.getPixelRatio=o,t.translateClick=a,t.translatePoint=i,t.undoPointTranslation=s;n(4)},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?"text/plain;charset=utf-8":arguments[1],n=new Blob([e],{type:t});return f.createObjectURL(n)}function o(e,t){var n=document.createElement("a"),r="undefined"!=typeof n.download;n.href=e,n.target="_blank",r&&(n.download=t),(0,c.fireEvent)(n,"click"),r&&f.revokeObjectURL(n.href)}function a(e){for(var t=0;e;)t+=e.offsetLeft,e=e.offsetParent;return t}function i(e){for(var t=0;e;)t+=e.offsetTop,e=e.offsetParent;return t}function s(e,t){var n=e.className.split(" ");n.indexOf(t)===-1&&(n.push(t),e.className=n.join(" "))}function u(e,t){var n=e.className.split(" "),r=n.indexOf(t);r!==-1&&(n.splice(r,1),e.className=n.join(" "))}function l(e,t){var n=e.className.split(" "),r=n.indexOf(t);return r!==-1}Object.defineProperty(t,"__esModule",{value:!0}),t.createBlobUrl=r,t.setupDownloadLink=o,t.getX=a,t.getY=i,t.addClass=s,t.removeClass=u,t.hasClass=l;var c=n(5),f=window.URL||window.webkitURL},function(e,t){"use strict";function n(e){return e.preventDefault(),!1}function r(e,t){var n,r,o=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!0)):(n=document.createEventObject(),n.eventType=t),n.eventName=t;for(r in o)o.hasOwnProperty(r)&&(n[r]=o[r]);document.createEvent?e.dispatchEvent(n):e.fireEvent("on"+n.eventType,n)}function o(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,function(){return n.call(e,window.event)})}function a(e){e.stopPropagation(),e.preventDefault()}function i(e,t){var n;return n=("undefined"==typeof t?"undefined":s(t))===s("aaa")?function(n){if(e[t])return e[t](n)}:function(){return t(e)}}var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};Object.defineProperty(t,"__esModule",{value:!0}),t.preventDefault=n,t.fireEvent=r,t.addEvent=o,t.killEvent=a,t.createHandler=i},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Angles={FORTYFIVE:Math.PI/4,QUARTER:Math.PI/2,HALF:Math.PI,FULL:2*Math.PI},t.Shapes={x:"star",s:"square",o:"circle",t:"triangle"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),s=n(8),u=(r(s),i.constants.Angles),l=i.constants.Shapes,c={minx:0,maxx:0,miny:0,maxy:0},f={lineWidth:null,strokeStyle:null,fillStyle:null},d=function(){function e(){o(this,e),this.angle=0,this.branchLength=!1,this.canvas=null,this.centerx=0,this.centery=0,this.children=[],this.collapsed=!1,this.colour=null,this.data={},this.highlighted=!1,this.hovered=!1,this.id="",this.interx=0,this.intery=0,this.label=null,this.leaf=!0,this.maxChildAngle=0,this.minChildAngle=u.FULL,this.nodeShape="circle",this.parent=null,this.radius=1,this.selected=!1,this.startx=0,this.starty=0,this.totalBranchLength=0,this.tree={},this.pruned=!1,this.labelStyle={},this.interactive=!0,this.leafStyle={}}return a(e,[{key:"clicked",value:function(e,t){var n,r;if(!this.dragging){if(e<this.maxx&&e>this.minx&&t<this.maxy&&t>this.miny)return this;for(n=this.children.length-1;n>=0;n--)if(r=this.children[n].clicked(e,t))return r}}},{key:"drawLabel",value:function(){var e=this.getTextSize(),t=this.getLabel();this.canvas.font=this.getFontString(),this.labelWidth=this.canvas.measureText(t).width,void 0===this.tree.maxLabelLength[this.tree.treeType]&&(this.tree.maxLabelLength[this.tree.treeType]=0),this.labelWidth>this.tree.maxLabelLength[this.tree.treeType]&&(this.tree.maxLabelLength[this.tree.treeType]=this.labelWidth);var n=this.getLabelStartX();this.tree.alignLabels&&(n+=Math.abs(this.tree.labelAlign.getLabelOffset(this))),this.angle>u.QUARTER&&this.angle<u.HALF+u.QUARTER&&(this.canvas.rotate(u.HALF),n=-n-1*this.labelWidth),this.canvas.beginPath(),this.canvas.fillStyle=this.getTextColour(),this.canvas.fillText(t,n,e/2),this.canvas.closePath(),this.angle>u.QUARTER&&this.angle<u.HALF+u.QUARTER&&this.canvas.rotate(u.HALF)}},{key:"setNodeDimensions",value:function(e,t,n){var r=n;(n*this.tree.zoom<5||!this.leaf)&&(r=5/this.tree.zoom),this.minx=e-r,this.maxx=e+r,this.miny=t-r,this.maxy=t+r}},{key:"drawCollapsed",value:function(e,t){var n=this.getChildProperties("id"),r=n.length;this.tree.scaleCollapsedNode&&(r=this.tree.scaleCollapsedNode(r)),this.canvas.globalAlpha=.3,this.canvas.beginPath(),this.canvas.arc(e,t,r,0,2*Math.PI,!1),this.canvas.fillStyle=this.tree.defaultCollapsed.color?this.tree.defaultCollapsed.color:"purple",this.canvas.fill(),this.canvas.globalAlpha=1,this.canvas.closePath()}},{key:"drawLabelConnector",value:function(){var e=this.tree,t=e.highlightColour,n=e.labelAlign;this.canvas.save(),this.canvas.lineWidth=this.canvas.lineWidth/4,this.canvas.strokeStyle=this.isHighlighted?t:this.getColour(),this.canvas.beginPath(),this.canvas.moveTo(this.getRadius(),0),this.canvas.lineTo(n.getLabelOffset(this)+this.getDiameter(),0),this.canvas.stroke(),this.canvas.closePath(),this.canvas.restore()}},{key:"drawLeaf",value:function(){var e=this.tree,t=e.alignLabels;e.canvas;t&&this.drawLabelConnector(),(this.tree.showLabels||this.tree.hoverLabel&&this.isHighlighted)&&this.drawLabel()}},{key:"drawHighlight",value:function(e,t){this.canvas.save(),this.canvas.beginPath(),this.canvas.strokeStyle=this.tree.highlightColour,this.canvas.lineWidth=this.getHighlightLineWidth();var n=this.getHighlightRadius();this.canvas.arc(e,t,n,0,u.FULL,!1),this.canvas.stroke(),this.canvas.closePath(),this.canvas.restore()}},{key:"drawNode",value:function(){var e=this.getRadius(),t=e,n=this.leaf?t*Math.cos(this.angle)+this.centerx:this.centerx,r=this.leaf?t*Math.sin(this.angle)+this.centery:this.centery;this.setNodeDimensions(n,r,e),this.collapsed?this.drawCollapsed(n,r):this.leaf&&(this.canvas.save(),this.canvas.translate(this.centerx,this.centery),this.canvas.rotate(this.angle),this.drawLeaf(),this.canvas.restore()),this.isHighlighted&&this.tree.highlighters.push(this.drawHighlight.bind(this,n,r))}},{key:"getChildProperties",value:function(e){if(this.leaf)return[this[e]];for(var t=[],n=0;n<this.children.length;n++)t=t.concat(this.children[n].getChildProperties(e));return t}},{key:"getChildCount",value:function(){if(this.leaf)return 1;for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].getChildCount();return e}},{key:"getChildYTotal",value:function(){if(this.leaf)return this.centery;for(var e=0,t=0;t<this.children.length;t++)e+=this.children[t].getChildYTotal();return e}},{key:"cascadeFlag",value:function(e,t,n){if("undefined"==typeof this[e])throw new Error("Unknown property: "+e);("undefined"==typeof n||n(this,e,t))&&(this[e]=t);var r=!0,o=!1,a=void 0;try{for(var i,s=this.children[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var u=i.value;u.cascadeFlag(e,t,n)}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}}},{key:"reset",value:function(){var e,t;for(this.startx=0,this.starty=0,this.centerx=0,this.centery=0,this.angle=null,this.minChildAngle=u.FULL,this.maxChildAngle=0,t=0;t<this.children.length;t++)try{this.children[e].pcReset()}catch(e){return e}}},{key:"redrawTreeFromBranch",value:function(){this.collapsed&&this.expand(),this.tree.redrawFromBranch(this)}},{key:"extractChildren",value:function(){var e=!0,t=!1,n=void 0;try{for(var r,o=this.children[Symbol.iterator]();!(e=(r=o.next()).done);e=!0){var a=r.value;this.tree.storeNode(a),a.extractChildren()}}catch(e){t=!0,n=e}finally{try{!e&&o.return&&o.return()}finally{if(t)throw n}}}},{key:"hasCollapsedAncestor",value:function(){return!!this.parent&&(this.parent.collapsed||this.parent.hasCollapsedAncestor())}},{key:"collapse",value:function(){this.collapsed=this.leaf===!1}},{key:"expand",value:function(){this.collapsed=!1}},{key:"toggleCollapsed",value:function(){this.collapsed?this.expand():this.collapse()}},{key:"setTotalLength",value:function(){var e;for(this.parent?(this.totalBranchLength=this.parent.totalBranchLength+this.branchLength,this.totalBranchLength>this.tree.maxBranchLength&&(this.tree.maxBranchLength=this.totalBranchLength)):(this.totalBranchLength=this.branchLength,this.tree.maxBranchLength=this.totalBranchLength),e=0;e<this.children.length;e++)this.children[e].setTotalLength()}},{key:"addChild",value:function(e){e.parent=this,e.canvas=this.canvas,e.tree=this.tree,this.leaf=!1,this.children.push(e)}},{key:"getChildColours",value:function(){var e=[];return this.children.forEach(function(t){var n=0===t.children.length?t.colour:t.getColour();e.indexOf(n)===-1&&e.push(n)}),e}},{key:"getColour",value:function(e){return this.selected?this.tree.selectedColour:e||this.colour||this.tree.branchColour}},{key:"getNwk",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.leaf)return this.label+":"+this.branchLength;var t=this.children.map(function(e){return e.getNwk(!1)});return"("+t.join(",")+"):"+this.branchLength+(e?";":"")}},{key:"getTextColour",value:function(){if(this.selected)return this.tree.selectedColour;if(this.isHighlighted)return this.tree.highlightColour;if(this.tree.backColour&&this.children.length){var e=this.getChildColours();if(1===e.length)return e[0]}return this.labelStyle.colour||this.colour||this.tree.branchColour}},{key:"getLabel",value:function(){return void 0!==this.label&&null!==this.label?this.label:""}},{key:"getTextSize",value:function(){return this.labelStyle.textSize||this.tree.textSize}},{key:"getFontString",value:function(){var e=this.labelStyle.font||this.tree.font;return(this.labelStyle.format||"")+" "+this.getTextSize()+"pt "+e}},{key:"getLabelSize",value:function(){return this.canvas.font=this.getFontString(),this.canvas.measureText(this.getLabel()).width}},{key:"getRadius",value:function(){return this.leaf?this.tree.baseNodeSize*this.radius:this.tree.baseNodeSize/this.radius}},{key:"getDiameter",value:function(){return 2*this.getRadius()}},{key:"hasLabelConnector",value:function(){return!!this.tree.alignLabels&&this.tree.labelAlign.getLabelOffset(this)>this.getDiameter()}},{key:"getLabelStartX",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0],t=this.getLeafStyle(e),n=t.lineWidth,r=this.hasLabelConnector(),o=this.getDiameter();return this.isHighlighted&&!r&&(o+=this.getHighlightSize(e)-this.getRadius()),this.isHighlighted||r||(o+=n/2),o+Math.min(this.tree.labelPadding,this.tree.labelPadding/(e?this.tree.zoom:1))}},{key:"getHighlightLineWidth",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];return this.tree.highlightWidth/(e?this.tree.zoom:1)}},{key:"getHighlightRadius",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0],t=this.getHighlightLineWidth(e)*this.tree.highlightSize;return t+=this.getLeafStyle(e).lineWidth/this.tree.highlightSize,this.leaf?this.getRadius()+t:.666*t}},{key:"getHighlightSize",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];return this.getHighlightRadius(e)+this.getHighlightLineWidth(e)}},{key:"rotate",value:function(e){for(var t=[],n=this.children.length;n--;)t.push(this.children[n]);this.children=t,e.preventredraw||(this.tree.extractNestedBranches(),this.tree.draw(!0))}},{key:"getChildNo",value:function(){return this.parent.children.indexOf(this)}},{key:"setDisplay",value:function(e){var t=e.colour,n=e.shape,r=e.size,o=e.leafStyle,a=e.labelStyle;t&&(this.colour=t),n&&(this.nodeShape=l[n]?l[n]:n),r&&(this.radius=r),o&&(this.leafStyle=o),a&&(this.labelStyle=a)}},{key:"getTotalLength",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0],t=this.getRadius();return(this.tree.showLabels||this.tree.hoverLabel&&this.isHighlighted)&&(t+=this.getLabelStartX(e)+this.getLabelSize()),t}},{key:"getBounds",value:function(){var e=this.tree,t=e.alignLabels?e.labelAlign.getX(this):this.centerx,n=e.alignLabels?e.labelAlign.getY(this):this.centery,r=this.getRadius(),o=this.getTotalLength(!1),a=void 0,i=void 0,s=void 0,l=void 0;this.angle>u.QUARTER&&this.angle<u.HALF+u.QUARTER?(a=t+o*Math.cos(this.angle),s=n+o*Math.sin(this.angle),i=t-r,l=n-r):(a=t-r,s=n-r,i=t+o*Math.cos(this.angle),l=n+o*Math.sin(this.angle));var f=e.prerenderer.getStep(e);return c.minx=Math.min(a,i,t-f),c.miny=Math.min(s,l,n-f),c.maxx=Math.max(a,i,t+f),c.maxy=Math.max(s,l,n+f),c}},{key:"getLeafStyle",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0],t=this.leafStyle,n=t.strokeStyle,r=t.fillStyle,o=this.tree.zoom;f.strokeStyle=this.getColour(n),f.fillStyle=this.getColour(r);var a="undefined"!=typeof this.leafStyle.lineWidth?this.leafStyle.lineWidth:this.tree.lineWidth;return f.lineWidth=a/(e?o:1),f}},{key:"isHighlighted",get:function(){return this.highlighted||this.hovered}}],[{key:"generateId",value:function(){return"pcn"+this.lastId++}}]),e}();d.lastId=0,t.default=d},function(e,t,n){"use strict";function r(e,t){e.beginPath(),e.moveTo(0,0),e.lineTo(t,0),e.stroke(),e.closePath()}function o(e,t){var n=t.lineWidth,r=t.strokeStyle,o=t.fillStyle;e.save(),e.lineWidth=n,e.strokeStyle=r,e.fillStyle=o,e.fill(),n>0&&r!==o&&e.stroke(),e.restore()}Object.defineProperty(t,"__esModule",{value:!0});var a=n(2),i=a.constants.Angles,s=function(e){return e*Math.sqrt(2)};t.default={circle:function(e,t,n){var a=Math.pow(s(t),2),u=Math.sqrt(a/Math.PI);r(e,t-u),e.beginPath(),e.arc(t,0,u,0,i.FULL,!1),e.closePath(),o(e,n)},square:function(e,t,n){var a=s(t),i=t-a/2;r(e,i),e.beginPath(),e.moveTo(i,0),e.lineTo(i,a/2),e.lineTo(i+a,a/2),e.lineTo(i+a,-a/2),e.lineTo(i,-a/2),e.lineTo(i,0),e.closePath(),o(e,n)},star:function(e,t,n){var a=t,i=0,s=5,u=t,l=.5*u,c=Math.PI/s;r(e,u-l);var f=Math.PI/2*3;e.beginPath(),e.moveTo(a,i-u);for(var d=0;d<s;d++){var p=a+Math.cos(f)*u,h=i+Math.sin(f)*u;e.lineTo(p,h),f+=c,p=a+Math.cos(f)*l,h=i+Math.sin(f)*l,e.lineTo(p,h),f+=c}e.lineTo(a,i-u),e.closePath(),o(e,n)},triangle:function(e,t,n){var a=2*t*Math.cos(30*Math.PI/180),i=Math.sqrt(3)/2*a,s=1/Math.sqrt(3)*(a/2);r(e,t-s),e.beginPath(),e.moveTo(t,s),e.lineTo(t+a/2,s),e.lineTo(t,-(i-s)),e.lineTo(t-a/2,s),e.lineTo(t,s),e.closePath(),o(e,n)}}},function(e,t){"use strict";function n(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.className,r=void 0===n?"phylocanvas-tooltip":n,o=t.element,a=void 0===o?document.createElement("div"):o,i=t.zIndex,s=void 0===i?2e3:i,u=t.parent,l=void 0===u?e.containerElement:u;this.tree=e,this.element=a,this.element.className=r,this.element.style.display="none",this.element.style.position="fixed",this.element.style.zIndex=s,this.closed=!0,l.appendChild(this.element)}function r(e,t){n.call(this,e,t),this.element.style.background="rgba(97, 97, 97, 0.9)",this.element.style.color="#fff",this.element.style.cursor="pointer",this.element.style.padding="8px",this.element.style.marginTop="16px",this.element.style.borderRadius="2px",this.element.style.textAlign="center",this.element.style.fontFamily=this.tree.font||"sans-serif",this.element.style.fontSize="10px",this.element.style.fontWeight="500"}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,t.ChildNodesTooltip=r,n.prototype.close=function(){this.element.style.display="none",this.closed=!0},n.prototype.open=function(){for(var e=arguments.length<=0||void 0===arguments[0]?100:arguments[0],t=arguments.length<=1||void 0===arguments[1]?100:arguments[1],n=arguments[2];this.element.hasChildNodes();)this.element.removeChild(this.element.firstChild);this.createContent(n),this.element.style.top=t+"px",this.element.style.left=e+"px",this.element.style.display="block",this.closed=!1},r.prototype=Object.create(n.prototype),r.prototype.constructor=r,r.prototype.createContent=function(e){var t=document.createTextNode(e.getChildProperties("id").length);this.element.appendChild(t)}},function(e,t){"use strict";function n(e){this.tree=e,this.cel=document.createElement("canvas"),this.cel.id=this.tree.containerElement.id+"Navi",this.cel.style.zIndex="100",this.cel.style.backgroundColor="#FFFFFF",this.cel.width=this.tree.canvas.canvas.width/3,this.cel.height=this.tree.canvas.canvas.height/3,this.cel.style.position="absolute",this.cel.style.bottom="0px",this.cel.style.right="0px",this.cel.style.border="1px solid #CCCCCC",this.tree.containerElement.appendChild(this.cel),this.ctx=this.cel.getContext("2d"),this.ctx.translate(this.cel.width/2,this.cel.height/2),this.ctx.save()}n.prototype.drawFrame=function(){var e,t,n,r=this.cel.width,o=this.cel.height,a=r/2,i=o/2;this.ctx.restore(),this.ctx.save(),this.ctx.clearRect(-a,-i,r,o),this.ctx.strokeStyle="rgba(180,180,255,1)",this.tree.drawn?this.ctx.drawImage(this.img,-a,-i,this.cel.width,this.cel.height):(e=this.tree.canvas.canvas.toDataURL(),this.img=document.createElement("img"),this.img.src=e,t=this,this.img.onload=function(){t.ctx.drawImage(t.img,-a,-i,t.cel.width,t.cel.height)},this.baseOffsetx=this.tree.offsetx,this.baseOffsety=this.tree.offsety,this.baseZoom=this.tree.zoom),n=1/(this.tree.zoom/this.baseZoom),this.ctx.lineWidth=this.ctx.lineWidth/n,this.ctx.translate((this.baseOffsetx-this.tree.offsetx*n)*n,(this.baseOffsety-this.tree.offsety*n)*n),this.ctx.scale(n,n),this.ctx.strokeRect(-a,-i,r,o)},n.prototype.resize=function(){this.cel.width=this.tree.canvas.canvas.width/3,this.cel.height=this.tree.canvas.canvas.height/3,this.ctx.translate(this.cel.width/2,this.cel.height/2),this.drawFrame()},e.exports=n},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(12),a=r(o),i=n(17),s=r(i),u=n(20),l=r(u),c=n(23),f=r(c),d=n(26),p=r(d);t.default={rectangular:a.default,circular:s.default,radial:l.default,diagonal:f.default,hierarchical:p.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(13),a=r(o),i=n(14),s=r(i),u=n(15),l=r(u),c=n(16),f=r(c),d={getX:function(e){return e.tree.farthestNodeFromRootX*e.tree.currentBranchScale},getY:function(e){return e.centery},getLabelOffset:function(e){return e.tree.farthestNodeFromRootX*e.tree.currentBranchScale-e.centerx}};t.default={branchRenderer:new a.default(l.default),prerenderer:new s.default(f.default),labelAlign:d,branchScalingAxis:"x"}},function(e,t){"use strict";function n(e){if(!e||!e.draw)throw new Error("`draw` function is required for branch renderers");this.draw=e.draw,this.prepareChild=e.prepareChild}n.prototype.render=function(e,t,n){var r;if(!n&&t&&(t.selected?t.canvas.fillStyle=e.selectedColour:t.canvas.fillStyle=t.colour,t.canvas.strokeStyle=t.getColour(),this.draw(e,t),!t.pruned))for(t.drawNode(),r=0;r<t.children.length;r++)this.prepareChild&&this.prepareChild(t,t.children[r]),this.render(e,t.children[r],t.collapsed||n)},e.exports=n},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(t){n(this,e),this.getStep=t.getStep,this.calculate=t.calculate}return r(e,[{key:"run",value:function(e){var t=this.getStep(e);e.root.startx=0,e.root.starty=0,e.root.centerx=0,e.root.centery=0,e.farthestNodeFromRootX=0,e.farthestNodeFromRootY=0,e.currentBranchScale=1,this.calculate(e,t),e.initialBranchScalar=e.branchScalar,e.root.startx=e.root.centerx,e.root.starty=e.root.centery,e.setFontSize(t),e.setMaxLabelLength()}}]),e}();t.default=o},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=t.branchLength*e.branchScalar;t.angle=0,t.parent&&(t.centerx=t.startx+n),t.canvas.beginPath(),t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.startx,t.centery),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath()},prepareChild:function(e,t){t.startx=e.centerx,t.starty=e.centery}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={getStep:function(e){return e.fillCanvas?e.canvas.canvas.height/e.leaves.length:Math.max(e.canvas.canvas.height/e.leaves.length,e.leaves[0].getDiameter()+e.labelPadding)},calculate:function(e,t){e.branchScalar=e.canvas.canvas.width/e.maxBranchLength;for(var n=0;n<e.leaves.length;n++){e.leaves[n].angle=0,e.leaves[n].centery=n>0?e.leaves[n-1].centery+t:0,e.leaves[n].centerx=e.leaves[n].totalBranchLength*e.branchScalar,e.leaves[n].centerx>e.farthestNodeFromRootX&&(e.farthestNodeFromRootX=e.leaves[n].centerx),e.leaves[n].centery>e.farthestNodeFromRootY&&(e.farthestNodeFromRootY=e.leaves[n].centery);for(var r=e.leaves[n];r.parent;r=r.parent){var o=r.parent.children;r.parent.centery=(o[0].centery+o[o.length-1].centery)/2}}}}},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(13),a=r(o),i=n(14),s=r(i),u=n(18),l=r(u),c=n(19),f=r(c),d={getX:function(e){return e.centerx+e.labelOffsetX+e.getDiameter()*Math.cos(e.angle)},getY:function(e){return e.centery+e.labelOffsetY+e.getDiameter()*Math.sin(e.angle)},getLabelOffset:function(e){return e.labelOffsetX/Math.cos(e.angle)}};t.default={branchRenderer:new a.default(l.default),prerenderer:new s.default(f.default),labelAlign:d,scaleCollapsedNode:function(e){return e/3},calculateFontSize:function(e){return Math.min(10*e+4,40)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=t.totalBranchLength*e.branchScalar;t.canvas.beginPath(),t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath(),t.canvas.strokeStyle=t.getColour(),t.children.length>1&&!t.collapsed&&(t.canvas.beginPath(),t.canvas.arc(0,0,n,t.minChildAngle,t.maxChildAngle,t.maxChildAngle<t.minChildAngle),t.canvas.stroke(),t.canvas.closePath())}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=r.constants.Angles;t.default={getStep:function(e){return o.FULL/e.leaves.length},calculate:function(e,t){e.branchScalar=Math.min(e.canvas.canvas.width,e.canvas.canvas.height)/e.maxBranchLength;var n=e.leaves.length*e.leaves[0].getDiameter()/o.FULL;e.branchScalar*e.maxBranchLength>n?n=e.branchScalar*e.maxBranchLength:e.branchScalar=n/e.maxBranchLength;for(var r=0;r<e.leaves.length;r++){var a=e.leaves[r];for(a.angle=t*r,a.startx=a.parent.totalBranchLength*e.branchScalar*Math.cos(a.angle),a.starty=a.parent.totalBranchLength*e.branchScalar*Math.sin(a.angle),a.centerx=a.totalBranchLength*e.branchScalar*Math.cos(a.angle),a.centery=a.totalBranchLength*e.branchScalar*Math.sin(a.angle),a.labelOffsetX=n*Math.cos(a.angle)-a.centerx,a.labelOffsetY=n*Math.sin(a.angle)-a.centery;a.parent&&(0===a.getChildNo()&&(a.parent.angle=a.angle,a.parent.minChildAngle=a.angle),a.getChildNo()===a.parent.children.length-1);a=a.parent)a.parent.maxChildAngle=a.angle,a.parent.angle=(a.parent.minChildAngle+a.parent.maxChildAngle)/2,a.parent.startx=(a.parent.totalBranchLength-a.parent.branchLength)*e.branchScalar*Math.cos(a.parent.angle),a.parent.starty=(a.parent.totalBranchLength-a.parent.branchLength)*e.branchScalar*Math.sin(a.parent.angle),a.parent.centerx=a.parent.totalBranchLength*e.branchScalar*Math.cos(a.parent.angle),a.parent.centery=a.parent.totalBranchLength*e.branchScalar*Math.sin(a.parent.angle)}}}},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(13),a=r(o),i=n(14),s=r(i),u=n(21),l=r(u),c=n(22),f=r(c);t.default={branchRenderer:new a.default(l.default),prerenderer:new s.default(f.default),scaleCollapsedNode:function(e){return e/7},calculateFontSize:function(e){return Math.min(50*e+5,15)}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){t.canvas.beginPath(),t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath()}}},function(e,t,n){"use strict";function r(e,t){t.parent?(t.startx=t.parent.centerx,t.starty=t.parent.centery):(t.startx=0,t.starty=0),t.centerx=t.startx+t.branchLength*e.branchScalar*Math.cos(t.angle),t.centery=t.starty+t.branchLength*e.branchScalar*Math.sin(t.angle);for(var n=0;n<t.children.length;n++)r(e,t.children[n])}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=o.constants.Angles;t.default={getStep:function(e){return a.FULL/e.leaves.length},calculate:function(e,t){e.branchScalar=Math.min(e.canvas.canvas.width,e.canvas.canvas.height)/e.maxBranchLength;for(var n=0;n<e.leaves.length;n+=1){e.leaves[n].angle=t*n,e.leaves[n].centerx=e.leaves[n].totalBranchLength*e.branchScalar*Math.cos(e.leaves[n].angle),e.leaves[n].centery=e.leaves[n].totalBranchLength*e.branchScalar*Math.sin(e.leaves[n].angle);for(var o=e.leaves[n];o.parent&&(0===o.getChildNo()&&(o.parent.angle=0),o.parent.angle+=o.angle*o.getChildCount(),o.getChildNo()===o.parent.children.length-1);o=o.parent)o.parent.angle=o.parent.angle/o.parent.getChildCount()}r(e,e.root)}}},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(13),a=r(o),i=n(14),s=r(i),u=n(24),l=r(u),c=n(25),f=r(c);t.default={branchRenderer:new a.default(l.default),prerenderer:new s.default(f.default),calculateFontSize:function(e){return Math.min(e/2,10)}}},function(e,t){
  "use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){t.angle=0,t.canvas.beginPath(),t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath()},prepareChild:function(e,t){t.startx=e.centerx,t.starty=e.centery}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=r.constants.Angles;t.default={getStep:function(e){return Math.max(e.canvas.canvas.height/e.leaves.length,e.leaves[0].getDiameter()+e.labelPadding)},calculate:function(e,t){for(var n=0;n<e.leaves.length;n++){e.leaves[n].centerx=0,e.leaves[n].centery=n>0?e.leaves[n-1].centery+t:0,e.leaves[n].angle=0;for(var r=e.leaves[n];r.parent&&r.getChildNo()===r.parent.children.length-1;r=r.parent){r.parent.centery=r.parent.getChildYTotal()/r.parent.getChildCount(),r.parent.centerx=r.parent.children[0].centerx+(r.parent.children[0].centery-r.parent.centery)*Math.tan(o.FORTYFIVE);for(var a=0;a<r.parent.children.length;a++)r.parent.children[a].startx=r.parent.centerx,r.parent.children[a].starty=r.parent.centery}}}}},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(13),a=r(o),i=n(14),s=r(i),u=n(27),l=r(u),c=n(28),f=r(c),d={getX:function(e){return e.centerx},getY:function(e){return e.tree.farthestNodeFromRootY*e.tree.currentBranchScale},getLabelOffset:function(e){return e.tree.farthestNodeFromRootY*e.tree.currentBranchScale-e.centery}};t.default={branchRenderer:new a.default(l.default),prerenderer:new s.default(f.default),labelAlign:d,branchScalingAxis:"y"}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={draw:function(e,t){var n=t.branchLength*e.branchScalar;t.parent&&(t.centery=t.starty+n),t.canvas.beginPath(),t!==t.tree.root&&(t.canvas.moveTo(t.startx,t.starty),t.canvas.lineTo(t.centerx,t.starty)),t.canvas.lineTo(t.centerx,t.centery),t.canvas.stroke(),t.canvas.closePath()},prepareChild:function(e,t){t.startx=e.centerx,t.starty=e.centery}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),o=r.constants.Angles;t.default={getStep:function(e){return e.fillCanvas?e.canvas.canvas.width/e.leaves.length:Math.max(e.canvas.canvas.width/e.leaves.length,e.leaves[0].getDiameter()+e.labelPadding)},calculate:function(e,t){e.branchScalar=e.canvas.canvas.height/e.maxBranchLength;for(var n=0;n<e.leaves.length;n++){e.leaves[n].angle=o.QUARTER,e.leaves[n].centerx=n>0?e.leaves[n-1].centerx+t:0,e.leaves[n].centery=e.leaves[n].totalBranchLength*e.branchScalar;for(var r=e.leaves[n];r.parent&&(0===r.getChildNo()&&(r.parent.centerx=r.centerx),r.getChildNo()===r.parent.children.length-1);r=r.parent){r.parent.angle=o.QUARTER,r.parent.centerx=(r.parent.centerx+r.centerx)/2,r.parent.centery=r.parent.totalBranchLength*e.branchScalar;for(var a=0;a<r.parent.children.length;a++)r.parent.children[a].startx=r.parent.centerx,r.parent.children[a].starty=r.parent.centery}e.leaves[n].centerx>e.farthestNodeFromRootX&&(e.farthestNodeFromRootX=e.leaves[n].centerx),e.leaves[n].centery>e.farthestNodeFromRootY&&(e.farthestNodeFromRootY=e.leaves[n].centery)}}}},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(30),a=r(o),i=n(31),s=r(i),u=n(32),l=r(u);t.default={nexus:new a.default(l.default),newick:new a.default(s.default)}},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(t){var r=t.format,o=t.parseFn,a=t.fileExtension,i=t.validator;n(this,e),this.format=r,this.parseFn=o,this.fileExtension=a,this.validator=i}return r(e,[{key:"parse",value:function(e,t){var n=e.formatString,r=e.root,o=e.options,a=void 0===o?{validate:!0}:o;return n.match(this.validator)||a.validate===!1?this.parseFn({string:n,root:r,options:a},t):t(new Error('Format string does not validate as "'+this.format+'"'))}}]),e}();t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return this===e}function a(e){var t="",n=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var u=i.value;if(v.some(o.bind(u)))break;t+=u}}catch(e){r=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw a}}return t}function i(e,t){var n=e.split("**"),r={};if(t.id=n[0],1!==n.length){n=n[1].split("*");for(var o=0;o<n.length;o+=2){var a=n[o+1];switch(n[o]){case"nsz":r.size=window.parseInt(a);break;case"nsh":r.shape=a;break;case"ncol":r.colour=a}}t.setDisplay(r)}}function s(e){var t="",n=!0,r=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var u=i.value;if(m.some(o.bind(u)))break;t+=u}}catch(e){r=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(r)throw a}}return t}function u(e,t,n){var r=a(t.slice(n)),o=n+r.length,u="";return r.match(/\*/)&&i(r,e),":"===t[o]?(u=s(t.slice(o+1)),e.branchLength=Math.max(parseFloat(u),0)):e.branchLength=0,r&&(e.label=r),e.id=r||f.default.generateId(),o+u.length}function l(e,t){for(var n=e.string,r=e.root,o=n.replace(/(\r|\n)/g,""),a=r,i=0;i<o.length;i++){var s=void 0;switch(o[i]){case"(":s=new f.default,a.addChild(s),a=s;break;case")":a=a.parent;break;case",":s=new f.default,a.parent.addChild(s),a=s;break;case";":break;default:try{i=u(a,o,i)}catch(e){return t(e)}}}return t()}Object.defineProperty(t,"__esModule",{value:!0});var c=n(7),f=r(c),d="newick",p=/\.nwk$/,h=/^[\w\W\.\*\:(\),-\/]+;?\s*$/gi,v=[":",",",")",";"],m=[")",",",";"];t.default={format:d,fileExtension:p,validator:h,parseFn:l}},function(e,t,n){"use strict";function r(e,t){var n=e.string,r=e.root,a=e.options;if(!n.match(/BEGIN TREES/gi))return t(new Error("The nexus file does not contain a tree block"));var i=a.name,s=n.match(/BEGIN TREES;[\S\s]+END;/i)[0].replace(/BEGIN TREES;\n/i,"").replace(/END;/i,""),u={},l=s.match(/TRANSLATE[^;]+;/i);if(l&&l.length){l=l[0],s=s.replace(l,""),l=l.replace(/translate|;/gi,"");for(var c=l.split(","),f=0;f<c.length;f++){var d=c[f].trim().replace("\n","").split(" ");d[0]&&d[1]&&(u[d[0].trim()]=d[1].trim())}}for(var p=s.split("\n"),h={},f=0;f<p.length;f++)if(""!==p[f].trim()){var v=p[f].replace(/tree\s/i,"");i||(i=v.trim().match(/^\w+/)[0]),h[i]=v.trim().match(/[\S]*$/)[0]}return h[i]?void(0,o.parseFn)({string:h[i].trim(),root:r},function(e){if(e)return t(e);if(t(),u){var n=!0,o=!1,a=void 0;try{for(var i,s=Object.keys(u)[Symbol.iterator]();!(n=(i=s.next()).done);n=!0){var l=i.value,c=r.tree.branches,f=c[l];delete c[l],f.id=u[l],c[f.id]=f}}catch(e){o=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw a}}r.tree.draw()}}):new Error("tree "+i+" does not exist in this NEXUS file")}Object.defineProperty(t,"__esModule",{value:!0});var o=n(31),a="nexus",i=/\.n(ex|xs)$/,s=/^#NEXUS[\s\n;\w\W\.\*\:(\),-=\[\]\/&]+$/i;t.default={parseFn:r,format:a,fileExtension:i,validator:s}}])})},function(e,t,n){"use strict";var r=n(953);e.exports=function(e){var t=!1;return r(e,t)}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},o=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){o.forEach(function(t){r[n(t,e)]=r[e]})});var a={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},i={isUnitlessNumber:r,shorthandPropertyExpansions:a};e.exports=i},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(9),a=n(83),i=(n(4),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());e.exports=a.addPoolingTo(i)},function(e,t,n){"use strict";function r(e){return!!l.hasOwnProperty(e)||!u.hasOwnProperty(e)&&(s.test(e)?(l[e]=!0,!0):(u[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var a=n(102),i=(n(20),n(44),n(1022)),s=(n(10),new RegExp("^["+a.ATTRIBUTE_NAME_START_CHAR+"]["+a.ATTRIBUTE_NAME_CHAR+"]*$")),u={},l={},c={createMarkupForID:function(e){return a.ID_ATTRIBUTE_NAME+"="+i(e)},setAttributeForID:function(e,t){e.setAttribute(a.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return a.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(a.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+i(t)}return a.isCustomAttribute(e)?null==t?"":e+"="+i(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+i(t):""},setValueForProperty:function(e,t,n){var r=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(r){var i=r.mutationMethod;if(i)i(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,u=r.attributeNamespace;u?e.setAttributeNS(u,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(a.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else a.isCustomAttribute(t)&&e.removeAttribute(t)}};e.exports=c},function(e,t){"use strict";var n={hasCachedChildNodes:1};e.exports=n},function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=s.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,a=u.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<a.length;o++){var i=r.hasOwnProperty(a[o].value);a[o].selected!==i&&(a[o].selected=i)}}else{for(r=""+n,o=0;o<a.length;o++)if(a[o].value===r)return void(a[o].selected=!0);a.length&&(a[0].selected=!0)}}function a(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),l.asap(r,this),n}var i=n(23),s=n(252),u=n(20),l=n(54),c=(n(10),!1),f={getHostProps:function(e,t){return i({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=s.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:a.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||c||(c=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=s.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};e.exports=f},function(e,t){"use strict";var n,r={injectEmptyComponentFactory:function(e){n=e}},o={create:function(e){return n(e)}};o.injection=r,e.exports=o},function(e,t){"use strict";var n={logTopLevelRenders:!1};e.exports=n},function(e,t,n){"use strict";function r(e){return s?void 0:i("111",e.type),new s(e)}function o(e){return new u(e)}function a(e){return e instanceof u}var i=n(9),s=(n(4),null),u=null,l={injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){u=e}},c={createInternalComponent:r,createInstanceForText:o,isTextComponent:a,injection:l};e.exports=c},function(e,t,n){"use strict";function r(e){return a(document.documentElement,e)}var o=n(982),a=n(776),i=n(337),s=n(338),u={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:u.hasSelectionCapabilities(e)?u.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(u.hasSelectionCapabilities(n)&&u.setSelection(n,o),i(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",r-n),a.select()}else o.setOffsets(e,t)}};e.exports=u},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===N?e.documentElement:e.firstChild:null}function a(e){return e.getAttribute&&e.getAttribute(A)||""}function i(e,t,n,r,o){var a;if(w.logTopLevelRenders){var i=e._currentElement.props.child,s=i.type;a="React mount: "+("string"==typeof s?s:s.displayName||s.name)}var u=C.mountComponent(e,n,null,b(e,t),o,0);e._renderedComponent._topLevelWrapper=e,B._mountImageIntoNode(u,t,e,r,n)}function s(e,t,n,r){var o=E.ReactReconcileTransaction.getPooled(!n&&x.useCreateElement);o.perform(i,null,e,t,o,n,r),E.ReactReconcileTransaction.release(o)}function u(e,t,n){for(C.unmountComponent(e,n),t.nodeType===N&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function l(e){var t=o(e);if(t){var n=y.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==R&&e.nodeType!==N&&e.nodeType!==I)}function f(e){var t=o(e),n=t&&y.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function d(e){var t=f(e);return t?t._hostContainerInfo._topLevelWrapper:null}var p=n(9),h=n(101),v=n(102),m=n(108),g=n(168),y=(n(62),n(20)),b=n(976),x=n(978),w=n(399),_=n(128),k=(n(44),n(992)),C=n(105),S=n(255),E=n(54),P=n(149),O=n(409),T=(n(4),n(172)),M=n(262),A=(n(10),v.ID_ATTRIBUTE_NAME),j=v.ROOT_ATTRIBUTE_NAME,R=1,N=9,I=11,D={},L=1,F=function(){this.rootID=L++};F.prototype.isReactComponent={},F.prototype.render=function(){return this.props.child},F.isReactTopLevelWrapper=!0;var B={TopLevelWrapper:F,_instancesByReactRootID:D,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return B.scrollMonitor(r,function(){S.enqueueElementInternal(e,t,n),o&&S.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:p("37"),g.ensureScrollValueMonitoring();var o=O(e,!1);E.batchedUpdates(s,o,t,n,r);var a=o._instance.rootID;return D[a]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&_.has(e)?void 0:p("38"),B._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){S.validateCallback(r,"ReactDOM.render"),m.isValidElement(t)?void 0:p("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var i,s=m.createElement(F,{child:t});if(e){var u=_.get(e);i=u._processChildContext(u._context)}else i=P;var c=d(n);if(c){var f=c._currentElement,h=f.props.child;if(M(h,t)){var v=c._renderedComponent.getPublicInstance(),g=r&&function(){r.call(v)};return B._updateRootComponent(c,s,i,n,g),v}B.unmountComponentAtNode(n)}var y=o(n),b=y&&!!a(y),x=l(n),w=b&&!c&&!x,k=B._renderNewRootComponent(s,n,w,i)._renderedComponent.getPublicInstance();return r&&r.call(k),k},render:function(e,t,n){return B._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:p("40");var t=d(e);if(!t){l(e),1===e.nodeType&&e.hasAttribute(j);return!1}return delete D[t._instance.rootID],E.batchedUpdates(u,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,a,i){if(c(t)?void 0:p("41"),a){var s=o(t);if(k.canReuseMarkup(e,s))return void y.precacheNode(n,s);var u=s.getAttribute(k.CHECKSUM_ATTR_NAME);s.removeAttribute(k.CHECKSUM_ATTR_NAME);var l=s.outerHTML;s.setAttribute(k.CHECKSUM_ATTR_NAME,u);var f=e,d=r(f,l),v=" (client) "+f.substring(d-20,d+20)+"\n (server) "+l.substring(d-20,d+20);t.nodeType===N?p("42",v):void 0}if(t.nodeType===N?p("43"):void 0,i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else T(t,e),y.precacheNode(n,t.firstChild)}};e.exports=B},function(e,t,n){"use strict";var r=n(9),o=n(108),a=(n(4),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?a.EMPTY:o.isValidElement(e)?"function"==typeof e.type?a.COMPOSITE:a.HOST:void r("26",e)}});e.exports=a},function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}var o=n(9);n(4);e.exports=r},function(e,t){"use strict";function n(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}e.exports=n},function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=n(403);e.exports=r},function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=n(28),a=null;e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function o(e){return e._wrapperState.valueTracker}function a(e,t){e._wrapperState.valueTracker=t}function i(e){e._wrapperState.valueTracker=null}function s(e){var t;return e&&(t=r(e)?""+e.checked:e.value),t}var u=n(20),l={_getTrackerFromNode:function(e){return o(u.getInstanceFromNode(e))},track:function(e){if(!o(e)){var t=u.getNodeFromInstance(e),n=r(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,n),l=""+t[n];t.hasOwnProperty(n)||"function"!=typeof s.get||"function"!=typeof s.set||(Object.defineProperty(t,n,{enumerable:s.enumerable,configurable:!0,get:function(){return s.get.call(this)},set:function(e){l=""+e,s.set.call(this,e)}}),a(e,{getValue:function(){return l},setValue:function(e){l=""+e},stopTracking:function(){i(e),delete t[n]}}))}},updateValueIfChanged:function(e){if(!e)return!1;var t=o(e);if(!t)return l.track(e),!0;var n=t.getValue(),r=s(u.getNodeFromInstance(e));return r!==n&&(t.setValue(r),!0)},stopTracking:function(e){var t=o(e);t&&t.stopTracking()}};e.exports=l},function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function a(e,t){var n;if(null===e||e===!1)n=l.create(a);else if("object"==typeof e){var s=e,u=s.type;if("function"!=typeof u&&"string"!=typeof u){var d="";d+=r(s._owner),i("130",null==u?u:typeof u,d)}"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new f(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):i("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var i=n(9),s=n(23),u=n(973),l=n(398),c=n(400),f=(n(1096),n(4),n(10),function(e){this.construct(e)});s(f.prototype,u,{_instantiateReactComponent:a}),e.exports=a},function(e,t){"use strict";function n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!r[e.type]:"textarea"===t}var r={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};e.exports=n},function(e,t,n){"use strict";var r=n(28),o=n(171),a=n(172),i=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void a(e,o(t))})),e.exports=i},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,a){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===s)return n(a,e,""===t?c+r(e,0):t),1;var p,h,v=0,m=""===t?c:t+f;if(Array.isArray(e))for(var g=0;g<e.length;g++)p=e[g],h=m+r(p,g),v+=o(p,h,n,a);else{var y=u(e);if(y){var b,x=y.call(e);if(y!==e.entries)for(var w=0;!(b=x.next()).done;)p=b.value,h=m+r(p,w++),v+=o(p,h,n,a);else for(;!(b=x.next()).done;){var _=b.value;_&&(p=_[1],h=m+l.escape(_[0])+f+r(p,0),v+=o(p,h,n,a))}}else if("object"===d){var k="",C=String(e);i("31","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,k)}}return v}function a(e,t,n){return null==e?0:o(e,"",t,n)}var i=n(9),s=(n(62),n(988)),u=n(1019),l=(n(4),n(251)),c=(n(10),"."),f=":";e.exports=a},function(e,t,n){e.exports={default:n(286),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(56),a=r(o),i=n(112),s=r(i),u=n(115),l=r(u),c=n(113),f=r(c),d=n(2),p=r(d),h={base:{display:"inline-block",marginLeft:0,marginTop:8,float:"left",transition:"150ms",WebkitTransition:"150ms",MozTransition:"150ms",WebkitTransform:"rotateZ(-90deg)",MozTransform:"rotateZ(-90deg)",transform:"rotateZ(-90deg)",position:"relative"},container:{display:"inline-block",paddingTop:2,paddingBottom:2,paddingRight:5,paddingLeft:5,cursor:"pointer"},containerDouble:{paddingTop:2,paddingBottom:2,paddingRight:10,paddingLeft:10},arrow:{borderLeft:"5px solid transparent",borderRight:"5px solid transparent",borderTopWidth:5,borderTopStyle:"solid"},open:{WebkitTransform:"rotateZ(0deg)",MozTransform:"rotateZ(0deg)",transform:"rotateZ(0deg)"},inner:{position:"absolute",top:0,left:-5}},v=function(e){function t(){return(0,s.default)(this,t),(0,l.default)(this,e.apply(this,arguments))}return(0,f.default)(t,e),t.prototype.render=function(){var e=(0,a.default)({},h.container),t=(0,a.default)({},h.base,h.arrow),n={borderTopColor:this.props.theme.base0D};return this.props.open&&(t=(0,a.default)({},t,h.open)),this.props.double&&(e=(0,a.default)({},e,h.containerDouble)),t=(0,a.default)({},t,this.props.style),p.default.createElement("div",{style:e,onClick:this.props.onClick},p.default.createElement("div",{style:(0,a.default)({},n,t)},this.props.double&&p.default.createElement("div",{style:(0,a.default)({},n,h.inner,h.arrow)})))},t}(p.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(56),a=r(o),i=n(114),s=r(i);t.default=function(e){var t=e.getItemString,n=e.initialExpanded,r=void 0!==n&&n,o=e.keyPath,i=e.labelRenderer,u=e.previousData,c=e.styles,d=e.theme,h=e.value,m=e.valueRenderer,y=e.isCustomNode,x=(0,s.default)(e,["getItemString","initialExpanded","keyPath","labelRenderer","previousData","styles","theme","value","valueRenderer","isCustomNode"]),w=y(h)?"Custom":(0,f.default)(h),_={getItemString:t,initialExpanded:r,key:o[0],keyPath:o,labelRenderer:i,nodeType:w,previousData:u,styles:c,theme:d,value:h,valueRenderer:m},k=(0,a.default)({},x,_,{data:h,isCustomNode:y});switch(w){case"Object":case"Error":return l.default.createElement(p.default,k);case"Array":return l.default.createElement(v.default,k);case"Iterable":return l.default.createElement(g.default,k);case"String":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base0B,valueGetter:function(e){return'"'+e+'"'}}));case"Number":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base09}));case"Boolean":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base09,valueGetter:function(e){return e?"true":"false"}}));case"Date":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base0B,valueGetter:function(e){return e.toISOString()}}));case"Null":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base08,valueGetter:function(){return"null"}}));case"Undefined":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base08,valueGetter:function(){return"undefined"}}));case"Function":case"Symbol":return l.default.createElement(b.default,(0,a.default)({},_,{valueColor:d.base08,valueGetter:function(e){return e.toString()}}));case"Custom":return l.default.createElement(b.default,_);default:return!1}};var u=n(2),l=r(u),c=n(1047),f=r(c),d=n(1042),p=r(d),h=n(1040),v=r(h),m=n(1041),g=r(m),y=n(1043),b=r(y)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,a,i=n(56),s=r(i),u=n(114),l=r(u),c=n(112),f=r(c),d=n(115),p=r(d),h=n(113),v=r(h),m=n(2),g=r(m),y=n(415),b=r(y),x=n(1048),w=r(x),_={tree:{border:0,padding:0,marginTop:8,marginBottom:8,marginLeft:2,marginRight:0,fontSize:"0.90em",listStyle:"none",MozUserSelect:"none",WebkitUserSelect:"none"}},k=function(){return{}},C=function(e){return e},S=(a=o=function(e){function t(n){return(0,f.default)(this,t),(0,p.default)(this,e.call(this,n))}return(0,v.default)(t,e),t.prototype.render=function(){var e={getArrowStyle:this.props.getArrowStyle,getListStyle:this.props.getListStyle,getItemStringStyle:this.props.getItemStringStyle,getLabelStyle:this.props.getLabelStyle,getValueStyle:this.props.getValueStyle},t=this.props,n=t.data,r=t.expandRoot,o=t.expandAll,a=t.style,i=t.keyPath,u=t.postprocessValue,c=t.hideRoot,f=(0,l.default)(t,["data","expandRoot","expandAll","style","keyPath","postprocessValue","hideRoot"]),d=void 0;return d=(0,b.default)((0,s.default)({initialExpanded:r,allExpanded:o,keyPath:c?[]:i,styles:e,value:u(n),postprocessValue:u,hideRoot:c},f)),g.default.createElement("ul",{style:(0,s.default)({},_.tree,a)},d)},t}(g.default.Component),o.propTypes={data:g.default.PropTypes.oneOfType([g.default.PropTypes.array,g.default.PropTypes.object]).isRequired,hideRoot:g.default.PropTypes.bool},o.defaultProps={expandRoot:!0,expandAll:!1,hideRoot:!1,keyPath:["root"],theme:w.default,getArrowStyle:k,getListStyle:k,getItemStringStyle:k,getLabelStyle:k,getValueStyle:k,getItemString:function(e,t,n,r){return g.default.createElement("span",null,n," ",r)},labelRenderer:C,valueRenderer:C,postprocessValue:C,isCustomNode:function(){return!1},collectionLimit:50},a);t.default=S},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1046);Object.defineProperty(t,"SquashClickEventMixin",{enumerable:!0,get:function(){return r(o).default}});var a=n(1045);Object.defineProperty(t,"ExpandedStateHandlerMixin",{enumerable:!0,get:function(){return r(a).default}})},function(e,t,n){function r(e){var t=e.getDefaultProps;t&&(e.defaultProps=t(),delete e.getDefaultProps)}function o(e){function t(e){var t=e.state||{};s(t,n.call(e)),e.state=t}var n=e.getInitialState,r=e.componentWillMount;n&&(r?e.componentWillMount=function(){t(this),r.call(this)}:e.componentWillMount=function(){t(this)},delete e.getInitialState)}function a(e,t){r(t),o(t);var n={},s={};Object.keys(t).forEach(function(e){"mixins"!==e&&"statics"!==e&&("function"==typeof t[e]?n[e]=t[e]:s[e]=t[e])}),u(e.prototype,n);var l=function(e,t,n){if(!e)return t;if(!t)return e;var r={};return Object.keys(e).forEach(function(n){t[n]||(r[n]=e[n])}),Object.keys(t).forEach(function(n){e[n]?r[n]=function(){return t[n].apply(this,arguments)&&e[n].apply(this,arguments)}:r[n]=t[n]}),r};return i({childContextTypes:l,contextTypes:l,propTypes:i.MANY_MERGED_LOOSE,defaultProps:i.MANY_MERGED_LOOSE})(e,s),t.statics&&Object.getOwnPropertyNames(t.statics).forEach(function(n){var r=e[n],o=t.statics[n];if(void 0!==r&&void 0!==o)throw new TypeError("Cannot mixin statics because statics."+n+" and Component."+n+" are defined.");e[n]=void 0!==r?r:o}),t.mixins&&t.mixins.reverse().forEach(a.bind(null,e)),e}var i=n(1136),s=n(1050),u=i({componentDidMount:i.MANY,componentWillMount:i.MANY,componentWillReceiveProps:i.MANY,shouldComponentUpdate:i.ONCE,componentWillUpdate:i.MANY,componentDidUpdate:i.MANY,componentWillUnmount:i.MANY,getChildContext:i.MANY_MERGED});e.exports=function(){var e=u;return e.onClass=function(e,t){return a(e,t)},e.decorate=function(t){return function(n){return e.onClass(n,t)}},e}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t);
  }function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(){}function l(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}function c(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=r.getDisplayName,d=void 0===c?function(e){return"ConnectAdvanced("+e+")"}:c,h=r.methodName,g=void 0===h?"connectAdvanced":h,_=r.renderCountProp,k=void 0===_?void 0:_,C=r.shouldHandleStateChanges,S=void 0===C||C,E=r.storeKey,P=void 0===E?"store":E,O=r.withRef,T=void 0!==O&&O,M=s(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=P+"Subscription",j=x++,R=(t={},t[P]=b.storeShape,t[A]=b.subscriptionShape,t),N=(n={},n[A]=b.subscriptionShape,n);return function(t){(0,v.default)("function"==typeof t,"You must pass a component to the function returned by "+(g+". Instead received "+JSON.stringify(t)));var n=t.displayName||t.name||"Component",r=d(n),s=f({},M,{getDisplayName:d,methodName:g,renderCountProp:k,shouldHandleStateChanges:S,storeKey:P,withRef:T,displayName:r,wrappedComponentName:n,WrappedComponent:t}),c=function(n){function c(e,t){o(this,c);var i=a(this,n.call(this,e,t));return i.version=j,i.state={},i.renderCount=0,i.store=e[P]||t[P],i.propsMode=Boolean(e[P]),i.setWrappedInstance=i.setWrappedInstance.bind(i),(0,v.default)(i.store,'Could not find "'+P+'" in either the context or props of '+('"'+r+'". Either wrap the root component in a <Provider>, ')+('or explicitly pass "'+P+'" as a prop to "'+r+'".')),i.initSelector(),i.initSubscription(),i}return i(c,n),c.prototype.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return e={},e[A]=t||this.context[A],e},c.prototype.componentDidMount=function(){S&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},c.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},c.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},c.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=u,this.store=null,this.selector.run=u,this.selector.shouldComponentUpdate=!1},c.prototype.getWrappedInstance=function(){return(0,v.default)(T,"To access the wrapped instance, you need to specify "+("{ withRef: true } in the options argument of the "+g+"() call.")),this.wrappedInstance},c.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},c.prototype.initSelector=function(){var t=e(this.store.dispatch,s);this.selector=l(t,this.store),this.selector.run(this.props)},c.prototype.initSubscription=function(){if(S){var e=(this.propsMode?this.props:this.context)[A];this.subscription=new y.default(this.store,e,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},c.prototype.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(w)):this.notifyNestedSubs()},c.prototype.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},c.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},c.prototype.addExtraProps=function(e){if(!(T||k||this.propsMode&&this.subscription))return e;var t=f({},e);return T&&(t.ref=this.setWrappedInstance),k&&(t[k]=this.renderCount++),this.propsMode&&this.subscription&&(t[A]=this.subscription),t},c.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,m.createElement)(t,this.addExtraProps(e.props))},c}(m.Component);return c.WrappedComponent=t,c.displayName=r,c.childContextTypes=N,c.contextTypes=R,c.propTypes=R,(0,p.default)(c,t)}}t.__esModule=!0;var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var d=n(229),p=r(d),h=n(43),v=r(h),m=n(2),g=n(1059),y=r(g),b=n(421),x=0,w={}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function a(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=a(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=a(o),o=r(t,n)),o},r}}t.__esModule=!0,t.wrapMapToPropsConstant=o,t.getDependsOnOwnProps=a,t.wrapMapToPropsFunc=i;var s=n(422);r(s)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.storeShape=t.subscriptionShape=void 0;var o=n(3),a=r(o);t.subscriptionShape=a.default.shape({trySubscribe:a.default.func.isRequired,tryUnsubscribe:a.default.func.isRequired,notifyNestedSubs:a.default.func.isRequired,isSubscribed:a.default.func.isRequired}),t.storeShape=a.default.shape({subscribe:a.default.func.isRequired,dispatch:a.default.func.isRequired,getState:a.default.func.isRequired})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){(0,i.default)(e)||(0,u.default)(n+"() in "+t+" must return a plain object. Instead received "+e+".")}t.__esModule=!0,t.default=o;var a=n(1069),i=r(a),s=n(267),u=r(s)},function(e,t,n){var r=n(1067),o=r.Symbol;e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(2),c=r(l),f=n(3),d=r(f),p=n(43),h=r(p),v=n(94),m=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},g=function(e){function t(){var n,r,o;a(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!m(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,a=n.to;o?t.replace(a):t.push(a)}},o=n,i(r,o)}return s(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=o(e,["replace","to","innerRef"]);(0,h.default)(this.context.router,"You should not use <Link> outside a <Router>"),(0,h.default)(void 0!==t,'You must specify the "to" property');var a=this.context.router.history,i="string"==typeof t?(0,v.createLocation)(t,null,null,a.location):t,s=a.createHref(i);return c.default.createElement("a",u({},r,{onClick:this.handleClick,href:s,ref:n}))},t}(c.default.Component);g.propTypes={onClick:d.default.func,target:d.default.string,replace:d.default.bool,to:d.default.oneOfType([d.default.string,d.default.object]).isRequired,innerRef:d.default.oneOfType([d.default.string,d.default.func])},g.defaultProps={replace:!1},g.contextTypes={router:d.default.shape({history:d.default.shape({push:d.default.func.isRequired,replace:d.default.func.isRequired,createHref:d.default.func.isRequired}).isRequired}).isRequired},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(270),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(68),u=r(s),l=n(2),c=r(l),f=n(3),d=r(f),p=n(94),h=n(173),v=r(h),m=function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(u))),r.history=(0,p.createMemoryHistory)(r.props),i=n,a(r,i)}return i(t,e),t.prototype.componentWillMount=function(){(0,u.default)(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return c.default.createElement(v.default,{history:this.history,children:this.props.children})},t}(c.default.Component);m.propTypes={initialEntries:d.default.array,initialIndex:d.default.number,getUserConfirmation:d.default.func,keyLength:d.default.number,children:d.default.node},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(2),u=r(s),l=n(3),c=r(l),f=n(43),d=r(f),p=function(e){function t(){return o(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){(0,d.default)(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(u.default.Component);p.propTypes={when:c.default.bool,message:c.default.oneOfType([c.default.func,c.default.string]).isRequired},p.defaultProps={when:!0},p.contextTypes={router:c.default.shape({history:c.default.shape({block:c.default.func.isRequired}).isRequired}).isRequired},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=n(2),l=r(u),c=n(3),f=r(c),d=n(68),p=r(d),h=n(43),v=r(h),m=n(94),g=n(271),y=r(g),b=function(e){function t(){return o(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},t.prototype.componentWillMount=function(){(0,v.default)(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=(0,m.createLocation)(e.to),n=(0,m.createLocation)(this.props.to);return(0,m.locationsAreEqual)(t,n)?void(0,p.default)(!1,"You tried to redirect to the same route you're currently on: "+('"'+n.pathname+n.search+'"')):void this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?(0,y.default)(n,t.params):s({},n,{pathname:(0,y.default)(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(l.default.Component);b.propTypes={computedMatch:f.default.object,push:f.default.bool,from:f.default.string,to:f.default.oneOfType([f.default.string,f.default.object]).isRequired},b.defaultProps={push:!1},b.contextTypes={router:f.default.shape({history:f.default.shape({push:f.default.func.isRequired,replace:f.default.func.isRequired}).isRequired,staticContext:f.default.object}).isRequired},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(68),c=r(l),f=n(43),d=r(f),p=n(2),h=r(p),v=n(3),m=r(v),g=n(94),y=n(173),b=r(y),x=function(e){return"/"===e.charAt(0)?e:"/"+e},w=function(e,t){return e?u({},t,{pathname:x(e)+t.pathname}):t},_=function(e,t){if(!e)return t;var n=x(e);return 0!==t.pathname.indexOf(n)?t:u({},t,{pathname:t.pathname.substr(n.length)})},k=function(e){return"string"==typeof e?e:(0,g.createPath)(e)},C=function(e){return function(){(0,d.default)(!1,"You cannot %s with <StaticRouter>",e)}},S=function(){},E=function(e){function t(){var n,r,o;a(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=i(this,e.call.apply(e,[this].concat(u))),r.createHref=function(e){return x(r.props.basename+k(e))},r.handlePush=function(e){var t=r.props,n=t.basename,o=t.context;o.action="PUSH",o.location=w(n,(0,g.createLocation)(e)),o.url=k(o.location)},r.handleReplace=function(e){var t=r.props,n=t.basename,o=t.context;o.action="REPLACE",o.location=w(n,(0,g.createLocation)(e)),o.url=k(o.location)},r.handleListen=function(){return S},r.handleBlock=function(){return S},o=n,i(r,o)}return s(t,e),t.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},t.prototype.componentWillMount=function(){(0,c.default)(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=o(e,["basename","context","location"]),a={createHref:this.createHref,action:"POP",location:_(t,(0,g.createLocation)(n)),push:this.handlePush,replace:this.handleReplace,go:C("go"),goBack:C("goBack"),goForward:C("goForward"),listen:this.handleListen,block:this.handleBlock};return h.default.createElement(b.default,u({},r,{history:a}))},t}(h.default.Component);E.propTypes={basename:m.default.string,context:m.default.object.isRequired,location:m.default.oneOfType([m.default.string,m.default.object])},E.defaultProps={basename:"",location:"/"},E.childContextTypes={router:m.default.object.isRequired},t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(2),u=r(s),l=n(3),c=r(l),f=n(68),d=r(f),p=n(43),h=r(p),v=n(174),m=r(v),g=function(e){function t(){return o(this,t),a(this,e.apply(this,arguments))}return i(t,e),t.prototype.componentWillMount=function(){(0,h.default)(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){(0,d.default)(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),(0,d.default)(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,o=void 0;return u.default.Children.forEach(t,function(t){if(null==r&&u.default.isValidElement(t)){var a=t.props,i=a.path,s=a.exact,l=a.strict,c=a.sensitive,f=a.from,d=i||f;o=t,r=(0,m.default)(n.pathname,{path:d,exact:s,strict:l,sensitive:c},e.match)}}),r?u.default.cloneElement(o,{location:n,computedMatch:r}):null},t}(u.default.Component);g.contextTypes={router:c.default.shape({route:c.default.object.isRequired}).isRequired},g.propTypes={children:c.default.node,location:c.default.object},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(2),s=r(i),u=n(3),l=r(u),c=n(229),f=r(c),d=n(270),p=r(d),h=function(e){var t=function(t){var n=t.wrappedComponentRef,r=o(t,["wrappedComponentRef"]);return s.default.createElement(p.default,{children:function(t){return s.default.createElement(e,a({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:l.default.func},(0,f.default)(t,e)};t.default=h},function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||u}function o(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||u}function a(){}var i=n(129),s=n(273),u=n(435),l=(n(436),n(149));n(4),n(1097);r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?i("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};a.prototype=r.prototype,o.prototype=new a,o.prototype.constructor=o,s(o.prototype,r.prototype),o.prototype.isPureReactComponent=!0,e.exports={Component:r,PureComponent:o}},function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=l(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function a(e,t,n){return"\n    in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function i(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var t,n=S.getDisplayName(e),r=S.getElement(e),o=S.getOwnerID(e);return o&&(t=S.getDisplayName(o)),a(n,r&&r._source,t)}var u,l,c,f,d,p,h,v=n(129),m=n(62),g=(n(4),n(10),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(g){var y=new Map,b=new Set;u=function(e,t){y.set(e,t)},l=function(e){return y.get(e)},c=function(e){y.delete(e)},f=function(){return Array.from(y.keys())},d=function(e){b.add(e)},p=function(e){b.delete(e)},h=function(){return Array.from(b.keys())}}else{var x={},w={},_=function(e){return"."+e},k=function(e){return parseInt(e.substr(1),10)};u=function(e,t){var n=_(e);x[n]=t},l=function(e){var t=_(e);return x[t]},c=function(e){var t=_(e);delete x[t]},f=function(){return Object.keys(x).map(k)},d=function(e){var t=_(e);w[t]=!0},p=function(e){var t=_(e);delete w[t]},h=function(){return Object.keys(w).map(k)}}var C=[],S={onSetChildren:function(e,t){var n=l(e);n?void 0:v("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],a=l(o);a?void 0:v("140"),null==a.childIDs&&"object"==typeof a.element&&null!=a.element?v("141"):void 0,a.isMounted?void 0:v("71"),null==a.parentID&&(a.parentID=e),a.parentID!==e?v("142",o,a.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};u(e,r)},onBeforeUpdateComponent:function(e,t){var n=l(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=l(e);t?void 0:v("144"),t.isMounted=!0;var n=0===t.parentID;n&&d(e)},onUpdateComponent:function(e){var t=l(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=l(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&p(e)}C.push(e)},purgeUnmountedComponents:function(){if(!S._preventPurging){for(var e=0;e<C.length;e++){var t=C[e];o(t)}C.length=0}},isMounted:function(e){var t=l(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=i(e),r=e._owner;t+=a(n,e._source,r&&r.getName())}var o=m.current,s=o&&o._debugID;return t+=S.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=S.getParentID(e);return t},getChildIDs:function(e){var t=l(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=S.getElement(e);return t?i(t):null},getElement:function(e){var t=l(e);return t?t.element:null},getOwnerID:function(e){var t=S.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=l(e);return t?t.parentID:null},getSource:function(e){var t=l(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=S.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=l(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:f,pushNonStandardWarningStack:function(e,t){if("function"==typeof console.reactStack){var n=[],r=m.current,o=r&&r._debugID;try{for(e&&n.push({name:o?S.getDisplayName(o):null,fileName:t?t.fileName:null,lineNumber:t?t.lineNumber:null});o;){var a=S.getElement(o),i=S.getParentID(o),s=S.getOwnerID(o),u=s?S.getDisplayName(s):null,l=a&&a._source;n.push({name:u,fileName:l?l.fileName:null,lineNumber:l?l.lineNumber:null}),o=i}}catch(e){}}},popNonStandardWarningStack:function(){"function"!=typeof console.reactStackEnd}};e.exports=S},function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,n){"use strict";function r(e,t){}var o=(n(10),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});e.exports=o},function(e,t,n){"use strict";var r=!1;e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1105),a=r(o),i=function(e){return(0,a.default)("displayName",e)};t.default=i},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1102),a=r(o),i=function(e,t){return t+"("+(0,a.default)(e)+")"};t.default=i},function(e,t){"use strict";function n(){return{type:i}}function r(){return{type:s}}function o(e){return{type:u,size:e}}function a(){return{type:l}}t.__esModule=!0,t.toggleVisibility=n,t.changePosition=r,t.changeSize=o,t.changeMonitor=a;var i=t.TOGGLE_VISIBILITY="@@redux-devtools-log-monitor/TOGGLE_VISIBILITY",s=t.CHANGE_POSITION="@@redux-devtools-log-monitor/CHANGE_POSITION",u=t.CHANGE_SIZE="@@redux-devtools-log-monitor/CHANGE_SIZE",l=t.CHANGE_MONITOR="@@redux-devtools-log-monitor/CHANGE_MONITOR"},function(e,t){"use strict";t.__esModule=!0;t.POSITIONS=["left","top","right","bottom"]},function(e,t){"use strict";function n(e){return{type:r,scrollTop:e}}t.__esModule=!0,t.updateScrollTop=n;var r=t.UPDATE_SCROLL_TOP="@@redux-devtools-log-monitor/UPDATE_SCROLL_TOP"},function(e,t,n){"use strict";t.__esModule=!0;var r=n(443);Object.defineProperty(t,"instrument",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"ActionCreators",{enumerable:!0,get:function(){return r.ActionCreators}}),Object.defineProperty(t,"ActionTypes",{enumerable:!0,get:function(){return r.ActionTypes}});var o=n(1123);Object.defineProperty(t,"persistState",{enumerable:!0,get:function(){return o.default}});var a=n(1122);Object.defineProperty(t,"createDevTools",{enumerable:!0,get:function(){return a.default}})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){if(r)return{state:n,error:"Interrupted by an error up the chain"};var o=n,a=void 0;try{o=e(n,t)}catch(e){a=e.toString(),"object"===("undefined"==typeof window?"undefined":d(window))&&"undefined"!=typeof window.chrome&&setTimeout(function(){throw e})}return{state:o,error:a}}function a(e,t,n,r,a,i,s){if(t>=e.length&&e.length===i.length)return e;for(var u=e.slice(0,t),l=t;l<i.length;l++){var c=i[l],f=a[c].action,d=u[l-1],p=d?d.state:r,h=d?d.error:void 0,v=s.indexOf(c)>-1,m=v?d:o(n,f,p,h);u.push(m)}return u}function i(e){return y.performAction(e)}function s(e,t,n,r){var o={monitorState:n(void 0,{}),nextActionId:1,actionsById:{0:i(b)},stagedActionIds:[0],skippedActionIds:[],committedState:t,currentStateIndex:0,computedStates:[]};return function(){function s(e){for(var t=e,n=p.slice(1,t+1),r=0;r<n.length;r++){if(w[r+1].error){t=r,n=p.slice(1,t+1);break}delete f[n[r]]}v=v.filter(function(e){return n.indexOf(e)===-1}),p=[0].concat(p.slice(t+1)),y=w[t].state,w=w.slice(t),x=x>t?x-t:0}var u=arguments.length<=0||void 0===arguments[0]?o:arguments[0],l=arguments[1],c=u.monitorState,f=u.actionsById,d=u.nextActionId,p=u.stagedActionIds,v=u.skippedActionIds,y=u.committedState,x=u.currentStateIndex,w=u.computedStates,_=0;switch(l.type){case g.RESET:f={0:i(b)},d=1,p=[0],v=[],y=t,x=0,w=[];break;case g.COMMIT:f={0:i(b)},d=1,p=[0],v=[],y=w[x].state,x=0,w=[];break;case g.ROLLBACK:f={0:i(b)},d=1,p=[0],v=[],x=0,w=[];break;case g.TOGGLE_ACTION:var k=function(){var e=l.id,t=v.indexOf(e);return v=t===-1?[e].concat(v):v.filter(function(t){return t!==e}),_=p.indexOf(e),"break"}();if("break"===k)break;case g.SET_ACTIONS_ACTIVE:for(var C=l.start,S=l.end,E=l.active,P=[],O=C;O<S;O++)P.push(O);v=E?(0,h.default)(v,P):(0,m.default)(v,P),_=p.indexOf(C);break;case g.JUMP_TO_STATE:x=l.index,_=1/0;break;case g.SWEEP:p=(0,h.default)(p,v),v=[],x=Math.min(x,p.length-1);break;case g.PERFORM_ACTION:r.maxAge&&p.length===r.maxAge&&s(1),x===p.length-1&&x++;var T=d++;f[T]=l,p=[].concat(p,[T]),_=p.length-1;break;case g.IMPORT_STATE:var M=l.nextLiftedState;c=M.monitorState,f=M.actionsById,d=M.nextActionId,p=M.stagedActionIds,v=M.skippedActionIds,y=M.committedState,x=M.currentStateIndex,w=M.computedStates;break;case"@@redux/INIT":_=0,r.maxAge&&p.length>r.maxAge&&(w=a(w,_,e,y,f,p,v),s(p.length-r.maxAge),_=1/0);break;default:_=1/0}return w=a(w,_,e,y,f,p,v),c=n(c,l),{monitorState:c,actionsById:f,nextActionId:d,stagedActionIds:p,skippedActionIds:v,committedState:y,currentStateIndex:x,computedStates:w}}}function u(e){var t=e.computedStates,n=e.currentStateIndex,r=t[n].state;return r}function l(e,t){var n=void 0;return f({},e,{liftedStore:e,dispatch:function(t){return e.dispatch(i(t)),t},getState:function(){var t=u(e.getState());return void 0!==t&&(n=t),n},replaceReducer:function(n){e.replaceReducer(t(n))}})}function c(){var e=arguments.length<=0||void 0===arguments[0]?function(){return null}:arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return function(n){return function(r,o,a){function i(n){if("function"!=typeof n){if(n&&"function"==typeof n.default)throw new Error('Expected the reducer to be a function. Instead got an object with a "default" field. Did you pass a module instead of the default export? Try passing require(...).default instead.');throw new Error("Expected the reducer to be a function.")}return s(n,o,e,t)}var u=n(i(r),a);if(u.liftedStore)throw new Error("DevTools instrumentation should not be applied more than once. Check your store configuration.");return l(u,i)}}}var f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e};t.__esModule=!0,t.ActionCreators=t.ActionTypes=void 0,t.default=c;var p=n(887),h=r(p),v=n(901),m=r(v),g=t.ActionTypes={PERFORM_ACTION:"PERFORM_ACTION",RESET:"RESET",ROLLBACK:"ROLLBACK",COMMIT:"COMMIT",SWEEP:"SWEEP",TOGGLE_ACTION:"TOGGLE_ACTION",SET_ACTIONS_ACTIVE:"SET_ACTIONS_ACTIVE",JUMP_TO_STATE:"JUMP_TO_STATE",IMPORT_STATE:"IMPORT_STATE"},y=t.ActionCreators={performAction:function(e){if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');return{type:g.PERFORM_ACTION,action:e,timestamp:Date.now()}},reset:function(){return{type:g.RESET,timestamp:Date.now()}},rollback:function(){return{type:g.ROLLBACK,timestamp:Date.now()}},commit:function(){return{type:g.COMMIT,timestamp:Date.now()}},sweep:function(){return{type:g.SWEEP}},toggleAction:function(e){return{type:g.TOGGLE_ACTION,id:e}},setActionsActive:function(e,t){var n=arguments.length<=2||void 0===arguments[2]||arguments[2];
  return{type:g.SET_ACTIONS_ACTIVE,start:e,end:t,active:n}},jumpToState:function(e){return{type:g.JUMP_TO_STATE,index:e}},importState:function(e){return{type:g.IMPORT_STATE,nextLiftedState:e}}},b={type:"@@INIT"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(3),a=r(o);t.default=a.default.shape({subscribe:a.default.func.isRequired,dispatch:a.default.func.isRequired,getState:a.default.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error;try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};var r=function(){var e=t[t.length-1],n=t.slice(0,-1);return{v:function(){return n.reduceRight(function(e,t){return t(e)},e.apply(void 0,arguments))}}}();return"object"==typeof r?r.v:void 0}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){g===m&&(g=m.slice())}function a(){return v}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),g.push(e),function(){if(t){t=!1,r();var n=g.indexOf(e);g.splice(n,1)}}}function c(e){if(!(0,i.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(y)throw new Error("Reducers may not dispatch actions.");try{y=!0,v=h(v,e)}finally{y=!1}for(var t=m=g,n=0;n<t.length;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,c({type:l.INIT})}function d(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(a())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[u.default]=function(){return this},e}var p;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,v=t,m=[],g=m,y=!1;return c({type:l.INIT}),p={dispatch:c,subscribe:s,getState:a,replaceReducer:f},p[u.default]=d,p}t.__esModule=!0,t.ActionTypes=void 0,t.default=o;var a=n(165),i=r(a),s=n(1133),u=r(s),l=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error;try{throw new Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(l(r.parts[a],t))}else{for(var i=[],a=0;a<r.parts.length;a++)i.push(l(r.parts[a],t));p[r.id]={id:r.id,refs:1,parts:i}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],a=o[0],i=o[1],s=o[2],u=o[3],l={css:i,media:s,sourceMap:u};n[a]?n[a].parts.push(l):t.push(n[a]={id:a,parts:[l]})}return t}function a(e,t){var n=m(),r=b[b.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),b.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=b.indexOf(e);t>=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function l(e,t){var n,r,o;if(t.singleton){var a=y++;n=g||(g=s(t)),r=c.bind(null,n,a,!1),o=c.bind(null,n,a,!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=d.bind(null,n),o=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=f.bind(null,n),o=function(){i(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 c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function f(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 d(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"}),a=e.href;e.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}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(self.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 a=[],i=0;i<n.length;i++){var s=n[i],u=p[s.id];u.refs--,a.push(u)}if(e){var l=o(e);r(l,t)}for(var i=0;i<a.length;i++){var u=a[i];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete p[u.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,r){var o=r().genomeInfo.visibleGenome,i=r().genomeInfo.genomeLength;if(0===o[0]&&o[1]===i)return void n((0,a.notificationNew)("can't drag (whole genome in view)"));var s=(o[1]-o[0])*e;t&&(s=i*e);var u=o[0]+s,l=o[1]+s;if(u<0||l>i)if(n((0,a.notificationNew)("can't drag (already at edge of genome)")),u<0){if(0===u)return;l-=u,u=0}else{if(l===i)return;u-=l-i,l=i}n({type:"updateVisibleGenome",visibleGenome:[u,l]})}}function o(e,t){var n=1e3;return function(r,o){var i=o().genomeInfo.visibleGenome,s=o().genomeInfo.genomeLength;if(0===i[0]&&i[1]===s&&e<0)return void r((0,a.notificationNew)("can't zoom out: whole genome in view"));if(i[1]-i[0]===n&&e>0)return void r((0,a.notificationNew)("can't zoom in to less than 1000bp"));var u=1.5,l=e>0?e+u:e*-1+u,c=t*(i[1]-i[0]),f=i[1]-i[0]-c,d=c+i[0],p=void 0;p=e>0?[d-parseInt(c/l,10),d+parseInt(f/l,10)]:[d-parseInt(c*l,10),d+parseInt(f*l,10)],p[1]-p[0]<n&&(p=[d-n/2,d+n/2]),p[0]<0&&(p[0]=0,p[1]<n&&(p[1]=n)),p[1]>s&&(p[1]=s,p[0]>s-n&&(p[0]=s-n)),r({type:"updateVisibleGenome",visibleGenome:p})}}Object.defineProperty(t,"__esModule",{value:!0}),t.genomePan=r,t.genomeZoom=o;var a=n(110)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){for(var r={},o=s(e.canvas.canvas),i=e.prerenderer.getStep(e)/2*e.zoom/o,u=new Array,c=0;c<e.leaves.length;c++)u.push(e.leaves[c].id);for(var f=0;f<u.length;f++){var d=a(e.branches[u[f]].centery,e,o);r[u[f]]=[d-i,d+i]}(0,l.default)(n().phylogeny.activeTaxa,r)||t({type:"updatedTaxaPositions",activeTaxa:r})}}function a(e,t,n){var r=e;return r/=n,r*=t.zoom,r+=t.offsety}function i(e){return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}function s(e){return(window.devicePixelRatio||1)/i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.setYValues=o;var u=n(377),l=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.UnsupportedBrowser=void 0;var o=n(2),a=r(o),i=n(3),s=r(i),u=n(111),l=n(280),c=r(l),f=t.UnsupportedBrowser=function(e){var t=e.msg;return a.default.createElement("div",{className:"center",style:{paddingTop:"15vh"}},a.default.createElement("div",{className:"row center-xs"},a.default.createElement("div",{className:"col-xs-10 col-md-6"},a.default.createElement("h2",null,"Interactive visualization of genome phylogenies"),a.default.createElement(u.AnimatedLogo,{w:400,h:150,animate:!1}),a.default.createElement("h2",{className:"light"},"Apologies, ",t),a.default.createElement("h3",{className:"light"},"We have successfully tested phandango on the following browsers",a.default.createElement("ul",{style:{listStyleType:"none"}},a.default.createElement("li",null,a.default.createElement("a",{href:"https://www.google.com/chrome/browser/desktop/"},"Chrome 49+")," (best results)"),a.default.createElement("li",null,a.default.createElement("a",{href:"http://www.apple.com/uk/safari/"},"Safari 9+")),a.default.createElement("li",null,a.default.createElement("a",{href:"https://www.mozilla.org/en-GB/firefox/new/"},"Firefox 45+")))),a.default.createElement("strong",null,"Why is this?")," Different browsers use different syntax to handle events (such as zooming, dragging) as well as niggly things like scroll bars, animations e.t.c. Unfortunately there is lots of code which relies on these things in an interactive app such as this and its hard to support every browser out there!",a.default.createElement("p",null,a.default.createElement("strong",null,"Can you help?")," Phandango is open source and ",a.default.createElement("a",{href:"https://github.com/jameshadfield/phandango"},"is on GitHub"),". If you can help out and increase browser support that would be great."),a.default.createElement("p",null,a.default.createElement("a",{href:"mailto:jh22@sanger.ac.uk"},"Contact (email)")),a.default.createElement("p",null,"version ",c.default))))};f.propTypes={msg:s.default.string.isRequired}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n,r,o){for(var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=d(n,r,o,a),s=0;s<i.length;s++)if(e>=i[s].x&&e<=i[s].x+i[s].w&&t>=i[s].y&&t<=i[s].y+i[s].h)return i[s]}function l(e,t,n){for(var r=0;r<t.length;r++){e.fillStyle=t[r].fill,e.strokeStyle=t[r].stroke,e.lineWidth=t[r].strokeWidth,e.beginPath(),e.moveTo(t[r].coordinates[0][0],t[r].coordinates[0][1]);for(var o=1;o<t[r].coordinates.length;o++)e.lineTo(t[r].coordinates[o][0],t[r].coordinates[o][1]);e.closePath(),n&&e.stroke(),e.fill()}}function c(e,t,n){for(var r=0;r<t.length;r++){e.fillStyle=t[r].fill,e.strokeStyle=t[r].stroke,e.lineWidth=t[r].strokeWidth,e.beginPath(),e.moveTo(t[r].coordinates[0][0],t[r].coordinates[0][1]);for(var o=1;o<t[r].coordinates.length;o++)e.lineTo(t[r].coordinates[o][0],t[r].coordinates[o][1]);e.closePath(),n&&e.stroke(),e.fill()}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#CC302E";e.strokeStyle=n,e.lineWidth=2,e.beginPath(),e.moveTo(t.coordinates[0][0],t.coordinates[0][1]);for(var r=0;r<t.coordinates.length;r++)e.lineTo(t.coordinates[r][0],t.coordinates[r][1]);e.closePath(),e.stroke()}function d(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=n.width,a=[],i=parseInt(n.height/2,10),s=i/6,u=5e6;if(t[1]-t[0]>u&&r===!1)return[];for(var l=0;l<e.length;l++)e[l].featurestart>t[1]||e[l].featureend<t[0]||a.push(e[l]);for(var c=0;c<a.length;c++)a[c].h=i/2-s,r===!0&&(a[c].h=a[c].h/2),a[c].x=(a[c].featurestart-t[0])/(t[1]-t[0])*o,a[c].w=(a[c].featureend-a[c].featurestart)/(t[1]-t[0])*o,"+"===a[c].direction?a[c].y=i-(a[c].h+s):"-"===a[c].direction?a[c].y=i+s:a[c].y=i-a[c].h/2,a[c].x<0&&(a[c].w=a[c].w-(0-a[c].x),a[c].x=0),a[c].x+a[c].w>o&&(a[c].w=o-a[c].x),a[c].coordinates=[],a[c].coordinates.push([a[c].x,a[c].y]),a[c].coordinates.push([a[c].x,a[c].y+a[c].h]),a[c].coordinates.push([a[c].x+a[c].w,a[c].y+a[c].h]),a[c].coordinates.push([a[c].x+a[c].w,a[c].y]);return a}function p(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:6;e.strokeStyle="black",e.lineWidth=1,e.beginPath(),e.moveTo(0,r),e.lineTo(t,r),e.stroke();for(var a=o,i=parseFloat(t/(a-1),10),s=parseFloat((n[1]-n[0])/(a-1),10),u=0;u<a;u++){var l=i*u,c=n[0]+s*u,f=2;c>=1e6?(c/=1e6,c=String(+c.toFixed(f))+"Mb"):c>=1e3?(c/=1e3,c=String(+c.toFixed(f))+"kb"):c=String(+c.toFixed(0))+"bp",e.beginPath(),e.moveTo(l,r),e.lineTo(l,r+10),e.stroke(),e.save();var d=0;0===u?d=5:u+1===a&&(d=-5),e.translate(l+d,r+12),e.rotate(1.5*Math.PI),e.fillStyle="black",e.textBaseline="middle",e.textAlign="right",e.font="12px Helvetica",e.fillText(c,0,0),e.restore()}}Object.defineProperty(t,"__esModule",{value:!0}),t.Annotation=void 0;var h,v,m,g,y=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),b=n(2),x=o(b),w=n(21),_=n(3),k=o(_),C=n(85),S=n(55),E=r(S),P=n(178);t.Annotation=(h=(0,w.connect)(function(e){return{visibleGenome:e.genomeInfo.visibleGenome,data:e.annotation.data}}),h((g=m=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.state={geneSelected:void 0,geneHovered:void 0,contigSelected:void 0,contigHovered:void 0},s.infoUniqKey=0,s.initCanvasXY=E.initCanvasXY,s.clearCanvas=E.clearCanvas,s.getXYOfSelectedGene=function(e,t){var n=void 0;return n=t?parseInt(e.coordinates[1][t]+5+s.canvasPos.top,10):parseInt((e.coordinates[0][t]+e.coordinates[2][t])/2+s.canvasPos.left,10)},s.resizeFn=function(){s.forceUpdate()},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save();var e=window.svgCtx.width;window.svgCtx.width=s.canvas.width,window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip(),s.redraw(window.svgCtx,s.props,s.state),window.svgCtx.restore(),window.svgCtx.width=e},s.redraw=function(e,t,n){e.save();var r=d(t.data[1],t.visibleGenome,s.canvas,!0);l(e,r,t.visibleGenome[1]-t.visibleGenome[0]<1e5);var o=d(t.data[0],t.visibleGenome,s.canvas);c(e,o,t.visibleGenome[1]-t.visibleGenome[0]<1e5),p(e,s.canvas.width,t.visibleGenome,parseInt(s.canvas.height/2,10)),void 0!==n.geneSelected&&d([n.geneSelected],t.visibleGenome,s.canvas).length>0&&f(e,n.geneSelected,"red"),void 0!==n.geneHovered&&f(e,n.geneHovered,"purple"),void 0!==n.contigSelected&&d([n.contigSelected],t.visibleGenome,s.canvas,!0).length>0&&f(e,n.contigSelected,"red"),void 0!==n.contigHovered&&f(e,n.contigHovered,"purple"),e.restore()},s}return s(t,e),y(t,[{key:"componentDidMount",value:function(){var e=this;this.mouse=new C.Mouse(this.canvas,this.props.dispatch,this.onClickCallback.bind(this)),this.canvas.addEventListener("mousemove",this.onMouseMove.bind(this),!0),this.canvas.addEventListener("mouseout",function(){e.setState({geneHovered:void 0}),e.setState({contigHovered:void 0})},!0),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1),this.forceUpdate()}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUpdate",value:function(e,t){this.canvasPos=this.canvas.getBoundingClientRect(),this.initCanvasXY(),this.clearCanvas(),this.redraw(this.canvas.getContext("2d"),e,t)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"onMouseMove",value:function(e){var t=(0,C.getMouse)(e,this.canvas);this.setState({geneHovered:u(t.x,t.y,this.props.data[0],this.props.visibleGenome,this.canvas)}),this.setState({contigHovered:u(t.x,t.y,this.props.data[1],this.props.visibleGenome,this.canvas,!0)})}},{key:"onClickCallback",value:function(e,t){this.setState({geneSelected:u(e,t,this.props.data[0],this.props.visibleGenome,this.canvas)}),this.setState({contigSelected:u(e,t,this.props.data[1],this.props.visibleGenome,this.canvas,!0)})}},{key:"render",value:function(){var e=this,t=[],n=[];return this.state.geneSelected&&t.push({x:this.getXYOfSelectedGene(this.state.geneSelected,0),y:this.getXYOfSelectedGene(this.state.geneSelected,1),disp:this.state.geneSelected.fields}),this.state.geneHovered&&t.push({x:this.getXYOfSelectedGene(this.state.geneHovered,0),y:this.getXYOfSelectedGene(this.state.geneHovered,1),disp:this.state.geneHovered.fields}),this.state.contigSelected&&n.push({x:this.getXYOfSelectedGene(this.state.contigSelected,0),y:this.getXYOfSelectedGene(this.state.contigSelected,1),disp:this.state.contigSelected.fields}),this.state.contigHovered&&n.push({x:this.getXYOfSelectedGene(this.state.contigHovered,0),y:this.getXYOfSelectedGene(this.state.contigHovered,1),disp:this.state.contigHovered.fields}),x.default.createElement("div",null,x.default.createElement("canvas",{id:"GenomeAnnotation",ref:function(t){return e.canvas=t},style:this.props.style}),t.map(function(t,n){return x.default.createElement(P.InfoTip,{key:++e.infoUniqKey+"_"+n,disp:t.disp,x:t.x,y:t.y,count:t.count})}),n.map(function(t,n){return x.default.createElement(P.InfoTip,{key:++e.infoUniqKey+"_"+n,disp:t.disp,x:t.x,y:t.y,count:t.count})}))}}]),t}(x.default.Component),m.propTypes={visibleGenome:k.default.arrayOf(k.default.number).isRequired,dispatch:k.default.func.isRequired,data:k.default.array.isRequired,style:k.default.object.isRequired},v=g))||v)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n){e.globalAlpha=n,e.save();for(var r=0;r<t.length;r++)e.fillStyle=t[r].fill,e.beginPath(),e.fillRect(t[r].x1,t[r].y1,t[r].x2-t[r].x1,t[r].y2-t[r].y1);e.restore(),e.globalAlpha=1}function l(e,t){for(var n=void 0,r=[],o=0;o<e.length;o++)e[o]in t&&r.push(e[o]);if(0===r.length)n=!1;else if(1===r.length)n=t[r[0]];else{for(var a=t[r[0]][0],i=t[r[0]][1],s=1;s<r.length;s++)t[r[s]][1]>i?i=t[r[s]][1]:t[r[s]][0]<a&&(a=t[r[s]][0]);n=[a,i]}return n}function c(e,t,n,r,o){var a=t[1]-t[0],i=[],s=n.width;if(o){var u=!0,c=!1,f=void 0;try{for(var d,p=Object.keys(e)[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var h=d.value,v=r[h];if(v){var m=!0,g=!1,y=void 0;try{for(var b,x=e[h][Symbol.iterator]();!(m=(b=x.next()).done);m=!0){var w=b.value;if(!(w.startBase>=t[1]||w.endBase<=t[0])){var _=w;_.x1=parseInt((_.startBase-t[0])/a*n.width,10),_.x2=parseInt((_.endBase-t[0])/a*n.width,10),_.y1=v[0],_.y2=v[1],_.x1<0&&(_.x1=0),_.x2>s&&(_.x2=s),i.push(_)}}}catch(e){g=!0,y=e}finally{try{!m&&x.return&&x.return()}finally{if(g)throw y}}}}}catch(e){c=!0,f=e}finally{try{!u&&p.return&&p.return()}finally{if(c)throw f}}}else for(var k=0;k<e.length;k++)if(!(e[k].startBase>=t[1]||e[k].endBase<=t[0])){for(var C=!1,S=0;S<e[k].taxa.length;S++)if(e[k].taxa[S]in r){C=!0;break}if(C!==!1){var E=e[k];E.x1=parseInt((E.startBase-t[0])/a*n.width,10),E.x2=parseInt((E.endBase-t[0])/a*n.width,10),E.x1<0&&(E.x1=0),E.x2>s&&(E.x2=s);var P=l(E.taxa,r);P&&(E.y1=P[0],E.y2=P[1],i.push(E))}}return i}Object.defineProperty(t,"__esModule",{value:!0}),t.Blocks=void 0;var f,d,p,h,v=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=n(2),g=o(m),y=n(21),b=n(3),x=o(b),w=n(85),_=n(55),k=r(_),C=n(178);t.Blocks=(f=(0,y.connect)(function(e){return{visibleGenome:e.genomeInfo.visibleGenome,data:e.blocks.blocks,activeTaxa:e.phylogeny.activeTaxa,shouldMouseOver:e.blocks.shouldMouseOver,blocksArePerTaxa:e.blocks.blocksArePerTaxa,blockFillAlpha:e.blocks.blockFillAlpha}}),f((h=p=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.state={selected:void 0,hovered:void 0},s.onClickCallback=function(e,t){s.setState({selected:s.findSelected(e,t)})},s.onMouseMove=function(e){var t=(0,w.getMouse)(e,s.canvas);s.setState({hovered:s.findSelected(t.x,t.y)})},s.getXYOfBlock=function(e){return[parseInt(e.x2+s.canvasPos.left,10),parseInt(e.y2+s.canvasPos.top+5,10)]},s.resizeFn=function(){s.forceUpdate()},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save();var e=window.svgCtx.width;window.svgCtx.width=s.canvas.width,window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip(),s.redraw(window.svgCtx,s.props,s.state),window.svgCtx.restore(),window.svgCtx.width=e},s.redraw=function(e,t,n){var r=c(t.data,t.visibleGenome,s.canvas,t.activeTaxa,t.blocksArePerTaxa);u(e,r,t.blockFillAlpha),n.hovered&&s.drawBorder(e,n.hovered,"purple")},s.initCanvasXY=k.initCanvasXY,s.clearCanvas=k.clearCanvas,s.findSelected=function(e,t){for(var n=c(s.props.data,s.props.visibleGenome,s.canvas,s.props.activeTaxa),r=0;r<n.length;r++)if(e>=n[r].x1&&e<=n[r].x2&&t>=n[r].y1&&t<=n[r].y2)return n[r]},s.drawBorder=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:2;e.strokeStyle=n,e.lineWidth=r,e.beginPath(),e.lineTo(t.x1,t.y1),e.lineTo(t.x1,t.y2),e.lineTo(t.x2,t.y2),e.lineTo(t.x2,t.y1),e.lineTo(t.x1,t.y1),e.closePath(),e.stroke()},s}return s(t,e),v(t,[{key:"componentDidMount",value:function(){var e=this;this.initCanvasXY(),this.mouse=new w.Mouse(this.canvas,this.props.dispatch,this.onClickCallback),this.props.shouldMouseOver&&(this.canvas.addEventListener("mousemove",this.onMouseMove,!0),this.canvas.addEventListener("mouseout",function(){e.setState({hovered:void 0})},!0)),this.redraw(this.canvas.getContext("2d"),this.props,this.state),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1)}},{key:"componentWillUpdate",value:function(e,t){this.initCanvasXY(),this.clearCanvas(),this.canvasPos=this.canvas.getBoundingClientRect(),this.redraw(this.canvas.getContext("2d"),e,t)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this,t=[];return this.state.hovered&&t.push({x:this.getXYOfBlock(this.state.hovered)[0],y:this.getXYOfBlock(this.state.hovered)[1],disp:this.state.hovered.info}),g.default.createElement("div",null,g.default.createElement("canvas",{id:"Blocks",ref:function(t){e.canvas=t},style:this.props.style}),t.map(function(e,t){return g.default.createElement(C.InfoTip,{key:t,disp:e.disp,x:e.x,y:e.y})}))}}]),t}(g.default.Component),p.propTypes={visibleGenome:x.default.arrayOf(x.default.number).isRequired,dispatch:x.default.func.isRequired,data:x.default.oneOfType([x.default.array,x.default.object]).isRequired,style:x.default.object.isRequired,activeTaxa:x.default.object.isRequired,shouldMouseOver:x.default.bool.isRequired,blocksArePerTaxa:x.default.bool.isRequired,blockFillAlpha:x.default.number.isRequired},d=h))||d)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Cartoon=void 0;var u,l,c,f,d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2),h=o(p),v=n(21),m=n(3),g=o(m),y=n(55),b=r(y),x=n(85);t.Cartoon=(u=(0,v.connect)(function(e){return{visibleGenome:e.genomeInfo.visibleGenome,genomeLength:e.genomeInfo.genomeLength}}),u((f=c=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.initCanvasXY=b.initCanvasXY,s.clearCanvas=b.clearCanvas,s.resizeFn=function(){s.forceUpdate()},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save(),window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip(),s.redraw(window.svgCtx,s.props),window.svgCtx.restore()},s.redraw=function(e,t){var n=10,r=parseInt(s.canvas.height/2,10),o=n,a=parseInt(s.canvas.width,10)-n,i=parseInt(s.canvas.width,10)-2*n,u=parseInt(t.visibleGenome[0]/t.genomeLength*i+o,10),l=parseInt((t.visibleGenome[1]-t.visibleGenome[0])/t.genomeLength*i,10);l<1&&(l=1),e.save(),e.translate(.5,.5),e.strokeStyle="black",e.lineWidth=1,e.beginPath(),e.moveTo(o,r),e.lineTo(a,r),e.stroke(),e.globalAlpha=.2,e.fillStyle="black",e.fillRect(u,parseInt(s.canvas.height/4,10),l,parseInt(s.canvas.height/2,10)),e.globalAlpha=1,e.restore()},s}return s(t,e),d(t,[{key:"componentDidMount",value:function(){this.mouse=new x.Mouse(this.canvas,this.props.dispatch,function(){},!0),this.initCanvasXY(),this.redraw(this.canvas.getContext("2d"),this.props),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1)}},{key:"componentWillUpdate",value:function(e){this.initCanvasXY(),this.clearCanvas(),this.redraw(this.canvas.getContext("2d"),e)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this;return h.default.createElement("div",null,h.default.createElement("canvas",{id:"Blocks",ref:function(t){e.canvas=t},style:this.props.style}))}}]),t}(h.default.Component),c.propTypes={visibleGenome:g.default.arrayOf(g.default.number).isRequired,genomeLength:g.default.number.isRequired,style:g.default.object.isRequired,dispatch:g.default.func.isRequired},l=f))||l)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Gwas=void 0;var u,l,c,f,d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2),h=o(p),v=n(21),m=n(3),g=o(m),y=n(85),b=n(55),x=r(b),w=n(276);t.Gwas=(u=(0,v.connect)(function(e){return{visibleGenome:e.genomeInfo.visibleGenome,values:e.gwasGraph.values,max:e.gwasGraph.max}}),u((f=c=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.initCanvasXY=x.initCanvasXY,s.clearCanvas=x.clearCanvas,s.drawGraphAxis=w.drawGraphAxis,s.resizeFn=function(){s.forceUpdate()},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save();var e=window.svgCtx.width;window.svgCtx.width=s.canvas.width,window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip(),s.drawWrapper(s.props,!0),window.svgCtx.restore(),window.svgCtx.width=e},s.drawWrapper=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s.initCanvasXY(),s.clearCanvas(),s.drawData(s.canvas,e.visibleGenome,e.values,e.max,t),s.drawGraphAxis(s.canvas,{yMaxValue:e.max,numTicks:4,pdfoutput:t})},s.drawData=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=e.getContext("2d");o&&(a=window.svgCtx);for(var i=parseFloat((e.height-5)/r),u=t[1]-t[0],l=0;l<n.length;l++)if(n[l].featurex>t[0]&&n[l].featurex<t[1]){var c=parseInt((n[l].featurex-t[0])/u*e.width,10),f=e.height-n[l].featurey*i,d=u>1e5?1:u>1e4?2:u>1e3?3:4,p=void 0;n[l].radiusX?(p=parseInt(n[l].radiusX/u*e.width,10),p<1&&(p=1)):p=d,s.drawEllipse(a,c,f,p,n[l].fill)}},s.drawEllipse=function(e,t,n,r,o){e.fillStyle=o,e.beginPath(),e.arc(t,n,r,0,2*Math.PI),e.fill()},s}return s(t,e),d(t,[{key:"componentDidMount",value:function(){this.mouse=new y.Mouse(this.canvas,this.props.dispatch,this.onClickCallback),this.props.visibleGenome[1]&&this.drawWrapper(this.props),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1)}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUpdate",value:function(e){e.visibleGenome[1]&&this.drawWrapper(e)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this;return h.default.createElement("div",null,h.default.createElement("canvas",{id:"GWASGraphDiv",ref:function(t){e.canvas=t},style:this.props.style}))}}]),t}(h.default.Component),c.propTypes={max:g.default.number.isRequired,visibleGenome:g.default.arrayOf(g.default.number).isRequired,style:g.default.object.isRequired,
  dispatch:g.default.func.isRequired},l=f))||l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(269),v=n(21),m=n(3),g=r(m),y=n(84),b=function(e){var t=e.name,n=e.active,r=e.hide,o="pointer";n&&(o+=" heavy");var a=r?.3:.87;return p.default.createElement("span",{style:{verticalAlign:"middle",color:"rgba(0, 0, 0, "+a+")"},className:o},t)},x=(s=(0,v.connect)(function(e){return{showSettings:e.misc.showSettings,treeActive:e.layout.active.tree,annotationActive:e.layout.active.annotation}}),s((c=l=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),f(t,[{key:"render",value:function(){var e=this,t=this.props.location.pathname.split("/")[1],n="col-xs center",r=this.props.treeActive===!1&this.props.annotationActive===!1;return p.default.createElement("div",{id:"header"},p.default.createElement("div",{className:"row"},p.default.createElement("div",{className:n},p.default.createElement(h.Link,{to:"/"},p.default.createElement(b,{name:"Landing",active:""===t}))),p.default.createElement("div",{className:n},p.default.createElement(h.Link,{to:"/main"},p.default.createElement(b,{name:"Main",active:"main"===t&&!this.props.showSettings,hide:r}))),p.default.createElement("div",{className:n,onClick:function(){return e.maybeShowSettings()}},p.default.createElement(b,{name:"Settings",active:"main"===t&&this.props.showSettings,hide:r})),p.default.createElement("div",{className:n},p.default.createElement(h.Link,{to:"/examples"},p.default.createElement(b,{name:"Examples",active:"examples"===t}))),p.default.createElement("div",{className:n,onClick:function(){return window.open("https://github.com/jameshadfield/phandango/wiki","_blank")}},p.default.createElement(b,{name:"About (wiki)",active:"about"===t})),p.default.createElement("div",{className:n,onClick:function(){return window.open("https://github.com/jameshadfield/phandango","_blank")}},p.default.createElement(b,{name:"GitHub",active:!1}))))}},{key:"maybeShowSettings",value:function(){"main"===this.props.location.pathname.split("/")[1]&&this.props.dispatch((0,y.toggleSettings)())}}]),t}(p.default.Component),l.propTypes={dispatch:g.default.func.isRequired,showSettings:g.default.bool.isRequired,location:g.default.object.isRequired},u=c))||u);t.default=x},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Line=void 0;var u,l,c,f,d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2),h=o(p),v=n(3),m=o(v),g=n(85),y=n(55),b=r(y),x=n(276),w=n(21);t.Line=(u=(0,w.connect)(function(e){return{visibleGenome:e.genomeInfo.visibleGenome,values:e.lineGraph.values,lineColours:e.lineGraph.lineColours,subValues:e.lineGraph.subValues,max:e.lineGraph.max}}),u((f=c=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.initCanvasXY=b.initCanvasXY,s.clearCanvas=b.clearCanvas,s.drawGraphAxis=x.drawGraphAxis,s.resizeFn=function(){s.forceUpdate()},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save(),window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip(),s.drawWrapper(s.props,!0),window.svgCtx.restore()},s.drawWrapper=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=0;n<e.values.length;n++)s.drawLineGraph(s.canvas,e.visibleGenome,e.values[n],e.max,e.lineColours[n],t);s.drawGraphAxis(s.canvas,{yMaxValue:e.max,numTicks:4,pdfoutput:t})},s.drawLineGraph=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"orange",a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],i=s.canvas.getContext("2d");a&&(i=window.svgCtx);var u=parseFloat(e.height/r);i.save(),i.lineWidth=2,i.strokeStyle=o,i.beginPath(),i.moveTo(0,e.height);for(var l=1;l<=e.width;l++){var c=parseInt(t[0]+l/e.width*(t[1]-t[0])-1,10),f=e.height-n[c]*u;i.lineTo(l,f)}i.stroke(),i.restore()},s}return s(t,e),d(t,[{key:"componentDidMount",value:function(){this.mouse=new g.Mouse(this.canvas,this.props.dispatch,function(){}),this.initCanvasXY(),this.drawWrapper(this.props),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1)}},{key:"shouldComponentUpdate",value:function(){return!0}},{key:"componentWillUpdate",value:function(e){this.initCanvasXY(),this.clearCanvas(),this.drawWrapper(e)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this;return h.default.createElement("div",null,h.default.createElement("canvas",{id:"recombGraphDiv",ref:function(t){e.canvas=t},style:this.props.style}))}}]),t}(h.default.Component),c.propTypes={max:m.default.number.isRequired,visibleGenome:m.default.arrayOf(m.default.number).isRequired,style:m.default.object.isRequired,dispatch:m.default.func.isRequired,lineColours:m.default.array.isRequired},l=f))||l)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Headers=t.Metadata=void 0;var u,l,c,f,d=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=n(2),v=o(h),m=n(21),g=n(3),y=o(g),b=n(53),x=o(b),w=n(85),_=n(55),k=r(_),C=n(178),S=n(473),E=(t.Metadata=(u=(0,m.connect)(function(e){return{activeTaxa:e.phylogeny.activeTaxa,metadata:e.metadata}}),u((f=c=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.state={displayInfoActive:!1,displayInfo:{}},s.resizeFn=function(){s.forceUpdate()},s.findTaxaGivenYPosition=function(e,t){for(var n in t){var r=t[n];if(e>=r[0]&&e<=r[1])return n}},s.findHeaderGivenXPosition=function(e,t,n){for(var r=0;r<n;r++){var o=t(r);if(e>=o[0]&&e<=o[0]+o[1])return s.props.metadata.headerNames.filter(function(e,t){return s.props.metadata.toggles[t]})[r]}},s.mouseMove=function(e){var t=(0,w.getMouse)(e,s.canvas),n=s.findTaxaGivenYPosition(t.y,s.props.activeTaxa),r=s.findHeaderGivenXPosition(t.x,s.calculateXOffsets,s.numActiveHeaders);if(n&&r&&s.props.metadata.data[n]){var o=s.props.metadata.headerNames.indexOf(r),a=s.props.metadata.data[n][o],i=void 0;if(s.props.metadata.info[o].inGroup){var u=s.props.metadata.info[o].groupId;i=s.props.metadata.groups[u].values[a]}else i=s.props.metadata.values[o][a];var l={x:t.fixedX,y:t.fixedY,taxa:n,header:r,value:i};s.props.metadata.info[o].inGroup&&(l.group=s.props.metadata.info[o].type+" "+String(s.props.metadata.info[o].groupId)),s.setState({displayInfoActive:!0,displayInfo:l})}else s.setState({displayInfoActive:!1})},s.initCanvasXY=k.initCanvasXY,s.clearCanvas=k.clearCanvas,s.calculateXOffsetsMaker=function(e){var t=2*e<s.canvas.width?1:0,n=parseInt(s.canvas.width/e,10)-t;return function(e){var r=parseInt(e*n+e*t,10);return[r,n]}},s.drawSquares=function(e,t,n,r,o,a,i){for(var u=Object.keys(t),l=0;l<u.length;l++)for(var c=u[l],f=t[c],p=0,h=0;h<n.length;h++)if(n[h]){var v=s.calculateXOffsets(p),m=d(v,2),g=m[0],y=m[1];r[c]&&void 0!==r[c][h]&&(e.save(),i[h].inGroup?e.fillStyle=a[i[h].groupId].colours[r[c][h]]:e.fillStyle=o[h][r[c][h]],e.fillRect(g,f[0],y,f[1]-f[0]),e.restore()),p++}},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save(),window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip(),s.drawSquares(window.svgCtx,s.props.activeTaxa,s.props.metadata.toggles,s.props.metadata.data,s.props.metadata.colours,s.props.metadata.groups,s.props.metadata.info),window.svgCtx.restore();var e=(0,S.dom2svg)(x.default.findDOMNode(s._headerDiv));window.svgCtx.injectSVG(e)},s}return s(t,e),p(t,[{key:"componentDidMount",value:function(){var e=this;this.canvas.addEventListener("mousemove",this.mouseMove,!0),this.canvas.addEventListener("mouseout",function(){e.setState({displayInfoActive:!1})},!0),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1),this.forceUpdate()}},{key:"componentWillUpdate",value:function(e){e.metadata.toggles&&(this.initCanvasXY(),this.clearCanvas(),this.numActiveHeaders=e.metadata.toggles.filter(function(e){return e}).length,this.calculateXOffsets=this.calculateXOffsetsMaker(this.numActiveHeaders),this.drawSquares(this.canvas.getContext("2d"),e.activeTaxa,e.metadata.toggles,e.metadata.data,e.metadata.colours,e.metadata.groups,e.metadata.info))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this,t=!1;if(this.state.displayInfoActive){var n={taxon:this.state.displayInfo.taxa};this.state.displayInfo.group&&(n.group=this.state.displayInfo.group),n[this.state.displayInfo.header]=this.state.displayInfo.value,t=v.default.createElement(C.InfoTip,{x:this.state.displayInfo.x,y:this.state.displayInfo.y,disp:n})}return v.default.createElement("div",null,v.default.createElement("canvas",{id:"GenomeAnnotation",ref:function(t){return e.canvas=t},style:this.props.style}),t,v.default.createElement(E,{ref:function(t){return e._headerDiv=t},y:0,toggles:this.props.metadata.toggles,headerNames:this.props.metadata.headerNames,calculateXOffsets:this.calculateXOffsets,canvas:this.canvas}))}}]),t}(v.default.Component),c.propTypes={dispatch:y.default.func.isRequired,metadata:y.default.object.isRequired,style:y.default.object.isRequired,activeTaxa:y.default.object.isRequired},l=f))||l),t.Headers=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)))}return s(t,e),p(t,[{key:"render",value:function(){var e=this;if(!this.props.canvas)return!1;for(var t=this.props.canvas.offsetLeft,n=this.props.canvas.offsetTop,r=20,o=[],a=0;a<this.props.toggles.length;a++)this.props.toggles[a]&&o.push(this.props.headerNames[a]);var i=o.map(function(o,a){var i=e.props.calculateXOffsets(a),s=d(i,2),u=s[0],l=s[1],c={position:"absolute",zIndex:10,left:u+parseInt(l/2,10)+t+r/2,top:n+e.props.y-r,height:r,pointerEvents:"none",transform:"rotate(270deg)",transformOrigin:"left bottom 0"};return v.default.createElement("div",{key:a,style:c},o)});return v.default.createElement("div",null,i)}}]),t}(v.default.Component));E.propTypes={y:y.default.number,toggles:y.default.arrayOf(y.default.bool).isRequired,headerNames:y.default.arrayOf(y.default.string).isRequired,canvas:y.default.object,calculateXOffsets:y.default.func}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.MetadataKey=void 0;var u,l,c,f,d=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),h=n(2),v=o(h),m=n(21),g=n(3),y=o(g),b=n(55),x=r(b);t.MetadataKey=(u=(0,m.connect)(function(e){return{metadata:e.metadata}}),u((f=c=function(e){function t(){var e;a(this,t);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];var s=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.initCanvasXY=x.initCanvasXY,s.clearCanvas=x.clearCanvas,s.resizeFn=function(){s.forceUpdate()},s.svgdraw=function(){s.canvasPos=s.canvas.getBoundingClientRect(),window.svgCtx.save(),window.svgCtx.translate(s.canvasPos.left,s.canvasPos.top),window.svgCtx.rect(0,0,s.canvasPos.right-s.canvasPos.left,s.canvasPos.bottom-s.canvasPos.top),window.svgCtx.stroke(),window.svgCtx.clip();var e=s.columnIndexesToDisplay(s.canvas,s.props.metadata.toggles,s.props.metadata.info),t=s.calculateWidthsOfColumns(s.canvas,e.length),n=d(t,3),r=n[0],o=n[1],a=n[2];s.draw(window.svgCtx,s.canvas.width,s.canvas.height,s.props.metadata,e,r,o,a),window.svgCtx.restore()},s.draw=function(e,t,n,r,o,a,i,s){for(var u=0;u<o.length;u++){var l=o[u],c=r.headerNames[l];r.info[l].inGroup&&(c="group "+String(r.info[l].groupId));var f=40;e.fillStyle="black",e.textBaseline="middle",e.textAlign="left";var d=18;e.font=String(d)+"px Helvetica";for(var p=parseInt(t/o.length,10);e.measureText(c).width>p&&d>=12;)d-=1,e.font=String(d)+"px Helvetica";e.fillText(c,i[u],20);var h=void 0;h=r.info[l].inGroup?r.groups[r.info[l].groupId].values.length:r.values[l].length;for(var v=parseInt((n-f)/h,10),m=0;m<h;m++){e.fillStyle="black",e.textBaseline="middle",e.textAlign="left",e.font="12px Helvetica";var g=void 0;g=r.info[l].inGroup?r.groups[r.info[l].groupId].values[m]:r.values[l][m],e.fillText(g,s[u],f+v/2),e.save(),r.info[l].inGroup?e.fillStyle=r.groups[r.info[l].groupId].colours[m]:e.fillStyle=r.colours[l][m],e.fillRect(i[u],f,a,v),e.restore(),f+=v}}},s.columnIndexesToDisplay=function(e,t,n){for(var r=100,o=parseInt(e.width/r,10),a=[],i=[],s=0;s<t.length;s++)t[s]&&n[s].inGroup&&i.indexOf(n[s].groupId)===-1&&(i.push(n[s].groupId),a.push(s));for(var u=0;u<t.length;u++)t[u]&&a.indexOf(u)===-1&&!n[u].inGroup&&a.push(u);return a.length>o&&(a=a.slice(0,o)),a},s.calculateWidthsOfColumns=function(e,t){var n=parseInt(e.width/t,10),r=parseInt(n/4,10);r>50&&(r=50);for(var o=[],a=[],i=0;i<t;i++){var s=i*n;o.push(s),a.push(s+r+10)}return[r,o,a]},s}return s(t,e),p(t,[{key:"componentDidMount",value:function(){this.forceUpdate(),window.addEventListener("pdf",this.svgdraw,!1),window.addEventListener("resize",this.resizeFn,!1)}},{key:"componentWillUpdate",value:function(e){if(e.metadata.toggles){this.initCanvasXY(),this.clearCanvas();var t=this.columnIndexesToDisplay(this.canvas,e.metadata.toggles,e.metadata.info),n=this.calculateWidthsOfColumns(this.canvas,t.length),r=d(n,3),o=r[0],a=r[1],i=r[2];this.draw(this.canvas.getContext("2d"),this.canvas.width,this.canvas.height,e.metadata,t,o,a,i)}}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw,!1),window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this;return v.default.createElement("div",null,v.default.createElement("canvas",{id:"MetadataKey",ref:function(t){return e.canvas=t},style:this.props.style}))}}]),t}(v.default.Component),c.propTypes={metadata:y.default.object.isRequired,style:y.default.object.isRequired},l=f))||l)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationDisplay=void 0;var s,u,l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(2),f=r(c),d=n(3),p=r(d),h=n(903),v=r(h),m=n(911),g=r(m),y=n(21),b=n(110),x=t.NotificationDisplay=(s=(0,y.connect)(function(e){return{title:e.notifications.active.title,message:e.notifications.active.message,dialog:e.notifications.active.dialog,open:e.notifications.active.open,counter:e.notifications.counter}},function(e){return{notificationSeen:function(){e((0,b.notificationSeen)())}}}),s(u=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.state={open:!1},s.requestClose=function(){s.setState({open:!1}),s.props.notificationSeen()},s}return i(t,e),l(t,[{key:"componentWillReceiveProps",value:function(e){this.setState({open:e.open})}},{key:"render",value:function(){var e=void 0;return e=this.props.dialog?f.default.createElement(v.default,{title:this.props.title,ref:"errorDisplay",onRequestClose:this.requestClose,open:this.state.open},this.props.message):f.default.createElement(g.default,{message:this.props.title,ref:"errorDisplay",onRequestClose:this.requestClose,autoHideDuration:2e3,open:this.state.open}),f.default.createElement("g",null,e)}}]),t}(f.default.Component))||u);x.propTypes={title:p.default.string,message:p.default.oneOfType([p.default.string,p.default.object]),dialog:p.default.bool.isRequired,open:p.default.bool.isRequired,notificationSeen:p.default.func,counter:p.default.number.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Phylogeny=void 0;var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(21),v=n(3),m=r(v),g=n(53),y=r(g),b=n(451),x=n(177),w=n(390),_=r(w),k=n(950),C=r(k),S=n(377),E=r(S);_.default.plugin(C.default);t.Phylogeny=(s=(0,h.connect)(function(e){return{newickString:e.phylogeny.newickString,active:e.layout.active}}),s((c=l=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),f(t,[{key:"componentDidMount",value:function(){this.phylocanvas=_.default.createTree(y.default.findDOMNode(this),{fillCanvas:!0}),this.phylocanvas.setTreeType("rectangular"),this.phylocanvas.setNodeSize(0),this.phylocanvas.nodeAlign=!0,this.phylocanvas.padding=0,this.phylocanvas.resizeToContainer(),this.attachListenersToPhylocanvas(this,this.props.dispatch),window.addEventListener("pdf",this.svgdraw.bind(this),!1),this.props.newickString&&this.phylocanvas.load(this.props.newickString)}},{key:"componentWillReceiveProps",value:function(e){(0,E.default)(e.newickString,this.props.newickString)||(this.phylocanvas.load(e.newickString),this.props.dispatch((0,b.setYValues)(this.phylocanvas)))}},{key:"shouldComponentUpdate",value:function(e){return!(0,E.default)(this.props.style,e.style)}},{key:"componentDidUpdate",value:function(){window.requestAnimationFrame(this.resizePhylocanvas.bind(this))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("pdf",this.svgdraw.bind(this),!1)}},{key:"render",value:function(){return p.default.createElement("div",{style:this.props.style,id:"phyloDiv"})}},{key:"resizePhylocanvas",value:function(){this.phylocanvas.draw(!0),this.props.dispatch((0,b.setYValues)(this.phylocanvas))}},{key:"svgdraw",value:function(){function e(t,n){t.canvas=n;for(var r=0;r<t.children.length;r++)e(t.children[r],n)}this.canvasPos=this.phylocanvas.canvas.canvas.getBoundingClientRect(),window.svgCtx.save();var t=this.phylocanvas.canvas,n=window.svgCtx.width,r=window.svgCtx.height;this.phylocanvas.canvas=window.svgCtx;var o=window.devicePixelRatio;window.devicePixelRatio=1,this.phylocanvas.font="Helvetica",this.phylocanvas.canvas.width=this.canvasPos.width,this.phylocanvas.canvas.height=this.canvasPos.height,this.phylocanvas.canvas.translate(this.canvasPos.left,this.canvasPos.top),this.phylocanvas.canvas.rect(0,0,this.canvasPos.width,this.canvasPos.height),this.phylocanvas.canvas.stroke(),this.phylocanvas.canvas.clip(),e(this.phylocanvas.root,this.phylocanvas.canvas),this.phylocanvas.canvas.canvas.onselectstart=function(){return!1},this.phylocanvas.canvas.fillStyle="#000000",this.phylocanvas.canvas.strokeStyle="#000000",this.phylocanvas.canvas.save(),this.phylocanvas.branchColour="black",this.phylocanvas.draw(!0,!0,this.canvasPos.left,this.canvasPos.top,this.canvasPos.width,this.canvasPos.height),window.svgCtx.restore(),window.svgCtx.width=n,window.svgCtx.height=r,this.phylocanvas.canvas=t,window.devicePixelRatio=o,e(this.phylocanvas.root,this.phylocanvas.canvas),this.phylocanvas.draw(!0)}},{key:"attachListenersToPhylocanvas",value:function(e,t){document.getElementById("phyloDiv").addEventListener("updated",function(e){"selected"===e.property&&t((0,x.computeSubLineGraph)(e.nodeIds))},!1),document.getElementById("phyloDiv").addEventListener("originalTreeRedrawn",function(e){t((0,b.setYValues)(e)),t((0,x.updateLineGraphData)())},!1),document.getElementById("phyloDiv").addEventListener("subtree",function(n){t((0,b.setYValues)(e.phylocanvas)),t((0,x.updateLineGraphData)())},!1),document.getElementById("phyloDiv").addEventListener("loaded",function(){t((0,b.setYValues)(e.phylocanvas))},!1),e.phylocanvas.on("mousewheel",function(){t((0,b.setYValues)(e.phylocanvas))}),e.phylocanvas.on("mousemove",function(){t((0,b.setYValues)(e.phylocanvas))})}}]),t}(p.default.Component),l.propTypes={newickString:m.default.string,style:m.default.object,dispatch:m.default.func.isRequired,active:m.default.object.isRequired},u=c))||u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(3),v=r(h),m=n(21),g=n(176),y=n(84),b=n(111),x=["GPSC1","GPSC2","GPSC3","GPSC4","GPSC5","GPSC6","GPSC7","GPSC8","GPSC9","GPSC10","GPSC11","GPSC12","GPSC13","GPSC14","GPSC15","GPSC16","GPSC17","GPSC18","GPSC19","GPSC20","GPSC21","GPSC22","GPSC23","GPSC24","GPSC25","GPSC26","GPSC27","GPSC30","GPSC31","GPSC32","GPSC33","GPSC34","GPSC37","GPSC38","GPSC39","GPSC40","GPSC41","GPSC43","GPSC47","GPSC48","GPSC50","GPSC51","GPSC52","GPSC53","GPSC54","GPSC55","GPSC56","GPSC57","GPSC58","GPSC61","GPSC62","GPSC65","GPSC67","GPSC68","GPSC70","GPSC72","GPSC76","GPSC77","GPSC78","GPSC79","GPSC80","GPSC81","GPSC90","GPSC91","GPSC93","GPSC94","GPSC97","GPSC103","GPSC105","GPSC108","GPSC115","GPSC117","GPSC131"],w=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r="https://cdn.rawgit.com/jameshadfield/phandangoExampleData/master/GPS/"+e+"/"+e,o=[r+".tre",r+"_metadata.csv"];return t?o.push(r+"_gene_presence_absence.csv"):n&&(o.push(r+".gff"),o.push(r+"_predictions.gff")),o},_=(s=(0,m.connect)(),s((c=l=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.loadExample=function(e){s.props.dispatch((0,g.clearAllData)()),s.props.dispatch((0,y.increaseSpinner)(e.length)),s.context.router.history.push("/main");var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;s.props.dispatch((0,g.incomingFile)(i,!0))}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},s}return i(t,e),f(t,[{key:"render",value:function(){var e=this;return p.default.createElement("div",{className:"center",style:{paddingTop:"15vh"}},p.default.createElement("h2",{className:"light"},"Global Pneumococcal Sequencing Project"),p.default.createElement(b.AnimatedLogo,{w:600,h:200,interval:2e3,animate:!!navigator.userAgent.match(/WebKit/i)}),p.default.createElement("p",null),p.default.createElement("p",null,x.map(function(t){return p.default.createElement("p",{key:t},t+": ",p.default.createElement("span",{className:"pointer",style:{color:"#225ea8"},onClick:e.loadExample.bind(null,w(t))},"metadata only")," / ",p.default.createElement("span",{className:"pointer",style:{color:"#225ea8"},onClick:e.loadExample.bind(null,w(t,!1,!0))},"recombinations")," / ",p.default.createElement("span",{className:"pointer",style:{color:"#225ea8"},onClick:e.loadExample.bind(null,w(t,!0,!1))},"pan genome"))})),p.default.createElement("br",null),p.default.createElement("br",null),"GPS homepage: ",p.default.createElement("a",{href:"http://www.pneumogen.net/gps/",style:{color:"#225ea8"}},"pneumogen.net/gps/"))}}]),t}(p.default.Component),l.contextTypes={router:v.default.object.isRequired},l.propTypes={dispatch:v.default.func.isRequired},u=c))||u);t.default=_},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Drag=void 0;var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(21),v=n(3),m=r(v),g=n(84),y=n(279);t.Drag=(s=(0,h.connect)(function(e){return{rowPercs:e.layout.rowPercs,colPercs:e.layout.colPercs}}),s((c=l=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.state={dragging:!1},s.onMouseDown=function(e){0===e.button&&(s.setState({dragging:!0,pos:void 0,percs:s.props.isCol?s.props.colPercs:s.props.rowPercs}),e.stopPropagation(),e.preventDefault())},s.onMouseUp=function(e){s.setState({dragging:!1}),e.stopPropagation(),e.preventDefault(),s.state.pos&&s.props.dispatch((0,g.layoutPercentChange)(s.props.isCol,s.props.index,s.state.pos));
  },s.onMouseMove=function(e){if(s.state.dragging){var t=void 0;t=s.props.isCol?100*(e.pageX/window.innerWidth):100*(e.pageY/window.innerHeight);for(var n=0;n<s.props.index;n++)t-=s.state.percs[n];s.setState({percs:(0,y.changePercs)(s.state.percs,t,s.props.index),pos:t}),e.stopPropagation(),e.preventDefault()}},s.cumulativePosition=function(e,t){for(var n=0,r=0;r<e+1;r++)n+=t[r];return n},s.makeVh=function(e){return e.toString()+"vh"},s.resizeFn=function(){s.forceUpdate()},s}return i(t,e),f(t,[{key:"componentDidMount",value:function(){this.div.addEventListener("mousedown",this.onMouseDown,!0),window.addEventListener("resize",this.resizeFn,!1),this.resizeFn()}},{key:"componentDidUpdate",value:function(e,t){this.state.dragging&&!t.dragging?(document.addEventListener("mousemove",this.onMouseMove),document.addEventListener("mouseup",this.onMouseUp)):!this.state.dragging&&t.dragging&&(document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.resizeFn,!1)}},{key:"render",value:function(){var e=this,t=parseInt(getComputedStyle(document.body,null).getPropertyValue("margin-left"),10),n=parseInt(getComputedStyle(document.body,null).getPropertyValue("margin-top"),10),r=90,o=7.5,a=void 0,i=void 0,s=0;if(this.props.isCol){for(var u=this.state.dragging?this.state.percs:this.props.colPercs,l=0,c=0;c<=this.props.index;c++)l+=u[c];a=window.innerWidth*(l/100)-o+t,i=window.innerHeight/2}else{var f=this.state.dragging?this.state.percs:this.props.rowPercs;a=window.innerWidth/2;for(var d=0;d<=this.props.index;d++)s+=f[d];i="calc("+this.makeVh(s)+" - "+o.toString()+"px + "+n.toString()+"px - "+(s/100*3).toString()+"px)"}var h=null;return this.state.dragging&&(h=this.props.isCol?p.default.createElement("div",{style:{height:"100%",width:"2px",backgroundColor:"black",left:a+o-1,zIndex:r,position:"absolute",top:0}}):p.default.createElement("div",{style:{width:"100%",height:"2px",backgroundColor:"black",left:0,zIndex:r,position:"absolute",top:"calc("+this.makeVh(s)+" + "+n.toString()+"px - "+(s/100*3).toString()+"px - 2px)"}})),p.default.createElement("div",null,p.default.createElement("div",{className:"dragHandle",ref:function(t){return e.div=t},style:{position:"absolute",width:"15px",height:"15px",cursor:this.props.isCol?"col-resize":"row-resize",left:a,top:i,zIndex:r}}),h)}}]),t}(p.default.Component),l.propTypes={rowPercs:m.default.arrayOf(m.default.number).isRequired,colPercs:m.default.arrayOf(m.default.number).isRequired,dispatch:m.default.func.isRequired,index:m.default.number.isRequired,isCol:m.default.bool.isRequired},u=c))||u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u,l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(2),f=r(c),d=n(21),p=(s=(0,d.connect)(function(e){return{spinner:e.spinner}}),s(u=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"render",value:function(){return this.props.spinner?f.default.createElement("div",{className:"sk-fading-circle",id:"spinner"},f.default.createElement("div",{className:"sk-circle1 sk-circle"}),f.default.createElement("div",{className:"sk-circle2 sk-circle"}),f.default.createElement("div",{className:"sk-circle3 sk-circle"}),f.default.createElement("div",{className:"sk-circle4 sk-circle"}),f.default.createElement("div",{className:"sk-circle5 sk-circle"}),f.default.createElement("div",{className:"sk-circle6 sk-circle"}),f.default.createElement("div",{className:"sk-circle7 sk-circle"}),f.default.createElement("div",{className:"sk-circle8 sk-circle"}),f.default.createElement("div",{className:"sk-circle9 sk-circle"}),f.default.createElement("div",{className:"sk-circle10 sk-circle"}),f.default.createElement("div",{className:"sk-circle11 sk-circle"}),f.default.createElement("div",{className:"sk-circle12 sk-circle"})):null}}]),t}(f.default.Component))||u);t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n(281),n(1137),n(1138);var o=n(2),a=r(o),i=n(53),s=n(269),u=n(1081),l=n(485),c=r(l),f=n(277),d=(r(f),n(21)),p=n(1085),h=r(p),v=n(932),m=r(v),g=n(461),y=n(465),b=r(y),x=n(470),w=r(x),_=n(469),k=n(468),C=n(467),S=n(457),E=r(S),P=n(463),O=r(P),T=(0,c.default)(),M=(0,u.withRouter)(E.default),A=(0,u.withRouter)(w.default);(0,i.render)(a.default.createElement("div",null,null,a.default.createElement(d.Provider,{store:T,key:"providerKey"},a.default.createElement(s.HashRouter,null,a.default.createElement(m.default,null,a.default.createElement("div",null,a.default.createElement(A,null),a.default.createElement(M,null),a.default.createElement(b.default,null),a.default.createElement(s.Switch,null,a.default.createElement(s.Route,{exact:!0,path:"/",component:k.LandingPage}),a.default.createElement(s.Route,{path:"/examples",component:C.ExamplesPage}),a.default.createElement(s.Route,{path:"/main",component:_.Main}),a.default.createElement(s.Route,{path:"/gps",component:O.default}),a.default.createElement(s.Route,{path:"/*",component:k.LandingPage})),a.default.createElement(g.NotificationDisplay,null)))))),document.getElementById("react"));try{(0,h.default)()}catch(e){}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.ExamplesPage=void 0;var s,u,l,c,f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(2),h=r(p),v=n(21),m=n(3),g=r(m),y=n(111),b=n(176),x=n(84),w="https://cdn.rawgit.com/jameshadfield/phandangoExampleData/master/",_=[{name:"Gubbins + BRAT NextGen",imgPath:"img/examples/croucher_marttinen.png",caption:h.default.createElement("span",null,"An exploration of recombination in 240 ",h.default.createElement("em",null,"Streptococcus pneumoniae")," (PMEN1 lineage) genomes using both Gubbins & BRAT NextGen reveals an enrichment for horizontal gene transfer affecting major antigens and results in a number of capsule-switching events. Hint: go to the settings page (or use the shortcut keys z, x, c & v.) to toggle between gubbins & BRAT NextGen results."),citeURLs:["https://www.sciencemag.org/content/331/6016/430.abstract","http://nar.oxfordjournals.org/content/early/2011/11/07/nar.gkr928.abstract"],citeCaptions:[h.default.createElement("span",null,"Croucher ",h.default.createElement("em",null,"et al.")," Science 2011"),h.default.createElement("span",null,"Marttinen ",h.default.createElement("em",null,"et al.")," Nucleic Acids Research 2012")],paths:[w+"PMEN1_recombination/Spn23f.gff",w+"PMEN1_recombination/gubbins.gff",w+"PMEN1_recombination/gubbins.tre",w+"PMEN1_recombination/meta.simple.csv",w+"PMEN1_recombination/pmen1_segments_tabular.txt"]},{name:"ROARY pan-genome",imgPath:"img/examples/croucher_roary.png",caption:"These data show the distribution of genes across a sample of 616 pneumococci, isolated from carriage throughout Massachusetts in the years following the introduction of the seven valent anti-pneumococcal polysaccharide conjugate vaccine. Note: this dataset is ~6Mb in size so may be slow to load.",citeURLs:["https://www.nature.com/articles/sdata201558"],citeCaptions:[h.default.createElement("span",null,"Croucher ",h.default.createElement("em",null,"et al.")," Scientific Data 2015")],paths:[w+"SPARC/sparc.phandango.newick",w+"SPARC/sparc.metadata.csv",w+"SPARC/sparc.roary.csv"]},{name:"Bacterial GWAS",imgPath:"img/examples/chewapreecha.png",caption:"A genome-wide association study to identify SNPs and indels that could confer beta-lactam non-susceptibility using 3,085 Thai and 616 USA pneumococcal isolates as independent datasets for the variant discovery.",citeURLs:["http://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1004547"],citeCaptions:[h.default.createElement("span",null,"Chewapreecha ",h.default.createElement("em",null,"et al.")," PLOS Genetics 2014")],paths:[w+"PMEN1_recombination/Spn23f.gff",w+"PneumoGWAS/Maela.MA.cmh.unadjusted.plot"]},{name:"Gubbins + Metadata",imgPath:"img/examples/grad.png",caption:h.default.createElement("span",null,h.default.createElement("em",null,"Neisseria gonorrhoeae")," with decreased susceptibility to extended spectrum cephalosporins could become untreatable. Here is the recombination and metadata results (including resistance profiles) for 236 isolates collected from sentinel public sexually transmitted disease clinics in the USA. The results  show that Mosaic penA XXXIV had a high positive predictive value for cefR and a major lineage of cefRS strains spread eastward, predominantly through a sexual network of men who have sex with men."),citeURLs:["http://www.thelancet.com/journals/laninf/article/PIIS1473-3099%2813%2970693-5/abstract"],citeCaptions:[h.default.createElement("span",null,"Grad ",h.default.createElement("em",null,"et al.,")," Lancet Infec Dis 2014")],paths:[w+"gubbinsGono/original_set.FA1090.final_tree.figtree.tre",w+"gubbinsGono/ESC_resistance_groups.csv",w+"gubbinsGono/Neisseria_gonorrhoeae_strain_FA_1090_v1.gff",w+"gubbinsGono/original_set.FA1090.recombination_predictions.gff"]},{name:"Gubbins + Metadata",imgPath:"img/examples/sanchez_buso.png",caption:h.default.createElement("span",null,"Outbreak investigation of 46 ",h.default.createElement("em",null,"Legionella pneumophila")," strains (ST578) linked to recurrent outbreaks in a single location (Alcoy, Spain) over 11 years showed that 16 recombination events are responsible for almost 98% of the SNPs detected in the core genome and an apparent acceleration in the evolutionary rate. This analysis is vitally important for public health interventions in Legionella outbreaks and is a great example of how non-vertical processes have a major role in the short-term evolution of pathogens and environmental bacteria alike."),citeURLs:["http://www.nature.com/ng/journal/v46/n11/full/ng.3114.html"],citeCaptions:[h.default.createElement("span",null,"Sánchez-Busó ",h.default.createElement("em",null,"et al.")," Nature Genetics 2014")],paths:[w+"LegionellaST578/st578_3120genes_Final.tre",w+"LegionellaST578/st578_metadata.csv",w+"LegionellaST578/lpa.gff",w+"LegionellaST578/st578_3120genes_rec.gff"]},{name:"ROARY pan-genome",imgPath:"img/examples/makendi.png",caption:h.default.createElement("span",null,h.default.createElement("em",null,"Salmonella Weltevreden")," is an emerging cause of diarrheal and invasive disease in humans residing in tropical regions and little is known about its genetic diversity. Here, genome analysis of more than 100 isolates demonstrated that the population of ",h.default.createElement("em",null,"S. Weltevreden")," can be segregated into two main phylogenetic clusters, one associated predominantly with continental Southeast Asia and the other more internationally dispersed. Here you can explore the pan genome content of the species and see how it differs between lineages."),citeURLs:["http://journals.plos.org/plosntds/article?id=10.1371/journal.pntd.0004446"],citeCaptions:[h.default.createElement("span",null,"Makendi ",h.default.createElement("em",null,"et al.")," PLoS Negl Trop Dis 2016")],paths:[w+"roary_S.Weltevreden/sw_chr_gubbins.tre",w+"roary_S.Weltevreden/sw_metadata.csv",w+"roary_S.Weltevreden/gene_presence_absence.csv"]},{name:"BRAT NextGen",imgPath:"img/examples/reuter.png",caption:h.default.createElement("span",null,"This data set is the core genome phylogeny of ",h.default.createElement("em",null,"Yersinia enterocolitica")," inferred using ",h.default.createElement("a",{href:"http://harvest.readthedocs.io/en/latest/index.html"},"harvest"),". The species is split into 6 phylogroups (PGs) with PG1 being non-pathogenic, PG2 being highly-pathogenic, PG3-5 being the most commonly isolated human pathogens, and PG6 being a very rare type only isolated from wild Hares. Here are the recombination regions inffered by BRAT NextGen for PG1 set against the phylogeny generated from a LS-BSR core alignment. Note: this dataset is c. 7Mb in size. This analysis has been repeated for PGs 3-6, and this data may be downloaded for visualisation in phandango ",h.default.createElement("a",{href:"https://github.com/jameshadfield/phandangoExampleData/tree/master/BratNextGen_Yersinnia"},"here")),citeURLs:["http://mgen.microbiologyresearch.org/content/journal/mgen/10.1099/mgen.0.000030"],citeCaptions:[h.default.createElement("span",null,"Reuter ",h.default.createElement("em",null,"et al.")," Microbial Genomics 2015")],paths:[w+"BratNextGen_Yersinnia/Yent.all.tre",w+"BratNextGen_Yersinnia/metadata.csv",w+"BratNextGen_Yersinnia/PG1/YentNon.gff",w+"BratNextGen_Yersinnia/PG1/Yentnon_recombinations_tabular.txt"]},{name:"Gubbins",imgPath:"img/examples/croucher_gubbins.png",caption:"The example from the original Gubbins paper, describing an iterative algorithm that uses spatial scanning statistics to identify loci containing elevated densities of base substitutions suggestive of horizontal sequence transfer while concurrently constructing a maximum likelihood phylogeny based on the putative point mutations outside these regions of high sequence diversity.",citeURLs:["http://nar.oxfordjournals.org/content/early/2014/11/20/nar.gku1196.abstract"],citeCaptions:[h.default.createElement("span",null,"Croucher ",h.default.createElement("em",null,"et al.")," Nucleic Acids Research 2015")],paths:[w+"gubbinsNAR/EVAL.PMEN1.final_tree.tre",w+"gubbinsNAR/Spn23f.gff",w+"gubbinsNAR/EVAL.PMEN1.recombination_predictions.gff"]},{name:"Gubbins + Metadata",imgPath:"img/examples/hadfield.png",caption:h.default.createElement("span",null,"The data underlying a global analysis of 463 ",h.default.createElement("em",null,"Chlamydia trachomatis")," genomes, which revealed widespread recombination with differing dynamics across lineages. Associated metadata provided."),citeURLs:["http://genome.cshlp.org/content/27/7/1220.full"],citeCaptions:[h.default.createElement("span",null,"Hadfield ",h.default.createElement("em",null,"et al.")," Genome Research 2017")],paths:[w+"gubbinsCTGD/tree.tre",w+"gubbinsCTGD/metadata.csv",w+"gubbinsCTGD/genome.gff",w+"gubbinsCTGD/gubbins.gff"]}],k=function(e){var t=e.name,n=e.paths,r=e.callback,o=e.caption,a=e.imgPath,i=e.citeURLs,s=e.citeCaptions,u=void 0===s?[]:s;return h.default.createElement("div",null,h.default.createElement("p",{className:"promo-caption center-align"},t),h.default.createElement("div",{className:"fitImageToBox center-align",onClick:r.bind(null,n)},h.default.createElement("img",{className:"pointer",src:a,alt:t})),h.default.createElement("p",{className:"light center-align"},o),h.default.createElement("div",{className:"strong center-align"},"Data and splash image(s) adapted from:"),u.map(function(e,t){return h.default.createElement("div",{key:t,className:"light center-align"},h.default.createElement("a",{href:i[t]},e))}),h.default.createElement("br",null))};t.ExamplesPage=(s=(0,v.connect)(),s((c=l=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.loadExample=function(e){s.props.dispatch((0,b.clearAllData)()),s.props.dispatch((0,x.increaseSpinner)(e.length)),s.context.router.history.push("/main");var t=!0,n=!1,r=void 0;try{for(var o,a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0){var i=o.value;s.props.dispatch((0,b.incomingFile)(i,!0))}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},s}return i(t,e),d(t,[{key:"render",value:function(){var e=this;return h.default.createElement("div",{className:"bgwhite content"},h.default.createElement("div",{className:"center"},h.default.createElement(y.AnimatedLogo,{w:400,h:150,interval:1e4})),h.default.createElement("br",null),h.default.createElement("h2",{className:"light center"},"Example Datasets - click the images to load"),h.default.createElement("br",null),h.default.createElement("div",{className:"row"},_.map(function(t,n){return h.default.createElement("div",{key:n,className:"col-xs-4"},h.default.createElement(k,f({},t,{callback:e.loadExample})))})),h.default.createElement("p",{className:"center",style:{paddingTop:"5vh",paddingBottom:"5vh"}},"The raw data may be accessed at ",h.default.createElement("a",{href:"https://github.com/jameshadfield/phandangoExampleData"},"github.com/jameshadfield/phandangoExampleData"),". Please note that downloading this data is not necessary - simply click on the relevant image to load the examples."))}}]),t}(h.default.Component),l.propTypes={dispatch:g.default.func.isRequired},l.contextTypes={router:g.default.object.isRequired},u=c))||u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.LandingPage=void 0;var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(3),v=r(h),m=n(280),g=r(m),y=n(111),b=n(269),x=n(55),w=n(21);t.LandingPage=(s=(0,w.connect)(),s((c=l=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),f(t,[{key:"render",value:function(){var e=null,t=(0,x.getBrowser)();return["Chrome","Safari","Firefox"].indexOf(t.name)===-1&&(e=t.name+" version "+t.version.toString()),this.props.browserMessage&&(e=p.default.createElement("strong",null,"Please note, we have not tested phandango on your browser - ",this.props.browserMessage,". Let us know if anything is amiss!")),p.default.createElement("div",{className:"center",style:{paddingTop:"15vh"}},p.default.createElement("h2",{className:"light"},"Interactive visualization of genome phylogenies"),p.default.createElement(y.AnimatedLogo,{w:600,h:200,interval:2e3,animate:!!navigator.userAgent.match(/WebKit/i)}),p.default.createElement("p",null),p.default.createElement("br",null),p.default.createElement("h3",{className:"light"},"If you use phandango, please cite ",p.default.createElement("a",{style:{color:"#225ea8"},className:"pointer",onClick:function(){return window.open("https://doi.org/10.1093/bioinformatics/btx610","_blank")}},"Hadfield ",p.default.createElement("i",null,"et al."),", Bioinformatics (2017)")," 🎉",p.default.createElement("br",null),p.default.createElement("br",null),"Want your data to appear as one of the examples? ",p.default.createElement("a",{href:"mailto:jhadfiel@fredhutch.org"},"email me")," and i'll add it 👍"),p.default.createElement("p",null," "),p.default.createElement("h2",{className:"light"},"drop your data on to begin"),e,p.default.createElement("p",{style:{color:"#225ea8"}},p.default.createElement("a",{className:"pointer",onClick:function(){return window.open("https://github.com/jameshadfield/phandango/wiki","_blank")}},"About / Help (GitHub wiki)"),p.default.createElement("br",null),p.default.createElement("br",null),p.default.createElement(b.Link,{to:"/examples"},p.default.createElement("span",{className:"pointer",style:{color:"rgb(34, 94, 168)"}},"Example Datasets")),p.default.createElement("br",null),p.default.createElement("br",null),p.default.createElement("a",{className:"pointer",onClick:function(){return window.open("https://github.com/jameshadfield/phandango","_blank")}},"Github (source code)"),p.default.createElement("br",null),p.default.createElement("br",null)),p.default.createElement("br",null),"version ",g.default)}}]),t}(p.default.Component),l.propTypes={browserMessage:v.default.string},u=c))||u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Main=void 0;var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(21),v=n(3),m=r(v),g=n(453),y=n(464),b=n(462),x=n(454),w=n(459),_=n(460),k=n(458),C=n(456),S=n(455),E=n(111),P=n(471);t.Main=(s=(0,h.connect)(function(e){return{active:e.layout.active,colPercs:e.layout.colPercs,rowPercs:e.layout.rowPercs,logoIsOn:e.layout.logoIsOn}}),s((c=l=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var s=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return s.displayName="CanvasContainer",s.keyIdx=0,s.key="canvases0",s.resizeFn=function(){s.forceUpdate()},s.percentize=function(e){return e.toString()+"%"},s.makeVh=function(e){return e.toString()+"vh"},s.getStyle=function(e,t){var n={width:s.percentize(s.props.colPercs[e]),height:"calc("+s.makeVh(s.props.rowPercs[t])+" - 3px)",position:"relative",margin:"0px"};return e<2?n.float="left":n.float="right",0===e&&2===t&&(n.position="absolute",n.bottom="30px",n.left="10px"),n},s}return i(t,e),f(t,[{key:"componentDidUpdate",value:function(){window.dispatchEvent(new Event("resize"))}},{key:"render",value:function(){var e=this,t=this.props.active;if(!Object.keys(t).some(function(e){return t[e]}))return!1;var n=[];t.blocks||t.annotation?n[0]=p.default.createElement(S.Cartoon,{style:this.getStyle(0,0),key:"cartoon"}):n[0]=p.default.createElement("div",{style:this.getStyle(0,0),key:"cartoon"}),n[1]=p.default.createElement("div",{style:this.getStyle(1,0),key:"aboveMeta"}),t.annotation?n[2]=p.default.createElement(g.Annotation,{style:this.getStyle(2,0),key:"annotation"}):n[2]=p.default.createElement("div",{style:this.getStyle(2,0),key:"annotation"});var r=[];t.tree?r[0]=p.default.createElement(b.Phylogeny,{style:this.getStyle(0,1),key:"tree"}):r[0]=p.default.createElement("div",{style:this.getStyle(0,1),key:"tree"}),t.meta?r[1]=p.default.createElement(w.Metadata,{style:this.getStyle(1,1),key:"meta"}):r[1]=p.default.createElement("div",{style:this.getStyle(1,1),key:"meta"}),t.metaKey?r[2]=p.default.createElement(_.MetadataKey,{style:this.getStyle(2,1),key:"metaKey"}):t.blocks?r[2]=p.default.createElement(x.Blocks,{style:this.getStyle(2,1),key:"blocks"}):r[2]=p.default.createElement("div",{style:this.getStyle(2,1),key:"blocks"});var o=[];"gwas"in t.plots?o[0]=p.default.createElement(C.Gwas,{style:this.getStyle(2,2),key:"gwas"}):"line"in t.plots&&(o[0]=p.default.createElement(k.Line,{style:this.getStyle(2,2),key:"line"}));var a=null;this.props.logoIsOn&&(a=p.default.createElement("div",{id:"staticLogo",style:{position:"absolute",bottom:"5px",width:"200px",left:"5px",height:"100px"}},p.default.createElement(E.StaticLogo,null)));var i=[],s=2;this.props.active.tree||(s-=1);for(var u=0;u<s;u++)i[u]=p.default.createElement(y.Drag,{index:u,isCol:!1,key:"row"+u.toString()+"drag"});var l=[];s=2,this.props.active.meta||(s-=1),this.props.active.blocks||this.props.active.annotation||this.props.active.metaKey||(s-=1);for(var c=0;c<s;c++)l[c]=p.default.createElement(y.Drag,{index:c,isCol:!0,key:"col"+c.toString()+"drag"});return p.default.createElement("div",null,p.default.createElement(P.Settings,null),p.default.createElement("div",{id:"canvassesDiv",ref:function(t){return e.node=t},key:this.key},p.default.createElement("div",{className:"newline"}),n,p.default.createElement("div",{className:"newline"}),r,p.default.createElement("div",{className:"newline"}),o,a,i,l))}}]),t}(p.default.Component),l.propTypes={active:m.default.object.isRequired,colPercs:m.default.arrayOf(m.default.number).isRequired,rowPercs:m.default.array.isRequired,logoIsOn:m.default.bool.isRequired},u=c))||u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(3),v=r(h),m=n(21),g=(n(452),n(55),n(110)),y=n(84),b=n(176),x=n(472),w=r(x),_=new Event("pdf"),k=(s=(0,m.connect)(function(e){return{layout:e.layout,spinner:e.spinner}}),s((c=l=function(e){function t(e){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return i(t,e),f(t,[{key:"componentDidMount",value:function(){var e=this;document.addEventListener("dragover",function(e){e.preventDefault()},!1),document.addEventListener("drop",function(t){t.preventDefault(),e.filesDropped(t)},!1),document.addEventListener("keyup",this.keyIncoming.bind(this))}},{key:"componentWillReceiveProps",value:function(e){this.props.spinner!==e.spinner&&0===e.spinner&&this.props.dispatch((0,g.checkLoadedDataIsComplete)())}},{key:"render",value:function(){return null}},{key:"produceSVG",value:function(){window.svgCtx=new w.default(window.innerWidth,window.innerHeight),window.dispatchEvent(_);var e=window.svgCtx.getSerializedSvg(!0),t=void 0,n=document.createElement("a");if(void 0!==n.download){var r=new Blob([e],{type:"text/plain;charset=utf-8"});t=window.URL.createObjectURL(r),n.setAttribute("href",t),n.download="Phandango.svg"}else{var o="data:application/svg;charset=utf-8,"+encodeURIComponent(e);n.setAttribute("href",o)}document.body.appendChild(n),n.click(),setTimeout(function(){t&&window.URL.revokeObjectURL(t),document.body.removeChild(n)},100)}},{key:"filesDropped",value:function(e){this.context.router.history.push("/main"),this.props.dispatch((0,g.notificationNew)("press 's' to show settings"));var t=e.dataTransfer.files;e.preventDefault(),this.props.dispatch((0,y.increaseSpinner)(t.length));for(var n=0;n<t.length;n++)this.props.dispatch((0,b.incomingFile)(t[n]))}},{key:"keyIncoming",value:function(e){var t=e.keyCode||e.charCode;switch(t){case 83:this.props.location.pathname.startsWith("/main")&&this.props.dispatch((0,y.toggleSettings)());break;case 77:this.context.router.history.push("/main");break;case 76:this.context.router.history.push("/");break;case 69:this.context.router.history.push("/examples");break;case 71:this.context.router.history.push("/gps");break;case 90:this.props.dispatch((0,y.showBlocks)("gubbins"));break;case 88:this.props.dispatch((0,y.showBlocks)("gubbinsPerTaxa"));break;case 67:this.props.dispatch((0,y.showBlocks)("bratNextGen"));break;case 86:this.props.dispatch((0,y.showBlocks)("merged"));break;case 75:this.props.dispatch((0,y.toggleMetaKey)());break;case 80:this.produceSVG();break;default:return}}}]),t}(p.default.Component),l.propTypes={dispatch:v.default.func.isRequired,location:v.default.object.isRequired},l.contextTypes={router:v.default.object.isRequired},u=c))||u);t.default=k},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=t.Layout=t.Settings=void 0;var s,u,l,c,f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=n(2),p=r(d),h=n(3),v=r(h),m=n(21),g=n(84),y=n(908),b=r(y),x=n(914),w=r(x),_=n(380),k=r(_),C=n(939),S=r(C),E=n(940),P=r(E),O=n(938),T=r(O),M=(t.Settings=(s=(0,m.connect)(function(e){return{showSettings:e.misc.showSettings}}),s((c=l=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)))}return i(t,e),f(t,[{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var e=this;if(!this.props.showSettings)return null;var t="col-xs-3 bgwhite border noOverflow";return p.default.createElement("div",{className:"fullpage padding10 content",style:{zIndex:1e3},ref:function(t){return e.node=t},key:"myKey"},p.default.createElement("div",{className:"row"},p.default.createElement(A,{className:t}),p.default.createElement(R,{
  className:t}),p.default.createElement(F,{className:t}),p.default.createElement(D,{className:t})))}}]),t}(p.default.Component),l.propTypes={dispatch:v.default.func.isRequired,showSettings:v.default.bool.isRequired},u=c))||u),t.Layout=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)))}return i(t,e),f(t,[{key:"render",value:function(){var e=this,t={marginTop:"-20px",marginBottom:"-40px"},n=["Left","Middle","Right"],r=this.props.colPercs.map(function(r,o){return p.default.createElement("div",{key:o,className:"range-field"},n[o],p.default.createElement(b.default,{name:n[o],min:0,max:100,value:r,style:t,onChange:e.props.onSliderChange.bind(e,!0,o)}))}),o=["Top","Middle","Bottom"],a=this.props.rowPercs.map(function(n,r){return p.default.createElement("div",{key:r,className:"range-field"},o[r],p.default.createElement(b.default,{name:o[r],min:0,max:100,value:n,style:t,onChange:e.props.onSliderChange.bind(e,!1,r)}))});return p.default.createElement("div",{className:this.props.className},p.default.createElement("h3",null,"Panel Layout"),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Clear all data",labelPosition:"after",icon:p.default.createElement(S.default,null),onClick:this.props.clearAllData}),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Clear tree",labelPosition:"after",icon:p.default.createElement(S.default,null),onClick:this.props.clearTree.bind(this)}),p.default.createElement("hr",null),p.default.createElement("h4",null,"columns:"),r,p.default.createElement("h4",null,"rows:"),a,p.default.createElement("h4",null,"other:"),p.default.createElement(w.default,{name:"master",value:"master",labelPosition:"right",label:"Phandango logo on / off",disabled:!1,defaultToggled:this.props.logoIsOn,onToggle:this.props.toggleLogo}),p.default.createElement("p",null))}}]),t}(p.default.Component));M.propTypes={colPercs:v.default.arrayOf(v.default.number).isRequired,rowPercs:v.default.arrayOf(v.default.number).isRequired,onSliderChange:v.default.func.isRequired,className:v.default.string,toggleLogo:v.default.func.isRequired,logoIsOn:v.default.bool.isRequired,clearAllData:v.default.func.isRequired,clearTree:v.default.func.isRequired};var A=(0,m.connect)(function(e){return{colPercs:e.layout.colPercs,rowPercs:e.layout.rowPercs,logoIsOn:e.layout.logoIsOn}},function(e){return{onSliderChange:function(t,n,r,o){return e((0,g.layoutPercentChange)(t,n,parseInt(o,10)))},toggleLogo:function(){return e((0,g.toggleLogo)())},clearAllData:function(){e((0,g.clearAllData)(!0))},clearTree:function(){e((0,g.clearTree)())}}})(M),j=t.Metadata=function(e){function t(){var e;o(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)))}return i(t,e),f(t,[{key:"render",value:function(){var e=this;return!(!this.props.fileName||"not loaded"===this.props.fileName)&&p.default.createElement("div",{className:this.props.className},p.default.createElement("h3",null,"Metadata"),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Clear metadata",labelPosition:"after",icon:p.default.createElement(S.default,null),onClick:this.props.clearMetadata.bind(this)}),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Turn off all columns",labelPosition:"after",icon:p.default.createElement(P.default,null),onClick:this.props.toggleAllMetaColumns.bind(this,!1)}),p.default.createElement(k.default,{label:"Turn on all columns",labelPosition:"after",icon:p.default.createElement(T.default,null),onClick:this.props.toggleAllMetaColumns.bind(this,!0)}),p.default.createElement("hr",null),p.default.createElement("div",null,p.default.createElement("h4",null,"Toggle columns:"),this.props.headerNames.map(function(t,n){return p.default.createElement(w.default,{name:t,value:t,key:n,labelPosition:"right",label:t,disabled:!1,defaultToggled:e.props.toggles[n],onToggle:e.props.toggleMetaHeader.bind(e,e.props.toggles[n],n)})})))}}]),t}(p.default.Component);j.propTypes={headerNames:v.default.arrayOf(v.default.string),toggles:v.default.arrayOf(v.default.bool),fileName:v.default.string,active:v.default.bool,className:v.default.string,toggleMetaHeader:v.default.func.isRequired,toggleAllMetaColumns:v.default.func.isRequired,clearMetadata:v.default.func.isRequired};var R=(0,m.connect)(function(e){return{headerNames:e.metadata.headerNames,toggles:e.metadata.toggles,fileName:e.metadata.fileName,active:e.layout.active.meta}},function(e){return{toggleMetaHeader:function(t,n){e((0,g.toggleMetadataColumn)(n,!t))},toggleAllMetaColumns:function(t){e((0,g.toggleAllMetaColumns)(t))},clearMetadata:function(){e((0,g.clearMetadata)())}}})(j),N=function(e){var t=e.active,n=e.component,r=e.file;return p.default.createElement("p",{style:t?{}:{textDecoration:"line-through"}},p.default.createElement("strong",null,n,":")," ",r.split("/").slice(-1)[0])};N.propTypes={active:v.default.bool,component:v.default.string,file:v.default.string};var I=function(e){return p.default.createElement("div",{className:e.className},p.default.createElement("h3",null,"Loaded Data:"),p.default.createElement("hr",null),p.default.createElement(N,{component:"Phylogeny",file:e.phylogeny,active:e.active.tree}),p.default.createElement(N,{component:"Metadata",file:e.metadata,active:e.active.meta}),p.default.createElement(N,{component:"Annotation",file:e.annotation,active:e.active.annotation}),Object.keys(e.blocks).map(function(t,n){return p.default.createElement(N,{component:t,key:n,file:e.blocks[t],active:!0})}))};I.propTypes={className:v.default.string,active:v.default.object.isRequired,metadata:v.default.string,annotation:v.default.string,phylogeny:v.default.string,plots:v.default.arrayOf(v.default.string),blocks:v.default.object};var D=(0,m.connect)(function(e){return{active:e.layout.active,phylogeny:e.phylogeny.fileName,metadata:e.metadata.fileName,annotation:e.annotation.fileName,blocks:e.blocks.fileNames}})(I),L=function(e){var t=e.dataAvailable;t.hasOwnProperty("gubbins")&&t.hasOwnProperty("bratNextGen")&&(t.merged=!0);var n={gubbins:"z",gubbinsPerTaxa:"x",bratNextGen:"c",merged:"v"};return p.default.createElement("div",{className:e.className},p.default.createElement("h3",null,"Block options:"),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Clear annotation data",labelPosition:"after",icon:p.default.createElement(S.default,null),onClick:e.clearAnnotationData.bind(void 0)}),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Clear block data",labelPosition:"after",icon:p.default.createElement(S.default,null),onClick:e.clearBlockData.bind(void 0)}),p.default.createElement("hr",null),p.default.createElement(k.default,{label:"Clear plot data",labelPosition:"after",icon:p.default.createElement(S.default,null),onClick:e.clearPlotData.bind(void 0)}),p.default.createElement("hr",null),p.default.createElement("h4",null,"Data to display:"),Object.keys(t).map(function(t,r){var o=t;return n[t]&&(o=t+" (press "+n[t]+")"),p.default.createElement(w.default,{key:r,labelPosition:"right",label:o,toggled:t===e.currentDataType,onToggle:e.show.bind(void 0,t)})}))};L.propTypes={className:v.default.string,dataAvailable:v.default.object,currentDataType:v.default.string,show:v.default.func,clearAnnotationData:v.default.func,clearBlockData:v.default.func,clearPlotData:v.default.func};var F=(0,m.connect)(function(e){return{fileNames:e.blocks.fileNames,currentDataType:e.blocks.dataType,dataAvailable:e.blocks.dataAvailable}},function(e){return{show:function(t){e((0,g.showBlocks)(t))},clearAnnotationData:function(){e((0,g.clearAnnotationData)())},clearBlockData:function(){e((0,g.clearBlockData)())},clearPlotData:function(){e((0,g.clearPlotData)())}}})(L)},function(e,t,n){(function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){function n(e,t){var n,r=Object.keys(t);for(n=0;n<r.length;n++)e=e.replace(new RegExp("\\{"+r[n]+"\\}","gi"),t[r[n]]);return e}function r(e){var t,n,r;if(!e)throw new Error("cannot create a random attribute name for an undefined object");t="ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz",n="";do for(n="",r=0;r<12;r++)n+=t[Math.floor(Math.random()*t.length)];while(e[n]);return n}function o(e,t){var n,r,o,a={};for(e=e.split(","),t=t||10,n=0;n<e.length;n+=2)r="&"+e[n+1]+";",o=parseInt(e[n],t),a[r]="&#"+o+";";return a["\\xa0"]="&#160;",a}function a(e){var t={left:"start",right:"end",center:"middle",start:"start",end:"end"};return t[e]||t.start}function i(e){var t={alphabetic:"alphabetic",hanging:"hanging",top:"text-before-edge",bottom:"text-after-edge",middle:"central"};return t[e]||t.alphabetic}var s,u,l,c,f;f=o("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),s={strokeStyle:{svgAttr:"stroke",canvas:"#000000",svg:"none",apply:"stroke"},fillStyle:{svgAttr:"fill",canvas:"#000000",svg:null,apply:"fill"},lineCap:{svgAttr:"stroke-linecap",canvas:"butt",svg:"butt",apply:"stroke"},lineJoin:{svgAttr:"stroke-linejoin",canvas:"miter",svg:"miter",apply:"stroke"},miterLimit:{svgAttr:"stroke-miterlimit",canvas:10,svg:4,apply:"stroke"},lineWidth:{svgAttr:"stroke-width",canvas:1,svg:1,apply:"stroke"},globalAlpha:{svgAttr:"opacity",canvas:1,svg:1,apply:"fill stroke"},font:{canvas:"10px sans-serif"},shadowColor:{canvas:"#000000"},shadowOffsetX:{canvas:0},shadowOffsetY:{canvas:0},shadowBlur:{canvas:0},textAlign:{canvas:"start"},textBaseline:{canvas:"alphabetic"},lineDash:{svgAttr:"stroke-dasharray",canvas:[],svg:null,apply:"stroke"}},l=function(e,t){this.__root=e,this.__ctx=t},l.prototype.addColorStop=function(e,t){var r,o,a=this.__ctx.__createElement("stop");a.setAttribute("offset",e),t.indexOf("rgba")!==-1?(r=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,o=r.exec(t),a.setAttribute("stop-color",n("rgb({r},{g},{b})",{r:o[1],g:o[2],b:o[3]})),a.setAttribute("stop-opacity",o[4])):a.setAttribute("stop-color",t),this.__root.appendChild(a)},c=function(e,t){this.__root=e,this.__ctx=t},u=function(e){var t,n={width:500,height:500,enableMirroring:!1};return arguments.length>1?(t=n,t.width=arguments[0],t.height=arguments[1]):t=e?e:n,this instanceof u?(this.width=t.width||n.width,this.height=t.height||n.height,this.enableMirroring=void 0!==t.enableMirroring?t.enableMirroring:n.enableMirroring,this.canvas=this,this.__document=t.document||document,this.__canvas=this.__document.createElement("canvas"),this.__ctx=this.__canvas.getContext("2d"),this.__setDefaultStyles(),this.__stack=[this.__getStyleState()],this.__groupStack=[],this.__root=this.__document.createElementNS("http://www.w3.org/2000/svg","svg"),this.__root.setAttribute("version",1.1),this.__root.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.__root.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xlink","http://www.w3.org/1999/xlink"),this.__root.setAttribute("width",this.width),this.__root.setAttribute("height",this.height),this.__ids={},this.__defs=this.__document.createElementNS("http://www.w3.org/2000/svg","defs"),this.__root.appendChild(this.__defs),this.__currentElement=this.__document.createElementNS("http://www.w3.org/2000/svg","g"),void this.__root.appendChild(this.__currentElement)):new u(t)},u.prototype.__createElement=function(e,t,n){"undefined"==typeof t&&(t={});var r,o,a=this.__document.createElementNS("http://www.w3.org/2000/svg",e),i=Object.keys(t);for(n&&(a.setAttribute("fill","none"),a.setAttribute("stroke","none")),r=0;r<i.length;r++)o=i[r],a.setAttribute(o,t[o]);return a},u.prototype.__setDefaultStyles=function(){var e,t,n=Object.keys(s);for(e=0;e<n.length;e++)t=n[e],this[t]=s[t].canvas},u.prototype.__applyStyleState=function(e){var t,n,r=Object.keys(e);for(t=0;t<r.length;t++)n=r[t],this[n]=e[n]},u.prototype.__getStyleState=function(){var e,t,n={},r=Object.keys(s);for(e=0;e<r.length;e++)t=r[e],n[t]=this[t];return n},u.prototype.__applyStyleToCurrentElement=function(e){var t,r,o,a,i,u,f=Object.keys(s);for(t=0;t<f.length;t++)if(r=s[f[t]],o=this[f[t]],r.apply)if(r.apply.indexOf("fill")!==-1&&o instanceof c){if(o.__ctx)for(;o.__ctx.__defs.childNodes.length;)a=o.__ctx.__defs.childNodes[0].getAttribute("id"),this.__ids[a]=a,this.__defs.appendChild(o.__ctx.__defs.childNodes[0]);this.__currentElement.setAttribute("fill",n("url(#{id})",{id:o.__root.getAttribute("id")}))}else if(r.apply.indexOf("fill")!==-1&&o instanceof l)this.__currentElement.setAttribute("fill",n("url(#{id})",{id:o.__root.getAttribute("id")}));else if(r.apply.indexOf(e)!==-1&&r.svg!==o)if("stroke"!==r.svgAttr&&"fill"!==r.svgAttr||o.indexOf("rgba")===-1){var d=r.svgAttr;if("globalAlpha"===f[t]&&(d=e+"-"+r.svgAttr,this.__currentElement.getAttribute(d)))continue;this.__currentElement.setAttribute(d,o)}else{i=/rgba\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?\.?\d*)\s*\)/gi,u=i.exec(o),this.__currentElement.setAttribute(r.svgAttr,n("rgb({r},{g},{b})",{r:u[1],g:u[2],b:u[3]}));var p=u[4],h=this.globalAlpha;null!=h&&(p*=h),this.__currentElement.setAttribute(r.svgAttr+"-opacity",p)}},u.prototype.__closestGroupOrSvg=function(e){return e=e||this.__currentElement,"g"===e.nodeName||"svg"===e.nodeName?e:this.__closestGroupOrSvg(e.parentNode)},u.prototype.getSerializedSvg=function(e){var t,n,r,o,a,i,s=(new XMLSerializer).serializeToString(this.__root);if(i=/xmlns="http:\/\/www\.w3\.org\/2000\/svg".+xmlns="http:\/\/www\.w3\.org\/2000\/svg/gi,e)for(t=Object.keys(f),n=0;n<t.length;n++)r=t[n],o=f[r],a=new RegExp(r,"gi"),a.test(s)&&(s=s.replace(a,o));return s},u.prototype.getSvg=function(){return this.__root},u.prototype.save=function(){var e=this.__createElement("g"),t=this.__closestGroupOrSvg();this.__groupStack.push(t),t.appendChild(e),this.__currentElement=e,this.__stack.push(this.__getStyleState())},u.prototype.restore=function(){this.__currentElement=this.__groupStack.pop(),this.__currentElement||(this.__currentElement=this.__root.childNodes[1]);var e=this.__stack.pop();this.__applyStyleState(e)},u.prototype.__addTransform=function(e){var t=this.__closestGroupOrSvg();if(t.childNodes.length>0){var n=this.__createElement("g");t.appendChild(n),this.__currentElement=n}var r=this.__currentElement.getAttribute("transform");r?r+=" ":r="",r+=e,this.__currentElement.setAttribute("transform",r)},u.prototype.scale=function(e,t){void 0===t&&(t=e),this.__addTransform(n("scale({x},{y})",{x:e,y:t}))},u.prototype.rotate=function(e){var t=180*e/Math.PI;this.__addTransform(n("rotate({angle},{cx},{cy})",{angle:t,cx:0,cy:0}))},u.prototype.translate=function(e,t){this.__addTransform(n("translate({x},{y})",{x:e,y:t}))},u.prototype.transform=function(e,t,r,o,a,i){this.__addTransform(n("matrix({a},{b},{c},{d},{e},{f})",{a:e,b:t,c:r,d:o,e:a,f:i}))},u.prototype.beginPath=function(){var e,t;this.__currentDefaultPath="",this.__currentPosition={},e=this.__createElement("path",{},!0),t=this.__closestGroupOrSvg(),t.appendChild(e),this.__currentElement=e},u.prototype.__applyCurrentDefaultPath=function(){if("path"!==this.__currentElement.nodeName)throw new Error("Attempted to apply path command to node "+this.__currentElement.nodeName);var e=this.__currentDefaultPath;this.__currentElement.setAttribute("d",e)},u.prototype.__addPathCommand=function(e){this.__currentDefaultPath+=" ",this.__currentDefaultPath+=e},u.prototype.moveTo=function(e,t){"path"!==this.__currentElement.nodeName&&this.beginPath(),this.__currentPosition={x:e,y:t},this.__addPathCommand(n("M {x} {y}",{x:e,y:t}))},u.prototype.closePath=function(){this.__addPathCommand("Z")},u.prototype.lineTo=function(e,t){this.__currentPosition={x:e,y:t},this.__currentDefaultPath.indexOf("M")>-1?this.__addPathCommand(n("L {x} {y}",{x:e,y:t})):this.__addPathCommand(n("M {x} {y}",{x:e,y:t}))},u.prototype.bezierCurveTo=function(e,t,r,o,a,i){this.__currentPosition={x:a,y:i},this.__addPathCommand(n("C {cp1x} {cp1y} {cp2x} {cp2y} {x} {y}",{cp1x:e,cp1y:t,cp2x:r,cp2y:o,x:a,y:i}))},u.prototype.quadraticCurveTo=function(e,t,r,o){this.__currentPosition={x:r,y:o},this.__addPathCommand(n("Q {cpx} {cpy} {x} {y}",{cpx:e,cpy:t,x:r,y:o}))};var d=function(e){var t=Math.sqrt(e[0]*e[0]+e[1]*e[1]);return[e[0]/t,e[1]/t]};u.prototype.arcTo=function(e,t,n,r,o){var a=this.__currentPosition&&this.__currentPosition.x,i=this.__currentPosition&&this.__currentPosition.y;if("undefined"!=typeof a&&"undefined"!=typeof i){if(o<0)throw new Error("IndexSizeError: The radius provided ("+o+") is negative.");if(a===e&&i===t||e===n&&t===r||0===o)return void this.lineTo(e,t);var s=d([a-e,i-t]),u=d([n-e,r-t]);if(s[0]*u[1]===s[1]*u[0])return void this.lineTo(e,t);var l=s[0]*u[0]+s[1]*u[1],c=Math.acos(Math.abs(l)),f=d([s[0]+u[0],s[1]+u[1]]),p=o/Math.sin(c/2),h=e+p*f[0],v=t+p*f[1],m=[-s[1],s[0]],g=[u[1],-u[0]],y=function(e){var t=e[0],n=e[1];return n>=0?Math.acos(t):-Math.acos(t)},b=y(m),x=y(g);this.lineTo(h+m[0]*o,v+m[1]*o),this.arc(h,v,o,b,x)}},u.prototype.stroke=function(){"path"===this.__currentElement.nodeName&&this.__currentElement.setAttribute("paint-order","fill stroke markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("stroke")},u.prototype.fill=function(){"path"===this.__currentElement.nodeName&&this.__currentElement.setAttribute("paint-order","stroke fill markers"),this.__applyCurrentDefaultPath(),this.__applyStyleToCurrentElement("fill")},u.prototype.rect=function(e,t,n,r){"path"!==this.__currentElement.nodeName&&this.beginPath(),this.moveTo(e,t),this.lineTo(e+n,t),this.lineTo(e+n,t+r),this.lineTo(e,t+r),this.lineTo(e,t),this.closePath()},u.prototype.fillRect=function(e,t,n,r){var o,a;o=this.__createElement("rect",{x:e,y:t,width:n,height:r},!0),a=this.__closestGroupOrSvg(),a.appendChild(o),this.__currentElement=o,this.__applyStyleToCurrentElement("fill")},u.prototype.strokeRect=function(e,t,n,r){var o,a;o=this.__createElement("rect",{x:e,y:t,width:n,height:r},!0),a=this.__closestGroupOrSvg(),a.appendChild(o),this.__currentElement=o,this.__applyStyleToCurrentElement("stroke")},u.prototype.__clearCanvas=function(){for(var e=this.__closestGroupOrSvg(),t=e.getAttribute("transform"),n=this.__root.childNodes[1],r=n.childNodes,o=r.length-1;o>=0;o--)r[o]&&n.removeChild(r[o]);this.__currentElement=n,this.__groupStack=[],t&&this.__addTransform(t)},u.prototype.clearRect=function(e,t,n,r){if(0===e&&0===t&&n===this.width&&r===this.height)return void this.__clearCanvas();var o,a=this.__closestGroupOrSvg();o=this.__createElement("rect",{x:e,y:t,width:n,height:r,fill:"#FFFFFF"},!0),a.appendChild(o)},u.prototype.createLinearGradient=function(e,t,n,o){var a=this.__createElement("linearGradient",{id:r(this.__ids),x1:e+"px",x2:n+"px",y1:t+"px",y2:o+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(a),new l(a,this)},u.prototype.createRadialGradient=function(e,t,n,o,a,i){var s=this.__createElement("radialGradient",{id:r(this.__ids),cx:o+"px",cy:a+"px",r:i+"px",fx:e+"px",fy:t+"px",gradientUnits:"userSpaceOnUse"},!1);return this.__defs.appendChild(s),new l(s,this)},u.prototype.__parseFont=function(){var e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-,\"\sa-z]+?)\s*$/i,t=e.exec(this.font),n={style:t[1]||"normal",size:t[4]||"10px",family:t[6]||"sans-serif",weight:t[3]||"normal",decoration:t[2]||"normal",href:null};return"underline"===this.__fontUnderline&&(n.decoration="underline"),this.__fontHref&&(n.href=this.__fontHref),n},u.prototype.__wrapTextLink=function(e,t){if(e.href){var n=this.__createElement("a");return n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",e.href),n.appendChild(t),n}return t},u.prototype.__applyText=function(e,t,n,r){var o=this.__parseFont(),s=this.__closestGroupOrSvg(),u=this.__createElement("text",{"font-family":o.family,"font-size":o.size,"font-style":o.style,"font-weight":o.weight,"text-decoration":o.decoration,x:t,y:n,"text-anchor":a(this.textAlign),"dominant-baseline":i(this.textBaseline)},!0);u.appendChild(this.__document.createTextNode(e)),this.__currentElement=u,this.__applyStyleToCurrentElement(r),s.appendChild(this.__wrapTextLink(o,u))},u.prototype.fillText=function(e,t,n){this.__applyText(e,t,n,"fill")},u.prototype.strokeText=function(e,t,n){this.__applyText(e,t,n,"stroke")},u.prototype.measureText=function(e){return this.__ctx.font=this.font,this.__ctx.measureText(e)},u.prototype.arc=function(e,t,r,o,a,i){if(o!==a){o%=2*Math.PI,a%=2*Math.PI,o===a&&(a=(a+2*Math.PI-.001*(i?-1:1))%(2*Math.PI));var s=e+r*Math.cos(a),u=t+r*Math.sin(a),l=e+r*Math.cos(o),c=t+r*Math.sin(o),f=i?0:1,d=0,p=a-o;p<0&&(p+=2*Math.PI),d=i?p>Math.PI?0:1:p>Math.PI?1:0,this.lineTo(l,c),this.__addPathCommand(n("A {rx} {ry} {xAxisRotation} {largeArcFlag} {sweepFlag} {endX} {endY}",{rx:r,ry:r,xAxisRotation:0,largeArcFlag:d,sweepFlag:f,endX:s,endY:u})),this.__currentPosition={x:s,y:u}}},u.prototype.clip=function(){var e=this.__closestGroupOrSvg(),t=this.__createElement("clipPath"),o=r(this.__ids),a=this.__createElement("g");e.removeChild(this.__currentElement),t.setAttribute("id",o),t.appendChild(this.__currentElement),this.__defs.appendChild(t),e.setAttribute("clip-path",n("url(#{id})",{id:o})),e.appendChild(a),this.__currentElement=a},u.prototype.drawImage=function(){var e,t,n,r,o,a,i,s,l,c,f,d,p,h,v,m=Array.prototype.slice.call(arguments),g=m[0],y=0,b=0;if(3===m.length)e=m[1],t=m[2],o=g.width,a=g.height,n=o,r=a;else if(5===m.length)e=m[1],t=m[2],n=m[3],r=m[4],o=g.width,a=g.height;else{if(9!==m.length)throw new Error("Inavlid number of arguments passed to drawImage: "+arguments.length);y=m[1],b=m[2],o=m[3],a=m[4],e=m[5],t=m[6],n=m[7],r=m[8]}i=this.__closestGroupOrSvg(),f=this.__currentElement;var x="translate("+e+", "+t+")";if(g instanceof u){if(s=g.getSvg().cloneNode(!0),s.childNodes&&s.childNodes.length>1){for(l=s.childNodes[0];l.childNodes.length;)v=l.childNodes[0].getAttribute("id"),this.__ids[v]=v,this.__defs.appendChild(l.childNodes[0]);if(c=s.childNodes[1]){var w,_=c.getAttribute("transform");w=_?_+" "+x:x,c.setAttribute("transform",w),i.appendChild(c)}}}else"CANVAS"!==g.nodeName&&"IMG"!==g.nodeName||(d=this.__createElement("image"),d.setAttribute("width",n),d.setAttribute("height",r),d.setAttribute("preserveAspectRatio","none"),(y||b||o!==g.width||a!==g.height)&&(p=this.__document.createElement("canvas"),p.width=n,p.height=r,h=p.getContext("2d"),h.drawImage(g,y,b,o,a,0,0,n,r),g=p),d.setAttribute("transform",x),d.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","CANVAS"===g.nodeName?g.toDataURL():g.getAttribute("src")),i.appendChild(d))},u.prototype.createPattern=function(e,t){var n,o=this.__document.createElementNS("http://www.w3.org/2000/svg","pattern"),a=r(this.__ids);return o.setAttribute("id",a),o.setAttribute("width",e.width),o.setAttribute("height",e.height),"CANVAS"===e.nodeName||"IMG"===e.nodeName?(n=this.__document.createElementNS("http://www.w3.org/2000/svg","image"),n.setAttribute("width",e.width),n.setAttribute("height",e.height),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","CANVAS"===e.nodeName?e.toDataURL():e.getAttribute("src")),o.appendChild(n),this.__defs.appendChild(o)):e instanceof u&&(o.appendChild(e.__root.childNodes[1]),this.__defs.appendChild(o)),new c(o,this)},u.prototype.setLineDash=function(e){e&&e.length>0?this.lineDash=e.join(","):this.lineDash=null},u.prototype.drawFocusRing=function(){},u.prototype.createImageData=function(){},u.prototype.getImageData=function(){},u.prototype.putImageData=function(){},u.prototype.globalCompositeOperation=function(){},u.prototype.setTransform=function(){},"object"===("undefined"==typeof window?"undefined":t(window))&&(window.C2S=u),"object"===t(e)&&"object"===t(e.exports)&&(e.exports=u),u.prototype.injectHTML=function(e){var t=this.__root,n=this.__createElement("foreignObject");n.innerHTML=e,t.appendChild(n)},u.prototype.injectSVG=function(e){var t=this.__root,n=this.__createElement("g");n.innerHTML=e,t.appendChild(n)}}()}).call(t,n(130)(e))},function(e,t){"use strict";function n(e){for(var t=e.childNodes,n=[],r=0;r<t.length;r++){var o=t[r].innerHTML,a=String(parseFloat(t[r].style.left)),i=String(parseFloat(t[r].style.top)),s=String(parseFloat(t[r].style.height)),u=parseFloat(getComputedStyle(t[r],null).getPropertyValue("font-size")),l=!1;t[r].style.transform.indexOf("rotate")>-1&&(l=String(t[r].style.transform.match(/(\d+)/)[0]));var c=parseInt(i,10)+parseInt(s,10)-3,f='<text x="'+a+'" y="'+c+'" font-family="Helvetica" font-size="'+u+'"';if(l){var d=parseInt(i,10)+parseInt(s,10);f+=' transform="rotate('+l+" "+a+","+d+')"'}f+=">\n",f+=o,f+="\n",f+="</text>",n.push(f)}return n.join("\n")}Object.defineProperty(t,"__esModule",{value:!0}),t.dom2svg=n},function(e,t,n){"use strict";function r(e){return new Promise(function(t){for(var n=e.split("\n"),r=o(n),s=(0,i.getColourScale)("ordinal",Array(r.home)),u=[void 0],l={},c=0,f=0;f<r.home;f++)u.push(s(f).hex());u.push("DarkGray");for(var d={},p=2;p<n.length;p++){var h=n[p].split(/\s+/);d[h[5]]||(d[h[5]]=[]),d[h[5]].push(new a.Block(parseInt(h[0],10),parseInt(h[1],10),p,{colour:u[parseInt(h[2],10)]})),parseInt(h[1],10)>c&&(c=parseInt(h[1],10)),l[h[5]]=parseInt(h[3],10)}t([d,{taxaClusterMap:l,colours:u},c])})}function o(e){for(var t=0,n=0,r=2;r<e.length;r++){var o=e[r].split(/\s+/);parseInt(o[2],10)>t&&(t=parseInt(o[2],10)),parseInt(o[3],10)>n&&(n=parseInt(o[3],10))}return{origin:t,home:n}}Object.defineProperty(t,"__esModule",{value:!0}),t.bratNextGenParser=r;var a=n(86),i=n(278)},function(e,t,n){"use strict";function r(e){return new Promise(function(t,n){for(var r=null,a=[],i={},s={},u=0,l=e.split("\n"),c=[],f=[],d="orange",p=0;p<l.length;p++){var h=l[p].split("\t");if("#"===h[0][0]){var v=h[0].match(/\S+/g);"##sequence-region"===v[0]&&(r=[parseInt(v[2],10)-1,parseInt(v[3],10)],a.push(v[1]),i[v[1]]=u,f.push(new o.Contig(parseInt(v[2],10)+i[v[1]],parseInt(v[3],10)+i[v[1]],d,"black",1,v[1],parseInt(v[3],10)-(parseInt(v[2],10)-1))),d="orange"===d?"brown":"orange",s[v[1]]=[parseInt(v[2],10)-1,parseInt(v[3],10)],u+=parseInt(v[3],10))}else if("GUBBINS"===h[1]){var m=l[p].split('taxa="')[1].split('"')[0].split(/\s+/).filter(Boolean),g=void 0;g=m.length>1&&l[p].split('node="')[1].split('"')[0].split("->");var y=l[p].split('neg_log_likelihood="')[1].split('"')[0],b=l[p].split('snp_count="')[1].split('"')[0];c.push(new o.Block(parseInt(h[3],10),parseInt(h[4],10),p,{colour:g?o.colourDB.block.gubbinsNode:o.colourDB.block.gubbinsLeaf,taxa:m,node:g,info:{Coordinates:h[3]+".."+h[4],NLL:parseInt(y,10),nSNPs:b,nTaxa:m.length}}))}else{var x=0;h[0]in i&&(x=i[h[0]]),"CDS"===h[2]?(parseInt(h[4],10)>u&&(u=parseInt(h[4],10)),c.push(new o.Arrow(parseInt(h[3],10)+x,parseInt(h[4],10)+x,h[6],"#318DCC","black",1,h[8],h[0],h[3],h[4]))):"tRNA"===h[2]?c.push(new o.Arrow(parseInt(h[3],10)+x,parseInt(h[4],10)+x,h[6],"#53FFE9","black",1,h[8],h[0],h[3],h[4])):"rRNA"===h[2]&&c.push(new o.Arrow(parseInt(h[3],10)+x,parseInt(h[4],10)+x,h[6],"#6F8899","black",1,h[8],h[0],h[3],h[4]))}}r=[0,u],(f.length>0||c.length>0)&&r?t([r,c,f]):n("GFF parsing failed")})}Object.defineProperty(t,"__esModule",{value:!0}),t.gffParser=r;var o=n(86)},function(e,t,n){"use strict";function r(e){for(var t=e.split("\n"),n=[],r=0;r<t.length;r++){var a=t[r].split("\t"),i=parseFloat(a[3]);if(i<0&&(i*=-1),!isNaN(i))if(a[2].indexOf("..")>-1){var s=[];s.push(parseInt(a[2].split("..")[0],10)),s.push(parseInt(a[2].split("..")[1],10));var u=parseInt((s[1]-s[0])/2,10);u<0&&(u*=-1),n.push(new o.Ellipse(s[0]+u,i,parseFloat(a[4]),u))}else n.push(new o.Ellipse(parseFloat(a[2]),i,parseFloat(a[4])))}return n}Object.defineProperty(t,"__esModule",{value:!0}),t.plotParser=r;var o=n(86)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=i.default.parse(e),n=((t.data.length-1)*(t.data[0].length-10),[]),r=20,o={},a=void 0,u=t.data[1][6],c=[],f=0,d=1;d<t.data.length;d++)parseInt(t.data[d][6],10)>f&&(f=parseInt(t.data[d][6],10));for(var p=l.default.scale("Spectral").mode("rgb").domain([1,f]),h=1;h<t.data.length;h++){n.push(new s.Arrow(h*r,(h+1)*r,"+","#318DCC","black",1,"locus_tag="+t.data[h][0]+";product="+t.data[h][2])),t.data[h][6]!==u&&(c.push(new s.Contig(a*r,h*r,p(u).hex(),"black",1,"fragment "+u,(h-a)*r)),a=h,u=t.data[h][6],u>f&&(f=u));for(var v=11;v<t.data[h].length;v++)t.data[h][v]&&(o[t.data[0][v]]?o[t.data[0][v]].push(h):o[t.data[0][v]]=[h])}c.push(new s.Contig(a*r,t.data.length*r,p(u).hex(),"black",1,"fragment "+u,(t.data.length-a)*r));var m={},g=0;return Object.keys(o).forEach(function(e){m[e]=[];for(var t=o[e][0],n=o[e][0],a=1;a<o[e].length-1;a++){var i=o[e][a];i===n+1?n=i:(m[e].push(new s.Block(t*r,(n+1)*r,g++,{colour:s.colourDB.block.roary})),t=i,n=i)}var u=o[e][o[e].length-1];u===n+1?m[e].push(new s.Block(t*r,(u+1)*r,g++,{colour:s.colourDB.block.roary})):(m[e].push(new s.Block(t*r,(n+1)*r,g++,{colour:s.colourDB.block.roary})),m[e].push(new s.Block(u*r,(u+1)*r,g++,{colour:s.colourDB.block.roary})))}),[n,c,m,t.data.length*r]}Object.defineProperty(t,"__esModule",{value:!0}),t.roaryParser=o;var a=n(388),i=r(a),s=n(86),u=n(285),l=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,t=arguments[1],n={};switch(t.type){case"clearAllData":return h;case"clearBlockData":return h;case"gubbinsData":return n=(0,c.default)({},e,{gubbins:t.data,blocks:t.data,
  shouldMouseOver:!0,dataType:"gubbins",blocksArePerTaxa:!1,blockFillAlpha:.4}),n.roary=[],n.dataAvailable.gubbins=!0,n.dataAvailable.gubbinsPerTaxa=!0,n.fileNames.gubbins=t.fileName,n.fileNames.gubbinsPerTaxa!==t.fileName&&(n.gubbinsPerTaxa={},n.fileNames.gubbinsPerTaxa=t.fileName),n;case"roaryData":return n.blocks=t.data,n.roary=t.data,n.bratNextGen={},n.merged={},n.gubbins=[],n.gubbinsPerTaxa={},n.fileNames={roary:t.fileName},n.dataAvailable={roary:!0},n.shouldMouseOver=!1,n.dataType="roary",n.blocksArePerTaxa=!0,n.blockFillAlpha=1,n;case"bratNextGenData":return n=(0,c.default)({},e,{bratNextGen:t.data,blocks:t.data,dataType:"bratNextGen",shouldMouseOver:!1,blocksArePerTaxa:!0,blockFillAlpha:1}),n.roary=[],n.fileNames.bratNextGen=t.fileName,n.dataAvailable.bratNextGen=!0,n;case"showBlocks":return"gubbins"===t.name?(n={},n.roary=[],n.merged=e.merged,n.bratNextGen=e.bratNextGen,n.gubbinsPerTaxa=e.gubbinsPerTaxa,n.gubbins=e.gubbins,n.blocks=e.gubbins,n.fileNames=u({},e.fileNames),n.dataAvailable=u({},e.dataAvailable),n.shouldMouseOver=!0,n.dataType="gubbins",n.blocksArePerTaxa=!1,n.blockFillAlpha=.4):"gubbinsPerTaxa"===t.name?(n={},n.roary=[],n.bratNextGen=e.bratNextGen,n.merged=e.merged,n.gubbinsPerTaxa=e.gubbinsPerTaxa,n.gubbins=e.gubbins,n.fileNames=u({},e.fileNames),n.dataAvailable=u({},e.dataAvailable),n.shouldMouseOver=!1,n.dataType="gubbinsPerTaxa",n.blocksArePerTaxa=!0,n.blockFillAlpha=1,Object.keys(n.gubbinsPerTaxa).length&&0!==Object.keys(n.gubbinsPerTaxa).length||(n.gubbinsPerTaxa=s(n.gubbins)),n.blocks=n.gubbinsPerTaxa):"bratNextGen"===t.name?(n={},n.roary=[],n.blocks=e.bratNextGen,n.merged=e.merged,n.bratNextGen=e.bratNextGen,n.gubbins=e.gubbins,n.gubbinsPerTaxa=e.gubbinsPerTaxa,n.fileNames=u({},e.fileNames),n.dataAvailable=u({},e.dataAvailable),n.shouldMouseOver=!1,n.dataType="bratNextGen",n.blocksArePerTaxa=!0,n.blockFillAlpha=1):"merged"===t.name&&(n=a(e)),n;default:return e}}function a(e){var t={};if(t.roary=[],t.bratNextGen=e.bratNextGen,t.gubbins=e.gubbins,t.gubbinsPerTaxa=e.gubbinsPerTaxa,t.fileNames=u({},e.fileNames),t.dataAvailable=u({},e.dataAvailable),t.shouldMouseOver=!1,t.dataType="merged",t.blocksArePerTaxa=!0,t.blockFillAlpha=1,t.merged=e.merged,!Object.keys(t.merged).length||!t.gubbinsPerTaxa.length||0===t.gubbinsPerTaxa.length){t.gubbinsPerTaxa.length&&0!==t.gubbinsPerTaxa.length||(t.gubbinsPerTaxa=s(t.gubbins));var n=Object.keys(t.gubbinsPerTaxa),r=Object.keys(t.bratNextGen),o=n.filter(function(e){return r.indexOf(e)===-1}),a=r.filter(function(e){return n.indexOf(e)===-1}),l=n.filter(function(e){return r.indexOf(e)>-1}),c=(0,d.default)(t.bratNextGen),f=(0,d.default)(t.gubbinsPerTaxa),h=!0,v=!1,m=void 0;try{for(var g,y=Object.keys(c)[Symbol.iterator]();!(h=(g=y.next()).done);h=!0)for(var b=g.value,x=0;x<c[b].length;x++)c[b][x].fill=p.colourDB.block.bratNextGen.default}catch(e){v=!0,m=e}finally{try{!h&&y.return&&y.return()}finally{if(v)throw m}}var w=!0,_=!1,k=void 0;try{for(var C,S=Object.keys(f)[Symbol.iterator]();!(w=(C=S.next()).done);w=!0)for(var E=C.value,P=0;P<f[E].length;P++)f[E][P].fill=p.colourDB.block.gubbinsPerTaxa}catch(e){_=!0,k=e}finally{try{!w&&S.return&&S.return()}finally{if(_)throw k}}var O=!0,T=!1,M=void 0;try{for(var A,j=o[Symbol.iterator]();!(O=(A=j.next()).done);O=!0){var R=A.value;t.merged[R]=f[R]}}catch(e){T=!0,M=e}finally{try{!O&&j.return&&j.return()}finally{if(T)throw M}}var N=!0,I=!1,D=void 0;try{for(var L,F=a[Symbol.iterator]();!(N=(L=F.next()).done);N=!0){var B=L.value;t.merged[B]=c[B]}}catch(e){I=!0,D=e}finally{try{!N&&F.return&&F.return()}finally{if(I)throw D}}var W=!0,U=!1,z=void 0;try{for(var G,q=l[Symbol.iterator]();!(W=(G=q.next()).done);W=!0){var H=G.value,V=1e5,K=f[H].concat(c[H]);K.sort(i);for(var Y=[K[0]],X=1;X<K.length;X++)if(K[X].startBase<Y[Y.length-1].endBase)if(K[X].startBase===Y[Y.length-1].startBase)Y[Y.length-1].fill=p.colourDB.block.merge,K[X].endBase>Y[Y.length-1].endBase&&(K[X].startBase=Y[Y.length-1].endBase+1,Y.push(K[X]));else{var $=Y[Y.length-1].endBase,Z=Y[Y.length-1].fill;Y[Y.length-1].endBase=K[X].startBase,K[X].endBase>$?(Y.push(new p.Block(K[X].startBase,$,V++,{colour:p.colourDB.block.merge})),K[X].startBase=$+1,Y.push(K[X])):(Y.push(new p.Block(K[X].startBase,K[X].endBase,V++,{colour:p.colourDB.block.merge})),Y.push(new p.Block(K[X].endBase+1,$,V++,{colour:Z})))}else Y.push(K[X]);t.merged[H]=Y}}catch(e){U=!0,z=e}finally{try{!W&&q.return&&q.return()}finally{if(U)throw z}}}return t.blocks=t.merged,t}function i(e,t){return e.startBase<t.startBase?-1:e.startBase>t.startBase?1:e.endBase<t.endBase?-1:e.endBase<t.endBase?1:0}function s(e){var t={},n=0,r=!0,o=!1,a=void 0;try{for(var s,u=e[Symbol.iterator]();!(r=(s=u.next()).done);r=!0){var l=s.value,c=!0,f=!1,d=void 0;try{for(var h,v=l.taxa[Symbol.iterator]();!(c=(h=v.next()).done);c=!0){var m=h.value;t[m]||(t[m]=[]),t[m].push(new p.Block(l.startBase,l.endBase,n++,{}))}}catch(e){f=!0,d=e}finally{try{!c&&v.return&&v.return()}finally{if(f)throw d}}}}catch(e){o=!0,a=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw a}}var g={};n=0;var y=!0,b=!1,x=void 0;try{for(var w,_=Object.keys(t)[Symbol.iterator]();!(y=(w=_.next()).done);y=!0){var k=w.value,C=t[k];C.sort(i);var S=[new p.Block(C[0].startBase,C[0].endBase,n++,{colour:p.colourDB.block.gubbinsPerTaxa})],E=!0,P=!1,O=void 0;try{for(var T,M=C[Symbol.iterator]();!(E=(T=M.next()).done);E=!0){var A=T.value;A.startBase<S[S.length-1].endBase&&A.endBase>S[S.length-1].endBase?S[S.length-1].endBase=A.endBase:A.startBase>S[S.length-1].endBase&&S.push(new p.Block(A.startBase,A.endBase,n++,{colour:p.colourDB.block.gubbinsPerTaxa}))}}catch(e){P=!0,O=e}finally{try{!E&&M.return&&M.return()}finally{if(P)throw O}}g[k]=S}}catch(e){b=!0,x=e}finally{try{!y&&_.return&&_.return()}finally{if(b)throw x}}return g}Object.defineProperty(t,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.blocks=o;var l=n(126),c=r(l),f=n(375),d=r(f),p=n(86),h={gubbins:[],gubbinsPerTaxa:{},roary:[],bratNextGen:{},merged:{},blocks:[],fileNames:{},dataType:void 0,shouldMouseOver:!1,blocksArePerTaxa:!1,blockFillAlpha:1,dataAvailable:{}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments[1];switch(t.type){case"clearAllData":return s;case"annotationData":case"roaryData":return(0,i.default)({},e,{genomeLength:t.genomeLength,visibleGenome:[0,t.genomeLength]});case"gubbinsData":case"bratNextGenData":return e.genomeLength?e:(0,i.default)({},e,{genomeLength:t.genomeLength,visibleGenome:[0,t.genomeLength]});case"updateVisibleGenome":return(0,i.default)({},e,{visibleGenome:t.visibleGenome});default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.genomeInfo=o;var a=n(126),i=r(a),s={genomeLength:0,visibleGenome:[0,0]}},function(e,t){"use strict";function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments[1];switch(t.type){case"clearAllData":return o;case"clearPlotData":return o;case"gwasData":return{values:t.data,max:r(t.data)};default:return e}}function r(e){for(var t=1,n=0;n<e.length;n++)e[n].featurey>t&&(t=e[n].featurey);return t}Object.defineProperty(t,"__esModule",{value:!0}),t.gwasGraph=n;var o={values:[],max:0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{data:[],fileName:"not loaded"},t=arguments[1];switch(t.type){case"annotationData":return{data:t.data,fileName:t.fileName};case"clearAnnotationData":return{data:[],fileName:""};default:return e}}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,t=arguments[1];switch(t.type){case"treeData":return(0,l.default)({},e,{newickString:t.data,fileName:t.fileName});case"clearTree":return y;case"updatedTaxaPositions":var n=(0,l.default)({},e);return n.activeTaxa=t.activeTaxa,n;default:return e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{showSettings:!1},t=arguments[1];switch(t.type){case"toggleSettings":return(0,l.default)({},e,{showSettings:!e.showSettings});default:return e}}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments[1];switch(t.type){case"increaseSpinner":return t.value;case"decreaseSpinner":return e?e-1:e;case"notificationNew":return t.type.startsWith("Input error")?e-1:e;default:return e}}Object.defineProperty(t,"__esModule",{value:!0});var u=n(126),l=r(u),c=n(175),f=n(479),d=n(279),p=n(482),h=n(480),v=n(484),m=n(483),g=n(478),y={newickString:void 0,activeTaxa:{},fileName:"not loaded"},b=(0,c.combineReducers)({annotation:o,metadata:m.metadata,blocks:g.blocks,lineGraph:p.lineGraph,gwasGraph:h.gwasGraph,genomeInfo:f.genomeInfo,misc:i,phylogeny:a,layout:d.layout,notifications:v.notifications,spinner:s});t.default=b},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments[1],n=e;switch(t.type){case"clearAllData":case"clearLineGraph":return p;case"computeLineGraph":return t.genomeLength?(n={cache:e.cache,values:[],max:0,lineColours:[],info:[],displayedAsPercent:t.percent},o(n,t,n.displayedAsPercent),n):e;case"computeSubLineGraph":n={cache:e.cache,values:[],max:e.max,lineColours:[],info:[],displayedAsPercent:e.displayedAsPercent};for(var r=0;r<e.values.length;r++)e.info[r].subGraph||(n.values.push(e.values[r]),n.lineColours.push(e.lineColours[r]),n.info.push(e.info[r]));return t.taxa.length&&(n.values.push(a(t.genomeLength,t.blocksArePerTaxa,t.blocks,t.taxa)),n.info.push({subGraph:!0,taxa:t.taxa}),n.lineColours.push("purple"),e.displayedAsPercent&&i(n.values[n.values.length-1],t.taxa.length)),n;default:return e}}function o(e,t,n){for(var r in t.data)if(t.data.hasOwnProperty(r)){if(l(r,t.taxa,e.cache))e.values.push(e.cache[r].values),e.max=e.cache[r].max>e.max?e.cache[r].max:e.max;else{var o=a(t.genomeLength,t.blocksArePerTaxa,t.data[r].blocks,t.taxa);n&&i(o,t.taxa.length);var s=n?100:u(o);e.cache=c(e.cache,r,t.taxa,o,s),e.values.push(o),e.max=e.max>s?e.max:s}e.lineColours.push(d.colourDB.line[r]),e.info.push({subGraph:!1})}}function a(e,t,n,r){var o=Array(e).fill(0);if(t){var a=!0,i=!1,u=void 0;try{for(var l,c=Object.keys(n)[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var f=l.value;r.indexOf(f)>-1&&(o=s(o,n[f],!1))}}catch(e){i=!0,u=e}finally{try{!a&&c.return&&c.return()}finally{if(i)throw u}}}else o=s(o,n,r);return o}function i(e,t){for(var n=0;n<e.length;n++)e[n]=parseInt(100*e[n]/t,10)}function s(e,t,n){var r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var u=i.value;if(n){for(var l=!1,c=0;c<u.taxa.length;c++)if(n.indexOf(u.taxa[c])===-1){l=!0;break}if(l)continue}for(var f=u.startBase;f<u.endBase;f++)e[f]++}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return e}function u(e){for(var t=1,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return t}function l(e,t,n){return!!(Object.keys(n).indexOf(e)>-1&&f(t,n[e].taxa))}function c(e,t,n,r,o){return e[t]={values:r,max:o,taxa:n},e}function f(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(t.indexOf(e[n])===-1)return!1;return!0}Object.defineProperty(t,"__esModule",{value:!0}),t.lineGraph=r;var d=n(86),p={cache:{},values:[],max:0,lineColours:[],info:[],displayedAsPercent:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments[1];switch(t.type){case"clearAllData":return u;case"metaData":var n={data:t.data,values:t.values,colours:t.colours,groups:t.groups,headerNames:t.headerNames,info:t.info,toggles:t.toggles,fileName:t.fileName,rawBratData:e.rawBratData};return Object.keys(n.rawBratData).length&&(n=a(n,n.rawBratData)),n;case"toggleMetadataColumn":var r=(0,s.default)(e,!0);return r.toggles[t.idx]=t.newValue,r;case"toggleAllMetaColumns":for(var o=(0,s.default)(e,!0),i=0;i<o.toggles.length;i++)o.toggles[i]=t.newBool;return o;case"clearMetadata":return u;case"bratNextGenData":var l=a((0,s.default)(e,!0),t.metadata);return l.rawBratData=(0,s.default)(t.metadata,!0),l;default:return e}}function a(e,t){e.headerNames.push("BRAT NextGen cluster"),e.info.push({}),e.toggles.push(!0),e.colours.push(t.colours),"not loaded"===e.fileName&&(e.fileName="bratNextGen");for(var n=[],r=0;r<t.colours.length;r++)n[r]=r;e.values.push(n);var o=!0,a=!1,i=void 0;try{for(var s,u=Object.keys(t.taxaClusterMap)[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var l=s.value;e.data[l]||(e.data[l]=new Array(e.headerNames.length-1)),e.data[l]||(e.data[l]=new Array(e.headerNames.length-1)),e.data[l].push(t.taxaClusterMap[l])}}catch(e){a=!0,i=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw i}}return e}Object.defineProperty(t,"__esModule",{value:!0}),t.metadata=o;var i=n(375),s=r(i),u={data:{},values:[],colours:[],headerNames:[],groups:{},info:[],toggles:[],fileName:"not loaded",rawBratData:{}}},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{active:o,queue:[],counter:0},t=arguments[1];switch(t.type){case"notificationNew":if(t.title===e.active.title)return e;var r={message:t.msg,title:t.title,dialog:t.dialog,open:!0},a=[].concat(n(e.queue),[r]),i=void 0;return i=e.active.open?e.active:a.shift(),{active:i,queue:a,counter:e.counter+1};case"notificationSeen":!e.active.open;var s={counter:e.counter+1};return e.queue.length?(s.queue=[].concat(n(e.queue)),s.active=s.queue.shift()):(s.active=o,s.queue=[]),s;default:return e}}Object.defineProperty(t,"__esModule",{value:!0}),t.notifications=r;var o={message:void 0,dialog:!0,title:void 0,open:!1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=f(s.default,e);return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(175),i=n(481),s=r(i),u=n(1129),l=r(u),c=n(277),f=(r(c),void 0);f=(0,a.compose)((0,a.applyMiddleware)(l.default))(a.createStore)},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var o=t&&t.prototype instanceof a?t:a,i=Object.create(o.prototype),s=new h(r||[]);return i._invoke=f(e,n,s),i}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function a(){}function i(){}function s(){}function u(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(e){this.arg=e}function c(e){function t(n,r,a,i){var s=o(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c instanceof l?Promise.resolve(c.arg).then(function(e){t("next",e,a,i)},function(e){t("throw",e,a,i)}):Promise.resolve(c).then(function(e){u.value=e,a(u)},i)}i(s.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return a=a?a.then(r,r):r()}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var a;this._invoke=r}function f(e,t,n){var r=C;return function(a,i){if(r===E)throw new Error("Generator is already running");if(r===P){if("throw"===a)throw i;return m()}for(;;){var s=n.delegate;if(s){if("return"===a||"throw"===a&&s.iterator[a]===g){n.delegate=null;var u=s.iterator.return;if(u){var l=o(u,s.iterator,i);if("throw"===l.type){a="throw",i=l.arg;continue}}if("return"===a)continue}var l=o(s.iterator[a],s.iterator,i);if("throw"===l.type){n.delegate=null,a="throw",i=l.arg;continue}a="next",i=g;var c=l.arg;if(!c.done)return r=S,c;n[s.resultName]=c.value,n.next=s.nextLoc,n.delegate=null}if("next"===a)n.sent=n._sent=i;else if("throw"===a){if(r===C)throw r=P,i;n.dispatchException(i)&&(a="next",i=g)}else"return"===a&&n.abrupt("return",i);r=E;var l=o(e,t,n);if("normal"===l.type){r=n.done?P:S;var c={value:l.arg,done:n.done};if(l.arg!==O)return c;n.delegate&&"next"===a&&(i=g)}else"throw"===l.type&&(r=P,a="throw",i=l.arg)}}}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function p(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function h(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function v(e){if(e){var t=e[x];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=g,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:g,done:!0}}var g,y=Object.prototype.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},x=b.iterator||"@@iterator",w=b.toStringTag||"@@toStringTag",_="object"==typeof e,k=t.regeneratorRuntime;if(k)return void(_&&(e.exports=k));k=t.regeneratorRuntime=_?e.exports:{},k.wrap=r;var C="suspendedStart",S="suspendedYield",E="executing",P="completed",O={},T=s.prototype=a.prototype;i.prototype=T.constructor=s,s.constructor=i,s[w]=i.displayName="GeneratorFunction",k.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},k.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(T),e},k.awrap=function(e){return new l(e)},u(c.prototype),k.async=function(e,t,n,o){var a=new c(r(e,t,n,o));return k.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},u(T),T[x]=function(){return this},T[w]="Generator",T.toString=function(){return"[object Generator]"},k.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},k.values=v,h.prototype={constructor:h,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=g,this.done=!1,this.delegate=null,this.tryEntries.forEach(p),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=g)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return a.type="throw",a.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=y.call(o,"catchLoc"),s=y.call(o,"finallyLoc");if(i&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?this.next=o.finallyLoc:this.complete(a),O},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),p(n),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;p(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:v(e),resultName:t,nextLoc:n},O}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(247))},function(e,t,n){e.exports={default:n(536),__esModule:!0}},function(e,t,n){e.exports={default:n(180),__esModule:!0}},function(e,t,n){e.exports={default:n(181),__esModule:!0}},function(e,t,n){e.exports={default:n(182),__esModule:!0}},function(e,t,n){e.exports={default:n(183),__esModule:!0}},function(e,t,n){e.exports={default:n(184),__esModule:!0}},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"apathy",author:"jannik siebert (https://github.com/janniks)",base00:"#031A16",base01:"#0B342D",base02:"#184E45",base03:"#2B685E",base04:"#5F9C92",base05:"#81B5AC",base06:"#A7CEC8",base07:"#D2E7E4",base08:"#3E9688",base09:"#3E7996",base0A:"#3E4C96",base0B:"#883E96",base0C:"#963E4C",base0D:"#96883E",base0E:"#4C963E",base0F:"#3E965B"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ashes",author:"jannik siebert (https://github.com/janniks)",base00:"#1C2023",base01:"#393F45",base02:"#565E65",base03:"#747C84",base04:"#ADB3BA",base05:"#C7CCD1",base06:"#DFE2E5",base07:"#F3F4F5",base08:"#C7AE95",base09:"#C7C795",base0A:"#AEC795",base0B:"#95C7AE",base0C:"#95AEC7",base0D:"#AE95C7",base0E:"#C795AE",base0F:"#C79595"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier dune",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune)",base00:"#20201d",base01:"#292824",base02:"#6e6b5e",base03:"#7d7a68",base04:"#999580",base05:"#a6a28c",base06:"#e8e4cf",base07:"#fefbec",base08:"#d73737",base09:"#b65611",base0A:"#cfb017",base0B:"#60ac39",base0C:"#1fad83",base0D:"#6684e1",base0E:"#b854d4",base0F:"#d43552"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier forest",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest)",base00:"#1b1918",base01:"#2c2421",base02:"#68615e",base03:"#766e6b",base04:"#9c9491",base05:"#a8a19f",base06:"#e6e2e0",base07:"#f1efee",base08:"#f22c40",base09:"#df5320",base0A:"#d5911a",base0B:"#5ab738",base0C:"#00ad9c",base0D:"#407ee7",base0E:"#6666ea",base0F:"#c33ff3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier heath",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath)",base00:"#1b181b",base01:"#292329",base02:"#695d69",base03:"#776977",base04:"#9e8f9e",base05:"#ab9bab",base06:"#d8cad8",base07:"#f7f3f7",base08:"#ca402b",base09:"#a65926",base0A:"#bb8a35",base0B:"#379a37",base0C:"#159393",base0D:"#516aec",base0E:"#7b59c0",base0F:"#cc33cc"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier lakeside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/)",base00:"#161b1d",base01:"#1f292e",base02:"#516d7b",base03:"#5a7b8c",base04:"#7195a8",base05:"#7ea2b4",base06:"#c1e4f6",base07:"#ebf8ff",base08:"#d22d72",base09:"#935c25",base0A:"#8a8a0f",base0B:"#568c3b",base0C:"#2d8f6f",base0D:"#257fad",base0E:"#5d5db1",base0F:"#b72dd2"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"atelier seaside",author:"bram de haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/)",base00:"#131513",base01:"#242924",base02:"#5e6e5e",base03:"#687d68",base04:"#809980",base05:"#8ca68c",base06:"#cfe8cf",base07:"#f0fff0",base08:"#e6193c",base09:"#87711d",base0A:"#c3c322",base0B:"#29a329",base0C:"#1999b3",base0D:"#3d62f5",base0E:"#ad2bee",base0F:"#e619c3"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bespin",author:"jan t. sott",base00:"#28211c",base01:"#36312e",base02:"#5e5d5c",base03:"#666666",base04:"#797977",base05:"#8a8986",base06:"#9d9b97",base07:"#baae9e",base08:"#cf6a4c",base09:"#cf7d34",base0A:"#f9ee98",base0B:"#54be0d",base0C:"#afc4db",base0D:"#5ea6ea",base0E:"#9b859d",base0F:"#937121"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"brewer",author:"timothée poisot (http://github.com/tpoisot)",base00:"#0c0d0e",base01:"#2e2f30",base02:"#515253",base03:"#737475",base04:"#959697",base05:"#b7b8b9",base06:"#dadbdc",base07:"#fcfdfe",base08:"#e31a1c",base09:"#e6550d",base0A:"#dca060",base0B:"#31a354",base0C:"#80b1d3",base0D:"#3182bd",base0E:"#756bb1",base0F:"#b15928"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"bright",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#303030",base02:"#505050",base03:"#b0b0b0",base04:"#d0d0d0",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ffffff",base08:"#fb0120",base09:"#fc6d24",base0A:"#fda331",base0B:"#a1c659",base0C:"#76c7b7",base0D:"#6fb3d2",base0E:"#d381c3",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"chalk",author:"chris kempson (http://chriskempson.com)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#eda987",base0A:"#ddb26f",base0B:"#acc267",base0C:"#12cfc0",base0D:"#6fc2ef",base0E:"#e1a3ee",base0F:"#deaf8f"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"codeschool",author:"brettof86",base00:"#232c31",base01:"#1c3657",base02:"#2a343a",base03:"#3f4944",base04:"#84898c",base05:"#9ea7a6",base06:"#a7cfa3",base07:"#b5d8f6",base08:"#2a5491",base09:"#43820d",base0A:"#a03b1e",base0B:"#237986",base0C:"#b02f30",base0D:"#484d79",base0E:"#c59820",base0F:"#c98344"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"colors",author:"mrmrs (http://clrs.cc)",base00:"#111111",base01:"#333333",base02:"#555555",base03:"#777777",base04:"#999999",base05:"#bbbbbb",base06:"#dddddd",base07:"#ffffff",base08:"#ff4136",base09:"#ff851b",base0A:"#ffdc00",base0B:"#2ecc40",base0C:"#7fdbff",base0D:"#0074d9",base0E:"#b10dc9",base0F:"#85144b"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"default",author:"chris kempson (http://chriskempson.com)",base00:"#181818",base01:"#282828",base02:"#383838",base03:"#585858",base04:"#b8b8b8",base05:"#d8d8d8",base06:"#e8e8e8",base07:"#f8f8f8",base08:"#ab4642",base09:"#dc9656",base0A:"#f7ca88",base0B:"#a1b56c",base0C:"#86c1b9",base0D:"#7cafc2",base0E:"#ba8baf",base0F:"#a16946"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"eighties",author:"chris kempson (http://chriskempson.com)",base00:"#2d2d2d",base01:"#393939",base02:"#515151",base03:"#747369",base04:"#a09f93",base05:"#d3d0c8",base06:"#e8e6df",base07:"#f2f0ec",base08:"#f2777a",base09:"#f99157",base0A:"#ffcc66",base0B:"#99cc99",base0C:"#66cccc",base0D:"#6699cc",base0E:"#cc99cc",base0F:"#d27b53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"embers",author:"jannik siebert (https://github.com/janniks)",base00:"#16130F",base01:"#2C2620",base02:"#433B32",base03:"#5A5047",base04:"#8A8075",base05:"#A39A90",base06:"#BEB6AE",base07:"#DBD6D1",base08:"#826D57",base09:"#828257",base0A:"#6D8257",base0B:"#57826D",base0C:"#576D82",base0D:"#6D5782",base0E:"#82576D",base0F:"#825757"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"flat",author:"chris kempson (http://chriskempson.com)",base00:"#2C3E50",base01:"#34495E",base02:"#7F8C8D",base03:"#95A5A6",base04:"#BDC3C7",base05:"#e0e0e0",base06:"#f5f5f5",base07:"#ECF0F1",base08:"#E74C3C",base09:"#E67E22",base0A:"#F1C40F",base0B:"#2ECC71",base0C:"#1ABC9C",base0D:"#3498DB",base0E:"#9B59B6",base0F:"#be643c"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"google",author:"seth wright (http://sethawright.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#CC342B",base09:"#F96A38",base0A:"#FBA922",base0B:"#198844",base0C:"#3971ED",base0D:"#3971ED",base0E:"#A36AC7",base0F:"#3971ED"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"grayscale",author:"alexandre gavioli (https://github.com/alexx2/)",base00:"#101010",base01:"#252525",base02:"#464646",base03:"#525252",base04:"#ababab",base05:"#b9b9b9",base06:"#e3e3e3",base07:"#f7f7f7",base08:"#7c7c7c",base09:"#999999",base0A:"#a0a0a0",base0B:"#8e8e8e",base0C:"#868686",base0D:"#686868",base0E:"#747474",base0F:"#5e5e5e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"green screen",author:"chris kempson (http://chriskempson.com)",base00:"#001100",base01:"#003300",base02:"#005500",base03:"#007700",base04:"#009900",base05:"#00bb00",base06:"#00dd00",base07:"#00ff00",base08:"#007700",base09:"#009900",base0A:"#007700",base0B:"#00bb00",base0C:"#005500",base0D:"#009900",base0E:"#00bb00",base0F:"#005500"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"harmonic16",author:"jannik siebert (https://github.com/janniks)",base00:"#0b1c2c",base01:"#223b54",base02:"#405c79",base03:"#627e99",base04:"#aabcce",base05:"#cbd6e2",base06:"#e5ebf1",base07:"#f7f9fb",base08:"#bf8b56",base09:"#bfbf56",base0A:"#8bbf56",base0B:"#56bf8b",base0C:"#568bbf",base0D:"#8b56bf",base0E:"#bf568b",base0F:"#bf5656"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"hopscotch",author:"jan t. sott",base00:"#322931",base01:"#433b42",base02:"#5c545b",base03:"#797379",base04:"#989498",base05:"#b9b5b8",base06:"#d5d3d5",base07:"#ffffff",base08:"#dd464c",base09:"#fd8b19",base0A:"#fdcc59",base0B:"#8fc13e",base0C:"#149b93",base0D:"#1290bf",base0E:"#c85e7c",base0F:"#b33508"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}t.__esModule=!0;var o=n(527);t.threezerotwofour=r(o);var a=n(493);t.apathy=r(a);var i=n(494);t.ashes=r(i);var s=n(495);t.atelierDune=r(s);var u=n(496);t.atelierForest=r(u);var l=n(497);t.atelierHeath=r(l);var c=n(498);t.atelierLakeside=r(c);var f=n(499);t.atelierSeaside=r(f);var d=n(500);t.bespin=r(d);var p=n(501);t.brewer=r(p);var h=n(502);t.bright=r(h);var v=n(503);t.chalk=r(v);var m=n(504);t.codeschool=r(m);var g=n(505);t.colors=r(g);var y=n(506);t.default=r(y);var b=n(507);t.eighties=r(b);var x=n(508);t.embers=r(x);var w=n(509);t.flat=r(w);var _=n(510);t.google=r(_);var k=n(511);t.grayscale=r(k);var C=n(512);t.greenscreen=r(C);var S=n(513);t.harmonic=r(S);var E=n(514);t.hopscotch=r(E);var P=n(516);t.isotope=r(P);var O=n(517);t.marrakesh=r(O);var T=n(518);t.mocha=r(T);var M=n(519);t.monokai=r(M);var A=n(520);t.ocean=r(A);var j=n(521);t.paraiso=r(j);var R=n(522);t.pop=r(R);var N=n(523);t.railscasts=r(N);var I=n(524);t.shapeshifter=r(I);var D=n(525);t.solarized=r(D);var L=n(526);t.summerfruit=r(L);var F=n(528);t.tomorrow=r(F);var B=n(529);t.tube=r(B);var W=n(530);t.twilight=r(W)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"isotope",author:"jan t. sott",base00:"#000000",base01:"#404040",base02:"#606060",base03:"#808080",base04:"#c0c0c0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#ff0000",base09:"#ff9900",base0A:"#ff0099",base0B:"#33ff00",base0C:"#00ffff",base0D:"#0066ff",base0E:"#cc00ff",base0F:"#3300ff"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"marrakesh",author:"alexandre gavioli (http://github.com/alexx2/)",base00:"#201602",base01:"#302e00",base02:"#5f5b17",base03:"#6c6823",base04:"#86813b",base05:"#948e48",base06:"#ccc37a",base07:"#faf0a5",base08:"#c35359",base09:"#b36144",base0A:"#a88339",base0B:"#18974e",base0C:"#75a738",base0D:"#477ca1",base0E:"#8868b3",base0F:"#b3588e"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"mocha",author:"chris kempson (http://chriskempson.com)",base00:"#3B3228",base01:"#534636",base02:"#645240",base03:"#7e705a",base04:"#b8afad",base05:"#d0c8c6",base06:"#e9e1dd",base07:"#f5eeeb",base08:"#cb6077",base09:"#d28b71",base0A:"#f4bc87",base0B:"#beb55b",base0C:"#7bbda4",base0D:"#8ab3b5",base0E:"#a89bb9",base0F:"#bb9584"
  },e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"monokai",author:"wimer hazenberg (http://www.monokai.nl)",base00:"#272822",base01:"#383830",base02:"#49483e",base03:"#75715e",base04:"#a59f85",base05:"#f8f8f2",base06:"#f5f4f1",base07:"#f9f8f5",base08:"#f92672",base09:"#fd971f",base0A:"#f4bf75",base0B:"#a6e22e",base0C:"#a1efe4",base0D:"#66d9ef",base0E:"#ae81ff",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"ocean",author:"chris kempson (http://chriskempson.com)",base00:"#2b303b",base01:"#343d46",base02:"#4f5b66",base03:"#65737e",base04:"#a7adba",base05:"#c0c5ce",base06:"#dfe1e8",base07:"#eff1f5",base08:"#bf616a",base09:"#d08770",base0A:"#ebcb8b",base0B:"#a3be8c",base0C:"#96b5b4",base0D:"#8fa1b3",base0E:"#b48ead",base0F:"#ab7967"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"paraiso",author:"jan t. sott",base00:"#2f1e2e",base01:"#41323f",base02:"#4f424c",base03:"#776e71",base04:"#8d8687",base05:"#a39e9b",base06:"#b9b6b0",base07:"#e7e9db",base08:"#ef6155",base09:"#f99b15",base0A:"#fec418",base0B:"#48b685",base0C:"#5bc4bf",base0D:"#06b6ef",base0E:"#815ba4",base0F:"#e96ba8"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"pop",author:"chris kempson (http://chriskempson.com)",base00:"#000000",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#e0e0e0",base07:"#ffffff",base08:"#eb008a",base09:"#f29333",base0A:"#f8ca12",base0B:"#37b349",base0C:"#00aabb",base0D:"#0e5a94",base0E:"#b31e8d",base0F:"#7a2d00"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"railscasts",author:"ryan bates (http://railscasts.com)",base00:"#2b2b2b",base01:"#272935",base02:"#3a4055",base03:"#5a647e",base04:"#d4cfc9",base05:"#e6e1dc",base06:"#f4f1ed",base07:"#f9f7f3",base08:"#da4939",base09:"#cc7833",base0A:"#ffc66d",base0B:"#a5c261",base0C:"#519f50",base0D:"#6d9cbe",base0E:"#b6b3eb",base0F:"#bc9458"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"shapeshifter",author:"tyler benziger (http://tybenz.com)",base00:"#000000",base01:"#040404",base02:"#102015",base03:"#343434",base04:"#555555",base05:"#ababab",base06:"#e0e0e0",base07:"#f9f9f9",base08:"#e92f2f",base09:"#e09448",base0A:"#dddd13",base0B:"#0ed839",base0C:"#23edda",base0D:"#3b48e3",base0E:"#f996e2",base0F:"#69542d"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"summerfruit",author:"christopher corley (http://cscorley.github.io/)",base00:"#151515",base01:"#202020",base02:"#303030",base03:"#505050",base04:"#B0B0B0",base05:"#D0D0D0",base06:"#E0E0E0",base07:"#FFFFFF",base08:"#FF0086",base09:"#FD8900",base0A:"#ABA800",base0B:"#00C918",base0C:"#1faaaa",base0D:"#3777E6",base0E:"#AD00A1",base0F:"#cc6633"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"threezerotwofour",author:"jan t. sott (http://github.com/idleberg)",base00:"#090300",base01:"#3a3432",base02:"#4a4543",base03:"#5c5855",base04:"#807d7c",base05:"#a5a2a2",base06:"#d6d5d4",base07:"#f7f7f7",base08:"#db2d20",base09:"#e8bbd0",base0A:"#fded02",base0B:"#01a252",base0C:"#b5e4f4",base0D:"#01a0e4",base0E:"#a16a94",base0F:"#cdab53"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"tomorrow",author:"chris kempson (http://chriskempson.com)",base00:"#1d1f21",base01:"#282a2e",base02:"#373b41",base03:"#969896",base04:"#b4b7b4",base05:"#c5c8c6",base06:"#e0e0e0",base07:"#ffffff",base08:"#cc6666",base09:"#de935f",base0A:"#f0c674",base0B:"#b5bd68",base0C:"#8abeb7",base0D:"#81a2be",base0E:"#b294bb",base0F:"#a3685a"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"london tube",author:"jan t. sott",base00:"#231f20",base01:"#1c3f95",base02:"#5a5758",base03:"#737171",base04:"#959ca1",base05:"#d9d8d8",base06:"#e7e7e8",base07:"#ffffff",base08:"#ee2e24",base09:"#f386a1",base0A:"#ffd204",base0B:"#00853e",base0C:"#85cebc",base0D:"#009ddc",base0E:"#98005d",base0F:"#b06110"},e.exports=t.default},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"twilight",author:"david hart (http://hart-dev.com)",base00:"#1e1e1e",base01:"#323537",base02:"#464b50",base03:"#5f5a60",base04:"#838184",base05:"#a7a7a7",base06:"#c3c3c3",base07:"#ffffff",base08:"#cf6a4c",base09:"#cda869",base0A:"#f9ee98",base0B:"#8f9d6a",base0C:"#afc4db",base0D:"#7587a6",base0E:"#9b859d",base0F:"#9b703f"},e.exports=t.default},function(e,t,n){/*!
  	 * Bowser - a browser detector
  	 * https://github.com/ded/bowser
  	 * MIT License | (c) Dustin Diaz 2015
  	 */
  !function(t,r,o){"undefined"!=typeof e&&e.exports?e.exports=o():n(1140)(r,o)}(this,"bowser",function(){function e(e){function t(t){var n=e.match(t);return n&&n.length>1&&n[1]||""}function n(t){var n=e.match(t);return n&&n.length>1&&n[2]||""}function o(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}var a,s=t(/(ipod|iphone|ipad)/i).toLowerCase(),u=/like android/i.test(e),l=!u&&/android/i.test(e),c=/nexus\s*[0-6]\s*/i.test(e),f=!c&&/nexus\s*[0-9]+/i.test(e),d=/CrOS/.test(e),p=/silk/i.test(e),h=/sailfish/i.test(e),v=/tizen/i.test(e),m=/(web|hpw)(o|0)s/i.test(e),g=/windows phone/i.test(e),y=(/SamsungBrowser/i.test(e),!g&&/windows/i.test(e)),b=!s&&!p&&/macintosh/i.test(e),x=!l&&!h&&!v&&!m&&/linux/i.test(e),w=n(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),_=t(/version\/(\d+(\.\d+)?)/i),k=/tablet/i.test(e)&&!/tablet pc/i.test(e),C=!k&&/[^-]mobi/i.test(e),S=/xbox/i.test(e);/opera/i.test(e)?a={name:"Opera",opera:i,version:_||t(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(e)?a={name:"Opera",opera:i,version:t(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||_}:/SamsungBrowser/i.test(e)?a={name:"Samsung Internet for Android",samsungBrowser:i,version:_||t(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(e)?a={name:"NAVER Whale browser",whale:i,version:t(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(e)?a={name:"MZ Browser",mzbrowser:i,version:t(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(e)?a={name:"Opera Coast",coast:i,version:_||t(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(e)?a={name:"Focus",focus:i,version:t(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(e)?a={name:"Yandex Browser",yandexbrowser:i,version:_||t(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(e)?a={name:"UC Browser",ucbrowser:i,version:t(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(e)?a={name:"Maxthon",maxthon:i,version:t(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(e)?a={name:"Epiphany",epiphany:i,version:t(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(e)?a={name:"Puffin",puffin:i,version:t(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(e)?a={name:"Sleipnir",sleipnir:i,version:t(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(e)?a={name:"K-Meleon",kMeleon:i,version:t(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(a={name:"Windows Phone",osname:"Windows Phone",windowsphone:i},w?(a.msedge=i,a.version=w):(a.msie=i,a.version=t(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?a={name:"Internet Explorer",msie:i,version:t(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:d?a={name:"Chrome",osname:"Chrome OS",chromeos:i,chromeBook:i,chrome:i,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(e)?a={name:"Microsoft Edge",msedge:i,version:w}:/vivaldi/i.test(e)?a={name:"Vivaldi",vivaldi:i,version:t(/vivaldi\/(\d+(\.\d+)?)/i)||_}:h?a={name:"Sailfish",osname:"Sailfish OS",sailfish:i,version:t(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?a={name:"SeaMonkey",seamonkey:i,version:t(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(e)?(a={name:"Firefox",firefox:i,version:t(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(a.firefoxos=i,a.osname="Firefox OS")):p?a={name:"Amazon Silk",silk:i,version:t(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(e)?a={name:"PhantomJS",phantom:i,version:t(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(e)?a={name:"SlimerJS",slimer:i,version:t(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?a={name:"BlackBerry",osname:"BlackBerry OS",blackberry:i,version:_||t(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(a={name:"WebOS",osname:"WebOS",webos:i,version:_||t(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(e)&&(a.touchpad=i)):/bada/i.test(e)?a={name:"Bada",osname:"Bada",bada:i,version:t(/dolfin\/(\d+(\.\d+)?)/i)}:v?a={name:"Tizen",osname:"Tizen",tizen:i,version:t(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||_}:/qupzilla/i.test(e)?a={name:"QupZilla",qupzilla:i,version:t(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||_}:/chromium/i.test(e)?a={name:"Chromium",chromium:i,version:t(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||_}:/chrome|crios|crmo/i.test(e)?a={name:"Chrome",chrome:i,version:t(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:l?a={name:"Android",version:_}:/safari|applewebkit/i.test(e)?(a={name:"Safari",safari:i},_&&(a.version=_)):s?(a={name:"iphone"==s?"iPhone":"ipad"==s?"iPad":"iPod"},_&&(a.version=_)):a=/googlebot/i.test(e)?{name:"Googlebot",googlebot:i,version:t(/googlebot\/(\d+(\.\d+))/i)||_}:{name:t(/^(.*)\/(.*) /),version:n(/^(.*)\/(.*) /)},!a.msedge&&/(apple)?webkit/i.test(e)?(/(apple)?webkit\/537\.36/i.test(e)?(a.name=a.name||"Blink",a.blink=i):(a.name=a.name||"Webkit",a.webkit=i),!a.version&&_&&(a.version=_)):!a.opera&&/gecko\//i.test(e)&&(a.name=a.name||"Gecko",a.gecko=i,a.version=a.version||t(/gecko\/(\d+(\.\d+)?)/i)),a.windowsphone||!l&&!a.silk?!a.windowsphone&&s?(a[s]=i,a.ios=i,a.osname="iOS"):b?(a.mac=i,a.osname="macOS"):S?(a.xbox=i,a.osname="Xbox"):y?(a.windows=i,a.osname="Windows"):x&&(a.linux=i,a.osname="Linux"):(a.android=i,a.osname="Android");var E="";a.windows?E=o(t(/Windows ((NT|XP)( \d\d?.\d)?)/i)):a.windowsphone?E=t(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):a.mac?(E=t(/Mac OS X (\d+([_\.\s]\d+)*)/i),E=E.replace(/[_\s]/g,".")):s?(E=t(/os (\d+([_\s]\d+)*) like mac os x/i),E=E.replace(/[_\s]/g,".")):l?E=t(/android[ \/-](\d+(\.\d+)*)/i):a.webos?E=t(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):a.blackberry?E=t(/rim\stablet\sos\s(\d+(\.\d+)*)/i):a.bada?E=t(/bada\/(\d+(\.\d+)*)/i):a.tizen&&(E=t(/tizen[\/\s](\d+(\.\d+)*)/i)),E&&(a.osversion=E);var P=!a.windows&&E.split(".")[0];return k||f||"ipad"==s||l&&(3==P||P>=4&&!C)||a.silk?a.tablet=i:(C||"iphone"==s||"ipod"==s||l||c||a.blackberry||a.webos||a.bada)&&(a.mobile=i),a.msedge||a.msie&&a.version>=10||a.yandexbrowser&&a.version>=15||a.vivaldi&&a.version>=1||a.chrome&&a.version>=20||a.samsungBrowser&&a.version>=4||a.whale&&1===r([a.version,"1.0"])||a.mzbrowser&&1===r([a.version,"6.0"])||a.focus&&1===r([a.version,"1.0"])||a.firefox&&a.version>=20||a.safari&&a.version>=6||a.opera&&a.version>=10||a.ios&&a.osversion&&a.osversion.split(".")[0]>=6||a.blackberry&&a.version>=10.1||a.chromium&&a.version>=20?a.a=i:a.msie&&a.version<10||a.chrome&&a.version<20||a.firefox&&a.version<20||a.safari&&a.version<6||a.opera&&a.version<10||a.ios&&a.osversion&&a.osversion.split(".")[0]<6||a.chromium&&a.version<20?a.c=i:a.x=i,a}function t(e){return e.split(".").length}function n(e,t){var n,r=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(n=0;n<e.length;n++)r.push(t(e[n]));return r}function r(e){for(var r=Math.max(t(e[0]),t(e[1])),o=n(e,function(e){var o=r-t(e);return e+=new Array(o+1).join(".0"),n(e.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});--r>=0;){if(o[0][r]>o[1][r])return 1;if(o[0][r]!==o[1][r])return-1;if(0===r)return 0}}function o(t,n,o){var a=s;"string"==typeof n&&(o=n,n=void 0),void 0===n&&(n=!1),o&&(a=e(o));var i=""+a.version;for(var u in t)if(t.hasOwnProperty(u)&&a[u]){if("string"!=typeof t[u])throw new Error("Browser version in the minVersion map should be a string: "+u+": "+String(t));return r([i,t[u]])<0}return n}function a(e,t,n){return!o(e,t,n)}var i=!0,s=e("undefined"!=typeof navigator?navigator.userAgent||"":"");return s.test=function(e){for(var t=0;t<e.length;++t){var n=e[t];if("string"==typeof n&&n in s)return!0}return!1},s.isUnsupportedBrowser=o,s.compareVersions=r,s.check=a,s._detect=e,s.detect=e,s})},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(t=t.filter(function(e){return null!=e}),0!==t.length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){n(579),e.exports=n(40).RegExp.escape},function(e,t,n){n(200),n(559),e.exports=n(25).Array.from},function(e,t,n){n(300),n(200),e.exports=n(558)},function(e,t,n){n(561),e.exports=n(25).Number.isSafeInteger},function(e,t,n){n(565);var r=n(25).Object;e.exports=function(e){return r.getOwnPropertyNames(e)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(89),o=n(298),a=n(557);e.exports=function(e){return function(t,n,i){var s,u=r(t),l=o(u.length),c=a(i,l);if(e&&n!=n){for(;l>c;)if(s=u[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(186),o=n(45)("toStringTag"),a="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),o))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var r=n(64),o=n(118);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(117),o=n(191),a=n(132);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,i=s[l++])&&t.push(i);return t}},function(e,t,n){var r=n(63).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(116),o=n(45)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},function(e,t,n){var r=n(186);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(72),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(69);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},function(e,t,n){"use strict";var r=n(190),o=n(118),a=n(193),i={};n(88)(i,n(45)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},function(e,t,n){var r=n(45)("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(133)("meta"),o=n(72),a=n(71),i=n(64).f,s=0,u=Object.isExtensible||function(){return!0},l=!n(87)(function(){return u(Object.preventExtensions({}))}),c=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!u(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!a(e,r)){if(!u(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return l&&h.NEED&&u(e)&&!a(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,n){"use strict";var r=n(117),o=n(191),a=n(132),i=n(119),s=n(290),u=Object.assign;e.exports=!u||n(87)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=i(e),u=arguments.length,l=1,c=o.f,f=a.f;u>l;)for(var d,p=s(arguments[l++]),h=c?r(p).concat(c(p)):r(p),v=h.length,m=0;v>m;)f.call(p,d=h[m++])&&(n[d]=p[d]);return n}:u},function(e,t,n){var r=n(64),o=n(69),a=n(117);e.exports=n(70)?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,u=0;s>u;)r.f(e,n=i[u++],t[n]);return e}},function(e,t,n){var r=n(72),o=n(69),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(187)(Function.call,n(292).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return a(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:a}},function(e,t,n){var r=n(196),o=n(188);e.exports=function(e){return function(t,n){var a,i,s=String(o(t)),u=r(n),l=s.length;return u<0||u>=l?e?"":void 0:(a=s.charCodeAt(u),a<55296||a>56319||u+1===l||(i=s.charCodeAt(u+1))<56320||i>57343?e?s.charAt(u):a:e?s.slice(u,u+2):(a-55296<<10)+(i-56320)+65536)}}},function(e,t,n){var r=n(196),o=Math.max,a=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):a(e,t)}},function(e,t,n){var r=n(69),o=n(299);e.exports=n(25).getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},function(e,t,n){"use strict";var r=n(187),o=n(57),a=n(119),i=n(548),s=n(545),u=n(298),l=n(542),c=n(299);o(o.S+o.F*!n(550)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,d=a(e),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,g=0,y=c(d);if(m&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=u(d.length),n=new p(t);t>g;g++)l(n,g,m?v(d[g],g):d[g]);else for(f=y.call(d),n=new p;!(o=f.next()).done;g++)l(n,g,m?i(f,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(539),o=n(551),a=n(116),i=n(89);e.exports=n(291)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(57),o=n(547),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(57);r(r.S+r.F,"Object",{assign:n(553)})},function(e,t,n){var r=n(57);r(r.S,"Object",{create:n(190)})},function(e,t,n){var r=n(57);r(r.S+r.F*!n(70),"Object",{defineProperty:n(64).f})},function(e,t,n){n(192)("getOwnPropertyNames",function(){return n(293).f})},function(e,t,n){var r=n(119),o=n(295);n(192)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(119),o=n(117);n(192)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(57);r(r.S,"Object",{setPrototypeOf:n(555).set})},function(e,t){},function(e,t,n){"use strict";var r=n(63),o=n(71),a=n(70),i=n(57),s=n(297),u=n(552).KEY,l=n(87),c=n(195),f=n(193),d=n(133),p=n(45),h=n(199),v=n(198),m=n(543),g=n(546),y=n(69),b=n(72),x=n(89),w=n(197),_=n(118),k=n(190),C=n(293),S=n(292),E=n(64),P=n(117),O=S.f,T=E.f,M=C.f,A=r.Symbol,j=r.JSON,R=j&&j.stringify,N="prototype",I=p("_hidden"),D=p("toPrimitive"),L={}.propertyIsEnumerable,F=c("symbol-registry"),B=c("symbols"),W=c("op-symbols"),U=Object[N],z="function"==typeof A,G=r.QObject,q=!G||!G[N]||!G[N].findChild,H=a&&l(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(U,t);r&&delete U[t],T(e,t,n),r&&e!==U&&T(U,t,r)}:T,V=function(e){var t=B[e]=k(A[N]);return t._k=e,t},K=z&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},Y=function(e,t,n){return e===U&&Y(W,t,n),y(e),t=w(t,!0),y(n),o(B,t)?(n.enumerable?(o(e,I)&&e[I][t]&&(e[I][t]=!1),n=k(n,{enumerable:_(0,!1)})):(o(e,I)||T(e,I,_(1,{})),e[I][t]=!0),H(e,t,n)):T(e,t,n)},X=function(e,t){y(e);for(var n,r=m(t=x(t)),o=0,a=r.length;a>o;)Y(e,n=r[o++],t[n]);return e},$=function(e,t){return void 0===t?k(e):X(k(e),t)},Z=function(e){var t=L.call(this,e=w(e,!0));return!(this===U&&o(B,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,I)&&this[I][e])||t)},Q=function(e,t){if(e=x(e),t=w(t,!0),e!==U||!o(B,t)||o(W,t)){var n=O(e,t);return!n||!o(B,t)||o(e,I)&&e[I][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)o(B,t=n[a++])||t==I||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===U,r=M(n?W:x(e)),a=[],i=0;r.length>i;)!o(B,t=r[i++])||n&&!o(U,t)||a.push(B[t]);return a};z||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(W,n),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),H(this,e,_(1,n))};return a&&q&&H(U,e,{configurable:!0,set:t}),V(e)},s(A[N],"toString",function(){return this._k}),S.f=Q,E.f=Y,n(294).f=C.f=J,n(132).f=Z,n(191).f=ee,a&&!n(131)&&s(U,"propertyIsEnumerable",Z,!0),h.f=function(e){return V(p(e))}),i(i.G+i.W+i.F*!z,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)v(re[oe++]);i(i.S+i.F*!z,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!z,"Object",{create:$,defineProperty:Y,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee}),j&&i(i.S+i.F*(!z||l(function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,R.apply(j,r)}}),A[N][D]||n(88)(A[N],D,A[N].valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(198)("asyncIterator")},function(e,t,n){n(198)("observable")},function(e,t,n){var r=n(8),o=n(138),a=n(11)("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&(t=t[a],null===t&&(t=void 0))),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(7),o=Date.prototype.getTime,a=Date.prototype.toISOString,i=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=a.call(new Date(-5e13-1))})||!r(function(){a.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"."+(n>99?n:"0"+i(n))+"Z"}:a},function(e,t,n){"use strict";var r=n(5),o=n(50),a="number";e.exports=function(e){if("string"!==e&&e!==a&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),e!=a)}},function(e,t,n){var r=n(77),o=n(142),a=n(122);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,s=n(e),u=a.f,l=0;s.length>l;)u.call(e,i=s[l++])&&t.push(i);return t}},function(e,t){e.exports=function(e,t){var n=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(t).replace(e,n)}}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e===1/t:e!=e&&t!=t}},function(e,t,n){var r=n(1),o=n(577)(/[\\^$*+?.()|[\]{}]/g,"\\$&");r(r.S,"RegExp",{escape:function(e){return o(e)}})},function(e,t,n){var r=n(1);r(r.P,"Array",{copyWithin:n(302)}),n(65)("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(46)(4);r(r.P+r.F*!n(42)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(1);r(r.P,"Array",{fill:n(201)}),n(65)("fill")},function(e,t,n){"use strict";var r=n(1),o=n(46)(2);r(r.P+r.F*!n(42)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(1),o=n(46)(6),a="findIndex",i=!0;a in[]&&Array(1)[a](function(){i=!1}),r(r.P+r.F*i,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)(a)},function(e,t,n){"use strict";var r=n(1),o=n(46)(5),a="find",i=!0;a in[]&&Array(1)[a](function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)(a)},function(e,t,n){"use strict";var r=n(1),o=n(46)(0),a=n(42)([].forEach,!0);r(r.P+r.F*!a,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(41),o=n(1),a=n(22),i=n(313),s=n(209),u=n(15),l=n(203),c=n(225);o(o.S+o.F*!n(140)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,d=a(e),p="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,m=void 0!==v,g=0,y=c(d);if(m&&(v=r(v,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=u(d.length),n=new p(t);t>g;g++)l(n,g,m?v(d[g],g):d[g]);else for(f=y.call(d),n=new p;!(o=f.next()).done;g++)l(n,g,m?i(f,v,[o.value,g],!0):o.value);return n.length=g,n}})},function(e,t,n){"use strict";var r=n(1),o=n(134)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!n(42)(a)),"Array",{indexOf:function(e){return i?a.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){var r=n(1);r(r.S,"Array",{isArray:n(138)})},function(e,t,n){"use strict";var r=n(1),o=n(37),a=[].join;r(r.P+r.F*(n(121)!=Object||!n(42)(a)),"Array",{join:function(e){return a.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(1),o=n(37),a=n(49),i=n(15),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(u||!n(42)(s)),"Array",{lastIndexOf:function(e){if(u)return s.apply(this,arguments)||0;var t=o(this),n=i(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,a(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){"use strict";var r=n(1),o=n(46)(1);r(r.P+r.F*!n(42)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(1),o=n(203);r(r.S+r.F*n(7)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(1),o=n(304);r(r.P+r.F*!n(42)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(1),o=n(304);r(r.P+r.F*!n(42)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(1),o=n(207),a=n(39),i=n(81),s=n(15),u=[].slice;r(r.P+r.F*n(7)(function(){o&&u.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=a(this);if(t=void 0===t?n:t,"Array"==r)return u.call(this,e,t);for(var o=i(e,n),l=i(t,n),c=s(l-o),f=new Array(c),d=0;d<c;d++)f[d]="String"==r?this.charAt(o+d):this[o+d];return f}})},function(e,t,n){"use strict";var r=n(1),o=n(46)(3);r(r.P+r.F*!n(42)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(1),o=n(26),a=n(22),i=n(7),s=[].sort,u=[1,2,3];r(r.P+r.F*(i(function(){u.sort(void 0)})||!i(function(){u.sort(null)})||!n(42)(s)),"Array",{sort:function(e){return void 0===e?s.call(a(this)):s.call(a(this),o(e))}})},function(e,t,n){n(80)("Array")},function(e,t,n){var r=n(1);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(1),o=n(574);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(1),o=n(22),a=n(50);r(r.P+r.F*n(7)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(11)("toPrimitive"),o=Date.prototype;r in o||n(30)(o,r,n(575))},function(e,t,n){var r=Date.prototype,o="Invalid Date",a="toString",i=r[a],s=r.getTime;new Date(NaN)+""!=o&&n(31)(r,a,function(){var e=s.call(this);return e===e?i.call(this):o})},function(e,t,n){var r=n(1);r(r.P,"Function",{bind:n(305)})},function(e,t,n){"use strict";var r=n(8),o=n(36),a=n(11)("hasInstance"),i=Function.prototype;a in i||n(14).f(i,a,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(14).f,o=Function.prototype,a=/^\s*function ([^ (]*)/,i="name";i in o||n(13)&&r(o,i,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,t,n){var r=n(1),o=n(316),a=Math.sqrt,i=Math.acosh;r(r.S+r.F*!(i&&710==Math.floor(i(Number.MAX_VALUE))&&i(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+a(e-1)*a(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(1),a=Math.asinh;o(o.S+o.F*!(a&&1/a(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(1),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(1),o=n(213);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(1),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(1),o=n(212);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(1);r(r.S,"Math",{fround:n(315)})},function(e,t,n){var r=n(1),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,a=0,i=0,s=arguments.length,u=0;i<s;)n=o(arguments[i++]),u<n?(r=u/n,a=a*r*r+1,u=n):n>0?(r=n/u,a+=r*r):a+=n;return u===1/0?1/0:u*Math.sqrt(a)}})},function(e,t,n){var r=n(1),o=Math.imul;r(r.S+r.F*n(7)(function(){return o(4294967295,5)!=-5||2!=o.length}),"Math",{imul:function(e,t){var n=65535,r=+e,o=+t,a=n&r,i=n&o;return 0|a*i+((n&r>>>16)*i+a*(n&o>>>16)<<16>>>0)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(1);r(r.S,"Math",{log1p:n(316)})},function(e,t,n){var r=n(1);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(1);r(r.S,"Math",{sign:n(213)})},function(e,t,n){var r=n(1),o=n(212),a=Math.exp;r(r.S+r.F*n(7)(function(){return!Math.sinh(-2e-17)!=-2e-17}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(a(e-1)-a(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(1),o=n(212),a=Math.exp;r(r.S,"Math",{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(a(e)+a(-e))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){"use strict";var r=n(6),o=n(34),a=n(39),i=n(208),s=n(50),u=n(7),l=n(76).f,c=n(35).f,f=n(14).f,d=n(92).trim,p="Number",h=r[p],v=h,m=h.prototype,g=a(n(75)(m))==p,y="trim"in String.prototype,b=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=y?t.trim():d(t,3);var n,r,o,a=t.charCodeAt(0);if(43===a||45===a){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var i,u=t.slice(2),l=0,c=u.length;l<c;l++)if(i=u.charCodeAt(l),i<48||i>o)return NaN;return parseInt(u,r)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof h&&(g?u(function(){m.valueOf.call(n)}):a(n)!=p)?i(new v(b(t)),n,h):b(t)};for(var x,w=n(13)?l(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;w.length>_;_++)o(v,x=w[_])&&!o(h,x)&&f(h,x,c(v,x));h.prototype=m,m.constructor=h,n(31)(r,p,h)}},function(e,t,n){var r=n(1);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(1),o=n(6).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(1);r(r.S,"Number",{isInteger:n(312)})},function(e,t,n){var r=n(1);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1),o=n(312),a=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&a(e)<=9007199254740991}})},function(e,t,n){var r=n(1);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(1);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(1),o=n(324);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(1),o=n(325);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){"use strict";var r=n(1),o=n(49),a=n(301),i=n(220),s=1..toFixed,u=Math.floor,l=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",f="0",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*l[n],l[n]=r%1e7,r=u(r/1e7)},p=function(e){for(var t=6,n=0;--t>=0;)n+=l[t],l[t]=u(n/e),n=n%e*1e7},h=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==l[e]){var n=String(l[e]);t=""===t?n:t+i.call(f,7-n.length)+n}return t},v=function(e,t,n){return 0===t?n:t%2===1?v(e,t-1,n*e):v(e*e,t/2,n)},m=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(7)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,u=a(this,c),l=o(e),g="",y=f;if(l<0||l>20)throw RangeError(c);if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(g="-",u=-u),u>1e-21)if(t=m(u*v(2,69,1))-69,n=t<0?u*v(2,-t,1):u/v(2,t,1),n*=4503599627370496,t=52-t,t>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(v(10,r,1),0),r=t-1;r>=23;)p(1<<23),r-=23;p(1<<r),d(1,1),p(2),y=h()}else d(0,n),d(1<<-t,0),y=h()+i.call(f,l);return l>0?(s=y.length,y=g+(s<=l?"0."+i.call(f,l-s)+y:y.slice(0,s-l)+"."+y.slice(s-l))):y=g+y,y}})},function(e,t,n){"use strict";var r=n(1),o=n(7),a=n(301),i=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==i.call(1,void 0)})||!o(function(){i.call({})})),"Number",{toPrecision:function(e){var t=a(this,"Number#toPrecision: incorrect invocation!");return void 0===e?i.call(t):i.call(t,e)}})},function(e,t,n){var r=n(1);r(r.S+r.F,"Object",{assign:n(318)})},function(e,t,n){var r=n(1);r(r.S,"Object",{create:n(75)})},function(e,t,n){var r=n(1);r(r.S+r.F*!n(13),"Object",{defineProperties:n(319)})},function(e,t,n){var r=n(1);r(r.S+r.F*!n(13),"Object",{defineProperty:n(14).f})},function(e,t,n){var r=n(8),o=n(67).onFreeze;n(48)("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(37),o=n(35).f;n(48)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},function(e,t,n){n(48)("getOwnPropertyNames",function(){return n(320).f})},function(e,t,n){var r=n(22),o=n(36);n(48)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(8);n(48)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(8);n(48)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(8);n(48)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(1);r(r.S,"Object",{is:n(578)})},function(e,t,n){var r=n(22),o=n(77);n(48)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(8),o=n(67).onFreeze;n(48)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(8),o=n(67).onFreeze;n(48)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(1);r(r.S,"Object",{setPrototypeOf:n(216).set})},function(e,t,n){"use strict";var r=n(120),o={};o[n(11)("toStringTag")]="z",o+""!="[object z]"&&n(31)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(1),o=n(324);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){var r=n(1),o=n(325);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){"use strict";var r,o,a,i,s=n(66),u=n(6),l=n(41),c=n(120),f=n(1),d=n(8),p=n(26),h=n(73),v=n(74),m=n(146),g=n(222).set,y=n(214)(),b=n(215),x=n(326),w=n(148),_=n(327),k="Promise",C=u.TypeError,S=u.process,E=S&&S.versions,P=E&&E.v8||"",O=u[k],T="process"==c(S),M=function(){},A=o=b.f,j=!!function(){
  try{var e=O.resolve(1),t=(e.constructor={})[n(11)("species")]=function(e){e(M,M)};return(T||"function"==typeof PromiseRejectionEvent)&&e.then(M)instanceof t&&0!==P.indexOf("6.6")&&w.indexOf("Chrome/66")===-1}catch(e){}}(),R=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,o=1==e._s,a=0,i=function(t){var n,a,i,s=o?t.ok:t.fail,u=t.resolve,l=t.reject,c=t.domain;try{s?(o||(2==e._h&&L(e),e._h=1),s===!0?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),i=!0)),n===t.promise?l(C("Promise-chain cycle")):(a=R(n))?a.call(n,u,l):u(n)):l(r)}catch(e){c&&!i&&c.exit(),l(e)}};n.length>a;)i(n[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){g.call(u,function(){var t,n,r,o=e._v,a=D(e);if(a&&(t=x(function(){T?S.emit("unhandledRejection",o,e):(n=u.onunhandledrejection)?n({promise:e,reason:o}):(r=u.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=T||D(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},D=function(e){return 1!==e._h&&0===(e._a||e._c).length},L=function(e){g.call(u,function(){var t;T?S.emit("rejectionHandled",e):(t=u.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},B=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw C("Promise can't be resolved itself");(t=R(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,l(B,r,1),l(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,N(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};j||(O=function(e){h(this,O,k,"_h"),p(e),r.call(this);try{e(l(B,this,1),l(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(79)(O.prototype,{then:function(e,t){var n=A(m(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=T?S.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new r;this.promise=e,this.resolve=l(B,e,1),this.reject=l(F,e,1)},b.f=A=function(e){return e===O||e===i?new a(e):o(e)}),f(f.G+f.W+f.F*!j,{Promise:O}),n(91)(O,k),n(80)(k),i=n(40)[k],f(f.S+f.F*!j,k,{reject:function(e){var t=A(this),n=t.reject;return n(e),t.promise}}),f(f.S+f.F*(s||!j),k,{resolve:function(e){return _(s&&this===i?O:this,e)}}),f(f.S+f.F*!(j&&n(140)(function(e){O.all(e).catch(M)})),k,{all:function(e){var t=this,n=A(t),r=n.resolve,o=n.reject,a=x(function(){var n=[],a=0,i=1;v(e,!1,function(e){var s=a++,u=!1;n.push(void 0),i++,t.resolve(e).then(function(e){u||(u=!0,n[s]=e,--i||r(n))},o)}),--i||r(n)});return a.e&&o(a.v),n.promise},race:function(e){var t=this,n=A(t),r=n.reject,o=x(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){var r=n(1),o=n(26),a=n(5),i=(n(6).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(7)(function(){i(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),u=a(n);return i?i(r,t,u):s.call(r,t,u)}})},function(e,t,n){var r=n(1),o=n(75),a=n(26),i=n(5),s=n(8),u=n(7),l=n(305),c=(n(6).Reflect||{}).construct,f=u(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),d=!u(function(){c(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(e,t){a(e),i(t);var n=arguments.length<3?e:a(arguments[2]);if(d&&!f)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(l.apply(e,r))}var u=n.prototype,p=o(s(u)?u:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(14),o=n(1),a=n(5),i=n(50);o(o.S+o.F*n(7)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){a(e),t=i(t,!0),a(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(35).f,a=n(5);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(a(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(1),o=n(5),a=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(210)(a,"Object",function(){var e,t=this,n=t._k;do if(t._i>=n.length)return{value:void 0,done:!0};while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new a(e)}})},function(e,t,n){var r=n(35),o=n(1),a=n(5);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(a(e),t)}})},function(e,t,n){var r=n(1),o=n(36),a=n(5);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(a(e))}})},function(e,t,n){function r(e,t){var n,s,c=arguments.length<3?e:arguments[2];return l(e)===c?e[t]:(n=o.f(e,t))?i(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:u(s=a(e))?r(s,t,c):void 0}var o=n(35),a=n(36),i=n(34),s=n(1),u=n(8),l=n(5);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(1);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(1),o=n(5),a=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!a||a(e)}})},function(e,t,n){var r=n(1);r(r.S,"Reflect",{ownKeys:n(323)})},function(e,t,n){var r=n(1),o=n(5),a=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return a&&a(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(216);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var u,d,p=arguments.length<4?e:arguments[3],h=a.f(c(e),t);if(!h){if(f(d=i(e)))return r(d,t,n,p);h=l(0)}if(s(h,"value")){if(h.writable===!1||!f(p))return!1;if(u=a.f(p,t)){if(u.get||u.set||u.writable===!1)return!1;u.value=n,o.f(p,t,u)}else o.f(p,t,l(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var o=n(14),a=n(35),i=n(36),s=n(34),u=n(1),l=n(78),c=n(5),f=n(8);u(u.S,"Reflect",{set:r})},function(e,t,n){var r=n(6),o=n(208),a=n(14).f,i=n(76).f,s=n(139),u=n(137),l=r.RegExp,c=l,f=l.prototype,d=/a/g,p=/a/g,h=new l(d)!==d;if(n(13)&&(!h||n(7)(function(){return p[n(11)("match")]=!1,l(d)!=d||l(p)==p||"/a/i"!=l(d,"i")}))){l=function(e,t){var n=this instanceof l,r=s(e),a=void 0===t;return!n&&r&&e.constructor===l&&a?e:o(h?new c(r&&!a?e.source:e,t):c((r=e instanceof l)?e.source:e,r&&a?u.call(e):t),n?this:f,l)};for(var v=(function(e){e in l||a(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}),m=i(c),g=0;m.length>g;)v(m[g++]);f.constructor=l,l.prototype=f,n(31)(r,"RegExp",l)}n(80)("RegExp")},function(e,t,n){n(136)("match",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(136)("replace",2,function(e,t,n){return[function(r,o){"use strict";var a=e(this),i=void 0==r?void 0:r[t];return void 0!==i?i.call(r,a,o):n.call(String(a),r,o)},n]})},function(e,t,n){n(136)("search",1,function(e,t,n){return[function(n){"use strict";var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},n]})},function(e,t,n){n(136)("split",2,function(e,t,r){"use strict";var o=n(139),a=r,i=[].push,s="split",u="length",l="lastIndex";if("c"=="abbc"[s](/(b)*/)[1]||4!="test"[s](/(?:)/,-1)[u]||2!="ab"[s](/(?:ab)*/)[u]||4!="."[s](/(.?)(.?)/)[u]||"."[s](/()()/)[u]>1||""[s](/.?/)[u]){var c=void 0===/()??/.exec("")[1];r=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!o(e))return a.call(n,e,t);var r,s,f,d,p,h=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,g=void 0===t?4294967295:t>>>0,y=new RegExp(e.source,v+"g");for(c||(r=new RegExp("^"+y.source+"$(?!\\s)",v));(s=y.exec(n))&&(f=s.index+s[0][u],!(f>m&&(h.push(n.slice(m,s.index)),!c&&s[u]>1&&s[0].replace(r,function(){for(p=1;p<arguments[u]-2;p++)void 0===arguments[p]&&(s[p]=void 0)}),s[u]>1&&s.index<n[u]&&i.apply(h,s.slice(1)),d=s[0][u],m=f,h[u]>=g)));)y[l]===s.index&&y[l]++;return m===n[u]?!d&&y.test("")||h.push(""):h.push(n.slice(m)),h[u]>g?h.slice(0,g):h}}else"0"[s](void 0,0)[u]&&(r=function(e,t){return void 0===e&&0===t?[]:a.call(this,e,t)});return[function(n,o){var a=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,a,o):r.call(String(a),n,o)},r]})},function(e,t,n){"use strict";n(332);var r=n(5),o=n(137),a=n(13),i="toString",s=/./[i],u=function(e){n(31)(RegExp.prototype,i,e,!0)};n(7)(function(){return"/a/b"!=s.call({source:"a",flags:"b"})})?u(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!a&&e instanceof RegExp?o.call(e):void 0)}):s.name!=i&&u(function(){return s.call(this)})},function(e,t,n){"use strict";n(32)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(32)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(32)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(32)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(218)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(15),a=n(219),i="endsWith",s=""[i];r(r.P+r.F*n(206)(i),"String",{endsWith:function(e){var t=a(this,e,i),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),u=void 0===n?r:Math.min(o(n),r),l=String(e);return s?s.call(t,l,u):t.slice(u-l.length,u)===l}})},function(e,t,n){"use strict";n(32)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(32)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(32)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){var r=n(1),o=n(81),a=String.fromCharCode,i=String.fromCodePoint;r(r.S+r.F*(!!i&&1!=i.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,i=0;r>i;){if(t=+arguments[i++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?a(t):a(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(1),o=n(219),a="includes";r(r.P+r.F*n(206)(a),"String",{includes:function(e){return!!~o(this,e,a).indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";n(32)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";var r=n(218)(!0);n(211)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";n(32)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){var r=n(1),o=n(37),a=n(15);r(r.S,"String",{raw:function(e){for(var t=o(e.raw),n=a(t.length),r=arguments.length,i=[],s=0;n>s;)i.push(String(t[s++])),s<r&&i.push(String(arguments[s]));return i.join("")}})},function(e,t,n){var r=n(1);r(r.P,"String",{repeat:n(220)})},function(e,t,n){"use strict";n(32)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";var r=n(1),o=n(15),a=n(219),i="startsWith",s=""[i];r(r.P+r.F*n(206)(i),"String",{startsWith:function(e){var t=a(this,e,i),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return s?s.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(32)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(32)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(32)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){"use strict";n(92)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";var r=n(6),o=n(34),a=n(13),i=n(1),s=n(31),u=n(67).KEY,l=n(7),c=n(145),f=n(91),d=n(82),p=n(11),h=n(330),v=n(224),m=n(576),g=n(138),y=n(5),b=n(8),x=n(37),w=n(50),_=n(78),k=n(75),C=n(320),S=n(35),E=n(14),P=n(77),O=S.f,T=E.f,M=C.f,A=r.Symbol,j=r.JSON,R=j&&j.stringify,N="prototype",I=p("_hidden"),D=p("toPrimitive"),L={}.propertyIsEnumerable,F=c("symbol-registry"),B=c("symbols"),W=c("op-symbols"),U=Object[N],z="function"==typeof A,G=r.QObject,q=!G||!G[N]||!G[N].findChild,H=a&&l(function(){return 7!=k(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=O(U,t);r&&delete U[t],T(e,t,n),r&&e!==U&&T(U,t,r)}:T,V=function(e){var t=B[e]=k(A[N]);return t._k=e,t},K=z&&"symbol"==typeof A.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof A},Y=function(e,t,n){return e===U&&Y(W,t,n),y(e),t=w(t,!0),y(n),o(B,t)?(n.enumerable?(o(e,I)&&e[I][t]&&(e[I][t]=!1),n=k(n,{enumerable:_(0,!1)})):(o(e,I)||T(e,I,_(1,{})),e[I][t]=!0),H(e,t,n)):T(e,t,n)},X=function(e,t){y(e);for(var n,r=m(t=x(t)),o=0,a=r.length;a>o;)Y(e,n=r[o++],t[n]);return e},$=function(e,t){return void 0===t?k(e):X(k(e),t)},Z=function(e){var t=L.call(this,e=w(e,!0));return!(this===U&&o(B,e)&&!o(W,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,I)&&this[I][e])||t)},Q=function(e,t){if(e=x(e),t=w(t,!0),e!==U||!o(B,t)||o(W,t)){var n=O(e,t);return!n||!o(B,t)||o(e,I)&&e[I][t]||(n.enumerable=!0),n}},J=function(e){for(var t,n=M(x(e)),r=[],a=0;n.length>a;)o(B,t=n[a++])||t==I||t==u||r.push(t);return r},ee=function(e){for(var t,n=e===U,r=M(n?W:x(e)),a=[],i=0;r.length>i;)!o(B,t=r[i++])||n&&!o(U,t)||a.push(B[t]);return a};z||(A=function(){if(this instanceof A)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===U&&t.call(W,n),o(this,I)&&o(this[I],e)&&(this[I][e]=!1),H(this,e,_(1,n))};return a&&q&&H(U,e,{configurable:!0,set:t}),V(e)},s(A[N],"toString",function(){return this._k}),S.f=Q,E.f=Y,n(76).f=C.f=J,n(122).f=Z,n(142).f=ee,a&&!n(66)&&s(U,"propertyIsEnumerable",Z,!0),h.f=function(e){return V(p(e))}),i(i.G+i.W+i.F*!z,{Symbol:A});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=P(p.store),oe=0;re.length>oe;)v(re[oe++]);i(i.S+i.F*!z,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=A(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){q=!0},useSimple:function(){q=!1}}),i(i.S+i.F*!z,"Object",{create:$,defineProperty:Y,defineProperties:X,getOwnPropertyDescriptor:Q,getOwnPropertyNames:J,getOwnPropertySymbols:ee}),j&&i(i.S+i.F*(!z||l(function(){var e=A();return"[null]"!=R([e])||"{}"!=R({a:e})||"{}"!=R(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,R.apply(j,r)}}),A[N][D]||n(30)(A[N],D,A[N].valueOf),f(A,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(1),o=n(147),a=n(223),i=n(5),s=n(81),u=n(15),l=n(8),c=n(6).ArrayBuffer,f=n(146),d=a.ArrayBuffer,p=a.DataView,h=o.ABV&&c.isView,v=d.prototype.slice,m=o.VIEW,g="ArrayBuffer";r(r.G+r.W+r.F*(c!==d),{ArrayBuffer:d}),r(r.S+r.F*!o.CONSTR,g,{isView:function(e){return h&&h(e)||l(e)&&m in e}}),r(r.P+r.U+r.F*n(7)(function(){return!new d(2).slice(1,void 0).byteLength}),g,{slice:function(e,t){if(void 0!==v&&void 0===t)return v.call(i(this),e);for(var n=i(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),a=new(f(this,d))(u(o-r)),l=new p(this),c=new p(a),h=0;r<o;)c.setUint8(h++,l.getUint8(r++));return a}}),n(80)(g)},function(e,t,n){var r=n(1);r(r.G+r.W+r.F*!n(147).ABV,{DataView:n(223).DataView})},function(e,t,n){n(59)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(59)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){"use strict";var r=n(308),o=n(93),a="WeakSet";n(135)(a,function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,a),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(1),o=n(309),a=n(22),i=n(15),s=n(26),u=n(202);r(r.P,"Array",{flatMap:function(e){var t,n,r=a(this);return s(e),t=i(r.length),n=u(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(65)("flatMap")},function(e,t,n){"use strict";var r=n(1),o=n(309),a=n(22),i=n(15),s=n(49),u=n(202);r(r.P,"Array",{flatten:function(){var e=arguments[0],t=a(this),n=i(t.length),r=u(t,0);return o(r,t,t,n,0,void 0===e?1:s(e)),r}}),n(65)("flatten")},function(e,t,n){"use strict";var r=n(1),o=n(134)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(65)("includes")},function(e,t,n){var r=n(1),o=n(214)(),a=n(6).process,i="process"==n(39)(a);r(r.G,{asap:function(e){var t=i&&a.domain;o(t?t.bind(e):e)}})},function(e,t,n){var r=n(1),o=n(39);r(r.S,"Error",{isError:function(e){return"Error"===o(e)}})},function(e,t,n){var r=n(1);r(r.G,{global:n(6)})},function(e,t,n){n(143)("Map")},function(e,t,n){n(144)("Map")},function(e,t,n){var r=n(1);r(r.P+r.R,"Map",{toJSON:n(307)("Map")})},function(e,t,n){var r=n(1);r(r.S,"Math",{clamp:function(e,t,n){return Math.min(n,Math.max(t,e))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(e,t,n){var r=n(1),o=180/Math.PI;r(r.S,"Math",{degrees:function(e){return e*o}})},function(e,t,n){var r=n(1),o=n(317),a=n(315);r(r.S,"Math",{fscale:function(e,t,n,r,i){return a(o(e,t,n,r,i))}})},function(e,t,n){var r=n(1);r(r.S,"Math",{iaddh:function(e,t,n,r){var o=e>>>0,a=t>>>0,i=n>>>0;return a+(r>>>0)+((o&i|(o|i)&~(o+i>>>0))>>>31)|0}})},function(e,t,n){var r=n(1);r(r.S,"Math",{imulh:function(e,t){var n=65535,r=+e,o=+t,a=r&n,i=o&n,s=r>>16,u=o>>16,l=(s*i>>>0)+(a*i>>>16);return s*u+(l>>16)+((a*u>>>0)+(l&n)>>16)}})},function(e,t,n){var r=n(1);r(r.S,"Math",{isubh:function(e,t,n,r){var o=e>>>0,a=t>>>0,i=n>>>0;return a-(r>>>0)-((~o&i|~(o^i)&o-i>>>0)>>>31)|0}})},function(e,t,n){var r=n(1);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(e,t,n){var r=n(1),o=Math.PI/180;r(r.S,"Math",{radians:function(e){return e*o}})},function(e,t,n){var r=n(1);r(r.S,"Math",{scale:n(317)})},function(e,t,n){var r=n(1);r(r.S,"Math",{signbit:function(e){return(e=+e)!=e?e:0==e?1/e==1/0:e>0}})},function(e,t,n){var r=n(1);r(r.S,"Math",{umulh:function(e,t){var n=65535,r=+e,o=+t,a=r&n,i=o&n,s=r>>>16,u=o>>>16,l=(s*i>>>0)+(a*i>>>16);return s*u+(l>>>16)+((a*u>>>0)+(l&n)>>>16)}})},function(e,t,n){"use strict";var r=n(1),o=n(22),a=n(26),i=n(14);n(13)&&r(r.P+n(141),"Object",{__defineGetter__:function(e,t){i.f(o(this),e,{get:a(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(1),o=n(22),a=n(26),i=n(14);n(13)&&r(r.P+n(141),"Object",{__defineSetter__:function(e,t){i.f(o(this),e,{set:a(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(322)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(323),a=n(37),i=n(35),s=n(203);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),u=i.f,l=o(r),c={},f=0;l.length>f;)n=u(r,t=l[f++]),void 0!==n&&s(c,t,n);return c}})},function(e,t,n){"use strict";var r=n(1),o=n(22),a=n(50),i=n(36),s=n(35).f;n(13)&&r(r.P+n(141),"Object",{__lookupGetter__:function(e){var t,n=o(this),r=a(e,!0);do if(t=s(n,r))return t.get;while(n=i(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(22),a=n(50),i=n(36),s=n(35).f;n(13)&&r(r.P+n(141),"Object",{__lookupSetter__:function(e){var t,n=o(this),r=a(e,!0);do if(t=s(n,r))return t.set;while(n=i(n))}})},function(e,t,n){var r=n(1),o=n(322)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){"use strict";var r=n(1),o=n(6),a=n(40),i=n(214)(),s=n(11)("observable"),u=n(26),l=n(5),c=n(73),f=n(79),d=n(30),p=n(74),h=p.RETURN,v=function(e){return null==e?void 0:u(e)},m=function(e){var t=e._c;t&&(e._c=void 0,t())},g=function(e){return void 0===e._o},y=function(e){g(e)||(e._o=void 0,m(e))},b=function(e,t){l(e),this._c=void 0,this._o=e,e=new x(this);try{var n=t(e),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:u(n),this._c=n)}catch(t){return void e.error(t)}g(this)&&m(this)};b.prototype=f({},{unsubscribe:function(){y(this)}});var x=function(e){this._s=e};x.prototype=f({},{next:function(e){var t=this._s;if(!g(t)){var n=t._o;try{var r=v(n.next);if(r)return r.call(n,e)}catch(e){try{y(t)}finally{throw e}}}},error:function(e){var t=this._s;if(g(t))throw e;var n=t._o;t._o=void 0;try{var r=v(n.error);if(!r)throw e;e=r.call(n,e)}catch(e){try{m(t)}finally{throw e}}return m(t),e},complete:function(e){var t=this._s;if(!g(t)){var n=t._o;t._o=void 0;try{var r=v(n.complete);e=r?r.call(n,e):void 0}catch(e){try{m(t)}finally{throw e}}return m(t),e}}});var w=function(e){c(this,w,"Observable","_f")._f=u(e)};f(w.prototype,{subscribe:function(e){return new b(e,this._f)},forEach:function(e){var t=this;return new(a.Promise||o.Promise)(function(n,r){u(e);var o=t.subscribe({next:function(t){try{return e(t)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})}}),f(w,{from:function(e){var t="function"==typeof this?this:w,n=v(l(e)[s]);if(n){var r=l(n.call(e));return r.constructor===t?r:new t(function(e){return r.subscribe(e)})}return new t(function(t){var n=!1;return i(function(){if(!n){try{if(p(e,!1,function(e){if(t.next(e),n)return h})===h)return}catch(e){if(n)throw e;return void t.error(e)}t.complete()}}),function(){n=!0}})},of:function(){for(var e=0,t=arguments.length,n=new Array(t);e<t;)n[e]=arguments[e++];return new("function"==typeof this?this:w)(function(e){var t=!1;return i(function(){if(!t){for(var r=0;r<n.length;++r)if(e.next(n[r]),t)return;e.complete()}}),function(){t=!0}})}}),d(w.prototype,s,function(){return this}),r(r.G,{Observable:w}),n(80)("Observable")},function(e,t,n){"use strict";var r=n(1),o=n(40),a=n(6),i=n(146),s=n(327);r(r.P+r.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(1),o=n(215),a=n(326);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){var r=n(58),o=n(5),a=r.key,i=r.set;r.exp({defineMetadata:function(e,t,n,r){i(e,t,o(n),a(r))}})},function(e,t,n){var r=n(58),o=n(5),a=r.key,i=r.map,s=r.store;r.exp({deleteMetadata:function(e,t){var n=arguments.length<3?void 0:a(arguments[2]),r=i(o(t),n,!1);if(void 0===r||!r.delete(e))return!1;if(r.size)return!0;var u=s.get(t);return u.delete(n),!!u.size||s.delete(t)}})},function(e,t,n){var r=n(333),o=n(303),a=n(58),i=n(5),s=n(36),u=a.keys,l=a.key,c=function(e,t){var n=u(e,t),a=s(e);if(null===a)return n;var i=c(a,t);return i.length?n.length?o(new r(n.concat(i))):i:n};a.exp({getMetadataKeys:function(e){return c(i(e),arguments.length<2?void 0:l(arguments[1]))}})},function(e,t,n){var r=n(58),o=n(5),a=n(36),i=r.has,s=r.get,u=r.key,l=function(e,t,n){var r=i(e,t,n);if(r)return s(e,t,n);var o=a(t);return null!==o?l(e,o,n):void 0};r.exp({getMetadata:function(e,t){return l(e,o(t),arguments.length<3?void 0:u(arguments[2]))}})},function(e,t,n){var r=n(58),o=n(5),a=r.keys,i=r.key;r.exp({getOwnMetadataKeys:function(e){return a(o(e),arguments.length<2?void 0:i(arguments[1]))}})},function(e,t,n){var r=n(58),o=n(5),a=r.get,i=r.key;r.exp({getOwnMetadata:function(e,t){return a(e,o(t),arguments.length<3?void 0:i(arguments[2]))}})},function(e,t,n){var r=n(58),o=n(5),a=n(36),i=r.has,s=r.key,u=function(e,t,n){var r=i(e,t,n);if(r)return!0;var o=a(t);return null!==o&&u(e,o,n)};r.exp({hasMetadata:function(e,t){return u(e,o(t),arguments.length<3?void 0:s(arguments[2]))}})},function(e,t,n){var r=n(58),o=n(5),a=r.has,i=r.key;r.exp({hasOwnMetadata:function(e,t){return a(e,o(t),arguments.length<3?void 0:i(arguments[2]))}})},function(e,t,n){var r=n(58),o=n(5),a=n(26),i=r.key,s=r.set;r.exp({metadata:function(e,t){return function(n,r){s(e,t,(void 0!==r?o:a)(n),i(r))}}})},function(e,t,n){n(143)("Set")},function(e,t,n){n(144)("Set")},function(e,t,n){var r=n(1);r(r.P+r.R,"Set",{toJSON:n(307)("Set")})},function(e,t,n){"use strict";var r=n(1),o=n(218)(!0);r(r.P,"String",{at:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(47),a=n(15),i=n(139),s=n(137),u=RegExp.prototype,l=function(e,t){this._r=e,this._s=t};n(210)(l,"RegExp String",function(){var e=this._r.exec(this._s);return{value:e,done:null===e}}),r(r.P,"String",{matchAll:function(e){if(o(this),!i(e))throw TypeError(e+" is not a regexp!");var t=String(this),n="flags"in u?String(e.flags):s.call(e),r=new RegExp(e.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=a(e.lastIndex),new l(r,t)}})},function(e,t,n){"use strict";var r=n(1),o=n(328),a=n(148);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){"use strict";var r=n(1),o=n(328),a=n(148);r(r.P+r.F*/Version\/10\.\d+(\.\d+)? Safari\//.test(a),"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){"use strict";n(92)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){"use strict";n(92)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){n(224)("asyncIterator")},function(e,t,n){n(224)("observable")},function(e,t,n){var r=n(1);r(r.S,"System",{global:n(6)})},function(e,t,n){n(143)("WeakMap")},function(e,t,n){n(144)("WeakMap")},function(e,t,n){n(143)("WeakSet")},function(e,t,n){n(144)("WeakSet")},function(e,t,n){for(var r=n(226),o=n(77),a=n(31),i=n(6),s=n(30),u=n(90),l=n(11),c=l("iterator"),f=l("toStringTag"),d=u.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),v=0;v<h.length;v++){var m,g=h[v],y=p[g],b=i[g],x=b&&b.prototype;if(x&&(x[c]||s(x,c,d),x[f]||s(x,f,g),u[g]=d,y))for(m in r)x[m]||a(x,m,r[m],!0)}},function(e,t,n){var r=n(1),o=n(222);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){var r=n(6),o=n(1),a=n(148),i=[].slice,s=/MSIE .\./.test(a),u=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&i.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*s,{setTimeout:u(r.setTimeout),setInterval:u(r.setInterval)})},function(e,t,n){n(699),n(638),n(640),n(639),n(642),n(644),n(649),n(643),n(641),n(651),n(650),n(646),n(647),n(645),n(637),n(648),n(652),n(653),n(605),n(607),n(606),n(655),n(654),n(625),n(635),n(636),n(626),n(627),n(628),n(629),n(630),n(631),n(632),n(633),n(634),n(608),n(609),n(610),n(611),n(612),n(613),n(614),n(615),n(616),n(617),n(618),n(619),n(620),n(621),n(622),n(623),n(624),n(686),n(691),n(698),n(689),n(681),n(682),n(687),n(692),n(694),n(677),n(678),n(679),n(680),n(683),n(684),n(685),n(688),n(690),n(693),n(695),n(696),n(697),n(600),n(602),n(601),n(604),n(603),n(589),n(587),n(593),n(590),n(596),n(598),n(586),n(592),n(583),n(597),n(581),n(595),n(594),n(588),n(591),n(580),n(582),n(585),n(584),n(599),n(226),n(671),n(676),n(332),n(672),n(673),n(674),n(675),n(656),n(331),n(333),n(334),n(711),n(700),n(701),n(706),n(709),n(710),n(704),n(707),n(705),n(708),n(702),n(703),n(657),n(658),n(659),n(660),n(661),n(664),n(662),n(663),n(665),n(666),n(667),n(668),n(670),n(669),n(714),n(712),n(713),n(755),n(758),n(757),n(759),n(760),n(756),n(761),n(762),n(736),n(739),n(735),n(733),n(734),n(737),n(738),n(720),n(754),n(719),n(753),n(765),n(767),n(718),n(752),n(764),n(766),n(717),n(763),n(716),n(721),n(722),n(723),n(724),n(725),n(727),n(726),n(728),n(729),n(730),n(732),n(731),n(741),n(742),n(743),n(744),n(746),n(745),n(748),n(747),n(749),n(750),n(751),n(715),n(740),n(770),n(769),n(768),e.exports=n(40)},function(e,t,n){"use strict";function r(e){return e}function o(e,t,n){function o(e,t){var n=y.hasOwnProperty(t)?y[t]:null;k.hasOwnProperty(t)&&u("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&u("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function a(e,n){if(n){u("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),u(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,a=r.__reactAutoBindPairs;n.hasOwnProperty(l)&&x.mixins(e,n.mixins);for(var i in n)if(n.hasOwnProperty(i)&&i!==l){var s=n[i],c=r.hasOwnProperty(i);if(o(c,i),x.hasOwnProperty(i))x[i](e,s);else{var f=y.hasOwnProperty(i),h="function"==typeof s,v=h&&!f&&!c&&n.autobind!==!1;if(v)a.push(i,s),r[i]=s;else if(c){var m=y[i];u(f&&("DEFINE_MANY_MERGED"===m||"DEFINE_MANY"===m),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",m,i),"DEFINE_MANY_MERGED"===m?r[i]=d(r[i],s):"DEFINE_MANY"===m&&(r[i]=p(r[i],s))}else r[i]=s}}}else;}function c(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in x;u(!o,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n);var a=n in e;if(a){var i=b.hasOwnProperty(n)?b[n]:null;return u("DEFINE_MANY_MERGED"===i,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=d(e[n],r))}e[n]=r}}}function f(e,t){u(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var n in t)t.hasOwnProperty(n)&&(u(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function d(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return f(o,n),f(o,r),o}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function h(e,t){var n=t.bind(e);return n}function v(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=h(e,o)}}function m(e){var t=r(function(e,r,o){this.__reactAutoBindPairs.length&&v(this),this.props=e,this.context=r,this.refs=s,this.updater=o||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;u("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),
  this.state=a});t.prototype=new C,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],g.forEach(a.bind(null,t)),a(t,w),a(t,e),a(t,_),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),u(t.prototype.render,"createClass(...): Class specification must implement a `render` method.");for(var o in y)t.prototype[o]||(t.prototype[o]=null);return t}var g=[],y={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},b={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},x={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)a(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=i({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=i({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=d(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=i({},e.propTypes,t)},statics:function(e,t){c(e,t)},autobind:function(){}},w={componentDidMount:function(){this.__isMounted=!0}},_={componentWillUnmount:function(){this.__isMounted=!1}},k={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},C=function(){};return i(C.prototype,e.prototype,k),m}var a,i=n(773),s=n(149),u=n(4),l="mixins";a={},e.exports=o},function(e,t){/*
  	object-assign
  	(c) Sindre Sorhus
  	@license MIT
  	*/
  "use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)a.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var f=0;f<s.length;f++)i.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t){"use strict";function n(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e.replace(a,"ms-"))}var o=n(774),a=/^-ms-/;e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(784);e.exports=r},function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?i(!1):void 0,"number"!=typeof t?i(!1):void 0,0===t||t-1 in e?void 0:i(!1),"function"==typeof e.callee?i(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function a(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var i=n(4);e.exports=a},function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=l;l?void 0:u(!1);var o=r(e),a=o&&s(o);if(a){n.innerHTML=a[1]+e+a[2];for(var c=a[0];c--;)n=n.lastChild}else n.innerHTML=e;var f=n.getElementsByTagName("script");f.length&&(t?void 0:u(!1),i(f).forEach(t));for(var d=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return d}var a=n(28),i=n(777),s=n(779),u=n(4),l=a.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=o},function(e,t,n){"use strict";function r(e){return i?void 0:a(!1),d.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?i.innerHTML="<link />":i.innerHTML="<"+e+"></"+e+">",s[e]=!i.firstChild),s[e]?d[e]:null}var o=n(28),a=n(4),i=o.canUseDOM?document.createElement("div"):null,s={},u=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],f=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],d={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:u,option:u,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){d[e]=f,s[e]=!0}),e.exports=r},function(e,t){"use strict";function n(e){return e.Window&&e instanceof e.Window?{x:e.pageXOffset||e.document.documentElement.scrollLeft,y:e.pageYOffset||e.document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){"use strict";function n(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=n},function(e,t,n){"use strict";function r(e){return o(e).replace(a,"-ms-")}var o=n(781),a=/^ms-/;e.exports=r},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(783);e.exports=r},function(e,t){"use strict";var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(151),s=r(i),u=n(43),l=r(u),c=n(150),f=n(124),d=n(228),p=r(d),h=n(339),v="popstate",m="hashchange",g=function(){try{return window.history.state||{}}catch(e){return{}}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(h.canUseDOM,"Browser history needs a DOM");var t=window.history,n=(0,h.supportsHistory)(),r=!(0,h.supportsPopStateOnHashChange)(),i=e.forceRefresh,u=void 0!==i&&i,d=e.getUserConfirmation,y=void 0===d?h.getConfirmation:d,b=e.keyLength,x=void 0===b?6:b,w=e.basename?(0,f.stripTrailingSlash)((0,f.addLeadingSlash)(e.basename)):"",_=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname,i=o.search,u=o.hash,l=a+i+u;return(0,s.default)(!w||(0,f.hasBasename)(l,w),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+l+'" to begin with "'+w+'".'),w&&(l=(0,f.stripBasename)(l,w)),(0,c.createLocation)(l,r,n)},k=function(){return Math.random().toString(36).substr(2,x)},C=(0,p.default)(),S=function(e){a(q,e),q.length=t.length,C.notifyListeners(q.location,q.action)},E=function(e){(0,h.isExtraneousPopstateEvent)(e)||T(_(e.state))},P=function(){T(_(g()))},O=!1,T=function(e){if(O)O=!1,S();else{var t="POP";C.confirmTransitionTo(e,t,y,function(n){n?S({action:t,location:e}):M(e)})}},M=function(e){var t=q.location,n=j.indexOf(t.key);n===-1&&(n=0);var r=j.indexOf(e.key);r===-1&&(r=0);var o=n-r;o&&(O=!0,D(o))},A=_(g()),j=[A.key],R=function(e){return w+(0,f.createPath)(e)},N=function(e,r){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var a="PUSH",i=(0,c.createLocation)(e,r,k(),q.location);C.confirmTransitionTo(i,a,y,function(e){if(e){var r=R(i),o=i.key,l=i.state;if(n)if(t.pushState({key:o,state:l},null,r),u)window.location.href=r;else{var c=j.indexOf(q.location.key),f=j.slice(0,c===-1?0:c+1);f.push(i.key),j=f,S({action:a,location:i})}else(0,s.default)(void 0===l,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},I=function(e,r){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var a="REPLACE",i=(0,c.createLocation)(e,r,k(),q.location);C.confirmTransitionTo(i,a,y,function(e){if(e){var r=R(i),o=i.key,l=i.state;if(n)if(t.replaceState({key:o,state:l},null,r),u)window.location.replace(r);else{var c=j.indexOf(q.location.key);c!==-1&&(j[c]=i.key),S({action:a,location:i})}else(0,s.default)(void 0===l,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},D=function(e){t.go(e)},L=function(){return D(-1)},F=function(){return D(1)},B=0,W=function(e){B+=e,1===B?((0,h.addEventListener)(window,v,E),r&&(0,h.addEventListener)(window,m,P)):0===B&&((0,h.removeEventListener)(window,v,E),r&&(0,h.removeEventListener)(window,m,P))},U=!1,z=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.setPrompt(e);return U||(W(1),U=!0),function(){return U&&(U=!1,W(-1)),t()}},G=function(e){var t=C.appendListener(e);return W(1),function(){W(-1),t()}},q={length:t.length,action:"POP",location:A,createHref:R,push:N,replace:I,go:D,goBack:L,goForward:F,block:z,listen:G};return q};t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(151),i=r(a),s=n(43),u=r(s),l=n(150),c=n(124),f=n(228),d=r(f),p=n(339),h="hashchange",v={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+(0,c.stripLeadingSlash)(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:c.stripLeadingSlash,decodePath:c.addLeadingSlash},slash:{encodePath:c.addLeadingSlash,decodePath:c.addLeadingSlash}},m=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},g=function(e){return window.location.hash=e},y=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,u.default)(p.canUseDOM,"Hash history needs a DOM");var t=window.history,n=(0,p.supportsGoWithoutReloadUsingHash)(),r=e.getUserConfirmation,a=void 0===r?p.getConfirmation:r,s=e.hashType,f=void 0===s?"slash":s,b=e.basename?(0,c.stripTrailingSlash)((0,c.addLeadingSlash)(e.basename)):"",x=v[f],w=x.encodePath,_=x.decodePath,k=function(){var e=_(m());return(0,i.default)(!b||(0,c.hasBasename)(e,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+b+'".'),b&&(e=(0,c.stripBasename)(e,b)),(0,l.createLocation)(e)},C=(0,d.default)(),S=function(e){o(V,e),V.length=t.length,C.notifyListeners(V.location,V.action)},E=!1,P=null,O=function(){var e=m(),t=w(e);if(e!==t)y(t);else{var n=k(),r=V.location;if(!E&&(0,l.locationsAreEqual)(r,n))return;if(P===(0,c.createPath)(n))return;P=null,T(n)}},T=function(e){if(E)E=!1,S();else{var t="POP";C.confirmTransitionTo(e,t,a,function(n){n?S({action:t,location:e}):M(e)})}},M=function(e){var t=V.location,n=N.lastIndexOf((0,c.createPath)(t));n===-1&&(n=0);var r=N.lastIndexOf((0,c.createPath)(e));r===-1&&(r=0);var o=n-r;o&&(E=!0,F(o))},A=m(),j=w(A);A!==j&&y(j);var R=k(),N=[(0,c.createPath)(R)],I=function(e){return"#"+w(b+(0,c.createPath)(e))},D=function(e,t){(0,i.default)(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=(0,l.createLocation)(e,void 0,void 0,V.location);C.confirmTransitionTo(r,n,a,function(e){if(e){var t=(0,c.createPath)(r),o=w(b+t),a=m()!==o;if(a){P=t,g(o);var s=N.lastIndexOf((0,c.createPath)(V.location)),u=N.slice(0,s===-1?0:s+1);u.push(t),N=u,S({action:n,location:r})}else(0,i.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),S()}})},L=function(e,t){(0,i.default)(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=(0,l.createLocation)(e,void 0,void 0,V.location);C.confirmTransitionTo(r,n,a,function(e){if(e){var t=(0,c.createPath)(r),o=w(b+t),a=m()!==o;a&&(P=t,y(o));var i=N.indexOf((0,c.createPath)(V.location));i!==-1&&(N[i]=t),S({action:n,location:r})}})},F=function(e){(0,i.default)(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},B=function(){return F(-1)},W=function(){return F(1)},U=0,z=function(e){U+=e,1===U?(0,p.addEventListener)(window,h,O):0===U&&(0,p.removeEventListener)(window,h,O)},G=!1,q=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=C.setPrompt(e);return G||(z(1),G=!0),function(){return G&&(G=!1,z(-1)),t()}},H=function(e){var t=C.appendListener(e);return z(1),function(){z(-1),t()}},V={length:t.length,action:"POP",location:R,createHref:I,push:D,replace:L,go:F,goBack:B,goForward:W,block:q,listen:H};return V};t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(151),s=r(i),u=n(124),l=n(150),c=n(228),f=r(c),d=function(e,t,n){return Math.min(Math.max(e,t),n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,i=e.initialIndex,c=void 0===i?0:i,p=e.keyLength,h=void 0===p?6:p,v=(0,f.default)(),m=function(e){a(T,e),T.length=T.entries.length,v.notifyListeners(T.location,T.action)},g=function(){return Math.random().toString(36).substr(2,h)},y=d(c,0,r.length-1),b=r.map(function(e){return"string"==typeof e?(0,l.createLocation)(e,void 0,g()):(0,l.createLocation)(e,void 0,e.key||g())}),x=u.createPath,w=function(e,n){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r="PUSH",a=(0,l.createLocation)(e,n,g(),T.location);v.confirmTransitionTo(a,r,t,function(e){if(e){var t=T.index,n=t+1,o=T.entries.slice(0);o.length>n?o.splice(n,o.length-n,a):o.push(a),m({action:r,location:a,index:n,entries:o})}})},_=function(e,n){(0,s.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r="REPLACE",a=(0,l.createLocation)(e,n,g(),T.location);v.confirmTransitionTo(a,r,t,function(e){e&&(T.entries[T.index]=a,m({action:r,location:a}))})},k=function(e){var n=d(T.index+e,0,T.entries.length-1),r="POP",o=T.entries[n];v.confirmTransitionTo(o,r,t,function(e){e?m({action:r,location:o,index:n}):m()})},C=function(){return k(-1)},S=function(){return k(1)},E=function(e){var t=T.index+e;return t>=0&&t<T.entries.length},P=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v.setPrompt(e)},O=function(e){return v.appendListener(e)},T={length:b.length,action:"POP",location:b[y],index:y,entries:b,createHref:x,push:w,replace:_,go:k,goBack:C,goForward:S,canGo:E,block:P,listen:O};return T};t.default=p},function(e,t){"use strict";function n(e){return e in a?a[e]:a[e]=e.replace(r,"-$&").toLowerCase().replace(o,"-ms-")}var r=/[A-Z]/g,o=/^ms-/,a={};e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){var t=e.prefixMap,n=e.plugins,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e);var r="undefined"!=typeof navigator?navigator.userAgent:void 0;if(this._userAgent=n.userAgent||r,this._keepUnprefixed=n.keepUnprefixed||!1,this._userAgent&&(this._browserInfo=(0,u.default)(this._userAgent)),!this._browserInfo||!this._browserInfo.cssPrefix)return this._useFallback=!0,!1;this.prefixedKeyframes=(0,c.default)(this._browserInfo.browserName,this._browserInfo.browserVersion,this._browserInfo.cssPrefix);var a=this._browserInfo.browserName&&t[this._browserInfo.browserName];if(a){this._requiresPrefix={};for(var i in a)a[i]>=this._browserInfo.browserVersion&&(this._requiresPrefix[i]=!0);this._hasPropsRequiringPrefix=Object.keys(this._requiresPrefix).length>0}else this._useFallback=!0;this._metaData={browserVersion:this._browserInfo.browserVersion,browserName:this._browserInfo.browserName,cssPrefix:this._browserInfo.cssPrefix,jsPrefix:this._browserInfo.jsPrefix,keepUnprefixed:this._keepUnprefixed,requiresPrefix:this._requiresPrefix}}return i(e,[{key:"prefix",value:function(e){return this._useFallback?r(e):this._hasPropsRequiringPrefix?this._prefixStyle(e):e}},{key:"_prefixStyle",value:function(e){for(var t in e){var r=e[t];if((0,m.default)(r))e[t]=this.prefix(r);else if(Array.isArray(r)){for(var o=[],a=0,i=r.length;a<i;++a){var s=(0,y.default)(n,t,r[a],e,this._metaData);(0,h.default)(o,s||r[a])}o.length>0&&(e[t]=o)}else{var u=(0,y.default)(n,t,r,e,this._metaData);u&&(e[t]=u),this._requiresPrefix.hasOwnProperty(t)&&(e[this._browserInfo.jsPrefix+(0,d.default)(t)]=r,this._keepUnprefixed||delete e[t])}}return e}}],[{key:"prefixAll",value:function(e){return r(e)}}]),e}()}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.default=a;var s=n(807),u=r(s),l=n(808),c=r(l),f=n(230),d=r(f),p=n(340),h=r(p),v=n(341),m=r(v),g=n(342),y=r(g);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.browserName,a=r.browserVersion,s=r.cssPrefix,u=r.keepUnprefixed;if("string"==typeof t&&t.indexOf("calc(")>-1&&("firefox"===o&&a<15||"chrome"===o&&a<25||"safari"===o&&a<6.1||"ios_saf"===o&&a<7))return(0,i.default)(t.replace(/calc\(/g,s+"calc("),t,u)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(95),i=r(a);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.browserName,a=r.browserVersion,u=r.cssPrefix,l=r.keepUnprefixed;if("display"===e&&s[t]&&("chrome"===o&&a<29&&a>20||("safari"===o||"ios_saf"===o)&&a<9&&a>6||"opera"===o&&(15===a||16===a)))return(0,i.default)(u+t,t,l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(95),i=r(a),s={flex:!0,"inline-flex":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.browserName,a=r.browserVersion,l=r.cssPrefix,c=r.keepUnprefixed,f=r.requiresPrefix;if((u.hasOwnProperty(e)||"display"===e&&"string"==typeof t&&t.indexOf("flex")>-1)&&("ie_mob"===o||"ie"===o)&&10===a){if(delete f[e],c||Array.isArray(n[e])||delete n[e],"display"===e&&s.hasOwnProperty(t))return(0,i.default)(l+s[t],t,c);u.hasOwnProperty(e)&&(n[u[e]]=s[t]||t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(95),i=r(a),s={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end",flex:"flexbox","inline-flex":"inline-flexbox"},u={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.browserName,a=r.browserVersion,l=r.cssPrefix,f=r.keepUnprefixed,d=r.requiresPrefix;if((c.indexOf(e)>-1||"display"===e&&"string"==typeof t&&t.indexOf("flex")>-1)&&("firefox"===o&&a<22||"chrome"===o&&a<21||("safari"===o||"ios_saf"===o)&&a<=6.1||"android"===o&&a<4.4||"and_uc"===o)){if(delete d[e],f||Array.isArray(n[e])||delete n[e],"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),"display"===e&&s.hasOwnProperty(t))return(0,i.default)(l+s[t],t,f);u.hasOwnProperty(e)&&(n[u[e]]=s[t]||t)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(95),i=r(a),s={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple",flex:"box","inline-flex":"inline-box"},u={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"},l=["alignContent","alignSelf","order","flexGrow","flexShrink","flexBasis","flexDirection"],c=Object.keys(u).concat(l);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.browserName,a=r.browserVersion,u=r.cssPrefix,l=r.keepUnprefixed;if("string"==typeof t&&s.test(t)&&("firefox"===o&&a<16||"chrome"===o&&a<26||("safari"===o||"ios_saf"===o)&&a<7||("opera"===o||"op_mini"===o)&&a<12.1||"android"===o&&a<4.4||"and_uc"===o))return(0,i.default)(u+t,t,l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(95),i=r(a),s=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.cssPrefix,a=r.keepUnprefixed;if(s.hasOwnProperty(e)&&u.hasOwnProperty(t))return(0,i.default)(o+t,t,a)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(95),i=r(a),s={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},u={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=r.cssPrefix,a=r.keepUnprefixed,l=r.requiresPrefix;if("string"==typeof t&&s.hasOwnProperty(e)){u||(u=Object.keys(l).map(function(e){return(0,i.default)(e)}));var c=t.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return u.forEach(function(e){c.forEach(function(t,n){t.indexOf(e)>-1&&"order"!==e&&(c[n]=t.replace(e,o+e)+(a?","+t:""))})}),c.join(",")}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(335),i=r(a),s={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},u=void 0;e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e){for(var o in e){var a=e[o];if((0,d.default)(a))e[o]=t(a);else if(Array.isArray(a)){for(var s=[],l=0,f=a.length;l<f;++l){var p=(0,u.default)(r,o,a[l],e,n);(0,c.default)(s,p||a[l])}s.length>0&&(e[o]=s)}else{var h=(0,u.default)(r,o,a,e,n);h&&(e[o]=h),(0,i.default)(n,o,e)}}return e}var n=e.prefixMap,r=e.plugins;return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(809),i=r(a),s=n(342),u=r(s),l=n(340),c=r(l),f=n(341),d=r(f);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,i.default)(t)&&t.indexOf("calc(")>-1)return s.map(function(e){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(227),i=r(a),s=["-webkit-","-moz-",""];e.exports=t.default},function(e,t){"use strict";function n(e,t){if("display"===e&&r.hasOwnProperty(t))return r[t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r={flex:["-webkit-box","-moz-box","-ms-flexbox","-webkit-flex","flex"],"inline-flex":["-webkit-inline-box","-moz-inline-box","-ms-inline-flexbox","-webkit-inline-flex","inline-flex"]};e.exports=t.default},function(e,t){"use strict";function n(e,t,n){o.hasOwnProperty(e)&&(n[o[e]]=r[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},o={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msFlexPreferredSize"};e.exports=t.default},function(e,t){"use strict";function n(e,t,n){"flexDirection"===e&&"string"==typeof t&&(t.indexOf("column")>-1?n.WebkitBoxOrient="vertical":n.WebkitBoxOrient="horizontal",t.indexOf("reverse")>-1?n.WebkitBoxDirection="reverse":n.WebkitBoxDirection="normal"),o.hasOwnProperty(e)&&(n[o[e]]=r[t]||t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},o={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,i.default)(t)&&u.test(t))return s.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(227),i=r(a),s=["-webkit-","-moz-",""],u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;e.exports=t.default},function(e,t){"use strict";function n(e,t){if(o.hasOwnProperty(e)&&a.hasOwnProperty(t))return r.map(function(e){return e+t})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;var r=["-webkit-","-moz-",""],o={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},a={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if((0,l.default)(e))return e;for(var n=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g),r=0,o=n.length;r<o;++r){var a=n[r],i=[a];for(var u in t){var c=(0,s.default)(u);if(a.indexOf(c)>-1&&"order"!==c)for(var f=t[u],d=0,h=f.length;d<h;++d)i.unshift(a.replace(c,p[f[d]]+c))}n[r]=i.join(",")}return n.join(",")}function a(e,t,n,r){if("string"==typeof t&&d.hasOwnProperty(e)){var a=o(t,r),i=a.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-moz-|-ms-/.test(e)}).join(",");if(e.indexOf("Webkit")>-1)return i;var s=a.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return!/-webkit-|-ms-/.test(e)}).join(",");return e.indexOf("Moz")>-1?s:(n["Webkit"+(0,f.default)(e)]=i,n["Moz"+(0,f.default)(e)]=s,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(335),s=r(i),u=n(227),l=r(u),c=n(230),f=r(c),d={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0,MozTransition:!0,MozTransitionProperty:!0},p={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-"};e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.firefox)return"firefox";if(e.mobile||e.tablet){if(e.ios)return"ios_saf";if(e.android)return"android";if(e.opera)return"op_mini"}for(var t in l)if(e.hasOwnProperty(t))return l[t]}function a(e){var t=s.default._detect(e);t.yandexbrowser&&(t=s.default._detect(e.replace(/YaBrowser\/[0-9.]*/,"")));for(var n in u)if(t.hasOwnProperty(n)){var r=u[n];t.jsPrefix=r,t.cssPrefix="-"+r.toLowerCase()+"-";break}return t.browserName=o(t),t.version?t.browserVersion=parseFloat(t.version):t.browserVersion=parseInt(parseFloat(t.osversion),10),t.osVersion=parseFloat(t.osversion),"ios_saf"===t.browserName&&t.browserVersion>t.osVersion&&(t.browserVersion=t.osVersion),"android"===t.browserName&&t.chrome&&t.browserVersion>37&&(t.browserName="and_chr"),"android"===t.browserName&&t.osVersion<5&&(t.browserVersion=t.osVersion),"android"===t.browserName&&t.samsungBrowser&&(t.browserName="and_chr",t.browserVersion=44),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var i=n(531),s=r(i),u={chrome:"Webkit",safari:"Webkit",ios:"Webkit",android:"Webkit",phantom:"Webkit",opera:"Webkit",webos:"Webkit",blackberry:"Webkit",bada:"Webkit",tizen:"Webkit",chromium:"Webkit",vivaldi:"Webkit",firefox:"Moz",seamoney:"Moz",sailfish:"Moz",msie:"ms",msedge:"ms"},l={chrome:"chrome",chromium:"chrome",safari:"safari",firfox:"firefox",msedge:"edge",opera:"opera",vivaldi:"opera",msie:"ie"};e.exports=t.default},function(e,t){"use strict";function n(e,t,n){var r="keyframes";return"chrome"===e&&t<43||("safari"===e||"ios_saf"===e)&&t<9||"opera"===e&&t<30||"android"===e&&t<=4.4||"and_uc"===e?n+r:r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(e.hasOwnProperty(t))for(var r=e[t],o=0,a=r.length;o<a;++o)n[r[o]+(0,i.default)(t)]=n[t]}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(230),i=r(a);e.exports=t.default},function(e,t){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return i(n)?n:void 0}function o(e){return a(e)&&d.call(e)==s}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function i(e){return null!=e&&(o(e)?p.test(c.call(e)):n(e)&&u.test(e))}var s="[object Function]",u=/^\[object .+?Constructor\]$/,l=Object.prototype,c=Function.prototype.toString,f=l.hasOwnProperty,d=l.toString,p=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e,t,n){function r(){g&&clearTimeout(g),p&&clearTimeout(p),b=0,p=g=y=void 0}function a(t,n){n&&clearTimeout(n),p=g=y=void 0,t&&(b=l(),h=e.apply(m,d),g||p||(d=m=void 0))}function u(){var e=t-(l()-v);e<=0||e>t?a(y,p):g=setTimeout(u,e)}function c(){a(w,g)}function f(){if(d=arguments,v=l(),m=this,y=w&&(g||!_),x===!1)var n=_&&!g;else{p||_||(b=v);var r=x-(v-b),o=r<=0||r>x;o?(p&&(p=clearTimeout(p)),b=v,h=e.apply(m,d)):p||(p=setTimeout(c,r))}return o&&g?g=clearTimeout(g):g||t===x||(g=setTimeout(u,t)),n&&(o=!0,h=e.apply(m,d)),!o||g||p||(d=m=void 0),h}var d,p,h,v,m,g,y,b=0,x=!1,w=!0;if("function"!=typeof e)throw new TypeError(i);if(t=t<0?0:+t||0,n===!0){var _=!0;w=!1}else o(n)&&(_=!!n.leading,x="maxWait"in n&&s(+n.maxWait||0,t),w="trailing"in n?!!n.trailing:w);return f.cancel=r,f}function o(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var a=n(811),i="Expected a function",s=Math.max,u=a(Date,"now"),l=u||function(){return(new Date).getTime()};e.exports=r},function(e,t,n){(function(e,n){function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function o(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function a(e){return function(t){return e(t)}}function i(e,t){return null==e?void 0:e[t]}function s(e,t){return function(n){return e(t(n))}}function u(e,t){return"__proto__"==t?void 0:e[t]}function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function c(){this.__data__=Gt?Gt(null):{},this.size=0}function f(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function d(e){var t=this.__data__;if(Gt){var n=t[e];return n===Pe?void 0:n}return Ct.call(t,e)?t[e]:void 0}function p(e){var t=this.__data__;return Gt?void 0!==t[e]:Ct.call(t,e)}function h(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Gt&&void 0===t?Pe:t,this}function v(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function m(){this.__data__=[],this.size=0}function g(e){var t=this.__data__,n=D(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dt.call(t,n,1),--this.size,!0}function y(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]}function b(e){return D(this.__data__,e)>-1}function x(e,t){var n=this.__data__,r=D(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function w(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];
  this.set(r[0],r[1])}}function _(){this.size=0,this.__data__={hash:new l,map:new(zt||v),string:new l}}function k(e){var t=J(this,e).delete(e);return this.size-=t?1:0,t}function C(e){return J(this,e).get(e)}function S(e){return J(this,e).has(e)}function E(e,t){var n=J(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function P(e){var t=this.__data__=new v(e);this.size=t.size}function O(){this.__data__=new v,this.size=0}function T(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function M(e){return this.__data__.get(e)}function A(e){return this.__data__.has(e)}function j(e,t){var n=this.__data__;if(n instanceof v){var r=n.__data__;if(!zt||r.length<Ee-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new w(r)}return n.set(e,t),this.size=n.size,this}function R(e,t){var n=Xt(e),r=!n&&Yt(e),a=!n&&!r&&$t(e),i=!n&&!r&&!a&&Zt(e),s=n||r||a||i,u=s?o(e.length,String):[],l=u.length;for(var c in e)!t&&!Ct.call(e,c)||s&&("length"==c||a&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||re(c,l))||u.push(c);return u}function N(e,t,n){(void 0===n||pe(e[t],n))&&(void 0!==n||t in e)||L(e,t,n)}function I(e,t,n){var r=e[t];Ct.call(e,t)&&pe(r,n)&&(void 0!==n||t in e)||L(e,t,n)}function D(e,t){for(var n=e.length;n--;)if(pe(e[n][0],t))return n;return-1}function L(e,t,n){"__proto__"==t&&Ft?Ft(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function F(e){return null==e?void 0===e?Ke:Ue:Lt&&Lt in Object(e)?te(e):le(e)}function B(e){return be(e)&&F(e)==Ae}function W(e){if(!ye(e)||ie(e))return!1;var t=me(e)?Ot:st;return t.test(de(e))}function U(e){return be(e)&&ge(e.length)&&!!lt[F(e)]}function z(e){if(!ye(e))return ue(e);var t=se(e),n=[];for(var r in e)("constructor"!=r||!t&&Ct.call(e,r))&&n.push(r);return n}function G(e,t,n,r,o){e!==t&&Ht(t,function(a,i){if(ye(a))o||(o=new P),q(e,t,i,n,G,r,o);else{var s=r?r(u(e,i),a,i+"",e,t,o):void 0;void 0===s&&(s=a),N(e,i,s)}},_e)}function q(e,t,n,r,o,a,i){var s=u(e,n),l=u(t,n),c=i.get(l);if(c)return void N(e,n,c);var f=a?a(s,l,n+"",e,t,i):void 0,d=void 0===f;if(d){var p=Xt(l),h=!p&&$t(l),v=!p&&!h&&Zt(l);f=l,p||h||v?Xt(s)?f=s:ve(s)?f=X(s):h?(d=!1,f=V(l,!0)):v?(d=!1,f=Y(l,!0)):f=[]:xe(l)||Yt(l)?(f=s,Yt(s)?f=we(s):(!ye(s)||r&&me(s))&&(f=ne(l))):d=!1}d&&(i.set(l,f),o(f,l,r,a,i),i.delete(l)),N(e,n,f)}function H(e,t){return Kt(ce(e,t,Ce),e+"")}function V(e,t){if(t)return e.slice();var n=e.length,r=jt?jt(n):new e.constructor(n);return e.copy(r),r}function K(e){var t=new e.constructor(e.byteLength);return new At(t).set(new At(e)),t}function Y(e,t){var n=t?K(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function X(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function $(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var s=t[a],u=r?r(n[s],e[s],s,n,e):void 0;void 0===u&&(u=e[s]),o?L(n,s,u):I(n,s,u)}return n}function Z(e){return H(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&oe(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var s=n[r];s&&e(t,s,r,a)}return t})}function Q(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var u=i[e?s:++o];if(n(a[u],u,a)===!1)break}return t}}function J(e,t){var n=e.__data__;return ae(t)?n["string"==typeof t?"string":"hash"]:n.map}function ee(e,t){var n=i(e,t);return W(n)?n:void 0}function te(e){var t=Ct.call(e,Lt),n=e[Lt];try{e[Lt]=void 0;var r=!0}catch(e){}var o=Et.call(e);return r&&(t?e[Lt]=n:delete e[Lt]),o}function ne(e){return"function"!=typeof e.constructor||se(e)?{}:qt(Rt(e))}function re(e,t){var n=typeof e;return t=null==t?Me:t,!!t&&("number"==n||"symbol"!=n&&ut.test(e))&&e>-1&&e%1==0&&e<t}function oe(e,t,n){if(!ye(n))return!1;var r=typeof t;return!!("number"==r?he(n)&&re(t,n.length):"string"==r&&t in n)&&pe(n[t],e)}function ae(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ie(e){return!!St&&St in e}function se(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||wt;return e===n}function ue(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}function le(e){return Et.call(e)}function ce(e,t,n){return t=Wt(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,i=Wt(o.length-t,0),s=Array(i);++a<i;)s[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(s),r(e,this,u)}}function fe(e){var t=0,n=0;return function(){var r=Ut(),o=Te-(r-n);if(n=r,o>0){if(++t>=Oe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function de(e){if(null!=e){try{return kt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function pe(e,t){return e===t||e!==e&&t!==t}function he(e){return null!=e&&ge(e.length)&&!me(e)}function ve(e){return be(e)&&he(e)}function me(e){if(!ye(e))return!1;var t=F(e);return t==Le||t==Fe||t==Re||t==Ge}function ge(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Me}function ye(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function be(e){return null!=e&&"object"==typeof e}function xe(e){if(!be(e)||F(e)!=ze)return!1;var t=Rt(e);if(null===t)return!0;var n=Ct.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&kt.call(n)==Pt}function we(e){return $(e,_e(e))}function _e(e){return he(e)?R(e,!0):z(e)}function ke(e){return function(){return e}}function Ce(e){return e}function Se(){return!1}var Ee=200,Pe="__lodash_hash_undefined__",Oe=800,Te=16,Me=9007199254740991,Ae="[object Arguments]",je="[object Array]",Re="[object AsyncFunction]",Ne="[object Boolean]",Ie="[object Date]",De="[object Error]",Le="[object Function]",Fe="[object GeneratorFunction]",Be="[object Map]",We="[object Number]",Ue="[object Null]",ze="[object Object]",Ge="[object Proxy]",qe="[object RegExp]",He="[object Set]",Ve="[object String]",Ke="[object Undefined]",Ye="[object WeakMap]",Xe="[object ArrayBuffer]",$e="[object DataView]",Ze="[object Float32Array]",Qe="[object Float64Array]",Je="[object Int8Array]",et="[object Int16Array]",tt="[object Int32Array]",nt="[object Uint8Array]",rt="[object Uint8ClampedArray]",ot="[object Uint16Array]",at="[object Uint32Array]",it=/[\\^$.*+?()[\]{}|]/g,st=/^\[object .+?Constructor\]$/,ut=/^(?:0|[1-9]\d*)$/,lt={};lt[Ze]=lt[Qe]=lt[Je]=lt[et]=lt[tt]=lt[nt]=lt[rt]=lt[ot]=lt[at]=!0,lt[Ae]=lt[je]=lt[Xe]=lt[Ne]=lt[$e]=lt[Ie]=lt[De]=lt[Le]=lt[Be]=lt[We]=lt[ze]=lt[qe]=lt[He]=lt[Ve]=lt[Ye]=!1;var ct="object"==typeof e&&e&&e.Object===Object&&e,ft="object"==typeof self&&self&&self.Object===Object&&self,dt=ct||ft||Function("return this")(),pt="object"==typeof t&&t&&!t.nodeType&&t,ht=pt&&"object"==typeof n&&n&&!n.nodeType&&n,vt=ht&&ht.exports===pt,mt=vt&&ct.process,gt=function(){try{return mt&&mt.binding&&mt.binding("util")}catch(e){}}(),yt=gt&&gt.isTypedArray,bt=Array.prototype,xt=Function.prototype,wt=Object.prototype,_t=dt["__core-js_shared__"],kt=xt.toString,Ct=wt.hasOwnProperty,St=function(){var e=/[^.]+$/.exec(_t&&_t.keys&&_t.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Et=wt.toString,Pt=kt.call(Object),Ot=RegExp("^"+kt.call(Ct).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=vt?dt.Buffer:void 0,Mt=dt.Symbol,At=dt.Uint8Array,jt=Tt?Tt.allocUnsafe:void 0,Rt=s(Object.getPrototypeOf,Object),Nt=Object.create,It=wt.propertyIsEnumerable,Dt=bt.splice,Lt=Mt?Mt.toStringTag:void 0,Ft=function(){try{var e=ee(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Bt=Tt?Tt.isBuffer:void 0,Wt=Math.max,Ut=Date.now,zt=ee(dt,"Map"),Gt=ee(Object,"create"),qt=function(){function e(){}return function(t){if(!ye(t))return{};if(Nt)return Nt(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();l.prototype.clear=c,l.prototype.delete=f,l.prototype.get=d,l.prototype.has=p,l.prototype.set=h,v.prototype.clear=m,v.prototype.delete=g,v.prototype.get=y,v.prototype.has=b,v.prototype.set=x,w.prototype.clear=_,w.prototype.delete=k,w.prototype.get=C,w.prototype.has=S,w.prototype.set=E,P.prototype.clear=O,P.prototype.delete=T,P.prototype.get=M,P.prototype.has=A,P.prototype.set=j;var Ht=Q(),Vt=Ft?function(e,t){return Ft(e,"toString",{configurable:!0,enumerable:!1,value:ke(t),writable:!0})}:Ce,Kt=fe(Vt),Yt=B(function(){return arguments}())?B:function(e){return be(e)&&Ct.call(e,"callee")&&!It.call(e,"callee")},Xt=Array.isArray,$t=Bt||Se,Zt=yt?a(yt):U,Qt=Z(function(e,t,n){G(e,t,n)});n.exports=Qt}).call(t,function(){return this}(),n(130)(e))},function(e,t,n){var r=n(97),o=n(60),a=r(o,"DataView");e.exports=a},function(e,t,n){function r(){}var o=n(158),a=Object.prototype;r.prototype=o?o(null):a,e.exports=r},function(e,t,n){var r=n(97),o=n(60),a=r(o,"Promise");e.exports=a},function(e,t,n){var r=n(60),o=r.Reflect;e.exports=o},function(e,t,n){var r=n(97),o=n(60),a=r(o,"WeakMap");e.exports=a},function(e,t){function n(e,t){return e.set(t[0],t[1]),e}e.exports=n},function(e,t){function n(e,t){return e.add(t),e}e.exports=n},function(e,t){function n(e,t,n){var r=n.length;switch(r){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t,n){function r(e,t){return e&&o(t,a(t),e)}var o=n(235),a=n(100);e.exports=r},function(e,t,n){function r(e){return o(e)?a(e):{}}var o=n(52),a=Object.create;e.exports=r},function(e,t,n){function r(e,t,n,r){var f=-1,d=a,p=!0,h=e.length,v=[],m=t.length;if(!h)return v;n&&(t=s(t,u(n))),r?(d=i,p=!1):t.length>=c&&(d=l,p=!1,t=new o(t));e:for(;++f<h;){var g=e[f],y=n?n(g):g;if(g=r||0!==g?g:0,p&&y===y){for(var b=m;b--;)if(t[b]===y)continue e;v.push(g)}else d(t,y,r)||v.push(g)}return v}var o=n(344),a=n(347),i=n(348),s=n(349),u=n(844),l=n(363),c=200;e.exports=r},function(e,t,n){var r=n(857),o=r();e.exports=o},function(e,t,n){function r(e,t){return e&&o(e,t,a)}var o=n(826),a=n(100);e.exports=r},function(e,t,n){function r(e,t,n){var r=t(e);return a(e)?r:o(r,n(e))}var o=n(350),a=n(38);e.exports=r},function(e,t){function n(e,t){return t in Object(e)}e.exports=n},function(e,t,n){function r(e,t,n){if(t!==t)return o(e,n);for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}var o=n(868);e.exports=r},function(e,t,n){function r(e,t,n,r,m,y){var b=l(e),x=l(t),w=h,_=h;b||(w=u(e),w=w==p?v:w),x||(_=u(t),_=_==p?v:_);var k=w==v&&!c(e),C=_==v&&!c(t),S=w==_;if(S&&!k)return y||(y=new o),b||f(e)?a(e,t,n,r,m,y):i(e,t,w,n,r,m,y);if(!(m&d)){var E=k&&g.call(e,"__wrapped__"),P=C&&g.call(t,"__wrapped__");if(E||P){var O=E?e.value():e,T=P?t.value():t;return y||(y=new o),n(O,T,r,m,y)}}return!!S&&(y||(y=new o),s(e,t,n,r,m,y))}var o=n(153),a=n(366),i=n(859),s=n(860),u=n(368),l=n(38),c=n(155),f=n(239),d=2,p="[object Arguments]",h="[object Array]",v="[object Object]",m=Object.prototype,g=m.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n,r){var u=n.length,l=u,c=!r;if(null==e)return!l;for(e=Object(e);u--;){var f=n[u];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<l;){f=n[u];var d=f[0],p=e[d],h=f[1];if(c&&f[2]){if(void 0===p&&!(d in e))return!1}else{var v=new o;if(r)var m=r(p,h,d,e,t,v);if(!(void 0===m?a(h,p,r,i|s,v):m))return!1}}return!0}var o=n(153),a=n(233),i=1,s=2;e.exports=r},function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):u(e)}var o=n(836),a=n(837),i=n(376),s=n(38),u=n(895);e.exports=r},function(e,t){function n(e){return r(Object(e))}var r=Object.keys;e.exports=n},function(e,t,n){function r(e){e=null==e?e:Object(e);var t=[];for(var n in e)t.push(n);return t}var o=n(817),a=n(874),i=Object.prototype,s=o?o.enumerate:void 0,u=i.propertyIsEnumerable;s&&!u.call({valueOf:1},"valueOf")&&(r=function(e){return a(s(e))}),e.exports=r},function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=n(832),a=n(863),i=n(373);e.exports=r},function(e,t,n){function r(e,t){return s(e)&&u(t)?l(c(e),t):function(n){var r=a(n,e);return void 0===r&&r===t?i(n,e):o(t,r,void 0,f|d)}}var o=n(233),a=n(888),i=n(889),s=n(157),u=n(371),l=n(373),c=n(160),f=1,d=2;e.exports=r},function(e,t,n){function r(e,t,n,d,p){if(e!==t){if(!u(t)&&!c(t))var h=f(t);a(h||t,function(a,u){if(h&&(u=a,a=t[u]),l(a))p||(p=new o),s(e,t,u,n,r,d,p);else{var c=d?d(e[u],a,u+"",e,t,p):void 0;void 0===c&&(c=a),i(e,u,c)}})}}var o=n(153),a=n(346),i=n(352),s=n(839),u=n(38),l=n(52),c=n(239),f=n(379);e.exports=r},function(e,t,n){function r(e,t,n,r,v,m,g){var y=e[n],b=t[n],x=g.get(b);if(x)return void o(e,n,x);var w=m?m(y,b,n+"",e,t,g):void 0,_=void 0===w;_&&(w=b,u(b)||p(b)?u(y)?w=y:l(y)?w=i(y):(_=!1,w=a(b,!0)):d(b)||s(b)?s(y)?w=h(y):!f(y)||r&&c(y)?(_=!1,w=a(b,!0)):w=y:_=!1),g.set(b,w),_&&v(w,b,r,m,g),g.delete(b),o(e,n,w)}var o=n(352),a=n(358),i=n(365),s=n(162),u=n(38),l=n(125),c=n(163),f=n(52),d=n(165),p=n(239),h=n(899);e.exports=r},function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=n(360);e.exports=r},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){function r(e,t){return o(t,function(t){return[t,e[t]]})}var o=n(349);e.exports=r},function(e,t,n){function r(e){if("string"==typeof e)return e;if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-i?"-0":t}var o=n(232),a=n(166),i=1/0,s=o?o.prototype:void 0,u=s?s.toString:void 0;e.exports=r},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){function r(e,t,n){var r=-1,f=a,d=e.length,p=!0,h=[],v=h;if(n)p=!1,f=i;else if(d>=c){var m=t?null:u(e);if(m)return l(m);p=!1,f=s,v=new o}else v=t?[]:h;e:for(;++r<d;){var g=e[r],y=t?t(g):g;if(g=n||0!==g?g:0,p&&y===y){for(var b=v.length;b--;)if(v[b]===y)continue e;t&&v.push(y),h.push(g)}else f(v,y,n)||(v!==h&&v.push(y),h.push(g))}return h}var o=n(344),a=n(347),i=n(348),s=n(363),u=n(858),l=n(159),c=200;e.exports=r},function(e,t,n){function r(e){var t=this.__data__;if(o(e)){var n=t.__data__,r="string"==typeof e?n.string:n.hash;r[e]=a}else t.set(e,a)}var o=n(98),a="__lodash_hash_undefined__";e.exports=r},function(e,t){function n(e){return e&&e.Object===Object?e:null}e.exports=n},function(e,t){function n(e,t){if(t)return e.slice();var n=new e.constructor(e.length);return e.copy(n),n}e.exports=n},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=n(234);e.exports=r},function(e,t,n){function r(e,t,n){var r=t?n(i(e),!0):i(e);return a(r,o,new e.constructor)}var o=n(819),a=n(351),i=n(372);e.exports=r},function(e,t){function n(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}var r=/\w*$/;e.exports=n},function(e,t,n){function r(e,t,n){var r=t?n(i(e),!0):i(e);return a(r,o,new e.constructor)}var o=n(820),a=n(351),i=n(159);e.exports=r},function(e,t,n){function r(e){return i?Object(i.call(e)):{}}var o=n(232),a=o?o.prototype:void 0,i=a?a.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=n(234);e.exports=r},function(e,t,n){function r(e,t){return o(e,a(e),t)}var o=n(235),a=n(367);e.exports=r},function(e,t,n){function r(e){return a(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(i="function"==typeof i?(a--,i):void 0,s&&o(n[0],n[1],s)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var u=n[r];u&&e(t,u,r,i)}return t})}var o=n(873),a=n(240);e.exports=r},function(e,t){function n(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var u=i[e?s:++o];if(n(a[u],u,a)===!1)break}return t}}e.exports=n},function(e,t,n){var r=n(343),o=n(894),a=n(159),i=1/0,s=r&&1/a(new r([,-0]))[1]==i?function(e){return new r(e)}:o;e.exports=s},function(e,t,n){function r(e,t,n,r,o,_,C){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case x:return!(e.byteLength!=t.byteLength||!r(new a(e),new a(t)));case f:case d:return+e==+t;case p:return e.name==t.name&&e.message==t.message;case v:return e!=+e?t!=+t:e==+t;case m:case y:return e==t+"";case h:var S=s;case g:var E=_&c;if(S||(S=u),e.size!=t.size&&!E)return!1;var P=C.get(e);return P?P==t:(_|=l,C.set(e,t),i(S(e),S(t),r,o,_,C));case b:if(k)return k.call(e)==k.call(t)}return!1}var o=n(232),a=n(345),i=n(366),s=n(372),u=n(159),l=1,c=2,f="[object Boolean]",d="[object Date]",p="[object Error]",h="[object Map]",v="[object Number]",m="[object RegExp]",g="[object Set]",y="[object String]",b="[object Symbol]",x="[object ArrayBuffer]",w="[object DataView]",_=o?o.prototype:void 0,k=_?_.valueOf:void 0;e.exports=r},function(e,t,n){function r(e,t,n,r,s,u){var l=s&i,c=a(e),f=c.length,d=a(t),p=d.length;if(f!=p&&!l)return!1;for(var h=f;h--;){var v=c[h];if(!(l?v in t:o(t,v)))return!1}var m=u.get(e);if(m)return m==t;var g=!0;u.set(e,t);for(var y=l;++h<f;){v=c[h];var b=e[v],x=t[v];if(r)var w=l?r(x,b,v,t,e,u):r(b,x,v,e,t,u);if(!(void 0===w?b===x||n(b,x,r,s,u):w)){g=!1;break}y||(y="constructor"==v)}if(g&&!y){var _=e.constructor,k=t.constructor;_!=k&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof k&&k instanceof k)&&(g=!1)}return u.delete(e),g}var o=n(361),a=n(100),i=2;e.exports=r},function(e,t,n){function r(e){return o(e,i,a)}var o=n(828),a=n(367),i=n(100);e.exports=r},function(e,t,n){var r=n(362),o=r("length");e.exports=o},function(e,t,n){function r(e){for(var t=a(e),n=t.length;n--;)t[n][2]=o(t[n][1]);return t}var o=n(371),a=n(898);e.exports=r},function(e,t,n){function r(e,t,n){t=u(t,e)?[t]:o(t);for(var r,d=-1,p=t.length;++d<p;){var h=f(t[d]);if(!(r=null!=e&&n(e,h)))break;e=e[h]}if(r)return r;var p=e?e.length:0;return!!p&&l(p)&&s(h,p)&&(i(e)||c(e)||a(e))}var o=n(364),a=n(162),i=n(38),s=n(156),u=n(157),l=n(164),c=n(378),f=n(160);e.exports=r},function(e,t,n){function r(e,t){return o(e,t)&&delete e[t]}var o=n(369);e.exports=r},function(e,t,n){function r(e,t){if(o){var n=e[t];return n===a?void 0:n}return s.call(e,t)?e[t]:void 0}var o=n(158),a="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;e.exports=r},function(e,t,n){function r(e,t,n){e[t]=o&&void 0===n?a:n}var o=n(158),a="__lodash_hash_undefined__";e.exports=r},function(e,t){function n(e,t,n){for(var r=e.length,o=t+(n?0:-1);n?o--:++o<r;){var a=e[o];if(a!==a)return o}return-1}e.exports=n},function(e,t){function n(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&o.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var r=Object.prototype,o=r.hasOwnProperty;e.exports=n},function(e,t,n){function r(e,t,n,r){var M=e.constructor;switch(t){case b:return o(e);case f:case d:return new M(+e);case x:return a(e,r);case w:case _:case k:case C:case S:case E:case P:case O:case T:return c(e,r);case p:return i(e,r,n);case h:case g:return new M(e);case v:return s(e);case m:return u(e,r,n);case y:return l(e)}}var o=n(234),a=n(849),i=n(850),s=n(851),u=n(852),l=n(853),c=n(854),f="[object Boolean]",d="[object Date]",p="[object Map]",h="[object Number]",v="[object RegExp]",m="[object Set]",g="[object String]",y="[object Symbol]",b="[object ArrayBuffer]",x="[object DataView]",w="[object Float32Array]",_="[object Float64Array]",k="[object Int8Array]",C="[object Int16Array]",S="[object Int32Array]",E="[object Uint8Array]",P="[object Uint8ClampedArray]",O="[object Uint16Array]",T="[object Uint32Array]";e.exports=r},function(e,t,n){function r(e){return"function"!=typeof e.constructor||i(e)?{}:o(a(e))}var o=n(824),a=n(236),i=n(237);e.exports=r},function(e,t,n){function r(e){return i(e)&&(a(e)||o(e))}var o=n(162),a=n(38),i=n(125);e.exports=r},function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?a(n)&&i(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=n(161),a=n(238),i=n(156),s=n(52);e.exports=r},function(e,t){function n(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}e.exports=n},function(e,t,n){function r(){this.__data__={hash:new o,map:a?new a:[],string:new o}}var o=n(815),a=n(96);e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return s(e)?i("string"==typeof e?t.string:t.hash,e):o?t.map.delete(e):a(t.map,e)}var o=n(96),a=n(354),i=n(865),s=n(98);e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return s(e)?i("string"==typeof e?t.string:t.hash,e):o?t.map.get(e):a(t.map,e)}var o=n(96),a=n(355),i=n(866),s=n(98);e.exports=r},function(e,t,n){function r(e){var t=this.__data__;return s(e)?i("string"==typeof e?t.string:t.hash,e):o?t.map.has(e):a(t.map,e)}var o=n(96),a=n(356),i=n(369),s=n(98);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__;return s(e)?i("string"==typeof e?n.string:n.hash,e,t):o?n.map.set(e,t):a(n.map,e,t),this}var o=n(96),a=n(357),i=n(867),s=n(98);e.exports=r},function(e,t){function n(){this.__data__={array:[],map:null}}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=t.array;return n?o(n,e):t.map.delete(e)}var o=n(354);e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=t.array;return n?o(n,e):t.map.get(e)}var o=n(355);e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=t.array;return n?o(n,e):t.map.has(e)}var o=n(356);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=n.array;r&&(r.length<i-1?a(r,e,t):(n.array=null,n.map=new o(r)));var s=n.map;return s&&s.set(e,t),this}var o=n(231),a=n(357),i=200;e.exports=r},function(e,t,n){var r=n(893),o=n(900),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]/g,i=/\\(\\)?/g,s=r(function(e){var t=[];return o(e).replace(a,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=s},function(e,t){function n(e){return function(){return e}}e.exports=n},function(e,t,n){var r=n(825),o=n(359),a=n(125),i=n(240),s=i(function(e,t){return a(e)?r(e,o(t,1,a,!0)):[]});e.exports=s},function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=n(360);e.exports=r},function(e,t,n){function r(e,t){return null!=e&&a(e,t,o)}var o=n(829),a=n(864);e.exports=r},function(e,t,n){(function(e){var r=n(886),o=n(60),a={function:!0,object:!0},i=a[typeof t]&&t&&!t.nodeType?t:void 0,s=a[typeof e]&&e&&!e.nodeType?e:void 0,u=s&&s.exports===i?i:void 0,l=u?o.Buffer:void 0,c=l?function(e){return e instanceof l}:r(!1);e.exports=c}).call(t,n(130)(e))},function(e,t,n){function r(e){if(!i(e))return!1;var t=o(e)||a(e)?p:l;return t.test(s(e))}var o=n(163),a=n(155),i=n(52),s=n(374),u=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,c=Object.prototype,f=Function.prototype.toString,d=c.hasOwnProperty,p=RegExp("^"+f.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t,n){function r(e,t){var n={};return t=a(t,3),o(e,function(e,r,o){n[r]=t(e,r,o)}),n}var o=n(827),a=n(833);e.exports=r},function(e,t,n){function r(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(a);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i),i};return n.cache=new(r.Cache||o),n}var o=n(231),a="Expected a function";r.Cache=o,e.exports=r},function(e,t){function n(){}e.exports=n},function(e,t,n){function r(e){return i(e)?o(s(e)):a(e)}var o=n(362),a=n(840),i=n(157),s=n(160);e.exports=r},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if(e=o(e),e===a||e===-a){var t=e<0?-1:1;return t*i}var n=e%1;return e===e?n?e-n:e:0}var o=n(897),a=1/0,i=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(i(e))return s;if(a(e)){var t=o(e.valueOf)?e.valueOf():e;e=a(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var n=c.test(e);return n||f.test(e)?d(e.slice(2),n?2:8):l.test(e)?s:+e}var o=n(163),a=n(52),i=n(166),s=NaN,u=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,f=/^0o[0-7]+$/i,d=parseInt;e.exports=r},function(e,t,n){function r(e){return o(e,a(e))}var o=n(842),a=n(100);e.exports=r},function(e,t,n){function r(e){return o(e,a(e))}var o=n(235),a=n(379);e.exports=r},function(e,t,n){function r(e){return null==e?"":o(e)}var o=n(843);e.exports=r},function(e,t,n){var r=n(359),o=n(845),a=n(125),i=n(240),s=i(function(e){return o(r(e,1,a,!0))});e.exports=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.autoScrollBodyContent,r=e.open,o=t.muiTheme,a=o.baseTheme,i=a.spacing,s=a.palette,u=o.dialog,l=o.zIndex,c=i.desktopGutter,f="1px solid "+s.borderColor;return{root:{position:"fixed",boxSizing:"border-box",WebkitTapHighlightColor:"rgba(0,0,0,0)",zIndex:l.dialog,top:0,left:r?0:-1e4,width:"100%",height:"100%",transition:r?j.default.easeOut("0ms","left","0ms"):j.default.easeOut("0ms","left","450ms")},content:{boxSizing:"border-box",WebkitTapHighlightColor:"rgba(0,0,0,0)",transition:j.default.easeOut(),position:"relative",width:"75%",maxWidth:12*i.desktopKeylineIncrement,margin:"0 auto",zIndex:l.dialog},actionsContainer:{boxSizing:"border-box",WebkitTapHighlightColor:"rgba(0,0,0,0)",padding:8,width:"100%",textAlign:"right",marginTop:n?-1:0},overlay:{zIndex:l.dialogOverlay},title:{margin:0,padding:c+"px "+c+"px 20px "+c+"px",color:s.textColor,fontSize:u.titleFontSize,lineHeight:"32px",fontWeight:400,marginBottom:n?-1:0},body:{fontSize:u.bodyFontSize,color:u.bodyColor,padding:(e.title?0:c)+"px "+c+"px "+c+"px",boxSizing:"border-box",overflowY:n?"auto":"hidden",borderTop:n?f:"none",borderBottom:n?f:"none"}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(24),x=r(b),w=n(2),_=r(w),k=n(3),C=r(k),S=n(53),E=r(S),P=n(264),O=r(P),T=n(152),M=r(T),A=n(33),j=r(A),R=n(920),N=r(R),I=n(921),D=r(I),L=n(241),F=r(L),B=n(272),W=r(B),U=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.state={style:{}},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimeout),clearTimeout(this.leaveTimeout)}},{key:"componentWillEnter",value:function(e){this.componentWillAppear(e)}},{key:"componentWillAppear",value:function(e){var t=this.context.muiTheme.baseTheme.spacing;this.setState({style:{opacity:1,transform:"translate(0, "+t.desktopKeylineIncrement+"px)"}}),this.enterTimeout=setTimeout(e,450)}},{key:"componentWillLeave",value:function(e){this.setState({style:{opacity:0,transform:"translate(0, 0)"}}),this.leaveTimeout=setTimeout(e,450)}},{key:"render",value:function(){var e=this.props,t=e.style,n=e.children,r=(0,u.default)(e,["style","children"]),o=this.context.muiTheme.prepareStyles;return _.default.createElement("div",(0,i.default)({},r,{style:o((0,x.default)({},this.state.style,t))}),n)}}]),t}(w.Component);U.contextTypes={muiTheme:C.default.object.isRequired},U.propTypes={};var z=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.handleTouchTapOverlay=function(){r.requestClose(!1)},r.handleKeyUp=function(e){"esc"===(0,M.default)(e)&&r.requestClose(!1)},r.handleResize=function(){r.positionDialog()},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"componentDidMount",value:function(){this.positionDialog()}},{key:"componentDidUpdate",value:function(){this.positionDialog()}},{key:"positionDialog",value:function(){var e=this.props,t=e.actions,n=e.autoDetectWindowHeight,r=e.autoScrollBodyContent,a=e.bodyStyle,i=e.open,s=e.repositionOnUpdate,u=e.title;if(i){var l=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight,c=E.default.findDOMNode(this),f=E.default.findDOMNode(this.refs.dialogWindow),d=E.default.findDOMNode(this.refs.dialogContent),p=16;f.style.height="",d.style.height="";var h=f.offsetHeight,v=(l-h)/2-64;if(v<p&&(v=p),!s&&c.style.paddingTop||(c.style.paddingTop=v+"px"),n||r){var m=o(this.props,this.context);m.body=(0,x.default)(m.body,a);var g=l-128;u&&(g-=d.previousSibling.offsetHeight),_.default.Children.count(t)&&(g-=d.nextSibling.offsetHeight),d.style.maxHeight=g+"px",g>h&&(d.style.borderBottom="none",d.style.borderTop="none")}}}},{key:"requestClose",value:function(e){!e&&this.props.modal||this.props.onRequestClose&&this.props.onRequestClose(!!e)}},{key:"render",value:function(){var e=this.props,t=e.actions,n=e.actionsContainerClassName,r=e.actionsContainerStyle,a=e.bodyClassName,s=e.bodyStyle,u=e.children,l=e.className,c=e.contentClassName,f=e.contentStyle,d=e.overlayClassName,p=e.overlayStyle,h=e.open,v=e.paperClassName,m=e.paperProps,g=e.style,y=e.titleClassName,b=e.titleStyle,w=e.title,k=this.context.muiTheme.prepareStyles,C=o(this.props,this.context);C.root=(0,x.default)(C.root,g),C.content=(0,x.default)(C.content,f),C.body=(0,x.default)(C.body,s),C.actionsContainer=(0,x.default)(C.actionsContainer,r),C.overlay=(0,x.default)(C.overlay,p),C.title=(0,x.default)(C.title,b);var S=_.default.Children.count(t)>0&&_.default.createElement("div",{className:n,style:k(C.actionsContainer)},_.default.Children.toArray(t)),E=w;return _.default.isValidElement(w)?E=_.default.cloneElement(w,{className:w.props.className||y,style:k((0,x.default)(C.title,w.props.style))}):"string"==typeof w&&(E=_.default.createElement("h3",{className:y,style:k(C.title)},w)),_.default.createElement("div",{className:l,style:k(C.root)},h&&_.default.createElement(O.default,{target:"window",onKeyUp:this.handleKeyUp,onResize:this.handleResize}),_.default.createElement(W.default,{component:"div",ref:"dialogWindow",transitionAppear:!0,transitionAppearTimeout:450,transitionEnter:!0,transitionEnterTimeout:450},h&&_.default.createElement(U,{className:c,style:C.content},_.default.createElement(F.default,(0,i.default)({className:v,zDepth:4},m),E,_.default.createElement("div",{ref:"dialogContent",className:a,style:k(C.body)},u),S))),_.default.createElement(N.default,{show:h,className:d,style:C.overlay,onTouchTap:this.handleTouchTapOverlay}))}}]),t}(w.Component);z.contextTypes={muiTheme:C.default.object.isRequired},z.propTypes={};var G=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.renderLayer=function(){return _.default.createElement(z,r.props)},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){return _.default.createElement(D.default,{render:this.renderLayer,open:!0,useLayerForClickAway:!1})}}]),t}(w.Component);G.contextTypes={muiTheme:C.default.object.isRequired},G.defaultProps={autoDetectWindowHeight:!0,autoScrollBodyContent:!1,modal:!1,repositionOnUpdate:!0},G.propTypes={},t.default=G},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(902),a=r(o);t.default=a.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(27),a=r(o),i=n(29),s=r(i),u=n(16),l=r(u),c=n(12),f=r(c),d=n(17),p=r(d),h=n(19),v=r(h),m=n(18),g=r(m),y=n(24),b=r(y),x=n(2),w=r(x),_=n(3),k=r(_),C=n(33),S=r(C),E=n(246),P=n(918),O=r(P),T=n(905),M=r(T),A=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,l.default)(t)).call.apply(e,[this].concat(i))),r.state={hovered:!1,isKeyboardFocused:!1,touch:!1},r.handleKeyboardFocus=function(e,t){r.setState({isKeyboardFocused:t}),r.props.onKeyboardFocus(e,t)},r.handleMouseEnter=function(e){r.state.touch||r.setState({hovered:!0}),r.props.onMouseEnter(e);
  },r.handleMouseLeave=function(e){r.setState({hovered:!1}),r.props.onMouseLeave(e)},r.handleTouchStart=function(e){r.setState({touch:!0}),r.props.onTouchStart(e)},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.disabled&&this.setState({hovered:!1})}},{key:"render",value:function(){var e=this.props,t=e.backgroundColor,n=e.children,r=e.disabled,o=e.fullWidth,i=e.hoverColor,u=e.icon,l=e.label,c=e.labelStyle,f=e.labelPosition,d=e.primary,p=e.rippleColor,h=e.secondary,v=e.style,m=(0,s.default)(e,["backgroundColor","children","disabled","fullWidth","hoverColor","icon","label","labelStyle","labelPosition","primary","rippleColor","secondary","style"]),g=this.context.muiTheme,y=g.borderRadius,x=g.button,_=x.height,k=x.minWidth,C=x.textTransform,P=g.flatButton,T=P.buttonFilterColor,A=P.color,j=P.disabledTextColor,R=P.fontSize,N=P.fontWeight,I=P.primaryTextColor,D=P.secondaryTextColor,L=P.textColor,F=P.textTransform,B=void 0===F?C||"uppercase":F,W=r?j:d?I:h?D:L,U=(0,E.fade)(T,.2),z=T,G=i||U,q=p||z,H=t||A,V=(this.state.hovered||this.state.isKeyboardFocused)&&!r,K=(0,b.default)({},{height:_,lineHeight:_+"px",minWidth:o?"100%":k,color:W,transition:S.default.easeOut(),borderRadius:y,userSelect:"none",overflow:"hidden",backgroundColor:V?G:H,padding:0,margin:0,textAlign:"center"},v),Y=void 0,X={};if(u){var $=(0,b.default)({verticalAlign:"middle",marginLeft:l&&"before"!==f?12:0,marginRight:l&&"before"===f?12:0},u.props.style);Y=w.default.cloneElement(u,{color:u.props.color||K.color,style:$,key:"iconCloned"}),"before"===f?X.paddingRight=8:X.paddingLeft=8}var Z=(0,b.default)({letterSpacing:0,textTransform:B,fontWeight:N,fontSize:R},X,c),Q=l?w.default.createElement(M.default,{key:"labelElement",label:l,style:Z}):void 0,J="before"===f?[Q,Y,n]:[n,Y,Q];return w.default.createElement(O.default,(0,a.default)({},m,{disabled:r,focusRippleColor:q,focusRippleOpacity:.3,onKeyboardFocus:this.handleKeyboardFocus,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter,onTouchStart:this.handleTouchStart,style:K,touchRippleColor:q,touchRippleOpacity:.3}),J)}}]),t}(x.Component);A.muiName="FlatButton",A.defaultProps={disabled:!1,fullWidth:!1,labelStyle:{},labelPosition:"after",onKeyboardFocus:function(){},onMouseEnter:function(){},onMouseLeave:function(){},onTouchStart:function(){},primary:!1,secondary:!1},A.contextTypes={muiTheme:k.default.object.isRequired},A.propTypes={},t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.muiTheme.baseTheme;return{root:{position:"relative",paddingLeft:n.spacing.desktopGutterLess,paddingRight:n.spacing.desktopGutterLess,verticalAlign:"middle"}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(16),i=r(a),s=n(12),u=r(s),l=n(17),c=r(l),f=n(19),d=r(f),p=n(18),h=r(p),v=n(24),m=r(v),g=n(2),y=r(g),b=n(3),x=r(b),w=function(e){function t(){return(0,u.default)(this,t),(0,d.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,h.default)(t,e),(0,c.default)(t,[{key:"render",value:function(){var e=this.props,t=e.label,n=e.style,r=this.context.muiTheme.prepareStyles,a=o(this.props,this.context);return y.default.createElement("span",{style:r((0,m.default)(a.root,n))},t)}}]),t}(g.Component);w.contextTypes={muiTheme:x.default.object.isRequired},w.propTypes={},t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.rounded,r=e.circle,o=e.transitionEnabled,a=e.zDepth,i=t.muiTheme,s=i.baseTheme,u=i.paper,l=i.borderRadius;return{root:{color:u.color,backgroundColor:u.backgroundColor,transition:o&&P.default.easeOut(),boxSizing:"border-box",fontFamily:s.fontFamily,WebkitTapHighlightColor:"rgba(0,0,0,0)",boxShadow:u.zDepthShadows[a-1],borderRadius:r?"50%":n?l:"0px"}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(24),x=r(b),w=n(2),_=r(w),k=n(3),C=r(k),S=n(945),E=(r(S),n(33)),P=r(E),O=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.circle,e.rounded,e.style),r=(e.transitionEnabled,e.zDepth,(0,u.default)(e,["children","circle","rounded","style","transitionEnabled","zDepth"])),a=this.context.muiTheme.prepareStyles,s=o(this.props,this.context);return _.default.createElement("div",(0,i.default)({},r,{style:a((0,x.default)(s.root,n))}),t)}}]),t}(w.Component);O.defaultProps={circle:!1,rounded:!0,transitionEnabled:!0,zDepth:1},O.contextTypes={muiTheme:C.default.object.isRequired},O.propTypes={},t.default=O},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=(e-t)/(n-t);return isNaN(r)&&(r=0),r}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(930),x=r(b),w=n(24),_=r(w),k=n(2),C=r(k),S=n(3),E=r(S),P=n(152),O=r(P),T=n(127),M=(r(T),n(33)),A=r(M),j=n(243),R=r(j),N={x:"height","x-reverse":"height",y:"width","y-reverse":"width"},I={x:"top","x-reverse":"top",y:"left","y-reverse":"left"},D={x:"width","x-reverse":"width",y:"height","y-reverse":"height"},L={x:"marginRight","x-reverse":"marginLeft",y:"marginTop","y-reverse":"marginBottom"},F={x:"marginLeft","x-reverse":"marginRight",y:"marginBottom","y-reverse":"marginTop"},B={x:"left","x-reverse":"right",y:"bottom","y-reverse":"top"},W={x:"clientWidth","x-reverse":"clientWidth",y:"clientHeight","y-reverse":"clientHeight"},U={x:"clientX","x-reverse":"clientX",y:"clientY","y-reverse":"clientY"},z={x:"right","x-reverse":"left",y:"top","y-reverse":"bottom"},G=function(e){return"x-reverse"===e||"y"===e},q=function(e,t){if(t)switch(e){case"x":return"x-reverse";case"x-reverse":return"x"}return e},H=function(e,t,n){var r,a,i,s,u,l,c=e.axis,f=e.disabled,d=e.max,p=e.min,h=t.muiTheme,v=h.isRtl,m=h.slider,g=m.handleColorZero,y=m.handleFillColor,b=m.handleSize,w=m.handleSizeDisabled,k=m.handleSizeActive,C=m.trackSize,S=m.trackColor,E=m.trackColorSelected,P=m.rippleColor,O=m.selectionColor,T=b/2,M=C+w/2,j=f?" - "+M+"px":"",R=o(n.value,p,d),W=q(c,v),U={slider:(r={touchCallout:"none",userSelect:"none",cursor:"default"},(0,x.default)(r,N[W],k),(0,x.default)(r,D[W],"100%"),(0,x.default)(r,"position","relative"),(0,x.default)(r,"marginTop",24),(0,x.default)(r,"marginBottom",48),r),track:(a={position:"absolute"},(0,x.default)(a,I[W],(k-C)/2),(0,x.default)(a,B[W],0),(0,x.default)(a,D[W],"100%"),(0,x.default)(a,N[W],C),a),filledAndRemaining:(i={directionInvariant:!0,position:"absolute"},(0,x.default)(i,I,0),(0,x.default)(i,N[W],"100%"),(0,x.default)(i,"transition",A.default.easeOut(null,"margin")),i),handle:(s={directionInvariant:!0,boxSizing:"border-box",position:"absolute",cursor:"pointer",pointerEvents:"inherit"},(0,x.default)(s,I[W],0),(0,x.default)(s,B[W],0===R?"0%":100*R+"%"),(0,x.default)(s,"zIndex",1),(0,x.default)(s,"margin",{x:C/2+"px 0 0 0","x-reverse":C/2+"px 0 0 0",y:"0 0 0 "+C/2+"px","y-reverse":"0 0 0 "+C/2+"px"}[W]),(0,x.default)(s,"width",b),(0,x.default)(s,"height",b),(0,x.default)(s,"backgroundColor",O),(0,x.default)(s,"backgroundClip","padding-box"),(0,x.default)(s,"border","0px solid transparent"),(0,x.default)(s,"borderRadius","50%"),(0,x.default)(s,"transform",{x:"translate(-50%, -50%)","x-reverse":"translate(50%, -50%)",y:"translate(-50%, 50%)","y-reverse":"translate(-50%, -50%)"}[W]),(0,x.default)(s,"transition",A.default.easeOut("450ms","background")+", "+A.default.easeOut("450ms","border-color")+", "+A.default.easeOut("450ms","width")+", "+A.default.easeOut("450ms","height")),(0,x.default)(s,"overflow","visible"),(0,x.default)(s,"outline","none"),s),handleWhenDisabled:{boxSizing:"content-box",cursor:"not-allowed",backgroundColor:S,width:w,height:w,border:"none"},handleWhenPercentZero:{border:C+"px solid "+g,backgroundColor:y,boxShadow:"none"},handleWhenPercentZeroAndDisabled:{cursor:"not-allowed",width:w,height:w},handleWhenPercentZeroAndFocused:{border:C+"px solid "+E},handleWhenActive:{width:k,height:k},ripple:{height:b,width:b,overflow:"visible"},rippleWhenPercentZero:{top:-C,left:-C},rippleInner:{height:"300%",width:"300%",top:-b,left:-b},rippleColor:{fill:0===R?g:P}};return U.filled=(0,_.default)({},U.filledAndRemaining,(u={},(0,x.default)(u,B[W],0),(0,x.default)(u,"backgroundColor",f?S:O),(0,x.default)(u,L[W],T),(0,x.default)(u,D[W],"calc("+100*R+"%"+j+")"),u)),U.remaining=(0,_.default)({},U.filledAndRemaining,(l={},(0,x.default)(l,z[W],0),(0,x.default)(l,"backgroundColor",!n.hovered&&!n.focused||f?S:E),(0,x.default)(l,F[W],T),(0,x.default)(l,D[W],"calc("+100*(1-R)+"%"+j+")"),l)),U},V=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.state={active:!1,dragging:!1,focused:!1,hovered:!1,value:0},r.track=null,r.handle=null,r.handleKeyDown=function(e){var t=r.props,n=t.axis,o=t.min,a=t.max,i=t.step,s=r.context.muiTheme.isRtl,u=q(n,s),l=void 0;switch((0,O.default)(e)){case"page down":case"down":l="y-reverse"===u?"increase":"decrease";break;case"left":l="x-reverse"===u?"increase":"decrease";break;case"page up":case"up":l="y-reverse"===u?"decrease":"increase";break;case"right":l="x-reverse"===u?"decrease":"increase";break;case"home":l="min";break;case"end":l="max"}if(l){var c=void 0;switch(e.preventDefault(),l){case"decrease":c=r.state.value-i;break;case"increase":c=r.state.value+i;break;case"min":c=o;break;case"max":c=a}c=parseFloat(c.toFixed(5)),c>a?c=a:c<o&&(c=o),r.state.value!==c&&(r.setState({value:c}),r.props.onChange&&r.props.onChange(e,c))}},r.handleDragMouseMove=function(e){r.onDragUpdate(e,"mouse")},r.handleTouchMove=function(e){r.onDragUpdate(e,"touch")},r.handleMouseEnd=function(e){document.removeEventListener("mousemove",r.handleDragMouseMove),document.removeEventListener("mouseup",r.handleMouseEnd),r.onDragStop(e)},r.handleTouchEnd=function(e){document.removeEventListener("touchmove",r.handleTouchMove),document.removeEventListener("touchup",r.handleTouchEnd),document.removeEventListener("touchend",r.handleTouchEnd),document.removeEventListener("touchcancel",r.handleTouchEnd),r.onDragStop(e)},r.handleTouchStart=function(e){var t=r.props,n=t.axis,o=t.disabled,a=r.context.muiTheme.isRtl;if(!o){var i=q(n,a),s=void 0;s=G(i)?r.getTrackOffset()-e.touches[0][U[i]]:e.touches[0][U[i]]-r.getTrackOffset(),r.setValueFromPosition(e,s),document.addEventListener("touchmove",r.handleTouchMove),document.addEventListener("touchup",r.handleTouchEnd),document.addEventListener("touchend",r.handleTouchEnd),document.addEventListener("touchcancel",r.handleTouchEnd),r.onDragStart(e),e.preventDefault()}},r.handleFocus=function(e){r.setState({focused:!0}),r.props.onFocus&&r.props.onFocus(e)},r.handleBlur=function(e){r.setState({focused:!1,active:!1}),r.props.onBlur&&r.props.onBlur(e)},r.handleMouseDown=function(e){var t=r.props,n=t.axis,o=t.disabled,a=r.context.muiTheme.isRtl;if(!o){var i=q(n,a),s=void 0;s=G(i)?r.getTrackOffset()-e[U[i]]:e[U[i]]-r.getTrackOffset(),r.setValueFromPosition(e,s),document.addEventListener("mousemove",r.handleDragMouseMove),document.addEventListener("mouseup",r.handleMouseEnd),e.preventDefault(),r.handle.focus(),r.onDragStart(e)}},r.handleMouseUp=function(){r.props.disabled||r.setState({active:!1})},r.handleMouseEnter=function(){r.setState({hovered:!0})},r.handleMouseLeave=function(){r.setState({hovered:!1})},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.value,n=e.defaultValue,r=e.min,o=e.max,a=t;void 0===a&&(a=void 0!==n?n:r),a>o?a=o:a<r&&(a=r),this.setState({value:a})}},{key:"componentWillReceiveProps",value:function(e){void 0===e.value||this.state.dragging||this.setState({value:e.value})}},{key:"getValue",value:function(){return this.state.value}},{key:"clearValue",value:function(){this.setState({value:this.props.min})}},{key:"getTrackOffset",value:function(){var e=this.props.axis,t=this.context.muiTheme.isRtl,n=q(e,t);return this.track.getBoundingClientRect()[B[n]]}},{key:"onDragStart",value:function(e){this.setState({dragging:!0,active:!0}),this.props.onDragStart&&this.props.onDragStart(e)}},{key:"onDragUpdate",value:function(e,t){var n=this,r=this.props,o=r.axis,a=r.disabled,i=this.context.muiTheme.isRtl;this.dragRunning||(this.dragRunning=!0,requestAnimationFrame(function(){n.dragRunning=!1;var r=q(o,i),s="touch"===t?e.touches[0]:e,u=void 0;u=G(r)?n.getTrackOffset()-s[U[r]]:s[U[r]]-n.getTrackOffset(),a||n.setValueFromPosition(e,u)}))}},{key:"onDragStop",value:function(e){this.setState({dragging:!1,active:!1}),this.props.onDragStop&&this.props.onDragStop(e)}},{key:"setValueFromPosition",value:function(e,t){var n=this.props,r=n.axis,o=n.step,a=n.min,i=n.max,s=this.context.muiTheme.isRtl,u=q(r,s),l=this.track[W[u]],c=void 0;t<=0?c=a:t>=l?c=i:(c=t/l*(i-a),c=Math.round(c/o)*o+a,c=parseFloat(c.toFixed(5))),this.state.value!==c&&(this.setState({value:c}),this.props.onChange&&this.props.onChange(e,c))}},{key:"render",value:function(){var e=this,t=this.props,n=(t.axis,t.disabled),r=t.disableFocusRipple,a=t.max,s=t.min,l=t.name,c=(t.onBlur,t.onChange,t.onDragStart,t.onDragStop,t.onFocus,t.required),f=t.sliderStyle,d=t.step,p=t.style,h=(t.value,(0,u.default)(t,["axis","disabled","disableFocusRipple","max","min","name","onBlur","onChange","onDragStart","onDragStop","onFocus","required","sliderStyle","step","style","value"])),v=this.state,m=v.active,g=v.focused,y=v.hovered,b=v.value,x=this.context.muiTheme.prepareStyles,w=H(this.props,this.context,this.state),k=o(b,s,a),S={};S=0===k?(0,_.default)({},w.handle,w.handleWhenPercentZero,m&&w.handleWhenActive,(y||g)&&!n&&w.handleWhenPercentZeroAndFocused,n&&w.handleWhenPercentZeroAndDisabled):(0,_.default)({},w.handle,m&&w.handleWhenActive,n&&w.handleWhenDisabled);var E=(0,_.default)({},w.ripple,0===k&&w.rippleWhenPercentZero);return C.default.createElement("div",(0,i.default)({},h,{style:x((0,_.default)({},p))}),C.default.createElement("div",{style:x((0,_.default)({},w.slider,f)),onFocus:this.handleFocus,onBlur:this.handleBlur,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseUp:this.handleMouseUp,onTouchStart:this.handleTouchStart,onKeyDown:!n&&this.handleKeyDown},C.default.createElement("div",{ref:function(t){return e.track=t},style:x(w.track)},C.default.createElement("div",{style:x(w.filled)}),C.default.createElement("div",{style:x(w.remaining)}),C.default.createElement("div",{ref:function(t){return e.handle=t},style:x(S),tabIndex:0},!n&&!r&&C.default.createElement(R.default,{style:E,innerStyle:w.rippleInner,show:(y||g)&&!m,color:w.rippleColor.fill})))),C.default.createElement("input",{type:"hidden",name:l,value:b,required:c,min:s,max:a,step:d}))}}]),t}(k.Component);V.defaultProps={axis:"x",disabled:!1,disableFocusRipple:!1,max:1,min:0,required:!0,step:.01,style:{}},V.contextTypes={muiTheme:E.default.object.isRequired},V.propTypes={},t.default=V},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(907),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=t.muiTheme,o=r.baseTheme.spacing.desktopSubheaderHeight,a=r.zIndex,i=n.open,s={root:{position:"fixed",left:"50%",display:"flex",bottom:0,zIndex:a.snackbar,visibility:i?"visible":"hidden",transform:i?"translate(-50%, 0)":"translate(-50%, "+o+"px)",transition:E.default.easeOut("400ms","transform")+", "+E.default.easeOut("400ms","visibility")}};return s}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(24),x=r(b),w=n(2),_=r(w),k=n(3),C=r(k),S=n(33),E=r(S),P=n(917),O=r(P),T=n(910),M=r(T),A=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.componentClickAway=function(){r.timerTransitionId||(null!==r.props.open&&r.props.onRequestClose?r.props.onRequestClose("clickaway"):r.setState({open:!1}))},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"componentWillMount",value:function(){this.setState({open:this.props.open,message:this.props.message,action:this.props.action})}},{key:"componentDidMount",value:function(){this.state.open&&(this.setAutoHideTimer(),this.setTransitionTimer())}},{key:"componentWillReceiveProps",value:function(e){var t=this;if(this.props.open&&e.open&&(e.message!==this.props.message||e.action!==this.props.action))this.setState({open:!1}),clearTimeout(this.timerOneAtTheTimeId),this.timerOneAtTheTimeId=setTimeout(function(){t.setState({message:e.message,action:e.action,open:!0})},400);else{var n=e.open;this.setState({open:null!==n?n:this.state.open,message:e.message,action:e.action})}}},{key:"componentDidUpdate",value:function(e,t){t.open!==this.state.open&&(this.state.open?(this.setAutoHideTimer(),this.setTransitionTimer()):clearTimeout(this.timerAutoHideId))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timerAutoHideId),clearTimeout(this.timerTransitionId),clearTimeout(this.timerOneAtTheTimeId)}},{key:"setAutoHideTimer",value:function(){var e=this,t=this.props.autoHideDuration;t>0&&(clearTimeout(this.timerAutoHideId),this.timerAutoHideId=setTimeout(function(){null!==e.props.open&&e.props.onRequestClose?e.props.onRequestClose("timeout"):e.setState({open:!1})},t))}},{key:"setTransitionTimer",value:function(){var e=this;this.timerTransitionId=setTimeout(function(){e.timerTransitionId=void 0},400)}},{key:"render",value:function(){var e=this.props,t=(e.autoHideDuration,e.contentStyle),n=e.bodyStyle,r=(e.message,e.onRequestClose,e.onActionTouchTap),a=e.style,s=(0,u.default)(e,["autoHideDuration","contentStyle","bodyStyle","message","onRequestClose","onActionTouchTap","style"]),l=this.state,c=l.action,f=l.message,d=l.open,p=this.context.muiTheme.prepareStyles,h=o(this.props,this.context,this.state);return _.default.createElement(O.default,{onClickAway:d?this.componentClickAway:null},_.default.createElement("div",(0,i.default)({},s,{style:p((0,x.default)(h.root,a))}),_.default.createElement(M.default,{action:c,contentStyle:t,message:f,open:d,onActionTouchTap:r,style:n})))}}]),t}(w.Component);A.contextTypes={muiTheme:C.default.object.isRequired},A.propTypes={},t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.open,r=e.width,o=t.muiTheme,a=o.baseTheme,i=a.spacing,s=i.desktopGutter,u=i.desktopSubheaderHeight,l=a.fontFamily,c=o.snackbar,f=c.backgroundColor,d=c.textColor,p=c.actionColor,h=o.borderRadius,v=r===g.SMALL,y={root:{fontFamily:l,backgroundColor:f,padding:"0 "+s+"px",height:u,lineHeight:u+"px",borderRadius:v?0:h,maxWidth:v?"inherit":568,minWidth:v?"inherit":288,width:v?"calc(100vw - "+2*s+"px)":"auto",flexGrow:v?1:0},content:{fontSize:14,color:d,opacity:n?1:0,transition:n?m.default.easeOut("500ms","opacity","100ms"):m.default.easeOut("400ms","opacity")},action:{color:p,float:"right",marginTop:6,marginRight:-16,marginLeft:s,backgroundColor:"transparent"}};return y}Object.defineProperty(t,"__esModule",{value:!0}),t.SnackbarBody=void 0;var a=n(27),i=r(a),s=n(29),u=r(s),l=n(24),c=r(l),f=n(2),d=r(f),p=n(3),h=r(p),v=n(33),m=r(v),g=n(947),y=r(g),b=n(380),x=r(b),w=function(e,t){var n=e.action,r=e.contentStyle,a=e.message,s=(e.open,e.onActionTouchTap),l=e.style,f=(0,u.default)(e,["action","contentStyle","message","open","onActionTouchTap","style"]),p=t.muiTheme.prepareStyles,h=o(e,t),v=n&&d.default.createElement(x.default,{style:h.action,label:n,onTouchTap:s});return d.default.createElement("div",(0,i.default)({},f,{style:p((0,c.default)(h.root,l))}),d.default.createElement("div",{style:p((0,c.default)(h.content,r))},d.default.createElement("span",null,a),v))};t.SnackbarBody=w,w.propTypes={},w.contextTypes={muiTheme:h.default.object.isRequired},t.default=(0,y.default)()(w)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(909),a=r(o);t.default=a.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(27),a=r(o),i=n(29),s=r(i),u=n(16),l=r(u),c=n(12),f=r(c),d=n(17),p=r(d),h=n(19),v=r(h),m=n(18),g=r(m),y=n(24),b=r(y),x=n(2),w=r(x),_=n(3),k=r(_),C=n(33),S=r(C),E=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,l.default)(t)).call.apply(e,[this].concat(i))),r.state={hovered:!1},r.handleMouseLeave=function(e){r.setState({hovered:!1}),r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.setState({hovered:!0}),r.props.onMouseEnter(e)},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.color,r=e.hoverColor,o=(e.onMouseEnter,e.onMouseLeave,e.style),i=e.viewBox,u=(0,s.default)(e,["children","color","hoverColor","onMouseEnter","onMouseLeave","style","viewBox"]),l=this.context.muiTheme,c=l.svgIcon,f=l.prepareStyles,d=n?n:"currentColor",p=r?r:d,h=(0,b.default)({display:"inline-block",color:c.color,fill:this.state.hovered?p:d,height:24,width:24,userSelect:"none",transition:S.default.easeOut()},o);return w.default.createElement("svg",(0,a.default)({},u,{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,style:f(h),viewBox:i}),t)}}]),t}(x.Component);E.muiName="SvgIcon",E.defaultProps={onMouseEnter:function(){},onMouseLeave:function(){},viewBox:"0 0 24 24"},E.contextTypes={muiTheme:k.default.object.isRequired},E.propTypes={},t.default=E},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e.disabled,o=e.elementStyle,a=e.trackSwitchedStyle,i=e.thumbSwitchedStyle,s=e.trackStyle,u=e.thumbStyle,l=e.iconStyle,c=e.rippleStyle,f=e.labelStyle,d=t.muiTheme,p=d.baseTheme,h=d.toggle,v=20,m=36,g={icon:{width:36,padding:"4px 0px 6px 2px"},ripple:{top:-10,left:-10,color:n.switched?h.thumbOnColor:p.palette.textColor},toggleElement:{width:m},track:{transition:E.default.easeOut(),width:"100%",height:14,borderRadius:30,backgroundColor:h.trackOffColor},thumb:{transition:E.default.easeOut(),position:"absolute",top:1,left:0,width:v,height:v,lineHeight:"24px",borderRadius:"50%",backgroundColor:h.thumbOffColor},trackWhenSwitched:{backgroundColor:h.trackOnColor},thumbWhenSwitched:{backgroundColor:h.thumbOnColor,left:"100%"},trackWhenDisabled:{backgroundColor:h.trackDisabledColor},thumbWhenDisabled:{backgroundColor:h.thumbDisabledColor},label:{color:r?h.labelDisabledColor:h.labelColor,width:"calc(100% - "+(m+10)+"px)"}};return(0,x.default)(g.track,s,n.switched&&g.trackWhenSwitched,n.switched&&a,r&&g.trackWhenDisabled),(0,x.default)(g.thumb,u,n.switched&&g.thumbWhenSwitched,n.switched&&i,r&&g.thumbWhenDisabled),n.switched&&(g.thumb.marginLeft=0-g.thumb.width),(0,x.default)(g.icon,l),(0,x.default)(g.ripple,c),(0,x.default)(g.label,f),(0,x.default)(g.toggleElement,o),g}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(24),x=r(b),w=n(2),_=r(w),k=n(3),C=r(k),S=n(33),E=r(S),P=n(241),O=r(P),T=n(919),M=r(T),A=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.state={switched:!1},r.handleStateChange=function(e){r.setState({switched:e})},r.handleToggle=function(e,t){r.props.onToggle&&r.props.onToggle(e,t)},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.toggled,n=e.defaultToggled,r=e.valueLink;(t||n||r&&r.value)&&this.setState({switched:!0})}},{key:"isToggled",value:function(){return this.refs.enhancedSwitch.isSwitched()}},{key:"setToggled",value:function(e){this.refs.enhancedSwitch.setSwitched(e)}},{key:"render",value:function(){var e=this.props,t=e.defaultToggled,n=(e.elementStyle,e.onToggle,e.trackSwitchedStyle,e.thumbSwitchedStyle,e.toggled),r=(0,u.default)(e,["defaultToggled","elementStyle","onToggle","trackSwitchedStyle","thumbSwitchedStyle","toggled"]),a=this.context.muiTheme.prepareStyles,s=o(this.props,this.context,this.state),l=_.default.createElement("div",{style:a((0,x.default)({},s.toggleElement))},_.default.createElement("div",{style:a((0,x.default)({},s.track))}),_.default.createElement(O.default,{style:s.thumb,circle:!0,zDepth:1})),c={ref:"enhancedSwitch",inputType:"checkbox",switchElement:l,rippleStyle:s.ripple,rippleColor:s.ripple.color,iconStyle:s.icon,trackStyle:s.track,thumbStyle:s.thumb,labelStyle:s.label,switched:this.state.switched,onSwitch:this.handleToggle,onParentShouldUpdate:this.handleStateChange,labelPosition:this.props.labelPosition};return this.props.hasOwnProperty("toggled")?c.checked=n:this.props.hasOwnProperty("defaultToggled")&&(c.defaultChecked=t),_.default.createElement(M.default,(0,i.default)({},r,c))}}]),t}(w.Component);A.defaultProps={defaultToggled:!1,disabled:!1,labelPosition:"left"},A.contextTypes={muiTheme:C.default.object.isRequired},A.propTypes={},t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(913),a=r(o);t.default=a.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(16),a=r(o),i=n(12),s=r(i),u=n(17),l=r(u),c=n(19),f=r(c),d=n(18),p=r(d),h=n(2),v=n(3),m=(r(v),null),g=0,y=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,u=Array(i),l=0;l<i;l++)u[l]=arguments[l];return n=r=(0,f.default)(this,(e=t.__proto__||(0,a.default)(t)).call.apply(e,[this].concat(u))),r.locked=!1,o=n,(0,f.default)(r,o)}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.props.lock===!0&&this.preventScrolling()}},{key:"componentWillReceiveProps",value:function(e){this.props.lock!==e.lock&&(e.lock?this.preventScrolling():this.allowScrolling())}},{key:"componentWillUnmount",value:function(){this.allowScrolling()}},{key:"preventScrolling",value:function(){if(this.locked!==!0&&(g+=1,this.locked=!0,1===g)){var e=document.getElementsByTagName("body")[0];m=e.style.overflow,e.style.overflow="hidden"}}},{key:"allowScrolling",value:function(){if(this.locked===!0&&(g-=1,this.locked=!1),0===g&&null!==m){var e=document.getElementsByTagName("body")[0];e.style.overflow=m||"",m=null}}},{key:"render",value:function(){return null}}]),t}(h.Component);y.propTypes={},t.default=y},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(27),a=r(o),i=n(29),s=r(i),u=n(16),l=r(u),c=n(12),f=r(c),d=n(17),p=r(d),h=n(19),v=r(h),m=n(18),g=r(m),y=n(24),b=r(y),x=n(2),w=r(x),_=n(3),k=r(_),C=n(53),S=r(C),E=n(275),P=r(E),O=n(245),T=r(O),M=n(33),A=r(M),j=function(e){function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"shouldComponentUpdate",value:function(e){return!(0,P.default)(this.props,e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=S.default.findDOMNode(this).style;t.opacity=0;var n=this.props.aborted?0:2e3;this.enterTimer=setTimeout(e,n)}},{key:"animate",value:function(){var e=S.default.findDOMNode(this).style,t=A.default.easeOut("2s","opacity")+", "+A.default.easeOut("1s","transform");T.default.set(e,"transition",t),T.default.set(e,"transform","scale(1)")}},{key:"initializeAnimation",value:function(e){var t=S.default.findDOMNode(this).style;t.opacity=this.props.opacity,T.default.set(t,"transform","scale(0)"),this.leaveTimer=setTimeout(e,0)}},{key:"render",value:function(){var e=this.props,t=(e.aborted,e.color),n=(e.opacity,e.style),r=(e.touchGenerated,(0,s.default)(e,["aborted","color","opacity","style","touchGenerated"])),o=this.context.muiTheme.prepareStyles,i=(0,b.default)({position:"absolute",top:0,left:0,height:"100%",width:"100%",borderRadius:"50%",backgroundColor:t},n);return w.default.createElement("div",(0,a.default)({},r,{style:o(i)}))}}]),t}(x.Component);j.defaultProps={opacity:.1,aborted:!1},j.contextTypes={muiTheme:k.default.object.isRequired},j.propTypes={},t.default=j},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(16),a=r(o),i=n(12),s=r(i),u=n(17),l=r(u),c=n(19),f=r(c),d=n(18),p=r(d),h=n(2),v=n(3),m=(r(v),n(53)),g=r(m),y=n(387),b=r(y),x=function e(t,n){return null!==n&&(t===n||e(t,n.parentNode))},w=["mouseup","touchend"],_=function(e){return w.forEach(function(t){return b.default.on(document,t,e)})},k=function(e){return w.forEach(function(t){return b.default.off(document,t,e)})},C=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,u=Array(i),l=0;l<i;l++)u[l]=arguments[l];return n=r=(0,f.default)(this,(e=t.__proto__||(0,a.default)(t)).call.apply(e,[this].concat(u))),r.handleClickAway=function(e){if(!e.defaultPrevented&&r.isCurrentlyMounted){var t=g.default.findDOMNode(r);document.documentElement.contains(e.target)&&!x(t,e.target)&&r.props.onClickAway(e)}},o=n,(0,f.default)(r,o)}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.isCurrentlyMounted=!0,this.props.onClickAway&&_(this.handleClickAway)}},{key:"componentDidUpdate",value:function(e){e.onClickAway!==this.props.onClickAway&&(k(this.handleClickAway),this.props.onClickAway&&_(this.handleClickAway))}},{key:"componentWillUnmount",value:function(){this.isCurrentlyMounted=!1,k(this.handleClickAway)}},{key:"render",value:function(){return this.props.children}}]),t}(h.Component);C.propTypes={},t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){if(!N){var e=document.createElement("style");e.innerHTML="\n      button::-moz-focus-inner,\n      input::-moz-focus-inner {\n        border: 0;\n        padding: 0;\n      }\n    ",document.body.appendChild(e),N=!0}}function a(){I||(P.default.on(window,"keydown",function(e){D="tab"===(0,T.default)(e)}),I=!0)}Object.defineProperty(t,"__esModule",{value:!0});var i=n(27),s=r(i),u=n(29),l=r(u),c=n(16),f=r(c),d=n(12),p=r(d),h=n(17),v=r(h),m=n(19),g=r(m),y=n(18),b=r(y),x=n(24),w=r(x),_=n(2),k=r(_),C=n(3),S=r(C),E=n(387),P=r(E),O=n(152),T=r(O),M=n(243),A=r(M),j=n(381),R=r(j),N=!1,I=!1,D=!1,L=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r.state={isKeyboardFocused:!1},r.handleKeyDown=function(e){r.props.disabled||r.props.disableKeyboardFocus||("enter"===(0,T.default)(e)&&r.state.isKeyboardFocused&&r.handleTouchTap(e),
  "esc"===(0,T.default)(e)&&r.state.isKeyboardFocused&&r.removeKeyboardFocus(e)),r.props.onKeyDown(e)},r.handleKeyUp=function(e){r.props.disabled||r.props.disableKeyboardFocus||"space"===(0,T.default)(e)&&r.state.isKeyboardFocused&&r.handleTouchTap(e),r.props.onKeyUp(e)},r.handleBlur=function(e){r.cancelFocusTimeout(),r.removeKeyboardFocus(e),r.props.onBlur(e)},r.handleFocus=function(e){e&&e.persist(),r.props.disabled||r.props.disableKeyboardFocus||(r.focusTimeout=setTimeout(function(){D&&(r.setKeyboardFocus(e),D=!1)},150),r.props.onFocus(e))},r.handleClick=function(e){r.props.disabled||(D=!1,r.props.onClick(e))},r.handleTouchTap=function(e){r.cancelFocusTimeout(),r.props.disabled||(D=!1,r.removeKeyboardFocus(e),r.props.onTouchTap(e))},o=n,(0,g.default)(r,o)}return(0,b.default)(t,e),(0,v.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.disabled,n=e.disableKeyboardFocus,r=e.keyboardFocused;t||!r||n||this.setState({isKeyboardFocused:!0})}},{key:"componentDidMount",value:function(){o(),a(),this.state.isKeyboardFocused&&(this.button.focus(),this.props.onKeyboardFocus(null,!0))}},{key:"componentWillReceiveProps",value:function(e){(e.disabled||e.disableKeyboardFocus)&&this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),e.onKeyboardFocus&&e.onKeyboardFocus(null,!1))}},{key:"componentWillUnmount",value:function(){this.focusTimeout&&clearTimeout(this.focusTimeout)}},{key:"isKeyboardFocused",value:function(){return this.state.isKeyboardFocused}},{key:"removeKeyboardFocus",value:function(e){this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),this.props.onKeyboardFocus(e,!1))}},{key:"setKeyboardFocus",value:function(e){this.state.isKeyboardFocused||(this.setState({isKeyboardFocused:!0}),this.props.onKeyboardFocus(e,!0))}},{key:"cancelFocusTimeout",value:function(){this.focusTimeout&&(clearTimeout(this.focusTimeout),this.focusTimeout=null)}},{key:"createButtonChildren",value:function(){var e=this.props,t=e.centerRipple,n=e.children,r=e.disabled,o=e.disableFocusRipple,a=e.disableKeyboardFocus,i=e.disableTouchRipple,s=e.focusRippleColor,u=e.focusRippleOpacity,l=e.touchRippleColor,c=e.touchRippleOpacity,f=this.state.isKeyboardFocused,d=!f||r||o||a?void 0:k.default.createElement(A.default,{color:s,opacity:u,show:f,style:{overflow:"hidden"},key:"focusRipple"}),p=r||i?void 0:k.default.createElement(R.default,{centerRipple:t,color:l,opacity:c,key:"touchRipple"},n);return[d,p,p?void 0:n]}},{key:"render",value:function(){var e=this,t=this.props,n=(t.centerRipple,t.children),r=t.containerElement,o=t.disabled,a=(t.disableFocusRipple,t.disableKeyboardFocus),i=(t.disableTouchRipple,t.focusRippleColor,t.focusRippleOpacity,t.href),u=(t.keyboardFocused,t.touchRippleColor,t.touchRippleOpacity,t.onBlur,t.onClick,t.onFocus,t.onKeyUp,t.onKeyDown,t.onKeyboardFocus,t.onTouchTap,t.style),c=t.tabIndex,f=t.type,d=(0,l.default)(t,["centerRipple","children","containerElement","disabled","disableFocusRipple","disableKeyboardFocus","disableTouchRipple","focusRippleColor","focusRippleOpacity","href","keyboardFocused","touchRippleColor","touchRippleOpacity","onBlur","onClick","onFocus","onKeyUp","onKeyDown","onKeyboardFocus","onTouchTap","style","tabIndex","type"]),p=this.context.muiTheme,h=p.prepareStyles,v=p.enhancedButton,m=(0,w.default)({border:10,boxSizing:"border-box",display:"inline-block",fontFamily:this.context.muiTheme.baseTheme.fontFamily,WebkitTapHighlightColor:v.tapHighlightColor,cursor:o?"default":"pointer",textDecoration:"none",margin:0,padding:0,outline:"none",fontSize:"inherit",fontWeight:"inherit",position:"relative",verticalAlign:i?"middle":null,zIndex:1},u);if(m.backgroundColor||m.background||(m.background="none"),o&&i)return k.default.createElement("span",(0,s.default)({},d,{style:m}),n);var g=(0,s.default)({},d,{style:h(m),ref:function(t){return e.button=t},disabled:o,href:i,onBlur:this.handleBlur,onClick:this.handleClick,onFocus:this.handleFocus,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,onTouchTap:this.handleTouchTap,tabIndex:o||a?-1:c}),y=this.createButtonChildren();return k.default.isValidElement(r)?k.default.cloneElement(r,g,y):(i||"button"!==r||(g.type=f),k.default.createElement(i?"a":r,g,y))}}]),t}(_.Component);L.defaultProps={containerElement:"button",onBlur:function(){},onClick:function(){},onFocus:function(){},onKeyDown:function(){},onKeyUp:function(){},onKeyboardFocus:function(){},onTouchTap:function(){},tabIndex:0,type:"button"},L.contextTypes={muiTheme:S.default.object.isRequired},L.propTypes={},t.default=L},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.muiTheme.baseTheme;return{root:{cursor:e.disabled?"not-allowed":"pointer",position:"relative",overflow:"visible",display:"table",height:"auto",width:"100%"},input:{position:"absolute",cursor:"inherit",pointerEvents:"all",opacity:0,width:"100%",height:"100%",zIndex:2,left:0,boxSizing:"border-box",padding:0,margin:0},controls:{display:"flex",width:"100%",height:"100%"},label:{float:"left",position:"relative",display:"block",width:"calc(100% - 60px)",lineHeight:"24px",color:n.palette.textColor,fontFamily:n.fontFamily},wrap:{transition:M.default.easeOut(),float:"left",position:"relative",display:"block",flexShrink:0,width:60-n.spacing.desktopGutterLess,marginRight:"right"===e.labelPosition?n.spacing.desktopGutterLess:0,marginLeft:"left"===e.labelPosition?n.spacing.desktopGutterLess:0},ripple:{color:e.rippleColor||n.palette.primary1Color,height:"200%",width:"200%",top:-12,left:-12}}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(24),x=r(b),w=n(2),_=r(w),k=n(3),C=r(k),S=n(264),E=r(S),P=n(152),O=r(P),T=n(33),M=r(T),A=n(243),j=r(A),R=n(381),N=r(R),I=n(241),D=r(I),L=n(127),F=(r(L),function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.state={isKeyboardFocused:!1},r.handleChange=function(e){r.tabPressed=!1,r.setState({isKeyboardFocused:!1});var t=r.refs.checkbox.checked;!r.props.hasOwnProperty("checked")&&r.props.onParentShouldUpdate&&r.props.onParentShouldUpdate(t),r.props.onSwitch&&r.props.onSwitch(e,t)},r.handleKeyDown=function(e){var t=(0,O.default)(e);"tab"===t&&(r.tabPressed=!0),r.state.isKeyboardFocused&&"space"===t&&r.handleChange(e)},r.handleKeyUp=function(e){r.state.isKeyboardFocused&&"space"===(0,O.default)(e)&&r.handleChange(e)},r.handleMouseDown=function(e){0===e.button&&r.refs.touchRipple.start(e)},r.handleMouseUp=function(){r.refs.touchRipple.end()},r.handleMouseLeave=function(){r.refs.touchRipple.end()},r.handleTouchStart=function(e){r.refs.touchRipple.start(e)},r.handleTouchEnd=function(){r.refs.touchRipple.end()},r.handleBlur=function(e){r.setState({isKeyboardFocused:!1}),r.props.onBlur&&r.props.onBlur(e)},r.handleFocus=function(e){setTimeout(function(){r.tabPressed&&r.setState({isKeyboardFocused:!0})},150),r.props.onFocus&&r.props.onFocus(e)},o=n,(0,m.default)(r,o)}return(0,y.default)(t,e),(0,h.default)(t,[{key:"componentDidMount",value:function(){var e=this.refs.checkbox;this.props.switched&&e.checked===this.props.switched||!this.props.onParentShouldUpdate||this.props.onParentShouldUpdate(e.checked)}},{key:"componentWillReceiveProps",value:function(e){var t=e.hasOwnProperty("checked"),n=e.hasOwnProperty("defaultChecked")&&e.defaultChecked!==this.props.defaultChecked;if(t||n){var r=e.checked||e.defaultChecked||!1;this.setState({switched:r}),this.props.onParentShouldUpdate&&r!==this.props.switched&&this.props.onParentShouldUpdate(r)}}},{key:"isSwitched",value:function(){return this.refs.checkbox.checked}},{key:"setSwitched",value:function(e){this.props.hasOwnProperty("checked")&&this.props.checked!==!1||(this.props.onParentShouldUpdate&&this.props.onParentShouldUpdate(e),this.refs.checkbox.checked=e)}},{key:"getValue",value:function(){return this.refs.checkbox.value}},{key:"render",value:function(){var e=this.props,t=e.name,n=e.value,r=e.iconStyle,a=e.inputStyle,s=e.inputType,l=e.label,c=e.labelStyle,f=e.labelPosition,d=(e.onSwitch,e.onBlur,e.onFocus,e.onMouseUp,e.onMouseDown,e.onMouseLeave,e.onTouchStart,e.onTouchEnd,e.onParentShouldUpdate,e.disabled),p=e.disableTouchRipple,h=e.disableFocusRipple,v=e.className,m=(e.rippleColor,e.rippleStyle),g=e.style,y=(e.switched,e.switchElement),b=e.thumbStyle,w=e.trackStyle,k=(0,u.default)(e,["name","value","iconStyle","inputStyle","inputType","label","labelStyle","labelPosition","onSwitch","onBlur","onFocus","onMouseUp","onMouseDown","onMouseLeave","onTouchStart","onTouchEnd","onParentShouldUpdate","disabled","disableTouchRipple","disableFocusRipple","className","rippleColor","rippleStyle","style","switched","switchElement","thumbStyle","trackStyle"]),C=this.context.muiTheme.prepareStyles,S=o(this.props,this.context),P=(0,x.default)(S.wrap,r),O=(0,x.default)(S.ripple,m);b&&(P.marginLeft/=2,P.marginRight/=2);var T=l&&_.default.createElement("label",{style:C((0,x.default)(S.label,c))},l),M=!d&&!p,A=!d&&!h,R=_.default.createElement(N.default,{ref:"touchRipple",key:"touchRipple",style:O,color:O.color,muiTheme:this.context.muiTheme,centerRipple:!0}),I=_.default.createElement(j.default,{key:"focusRipple",innerStyle:O,color:O.color,muiTheme:this.context.muiTheme,show:this.state.isKeyboardFocused}),L=[M?R:null,A?I:null],F=_.default.createElement("input",(0,i.default)({},k,{ref:"checkbox",type:s,style:C((0,x.default)(S.input,a)),name:t,value:n,disabled:d,onBlur:this.handleBlur,onFocus:this.handleFocus,onChange:this.handleChange,onMouseUp:M&&this.handleMouseUp,onMouseDown:M&&this.handleMouseDown,onMouseLeave:M&&this.handleMouseLeave,onTouchStart:M&&this.handleTouchStart,onTouchEnd:M&&this.handleTouchEnd})),B=b?_.default.createElement("div",{style:C(P)},_.default.createElement("div",{style:C((0,x.default)({},w))}),_.default.createElement(D.default,{style:b,zDepth:1,circle:!0}," ",L," ")):_.default.createElement("div",{style:C(P)},y,L),W="right"===f?_.default.createElement("div",{style:S.controls},B,T):_.default.createElement("div",{style:S.controls},T,B);return _.default.createElement("div",{ref:"root",className:v,style:C((0,x.default)(S.root,g))},_.default.createElement(E.default,{target:"window",onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp}),F,W)}}]),t}(w.Component));F.contextTypes={muiTheme:C.default.object.isRequired},F.propTypes={},t.default=F},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t.muiTheme.overlay,r={root:{position:"fixed",height:"100%",width:"100%",top:0,left:"-100%",opacity:0,backgroundColor:n.backgroundColor,WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",willChange:"opacity",transform:"translateZ(0)",transition:e.transitionEnabled&&E.default.easeOut("0ms","left","400ms")+", "+E.default.easeOut("400ms","opacity")}};return e.show&&(0,x.default)(r.root,{left:0,opacity:1,transition:E.default.easeOut("0ms","left")+", "+E.default.easeOut("400ms","opacity")}),r}Object.defineProperty(t,"__esModule",{value:!0});var a=n(27),i=r(a),s=n(29),u=r(s),l=n(16),c=r(l),f=n(12),d=r(f),p=n(17),h=r(p),v=n(19),m=r(v),g=n(18),y=r(g),b=n(24),x=r(b),w=n(2),_=r(w),k=n(3),C=r(k),S=n(33),E=r(S),P=n(915),O=r(P),T=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,c.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,h.default)(t,[{key:"setOpacity",value:function(e){this.refs.overlay.style.opacity=e}},{key:"render",value:function(){var e=this.props,t=e.autoLockScrolling,n=e.show,r=e.style,a=(e.transitionEnabled,(0,u.default)(e,["autoLockScrolling","show","style","transitionEnabled"])),s=this.context.muiTheme.prepareStyles,l=o(this.props,this.context);return _.default.createElement("div",(0,i.default)({},a,{ref:"overlay",style:s((0,x.default)(l.root,r))}),t&&_.default.createElement(O.default,{lock:n}))}}]),t}(w.Component);T.defaultProps={autoLockScrolling:!0,style:{},transitionEnabled:!0},T.contextTypes={muiTheme:C.default.object.isRequired},T.propTypes={},t.default=T},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(16),a=r(o),i=n(12),s=r(i),u=n(17),l=r(u),c=n(19),f=r(c),d=n(18),p=r(d),h=n(2),v=n(3),m=r(v),g=n(53),y=n(386),b=r(y),x=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,u=Array(i),l=0;l<i;l++)u[l]=arguments[l];return n=r=(0,f.default)(this,(e=t.__proto__||(0,a.default)(t)).call.apply(e,[this].concat(u))),r.onClickAway=function(e){if(!e.defaultPrevented&&r.props.componentClickAway&&r.props.open){var t=r.layer;(e.target!==t&&e.target===window||document.documentElement.contains(e.target)&&!b.default.isDescendant(t,e.target))&&r.props.componentClickAway(e)}},o=n,(0,f.default)(r,o)}return(0,p.default)(t,e),(0,l.default)(t,[{key:"componentDidMount",value:function(){this.renderLayer()}},{key:"componentDidUpdate",value:function(){this.renderLayer()}},{key:"componentWillUnmount",value:function(){this.unrenderLayer()}},{key:"getLayer",value:function(){return this.layer}},{key:"unrenderLayer",value:function(){this.layer&&(this.props.useLayerForClickAway?(this.layer.style.position="relative",this.layer.removeEventListener("touchstart",this.onClickAway),this.layer.removeEventListener("click",this.onClickAway)):(window.removeEventListener("touchstart",this.onClickAway),window.removeEventListener("click",this.onClickAway)),(0,g.unmountComponentAtNode)(this.layer),document.body.removeChild(this.layer),this.layer=null)}},{key:"renderLayer",value:function(){var e=this,t=this.props,n=t.open,r=t.render;if(n){this.layer||(this.layer=document.createElement("div"),document.body.appendChild(this.layer),this.props.useLayerForClickAway?(this.layer.addEventListener("touchstart",this.onClickAway),this.layer.addEventListener("click",this.onClickAway),this.layer.style.position="fixed",this.layer.style.top=0,this.layer.style.bottom=0,this.layer.style.left=0,this.layer.style.right=0,this.layer.style.zIndex=this.context.muiTheme.zIndex.layer):setTimeout(function(){window.addEventListener("touchstart",e.onClickAway),window.addEventListener("click",e.onClickAway)},0));var o=r();this.layerElement=(0,g.unstable_renderSubtreeIntoContainer)(this,o,this.layer)}else this.unrenderLayer()}},{key:"render",value:function(){return null}}]),t}(h.Component);x.defaultProps={useLayerForClickAway:!0},x.contextTypes={muiTheme:m.default.object.isRequired},x.propTypes={},t.default=x},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(27),a=r(o),i=n(29),s=r(i),u=n(16),l=r(u),c=n(12),f=r(c),d=n(17),p=r(d),h=n(19),v=r(h),m=n(18),g=r(m),y=n(24),b=r(y),x=n(2),w=r(x),_=n(3),k=r(_),C=n(272),S=r(C),E=n(923),P=r(E),O=function(e){function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.childStyle,r=e.enterDelay,o=e.maxScale,i=e.minScale,u=e.style,l=(0,s.default)(e,["children","childStyle","enterDelay","maxScale","minScale","style"]),c=this.context.muiTheme.prepareStyles,f=(0,b.default)({},{position:"relative",height:"100%"},u),d=w.default.Children.map(t,function(e){return w.default.createElement(P.default,{key:e.key,enterDelay:r,maxScale:o,minScale:i,style:n},e)});return w.default.createElement(S.default,(0,a.default)({},l,{style:c(f),component:"div"}),d)}}]),t}(x.Component);O.defaultProps={enterDelay:0},O.contextTypes={muiTheme:k.default.object.isRequired},O.propTypes={},t.default=O},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(27),a=r(o),i=n(29),s=r(i),u=n(16),l=r(u),c=n(12),f=r(c),d=n(17),p=r(d),h=n(19),v=r(h),m=n(18),g=r(m),y=n(24),b=r(y),x=n(2),w=r(x),_=n(3),k=r(_),C=n(53),S=r(C),E=n(245),P=r(E),O=n(33),T=r(O),M=function(e){function t(){return(0,f.default)(this,t),(0,v.default)(this,(t.__proto__||(0,l.default)(t)).apply(this,arguments))}return(0,g.default)(t,e),(0,p.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=S.default.findDOMNode(this).style;t.opacity="0",P.default.set(t,"transform","scale("+this.props.minScale+")"),this.leaveTimer=setTimeout(e,450)}},{key:"animate",value:function(){var e=S.default.findDOMNode(this).style;e.opacity="1",P.default.set(e,"transform","scale("+this.props.maxScale+")")}},{key:"initializeAnimation",value:function(e){var t=S.default.findDOMNode(this).style;t.opacity="0",P.default.set(t,"transform","scale(0)"),this.enterTimer=setTimeout(e,this.props.enterDelay)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.enterDelay,e.maxScale,e.minScale,e.style),r=(0,s.default)(e,["children","enterDelay","maxScale","minScale","style"]),o=this.context.muiTheme.prepareStyles,i=(0,b.default)({},{position:"absolute",height:"100%",width:"100%",top:0,left:0,transition:T.default.easeOut(null,["transform","opacity"])},n);return w.default.createElement("div",(0,a.default)({},r,{style:o(i)}),t)}}]),t}(x.Component);M.defaultProps={enterDelay:0,maxScale:1,minScale:0},M.contextTypes={muiTheme:k.default.object.isRequired},M.propTypes={},t.default=M},function(e,t,n){e.exports={default:n(180),__esModule:!0}},function(e,t,n){e.exports={default:n(181),__esModule:!0}},function(e,t,n){e.exports={default:n(182),__esModule:!0}},function(e,t,n){e.exports={default:n(183),__esModule:!0}},function(e,t,n){e.exports={default:n(184),__esModule:!0}},function(e,t,n){e.exports={default:n(185),__esModule:!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(383),a=r(o);t.default=function(e,t,n){return t in e?(0,a.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(382),a=r(o);t.default=function(e){return Array.isArray(e)?e:(0,a.default)(e)}},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(16),a=r(o),i=n(12),s=r(i),u=n(17),l=r(u),c=n(19),f=r(c),d=n(18),p=r(d),h=n(2),v=n(3),m=r(v),g=n(934),y=r(g),b=function(e){function t(){return(0,s.default)(this,t),(0,f.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,l.default)(t,[{key:"getChildContext",value:function(){return{muiTheme:this.props.muiTheme||(0,y.default)()}}},{key:"render",value:function(){return this.props.children}}]),t}(h.Component);b.childContextTypes={muiTheme:m.default.object.isRequired},b.propTypes={},t.default=b},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(244),a=n(246),i=n(935),s=r(i);t.default={spacing:s.default,fontFamily:"Roboto, sans-serif",borderRadius:2,palette:{primary1Color:o.cyan500,primary2Color:o.cyan700,primary3Color:o.grey400,accent1Color:o.pinkA200,accent2Color:o.grey100,accent3Color:o.grey500,textColor:o.darkBlack,secondaryTextColor:(0,a.fade)(o.darkBlack,.54),alternateTextColor:o.white,canvasColor:o.white,borderColor:o.grey300,disabledColor:(0,a.fade)(o.darkBlack,.3),pickerHeaderColor:o.cyan500,clockCircleColor:(0,a.fade)(o.darkBlack,.07),shadowColor:o.fullBlack}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e=u.default.apply(void 0,[{zIndex:p.default,isRtl:!1,userAgent:void 0},f.default,e].concat(n));var o=e,a=o.spacing,s=o.fontFamily,c=o.palette,d={spacing:a,fontFamily:s,palette:c};e=(0,u.default)({appBar:{color:c.primary1Color,textColor:c.alternateTextColor,height:a.desktopKeylineIncrement,titleFontWeight:k.default.fontWeightNormal,padding:a.desktopGutter},avatar:{color:c.canvasColor,backgroundColor:(0,l.emphasize)(c.canvasColor,.26)},badge:{color:c.alternateTextColor,textColor:c.textColor,primaryColor:c.primary1Color,primaryTextColor:c.alternateTextColor,secondaryColor:c.accent1Color,secondaryTextColor:c.alternateTextColor,fontWeight:k.default.fontWeightMedium},bottomNavigation:{backgroundColor:c.canvasColor,unselectedColor:(0,l.fade)(c.textColor,.54),selectedColor:c.primary1Color,height:56,unselectedFontSize:12,selectedFontSize:14},button:{height:36,minWidth:88,iconButtonSize:2*a.iconSize},card:{titleColor:(0,l.fade)(c.textColor,.87),subtitleColor:(0,l.fade)(c.textColor,.54),fontWeight:k.default.fontWeightMedium},cardMedia:{color:C.darkWhite,overlayContentBackground:C.lightBlack,titleColor:C.darkWhite,subtitleColor:C.lightWhite},cardText:{textColor:c.textColor},checkbox:{boxColor:c.textColor,checkedColor:c.primary1Color,requiredColor:c.primary1Color,disabledColor:c.disabledColor,labelColor:c.textColor,labelDisabledColor:c.disabledColor},chip:{backgroundColor:(0,l.emphasize)(c.canvasColor,.12),deleteIconColor:(0,l.fade)(c.textColor,.26),textColor:(0,l.fade)(c.textColor,.87),fontSize:14,fontWeight:k.default.fontWeightNormal,shadow:"0 1px 6px "+(0,l.fade)(c.shadowColor,.12)+",\n        0 1px 4px "+(0,l.fade)(c.shadowColor,.12)},datePicker:{color:c.primary1Color,textColor:c.alternateTextColor,calendarTextColor:c.textColor,selectColor:c.primary2Color,selectTextColor:c.alternateTextColor,calendarYearBackgroundColor:c.canvasColor,headerColor:c.pickerHeaderColor||c.primary1Color},dialog:{titleFontSize:22,bodyFontSize:16,bodyColor:(0,l.fade)(c.textColor,.6)},dropDownMenu:{accentColor:c.borderColor},enhancedButton:{tapHighlightColor:C.transparent},flatButton:{color:C.transparent,buttonFilterColor:"#999999",disabledTextColor:(0,l.fade)(c.textColor,.3),textColor:c.textColor,primaryTextColor:c.primary1Color,secondaryTextColor:c.accent1Color,fontSize:k.default.fontStyleButtonFontSize,fontWeight:k.default.fontWeightMedium},floatingActionButton:{buttonSize:56,miniSize:40,color:c.primary1Color,iconColor:c.alternateTextColor,secondaryColor:c.accent1Color,secondaryIconColor:c.alternateTextColor,disabledTextColor:c.disabledColor,disabledColor:(0,l.emphasize)(c.canvasColor,.12)},gridTile:{textColor:C.white},icon:{color:c.canvasColor,backgroundColor:c.primary1Color},inkBar:{backgroundColor:c.accent1Color},drawer:{width:4*a.desktopKeylineIncrement,color:c.canvasColor},listItem:{nestedLevelDepth:18,secondaryTextColor:c.secondaryTextColor,leftIconColor:C.grey600,rightIconColor:C.grey600},menu:{backgroundColor:c.canvasColor,containerBackgroundColor:c.canvasColor},menuItem:{dataHeight:32,height:48,hoverColor:(0,l.fade)(c.textColor,.1),padding:a.desktopGutter,selectedTextColor:c.accent1Color,rightIconDesktopFill:C.grey600},menuSubheader:{padding:a.desktopGutter,borderColor:c.borderColor,textColor:c.primary1Color},overlay:{backgroundColor:C.lightBlack},paper:{color:c.textColor,backgroundColor:c.canvasColor,zDepthShadows:[[1,6,.12,1,4,.12],[3,10,.16,3,10,.23],[10,30,.19,6,10,.23],[14,45,.25,10,18,.22],[19,60,.3,15,20,.22]].map(function(e){return"0 "+e[0]+"px "+e[1]+"px "+(0,l.fade)(c.shadowColor,e[2])+",\n         0 "+e[3]+"px "+e[4]+"px "+(0,l.fade)(c.shadowColor,e[5])})},radioButton:{borderColor:c.textColor,backgroundColor:c.alternateTextColor,checkedColor:c.primary1Color,requiredColor:c.primary1Color,disabledColor:c.disabledColor,size:24,labelColor:c.textColor,labelDisabledColor:c.disabledColor},raisedButton:{color:c.alternateTextColor,textColor:c.textColor,primaryColor:c.primary1Color,primaryTextColor:c.alternateTextColor,secondaryColor:c.accent1Color,secondaryTextColor:c.alternateTextColor,disabledColor:(0,l.darken)(c.alternateTextColor,.1),disabledTextColor:(0,l.fade)(c.textColor,.3),fontSize:k.default.fontStyleButtonFontSize,fontWeight:k.default.fontWeightMedium},refreshIndicator:{strokeColor:c.borderColor,loadingStrokeColor:c.primary1Color},ripple:{color:(0,l.fade)(c.textColor,.87)},slider:{trackSize:2,trackColor:c.primary3Color,trackColorSelected:c.accent3Color,handleSize:12,handleSizeDisabled:8,handleSizeActive:18,handleColorZero:c.primary3Color,handleFillColor:c.alternateTextColor,selectionColor:c.primary1Color,rippleColor:c.primary1Color},snackbar:{textColor:c.alternateTextColor,backgroundColor:c.textColor,actionColor:c.accent1Color},subheader:{color:(0,l.fade)(c.textColor,.54),fontWeight:k.default.fontWeightMedium},stepper:{backgroundColor:"transparent",hoverBackgroundColor:(0,l.fade)(C.black,.06),iconColor:c.primary1Color,hoveredIconColor:C.grey700,inactiveIconColor:C.grey500,textColor:(0,l.fade)(C.black,.87),disabledTextColor:(0,l.fade)(C.black,.26),connectorLineColor:C.grey400},svgIcon:{color:c.textColor},table:{backgroundColor:c.canvasColor},tableFooter:{borderColor:c.borderColor,textColor:c.accent3Color},tableHeader:{borderColor:c.borderColor},tableHeaderColumn:{textColor:c.accent3Color,height:56,spacing:24},tableRow:{hoverColor:c.accent2Color,stripeColor:(0,l.fade)((0,l.lighten)(c.primary1Color,.5),.4),selectedColor:c.borderColor,textColor:c.textColor,borderColor:c.borderColor,height:48},tableRowColumn:{height:48,spacing:24},tabs:{backgroundColor:c.primary1Color,textColor:(0,l.fade)(c.alternateTextColor,.7),selectedTextColor:c.alternateTextColor},textField:{textColor:c.textColor,hintColor:c.disabledColor,floatingLabelColor:c.disabledColor,disabledTextColor:c.disabledColor,errorColor:C.red500,focusColor:c.primary1Color,backgroundColor:"transparent",borderColor:c.borderColor},timePicker:{color:c.alternateTextColor,textColor:c.alternateTextColor,accentColor:c.primary1Color,clockColor:c.textColor,clockCircleColor:c.clockCircleColor,headerColor:c.pickerHeaderColor||c.primary1Color,selectColor:c.primary2Color,selectTextColor:c.alternateTextColor},toggle:{thumbOnColor:c.primary1Color,thumbOffColor:c.accent2Color,thumbDisabledColor:c.borderColor,thumbRequiredColor:c.primary1Color,trackOnColor:(0,l.fade)(c.primary1Color,.5),trackOffColor:c.primary3Color,trackDisabledColor:c.primary3Color,labelColor:c.textColor,labelDisabledColor:c.disabledColor,trackRequiredColor:(0,l.fade)(c.primary1Color,.5)},toolbar:{color:(0,l.fade)(c.textColor,.54),hoverColor:(0,l.fade)(c.textColor,.87),backgroundColor:(0,l.darken)(c.accent2Color,.05),height:56,titleFontSize:20,iconColor:(0,l.fade)(c.textColor,.4),separatorColor:(0,l.fade)(c.textColor,.175),menuHoverColor:(0,l.fade)(c.textColor,.1)},tooltip:{color:C.white,rippleBackgroundColor:C.grey700}},e,{baseTheme:d,rawTheme:d});var h=[v.default,b.default,g.default].map(function(t){return t(e)}).filter(function(e){return e});return e.prepareStyles=w.default.apply(void 0,(0,i.default)(h)),e}Object.defineProperty(t,"__esModule",{value:!0});var a=n(384),i=r(a);t.default=o;var s=n(813),u=r(s),l=n(246),c=n(933),f=r(c),d=n(937),p=r(d),h=n(941),v=r(h),m=n(944),g=r(m),y=n(946),b=r(y),x=n(1100),w=r(x),_=n(936),k=r(_),C=n(244)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={iconSize:24,desktopGutter:24,desktopGutterMore:32,desktopGutterLess:16,desktopGutterMini:8,desktopKeylineIncrement:64,desktopDropDownMenuItemHeight:32,desktopDropDownMenuFontSize:15,desktopDrawerMenuItemHeight:48,desktopSubheaderHeight:48,desktopToolbarHeight:56}},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(12),a=r(o),i=n(244),s=function e(){(0,a.default)(this,e),this.textFullBlack=i.fullBlack,this.textDarkBlack=i.darkBlack,this.textLightBlack=i.lightBlack,this.textMinBlack=i.minBlack,this.textFullWhite=i.fullWhite,this.textDarkWhite=i.darkWhite,this.textLightWhite=i.lightWhite,this.fontWeightLight=300,this.fontWeightNormal=400,this.fontWeightMedium=500,this.fontStyleButtonFontSize=14};t.default=new s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={menu:1e3,appBar:1100,drawerOverlay:1200,drawer:1300,dialogOverlay:1400,dialog:1500,layer:2e3,popover:2100,snackbar:2900,tooltip:3e3}},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),a=r(o),i=n(274),s=r(i),u=n(242),l=r(u),c=function(e){return a.default.createElement(l.default,e,a.default.createElement("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"}))};c=(0,s.default)(c),c.displayName="ContentAdd",c.muiName="SvgIcon",t.default=c},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),a=r(o),i=n(274),s=r(i),u=n(242),l=r(u),c=function(e){return a.default.createElement(l.default,e,a.default.createElement("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}))};c=(0,s.default)(c),c.displayName="ContentClear",c.muiName="SvgIcon",t.default=c},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),a=r(o),i=n(274),s=r(i),u=n(242),l=r(u),c=function(e){return a.default.createElement(l.default,e,a.default.createElement("path",{d:"M19 13H5v-2h14v2z"}))};c=(0,s.default)(c),c.displayName="ContentRemove",c.muiName="SvgIcon",t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t="undefined"!=typeof navigator,n=e.userAgent;void 0===n&&t&&(n=navigator.userAgent),void 0!==n||p||(p=!0);var r=(0,a.default)(f.default);if(n===!1)return null;if("all"===n||void 0===n)return function(e){var n=["flex","inline-flex"].indexOf(e.display)!==-1,o=r(e);if(n){var a=o.display;t?o.display=a[a.length-1]:o.display=a.join("; display: ")}return o};var o=(0,s.default)(l.default,r),i=new o({userAgent:n});return function(e){return i.prefix(e)}};var o=n(799),a=r(o),i=n(791),s=r(i),u=n(942),l=r(u),c=n(943),f=r(c),d=n(127),p=(r(d),!1)},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(792),a=r(o),i=n(793),s=r(i),u=n(794),l=r(u),c=n(795),f=r(c),d=n(796),p=r(d),h=n(797),v=r(h),m=n(798),g=r(m);t.default={plugins:[a.default,s.default,l.default,f.default,p.default,v.default,g.default],prefixMap:{chrome:{transform:35,transformOrigin:35,transformOriginX:35,transformOriginY:35,backfaceVisibility:35,perspective:35,perspectiveOrigin:35,transformStyle:35,transformOriginZ:35,animation:42,animationDelay:42,animationDirection:42,animationFillMode:42,animationDuration:42,animationIterationCount:42,animationName:42,animationPlayState:42,animationTimingFunction:42,appearance:60,userSelect:53,fontKerning:32,textEmphasisPosition:60,textEmphasis:60,textEmphasisStyle:60,textEmphasisColor:60,boxDecorationBreak:60,clipPath:54,maskImage:60,maskMode:60,maskRepeat:60,maskPosition:60,maskClip:60,maskOrigin:60,maskSize:60,maskComposite:60,mask:60,maskBorderSource:60,maskBorderMode:60,maskBorderSlice:60,maskBorderWidth:60,maskBorderOutset:60,maskBorderRepeat:60,maskBorder:60,maskType:60,textDecorationStyle:56,textDecorationSkip:56,textDecorationLine:56,textDecorationColor:56,filter:52,fontFeatureSettings:47,breakAfter:49,breakBefore:49,breakInside:49,columnCount:49,columnFill:49,columnGap:49,columnRule:49,columnRuleColor:49,columnRuleStyle:49,columnRuleWidth:49,columns:49,columnSpan:49,columnWidth:49},safari:{flex:8,flexBasis:8,flexDirection:8,flexGrow:8,flexFlow:8,flexShrink:8,flexWrap:8,alignContent:8,alignItems:8,alignSelf:8,justifyContent:8,order:8,transition:6,transitionDelay:6,
  transitionDuration:6,transitionProperty:6,transitionTimingFunction:6,transform:8,transformOrigin:8,transformOriginX:8,transformOriginY:8,backfaceVisibility:8,perspective:8,perspectiveOrigin:8,transformStyle:8,transformOriginZ:8,animation:8,animationDelay:8,animationDirection:8,animationFillMode:8,animationDuration:8,animationIterationCount:8,animationName:8,animationPlayState:8,animationTimingFunction:8,appearance:10.1,userSelect:10.1,backdropFilter:10.1,fontKerning:9,scrollSnapType:10,scrollSnapPointsX:10,scrollSnapPointsY:10,scrollSnapDestination:10,scrollSnapCoordinate:10,textEmphasisPosition:7,textEmphasis:7,textEmphasisStyle:7,textEmphasisColor:7,boxDecorationBreak:10.1,clipPath:10.1,maskImage:10.1,maskMode:10.1,maskRepeat:10.1,maskPosition:10.1,maskClip:10.1,maskOrigin:10.1,maskSize:10.1,maskComposite:10.1,mask:10.1,maskBorderSource:10.1,maskBorderMode:10.1,maskBorderSlice:10.1,maskBorderWidth:10.1,maskBorderOutset:10.1,maskBorderRepeat:10.1,maskBorder:10.1,maskType:10.1,textDecorationStyle:10.1,textDecorationSkip:10.1,textDecorationLine:10.1,textDecorationColor:10.1,shapeImageThreshold:10,shapeImageMargin:10,shapeImageOutside:10,filter:9,hyphens:10.1,flowInto:10.1,flowFrom:10.1,breakBefore:8,breakAfter:8,breakInside:8,regionFragment:10.1,columnCount:8,columnFill:8,columnGap:8,columnRule:8,columnRuleColor:8,columnRuleStyle:8,columnRuleWidth:8,columns:8,columnSpan:8,columnWidth:8},firefox:{appearance:55,userSelect:55,boxSizing:28,textAlignLast:48,textDecorationStyle:35,textDecorationSkip:35,textDecorationLine:35,textDecorationColor:35,tabSize:55,hyphens:42,fontFeatureSettings:33,breakAfter:51,breakBefore:51,breakInside:51,columnCount:51,columnFill:51,columnGap:51,columnRule:51,columnRuleColor:51,columnRuleStyle:51,columnRuleWidth:51,columns:51,columnSpan:51,columnWidth:51},opera:{flex:16,flexBasis:16,flexDirection:16,flexGrow:16,flexFlow:16,flexShrink:16,flexWrap:16,alignContent:16,alignItems:16,alignSelf:16,justifyContent:16,order:16,transform:22,transformOrigin:22,transformOriginX:22,transformOriginY:22,backfaceVisibility:22,perspective:22,perspectiveOrigin:22,transformStyle:22,transformOriginZ:22,animation:29,animationDelay:29,animationDirection:29,animationFillMode:29,animationDuration:29,animationIterationCount:29,animationName:29,animationPlayState:29,animationTimingFunction:29,appearance:45,userSelect:40,fontKerning:19,textEmphasisPosition:45,textEmphasis:45,textEmphasisStyle:45,textEmphasisColor:45,boxDecorationBreak:45,clipPath:41,maskImage:45,maskMode:45,maskRepeat:45,maskPosition:45,maskClip:45,maskOrigin:45,maskSize:45,maskComposite:45,mask:45,maskBorderSource:45,maskBorderMode:45,maskBorderSlice:45,maskBorderWidth:45,maskBorderOutset:45,maskBorderRepeat:45,maskBorder:45,maskType:45,textDecorationStyle:43,textDecorationSkip:43,textDecorationLine:43,textDecorationColor:43,filter:39,fontFeatureSettings:34,breakAfter:36,breakBefore:36,breakInside:36,columnCount:36,columnFill:36,columnGap:36,columnRule:36,columnRuleColor:36,columnRuleStyle:36,columnRuleWidth:36,columns:36,columnSpan:36,columnWidth:36},ie:{flex:10,flexDirection:10,flexFlow:10,flexWrap:10,transform:9,transformOrigin:9,transformOriginX:9,transformOriginY:9,userSelect:11,wrapFlow:11,wrapThrough:11,wrapMargin:11,scrollSnapType:11,scrollSnapPointsX:11,scrollSnapPointsY:11,scrollSnapDestination:11,scrollSnapCoordinate:11,touchAction:10,hyphens:11,flowInto:11,flowFrom:11,breakBefore:11,breakAfter:11,breakInside:11,regionFragment:11,gridTemplateColumns:11,gridTemplateRows:11,gridTemplateAreas:11,gridTemplate:11,gridAutoColumns:11,gridAutoRows:11,gridAutoFlow:11,grid:11,gridRowStart:11,gridColumnStart:11,gridRowEnd:11,gridRow:11,gridColumn:11,gridColumnEnd:11,gridColumnGap:11,gridRowGap:11,gridArea:11,gridGap:11,textSizeAdjust:11},edge:{userSelect:15,wrapFlow:15,wrapThrough:15,wrapMargin:15,scrollSnapType:15,scrollSnapPointsX:15,scrollSnapPointsY:15,scrollSnapDestination:15,scrollSnapCoordinate:15,hyphens:15,flowInto:15,flowFrom:15,breakBefore:15,breakAfter:15,breakInside:15,regionFragment:15,gridTemplateColumns:15,gridTemplateRows:15,gridTemplateAreas:15,gridTemplate:15,gridAutoColumns:15,gridAutoRows:15,gridAutoFlow:15,grid:15,gridRowStart:15,gridColumnStart:15,gridRowEnd:15,gridRow:15,gridColumn:15,gridColumnEnd:15,gridColumnGap:15,gridRowGap:15,gridArea:15,gridGap:15},ios_saf:{flex:8.1,flexBasis:8.1,flexDirection:8.1,flexGrow:8.1,flexFlow:8.1,flexShrink:8.1,flexWrap:8.1,alignContent:8.1,alignItems:8.1,alignSelf:8.1,justifyContent:8.1,order:8.1,transition:6,transitionDelay:6,transitionDuration:6,transitionProperty:6,transitionTimingFunction:6,transform:8.1,transformOrigin:8.1,transformOriginX:8.1,transformOriginY:8.1,backfaceVisibility:8.1,perspective:8.1,perspectiveOrigin:8.1,transformStyle:8.1,transformOriginZ:8.1,animation:8.1,animationDelay:8.1,animationDirection:8.1,animationFillMode:8.1,animationDuration:8.1,animationIterationCount:8.1,animationName:8.1,animationPlayState:8.1,animationTimingFunction:8.1,appearance:10,userSelect:10,backdropFilter:10,fontKerning:10,scrollSnapType:10,scrollSnapPointsX:10,scrollSnapPointsY:10,scrollSnapDestination:10,scrollSnapCoordinate:10,boxDecorationBreak:10,clipPath:10,maskImage:10,maskMode:10,maskRepeat:10,maskPosition:10,maskClip:10,maskOrigin:10,maskSize:10,maskComposite:10,mask:10,maskBorderSource:10,maskBorderMode:10,maskBorderSlice:10,maskBorderWidth:10,maskBorderOutset:10,maskBorderRepeat:10,maskBorder:10,maskType:10,textSizeAdjust:10,textDecorationStyle:10,textDecorationSkip:10,textDecorationLine:10,textDecorationColor:10,shapeImageThreshold:10,shapeImageMargin:10,shapeImageOutside:10,filter:9,hyphens:10,flowInto:10,flowFrom:10,breakBefore:8.1,breakAfter:8.1,breakInside:8.1,regionFragment:10,columnCount:8.1,columnFill:8.1,columnGap:8.1,columnRule:8.1,columnRuleColor:8.1,columnRuleStyle:8.1,columnRuleWidth:8.1,columns:8.1,columnSpan:8.1,columnWidth:8.1},android:{borderImage:4.2,borderImageOutset:4.2,borderImageRepeat:4.2,borderImageSlice:4.2,borderImageSource:4.2,borderImageWidth:4.2,flex:4.2,flexBasis:4.2,flexDirection:4.2,flexGrow:4.2,flexFlow:4.2,flexShrink:4.2,flexWrap:4.2,alignContent:4.2,alignItems:4.2,alignSelf:4.2,justifyContent:4.2,order:4.2,transition:4.2,transitionDelay:4.2,transitionDuration:4.2,transitionProperty:4.2,transitionTimingFunction:4.2,transform:4.4,transformOrigin:4.4,transformOriginX:4.4,transformOriginY:4.4,backfaceVisibility:4.4,perspective:4.4,perspectiveOrigin:4.4,transformStyle:4.4,transformOriginZ:4.4,animation:4.4,animationDelay:4.4,animationDirection:4.4,animationFillMode:4.4,animationDuration:4.4,animationIterationCount:4.4,animationName:4.4,animationPlayState:4.4,animationTimingFunction:4.4,appearance:53,userSelect:53,fontKerning:4.4,textEmphasisPosition:53,textEmphasis:53,textEmphasisStyle:53,textEmphasisColor:53,boxDecorationBreak:53,clipPath:53,maskImage:53,maskMode:53,maskRepeat:53,maskPosition:53,maskClip:53,maskOrigin:53,maskSize:53,maskComposite:53,mask:53,maskBorderSource:53,maskBorderMode:53,maskBorderSlice:53,maskBorderWidth:53,maskBorderOutset:53,maskBorderRepeat:53,maskBorder:53,maskType:53,filter:4.4,fontFeatureSettings:4.4,breakAfter:53,breakBefore:53,breakInside:53,columnCount:53,columnFill:53,columnGap:53,columnRule:53,columnRuleColor:53,columnRuleStyle:53,columnRuleWidth:53,columns:53,columnSpan:53,columnWidth:53},and_chr:{appearance:56,textEmphasisPosition:56,textEmphasis:56,textEmphasisStyle:56,textEmphasisColor:56,boxDecorationBreak:56,maskImage:56,maskMode:56,maskRepeat:56,maskPosition:56,maskClip:56,maskOrigin:56,maskSize:56,maskComposite:56,mask:56,maskBorderSource:56,maskBorderMode:56,maskBorderSlice:56,maskBorderWidth:56,maskBorderOutset:56,maskBorderRepeat:56,maskBorder:56,maskType:56,textDecorationStyle:56,textDecorationSkip:56,textDecorationLine:56,textDecorationColor:56},and_uc:{flex:11,flexBasis:11,flexDirection:11,flexGrow:11,flexFlow:11,flexShrink:11,flexWrap:11,alignContent:11,alignItems:11,alignSelf:11,justifyContent:11,order:11,transition:11,transitionDelay:11,transitionDuration:11,transitionProperty:11,transitionTimingFunction:11,transform:11,transformOrigin:11,transformOriginX:11,transformOriginY:11,backfaceVisibility:11,perspective:11,perspectiveOrigin:11,transformStyle:11,transformOriginZ:11,animation:11,animationDelay:11,animationDirection:11,animationFillMode:11,animationDuration:11,animationIterationCount:11,animationName:11,animationPlayState:11,animationTimingFunction:11,appearance:11,userSelect:11,fontKerning:11,textEmphasisPosition:11,textEmphasis:11,textEmphasisStyle:11,textEmphasisColor:11,maskImage:11,maskMode:11,maskRepeat:11,maskPosition:11,maskClip:11,maskOrigin:11,maskSize:11,maskComposite:11,mask:11,maskBorderSource:11,maskBorderMode:11,maskBorderSlice:11,maskBorderWidth:11,maskBorderOutset:11,maskBorderRepeat:11,maskBorder:11,maskType:11,textSizeAdjust:11,filter:11,hyphens:11,flowInto:11,flowFrom:11,breakBefore:11,breakAfter:11,breakInside:11,regionFragment:11,fontFeatureSettings:11,columnCount:11,columnFill:11,columnGap:11,columnRule:11,columnRuleColor:11,columnRuleStyle:11,columnRuleWidth:11,columns:11,columnSpan:11,columnWidth:11},op_mini:{}}}},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(800),a=r(o),i=n(801),s=r(i),u=n(802),l=r(u),c=n(803),f=r(c),d=n(804),p=r(d),h=n(805),v=r(h),m=n(806),g=r(m);t.default={plugins:[a.default,s.default,l.default,f.default,p.default,v.default,g.default],prefixMap:{transform:["Webkit","ms"],transformOrigin:["Webkit","ms"],transformOriginX:["Webkit","ms"],transformOriginY:["Webkit","ms"],backfaceVisibility:["Webkit"],perspective:["Webkit"],perspectiveOrigin:["Webkit"],transformStyle:["Webkit"],transformOriginZ:["Webkit"],animation:["Webkit"],animationDelay:["Webkit"],animationDirection:["Webkit"],animationFillMode:["Webkit"],animationDuration:["Webkit"],animationIterationCount:["Webkit"],animationName:["Webkit"],animationPlayState:["Webkit"],animationTimingFunction:["Webkit"],appearance:["Webkit","Moz"],userSelect:["Webkit","Moz","ms"],fontKerning:["Webkit"],textEmphasisPosition:["Webkit"],textEmphasis:["Webkit"],textEmphasisStyle:["Webkit"],textEmphasisColor:["Webkit"],boxDecorationBreak:["Webkit"],clipPath:["Webkit"],maskImage:["Webkit"],maskMode:["Webkit"],maskRepeat:["Webkit"],maskPosition:["Webkit"],maskClip:["Webkit"],maskOrigin:["Webkit"],maskSize:["Webkit"],maskComposite:["Webkit"],mask:["Webkit"],maskBorderSource:["Webkit"],maskBorderMode:["Webkit"],maskBorderSlice:["Webkit"],maskBorderWidth:["Webkit"],maskBorderOutset:["Webkit"],maskBorderRepeat:["Webkit"],maskBorder:["Webkit"],maskType:["Webkit"],textDecorationStyle:["Webkit","Moz"],textDecorationSkip:["Webkit","Moz"],textDecorationLine:["Webkit","Moz"],textDecorationColor:["Webkit","Moz"],filter:["Webkit"],fontFeatureSettings:["Webkit","Moz"],breakAfter:["Webkit","Moz","ms"],breakBefore:["Webkit","Moz","ms"],breakInside:["Webkit","Moz","ms"],columnCount:["Webkit","Moz"],columnFill:["Webkit","Moz"],columnGap:["Webkit","Moz"],columnRule:["Webkit","Moz"],columnRuleColor:["Webkit","Moz"],columnRuleStyle:["Webkit","Moz"],columnRuleWidth:["Webkit","Moz"],columns:["Webkit","Moz"],columnSpan:["Webkit","Moz"],columnWidth:["Webkit","Moz"],flex:["Webkit","ms"],flexBasis:["Webkit"],flexDirection:["Webkit","ms"],flexGrow:["Webkit"],flexFlow:["Webkit","ms"],flexShrink:["Webkit"],flexWrap:["Webkit","ms"],alignContent:["Webkit"],alignItems:["Webkit"],alignSelf:["Webkit"],justifyContent:["Webkit"],order:["Webkit"],transitionDelay:["Webkit"],transitionDuration:["Webkit"],transitionProperty:["Webkit"],transitionTimingFunction:["Webkit"],backdropFilter:["Webkit"],scrollSnapType:["Webkit","ms"],scrollSnapPointsX:["Webkit","ms"],scrollSnapPointsY:["Webkit","ms"],scrollSnapDestination:["Webkit","ms"],scrollSnapCoordinate:["Webkit","ms"],shapeImageThreshold:["Webkit"],shapeImageMargin:["Webkit"],shapeImageOutside:["Webkit"],hyphens:["Webkit","Moz","ms"],flowInto:["Webkit","ms"],flowFrom:["Webkit","ms"],regionFragment:["Webkit","ms"],boxSizing:["Moz"],textAlignLast:["Moz"],tabSize:["Moz"],wrapFlow:["ms"],wrapThrough:["ms"],wrapMargin:["ms"],touchAction:["ms"],gridTemplateColumns:["ms"],gridTemplateRows:["ms"],gridTemplateAreas:["ms"],gridTemplate:["ms"],gridAutoColumns:["ms"],gridAutoRows:["ms"],gridAutoFlow:["ms"],grid:["ms"],gridRowStart:["ms"],gridColumnStart:["ms"],gridRowEnd:["ms"],gridRow:["ms"],gridColumn:["ms"],gridColumnEnd:["ms"],gridColumnGap:["ms"],gridRowGap:["ms"],gridArea:["ms"],gridGap:["ms"],textSizeAdjust:["Webkit","ms"],borderImage:["Webkit"],borderImageOutset:["Webkit"],borderImageRepeat:["Webkit"],borderImageSlice:["Webkit"],borderImageSource:["Webkit"],borderImageWidth:["Webkit"]}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var a=n(127);r(a)},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(3),a=r(o),i=a.default.oneOf(["left","middle","right"]),s=a.default.oneOf(["top","center","bottom"]);t.default={corners:a.default.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:i,vertical:s,origin:a.default.shape({horizontal:i,vertical:s}),cornersAndCenter:a.default.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:a.default.oneOfType([a.default.string,a.default.number]),zDepth:a.default.oneOf([0,1,2,3,4,5])}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e.isRtl)return function(e){if(e.directionInvariant===!0)return e;var t={right:"left",left:"right",marginRight:"marginLeft",marginLeft:"marginRight",paddingRight:"paddingLeft",paddingLeft:"paddingRight",borderRight:"borderLeft",borderLeft:"borderRight"},n={};return(0,i.default)(e).forEach(function(r){var o=e[r],a=r;switch(t.hasOwnProperty(r)&&(a=t[r]),r){case"float":case"textAlign":"right"===o?o="left":"left"===o&&(o="right");break;case"direction":"ltr"===o?o="rtl":"rtl"===o&&(o="ltr");break;case"transform":if(!o)break;var i=void 0;(i=o.match(s))&&(o=o.replace(i[0],i[1]+-parseFloat(i[4]))),(i=o.match(u))&&(o=o.replace(i[0],i[1]+-parseFloat(i[4])+i[5]+i[6]?", "+(-parseFloat(i[7])+i[8]):""));break;case"transformOrigin":if(!o)break;o.indexOf("right")>-1?o=o.replace("right","left"):o.indexOf("left")>-1&&(o=o.replace("left","right"))}n[a]=o}),n}}Object.defineProperty(t,"__esModule",{value:!0});var a=n(926),i=r(a);t.default=o;var s=/((^|\s)translate(3d|X)?\()(\-?[\d]+)/,u=/((^|\s)skew(x|y)?\()\s*(\-?[\d]+)(deg|rad|grad)(,\s*(\-?[\d]+)(deg|rad|grad))?/},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.largeWidth,n=void 0===t?992:t,r=e.mediumWidth,o=void 0===r?768:r,a=e.resizeInterval,s=void 0===a?166:a;return function(e){return function(t){function r(){var e,t,n,o;(0,c.default)(this,r);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return t=n=(0,h.default)(this,(e=r.__proto__||(0,u.default)(r)).call.apply(e,[this].concat(i))),n.state={width:null},n.handleResize=function(){clearTimeout(n.deferTimer),n.deferTimer=setTimeout(function(){n.updateWidth()},s)},o=t,(0,h.default)(n,o)}return(0,m.default)(r,t),(0,d.default)(r,[{key:"componentDidMount",value:function(){this.updateWidth()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.deferTimer)}},{key:"updateWidth",value:function(){var e=window.innerWidth,t=void 0;t=e>=n?k:e>=o?_:w,t!==this.state.width&&this.setState({width:t})}},{key:"render",value:function(){var t=this.state.width;return null===t?null:y.default.createElement(x.default,{target:"window",onResize:this.handleResize},y.default.createElement(e,(0,i.default)({width:t},this.props)))}}]),r}(g.Component)}}Object.defineProperty(t,"__esModule",{value:!0}),t.LARGE=t.MEDIUM=t.SMALL=void 0;var a=n(27),i=r(a),s=n(16),u=r(s),l=n(12),c=r(l),f=n(17),d=r(f),p=n(19),h=r(p),v=n(18),m=r(v);t.default=o;var g=n(2),y=r(g),b=n(264),x=r(b),w=t.SMALL=1,_=t.MEDIUM=2,k=t.LARGE=3},function(e,t){e.exports={nomod:{escape:"",space:" "},ctrl:{" ":"\0",a:"",b:"",c:"",d:"",e:"",f:"",g:"",h:"\b",i:"\t",j:"\n",k:"\v",m:"\f",n:"\r",l:"",o:"",p:"",q:"",r:"",s:"",t:"",u:"",v:"",w:"",x:"",y:"",z:"","[":"","\\":"","]":"","^":"",_:"",space:"\0"}}},function(e,t,n){"use strict";function r(e){if(!/^(ctrl-|shift-|alt-|meta-){0,4}\w+$/.test(e))throw new Error('The string to parse needs to be of the format "c", "ctrl-c", "shift-ctrl-c".')}var o=n(948);e.exports=function(e){var t=e.trim().toLowerCase();r(t);var n,a={name:void 0,ctrl:!1,meta:!1,shift:!1,alt:!1,sequence:void 0},i=t.split("-");for(a.name=i.pop();n=i.pop();)a[n]=!0;return a.sequence=a.ctrl?o.ctrl[a.name]||a.name:o.nomod[a.name]||a.name,a.shift&&a.sequence&&1===a.sequence.length&&(a.sequence=a.sequence.toUpperCase()),a}},function(e,t,n){!function(t,r){e.exports=r(n(390))}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e){var t=e.text,n=void 0===t?"link":t,r=e.filename,o=void 0===r?"file":r,a=e.href,i=document.createElement("a");return i.appendChild(document.createTextNode(n)),i.href=a,i.download=o,i}function a(e){var t=e.tree,n=e.filenames;return o({text:this.text,filename:n.image,href:t.getPngUrl()})}function i(e,t){var n=e.tree,r=e.filenames;return o({text:this.text,filename:r.leafLabels,href:m((t||n.root).getChildProperties("label").join("\n"))})}function s(e,t){var n=e.tree,r=e.filenames;return o({text:this.text,filename:r.newick,href:m((t||n.root).getNwk())})}function u(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=t.menuItems,o=void 0===r?g:r,a=t.branchMenuItems,i=void 0===a?y:a,s=t.unstyled,u=void 0!==s&&s,l=t.className,c=void 0===l?"":l,f=t.parent,p=t.filenames,h=void 0===p?b:p;d.Tooltip.call(this,e,{className:("phylocanvas-context-menu "+c).trim(),element:document.createElement("ul"),parent:f}),this.menuItems=o,this.branchMenuItems=i,this.filenames=h,u||n(2),this.element.addEventListener("click",function(e){e.stopPropagation()})}function l(e){if(2===e.button){e.preventDefault();var t=this.getNodeAtMousePosition(e);this.contextMenu.open(e.clientX,e.clientY,t&&t.interactive?t:null),this.contextMenu.closed=!1,this.tooltip.close()}}function c(e){e(this,"createTree",function(e,t){var n=e.apply(void 0,r(t)),o=f(t,2),a=o[1],i=void 0===a?{}:a;return n.contextMenu=new u(n,i.contextMenu),n.addListener("contextmenu",l.bind(n)),n}),this.ContextMenu=u}Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_BRANCH_MENU_ITEMS=t.DEFAULT_MENU_ITEMS=void 0;var f=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();t.default=c;var d=n(1),p=d.utils.events,h=p.createHandler,v=p.preventDefault,m=d.utils.dom.createBlobUrl,g=t.DEFAULT_MENU_ITEMS=[[{text:"Show/Hide Labels",handler:"toggleLabels"},{text:"Align/Realign Labels",handler:function(e){e.alignLabels=!e.alignLabels}}],[{text:"Fit in Panel",handler:function(e){e.fitInPanel()}},{text:"Redraw Original Tree",handler:"redrawOriginalTree"}],[{text:"Export Leaf Labels",element:i},{text:"Export as Newick File",element:s},{text:"Export as Image",element:a}]],y=t.DEFAULT_BRANCH_MENU_ITEMS=[[{text:"Collapse/Expand Subtree",handler:function(e){e.toggleCollapsed(),e.tree.draw()}},{text:"Rotate Subtree",handler:"rotate"}],[{text:"Redraw Subtree",handler:"redrawTreeFromBranch"}],[{text:"Export Subtree Leaf Labels",element:i},{text:"Export Subtree as Newick File",element:s}]],b={image:"phylocanvas.png",leafLabels:"phylocanvas-leaf-labels.txt",newick:"phylocanvas.nwk"};u.prototype=Object.create(d.Tooltip.prototype),u.prototype.constructor=u,u.prototype.createSublist=function(e,t){var n=document.createElement("ul"),r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var u=i.value,l=document.createElement("li");u.element?l.appendChild(u.element(this,t)):(l.appendChild(document.createTextNode(u.text)),l.addEventListener("click",h(t||this.tree,u.handler))),l.addEventListener("click",h(this,"close")),l.addEventListener("contextmenu",v),n.appendChild(l)}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}n.hasChildNodes()&&this.element.appendChild(n)},u.prototype.createContent=function(e){var t=e?this.branchMenuItems:this.menuItems,n=!0,r=!1,o=void 0;try{for(var a,i=t[Symbol.iterator]();!(n=(a=i.next()).done);n=!0){var s=a.value;this.createSublist(s,e)}}catch(e){r=!0,o=e}finally{try{!n&&i.return&&i.return()}finally{if(r)throw o}}document.body.addEventListener("click",h(this,"close"))}},function(t,n){t.exports=e},function(e,t,n){var r=n(3);"string"==typeof r&&(r=[[e.id,r,""]]),n(5)(r,{}),r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(4)(),t.push([e.id,".phylocanvas-context-menu,.phylocanvas-context-menu ul{list-style:outside none none;margin:0}.phylocanvas-context-menu{background:#fff;border-radius:2px;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);letter-spacing:0;list-style:outside none none;min-width:124px;padding:8px 0}.phylocanvas-context-menu ul{padding:0}.phylocanvas-context-menu ul+ul{border-top:1px solid #e0e0e0;margin-top:8px;padding-top:8px}.phylocanvas-context-menu li{padding:0 16px;outline-color:#bdbdbd;height:40px;line-height:40px;text-decoration:none;background-color:transparent;cursor:pointer;font-size:13px;font-family:Helvetica,Arial,sans-serif}.phylocanvas-context-menu li:focus,.phylocanvas-context-menu li:hover{background-color:#eee}.phylocanvas-context-menu a{display:block;margin:0 -16px;padding:0 16px}.phylocanvas-context-menu a,.phylocanvas-context-menu li{color:rgba(0,0,0,.87);text-decoration:none;white-space:nowrap}",""])},function(e,t){"use strict";e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var a=this[o][0];"number"==typeof a&&(r[a]=!0)}for(o=0;o<t.length;o++){var i=t[o];"number"==typeof i[0]&&r[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=p[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(l(r.parts[a],t))}else{for(var i=[],a=0;a<r.parts.length;a++)i.push(l(r.parts[a],t));p[r.id]={id:r.id,refs:1,parts:i}}}}function o(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],a=o[0],i=o[1],s=o[2],u=o[3],l={css:i,media:s,sourceMap:u};n[a]?n[a].parts.push(l):t.push(n[a]={id:a,parts:[l]})}return t}function a(e,t){var n=m(),r=b[b.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),b.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=b.indexOf(e);t>=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function l(e,t){var n,r,o;if(t.singleton){var a=y++;n=g||(g=s(t)),r=c.bind(null,n,a,!1),o=c.bind(null,n,a,!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=d.bind(null,n),o=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=f.bind(null,n),o=function(){i(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 c(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var a=document.createTextNode(o),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function f(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 d(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"}),a=e.href;e.href=URL.createObjectURL(o),a&&URL.revokeObjectURL(a)}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 a=[],i=0;i<n.length;i++){var s=n[i],u=p[s.id];u.refs--,a.push(u)}if(e){var l=o(e);r(l,t)}for(var i=0;i<a.length;i++){var u=a[i];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete p[u.id]}}}};var x=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()}])})},function(e,t,n){"use strict";function r(e,t,n,r,o){}e.exports=r},function(e,t,n){"use strict";function r(){}var o=n(392);e.exports=function(){function e(e,t,n,r,a,i){if(i!==o){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(){return null}var o=n(954),a=n(392),i=n(951),s=function(){};e.exports=function(e,t){function n(e){var t=e&&(O&&e[O]||e[T]);if("function"==typeof t)return t}function u(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function l(e){this.message=e,this.stack=""}function c(e){function n(n,r,o,i,s,u,c){if(i=i||M,u=u||o,c!==a){if(t){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}return null==r[o]?n?new l(null===r[o]?"The "+s+" `"+u+"` is marked as required "+("in `"+i+"`, but its value is `null`."):"The "+s+" `"+u+"` is marked as required in "+("`"+i+"`, but its value is `undefined`.")):null:e(r,o,i,s,u)}var r=n.bind(null,!1);return r.isRequired=n.bind(null,!0),r}function f(e){function t(t,n,r,o,a,i){var s=t[n],u=C(s);if(u!==e){var c=S(s);return new l("Invalid "+o+" `"+a+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return c(t)}function d(){return c(r)}function p(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var u=C(s);return new l("Invalid "+o+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<s.length;c++){var f=e(s,c,r,o,i+"["+c+"]",a);if(f instanceof Error)return f}return null}return c(t)}function h(){function t(t,n,r,o,a){var i=t[n];if(!e(i)){var s=C(i);return new l("Invalid "+o+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return c(t)}function v(e){function t(t,n,r,o,a){if(!(t[n]instanceof e)){var i=e.name||M,s=P(t[n]);return new l("Invalid "+o+" `"+a+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+i+"`."))}return null}return c(t)}function m(e){function t(t,n,r,o,a){for(var i=t[n],s=0;s<e.length;s++)if(u(i,e[s]))return null;var c=JSON.stringify(e);return new l("Invalid "+o+" `"+a+"` of value `"+i+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return Array.isArray(e)?c(t):r}function g(e){function t(t,n,r,o,i){if("function"!=typeof e)return new l("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],u=C(s);if("object"!==u)return new l("Invalid "+o+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."));for(var c in s)if(s.hasOwnProperty(c)){var f=e(s,c,r,o,i+"."+c,a);if(f instanceof Error)return f}return null}return c(t)}function y(e){function t(t,n,r,o,i){for(var s=0;s<e.length;s++){var u=e[s];if(null==u(t,n,r,o,i,a))return null}return new l("Invalid "+o+" `"+i+"` supplied to "+("`"+r+"`."))}if(!Array.isArray(e))return r;for(var n=0;n<e.length;n++){var o=e[n];if("function"!=typeof o)return s("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(o)+" at index "+n+"."),r}return c(t)}function b(){function e(e,t,n,r,o){return _(e[t])?null:new l("Invalid "+r+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return c(e)}function x(e){function t(t,n,r,o,i){var s=t[n],u=C(s);if("object"!==u)return new l("Invalid "+o+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."));for(var c in e){var f=e[c];if(f){var d=f(s,c,r,o,i+"."+c,a);if(d)return d}}return null}return c(t)}function w(e){function t(t,n,r,i,s){var u=t[n],c=C(u);if("object"!==c)return new l("Invalid "+i+" `"+s+"` of type `"+c+"` "+("supplied to `"+r+"`, expected `object`."));var f=o({},t[n],e);for(var d in f){var p=e[d];if(!p)return new l("Invalid "+i+" `"+s+"` key `"+d+"` supplied to `"+r+"`.\nBad object: "+JSON.stringify(t[n],null,"  ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null,"  "));var h=p(u,d,r,i,s+"."+d,a);if(h)return h}return null}return c(t)}function _(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(_);if(null===t||e(t))return!0;var r=n(t);if(!r)return!1;var o,a=r.call(t);if(r!==t.entries){for(;!(o=a.next()).done;)if(!_(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!_(i[1]))return!1}return!0;default:return!1}}function k(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function C(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":k(t,e)?"symbol":t}function S(e){if("undefined"==typeof e||null===e)return""+e;var t=C(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=S(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function P(e){return e.constructor&&e.constructor.name?e.constructor.name:M}var O="function"==typeof Symbol&&Symbol.iterator,T="@@iterator",M="<<anonymous>>",A={array:f("array"),bool:f("boolean"),func:f("function"),number:f("number"),object:f("object"),string:f("string"),symbol:f("symbol"),any:d(),arrayOf:p,element:h(),instanceOf:v,node:b(),objectOf:g,oneOf:m,oneOfType:y,shape:x,exact:w};return l.prototype=Error.prototype,A.checkPropTypes=i,A.PropTypes=A,A}},function(e,t){/*
  	object-assign
  	(c) Sindre Sorhus
  	@license MIT
  	*/
  "use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,s,u=n(e),l=1;l<arguments.length;l++){r=Object(arguments[l]);for(var c in r)a.call(r,c)&&(u[c]=r[c]);if(o){s=o(r);for(var f=0;f<s.length;f++)i.call(r,s[f])&&(u[s[f]]=r[s[f]])}}return u}},function(e,t){e.exports="/*\n#GenomeAnnotation {\n  background: rgba(255,240,128,0.4)\n}\n#Blocks {\n  background: rgba(128,223,255,0.4)\n}\n#recombGraphDiv {\n  background: rgba(255,64,150,0.1)\n}\n#phyloDiv__canvas {\n  background: rgba(187,255,69,0.4)\n}\n*/\nbody{\n    margin: 5px;\n    /* by default 8px apparently! */\n}\n\n.dragHandle {\n  border-radius: 50%;\n  width: 150px;\n  height: 150px;\n  background: rgba(196,196,196,0.5);\n}\n\n.dragHandle:hover {\n  background: black;\n}\n\n\n/* transitions for animated logo */\nrect {\n  -webkit-transition: all 1.5s ease-in-out;\n  -moz-transition: all 1.5s ease-in-out;\n  transition: all 1.5s ease-in-out;\n}\n\n/* this prevents tool tips from messing with the div as they extend out of it...\n * BUT it introduces a vertical scroll bar. WTF!\n * http://stackoverflow.com/questions/6179831/overflow-x-adds-vertical-scrollbar\n*/\n/*#react {\n  overflow-x: hidden;\n}*/\n\n.noOverflow {\n  overflow-x: hidden;\n}\n\n/* disable scroll bars\nideally only on the canvassesDiv element but\nI can't seem to get this working, despite\nhttp://stackoverflow.com/questions/5952911/webkit-scrollbars-in-one-place-not-another\nso we apply it everywhere\n*/\n::-webkit-scrollbar {\n    display: none;\n}\n\n/* id outer used to wrap a vertically centered element - landing page */\n#outer {\n  width: 100%;\n  height: 90vh;\n  /*border: 1px solid #000;*/\n}\n.centeredVertically {\n  position: relative;\n  top: 50%;\n  /*border: #a0a0a0 solid 1px;*/\n  transform: translateY(-50%);\n}\n\n/* header element */\n#header {\n  width: 100%;\n  height: 25px;\n  position: fixed;\n  top: 0px;\n  left: 0px;\n  z-index: 100;\n  background: #D8D8D8;\n}\n.content {\n  position: relative;\n  top: 25px;\n}\n\n/* code snippets: */\ncode {\n  font-family: Courier, 'New Courier', monospace;\n  white-space: pre-wrap;\n  white-space: -moz-pre-wrap;\n  white-space: -o-pre-wrap;\n  word-wrap: break-word;\n  background: #D8D8D8;\n}\n\n.newline {\n  clear: both;\n}\n\n.inContainer {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n\n\n/*  S E T T I N G S */\n\n.fullpage {\n  z-index:10;\n  position: absolute;\n  width: 99%;\n  height: 97vh;\n}\n\n.padding10 {\n  padding-left: 10px;\n  padding-right: 10px;\n  padding-bottom: 10px;\n  padding-top: 10px\n}\n\n.padding2remImportant {\n  padding-left: 2rem !important;\n  padding-right: 2rem;\n  padding-bottom: 2rem;\n  padding-top: 2rem;\n}\n\n\n.bgwhite-alpha {\n  background: rgba(255,255,255,0.8);\n}\n\n.bgwhite {\n  background: white;\n}\n\n.bggray {\n  background: #d8d8d8;\n}\n\n/* SETIINVGS panel border (interior) */\n.border{\n    -webkit-box-shadow:inset 0px 0px 0px 2px #bbbbbb;\n    -moz-box-shadow:inset 0px 0px 0px 2px #bbbbbb;\n    box-shadow:inset 0px 0px 0px 2px #bbbbbb;\n}\n\n\n\ndiv.horizontalgap{padding-left: 10px; display: inline}\n\n.settings-col {\n  position: relative;\n  /*width: 22%;*/\n  float: left;\n  padding-left: 10px;\n  padding-right: 10px;\n  padding-bottom: 10px;\n  margin-left: 10px;\n  margin-right: 10px;\n  margin-bottom: 10px;\n  margin-top: 10px\n}\n\n.border10px {\n  padding-left: 10px;\n  padding-right: 10px;\n  padding-bottom: 10px;\n  margin-left: 10px;\n  margin-right: 10px;\n  margin-bottom: 10px;\n  margin-top: 10px\n}\n\n@media (max-width: 1000px) {\n  .settings-col{\n    width: calc(50% - 20px);\n  }\n}\n@media (min-width: 1000px) {\n  .settings-col{\n    width: calc(25% - 20px);\n  }\n}\n\n.hidden { display:none; }\n\n/*img.frontpage{\n    width:100%;\n    max-width:150px;\n    display: block;\n    margin: 0 auto;\n}*/\n\ninput[type=range]{\n  float: right;\n  margin: 0 0 0 0 !important;\n}\n\n\n.fitImageToBox {\n  width: 80%;\n  margin-left: auto;\n  margin-right: auto;\n}\n.fitImageToBox img {\n  width: 100%;\n  height: auto;\n}\n\n/* from materialize */\n.center, .center-align {\n  text-align: center; }\n\n\n.justifyText {\n  text-align: justify;\n}\n.justifyText:after {\n  content: \"\";\n  display: inline-block;\n  width: 100%;\n}\n\n.pointer {\n    cursor:pointer;\n    cursor:hand;\n}\n/*\n#logoLanding {\n  width:100%;\n  max-width:250px;\n}\n*/\n\n/* FONTS MOVED TO index.html */\n\n.heavy {\n  font-weight: 700;\n}\n\n.light {\n  font-weight: 300; }\n\na {\n  text-decoration: none; }\n\n.strikethorugh {\n  text-decoration: line-through;\n}\n\nhtml {\n  line-height: 1.5;\n  font-family: \"Lato\";\n  font-weight: normal;\n  color: rgba(0, 0, 0, 0.87);\n}\n@media only screen and (min-width: 0) {\n  html {\n    font-size: 14px; } }\n@media only screen and (min-width: 992px) {\n  html {\n    font-size: 14.5px; } }\n@media only screen and (min-width: 1200px) {\n  html {\n    font-size: 15px; } }\n\n.promo-caption {\n  font-size: 1.3rem;\n  font-weight: 700;\n  margin-top: 5px;\n  margin-bottom: 0; }\n\n\n.dots {\n  margin-left: auto;\n  margin-right: auto;\n  width: 8px;\n  height: 8px;\n  margin-top: 20px;\n  margin-bottom: 20px;\n  border-radius: 50%;\n  background: #b3b3b3;\n  box-shadow:\n    -50px 0px 0 0px #b3b3b3,\n    50px 0px 0 0px #b3b3b3;\n}\n\n\n\n\n\n\n\n\n/* http://tobiasahlin.com/spinkit/ */\n\n.sk-fading-circle {\n  margin: 100px auto;\n  width: 60px;\n  height: 60px;\n  position: absolute;\n  left: 50%;\n  top: 30vh;\n}\n\n.sk-fading-circle .sk-circle {\n  width: 100%;\n  height: 100%;\n  position: absolute;\n  left: 0;\n  top: 0;\n}\n\n.sk-fading-circle .sk-circle:before {\n  content: '';\n  display: block;\n  margin: 0 auto;\n  width: 15%;\n  height: 15%;\n  background-color: #888;\n  border-radius: 100%;\n  -webkit-animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;\n          animation: sk-circleFadeDelay 1.2s infinite ease-in-out both;\n}\n.sk-fading-circle .sk-circle2 {\n  -webkit-transform: rotate(30deg);\n      -ms-transform: rotate(30deg);\n          transform: rotate(30deg);\n}\n.sk-fading-circle .sk-circle3 {\n  -webkit-transform: rotate(60deg);\n      -ms-transform: rotate(60deg);\n          transform: rotate(60deg);\n}\n.sk-fading-circle .sk-circle4 {\n  -webkit-transform: rotate(90deg);\n      -ms-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n.sk-fading-circle .sk-circle5 {\n  -webkit-transform: rotate(120deg);\n      -ms-transform: rotate(120deg);\n          transform: rotate(120deg);\n}\n.sk-fading-circle .sk-circle6 {\n  -webkit-transform: rotate(150deg);\n      -ms-transform: rotate(150deg);\n          transform: rotate(150deg);\n}\n.sk-fading-circle .sk-circle7 {\n  -webkit-transform: rotate(180deg);\n      -ms-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n.sk-fading-circle .sk-circle8 {\n  -webkit-transform: rotate(210deg);\n      -ms-transform: rotate(210deg);\n          transform: rotate(210deg);\n}\n.sk-fading-circle .sk-circle9 {\n  -webkit-transform: rotate(240deg);\n      -ms-transform: rotate(240deg);\n          transform: rotate(240deg);\n}\n.sk-fading-circle .sk-circle10 {\n  -webkit-transform: rotate(270deg);\n      -ms-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n.sk-fading-circle .sk-circle11 {\n  -webkit-transform: rotate(300deg);\n      -ms-transform: rotate(300deg);\n          transform: rotate(300deg);\n}\n.sk-fading-circle .sk-circle12 {\n  -webkit-transform: rotate(330deg);\n      -ms-transform: rotate(330deg);\n          transform: rotate(330deg);\n}\n.sk-fading-circle .sk-circle2:before {\n  -webkit-animation-delay: -1.1s;\n          animation-delay: -1.1s;\n}\n.sk-fading-circle .sk-circle3:before {\n  -webkit-animation-delay: -1s;\n          animation-delay: -1s;\n}\n.sk-fading-circle .sk-circle4:before {\n  -webkit-animation-delay: -0.9s;\n          animation-delay: -0.9s;\n}\n.sk-fading-circle .sk-circle5:before {\n  -webkit-animation-delay: -0.8s;\n          animation-delay: -0.8s;\n}\n.sk-fading-circle .sk-circle6:before {\n  -webkit-animation-delay: -0.7s;\n          animation-delay: -0.7s;\n}\n.sk-fading-circle .sk-circle7:before {\n  -webkit-animation-delay: -0.6s;\n          animation-delay: -0.6s;\n}\n.sk-fading-circle .sk-circle8:before {\n  -webkit-animation-delay: -0.5s;\n          animation-delay: -0.5s;\n}\n.sk-fading-circle .sk-circle9:before {\n  -webkit-animation-delay: -0.4s;\n          animation-delay: -0.4s;\n}\n.sk-fading-circle .sk-circle10:before {\n  -webkit-animation-delay: -0.3s;\n          animation-delay: -0.3s;\n}\n.sk-fading-circle .sk-circle11:before {\n  -webkit-animation-delay: -0.2s;\n          animation-delay: -0.2s;\n}\n.sk-fading-circle .sk-circle12:before {\n  -webkit-animation-delay: -0.1s;\n          animation-delay: -0.1s;\n}\n\n@-webkit-keyframes sk-circleFadeDelay {\n  0%, 39%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n}\n\n@keyframes sk-circleFadeDelay {\n  0%, 39%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n}\n"},function(e,t){e.exports=".container-fluid{margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}.row{box-sizing:border-box;display:-ms-flexbox;display:-webkit-box;display:flex;-ms-flex:0 1 auto;-webkit-box-flex:0;flex:0 1 auto;-ms-flex-direction:row;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-1rem;margin-left:-1rem}.row.reverse{-ms-flex-direction:row-reverse;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.col.reverse{-ms-flex-direction:column-reverse;-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse}.col-xs,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{box-sizing:border-box;-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto;padding-right:1rem;padding-left:1rem}.col-xs{-webkit-flex-grow:1;-ms-flex-positive:1;-webkit-box-flex:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xs-1{-ms-flex-preferred-size:8.333%;flex-basis:8.333%;max-width:8.333%}.col-xs-2{-ms-flex-preferred-size:16.667%;flex-basis:16.667%;max-width:16.667%}.col-xs-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xs-4{-ms-flex-preferred-size:33.333%;flex-basis:33.333%;max-width:33.333%}.col-xs-5{-ms-flex-preferred-size:41.667%;flex-basis:41.667%;max-width:41.667%}.col-xs-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xs-7{-ms-flex-preferred-size:58.333%;flex-basis:58.333%;max-width:58.333%}.col-xs-8{-ms-flex-preferred-size:66.667%;flex-basis:66.667%;max-width:66.667%}.col-xs-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xs-10{-ms-flex-preferred-size:83.333%;flex-basis:83.333%;max-width:83.333%}.col-xs-11{-ms-flex-preferred-size:91.667%;flex-basis:91.667%;max-width:91.667%}.col-xs-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xs-offset-1{margin-left:8.333%}.col-xs-offset-2{margin-left:16.667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.333%}.col-xs-offset-5{margin-left:41.667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.333%}.col-xs-offset-8{margin-left:66.667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.333%}.col-xs-offset-11{margin-left:91.667%}.start-xs{-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start;text-align:start}.center-xs{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;text-align:center}.end-xs{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end;text-align:end}.top-xs{-ms-flex-align:start;-webkit-box-align:start;align-items:flex-start}.middle-xs{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.bottom-xs{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.around-xs{-ms-flex-pack:distribute;justify-content:space-around}.between-xs{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.first-xs{-ms-flex-order:-1;-webkit-box-ordinal-group:0;order:-1}.last-xs{-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}@media only screen and (min-width:48em){.container{width:46rem}.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{box-sizing:border-box;-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto;padding-right:1rem;padding-left:1rem}.col-sm{-webkit-flex-grow:1;-ms-flex-positive:1;-webkit-box-flex:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-sm-1{-ms-flex-preferred-size:8.333%;flex-basis:8.333%;max-width:8.333%}.col-sm-2{-ms-flex-preferred-size:16.667%;flex-basis:16.667%;max-width:16.667%}.col-sm-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-sm-4{-ms-flex-preferred-size:33.333%;flex-basis:33.333%;max-width:33.333%}.col-sm-5{-ms-flex-preferred-size:41.667%;flex-basis:41.667%;max-width:41.667%}.col-sm-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-sm-7{-ms-flex-preferred-size:58.333%;flex-basis:58.333%;max-width:58.333%}.col-sm-8{-ms-flex-preferred-size:66.667%;flex-basis:66.667%;max-width:66.667%}.col-sm-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-sm-10{-ms-flex-preferred-size:83.333%;flex-basis:83.333%;max-width:83.333%}.col-sm-11{-ms-flex-preferred-size:91.667%;flex-basis:91.667%;max-width:91.667%}.col-sm-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-sm-offset-1{margin-left:8.333%}.col-sm-offset-2{margin-left:16.667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.333%}.col-sm-offset-5{margin-left:41.667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.333%}.col-sm-offset-8{margin-left:66.667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.333%}.col-sm-offset-11{margin-left:91.667%}.start-sm{-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start;text-align:start}.center-sm{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;text-align:center}.end-sm{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end;text-align:end}.top-sm{-ms-flex-align:start;-webkit-box-align:start;align-items:flex-start}.middle-sm{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.bottom-sm{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.around-sm{-ms-flex-pack:distribute;justify-content:space-around}.between-sm{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.first-sm{-ms-flex-order:-1;-webkit-box-ordinal-group:0;order:-1}.last-sm{-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}}@media only screen and (min-width:62em){.container{width:61rem}.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{box-sizing:border-box;-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto;padding-right:1rem;padding-left:1rem}.col-md{-webkit-flex-grow:1;-ms-flex-positive:1;-webkit-box-flex:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-md-1{-ms-flex-preferred-size:8.333%;flex-basis:8.333%;max-width:8.333%}.col-md-2{-ms-flex-preferred-size:16.667%;flex-basis:16.667%;max-width:16.667%}.col-md-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-md-4{-ms-flex-preferred-size:33.333%;flex-basis:33.333%;max-width:33.333%}.col-md-5{-ms-flex-preferred-size:41.667%;flex-basis:41.667%;max-width:41.667%}.col-md-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-md-7{-ms-flex-preferred-size:58.333%;flex-basis:58.333%;max-width:58.333%}.col-md-8{-ms-flex-preferred-size:66.667%;flex-basis:66.667%;max-width:66.667%}.col-md-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-md-10{-ms-flex-preferred-size:83.333%;flex-basis:83.333%;max-width:83.333%}.col-md-11{-ms-flex-preferred-size:91.667%;flex-basis:91.667%;max-width:91.667%}.col-md-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-md-offset-1{margin-left:8.333%}.col-md-offset-2{margin-left:16.667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.333%}.col-md-offset-5{margin-left:41.667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.333%}.col-md-offset-8{margin-left:66.667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.333%}.col-md-offset-11{margin-left:91.667%}.start-md{-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start;text-align:start}.center-md{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;text-align:center}.end-md{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end;text-align:end}.top-md{-ms-flex-align:start;-webkit-box-align:start;align-items:flex-start}.middle-md{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.bottom-md{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.around-md{-ms-flex-pack:distribute;justify-content:space-around}.between-md{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.first-md{-ms-flex-order:-1;-webkit-box-ordinal-group:0;order:-1}.last-md{-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}}@media only screen and (min-width:75em){.container{width:71rem}.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{box-sizing:border-box;-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto;padding-right:1rem;padding-left:1rem}.col-lg{-webkit-flex-grow:1;-ms-flex-positive:1;-webkit-box-flex:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-lg-1{-ms-flex-preferred-size:8.333%;flex-basis:8.333%;max-width:8.333%}.col-lg-2{-ms-flex-preferred-size:16.667%;flex-basis:16.667%;max-width:16.667%}.col-lg-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-lg-4{-ms-flex-preferred-size:33.333%;flex-basis:33.333%;max-width:33.333%}.col-lg-5{-ms-flex-preferred-size:41.667%;flex-basis:41.667%;max-width:41.667%}.col-lg-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-lg-7{-ms-flex-preferred-size:58.333%;flex-basis:58.333%;max-width:58.333%}.col-lg-8{-ms-flex-preferred-size:66.667%;flex-basis:66.667%;max-width:66.667%}.col-lg-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-lg-10{-ms-flex-preferred-size:83.333%;flex-basis:83.333%;max-width:83.333%}.col-lg-11{-ms-flex-preferred-size:91.667%;flex-basis:91.667%;max-width:91.667%}.col-lg-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-lg-offset-1{margin-left:8.333%}.col-lg-offset-2{margin-left:16.667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.333%}.col-lg-offset-5{margin-left:41.667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.333%}.col-lg-offset-8{margin-left:66.667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.333%}.col-lg-offset-11{margin-left:91.667%}.start-lg{-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start;text-align:start}.center-lg{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center;text-align:center}.end-lg{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end;text-align:end}.top-lg{-ms-flex-align:start;-webkit-box-align:start;align-items:flex-start}.middle-lg{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.bottom-lg{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.around-lg{-ms-flex-pack:distribute;justify-content:space-around}.between-lg{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.first-lg{-ms-flex-order:-1;-webkit-box-ordinal-group:0;order:-1}.last-lg{-ms-flex-order:1;-webkit-box-ordinal-group:2;order:1}}"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function u(e){return Object.keys(e).reduce(function(t,n){return t[n]=(0,S.default)(e[n]),t},{})}function l(e){return["left","top","width","height"].map(function(t){return t+" "+e/1e3+"s ease-out"})}function c(e,t){function n(e){return r?100-100*f+"%":e-f+"px"}var r=e.fluid,o=e.dockStyle,a=e.dockHiddenStyle,i=e.duration,u=e.position,c=e.isVisible,f=t.size,d=t.isResizing,p=t.fullWidth,h=t.fullHeight,v=void 0,m=r?100*f+"%":f+"px";switch(u){case"left":v={width:m,left:c?0:"-"+m};break;case"right":v={left:c?n(p):p,width:m};break;case"top":v={top:c?0:"-"+m,height:m};break;case"bottom":v={top:c?n(h):h,height:m}}var g=l(i);return[E.dock,(0,S.default)({transition:[].concat(s(g),[!c&&"opacity 0.01s linear "+i/1e3+"s"]).filter(function(e){return e}).join(",")}),o,(0,S.default)(v),d&&E.dockResizing,!c&&E.dockHidden,!c&&a]}function f(e,t){var n=e.dimMode,r=e.dimStyle,o=e.duration,a=e.isVisible,i=t.isTransitionStarted;return[E.dim,(0,S.default)({transition:"opacity "+o/1e3+"s ease-out"}),r,"transparent"===n&&E.dimTransparent,!a&&E.dimHidden,i&&a&&E.dimAppear,i&&!a&&E.dimDisappear]}function d(e){var t=void 0,n=10;switch(e){case"left":t={right:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"right":t={left:-n/2,width:n,top:0,height:"100%",cursor:"col-resize"};break;case"top":t={bottom:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"};break;case"bottom":t={top:-n/2,height:n,left:0,width:"100%",cursor:"row-resize"}}return[E.resizer,(0,S.default)(t)]}function p(e,t,n){return"left"===e||"right"===e?t:n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h,v,m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=n(2),b=r(y),x=n(3),w=r(x),_=n(812),k=r(_),C=n(958),S=r(C),E=u({wrapper:{position:"fixed",width:0,height:0,top:0,left:0},dim:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:0,background:"rgba(0, 0, 0, 0.2)",opacity:1},dimAppear:{opacity:0},dimTransparent:{pointerEvents:"none"},dimHidden:{opacity:0},dock:{position:"fixed",zIndex:1,boxShadow:"0 0 4px rgba(0, 0, 0, 0.3)",background:"white",left:0,top:0,width:"100%",height:"100%"},dockHidden:{opacity:0},dockResizing:{transition:"none"},dockContent:{width:"100%",height:"100%",overflow:"auto"},resizer:{position:"absolute",zIndex:2,opacity:0}}),P=(v=h=function(e){function t(e){o(this,t);var n=a(this,Object.getPrototypeOf(t).call(this,e));return n.transitionEnd=function(){n.setState({isTransitionStarted:!1})},n.hideDim=function(){n.props.isVisible||n.setState({isDimHidden:!0})},n.handleDimClick=function(){"opaque"===n.props.dimMode&&n.props.onVisibleChange&&n.props.onVisibleChange(!1)},n.handleResize=function(){window.requestAnimationFrame?window.requestAnimationFrame(n.updateWindowSize.bind(n,!0)):n.updateWindowSize(!0)},n.updateWindowSize=function(e){var t={fullWidth:window.innerWidth,fullHeight:window.innerHeight};e?(n.setState(m({},t,{isResizing:!0,isWindowResizing:e})),n.debouncedUpdateWindowSizeEnd()):n.setState(t)},n.updateWindowSizeEnd=function(){n.setState({isResizing:!1,isWindowResizing:!1})},n.debouncedUpdateWindowSizeEnd=(0,k.default)(n.updateWindowSizeEnd,30),n.handleWrapperLeave=function(){n.setState({isResizing:!1})},n.handleMouseDown=function(){n.setState({isResizing:!0})},n.handleMouseUp=function(){n.setState({isResizing:!1})},n.handleMouseMove=function(e){if(n.state.isResizing&&!n.state.isWindowResizing){e.preventDefault();var t=n.props,r=t.position,o=t.fluid,a=n.state,i=a.fullWidth,s=a.fullHeight,u=a.isControlled,l=e.clientX,c=e.clientY,f=void 0;switch(r){case"left":f=o?l/i:l;break;case"right":f=o?(i-l)/i:i-l;break;case"top":f=o?c/s:c;break;case"bottom":f=o?(s-c)/s:s-c}n.props.onSizeChange&&n.props.onSizeChange(f),u||n.setState({size:f})}},n.state={isControlled:"undefined"!=typeof e.size,size:e.size||e.defaultSize,isDimHidden:!e.isVisible,fullWidth:"undefined"!=typeof window&&window.innerWidth,fullHeight:"undefined"!=typeof window&&window.innerHeight,isTransitionStarted:!1,isWindowResizing:!1},n}return i(t,e),g(t,[{key:"componentDidMount",value:function(){window.addEventListener("mouseup",this.handleMouseUp),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("resize",this.handleResize),window.fullWidth||this.updateWindowSize()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("mouseup",this.handleMouseUp),window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize)}},{key:"componentWillReceiveProps",value:function(e){var t="undefined"!=typeof e.size;this.setState({isControlled:t}),t&&this.props.size!==e.size?this.setState({size:e.size}):this.props.fluid!==e.fluid&&this.updateSize(e),this.props.isVisible!==e.isVisible&&this.setState({isTransitionStarted:!0})}},{key:"updateSize",value:function(e){var t=this.state,n=t.fullWidth,r=t.fullHeight;this.setState({size:e.fluid?this.state.size/p(e.position,n,r):p(e.position,n,r)*this.state.size})}},{key:"componentDidUpdate",value:function(e){var t=this;this.props.isVisible!==e.isVisible&&(this.props.isVisible?this.setState({isDimHidden:!1}):window.setTimeout(function(){return t.hideDim()},this.props.duration),window.setTimeout(function(){return t.setState({isTransitionStarted:!1})},0))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.zIndex,r=e.dimMode,o=e.position,a=e.isVisible,i=this.state,u=i.isResizing,l=i.size,p=i.isDimHidden,h=Object.assign.apply(Object,[{}].concat(s(f(this.props,this.state)))),v=Object.assign.apply(Object,[{}].concat(s(c(this.props,this.state)))),m=Object.assign.apply(Object,[{}].concat(s(d(o))));return b.default.createElement("div",{style:Object.assign({},E.wrapper,{zIndex:n})},"none"!==r&&!p&&b.default.createElement("div",{style:h,onClick:this.handleDimClick}),b.default.createElement("div",{style:v},b.default.createElement("div",{style:m,onMouseDown:this.handleMouseDown}),b.default.createElement("div",{style:E.dockContent},"function"==typeof t?t({position:o,isResizing:u,size:l,isVisible:a}):t)))}}]),t}(y.Component),h.propTypes={position:w.default.oneOf(["left","right","top","bottom"]),zIndex:w.default.number,fluid:w.default.bool,size:w.default.number,defaultSize:w.default.number,dimMode:w.default.oneOf(["none","transparent","opaque"]),isVisible:w.default.bool,onVisibleChange:w.default.func,onSizeChange:w.default.func,dimStyle:w.default.object,dockStyle:w.default.object,duration:w.default.number},h.defaultProps={position:"left",zIndex:99999999,fluid:!0,defaultSize:.3,dimMode:"opaque",duration:200},v);t.default=P},function(e,t){"use strict";function n(e,t){return i.reduce(function(n,r){return n[r+e[0].toUpperCase()+e.substr(1)]=t,n},{})}function r(e){return Object.keys(e).reduce(function(t,r){return a.indexOf(r)!==-1?o({},t,n(r,e[r])):t},e)}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=r;var a=["animation","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction","appearance","backfaceVisibility","backgroundClip","borderImage","borderImageSlice","boxSizing","boxShadow","contentColumns","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","perspective","perspectiveOrigin","userSelect"],i=["Moz","Webkit","ms","O"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(957),a=r(o);t.default=a.default},function(e,t){"use strict";var n={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};e.exports=n},function(e,t,n){"use strict";var r=n(20),o=n(337),a={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};e.exports=a},function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function a(e){switch(e){case"topCompositionStart":return E.compositionStart;case"topCompositionEnd":return E.compositionEnd;case"topCompositionUpdate":return E.compositionUpdate}}function i(e,t){return"topKeyDown"===e&&t.keyCode===b}function s(e,t){switch(e){case"topKeyUp":return y.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==b;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function u(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r){var o,l;if(x?o=a(e):O?s(e,n)&&(o=E.compositionEnd):i(e,n)&&(o=E.compositionStart),!o)return null;k&&(O||o!==E.compositionStart?o===E.compositionEnd&&O&&(l=O.getData()):O=v.getPooled(r));var c=m.getPooled(o,t,n,r);if(l)c.data=l;else{var f=u(n);null!==f&&(c.data=f)}return p.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return u(t);case"topKeyPress":var n=t.which;return n!==C?null:(P=!0,S);case"topTextInput":var r=t.data;return r===S&&P?null:r;default:return null}}function f(e,t){if(O){if("topCompositionEnd"===e||!x&&s(e,t)){var n=O.getData();return v.release(O),O=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return k?null:t.data;default:return null}}function d(e,t,n,r){var o;if(o=_?c(e,n):f(e,n),!o)return null;var a=g.getPooled(E.beforeInput,t,n,r);
  return a.data=o,p.accumulateTwoPhaseDispatches(a),a}var p=n(104),h=n(28),v=n(969),m=n(1006),g=n(1009),y=[9,13,27,32],b=229,x=h.canUseDOM&&"CompositionEvent"in window,w=null;h.canUseDOM&&"documentMode"in document&&(w=document.documentMode);var _=h.canUseDOM&&"TextEvent"in window&&!w&&!r(),k=h.canUseDOM&&(!x||w&&w>8&&w<=11),C=32,S=String.fromCharCode(C),E={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},P=!1,O=null,T={eventTypes:E,extractEvents:function(e,t,n,r){return[l(e,t,n,r),d(e,t,n,r)]}};e.exports=T},function(e,t,n){"use strict";var r=n(393),o=n(28),a=(n(44),n(775),n(1015)),i=n(782),s=n(786),u=(n(10),s(function(e){return i(e)})),l=!1,c="cssFloat";if(o.canUseDOM){var f=document.createElement("div").style;try{f.font=""}catch(e){l=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var d={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=0===r.indexOf("--"),i=e[r];null!=i&&(n+=u(r)+":",n+=a(r,i,t,o)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var i in t)if(t.hasOwnProperty(i)){var s=0===i.indexOf("--"),u=a(i,t[i],n,s);if("float"!==i&&"cssFloat"!==i||(i=c),s)o.setProperty(i,u);else if(u)o[i]=u;else{var f=l&&r.shorthandPropertyExpansions[i];if(f)for(var d in f)o[d]="";else o[i]=""}}}};e.exports=d},function(e,t,n){"use strict";function r(e,t,n){var r=E.getPooled(A.change,e,t,n);return r.type="change",_.accumulateTwoPhaseDispatches(r),r}function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function a(e){var t=r(R,e,O(e));S.batchedUpdates(i,t)}function i(e){w.enqueueEvents(e),w.processEventQueue(!1)}function s(e,t){j=e,R=t,j.attachEvent("onchange",a)}function u(){j&&(j.detachEvent("onchange",a),j=null,R=null)}function l(e,t){var n=P.updateValueIfChanged(e),r=t.simulated===!0&&D._allowSimulatedPassThrough;if(n||r)return e}function c(e,t){if("topChange"===e)return t}function f(e,t,n){"topFocus"===e?(u(),s(t,n)):"topBlur"===e&&u()}function d(e,t){j=e,R=t,j.attachEvent("onpropertychange",h)}function p(){j&&(j.detachEvent("onpropertychange",h),j=null,R=null)}function h(e){"value"===e.propertyName&&l(R,e)&&a(e)}function v(e,t,n){"topFocus"===e?(p(),d(t,n)):"topBlur"===e&&p()}function m(e,t,n){if("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)return l(R,n)}function g(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function y(e,t,n){if("topClick"===e)return l(t,n)}function b(e,t,n){if("topInput"===e||"topChange"===e)return l(t,n)}function x(e,t){if(null!=e){var n=e._wrapperState||t._wrapperState;if(n&&n.controlled&&"number"===t.type){var r=""+t.value;t.getAttribute("value")!==r&&t.setAttribute("value",r)}}}var w=n(103),_=n(104),k=n(28),C=n(20),S=n(54),E=n(61),P=n(408),O=n(260),T=n(261),M=n(410),A={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},j=null,R=null,N=!1;k.canUseDOM&&(N=T("change")&&(!document.documentMode||document.documentMode>8));var I=!1;k.canUseDOM&&(I=T("input")&&(!document.documentMode||document.documentMode>9));var D={eventTypes:A,_allowSimulatedPassThrough:!0,_isInputEventSupported:I,extractEvents:function(e,t,n,a){var i,s,u=t?C.getNodeFromInstance(t):window;if(o(u)?N?i=c:s=f:M(u)?I?i=b:(i=m,s=v):g(u)&&(i=y),i){var l=i(e,t,n);if(l){var d=r(l,n,a);return d}}s&&s(e,u,t),"topBlur"===e&&x(t,u)}};e.exports=D},function(e,t,n){"use strict";var r=n(9),o=n(101),a=n(28),i=n(778),s=n(51),u=(n(4),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(a.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=i(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});e.exports=u},function(e,t){"use strict";var n=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=n},function(e,t,n){"use strict";var r=n(104),o=n(20),a=n(169),i={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:i,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var u;if(s.window===s)u=s;else{var l=s.ownerDocument;u=l?l.defaultView||l.parentWindow:window}var c,f;if("topMouseOut"===e){c=t;var d=n.relatedTarget||n.toElement;f=d?o.getClosestInstanceFromNode(d):null}else c=null,f=t;if(c===f)return null;var p=null==c?u:o.getNodeFromInstance(c),h=null==f?u:o.getNodeFromInstance(f),v=a.getPooled(i.mouseLeave,c,n,s);v.type="mouseleave",v.target=p,v.relatedTarget=h;var m=a.getPooled(i.mouseEnter,f,n,s);return m.type="mouseenter",m.target=h,m.relatedTarget=p,r.accumulateEnterLeaveDispatches(v,m,c,f),[v,m]}};e.exports=s},function(e,t){"use strict";var n={topAbort:null,topAnimationEnd:null,topAnimationIteration:null,topAnimationStart:null,topBlur:null,topCanPlay:null,topCanPlayThrough:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topDurationChange:null,topEmptied:null,topEncrypted:null,topEnded:null,topError:null,topFocus:null,topInput:null,topInvalid:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topLoadedData:null,topLoadedMetadata:null,topLoadStart:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topPause:null,topPlay:null,topPlaying:null,topProgress:null,topRateChange:null,topReset:null,topScroll:null,topSeeked:null,topSeeking:null,topSelectionChange:null,topStalled:null,topSubmit:null,topSuspend:null,topTextInput:null,topTimeUpdate:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topTransitionEnd:null,topVolumeChange:null,topWaiting:null,topWheel:null},r={topLevelTypes:n};e.exports=r},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=n(23),a=n(83),i=n(407);o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r=n(102),o=r.injection.MUST_USE_PROPERTY,a=r.injection.HAS_BOOLEAN_VALUE,i=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,u=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,l={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:a,allowTransparency:0,alt:0,as:0,async:a,autoComplete:0,autoPlay:a,capture:a,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|a,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:a,controlsList:0,coords:0,crossOrigin:0,data:0,dateTime:0,default:a,defer:a,dir:0,disabled:a,download:u,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:a,formTarget:0,frameBorder:0,headers:0,height:0,hidden:a,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:a,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|a,muted:o|a,name:0,nonce:0,noValidate:a,open:a,optimum:0,pattern:0,placeholder:0,playsInline:a,poster:0,preload:0,profile:0,radioGroup:0,readOnly:a,referrerPolicy:0,rel:0,required:a,reversed:a,role:0,rows:s,rowSpan:i,sandbox:0,scope:0,scoped:a,scrolling:0,seamless:a,selected:o|a,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:i,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:a,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{},DOMMutationMethods:{value:function(e,t){return null==t?e.removeAttribute("value"):void("number"!==e.type||e.hasAttribute("value")===!1?e.setAttribute("value",""+t):e.validity&&!e.validity.badInput&&e.ownerDocument.activeElement!==e&&e.setAttribute("value",""+t))}}};e.exports=l},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=a(t,!0))}var o=n(105),a=n(409),i=(n(251),n(262)),s=n(412),u=(n(10),{instantiateChildren:function(e,t,n,o){if(null==e)return null;var a={};return s(e,r,a),a},updateChildren:function(e,t,n,r,s,u,l,c,f){if(t||e){var d,p;for(d in t)if(t.hasOwnProperty(d)){p=e&&e[d];var h=p&&p._currentElement,v=t[d];if(null!=p&&i(h,v))o.receiveComponent(p,v,s,c),t[d]=p;else{p&&(r[d]=o.getHostNode(p),o.unmountComponent(p,!1));var m=a(v,!0);t[d]=m;var g=o.mountComponent(m,s,u,l,c,f);n.push(g)}}for(d in e)!e.hasOwnProperty(d)||t&&t.hasOwnProperty(d)||(p=e[d],r[d]=o.getHostNode(p),o.unmountComponent(p,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}});e.exports=u}).call(t,n(247))},function(e,t,n){"use strict";var r=n(248),o=n(979),a={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};e.exports=a},function(e,t,n){"use strict";function r(e){}function o(e,t){}function a(e){return!(!e.prototype||!e.prototype.isReactComponent)}function i(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=n(9),u=n(23),l=n(108),c=n(253),f=n(62),d=n(254),p=n(128),h=(n(44),n(403)),v=n(105),m=n(149),g=(n(4),n(123)),y=n(262),b=(n(10),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=p.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var x=1,w={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,u){this._context=u,this._mountOrder=x++,this._hostParent=t,this._hostContainerInfo=n;var c,f=this._currentElement.props,d=this._processContext(u),h=this._currentElement.type,v=e.getUpdateQueue(),g=a(h),y=this._constructComponent(g,f,d,v);g||null!=y&&null!=y.render?i(h)?this._compositeType=b.PureClass:this._compositeType=b.ImpureClass:(c=y,o(h,c),null===y||y===!1||l.isValidElement(y)?void 0:s("105",h.displayName||h.name||"Component"),y=new r(h),this._compositeType=b.StatelessFunctional);y.props=f,y.context=d,y.refs=m,y.updater=v,this._instance=y,p.set(y,this);var w=y.state;void 0===w&&(y.state=w=null),"object"!=typeof w||Array.isArray(w)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var _;return _=y.unstable_handleError?this.performInitialMountWithErrorHandling(c,t,n,e,u):this.performInitialMount(c,t,n,e,u),y.componentDidMount&&e.getReactMountReady().enqueue(y.componentDidMount,y),_},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(i),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(e,t,n,r,o)}return a},performInitialMount:function(e,t,n,r,o){var a=this._instance,i=0;a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var u=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=u;var l=v.mountComponent(u,r,t,n,this._processChildContext(o),i);return l},getHostNode:function(){return v.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";d.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(v.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return m;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return u({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?v.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var a=this._instance;null==a?s("136",this.getName()||"ReactCompositeComponent"):void 0;var i,u=!1;this._context===o?i=a.context:(i=this._processContext(o),u=!0);var l=t.props,c=n.props;t!==n&&(u=!0),u&&a.componentWillReceiveProps&&a.componentWillReceiveProps(c,i);var f=this._processPendingState(c,i),d=!0;this._pendingForceUpdate||(a.shouldComponentUpdate?d=a.shouldComponentUpdate(c,f,i):this._compositeType===b.PureClass&&(d=!g(l,c)||!g(a.state,f))),this._updateBatchNumber=null,d?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,f,i,e,o)):(this._currentElement=n,this._context=o,a.props=c,a.state=f,a.context=i)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=u({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var s=r[i];u(a,"function"==typeof s?s.call(n,a,e,t):s)}return a},_performComponentUpdate:function(e,t,n,r,o,a){var i,s,u,l=this._instance,c=Boolean(l.componentDidUpdate);c&&(i=l.props,s=l.state,u=l.context),l.componentWillUpdate&&l.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,l.props=t,l.state=n,l.context=r,this._updateRenderedComponent(o,a),c&&o.getReactMountReady().enqueue(l.componentDidUpdate.bind(l,i,s,u),l)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),a=0;if(y(r,o))v.receiveComponent(n,o,e,this._processChildContext(t));else{var i=v.getHostNode(n);v.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var u=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=u;var l=v.mountComponent(u,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),a);this._replaceNodeWithMarkup(i,l,n)}},_replaceNodeWithMarkup:function(e,t,n){c.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==b.StatelessFunctional){f.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{f.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||l.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),o=n.refs===m?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===b.StatelessFunctional?null:e},_instantiateReactComponent:null};e.exports=w},function(e,t,n){"use strict";var r=n(20),o=n(987),a=n(402),i=n(105),s=n(54),u=n(1e3),l=n(1016),c=n(406),f=n(1023);n(10);o.inject();var d={findDOMNode:l,render:a.render,unmountComponentAtNode:a.unmountComponentAtNode,version:u,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:f};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:a,Reconciler:i});e.exports=d},function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&($[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&q in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function a(e,t,n,r){if(!(r instanceof N)){var o=e._hostContainerInfo,a=o._node&&o._node.nodeType===V,s=a?o._node:o._ownerDocument;W(t,s),r.getReactMountReady().enqueue(i,{inst:e,registrationName:t,listener:n})}}function i(){var e=this;C.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;T.postMountWrapper(e)}function u(){var e=this;j.postMountWrapper(e)}function l(){var e=this;M.postMountWrapper(e)}function c(){D.track(this)}function f(){var e=this;e._rootNodeID?void 0:m("63");var t=B(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[E.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in K)K.hasOwnProperty(n)&&e._wrapperState.listeners.push(E.trapBubbledEvent(n,K[n],t));break;case"source":e._wrapperState.listeners=[E.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[E.trapBubbledEvent("topError","error",t),E.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[E.trapBubbledEvent("topReset","reset",t),E.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[E.trapBubbledEvent("topInvalid","invalid",t)]}}function d(){A.postUpdateWrapper(this)}function p(e){J.call(Q,e)||(Z.test(e)?void 0:m("65",e),Q[e]=!0)}function h(e,t){return e.indexOf("-")>=0||null!=t.is}function v(e){var t=e.type;p(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=n(9),g=n(23),y=n(961),b=n(963),x=n(101),w=n(249),_=n(102),k=n(395),C=n(103),S=n(250),E=n(168),P=n(396),O=n(20),T=n(980),M=n(981),A=n(397),j=n(984),R=(n(44),n(993)),N=n(998),I=(n(51),n(171)),D=(n(4),n(261),n(123),n(408)),L=(n(263),n(10),P),F=C.deleteListener,B=O.getNodeFromInstance,W=E.listenTo,U=S.registrationNameModules,z={string:!0,number:!0},G="style",q="__html",H={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},V=11,K={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},Y={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},X={listing:!0,pre:!0,textarea:!0},$=g({menuitem:!0},Y),Z=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q={},J={}.hasOwnProperty,ee=1;v.displayName="ReactDOMComponent",v.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=ee++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var a=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(f,this);break;case"input":T.mountWrapper(this,a,t),a=T.getHostProps(this,a),e.getReactMountReady().enqueue(c,this),e.getReactMountReady().enqueue(f,this);break;case"option":M.mountWrapper(this,a,t),a=M.getHostProps(this,a);break;case"select":A.mountWrapper(this,a,t),a=A.getHostProps(this,a),e.getReactMountReady().enqueue(f,this);break;case"textarea":j.mountWrapper(this,a,t),a=j.getHostProps(this,a),e.getReactMountReady().enqueue(c,this),e.getReactMountReady().enqueue(f,this)}o(this,a);var i,d;null!=t?(i=t._namespaceURI,d=t._tag):n._tag&&(i=n._namespaceURI,d=n._tag),(null==i||i===w.svg&&"foreignobject"===d)&&(i=w.html),i===w.html&&("svg"===this._tag?i=w.svg:"math"===this._tag&&(i=w.mathml)),this._namespaceURI=i;var p;if(e.useCreateElement){var h,v=n._ownerDocument;if(i===w.html)if("script"===this._tag){var m=v.createElement("div"),g=this._currentElement.type;m.innerHTML="<"+g+"></"+g+">",h=m.removeChild(m.firstChild)}else h=a.is?v.createElement(this._currentElement.type,a.is):v.createElement(this._currentElement.type);else h=v.createElementNS(i,this._currentElement.type);O.precacheNode(this,h),this._flags|=L.hasCachedChildNodes,this._hostParent||k.setAttributeForRoot(h),this._updateDOMProperties(null,a,e);var b=x(h);this._createInitialChildren(e,a,r,b),p=b}else{var _=this._createOpenTagMarkupAndPutListeners(e,a),C=this._createContentMarkup(e,a,r);p=!C&&Y[this._tag]?_+"/>":_+">"+C+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),a.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(u,this),a.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"select":a.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"button":a.autoFocus&&e.getReactMountReady().enqueue(y.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(l,this)}return p},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(U.hasOwnProperty(r))o&&a(this,r,o,e);else{r===G&&(o&&(o=this._previousStyleCopy=g({},t.style)),o=b.createMarkupForStyles(o,this));var i=null;null!=this._tag&&h(this._tag,t)?H.hasOwnProperty(r)||(i=k.createMarkupForCustomAttribute(r,o)):i=k.createMarkupForProperty(r,o),i&&(n+=" "+i)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+k.createMarkupForRoot()),n+=" "+k.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=z[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=I(a);else if(null!=i){var s=this.mountChildren(i,e,n);r=s.join("")}}return X[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&x.queueHTML(r,o.__html);else{var a=z[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)""!==a&&x.queueText(r,a);else if(null!=i)for(var s=this.mountChildren(i,e,n),u=0;u<s.length;u++)x.queueChild(r,s[u])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,r){var a=t.props,i=this._currentElement.props;switch(this._tag){case"input":a=T.getHostProps(this,a),i=T.getHostProps(this,i);break;case"option":a=M.getHostProps(this,a),i=M.getHostProps(this,i);break;case"select":a=A.getHostProps(this,a),i=A.getHostProps(this,i);break;case"textarea":a=j.getHostProps(this,a),i=j.getHostProps(this,i)}switch(o(this,i),this._updateDOMProperties(a,i,e),this._updateDOMChildren(a,i,e,r),this._tag){case"input":T.updateWrapper(this),D.updateValueIfChanged(this);break;case"textarea":j.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(d,this)}},_updateDOMProperties:function(e,t,n){var r,o,i;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===G){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(i=i||{},i[o]="");this._previousStyleCopy=null}else U.hasOwnProperty(r)?e[r]&&F(this,r):h(this._tag,e)?H.hasOwnProperty(r)||k.deleteValueForAttribute(B(this),r):(_.properties[r]||_.isCustomAttribute(r))&&k.deleteValueForProperty(B(this),r);for(r in t){var u=t[r],l=r===G?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&u!==l&&(null!=u||null!=l))if(r===G)if(u?u=this._previousStyleCopy=g({},u):this._previousStyleCopy=null,l){for(o in l)!l.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(i=i||{},i[o]="");for(o in u)u.hasOwnProperty(o)&&l[o]!==u[o]&&(i=i||{},i[o]=u[o])}else i=u;else if(U.hasOwnProperty(r))u?a(this,r,u,n):l&&F(this,r);else if(h(this._tag,t))H.hasOwnProperty(r)||k.setValueForAttribute(B(this),r,u);else if(_.properties[r]||_.isCustomAttribute(r)){var c=B(this);null!=u?k.setValueForProperty(c,r,u):k.deleteValueForProperty(c,r)}}i&&b.setValueForStyles(B(this),i,this)},_updateDOMChildren:function(e,t,n,r){var o=z[typeof e.children]?e.children:null,a=z[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,u=null!=o?null:e.children,l=null!=a?null:t.children,c=null!=o||null!=i,f=null!=a||null!=s;null!=u&&null==l?this.updateChildren(null,n,r):c&&!f&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=s?i!==s&&this.updateMarkup(""+s):null!=l&&this.updateChildren(l,n,r)},getHostNode:function(){return B(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"input":case"textarea":D.stopTracking(this);break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),O.uncacheNode(this),C.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return B(this)}},g(v.prototype,v.Mixin,R.Mixin),e.exports=v},function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(n(263),9);e.exports=r},function(e,t,n){"use strict";var r=n(23),o=n(101),a=n(20),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var u=n._ownerDocument,l=u.createComment(s);return a.precacheNode(this,l),o(l)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),e.exports=i},function(e,t){"use strict";var n={useCreateElement:!0,useFiber:!1};e.exports=n},function(e,t,n){"use strict";var r=n(248),o=n(20),a={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};e.exports=a},function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t="checkbox"===e.type||"radio"===e.type;return t?null!=e.checked:null!=e.value}function a(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);f.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var a=c.getNodeFromInstance(this),s=a;s.parentNode;)s=s.parentNode;for(var u=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),d=0;d<u.length;d++){var p=u[d];if(p!==a&&p.form===a.form){var h=c.getInstanceFromNode(p);h?void 0:i("90"),f.asap(r,h)}}}return n}var i=n(9),s=n(23),u=n(395),l=n(252),c=n(20),f=n(54),d=(n(4),n(10),{getHostProps:function(e,t){var n=l.getValue(t),r=l.getChecked(t),o=s({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:a.bind(e),controlled:o(t)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&u.setValueForProperty(c.getNodeFromInstance(e),"checked",n||!1);var r=c.getNodeFromInstance(e),o=l.getValue(t);
  if(null!=o)if(0===o&&""===r.value)r.value="0";else if("number"===t.type){var a=parseFloat(r.value,10)||0;(o!=a||o==a&&r.value!=o)&&(r.value=""+o)}else r.value!==""+o&&(r.value=""+o);else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=c.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});e.exports=d},function(e,t,n){"use strict";function r(e){var t="";return a.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:u||(u=!0))}),t}var o=n(23),a=n(108),i=n(20),s=n(397),u=(n(10),!1),l={mountWrapper:function(e,t,n){var o=null;if(null!=n){var a=n;"optgroup"===a._tag&&(a=a._hostParent),null!=a&&"select"===a._tag&&(o=s.getSelectValueContext(a))}var i=null;if(null!=o){var u;if(u=null!=t.value?t.value+"":r(t.children),i=!1,Array.isArray(o)){for(var l=0;l<o.length;l++)if(""+o[l]===u){i=!0;break}}else i=""+o===u}e._wrapperState={selected:i}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=i.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var a=r(t.children);return a&&(n.children=a),n}};e.exports=l},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var a=o.text.length,i=a+r;return{start:a,end:i}}function a(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,a=t.focusNode,i=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var u=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=u?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var f=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),d=f?0:c.toString().length,p=d+l,h=document.createRange();h.setStart(n,o),h.setEnd(a,i);var v=h.collapsed;return{start:v?p:d,end:v?d:p}}function i(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=l(e,o),u=l(e,a);if(s&&u){var f=document.createRange();f.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(f),n.extend(u.node,u.offset)):(f.setEnd(u.node,u.offset),n.addRange(f))}}}var u=n(28),l=n(1020),c=n(407),f=u.canUseDOM&&"selection"in document&&!("getSelection"in window),d={getOffsets:f?o:a,setOffsets:f?i:s};e.exports=d},function(e,t,n){"use strict";var r=n(9),o=n(23),a=n(248),i=n(101),s=n(20),u=n(171),l=(n(4),n(263),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(l.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,a=" react-text: "+o+" ",l=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,f=c.createComment(a),d=c.createComment(l),p=i(c.createDocumentFragment());return i.queueChild(p,i(f)),this._stringText&&i.queueChild(p,i(c.createTextNode(this._stringText))),i.queueChild(p,i(d)),s.precacheNode(this,f),this._closingComment=d,p}var h=u(this._stringText);return e.renderToStaticMarkup?h:"<!--"+a+"-->"+h+"<!--"+l+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();a.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),e.exports=l},function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return l.asap(r,this),n}var a=n(9),i=n(23),s=n(252),u=n(20),l=n(54),c=(n(4),n(10),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?a("91"):void 0;var n=i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var i=t.defaultValue,u=t.children;null!=u&&(null!=i?a("92"):void 0,Array.isArray(u)&&(u.length<=1?void 0:a("93"),u=u[0]),i=""+u),null==i&&(i=""),r=i}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=u.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});e.exports=c},function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:u("33"),"_hostNode"in t?void 0:u("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,a=t;a;a=a._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var i=n;i--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:u("35"),"_hostNode"in t?void 0:u("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function a(e){return"_hostNode"in e?void 0:u("36"),e._hostParent}function i(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function s(e,t,n,o,a){for(var i=e&&t?r(e,t):null,s=[];e&&e!==i;)s.push(e),e=e._hostParent;for(var u=[];t&&t!==i;)u.push(t),t=t._hostParent;var l;for(l=0;l<s.length;l++)n(s[l],"bubbled",o);for(l=u.length;l-- >0;)n(u[l],"captured",a)}var u=n(9);n(4);e.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:a,traverseTwoPhase:i,traverseEnterLeave:s}},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=n(23),a=n(54),i=n(170),s=n(51),u={initialize:s,close:function(){d.isBatchingUpdates=!1}},l={initialize:s,close:a.flushBatchedUpdates.bind(a)},c=[l,u];o(r.prototype,i,{getTransactionWrappers:function(){return c}});var f=new r,d={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=d.isBatchingUpdates;return d.isBatchingUpdates=!0,i?e(t,n,r,o,a):f.perform(e,null,t,n,r,o,a)}};e.exports=d},function(e,t,n){"use strict";function r(){k||(k=!0,y.EventEmitter.injectReactEventListener(g),y.EventPluginHub.injectEventPluginOrder(s),y.EventPluginUtils.injectComponentTree(d),y.EventPluginUtils.injectTreeTraversal(h),y.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:_,EnterLeaveEventPlugin:u,ChangeEventPlugin:i,SelectEventPlugin:w,BeforeInputEventPlugin:a}),y.HostComponent.injectGenericComponentClass(f),y.HostComponent.injectTextComponentClass(v),y.DOMProperty.injectDOMPropertyConfig(o),y.DOMProperty.injectDOMPropertyConfig(l),y.DOMProperty.injectDOMPropertyConfig(x),y.EmptyComponent.injectEmptyComponentFactory(function(e){return new p(e)}),y.Updates.injectReconcileTransaction(b),y.Updates.injectBatchingStrategy(m),y.Component.injectEnvironment(c))}var o=n(960),a=n(962),i=n(964),s=n(966),u=n(967),l=n(970),c=n(972),f=n(975),d=n(20),p=n(977),h=n(985),v=n(983),m=n(986),g=n(990),y=n(991),b=n(996),x=n(1001),w=n(1002),_=n(1003),k=!1;e.exports={inject:r}},function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n},function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=n(103),a={handleTopLevel:function(e,t,n,a){var i=o.extractEvents(e,t,n,a);r(i)}};e.exports=a},function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=f.getNodeFromInstance(e),n=t.parentNode;return f.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){var t=p(e.nativeEvent),n=f.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var a=0;a<e.ancestors.length;a++)n=e.ancestors[a],v._handleTopLevel(e.topLevelType,n,e.nativeEvent,p(e.nativeEvent))}function i(e){var t=h(window);e(t)}var s=n(23),u=n(336),l=n(28),c=n(83),f=n(20),d=n(54),p=n(260),h=n(780);s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:l.canUseDOM?window:null,setHandleTopLevel:function(e){v._handleTopLevel=e},setEnabled:function(e){v._enabled=!!e},isEnabled:function(){return v._enabled},trapBubbledEvent:function(e,t,n){return n?u.listen(n,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?u.capture(n,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=i.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=o.getPooled(e,t);try{d.batchedUpdates(a,n)}finally{o.release(n)}}}};e.exports=v},function(e,t,n){"use strict";var r=n(102),o=n(103),a=n(167),i=n(253),s=n(398),u=n(168),l=n(400),c=n(54),f={Component:i.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:a.injection,EventEmitter:u.injection,HostComponent:l.injection,Updates:c.injection};e.exports=f},function(e,t,n){"use strict";var r=n(1014),o=/\/?>/,a=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return a.test(e)?e:e.replace(o," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:d.getHostNode(e),toIndex:n,afterNode:t}}function a(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function i(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function u(e,t){return t&&(e=e||[],e.push(t)),e}function l(e,t){f.processChildrenUpdates(e,t)}var c=n(9),f=n(253),d=(n(128),n(44),n(62),n(105)),p=n(971),h=(n(51),n(1017)),v=(n(4),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,a){var i,s=0;return i=h(t,s),p.updateChildren(e,i,n,r,o,this,this._hostContainerInfo,a,s),i},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],u=0,l=d.mountComponent(s,t,this,this._hostContainerInfo,n,u);s._mountIndex=a++,o.push(l)}return o},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];l(this,r)},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[i(e)];l(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},a=[],i=this._reconcilerUpdateChildren(r,e,a,o,t,n);if(i||r){var s,c=null,f=0,p=0,h=0,v=null;for(s in i)if(i.hasOwnProperty(s)){var m=r&&r[s],g=i[s];m===g?(c=u(c,this.moveChild(m,v,f,p)),p=Math.max(m._mountIndex,p),m._mountIndex=f):(m&&(p=Math.max(m._mountIndex,p)),c=u(c,this._mountChildAtIndex(g,a[h],v,f,t,n)),h++),f++,v=d.getHostNode(g)}for(s in o)o.hasOwnProperty(s)&&(c=u(c,this._unmountChild(r[s],o[s])));c&&l(this,c),this._renderedChildren=i}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return a(e,t)},_mountChildAtIndex:function(e,t,n,r,o,a){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});e.exports=v},function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=n(9),a=(n(4),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var a=n.getPublicInstance();a&&a.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});e.exports=a},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=a.getPooled(null),this.useCreateElement=e}var o=n(23),a=n(394),i=n(83),s=n(168),u=n(401),l=(n(44),n(170)),c=n(255),f={initialize:u.getSelectionInformation,close:u.restoreSelection},d={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},p={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[f,d,p],v={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,l,v),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=n(994),i={};i.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},i.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,a=null;return null!==t&&"object"==typeof t&&(o=t.ref,a=t._owner),n!==o||"string"==typeof o&&a!==r},i.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},e.exports=i},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=n(23),a=n(83),i=n(170),s=(n(44),n(999)),u=[],l={enqueue:function(){}},c={getTransactionWrappers:function(){return u},getReactMountReady:function(){return l},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,i,c),a.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var a=n(255),i=(n(10),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&a.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?a.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?a.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?a.enqueueSetState(e,t):o(e,"setState")},e}());e.exports=i},function(e,t){"use strict";e.exports="15.6.2"},function(e,t){"use strict";var n={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},r={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},o={Properties:{},DOMAttributeNamespaces:{xlinkActuate:n.xlink,xlinkArcrole:n.xlink,xlinkHref:n.xlink,xlinkRole:n.xlink,xlinkShow:n.xlink,xlinkTitle:n.xlink,xlinkType:n.xlink,xmlBase:n.xml,xmlLang:n.xml,xmlSpace:n.xml},DOMAttributeNames:{}};Object.keys(r).forEach(function(e){o.Properties[e]=0,r[e]&&(o.DOMAttributeNames[e]=r[e])}),e.exports=o},function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&u.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(y||null==v||v!==c())return null;var n=r(v);if(!g||!d(g,n)){g=n;var o=l.getPooled(h.select,m,e,t);return o.type="select",o.target=v,a.accumulateTwoPhaseDispatches(o),o}return null}var a=n(104),i=n(28),s=n(20),u=n(401),l=n(61),c=n(338),f=n(410),d=n(123),p=i.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},v=null,m=null,g=null,y=!1,b=!1,x={eventTypes:h,extractEvents:function(e,t,n,r){if(!b)return null;var a=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(f(a)||"true"===a.contentEditable)&&(v=a,m=t,g=null);break;case"topBlur":v=null,m=null,g=null;break;case"topMouseDown":y=!0;break;case"topContextMenu":case"topMouseUp":return y=!1,o(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(b=!0)}};e.exports=x},function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var a=n(9),i=n(336),s=n(104),u=n(20),l=n(1004),c=n(1005),f=n(61),d=n(1008),p=n(1010),h=n(169),v=n(1007),m=n(1011),g=n(1012),y=n(106),b=n(1013),x=n(51),w=n(258),_=(n(4),{}),k={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};_[e]=o,k[r]=o});var C={},S={eventTypes:_,extractEvents:function(e,t,n,r){var o=k[e];if(!o)return null;var i;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":i=f;break;case"topKeyPress":if(0===w(n))return null;case"topKeyDown":case"topKeyUp":i=p;break;case"topBlur":case"topFocus":i=d;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":i=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":i=v;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":i=m;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":i=l;break;case"topTransitionEnd":i=g;break;case"topScroll":i=y;break;case"topWheel":i=b;break;case"topCopy":case"topCut":case"topPaste":i=c}i?void 0:a("86",e);var u=i.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(u),u},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var a=r(e),s=u.getNodeFromInstance(e);C[a]||(C[a]=i.listen(s,"click",x))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),a={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(169),a={dataTransfer:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(106),a={relatedTarget:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),a={data:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(106),a=n(258),i=n(1018),s=n(259),u={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(106),a=n(259),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(61),a={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=n(169),a={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,o=0,a=e.length,i=a&-4;o<i;){for(var s=Math.min(o+4096,i);o<s;o+=4)n+=(t+=e.charCodeAt(o))+(t+=e.charCodeAt(o+1))+(t+=e.charCodeAt(o+2))+(t+=e.charCodeAt(o+3));t%=r,n%=r}for(;o<a;o++)n+=t+=e.charCodeAt(o);return t%=r,n%=r,t|n<<16}var r=65521;e.exports=n},function(e,t,n){"use strict";function r(e,t,n,r){var o=null==t||"boolean"==typeof t||""===t;if(o)return"";var i=isNaN(t);if(r||i||0===t||a.hasOwnProperty(e)&&a[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=n(393),a=(n(10),o.isUnitlessNumber);e.exports=r},function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=i.get(e);return t?(t=s(t),t?a.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=n(9),a=(n(62),n(20)),i=n(128),s=n(406);n(4),n(10);e.exports=r},function(e,t,n){(function(t){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,a=void 0===o[n];a&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return a(e,r,n),n}var a=(n(251),n(412));n(10);e.exports=o}).call(t,n(247))},function(e,t,n){"use strict";function r(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var o=n(258),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};e.exports=r},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t){"use strict";function n(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function o(e,t){for(var o=n(e),a=0,i=0;o;){if(3===o.nodeType){if(i=a+o.textContent.length,a<=t&&i>=t)return{node:o,offset:t-a};a=i}o=n(r(o))}}e.exports=o},function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!i[e])return e;var t=i[e];for(var n in t)if(t.hasOwnProperty(n)&&n in u)return s[e]=t[n];return""}var a=n(28),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},u={};a.canUseDOM&&(u=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,
  delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),e.exports=o},function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=n(171);e.exports=r},function(e,t,n){"use strict";var r=n(402);e.exports=r.renderSubtreeIntoContainer},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return(0,i.default)(e,t,n)}Object.defineProperty(t,"__esModule",{value:!0});var a=n(413),i=r(a);t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.passiveOption=t.detachEvent=t.attachEvent=t.removeEventListener=t.addEventListener=t.canUseDOM=void 0;var o=n(1024),a=r(o),i=t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement);t.addEventListener=i&&"addEventListener"in window,t.removeEventListener=i&&"removeEventListener"in window,t.attachEvent=i&&"attachEvent"in window,t.detachEvent=i&&"detachEvent"in window,t.passiveOption=function(){var e=null;return function(){if(null!==e)return e;var t=!1;try{window.addEventListener("test",null,(0,a.default)({},"passive",{get:function(){t=!0}}))}catch(e){}return e=t,t}()}()},function(e,t,n){e.exports={default:n(180),__esModule:!0}},function(e,t,n){e.exports={default:n(181),__esModule:!0}},function(e,t,n){e.exports={default:n(287),__esModule:!0}},function(e,t,n){e.exports={default:n(182),__esModule:!0}},function(e,t,n){e.exports={default:n(183),__esModule:!0}},function(e,t,n){e.exports={default:n(184),__esModule:!0}},function(e,t,n){e.exports={default:n(185),__esModule:!0}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(413),a=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1030),a=r(o),i=n(1027),s=r(i),u=n(265),l=r(u);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,l.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(265),a=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,a,i=n(56),s=r(i),u=n(112),l=r(u),c=n(115),f=r(c),d=n(113),p=r(d),h=n(2),v=r(h),m=n(107),g=r(m),y=n(414),b=r(y),x={itemRange:{margin:"8px 0 8px 14px",cursor:"pointer"}},w=(a=o=function(e){function t(n){(0,l.default)(this,t);var r=(0,f.default)(this,e.call(this,n));return r.shouldComponentUpdate=g.default,r.state={expanded:!1},r.handleClick=r.handleClick.bind(r),r}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.theme,n=e.styles,r=e.from,o=e.to,a=e.getChildNodes;return this.state.expanded?v.default.createElement("div",{style:(0,s.default)({color:t.base0D},n.label)},a(this.props,r,o)):v.default.createElement("div",{style:(0,s.default)({color:t.base0D},x.itemRange,n.label),onClick:this.handleClick},v.default.createElement(b.default,{theme:t,open:!1,onClick:this.handleClick,style:n.getArrowStyle(!1),double:!0}),r+" ... "+o)},t.prototype.handleClick=function(){this.setState({expanded:!this.state.expanded})},t}(h.Component),o.propTypes={},a);t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.length+" "+(1!==e.length?"items":"item")}function a(e){var t=(0,l.default)(e,[]);return f.default.createElement(p.default,(0,s.default)({},t,{nodeType:"Array",nodeTypeIndicator:"[]",createItemString:o}))}t.__esModule=!0;var i=n(56),s=r(i),u=n(114),l=r(u);t.default=a;var c=n(2),f=r(c),d=n(266),p=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=0,r=!1;if((0,d.default)(e.size))n=e.size;else for(var o=e,a=Array.isArray(o),i=0,o=a?o:(0,c.default)(o);;){var s;if(a){if(i>=o.length)break;s=o[i++]}else{if(i=o.next(),i.done)break;s=i.value}if(t&&n+1>t){r=!0;break}n+=1}return""+(r?">":"")+n+" "+(1!==n?"entries":"entry")}t.__esModule=!0;var a=n(56),i=r(a),s=n(114),u=r(s),l=n(282),c=r(l),f=n(487),d=r(f);t.default=function(e){var t=(0,u.default)(e,[]);return h.default.createElement(m.default,(0,i.default)({},t,{nodeType:"Iterable",nodeTypeIndicator:"()",createItemString:o}))};var p=n(2),h=r(p),v=n(266),m=r(v)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(0,c.default)(e).length;return t+" "+(1!==t?"keys":"key")}t.__esModule=!0;var a=n(56),i=r(a),s=n(114),u=r(s),l=n(283),c=r(l);t.default=function(e){var t=(0,u.default)(e,[]);return d.default.createElement(h.default,(0,i.default)({},t,{nodeType:"Object",nodeTypeIndicator:"{}",createItemString:o}))};var f=n(2),d=r(f),p=n(266),h=r(p)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o,a,i,s,u=n(56),l=r(u),c=n(112),f=r(c),d=n(115),p=r(d),h=n(113),v=r(h),m=n(2),g=r(m),y=n(418),b=r(y),x=n(417),w=n(1049),_=r(w),k={base:{paddingTop:3,paddingBottom:3,paddingRight:0,marginLeft:14,WebkitUserSelect:"text",MozUserSelect:"text"},label:{display:"inline-block",marginRight:5}},C=(o=b.default.decorate(x.SquashClickEventMixin),o((s=i=function(e){function t(){return(0,f.default)(this,t),(0,p.default)(this,e.apply(this,arguments))}return(0,v.default)(t,e),t.prototype.render=function(){var e,t="transparent";if(this.props.previousValue!==this.props.value){var n=(0,_.default)(this.props.theme.base06);t="rgba("+n.r+", "+n.g+", "+n.b+", 0.1)"}return g.default.createElement("li",{style:(0,l.default)({},k.base,{backgroundColor:t}),onClick:this.handleClick.bind(this)},g.default.createElement("label",{style:(0,l.default)({},k.label,{color:this.props.theme.base0D},this.props.styles.getLabelStyle(this.props.nodeType,!0))},(e=this.props).labelRenderer.apply(e,this.props.keyPath),":"),g.default.createElement("span",{style:(0,l.default)({color:this.props.valueColor},this.props.styles.getValueStyle(this.props.nodeType,!0))},this.props.valueRenderer(this.props.valueGetter(this.props.value),this.props.value)))},t}(g.default.Component),i.defaultProps={valueGetter:function(e){return e}},a=s))||a);t.default=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"Object"===e?(0,h.default)(t).length:"Array"===e?t.length:1/0}function a(e){return"function"==typeof e.set}function i(e,t){var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2],r=arguments.length<=3||void 0===arguments[3]?1/0:arguments[3],o=void 0;if("Object"===e){var i=(0,d.default)(t).slice(n,r+1);o={entries:i.map(function(e){return{key:e,value:t[e]}})}}else if("Array"===e)o={entries:t.slice(n,r+1).map(function(e,t){return{key:t+n,value:e}})};else{for(var s=0,u=[],l=!0,f=a(t),p=t,h=Array.isArray(p),v=0,p=h?p:(0,c.default)(p);;){var m;if(h){if(v>=p.length)break;m=p[v++]}else{if(v=p.next(),v.done)break;m=v.value}var g=m;if(s>r){l=!1;break}n<=s&&(f&&Array.isArray(g)?u.push({key:g[0],value:g[1]}):u.push({key:s,value:g})),s++}o={hasMore:!l,entries:u}}return o}function s(e,t,n){for(var r=[];t-e>n*n;)n*=n;for(var o=e;o<=t;o+=n)r.push({from:o,to:Math.min(t,o+n-1)});return r}function u(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?0:arguments[3],a=arguments.length<=4||void 0===arguments[4]?1/0:arguments[4];if(!n)return i(e,t).entries;var u=a<1/0,l=Math.min(a-r,o(e,t));if("Iterable"!==e){if(l<=n||n<7)return i(e,t,r,a).entries}else if(l<=n&&!u)return i(e,t,r,a).entries;var c=void 0;if("Iterable"===e){var f=i(e,t,r,r+n-1),d=f.hasMore,p=f.entries;c=d?[].concat(p,s(r+n,r+2*n-1,n)):p}else c=u?s(r,a,n):[].concat(i(e,t,0,n-5).entries,s(n-4,l-5,n),i(e,t,l-4,l-1).entries);return c}t.__esModule=!0;var l=n(282),c=r(l),f=n(283),d=r(f),p=n(490),h=r(p);t.default=u},function(e,t){"use strict";t.__esModule=!0,t.default={handleClick:function(e){e.stopPropagation(),this.setState({expanded:!this.state.expanded})},componentWillReceiveProps:function(){this.renderedChildren=[],this.itemString=!1,this.needsChildNodes=!0}}},function(e,t){"use strict";t.__esModule=!0,t.default={handleClick:function(e){e.stopPropagation()}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(284),a=r(o),i=n(179),s=r(i);t.default=function(e){return null===e||"object"!==("undefined"==typeof e?"undefined":(0,s.default)(e))||Array.isArray(e)||"function"!=typeof e[a.default]?Object.prototype.toString.call(e).slice(8,-1):"Iterable"}},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"solarized",author:"ethan schoonover (http://ethanschoonover.com/solarized)",base00:"#002b36",base01:"#073642",base02:"#586e75",base03:"#657b83",base04:"#839496",base05:"#93a1a1",base06:"#eee8d5",base07:"#fdf6e3",base08:"#dc322f",base09:"#cb4b16",base0A:"#b58900",base0B:"#859900",base0C:"#2aa198",base0D:"#268bd2",base0E:"#6c71c4",base0F:"#d33682"}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}},function(e,t){"use strict";function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=Object.assign||function(e,t){for(var r,o,a=n(e),i=1;i<arguments.length;i++){r=arguments[i],o=Object.keys(Object(r));for(var s=0;s<o.length;s++)a[o[s]]=r[o[s]]}return a}},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),a=0;a<n.length;a++)if(!o(n[a])||e[n[a]]!==t[n[a]])return!1;return!0}t.__esModule=!0,t.default=n,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"store",n=arguments[1],r=n||t+"Subscription",s=function(e){function n(r,i){o(this,n);var s=a(this,e.call(this,r,i));return s[t]=r.store,s}return i(n,e),n.prototype.getChildContext=function(){var e;return e={},e[t]=this[t],e[r]=null,e},n.prototype.render=function(){return u.Children.only(this.props.children)},n}(u.Component);return s.propTypes={store:f.storeShape.isRequired,children:c.default.element.isRequired},s.childContextTypes=(e={},e[t]=f.storeShape.isRequired,e[r]=f.subscriptionShape,e),s}t.__esModule=!0,t.createProvider=s;var u=n(2),l=n(3),c=r(l),f=n(421),d=n(267);r(d);t.default=s()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?c.default:t,r=e.mapStateToPropsFactories,s=void 0===r?m.default:r,l=e.mapDispatchToPropsFactories,f=void 0===l?h.default:l,p=e.mergePropsFactories,v=void 0===p?y.default:p,g=e.selectorFactory,b=void 0===g?x.default:g;return function(e,t,r){var l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=l.pure,p=void 0===c||c,h=l.areStatesEqual,m=void 0===h?i:h,g=l.areOwnPropsEqual,y=void 0===g?d.default:g,x=l.areStatePropsEqual,w=void 0===x?d.default:x,_=l.areMergedPropsEqual,k=void 0===_?d.default:_,C=o(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),S=a(e,s,"mapStateToProps"),E=a(t,f,"mapDispatchToProps"),P=a(r,v,"mergeProps");return n(b,u({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:E,initMergeProps:P,pure:p,areStatesEqual:m,areOwnPropsEqual:y,areStatePropsEqual:w,areMergedPropsEqual:k},C))}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.createConnect=s;var l=n(419),c=r(l),f=n(1060),d=r(f),p=n(1054),h=r(p),v=n(1055),m=r(v),g=n(1056),y=r(g),b=n(1057),x=r(b);t.default=s()},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,s.wrapMapToPropsFunc)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:(0,s.wrapMapToPropsConstant)(function(e){return{dispatch:e}})}function a(e){return e&&"object"==typeof e?(0,s.wrapMapToPropsConstant)(function(t){return(0,i.bindActionCreators)(e,t)}):void 0}t.__esModule=!0,t.whenMapDispatchToPropsIsFunction=r,t.whenMapDispatchToPropsIsMissing=o,t.whenMapDispatchToPropsIsObject=a;var i=n(175),s=n(420);t.default=[r,o,a]},function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,a.wrapMapToPropsFunc)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:(0,a.wrapMapToPropsConstant)(function(){return{}})}t.__esModule=!0,t.whenMapStateToPropsIsFunction=r,t.whenMapStateToPropsIsMissing=o;var a=n(420);t.default=[r,o]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return u({},n,e,t)}function a(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,a=!1,i=void 0;return function(t,n,s){var u=e(t,n,s);return a?r&&o(u,i)||(i=u):(a=!0,i=u),i}}}function i(e){return"function"==typeof e?a(e):void 0}function s(e){return e?void 0:function(){return o}}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.defaultMergeProps=o,t.wrapMergePropsFunc=a,t.whenMergePropsIsFunction=i,t.whenMergePropsIsOmitted=s;var l=n(422);r(l);t.default=[i,s]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function i(e,t,n,r,o){function a(o,a){return h=o,v=a,m=e(h,v),g=t(r,v),y=n(m,g,v),p=!0,y}function i(){return m=e(h,v),t.dependsOnOwnProps&&(g=t(r,v)),y=n(m,g,v)}function s(){return e.dependsOnOwnProps&&(m=e(h,v)),t.dependsOnOwnProps&&(g=t(r,v)),y=n(m,g,v)}function u(){var t=e(h,v),r=!d(t,m);return m=t,r&&(y=n(m,g,v)),y}function l(e,t){var n=!f(t,v),r=!c(e,h);return h=e,v=t,n&&r?i():n?s():r?u():y}var c=o.areStatesEqual,f=o.areOwnPropsEqual,d=o.areStatePropsEqual,p=!1,h=void 0,v=void 0,m=void 0,g=void 0,y=void 0;return function(e,t){return p?l(e,t):a(e,t)}}function s(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,s=t.initMergeProps,u=o(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),l=n(e,u),c=r(e,u),f=s(e,u),d=u.pure?i:a;return d(l,c,f,e,u)}t.__esModule=!0,t.impureFinalPropsSelectorFactory=a,t.pureFinalPropsSelectorFactory=i,t.default=s;var u=n(1058);r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||(0,s.default)("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}function a(e,t,n,r){o(e,"mapStateToProps",r),o(t,"mapDispatchToProps",r),o(n,"mergeProps",r)}t.__esModule=!0,t.default=a;var i=n(267),s=r(i)},function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(){var e=[],t=[];return{clear:function(){t=o,e=o},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==o&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}t.__esModule=!0;var o=null,a={notify:function(){}},i=function(){function e(t,r,o){n(this,e),this.store=t,this.parentSub=r,this.onStateChange=o,this.unsubscribe=null,this.listeners=a}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=r())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=a)},e}();t.default=i},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(var i=0;i<r.length;i++)if(!o.call(t,r[i])||!n(e[r[i]],t[r[i]]))return!1;return!0}t.__esModule=!0,t.default=r;var o=Object.prototype.hasOwnProperty},function(e,t,n){function r(e){return null==e?void 0===e?u:s:l&&l in Object(e)?a(e):i(e)}var o=n(423),a=n(1064),i=n(1065),s="[object Null]",u="[object Undefined]",l=o?o.toStringTag:void 0;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){var r=n(1066),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[u]=n:delete e[u]),o}var o=n(423),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,u=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(1062),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function r(e){if(!i(e)||o(e)!=s)return!1;var t=a(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}var o=n(1061),a=n(1063),i=n(1068),s="[object Object]",u=Function.prototype,l=Object.prototype,c=u.toString,f=l.hasOwnProperty,d=c.call(Object);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(68),u=r(s),l=n(2),c=r(l),f=n(3),d=r(f),p=n(94),h=n(268),v=r(h),m=function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(u))),r.history=(0,p.createBrowserHistory)(r.props),i=n,a(r,i)}return i(t,e),t.prototype.componentWillMount=function(){(0,u.default)(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return c.default.createElement(v.default,{history:this.history,children:this.props.children})},t}(c.default.Component);m.propTypes={basename:d.default.string,forceRefresh:d.default.bool,getUserConfirmation:d.default.func,keyLength:d.default.number,children:d.default.node},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(68),u=r(s),l=n(2),c=r(l),f=n(3),d=r(f),p=n(94),h=n(268),v=r(h),m=function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(u))),r.history=(0,p.createHashHistory)(r.props),i=n,a(r,i)}return i(t,e),t.prototype.componentWillMount=function(){(0,u.default)(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return c.default.createElement(v.default,{history:this.history,children:this.props.children})},t}(c.default.Component);m.propTypes={basename:d.default.string,getUserConfirmation:d.default.func,hashType:d.default.oneOf(["hashbang","noslash","slash"]),children:d.default.node},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(426),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=n(2),u=r(s),l=n(3),c=r(l),f=n(425),d=r(f),p=n(424),h=r(p),v=function(e){var t=e.to,n=e.exact,r=e.strict,s=e.location,l=e.activeClassName,c=e.className,f=e.activeStyle,p=e.style,v=e.isActive,m=e["aria-current"],g=o(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),y="object"===("undefined"==typeof t?"undefined":i(t))?t.pathname:t,b=y&&y.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1");return u.default.createElement(d.default,{path:b,exact:n,strict:r,location:s,children:function(e){var n=e.location,r=e.match,o=!!(v?v(r,n):r);return u.default.createElement(h.default,a({to:t,className:o?[c,l].filter(function(e){return e}).join(" "):c,style:o?a({},p,f):p,"aria-current":o&&m||null},g))}})};v.propTypes={to:h.default.propTypes.to,exact:c.default.bool,strict:c.default.bool,location:c.default.object,activeClassName:c.default.string,className:c.default.string,activeStyle:c.default.object,style:c.default.object,isActive:c.default.func,"aria-current":c.default.oneOf(["page","step","location","date","time","true"])},v.defaultProps={activeClassName:"active","aria-current":"page"},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(427),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(428),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(429),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(430),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(271),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(174),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(431),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.withRouter=t.matchPath=t.generatePath=t.Switch=t.StaticRouter=t.Router=t.Route=t.Redirect=t.Prompt=t.MemoryRouter=void 0;var o=n(426),a=r(o),i=n(427),s=r(i),u=n(428),l=r(u),c=n(270),f=r(c),d=n(173),p=r(d),h=n(429),v=r(h),m=n(430),g=r(m),y=n(271),b=r(y),x=n(174),w=r(x),_=n(431),k=r(_);t.MemoryRouter=a.default,t.Prompt=s.default,t.Redirect=l.default,t.Route=f.default,t.Router=p.default,t.StaticRouter=v.default,t.Switch=g.default,t.generatePath=b.default,t.matchPath=w.default,t.withRouter=k.default},function(e,t,n){"use strict";function r(e,t){var n=c.extractSingleTouch(t);return n?n[e.page]:e.page in t?t[e.page]:t[e.client]+f[e.envScroll]}function o(e,t){var n=r(x.x,t),o=r(x.y,t);return Math.pow(Math.pow(n-e.x,2)+Math.pow(o-e.y,2),.5)}function a(e){return{tapMoveThreshold:m,ignoreMouseThreshold:g,eventTypes:k,extractEvents:function(t,n,a,i){if(!p(t)&&!h(t))return null;if(v(t))b=C();else if(e(b,C()))return null;var s=null,c=o(y,a);return h(t)&&c<m&&(s=l.getPooled(k.touchTap,n,a,i)),p(t)?(y.x=r(x.x,a),y.y=r(x.y,a)):h(t)&&(y.x=0,y.y=0),u.accumulateTwoPhaseDispatches(s),s}}}var i=n(968),s=n(167),u=n(104),l=n(106),c=n(1083),f=n(256),d=n(785),p=(i.topLevelTypes,s.isStartish),h=s.isEndish,v=function(e){var t=["topTouchCancel","topTouchEnd","topTouchStart","topTouchMove"];return t.indexOf(e)>=0},m=10,g=750,y={x:null,y:null},b=null,x={x:{page:"pageX",client:"clientX",envScroll:"currentPageScrollLeft"},y:{page:"pageY",client:"clientY",envScroll:"currentPageScrollTop"}},w=["topTouchStart","topTouchCancel","topTouchEnd","topTouchMove"],_=["topMouseDown","topMouseMove","topMouseUp"].concat(w),k={touchTap:{phasedRegistrationNames:{bubbled:d({onTouchTap:null}),captured:d({onTouchTapCapture:null})},dependencies:_}},C=function(){return Date.now?Date.now:function(){return+new Date}}();e.exports=a},function(e,t){var n={extractSingleTouch:function(e){var t=e.touches,n=e.changedTouches,r=t&&t.length>0,o=n&&n.length>0;return!r&&o?n[0]:r?t[0]:e}};e.exports=n},function(e,t){e.exports=function(e,t){if(e&&t-e<750)return!0}},function(e,t,n){var r=(n(4),n(1084)),o=!1;e.exports=function(e){e=e||{};var t=e.shouldRejectClick||r;o=!0,n(103).injection.injectEventPluginsByName({TapEventPlugin:n(1082)(t)})}},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){if(!e)return e;var t={};return a.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t}function o(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var a in e)t.hasOwnProperty(a)?o.length&&(r[a]=o,o=[]):o.push(a);var i=void 0,s={};for(var u in t){if(r.hasOwnProperty(u))for(i=0;i<r[u].length;i++){var l=r[u][i];s[r[u][i]]=n(l)}s[u]=n(u)}for(i=0;i<o.length;i++)s[o[i]]=n(o[i]);return s}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=o;var a=n(2)},function(e,t){"use strict";function n(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function r(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var o={escape:n,unescape:r};e.exports=o},function(e,t,n){"use strict";var r=n(129),o=(n(4),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},u=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,c=o,f=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=u,n},d={addPoolingTo:f,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:s};e.exports=d},function(e,t,n){"use strict";function r(e){return(""+e).replace(x,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function a(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function i(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);g(e,a,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function u(e,t,n){var o=e.result,a=e.keyPrefix,i=e.func,s=e.context,u=i.call(s,t,e.count++);Array.isArray(u)?l(u,o,n,m.thatReturnsArgument):null!=u&&(v.isValidElement(u)&&(u=v.cloneAndReplaceKey(u,a+(!u.key||t&&t.key===u.key?"":r(u.key)+"/")+n)),o.push(u))}function l(e,t,n,o,a){var i="";null!=n&&(i=r(n)+"/");var l=s.getPooled(t,i,o,a);g(e,u,l),s.release(l)}function c(e,t,n){if(null==e)return e;var r=[];return l(e,r,null,t,n),r}function f(e,t,n){return null}function d(e,t){return g(e,f,null)}function p(e){var t=[];return l(e,t,null,m.thatReturnsArgument),t}var h=n(1089),v=n(109),m=n(51),g=n(1099),y=h.twoArgumentPooler,b=h.fourArgumentPooler,x=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,y),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,b);var w={forEach:i,map:c,mapIntoWithKeyPrefixInternal:l,count:d,toArray:p};e.exports=w},function(e,t,n){"use strict";var r=n(109),o=r.createFactory,a={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),
  code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};e.exports=a},function(e,t,n){"use strict";var r=n(109),o=r.isValidElement,a=n(391);e.exports=a(o)},function(e,t){"use strict";e.exports="15.6.2"},function(e,t,n){"use strict";var r=n(432),o=r.Component,a=n(109),i=a.isValidElement,s=n(435),u=n(772);e.exports=u(o,i,s)},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[o]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,o="@@iterator";e.exports=n},function(e,t){"use strict";function n(){return r++}var r=1;e.exports=n},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){"use strict";function r(e){return a.isValidElement(e)?void 0:o("143"),e}var o=n(129),a=n(109);n(4);e.exports=r},function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?l.escape(e.key):t.toString(36)}function o(e,t,n,a){var d=typeof e;if("undefined"!==d&&"boolean"!==d||(e=null),null===e||"string"===d||"number"===d||"object"===d&&e.$$typeof===s)return n(a,e,""===t?c+r(e,0):t),1;var p,h,v=0,m=""===t?c:t+f;if(Array.isArray(e))for(var g=0;g<e.length;g++)p=e[g],h=m+r(p,g),v+=o(p,h,n,a);else{var y=u(e);if(y){var b,x=y.call(e);if(y!==e.entries)for(var w=0;!(b=x.next()).done;)p=b.value,h=m+r(p,w++),v+=o(p,h,n,a);else for(;!(b=x.next()).done;){var _=b.value;_&&(p=_[1],h=m+l.escape(_[0])+f+r(p,0),v+=o(p,h,n,a))}}else if("object"===d){var k="",C=String(e);i("31","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,k)}}return v}function a(e,t,n){return null==e?0:o(e,"",t,n)}var i=n(129),s=(n(62),n(434)),u=n(1095),l=(n(4),n(1088)),c=(n(10),"."),f=":";e.exports=a},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce(function(e,t){return function(){return e(t.apply(void 0,arguments))}})}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1107),a=r(o),i=n(1104),s=r(i),u=function(e){var t=(0,s.default)(e);return function(n,r){return(0,a.default)(!1,t,e,n,r)}};t.default=u},function(e,t){"use strict";t.__esModule=!0;var n=function(e){if("string"==typeof e)return e;if(e)return e.displayName||e.name||"Component"};t.default=n},function(e,t){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e){return Boolean(e&&e.prototype&&"object"===n(e.prototype.isReactComponent))};t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1103),a=r(o),i=function(e){return Boolean(!("function"!=typeof e||(0,a.default)(e)||e.defaultProps||e.contextTypes))};t.default=i},function(e,t){"use strict";t.__esModule=!0;var n=function(e,t){return function(n){return n[e]=t,n}};t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(2),u=n(437),l=(r(u),n(438)),c=(r(l),n(1101)),f=r(c),d=function(e){return function(t){var n=(0,f.default)(t),r=function(t){function r(){return o(this,r),a(this,t.apply(this,arguments))}return i(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(s.Component);return r}};t.default=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(2),i=r(a),s=function(e,t,n,r,a){if(!e&&t)return n(a?o({},r,{children:a}):r);var s=n;return a?i.default.createElement(s,r,a):i.default.createElement(s,r)};t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(2),c=r(l),f=n(3),d=r(f),p=n(959),h=r(p),v=n(440),m=n(439),g=n(1110),y=r(g),b=n(949),x=r(b),w=function(e){function t(n){a(this,t);var r=i(this,e.call(this,n));r.handleKeyDown=r.handleKeyDown.bind(r),r.handleSizeChange=r.handleSizeChange.bind(r);var o=l.Children.count(n.children);return 0===o||o>1&&!n.changeMonitorKey,r}return s(t,e),t.prototype.componentDidMount=function(){window.addEventListener("keydown",this.handleKeyDown)},t.prototype.componentWillUnmount=function(){window.removeEventListener("keydown",this.handleKeyDown)},t.prototype.matchesKey=function(e,t){if(!e)return!1;var n=t.keyCode||t.which,r=String.fromCharCode(n);return e.name.toUpperCase()===r.toUpperCase()&&e.alt===t.altKey&&e.ctrl===t.ctrlKey&&e.meta===t.metaKey&&e.shift===t.shiftKey},t.prototype.handleKeyDown=function(e){if(e.ctrlKey||e.metaKey||e.altKey||"INPUT"!==e.target.tagName&&"SELECT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&!e.target.isContentEditable){var t=(0,x.default)(this.props.toggleVisibilityKey),n=(0,x.default)(this.props.changePositionKey),r=void 0;this.props.changeMonitorKey&&(r=(0,x.default)(this.props.changeMonitorKey)),this.matchesKey(t,e)?(e.preventDefault(),this.props.dispatch((0,m.toggleVisibility)())):this.matchesKey(n,e)?(e.preventDefault(),this.props.dispatch((0,m.changePosition)())):this.matchesKey(r,e)&&(e.preventDefault(),this.props.dispatch((0,m.changeMonitor)()))}},t.prototype.handleSizeChange=function(e){this.props.dispatch((0,m.changeSize)(e))},t.prototype.renderChild=function(e,t,n){var r=this.props.monitorState,o=r.childMonitorIndex,a=r.childMonitorStates;return t!==o?null:(0,l.cloneElement)(e,u({monitorState:a[t]},n))},t.prototype.render=function(){var e=this,t=this.props,n=t.monitorState,r=t.children,a=t.fluid,i=o(t,["monitorState","children","fluid"]),s=n.position,u=n.isVisible,f=n.size;return c.default.createElement(h.default,{position:s,isVisible:u,size:f,fluid:a,onSizeChange:this.handleSizeChange,dimMode:"none"},l.Children.map(r,function(t,n){return e.renderChild(t,n,i)}))},t}(l.Component);w.update=y.default,w.propTypes={defaultPosition:d.default.oneOf(v.POSITIONS),defaultIsVisible:d.default.bool.isRequired,defaultSize:d.default.number.isRequired,toggleVisibilityKey:d.default.string.isRequired,changePositionKey:d.default.string.isRequired,changeMonitorKey:d.default.string,fluid:d.default.bool,dispatch:d.default.func,monitorState:d.default.shape({position:d.default.oneOf(v.POSITIONS).isRequired,size:d.default.number.isRequired,isVisible:d.default.bool.isRequired,childMonitorState:d.default.any})},w.defaultProps={defaultIsVisible:!0,defaultPosition:"right",defaultSize:.3,fluid:!0},t.default=w},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1108),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.defaultPosition,n=arguments[2];return n.type===l.CHANGE_POSITION?c.POSITIONS[(c.POSITIONS.indexOf(t)+1)%c.POSITIONS.length]:t}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.defaultSize,n=arguments[2];return n.type===l.CHANGE_SIZE?n.size:t}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.defaultIsVisible,n=arguments[2];return n.type===l.TOGGLE_VISIBILITY?!t:t}function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];return f.Children.map(e.children,function(e,r){return e.type.update(e.props,t[r],n)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments[2];switch(n.type){case l.CHANGE_MONITOR:return(t+1)%f.Children.count(e.children);default:return t}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];return t.childMonitorStates||f.Children.forEach(e.children,function(e,t){"function"!=typeof e.type.update}),{position:r(e,t.position,n),isVisible:a(e,t.isVisible,n),size:o(e,t.size,n),childMonitorIndex:s(e,t.childMonitorIndex,n),childMonitorStates:i(e,t.childMonitorStates,n)}}t.__esModule=!0,t.default=u;var l=n(439),c=n(440),f=n(2)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0;var l=n(2),c=o(l),f=n(1112),d=o(f),p=n(107),h=o(p),v=n(1120),m=r(v),g=n(442),y=n(441),b=n(1118),x=o(b),w=n(1115),_=o(w),k=n(1119),C=o(k),S=g.ActionCreators.reset,E=g.ActionCreators.rollback,P=g.ActionCreators.commit,O=g.ActionCreators.sweep,T=g.ActionCreators.toggleAction,M={container:{fontFamily:"monaco, Consolas, Lucida Console, monospace",position:"relative",overflowY:"hidden",width:"100%",height:"100%",minWidth:300,direction:"ltr"},buttonBar:{textAlign:"center",borderBottomWidth:1,borderBottomStyle:"solid",borderColor:"transparent",zIndex:1,display:"flex",flexDirection:"row"},elements:{position:"absolute",left:0,right:0,top:38,bottom:0,overflowX:"hidden",overflowY:"auto"}},A=function(e){function t(n){a(this,t);var r=i(this,e.call(this,n));return r.shouldComponentUpdate=h.default,r.updateScrollTop=(0,C.default)(function(){var e=r.refs.container;r.props.dispatch((0,y.updateScrollTop)(e?e.scrollTop:0))},500),r.handleToggleAction=r.handleToggleAction.bind(r),r.handleReset=r.handleReset.bind(r),r.handleRollback=r.handleRollback.bind(r),r.handleSweep=r.handleSweep.bind(r),r.handleCommit=r.handleCommit.bind(r),r}return s(t,e),t.prototype.scroll=function(){var e=this.refs.container;if(e&&this.scrollDown){var t=e.offsetHeight,n=e.scrollHeight;e.scrollTop=n-t,this.scrollDown=!1}},t.prototype.componentDidMount=function(){var e=this.refs.container;e&&this.props.monitorState&&(this.props.preserveScrollTop?(e.scrollTop=this.props.monitorState.initialScrollTop,e.addEventListener("scroll",this.updateScrollTop)):(this.scrollDown=!0,this.scroll()))},t.prototype.componentWillUnmount=function(){var e=this.refs.container;e&&this.props.preserveScrollTop&&e.removeEventListener("scroll",this.updateScrollTop)},t.prototype.componentWillReceiveProps=function(e){var t=this.refs.container;if(t)if(this.props.stagedActionIds.length<e.stagedActionIds.length){var n=t.scrollTop,r=t.offsetHeight,o=t.scrollHeight;this.scrollDown=Math.abs(o-(n+r))<20}else this.scrollDown=!1;else this.scrollDown=!0},t.prototype.componentDidUpdate=function(){this.scroll()},t.prototype.handleRollback=function(){this.props.dispatch(E())},t.prototype.handleSweep=function(){this.props.dispatch(O())},t.prototype.handleCommit=function(){this.props.dispatch(P())},t.prototype.handleToggleAction=function(e){this.props.dispatch(T(e))},t.prototype.handleReset=function(){this.props.dispatch(S())},t.prototype.getTheme=function(){var e=this.props.theme;return"string"!=typeof e?e:"undefined"!=typeof m[e]?m[e]:m.nicinabox},t.prototype.render=function(){var e=this.getTheme(),t=this.props,n=t.actionsById,r=t.skippedActionIds,o=t.stagedActionIds,a=t.computedStates,i=t.select,s=t.expandActionRoot,l=t.expandStateRoot,f={theme:e,actionsById:n,skippedActionIds:r,stagedActionIds:o,computedStates:a,select:i,expandActionRoot:s,expandStateRoot:l,onActionClick:this.handleToggleAction};return c.default.createElement("div",{style:u({},M.container,{backgroundColor:e.base00})},c.default.createElement("div",{style:u({},M.buttonBar,{borderColor:e.base02})},c.default.createElement(d.default,{theme:e,onClick:this.handleReset,enabled:!0},"Reset"),c.default.createElement(d.default,{theme:e,onClick:this.handleRollback,enabled:a.length>1},"Revert"),c.default.createElement(d.default,{theme:e,onClick:this.handleSweep,enabled:r.length>0},"Sweep"),c.default.createElement(d.default,{theme:e,onClick:this.handleCommit,enabled:a.length>1},"Commit")),c.default.createElement("div",{style:M.elements,ref:"container"},c.default.createElement(_.default,f)))},t}(l.Component);A.update=x.default,A.propTypes={dispatch:l.PropTypes.func,computedStates:l.PropTypes.array,actionsById:l.PropTypes.object,stagedActionIds:l.PropTypes.array,skippedActionIds:l.PropTypes.array,monitorState:l.PropTypes.shape({initialScrollTop:l.PropTypes.number}),preserveScrollTop:l.PropTypes.bool,select:l.PropTypes.func.isRequired,theme:l.PropTypes.oneOfType([l.PropTypes.object,l.PropTypes.string]),expandActionRoot:l.PropTypes.bool,expandStateRoot:l.PropTypes.bool},A.defaultProps={select:function(e){return e},theme:"nicinabox",preserveScrollTop:!0,expandActionRoot:!0,expandStateRoot:!0},t.default=A},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0;var u=n(2),l=r(u),c=n(1116),f=r(c),d=n(107),p=r(d),h={base:{cursor:"pointer",fontWeight:"bold",borderRadius:3,padding:4,marginLeft:3,marginRight:3,marginTop:5,marginBottom:5,flexGrow:1,display:"inline-block",fontSize:"0.8em",color:"white",textDecoration:"none"}},v=function(e){function t(n){o(this,t);var r=a(this,e.call(this,n));return r.shouldComponentUpdate=p.default,r.handleMouseEnter=r.handleMouseEnter.bind(r),r.handleMouseLeave=r.handleMouseLeave.bind(r),r.handleMouseDown=r.handleMouseDown.bind(r),r.handleMouseUp=r.handleMouseUp.bind(r),r.onClick=r.onClick.bind(r),r.state={hovered:!1,active:!1},r}return i(t,e),t.prototype.handleMouseEnter=function(){this.setState({hovered:!0})},t.prototype.handleMouseLeave=function(){this.setState({hovered:!1})},t.prototype.handleMouseDown=function(){this.setState({active:!0})},t.prototype.handleMouseUp=function(){this.setState({active:!1})},t.prototype.onClick=function(){this.props.enabled&&this.props.onClick&&this.props.onClick()},t.prototype.render=function(){var e=s({},h.base,{backgroundColor:this.props.theme.base02});return this.props.enabled&&this.state.hovered&&(e=s({},e,{backgroundColor:(0,f.default)(this.props.theme.base02,.2)})),this.props.enabled||(e=s({},e,{opacity:.2,cursor:"text",backgroundColor:"transparent"})),l.default.createElement("a",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onClick:this.onClick,style:e},this.props.children)},t}(l.default.Component);t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0;var u=n(2),l=r(u),c=n(416),f=r(c),d=n(1114),p=r(d),h=n(107),v=r(h),m={entry:{display:"block",WebkitUserSelect:"none"},tree:{paddingLeft:0}},g=function(e){function t(n){o(this,t);var r=a(this,e.call(this,n));return r.shouldComponentUpdate=v.default,r.handleActionClick=r.handleActionClick.bind(r),r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return i(t,e),t.prototype.printState=function(e,t){var n=t;if(!n)try{return l.default.createElement(f.default,{theme:this.props.theme,keyPath:["state"],data:this.props.select(e),previousData:"undefined"!=typeof this.props.previousState?this.props.select(this.props.previousState):void 0,shouldExpandNode:this.shouldExpandNode,style:m.tree})}catch(e){n="Error selecting state."}return l.default.createElement("div",{style:{color:this.props.theme.base08,paddingTop:20,paddingLeft:30,paddingRight:30,paddingBottom:35}},n)},t.prototype.handleActionClick=function(){var e=this.props,t=e.actionId,n=e.onActionClick;t>0&&n(t)},t.prototype.shouldExpandNode=function(){return this.props.expandStateRoot},t.prototype.render=function(){var e=this.props,t=e.actionId,n=e.error,r=e.action,o=e.state,a=e.collapsed,i={opacity:a?.5:1,cursor:t>0?"pointer":"default"};return l.default.createElement("div",{style:{textDecoration:a?"line-through":"none",color:this.props.theme.base06}},l.default.createElement(p.default,{theme:this.props.theme,collapsed:a,action:r,expandActionRoot:this.props.expandActionRoot,onClick:this.handleActionClick,style:s({},m.entry,i)}),!a&&l.default.createElement("div",null,this.printState(o,n)))},t}(u.Component);g.propTypes={state:u.PropTypes.object.isRequired,action:u.PropTypes.object.isRequired,actionId:u.PropTypes.number.isRequired,select:u.PropTypes.func.isRequired,error:u.PropTypes.string,onActionClick:u.PropTypes.func.isRequired,collapsed:u.PropTypes.bool,expandActionRoot:u.PropTypes.bool,expandStateRoot:u.PropTypes.bool},t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0;var l=n(2),c=r(l),f=n(416),d=r(f),p={actionBar:{paddingTop:8,paddingBottom:7,paddingLeft:16},payload:{margin:0,overflow:"auto"}},h=function(e){function t(n){a(this,t);var r=i(this,e.call(this,n));return r.shouldExpandNode=r.shouldExpandNode.bind(r),r}return s(t,e),t.prototype.renderPayload=function(e){return c.default.createElement("div",{style:u({},p.payload,{backgroundColor:this.props.theme.base00})},Object.keys(e).length>0?c.default.createElement(d.default,{theme:this.props.theme,keyPath:["action"],data:e,shouldExpandNode:this.shouldExpandNode}):"")},t.prototype.shouldExpandNode=function(){return this.props.expandActionRoot},t.prototype.render=function(){var e=this.props.action,t=e.type,n=o(e,["type"]);return c.default.createElement("div",{style:u({backgroundColor:this.props.theme.base02,color:this.props.theme.base06},this.props.style)},c.default.createElement("div",{style:p.actionBar,onClick:this.props.onClick},t.toString()),this.props.collapsed?"":this.renderPayload(n))},t}(l.Component);t.default=h},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var s=n(2),u=r(s),l=n(1113),c=r(l),f=n(107),d=r(f),p=function(e){function t(){var n,r,i;o(this,t);for(var s=arguments.length,u=Array(s),l=0;l<s;l++)u[l]=arguments[l];return n=r=a(this,e.call.apply(e,[this].concat(u))),r.shouldComponentUpdate=d.default,i=n,a(r,i)}return i(t,e),t.prototype.render=function(){for(var e=[],t=this.props,n=t.theme,r=t.actionsById,o=t.computedStates,a=t.select,i=t.skippedActionIds,s=t.stagedActionIds,l=t.expandActionRoot,f=t.expandStateRoot,d=t.onActionClick,p=0;p<s.length;p++){var h=s[p],v=r[h].action,m=o[p],g=m.state,y=m.error,b=void 0;p>0&&(b=o[p-1].state),e.push(u.default.createElement(c.default,{key:h,theme:n,select:a,action:v,actionId:h,state:g,previousState:b,collapsed:i.indexOf(h)>-1,error:y,expandActionRoot:l,expandStateRoot:f,onActionClick:d}))}return u.default.createElement("div",null,e)},t}(s.Component);p.propTypes={actionsById:s.PropTypes.object,computedStates:s.PropTypes.array,stagedActionIds:s.PropTypes.array,skippedActionIds:s.PropTypes.array,select:s.PropTypes.func.isRequired,onActionClick:s.PropTypes.func.isRequired,theme:s.PropTypes.oneOfType([s.PropTypes.object,s.PropTypes.string]),expandActionRoot:s.PropTypes.bool,expandStateRoot:s.PropTypes.bool},t.default=p},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n=String(e).replace(/[^0-9a-f]/gi,"");n.length<6&&(n=n.replace(/(.)/g,"$1$1"));for(var r=t||0,o="#",a=void 0,i=0;i<3;++i)a=parseInt(n.substr(2*i,2),16),a=Math.round(Math.min(Math.max(0,a+a*r),255)).toString(16),o+=("00"+a).substr(a.length);return o}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.default=void 0;var o=n(1111),a=r(o);t.default=a.default},function(e,t,n){"use strict";function r(e){var t=arguments.length<=1||void 0===arguments[1]?0:arguments[1],n=arguments[2];return e.preserveScrollTop?n.type===a.UPDATE_SCROLL_TOP?n.scrollTop:t:0}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=arguments[2];return{initialScrollTop:r(e,t.initialScrollTop,n)}}t.__esModule=!0,t.default=o;var a=n(441)},function(e,t){(function(t){function n(e,t,n){function o(t){var n=v,r=m;return v=m=void 0,C=t,y=e.apply(r,n)}function a(e){return C=e,b=setTimeout(c,t),S?o(e):y}function u(e){var n=e-k,r=e-C,o=t-n;return E?w(o,g-r):o}function l(e){var n=e-k,r=e-C;return void 0===k||n>=t||n<0||E&&r>=g}function c(){var e=_();return l(e)?f(e):void(b=setTimeout(c,u(e)))}function f(e){return b=void 0,P&&v?o(e):(v=m=void 0,y)}function d(){void 0!==b&&clearTimeout(b),C=0,v=k=m=b=void 0}function p(){return void 0===b?y:f(_())}function h(){var e=_(),n=l(e);if(v=arguments,m=this,k=e,n){if(void 0===b)return a(k);if(E)return b=setTimeout(c,t),o(k)}return void 0===b&&(b=setTimeout(c,t)),y}var v,m,g,y,b,k,C=0,S=!1,E=!1,P=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,r(n)&&(S=!!n.leading,E="maxWait"in n,g=E?x(i(n.maxWait)||0,t):g,P="trailing"in n?!!n.trailing:P),h.cancel=d,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||o(e)&&b.call(e)==l}function i(e){if("number"==typeof e)return e;if(a(e))return u;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=d.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):f.test(e)?u:+e}var s="Expected a function",u=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,v="object"==typeof t&&t&&t.Object===Object&&t,m="object"==typeof self&&self&&self.Object===Object&&self,g=v||m||Function("return this")(),y=Object.prototype,b=y.toString,x=Math.max,w=Math.min,_=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}function o(e,t){var n=t({},e);return delete n.default,n}function a(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],a=Object.getOwnPropertyDescriptor(t,o);a&&a.configurable&&void 0===e[o]&&Object.defineProperty(e,o,a)}return e}t.__esModule=!0;var i=n(515);a(t,o(i,a));var s=n(1121);t.nicinabox=r(s)},function(e,t){"use strict";t.__esModule=!0,t.default={scheme:"nicinabox",author:"nicinabox (http://github.com/nicinabox)",base00:"#2A2F3A",base01:"#3C444F",base02:"#4F5A65",base03:"#BEBEBE",base04:"#b0b0b0",base05:"#d0d0d0",base06:"#FFFFFF",base07:"#f5f5f5",base08:"#fb9fb1",base09:"#FC6D24",base0A:"#ddb26f",base0B:"#A1C659",base0C:"#12cfc0",base0D:"#6FB3D2",base0E:"#D381C3",base0F:"#deaf8f"},e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){var t,n,r=l.Children.only(e),s=r.props,d=r.type,h=(0,f.connect)(function(e){return e})(d);return n=t=function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r));return n.store||r.store?(r.store?i.liftedStore=r.store.liftedStore:i.liftedStore=n.store.liftedStore,!i.liftedStore,i):a(i)}return i(t,e),t.prototype.render=function(){return this.liftedStore?c.default.createElement(h,u({},s,{store:this.liftedStore})):null},t}(l.Component),t.contextTypes={store:l.PropTypes.object},t.propTypes={store:l.PropTypes.object},t.instrument=function(e){return(0,p.default)(function(e,t){return d.update(s,e,t)},e)},n}var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0,t.default=s;var l=n(2),c=r(l),f=n(1126),d=n(443),p=r(d)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(e){return a({},e,{actionsById:(0,s.default)(e.actionsById,function(e){return a({},e,{action:r(e.action)})}),committedState:n(e.committedState),computedStates:e.computedStates.map(function(e){return a({},e,{state:n(e.state)})})})}var n=arguments.length<=1||void 0===arguments[1]?l.default:arguments[1],r=arguments.length<=2||void 0===arguments[2]?l.default:arguments[2];return e?function(n){return function(r,o,i){var s="redux-dev-session-"+e,u=void 0;try{var l=localStorage.getItem(s);l&&(u=t(JSON.parse(l))||o,n(r,o))}catch(e){try{localStorage.removeItem(s)}finally{u=void 0}}var c=n(r,u,i);return a({},c,{dispatch:function(e){c.dispatch(e);try{localStorage.setItem(s,JSON.stringify(c.getState()))}catch(e){}return e}})}}:function(e){return function(){return e.apply(void 0,arguments)}}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0,t.default=o;var i=n(892),s=r(i),u=n(376),l=r(u)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);
  e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var s=n(2),u=n(3),l=r(u),c=n(444),f=r(c),d=n(445),p=(r(d),function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r));return i.store=n.store,i}return i(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));t.default=p,p.propTypes={store:f.default.isRequired,children:l.default.element.isRequired},p.childContextTypes={store:f.default.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function s(e){return e.displayName||e.name||"Component"}function u(e,t){try{return e.apply(t)}catch(e){return P.value=e,P}}function l(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=Boolean(e),d=e||C,h=void 0;h="function"==typeof t?t:t?(0,g.default)(t):S;var m=n||E,y=r.pure,b=void 0===y||y,x=r.withRef,_=void 0!==x&&x,T=b&&m!==E,M=O++;return function(e){function t(e,t,n){var r=m(e,t,n);return r}var n="Connect("+s(e)+")",r=function(r){function s(e,t){o(this,s);var i=a(this,r.call(this,e,t));i.version=M,i.store=e.store||t.store,(0,k.default)(i.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "store" as a prop to "'+n+'".'));var u=i.store.getState();return i.state={storeState:u},i.clearCache(),i}return i(s,r),s.prototype.shouldComponentUpdate=function(){return!b||this.haveOwnPropsChanged||this.hasStoreStateChanged},s.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},s.prototype.configureFinalMapState=function(e,t){var n=d(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:d,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},s.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},s.prototype.configureFinalMapDispatch=function(e,t){var n=h(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},s.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return(!this.stateProps||!(0,v.default)(e,this.stateProps))&&(this.stateProps=e,!0)},s.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return(!this.dispatchProps||!(0,v.default)(e,this.dispatchProps))&&(this.dispatchProps=e,!0)},s.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&T&&(0,v.default)(e,this.mergedProps))&&(this.mergedProps=e,!0)},s.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},s.prototype.trySubscribe=function(){l&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},s.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},s.prototype.componentDidMount=function(){this.trySubscribe()},s.prototype.componentWillReceiveProps=function(e){b&&(0,v.default)(e,this.props)||(this.haveOwnPropsChanged=!0)},s.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},s.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},s.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!b||t!==e){if(b&&!this.doStatePropsDependOnOwnProps){var n=u(this.updateStatePropsIfNeeded,this);if(!n)return;n===P&&(this.statePropsPrecalculationError=P.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},s.prototype.getWrappedInstance=function(){return(0,k.default)(_,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},s.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,a=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var i=!0,s=!0;b&&a&&(i=n||t&&this.doStatePropsDependOnOwnProps,s=t&&this.doDispatchPropsDependOnOwnProps);var u=!1,l=!1;r?u=!0:i&&(u=this.updateStatePropsIfNeeded()),s&&(l=this.updateDispatchPropsIfNeeded());var d=!0;return d=!!(u||l||t)&&this.updateMergedPropsIfNeeded(),!d&&a?a:(_?this.renderedElement=(0,f.createElement)(e,c({},this.mergedProps,{ref:"wrappedInstance"})):this.renderedElement=(0,f.createElement)(e,this.mergedProps),this.renderedElement)},s}(f.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:p.default},r.propTypes={store:p.default},(0,w.default)(r,e)}}t.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=l;var f=n(2),d=n(444),p=r(d),h=n(1127),v=r(h),m=n(1128),g=r(m),y=n(445),b=(r(y),n(165)),x=(r(b),n(229)),w=r(x),_=n(43),k=r(_),C=function(e){return{}},S=function(e){return{dispatch:e}},E=function(e,t,n){return c({},n,e,t)},P={value:null},O=0},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.Provider=void 0;var o=n(1124),a=r(o),i=n(1125),s=r(i);t.Provider=a.default,t.connect=s.default},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,a=0;a<n.length;a++)if(!o.call(t,n[a])||e[n[a]]!==t[n[a]])return!1;return!0}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return function(t){return(0,o.bindActionCreators)(e,t)}}t.__esModule=!0,t.default=r;var o=n(175)},function(e,t){"use strict";function n(e){var t=e.dispatch,n=e.getState;return function(e){return function(r){return"function"==typeof r?r(t,n):e(r)}}}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i=e(n,r,o),u=i.dispatch,l=[],c={getState:i.getState,dispatch:function(e){return u(e)}};return l=t.map(function(e){return e(c)}),u=s.default.apply(void 0,l)(i.dispatch),a({},i,{dispatch:u})}}}t.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var i=n(446),s=r(i)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},a=0;a<r.length;a++){var i=r[a],s=e[i];"function"==typeof s&&(o[i]=n(s,t))}return o}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function a(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var s,u=Object.keys(n);try{a(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,a={},i=0;i<u.length;i++){var l=u[i],c=n[l],f=e[l],d=c(f,t);if("undefined"==typeof d){var p=o(l,t);throw new Error(p)}a[l]=d,r=r||d!==f}return r?a:e}}t.__esModule=!0,t.default=i;var s=n(447),u=n(165),l=(r(u),n(448));r(l)},function(e,t,n){(function(t){"use strict";e.exports=n(1134)(t||window||this)}).call(t,function(){return this}())},function(e,t){"use strict";e.exports=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}},function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e&&e.split("/")||[],a=t&&t.split("/")||[],i=e&&n(e),s=t&&n(t),u=i||s;if(e&&n(e)?a=o:o.length&&(a.pop(),a=a.concat(o)),!a.length)return"/";var l=void 0;if(a.length){var c=a[a.length-1];l="."===c||".."===c||""===c}else l=!1;for(var f=0,d=a.length;d>=0;d--){var p=a[d];"."===p?r(a,d):".."===p?(r(a,d),f++):f&&(r(a,d),f--)}if(!u)for(;f--;f)a.unshift("..");!u||""===a[0]||a[0]&&n(a[0])||a.unshift("");var h=a.join("/");return l&&"/"!==h.substr(-1)&&(h+="/"),h}t.__esModule=!0,t.default=o,e.exports=t.default},function(e,t){var n=function(e){return Object.prototype.toString.call(e)},r=function(e){throw e},o=e.exports=function(e,t){function r(e,t,n){t in e?e[t]=n:Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}var a=t||{};return a.unknownFunction||(a.unknownFunction=o.ONCE),a.nonFunctionProperty||(a.nonFunctionProperty=function(e,t,r){if(void 0!==e&&void 0!==t){var o=function(e){return e&&e.constructor&&e.constructor.name?e.constructor.name:n(e).slice(8,-1)};throw new TypeError("Cannot mixin key "+r+" because it is provided by multiple sources, and the types are "+o(e)+" and "+o(t))}return void 0===e?t:e}),function(t,n){Object.keys(n).forEach(function(o){var i=t[o],s=n[o],u=e[o];if(void 0!==i||void 0!==s){var l=function(e){return"function"!=typeof e?e:function(){return e.call(this,arguments)}};if(u){var c=u(i,s,o);return void r(t,o,l(c))}var f="function"==typeof i,d="function"==typeof s;return f&&void 0===s||d&&void 0===i||f&&d?void r(t,o,l(a.unknownFunction(i,s,o))):void(t[o]=a.nonFunctionProperty(i,s,o))}})}};o._mergeObjects=function(e,t){var o=function(e,t){var o=n(e);if("[object Object]"!==o){var a=e.constructor?e.constructor.name:"Unknown",i=t.constructor?t.constructor.name:"Unknown";r("cannot merge returned value of type "+a+" with an "+i)}};if(Array.isArray(e)&&Array.isArray(t))return e.concat(t);o(e,t),o(t,e);var a={};return Object.keys(e).forEach(function(n){Object.prototype.hasOwnProperty.call(t,n)&&r("cannot merge returns because both have the "+JSON.stringify(n)+" key"),a[n]=e[n]}),Object.keys(t).forEach(function(e){a[e]=t[e]}),a},o.ONCE=function(e,t,n){if(e&&t)throw new TypeError("Cannot mixin "+n+" because it has a unique constraint.");var r=e||t;return function(e){return r.apply(this,e)}},o.MANY=function(e,t,n){return function(n){return t&&t.apply(this,n),e?e.apply(this,n):void 0}},o.MANY_MERGED_LOOSE=function(e,t,n){return e&&t?o._mergeObjects(e,t):e||t},o.MANY_MERGED=function(e,t,n){return function(n){var r=t&&t.apply(this,n),a=e&&e.apply(this,n);return r&&a?o._mergeObjects(r,a):a||r}},o.REDUCE_LEFT=function(e,t,n){var r=e||function(e){return e},o=t||function(e){return e};return function(e){return o.call(this,r.apply(this,e))}},o.REDUCE_RIGHT=function(e,t,n){var r=e||function(e){return e},o=t||function(e){return e};return function(e){return r.call(this,o.apply(this,e))}}},function(e,t,n){var r=n(955);"string"==typeof r&&(r=[[e.id,r,""]]);n(449)(r,{});r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(956);"string"==typeof r&&(r=[[e.id,r,""]]);n(449)(r,{});r.locals&&(e.exports=r.locals)},function(e,t){"use strict";function n(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,r){return n(e,t[r])});var o="undefined"==typeof e?"undefined":r(e),a="undefined"==typeof t?"undefined":r(t);if(o!==a)return!1;if("object"===o){var i=e.valueOf(),s=t.valueOf();if(i!==e||s!==t)return n(i,s);var u=Object.keys(e),l=Object.keys(t);return u.length===l.length&&u.every(function(r){return n(e[r],t[r])})}return!1}t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=n,e.exports=t.default},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}}]);