text: !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={exports:{},id:r,loaded:!1};return e[r].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="./",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(){var e={context:{onSetTitle:function(e){return document.title=e}}},t=a["default"].createElement(c["default"],e);a["default"].render(t,document.getElementById("app"),function(){var e=document.getElementById("css");e.parentNode.removeChild(e)})}n(227);var o=n(7),a=r(o),u=n(250),s=r(u),l=n(213),c=r(l);Promise.all([new Promise(function(e){window.addEventListener?window.addEventListener("DOMContentLoaded",e):window.attachEvent("onload",e)}).then(function(){return s["default"].attach(document.body)})]).then(i)},function(e,t,n){"use strict";function r(e){return isNaN(e=+e)?0:(e>0?g:p)(e)}function i(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function o(e,t,n){return e[t]=n,e}function a(e){return w?function(t,n,r){return y.setDesc(t,n,i(e,r))}:o}function u(e){return null!==e&&("object"==typeof e||"function"==typeof e)}function s(e){return"function"==typeof e}function l(e){if(void 0==e)throw TypeError("Can't call method on  "+e);return e}var c="undefined"!=typeof self?self:Function("return this")(),h={},f=Object.defineProperty,d={}.hasOwnProperty,p=Math.ceil,g=Math.floor,v=Math.max,m=Math.min,w=!!function(){try{return 2==f({},"a",{get:function(){return 2}}).a}catch(e){}}(),b=a(1),y=e.exports=n(152)({g:c,core:h,html:c.document&&document.documentElement,isObject:u,isFunction:s,that:function(){return this},toInteger:r,toLength:function(e){return e>0?m(r(e),9007199254740991):0},toIndex:function(e,t){return e=r(e),0>e?v(e+t,0):m(e,t)},has:function(e,t){return d.call(e,t)},create:Object.create,getProto:Object.getPrototypeOf,DESC:w,desc:i,getDesc:Object.getOwnPropertyDescriptor,setDesc:f,setDescs:Object.defineProperties,getKeys:Object.keys,getNames:Object.getOwnPropertyNames,getSymbols:Object.getOwnPropertySymbols,assertDefined:l,ES5Object:Object,toObject:function(e){return y.ES5Object(l(e))},hide:b,def:a(0),set:c.Symbol?o:b,each:[].forEach});"undefined"!=typeof __e&&(__e=h),"undefined"!=typeof __g&&(__g=c)},function(e,t,n){"use strict";var r=function(e,t,n,r,i,o,a,u){if(!e){var s;if(void 0===t)s=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,i,o,a,u],c=0;s=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return l[c++]}))}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){function r(e,t){return function(){return e.apply(t,arguments)}}function i(e,t,n){var c,h,f,d,p=e&i.G,g=e&i.P,v=p?a:e&i.S?a[t]:(a[t]||{}).prototype,m=p?u:u[t]||(u[t]={});p&&(n=t);for(c in n)h=!(e&i.F)&&v&&c in v,f=(h?v:n)[c],d=e&i.B&&h?r(f,a):g&&s(f)?r(Function.call,f):f,v&&!h&&l(v,c,f),m[c]!=f&&o.hide(m,c,d),g&&((m.prototype||(m.prototype={}))[c]=f)}var o=n(1),a=o.g,u=o.core,s=o.isFunction,l=n(23);a.core=u,i.F=1,i.G=2,i.S=4,i.P=8,i.B=16,i.W=32,e.exports=i},function(e,t){"use strict";function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),r=Object.prototype.hasOwnProperty,i=1;i<arguments.length;i++){var o=arguments[i];if(null!=o){var a=Object(o);for(var u in a)r.call(a,u)&&(n[u]=a[u])}}return n}e.exports=n},function(e,t,n){"use strict";var r=n(19),i=r;e.exports=i},function(e,t,n){"use strict";var r=n(79),i=n(27),o=n(4),a=(n(5),{key:!0,ref:!0}),u=function(e,t,n,r,i,o){this.type=e,this.key=t,this.ref=n,this._owner=r,this._context=i,this.props=o};u.prototype={_isReactElement:!0},u.createElement=function(e,t,n){var o,s={},l=null,c=null;if(null!=t){c=void 0===t.ref?null:t.ref,l=void 0===t.key?null:""+t.key;for(o in t)t.hasOwnProperty(o)&&!a.hasOwnProperty(o)&&(s[o]=t[o])}var h=arguments.length-2;if(1===h)s.children=n;else if(h>1){for(var f=Array(h),d=0;h>d;d++)f[d]=arguments[d+2];s.children=f}if(e&&e.defaultProps){var p=e.defaultProps;for(o in p)"undefined"==typeof s[o]&&(s[o]=p[o])}return new u(e,l,c,i.current,r.current,s)},u.createFactory=function(e){var t=u.createElement.bind(null,e);return t.type=e,t},u.cloneAndReplaceProps=function(e,t){var n=new u(e.type,e.key,e.ref,e._owner,e._context,t);return n},u.cloneElement=function(e,t,n){var r,s=o({},e.props),l=e.key,c=e.ref,h=e._owner;if(null!=t){void 0!==t.ref&&(c=t.ref,h=i.current),void 0!==t.key&&(l=""+t.key);for(r in t)t.hasOwnProperty(r)&&!a.hasOwnProperty(r)&&(s[r]=t[r])}var f=arguments.length-2;if(1===f)s.children=n;else if(f>1){for(var d=Array(f),p=0;f>p;p++)d[p]=arguments[p+2];s.children=d}return new u(e.type,l,c,h,e._context,s)},u.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},e.exports=u},function(e,t,n){e.exports=n(37)},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){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={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var a=t[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=h[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(u(r.parts[o],t))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(u(r.parts[o],t));h[r.id]={id:r.id,refs:1,parts:a}}}}function i(e){for(var t=[],n={},r=0;r<e.length;r++){var i=e[r],o=i[0],a=i[1],u=i[2],s=i[3],l={css:a,media:u,sourceMap:s};n[o]?n[o].parts.push(l):t.push(n[o]={id:o,parts:[l]})}return t}function o(){var e=document.createElement("style"),t=p();return e.type="text/css",t.appendChild(e),e}function a(){var e=document.createElement("link"),t=p();return e.rel="stylesheet",t.appendChild(e),e}function u(e,t){var n,r,i;if(t.singleton){var u=v++;n=g||(g=o()),r=s.bind(null,n,u,!1),i=s.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=a(),r=c.bind(null,n),i=function(){n.parentNode.removeChild(n),n.href&&URL.revokeObjectURL(n.href)}):(n=o(),r=l.bind(null,n),i=function(){n.parentNode.removeChild(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 i()}}function s(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=m(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function l(e,t){var n=t.css,r=t.media;t.sourceMap;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 c(e,t){var n=t.css,r=(t.media,t.sourceMap);r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var i=new Blob([n],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}var h={},f=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},d=f(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),p=f(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,v=0;e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=d());var n=i(e);return r(n,t),function(e){for(var o=[],a=0;a<n.length;a++){var u=n[a],s=h[u.id];s.refs--,o.push(s)}if(e){var l=i(e);r(l,t)}for(var a=0;a<o.length;a++){var s=o[a];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete h[s.id]}}}};var m=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t,n){function r(e,t,n){if(!e)throw TypeError(n?t+n:t)}var i=n(1);r.def=i.assertDefined,r.fn=function(e){if(!i.isFunction(e))throw TypeError(e+" is not a function!");return e},r.obj=function(e){if(!i.isObject(e))throw TypeError(e+" is not an object!");return e},r.inst=function(e,t,n){if(!(e instanceof t))throw TypeError(n+": use the 'new' operator!");return e},e.exports=r},function(e,t,n){/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
  "use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return function(t){return function(){function n(){i(this,n),this.refCount=0,t.prototype.renderCss=function(e){var t=void 0;h.canUseDOM?this.styleId&&(t=document.getElementById(this.styleId))?"textContent"in t?t.textContent=e:t.styleSheet.cssText=e:(this.styleId="dynamic-css-"+f++,t=document.createElement("style"),t.setAttribute("id",this.styleId),t.setAttribute("type","text/css"),"textContent"in t?t.textContent=e:t.styleSheet.cssText=e,document.getElementsByTagName("head")[0].appendChild(t),this.refCount++):this.context.onInsertCss(e)}.bind(this)}return a(n,null,[{key:"contextTypes",value:{onInsertCss:u.PropTypes.func},enumerable:!0}]),a(n,[{key:"componentWillMount",value:function(){h.canUseDOM?(c["default"](e.use,"The style-loader must be configured with reference-counted API."),e.use()):this.context.onInsertCss(e.toString())}},{key:"componentWillUnmount",value:function(){if(e.unuse(),this.styleId&&(this.refCount--,this.refCount<1)){var t=document.getElementById(this.styleId);t&&t.parentNode.removeChild(t)}}},{key:"render",value:function(){return s["default"].createElement(t,this.props)}}]),n}()}}Object.defineProperty(t,"__esModule",{value:!0});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}}(),u=n(7),s=r(u),l=n(2),c=r(l),h=n(8),f=0;t["default"]=o,e.exports=t["default"]},,function(e,t,n){function r(e){return a.call(e).slice(8,-1)}var i=n(1),o=n(15)("toStringTag"),a={}.toString;r.classof=function(e){var t,n;return void 0==e?void 0===e?"Undefined":"Null":"string"==typeof(n=(t=Object(e))[o])?n:r(t)},r.set=function(e,t,n){e&&!i.has(e=n?e:e.prototype,o)&&i.hide(e,o,t)},e.exports=r},function(e,t,n){var r=n(1).g,i=n(70)("wks");e.exports=function(e){return i[e]||(i[e]=r.Symbol&&r.Symbol[e]||n(20).safe("Symbol."+e))}},function(e,t,n){"use strict";var r=n(43),i=r({bubbled:null,captured:null}),o=r({topBlur: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,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),a={topLevelTypes:o,PropagationPhases:i};e.exports=a},function(e,t,n){"use strict";function r(e,t){var n=E.hasOwnProperty(t)?E[t]:null;C.hasOwnProperty(t)&&w(n===S.OVERRIDE_BASE),e.hasOwnProperty(t)&&w(n===S.DEFINE_MANY||n===S.DEFINE_MANY_MERGED)}function i(e,t){if(t){w("function"!=typeof t),w(!f.isValidElement(t));var n=e.prototype;t.hasOwnProperty(T)&&P.mixins(e,t.mixins);for(var i in t)if(t.hasOwnProperty(i)&&i!==T){var o=t[i];if(r(n,i),P.hasOwnProperty(i))P[i](e,o);else{var a=E.hasOwnProperty(i),l=n.hasOwnProperty(i),c=o&&o.__reactDontBind,h="function"==typeof o,d=h&&!a&&!l&&!c;if(d)n.__reactAutoBindMap||(n.__reactAutoBindMap={}),n.__reactAutoBindMap[i]=o,n[i]=o;else if(l){var p=E[i];w(a&&(p===S.DEFINE_MANY_MERGED||p===S.DEFINE_MANY)),p===S.DEFINE_MANY_MERGED?n[i]=u(n[i],o):p===S.DEFINE_MANY&&(n[i]=s(n[i],o))}else n[i]=o}}}}function o(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var i=n in P;w(!i);var o=n in e;w(!o),e[n]=r}}}function a(e,t){w(e&&t&&"object"==typeof e&&"object"==typeof t);for(var n in t)t.hasOwnProperty(n)&&(w(void 0===e[n]),e[n]=t[n]);return e}function u(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 i={};return a(i,n),a(i,r),i}}function s(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function l(e,t){var n=t.bind(e);return n}function c(e){for(var t in e.__reactAutoBindMap)if(e.__reactAutoBindMap.hasOwnProperty(t)){var n=e.__reactAutoBindMap[t];e[t]=l(e,d.guard(n,e.constructor.displayName+"."+t))}}var h=n(126),f=(n(27),n(6)),d=n(292),p=n(41),g=n(82),v=(n(83),n(61),n(84)),m=n(4),w=n(2),b=n(43),y=n(21),T=(n(5),y({mixins:null})),S=b({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),_=[],E={mixins:S.DEFINE_MANY,statics:S.DEFINE_MANY,propTypes:S.DEFINE_MANY,contextTypes:S.DEFINE_MANY,childContextTypes:S.DEFINE_MANY,getDefaultProps:S.DEFINE_MANY_MERGED,getInitialState:S.DEFINE_MANY_MERGED,getChildContext:S.DEFINE_MANY_MERGED,render:S.DEFINE_ONCE,componentWillMount:S.DEFINE_MANY,componentDidMount:S.DEFINE_MANY,componentWillReceiveProps:S.DEFINE_MANY,shouldComponentUpdate:S.DEFINE_ONCE,componentWillUpdate:S.DEFINE_MANY,componentDidUpdate:S.DEFINE_MANY,componentWillUnmount:S.DEFINE_MANY,updateComponent:S.OVERRIDE_BASE},P={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)i(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=m({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=m({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=u(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=m({},e.propTypes,t)},statics:function(e,t){o(e,t)}},C={replaceState:function(e,t){v.enqueueReplaceState(this,e),t&&v.enqueueCallback(this,t)},isMounted:function(){var e=p.get(this);return e&&e!==g.currentlyMountingInstance},setProps:function(e,t){v.enqueueSetProps(this,e),t&&v.enqueueCallback(this,t)},replaceProps:function(e,t){v.enqueueReplaceProps(this,e),t&&v.enqueueCallback(this,t)}},M=function(){};m(M.prototype,h.prototype,C);var x={createClass:function(e){var t=function(e,t){this.__reactAutoBindMap&&c(this),this.props=e,this.context=t,this.state=null;var n=this.getInitialState?this.getInitialState():null;w("object"==typeof n&&!Array.isArray(n)),this.state=n};t.prototype=new M,t.prototype.constructor=t,_.forEach(i.bind(null,t)),i(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),w(t.prototype.render);for(var n in E)t.prototype[n]||(t.prototype[n]=null);return t.type=t,t},injection:{injectMixin:function(e){_.push(e)}}};e.exports=x},function(e,t,n){"use strict";function r(){v(C.ReactReconcileTransaction&&y)}function i(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=c.getPooled(),this.reconcileTransaction=C.ReactReconcileTransaction.getPooled()}function o(e,t,n,i,o){r(),y.batchedUpdates(e,t,n,i,o)}function a(e,t){return e._mountOrder-t._mountOrder}function u(e){var t=e.dirtyComponentsLength;v(t===m.length),m.sort(a);for(var n=0;t>n;n++){var r=m[n],i=r._pendingCallbacks;if(r._pendingCallbacks=null,d.performUpdateIfNecessary(r,e.reconcileTransaction),i)for(var o=0;o<i.length;o++)e.callbackQueue.enqueue(i[o],r.getPublicInstance())}}function s(e){return r(),y.isBatchingUpdates?void m.push(e):void y.batchedUpdates(s,e)}function l(e,t){v(y.isBatchingUpdates),w.enqueue(e,t),b=!0}var c=n(73),h=n(25),f=(n(27),n(30)),d=n(42),p=n(63),g=n(4),v=n(2),m=(n(5),[]),w=c.getPooled(),b=!1,y=null,T={initialize:function(){this.dirtyComponentsLength=m.length},close:function(){this.dirtyComponentsLength!==m.length?(m.splice(0,this.dirtyComponentsLength),E()):m.length=0}},S={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},_=[T,S];g(i.prototype,p.Mixin,{getTransactionWrappers:function(){return _},destructor:function(){this.dirtyComponentsLength=null,c.release(this.callbackQueue),this.callbackQueue=null,C.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return p.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),h.addPoolingTo(i);var E=function(){for(;m.length||b;){if(m.length){var e=i.getPooled();e.perform(u,null,e),i.release(e)}if(b){b=!1;var t=w;w=c.getPooled(),t.notifyAll(),c.release(t)}}};E=f.measure("ReactUpdates","flushBatchedUpdates",E);var P={injectReconcileTransaction:function(e){v(e),C.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){v(e),v("function"==typeof e.batchedUpdates),v("boolean"==typeof e.isBatchingUpdates),y=e}},C={ReactReconcileTransaction:null,batchedUpdates:o,enqueueUpdate:s,flushBatchedUpdates:E,injection:P,asap:l};e.exports=C},function(e,t){function n(e){return function(){return e}}function r(){}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,n){function r(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+Math.random()).toString(36))}var i=0;r.safe=n(1).g.Symbol||r,e.exports=r},function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t,n){"use strict";function r(e,t){i.hide(e,l,t),c in[]&&i.hide(e,c,t)}var i=n(1),o=n(14),a=o.classof,u=n(11),s=u.obj,l=n(15)("iterator"),c="@@iterator",h=n(70)("iterators"),f={};r(f,i.that),e.exports={BUGGY:"keys"in[]&&!("next"in[].keys()),Iterators:h,step:function(e,t){return{value:t,done:!!e}},is:function(e){var t=Object(e),n=i.g.Symbol;return(n&&n.iterator||c)in t||l in t||i.has(h,a(t))},get:function(e){var t,n=i.g.Symbol;return void 0!=e&&(t=e[n&&n.iterator||c]||e[l]||h[a(e)]),u(i.isFunction(t),e," is not iterable!"),s(t.call(e))},set:r,create:function(e,t,n,r){e.prototype=i.create(r||f,{next:i.desc(1,n)}),o.set(e,t+" Iterator")}}},function(e,t,n){function r(e,t,n,r){if(i.isFunction(n)){var u=e[t];i.hide(n,a,u?String(u):o.replace(/hasOwnProperty/,String(t))),"name"in n||(n.name=t)}e===i.g?e[t]=n:(r||delete e[t],i.hide(e,t,n))}var i=n(1),o=String({}.hasOwnProperty),a=n(20).safe("src"),u=Function.toString;r(Function.prototype,"toString",function(){return i.has(this,a)?this[a]:u.call(this)}),i.core.inspectSource=function(e){return u.call(e)},e.exports=r},function(e,t,n){var r;(function(e,i){(function(){function o(e,t){if(e!==t){var n=null===e,r=e===C,i=e===e,o=null===t,a=t===C,u=t===t;if(e>t&&!o||!i||n&&!a&&u||r&&u)return 1;if(t>e&&!n||!u||o&&!r&&i||a&&i)return-1}return 0}function a(e,t,n){for(var r=e.length,i=n?r:-1;n?i--:++i<r;)if(t(e[i],i,e))return i;return-1}function u(e,t,n){if(t!==t)return m(e,n);for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function s(e){return"function"==typeof e||!1}function l(e){return"string"==typeof e?e:null==e?"":e+""}function c(e,t){for(var n=-1,r=e.length;++n<r&&t.indexOf(e.charAt(n))>-1;);return n}function h(e,t){for(var n=e.length;n--&&t.indexOf(e.charAt(n))>-1;);return n}function f(e,t){return o(e.criteria,t.criteria)||e.index-t.index}function d(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,u=i.length,s=n.length;++r<u;){var l=o(i[r],a[r]);if(l)return r>=s?l:l*(n[r]?1:-1)}return e.index-t.index}function p(e){return Ke[e]}function g(e){return qe[e]}function v(e){return"\\"+$e[e]}function m(e,t,n){for(var r=e.length,i=t+(n?0:-1);n?i--:++i<r;){var o=e[i];if(o!==o)return i}return-1}function w(e){return!!e&&"object"==typeof e}function b(e){return 160>=e&&e>=9&&13>=e||32==e||160==e||5760==e||6158==e||e>=8192&&(8202>=e||8232==e||8233==e||8239==e||8287==e||12288==e||65279==e)}function y(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;)e[n]===t&&(e[n]=z,o[++i]=n);return o}function T(e,t){for(var n,r=-1,i=e.length,o=-1,a=[];++r<i;){var u=e[r],s=t?t(u,r,e):u;r&&n===s||(n=s,a[++o]=u)}return a}function S(e){for(var t=-1,n=e.length;++t<n&&b(e.charCodeAt(t)););return t}function _(e){for(var t=e.length;t--&&b(e.charCodeAt(t)););return t}function E(e){return Ye[e]}function P(e){function t(e){if(w(e)&&!Mu(e)&&!(e instanceof i)){if(e instanceof r)return e;if(Yo.call(e,"__chain__")&&Yo.call(e,"__wrapped__"))return lr(e)}return new r(e)}function n(){}function r(e,t,n){this.__wrapped__=e,this.__actions__=n||[],this.__chain__=!!t}function i(e){this.__wrapped__=e,this.__actions__=null,this.__dir__=1,this.__dropCount__=0,this.__filtered__=!1,this.__iteratees__=null,this.__takeCount__=Pa,this.__views__=null}function b(){var e=this.__actions__,t=this.__iteratees__,n=this.__views__,r=new i(this.__wrapped__);return r.__actions__=e?et(e):null,r.__dir__=this.__dir__,r.__filtered__=this.__filtered__,r.__iteratees__=t?et(t):null,r.__takeCount__=this.__takeCount__,r.__views__=n?et(n):null,r}function Z(){if(this.__filtered__){var e=new i(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function ne(){var e=this.__wrapped__.value();if(!Mu(e))return tn(e,this.__actions__);var t=this.__dir__,n=0>t,r=Vn(0,e.length,this.__views__),i=r.start,o=r.end,a=o-i,u=n?o:i-1,s=ba(a,this.__takeCount__),l=this.__iteratees__,c=l?l.length:0,h=0,f=[];e:for(;a--&&s>h;){u+=t;for(var d=-1,p=e[u];++d<c;){var g=l[d],v=g.iteratee,m=g.type;if(m==j){if(g.done&&(n?u>g.index:u<g.index)&&(g.count=0,g.done=!1),g.index=u,!g.done){var w=g.limit;if(!(g.done=w>-1?g.count++>=w:!v(p)))continue e}}else{var b=v(p);if(m==U)p=b;else if(!b){if(m==V)continue e;break e}}}f[h++]=p}return f}function ie(){this.__data__={}}function Ke(e){return this.has(e)&&delete this.__data__[e]}function qe(e){return"__proto__"==e?C:this.__data__[e]}function Ye(e){return"__proto__"!=e&&Yo.call(this.__data__,e)}function Qe(e,t){return"__proto__"!=e&&(this.__data__[e]=t),this}function $e(e){var t=e?e.length:0;for(this.data={hash:pa(null),set:new sa};t--;)this.push(e[t])}function Ze(e,t){var n=e.data,r="string"==typeof t||xi(t)?n.set.has(t):n.hash[t];return r?0:-1}function Je(e){var t=this.data;"string"==typeof e||xi(e)?t.set.add(e):t.hash[e]=!0}function et(e,t){var n=-1,r=e.length;for(t||(t=No(r));++n<r;)t[n]=e[n];return t}function tt(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function nt(e,t){for(var n=e.length;n--&&t(e[n],n,e)!==!1;);return e}function ot(e,t){for(var n=-1,r=e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function at(e,t,n,r){for(var i=-1,o=e.length,a=r,u=a;++i<o;){var s=e[i],l=+t(s);n(l,a)&&(a=l,u=s)}return u}function ut(e,t){for(var n=-1,r=e.length,i=-1,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[++i]=a)}return o}function st(e,t){for(var n=-1,r=e.length,i=No(r);++n<r;)i[n]=t(e[n],n,e);return i}function lt(e,t,n,r){var i=-1,o=e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function ct(e,t,n,r){var i=e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function ht(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function ft(e){for(var t=e.length,n=0;t--;)n+=+e[t]||0;return n}function dt(e,t){return e===C?t:e}function pt(e,t,n,r){return e!==C&&Yo.call(r,n)?e:t}function gt(e,t,n){for(var r=-1,i=Hu(t),o=i.length;++r<o;){var a=i[r],u=e[a],s=n(u,t[a],a,e,t);(s===s?s===u:u!==u)&&(u!==C||a in e)||(e[a]=s)}return e}function vt(e,t){return null==t?e:wt(t,Hu(t),e)}function mt(e,t){for(var n=-1,r=null==e,i=!r&&Kn(e),o=i?e.length:0,a=t.length,u=No(a);++n<a;){var s=t[n];i?u[n]=qn(s,o)?e[s]:C:u[n]=r?C:e[s]}return u}function wt(e,t,n){n||(n={});for(var r=-1,i=t.length;++r<i;){var o=t[r];n[o]=e[o]}return n}function bt(e,t,n){var r=typeof e;return"function"==r?t===C?e:on(e,t,n):null==e?To:"object"==r?Lt(e):t===C?Mo(e):Ht(e,t)}function yt(e,t,n,r,i,o,a){var u;if(n&&(u=i?n(e,r,i):n(e)),u!==C)return u;if(!xi(e))return e;var s=Mu(e);if(s){if(u=Un(e),!t)return et(e,u)}else{var l=$o.call(e),c=l==$;if(l!=ee&&l!=X&&(!c||i))return ze[l]?zn(e,l,t):i?e:{};if(u=Wn(c?{}:e),!t)return vt(u,e)}o||(o=[]),a||(a=[]);for(var h=o.length;h--;)if(o[h]==e)return a[h];return o.push(e),a.push(u),(s?tt:Dt)(e,function(r,i){u[i]=yt(r,t,n,i,e,o,a)}),u}function Tt(e,t,n){if("function"!=typeof e)throw new Uo(W);return la(function(){e.apply(C,n)},t)}function St(e,t){var n=e?e.length:0,r=[];if(!n)return r;var i=-1,o=Hn(),a=o==u,s=a&&t.length>=200?Fa(t):null,l=t.length;s&&(o=Ze,a=!1,t=s);e:for(;++i<n;){var c=e[i];if(a&&c===c){for(var h=l;h--;)if(t[h]===c)continue e;r.push(c)}else o(t,c,0)<0&&r.push(c)}return r}function _t(e,t){var n=!0;return Ga(e,function(e,r,i){return n=!!t(e,r,i)}),n}function Et(e,t,n,r){var i=r,o=i;return Ga(e,function(e,a,u){var s=+t(e,a,u);(n(s,i)||s===r&&s===o)&&(i=s,o=e)}),o}function Pt(e,t,n,r){var i=e.length;for(n=null==n?0:+n||0,0>n&&(n=-n>i?0:i+n),r=r===C||r>i?i:+r||0,0>r&&(r+=i),i=n>r?0:r>>>0,n>>>=0;i>n;)e[n++]=t;return e}function Ct(e,t){var n=[];return Ga(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function Mt(e,t,n,r){var i;return n(e,function(e,n,o){return t(e,n,o)?(i=r?n:e,!1):void 0}),i}function xt(e,t,n){for(var r=-1,i=e.length,o=-1,a=[];++r<i;){var u=e[r];if(w(u)&&Kn(u)&&(n||Mu(u)||Ti(u))){t&&(u=xt(u,t,n));for(var s=-1,l=u.length;++s<l;)a[++o]=u[s]}else n||(a[++o]=u)}return a}function At(e,t){return Ba(e,t,Ki)}function Dt(e,t){return Ba(e,t,Hu)}function kt(e,t){return La(e,t,Hu)}function It(e,t){for(var n=-1,r=t.length,i=-1,o=[];++n<r;){var a=t[n];Au(e[a])&&(o[++i]=a)}return o}function Ot(e,t,n){if(null!=e){n!==C&&n in ur(e)&&(t=[n]);for(var r=0,i=t.length;null!=e&&i>r;)e=e[t[r++]];return r&&r==i?e:C}}function Nt(e,t,n,r,i,o){return e===t?!0:null==e||null==t||!xi(e)&&!w(t)?e!==e&&t!==t:Gt(e,t,Nt,n,r,i,o)}function Gt(e,t,n,r,i,o,a){var u=Mu(e),s=Mu(t),l=K,c=K;u||(l=$o.call(e),l==X?l=ee:l!=ee&&(u=Ri(e))),s||(c=$o.call(t),c==X?c=ee:c!=ee&&(s=Ri(t)));var h=l==ee,f=c==ee,d=l==c;if(d&&!u&&!h)return Gn(e,t,l);if(!i){var p=h&&Yo.call(e,"__wrapped__"),g=f&&Yo.call(t,"__wrapped__");if(p||g)return n(p?e.value():e,g?t.value():t,r,i,o,a)}if(!d)return!1;o||(o=[]),a||(a=[]);for(var v=o.length;v--;)if(o[v]==e)return a[v]==t;o.push(e),a.push(t);var m=(u?Nn:Rn)(e,t,n,r,i,o,a);return o.pop(),a.pop(),m}function Rt(e,t,n){var r=t.length,i=r,o=!n;if(null==e)return!i;for(e=ur(e);r--;){var a=t[r];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++r<i;){a=t[r];var u=a[0],s=e[u],l=a[1];if(o&&a[2]){if(s===C&&!(u in e))return!1}else{var c=n?n(s,l,u):C;if(!(c===C?Nt(l,s,n,!0):c))return!1}}return!0}function Bt(e,t){var n=-1,r=Kn(e)?No(e.length):[];return Ga(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function Lt(e){var t=Fn(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null==e?!1:e[n]===r&&(r!==C||n in ur(e))}}return function(e){return Rt(e,t)}}function Ht(e,t){var n=Mu(e),r=Qn(e)&&Jn(t),i=e+"";return e=sr(e),function(o){if(null==o)return!1;var a=i;if(o=ur(o),(n||!r)&&!(a in o)){if(o=1==e.length?o:Ot(o,Kt(e,0,-1)),null==o)return!1;a=Sr(e),o=ur(o)}return o[a]===t?t!==C||a in o:Nt(t,o[a],C,!0)}}function Ft(e,t,n,r,i){if(!xi(e))return e;var o=Kn(t)&&(Mu(t)||Ri(t)),a=o?null:Hu(t);return tt(a||t,function(u,s){if(a&&(s=u,u=t[s]),w(u))r||(r=[]),i||(i=[]),jt(e,t,s,Ft,n,r,i);else{var l=e[s],c=n?n(l,u,s,e,t):C,h=c===C;h&&(c=u),c===C&&(!o||s in e)||!h&&(c===c?c===l:l!==l)||(e[s]=c)}}),e}function jt(e,t,n,r,i,o,a){for(var u=o.length,s=t[n];u--;)if(o[u]==s)return void(e[n]=a[u]);var l=e[n],c=i?i(l,s,n,e,t):C,h=c===C;h&&(c=s,Kn(s)&&(Mu(s)||Ri(s))?c=Mu(l)?l:Kn(l)?et(l):[]:Du(s)||Ti(s)?c=Ti(l)?ji(l):Du(l)?l:{}:h=!1),o.push(s),a.push(c),h?e[n]=r(c,s,i,o,a):(c===c?c!==l:l===l)&&(e[n]=c)}function Vt(e){return function(t){return null==t?C:t[e]}}function Ut(e){var t=e+"";return e=sr(e),function(n){return Ot(n,e,t)}}function Wt(e,t){for(var n=e?t.length:0;n--;){var r=t[n];if(r!=i&&qn(r)){var i=r;ca.call(e,r,1)}}return e}function zt(e,t){return e+ia(_a()*(t-e+1))}function Xt(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function Kt(e,t,n){var r=-1,i=e.length;t=null==t?0:+t||0,0>t&&(t=-t>i?0:i+t),n=n===C||n>i?i:+n||0,0>n&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=No(i);++r<i;)o[r]=e[r+t];return o}function qt(e,t){var n;return Ga(e,function(e,r,i){return n=t(e,r,i),!n}),!!n}function Yt(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function Qt(e,t,n){var r=Bn(),i=-1;t=st(t,function(e){return r(e)});var o=Bt(e,function(e){var n=st(t,function(t){return t(e)});return{criteria:n,index:++i,value:e}});return Yt(o,function(e,t){return d(e,t,n)})}function $t(e,t){var n=0;return Ga(e,function(e,r,i){n+=+t(e,r,i)||0}),n}function Zt(e,t){var n=-1,r=Hn(),i=e.length,o=r==u,a=o&&i>=200,s=a?Fa():null,l=[];s?(r=Ze,o=!1):(a=!1,s=t?[]:l);e:for(;++n<i;){var c=e[n],h=t?t(c,n,e):c;if(o&&c===c){for(var f=s.length;f--;)if(s[f]===h)continue e;t&&s.push(h),l.push(c)}else r(s,h,0)<0&&((t||a)&&s.push(h),l.push(c))}return l}function Jt(e,t){for(var n=-1,r=t.length,i=No(r);++n<r;)i[n]=e[t[n]];return i}function en(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?Kt(e,r?0:o,r?o+1:i):Kt(e,r?o+1:0,r?i:o)}function tn(e,t){var n=e;n instanceof i&&(n=n.value());for(var r=-1,o=t.length;++r<o;){var a=[n],u=t[r];ua.apply(a,u.args),n=u.func.apply(u.thisArg,a)}return n}function nn(e,t,n){var r=0,i=e?e.length:r;if("number"==typeof t&&t===t&&xa>=i){for(;i>r;){var o=r+i>>>1,a=e[o];(n?t>=a:t>a)&&null!==a?r=o+1:i=o}return i}return rn(e,t,To,n)}function rn(e,t,n,r){t=n(t);for(var i=0,o=e?e.length:0,a=t!==t,u=null===t,s=t===C;o>i;){var l=ia((i+o)/2),c=n(e[l]),h=c!==C,f=c===c;if(a)var d=f||r;else d=u?f&&h&&(r||null!=c):s?f&&(r||h):null==c?!1:r?t>=c:t>c;d?i=l+1:o=l}return ba(o,Ma)}function on(e,t,n){if("function"!=typeof e)return To;if(t===C)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)};case 5:return function(n,r,i,o,a){return e.call(t,n,r,i,o,a)}}return function(){return e.apply(t,arguments)}}function an(e){return ta.call(e,0)}function un(e,t,n){for(var r=n.length,i=-1,o=wa(e.length-r,0),a=-1,u=t.length,s=No(o+u);++a<u;)s[a]=t[a];for(;++i<r;)s[n[i]]=e[i];for(;o--;)s[a++]=e[i++];return s}function sn(e,t,n){for(var r=-1,i=n.length,o=-1,a=wa(e.length-i,0),u=-1,s=t.length,l=No(a+s);++o<a;)l[o]=e[o];for(var c=o;++u<s;)l[c+u]=t[u];for(;++r<i;)l[c+n[r]]=e[o++];return l}function ln(e,t){return function(n,r,i){var o=t?t():{};if(r=Bn(r,i,3),Mu(n))for(var a=-1,u=n.length;++a<u;){var s=n[a];e(o,s,r(s,a,n),n)}else Ga(n,function(t,n,i){e(o,t,r(t,n,i),i)});return o}}function cn(e){return di(function(t,n){var r=-1,i=null==t?0:n.length,o=i>2?n[i-2]:C,a=i>2?n[2]:C,u=i>1?n[i-1]:C;for("function"==typeof o?(o=on(o,u,5),i-=2):(o="function"==typeof u?u:C,i-=o?1:0),a&&Yn(n[0],n[1],a)&&(o=3>i?C:o,i=1);++r<i;){var s=n[r];s&&e(t,s,o)}return t})}function hn(e,t){return function(n,r){var i=n?Va(n):0;if(!Zn(i))return e(n,r);for(var o=t?i:-1,a=ur(n);(t?o--:++o<i)&&r(a[o],o,a)!==!1;);return n}}function fn(e){return function(t,n,r){for(var i=ur(t),o=r(t),a=o.length,u=e?a:-1;e?u--:++u<a;){var s=o[u];if(n(i[s],s,i)===!1)break}return t}}function dn(e,t){function n(){var i=this&&this!==rt&&this instanceof n?r:e;return i.apply(t,arguments)}var r=gn(e);return n}function pn(e){return function(t){for(var n=-1,r=wo(ro(t)),i=r.length,o="";++n<i;)o=e(o,r[n],n);return o}}function gn(e){return function(){var t=arguments;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]);case 5:return new e(t[0],t[1],t[2],t[3],t[4])}var n=Na(e.prototype),r=e.apply(n,t);return xi(r)?r:n}}function vn(e){function t(n,r,i){i&&Yn(n,r,i)&&(r=null);var o=On(n,e,null,null,null,null,null,r);return o.placeholder=t.placeholder,o}return t}function mn(e,t){return function(n,r,i){if(i&&Yn(n,r,i)&&(r=null),r=Bn(r,i,3),1==r.length){n=ar(n);var o=at(n,r,e,t);if(!n.length||o!==t)return o}return Et(n,r,e,t)}}function wn(e,t){return function(n,r,i){if(r=Bn(r,i,3),Mu(n)){var o=a(n,r,t);return o>-1?n[o]:C}return Mt(n,r,e)}}function bn(e){return function(t,n,r){return t&&t.length?(n=Bn(n,r,3),a(t,n,e)):-1}}function yn(e){return function(t,n,r){return n=Bn(n,r,3),Mt(t,n,e,!0)}}function Tn(e){return function(){for(var t,n=arguments.length,i=e?n:-1,o=0,a=No(n);e?i--:++i<n;){var u=a[o++]=arguments[i];if("function"!=typeof u)throw new Uo(W);!t&&r.prototype.thru&&"wrapper"==Ln(u)&&(t=new r([]))}for(i=t?-1:n;++i<n;){u=a[i];var s=Ln(u),l="wrapper"==s?ja(u):null;t=l&&$n(l[0])&&l[1]==(G|k|O|R)&&!l[4].length&&1==l[9]?t[Ln(l[0])].apply(t,l[3]):1==u.length&&$n(u)?t[s]():t.thru(u)}return function(){var e=arguments;if(t&&1==e.length&&Mu(e[0]))return t.plant(e[0]).value();for(var r=0,i=n?a[r].apply(this,e):e[0];++r<n;)i=a[r].call(this,i);return i}}}function Sn(e,t){return function(n,r,i){return"function"==typeof r&&i===C&&Mu(n)?e(n,r):t(n,on(r,i,3))}}function _n(e){return function(t,n,r){return("function"!=typeof n||r!==C)&&(n=on(n,r,3)),e(t,n,Ki)}}function En(e){return function(t,n,r){return("function"!=typeof n||r!==C)&&(n=on(n,r,3)),e(t,n)}}function Pn(e){return function(t,n,r){var i={};return n=Bn(n,r,3),Dt(t,function(t,r,o){var a=n(t,r,o);r=e?a:r,t=e?t:a,i[r]=t}),i}}function Cn(e){return function(t,n,r){return t=l(t),(e?t:"")+Dn(t,n,r)+(e?"":t)}}function Mn(e){var t=di(function(n,r){var i=y(r,t.placeholder);return On(n,e,null,r,i)});return t}function xn(e,t){return function(n,r,i,o){var a=arguments.length<3;return"function"==typeof r&&o===C&&Mu(n)?e(n,r,i,a):Xt(n,Bn(r,o,4),i,a,t)}}function An(e,t,n,r,i,o,a,u,s,l){function c(){for(var w=arguments.length,b=w,T=No(w);b--;)T[b]=arguments[b];if(r&&(T=un(T,r,i)),o&&(T=sn(T,o,a)),p||v){var S=c.placeholder,_=y(T,S);if(w-=_.length,l>w){var E=u?et(u):null,P=wa(l-w,0),M=p?_:null,D=p?null:_,k=p?T:null,I=p?null:T;t|=p?O:N,t&=~(p?N:O),g||(t&=~(x|A));var G=[e,t,n,k,M,I,D,E,s,P],R=An.apply(C,G);return $n(e)&&Ua(R,G),R.placeholder=S,R}}var B=f?n:this,L=d?B[e]:e;return u&&(T=rr(T,u)),h&&s<T.length&&(T.length=s),this&&this!==rt&&this instanceof c&&(L=m||gn(e)),L.apply(B,T)}var h=t&G,f=t&x,d=t&A,p=t&k,g=t&D,v=t&I,m=d?null:gn(e);return c}function Dn(e,t,n){var r=e.length;if(t=+t,r>=t||!va(t))return"";var i=t-r;return n=null==n?" ":n+"",lo(n,na(i/n.length)).slice(0,i)}function kn(e,t,n,r){function i(){for(var t=-1,u=arguments.length,s=-1,l=r.length,c=No(u+l);++s<l;)c[s]=r[s];for(;u--;)c[s++]=arguments[++t];var h=this&&this!==rt&&this instanceof i?a:e;return h.apply(o?n:this,c)}var o=t&x,a=gn(e);return i}function In(e){return function(t,n,r,i){var o=Bn(r);return null==r&&o===bt?nn(t,n,e):rn(t,n,o(r,i,1),e)}}function On(e,t,n,r,i,o,a,u){var s=t&A;if(!s&&"function"!=typeof e)throw new Uo(W);var l=r?r.length:0;if(l||(t&=~(O|N),r=i=null),l-=i?i.length:0,t&N){var c=r,h=i;r=i=null}var f=s?null:ja(e),d=[e,t,n,r,i,c,h,o,a,u];if(f&&(er(d,f),t=d[1],u=d[9]),d[9]=null==u?s?0:e.length:wa(u-l,0)||0,t==x)var p=dn(d[0],d[2]);else p=t!=O&&t!=(x|O)||d[4].length?An.apply(C,d):kn.apply(C,d);var g=f?Ha:Ua;return g(p,d)}function Nn(e,t,n,r,i,o,a){var u=-1,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;for(;++u<s;){var c=e[u],h=t[u],f=r?r(i?h:c,i?c:h,u):C;if(f!==C){if(f)continue;return!1}if(i){if(!ht(t,function(e){return c===e||n(c,e,r,i,o,a)}))return!1}else if(c!==h&&!n(c,h,r,i,o,a))return!1}return!0}function Gn(e,t,n){switch(n){case q:case Y:return+e==+t;case Q:return e.name==t.name&&e.message==t.message;case J:return e!=+e?t!=+t:e==+t;case te:case re:return e==t+""}return!1}function Rn(e,t,n,r,i,o,a){var u=Hu(e),s=u.length,l=Hu(t),c=l.length;if(s!=c&&!i)return!1;for(var h=s;h--;){var f=u[h];if(!(i?f in t:Yo.call(t,f)))return!1}for(var d=i;++h<s;){f=u[h];var p=e[f],g=t[f],v=r?r(i?g:p,i?p:g,f):C;if(!(v===C?n(p,g,r,i,o,a):v))return!1;d||(d="constructor"==f)}if(!d){var m=e.constructor,w=t.constructor;if(m!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof w&&w instanceof w))return!1}return!0}function Bn(e,n,r){var i=t.callback||bo;return i=i===bo?bt:i,r?i(e,n,r):i}function Ln(e){for(var t=e.name,n=Ia[t],r=n?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function Hn(e,n,r){var i=t.indexOf||yr;return i=i===yr?u:i,e?i(e,n,r):i}function Fn(e){for(var t=qi(e),n=t.length;n--;)t[n][2]=Jn(t[n][1]);return t}function jn(e,t){var n=null==e?C:e[t];return ki(n)?n:C}function Vn(e,t,n){for(var r=-1,i=n?n.length:0;++r<i;){var o=n[r],a=o.size;switch(o.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=ba(t,e+a);break;case"takeRight":e=wa(e,t-a)}}return{start:e,end:t}}function Un(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Yo.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Wn(e){var t=e.constructor;return"function"==typeof t&&t instanceof t||(t=Fo),new t}function zn(e,t,n){var r=e.constructor;switch(t){case oe:return an(e);case q:case Y:return new r(+e);case ae:case ue:case se:case le:case ce:case he:case fe:case de:case pe:var i=e.buffer;return new r(n?an(i):i,e.byteOffset,e.length);case J:case re:return new r(e);case te:var o=new r(e.source,Oe.exec(e));o.lastIndex=e.lastIndex}return o}function Xn(e,t,n){null==e||Qn(t,e)||(t=sr(t),e=1==t.length?e:Ot(e,Kt(t,0,-1)),t=Sr(t));var r=null==e?e:e[t];return null==r?C:r.apply(e,n)}function Kn(e){return null!=e&&Zn(Va(e))}function qn(e,t){return e="number"==typeof e||Re.test(e)?+e:-1,t=null==t?Da:t,e>-1&&e%1==0&&t>e}function Yn(e,t,n){if(!xi(n))return!1;var r=typeof t;if("number"==r?Kn(n)&&qn(t,n.length):"string"==r&&t in n){var i=n[t];return e===e?e===i:i!==i}return!1}function Qn(e,t){var n=typeof e;if("string"==n&&Ce.test(e)||"number"==n)return!0;if(Mu(e))return!1;var r=!Pe.test(e);return r||null!=t&&e in ur(t)}function $n(e){var n=Ln(e);if(!(n in i.prototype))return!1;var r=t[n];if(e===r)return!0;var o=ja(r);return!!o&&e===o[0]}function Zn(e){return"number"==typeof e&&e>-1&&e%1==0&&Da>=e}function Jn(e){return e===e&&!xi(e)}function er(e,t){var n=e[1],r=t[1],i=n|r,o=G>i,a=r==G&&n==k||r==G&&n==R&&e[7].length<=t[8]||r==(G|R)&&n==k;if(!o&&!a)return e;r&x&&(e[2]=t[2],i|=n&x?0:D);var u=t[3];if(u){var s=e[3];e[3]=s?un(s,u,t[4]):et(u),e[4]=s?y(e[3],z):et(t[4])}return u=t[5],u&&(s=e[5],e[5]=s?sn(s,u,t[6]):et(u),e[6]=s?y(e[5],z):et(t[6])),u=t[7],u&&(e[7]=et(u)),r&G&&(e[8]=null==e[8]?t[8]:ba(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function tr(e,t){e=ur(e);for(var n=-1,r=t.length,i={};++n<r;){var o=t[n];o in e&&(i[o]=e[o])}return i}function nr(e,t){var n={};return At(e,function(e,r,i){t(e,r,i)&&(n[r]=e)}),n}function rr(e,t){for(var n=e.length,r=ba(t.length,n),i=et(e);r--;){var o=t[r];e[r]=qn(o,n)?i[o]:C}return e}function ir(e){var n;t.support;if(!w(e)||$o.call(e)!=ee||!Yo.call(e,"constructor")&&(n=e.constructor,"function"==typeof n&&!(n instanceof n)))return!1;var r;return At(e,function(e,t){r=t}),r===C||Yo.call(e,r)}function or(e){for(var t=Ki(e),n=t.length,r=n&&e.length,i=!!r&&Zn(r)&&(Mu(e)||Ti(e)),o=-1,a=[];++o<n;){var u=t[o];(i&&qn(u,r)||Yo.call(e,u))&&a.push(u)}return a}function ar(e){return null==e?[]:Kn(e)?xi(e)?e:Fo(e):Zi(e)}function ur(e){return xi(e)?e:Fo(e)}function sr(e){if(Mu(e))return e;var t=[];return l(e).replace(Me,function(e,n,r,i){t.push(r?i.replace(ke,"$1"):n||e)}),t}function lr(e){return e instanceof i?e.clone():new r(e.__wrapped__,e.__chain__,et(e.__actions__))}function cr(e,t,n){t=(n?Yn(e,t,n):null==t)?1:wa(+t||1,1);for(var r=0,i=e?e.length:0,o=-1,a=No(na(i/t));i>r;)a[++o]=Kt(e,r,r+=t);return a}function hr(e){for(var t=-1,n=e?e.length:0,r=-1,i=[];++t<n;){var o=e[t];o&&(i[++r]=o)}return i}function fr(e,t,n){var r=e?e.length:0;return r?((n?Yn(e,t,n):null==t)&&(t=1),Kt(e,0>t?0:t)):[]}function dr(e,t,n){var r=e?e.length:0;return r?((n?Yn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0,0>t?0:t)):[]}function pr(e,t,n){return e&&e.length?en(e,Bn(t,n,3),!0,!0):[]}function gr(e,t,n){return e&&e.length?en(e,Bn(t,n,3),!0):[]}function vr(e,t,n,r){var i=e?e.length:0;return i?(n&&"number"!=typeof n&&Yn(e,t,n)&&(n=0,r=i),Pt(e,t,n,r)):[]}function mr(e){return e?e[0]:C}function wr(e,t,n){var r=e?e.length:0;return n&&Yn(e,t,n)&&(t=!1),r?xt(e,t):[]}function br(e){var t=e?e.length:0;return t?xt(e,!0):[]}function yr(e,t,n){var r=e?e.length:0;if(!r)return-1;if("number"==typeof n)n=0>n?wa(r+n,0):n;else if(n){
  var i=nn(e,t),o=e[i];return(t===t?t===o:o!==o)?i:-1}return u(e,t,n||0)}function Tr(e){return dr(e,1)}function Sr(e){var t=e?e.length:0;return t?e[t-1]:C}function _r(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=r;if("number"==typeof n)i=(0>n?wa(r+n,0):ba(n||0,r-1))+1;else if(n){i=nn(e,t,!0)-1;var o=e[i];return(t===t?t===o:o!==o)?i:-1}if(t!==t)return m(e,i,!0);for(;i--;)if(e[i]===t)return i;return-1}function Er(){var e=arguments,t=e[0];if(!t||!t.length)return t;for(var n=0,r=Hn(),i=e.length;++n<i;)for(var o=0,a=e[n];(o=r(t,a,o))>-1;)ca.call(t,o,1);return t}function Pr(e,t,n){var r=[];if(!e||!e.length)return r;var i=-1,o=[],a=e.length;for(t=Bn(t,n,3);++i<a;){var u=e[i];t(u,i,e)&&(r.push(u),o.push(i))}return Wt(e,o),r}function Cr(e){return fr(e,1)}function Mr(e,t,n){var r=e?e.length:0;return r?(n&&"number"!=typeof n&&Yn(e,t,n)&&(t=0,n=r),Kt(e,t,n)):[]}function xr(e,t,n){var r=e?e.length:0;return r?((n?Yn(e,t,n):null==t)&&(t=1),Kt(e,0,0>t?0:t)):[]}function Ar(e,t,n){var r=e?e.length:0;return r?((n?Yn(e,t,n):null==t)&&(t=1),t=r-(+t||0),Kt(e,0>t?0:t)):[]}function Dr(e,t,n){return e&&e.length?en(e,Bn(t,n,3),!1,!0):[]}function kr(e,t,n){return e&&e.length?en(e,Bn(t,n,3)):[]}function Ir(e,t,n,r){var i=e?e.length:0;if(!i)return[];null!=t&&"boolean"!=typeof t&&(r=n,n=Yn(e,t,r)?null:t,t=!1);var o=Bn();return(null!=n||o!==bt)&&(n=o(n,r,3)),t&&Hn()==u?T(e,n):Zt(e,n)}function Or(e){if(!e||!e.length)return[];var t=-1,n=0;e=ut(e,function(e){return Kn(e)?(n=wa(e.length,n),!0):void 0});for(var r=No(n);++t<n;)r[t]=st(e,Vt(t));return r}function Nr(e,t,n){var r=e?e.length:0;if(!r)return[];var i=Or(e);return null==t?i:(t=on(t,n,4),st(i,function(e){return lt(e,t,C,!0)}))}function Gr(){for(var e=-1,t=arguments.length;++e<t;){var n=arguments[e];if(Kn(n))var r=r?St(r,n).concat(St(n,r)):n}return r?Zt(r):[]}function Rr(e,t){var n=-1,r=e?e.length:0,i={};for(!r||t||Mu(e[0])||(t=[]);++n<r;){var o=e[n];t?i[o]=t[n]:o&&(i[o[0]]=o[1])}return i}function Br(e){var n=t(e);return n.__chain__=!0,n}function Lr(e,t,n){return t.call(n,e),e}function Hr(e,t,n){return t.call(n,e)}function Fr(){return Br(this)}function jr(){return new r(this.value(),this.__chain__)}function Vr(e){for(var t,r=this;r instanceof n;){var i=lr(r);t?o.__wrapped__=i:t=i;var o=i;r=r.__wrapped__}return o.__wrapped__=e,t}function Ur(){var e=this.__wrapped__;return e instanceof i?(this.__actions__.length&&(e=new i(this)),new r(e.reverse(),this.__chain__)):this.thru(function(e){return e.reverse()})}function Wr(){return this.value()+""}function zr(){return tn(this.__wrapped__,this.__actions__)}function Xr(e,t,n){var r=Mu(e)?ot:_t;return n&&Yn(e,t,n)&&(t=null),("function"!=typeof t||n!==C)&&(t=Bn(t,n,3)),r(e,t)}function Kr(e,t,n){var r=Mu(e)?ut:Ct;return t=Bn(t,n,3),r(e,t)}function qr(e,t){return ru(e,Lt(t))}function Yr(e,t,n,r){var i=e?Va(e):0;return Zn(i)||(e=Zi(e),i=e.length),i?(n="number"!=typeof n||r&&Yn(t,n,r)?0:0>n?wa(i+n,0):n||0,"string"==typeof e||!Mu(e)&&Gi(e)?i>n&&e.indexOf(t,n)>-1:Hn(e,t,n)>-1):!1}function Qr(e,t,n){var r=Mu(e)?st:Bt;return t=Bn(t,n,3),r(e,t)}function $r(e,t){return Qr(e,Mo(t))}function Zr(e,t,n){var r=Mu(e)?ut:Ct;return t=Bn(t,n,3),r(e,function(e,n,r){return!t(e,n,r)})}function Jr(e,t,n){if(n?Yn(e,t,n):null==t){e=ar(e);var r=e.length;return r>0?e[zt(0,r-1)]:C}var i=-1,o=Fi(e),r=o.length,a=r-1;for(t=ba(0>t?0:+t||0,r);++i<t;){var u=zt(i,a),s=o[u];o[u]=o[i],o[i]=s}return o.length=t,o}function ei(e){return Jr(e,Pa)}function ti(e){var t=e?Va(e):0;return Zn(t)?t:Hu(e).length}function ni(e,t,n){var r=Mu(e)?ht:qt;return n&&Yn(e,t,n)&&(t=null),("function"!=typeof t||n!==C)&&(t=Bn(t,n,3)),r(e,t)}function ri(e,t,n){if(null==e)return[];n&&Yn(e,t,n)&&(t=null);var r=-1;t=Bn(t,n,3);var i=Bt(e,function(e,n,i){return{criteria:t(e,n,i),index:++r,value:e}});return Yt(i,f)}function ii(e,t,n,r){return null==e?[]:(r&&Yn(t,n,r)&&(n=null),Mu(t)||(t=null==t?[]:[t]),Mu(n)||(n=null==n?[]:[n]),Qt(e,t,n))}function oi(e,t){return Kr(e,Lt(t))}function ai(e,t){if("function"!=typeof t){if("function"!=typeof e)throw new Uo(W);var n=e;e=t,t=n}return e=va(e=+e)?e:0,function(){return--e<1?t.apply(this,arguments):void 0}}function ui(e,t,n){return n&&Yn(e,t,n)&&(t=null),t=e&&null==t?e.length:wa(+t||0,0),On(e,G,null,null,null,null,t)}function si(e,t){var n;if("function"!=typeof t){if("function"!=typeof e)throw new Uo(W);var r=e;e=t,t=r}return function(){return--e>0&&(n=t.apply(this,arguments)),1>=e&&(t=null),n}}function li(e,t,n){function r(){f&&ra(f),s&&ra(s),s=f=d=C}function i(){var n=t-(pu()-c);if(0>=n||n>t){s&&ra(s);var r=d;s=f=d=C,r&&(p=pu(),l=e.apply(h,u),f||s||(u=h=null))}else f=la(i,n)}function o(){f&&ra(f),s=f=d=C,(v||g!==t)&&(p=pu(),l=e.apply(h,u),f||s||(u=h=null))}function a(){if(u=arguments,c=pu(),h=this,d=v&&(f||!m),g===!1)var n=m&&!f;else{s||m||(p=c);var r=g-(c-p),a=0>=r||r>g;a?(s&&(s=ra(s)),p=c,l=e.apply(h,u)):s||(s=la(o,r))}return a&&f?f=ra(f):f||t===g||(f=la(i,t)),n&&(a=!0,l=e.apply(h,u)),!a||f||s||(u=h=null),l}var u,s,l,c,h,f,d,p=0,g=!1,v=!0;if("function"!=typeof e)throw new Uo(W);if(t=0>t?0:+t||0,n===!0){var m=!0;v=!1}else xi(n)&&(m=n.leading,g="maxWait"in n&&wa(+n.maxWait||0,t),v="trailing"in n?n.trailing:v);return a.cancel=r,a}function ci(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new Uo(W);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a),a};return n.cache=new ci.Cache,n}function hi(e){if("function"!=typeof e)throw new Uo(W);return function(){return!e.apply(this,arguments)}}function fi(e){return si(2,e)}function di(e,t){if("function"!=typeof e)throw new Uo(W);return t=wa(t===C?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,i=wa(n.length-t,0),o=No(i);++r<i;)o[r]=n[t+r];switch(t){case 0:return e.call(this,o);case 1:return e.call(this,n[0],o);case 2:return e.call(this,n[0],n[1],o)}var a=No(t+1);for(r=-1;++r<t;)a[r]=n[r];return a[t]=o,e.apply(this,a)}}function pi(e){if("function"!=typeof e)throw new Uo(W);return function(t){return e.apply(this,t)}}function gi(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Uo(W);return n===!1?r=!1:xi(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Xe.leading=r,Xe.maxWait=+t,Xe.trailing=i,li(e,t,Xe)}function vi(e,t){return t=null==t?To:t,On(t,O,null,[e],[])}function mi(e,t,n,r){return t&&"boolean"!=typeof t&&Yn(e,t,n)?t=!1:"function"==typeof t&&(r=n,n=t,t=!1),"function"==typeof n?yt(e,t,on(n,r,1)):yt(e,t)}function wi(e,t,n){return"function"==typeof t?yt(e,!0,on(t,n,1)):yt(e,!0)}function bi(e,t){return e>t}function yi(e,t){return e>=t}function Ti(e){return w(e)&&Kn(e)&&$o.call(e)==X}function Si(e){return e===!0||e===!1||w(e)&&$o.call(e)==q}function _i(e){return w(e)&&$o.call(e)==Y}function Ei(e){return!!e&&1===e.nodeType&&w(e)&&$o.call(e).indexOf("Element")>-1}function Pi(e){return null==e?!0:Kn(e)&&(Mu(e)||Gi(e)||Ti(e)||w(e)&&Au(e.splice))?!e.length:!Hu(e).length}function Ci(e,t,n,r){n="function"==typeof n?on(n,r,3):C;var i=n?n(e,t):C;return i===C?Nt(e,t,n):!!i}function Mi(e){return w(e)&&"string"==typeof e.message&&$o.call(e)==Q}function xi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ai(e,t,n,r){return n="function"==typeof n?on(n,r,3):C,Rt(e,Fn(t),n)}function Di(e){return Oi(e)&&e!=+e}function ki(e){return null==e?!1:$o.call(e)==$?Jo.test(qo.call(e)):w(e)&&Ge.test(e)}function Ii(e){return null===e}function Oi(e){return"number"==typeof e||w(e)&&$o.call(e)==J}function Ni(e){return w(e)&&$o.call(e)==te}function Gi(e){return"string"==typeof e||w(e)&&$o.call(e)==re}function Ri(e){return w(e)&&Zn(e.length)&&!!We[$o.call(e)]}function Bi(e){return e===C}function Li(e,t){return t>e}function Hi(e,t){return t>=e}function Fi(e){var t=e?Va(e):0;return Zn(t)?t?et(e):[]:Zi(e)}function ji(e){return wt(e,Ki(e))}function Vi(e,t,n){var r=Na(e);return n&&Yn(e,t,n)&&(t=null),t?vt(r,t):r}function Ui(e){return It(e,Ki(e))}function Wi(e,t,n){var r=null==e?C:Ot(e,sr(t),t+"");return r===C?n:r}function zi(e,t){if(null==e)return!1;var n=Yo.call(e,t);if(!n&&!Qn(t)){if(t=sr(t),e=1==t.length?e:Ot(e,Kt(t,0,-1)),null==e)return!1;t=Sr(t),n=Yo.call(e,t)}return n||Zn(e.length)&&qn(t,e.length)&&(Mu(e)||Ti(e))}function Xi(e,t,n){n&&Yn(e,t,n)&&(t=null);for(var r=-1,i=Hu(e),o=i.length,a={};++r<o;){var u=i[r],s=e[u];t?Yo.call(a,s)?a[s].push(u):a[s]=[u]:a[s]=u}return a}function Ki(e){if(null==e)return[];xi(e)||(e=Fo(e));var t=e.length;t=t&&Zn(t)&&(Mu(e)||Ti(e))&&t||0;for(var n=e.constructor,r=-1,i="function"==typeof n&&n.prototype===e,o=No(t),a=t>0;++r<t;)o[r]=r+"";for(var u in e)a&&qn(u,t)||"constructor"==u&&(i||!Yo.call(e,u))||o.push(u);return o}function qi(e){e=ur(e);for(var t=-1,n=Hu(e),r=n.length,i=No(r);++t<r;){var o=n[t];i[t]=[o,e[o]]}return i}function Yi(e,t,n){var r=null==e?C:e[t];return r===C&&(null==e||Qn(t,e)||(t=sr(t),e=1==t.length?e:Ot(e,Kt(t,0,-1)),r=null==e?C:e[Sr(t)]),r=r===C?n:r),Au(r)?r.call(e):r}function Qi(e,t,n){if(null==e)return e;var r=t+"";t=null!=e[r]||Qn(t,e)?[r]:sr(t);for(var i=-1,o=t.length,a=o-1,u=e;null!=u&&++i<o;){var s=t[i];xi(u)&&(i==a?u[s]=n:null==u[s]&&(u[s]=qn(t[i+1])?[]:{})),u=u[s]}return e}function $i(e,t,n,r){var i=Mu(e)||Ri(e);if(t=Bn(t,r,4),null==n)if(i||xi(e)){var o=e.constructor;n=i?Mu(e)?new o:[]:Na(Au(o)?o.prototype:null)}else n={};return(i?tt:Dt)(e,function(e,r,i){return t(n,e,r,i)}),n}function Zi(e){return Jt(e,Hu(e))}function Ji(e){return Jt(e,Ki(e))}function eo(e,t,n){return t=+t||0,"undefined"==typeof n?(n=t,t=0):n=+n||0,e>=ba(t,n)&&e<wa(t,n)}function to(e,t,n){n&&Yn(e,t,n)&&(t=n=null);var r=null==e,i=null==t;if(null==n&&(i&&"boolean"==typeof e?(n=e,e=1):"boolean"==typeof t&&(n=t,i=!0)),r&&i&&(t=1,i=!1),e=+e||0,i?(t=e,e=0):t=+t||0,n||e%1||t%1){var o=_a();return ba(e+o*(t-e+aa("1e-"+((o+"").length-1))),t)}return zt(e,t)}function no(e){return e=l(e),e&&e.charAt(0).toUpperCase()+e.slice(1)}function ro(e){return e=l(e),e&&e.replace(Be,p).replace(De,"")}function io(e,t,n){e=l(e),t+="";var r=e.length;return n=n===C?r:ba(0>n?0:+n||0,r),n-=t.length,n>=0&&e.indexOf(t,n)==n}function oo(e){return e=l(e),e&&Te.test(e)?e.replace(be,g):e}function ao(e){return e=l(e),e&&Ae.test(e)?e.replace(xe,"\\$&"):e}function uo(e,t,n){e=l(e),t=+t;var r=e.length;if(r>=t||!va(t))return e;var i=(t-r)/2,o=ia(i),a=na(i);return n=Dn("",a,n),n.slice(0,o)+e+n}function so(e,t,n){return n&&Yn(e,t,n)&&(t=0),Sa(e,t)}function lo(e,t){var n="";if(e=l(e),t=+t,1>t||!e||!va(t))return n;do t%2&&(n+=e),t=ia(t/2),e+=e;while(t);return n}function co(e,t,n){return e=l(e),n=null==n?0:ba(0>n?0:+n||0,e.length),e.lastIndexOf(t,n)==n}function ho(e,n,r){var i=t.templateSettings;r&&Yn(e,n,r)&&(n=r=null),e=l(e),n=gt(vt({},r||n),i,pt);var o,a,u=gt(vt({},n.imports),i.imports,pt),s=Hu(u),c=Jt(u,s),h=0,f=n.interpolate||Le,d="__p += '",p=jo((n.escape||Le).source+"|"+f.source+"|"+(f===Ee?Ie:Le).source+"|"+(n.evaluate||Le).source+"|$","g"),g="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ue+"]")+"\n";e.replace(p,function(t,n,r,i,u,s){return r||(r=i),d+=e.slice(h,s).replace(He,v),n&&(o=!0,d+="' +\n__e("+n+") +\n'"),u&&(a=!0,d+="';\n"+u+";\n__p += '"),r&&(d+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),h=s+t.length,t}),d+="';\n";var m=n.variable;m||(d="with (obj) {\n"+d+"\n}\n"),d=(a?d.replace(ge,""):d).replace(ve,"$1").replace(me,"$1;"),d="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+d+"return __p\n}";var w=$u(function(){return Bo(s,g+"return "+d).apply(C,c)});if(w.source=d,Mi(w))throw w;return w}function fo(e,t,n){var r=e;return(e=l(e))?(n?Yn(r,t,n):null==t)?e.slice(S(e),_(e)+1):(t+="",e.slice(c(e,t),h(e,t)+1)):e}function po(e,t,n){var r=e;return e=l(e),e?(n?Yn(r,t,n):null==t)?e.slice(S(e)):e.slice(c(e,t+"")):e}function go(e,t,n){var r=e;return e=l(e),e?(n?Yn(r,t,n):null==t)?e.slice(0,_(e)+1):e.slice(0,h(e,t+"")+1):e}function vo(e,t,n){n&&Yn(e,t,n)&&(t=null);var r=B,i=L;if(null!=t)if(xi(t)){var o="separator"in t?t.separator:o;r="length"in t?+t.length||0:r,i="omission"in t?l(t.omission):i}else r=+t||0;if(e=l(e),r>=e.length)return e;var a=r-i.length;if(1>a)return i;var u=e.slice(0,a);if(null==o)return u+i;if(Ni(o)){if(e.slice(a).search(o)){var s,c,h=e.slice(0,a);for(o.global||(o=jo(o.source,(Oe.exec(o)||"")+"g")),o.lastIndex=0;s=o.exec(h);)c=s.index;u=u.slice(0,null==c?a:c)}}else if(e.indexOf(o,a)!=a){var f=u.lastIndexOf(o);f>-1&&(u=u.slice(0,f))}return u+i}function mo(e){return e=l(e),e&&ye.test(e)?e.replace(we,E):e}function wo(e,t,n){return n&&Yn(e,t,n)&&(t=null),e=l(e),e.match(t||Fe)||[]}function bo(e,t,n){return n&&Yn(e,t,n)&&(t=null),w(e)?So(e):bt(e,t)}function yo(e){return function(){return e}}function To(e){return e}function So(e){return Lt(yt(e,!0))}function _o(e,t){return Ht(e,yt(t,!0))}function Eo(e,t,n){if(null==n){var r=xi(t),i=r?Hu(t):null,o=i&&i.length?It(t,i):null;(o?o.length:r)||(o=!1,n=t,t=e,e=this)}o||(o=It(t,Hu(t)));var a=!0,u=-1,s=Au(e),l=o.length;n===!1?a=!1:xi(n)&&"chain"in n&&(a=n.chain);for(;++u<l;){var c=o[u],h=t[c];e[c]=h,s&&(e.prototype[c]=function(t){return function(){var n=this.__chain__;if(a||n){var r=e(this.__wrapped__),i=r.__actions__=et(this.__actions__);return i.push({func:t,args:arguments,thisArg:e}),r.__chain__=n,r}var o=[this.value()];return ua.apply(o,arguments),t.apply(e,o)}}(h))}return e}function Po(){return e._=Zo,this}function Co(){}function Mo(e){return Qn(e)?Vt(e):Ut(e)}function xo(e){return function(t){return Ot(e,sr(t),t+"")}}function Ao(e,t,n){n&&Yn(e,t,n)&&(t=n=null),e=+e||0,n=null==n?1:+n||0,null==t?(t=e,e=0):t=+t||0;for(var r=-1,i=wa(na((t-e)/(n||1)),0),o=No(i);++r<i;)o[r]=e,e+=n;return o}function Do(e,t,n){if(e=ia(e),1>e||!va(e))return[];var r=-1,i=No(ba(e,Ca));for(t=on(t,n,1);++r<e;)Ca>r?i[r]=t(r):t(r);return i}function ko(e){var t=++Qo;return l(e)+t}function Io(e,t){return(+e||0)+(+t||0)}function Oo(e,t,n){n&&Yn(e,t,n)&&(t=null);var r=Bn(),i=null==t;return i&&r===bt||(i=!1,t=r(t,n,3)),i?ft(Mu(e)?e:ar(e)):$t(e,t)}e=e?it.defaults(rt.Object(),e,it.pick(rt,Ve)):rt;var No=e.Array,Go=e.Date,Ro=e.Error,Bo=e.Function,Lo=e.Math,Ho=e.Number,Fo=e.Object,jo=e.RegExp,Vo=e.String,Uo=e.TypeError,Wo=No.prototype,zo=Fo.prototype,Xo=Vo.prototype,Ko=(Ko=e.window)?Ko.document:null,qo=Bo.prototype.toString,Yo=zo.hasOwnProperty,Qo=0,$o=zo.toString,Zo=e._,Jo=jo("^"+ao(qo.call(Yo)).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ea=jn(e,"ArrayBuffer"),ta=jn(ea&&new ea(0),"slice"),na=Lo.ceil,ra=e.clearTimeout,ia=Lo.floor,oa=jn(Fo,"getPrototypeOf"),aa=e.parseFloat,ua=Wo.push,sa=jn(e,"Set"),la=e.setTimeout,ca=Wo.splice,ha=jn(e,"Uint8Array"),fa=jn(e,"WeakMap"),da=function(){try{var t=jn(e,"Float64Array"),n=new t(new ea(10),0,1)&&t}catch(r){}return n||null}(),pa=jn(Fo,"create"),ga=jn(No,"isArray"),va=e.isFinite,ma=jn(Fo,"keys"),wa=Lo.max,ba=Lo.min,ya=jn(Go,"now"),Ta=jn(Ho,"isFinite"),Sa=e.parseInt,_a=Lo.random,Ea=Ho.NEGATIVE_INFINITY,Pa=Ho.POSITIVE_INFINITY,Ca=4294967295,Ma=Ca-1,xa=Ca>>>1,Aa=da?da.BYTES_PER_ELEMENT:0,Da=9007199254740991,ka=fa&&new fa,Ia={},Oa=t.support={};!function(e){var t=function(){this.x=e},n=[];t.prototype={valueOf:e,y:e};for(var r in new t)n.push(r);try{Oa.dom=11===Ko.createDocumentFragment().nodeType}catch(i){Oa.dom=!1}}(1,0),t.templateSettings={escape:Se,evaluate:_e,interpolate:Ee,variable:"",imports:{_:t}};var Na=function(){function e(){}return function(t){if(xi(t)){e.prototype=t;var n=new e;e.prototype=null}return n||{}}}(),Ga=hn(Dt),Ra=hn(kt,!0),Ba=fn(),La=fn(!0),Ha=ka?function(e,t){return ka.set(e,t),e}:To;ta||(an=ea&&ha?function(e){var t=e.byteLength,n=da?ia(t/Aa):0,r=n*Aa,i=new ea(t);if(n){var o=new da(i,0,n);o.set(new da(e,0,n))}return t!=r&&(o=new ha(i,r),o.set(new ha(e,r))),i}:yo(null));var Fa=pa&&sa?function(e){return new $e(e)}:yo(null),ja=ka?function(e){return ka.get(e)}:Co,Va=Vt("length"),Ua=function(){var e=0,t=0;return function(n,r){var i=pu(),o=F-(i-t);if(t=i,o>0){if(++e>=H)return n}else e=0;return Ha(n,r)}}(),Wa=di(function(e,t){return Kn(e)?St(e,xt(t,!1,!0)):[]}),za=bn(),Xa=bn(!0),Ka=di(function(e){for(var t=e.length,n=t,r=No(h),i=Hn(),o=i==u,a=[];n--;){var s=e[n]=Kn(s=e[n])?s:[];r[n]=o&&s.length>=120?Fa(n&&s):null}var l=e[0],c=-1,h=l?l.length:0,f=r[0];e:for(;++c<h;)if(s=l[c],(f?Ze(f,s):i(a,s,0))<0){for(var n=t;--n;){var d=r[n];if((d?Ze(d,s):i(e[n],s,0))<0)continue e}f&&f.push(s),a.push(s)}return a}),qa=di(function(e,t){t=xt(t);var n=mt(e,t);return Wt(e,t.sort(o)),n}),Ya=In(),Qa=In(!0),$a=di(function(e){return Zt(xt(e,!1,!0))}),Za=di(function(e,t){return Kn(e)?St(e,t):[]}),Ja=di(Or),eu=di(function(e){var t=e.length,n=t>2?e[t-2]:C,r=t>1?e[t-1]:C;return t>2&&"function"==typeof n?t-=2:(n=t>1&&"function"==typeof r?(--t,r):C,r=C),e.length=t,Nr(e,n,r)}),tu=di(function(e,t){return mt(e,xt(t))}),nu=ln(function(e,t,n){Yo.call(e,n)?++e[n]:e[n]=1}),ru=wn(Ga),iu=wn(Ra,!0),ou=Sn(tt,Ga),au=Sn(nt,Ra),uu=ln(function(e,t,n){Yo.call(e,n)?e[n].push(t):e[n]=[t]}),su=ln(function(e,t,n){e[n]=t}),lu=di(function(e,t,n){var r=-1,i="function"==typeof t,o=Qn(t),a=Kn(e)?No(e.length):[];return Ga(e,function(e){var u=i?t:o&&null!=e?e[t]:null;a[++r]=u?u.apply(e,n):Xn(e,t,n)}),a}),cu=ln(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),hu=xn(lt,Ga),fu=xn(ct,Ra),du=di(function(e,t){if(null==e)return[];var n=t[2];return n&&Yn(t[0],t[1],n)&&(t.length=1),Qt(e,xt(t),[])}),pu=ya||function(){return(new Go).getTime()},gu=di(function(e,t,n){var r=x;if(n.length){var i=y(n,gu.placeholder);r|=O}return On(e,r,t,n,i)}),vu=di(function(e,t){t=t.length?xt(t):Ui(e);for(var n=-1,r=t.length;++n<r;){var i=t[n];e[i]=On(e[i],x,e)}return e}),mu=di(function(e,t,n){var r=x|A;if(n.length){var i=y(n,mu.placeholder);r|=O}return On(t,r,e,n,i)}),wu=vn(k),bu=vn(I),yu=di(function(e,t){return Tt(e,1,t)}),Tu=di(function(e,t,n){return Tt(e,t,n)}),Su=Tn(),_u=Tn(!0),Eu=Mn(O),Pu=Mn(N),Cu=di(function(e,t){return On(e,R,null,null,null,xt(t))}),Mu=ga||function(e){return w(e)&&Zn(e.length)&&$o.call(e)==K};Oa.dom||(Ei=function(e){return!!e&&1===e.nodeType&&w(e)&&!Du(e)});var xu=Ta||function(e){return"number"==typeof e&&va(e)},Au=s(/x/)||ha&&!s(ha)?function(e){return $o.call(e)==$}:s,Du=oa?function(e){if(!e||$o.call(e)!=ee)return!1;var t=jn(e,"valueOf"),n=t&&(n=oa(t))&&oa(n);return n?e==n||oa(e)==n:ir(e)}:ir,ku=cn(function(e,t,n){return n?gt(e,t,n):vt(e,t)}),Iu=di(function(e){var t=e[0];return null==t?t:(e.push(dt),ku.apply(C,e))}),Ou=yn(Dt),Nu=yn(kt),Gu=_n(Ba),Ru=_n(La),Bu=En(Dt),Lu=En(kt),Hu=ma?function(e){var t=null==e?null:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&Kn(e)?or(e):xi(e)?ma(e):[]}:or,Fu=Pn(!0),ju=Pn(),Vu=cn(Ft),Uu=di(function(e,t){if(null==e)return{};if("function"!=typeof t[0]){var t=st(xt(t),Vo);return tr(e,St(Ki(e),t))}var n=on(t[0],t[1],3);return nr(e,function(e,t,r){return!n(e,t,r)})}),Wu=di(function(e,t){return null==e?{}:"function"==typeof t[0]?nr(e,on(t[0],t[1],3)):tr(e,xt(t))}),zu=pn(function(e,t,n){return t=t.toLowerCase(),e+(n?t.charAt(0).toUpperCase()+t.slice(1):t)}),Xu=pn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Ku=Cn(),qu=Cn(!0);8!=Sa(je+"08")&&(so=function(e,t,n){return(n?Yn(e,t,n):null==t)?t=0:t&&(t=+t),e=fo(e),Sa(e,t||(Ne.test(e)?16:10))});var Yu=pn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Qu=pn(function(e,t,n){return e+(n?" ":"")+(t.charAt(0).toUpperCase()+t.slice(1))}),$u=di(function(e,t){try{return e.apply(C,t)}catch(n){return Mi(n)?n:new Ro(n)}}),Zu=di(function(e,t){return function(n){return Xn(n,e,t)}}),Ju=di(function(e,t){return function(n){return Xn(e,n,t)}}),es=mn(bi,Ea),ts=mn(Li,Pa);return t.prototype=n.prototype,r.prototype=Na(n.prototype),r.prototype.constructor=r,i.prototype=Na(n.prototype),i.prototype.constructor=i,ie.prototype["delete"]=Ke,ie.prototype.get=qe,ie.prototype.has=Ye,ie.prototype.set=Qe,$e.prototype.push=Je,ci.Cache=ie,t.after=ai,t.ary=ui,t.assign=ku,t.at=tu,t.before=si,t.bind=gu,t.bindAll=vu,t.bindKey=mu,t.callback=bo,t.chain=Br,t.chunk=cr,t.compact=hr,t.constant=yo,t.countBy=nu,t.create=Vi,t.curry=wu,t.curryRight=bu,t.debounce=li,t.defaults=Iu,t.defer=yu,t.delay=Tu,t.difference=Wa,t.drop=fr,t.dropRight=dr,t.dropRightWhile=pr,t.dropWhile=gr,t.fill=vr,t.filter=Kr,t.flatten=wr,t.flattenDeep=br,t.flow=Su,t.flowRight=_u,t.forEach=ou,t.forEachRight=au,t.forIn=Gu,t.forInRight=Ru,t.forOwn=Bu,t.forOwnRight=Lu,t.functions=Ui,t.groupBy=uu,t.indexBy=su,t.initial=Tr,t.intersection=Ka,t.invert=Xi,t.invoke=lu,t.keys=Hu,t.keysIn=Ki,t.map=Qr,t.mapKeys=Fu,t.mapValues=ju,t.matches=So,t.matchesProperty=_o,t.memoize=ci,t.merge=Vu,t.method=Zu,t.methodOf=Ju,t.mixin=Eo,t.negate=hi,t.omit=Uu,t.once=fi,t.pairs=qi,t.partial=Eu,t.partialRight=Pu,t.partition=cu,t.pick=Wu,t.pluck=$r,t.property=Mo,t.propertyOf=xo,t.pull=Er,t.pullAt=qa,t.range=Ao,t.rearg=Cu,t.reject=Zr,t.remove=Pr,t.rest=Cr,t.restParam=di,t.set=Qi,t.shuffle=ei,t.slice=Mr,t.sortBy=ri,t.sortByAll=du,t.sortByOrder=ii,t.spread=pi,t.take=xr,t.takeRight=Ar,t.takeRightWhile=Dr,t.takeWhile=kr,t.tap=Lr,t.throttle=gi,t.thru=Hr,t.times=Do,t.toArray=Fi,t.toPlainObject=ji,t.transform=$i,t.union=$a,t.uniq=Ir,t.unzip=Or,t.unzipWith=Nr,t.values=Zi,t.valuesIn=Ji,t.where=oi,t.without=Za,t.wrap=vi,t.xor=Gr,t.zip=Ja,t.zipObject=Rr,t.zipWith=eu,t.backflow=_u,t.collect=Qr,t.compose=_u,t.each=ou,t.eachRight=au,t.extend=ku,t.iteratee=bo,t.methods=Ui,t.object=Rr,t.select=Kr,t.tail=Cr,t.unique=Ir,Eo(t,t),t.add=Io,t.attempt=$u,t.camelCase=zu,t.capitalize=no,t.clone=mi,t.cloneDeep=wi,t.deburr=ro,t.endsWith=io,t.escape=oo,t.escapeRegExp=ao,t.every=Xr,t.find=ru,t.findIndex=za,t.findKey=Ou,t.findLast=iu,t.findLastIndex=Xa,t.findLastKey=Nu,t.findWhere=qr,t.first=mr,t.get=Wi,t.gt=bi,t.gte=yi,t.has=zi,t.identity=To,t.includes=Yr,t.indexOf=yr,t.inRange=eo,t.isArguments=Ti,t.isArray=Mu,t.isBoolean=Si,t.isDate=_i,t.isElement=Ei,t.isEmpty=Pi,t.isEqual=Ci,t.isError=Mi,t.isFinite=xu,t.isFunction=Au,t.isMatch=Ai,t.isNaN=Di,t.isNative=ki,t.isNull=Ii,t.isNumber=Oi,t.isObject=xi,t.isPlainObject=Du,t.isRegExp=Ni,t.isString=Gi,t.isTypedArray=Ri,t.isUndefined=Bi,t.kebabCase=Xu,t.last=Sr,t.lastIndexOf=_r,t.lt=Li,t.lte=Hi,t.max=es,t.min=ts,t.noConflict=Po,t.noop=Co,t.now=pu,t.pad=uo,t.padLeft=Ku,t.padRight=qu,t.parseInt=so,t.random=to,t.reduce=hu,t.reduceRight=fu,t.repeat=lo,t.result=Yi,t.runInContext=P,t.size=ti,t.snakeCase=Yu,t.some=ni,t.sortedIndex=Ya,t.sortedLastIndex=Qa,t.startCase=Qu,t.startsWith=co,t.sum=Oo,t.template=ho,t.trim=fo,t.trimLeft=po,t.trimRight=go,t.trunc=vo,t.unescape=mo,t.uniqueId=ko,t.words=wo,t.all=Xr,t.any=ni,t.contains=Yr,t.eq=Ci,t.detect=ru,t.foldl=hu,t.foldr=fu,t.head=mr,t.include=Yr,t.inject=hu,Eo(t,function(){var e={};return Dt(t,function(n,r){t.prototype[r]||(e[r]=n)}),e}(),!1),t.sample=Jr,t.prototype.sample=function(e){return this.__chain__||null!=e?this.thru(function(t){return Jr(t,e)}):Jr(this.value())},t.VERSION=M,tt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),tt(["dropWhile","filter","map","takeWhile"],function(e,t){var n=t!=U,r=t==j;i.prototype[e]=function(e,o){var a=this.__filtered__,u=a&&r?new i(this):this.clone(),s=u.__iteratees__||(u.__iteratees__=[]);return s.push({done:!1,count:0,index:0,iteratee:Bn(e,o,1),limit:-1,type:t}),u.__filtered__=a||n,u}}),tt(["drop","take"],function(e,t){var n=e+"While";i.prototype[e]=function(n){var r=this.__filtered__,i=r&&!t?this.dropWhile():this.clone();if(n=null==n?1:wa(ia(n)||0,0),r)t?i.__takeCount__=ba(i.__takeCount__,n):Sr(i.__iteratees__).limit=n;else{var o=i.__views__||(i.__views__=[]);o.push({size:n,type:e+(i.__dir__<0?"Right":"")})}return i},i.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()},i.prototype[e+"RightWhile"]=function(e,t){return this.reverse()[n](e,t).reverse()}}),tt(["first","last"],function(e,t){var n="take"+(t?"Right":"");i.prototype[e]=function(){return this[n](1).value()[0]}}),tt(["initial","rest"],function(e,t){var n="drop"+(t?"":"Right");i.prototype[e]=function(){return this[n](1)}}),tt(["pluck","where"],function(e,t){var n=t?"filter":"map",r=t?Lt:Mo;i.prototype[e]=function(e){return this[n](r(e))}}),i.prototype.compact=function(){return this.filter(To)},i.prototype.reject=function(e,t){return e=Bn(e,t,1),this.filter(function(t){return!e(t)})},i.prototype.slice=function(e,t){e=null==e?0:+e||0;var n=this;return 0>e?n=this.takeRight(-e):e&&(n=this.drop(e)),t!==C&&(t=+t||0,n=0>t?n.dropRight(-t):n.take(t-e)),n},i.prototype.toArray=function(){return this.drop(0)},Dt(i.prototype,function(e,n){var o=t[n];if(o){var a=/^(?:filter|map|reject)|While$/.test(n),u=/^(?:first|last)$/.test(n);t.prototype[n]=function(){var n=arguments,s=this.__chain__,l=this.__wrapped__,c=!!this.__actions__.length,h=l instanceof i,f=n[0],d=h||Mu(l);d&&a&&"function"==typeof f&&1!=f.length&&(h=d=!1);var p=h&&!c;if(u&&!s)return p?e.call(l):o.call(t,this.value());var g=function(e){var r=[e];return ua.apply(r,n),o.apply(t,r)};if(d){var v=p?l:new i(this),m=e.apply(v,n);if(!u&&(c||m.__actions__)){var w=m.__actions__||(m.__actions__=[]);w.push({func:Hr,args:[g],thisArg:t})}return new r(m,s)}return this.thru(g)}}}),tt(["concat","join","pop","push","replace","shift","sort","splice","split","unshift"],function(e){var n=(/^(?:replace|split)$/.test(e)?Xo:Wo)[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:join|pop|replace|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;return i&&!this.__chain__?n.apply(this.value(),e):this[r](function(t){return n.apply(t,e)})}}),Dt(i.prototype,function(e,n){var r=t[n];if(r){var i=r.name,o=Ia[i]||(Ia[i]=[]);o.push({name:n,func:r})}}),Ia[An(null,A).name]=[{name:"wrapper",func:null}],i.prototype.clone=b,i.prototype.reverse=Z,i.prototype.value=ne,t.prototype.chain=Fr,t.prototype.commit=jr,t.prototype.plant=Vr,t.prototype.reverse=Ur,t.prototype.toString=Wr,t.prototype.run=t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=zr,t.prototype.collect=t.prototype.map,t.prototype.head=t.prototype.first,t.prototype.select=t.prototype.filter,t.prototype.tail=t.prototype.rest,t}var C,M="3.9.3",x=1,A=2,D=4,k=8,I=16,O=32,N=64,G=128,R=256,B=30,L="...",H=150,F=16,j=0,V=1,U=2,W="Expected a function",z="__lodash_placeholder__",X="[object Arguments]",K="[object Array]",q="[object Boolean]",Y="[object Date]",Q="[object Error]",$="[object Function]",Z="[object Map]",J="[object Number]",ee="[object Object]",te="[object RegExp]",ne="[object Set]",re="[object String]",ie="[object WeakMap]",oe="[object ArrayBuffer]",ae="[object Float32Array]",ue="[object Float64Array]",se="[object Int8Array]",le="[object Int16Array]",ce="[object Int32Array]",he="[object Uint8Array]",fe="[object Uint8ClampedArray]",de="[object Uint16Array]",pe="[object Uint32Array]",ge=/\b__p \+= '';/g,ve=/\b(__p \+=) '' \+/g,me=/(__e\(.*?\)|\b__t\)) \+\n'';/g,we=/&(?:amp|lt|gt|quot|#39|#96);/g,be=/[&<>"'`]/g,ye=RegExp(we.source),Te=RegExp(be.source),Se=/<%-([\s\S]+?)%>/g,_e=/<%([\s\S]+?)%>/g,Ee=/<%=([\s\S]+?)%>/g,Pe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,Ce=/^\w*$/,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,xe=/[.*+?^${}()|[\]\/\\]/g,Ae=RegExp(xe.source),De=/[\u0300-\u036f\ufe20-\ufe23]/g,ke=/\\(\\)?/g,Ie=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Oe=/\w*$/,Ne=/^0[xX]/,Ge=/^\[object .+?Constructor\]$/,Re=/^\d+$/,Be=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Le=/($^)/,He=/['\n\r\u2028\u2029\\]/g,Fe=function(){var e="[A-Z\\xc0-\\xd6\\xd8-\\xde]",t="[a-z\\xdf-\\xf6\\xf8-\\xff]+";return RegExp(e+"+(?="+e+t+")|"+e+"?"+t+"|"+e+"+|[0-9]+","g")}(),je=" 	\f \ufeff\n\r\u2028\u2029 ᠎             　",Ve=["Array","ArrayBuffer","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Math","Number","Object","RegExp","Set","String","_","clearTimeout","document","isFinite","parseFloat","parseInt","setTimeout","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","window"],Ue=-1,We={};We[ae]=We[ue]=We[se]=We[le]=We[ce]=We[he]=We[fe]=We[de]=We[pe]=!0,We[X]=We[K]=We[oe]=We[q]=We[Y]=We[Q]=We[$]=We[Z]=We[J]=We[ee]=We[te]=We[ne]=We[re]=We[ie]=!1;var ze={};ze[X]=ze[K]=ze[oe]=ze[q]=ze[Y]=ze[ae]=ze[ue]=ze[se]=ze[le]=ze[ce]=ze[J]=ze[ee]=ze[te]=ze[re]=ze[he]=ze[fe]=ze[de]=ze[pe]=!0,ze[Q]=ze[$]=ze[Z]=ze[ne]=ze[ie]=!1;var Xe={leading:!1,maxWait:0,trailing:!1},Ke={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss"},qe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},Ye={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#96;":"`"},Qe={"function":!0,object:!0},$e={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ze=Qe[typeof t]&&t&&!t.nodeType&&t,Je=Qe[typeof e]&&e&&!e.nodeType&&e,et=Ze&&Je&&"object"==typeof i&&i&&i.Object&&i,tt=Qe[typeof self]&&self&&self.Object&&self,nt=Qe[typeof window]&&window&&window.Object&&window,rt=(Je&&Je.exports===Ze&&Ze,et||nt!==(this&&this.window)&&nt||tt||this),it=P();rt._=it,r=function(){return it}.call(t,n,t,e),!(r!==C&&(e.exports=r))}).call(this)}).call(t,n(358)(e),function(){return this}())},function(e,t,n){"use strict";var r=n(2),i=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},o=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)},a=function(e,t,n){var r=this;if(r.instancePool.length){var i=r.instancePool.pop();return r.call(i,e,t,n),i}return new r(e,t,n)},u=function(e,t,n,r,i){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r,i),a}return new o(e,t,n,r,i)},s=function(e){var t=this;r(e instanceof t),e.destructor&&e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},l=10,c=i,h=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=l),n.release=s,n},f={addPoolingTo:h,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:a,fiveArgumentPooler:u};e.exports=f},function(e,t,n){"use strict";var r=n(139),i={getDOMNode:function(){return r(this)}};e.exports=i},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;n>r;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function i(e){var t=A(e);return t&&U.getID(t)}function o(e){var t=a(e);if(t)if(R.hasOwnProperty(t)){var n=R[t];n!==e&&(k(!c(n,t)),R[t]=e)}else R[t]=e;return t}function a(e){return e&&e.getAttribute&&e.getAttribute(G)||""}function u(e,t){var n=a(e);n!==t&&delete R[n],e.setAttribute(G,t),R[t]=e}function s(e){return R.hasOwnProperty(e)&&c(R[e],e)||(R[e]=U.findReactNodeByID(e)),R[e]}function l(e){var t=T.get(e)._rootNodeID;return b.isNullComponentID(t)?null:(R.hasOwnProperty(t)&&c(R[t],t)||(R[t]=U.findReactNodeByID(t)),R[t])}function c(e,t){if(e){k(a(e)===t);var n=U.findReactContainerForID(t);if(n&&x(n,e))return!0}return!1}function h(e){delete R[e]}function f(e){var t=R[e];return t&&c(t,e)?void(V=t):!1}function d(e){V=null,y.traverseAncestors(e,f);var t=V;return V=null,t}function p(e,t,n,r,i){var o=E.mountComponent(e,t,r,M);e._isTopLevel=!0,U._mountImageIntoNode(o,n,i)}function g(e,t,n,r){var i=C.ReactReconcileTransaction.getPooled();i.perform(p,null,e,t,n,i,r),C.ReactReconcileTransaction.release(i)}var v=n(36),m=n(38),w=(n(27),n(6)),b=(n(51),n(81)),y=n(40),T=n(41),S=n(130),_=n(30),E=n(42),P=n(84),C=n(18),M=n(64),x=n(138),A=n(331),D=n(90),k=n(2),I=n(92),O=n(93),N=(n(5),y.SEPARATOR),G=v.ID_ATTRIBUTE_NAME,R={},B=1,L=9,H={},F={},j=[],V=null,U={_instancesByReactRootID:H,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r){return U.scrollMonitor(n,function(){
  P.enqueueElementInternal(e,t),r&&P.enqueueCallbackInternal(e,r)}),e},_registerComponent:function(e,t){k(t&&(t.nodeType===B||t.nodeType===L)),m.ensureScrollValueMonitoring();var n=U.registerContainer(t);return H[n]=e,n},_renderNewRootComponent:function(e,t,n){var r=D(e,null),i=U._registerComponent(r,t);return C.batchedUpdates(g,r,i,t,n),r},render:function(e,t,n){k(w.isValidElement(e));var r=H[i(t)];if(r){var o=r._currentElement;if(O(o,e))return U._updateRootComponent(r,e,t,n).getPublicInstance();U.unmountComponentAtNode(t)}var a=A(t),u=a&&U.isRenderedByReact(a),s=u&&!r,l=U._renderNewRootComponent(e,t,s).getPublicInstance();return n&&n.call(l),l},constructAndRenderComponent:function(e,t,n){var r=w.createElement(e,t);return U.render(r,n)},constructAndRenderComponentByID:function(e,t,n){var r=document.getElementById(n);return k(r),U.constructAndRenderComponent(e,t,r)},registerContainer:function(e){var t=i(e);return t&&(t=y.getReactRootIDFromNodeID(t)),t||(t=y.createReactRootID()),F[t]=e,t},unmountComponentAtNode:function(e){k(e&&(e.nodeType===B||e.nodeType===L));var t=i(e),n=H[t];return n?(U.unmountComponentFromNode(n,e),delete H[t],delete F[t],!0):!1},unmountComponentFromNode:function(e,t){for(E.unmountComponent(e),t.nodeType===L&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var t=y.getReactRootIDFromNodeID(e),n=F[t];return n},findReactNodeByID:function(e){var t=U.findReactContainerForID(e);return U.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=U.getID(e);return t?t.charAt(0)===N:!1},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(U.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,t){var n=j,r=0,i=d(t)||e;for(n[0]=i.firstChild,n.length=1;r<n.length;){for(var o,a=n[r++];a;){var u=U.getID(a);u?t===u?o=a:y.isAncestorIDOf(u,t)&&(n.length=r=0,n.push(a.firstChild)):n.push(a.firstChild),a=a.nextSibling}if(o)return n.length=0,o}n.length=0,k(!1)},_mountImageIntoNode:function(e,t,n){if(k(t&&(t.nodeType===B||t.nodeType===L)),n){var i=A(t);if(S.canReuseMarkup(e,i))return;var o=i.getAttribute(S.CHECKSUM_ATTR_NAME);i.removeAttribute(S.CHECKSUM_ATTR_NAME);var a=i.outerHTML;i.setAttribute(S.CHECKSUM_ATTR_NAME,o);var u=r(e,a);" (client) "+e.substring(u-20,u+20)+"\n (server) "+a.substring(u-20,u+20);k(t.nodeType!==L)}k(t.nodeType!==L),I(t,e)},getReactRootID:i,getID:o,setID:u,getNode:s,getNodeFromInstance:l,purgeID:h};_.measureMethods(U,"ReactMount",{_renderNewRootComponent:"_renderNewRootComponent",_mountImageIntoNode:"_mountImageIntoNode"}),e.exports=U},function(e,t,n){var r=n(11).fn;e.exports=function(e,t,n){if(r(e),~n&&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,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";function r(e,t,n){return n}var i={enableMeasure:!1,storedMeasure:r,measureMethods:function(e,t,n){},measure:function(e,t,n){return n},injection:{injectMeasure:function(e){i.storedMeasure=e}}};e.exports=i},function(e,t,n){"use strict";function r(e,t,n){this.dispatchConfig=e,this.dispatchMarker=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o?this[i]=o(n):this[i]=n[i]}var u=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;u?this.isDefaultPrevented=a.thatReturnsTrue:this.isDefaultPrevented=a.thatReturnsFalse,this.isPropagationStopped=a.thatReturnsFalse}var i=n(25),o=n(4),a=n(19),u=n(89),s={type:null,target:u,currentTarget:a.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.preventDefault?e.preventDefault():e.returnValue=!1,this.isDefaultPrevented=a.thatReturnsTrue},stopPropagation:function(){var e=this.nativeEvent;e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this.isPropagationStopped=a.thatReturnsTrue},persist:function(){this.isPersistent=a.thatReturnsTrue},isPersistent:a.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;this.dispatchConfig=null,this.dispatchMarker=null,this.nativeEvent=null}}),r.Interface=s,r.augmentClass=function(e,t){var n=this,r=Object.create(n.prototype);o(r,e.prototype),e.prototype=r,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,i.addPoolingTo(e,i.threeArgumentPooler)},i.addPoolingTo(r,i.threeArgumentPooler),e.exports=r},function(e,t,n){(function(e,r){function i(e,n){var r={seen:[],stylize:a};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),g(n)?r.showHidden=n:n&&t._extend(r,n),T(r.showHidden)&&(r.showHidden=!1),T(r.depth)&&(r.depth=2),T(r.colors)&&(r.colors=!1),T(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=o),s(r,e,r.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function a(e,t){return e}function u(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function s(e,n,r){if(e.customInspect&&n&&C(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return b(i)||(i=s(e,i,r)),i}var o=l(e,n);if(o)return o;var a=Object.keys(n),g=u(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(n)),P(n)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return c(n);if(0===a.length){if(C(n)){var v=n.name?": "+n.name:"";return e.stylize("[Function"+v+"]","special")}if(S(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(E(n))return e.stylize(Date.prototype.toString.call(n),"date");if(P(n))return c(n)}var m="",w=!1,y=["{","}"];if(p(n)&&(w=!0,y=["[","]"]),C(n)){var T=n.name?": "+n.name:"";m=" [Function"+T+"]"}if(S(n)&&(m=" "+RegExp.prototype.toString.call(n)),E(n)&&(m=" "+Date.prototype.toUTCString.call(n)),P(n)&&(m=" "+c(n)),0===a.length&&(!w||0==n.length))return y[0]+m+y[1];if(0>r)return S(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special");e.seen.push(n);var _;return _=w?h(e,n,r,g,a):a.map(function(t){return f(e,n,r,g,t,w)}),e.seen.pop(),d(_,m,y)}function l(e,t){if(T(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return w(t)?e.stylize(""+t,"number"):g(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i){for(var o=[],a=0,u=t.length;u>a;++a)k(t,String(a))?o.push(f(e,t,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(f(e,t,n,r,i,!0))}),o}function f(e,t,n,r,i,o){var a,u,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?u=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(u=e.stylize("[Setter]","special")),k(r,i)||(a="["+i+"]"),u||(e.seen.indexOf(l.value)<0?(u=v(n)?s(e,l.value,null):s(e,l.value,n-1),u.indexOf("\n")>-1&&(u=o?u.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+u.split("\n").map(function(e){return"   "+e}).join("\n"))):u=e.stylize("[Circular]","special")),T(a)){if(o&&i.match(/^\d+$/))return u;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+u}function d(e,t,n){var r=0,i=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function p(e){return Array.isArray(e)}function g(e){return"boolean"==typeof e}function v(e){return null===e}function m(e){return null==e}function w(e){return"number"==typeof e}function b(e){return"string"==typeof e}function y(e){return"symbol"==typeof e}function T(e){return void 0===e}function S(e){return _(e)&&"[object RegExp]"===x(e)}function _(e){return"object"==typeof e&&null!==e}function E(e){return _(e)&&"[object Date]"===x(e)}function P(e){return _(e)&&("[object Error]"===x(e)||e instanceof Error)}function C(e){return"function"==typeof e}function M(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function x(e){return Object.prototype.toString.call(e)}function A(e){return 10>e?"0"+e.toString(10):e.toString(10)}function D(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),G[e.getMonth()],t].join(" ")}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var I=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,o=r.length,a=String(e).replace(I,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(t){return"[Circular]"}default:return e}}),u=r[n];o>n;u=r[++n])a+=v(u)||!_(u)?" "+u:" "+i(u);return a},t.deprecate=function(n,i){function o(){if(!a){if(r.throwDeprecation)throw new Error(i);r.traceDeprecation?console.trace(i):console.error(i),a=!0}return n.apply(this,arguments)}if(T(e.process))return function(){return t.deprecate(n,i).apply(this,arguments)};if(r.noDeprecation===!0)return n;var a=!1;return o};var O,N={};t.debuglog=function(e){if(T(O)&&(O=r.env.NODE_DEBUG||""),e=e.toUpperCase(),!N[e])if(new RegExp("\\b"+e+"\\b","i").test(O)){var n=r.pid;N[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else N[e]=function(){};return N[e]},t.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow","boolean":"yellow",undefined:"grey","null":"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=p,t.isBoolean=g,t.isNull=v,t.isNullOrUndefined=m,t.isNumber=w,t.isString=b,t.isSymbol=y,t.isUndefined=T,t.isRegExp=S,t.isObject=_,t.isDate=E,t.isError=P,t.isFunction=C,t.isPrimitive=M,t.isBuffer=n(360);var G=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];t.log=function(){console.log("%s - %s",D(),t.format.apply(t,arguments))},t.inherits=n(359),t._extend=function(e,t){if(!t||!_(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(t,function(){return this}(),n(94))},function(e,t,n){var r=n(15)("unscopables");r in[]||n(1).hide(Array.prototype,r,{}),e.exports=function(e){[][r][e]=!0}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(110),o=r(i),a=n(109),u=r(a);t["default"]={onImageData:function(e,t,n){o["default"].dispatch({type:u["default"].IMAGE_DATA,pixels:e,width:t,height:n})},onImageDataUrl:function(e){o["default"].dispatch({type:u["default"].IMAGE_DATA_URL,dataUrl:e})},onPieceType:function(e){o["default"].dispatch({type:u["default"].PIECE_TYPE,pieceType:e})},onScale:function(e){o["default"].dispatch({type:u["default"].CHOSEN_SCALE,chosenScale:e})},onToggleAbout:function(){o["default"].dispatch({type:u["default"].TOGGLE_ABOUT})},onToggleAvailability:function(){o["default"].dispatch({type:u["default"].TOGGLE_AVAILABILITY})}},e.exports=t["default"]},function(e,t){function n(e,t,n){if(!e)throw new Error("Name not set");if(this._name=e,t=parseFloat(t),n=parseFloat(n),!(n>t))throw new Error("From must be less than to");this._from=t,this._to=n,this._value=null}e.exports=function(){return n}(),n.prototype.set=function(e){if(e=e?parseFloat(e):0,isNaN(e))throw new Error("Value for "+this._name+" must be numeric");if(e<this._from||e>this._to)throw new Error("Value for "+this._name+" ("+e+") must be between "+this._from+" and "+this._to);return this._value=e,this},n.prototype.get=function(){return this._value},n.prototype.equals=function(e){return e instanceof n&&this._name===e._name&&this._value===e._value}},function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var i=n(2),o={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var t=e.Properties||{},n=e.DOMAttributeNames||{},a=e.DOMPropertyNames||{},s=e.DOMMutationMethods||{};e.isCustomAttribute&&u._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var l in t){i(!u.isStandardName.hasOwnProperty(l)),u.isStandardName[l]=!0;var c=l.toLowerCase();if(u.getPossibleStandardName[c]=l,n.hasOwnProperty(l)){var h=n[l];u.getPossibleStandardName[h]=l,u.getAttributeName[l]=h}else u.getAttributeName[l]=c;u.getPropertyName[l]=a.hasOwnProperty(l)?a[l]:l,s.hasOwnProperty(l)?u.getMutationMethod[l]=s[l]:u.getMutationMethod[l]=null;var f=t[l];u.mustUseAttribute[l]=r(f,o.MUST_USE_ATTRIBUTE),u.mustUseProperty[l]=r(f,o.MUST_USE_PROPERTY),u.hasSideEffects[l]=r(f,o.HAS_SIDE_EFFECTS),u.hasBooleanValue[l]=r(f,o.HAS_BOOLEAN_VALUE),u.hasNumericValue[l]=r(f,o.HAS_NUMERIC_VALUE),u.hasPositiveNumericValue[l]=r(f,o.HAS_POSITIVE_NUMERIC_VALUE),u.hasOverloadedBooleanValue[l]=r(f,o.HAS_OVERLOADED_BOOLEAN_VALUE),i(!u.mustUseAttribute[l]||!u.mustUseProperty[l]),i(u.mustUseProperty[l]||!u.hasSideEffects[l]),i(!!u.hasBooleanValue[l]+!!u.hasNumericValue[l]+!!u.hasOverloadedBooleanValue[l]<=1)}}},a={},u={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<u._isCustomAttributeFunctions.length;t++){var n=u._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,r=a[e];return r||(a[e]=r={}),t in r||(n=document.createElement(e),r[t]=n[t]),r[t]},injection:o};e.exports=u},function(e,t,n){"use strict";var r=n(74),i=n(125),o=n(126),a=n(17),u=n(79),s=n(27),l=n(6),c=(n(51),n(280)),h=n(128),f=n(291),d=n(40),p=n(28),g=n(30),v=n(132),m=n(42),w=n(302),b=n(4),y=n(139),T=n(147);f.inject();var S=l.createElement,_=l.createFactory,E=l.cloneElement,P=g.measure("React","render",p.render),C={Children:{map:i.map,forEach:i.forEach,count:i.count,only:T},Component:o,DOM:c,PropTypes:v,initializeTouchEvents:function(e){r.useTouchEvents=e},createClass:a.createClass,createElement:S,cloneElement:E,createFactory:_,createMixin:function(e){return e},constructAndRenderComponent:p.constructAndRenderComponent,constructAndRenderComponentByID:p.constructAndRenderComponentByID,findDOMNode:y,render:P,renderToString:w.renderToString,renderToStaticMarkup:w.renderToStaticMarkup,unmountComponentAtNode:p.unmountComponentAtNode,isValidElement:l.isValidElement,withContext:u.withContext,__spread:b};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({CurrentOwner:s,InstanceHandles:d,Mount:p,Reconciler:m,TextComponent:h});C.version="0.13.3",e.exports=C},function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,g)||(e[g]=d++,h[e[g]]={}),h[e[g]]}var i=n(16),o=n(49),a=n(124),u=n(293),s=n(136),l=n(4),c=n(91),h={},f=!1,d=0,p={topBlur:"blur",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",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},g="_reactListenersID"+String(Math.random()).slice(2),v=l({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),u=a.registrationNameDependencies[e],s=i.topLevelTypes,l=0,h=u.length;h>l;l++){var f=u[l];o.hasOwnProperty(f)&&o[f]||(f===s.topWheel?c("wheel")?v.ReactEventListener.trapBubbledEvent(s.topWheel,"wheel",n):c("mousewheel")?v.ReactEventListener.trapBubbledEvent(s.topWheel,"mousewheel",n):v.ReactEventListener.trapBubbledEvent(s.topWheel,"DOMMouseScroll",n):f===s.topScroll?c("scroll",!0)?v.ReactEventListener.trapCapturedEvent(s.topScroll,"scroll",n):v.ReactEventListener.trapBubbledEvent(s.topScroll,"scroll",v.ReactEventListener.WINDOW_HANDLE):f===s.topFocus||f===s.topBlur?(c("focus",!0)?(v.ReactEventListener.trapCapturedEvent(s.topFocus,"focus",n),v.ReactEventListener.trapCapturedEvent(s.topBlur,"blur",n)):c("focusin")&&(v.ReactEventListener.trapBubbledEvent(s.topFocus,"focusin",n),v.ReactEventListener.trapBubbledEvent(s.topBlur,"focusout",n)),o[s.topBlur]=!0,o[s.topFocus]=!0):p.hasOwnProperty(f)&&v.ReactEventListener.trapBubbledEvent(f,p[f],n),o[f]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!f){var e=s.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),f=!0}},eventNameDispatchConfigs:o.eventNameDispatchConfigs,registrationNameModules:o.registrationNameModules,putListener:o.putListener,getListener:o.getListener,deleteListener:o.deleteListener,deleteAllListeners:o.deleteAllListeners});e.exports=v},function(e,t,n){"use strict";var r=(n(6),n(5),{create:function(e){return e},extract:function(e){return e},extractIfFragment:function(e){return e}});e.exports=r},function(e,t,n){"use strict";function r(e){return d+e.toString(36)}function i(e,t){return e.charAt(t)===d||t===e.length}function o(e){return""===e||e.charAt(0)===d&&e.charAt(e.length-1)!==d}function a(e,t){return 0===t.indexOf(e)&&i(t,e.length)}function u(e){return e?e.substr(0,e.lastIndexOf(d)):""}function s(e,t){if(f(o(e)&&o(t)),f(a(e,t)),e===t)return e;var n,r=e.length+p;for(n=r;n<t.length&&!i(t,n);n++);return t.substr(0,n)}function l(e,t){var n=Math.min(e.length,t.length);if(0===n)return"";for(var r=0,a=0;n>=a;a++)if(i(e,a)&&i(t,a))r=a;else if(e.charAt(a)!==t.charAt(a))break;var u=e.substr(0,r);return f(o(u)),u}function c(e,t,n,r,i,o){e=e||"",t=t||"",f(e!==t);var l=a(t,e);f(l||a(e,t));for(var c=0,h=l?u:s,d=e;;d=h(d,t)){var p;if(i&&d===e||o&&d===t||(p=n(d,l,r)),p===!1||d===t)break;f(c++<g)}}var h=n(134),f=n(2),d=".",p=d.length,g=100,v={createReactRootID:function(){return r(h.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===d&&e.length>1){var t=e.indexOf(d,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,r,i){var o=l(e,t);o!==e&&c(e,o,n,r,!1,!0),o!==t&&c(o,t,n,i,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(c("",e,t,n,!0,!1),c(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){c("",e,t,n,!0,!1)},_getFirstCommonAncestorID:l,_getNextDescendantID:s,isAncestorIDOf:a,SEPARATOR:d};e.exports=v},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,n){"use strict";function r(){i.attachRefs(this,this._currentElement)}var i=n(301),o=(n(51),{mountComponent:function(e,t,n,i){var o=e.mountComponent(t,n,i);return n.getReactMountReady().enqueue(r,e),o},unmountComponent:function(e){i.detachRefs(e,e._currentElement),e.unmountComponent()},receiveComponent:function(e,t,n,o){var a=e._currentElement;if(t!==a||null==t._owner){var u=i.shouldUpdateRefs(a,t);u&&i.detachRefs(e,a),e.receiveComponent(t,n,o),u&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t){e.performUpdateIfNecessary(t)}});e.exports=o},function(e,t,n){"use strict";var r=n(2),i=function(e){var t,n={};r(e instanceof Object&&!Array.isArray(e));for(t in e)e.hasOwnProperty(t)&&(n[t]=t);return n};e.exports=i},function(e,t,n){var r=n(29),i=n(22).get,o=n(102);e.exports=function(e,t,n,a){for(var u,s=i(e),l=r(n,a,t?2:1);!(u=s.next()).done;)if(o(s,l,u.value,t)===!1)return o.close(s)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(205),o=r(i);t["default"]={White:{id:1,officialName:"White",commonName:"White",color:"rgb(255, 255, 255)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40}),new o["default"]({width:10,height:1,cost:45}),new o["default"]({width:12,height:1,cost:55}),new o["default"]({width:16,height:1,cost:70})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:10,height:1,cost:25}),new o["default"]({width:12,height:1,cost:35}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:10,height:2,cost:35}),new o["default"]({width:12,height:2,cost:40}),new o["default"]({width:16,height:2,cost:70}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:10,height:4,cost:75}),new o["default"]({width:12,height:4,cost:80}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({width:8,height:6,cost:85}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:10,width:1,cost:25}),new o["default"]({height:12,width:1,cost:35}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:10,width:2,cost:35}),new o["default"]({height:12,width:2,cost:40}),new o["default"]({height:16,width:2,cost:70}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:10,width:4,cost:75}),new o["default"]({height:12,width:4,cost:80}),new o["default"]({height:8,width:6,cost:85})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({width:4,height:2,cost:30}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:20}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10}),new o["default"]({height:4,width:2,cost:30})]}},"Brick Yellow":{id:5,officialName:"Brick Yellow",commonName:"Tan",color:"rgb(217, 187, 123)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40}),new o["default"]({width:10,height:1,cost:45})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:10,height:2,cost:35}),new o["default"]({width:16,height:2,cost:70}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({width:16,height:8,cost:215}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:10,width:2,cost:35}),new o["default"]({height:16,width:2,cost:70}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:16,width:8,cost:215})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20})]}},"Bright Red":{id:21,officialName:"Bright Red",commonName:"Red",color:"rgb(222, 0, 13)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:10,height:1,cost:45}),new o["default"]({width:12,height:1,cost:55})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:10,height:2,cost:35}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:2,width:2,cost:15}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:10,width:2,cost:35}),new o["default"]({height:4,width:4,cost:30}),new o["default"]({height:6,width:4,cost:60})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({width:4,height:2,cost:30}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:20}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10}),new o["default"]({height:4,width:2,cost:30})]}},"Bright Blue":{id:23,officialName:"Bright Blue",commonName:"Blue",color:"rgb(0, 87, 168)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({width:8,height:6,cost:85}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:2,width:2,cost:15}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:4,width:4,cost:30}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:6,width:6,cost:70}),new o["default"]({height:8,width:6,cost:85})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({width:4,height:2,cost:30}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10}),new o["default"]({height:4,width:2,cost:30})]}},"Bright Yellow":{id:24,officialName:"Bright Yellow",commonName:"Yellow",color:"rgb(254, 196, 0)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35
  }),new o["default"]({width:8,height:1,cost:40})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:2,width:2,cost:15}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:6,width:4,cost:60})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({width:4,height:2,cost:30}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:20}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10}),new o["default"]({height:4,width:2,cost:30})]}},Black:{id:26,officialName:"Black",commonName:"Black",color:"rgb(0, 0, 0)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40}),new o["default"]({width:10,height:1,cost:45}),new o["default"]({width:12,height:1,cost:55}),new o["default"]({width:16,height:1,cost:70})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:10,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:10,height:2,cost:35}),new o["default"]({width:12,height:2,cost:40}),new o["default"]({width:16,height:2,cost:70}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:10,height:4,cost:75}),new o["default"]({width:12,height:4,cost:80}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({width:8,height:6,cost:85}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:10,width:1,cost:25}),new o["default"]({height:2,width:2,cost:15}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:10,width:2,cost:35}),new o["default"]({height:12,width:2,cost:40}),new o["default"]({height:16,width:2,cost:70}),new o["default"]({height:4,width:4,cost:30}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:10,width:4,cost:75}),new o["default"]({height:12,width:4,cost:80}),new o["default"]({height:6,width:6,cost:70}),new o["default"]({height:8,width:6,cost:85})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({width:4,height:2,cost:30}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:20}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10}),new o["default"]({height:4,width:2,cost:30})]}},"Dark Green":{id:28,officialName:"Dark Green",commonName:"Green",color:"rgb(0, 123, 40)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:8,height:6,cost:85}),new o["default"]({width:8,height:8,cost:110}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:2,width:2,cost:15}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:8,width:6,cost:85})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10})]}},"Bright Green":{id:37,officialName:"Bright Green",commonName:"Bright Green",color:"rgb(0, 150, 36)",availablePieces:{brick:[],plate:[new o["default"]({width:16,height:16,cost:425}),new o["default"]({width:12,height:6,cost:200}),new o["default"]({width:16,height:8,cost:215}),new o["default"]({height:16,width:16,cost:425}),new o["default"]({height:12,width:6,cost:200}),new o["default"]({height:16,width:8,cost:215})],flat:[]}},"Medium Blue":{id:102,officialName:"Medium Blue",commonName:"Medium Blue",color:"rgb(71, 140, 198)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:4,width:2,cost:20})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:2,width:1,cost:10})]}},"Bright Orange":{id:106,officialName:"Bright Orange",commonName:"Orange",color:"rgb(231, 99, 24)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:2,width:1,cost:10})]}},"Bright Yellowish-Green":{id:119,officialName:"Bright Yellowish-Green",commonName:"Lime",color:"rgb(149, 185, 11)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20})]}},"Bright Reddish Violet":{id:124,officialName:"Bright Reddish Violet",commonName:"Magenta",color:"rgb(156, 0, 107)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35})],plate:[],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({height:2,width:1,cost:10})]}},"Sand Yellow":{id:138,officialName:"Sand Yellow",commonName:"Dark Tan",color:"rgb(141, 116, 82)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35})],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25})],flat:[new o["default"]({width:2,height:2,cost:10})]}},"Earth Blue":{id:140,officialName:"Earth Blue",commonName:"Dark Blue",color:"rgb(0, 37, 65)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:4,width:2,cost:20})],flat:[]}},"Earth Green":{id:141,officialName:"Earth Green",commonName:"Dark Green",color:"rgb(0, 52, 22)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20})],flat:[]}},"New Dark Red":{id:154,officialName:"New Dark Red",commonName:"Dark Red",color:"rgb(128, 8, 27)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:6,height:1,cost:35})],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:4,width:2,cost:20})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({height:2,width:1,cost:10})]}},"Flame Yellowish Orange":{id:191,officialName:"Flame Yellowish Orange",commonName:"Bright Light Orange",color:"rgb(244, 155, 0)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({height:2,width:2,cost:15})],flat:[]}},"Reddish Brown":{id:192,officialName:"Reddish Brown",commonName:"Reddish Brown",color:"rgb(91, 28, 12)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:10,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:10,width:1,cost:25}),new o["default"]({height:2,width:2,cost:15}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:4,width:4,cost:30}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:6,width:6,cost:70})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({width:4,height:2,cost:30}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10}),new o["default"]({height:4,width:2,cost:30})]}},"Medium Stone Grey":{id:194,officialName:"Medium Stone Grey",commonName:"Light Grey",color:"rgb(156, 146, 145)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:10,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:10,height:2,cost:35}),new o["default"]({width:12,height:2,cost:40}),new o["default"]({width:16,height:2,cost:70}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:10,height:4,cost:75}),new o["default"]({width:12,height:4,cost:80}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({width:8,height:6,cost:85}),new o["default"]({width:10,height:6,cost:120}),new o["default"]({width:12,height:6,cost:200}),new o["default"]({width:16,height:6,cost:210}),new o["default"]({width:8,height:8,cost:110}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:10,width:1,cost:25}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:10,width:2,cost:35}),new o["default"]({height:12,width:2,cost:40}),new o["default"]({height:16,width:2,cost:70}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:10,width:4,cost:75}),new o["default"]({height:12,width:4,cost:80}),new o["default"]({height:8,width:6,cost:85}),new o["default"]({height:10,width:6,cost:120}),new o["default"]({height:12,width:6,cost:200}),new o["default"]({height:16,width:6,cost:210})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:20}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20})]}},"Dark Stone Grey":{id:199,officialName:"Dark Stone Grey",commonName:"Dark Grey",color:"rgb(76, 81, 86)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35}),new o["default"]({width:8,height:1,cost:40}),new o["default"]({width:10,height:1,cost:45}),new o["default"]({width:12,height:1,cost:55})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:2,height:2,cost:15}),new o["default"]({width:3,height:2,cost:20}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({width:8,height:2,cost:35}),new o["default"]({width:12,height:2,cost:40}),new o["default"]({width:16,height:2,cost:70}),new o["default"]({width:4,height:4,cost:30}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({width:8,height:4,cost:65}),new o["default"]({width:6,height:6,cost:70}),new o["default"]({width:8,height:6,cost:85}),new o["default"]({width:10,height:6,cost:120}),new o["default"]({width:12,height:6,cost:200}),new o["default"]({width:14,height:6,cost:240}),new o["default"]({width:16,height:6,cost:210}),new o["default"]({width:8,height:8,cost:110}),new o["default"]({height:16,width:16,cost:425}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:3,width:2,cost:20}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:2,cost:25}),new o["default"]({height:8,width:2,cost:35}),new o["default"]({height:12,width:2,cost:40}),new o["default"]({height:16,width:2,cost:70}),new o["default"]({height:6,width:4,cost:60}),new o["default"]({height:8,width:4,cost:65}),new o["default"]({height:8,width:6,cost:85}),new o["default"]({height:10,width:6,cost:120}),new o["default"]({height:12,width:6,cost:200}),new o["default"]({height:14,width:6,cost:240}),new o["default"]({height:16,width:6,cost:210})],flat:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:3,height:1,cost:20}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:20}),new o["default"]({width:8,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:3,width:1,cost:20}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:6,width:1,cost:20}),new o["default"]({height:8,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10})]}},"Bright Purple":{id:221,officialName:"Bright Purple",commonName:"Bright Pink",color:"rgb(222, 55, 139)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:1,height:2,cost:10})],flat:[]}},"Light Purple":{id:222,officialName:"Light Purple",commonName:"Light Pink",color:"rgb(238, 157, 195)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:6,width:2,cost:25})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:2,height:2,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20}),new o["default"]({height:2,width:2,cost:10})]}},"Cool Yellow":{id:226,officialName:"Cool Yellow",commonName:"Blonde",color:"rgb(255, 255, 153)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20})],plate:[],flat:[]}},"Medium Lilac":{id:268,officialName:"Medium Lilac",commonName:"Dark Purple",color:"rgb(44, 21, 119)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15})],plate:[new o["default"]({width:3,height:2,cost:20}),new o["default"]({height:3,width:2,cost:20})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({height:2,width:1,cost:10})]}},"Dark Brown":{id:308,officialName:"Dark Brown",commonName:"Dark Brown",color:"rgb(48, 15, 6)",availablePieces:{brick:[],plate:[new o["default"]({width:8,height:1,cost:25}),new o["default"]({width:6,height:2,cost:25}),new o["default"]({height:8,width:1,cost:25}),new o["default"]({height:6,width:2,cost:25})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20})]}},"Dark Azur":{id:321,officialName:"Dark Azur",commonName:"Dark Azur",color:"rgb(70, 155, 195)",availablePieces:{brick:[new o["default"]({width:2,height:1,cost:15})],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({height:2,width:1,cost:10})],flat:[]}},"Medium Azur":{id:322,officialName:"Medium Azur",commonName:"Azure",color:"rgb(104, 195, 226)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({width:6,height:1,cost:35})],plate:[new o["default"]({width:4,height:2,cost:20}),new o["default"]({width:6,height:4,cost:60}),new o["default"]({height:4,width:2,cost:20}),new o["default"]({height:6,width:4,cost:60})],flat:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:20}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:20})]}},"Medium Lavender":{id:324,officialName:"Medium Lavender",commonName:"Medium Lavender",color:"rgb(160, 110, 185)",availablePieces:{brick:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:15})],plate:[new o["default"]({width:1,height:1,cost:10}),new o["default"]({width:2,height:1,cost:10}),new o["default"]({width:4,height:1,cost:15}),new o["default"]({width:4,height:2,cost:20}),new o["default"]({height:1,width:1,cost:10}),new o["default"]({height:2,width:1,cost:10}),new o["default"]({height:4,width:1,cost:15}),new o["default"]({height:4,width:2,cost:20})],flat:[]}},"Olive Green":{id:330,officialName:"Olive Green",commonName:"Olive Green",color:"rgb(119, 119, 78)",availablePieces:{brick:[],plate:[new o["default"]({width:2,height:1,cost:10}),new o["default"]({height:2,width:1,cost:10})],flat:[]}}},e.exports=t["default"]},function(module,exports,__webpack_require__){function AbstractModel(){this._name=null,this._components=[]}module.exports=function(){return AbstractModel}();var _r=__webpack_require__(35);eval("var Component = _r"),AbstractModel.prototype.toString=function(){for(var e=[],t=0,n=this._components.length;n>t;t++)e.push(this["_"+this._components[t]].get());return this._name+"("+e.join(", ")+")"},AbstractModel.prototype.equals=function(e){if(!(e instanceof AbstractModel)||this._name!==e._name)return!1;for(var t=0,n=this._components,r=n.length;r>t;t++){var i="_"+n[t];if(!this[i].equals(e[i]))return!1}return!0},AbstractModel.prototype.toXyz=function(){throw new Error("Model "+this._name+" has not implemented Xyz conversion!")},AbstractModel.prototype.toLab=function(){return this.toXyz().toLab()},AbstractModel.prototype.component=function(e,t){var n=this["_"+e];if(void 0===n||!(n instanceof Component))throw new Error('Component "'+e+'" is not exists');return 1==arguments.length?n.get():(n.set(t),this)},AbstractModel.prototype._component=function(e,t){var n=this["_"+e];return 0==t.length?n.get():(n.set(t[0]),this)}},function(module,exports,__webpack_require__){function Rgb(e,t,n){this._name="rgb",this._components=["red","green","blue"],this._red=new Component("red",0,255),this._red.set(e),this._green=new Component("green",0,255),this._green.set(t),this._blue=new Component("blue",0,255),this._blue.set(n)}module.exports=function(){return Rgb}();var _r=__webpack_require__(35);eval("var Component = _r");var _r=__webpack_require__(118);eval("var Xyz       = _r");var _r=__webpack_require__(116);eval("var Hsl       = _r"),__webpack_require__(32).inherits(Rgb,__webpack_require__(46)),Rgb.prototype.red=function(e){return this._component("red",arguments)},Rgb.prototype.green=function(e){return this._component("green",arguments)},Rgb.prototype.blue=function(e){return this._component("blue",arguments)},Rgb.prototype.toHex=function(){var e=__webpack_require__(115);return(new e).red(this._red.get()).green(this._green.get()).blue(this._blue.get())},Rgb.prototype.toHexString=function(){return this.toHex().toString()},Rgb.prototype._preparePreXyzValue=function(e){return e/=255,e>.04045?(e=(e+.055)/1.055,e=Math.pow(e,2.4)):e/=12.92,100*e},Rgb.prototype.toXyz=function(){var e=this._preparePreXyzValue(this._red.get()),t=this._preparePreXyzValue(this._green.get()),n=this._preparePreXyzValue(this._blue.get());return new Xyz(this._finalizeXyzValue(.4124*e+.3576*t+.1805*n),this._finalizeXyzValue(.2126*e+.7152*t+.0722*n),this._finalizeXyzValue(.0193*e+.1192*t+.9505*n))},Rgb.prototype._finalizeXyzValue=function(e){return Math.round(1e4*e)/1e4},Rgb.prototype.toHsl=function(){var e=this._red.get()/255,t=this._green.get()/255,n=this._blue.get()/255,r=Math.min(e,t,n),i=Math.max(e,t,n),o=i-r,a=(r+i)/2;if(a=Math.round(100*a)/100,0==o)return new Hsl(0,0,a);var u=0;u=.5>a?o/(i+r):o/(2-i-r),u=Math.round(100*u)/100;var s=0,l=((i-e)/6+o/2)/o,c=((i-t)/6+o/2)/o,h=((i-n)/6+o/2)/o;return s=e==i?h-c:t==i?1/3+l-h:2/3+c-l,0>s?++s:s>1&&--s,s=360.99999999999994*s>>0,360==s&&(s=0),new Hsl(s,u,a)}},function(e,t,n){"use strict";function r(e,t){return null==t||i.hasBooleanValue[e]&&!t||i.hasNumericValue[e]&&isNaN(t)||i.hasPositiveNumericValue[e]&&1>t||i.hasOverloadedBooleanValue[e]&&t===!1}var i=n(36),o=n(339),a=(n(5),{createMarkupForID:function(e){return i.ID_ATTRIBUTE_NAME+"="+o(e)},createMarkupForProperty:function(e,t){if(i.isStandardName.hasOwnProperty(e)&&i.isStandardName[e]){if(r(e,t))return"";var n=i.getAttributeName[e];return i.hasBooleanValue[e]||i.hasOverloadedBooleanValue[e]&&t===!0?n:n+"="+o(t)}return i.isCustomAttribute(e)?null==t?"":e+"="+o(t):null},setValueForProperty:function(e,t,n){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){var o=i.getMutationMethod[t];if(o)o(e,n);else if(r(t,n))this.deleteValueForProperty(e,t);else if(i.mustUseAttribute[t])e.setAttribute(i.getAttributeName[t],""+n);else{var a=i.getPropertyName[t];i.hasSideEffects[t]&&""+e[a]==""+n||(e[a]=n)}}else i.isCustomAttribute(t)&&(null==n?e.removeAttribute(t):e.setAttribute(t,""+n))},deleteValueForProperty:function(e,t){if(i.isStandardName.hasOwnProperty(t)&&i.isStandardName[t]){var n=i.getMutationMethod[t];if(n)n(e,void 0);else if(i.mustUseAttribute[t])e.removeAttribute(i.getAttributeName[t]);else{var r=i.getPropertyName[t],o=i.getDefaultValueForProperty(e.nodeName,r);i.hasSideEffects[t]&&""+e[r]===o||(e[r]=o)}}else i.isCustomAttribute(t)&&e.removeAttribute(t)}});e.exports=a},function(e,t,n){"use strict";var r=n(124),i=n(74),o=n(85),a=n(86),u=n(2),s={},l=null,c=function(e){if(e){var t=i.executeDispatch,n=r.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},h=null,f={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(e){h=e},getInstanceHandle:function(){return h},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,t,n){u(!n||"function"==typeof n);var r=s[t]||(s[t]={});r[e]=n},getListener:function(e,t){var n=s[t];return n&&n[e]},deleteListener:function(e,t){var n=s[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in s)delete s[t][e]},extractEvents:function(e,t,n,i){for(var a,u=r.plugins,s=0,l=u.length;l>s;s++){var c=u[s];if(c){var h=c.extractEvents(e,t,n,i);h&&(a=o(a,h))}}return a},enqueueEvents:function(e){e&&(l=o(l,e))},processEventQueue:function(){var e=l;l=null,a(e,c),u(!l)},__purge:function(){s={}},__getListenerBank:function(){return s}};e.exports=f},function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];
  return v(e,r)}function i(e,t,n){var i=t?g.bubbled:g.captured,o=r(e,n,i);o&&(n._dispatchListeners=d(n._dispatchListeners,o),n._dispatchIDs=d(n._dispatchIDs,e))}function o(e){e&&e.dispatchConfig.phasedRegistrationNames&&f.injection.getInstanceHandle().traverseTwoPhase(e.dispatchMarker,i,e)}function a(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,i=v(e,r);i&&(n._dispatchListeners=d(n._dispatchListeners,i),n._dispatchIDs=d(n._dispatchIDs,e))}}function u(e){e&&e.dispatchConfig.registrationName&&a(e.dispatchMarker,null,e)}function s(e){p(e,o)}function l(e,t,n,r){f.injection.getInstanceHandle().traverseEnterLeave(n,r,a,e,t)}function c(e){p(e,u)}var h=n(16),f=n(49),d=n(85),p=n(86),g=h.PropagationPhases,v=f.getListener,m={accumulateTwoPhaseDispatches:s,accumulateDirectDispatches:c,accumulateEnterLeaveDispatches:l};e.exports=m},function(e,t,n){"use strict";function r(){if(w.current){var e=w.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function i(e){var t=e&&e.getPublicInstance();if(!t)return void 0;var n=t.constructor;return n?n.displayName||n.name||void 0:void 0}function o(){var e=w.current;return e&&i(e)||void 0}function a(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,s('Each child in an array or iterator should have a unique "key" prop.',e,t))}function u(e,t,n){E.test(e)&&s("Child objects should have non-numeric keys so ordering is preserved.",t,n)}function s(e,t,n){var r=o(),a="string"==typeof n?n:n.displayName||n.name,u=r||a,s=S[e]||(S[e]={});if(!s.hasOwnProperty(u)){s[u]=!0;var l="";if(t&&t._owner&&t._owner!==w.current){var c=i(t._owner);l=" It was passed a child from "+c+"."}}}function l(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];g.isValidElement(r)&&a(r,t)}else if(g.isValidElement(e))e._store.validated=!0;else if(e){var i=y(e);if(i){if(i!==e.entries)for(var o,s=i.call(e);!(o=s.next()).done;)g.isValidElement(o.value)&&a(o.value,t)}else if("object"==typeof e){var l=v.extractIfFragment(e);for(var c in l)l.hasOwnProperty(c)&&u(c,l[c],t)}}}function c(e,t,n,i){for(var o in t)if(t.hasOwnProperty(o)){var a;try{T("function"==typeof t[o]),a=t[o](n,o,e,i)}catch(u){a=u}if(a instanceof Error&&!(a.message in _)){_[a.message]=!0;r(this)}}}function h(e,t){var n=t.type,r="string"==typeof n?n:n.displayName,i=t._owner?t._owner.getPublicInstance().constructor.displayName:null,o=e+"|"+r+"|"+i;if(!P.hasOwnProperty(o)){P[o]=!0;var a="";r&&(a=" <"+r+" />");var u="";i&&(u=" The element was created by "+i+".")}}function f(e,t){return e!==e?t!==t:0===e&&0===t?1/e===1/t:e===t}function d(e){if(e._store){var t=e._store.originalProps,n=e.props;for(var r in n)n.hasOwnProperty(r)&&(t.hasOwnProperty(r)&&f(t[r],n[r])||(h(r,e),t[r]=n[r]))}}function p(e){if(null!=e.type){var t=b.getComponentClassForElement(e),n=t.displayName||t.name;t.propTypes&&c(n,t.propTypes,e.props,m.prop),"function"==typeof t.getDefaultProps}}var g=n(6),v=n(39),m=n(83),w=(n(61),n(27)),b=n(60),y=n(142),T=n(2),S=(n(5),{}),_={},E=/^\d+$/,P={},C={checkAndWarnForMutatedProps:d,createElement:function(e,t,n){var r=g.createElement.apply(this,arguments);if(null==r)return r;for(var i=2;i<arguments.length;i++)l(arguments[i],e);return p(r),r},createFactory:function(e){var t=C.createElement.bind(null,e);return t.type=e,t},cloneElement:function(e,t,n){for(var r=g.cloneElement.apply(this,arguments),i=2;i<arguments.length;i++)l(arguments[i],r.type);return p(r),r}};e.exports=C},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(31),o=n(89),a={view:function(e){if(e.view)return e.view;var t=o(e);if(null!=t&&t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};i.augmentClass(r,a),e.exports=r},function(e,t,n){var r=n(1),i=n(29);e.exports=function(e){var t=1==e,n=2==e,o=3==e,a=4==e,u=6==e,s=5==e||u;return function(l,c,h){for(var f,d,p=Object(r.assertDefined(l)),g=r.ES5Object(p),v=i(c,h,3),m=r.toLength(g.length),w=0,b=t?Array(m):n?[]:void 0;m>w;w++)if((s||w in g)&&(f=g[w],d=v(f,w,p),e))if(t)b[w]=d;else if(d)switch(e){case 3:return!0;case 5:return f;case 6:return w;case 2:b.push(f)}else if(a)return!1;return u?-1:o||a?a:b}}},function(e,t,n){"use strict";var r=n(1),i=n(3),o=n(22).BUGGY,a=n(44),u=n(57),s=n(11).inst;e.exports=function(e,t,l,c,h,f){function d(e){var t=m[e];n(23)(m,e,"delete"==e?function(e){return t.call(this,0===e?0:e)}:"has"==e?function(e){return t.call(this,0===e?0:e)}:"get"==e?function(e){return 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})}var p=r.g[e],g=p,v=h?"set":"add",m=g&&g.prototype,w={};if(r.isFunction(g)&&(f||!o&&m.forEach&&m.entries)){var b,y=new g,T=y[v](f?{}:-0,1);n(67)(function(e){new g(e)})||(g=t(function(t,n){s(t,g,e);var r=new p;return void 0!=n&&a(n,h,r[v],r),r}),g.prototype=m,m.constructor=g),f||y.forEach(function(e,t){b=1/t===-(1/0)}),b&&(d("delete"),d("has"),h&&d("get")),(b||T!==y)&&d(v)}else g=c.getConstructor(t,e,h,v),n(56)(g.prototype,l);return n(14).set(g,e),w[e]=g,i(i.G+i.W+i.F*(g!=p),w),u(g),u(r.core[e]),f||c.setIter(g,e,h),g}},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]);case 5:return r?e(t[0],t[1],t[2],t[3],t[4]):e.call(n,t[0],t[1],t[2],t[3],t[4])}return e.apply(n,t)}},function(e,t,n){var r=n(23);e.exports=function(e,t){for(var n in t)r(e,n,t[n]);return e}},function(e,t,n){var r=n(1),i=n(15)("species");e.exports=function(e){!r.DESC||i in e||r.setDesc(e,i,{configurable:!0,get:r.that})}},function(e,t,n){var r=n(232),i=n(233),o=function(e){if(e instanceof o)return e;if(!(this instanceof o))return new o(e);if(this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},"string"==typeof e){var t=i.getRgba(e);if(t)this.setValues("rgb",t);else if(t=i.getHsla(e))this.setValues("hsl",t);else{if(!(t=i.getHwb(e)))throw new Error('Unable to parse color from string "'+e+'"');this.setValues("hwb",t)}}else if("object"==typeof e){var t=e;if(void 0!==t.r||void 0!==t.red)this.setValues("rgb",t);else if(void 0!==t.l||void 0!==t.lightness)this.setValues("hsl",t);else if(void 0!==t.v||void 0!==t.value)this.setValues("hsv",t);else if(void 0!==t.w||void 0!==t.whiteness)this.setValues("hwb",t);else{if(void 0===t.c&&void 0===t.cyan)throw new Error("Unable to parse color from object "+JSON.stringify(e));this.setValues("cmyk",t)}}};o.prototype={rgb:function(e){return this.setSpace("rgb",arguments)},hsl:function(e){return this.setSpace("hsl",arguments)},hsv:function(e){return this.setSpace("hsv",arguments)},hwb:function(e){return this.setSpace("hwb",arguments)},cmyk:function(e){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){return 1!==this.values.alpha?this.values.hwb.concat([this.values.alpha]):this.values.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values.rgb;return e.concat([this.values.alpha])},hslaArray:function(){var e=this.values.hsl;return e.concat([this.values.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){return this.values.rgb[0]<<16|this.values.rgb[1]<<8|this.values.rgb[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=.03928>=r?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb,t=(299*e[0]+587*e[1]+114*e[2])/1e3;return 128>t},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;3>t;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){return this.values.hsl[2]+=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},darken:function(e){return this.values.hsl[2]-=this.values.hsl[2]*e,this.setValues("hsl",this.values.hsl),this},saturate:function(e){return this.values.hsl[1]+=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},desaturate:function(e){return this.values.hsl[1]-=this.values.hsl[1]*e,this.setValues("hsl",this.values.hsl),this},whiten:function(e){return this.values.hwb[1]+=this.values.hwb[1]*e,this.setValues("hwb",this.values.hwb),this},blacken:function(e){return this.values.hwb[2]+=this.values.hwb[2]*e,this.setValues("hwb",this.values.hwb),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){return this.setValues("alpha",this.values.alpha-this.values.alpha*e),this},opaquer:function(e){return this.setValues("alpha",this.values.alpha+this.values.alpha*e),this},rotate:function(e){var t=this.values.hsl[0];return t=(t+e)%360,t=0>t?360+t:t,this.values.hsl[0]=t,this.setValues("hsl",this.values.hsl),this},mix:function(e,t){var n=this,r=e,i=void 0!==t?t:.5,o=2*i-1,a=n.alpha()-r.alpha(),u=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,s=1-u;return this.rgb(u*n.red()+s*r.red(),u*n.green()+s*r.green(),u*n.blue()+s*r.blue()).alpha(n.alpha()*i+r.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){return new o(this.rgb())}},o.prototype.getValues=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=this.values[e][n];return 1!=this.values.alpha&&(t.a=this.values.alpha),t},o.prototype.setValues=function(e,t){var n={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},i={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},o=1;if("alpha"==e)o=t;else if(t.length)this.values[e]=t.slice(0,e.length),o=t[e.length];else if(void 0!==t[e.charAt(0)]){for(var a=0;a<e.length;a++)this.values[e][a]=t[e.charAt(a)];o=t.a}else if(void 0!==t[n[e][0]]){for(var u=n[e],a=0;a<e.length;a++)this.values[e][a]=t[u[a]];o=t.alpha}if(this.values.alpha=Math.max(0,Math.min(1,void 0!==o?o:this.values.alpha)),"alpha"!=e){for(var a=0;a<e.length;a++){var s=Math.max(0,Math.min(i[e][a],this.values[e][a]));this.values[e][a]=Math.round(s)}for(var l in n){l!=e&&(this.values[l]=r[e][l](this.values[e]));for(var a=0;a<l.length;a++){var s=Math.max(0,Math.min(i[l][a],this.values[l][a]));this.values[l][a]=Math.round(s)}}return!0}},o.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},o.prototype.setChannel=function(e,t,n){return void 0===n?this.values[e][t]:(this.values[e][t]=n,this.setValues(e,this.values[e]),this)},e.exports=o},function(e,t,n){"use strict";var r=n(140),i={componentDidMount:function(){this.props.autoFocus&&r(this.getDOMNode())}};e.exports=i},function(e,t,n){"use strict";function r(e){if("function"==typeof e.type)return e.type;var t=e.type,n=h[t];return null==n&&(h[t]=n=l(t)),n}function i(e){return s(c),new c(e.type,e.props)}function o(e){return new f(e)}function a(e){return e instanceof f}var u=n(4),s=n(2),l=null,c=null,h={},f=null,d={injectGenericComponentClass:function(e){c=e},injectTextComponentClass:function(e){f=e},injectComponentClasses:function(e){u(h,e)},injectAutoWrapper:function(e){l=e}},p={getComponentClassForElement:r,createInternalComponent:i,createInstanceForText:o,isTextComponent:a,injection:d};e.exports=p},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(52),o=n(136),a=n(88),u={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:a,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+o.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+o.currentScrollTop}};i.augmentClass(r,u),e.exports=r},function(e,t,n){"use strict";var r=n(2),i={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,i,o,a,u,s){r(!this.isInTransaction());var l,c;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),c=e.call(t,n,i,o,a,u,s),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(h){}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.OBSERVED_ERROR,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(i){}}}},closeAll:function(e){r(this.isInTransaction());for(var t=this.transactionWrappers,n=e;n<t.length;n++){var i,a=t[n],u=this.wrapperInitData[n];try{i=!0,u!==o.OBSERVED_ERROR&&a.close&&a.close.call(this,u),i=!1}finally{if(i)try{this.closeAll(n+1)}catch(s){}}}this.wrapperInitData.length=0}},o={Mixin:i,OBSERVED_ERROR:{}};e.exports=o},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t){"use strict";function n(e){return i[e]}function r(e){return(""+e).replace(o,n)}var i={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},o=/[&><"']/g;e.exports=r},function(e,t,n){var r=n(3),i=n(23),o=n(1),a=n(14),u=n(22),s=n(15)("iterator"),l="@@iterator",c="keys",h="values",f=u.Iterators;e.exports=function(e,t,n,d,p,g,v){function m(e){function t(t){return new n(t,e)}switch(e){case c:return function(){return t(this)};case h:return function(){return t(this)}}return function(){return t(this)}}u.create(n,t,d);var w,b,y=t+" Iterator",T=e.prototype,S=T[s]||T[l]||p&&T[p],_=S||m(p);if(S){var E=o.getProto(_.call(new e));a.set(E,y,!0),o.FW&&o.has(T,l)&&u.set(E,o.that)}if((o.FW||v)&&u.set(T,_),f[t]=_,f[y]=o.that,p)if(w={keys:g?_:m(c),values:p==h?_:m(h),entries:p!=h?_:m("entries")},v)for(b in w)b in T||i(T,b,w[b]);else r(r.P+r.F*u.BUGGY,t,w)}},function(e,t,n){var r=n(15)("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,function(){throw 2})}catch(a){}e.exports=function(e){if(!i)return!1;var t=!1;try{var n=[7],o=n[r]();o.next=function(){t=!0},n[r]=function(){return o},e(n)}catch(a){}return t}},function(e,t){"use strict";e.exports=function(e,t,n){var r=t===Object(t)?function(e){return t[e]}:t;return function(t){return String(n?t:this).replace(e,r)}}},function(e,t,n){function r(e,t){o.obj(e),o(null===t||i.isObject(t),t,": can't set as prototype!")}var i=n(1),o=n(11);e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t){try{t=n(29)(Function.call,i.getDesc(Object.prototype,"__proto__").set,2),t({},[])}catch(o){e=!0}return function(n,i){return r(n,i),e?n.__proto__=i:t(n,i),n}}():void 0),check:r}},function(e,t,n){var r=n(1),i="__core-js_shared__",o=r.g[i]||(r.g[i]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t,n){var r=n(1);e.exports=function(e){return function(t,n){var i,o,a=String(r.assertDefined(t)),u=r.toInteger(n),s=a.length;return 0>u||u>=s?e?"":void 0:(i=a.charCodeAt(u),55296>i||i>56319||u+1===s||(o=a.charCodeAt(u+1))<56320||o>57343?e?a.charAt(u):i:e?a.slice(u,u+2):(i-55296<<10)+(o-56320)+65536)}}},function(e,t){e.exports=function(e){try{return e(),!1}catch(t){return!0}}},function(e,t,n){"use strict";function r(){this._callbacks=null,this._contexts=null}var i=n(25),o=n(4),a=n(2);o(r.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,t=this._contexts;if(e){a(e.length===t.length),this._callbacks=null,this._contexts=null;for(var n=0,r=e.length;r>n;n++)e[n].call(t[n]);e.length=0,t.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e){return e===v.topMouseUp||e===v.topTouchEnd||e===v.topTouchCancel}function i(e){return e===v.topMouseMove||e===v.topTouchMove}function o(e){return e===v.topMouseDown||e===v.topTouchStart}function a(e,t){var n=e._dispatchListeners,r=e._dispatchIDs;if(Array.isArray(n))for(var i=0;i<n.length&&!e.isPropagationStopped();i++)t(e,n[i],r[i]);else n&&t(e,n,r)}function u(e,t,n){e.currentTarget=g.Mount.getNode(n);var r=t(e,n);return e.currentTarget=null,r}function s(e,t){a(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function l(e){var t=e._dispatchListeners,n=e._dispatchIDs;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 c(e){var t=l(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function h(e){var t=e._dispatchListeners,n=e._dispatchIDs;p(!Array.isArray(t));var r=t?t(e,n):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function f(e){return!!e._dispatchListeners}var d=n(16),p=n(2),g={Mount:null,injectMount:function(e){g.Mount=e}},v=d.topLevelTypes,m={isEndish:r,isMoveish:i,isStartish:o,executeDirectDispatch:h,executeDispatch:u,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:c,hasDispatches:f,injection:g,useTouchEvents:!1};e.exports=m},function(e,t,n){"use strict";function r(e){l(null==e.props.checkedLink||null==e.props.valueLink)}function i(e){r(e),l(null==e.props.value&&null==e.props.onChange)}function o(e){r(e),l(null==e.props.checked&&null==e.props.onChange)}function a(e){this.props.valueLink.requestChange(e.target.value)}function u(e){this.props.checkedLink.requestChange(e.target.checked)}var s=n(132),l=n(2),c={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},h={Mixin:{propTypes:{value:function(e,t,n){return!e[t]||c[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:s.func}},getValue:function(e){return e.props.valueLink?(i(e),e.props.valueLink.value):e.props.value},getChecked:function(e){return e.props.checkedLink?(o(e),e.props.checkedLink.value):e.props.checked},getOnChange:function(e){return e.props.valueLink?(i(e),a):e.props.checkedLink?(o(e),u):e.props.onChange}};e.exports=h},function(e,t,n){"use strict";function r(e){e.remove()}var i=n(38),o=n(85),a=n(86),u=n(2),s={trapBubbledEvent:function(e,t){u(this.isMounted());var n=this.getDOMNode();u(n);var r=i.trapBubbledEvent(e,t,n);this._localEventListeners=o(this._localEventListeners,r)},componentWillUnmount:function(){this._localEventListeners&&a(this._localEventListeners,r)}};e.exports=s},function(e,t,n){"use strict";var r=n(127),i=n(28),o={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkupByID:r.dangerouslyReplaceNodeWithMarkupByID,unmountIDFromEnvironment:function(e){i.purgeID(e)}};e.exports=o},function(e,t,n){"use strict";var r=n(2),i=!1,o={unmountIDFromEnvironment:null,replaceNodeWithMarkupByID:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){r(!i),o.unmountIDFromEnvironment=e.unmountIDFromEnvironment,o.replaceNodeWithMarkupByID=e.replaceNodeWithMarkupByID,o.processChildrenUpdates=e.processChildrenUpdates,i=!0}}};e.exports=o},function(e,t,n){"use strict";var r=n(4),i=n(64),o=(n(5),{current:i,withContext:function(e,t){var n,i=o.current;o.current=r({},i,e);try{n=t()}finally{o.current=i}return n}});e.exports=o},function(e,t,n){"use strict";function r(e){e&&(null!=e.dangerouslySetInnerHTML&&(m(null==e.children),m("object"==typeof e.dangerouslySetInnerHTML&&"__html"in e.dangerouslySetInnerHTML)),m(null==e.style||"object"==typeof e.style))}function i(e,t,n,r){var i=f.findReactContainerForID(e);if(i){var o=i.nodeType===E?i.ownerDocument:i;y(t,o)}r.getPutListenerQueue().enqueuePutListener(e,t,n)}function o(e){A.call(x,e)||(m(M.test(e)),x[e]=!0)}function a(e){o(e),this._tag=e,this._renderedChildren=null,this._previousStyleCopy=null,this._rootNodeID=null}var u=n(123),s=n(36),l=n(48),c=n(38),h=n(77),f=n(28),d=n(297),p=n(30),g=n(4),v=n(65),m=n(2),w=(n(91),n(21)),b=(n(5),c.deleteListener),y=c.listenTo,T=c.registrationNameModules,S={string:!0,number:!0},_=w({style:null}),E=1,P=null,C={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},M=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,x={},A={}.hasOwnProperty;a.displayName="ReactDOMComponent",a.Mixin={construct:function(e){this._currentElement=e},mountComponent:function(e,t,n){this._rootNodeID=e,r(this._currentElement.props);var i=C[this._tag]?"":"</"+this._tag+">";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t,n)+i},_createOpenTagMarkupAndPutListeners:function(e){var t=this._currentElement.props,n="<"+this._tag;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(T.hasOwnProperty(r))i(this._rootNodeID,r,o,e);else{r===_&&(o&&(o=this._previousStyleCopy=g({},t.style)),o=u.createMarkupForStyles(o));var a=l.createMarkupForProperty(r,o);a&&(n+=" "+a)}}if(e.renderToStaticMarkup)return n+">";var s=l.createMarkupForID(this._rootNodeID);return n+" "+s+">"},_createContentMarkup:function(e,t){var n="";("listing"===this._tag||"pre"===this._tag||"textarea"===this._tag)&&(n="\n");var r=this._currentElement.props,i=r.dangerouslySetInnerHTML;if(null!=i){if(null!=i.__html)return n+i.__html}else{var o=S[typeof r.children]?r.children:null,a=null!=o?null:r.children;if(null!=o)return n+v(o);if(null!=a){var u=this.mountChildren(a,e,t);return n+u.join("")}}return n},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n)},updateComponent:function(e,t,n,i){r(this._currentElement.props),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e,i)},_updateDOMProperties:function(e,t){var n,r,o,a=this._currentElement.props;for(n in e)if(!a.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===_){var u=this._previousStyleCopy;for(r in u)u.hasOwnProperty(r)&&(o=o||{},o[r]="");this._previousStyleCopy=null}else T.hasOwnProperty(n)?b(this._rootNodeID,n):(s.isStandardName[n]||s.isCustomAttribute(n))&&P.deletePropertyByID(this._rootNodeID,n);for(n in a){var l=a[n],c=n===_?this._previousStyleCopy:e[n];if(a.hasOwnProperty(n)&&l!==c)if(n===_)if(l?l=this._previousStyleCopy=g({},l):this._previousStyleCopy=null,c){for(r in c)!c.hasOwnProperty(r)||l&&l.hasOwnProperty(r)||(o=o||{},o[r]="");for(r in l)l.hasOwnProperty(r)&&c[r]!==l[r]&&(o=o||{},o[r]=l[r])}else o=l;else T.hasOwnProperty(n)?i(this._rootNodeID,n,l,t):(s.isStandardName[n]||s.isCustomAttribute(n))&&P.updatePropertyByID(this._rootNodeID,n,l)}o&&P.updateStylesByID(this._rootNodeID,o)},_updateDOMChildren:function(e,t,n){var r=this._currentElement.props,i=S[typeof e.children]?e.children:null,o=S[typeof r.children]?r.children:null,a=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,u=r.dangerouslySetInnerHTML&&r.dangerouslySetInnerHTML.__html,s=null!=i?null:e.children,l=null!=o?null:r.children,c=null!=i||null!=a,h=null!=o||null!=u;null!=s&&null==l?this.updateChildren(null,t,n):c&&!h&&this.updateTextContent(""),null!=o?i!==o&&this.updateTextContent(""+o):null!=u?a!==u&&P.updateInnerHTMLByID(this._rootNodeID,u):null!=l&&this.updateChildren(l,t,n)},unmountComponent:function(){this.unmountChildren(),c.deleteAllListeners(this._rootNodeID),h.unmountIDFromEnvironment(this._rootNodeID),this._rootNodeID=null}},p.measureMethods(a,"ReactDOMComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent"}),g(a.prototype,a.Mixin,d.Mixin),a.injection={injectIDOperations:function(e){a.BackendIDOperations=P=e}},e.exports=a},function(e,t,n){"use strict";function r(e){c[e]=!0}function i(e){delete c[e]}function o(e){return!!c[e]}var a,u=n(6),s=n(41),l=n(2),c={},h={injectEmptyComponent:function(e){a=u.createFactory(e)}},f=function(){};f.prototype.componentDidMount=function(){var e=s.get(this);e&&r(e._rootNodeID)},f.prototype.componentWillUnmount=function(){var e=s.get(this);e&&i(e._rootNodeID)},f.prototype.render=function(){return l(a),a()};var d=u.createElement(f),p={emptyElement:d,injection:h,isNullComponentID:o};e.exports=p},function(e,t){"use strict";var n={currentlyMountingInstance:null,currentlyUnmountingInstance:null};e.exports=n},function(e,t,n){"use strict";var r=n(43),i=r({prop:null,context:null,childContext:null});e.exports=i},function(e,t,n){"use strict";function r(e){e!==o.currentlyMountingInstance&&l.enqueueUpdate(e)}function i(e,t){h(null==a.current);var n=s.get(e);return n?n===o.currentlyUnmountingInstance?null:n:null}var o=n(82),a=n(27),u=n(6),s=n(41),l=n(18),c=n(4),h=n(2),f=(n(5),{enqueueCallback:function(e,t){h("function"==typeof t);var n=i(e);return n&&n!==o.currentlyMountingInstance?(n._pendingCallbacks?n._pendingCallbacks.push(t):n._pendingCallbacks=[t],void r(n)):null},enqueueCallbackInternal:function(e,t){h("function"==typeof t),e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=i(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueSetProps:function(e,t){var n=i(e,"setProps");if(n){h(n._isTopLevel);var o=n._pendingElement||n._currentElement,a=c({},o.props,t);n._pendingElement=u.cloneAndReplaceProps(o,a),r(n)}},enqueueReplaceProps:function(e,t){var n=i(e,"replaceProps");if(n){h(n._isTopLevel);var o=n._pendingElement||n._currentElement;n._pendingElement=u.cloneAndReplaceProps(o,t),r(n)}},enqueueElementInternal:function(e,t){e._pendingElement=t,r(e)}});e.exports=f},function(e,t,n){"use strict";function r(e,t){if(i(null!=t),null==e)return t;var n=Array.isArray(e),r=Array.isArray(t);return n&&r?(e.push.apply(e,t),e):n?(e.push(t),e):r?[e].concat(t):[e,t]}var i=n(2);e.exports=r},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,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=i[e];return r?!!n[r]:!1}function r(e){return n}var i={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 3===t.nodeType?t.parentNode:t}e.exports=n},function(e,t,n){"use strict";function r(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function i(e,t){var n;if((null===e||e===!1)&&(e=a.emptyElement),"object"==typeof e){var i=e;n=t===i.type&&"string"==typeof i.type?u.createInternalComponent(i):r(i.type)?new i.type(i):new c}else"string"==typeof e||"number"==typeof e?n=u.createInstanceForText(e):l(!1);return n.construct(e),n._mountIndex=0,n._mountImage=null,n}var o=n(279),a=n(81),u=n(60),s=n(4),l=n(2),c=(n(5),function(){});s(c.prototype,o.Mixin,{_instantiateReactComponent:i}),e.exports=i},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(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r="function"==typeof a[n]}return!r&&i&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var i,o=n(8);o.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=r},function(e,t,n){"use strict";var r=n(8),i=/^[ \r\n\t\f]/,o=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,a=function(e,t){e.innerHTML=t};if("undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction&&(a=function(e,t){MSApp.execUnsafeLocalFunction(function(){e.innerHTML=t})}),r.canUseDOM){var u=document.createElement("div");u.innerHTML=" ",""===u.innerHTML&&(a=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&o.test(t)){e.innerHTML="\ufeff"+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t})}e.exports=a},function(e,t,n){"use strict";function r(e,t){if(null!=e&&null!=t){var n=typeof e,r=typeof t;if("string"===n||"number"===n)return"string"===r||"number"===r;if("object"===r&&e.type===t.type&&e.key===t.key){var i=e._owner===t._owner;return i}}return!1}n(5);e.exports=r},function(e,t){function n(){l=!1,a.length?s=a.concat(s):c=-1,s.length&&r()}function r(){if(!l){var e=setTimeout(n);l=!0;for(var t=s.length;t;){for(a=s,s=[];++c<t;)a[c].run();c=-1,t=s.length}a=null,l=!1,clearTimeout(e)}}function i(e,t){this.fun=e,this.array=t}function o(){}var a,u=e.exports={},s=[],l=!1,c=-1;u.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];s.push(new i(e,t)),1!==s.length||l||setTimeout(r,0)},i.prototype.run=function(){this.fun.apply(null,this.array)},u.title="browser",u.browser=!0,u.env={},u.argv=[],u.version="",u.versions={},u.on=o,u.addListener=o,u.once=o,u.off=o,u.removeListener=o,u.removeAllListeners=o,u.emit=o,u.binding=function(e){throw new Error("process.binding is not supported")},u.cwd=function(){return"/"},u.chdir=function(e){throw new Error("process.chdir is not supported")},u.umask=function(){return 0}},function(e,t,n){var r=n(1);e.exports=function(e){return function(t,n,i){var o,a=r.toObject(t),u=r.toLength(a.length),s=r.toIndex(i,u);if(e&&n!=n){for(;u>s;)if(o=a[s++],o!=o)return!0}else for(;u>s;s++)if((e||s in a)&&a[s]===n)return e||s;return!e&&-1}}},function(e,t,n){"use strict";function r(e,t){if(!d(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!h(e,v)){if(!g(e))return"F";if(!t)return"E";p(e,v,++S)}return"O"+e[v]}function i(e,t){var n,i=r(t);if("F"!==i)return e[m][i];for(n=e[b];n;n=n.n)if(n.k==t)return n}var o=n(1),a=n(29),u=n(20).safe,s=n(11),l=n(44),c=n(22).step,h=o.has,f=o.set,d=o.isObject,p=o.hide,g=Object.isExtensible||d,v=u("id"),m=u("O1"),w=u("last"),b=u("first"),y=u("iter"),T=o.DESC?u("size"):"size",S=0;e.exports={getConstructor:function(e,t,r,u){var c=e(function(e,n){s.inst(e,c,t),f(e,m,o.create(null)),f(e,T,0),f(e,w,void 0),f(e,b,void 0),void 0!=n&&l(n,r,e[u],e)});return n(56)(c.prototype,{clear:function(){for(var e=this,t=e[m],n=e[b];n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete t[n.i];e[b]=e[w]=void 0,e[T]=0},"delete":function(e){var t=this,n=i(t,e);if(n){var r=n.n,o=n.p;delete t[m][n.i],n.r=!0,o&&(o.n=r),r&&(r.p=o),t[b]==n&&(t[b]=r),t[w]==n&&(t[w]=o),t[T]--}return!!n},forEach:function(e){for(var t,n=a(e,arguments[1],3);t=t?t.n:this[b];)for(n(t.v,t.k,this);t&&t.r;)t=t.p},has:function(e){return!!i(this,e)}}),o.DESC&&o.setDesc(c.prototype,"size",{get:function(){return s.def(this[T])}}),c},def:function(e,t,n){var o,a,u=i(e,t);return u?u.v=n:(e[w]=u={i:a=r(t,!0),k:t,v:n,p:o=e[w],n:void 0,r:!1},e[b]||(e[b]=u),o&&(o.n=u),e[T]++,"F"!==a&&(e[m][a]=u)),e},getEntry:i,setIter:function(e,t,r){n(66)(e,t,function(e,t){f(this,y,{o:e,k:t})},function(){for(var e=this[y],t=e.k,n=e.l;n&&n.r;)n=n.p;return e.o&&(e.l=n=n?n.n:e.o[b])?"keys"==t?c(0,n.k):"values"==t?c(0,n.v):c(0,[n.k,n.v]):(e.o=void 0,c(1))},r?"entries":"values",!r,!0)}}},function(e,t,n){var r=n(3),i=n(44);e.exports=function(e){r(r.P,e,{toJSON:function(){var e=[];return i(this,!1,e.push,e),e}})}},function(e,t,n){"use strict";function r(e,t){return w(e.array,function(e){return e[0]===t})}function i(e){return e[v]||h(e,v,{array:[],get:function(e){var t=r(this,e);return t?t[1]:void 0},has:function(e){return!!r(this,e)},set:function(e,t){var n=r(this,e);n?n[1]=t:this.array.push([e,t])},"delete":function(e){var t=b(this.array,function(t){return t[0]===e});return~t&&this.array.splice(t,1),!!~t}})[v]}var o=n(1),a=n(20).safe,u=n(11),s=n(44),l=o.has,c=o.isObject,h=o.hide,f=Object.isExtensible||c,d=0,p=a("id"),g=a("weak"),v=a("leak"),m=n(53),w=m(5),b=m(6);e.exports={getConstructor:function(e,t,r,a){var h=e(function(e,n){o.set(u.inst(e,h,t),p,d++),void 0!=n&&s(n,r,e[a],e)});return n(56)(h.prototype,{"delete":function(e){return c(e)?f(e)?l(e,g)&&l(e[g],this[p])&&delete e[g][this[p]]:i(this)["delete"](e):!1},has:function(e){return c(e)?f(e)?l(e,g)&&l(e[g],this[p]):i(this).has(e):!1}}),h},def:function(e,t,n){return f(u.obj(t))?(l(t,g)||h(t,g,{}),t[g][e[p]]=n):i(e).set(t,n),e},leakStore:i,WEAK:g,ID:p}},function(e,t,n){var r=n(1),i=r.g.document,o=r.isObject,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(1);e.exports=function(e){var t=r.getKeys(e),n=r.getDesc,i=r.getSymbols;return i&&r.each.call(i(e),function(r){n(e,r).enumerable&&t.push(r)}),t}},function(e,t,n){function r(e){try{return a(e)}catch(t){return u.slice()}}var i=n(1),o={}.toString,a=i.getNames,u="object"==typeof window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.get=function(e){return u&&"[object Window]"==o.call(e)?r(e):a(i.toObject(e))}},function(e,t,n){function r(e){var t=e["return"];void 0!==t&&o(t.call(e))}function i(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(a){throw r(e),a}}var o=n(11).obj;i.close=r,e.exports=i},function(e,t,n){var r=n(1),i=n(11).obj;e.exports=function(e){i(e);var t=r.getNames(e),n=r.getSymbols;return n?t.concat(n(e)):t}},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),i=n(106);e.exports=function(e,t,n,o){var a=String(r.assertDefined(e));if(void 0===t)return a;var u=r.toInteger(t),s=u-a.length;if(0>s||s===1/0)throw new RangeError("Cannot satisfy string length "+t+" for string: "+a);var l=void 0===n?" ":String(n),c=i.call(l,Math.ceil(s/l.length));return c.length>s&&(c=o?c.slice(c.length-s):c.slice(0,s)),o?c.concat(a):a.concat(c)}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e){var t=String(r.assertDefined(this)),n="",i=r.toInteger(e);if(0>i||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){"use strict";function r(){var e=+this;if(s.has(T,e)){var t=T[e];delete T[e],t()}}function i(e){r.call(e.data)}var o,a,u,s=n(1),l=n(29),c=n(14),h=n(55),f=n(99),d=s.g,p=s.isFunction,g=s.html,v=d.process,m=d.setImmediate,w=d.clearImmediate,b=d.MessageChannel,y=0,T={},S="onreadystatechange";p(m)&&p(w)||(m=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return T[++y]=function(){h(p(e)?e:Function(e),t)},o(y),y},w=function(e){delete T[e]},"process"==c(v)?o=function(e){v.nextTick(l(r,e,1))}:d.addEventListener&&p(d.postMessage)&&!d.importScripts?(o=function(e){d.postMessage(e,"*")},d.addEventListener("message",i,!1)):p(b)?(a=new b,u=a.port2,a.port1.onmessage=i,o=l(u.postMessage,u,1)):o=S in f("script")?function(e){g.appendChild(f("script"))[S]=function(){g.removeChild(this),r.call(e)}}:function(e){setTimeout(l(r,e,1),0)}),e.exports={set:m,clear:w}},function(e,t,n){var r=n(1),i=n(33),o=n(20).safe("iter"),a=n(22),u=a.step,s=a.Iterators;n(66)(Array,"Array",function(e,t){r.set(this,o,{o:r.toObject(e),i:0,k:t})},function(){var e=this[o],t=e.o,n=e.k,r=e.i++;return!t||r>=t.length?(e.o=void 0,u(1)):"keys"==n?u(0,r):"values"==n?u(0,t[r]):u(0,[r,t[r]])},"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(43),o=r(i);t["default"]=o["default"]({IMAGE_DATA:null,PIECE_TYPE:null,CHOSEN_SCALE:null,TOGGLE_ABOUT:null,TOGGLE_AVAILABILITY:null}),e.exports=t["default"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(251);t["default"]=new r.Dispatcher,e.exports=t["default"]},function(e,t,n){e.exports={compare:n(228),method:{EuclideanDistance:n(114),CIE76Difference:n(113)}}},function(e,t){function n(){}e.exports=function(){return n}(),n.prototype.compare=function(e,t){throw new Error("Compare method unimplemented!")}},function(e,t,n){function r(){}e.exports=function(){return r}(),n(32).inherits(r,n(112)),r.prototype.compare=function(e,t){function n(e,t){return Math.pow(e-t,2)}if(e.equals(t))return 0;var r=e.toLab(),i=t.toLab(),o=0;return o+=n(r.lightness(),i.lightness()),o+=n(r.a(),i.a()),o+=n(r.b(),i.b()),Math.max(Math.min(Math.sqrt(o),100),0)}},function(e,t,n){function r(){}e.exports=function(){return r}(),n(32).inherits(r,n(112)),r.prototype.compare=function(e,t){function n(e,t){return Math.pow(e-t,2)}if(e.equals(t))return 0;var r=0;r+=n(e.red(),t.red()),r+=n(e.green(),t.green()),r+=n(e.blue(),t.blue());var i=19.5075;return Math.sqrt(r/i)}},function(module,exports,__webpack_require__){function HexRgb(e){if(void 0===e)return HexRgb.super_.apply(this,i);var t="([a-f0-9]{1,2})",n=new RegExp("^#?"+t+t+t+"$","i"),r=e.match(n);if(null===r)throw new Error('Value "'+e+'" is unknown hex color');var i=[this._parseIntFromHex(r[1]),this._parseIntFromHex(r[2]),this._parseIntFromHex(r[3])];HexRgb.super_.apply(this,i)}module.exports=function(){return HexRgb}();var _r=__webpack_require__(47);eval("var Rgb = _r"),__webpack_require__(32).inherits(HexRgb,__webpack_require__(47)),HexRgb.prototype._parseIntFromHex=function(e){return 1==e.length&&(e+=e),parseInt(e,16)},HexRgb.prototype.toString=function(){return"#"+this._formatIntAsHex(this.red())+this._formatIntAsHex(this.green())+this._formatIntAsHex(this.blue())},HexRgb.prototype._formatIntAsHex=function(e){return e=Math.round(e),strValue=""+e,1==strValue.length&&(strValue+=strValue),(16>e?"0":"")+e.toString(16)},HexRgb.prototype.toRgb=function(){return new Rgb(this._red.get(),this._green.get(),this._blue.get())}},function(module,exports,__webpack_require__){function Hsl(e,t,n){this._name="hsl",this._components=["hue","saturation","lightness"],this._hue=new Component("hue",0,360),this._hue.set(e),this._saturation=new Component("saturation",0,1),this._saturation.set(t),this._lightness=new Component("lightness",0,1),this._lightness.set(n)}module.exports=function(){return Hsl}();var _r=__webpack_require__(35);eval("var Component = _r");var _r=__webpack_require__(47);eval("var Rgb       = _r"),__webpack_require__(32).inherits(Hsl,__webpack_require__(46)),Hsl.prototype.hue=function(e){return this._component("hue",arguments)},Hsl.prototype.saturation=function(e){return this._component("saturation",arguments)},Hsl.prototype.lightness=function(e){return this._component("lightness",arguments)},Hsl.prototype.toXyz=function(){return this.toRgb().toXyz()},Hsl.prototype.toRgb=function(){var e=this._lightness.get(),t=this._saturation.get();if(0==t){var n=0;return n=0>e?0:e>=1?255:65536*e>>8,new Rgb(n,n,n)}var r=this._hue.get()/this._hue._to,i=.5>e?e*(t+1):e+t-e*t,o=2*e-i;return new Rgb(this._calcHue(o,i,r+1/3),this._calcHue(o,i,r),this._calcHue(o,i,r-1/3))},Hsl.prototype._calcHue=function(e,t,n){return 0>n?++n:n>1&&--n,result=e,1>6*n?result=e+(t-e)*n*6:1>2*n?result=t:2>3*n&&(result=e+(t-e)*(2/3-n)*6),255.99999999999997*result>>0}},function(module,exports,__webpack_require__){function Lab(e,t,n){this._name="lab",this._components=["lightness","a","b"],this._lightness=new Component("lightness",0,100),this._lightness.set(e),this._a=new Component("a",-87,100),this._a.set(t),this._b=new Component("b",-108,100),this._b.set(n)}module.exports=function(){return Lab}();var _r=__webpack_require__(35);eval("var Component = _r"),__webpack_require__(32).inherits(Lab,__webpack_require__(46)),Lab.prototype.lightness=function(e){return this._component("lightness",arguments)},Lab.prototype.a=function(e){return this._component("a",arguments)},Lab.prototype.b=function(e){return this._component("b",arguments)}},function(module,exports,__webpack_require__){function Xyz(e,t,n){this._name="xyz",this._components=["x","y","z"],this._x=new Component("x",0,95.05),this._x.set(e),this._y=new Component("y",0,100),this._y.set(t),this._z=new Component("z",0,108.9),this._z.set(n)}module.exports=function(){return Xyz}();var _r=__webpack_require__(35);eval("var Component = _r");var _r=__webpack_require__(47);eval("var Rgb       = _r");var _r=__webpack_require__(117);eval("var Lab       = _r"),__webpack_require__(32).inherits(Xyz,__webpack_require__(46)),Xyz.prototype.x=function(e){return this._component("x",arguments)},Xyz.prototype.y=function(e){return this._component("y",arguments)},Xyz.prototype.z=function(e){return this._component("z",arguments)},Xyz.prototype.toXyz=function(){return new Xyz(this._x.get(),this._y.get(),this._z.get())},Xyz.prototype.toLab=function(){var e=this._preparePreLabValue(this._x.get()/95.047),t=this._preparePreLabValue(this._y.get()/100),n=this._preparePreLabValue(this._z.get()/108.883);return new Lab(this._finalizeLabValue(116*t-16),this._finalizeLabValue(500*(e-t)),this._finalizeLabValue(200*(t-n)))},Xyz.prototype._preparePreLabValue=function(e){return e>.008856?Math.pow(e,1/3):7.787*e+16/116},Xyz.prototype._finalizeLabValue=function(e){return Math.round(1e4*e)/1e4},Xyz.prototype.toRgb=function(){var e=this._x.get()/100,t=this._y.get()/100,n=this._z.get()/100,r=3.2406*e+-1.5372*t+n*-.4986,i=e*-.9689+1.8758*t+.0415*n,o=.0557*e+t*-.204+1.057*n;return new Rgb(this._finalizeRgbValue(r),this._finalizeRgbValue(i),this._finalizeRgbValue(o))},Xyz.prototype._finalizeRgbValue=function(e){return e=e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,Math.round(255*e)}},function(e,t,n){!function(e,t){e(function(){"use strict";function e(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e){for(var t in e)a.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function r(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}var i={};i.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)|^.*Android.*Nexus(?:(?!Mobile).)*$",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD",LenovoTablet:"Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",
  YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.*\\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",Hudl:"Hudl HT7S3",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",Tizen:"Tizen",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:"Firefox/[VER]",Fennec:"Fennec/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},i.detectMobileBrowsers={fullPattern:/(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/i,shortPattern:/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,tabletPattern:/android|ipad|playbook|silk/i};var o,a=Object.prototype.hasOwnProperty;return i.FALLBACK_PHONE="UnknownPhone",i.FALLBACK_TABLET="UnknownTablet",i.FALLBACK_MOBILE="UnknownMobile",o="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,r,u,s,l,c=i.mobileDetectRules;for(e in c.props)if(a.call(c.props,e)){for(t=c.props[e],o(t)||(t=[t]),s=t.length,u=0;s>u;++u)r=t[u],l=r.indexOf("[VER]"),l>=0&&(r=r.substring(0,l)+"([\\w._\\+]+)"+r.substring(l+5)),t[u]=new RegExp(r,"i");c.props[e]=t}n(c.oss),n(c.phones),n(c.tablets),n(c.uas),n(c.utils),c.oss0={WindowsPhoneOS:c.oss.WindowsPhoneOS,WindowsMobileOS:c.oss.WindowsMobileOS}}(),i.findMatch=function(e,t){for(var n in e)if(a.call(e,n)&&e[n].test(t))return n;return null},i.getVersionStr=function(e,t){var n,r,o,u,s=i.mobileDetectRules.props;if(a.call(s,e))for(n=s[e],o=n.length,r=0;o>r;++r)if(u=n[r].exec(t),null!==u)return u[1];return null},i.getVersion=function(e,t){var n=i.getVersionStr(e,t);return n?i.prepareVersionNo(n):NaN},i.prepareVersionNo=function(e){var t;return t=e.split(/[a-z._ \/\-]/i),1===t.length&&(e=t[0]),t.length>1&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},i.isMobileFallback=function(e){return i.detectMobileBrowsers.fullPattern.test(e)||i.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},i.isTabletFallback=function(e){return i.detectMobileBrowsers.tabletPattern.test(e)},i.prepareDetectionCache=function(e,n,o){if(e.mobile===t){var a,u,s;return(u=i.findMatch(i.mobileDetectRules.tablets,n))?(e.mobile=e.tablet=u,void(e.phone=null)):(a=i.findMatch(i.mobileDetectRules.phones,n))?(e.mobile=e.phone=a,void(e.tablet=null)):void(i.isMobileFallback(n)?(s=r.isPhoneSized(o),s===t?(e.mobile=i.FALLBACK_MOBILE,e.tablet=e.phone=null):s?(e.mobile=e.phone=i.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=i.FALLBACK_TABLET,e.phone=null)):i.isTabletFallback(n)?(e.mobile=e.tablet=i.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null)}},i.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&e.version("iPad")>=4.3||e.os("iOS")&&e.version("iPhone")>=3.1||e.os("iOS")&&e.version("iPod")>=3.1||e.version("Android")>2.1&&e.is("Webkit")||e.version("Windows Phone OS")>=7||e.is("BlackBerry")&&e.version("BlackBerry")>=6||e.match("Playbook.*Tablet")||e.version("webOS")>=1.4&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&e.version("Firefox")>=12||e.is("Chrome")&&e.is("AndroidOS")&&e.version("Android")>=4||e.is("Skyfire")&&e.version("Skyfire")>=4.1&&e.is("AndroidOS")&&e.version("Android")>=2.3||e.is("Opera")&&e.version("Opera Mobi")>11&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&e.version("Bada")>=2||(e.is("UC Browser")||e.is("Dolfin"))&&e.version("Android")>=2.3||e.match("Kindle Fire")||e.is("Kindle")&&e.version("Kindle")>=3||e.is("AndroidOS")&&e.is("NookTablet")||e.version("Chrome")>=11&&!t||e.version("Safari")>=5&&!t||e.version("Firefox")>=4&&!t||e.version("MSIE")>=7&&!t||e.version("Opera")>=10&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&e.version("BlackBerry")>=5&&e.version("BlackBerry")<6||e.version("Opera Mini")>=5&&e.version("Opera Mini")<=6.5&&(e.version("Android")>=2.3||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||e.version("Opera Mobi")>=11&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile")<=5.2,"C")},i.detectOS=function(e){return i.findMatch(i.mobileDetectRules.oss0,e)||i.findMatch(i.mobileDetectRules.oss,e)},i.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},r.prototype={constructor:r,mobile:function(){return i.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return i.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return i.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===t&&(this._cache.userAgent=i.findMatch(i.mobileDetectRules.uas,this.ua)),this._cache.userAgent},os:function(){return this._cache.os===t&&(this._cache.os=i.detectOS(this.ua)),this._cache.os},version:function(e){return i.getVersion(e,this.ua)},versionStr:function(e){return i.getVersionStr(e,this.ua)},is:function(t){return e(t,this.userAgent())||e(t,this.os())||e(t,this.phone())||e(t,this.tablet())||e(t,i.findMatch(i.mobileDetectRules.utils,this.ua))},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return r.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===t&&(this._cache.grade=i.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?r.isPhoneSized=function(e){return 0>e?t:i.getDeviceSmallerSide()<=e}:r.isPhoneSized=function(){},r._impl=i,r})}(function(t){return"undefined"!=typeof e&&e.exports?function(t){e.exports=t()}:n(357)}())},function(e,t,n){function r(e,t){t.selected?(e.setAttribute("tabindex",0),e.setAttribute("selected","selected"),t.focus&&e.focus()):(e.removeAttribute("tabindex"),e.removeAttribute("selected"))}var i=n(7);e.exports=i.createClass({displayName:"Tab",getDefaultProps:function(){return{focus:!1,selected:!1,id:null,panelId:null}},componentDidMount:function(){r(this.getDOMNode(),this.props)},componentDidUpdate:function(){r(this.getDOMNode(),this.props)},render:function(){return i.DOM.li({role:"tab",id:this.props.id,"aria-selected":this.props.selected?"true":"false","aria-expanded":this.props.selected?"true":"false","aria-controls":this.props.panelId},this.props.children)}})},function(e,t,n){var r=n(7);e.exports=r.createClass({displayName:"TabList",render:function(){return r.DOM.ul({role:"tablist"},this.props.children)}})},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0},i=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){i.forEach(function(t){r[n(t,e)]=r[e]})});var o={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!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}},a={isUnitlessNumber:r,shorthandPropertyExpansions:o};e.exports=a},function(e,t,n){"use strict";var r=n(122),i=n(8),o=(n(322),n(327)),a=n(334),u=n(338),s=(n(5),u(function(e){return a(e)})),l="cssFloat";i.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(l="styleFloat");var c={createMarkupForStyles:function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!=r&&(t+=s(n)+":",t+=o(n,r)+";")}return t||null},setValueForStyles:function(e,t){var n=e.style;for(var i in t)if(t.hasOwnProperty(i)){var a=o(i,t[i]);if("float"===i&&(i=l),a)n[i]=a;else{var u=r.shorthandPropertyExpansions[i];if(u)for(var s in u)n[s]="";else n[i]=""}}}};e.exports=c},function(e,t,n){"use strict";function r(){if(u)for(var e in s){var t=s[e],n=u.indexOf(e);if(a(n>-1),!l.plugins[n]){a(t.extractEvents),l.plugins[n]=t;var r=t.eventTypes;for(var o in r)a(i(r[o],t,o))}}}function i(e,t,n){a(!l.eventNameDispatchConfigs.hasOwnProperty(n)),l.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var i in r)if(r.hasOwnProperty(i)){var u=r[i];o(u,t,n)}return!0}return e.registrationName?(o(e.registrationName,t,n),!0):!1}function o(e,t,n){a(!l.registrationNameModules[e]),l.registrationNameModules[e]=t,l.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var a=n(2),u=null,s={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){a(!u),u=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];s.hasOwnProperty(n)&&s[n]===i||(a(!s[n]),s[n]=i,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var r=l.registrationNameModules[t.phasedRegistrationNames[n]];if(r)return r}return null},_resetEventPlugins:function(){u=null;for(var e in s)s.hasOwnProperty(e)&&delete s[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 i in r)r.hasOwnProperty(i)&&delete r[i]}};e.exports=l},function(e,t,n){"use strict";function r(e,t){this.forEachFunction=e,this.forEachContext=t}function i(e,t,n,r){var i=e;i.forEachFunction.call(i.forEachContext,t,r)}function o(e,t,n){if(null==e)return e;var o=r.getPooled(t,n);d(e,i,o),r.release(o)}function a(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function u(e,t,n,r){var i=e,o=i.mapResult,a=!o.hasOwnProperty(n);if(a){var u=i.mapFunction.call(i.mapContext,t,r);o[n]=u}}function s(e,t,n){if(null==e)return e;var r={},i=a.getPooled(r,t,n);return d(e,u,i),a.release(i),f.create(r)}function l(e,t,n,r){return null}function c(e,t){return d(e,l,null)}var h=n(25),f=n(39),d=n(149),p=(n(5),h.twoArgumentPooler),g=h.threeArgumentPooler;h.addPoolingTo(r,p),h.addPoolingTo(a,g);var v={forEach:o,map:s,count:c};e.exports=v},function(e,t,n){"use strict";function r(e,t){this.props=e,this.context=t}var i=n(84),o=n(2);n(5);r.prototype.setState=function(e,t){o("object"==typeof e||"function"==typeof e||null==e),i.enqueueSetState(this,e),t&&i.enqueueCallback(this,t)},r.prototype.forceUpdate=function(e){i.enqueueForceUpdate(this),e&&i.enqueueCallback(this,e)};e.exports=r},function(e,t,n){"use strict";var r=n(123),i=n(266),o=n(48),a=n(28),u=n(30),s=n(2),l=n(92),c={dangerouslySetInnerHTML:"`dangerouslySetInnerHTML` must be set using `updateInnerHTMLByID()`.",style:"`style` must be set using `updateStylesByID()`."},h={updatePropertyByID:function(e,t,n){var r=a.getNode(e);s(!c.hasOwnProperty(t)),null!=n?o.setValueForProperty(r,t,n):o.deleteValueForProperty(r,t)},deletePropertyByID:function(e,t,n){var r=a.getNode(e);s(!c.hasOwnProperty(t)),o.deleteValueForProperty(r,t,n)},updateStylesByID:function(e,t){var n=a.getNode(e);r.setValueForStyles(n,t)},updateInnerHTMLByID:function(e,t){var n=a.getNode(e);l(n,t)},updateTextContentByID:function(e,t){var n=a.getNode(e);i.updateTextContent(n,t)},dangerouslyReplaceNodeWithMarkupByID:function(e,t){var n=a.getNode(e);i.dangerouslyReplaceNodeWithMarkup(n,t)},dangerouslyProcessChildrenUpdates:function(e,t){for(var n=0;n<e.length;n++)e[n].parentNode=a.getNode(e[n].parentID);i.processUpdates(e,t)}};u.measureMethods(h,"ReactDOMIDOperations",{updatePropertyByID:"updatePropertyByID",deletePropertyByID:"deletePropertyByID",updateStylesByID:"updateStylesByID",updateInnerHTMLByID:"updateInnerHTMLByID",updateTextContentByID:"updateTextContentByID",dangerouslyReplaceNodeWithMarkupByID:"dangerouslyReplaceNodeWithMarkupByID",dangerouslyProcessChildrenUpdates:"dangerouslyProcessChildrenUpdates"}),e.exports=h},function(e,t,n){"use strict";var r=n(48),i=n(77),o=n(80),a=n(4),u=n(65),s=function(e){};a(s.prototype,{construct:function(e){this._currentElement=e,this._stringText=""+e,this._rootNodeID=null,this._mountIndex=0},mountComponent:function(e,t,n){this._rootNodeID=e;var i=u(this._stringText);return t.renderToStaticMarkup?i:"<span "+r.createMarkupForID(e)+">"+i+"</span>"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;n!==this._stringText&&(this._stringText=n,o.BackendIDOperations.updateTextContentByID(this._rootNodeID,n))}},unmountComponent:function(){i.unmountIDFromEnvironment(this._rootNodeID)}}),e.exports=s},function(e,t,n){"use strict";function r(e){return o(document.documentElement,e)}var i=n(288),o=n(138),a=n(140),u=n(141),s={hasSelectionCapabilities:function(e){return e&&("INPUT"===e.nodeName&&"text"===e.type||"TEXTAREA"===e.nodeName||"true"===e.contentEditable)},getSelectionInformation:function(){var e=u();return{focusedElem:e,selectionRange:s.hasSelectionCapabilities(e)?s.getSelection(e):null}},restoreSelection:function(e){var t=u(),n=e.focusedElem,i=e.selectionRange;t!==n&&r(n)&&(s.hasSelectionCapabilities(n)&&s.setSelection(n,i),a(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&"INPUT"===e.nodeName){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=i.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if("undefined"==typeof r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&"INPUT"===e.nodeName){var o=e.createTextRange();o.collapse(!0),o.moveStart("character",n),o.moveEnd("character",r-n),o.select()}else i.setOffsets(e,t)}};e.exports=s},function(e,t,n){"use strict";var r=n(320),i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return e.replace(">"," "+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";var r=n(43),i=r({INSERT_MARKUP:null,MOVE_EXISTING:null,REMOVE_NODE:null,TEXT_CONTENT:null});e.exports=i},function(e,t,n){"use strict";function r(e){function t(t,n,r,i,o){if(i=i||T,null==n[r]){var a=b[o];return t?new Error("Required "+a+" `"+r+"` was not specified in "+("`"+i+"`.")):null}return e(n,r,i,o)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,i){var o=t[n],a=g(o);if(a!==e){var u=b[i],s=v(o);return new Error("Invalid "+u+" `"+n+"` of type `"+s+"` "+("supplied to `"+r+"`, expected `"+e+"`."))}return null}return r(t)}function o(){return r(y.thatReturns(null))}function a(e){function t(t,n,r,i){var o=t[n];if(!Array.isArray(o)){var a=b[i],u=g(o);return new Error("Invalid "+a+" `"+n+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var s=0;s<o.length;s++){var l=e(o,s,r,i);if(l instanceof Error)return l}return null}return r(t)}function u(){function e(e,t,n,r){if(!m.isValidElement(e[t])){var i=b[r];return new Error("Invalid "+i+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactElement."))}return null}return r(e)}function s(e){function t(t,n,r,i){if(!(t[n]instanceof e)){var o=b[i],a=e.name||T;return new Error("Invalid "+o+" `"+n+"` supplied to "+("`"+r+"`, expected instance of `"+a+"`."))}return null}return r(t)}function l(e){function t(t,n,r,i){for(var o=t[n],a=0;a<e.length;a++)if(o===e[a])return null;var u=b[i],s=JSON.stringify(e);return new Error("Invalid "+u+" `"+n+"` of value `"+o+"` "+("supplied to `"+r+"`, expected one of "+s+"."))}return r(t)}function c(e){function t(t,n,r,i){var o=t[n],a=g(o);if("object"!==a){var u=b[i];return new Error("Invalid "+u+" `"+n+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an object."))}for(var s in o)if(o.hasOwnProperty(s)){var l=e(o,s,r,i);if(l instanceof Error)return l}return null}return r(t)}function h(e){function t(t,n,r,i){for(var o=0;o<e.length;o++){var a=e[o];if(null==a(t,n,r,i))return null}var u=b[i];return new Error("Invalid "+u+" `"+n+"` supplied to "+("`"+r+"`."))}return r(t)}function f(){function e(e,t,n,r){if(!p(e[t])){var i=b[r];return new Error("Invalid "+i+" `"+t+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return r(e)}function d(e){function t(t,n,r,i){var o=t[n],a=g(o);if("object"!==a){var u=b[i];return new Error("Invalid "+u+" `"+n+"` of type `"+a+"` "+("supplied to `"+r+"`, expected `object`."))}for(var s in e){var l=e[s];if(l){var c=l(o,s,r,i);if(c)return c}}return null}return r(t)}function p(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(p);if(null===e||m.isValidElement(e))return!0;e=w.extractIfFragment(e);for(var t in e)if(!p(e[t]))return!1;return!0;default:return!1}}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function v(e){var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}var m=n(6),w=n(39),b=n(61),y=n(19),T="<<anonymous>>",S=u(),_=f(),E={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),any:o(),arrayOf:a,element:S,instanceOf:s,node:_,objectOf:c,oneOf:l,oneOfType:h,shape:d};e.exports=E},function(e,t,n){"use strict";function r(){this.listenersToPut=[]}var i=n(25),o=n(38),a=n(4);a(r.prototype,{enqueuePutListener:function(e,t,n){this.listenersToPut.push({rootNodeID:e,propKey:t,propValue:n})},putListeners:function(){for(var e=0;e<this.listenersToPut.length;e++){var t=this.listenersToPut[e];o.putListener(t.rootNodeID,t.propKey,t.propValue)}},reset:function(){this.listenersToPut.length=0},destructor:function(){this.reset()}}),i.addPoolingTo(r),e.exports=r},function(e,t){"use strict";var n={injectCreateReactRootIndex:function(e){r.createReactRootIndex=e}},r={createReactRootIndex:null,injection:n};e.exports=r},function(e,t,n){"use strict";var r=n(37),i=n(305),o=n(4),a=n(137),u=n(19),s=r.createClass({displayName:"ReactTransitionGroup",propTypes:{component:r.PropTypes.any,childFactory:r.PropTypes.func},getDefaultProps:function(){return{component:"span",childFactory:u.thatReturnsArgument}},getInitialState:function(){return{children:i.getChildMapping(this.props.children)}},componentWillMount:function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},componentDidMount:function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t)},componentWillReceiveProps:function(e){var t=i.getChildMapping(e.children),n=this.state.children;this.setState({children:i.mergeChildMappings(n,t)});var r;for(r in t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(r in n){var a=t&&t.hasOwnProperty(r);!n[r]||a||this.currentlyTransitioningKeys[r]||this.keysToLeave.push(r)}},componentDidUpdate:function(){var e=this.keysToEnter;this.keysToEnter=[],e.forEach(this.performEnter);var t=this.keysToLeave;this.keysToLeave=[],t.forEach(this.performLeave)},performAppear:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillAppear?t.componentWillAppear(this._handleDoneAppearing.bind(this,e)):this._handleDoneAppearing(e)},_handleDoneAppearing:function(e){var t=this.refs[e];t.componentDidAppear&&t.componentDidAppear(),delete this.currentlyTransitioningKeys[e];var n=i.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||this.performLeave(e)},performEnter:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillEnter?t.componentWillEnter(this._handleDoneEntering.bind(this,e)):this._handleDoneEntering(e)},_handleDoneEntering:function(e){
  var t=this.refs[e];t.componentDidEnter&&t.componentDidEnter(),delete this.currentlyTransitioningKeys[e];var n=i.getChildMapping(this.props.children);n&&n.hasOwnProperty(e)||this.performLeave(e)},performLeave:function(e){this.currentlyTransitioningKeys[e]=!0;var t=this.refs[e];t.componentWillLeave?t.componentWillLeave(this._handleDoneLeaving.bind(this,e)):this._handleDoneLeaving(e)},_handleDoneLeaving:function(e){var t=this.refs[e];t.componentDidLeave&&t.componentDidLeave(),delete this.currentlyTransitioningKeys[e];var n=i.getChildMapping(this.props.children);if(n&&n.hasOwnProperty(e))this.performEnter(e);else{var r=o({},this.state.children);delete r[e],this.setState({children:r})}},render:function(){var e=[];for(var t in this.state.children){var n=this.state.children[t];n&&e.push(a(this.props.childFactory(n),{ref:t,key:t}))}return r.createElement(this.props.component,this.props,e)}});e.exports=s},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,n){"use strict";function r(e,t){var n=o.mergeProps(t,e.props);return!n.hasOwnProperty(u)&&e.props.hasOwnProperty(u)&&(n.children=e.props.children),i.createElement(e.type,n)}var i=n(6),o=n(299),a=n(21),u=(n(5),a({children:null}));e.exports=r},function(e,t,n){function r(e,t){return e&&t?e===t?!0:i(e)?!1:i(t)?r(e,t.parentNode):e.contains?e.contains(t):e.compareDocumentPosition?!!(16&e.compareDocumentPosition(t)):!1:!1}var i=n(335);e.exports=r},function(e,t,n){"use strict";function r(e){return null==e?null:u(e)?e:i.has(e)?o.getNodeFromInstance(e):(a(null==e.render||"function"!=typeof e.render),void a(!1))}var i=(n(27),n(41)),o=n(28),a=n(2),u=n(145);n(5);e.exports=r},function(e,t){"use strict";function n(e){try{e.focus()}catch(t){}}e.exports=n},function(e,t){function n(){try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=n},function(e,t){"use strict";function n(e){var t=e&&(r&&e[r]||e[i]);return"function"==typeof t?t:void 0}var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=n},function(e,t,n){function r(e){return o(!!a),f.hasOwnProperty(e)||(e="*"),u.hasOwnProperty(e)||("*"===e?a.innerHTML="<link />":a.innerHTML="<"+e+"></"+e+">",u[e]=!a.firstChild),u[e]?f[e]:null}var i=n(8),o=n(2),a=i.canUseDOM?document.createElement("div"):null,u={circle:!0,clipPath:!0,defs:!0,ellipse:!0,g:!0,line:!0,linearGradient:!0,path:!0,polygon:!0,polyline:!0,radialGradient:!0,rect:!0,stop:!0,text:!0},s=[1,'<select multiple="true">',"</select>"],l=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],h=[1,"<svg>","</svg>"],f={"*":[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:s,option:s,caption:l,colgroup:l,tbody:l,tfoot:l,thead:l,td:c,th:c,circle:h,clipPath:h,defs:h,ellipse:h,g:h,line:h,linearGradient:h,path:h,polygon:h,polyline:h,radialGradient:h,rect:h,stop:h,text:h};e.exports=r},function(e,t,n){"use strict";function r(){return!o&&i.canUseDOM&&(o="textContent"in document.documentElement?"textContent":"innerText"),o}var i=n(8),o=null;e.exports=r},function(e,t){function n(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t){"use strict";function n(e){return e&&("INPUT"===e.nodeName&&r[e.type]||"TEXTAREA"===e.nodeName)}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";function r(e){return o(i.isValidElement(e)),e}var i=n(6),o=n(2);e.exports=r},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n;for(n in e)if(e.hasOwnProperty(n)&&(!t.hasOwnProperty(n)||e[n]!==t[n]))return!1;for(n in t)if(t.hasOwnProperty(n)&&!e.hasOwnProperty(n))return!1;return!0}e.exports=n},function(e,t,n){"use strict";function r(e){return v[e]}function i(e,t){return e&&null!=e.key?a(e.key):t.toString(36)}function o(e){return(""+e).replace(m,r)}function a(e){return"$"+o(e)}function u(e,t,n,r,o){var s=typeof e;if(("undefined"===s||"boolean"===s)&&(e=null),null===e||"string"===s||"number"===s||l.isValidElement(e))return r(o,e,""===t?p+i(e,0):t,n),1;var h,v,m,w=0;if(Array.isArray(e))for(var b=0;b<e.length;b++)h=e[b],v=(""!==t?t+g:p)+i(h,b),m=n+w,w+=u(h,v,m,r,o);else{var y=f(e);if(y){var T,S=y.call(e);if(y!==e.entries)for(var _=0;!(T=S.next()).done;)h=T.value,v=(""!==t?t+g:p)+i(h,_++),m=n+w,w+=u(h,v,m,r,o);else for(;!(T=S.next()).done;){var E=T.value;E&&(h=E[1],v=(""!==t?t+g:p)+a(E[0])+g+i(h,0),m=n+w,w+=u(h,v,m,r,o))}}else if("object"===s){d(1!==e.nodeType);var P=c.extract(e);for(var C in P)P.hasOwnProperty(C)&&(h=P[C],v=(""!==t?t+g:p)+a(C)+g+i(h,0),m=n+w,w+=u(h,v,m,r,o))}}return w}function s(e,t,n){return null==e?0:u(e,"",0,t,n)}var l=n(6),c=n(39),h=n(40),f=n(142),d=n(2),p=(n(5),h.SEPARATOR),g=":",v={"=":"=0",".":"=1",":":"=2"},m=/[=.:]/g;e.exports=s},function(e,t,n){(function(e){"use strict";if(n(202),n(203),e._babelPolyfill)throw new Error("only one instance of babel/polyfill is allowed");e._babelPolyfill=!0}).call(t,function(){return this}())},function(e,t,n){var r=n(1),i=n(100);e.exports=Object.assign||function(e,t){for(var n=Object(r.assertDefined(e)),o=arguments.length,a=1;o>a;)for(var u,s=r.ES5Object(arguments[a++]),l=i(s),c=l.length,h=0;c>h;)n[u=l[h++]]=s[u];return n}},function(e,t){e.exports=function(e){return e.FW=!0,e.path=e.g,e}},function(e,t,n){var r=n(1);e.exports=function(e,t){for(var n,i=r.toObject(e),o=r.getKeys(i),a=o.length,u=0;a>u;)if(i[n=o[u++]]===t)return n}},function(e,t,n){"use strict";var r=n(1),i=n(55),o=n(11).fn;e.exports=function(){for(var e=o(this),t=arguments.length,n=Array(t),a=0,u=r.path._,s=!1;t>a;)(n[a]=arguments[a++])===u&&(s=!0);return function(){var r,o=this,a=arguments.length,l=0,c=0;if(!s&&!a)return i(e,n,o);if(r=n.slice(),s)for(;t>l;l++)r[l]===u&&(r[l]=arguments[c++]);for(;a>c;)r.push(arguments[c++]);return i(e,r,o)}}},function(e,t,n){function r(e,t){return function(n){var r,i=x(n),o=0,a=[];for(r in i)r!=d&&S(i,r)&&a.push(r);for(;t>o;)S(i,r=e[o++])&&(~I(a,r)||a.push(r));return a}}function i(){}function o(e){return function(t,n){p.fn(t);var r=x(this),i=A(r.length),o=e?i-1:0,a=e?-1:1;if(arguments.length<2)for(;;){if(o in r){n=r[o],o+=a;break}o+=a,p(e?o>=0:i>o,"Reduce of empty array with no initial value")}for(;e?o>=0:i>o;o+=a)o in r&&(n=t(n,r[o],o,this));return n}}function a(e){return e>9?e:"0"+e}var u=n(1),s=n(99),l=n(14),c=n(3),h=n(55),f=n(53),d=n(20).safe("__proto__"),p=n(11),g=p.obj,v=Object.prototype,m=u.html,w=[],b=w.slice,y=w.join,T=l.classof,S=u.has,_=u.setDesc,E=u.getDesc,P=u.setDescs,C=u.isFunction,M=u.isObject,x=u.toObject,A=u.toLength,D=u.toIndex,k=!1,I=n(95)(!1),O=f(0),N=f(1),G=f(2),R=f(3),B=f(4);if(!u.DESC){try{k=8==_(s("div"),"x",{get:function(){return 8}}).x}catch(L){}u.setDesc=function(e,t,n){if(k)try{return _(e,t,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(g(e)[t]=n.value),e},u.getDesc=function(e,t){if(k)try{return E(e,t)}catch(n){}return S(e,t)?u.desc(!v.propertyIsEnumerable.call(e,t),e[t]):void 0},u.setDescs=P=function(e,t){g(e);for(var n,r=u.getKeys(t),i=r.length,o=0;i>o;)u.setDesc(e,n=r[o++],t[n]);return e}}c(c.S+c.F*!u.DESC,"Object",{getOwnPropertyDescriptor:u.getDesc,defineProperty:u.setDesc,defineProperties:P});var H="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),F=H.concat("length","prototype"),j=H.length,V=function(){var e,t=s("iframe"),n=j,r=">";for(t.style.display="none",m.appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object</script"+r),e.close(),V=e.F;n--;)delete V.prototype[H[n]];return V()};c(c.S,"Object",{getPrototypeOf:u.getProto=u.getProto||function(e){return e=Object(p.def(e)),S(e,d)?e[d]:C(e.constructor)&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?v:null},getOwnPropertyNames:u.getNames=u.getNames||r(F,F.length,!0),create:u.create=u.create||function(e,t){var n;return null!==e?(i.prototype=g(e),n=new i,i.prototype=null,n[d]=e):n=V(),void 0===t?n:P(n,t)},keys:u.getKeys=u.getKeys||r(H,j,!1),seal:function(e){return e},freeze:function(e){return e},preventExtensions:function(e){return e},isSealed:function(e){return!M(e)},isFrozen:function(e){return!M(e)},isExtensible:function(e){return M(e)}}),c(c.P,"Function",{bind:function(e){function t(){var i=r.concat(b.call(arguments)),o=this instanceof t,a=o?u.create(n.prototype):e,s=h(n,i,a);return o?a:s}var n=p.fn(this),r=b.call(arguments,1);return n.prototype&&(t.prototype=n.prototype),t}}),0 in Object("z")&&"z"=="z"[0]||(u.ES5Object=function(e){return"String"==l(e)?e.split(""):Object(e)});var U=!0;try{m&&b.call(m),U=!1}catch(L){}c(c.P+c.F*U,"Array",{slice:function(e,t){var n=A(this.length),r=l(this);if(t=void 0===t?n:t,"Array"==r)return b.call(this,e,t);for(var i=D(e,n),o=D(t,n),a=A(o-i),u=Array(a),s=0;a>s;s++)u[s]="String"==r?this.charAt(i+s):this[i+s];return u}}),c(c.P+c.F*(u.ES5Object!=Object),"Array",{join:function(){return y.apply(u.ES5Object(this),arguments)}}),c(c.S,"Array",{isArray:function(e){return"Array"==l(e)}}),c(c.P,"Array",{forEach:u.each=u.each||function(e){return O(this,e,arguments[1])},map:function(e){return N(this,e,arguments[1])},filter:function(e){return G(this,e,arguments[1])},some:function(e){return R(this,e,arguments[1])},every:function(e){return B(this,e,arguments[1])},reduce:o(!1),reduceRight:o(!0),indexOf:function(e){return I(this,e,arguments[1])},lastIndexOf:function(e,t){var n=x(this),r=A(n.length),i=r-1;for(arguments.length>1&&(i=Math.min(i,u.toInteger(t))),0>i&&(i=A(r+i));i>=0;i--)if(i in n&&n[i]===e)return i;return-1}}),c(c.P,"String",{trim:n(68)(/^\s*([\s\S]*\S)?\s*$/,"$1")}),c(c.S,"Date",{now:function(){return+new Date}});var W=new Date(-5e13-1),z=!(W.toISOString&&"0385-07-25T07:06:39.999Z"==W.toISOString()&&n(72)(function(){new Date(NaN).toISOString()}));c(c.P+c.F*z,"Date",{toISOString:function(){if(!isFinite(this))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=0>t?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}}),"Object"==T(function(){return arguments}())&&(l.classof=function(e){var t=T(e);return"Object"==t&&C(e.callee)?"Arguments":t})},function(e,t,n){"use strict";var r=n(1),i=n(3),o=r.toIndex;i(i.P,"Array",{copyWithin:function(e,t){var n=Object(r.assertDefined(this)),i=r.toLength(n.length),a=o(e,i),u=o(t,i),s=arguments[2],l=void 0===s?i:o(s,i),c=Math.min(l-u,i-a),h=1;for(a>u&&u+c>a&&(h=-1,u=u+c-1,a=a+c-1);c-->0;)u in n?n[a]=n[u]:delete n[a],a+=h,u+=h;return n}}),n(33)("copyWithin")},function(e,t,n){"use strict";var r=n(1),i=n(3),o=r.toIndex;i(i.P,"Array",{fill:function(e){for(var t=Object(r.assertDefined(this)),n=r.toLength(t.length),i=o(arguments[1],n),a=arguments[2],u=void 0===a?n:o(a,n);u>i;)t[i++]=e;return t}}),n(33)("fill")},function(e,t,n){"use strict";var r="findIndex",i=n(3),o=!0,a=n(53)(6);r in[]&&Array(1)[r](function(){o=!1}),i(i.P+i.F*o,"Array",{findIndex:function(e){return a(this,e,arguments[1])}}),n(33)(r)},function(e,t,n){"use strict";var r="find",i=n(3),o=!0,a=n(53)(5);r in[]&&Array(1)[r](function(){o=!1}),i(i.P+i.F*o,"Array",{find:function(e){return a(this,e,arguments[1])}}),n(33)(r)},function(e,t,n){var r=n(1),i=n(29),o=n(3),a=n(22),u=n(102);o(o.S+o.F*!n(67)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,s,l=Object(r.assertDefined(e)),c=arguments[1],h=void 0!==c,f=h?i(c,arguments[2],2):void 0,d=0;if(a.is(l))for(s=a.get(l),n=new("function"==typeof this?this:Array);!(o=s.next()).done;d++)n[d]=h?u(s,f,[o.value,d],!0):o.value;else for(n=new("function"==typeof this?this:Array)(t=r.toLength(l.length));t>d;d++)n[d]=h?f(l[d],d):l[d];return n.length=d,n}})},function(e,t,n){var r=n(3);r(r.S,"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)n[e]=arguments[e++];return n.length=t,n}})},function(e,t,n){n(57)(Array)},function(e,t,n){var r=n(1),i=n(15)("hasInstance"),o=Function.prototype;i in o||r.setDesc(o,i,{value:function(e){if(!r.isFunction(this)||!r.isObject(e))return!1;if(!r.isObject(this.prototype))return e instanceof this;for(;e=r.getProto(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){"use strict";var r=n(1),i="name",o=r.setDesc,a=Function.prototype;i in a||r.FW&&r.DESC&&o(a,i,{configurable:!0,get:function(){var e=String(this).match(/^\s*function ([^ (]*)/),t=e?e[1]:"";return r.has(this,i)||o(this,i,r.desc(5,t)),t},set:function(e){r.has(this,i)||o(this,i,r.desc(0,e))}})},function(e,t,n){"use strict";var r=n(96);n(54)("Map",function(e){return function(){return e(this,arguments[0])}},{get:function(e){var t=r.getEntry(this,e);return t&&t.v},set:function(e,t){return r.def(this,0===e?0:e,t)}},r,!0)},function(e,t,n){function r(e){return e+1/m-1/m}function i(e){return 0==(e=+e)||e!=e?e:0>e?-1:1}function o(e){return isFinite(e=+e)&&0!=e?0>e?-o(-e):d(e+p(e*e+1)):e}function a(e){return 0==(e=+e)?e:e>-1e-6&&1e-6>e?e+e*e/2:f(e)-1}var u=1/0,s=n(3),l=Math.E,c=Math.pow,h=Math.abs,f=Math.exp,d=Math.log,p=Math.sqrt,g=Math.ceil,v=Math.floor,m=c(2,-52),w=c(2,-23),b=c(2,127)*(2-w),y=c(2,-126);s(s.S,"Math",{acosh:function(e){return(e=+e)<1?NaN:isFinite(e)?d(e/l+p(e+1)*p(e-1)/l)+1:e},asinh:o,atanh:function(e){return 0==(e=+e)?e:d((1+e)/(1-e))/2},cbrt:function(e){return i(e=+e)*c(h(e),1/3)},clz32:function(e){return(e>>>=0)?31-v(d(e+.5)*Math.LOG2E):32},cosh:function(e){return(f(e=+e)+f(-e))/2},expm1:a,fround:function(e){var t,n,o=h(e),a=i(e);return y>o?a*r(o/y/w)*y*w:(t=(1+w/m)*o,n=t-(t-o),n>b||n!=n?a*u:a*n)},hypot:function(e,t){for(var n,r,i=0,o=0,a=arguments.length,s=0;a>o;)n=h(arguments[o++]),n>s?(r=s/n,i=i*r*r+1,s=n):n>0?(r=n/s,i+=r*r):i+=n;return s===u?u:s*p(i)},imul:function(e,t){var n=65535,r=+e,i=+t,o=n&r,a=n&i;return 0|o*a+((n&r>>>16)*a+o*(n&i>>>16)<<16>>>0)},log1p:function(e){return(e=+e)>-1e-8&&1e-8>e?e-e*e/2:d(1+e)},log10:function(e){return d(e)/Math.LN10},log2:function(e){return d(e)/Math.LN2},sign:i,sinh:function(e){return h(e=+e)<1?(a(e)-a(-e))/2:(f(e-1)-f(-e-1))*(l/2)},tanh:function(e){var t=a(e=+e),n=a(-e);return t==u?1:n==u?-1:(t-n)/(f(e)+f(-e))},trunc:function(e){return(e>0?v:g)(e)}})},function(e,t,n){"use strict";function r(e){var t,n;if(u(t=e.valueOf)&&!a(n=t.call(e)))return n;if(u(t=e.toString)&&!a(n=t.call(e)))return n;throw TypeError("Can't convert object to number")}function i(e){if(a(e)&&(e=r(e)),"string"==typeof e&&e.length>2&&48==e.charCodeAt(0)){var t=!1;switch(e.charCodeAt(1)){case 66:case 98:t=!0;case 79:case 111:return parseInt(e.slice(2),t?2:8)}}return+e}var o=n(1),a=o.isObject,u=o.isFunction,s="Number",l=o.g[s],c=l,h=l.prototype;!o.FW||l("0o1")&&l("0b1")||(l=function(e){return this instanceof l?new c(i(e)):i(e)},o.each.call(o.DESC?o.getNames(c):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),function(e){o.has(c,e)&&!o.has(l,e)&&o.setDesc(l,e,o.getDesc(c,e))}),l.prototype=h,h.constructor=l,n(23)(o.g,s,l))},function(e,t,n){function r(e){return!i.isObject(e)&&s(e)&&u(e)===e}var i=n(1),o=n(3),a=Math.abs,u=Math.floor,s=i.g.isFinite,l=9007199254740991;o(o.S,"Number",{EPSILON:Math.pow(2,-52),isFinite:function(e){return"number"==typeof e&&s(e)},isInteger:r,isNaN:function(e){return e!=e},isSafeInteger:function(e){return r(e)&&a(e)<=l},MAX_SAFE_INTEGER:l,MIN_SAFE_INTEGER:-l,parseFloat:parseFloat,parseInt:parseInt})},function(e,t,n){var r=n(3);r(r.S,"Object",{assign:n(151)})},function(e,t,n){var r=n(3);r(r.S,"Object",{is:n(104)})},function(e,t,n){var r=n(3);r(r.S,"Object",{setPrototypeOf:n(69).set})},function(e,t,n){var r=n(1),i=n(3),o=r.isObject,a=r.toObject;r.each.call("freeze,seal,preventExtensions,isFrozen,isSealed,isExtensible,getOwnPropertyDescriptor,getPrototypeOf,keys,getOwnPropertyNames".split(","),function(e,t){var u=(r.core.Object||{})[e]||Object[e],s=0,l={};l[e]=0==t?function(e){return o(e)?u(e):e}:1==t?function(e){return o(e)?u(e):e}:2==t?function(e){return o(e)?u(e):e}:3==t?function(e){return o(e)?u(e):!0}:4==t?function(e){return o(e)?u(e):!0}:5==t?function(e){return o(e)?u(e):!1}:6==t?function(e,t){return u(a(e),t)}:7==t?function(e){return u(Object(r.assertDefined(e)))}:8==t?function(e){return u(a(e))}:n(101).get;try{u("z")}catch(c){s=1}i(i.S+i.F*s,"Object",l)})},function(e,t,n){"use strict";var r=n(14),i={};i[n(15)("toStringTag")]="z",n(1).FW&&"z"!=r(i)&&n(23)(Object.prototype,"toString",function(){return"[object "+r.classof(this)+"]"},!0)},function(e,t,n){"use strict";function r(e){var t=new A(function(){});return e&&(t.constructor=Object),A.resolve(t)===t}function i(e){return k(e)&&(N?"Promise"==g.classof(e):_ in e)}function o(e,t){return d.FW||e!==A||t!==f?y(e,t):!0}function a(e){var t=O(e)[S];return void 0!=t?t:e}function u(e){var t;return k(e)&&(t=e.then),D(t)?t:!1}function s(e){var t=e.c;t.length&&x.call(P,function(){function n(t){var n,o,a=i?t.ok:t.fail;try{a?(i||(e.h=!0),n=a===!0?r:a(r),n===t.P?t.rej(TypeError("Promise-chain cycle")):(o=u(n))?o.call(n,t.res,t.rej):t.res(n)):t.rej(r)}catch(s){t.rej(s)}}for(var r=e.v,i=1==e.s,o=0;t.length>o;)n(t[o++]);t.length=0})}function l(e){var t,n=e[_],r=n.a||n.c,i=0;if(n.h)return!1;for(;r.length>i;)if(t=r[i++],t.fail||!l(t.P))return!1;return!0}function c(e){var t,n=this;n.d||(n.d=!0,n=n.r||n,n.v=e,n.s=2,n.a=n.c.slice(),setTimeout(function(){x.call(P,function(){l(t=n.p)&&(M?C.emit("unhandledRejection",e,t):P.console&&console.error&&console.error("Unhandled promise rejection",e)),n.a=void 0})},1),s(n))}function h(e){var t,n=this;if(!n.d){n.d=!0,n=n.r||n;try{(t=u(e))?x.call(P,function(){var r={r:n,d:!1};try{t.call(e,p(h,r,1),p(c,r,1))}catch(i){c.call(r,i)}}):(n.v=e,n.s=1,s(n))}catch(r){c.call({r:n,d:!1},r)}}}var f,d=n(1),p=n(29),g=n(14),v=n(3),m=n(11),w=n(44),b=n(69).set,y=n(104),T=n(57),S=n(15)("species"),_=n(20).safe("record"),E="Promise",P=d.g,C=P.process,M="process"==g(C),x=C&&C.nextTick||n(107).set,A=P[E],D=d.isFunction,k=d.isObject,I=m.fn,O=m.obj,N=function(){function e(t){var n=new A(t);return b(n,e.prototype),n}var t=!1;try{if(t=D(A)&&D(A.resolve)&&r(),b(e,A),e.prototype=d.create(A.prototype,{constructor:{value:e}}),e.resolve(5).then(function(){})instanceof e||(t=!1),t&&d.DESC){var n=!1;A.resolve(d.setDesc({},"then",{get:function(){n=!0}})),t=n}}catch(i){t=!1}return t}();N||(A=function(e){I(e);var t={p:m.inst(this,A,E),c:[],a:void 0,s:0,d:!1,v:void 0,h:!1};d.hide(this,_,t);try{e(p(h,t,1),p(c,t,1))}catch(n){c.call(t,n)}},n(56)(A.prototype,{then:function(e,t){var n=O(O(this).constructor)[S],r={ok:D(e)?e:!0,fail:D(t)?t:!1},i=r.P=new(void 0!=n?n:A)(function(e,t){r.res=I(e),r.rej=I(t)}),o=this[_];return o.c.push(r),o.a&&o.a.push(r),o.s&&s(o),i},"catch":function(e){return this.then(void 0,e)}})),v(v.G+v.W+v.F*!N,{Promise:A}),g.set(A,E),T(A),T(f=d.core[E]),v(v.S+v.F*!N,E,{reject:function(e){return new(a(this))(function(t,n){n(e)})}}),v(v.S+v.F*(!N||r(!0)),E,{resolve:function(e){return i(e)&&o(e.constructor,this)?e:new this(function(t){t(e)})}}),v(v.S+v.F*!(N&&n(67)(function(e){A.all(e)["catch"](function(){})})),E,{all:function(e){var t=a(this),n=[];return new t(function(r,i){w(e,!1,n.push,n);var o=n.length,a=Array(o);o?d.each.call(n,function(e,n){t.resolve(e).then(function(e){a[n]=e,--o||r(a)},i)}):r(a)})},race:function(e){var t=a(this);return new t(function(n,r){w(e,!1,function(e){t.resolve(e).then(n,r)})})}})},function(e,t,n){function r(e){i.set(this,l,{o:e,k:void 0,i:0})}var i=n(1),o=n(3),a=n(69),u=n(22),s=n(15)("iterator"),l=n(20).safe("iter"),c=u.step,h=n(11),f=i.isObject,d=i.getProto,p=i.g.Reflect,g=Function.apply,v=h.obj,m=Object.isExtensible||f,w=Object.preventExtensions,b=!(p&&p.enumerate&&s in p.enumerate({}));u.create(r,"Object",function(){var e,t=this[l],n=t.k;if(void 0==n){t.k=n=[];for(e in t.o)n.push(e)}do if(t.i>=n.length)return c(1);while(!((e=n[t.i++])in t.o));return c(0,e)});var y={apply:function(e,t,n){return g.call(e,t,n)},construct:function(e,t){var n=h.fn(arguments.length<3?e:arguments[2]).prototype,r=i.create(f(n)?n:Object.prototype),o=g.call(e,r,t);return f(o)?o:r},defineProperty:function(e,t,n){v(e);try{return i.setDesc(e,t,n),!0}catch(r){return!1}},deleteProperty:function(e,t){var n=i.getDesc(v(e),t);return n&&!n.configurable?!1:delete e[t]},get:function T(e,t){var n,r=arguments.length<3?e:arguments[2],o=i.getDesc(v(e),t);return o?i.has(o,"value")?o.value:void 0===o.get?void 0:o.get.call(r):f(n=d(e))?T(n,t,r):void 0},getOwnPropertyDescriptor:function(e,t){return i.getDesc(v(e),t)},getPrototypeOf:function(e){return d(v(e))},has:function(e,t){return t in e},isExtensible:function(e){return m(v(e))},ownKeys:n(103),preventExtensions:function(e){v(e);try{return w&&w(e),!0}catch(t){return!1}},set:function S(e,t,n){var r,o,a=arguments.length<4?e:arguments[3],u=i.getDesc(v(e),t);if(!u){if(f(o=d(e)))return S(o,t,n,a);u=i.desc(0)}return i.has(u,"value")?u.writable!==!1&&f(a)?(r=i.getDesc(a,t)||i.desc(0),r.value=n,i.setDesc(a,t,r),!0):!1:void 0===u.set?!1:(u.set.call(a,n),!0)}};a&&(y.setPrototypeOf=function(e,t){a.check(e,t);try{return a.set(e,t),!0}catch(n){return!1}}),o(o.G,{Reflect:{}}),o(o.S+o.F*b,"Reflect",{enumerate:function(e){return new r(v(e))}}),o(o.S,"Reflect",y)},function(e,t,n){var r=n(1),i=n(14),o=r.g.RegExp,a=o,u=o.prototype,s=/a/g,l=new o(s)!==s,c=function(){try{return"/a/i"==o(s,"i")}catch(e){}}();r.FW&&r.DESC&&(l&&c||(o=function(e,t){var n="RegExp"==i(e),r=void 0===t;return this instanceof o||!n||!r?l?new a(n&&!r?e.source:e,t):new a(n?e.source:e,n&&r?e.flags:t):e},r.each.call(r.getNames(a),function(e){e in o||r.setDesc(o,e,{configurable:!0,get:function(){return a[e]},set:function(t){a[e]=t}})}),u.constructor=o,o.prototype=u,n(23)(r.g,"RegExp",o)),"g"!=/./g.flags&&r.setDesc(u,"flags",{configurable:!0,get:n(68)(/^.*\/(\w*)$/,"$1")})),n(57)(o)},function(e,t,n){"use strict";var r=n(96);n(54)("Set",function(e){return function(){return e(this,arguments[0])}},{add:function(e){return r.def(this,e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r=n(3),i=n(71)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(1),i=n(14),o=n(3),a=r.toLength;o(o.P+o.F*!n(72)(function(){"q".endsWith(/./)}),"String",{endsWith:function(e){if("RegExp"==i(e))throw TypeError();var t=String(r.assertDefined(this)),n=arguments[1],o=a(t.length),u=void 0===n?o:Math.min(a(n),o);return e+="",t.slice(u-e.length,u)===e}})},function(e,t,n){var r=n(3),i=n(1).toIndex,o=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(65536>t?o(t):o(((t-=65536)>>10)+55296,t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(1),i=n(14),o=n(3);o(o.P,"String",{includes:function(e){if("RegExp"==i(e))throw TypeError();return!!~String(r.assertDefined(this)).indexOf(e,arguments[1])}})},function(e,t,n){var r=n(1).set,i=n(71)(!0),o=n(20).safe("iter"),a=n(22),u=a.step;n(66)(String,"String",function(e){r(this,o,{o:String(e),i:0})},function(){var e,t=this[o],n=t.o,r=t.i;return r>=n.length?u(1):(e=i(n,r),t.i+=e.length,u(0,e))})},function(e,t,n){var r=n(1),i=n(3);i(i.S,"String",{raw:function(e){for(var t=r.toObject(e.raw),n=r.toLength(t.length),i=arguments.length,o=[],a=0;n>a;)o.push(String(t[a++])),i>a&&o.push(String(arguments[a]));return o.join("")}})},function(e,t,n){var r=n(3);r(r.P,"String",{repeat:n(106)})},function(e,t,n){"use strict";var r=n(1),i=n(14),o=n(3);o(o.P+o.F*!n(72)(function(){"q".startsWith(/./)}),"String",{startsWith:function(e){if("RegExp"==i(e))throw TypeError();var t=String(r.assertDefined(this)),n=r.toLength(Math.min(arguments[1],t.length));return e+="",t.slice(n,n+e.length)===e}})},function(e,t,n){"use strict";function r(e){var t=R[e]=h.set(_(D.prototype),I,e);return T&&k&&L(y,e,{configurable:!0,set:function(t){S(this,O)&&S(this[O],e)&&(this[O][e]=!1),L(this,e,C(1,t))}}),t}function i(e,t,n){return n&&S(R,t)?(n.enumerable?(S(e,O)&&e[O][t]&&(e[O][t]=!1),n=_(n,{enumerable:C(0,!1)})):(S(e,O)||P(e,O,C(1,{})),e[O][t]=!0),L(e,t,n)):P(e,t,n)}function o(e,t){b(e);for(var n,r=w(t=A(t)),o=0,a=r.length;a>o;)i(e,n=r[o++],t[n]);return e}function a(e,t){return void 0===t?_(e):o(_(e),t)}function u(e){var t=N.call(this,e);return t||!S(this,e)||!S(R,e)||S(this,O)&&this[O][e]?t:!0}function s(e,t){var n=E(e=A(e),t);return!n||!S(R,t)||S(e,O)&&e[O][t]||(n.enumerable=!0),n}function l(e){for(var t,n=x(A(e)),r=[],i=0;n.length>i;)S(R,t=n[i++])||t==O||r.push(t);return r}function c(e){for(var t,n=x(A(e)),r=[],i=0;n.length>i;)S(R,t=n[i++])&&r.push(R[t]);return r}var h=n(1),f=n(14).set,d=n(20),p=n(70),g=n(3),v=n(23),m=n(153),w=n(100),b=n(11).obj,y=Object.prototype,T=h.DESC,S=h.has,_=h.create,E=h.getDesc,P=h.setDesc,C=h.desc,M=n(101),x=M.get,A=h.toObject,D=h.g.Symbol,k=!1,I=d("tag"),O=d("hidden"),N={}.propertyIsEnumerable,G=p("symbol-registry"),R=p("symbols"),B=h.isFunction(D),L=T?function(){try{return _(P({},O,{get:function(){return P(this,O,{value:!1})[O]}}))[O]||P}catch(e){return function(e,t,n){var r=E(y,t);r&&delete y[t],P(e,t,n),r&&e!==y&&P(y,t,r)}}}():P;B||(D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor");return r(d(arguments[0]))},v(D.prototype,"toString",function(){return this[I]}),h.create=a,h.setDesc=i,h.getDesc=s,h.setDescs=o,h.getNames=M.get=l,h.getSymbols=c,h.DESC&&h.FW&&v(y,"propertyIsEnumerable",u,!0));var H={"for":function(e){return S(G,e+="")?G[e]:G[e]=D(e)},keyFor:function(e){return m(G,e)},useSetter:function(){k=!0},useSimple:function(){k=!1}};h.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),function(e){var t=n(15)(e);H[e]=B?t:r(t)}),k=!0,g(g.G+g.W,{Symbol:D}),g(g.S,"Symbol",H),g(g.S+g.F*!B,"Object",{create:a,defineProperty:i,defineProperties:o,getOwnPropertyDescriptor:s,getOwnPropertyNames:l,getOwnPropertySymbols:c}),f(D,"Symbol"),f(Math,"Math",!0),f(h.g.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(1),i=n(98),o=i.leakStore,a=i.ID,u=i.WEAK,s=r.has,l=r.isObject,c=Object.isExtensible||l,h={},f=n(54)("WeakMap",function(e){return function(){return e(this,arguments[0])}},{get:function(e){if(l(e)){if(!c(e))return o(this).get(e);if(s(e,u))return e[u][this[a]]}},set:function(e,t){return i.def(this,e,t)}},i,!0,!0);7!=(new f).set((Object.freeze||Object)(h),7).get(h)&&r.each.call(["delete","has","get","set"],function(e){var t=f.prototype,r=t[e];n(23)(t,e,function(t,n){if(l(t)&&!c(t)){var i=o(this)[e](t,n);return"set"==e?this:i}return r.call(this,t,n)})})},function(e,t,n){"use strict";var r=n(98);n(54)("WeakSet",function(e){return function(){return e(this,arguments[0])}},{add:function(e){return r.def(this,e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(3),i=n(95)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments[1])}}),n(33)("includes")},function(e,t,n){n(97)("Map")},function(e,t,n){var r=n(1),i=n(3),o=n(103);i(i.S,"Object",{getOwnPropertyDescriptors:function(e){var t=r.toObject(e),n={};return r.each.call(o(t),function(e){r.setDesc(n,e,r.desc(0,r.getDesc(t,e)))}),n}})},function(e,t,n){function r(e){return function(t){var n,r=i.toObject(t),o=i.getKeys(r),a=o.length,u=0,s=Array(a);if(e)for(;a>u;)s[u]=[n=o[u++],r[n]];else for(;a>u;)s[u]=r[o[u++]];return s}}var i=n(1),o=n(3);o(o.S,"Object",{values:r(!1),entries:r(!0)})},function(e,t,n){var r=n(3);r(r.S,"RegExp",{escape:n(68)(/[\\^$*+?.()|[\]{}]/g,"\\$&",!0)})},function(e,t,n){n(97)("Set")},function(e,t,n){"use strict";var r=n(3),i=n(71)(!0);r(r.P,"String",{at:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(3),i=n(105);r(r.P,"String",{lpad:function(e){return i(this,e,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(3),i=n(105);r(r.P,"String",{rpad:function(e){return i(this,e,arguments[1],!1)}})},function(e,t,n){function r(e,t){i.each.call(e.split(","),function(e){void 0==t&&e in a?u[e]=a[e]:e in[]&&(u[e]=n(29)(Function.call,[][e],t))})}var i=n(1),o=n(3),a=i.core.Array||Array,u={};r("pop,reverse,shift,keys,values,entries",1),r("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),r("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill,turn"),o(o.S,"Array",u)},function(e,t,n){n(108);var r=n(1),i=n(22).Iterators,o=n(15)("iterator"),a=i.Array,u=r.g.NodeList,s=r.g.HTMLCollection,l=u&&u.prototype,c=s&&s.prototype;r.FW&&(!u||o in l||r.hide(l,o,a),!s||o in c||r.hide(c,o,a)),i.NodeList=i.HTMLCollection=a},function(e,t,n){var r=n(3),i=n(107);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){function r(e){return l?function(t,n){return e(a(u,[].slice.call(arguments,2),i.isFunction(t)?t:Function(t)),n)}:e}var i=n(1),o=n(3),a=n(55),u=n(154),s=i.g.navigator,l=!!s&&/MSIE .\./.test(s.userAgent);o(o.G+o.B+o.F*l,{setTimeout:r(i.g.setTimeout),setInterval:r(i.g.setInterval)})},function(e,t,n){n(155),n(186),n(169),n(170),n(171),n(173),n(172),n(164),n(163),n(167),n(168),n(166),n(180),n(183),n(182),n(178),n(179),n(181),n(184),n(185),n(160),n(161),n(108),n(162),n(156),n(157),n(159),n(158),n(176),n(174),n(165),n(177),n(187),n(188),n(175),n(189),n(195),n(196),n(197),n(193),n(191),n(192),n(190),n(194),n(198),n(201),n(200),n(199),e.exports=n(1).core},function(e,t,n){(function(t,n){!function(t){"use strict";function r(e,t,n,r){var i=Object.create((t||o).prototype);return i._invoke=h(e,n||null,new p(r||[])),i}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(r){return{type:"throw",arg:r}}}function o(){}function a(){}function u(){}function s(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(t,n){var r=e[t](n),i=r.value;return i instanceof l?Promise.resolve(i.arg).then(o,a):Promise.resolve(i).then(function(e){return r.value=e,r})}function r(e,n){var r=i?i.then(function(){return t(e,n)}):new Promise(function(r){r(t(e,n))});return i=r["catch"](function(e){}),r}"object"==typeof n&&n.domain&&(t=n.domain.bind(t));var i,o=t.bind(e,"next"),a=t.bind(e,"throw");t.bind(e,"return");this._invoke=r}function h(e,t,n){var r=S;return function(o,a){if(r===E)throw new Error("Generator is already running");if(r===P){if("throw"===o)throw a;return v()}for(;;){var u=n.delegate;if(u){if("return"===o||"throw"===o&&u.iterator[o]===m){n.delegate=null;var s=u.iterator["return"];if(s){var l=i(s,u.iterator,a);if("throw"===l.type){o="throw",a=l.arg;continue}}if("return"===o)continue}var l=i(u.iterator[o],u.iterator,a);if("throw"===l.type){n.delegate=null,o="throw",a=l.arg;continue}o="next",a=m;var c=l.arg;if(!c.done)return r=_,c;n[u.resultName]=c.value,n.next=u.nextLoc,n.delegate=null}if("next"===o)r===_?n.sent=a:n.sent=m;else if("throw"===o){if(r===S)throw r=P,a;n.dispatchException(a)&&(o="next",a=m)}else"return"===o&&n.abrupt("return",a);r=E;var l=i(e,t,n);if("normal"===l.type){r=n.done?P:_;var c={value:l.arg,done:n.done};if(l.arg!==C)return c;n.delegate&&"next"===o&&(a=m)}else"throw"===l.type&&(r=P,o="throw",a=l.arg)}}}function f(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 d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function g(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function i(){
  for(;++n<e.length;)if(w.call(e,n))return i.value=e[n],i.done=!1,i;return i.value=m,i.done=!0,i};return r.next=r}}return{next:v}}function v(){return{value:m,done:!0}}var m,w=Object.prototype.hasOwnProperty,b="function"==typeof Symbol&&Symbol.iterator||"@@iterator",y="object"==typeof e,T=t.regeneratorRuntime;if(T)return void(y&&(e.exports=T));T=t.regeneratorRuntime=y?e.exports:{},T.wrap=r;var S="suspendedStart",_="suspendedYield",E="executing",P="completed",C={},M=u.prototype=o.prototype;a.prototype=M.constructor=u,u.constructor=a,a.displayName="GeneratorFunction",T.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return t?t===a||"GeneratorFunction"===(t.displayName||t.name):!1},T.mark=function(e){return e.__proto__=u,e.prototype=Object.create(M),e},T.awrap=function(e){return new l(e)},s(c.prototype),T.async=function(e,t,n,i){var o=new c(r(e,t,n,i));return T.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},s(M),M[b]=function(){return this},M.toString=function(){return"[object Generator]"},T.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},T.values=g,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=m,this.done=!1,this.delegate=null,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&w.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=m)},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 o.type="throw",o.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=w.call(i,"catchLoc"),u=w.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.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&&w.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?this.next=i.finallyLoc:this.complete(o),C},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),d(n),C}},"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 i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:g(e),resultName:t,nextLoc:n},C}}}("object"==typeof t?t:"object"==typeof window?window:"object"==typeof self?self:this)}).call(t,function(){return this}(),n(94))},function(e,t,n){e.exports=n(150)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),a=n(24),u=r(a),s=function(){function e(t){i(this,e),u["default"].assign(this,t)}return o(e,[{key:"clone",value:function(){return new e({width:this.width,height:this.height,cost:this.cost})}},{key:"costRatio",get:function(){return this.cost/(this.width*this.height)}}]),e}();t["default"]=s,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t,n,r){var i=Object.values(r);for(i=a["default"].clone(s["default"](i,t));i.length;){var o=i.pop();if(o.availablePieces){var u=c["default"](e,o.availablePieces[n],o);if(u)return u}}throw new Error("Failed to assign a color to a set of pieces")}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(24),a=r(o),u=n(211),s=r(u),l=n(208),c=r(l);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t,n){for(var r=[],i=[],o={},u=0;u<e.length;u+=4){u>0&&u/4%t===0&&(r.push(i),i=[]);var s=void 0;s=0===e[u+3]?"rgb(255,255,255)":"rgb("+e[u]+","+e[u+1]+","+e[u+2]+")";var l=void 0;o[s]?l=o[s]:(l=a["default"](s),o[s]=l),i.push(l)}return r.push(i),r}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=i;var o=n(209),a=r(o);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return e.sort(function(e,t){var n=e.costRatio-t.costRatio;return 0===n?t.width*t.height-e.width*e.height:n})}function o(e,t){var n=l["default"].find(t,function(t){return t.width<=e.width&&t.height<=e.height});return n?l["default"].extend({x:e.x,y:e.y},n):void 0}function a(e,t){var n=[];return e.width<t.width&&n.push({x:t.x+e.width,y:t.y,width:t.width-e.width,height:e.height}),e.height<t.height&&n.push({x:t.x,y:t.y+e.height,width:t.width,height:t.height-e.height}),n}function u(e,t,n){var r=[e],u=[];for(t=i(t);r.length;){var s=r.pop(),l=o(s,t);if(!l)return null;var c=a(l,s);r=r.concat(c),l.value=n,u.push(l)}return u}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var s=n(24),l=r(s);e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return a["default"].isArray(e)?f["default"]().rgb(e).hexString():f["default"](e).hexString()}var o=n(24),a=r(o),u=n(45),s=r(u),l=n(111),c=r(l),h=n(58),f=r(h);e.exports=function(e){e=i(e);var t=999999;return a["default"].reduce(Object.values(s["default"]),function(n,r){var o=c["default"].compare(i(r.color),e);return t>o?(t=o,r):n},null)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return e.map(function(e){return d["default"].clone(e)})}function o(e,t,n,r){return n>=e.length||0>n?!1:e[n][t]===r}function a(e,t,n,r,i){if(t>n){var a=t;t=n,n=a}for(;n>=t;++t)if(!o(e,t,r,i))return!1;return!0}function u(e,t,n,r,i){if(t>n){var o=t;t=n,n=o}for(;n>=t;++t)e[r][t]=i}function s(e,t,n){return t>0?n>e:e>=0}function l(e,t){for(var n=g,r=n.x,i=n.y,o=e.length,a=e[0].length;s(i,t.y,o);i+=t.y){for(;s(r,t.x,a);r+=t.x)if(e[i][r])return g={x:r,y:i};r=t.x>0?0:a-1}}function c(e,t,n){for(var r=d["default"].clone(t),i=0,s=0,l=t.x,c=t.y,h=r.value=e[c][l];o(e,l,c,h);)e[c][l]=p,i+=1,l+=n.x;for(s=1,l-=n.x,c+=n.y;a(e,t.x,l,c,h);)u(e,t.x,l,c,p),s+=1,c+=n.y;return c-=n.y,r.width=i,r.height=s,r.area=r.width*r.height,r.x=Math.min(r.x,l),r.y=Math.min(r.y,c),r}function h(e,t,n){var r=void 0,i=void 0;return r=e.x>0?0:t-1,i=e.y>0?0:n-1,{x:r,y:i}}Object.defineProperty(t,"__esModule",{value:!0});var f=n(24),d=r(f),p=0,g=void 0;t["default"]=function(e,t){e=i(e);var n=e.length,r=e[0].length,o=r*n;g=h(t,r,n);for(var a=[],u=0;o>u;){var s=c(e,l(e,t),t);a.push(s),u+=s.area}return a},e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e){return a["default"].isArray(e)?s["default"]().rgb(e).hexString():s["default"](e).hexString()}Object.defineProperty(t,"__esModule",{value:!0});var o=n(24),a=r(o),u=n(58),s=r(u),l=n(111),c=r(l);t["default"]=a["default"].memoize(function(e,t){var n=i(t.color);return e.sort(function(e,t){var r=c["default"].compare(i(e.color),n),o=c["default"].compare(i(t.color),n);return o===r?e.availablePieces.plate.length-t.availablePieces.plate.length:o-r})},function(e,t){return i(t.color)}),e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),a=n(7),u=r(a),s=n(343),l=r(s),c=n(12),h=r(c),f=n(34),d=r(f),p=function(){function e(){i(this,t)}o(e,[{key:"render",value:function(){return u["default"].createElement("div",null,u["default"].createElement("div",{onClick:d["default"].onToggleAbout,className:"about-mask"}),u["default"].createElement("div",{className:"about"},u["default"].createElement("div",{className:"about-close",onClick:d["default"].onToggleAbout},"X"),u["default"].createElement("div",{className:"about-body"},u["default"].createElement("h2",null,"pxtobrx v0.1"),u["default"].createElement("p",null,"A Lego mosaic generator, targeted at video game sprites"),u["default"].createElement("h3",null,"Found a bug?"),u["default"].createElement("p",null,"You can report it on ",u["default"].createElement("a",{href:"https://github.com/city41/pxtobrx/issues"},"GitHub"),"  or ",u["default"].createElement("a",{href:"mailto:matt.e.greer@gmail.com"},"email me")),u["default"].createElement("h3",null,"The mosaic looks crappy!"),u["default"].createElement("p",null,"That is either a limitation of the bricks and colors Lego makes, the algorithm, or both. Some colors are only available in a tiny number of brick sizes. Sometimes the algorithm has to fall back and use a different color because of that."),u["default"].createElement("p",null,"If a certain sprite looks ",u["default"].createElement("em",null,"really")," bad as a mosaic, please ",u["default"].createElement("a",{href:"https://github.com/city41/pxtobrx/issues"},"file a bug")," and include the sprite image in the bug report."),u["default"].createElement("h3",null,"The generated mosaic isn't using the best pieces possible!"),u["default"].createElement("p",null,"The current algorithm for figuring out the mosaic is pretty good, but not perfect. Getting it perfect is a goal."),u["default"].createElement("p",null,"Also, the algorithm optimizes for ",u["default"].createElement("b",null,"lowest price"),". Sometimes bigger pieces actually cost more per stud than smaller pieces. Take a 4x8, which is 65 cents, and a 2x12 which is 40 cents. The 2x12 is smaller, but each stud costs 1.6 cents, where as for the 4x8 they cost 2 cents each. The algorithm will choose the smaller, but cheaper piece.")),u["default"].createElement("div",{className:"about-footer"},"made by ",u["default"].createElement("a",{href:"http://mattgreer.org"},"Matt Greer"))))}}]);var t=e;return e=h["default"](l["default"])(e)||e}();t["default"]=p,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 a(){return{calculating:U["default"].getCalculating(),showAbout:U["default"].getShowAbout(),showAvailability:U["default"].getShowAvailability(),pixelData:U["default"].getPixelData(),neededPieces:U["default"].getNeededPieces(),chosenPieceType:U["default"].getChosenPieceType(),chosenScale:U["default"].getChosenScale(),dataUrl:U["default"].getDataUrl()}}Object.defineProperty(t,"__esModule",{value:!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}}(),s=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},l=n(7),c=r(l),h=n(259),f=n(345),d=r(f),p=n(344),g=r(p),v=n(225),m=r(v),w=n(12),b=r(w),y=n(212),T=r(y),S=n(218),_=r(S),E=n(224),P=r(E),C=n(215),M=r(C),x=n(214),A=r(x),D=n(216),k=r(D),I=n(221),O=r(I),N=n(222),G=r(N),R=n(217),B=r(R),L=n(223),H=r(L),F=n(34),j=r(F),V=n(226),U=r(V),W=function(e){function t(e){var t=this;i(this,n),s(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),U["default"].onChange(function(){t.setState(a())}),this.state=a()}o(t,e),u(t,null,[{key:"propTypes",value:{userAgent:l.PropTypes.string},enumerable:!0}]),u(t,[{key:"componentDidMount",value:function(){var e=/imgur=(.*)$/,t=e.exec(window.location.search);t&&t[1]&&!function(){var e=new Image;e.crossOrigin="Anonymous",e.src="http://i.imgur.com/"+t[1],e.onload=function(){var t=document.createElement("canvas"),n=t.getContext("2d");t.width=e.naturalWidth,t.height=e.naturalHeight,n.drawImage(e,0,0);var r=n.getImageData(0,0,e.naturalWidth,e.naturalHeight).data;setTimeout(function(){j["default"].onImageData(r,e.naturalWidth,e.naturalHeight),j["default"].onImageDataUrl(t.toDataURL())},1)}}()}},{key:"getResults",value:function(e){var t=e[0]&&e[0].length||0,n=e.length;return t&&n&&this.state.neededPieces.length?c["default"].createElement("div",{className:"results-container"},c["default"].createElement("section",null,c["default"].createElement("h2",null,"Here is Your Build"),c["default"].createElement("div",{className:"grid"},c["default"].createElement("div",{className:"col-3-12"},c["default"].createElement("img",{className:"preview-image",src:this.state.dataUrl})),c["default"].createElement("div",{className:"col-9-12"},c["default"].createElement("div",{className:"grid"},c["default"].createElement("div",{className:"col-5-12"},c["default"].createElement(B["default"],{scale:this.state.chosenScale,imgWidth:t,imgHeight:n})),c["default"].createElement("div",{className:"col-3-12"},c["default"].createElement("div",{className:"dollars"},Number(this.state.neededPieces.length).toLocaleString()),c["default"].createElement("div",null,this.state.chosenPieceType,"s")),c["default"].createElement("div",{className:"col-4-12"},c["default"].createElement(H["default"],{pieces:this.state.neededPieces})))))),c["default"].createElement("section",null,c["default"].createElement(h.Tabs,null,c["default"].createElement(h.TabList,null,c["default"].createElement(h.Tab,null,"Piece Map"),c["default"].createElement(h.Tab,null,"Piece List")),c["default"].createElement(h.TabPanel,null,c["default"].createElement(G["default"],{pieces:this.state.neededPieces,imgWidth:t,imgHeight:n,userScale:this.state.chosenScale,scale:14})),c["default"].createElement(h.TabPanel,null,c["default"].createElement(O["default"],{chosenPieceType:this.state.chosenPieceType,pieces:this.state.neededPieces}))))):void 0}},{key:"onAvailabilityClick",value:function(){this.state.dataUrl&&j["default"].onToggleAvailability()}},{key:"render",value:function(){var e=this.state.showAbout&&c["default"].createElement(T["default"],null);return c["default"].createElement("div",null,c["default"].createElement("div",{style:{visibility:this.state.calculating?"":"hidden"},className:"loading"},"calculating ..."),e,c["default"].createElement("span",{className:"about-link"},c["default"].createElement("a",{onClick:j["default"].onToggleAbout},"About")),c["default"].createElement("h1",{className:"app-title"},"pxtobrx ",c["default"].createElement("span",{className:"alpha"},"v0.1")),c["default"].createElement("section",{className:"first-section drag-section"},c["default"].createElement("div",{className:"grid"},c["default"].createElement("div",{className:"col-4-12"},c["default"].createElement("h2",null,"Choose an Image"),c["default"].createElement(_["default"],{userAgent:this.props.userAgent})),c["default"].createElement("div",{className:"col-8-12"},c["default"].createElement("div",{className:"samples-container"},c["default"].createElement("h3",{className:"drag-header"},"or ... click one of these"),c["default"].createElement("div",null,c["default"].createElement(P["default"],{src:"./img/samples/samus.png"}),c["default"].createElement(P["default"],{src:"./img/samples/thwomp.png"}),c["default"].createElement(P["default"],{src:"./img/samples/smb3-tanooki-mario.png"}),c["default"].createElement(P["default"],{src:"./img/samples/megaman.png"}),c["default"].createElement(P["default"],{src:"./img/samples/super-metroid.png"})))))),c["default"].createElement("section",{className:"choose-section"},c["default"].createElement("div",{className:this.state.dataUrl?"choose-section-container choosable":"choose-section-container"},c["default"].createElement("div",{className:"grid"},c["default"].createElement("div",{className:"col-6-12"},c["default"].createElement("h2",null,"Pick Piece Type"),c["default"].createElement(M["default"],{choosable:!!this.state.dataUrl,chosenPieceType:this.state.chosenPieceType}),c["default"].createElement("a",{className:"show-availability-link",onClick:this.onAvailabilityClick.bind(this)},this.state.showAvailability?"hide":"show"," availability"),c["default"].createElement("div",{style:{display:this.state.showAvailability?"block":"none"}},c["default"].createElement(A["default"],null))),c["default"].createElement("div",{className:"col-6-12"},c["default"].createElement("h2",null,"And Scale"),c["default"].createElement(k["default"],{choosable:!!this.state.dataUrl,chosenScale:this.state.chosenScale}))))),this.getResults(this.state.pixelData))}}]);var n=t;return t=b["default"](g["default"])(t)||t,t=b["default"](d["default"])(t)||t,t=m["default"](t)||t}(c["default"].Component);t["default"]=W,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 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}}(),u=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},s=n(24),l=r(s),c=n(7),h=r(c),f=n(346),d=r(f),p=n(12),g=r(p),v=n(45),m=r(v),w=function(e){function t(e){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),this.state={},this.getSizesMemod=l["default"].memoize(this.getSizes)}o(t,e),a(t,[{key:"getSizes",value:function(e){var t=l["default"].flatten(l["default"].map(Object.values(m["default"]),function(t){return t.availablePieces[e]})),n=l["default"].uniq(t,function(e){return Math.min(e.width,e.height)+"x"+Math.max(e.width,e.height)});return l["default"].map(n,function(e){return Math.min(e.width,e.height)+"x"+Math.max(e.width,e.height)}).sort()}},{key:"getTotalNumberOfSizes",value:function(e){return this.getSizesMemod(e).length}},{key:"hasSize",value:function(e,t){return l["default"].any(t,function(t){var n=Math.min(t.width,t.height)+"x"+Math.max(t.width,t.height);return n===e})}},{key:"getSizeTds",value:function(e,t){var n=this,r=this.getSizesMemod(t);return l["default"].map(r,function(r){return n.hasSize(r,e.availablePieces[t])?h["default"].createElement("td",{style:{backgroundColor:e.color}},"•"):h["default"].createElement("td",null)})}},{key:"getRowTds",value:function(){var e=this,t=l["default"].sortBy(Object.values(m["default"]),"officialName");return l["default"].map(t,function(t){return h["default"].createElement("tr",null,h["default"].createElement("td",null,t.officialName),e.getSizeTds(t,"plate"),e.getSizeTds(t,"brick"),e.getSizeTds(t,"flat"))})}},{key:"getPieceHeaderThs",value:function(e){var t=this.getSizesMemod(e);return l["default"].map(t,function(e){return h["default"].createElement("th",null,h["default"].createElement("div",null,e))})}},{key:"render",value:function(){return h["default"].createElement("div",null,h["default"].createElement("p",null,"Not all color and size combos exist. This can affect the mosaic build. Be sure to try your image with flats, bricks and plates to find the best color combination."),h["default"].createElement("p",null,"Here is a chart of what is available on ",h["default"].createElement("a",{href:"http://shop.lego.com/en-US/Pick-A-Brick-ByTheme"},"Pick a Brick")),h["default"].createElement("table",{className:"availability-table"},h["default"].createElement("thead",null,h["default"].createElement("tr",null,h["default"].createElement("th",null),h["default"].createElement("th",{colSpan:this.getTotalNumberOfSizes("plate")},"plates"),h["default"].createElement("th",{colSpan:this.getTotalNumberOfSizes("brick")},"bricks"),h["default"].createElement("th",{colSpan:this.getTotalNumberOfSizes("flat")},"flats")),h["default"].createElement("tr",null,h["default"].createElement("th",null),this.getPieceHeaderThs("plate"),this.getPieceHeaderThs("brick"),this.getPieceHeaderThs("flat"))),h["default"].createElement("tbody",null,this.getRowTds())))}}]);var n=t;return t=g["default"](d["default"])(t)||t}(h["default"].Component);t["default"]=w,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),a=n(7),u=r(a),s=n(347),l=r(s),c=n(12),h=r(c),f=n(34),d=r(f),p=n(220),g=r(p),v=n(45),m=r(v),w=[{type:"plate",left:2,right:1,color:m["default"]["Dark Green"].color},{type:"brick",left:2,right:1,color:m["default"]["Bright Orange"].color},{type:"flat",left:2,right:1,color:m["default"]["Medium Blue"].color}],b=function(){function e(){i(this,t)}o(e,[{key:"render",value:function(){var e=this,t=w.map(function(t){var n="piece-type-container";e.props.choosable&&(n+=" choosable");var r=e.props.choosable&&d["default"].onPieceType.bind(d["default"],t.type);return u["default"].createElement("div",{key:t.type,onClick:r,className:e.props.chosenPieceType===t.type?n+" focused":n},u["default"].createElement(g["default"],{type:t.type,left:t.left,right:t.right,color:t.color}),u["default"].createElement("div",{className:"piece-type-title"},t.type,"s"))}),n="choose-piece-type";return this.props.choosable&&(n+=" choosable"),u["default"].createElement("div",{className:n},t,u["default"].createElement("div",{style:{clear:"both"}}))}}],[{key:"propTypes",value:{choosable:a.PropTypes.bool.isRequired,chosenPieceType:a.PropTypes.string},enumerable:!0}]);var t=e;return e=h["default"](l["default"])(e)||e}();t["default"]=b,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),a=n(7),u=r(a),s=n(348),l=r(s),c=n(12),h=r(c),f=n(34),d=r(f),p=[1,2,3,4],g=function(){function e(){i(this,t)}o(e,[{key:"render",value:function(){var e=this,t=p.map(function(t){var n=d["default"].onScale.bind(d["default"],t);return u["default"].createElement("div",{key:t,onClick:n,className:e.props.chosenScale===t?"scale-container focused":"scale-container"},u["default"].createElement("div",{className:"scale-title"},t,"x"))}),n="choose-scale";return this.props.choosable&&(n+=" choosable"),u["default"].createElement("div",{className:n},t,u["default"].createElement("div",{style:{clear:"both"}}))}}],[{key:"propTypes",value:{chosenScale:a.PropTypes.number.isRequired,choosable:a.PropTypes.bool.isRequired},enumerable:!0}]);var t=e;return e=h["default"](l["default"])(e)||e}();t["default"]=g,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),a=n(7),u=r(a),s=n(349),l=r(s),c=n(12),h=r(c),f=7.8,d=.0393701*f,p=d/12,g=function(){function e(){i(this,t)}o(e,[{key:"render",value:function(){var e=this.props.imgWidth*this.props.scale,t=this.props.imgHeight*this.props.scale,n=e*f,r=t*f,i=e*d,o=t*d,a=e*p,s=t*p,l=void 0,c=void 0;return a>1||s>1?(l=a.toFixed(2)+" x "+s.toFixed(2)+"ft",c=i.toFixed(2)+" x "+o.toFixed(2)+"in"):(l=i.toFixed(2)+" x "+o.toFixed(2)+"in",c=a.toFixed(2)+" x "+s.toFixed(2)+"ft"),u["default"].createElement("div",null,u["default"].createElement("div",{className:"dollars"},l),u["default"].createElement("div",null,c),u["default"].createElement("div",null,n.toFixed(0),"x",r.toFixed(0),"mm"),u["default"].createElement("div",null,e,"x",t,"px"))}}],[{key:"propTypes",value:{scale:a.PropTypes.number.isRequired,imgWidth:a.PropTypes.number.isRequired,imgHeight:a.PropTypes.number.isRequired},enumerable:!0}]);var t=e;return e=h["default"](l["default"])(e)||e}();t["default"]=g,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 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}}(),u=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},s=n(7),l=r(s),c=n(119),h=r(c),f=n(350),d=r(f),p=n(12),g=r(p),v=n(34),m=r(v),w=n(219),b=r(w),y=384,T=function(e){function t(e){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),this.state={}}o(t,e),a(t,null,[{key:"propTypes",value:{userAgent:s.PropTypes.string},enumerable:!0}]),a(t,[{key:"onImgUrl",value:function(e){var t=this,n=document.createElement("canvas"),r=n.getContext("2d"),i=new Image;i.onload=function(){return i.naturalWidth>y||i.naturalHeight>y?void t.setState({error:"The maximum image size is "+y+"x"+y+"px"}):void setTimeout(function(){n.width=i.naturalWidth,n.height=i.naturalHeight,r.drawImage(i,0,0);var e=r.getImageData(0,0,i.naturalWidth,i.naturalHeight).data;m["default"].onImageData(e,i.naturalWidth,i.naturalHeight),setTimeout(function(){m["default"].onImageDataUrl(n.toDataURL())},1)},1)},i.src=e}},{key:"onDrop",value:function(e){var t=new h["default"](window.navigator.userAgent);if("image/png"!==e[0].type&&"image/gif"!==e[0].type&&!t.mobile())return void this.setState({error:"only pngs or gifs will work"});this.setState({error:null});var n=URL.createObjectURL(e[0]);this.onImgUrl(n)}},{key:"render",value:function(){var e=void 0;return this.state.error&&(e=l["default"].createElement("div",{className:"error"},this.state.error)),l["default"].createElement("div",null,e,l["default"].createElement(b["default"],{userAgent:this.props.userAgent,onDrop:this.onDrop.bind(this)},l["default"].createElement("div",{className:"dropzone-explanation"},l["default"].createElement("div",null,"Drop a pixel art file here"),l["default"].createElement("div",null,"or click here to open a file dialog"))))}}]);var n=t;return t=g["default"](d["default"])(t)||t}(l["default"].Component);t["default"]=T,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 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}}(),u=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},s=n(7),l=r(s),c=n(119),h=r(c),f=n(351),d=r(f),p=n(12),g=r(p),v=n(8),m=function(e){function t(e){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),this.state={isDragActive:!1}}o(t,e),a(t,null,[{key:"contextTypes",value:{foo:s.PropTypes.string},enumerable:!0}]),a(t,[{key:"onDragLeave",value:function(){this.setState({isDragActive:!1})}},{key:"onDragOver",value:function(e){e.preventDefault(),e.dataTransfer.dropEffect="copy",this.setState({isDragActive:!0})}},{key:"onDrop",value:function(e){e.preventDefault(),this.setState({isDragActive:!1});var t;e.dataTransfer?t=e.dataTransfer.files:e.target&&(t=e.target.files);for(var n=this.props.multiple?t.length:1,r=0;n>r;r++)t[r].preview=URL.createObjectURL(t[r]);this.props.onDrop&&(t=Array.prototype.slice.call(t,0,n),this.props.onDrop(t,e))}},{key:"onClick",value:function(){this.open()}},{key:"open",value:function(){var e=l["default"].findDOMNode(this.refs.fileInput);e.value=null,e.click()}},{key:"render",value:function(){var e=this.props.userAgent||v.canUseDOM&&window.navigator.userAgent||"",t=new h["default"](e);return t.mobile()?l["default"].createElement("div",null,l["default"].createElement("h3",{className:"drag-header"},"Choose some pixel art"),l["default"].createElement("input",{className:"mobile-input-file",type:"file",ref:"fileInput",onChange:this.onDrop.bind(this)})):l["default"].createElement("div",{className:"drop-zone",
  onClick:this.onClick.bind(this),onDragLeave:this.onDragLeave,onDragOver:this.onDragOver.bind(this),onDrop:this.onDrop.bind(this)},l["default"].createElement("input",{style:{display:"none"},type:"file",ref:"fileInput",onChange:this.onDrop.bind(this)}),this.props.children)}}]);var n=t;return t=g["default"](d["default"])(t)||t}(l["default"].Component);m.propTypes={onDrop:l["default"].PropTypes.func.isRequired,supportClick:l["default"].PropTypes.bool,accept:l["default"].PropTypes.string},m.defaultProps={supportClick:!0,multiple:!0},t["default"]=m,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=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}}(),a=n(7),u=r(a),s=n(58),l=r(s),c=n(352),h=r(c),f=n(12),d=r(f),p=function(){function e(){i(this,t)}o(e,[{key:"getData",value:function(e){return e.replace("data:image/png;base64,","")}},{key:"getDots",value:function(e,t,n,r,i,o){if("flat"===e)return null;for(var a=24,s=[],l=23.5-a/2,c=0;i>c;++c)for(var h=0;o>h;++h){for(var f=0;3>f;++f){var d={backgroundColor:n,width:a,height:a,transform:"translateZ("+3*f+"px)",WebkitTransform:"translateZ("+3*f+"px)",borderRadius:"50%",top:47*c+l,left:47*h+l};s.push(u["default"].createElement("div",{key:"dark-stud-"+f+"-"+c+"-"+h,style:d}))}var p={backgroundColor:t,border:"1px solid "+n,width:a,height:a,transform:"translateZ(10px)",WebkitTransform:"translateZ(10px)",borderRadius:"50%",top:47*c+l,left:47*h+l};s.push(u["default"].createElement("div",{key:"light-stud-"+c+"-"+h,style:p}))}return s}},{key:"render",value:function(){var e=this.props.color,t=l["default"](e).darken(.3).hexString();"#000000"===l["default"](e).hexString()&&(t="#333333");var n=47*this.props.left,r=47*this.props.right,i="brick"===this.props.type?45:15,o=.7;return u["default"].createElement("div",{className:"piece-container",style:{width:(r+n)*o,height:(i+Math.sin(.78)*n)*o}},u["default"].createElement("div",{style:{width:r,height:i,position:"relative",perspective:1200,WebkitPerspective:1200}},u["default"].createElement("div",{className:"piece",style:{transform:"scale("+o+") translateX("+n/2+"px) translateY("+Math.sin(.3)*n+"px) rotateX(-25deg) rotateY(45deg)",WebkitTransform:"scale("+o+") translateX("+n/2+"px) translateY("+Math.sin(.3)*n+"px) rotateX(-25deg) rotateY(45deg)"}},u["default"].createElement("div",{className:"right",style:{backgroundColor:t,width:r,height:i,transform:"translateZ("+n/2+"px)",WebkitTransform:"translateZ("+n/2+"px)"}}),u["default"].createElement("div",{className:"left",style:{backgroundColor:t,width:n,height:i,left:r/2-n/2,transform:"rotateY(-90deg) translateZ("+r/2+"px)",WebkitTransform:"rotateY(-90deg) translateZ("+r/2+"px)"}}),u["default"].createElement("div",{className:"top",style:{transformStyle:"preserve-3d",WebkitTransformStyle:"preserve-3d",backgroundColor:e,width:r,height:n,top:i/2-n/2,transform:"rotateX(90deg) translateZ("+i/2+"px)",WebkitTransform:"rotateX(90deg) translateZ("+i/2+"px)"}},this.getDots(this.props.type,e,t,i,this.props.left,this.props.right)))))}}],[{key:"propTypes",value:{color:a.PropTypes.string.isRequired,left:a.PropTypes.number.isRequired,right:a.PropTypes.number.isRequired,type:a.PropTypes.string.isRequired},enumerable:!0}]);var t=e;return e=d["default"](h["default"])(e)||e}();t["default"]=p,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 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}}(),u=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},s=n(24),l=r(s),c=n(58),h=r(c),f=n(7),d=r(f),p=n(353),g=r(p),v=n(12),m=r(v),w=n(45),b=r(w),y=function(e){function t(e){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),this.state={showPieces:!1}}o(t,e),a(t,null,[{key:"propTypes",value:{pieces:f.PropTypes.array.isRequired,chosenPieceType:f.PropTypes.string.isRequired},enumerable:!0}]),a(t,[{key:"toggleBagged",value:function(e,t){var n={},r=""+e+t;n[r]=!this.state[r],this.setState(n)}},{key:"render",value:function(){var e=this,t=l["default"].groupBy(this.props.pieces,function(e){return e.value.officialName});t=l["default"].pairs(t),t=l["default"].sortBy(t,function(e){return e[0]}),t=l["default"].map(t,function(e){var t=l["default"].groupBy(e[1],function(e){return Math.min(e.width,e.height)+"x"+Math.max(e.width,e.height)});return t=l["default"].pairs(t),t=l["default"].sortBy(t,"0"),t=l["default"].map(t,function(e){var t=e[1][0].cost*e[1].length;return e.push(t),e[1]=e[1].length,e}),[e[0],t]});var n=l["default"].flatten(l["default"].map(t,function(t){return l["default"].map(t[1],function(n,r){var i=void 0;if(0===r){var o=b["default"][t[0]].color,a=h["default"](o).dark(),u=a?"simple-color-dark":"simple-color-light";i=d["default"].createElement("td",{rowSpan:t[1].length,className:u,style:{backgroundColor:o}},t[0])}var s=e.state[""+t[1]+n[0]];return d["default"].createElement("tr",{className:i&&"header-row",key:t[0]+"-"+n.join("-")},i,d["default"].createElement("td",{className:s&&"bagged"},n[0]),d["default"].createElement("td",{className:s&&"bagged"},n[1]),d["default"].createElement("td",{className:s&&"bagged"},"$",(n[2]/100).toFixed(2)),d["default"].createElement("td",null,d["default"].createElement("input",{type:"checkbox",onClick:e.toggleBagged.bind(e,t[1],n[0])})))})}));return d["default"].createElement("div",{className:"piece-list-container"},d["default"].createElement("table",null,d["default"].createElement("thead",null,d["default"].createElement("tr",null,d["default"].createElement("th",null,"Color"),d["default"].createElement("th",null,"size"),d["default"].createElement("th",null,"quantity"),d["default"].createElement("th",null,"price"),d["default"].createElement("th",null,"bagged"))),d["default"].createElement("tbody",null,n)))}}]);var n=t;return t=m["default"](g["default"])(t)||t}(d["default"].Component);t["default"]=y,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 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}}(),u=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},s=n(7),l=r(s),c=n(354),h=r(c),f=n(12),d=r(f),p=function(e){function t(e){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).call(this,e),this.state={fitToWindow:!0}}o(t,e),a(t,null,[{key:"propTypes",value:{pieces:s.PropTypes.array.isRequired,scale:s.PropTypes.number.isRequired,userScale:s.PropTypes.number.isRequired,imgWidth:s.PropTypes.number.isRequired,imgHeight:s.PropTypes.number.isRequired},enumerable:!0}]),a(t,[{key:"componentDidMount",value:function(){this.drawImage()}},{key:"componentDidUpdate",value:function(){this.drawImage()}},{key:"drawImage",value:function(){var e=this,t=this.props.scale,n=this.props.userScale;this.state.fitToWindow&&(t=(window.innerWidth-40)/(this.props.imgWidth*n));var r=l["default"].findDOMNode(this.refs.pieceMapCanvas);r.width=this.props.imgWidth*t*n,r.height=this.props.imgHeight*t*n;var i=r.getContext("2d");i.fillStyle="pink",i.fillRect(0,0,r.width,r.height),this.props.pieces.forEach(function(n){i.fillStyle=n.value.color;var r=n.x*t,o=n.y*t,a=n.width*t,u=n.height*t;e.state.hideBorders?i.fillRect(r,o,a,u):i.fillRect(r+1,o+1,a-2,u-2)})}},{key:"render",value:function(){var e=this;return l["default"].createElement("div",{className:"piece-map"},l["default"].createElement("div",{className:"piece-map-options"},l["default"].createElement("div",{className:"toggle-button "+(this.state.fitToWindow&&"toggled-on"),onClick:function(){return e.setState({fitToWindow:!e.state.fitToWindow})}},this.state.fitToWindow&&"✓"," fit to window"),l["default"].createElement("div",{className:"toggle-button "+(this.state.hideBorders&&"toggled-on"),onClick:function(){return e.setState({hideBorders:!e.state.hideBorders})}},this.state.hideBorders&&"✓"," hide brick borders")),l["default"].createElement("canvas",{ref:"pieceMapCanvas"}))}}]);var n=t;return t=d["default"](h["default"])(t)||t}(l["default"].Component);t["default"]=p,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){var t=e.reduce(function(e,t){return e+t.cost},0);return(t/100).toFixed(2)}Object.defineProperty(t,"__esModule",{value:!0});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}}(),u=n(7),s=r(u),l=n(355),c=r(l),h=n(12),f=r(h),d=function(){function e(){i(this,t)}a(e,[{key:"render",value:function(){return s["default"].createElement("div",null,s["default"].createElement("div",{className:"dollars"},"$",o(this.props.pieces)),s["default"].createElement("div",null,"at ",s["default"].createElement("a",{href:"http://shop.lego.com/en-US/Pick-A-Brick-ByTheme"},"Pick a Brick")))}}],[{key:"propTypes",value:{pieces:u.PropTypes.array.isRequired},enumerable:!0}]);var t=e;return e=f["default"](c["default"])(e)||e}();t["default"]=d,e.exports=t["default"]},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(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 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}}(),u=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;u=l=s=void 0,r=!1,null===i&&(i=Function.prototype);var u=Object.getOwnPropertyDescriptor(i,o);if(void 0!==u){if("value"in u)return u.value;var s=u.get;return void 0===s?void 0:s.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return void 0;e=l,t=o,n=a,r=!0}},s=n(7),l=r(s),c=n(356),h=r(c),f=n(12),d=r(f),p=n(34),g=r(p),v=function(e){function t(){i(this,n),u(Object.getPrototypeOf(n.prototype),"constructor",this).apply(this,arguments)}o(t,e),a(t,[{key:"onImgClick",value:function(){var e=l["default"].findDOMNode(this.refs.sampleImg),t=document.createElement("canvas"),n=t.getContext("2d");t.width=e.naturalWidth,t.height=e.naturalHeight,n.drawImage(e,0,0);var r=n.getImageData(0,0,e.naturalWidth,e.naturalHeight).data;g["default"].onImageData(r,e.naturalWidth,e.naturalHeight),g["default"].onImageDataUrl(t.toDataURL())}},{key:"render",value:function(){return l["default"].createElement("img",{className:"sample-image",ref:"sampleImg",src:this.props.src,onClick:this.onImgClick.bind(this)})}}],[{key:"propTypes",value:{src:s.PropTypes.string.isRequired},enumerable:!0}]);var n=t;return t=d["default"](h["default"])(t)||t}(l["default"].Component);t["default"]=v,e.exports=t["default"]},function(e,t,n){/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
  "use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(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 o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return function(){function t(){o(this,t)}return u(t,[{key:"getChildContext",value:function(){var e=this.props.context;return{onInsertCss:e.onInsertCss||h["default"],onSetTitle:e.onSetTitle||h["default"],onSetMeta:e.onSetMeta||h["default"],onPageNotFound:e.onPageNotFound||h["default"]}}},{key:"render",value:function(){var t=this.props,n=(t.context,i(t,["context"]));return l["default"].createElement(e,n)}}],[{key:"propTypes",value:{context:s.PropTypes.shape({onInsertCss:s.PropTypes.func,onSetTitle:s.PropTypes.func,onSetMeta:s.PropTypes.func,onPageNotFound:s.PropTypes.func})},enumerable:!0},{key:"childContextTypes",value:{onInsertCss:s.PropTypes.func.isRequired,onSetTitle:s.PropTypes.func.isRequired,onSetMeta:s.PropTypes.func.isRequired,onPageNotFound:s.PropTypes.func.isRequired},enumerable:!0}]),t}()}Object.defineProperty(t,"__esModule",{value:!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}}(),s=n(7),l=r(s),c=n(19),h=r(c);t["default"]=a,e.exports=t["default"]},function(e,t,n){/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */
  "use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){return s["default"].map(e,function(e){return e.x*=t,e.y*=t,e.width*=t,e.height*=t,e.area=e.width*e.height,e})}function o(e,t,n,r){setTimeout(function(){if(!e||!t||!n)return void r([]);var o=s["default"].map(I,function(r){var o=w["default"](e,r);return o=i(o,n),s["default"].flatten(s["default"].map(o,function(e){return y["default"](e,e.value,t,S["default"])}))}),a=s["default"].min(o,function(e){return s["default"].reduce(e,function(e,t){return e+t.cost},0)});r(a)},100)}function a(e){D=e,E=!1,O.emitChange()}Object.defineProperty(t,"__esModule",{value:!0});var u=n(24),s=r(u),l=n(249),c=r(l),h=n(110),f=r(h),d=n(109),p=r(d),g=n(207),v=r(g),m=n(210),w=r(m),b=n(206),y=r(b),T=n(45),S=r(T),_="change",E=!1,P=!1,C=!1,M="plate",x=1,A=[[]],D=[],k=void 0,I=[{x:1,y:1},{x:-1,y:1},{x:1,y:-1},{x:-1,y:-1}],O=Object.assign({},c["default"].prototype,{getCalculating:function(){return E},getPixelData:function(){return A},getShowAbout:function(){return P},getShowAvailability:function(){return C},getNeededPieces:function(){return D},getChosenPieceType:function(){return M},getChosenScale:function(){return x},getDataUrl:function(){return k},emitChange:function(){return this.emit(_)},onChange:function(e){this.on(_,e)},off:function(e){this.removeListener(_,e)}});O.dispatchToken=f["default"].register(function(e){switch(e.type){case p["default"].TOGGLE_ABOUT:P=!P,O.emitChange();break;case p["default"].TOGGLE_AVAILABILITY:C=!C,O.emitChange();break;case p["default"].IMAGE_DATA:A=v["default"](e.pixels,e.width,e.height),o(A,M,x,a),E=!0,O.emitChange();break;case p["default"].PIECE_TYPE:M=e.pieceType,o(A,M,x,a),E=!0,O.emitChange();break;case p["default"].CHOSEN_SCALE:x=e.chosenScale,o(A,M,x,a),E=!0,O.emitChange();break;case p["default"].IMAGE_DATA_URL:k=e.dataUrl,O.emitChange()}}),t["default"]=O,e.exports=t["default"]},function(e,t,n){e.exports=n(204)},function(e,t,n){function r(e,t,n){var r=n||"CIE76Difference";if(void 0===o[r])throw new Error('Method "'+r+'" is unknown. See implemented methods in ./lib/method directory.');var a=new o[r];return a.compare(new i(e),new i(t))}e.exports=function(){return r}();var i=n(229).HexRgb,o={EuclideanDistance:n(114),CIE76Difference:n(113)}},function(module,exports,__webpack_require__){(function(process){process.env.COLOR_MODEL_COVERAGE?eval('module.exports = require("./.coverage/lib");'):module.exports=__webpack_require__(230)}).call(exports,__webpack_require__(94))},function(e,t,n){e.exports={Component:n(35),AbstractModel:n(46),Xyz:n(118),Rgb:n(47),HexRgb:n(115),Lab:n(117),Hsl:n(116)}},function(e,t){function n(e){var t,n,r,i=e[0]/255,o=e[1]/255,a=e[2]/255,u=Math.min(i,o,a),s=Math.max(i,o,a),l=s-u;return s==u?t=0:i==s?t=(o-a)/l:o==s?t=2+(a-i)/l:a==s&&(t=4+(i-o)/l),t=Math.min(60*t,360),0>t&&(t+=360),r=(u+s)/2,n=s==u?0:.5>=r?l/(s+u):l/(2-s-u),[t,100*n,100*r]}function i(e){var t,n,r,i=e[0],o=e[1],a=e[2],u=Math.min(i,o,a),s=Math.max(i,o,a),l=s-u;return n=0==s?0:l/s*1e3/10,s==u?t=0:i==s?t=(o-a)/l:o==s?t=2+(a-i)/l:a==s&&(t=4+(i-o)/l),t=Math.min(60*t,360),0>t&&(t+=360),r=s/255*1e3/10,[t,n,r]}function o(e){var t=e[0],r=e[1],i=e[2],o=n(e)[0],a=1/255*Math.min(t,Math.min(r,i)),i=1-1/255*Math.max(t,Math.max(r,i));return[o,100*a,100*i]}function a(e){var t,n,r,i,o=e[0]/255,a=e[1]/255,u=e[2]/255;return i=Math.min(1-o,1-a,1-u),t=(1-o-i)/(1-i)||0,n=(1-a-i)/(1-i)||0,r=(1-u-i)/(1-i)||0,[100*t,100*n,100*r,100*i]}function u(e){return Q[JSON.stringify(e)]}function s(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92;var i=.4124*t+.3576*n+.1805*r,o=.2126*t+.7152*n+.0722*r,a=.0193*t+.1192*n+.9505*r;return[100*i,100*o,100*a]}function l(e){var t,n,r,i=s(e),o=i[0],a=i[1],u=i[2];return o/=95.047,a/=100,u/=108.883,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,u=u>.008856?Math.pow(u,1/3):7.787*u+16/116,t=116*a-16,n=500*(o-a),r=200*(a-u),[t,n,r]}function c(e){return B(l(e))}function h(e){var t,n,r,i,o,a=e[0]/360,u=e[1]/100,s=e[2]/100;if(0==u)return o=255*s,[o,o,o];n=.5>s?s*(1+u):s+u-s*u,t=2*s-n,i=[0,0,0];for(var l=0;3>l;l++)r=a+1/3*-(l-1),0>r&&r++,r>1&&r--,o=1>6*r?t+6*(n-t)*r:1>2*r?n:2>3*r?t+(n-t)*(2/3-r)*6:t,i[l]=255*o;return i}function f(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return 0===o?[0,0,0]:(o*=2,i*=1>=o?o:2-o,n=(o+i)/2,t=2*i/(o+i),[r,100*t,100*n])}function d(e){return o(h(e))}function p(e){return a(h(e))}function v(e){return u(h(e))}function m(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,o=t-Math.floor(t),a=255*r*(1-n),u=255*r*(1-n*o),s=255*r*(1-n*(1-o)),r=255*r;switch(i){case 0:return[r,s,a];case 1:return[u,r,a];case 2:return[a,r,s];case 3:return[a,u,r];case 4:return[s,a,r];case 5:return[r,a,u]}}function w(e){var t,n,r=e[0],i=e[1]/100,o=e[2]/100;return n=(2-i)*o,t=i*o,t/=1>=n?n:2-n,t=t||0,n/=2,[r,100*t,100*n]}function y(e){return o(m(e))}function T(e){return a(m(e))}function S(e){return u(m(e))}function _(e){var t,n,i,o,a=e[0]/360,u=e[1]/100,s=e[2]/100,l=u+s;switch(l>1&&(u/=l,s/=l),t=Math.floor(6*a),n=1-s,i=6*a-t,0!=(1&t)&&(i=1-i),o=u+i*(n-u),t){default:case 6:case 0:r=n,g=o,b=u;break;case 1:r=o,g=n,b=u;break;case 2:r=u,g=n,b=o;break;case 3:r=u,g=o,b=n;break;case 4:r=o,g=u,b=n;break;case 5:r=n,g=u,b=o}return[255*r,255*g,255*b]}function E(e){return n(_(e))}function P(e){return i(_(e))}function C(e){return a(_(e))}function M(e){return u(_(e))}function x(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100,u=e[3]/100;return t=1-Math.min(1,i*(1-u)+u),n=1-Math.min(1,o*(1-u)+u),r=1-Math.min(1,a*(1-u)+u),[255*t,255*n,255*r]}function A(e){return n(x(e))}function D(e){return i(x(e))}function k(e){return o(x(e))}function I(e){return u(x(e))}function O(e){var t,n,r,i=e[0]/100,o=e[1]/100,a=e[2]/100;return t=3.2406*i+-1.5372*o+a*-.4986,n=i*-.9689+1.8758*o+.0415*a,r=.0557*i+o*-.204+1.057*a,t=t>.0031308?1.055*Math.pow(t,1/2.4)-.055:t=12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n=12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:r=12.92*r,t=Math.min(Math.max(0,t),1),n=Math.min(Math.max(0,n),1),r=Math.min(Math.max(0,r),1),[255*t,255*n,255*r]}function N(e){var t,n,r,i=e[0],o=e[1],a=e[2];return i/=95.047,o/=100,a/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,t=116*o-16,n=500*(i-o),r=200*(o-a),[t,n,r]}function G(e){return B(N(e))}function R(e){var t,n,r,i,o=e[0],a=e[1],u=e[2];return 8>=o?(n=100*o/903.3,i=7.787*(n/100)+16/116):(n=100*Math.pow((o+16)/116,3),i=Math.pow(n/100,1/3)),t=.008856>=t/95.047?t=95.047*(a/500+i-16/116)/7.787:95.047*Math.pow(a/500+i,3),r=.008859>=r/108.883?r=108.883*(i-u/200-16/116)/7.787:108.883*Math.pow(i-u/200,3),[t,n,r]}function B(e){var t,n,r,i=e[0],o=e[1],a=e[2];return t=Math.atan2(a,o),n=360*t/2/Math.PI,0>n&&(n+=360),r=Math.sqrt(o*o+a*a),[i,r,n]}function L(e){return O(R(e))}function H(e){var t,n,r,i=e[0],o=e[1],a=e[2];return r=a/360*2*Math.PI,t=o*Math.cos(r),n=o*Math.sin(r),[i,t,n]}function F(e){return R(H(e))}function j(e){return L(H(e))}function V(e){return Y[e]}function U(e){return n(V(e))}function W(e){return i(V(e))}function z(e){return o(V(e))}function X(e){return a(V(e))}function K(e){return l(V(e))}function q(e){return s(V(e))}e.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:o,rgb2cmyk:a,rgb2keyword:u,rgb2xyz:s,rgb2lab:l,rgb2lch:c,hsl2rgb:h,hsl2hsv:f,hsl2hwb:d,hsl2cmyk:p,hsl2keyword:v,hsv2rgb:m,hsv2hsl:w,hsv2hwb:y,hsv2cmyk:T,hsv2keyword:S,hwb2rgb:_,hwb2hsl:E,hwb2hsv:P,hwb2cmyk:C,hwb2keyword:M,cmyk2rgb:x,cmyk2hsl:A,cmyk2hsv:D,cmyk2hwb:k,cmyk2keyword:I,keyword2rgb:V,keyword2hsl:U,keyword2hsv:W,keyword2hwb:z,keyword2cmyk:X,keyword2lab:K,keyword2xyz:q,xyz2rgb:O,xyz2lab:N,xyz2lch:G,lab2xyz:R,lab2rgb:L,lab2lch:B,lch2lab:H,lch2xyz:F,lch2rgb:j};var Y={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Q={};for(var $ in Y)Q[JSON.stringify(Y[$])]=$},function(e,t,n){var r=n(231),i=function(){return new l};for(var o in r){i[o+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),r[e](t)}}(o);var a=/(\w+)2(\w+)/.exec(o),u=a[1],s=a[2];i[u]=i[u]||{},i[u][s]=i[o]=function(e){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var n=r[e](t);if("string"==typeof n||void 0===n)return n;for(var i=0;i<n.length;i++)n[i]=Math.round(n[i]);return n}}(o)}var l=function(){this.convs={}};l.prototype.routeSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n))},l.prototype.setValues=function(e,t){return this.space=e,this.convs={},this.convs[e]=t,this},l.prototype.getValues=function(e){var t=this.convs[e];if(!t){var n=this.space,r=this.convs[n];t=i[n][e](r),this.convs[e]=t}return t},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){l.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=i},function(e,t,n){function r(e){if(e){var t=/^#([a-fA-F0-9]{3})$/,n=/^#([a-fA-F0-9]{6})$/,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,i=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/,o=/(\D+)/,a=[0,0,0],u=1,s=e.match(t);if(s){s=s[1];for(var l=0;l<a.length;l++)a[l]=parseInt(s[l]+s[l],16)}else if(s=e.match(n)){s=s[1];for(var l=0;l<a.length;l++)a[l]=parseInt(s.slice(2*l,2*l+2),16)}else if(s=e.match(r)){for(var l=0;l<a.length;l++)a[l]=parseInt(s[l+1]);u=parseFloat(s[4])}else if(s=e.match(i)){for(var l=0;l<a.length;l++)a[l]=Math.round(2.55*parseFloat(s[l+1]));u=parseFloat(s[4])}else if(s=e.match(o)){if("transparent"==s[1])return[0,0,0,0];if(a=y[s[1]],!a)return}for(var l=0;l<a.length;l++)a[l]=w(a[l],0,255);return u=u||0==u?w(u,0,1):1,a[3]=u,a}}function i(e){if(e){var t=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=parseFloat(n[4]),i=w(parseInt(n[1]),0,360),o=w(parseFloat(n[2]),0,100),a=w(parseFloat(n[3]),0,100),u=w(isNaN(r)?1:r,0,1);return[i,o,a,u]}}}function o(e){if(e){var t=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=parseFloat(n[4]),i=w(parseInt(n[1]),0,360),o=w(parseFloat(n[2]),0,100),a=w(parseFloat(n[3]),0,100),u=w(isNaN(r)?1:r,0,1);return[i,o,a,u]}}}function a(e){var t=r(e);return t&&t.slice(0,3)}function u(e){var t=i(e);return t&&t.slice(0,3)}function s(e){var t=r(e);return t?t[3]:(t=i(e))?t[3]:(t=o(e))?t[3]:void 0}function l(e){return"#"+b(e[0])+b(e[1])+b(e[2])}function c(e,t){return 1>t||e[3]&&e[3]<1?h(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function h(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function f(e,t){if(1>t||e[3]&&e[3]<1)return d(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"}function d(e,t){var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgba("+n+"%, "+r+"%, "+i+"%, "+(t||e[3]||1)+")"}function p(e,t){return 1>t||e[3]&&e[3]<1?g(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function g(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function v(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function m(e){return T[e.slice(0,3)]}function w(e,t,n){return Math.min(Math.max(t,e),n)}function b(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var y=n(234);e.exports={getRgba:r,getHsla:i,getRgb:a,getHsl:u,getHwb:o,getAlpha:s,hexString:l,rgbString:c,rgbaString:h,percentString:f,percentaString:d,hslString:p,hslaString:g,hwbString:v,keyword:m};var T={};for(var S in y)T[y[S]]=S},function(e,t){e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".about-mask{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,.7)}.about{position:fixed;z-index:10;top:15%;left:15%;width:70%;height:70%;padding:20px 20px 40px;background-color:#074987;color:#90a7bc;border:4px solid #fff;-webkit-box-shadow:7px 9px 20px 0 #575757;box-shadow:7px 9px 20px 0 #575757}.about .about-close,.about .about-footer{position:absolute;right:0;line-height:30px;background-color:#fff}.about a,.about b,.about h3{color:#fff}.about .about-close{top:0;width:30px;height:30px;color:#074987;text-align:center;cursor:pointer}.about .about-body{height:100%;overflow-y:auto}.about .about-footer{bottom:0;left:0;height:30px;color:#074987;text-align:right;padding-right:20px;font-size:.8em}.about .about-footer a{color:#074987;text-decoration:underline}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".about-link,.app-title,.loading{height:50px;line-height:50px;position:fixed;right:0;top:0}.loading{left:0;z-index:6;text-align:center;color:#c71414}.app-title{left:0;z-index:5;margin:0;padding:0 0 0 20px;width:100%;background-color:#fffcfc;color:#074987}.alpha{font-size:.5em}.about-link{margin-right:20px;z-index:6}.about-link a{color:#074987;text-decoration:none;cursor:pointer}.show-availability-link{display:inline-block;padding:10px 0 4px;color:#00f;text-decoration:underline}.drag-header,section.drag-section h2{color:#90a7bc}section{width:100%;padding:0 0 40px 20px}section h2{padding:5px 0 20px}section.first-section{margin-top:50px}section.drag-section{background-color:#074987}.drag-header{padding-top:10px}.samples-container{margin-left:30px}section.choose-section{background-color:#f2a60c}section.choose-section .choose-section-container{-webkit-transition:opacity .8s;-o-transition:opacity .8s;transition:opacity .8s;opacity:.2}section.choose-section .choose-section-container.choosable{opacity:1}section:last-of-type{border-bottom:0}@-webkit-keyframes fade-in{from{opacity:0}to{opacity:1}}@-o-keyframes fade-in{from{opacity:0}to{opacity:1}}@keyframes fade-in{from{opacity:0}to{opacity:1}}.results-container{background-color:#c71414;-webkit-animation:fade-in 1s;-o-animation:fade-in 1s;animation:fade-in 1s}.results-container h2{text-align:center;padding:10px;background-color:#007b28;color:#fff;font-size:1.3em;margin:0 0 40px -20px}.results-container .react-tabs [role=tab]{background-color:#777}.results-container .react-tabs [role=tab]:hover,.results-container .react-tabs [role=tab][aria-selected=true]{border-radius:0;background-color:#fff}.preview-image{width:60%;height:60%}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,'/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */article,aside,details,figcaption,figure,footer,header,hgroup,hr,main,menu,nav,section,summary{display:block}pre,textarea{overflow:auto}fieldset,hr,img,legend{border:0}body,fieldset,h1,h2,h3,h4{margin:0}fieldset,h1,h2,h3,h4,hr,legend,td,th{padding:0}body{background-color:#c71414}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{-ms-interpolation-mode:nearest-neighbor!important;image-rendering:-webkit-optimize-contrast!important;image-rendering:-moz-crisp-edges!important;image-rendering:-o-pixelated!important;image-rendering:pixelated!important}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:1px;border-top:1px solid #ccc;margin:1em 0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{resize:vertical}table{border-collapse:collapse;border-spacing:0}/*! React Starter Kit | MIT License | http://www.reactstarterkit.com/ */html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;color:#222;font-weight:100;font-size:1em;font-family:\'Segoe UI\',HelveticaNeue-Light,sans-serif;line-height:1.375}.focused{background-color:#fff!important}::-moz-selection{background:#b3d4fc;text-shadow:none}::selection{background:#b3d4fc;text-shadow:none}audio,canvas,iframe,img,svg,video{vertical-align:middle}.browserupgrade{margin:.2em 0;background:#ccc;color:#000;padding:.2em 0}@media print{blockquote,img,pre,tr{page-break-inside:avoid}*,:after,:before{background:0 0!important;color:#000!important;-webkit-box-shadow:none!important;box-shadow:none!important;text-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999}thead{display:table-header-group}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}}',""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".availability-table th,.availability-table tr td:first-child,.availability-table tr td:last-child{border-right:1px solid #fff}.availability-table{font-weight:700}.availability-table tr:nth-child(even){background-color:#ddd}.availability-table tr:nth-child(odd){background-color:#bbb}.availability-table td{font-size:12px;width:20px;text-align:center}.availability-table th{height:50px;width:20px;white-space:nowrap}.availability-table th>div{-webkit-transform:translate(0,15px) rotate(270deg);-ms-transform:translate(0,15px) rotate(270deg);-o-transform:translate(0,15px) rotate(270deg);transform:translate(0,15px) rotate(270deg);width:20px;font-size:12px;margin-bottom:5px}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".choose-piece-type .piece-type-container{padding:4px;height:120px;display:inline-block;margin:2px;background-color:#777;color:#000;float:left;position:relative;cursor:pointer}.choose-piece-type .piece-type-container.choosable:hover{background-color:#fff}.choose-piece-type .piece-type-title{position:absolute;bottom:10px}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".choose-scale{margin-top:20px}.choose-scale .scale-container{padding:10px;display:inline-block;margin:2px;background-color:#777;color:#000;cursor:pointer}.choose-scale .scale-container:hover{background-color:#fff}.choose-scale .scale-title{font-size:2em}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,"",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".dropzone-explanation{text-align:center;margin:auto}.error{background-color:red;color:#fff;padding:8px;font-weight:700}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".drop-zone{border:3px dashed #90a7bc;color:#90a7bc;padding:20px;text-align:center;min-height:140px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.mobile-input-file{margin:15px 0;color:#90a7bc}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".piece,.piece div,.piece-container ul{position:absolute}.piece{width:100%;height:100%;-webkit-transform-style:preserve-3d;transform-style:preserve-3d;display:inline-block}.piece div{display:block;text-align:center;font-weight:700;color:#fff}.piece-container ul li{position:absolute;list-style:none;border-radius:20px}.piece-container ul.dotsTall li{width:29px;height:19px}.piece-container ul.dots li{width:29px;height:9.5px}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".piece-list-container{padding-top:40px}.piece-list-container td,.piece-list-container th{padding:5px 20px;font-weight:700;text-align:center}.piece-list-container th{background-color:#fff;color:#000;font-weight:700}.piece-list-container tr:nth-child(odd){background:#bd5c5c}.piece-list-container tr.header-row{border-top:4px solid #fff}.piece-list-container td.bagged{text-decoration:line-through;font-weight:400}.piece-list-container .simple-color-dark{color:#fff}.piece-list-container .simple-color-light{color:#000}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".piece-map{min-height:450px;display:inline-block}.piece-map .piece-map-options{padding:20px}.toggle-button{display:inline-block;padding:10px;margin:5px;background-color:#777;color:#000;cursor:pointer}.toggle-button.toggled-on{background-color:#fff}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".dollars{font-size:3em;line-height:1em}",""])},function(e,t,n){t=e.exports=n(9)(),t.push([e.id,".sample-image{width:14%;height:14%;padding:5px;cursor:pointer}.sample-image:hover{background-color:#fff}.dropzone{display:inline-block}",""])},function(e,t){"use strict";function n(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function r(){}var i="function"!=typeof Object.create?"~":!1;r.prototype._events=void 0,r.prototype.listeners=function(e,t){var n=i?i+e:e,r=this._events&&this._events[n];if(t)return!!r;if(!r)return[];if(this._events[n].fn)return[this._events[n].fn];for(var o=0,a=this._events[n].length,u=new Array(a);a>o;o++)u[o]=this._events[n][o].fn;return u},r.prototype.emit=function(e,t,n,r,o,a){var u=i?i+e:e;if(!this._events||!this._events[u])return!1;var s,l,c=this._events[u],h=arguments.length;if("function"==typeof c.fn){switch(c.once&&this.removeListener(e,c.fn,void 0,!0),h){case 1:return c.fn.call(c.context),!0;case 2:return c.fn.call(c.context,t),!0;case 3:return c.fn.call(c.context,t,n),!0;case 4:return c.fn.call(c.context,t,n,r),!0;case 5:return c.fn.call(c.context,t,n,r,o),!0;case 6:return c.fn.call(c.context,t,n,r,o,a),!0}for(l=1,s=new Array(h-1);h>l;l++)s[l-1]=arguments[l];c.fn.apply(c.context,s)}else{var f,d=c.length;for(l=0;d>l;l++)switch(c[l].once&&this.removeListener(e,c[l].fn,void 0,!0),h){case 1:c[l].fn.call(c[l].context);break;case 2:c[l].fn.call(c[l].context,t);break;case 3:c[l].fn.call(c[l].context,t,n);break;default:if(!s)for(f=1,s=new Array(h-1);h>f;f++)s[f-1]=arguments[f];c[l].fn.apply(c[l].context,s)}}return!0},r.prototype.on=function(e,t,r){var o=new n(t,r||this),a=i?i+e:e;return this._events||(this._events=i?{}:Object.create(null)),this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):this._events[a]=o,this},r.prototype.once=function(e,t,r){var o=new n(t,r||this,!0),a=i?i+e:e;return this._events||(this._events=i?{}:Object.create(null)),this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):this._events[a]=o,this},r.prototype.removeListener=function(e,t,n,r){var o=i?i+e:e;if(!this._events||!this._events[o])return this;var a=this._events[o],u=[];if(t)if(a.fn)(a.fn!==t||r&&!a.once||n&&a.context!==n)&&u.push(a);else for(var s=0,l=a.length;l>s;s++)(a[s].fn!==t||r&&!a[s].once||n&&a[s].context!==n)&&u.push(a[s]);return u.length?this._events[o]=1===u.length?u[0]:u:delete this._events[o],this},r.prototype.removeAllListeners=function(e){return this._events?(e?delete this._events[i?i+e:e]:this._events=i?{}:Object.create(null),this):this},r.prototype.off=r.prototype.removeListener,r.prototype.addListener=r.prototype.on,r.prototype.setMaxListeners=function(){return this},r.prefixed=i,e.exports=r},function(e,t,n){var r;!function(){"use strict";/**
    	 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
    	 *
    	 * @codingstandard ftlabs-jsv2
    	 * @copyright The Financial Times Limited [All Rights Reserved]
    	 * @license MIT License (see LICENSE.txt)
    	 */
  function i(e,t){function n(e,t){return function(){return e.apply(t,arguments)}}var r;if(t=t||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=t.touchBoundary||10,this.layer=e,this.tapDelay=t.tapDelay||200,this.tapTimeout=t.tapTimeout||700,!i.notNeeded(e)){for(var o=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],u=this,s=0,l=o.length;l>s;s++)u[o[s]]=n(u[o[s]],u);a&&(e.addEventListener("mouseover",this.onMouse,!0),e.addEventListener("mousedown",this.onMouse,!0),e.addEventListener("mouseup",this.onMouse,!0)),e.addEventListener("click",this.onClick,!0),e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1),e.addEventListener("touchcancel",this.onTouchCancel,!1),Event.prototype.stopImmediatePropagation||(e.removeEventListener=function(t,n,r){var i=Node.prototype.removeEventListener;"click"===t?i.call(e,t,n.hijacked||n,r):i.call(e,t,n,r)},e.addEventListener=function(t,n,r){var i=Node.prototype.addEventListener;"click"===t?i.call(e,t,n.hijacked||(n.hijacked=function(e){e.propagationStopped||n(e)}),r):i.call(e,t,n,r)}),"function"==typeof e.onclick&&(r=e.onclick,e.addEventListener("click",function(e){r(e)},!1),e.onclick=null)}}var o=navigator.userAgent.indexOf("Windows Phone")>=0,a=navigator.userAgent.indexOf("Android")>0&&!o,u=/iP(ad|hone|od)/.test(navigator.userAgent)&&!o,s=u&&/OS 4_\d(_\d)?/.test(navigator.userAgent),l=u&&/OS [6-7]_\d/.test(navigator.userAgent),c=navigator.userAgent.indexOf("BB10")>0;i.prototype.needsClick=function(e){switch(e.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(e.disabled)return!0;break;case"input":if(u&&"file"===e.type||e.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(e.className)},i.prototype.needsFocus=function(e){switch(e.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!a;case"input":switch(e.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!e.disabled&&!e.readOnly;default:return/\bneedsfocus\b/.test(e.className)}},i.prototype.sendClick=function(e,t){var n,r;document.activeElement&&document.activeElement!==e&&document.activeElement.blur(),r=t.changedTouches[0],n=document.createEvent("MouseEvents"),n.initMouseEvent(this.determineEventType(e),!0,!0,window,1,r.screenX,r.screenY,r.clientX,r.clientY,!1,!1,!1,!1,0,null),n.forwardedTouchEvent=!0,e.dispatchEvent(n)},i.prototype.determineEventType=function(e){return a&&"select"===e.tagName.toLowerCase()?"mousedown":"click"},i.prototype.focus=function(e){var t;u&&e.setSelectionRange&&0!==e.type.indexOf("date")&&"time"!==e.type&&"month"!==e.type?(t=e.value.length,e.setSelectionRange(t,t)):e.focus()},i.prototype.updateScrollParent=function(e){var t,n;if(t=e.fastClickScrollParent,!t||!t.contains(e)){n=e;do{if(n.scrollHeight>n.offsetHeight){t=n,e.fastClickScrollParent=n;break}n=n.parentElement}while(n)}t&&(t.fastClickLastScrollTop=t.scrollTop)},i.prototype.getTargetElementFromEventTarget=function(e){return e.nodeType===Node.TEXT_NODE?e.parentNode:e},i.prototype.onTouchStart=function(e){var t,n,r;if(e.targetTouches.length>1)return!0;if(t=this.getTargetElementFromEventTarget(e.target),n=e.targetTouches[0],u){if(r=window.getSelection(),r.rangeCount&&!r.isCollapsed)return!0;if(!s){if(n.identifier&&n.identifier===this.lastTouchIdentifier)return e.preventDefault(),!1;this.lastTouchIdentifier=n.identifier,this.updateScrollParent(t)}}return this.trackingClick=!0,this.trackingClickStart=e.timeStamp,this.targetElement=t,this.touchStartX=n.pageX,this.touchStartY=n.pageY,e.timeStamp-this.lastClickTime<this.tapDelay&&e.preventDefault(),!0},i.prototype.touchHasMoved=function(e){var t=e.changedTouches[0],n=this.touchBoundary;return Math.abs(t.pageX-this.touchStartX)>n||Math.abs(t.pageY-this.touchStartY)>n?!0:!1},i.prototype.onTouchMove=function(e){return this.trackingClick?((this.targetElement!==this.getTargetElementFromEventTarget(e.target)||this.touchHasMoved(e))&&(this.trackingClick=!1,this.targetElement=null),!0):!0},i.prototype.findControl=function(e){return void 0!==e.control?e.control:e.htmlFor?document.getElementById(e.htmlFor):e.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},i.prototype.onTouchEnd=function(e){var t,n,r,i,o,c=this.targetElement;if(!this.trackingClick)return!0;if(e.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(e.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=e.timeStamp,n=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,l&&(o=e.changedTouches[0],c=document.elementFromPoint(o.pageX-window.pageXOffset,o.pageY-window.pageYOffset)||c,c.fastClickScrollParent=this.targetElement.fastClickScrollParent),r=c.tagName.toLowerCase(),"label"===r){if(t=this.findControl(c)){if(this.focus(c),a)return!1;c=t}}else if(this.needsFocus(c))return e.timeStamp-n>100||u&&window.top!==window&&"input"===r?(this.targetElement=null,!1):(this.focus(c),this.sendClick(c,e),u&&"select"===r||(this.targetElement=null,e.preventDefault()),!1);return u&&!s&&(i=c.fastClickScrollParent,i&&i.fastClickLastScrollTop!==i.scrollTop)?!0:(this.needsClick(c)||(e.preventDefault(),this.sendClick(c,e)),!1)},i.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},i.prototype.onMouse=function(e){return this.targetElement?e.forwardedTouchEvent?!0:e.cancelable&&(!this.needsClick(this.targetElement)||this.cancelNextClick)?(e.stopImmediatePropagation?e.stopImmediatePropagation():e.propagationStopped=!0,e.stopPropagation(),e.preventDefault(),!1):!0:!0},i.prototype.onClick=function(e){var t;return this.trackingClick?(this.targetElement=null,this.trackingClick=!1,!0):"submit"===e.target.type&&0===e.detail?!0:(t=this.onMouse(e),t||(this.targetElement=null),t)},i.prototype.destroy=function(){var e=this.layer;a&&(e.removeEventListener("mouseover",this.onMouse,!0),e.removeEventListener("mousedown",this.onMouse,!0),e.removeEventListener("mouseup",this.onMouse,!0)),e.removeEventListener("click",this.onClick,!0),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1),e.removeEventListener("touchcancel",this.onTouchCancel,!1)},i.notNeeded=function(e){var t,n,r,i;if("undefined"==typeof window.ontouchstart)return!0;if(n=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1]){if(!a)return!0;if(t=document.querySelector("meta[name=viewport]")){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(n>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}if(c&&(r=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),r[1]>=10&&r[2]>=3&&(t=document.querySelector("meta[name=viewport]")))){if(-1!==t.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}return"none"===e.style.msTouchAction||"manipulation"===e.style.touchAction?!0:(i=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],i>=27&&(t=document.querySelector("meta[name=viewport]"),t&&(-1!==t.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))?!0:"none"===e.style.touchAction||"manipulation"===e.style.touchAction?!0:!1)},i.attach=function(e,t){return new i(e,t)},r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t,n){e.exports.Dispatcher=n(252)},function(e,t,n){"use strict";function r(){this.$Dispatcher_callbacks={},this.$Dispatcher_isPending={},this.$Dispatcher_isHandled={},this.$Dispatcher_isDispatching=!1,this.$Dispatcher_pendingPayload=null}var i=n(253),o=1,a="ID_";r.prototype.register=function(e){var t=a+o++;return this.$Dispatcher_callbacks[t]=e,t},r.prototype.unregister=function(e){i(this.$Dispatcher_callbacks[e],"Dispatcher.unregister(...): `%s` does not map to a registered callback.",e),delete this.$Dispatcher_callbacks[e]},r.prototype.waitFor=function(e){i(this.$Dispatcher_isDispatching,"Dispatcher.waitFor(...): Must be invoked while dispatching.");for(var t=0;t<e.length;t++){var n=e[t];this.$Dispatcher_isPending[n]?i(this.$Dispatcher_isHandled[n],"Dispatcher.waitFor(...): Circular dependency detected while waiting for `%s`.",n):(i(this.$Dispatcher_callbacks[n],"Dispatcher.waitFor(...): `%s` does not map to a registered callback.",n),this.$Dispatcher_invokeCallback(n))}},r.prototype.dispatch=function(e){i(!this.$Dispatcher_isDispatching,"Dispatch.dispatch(...): Cannot dispatch in the middle of a dispatch."),this.$Dispatcher_startDispatching(e);try{for(var t in this.$Dispatcher_callbacks)this.$Dispatcher_isPending[t]||this.$Dispatcher_invokeCallback(t)}finally{this.$Dispatcher_stopDispatching()}},r.prototype.isDispatching=function(){return this.$Dispatcher_isDispatching},r.prototype.$Dispatcher_invokeCallback=function(e){this.$Dispatcher_isPending[e]=!0,this.$Dispatcher_callbacks[e](this.$Dispatcher_pendingPayload),this.$Dispatcher_isHandled[e]=!0},r.prototype.$Dispatcher_startDispatching=function(e){for(var t in this.$Dispatcher_callbacks)this.$Dispatcher_isPending[t]=!1,this.$Dispatcher_isHandled[t]=!1;this.$Dispatcher_pendingPayload=e,this.$Dispatcher_isDispatching=!0},r.prototype.$Dispatcher_stopDispatching=function(){this.$Dispatcher_pendingPayload=null,this.$Dispatcher_isDispatching=!1},e.exports=r},function(e,t){"use strict";var n=function(e,t,n,r,i,o,a,u){if(!e){var s;if(void 0===t)s=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,i,o,a,u],c=0;s=new Error("Invariant Violation: "+t.replace(/%s/g,function(){return l[c++]}))}throw s.framesToPop=1,s}};e.exports=n},function(e,t,n){var r=n(7);e.exports=r.createClass({displayName:"TabPanel",getDefaultProps:function(){return{selected:!1,id:null,tabId:null}},render:function(){var e=this.props.selected?this.props.children:null;return r.DOM.div({role:"tabpanel",id:this.props.id,"aria-labeledby":this.props.tabId,style:{display:this.props.selected?null:"none"}},e)}})},function(e,t,n){function r(e){return"LI"===e.nodeName&&"tab"===e.getAttribute("role")}var i=n(261),o=n(260),a=n(258),u=n(256);e.exports=i.createClass({displayName:"Tabs",propTypes:{selectedIndex:i.PropTypes.number,onSelect:i.PropTypes.func,focus:i.PropTypes.bool,children:u},getDefaultProps:function(){return{selectedIndex:-1,focus:!1}},getInitialState:function(){return this.copyPropsToState(this.props)},componentWillReceiveProps:function(e){this.setState(this.copyPropsToState(e))},componentWillMount:function(){o(n(257))},copyPropsToState:function(e){var t=e.selectedIndex;return-1===t&&(t=this.state&&this.state.selectedIndex?this.state.selectedIndex:0),{selectedIndex:t,focus:e.focus}},setSelected:function(e,t){if(e!==this.state.selectedIndex&&!(0>e||e>=this.getTabsCount())){var n=this.state.selectedIndex;this.setState({selectedIndex:e,focus:t===!0}),"function"==typeof this.props.onSelect&&this.props.onSelect(e,n)}},getTabsCount:function(){return this.props.children&&this.props.children[0]?i.Children.count(this.props.children[0].props.children):0},getPanelsCount:function(){return i.Children.count(this.props.children.slice(1))},getTabList:function(){return this.refs.tablist},getTab:function(e){return this.refs["tabs-"+e]},getPanel:function(e){return this.refs["panels-"+e]},handleClick:function(e){var t=e.target;do if(r(t)){var n=[].slice.call(t.parentNode.children).indexOf(t);return void this.setSelected(n)}while(t=t.parentNode)},handleKeyDown:function(e){if(r(e.target)){var t=this.state.selectedIndex,n=this.getTabsCount()-1,i=!1;37===e.keyCode||38===e.keyCode?(t-=1,i=!0,0>t&&(t=n)):(39===e.keyCode||40===e.keyCode)&&(t+=1,i=!0,t>n&&(t=0)),i&&e.preventDefault(),this.setSelected(t,!0)}},getChildren:function(){for(var e=0,t=0,n=this.props.children,r=this.state,o=this.tabIds=this.tabIds||[],u=this.panelIds=this.panelIds||[],s=this.tabIds.length-this.getTabsCount();s++<0;)o.push(a()),u.push(a());return i.Children.map(n,function(n){var a=null;if(0===t++)a=i.addons.cloneWithProps(n,{ref:"tablist",children:i.Children.map(n.props.children,function(t){var n="tabs-"+e,a=o[e],s=u[e],l=r.selectedIndex===e,c=l&&r.focus;return e++,i.addons.cloneWithProps(t,{ref:n,id:a,panelId:s,selected:l,focus:c})})}),e=0;else{var s="panels-"+e,l=u[e],c=o[e],h=r.selectedIndex===e;e++,a=i.addons.cloneWithProps(n,{ref:s,id:l,tabId:c,selected:h})}return a})},render:function(){return this.state.focus&&setTimeout(function(){this.state.focus=!1}.bind(this),0),i.DOM.div({className:"react-tabs",onClick:this.handleClick,onKeyDown:this.handleKeyDown},this.getChildren())}})},function(e,t,n){var r=n(7),i=n(120),o=n(121);e.exports=function(e,t,n){var a,u=e[t],s=0,l=0;return r.Children.forEach(u,function(e){e.type===o?r.Children.forEach(e.props.children,function(e){e.type===i?s++:a=new Error("Expected `Tab` but found `"+(e.type.displayName||e.type)+"`")}):"TabPanel"===e.type.displayName?l++:a=new Error("Expected `TabList` or `TabPanel` but found `"+(e.type.displayName||e.type)+"`")}),s!==l&&(a=new Error("There should be an equal number of `Tabs` and `TabPanels`. Received "+s+" `Tabs` and "+l+" `TabPanels`.")),a}},function(e,t){e.exports={".react-tabs [role=tablist]":{"border-bottom":"1px solid #aaa",margin:"0 0 10px",padding:"0"},".react-tabs [role=tab]":{display:"inline-block",border:"1px solid transparent","border-bottom":"none",bottom:"-1px",position:"relative","list-style":"none",padding:"6px 12px",cursor:"pointer"},".react-tabs [role=tab][aria-selected=true]":{background:"#fff","border-color":"#aaa","border-radius":"5px 5px 0 0","-moz-border-radius":"5px 5px 0 0","-webkit-border-radius":"5px 5px 0 0"},".react-tabs [role=tab]:focus":{"box-shadow":"0 0 5px hsl(208, 99%, 50%)","border-color":"hsl(208, 99%, 50%)",outline:"none"},".react-tabs [role=tab]:focus:after":{content:'""',position:"absolute",height:"5px",left:"-4px",right:"-4px",bottom:"-5px",background:"#fff"}}},function(e,t){e.exports=function(){var e=0;return function(){return"react-tabs-"+e++}}()},function(e,t,n){e.exports={Tabs:n(255),TabList:n(121),Tab:n(120),TabPanel:n(254)}},function(e,t,n){!function(){function t(e){var t=[];for(var r in e)t.push(n(r,e[r]));i(t)}function n(e,t){return e+" {\n"+r(t)+"\n}"}function r(e){var t=[];for(var n in e)t.push("  "+n+": "+e[n]+";");return t.join("\n")}function i(e){var t=document.getElementById("jss-styles");if(!t){t=document.createElement("style"),t.setAttribute("id","jss-styles");var n=document.getElementsByTagName("head")[0];n.insertBefore(t,n.firstChild)}var r=document.createTextNode(e.join("\n\n"));t.appendChild(r)}e.exports=t}()},function(e,t,n){e.exports=n(307)},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 i(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function o(e){switch(e){case x.topCompositionStart:return A.compositionStart;case x.topCompositionEnd:return A.compositionEnd;case x.topCompositionUpdate:return A.compositionUpdate}}function a(e,t){return e===x.topKeyDown&&t.keyCode===T}function u(e,t){switch(e){case x.topKeyUp:return-1!==y.indexOf(t.keyCode);case x.topKeyDown:return t.keyCode!==T;case x.topKeyPress:case x.topMouseDown:case x.topBlur:return!0;default:return!1}}function s(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function l(e,t,n,r){var i,l;if(S?i=o(e):k?u(e,r)&&(i=A.compositionEnd):a(e,r)&&(i=A.compositionStart),!i)return null;P&&(k||i!==A.compositionStart?i===A.compositionEnd&&k&&(l=k.getData()):k=v.getPooled(t));var c=m.getPooled(i,n,r);if(l)c.data=l;else{var h=s(r);null!==h&&(c.data=h)}return p.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case x.topCompositionEnd:return s(t);case x.topKeyPress:var n=t.which;return n!==C?null:(D=!0,M);case x.topTextInput:var r=t.data;return r===M&&D?null:r;default:return null}}function h(e,t){if(k){if(e===x.topCompositionEnd||u(e,t)){var n=k.getData();return v.release(k),k=null,n}return null}switch(e){case x.topPaste:return null;case x.topKeyPress:return t.which&&!i(t)?String.fromCharCode(t.which):null;case x.topCompositionEnd:return P?null:t.data;default:return null}}function f(e,t,n,r){var i;if(i=E?c(e,r):h(e,r),!i)return null;var o=w.getPooled(A.beforeInput,n,r);return o.data=i,p.accumulateTwoPhaseDispatches(o),o}var d=n(16),p=n(50),g=n(8),v=n(271),m=n(313),w=n(316),b=n(21),y=[9,13,27,32],T=229,S=g.canUseDOM&&"CompositionEvent"in window,_=null;g.canUseDOM&&"documentMode"in document&&(_=document.documentMode);var E=g.canUseDOM&&"TextEvent"in window&&!_&&!r(),P=g.canUseDOM&&(!S||_&&_>8&&11>=_),C=32,M=String.fromCharCode(C),x=d.topLevelTypes,A={beforeInput:{phasedRegistrationNames:{bubbled:b({onBeforeInput:null}),captured:b({onBeforeInputCapture:null})},dependencies:[x.topCompositionEnd,x.topKeyPress,x.topTextInput,x.topPaste]},compositionEnd:{phasedRegistrationNames:{bubbled:b({onCompositionEnd:null}),captured:b({onCompositionEndCapture:null})},dependencies:[x.topBlur,x.topCompositionEnd,x.topKeyDown,x.topKeyPress,x.topKeyUp,x.topMouseDown]},compositionStart:{phasedRegistrationNames:{bubbled:b({onCompositionStart:null}),captured:b({onCompositionStartCapture:null})},dependencies:[x.topBlur,x.topCompositionStart,x.topKeyDown,x.topKeyPress,x.topKeyUp,x.topMouseDown]},compositionUpdate:{phasedRegistrationNames:{bubbled:b({onCompositionUpdate:null}),captured:b({onCompositionUpdateCapture:null})},dependencies:[x.topBlur,x.topCompositionUpdate,x.topKeyDown,x.topKeyPress,x.topKeyUp,x.topMouseDown]}},D=!1,k=null,I={eventTypes:A,extractEvents:function(e,t,n,r){return[l(e,t,n,r),f(e,t,n,r)]}};e.exports=I},function(e,t,n){var r=n(2),i={addClass:function(e,t){return r(!/\s/.test(t)),t&&(e.classList?e.classList.add(t):i.hasClass(e,t)||(e.className=e.className+" "+t)),e},removeClass:function(e,t){return r(!/\s/.test(t)),t&&(e.classList?e.classList.remove(t):i.hasClass(e,t)&&(e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,""))),e},conditionClass:function(e,t,n){return(n?i.addClass:i.removeClass)(e,t)},hasClass:function(e,t){return r(!/\s/.test(t)),e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}};e.exports=i},function(e,t,n){"use strict";function r(e){return"SELECT"===e.nodeName||"INPUT"===e.nodeName&&"file"===e.type}function i(e){var t=_.getPooled(x.change,D,e);y.accumulateTwoPhaseDispatches(t),S.batchedUpdates(o,t)}function o(e){b.enqueueEvents(e),b.processEventQueue()}function a(e,t){A=e,D=t,A.attachEvent("onchange",i)}function u(){A&&(A.detachEvent("onchange",i),A=null,D=null)}function s(e,t,n){return e===M.topChange?n:void 0}function l(e,t,n){e===M.topFocus?(u(),a(t,n)):e===M.topBlur&&u()}function c(e,t){A=e,D=t,k=e.value,I=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",G),A.attachEvent("onpropertychange",f)}function h(){A&&(delete A.value,A.detachEvent("onpropertychange",f),A=null,D=null,k=null,I=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==k&&(k=t,i(e))}}function d(e,t,n){return e===M.topInput?n:void 0}function p(e,t,n){e===M.topFocus?(h(),c(t,n)):e===M.topBlur&&h()}function g(e,t,n){return e!==M.topSelectionChange&&e!==M.topKeyUp&&e!==M.topKeyDown||!A||A.value===k?void 0:(k=A.value,D)}function v(e){return"INPUT"===e.nodeName&&("checkbox"===e.type||"radio"===e.type)}function m(e,t,n){return e===M.topClick?n:void 0}var w=n(16),b=n(49),y=n(50),T=n(8),S=n(18),_=n(31),E=n(91),P=n(146),C=n(21),M=w.topLevelTypes,x={change:{phasedRegistrationNames:{bubbled:C({onChange:null}),captured:C({onChangeCapture:null})},dependencies:[M.topBlur,M.topChange,M.topClick,M.topFocus,M.topInput,M.topKeyDown,M.topKeyUp,M.topSelectionChange]}},A=null,D=null,k=null,I=null,O=!1;T.canUseDOM&&(O=E("change")&&(!("documentMode"in document)||document.documentMode>8));var N=!1;T.canUseDOM&&(N=E("input")&&(!("documentMode"in document)||document.documentMode>9));var G={get:function(){return I.get.call(this)},set:function(e){k=""+e,I.set.call(this,e)}},R={eventTypes:x,extractEvents:function(e,t,n,i){var o,a;if(r(t)?O?o=s:a=l:P(t)?N?o=d:(o=g,a=p):v(t)&&(o=m),o){var u=o(e,t,n);if(u){var c=_.getPooled(x.change,u,i);return y.accumulateTwoPhaseDispatches(c),c}}a&&a(e,t,n)}};e.exports=R},function(e,t){"use strict";var n=0,r={createReactRootIndex:function(){return n++}};e.exports=r},function(e,t,n){"use strict";function r(e,t,n){e.insertBefore(t,e.childNodes[n]||null)}var i=n(267),o=n(131),a=n(340),u=n(2),s={dangerouslyReplaceNodeWithMarkup:i.dangerouslyReplaceNodeWithMarkup,updateTextContent:a,processUpdates:function(e,t){for(var n,s=null,l=null,c=0;c<e.length;c++)if(n=e[c],n.type===o.MOVE_EXISTING||n.type===o.REMOVE_NODE){var h=n.fromIndex,f=n.parentNode.childNodes[h],d=n.parentID;u(f),s=s||{},s[d]=s[d]||[],s[d][h]=f,l=l||[],l.push(f)}var p=i.dangerouslyRenderMarkup(t);if(l)for(var g=0;g<l.length;g++)l[g].parentNode.removeChild(l[g]);for(var v=0;v<e.length;v++)switch(n=e[v],n.type){case o.INSERT_MARKUP:r(n.parentNode,p[n.markupIndex],n.toIndex);break;case o.MOVE_EXISTING:r(n.parentNode,s[n.parentID][n.fromIndex],n.toIndex);break;case o.TEXT_CONTENT:a(n.parentNode,n.textContent);break;case o.REMOVE_NODE:}}};e.exports=s},function(e,t,n){"use strict";function r(e){return e.substring(1,e.indexOf(" "))}var i=n(8),o=n(325),a=n(19),u=n(143),s=n(2),l=/^(<[^ \/>]+)/,c="data-danger-index",h={dangerouslyRenderMarkup:function(e){s(i.canUseDOM);for(var t,n={},h=0;h<e.length;h++)s(e[h]),t=r(e[h]),t=u(t)?t:"*",n[t]=n[t]||[],n[t][h]=e[h];var f=[],d=0;for(t in n)if(n.hasOwnProperty(t)){var p,g=n[t];for(p in g)if(g.hasOwnProperty(p)){var v=g[p];g[p]=v.replace(l,"$1 "+c+'="'+p+'" ')}for(var m=o(g.join(""),a),w=0;w<m.length;++w){var b=m[w];b.hasAttribute&&b.hasAttribute(c)&&(p=+b.getAttribute(c),b.removeAttribute(c),s(!f.hasOwnProperty(p)),f[p]=b,d+=1)}}return s(d===f.length),s(f.length===e.length),f},dangerouslyReplaceNodeWithMarkup:function(e,t){s(i.canUseDOM),s(t),s("html"!==e.tagName.toLowerCase());var n=o(t,a)[0];e.parentNode.replaceChild(n,e)}};e.exports=h},function(e,t,n){"use strict";var r=n(21),i=[r({ResponderEventPlugin:null}),r({SimpleEventPlugin:null}),r({TapEventPlugin:null}),r({EnterLeaveEventPlugin:null}),r({ChangeEventPlugin:null}),r({SelectEventPlugin:null}),r({BeforeInputEventPlugin:null}),r({AnalyticsEventPlugin:null}),r({MobileSafariClickEventPlugin:null})];e.exports=i},function(e,t,n){"use strict";var r=n(16),i=n(50),o=n(62),a=n(28),u=n(21),s=r.topLevelTypes,l=a.getFirstReactDOM,c={mouseEnter:{registrationName:u({onMouseEnter:null}),dependencies:[s.topMouseOut,s.topMouseOver]},mouseLeave:{registrationName:u({onMouseLeave:null}),dependencies:[s.topMouseOut,s.topMouseOver]}},h=[null,null],f={eventTypes:c,extractEvents:function(e,t,n,r){if(e===s.topMouseOver&&(r.relatedTarget||r.fromElement))return null;if(e!==s.topMouseOut&&e!==s.topMouseOver)return null;var u;if(t.window===t)u=t;else{var f=t.ownerDocument;u=f?f.defaultView||f.parentWindow:window}var d,p;if(e===s.topMouseOut?(d=t,p=l(r.relatedTarget||r.toElement)||u):(d=u,p=t),d===p)return null;var g=d?a.getID(d):"",v=p?a.getID(p):"",m=o.getPooled(c.mouseLeave,g,r);m.type="mouseleave",m.target=d,m.relatedTarget=p;var w=o.getPooled(c.mouseEnter,v,r);return w.type="mouseenter",w.target=p,w.relatedTarget=d,i.accumulateEnterLeaveDispatches(m,w,g,v),h[0]=m,h[1]=w,h}};e.exports=f},function(e,t,n){var r=n(19),i={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=i},function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var i=n(25),o=n(4),a=n(144);o(r.prototype,{getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,i=this.getText(),o=i.length;for(e=0;r>e&&n[e]===i[e];e++);var a=r-e;for(t=1;a>=t&&n[r-t]===i[o-t];t++);var u=t>1?1-t:void 0;return this._fallbackText=i.slice(e,u),this._fallbackText}}),i.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";var r,i=n(36),o=n(8),a=i.injection.MUST_USE_ATTRIBUTE,u=i.injection.MUST_USE_PROPERTY,s=i.injection.HAS_BOOLEAN_VALUE,l=i.injection.HAS_SIDE_EFFECTS,c=i.injection.HAS_NUMERIC_VALUE,h=i.injection.HAS_POSITIVE_NUMERIC_VALUE,f=i.injection.HAS_OVERLOADED_BOOLEAN_VALUE;if(o.canUseDOM){var d=document.implementation;r=d&&d.hasFeature&&d.hasFeature("http://www.w3.org/TR/SVG11/feature#BasicStructure","1.1")}var p={isCustomAttribute:RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/),Properties:{accept:null,acceptCharset:null,accessKey:null,action:null,allowFullScreen:a|s,allowTransparency:a,alt:null,async:s,autoComplete:null,autoPlay:s,cellPadding:null,cellSpacing:null,charSet:a,checked:u|s,classID:a,className:r?a:u,cols:a|h,colSpan:null,content:null,contentEditable:null,contextMenu:a,controls:u|s,coords:null,crossOrigin:null,data:null,dateTime:a,defer:s,dir:null,disabled:a|s,download:f,draggable:null,encType:null,form:a,formAction:a,formEncType:a,formMethod:a,formNoValidate:s,formTarget:a,frameBorder:a,headers:null,height:a,hidden:a|s,high:null,href:null,hrefLang:null,htmlFor:null,httpEquiv:null,icon:null,id:u,label:null,lang:null,list:a,loop:u|s,low:null,manifest:a,marginHeight:null,marginWidth:null,max:null,maxLength:a,media:a,mediaGroup:null,method:null,min:null,multiple:u|s,muted:u|s,name:null,noValidate:s,open:s,optimum:null,pattern:null,placeholder:null,poster:null,preload:null,radioGroup:null,readOnly:u|s,rel:null,required:s,role:a,rows:a|h,rowSpan:null,sandbox:null,scope:null,scoped:s,scrolling:null,seamless:a|s,selected:u|s,shape:null,size:a|h,sizes:a,span:h,spellCheck:null,src:null,srcDoc:u,srcSet:a,start:c,step:null,style:null,tabIndex:null,target:null,title:null,type:null,useMap:null,value:u|l,width:a,wmode:a,autoCapitalize:null,autoCorrect:null,itemProp:a,itemScope:a|s,itemType:a,itemID:a,itemRef:a,property:null,unselectable:a},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{autoCapitalize:"autocapitalize",autoComplete:"autocomplete",autoCorrect:"autocorrect",autoFocus:"autofocus",autoPlay:"autoplay",encType:"encoding",hrefLang:"hreflang",radioGroup:"radiogroup",spellCheck:"spellcheck",srcDoc:"srcdoc",srcSet:"srcset"}};e.exports=p},function(e,t,n){"use strict";var r=n(296),i=n(304),o={linkState:function(e){return new r(this.state[e],i.createStateKeySetter(this,e))}};e.exports=o},function(e,t,n){"use strict";var r=n(16),i=n(19),o=r.topLevelTypes,a={eventTypes:null,extractEvents:function(e,t,n,r){if(e===o.topTouchStart){var a=r.target;a&&!a.onclick&&(a.onclick=i)}}};e.exports=a},function(e,t,n){"use strict";var r=n(37),i=n(4),o=r.createFactory(n(135)),a=r.createFactory(n(276)),u=r.createClass({displayName:"ReactCSSTransitionGroup",propTypes:{transitionName:r.PropTypes.string.isRequired,transitionAppear:r.PropTypes.bool,transitionEnter:r.PropTypes.bool,transitionLeave:r.PropTypes.bool},getDefaultProps:function(){return{transitionAppear:!1,transitionEnter:!0,transitionLeave:!0}},_wrapChild:function(e){return a({name:this.props.transitionName,appear:this.props.transitionAppear,enter:this.props.transitionEnter,leave:this.props.transitionLeave},e)},render:function(){return o(i({},this.props,{childFactory:this._wrapChild}))}});e.exports=u},function(e,t,n){"use strict";var r=n(37),i=n(263),o=n(306),a=n(147),u=(n(5),17),s=r.createClass({displayName:"ReactCSSTransitionGroupChild",transition:function(e,t){var n=this.getDOMNode(),r=this.props.name+"-"+e,a=r+"-active",u=function(e){e&&e.target!==n||(i.removeClass(n,r),i.removeClass(n,a),o.removeEndEventListener(n,u),t&&t())};o.addEndEventListener(n,u),i.addClass(n,r),this.queueClass(a)},queueClass:function(e){this.classNameQueue.push(e),this.timeout||(this.timeout=setTimeout(this.flushClassNameQueue,u))},flushClassNameQueue:function(){this.isMounted()&&this.classNameQueue.forEach(i.addClass.bind(i,this.getDOMNode())),this.classNameQueue.length=0,this.timeout=null},componentWillMount:function(){this.classNameQueue=[]},componentWillUnmount:function(){this.timeout&&clearTimeout(this.timeout)},componentWillAppear:function(e){this.props.appear?this.transition("appear",e):e()},componentWillEnter:function(e){this.props.enter?this.transition("enter",e):e()},componentWillLeave:function(e){this.props.leave?this.transition("leave",e):e()},render:function(){return a(this.props.children)}});e.exports=s},function(e,t,n){"use strict";var r=n(42),i=n(328),o=n(90),a=n(93),u={instantiateChildren:function(e,t,n){var r=i(e);for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=o(u,null);r[a]=s}return r},updateChildren:function(e,t,n,u){var s=i(t);if(!s&&!e)return null;var l;for(l in s)if(s.hasOwnProperty(l)){var c=e&&e[l],h=c&&c._currentElement,f=s[l];if(a(h,f))r.receiveComponent(c,f,n,u),s[l]=c;else{c&&r.unmountComponent(c,l);var d=o(f,null);s[l]=d}}for(l in e)!e.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||r.unmountComponent(e[l]);return s},unmountChildren:function(e){for(var t in e){var n=e[t];r.unmountComponent(n)}}};e.exports=u},function(e,t,n){"use strict";var r=n(148),i={shouldComponentUpdate:function(e,t){return!r(this.props,e)||!r(this.state,t)}};e.exports=i},function(e,t,n){"use strict";function r(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" Check the render method of `"+n+"`."}return""}var i=n(78),o=n(79),a=n(27),u=n(6),s=(n(51),n(41)),l=n(82),c=n(60),h=n(30),f=n(83),d=(n(61),n(42)),p=n(18),g=n(4),v=n(64),m=n(2),w=n(93),b=(n(5),1),y={construct:function(e){this._currentElement=e,this._rootNodeID=null,this._instance=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._isTopLevel=!1,this._pendingCallbacks=null},mountComponent:function(e,t,n){this._context=n,this._mountOrder=b++,this._rootNodeID=e;var r=this._processProps(this._currentElement.props),i=this._processContext(this._currentElement._context),o=c.getComponentClassForElement(this._currentElement),a=new o(r,i);a.props=r,a.context=i,a.refs=v,this._instance=a,s.set(a,this);var u=a.state;void 0===u&&(a.state=u=null),m("object"==typeof u&&!Array.isArray(u)),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var h,f,p=l.currentlyMountingInstance;l.currentlyMountingInstance=this;try{a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),h=this._getValidatedChildContext(n),f=this._renderValidatedComponent(h)}finally{l.currentlyMountingInstance=p}this._renderedComponent=this._instantiateReactComponent(f,this._currentElement.type);var g=d.mountComponent(this._renderedComponent,e,t,this._mergeChildContext(n,h));return a.componentDidMount&&t.getReactMountReady().enqueue(a.componentDidMount,a),g},unmountComponent:function(){var e=this._instance;if(e.componentWillUnmount){var t=l.currentlyUnmountingInstance;l.currentlyUnmountingInstance=this;try{e.componentWillUnmount()}finally{l.currentlyUnmountingInstance=t}}d.unmountComponent(this._renderedComponent),this._renderedComponent=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,
  this._context=null,this._rootNodeID=null,s.remove(e)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=u.cloneAndReplaceProps(n,g({},n.props,e)),p.enqueueUpdate(this,t)},_maskContext:function(e){var t=null;if("string"==typeof this._currentElement.type)return v;var n=this._currentElement.type.contextTypes;if(!n)return v;t={};for(var r in n)t[r]=e[r];return t},_processContext:function(e){var t=this._maskContext(e);return t},_getValidatedChildContext:function(e){var t=this._instance,n=t.getChildContext&&t.getChildContext();if(n){m("object"==typeof t.constructor.childContextTypes);for(var r in n)m(r in t.constructor.childContextTypes);return n}return null},_mergeChildContext:function(e,t){return t?g({},e,t):e},_processProps:function(e){return e},_checkPropTypes:function(e,t,n){var i=this.getName();for(var o in e)if(e.hasOwnProperty(o)){var a;try{m("function"==typeof e[o]),a=e[o](t,o,i,n)}catch(u){a=u}if(a instanceof Error){r(this);n===f.prop}}},receiveComponent:function(e,t,n){var r=this._currentElement,i=this._context;this._pendingElement=null,this.updateComponent(t,r,e,i,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement&&d.receiveComponent(this,this._pendingElement||this._currentElement,e,this._context),(null!==this._pendingStateQueue||this._pendingForceUpdate)&&this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context)},_warnIfContextsDiffer:function(e,t){e=this._maskContext(e),t=this._maskContext(t);for(var n=Object.keys(t).sort(),r=(this.getName()||"ReactCompositeComponent",0);r<n.length;r++){n[r]}},updateComponent:function(e,t,n,r,i){var o=this._instance,a=o.context,u=o.props;t!==n&&(a=this._processContext(n._context),u=this._processProps(n.props),o.componentWillReceiveProps&&o.componentWillReceiveProps(u,a));var s=this._processPendingState(u,a),l=this._pendingForceUpdate||!o.shouldComponentUpdate||o.shouldComponentUpdate(u,s,a);l?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,u,s,a,e,i)):(this._currentElement=n,this._context=i,o.props=u,o.state=s,o.context=a)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,i=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(i&&1===r.length)return r[0];for(var o=g({},i?r[0]:n.state),a=i?1:0;a<r.length;a++){var u=r[a];g(o,"function"==typeof u?u.call(n,o,e,t):u)}return o},_performComponentUpdate:function(e,t,n,r,i,o){var a=this._instance,u=a.props,s=a.state,l=a.context;a.componentWillUpdate&&a.componentWillUpdate(t,n,r),this._currentElement=e,this._context=o,a.props=t,a.state=n,a.context=r,this._updateRenderedComponent(i,o),a.componentDidUpdate&&i.getReactMountReady().enqueue(a.componentDidUpdate.bind(a,u,s,l),a)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,i=this._getValidatedChildContext(),o=this._renderValidatedComponent(i);if(w(r,o))d.receiveComponent(n,o,e,this._mergeChildContext(t,i));else{var a=this._rootNodeID,u=n._rootNodeID;d.unmountComponent(n),this._renderedComponent=this._instantiateReactComponent(o,this._currentElement.type);var s=d.mountComponent(this._renderedComponent,a,e,this._mergeChildContext(t,i));this._replaceNodeWithMarkupByID(u,s)}},_replaceNodeWithMarkupByID:function(e,t){i.replaceNodeWithMarkupByID(e,t)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e=this._instance,t=e.render();return t},_renderValidatedComponent:function(e){var t,n=o.current;o.current=this._mergeChildContext(this._currentElement._context,e),a.current=this;try{t=this._renderValidatedComponentWithoutOwnerOrContext()}finally{o.current=n,a.current=null}return m(null===t||t===!1||u.isValidElement(t)),t},attachRef:function(e,t){var n=this.getPublicInstance(),r=n.refs===v?n.refs={}:n.refs;r[e]=t.getPublicInstance()},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(){return this._instance},_instantiateReactComponent:null};h.measureMethods(y,"ReactCompositeComponent",{mountComponent:"mountComponent",updateComponent:"updateComponent",_renderValidatedComponent:"_renderValidatedComponent"});var T={Mixin:y};e.exports=T},function(e,t,n){"use strict";function r(e){return i.createFactory(e)}var i=n(6),o=(n(51),n(337)),a=o({a:"a",abbr:"abbr",address:"address",area:"area",article:"article",aside:"aside",audio:"audio",b:"b",base:"base",bdi:"bdi",bdo:"bdo",big:"big",blockquote:"blockquote",body:"body",br:"br",button:"button",canvas:"canvas",caption:"caption",cite:"cite",code:"code",col:"col",colgroup:"colgroup",data:"data",datalist:"datalist",dd:"dd",del:"del",details:"details",dfn:"dfn",dialog:"dialog",div:"div",dl:"dl",dt:"dt",em:"em",embed:"embed",fieldset:"fieldset",figcaption:"figcaption",figure:"figure",footer:"footer",form:"form",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",head:"head",header:"header",hr:"hr",html:"html",i:"i",iframe:"iframe",img:"img",input:"input",ins:"ins",kbd:"kbd",keygen:"keygen",label:"label",legend:"legend",li:"li",link:"link",main:"main",map:"map",mark:"mark",menu:"menu",menuitem:"menuitem",meta:"meta",meter:"meter",nav:"nav",noscript:"noscript",object:"object",ol:"ol",optgroup:"optgroup",option:"option",output:"output",p:"p",param:"param",picture:"picture",pre:"pre",progress:"progress",q:"q",rp:"rp",rt:"rt",ruby:"ruby",s:"s",samp:"samp",script:"script",section:"section",select:"select",small:"small",source:"source",span:"span",strong:"strong",style:"style",sub:"sub",summary:"summary",sup:"sup",table:"table",tbody:"tbody",td:"td",textarea:"textarea",tfoot:"tfoot",th:"th",thead:"thead",time:"time",title:"title",tr:"tr",track:"track",u:"u",ul:"ul","var":"var",video:"video",wbr:"wbr",circle:"circle",clipPath:"clipPath",defs:"defs",ellipse:"ellipse",g:"g",line:"line",linearGradient:"linearGradient",mask:"mask",path:"path",pattern:"pattern",polygon:"polygon",polyline:"polyline",radialGradient:"radialGradient",rect:"rect",stop:"stop",svg:"svg",text:"text",tspan:"tspan"},r);e.exports=a},function(e,t,n){"use strict";var r=n(59),i=n(26),o=n(17),a=n(6),u=n(43),s=a.createFactory("button"),l=u({onClick:!0,onDoubleClick:!0,onMouseDown:!0,onMouseMove:!0,onMouseUp:!0,onClickCapture:!0,onDoubleClickCapture:!0,onMouseDownCapture:!0,onMouseMoveCapture:!0,onMouseUpCapture:!0}),c=o.createClass({displayName:"ReactDOMButton",tagName:"BUTTON",mixins:[r,i],render:function(){var e={};for(var t in this.props)!this.props.hasOwnProperty(t)||this.props.disabled&&l[t]||(e[t]=this.props[t]);return s(e,this.props.children)}});e.exports=c},function(e,t,n){"use strict";var r=n(16),i=n(76),o=n(26),a=n(17),u=n(6),s=u.createFactory("form"),l=a.createClass({displayName:"ReactDOMForm",tagName:"FORM",mixins:[o,i],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topReset,"reset"),this.trapBubbledEvent(r.topLevelTypes.topSubmit,"submit")}});e.exports=l},function(e,t,n){"use strict";var r=n(16),i=n(76),o=n(26),a=n(17),u=n(6),s=u.createFactory("iframe"),l=a.createClass({displayName:"ReactDOMIframe",tagName:"IFRAME",mixins:[o,i],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topLoad,"load")}});e.exports=l},function(e,t,n){"use strict";var r=n(16),i=n(76),o=n(26),a=n(17),u=n(6),s=u.createFactory("img"),l=a.createClass({displayName:"ReactDOMImg",tagName:"IMG",mixins:[o,i],render:function(){return s(this.props)},componentDidMount:function(){this.trapBubbledEvent(r.topLevelTypes.topLoad,"load"),this.trapBubbledEvent(r.topLevelTypes.topError,"error")}});e.exports=l},function(e,t,n){"use strict";function r(){this.isMounted()&&this.forceUpdate()}var i=n(59),o=n(48),a=n(75),u=n(26),s=n(17),l=n(6),c=n(28),h=n(18),f=n(4),d=n(2),p=l.createFactory("input"),g={},v=s.createClass({displayName:"ReactDOMInput",tagName:"INPUT",mixins:[i,a.Mixin,u],getInitialState:function(){var e=this.props.defaultValue;return{initialChecked:this.props.defaultChecked||!1,initialValue:null!=e?e:null}},render:function(){var e=f({},this.props);e.defaultChecked=null,e.defaultValue=null;var t=a.getValue(this);e.value=null!=t?t:this.state.initialValue;var n=a.getChecked(this);return e.checked=null!=n?n:this.state.initialChecked,e.onChange=this._handleChange,p(e,this.props.children)},componentDidMount:function(){var e=c.getID(this.getDOMNode());g[e]=this},componentWillUnmount:function(){var e=this.getDOMNode(),t=c.getID(e);delete g[t]},componentDidUpdate:function(e,t,n){var r=this.getDOMNode();null!=this.props.checked&&o.setValueForProperty(r,"checked",this.props.checked||!1);var i=a.getValue(this);null!=i&&o.setValueForProperty(r,"value",""+i)},_handleChange:function(e){var t,n=a.getOnChange(this);n&&(t=n.call(this,e)),h.asap(r,this);var i=this.props.name;if("radio"===this.props.type&&null!=i){for(var o=this.getDOMNode(),u=o;u.parentNode;)u=u.parentNode;for(var s=u.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),l=0,f=s.length;f>l;l++){var p=s[l];if(p!==o&&p.form===o.form){var v=c.getID(p);d(v);var m=g[v];d(m),h.asap(r,m)}}}return t}});e.exports=v},function(e,t,n){"use strict";var r=n(26),i=n(17),o=n(6),a=(n(5),o.createFactory("option")),u=i.createClass({displayName:"ReactDOMOption",tagName:"OPTION",mixins:[r],componentWillMount:function(){},render:function(){return a(this.props,this.props.children)}});e.exports=u},function(e,t,n){"use strict";function r(){if(this._pendingUpdate){this._pendingUpdate=!1;var e=u.getValue(this);null!=e&&this.isMounted()&&o(this,e)}}function i(e,t,n){if(null==e[t])return null;if(e.multiple){if(!Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be an array if `multiple` is true.")}else if(Array.isArray(e[t]))return new Error("The `"+t+"` prop supplied to <select> must be a scalar value if `multiple` is false.")}function o(e,t){var n,r,i,o=e.getDOMNode().options;if(e.props.multiple){for(n={},r=0,i=t.length;i>r;r++)n[""+t[r]]=!0;for(r=0,i=o.length;i>r;r++){var a=n.hasOwnProperty(o[r].value);o[r].selected!==a&&(o[r].selected=a)}}else{for(n=""+t,r=0,i=o.length;i>r;r++)if(o[r].value===n)return void(o[r].selected=!0);o.length&&(o[0].selected=!0)}}var a=n(59),u=n(75),s=n(26),l=n(17),c=n(6),h=n(18),f=n(4),d=c.createFactory("select"),p=l.createClass({displayName:"ReactDOMSelect",tagName:"SELECT",mixins:[a,u.Mixin,s],propTypes:{defaultValue:i,value:i},render:function(){var e=f({},this.props);return e.onChange=this._handleChange,e.value=null,d(e,this.props.children)},componentWillMount:function(){this._pendingUpdate=!1},componentDidMount:function(){var e=u.getValue(this);null!=e?o(this,e):null!=this.props.defaultValue&&o(this,this.props.defaultValue)},componentDidUpdate:function(e){var t=u.getValue(this);null!=t?(this._pendingUpdate=!1,o(this,t)):!e.multiple!=!this.props.multiple&&(null!=this.props.defaultValue?o(this,this.props.defaultValue):o(this,this.props.multiple?[]:""))},_handleChange:function(e){var t,n=u.getOnChange(this);return n&&(t=n.call(this,e)),this._pendingUpdate=!0,h.asap(r,this),t}});e.exports=p},function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function i(e){var t=document.selection,n=t.createRange(),r=n.text.length,i=n.duplicate();i.moveToElementText(e),i.setEndPoint("EndToStart",n);var o=i.text.length,a=o+r;return{start:o,end:a}}function o(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,i=t.anchorOffset,o=t.focusNode,a=t.focusOffset,u=t.getRangeAt(0),s=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),l=s?0:u.toString().length,c=u.cloneRange();c.selectNodeContents(e),c.setEnd(u.startContainer,u.startOffset);var h=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),f=h?0:c.toString().length,d=f+l,p=document.createRange();p.setStart(n,i),p.setEnd(o,a);var g=p.collapsed;return{start:g?d:f,end:g?f:d}}function a(e,t){var n,r,i=document.selection.createRange().duplicate();"undefined"==typeof t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),i.moveToElementText(e),i.moveStart("character",n),i.setEndPoint("EndToStart",i),i.moveEnd("character",r-n),i.select()}function u(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,i=Math.min(t.start,r),o="undefined"==typeof t.end?i:Math.min(t.end,r);if(!n.extend&&i>o){var a=o;o=i,i=a}var u=l(e,i),s=l(e,o);if(u&&s){var h=document.createRange();h.setStart(u.node,u.offset),n.removeAllRanges(),i>o?(n.addRange(h),n.extend(s.node,s.offset)):(h.setEnd(s.node,s.offset),n.addRange(h))}}}var s=n(8),l=n(330),c=n(144),h=s.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:h?i:o,setOffsets:h?a:u};e.exports=f},function(e,t,n){"use strict";function r(){this.isMounted()&&this.forceUpdate()}var i=n(59),o=n(48),a=n(75),u=n(26),s=n(17),l=n(6),c=n(18),h=n(4),f=n(2),d=(n(5),l.createFactory("textarea")),p=s.createClass({displayName:"ReactDOMTextarea",tagName:"TEXTAREA",mixins:[i,a.Mixin,u],getInitialState:function(){var e=this.props.defaultValue,t=this.props.children;null!=t&&(f(null==e),Array.isArray(t)&&(f(t.length<=1),t=t[0]),e=""+t),null==e&&(e="");var n=a.getValue(this);return{initialValue:""+(null!=n?n:e)}},render:function(){var e=h({},this.props);return f(null==e.dangerouslySetInnerHTML),e.defaultValue=null,e.value=null,e.onChange=this._handleChange,d(e,this.state.initialValue)},componentDidUpdate:function(e,t,n){var r=a.getValue(this);if(null!=r){var i=this.getDOMNode();o.setValueForProperty(i,"value",""+r)}},_handleChange:function(e){var t,n=a.getOnChange(this);return n&&(t=n.call(this,e)),c.asap(r,this),t}});e.exports=p},function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var i=n(18),o=n(63),a=n(4),u=n(19),s={initialize:u,close:function(){f.isBatchingUpdates=!1}},l={initialize:u,close:i.flushBatchedUpdates.bind(i)},c=[l,s];a(r.prototype,o.Mixin,{getTransactionWrappers:function(){return c}});var h=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,i){var o=f.isBatchingUpdates;f.isBatchingUpdates=!0,o?e(t,n,r,i):h.perform(e,null,t,n,r,i)}};e.exports=f},function(e,t,n){"use strict";function r(e){return p.createClass({tagName:e.toUpperCase(),render:function(){return new x(e,null,null,null,null,this.props)}})}function i(){D.EventEmitter.injectReactEventListener(A),D.EventPluginHub.injectEventPluginOrder(s),D.EventPluginHub.injectInstanceHandle(k),D.EventPluginHub.injectMount(I),D.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:R,EnterLeaveEventPlugin:l,ChangeEventPlugin:a,MobileSafariClickEventPlugin:f,SelectEventPlugin:N,BeforeInputEventPlugin:o}),D.NativeComponent.injectGenericComponentClass(m),D.NativeComponent.injectTextComponentClass(M),D.NativeComponent.injectAutoWrapper(r),D.Class.injectMixin(d),D.NativeComponent.injectComponentClasses({button:w,form:b,iframe:S,img:y,input:_,option:E,select:P,textarea:C,html:L("html"),head:L("head"),body:L("body")}),D.DOMProperty.injectDOMPropertyConfig(h),D.DOMProperty.injectDOMPropertyConfig(B),D.EmptyComponent.injectEmptyComponent("noscript"),D.Updates.injectReconcileTransaction(O),D.Updates.injectBatchingStrategy(v),D.RootIndex.injectCreateReactRootIndex(c.canUseDOM?u.createReactRootIndex:G.createReactRootIndex),D.Component.injectEnvironment(g),D.DOMComponent.injectIDOperations(T)}var o=n(262),a=n(264),u=n(265),s=n(268),l=n(269),c=n(8),h=n(272),f=n(274),d=n(26),p=n(17),g=n(77),v=n(290),m=n(80),w=n(281),b=n(282),y=n(284),T=n(127),S=n(283),_=n(285),E=n(286),P=n(287),C=n(289),M=n(128),x=n(6),A=n(294),D=n(295),k=n(40),I=n(28),O=n(300),N=n(309),G=n(310),R=n(311),B=n(308),L=n(324);e.exports={inject:i}},function(e,t){"use strict";var n={guard:function(e,t){return e}};e.exports=n},function(e,t,n){"use strict";function r(e){i.enqueueEvents(e),i.processEventQueue()}var i=n(49),o={handleTopLevel:function(e,t,n,o){var a=i.extractEvents(e,t,n,o);r(a)}};e.exports=o},function(e,t,n){"use strict";function r(e){var t=h.getID(e),n=c.getReactRootIDFromNodeID(t),r=h.findReactContainerForID(n),i=h.getFirstReactDOM(r);return i}function i(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function o(e){for(var t=h.getFirstReactDOM(p(e.nativeEvent))||window,n=t;n;)e.ancestors.push(n),n=r(n);for(var i=0,o=e.ancestors.length;o>i;i++){t=e.ancestors[i];var a=h.getID(t)||"";v._handleTopLevel(e.topLevelType,t,a,e.nativeEvent)}}function a(e){var t=g(window);e(t)}var u=n(270),s=n(8),l=n(25),c=n(40),h=n(28),f=n(18),d=n(4),p=n(89),g=n(332);d(i.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),l.addPoolingTo(i,l.twoArgumentPooler);var v={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:s.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){var r=n;return r?u.listen(r,t,v.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){var r=n;return r?u.capture(r,t,v.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=a.bind(null,e);u.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(v._enabled){var n=i.getPooled(e,t);try{f.batchedUpdates(o,n)}finally{i.release(n)}}}};e.exports=v},function(e,t,n){"use strict";var r=n(36),i=n(49),o=n(78),a=n(17),u=n(81),s=n(38),l=n(60),c=n(80),h=n(30),f=n(134),d=n(18),p={Component:o.injection,Class:a.injection,DOMComponent:c.injection,DOMProperty:r.injection,EmptyComponent:u.injection,EventPluginHub:i.injection,EventEmitter:s.injection,NativeComponent:l.injection,Perf:h.injection,RootIndex:f.injection,Updates:d.injection};e.exports=p},function(e,t,n){"use strict";function r(e,t){this.value=e,this.requestChange=t}function i(e){var t={value:"undefined"==typeof e?o.PropTypes.any.isRequired:e.isRequired,requestChange:o.PropTypes.func.isRequired};return o.PropTypes.shape(t)}var o=n(37);r.PropTypes={link:i},e.exports=r},function(e,t,n){"use strict";function r(e,t,n){p.push({parentID:e,parentNode:null,type:c.INSERT_MARKUP,markupIndex:g.push(t)-1,textContent:null,fromIndex:null,toIndex:n})}function i(e,t,n){p.push({parentID:e,parentNode:null,type:c.MOVE_EXISTING,markupIndex:null,textContent:null,fromIndex:t,toIndex:n})}function o(e,t){p.push({parentID:e,parentNode:null,type:c.REMOVE_NODE,markupIndex:null,textContent:null,fromIndex:t,toIndex:null})}function a(e,t){p.push({parentID:e,parentNode:null,type:c.TEXT_CONTENT,markupIndex:null,textContent:t,fromIndex:null,toIndex:null})}function u(){p.length&&(l.processChildrenUpdates(p,g),s())}function s(){p.length=0,g.length=0}var l=n(78),c=n(131),h=n(42),f=n(277),d=0,p=[],g=[],v={Mixin:{mountChildren:function(e,t,n){var r=f.instantiateChildren(e,t,n);this._renderedChildren=r;var i=[],o=0;for(var a in r)if(r.hasOwnProperty(a)){var u=r[a],s=this._rootNodeID+a,l=h.mountComponent(u,s,t,n);u._mountIndex=o,i.push(l),o++}return i},updateTextContent:function(e){d++;var t=!0;try{var n=this._renderedChildren;f.unmountChildren(n);for(var r in n)n.hasOwnProperty(r)&&this._unmountChildByName(n[r],r);this.setTextContent(e),t=!1}finally{d--,d||(t?s():u())}},updateChildren:function(e,t,n){d++;var r=!0;try{this._updateChildren(e,t,n),r=!1}finally{d--,d||(r?s():u())}},_updateChildren:function(e,t,n){var r=this._renderedChildren,i=f.updateChildren(r,e,t,n);if(this._renderedChildren=i,i||r){var o,a=0,u=0;for(o in i)if(i.hasOwnProperty(o)){var s=r&&r[o],l=i[o];s===l?(this.moveChild(s,u,a),a=Math.max(s._mountIndex,a),s._mountIndex=u):(s&&(a=Math.max(s._mountIndex,a),this._unmountChildByName(s,o)),this._mountChildByNameAtIndex(l,o,u,t,n)),u++}for(o in r)!r.hasOwnProperty(o)||i&&i.hasOwnProperty(o)||this._unmountChildByName(r[o],o)}},unmountChildren:function(){var e=this._renderedChildren;f.unmountChildren(e),this._renderedChildren=null},moveChild:function(e,t,n){e._mountIndex<n&&i(this._rootNodeID,e._mountIndex,t)},createChild:function(e,t){r(this._rootNodeID,t,e._mountIndex)},removeChild:function(e){o(this._rootNodeID,e._mountIndex)},setTextContent:function(e){a(this._rootNodeID,e)},_mountChildByNameAtIndex:function(e,t,n,r,i){var o=this._rootNodeID+t,a=h.mountComponent(e,o,r,i);e._mountIndex=n,this.createChild(e,a)},_unmountChildByName:function(e,t){this.removeChild(e),e._mountIndex=null}}};e.exports=v},function(e,t,n){"use strict";var r=n(2),i={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,t,n){r(i.isValidOwner(n)),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(i.isValidOwner(n)),n.getPublicInstance().refs[t]===e.getPublicInstance()&&n.detachRef(t)}};e.exports=i},function(e,t,n){"use strict";function r(e){return function(t,n,r){t.hasOwnProperty(n)?t[n]=e(t[n],r):t[n]=r}}function i(e,t){for(var n in t)if(t.hasOwnProperty(n)){var r=l[n];r&&l.hasOwnProperty(n)?r(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var o=n(4),a=n(19),u=n(336),s=r(function(e,t){return o({},t,e)}),l={children:a,className:r(u),style:s},c={mergeProps:function(e,t){return i(o({},e),t)}};e.exports=c},function(e,t,n){"use strict";function r(){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=i.getPooled(null),this.putListenerQueue=s.getPooled()}var i=n(73),o=n(25),a=n(38),u=n(129),s=n(133),l=n(63),c=n(4),h={initialize:u.getSelectionInformation,close:u.restoreSelection},f={initialize:function(){var e=a.isEnabled();return a.setEnabled(!1),e},close:function(e){a.setEnabled(e)}},d={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},p={initialize:function(){this.putListenerQueue.reset()},close:function(){this.putListenerQueue.putListeners()}},g=[p,h,f,d],v={getTransactionWrappers:function(){return g},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){i.release(this.reactMountReady),this.reactMountReady=null,s.release(this.putListenerQueue),this.putListenerQueue=null}};c(r.prototype,l.Mixin,v),o.addPoolingTo(r),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):o.addComponentAsRefTo(t,e,n)}function i(e,t,n){"function"==typeof e?e(null):o.removeComponentAsRefFrom(t,e,n)}var o=n(298),a={};a.attachRefs=function(e,t){var n=t.ref;null!=n&&r(n,e,t._owner)},a.shouldUpdateRefs=function(e,t){return t._owner!==e._owner||t.ref!==e.ref},a.detachRefs=function(e,t){var n=t.ref;null!=n&&i(n,e,t._owner)},e.exports=a},function(e,t,n){"use strict";function r(e){h(o.isValidElement(e));var t;try{var n=a.createReactRootID();return t=s.getPooled(!1),t.perform(function(){var r=c(e,null),i=r.mountComponent(n,t,l);return u.addChecksumToMarkup(i)},null)}finally{s.release(t)}}function i(e){h(o.isValidElement(e));var t;try{var n=a.createReactRootID();return t=s.getPooled(!0),t.perform(function(){var r=c(e,null);return r.mountComponent(n,t,l)},null)}finally{s.release(t)}}var o=n(6),a=n(40),u=n(130),s=n(303),l=n(64),c=n(90),h=n(2);e.exports={renderToString:r,renderToStaticMarkup:i}},function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.reactMountReady=o.getPooled(null),this.putListenerQueue=a.getPooled()}var i=n(25),o=n(73),a=n(133),u=n(63),s=n(4),l=n(19),c={initialize:function(){this.reactMountReady.reset()},close:l},h={initialize:function(){this.putListenerQueue.reset()},close:l},f=[h,c],d={getTransactionWrappers:function(){return f},getReactMountReady:function(){return this.reactMountReady},getPutListenerQueue:function(){return this.putListenerQueue},destructor:function(){o.release(this.reactMountReady),this.reactMountReady=null,a.release(this.putListenerQueue),this.putListenerQueue=null}};s(r.prototype,u.Mixin,d),i.addPoolingTo(r),e.exports=r},function(e,t){"use strict";function n(e,t){var n={};return function(r){n[t]=r,e.setState(n)}}var r={createStateSetter:function(e,t){return function(n,r,i,o,a,u){var s=t.call(e,n,r,i,o,a,u);s&&e.setState(s)}},createStateKeySetter:function(e,t){var r=e.__keySetters||(e.__keySetters={});return r[t]||(r[t]=n(e,t))}};r.Mixin={createStateSetter:function(e){return r.createStateSetter(this,e)},createStateKeySetter:function(e){return r.createStateKeySetter(this,e)}},e.exports=r},function(e,t,n){"use strict";var r=n(125),i=n(39),o={getChildMapping:function(e){return e?i.extract(r.map(e,function(e){return e})):e},mergeChildMappings:function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},i=[];for(var o in e)t.hasOwnProperty(o)?i.length&&(r[o]=i,i=[]):i.push(o);var a,u={};for(var s in t){if(r.hasOwnProperty(s))for(a=0;a<r[s].length;a++){var l=r[s][a];u[r[s][a]]=n(l)}u[s]=n(s)}for(a=0;a<i.length;a++)u[i[a]]=n(i[a]);return u}};e.exports=o},function(e,t,n){"use strict";function r(){var e=document.createElement("div"),t=e.style;"AnimationEvent"in window||delete u.animationend.animation,"TransitionEvent"in window||delete u.transitionend.transition;for(var n in u){var r=u[n];for(var i in r)if(i in t){s.push(r[i]);break}}}function i(e,t,n){e.addEventListener(t,n,!1)}function o(e,t,n){e.removeEventListener(t,n,!1)}var a=n(8),u={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},s=[];a.canUseDOM&&r();var l={addEndEventListener:function(e,t){return 0===s.length?void window.setTimeout(t,0):void s.forEach(function(n){i(e,n,t)})},removeEndEventListener:function(e,t){0!==s.length&&s.forEach(function(n){o(e,n,t)})}};e.exports=l},function(e,t,n){"use strict";var r=n(273),i=n(37),o=n(278),a=n(275),u=n(39),s=n(135),l=n(18),c=n(326),h=n(137),f=n(342);i.addons={CSSTransitionGroup:a,LinkedStateMixin:r,PureRenderMixin:o,TransitionGroup:s,batchedUpdates:l.batchedUpdates,classSet:c,cloneWithProps:h,createFragment:u.create,update:f},e.exports=i},function(e,t,n){"use strict";var r=n(36),i=r.injection.MUST_USE_ATTRIBUTE,o={Properties:{clipPath:i,cx:i,cy:i,d:i,dx:i,dy:i,fill:i,fillOpacity:i,fontFamily:i,fontSize:i,fx:i,fy:i,gradientTransform:i,gradientUnits:i,markerEnd:i,markerMid:i,markerStart:i,offset:i,opacity:i,patternContentUnits:i,patternUnits:i,points:i,preserveAspectRatio:i,r:i,rx:i,ry:i,spreadMethod:i,stopColor:i,stopOpacity:i,stroke:i,strokeDasharray:i,strokeLinecap:i,strokeOpacity:i,strokeWidth:i,textAnchor:i,transform:i,version:i,viewBox:i,x1:i,x2:i,x:i,y1:i,y2:i,y:i},DOMAttributeNames:{clipPath:"clip-path",fillOpacity:"fill-opacity",fontFamily:"font-family",fontSize:"font-size",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",patternContentUnits:"patternContentUnits",patternUnits:"patternUnits",preserveAspectRatio:"preserveAspectRatio",spreadMethod:"spreadMethod",stopColor:"stop-color",stopOpacity:"stop-opacity",strokeDasharray:"stroke-dasharray",strokeLinecap:"stroke-linecap",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",textAnchor:"text-anchor",viewBox:"viewBox"}};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 i(e){if(w||null==g||g!==l())return null;var t=r(g);if(!m||!f(m,t)){m=t;var n=s.getPooled(p.select,v,e);return n.type="select",n.target=g,a.accumulateTwoPhaseDispatches(n),n}}var o=n(16),a=n(50),u=n(129),s=n(31),l=n(141),c=n(146),h=n(21),f=n(148),d=o.topLevelTypes,p={select:{phasedRegistrationNames:{bubbled:h({onSelect:null}),captured:h({onSelectCapture:null})},dependencies:[d.topBlur,d.topContextMenu,d.topFocus,d.topKeyDown,d.topMouseDown,d.topMouseUp,d.topSelectionChange]}},g=null,v=null,m=null,w=!1,b={eventTypes:p,extractEvents:function(e,t,n,r){switch(e){case d.topFocus:(c(t)||"true"===t.contentEditable)&&(g=t,v=n,m=null);break;case d.topBlur:g=null,v=null,m=null;break;case d.topMouseDown:w=!0;break;case d.topContextMenu:case d.topMouseUp:return w=!1,i(r);case d.topSelectionChange:case d.topKeyDown:case d.topKeyUp:return i(r)}}};e.exports=b},function(e,t){"use strict";var n=Math.pow(2,53),r={createReactRootIndex:function(){return Math.ceil(Math.random()*n)}};e.exports=r},function(e,t,n){"use strict";var r=n(16),i=n(74),o=n(50),a=n(312),u=n(31),s=n(315),l=n(317),c=n(62),h=n(314),f=n(318),d=n(52),p=n(319),g=n(87),v=n(2),m=n(21),w=(n(5),r.topLevelTypes),b={blur:{phasedRegistrationNames:{bubbled:m({onBlur:!0}),captured:m({onBlurCapture:!0})}},click:{phasedRegistrationNames:{bubbled:m({onClick:!0}),captured:m({onClickCapture:!0})}},contextMenu:{phasedRegistrationNames:{bubbled:m({onContextMenu:!0}),captured:m({onContextMenuCapture:!0})}},copy:{phasedRegistrationNames:{bubbled:m({onCopy:!0}),captured:m({onCopyCapture:!0})}},cut:{phasedRegistrationNames:{bubbled:m({onCut:!0}),captured:m({onCutCapture:!0})}},doubleClick:{phasedRegistrationNames:{bubbled:m({onDoubleClick:!0}),captured:m({onDoubleClickCapture:!0})}},drag:{phasedRegistrationNames:{bubbled:m({onDrag:!0}),captured:m({onDragCapture:!0})}},dragEnd:{phasedRegistrationNames:{bubbled:m({onDragEnd:!0}),captured:m({onDragEndCapture:!0})}},dragEnter:{phasedRegistrationNames:{bubbled:m({onDragEnter:!0}),captured:m({onDragEnterCapture:!0})}},dragExit:{phasedRegistrationNames:{bubbled:m({onDragExit:!0}),captured:m({onDragExitCapture:!0})}},dragLeave:{phasedRegistrationNames:{bubbled:m({onDragLeave:!0}),captured:m({onDragLeaveCapture:!0})}},dragOver:{phasedRegistrationNames:{bubbled:m({onDragOver:!0}),captured:m({onDragOverCapture:!0})}},dragStart:{phasedRegistrationNames:{bubbled:m({onDragStart:!0}),captured:m({onDragStartCapture:!0})}},drop:{phasedRegistrationNames:{bubbled:m({onDrop:!0}),captured:m({onDropCapture:!0})}},focus:{phasedRegistrationNames:{bubbled:m({onFocus:!0}),captured:m({onFocusCapture:!0})}},input:{phasedRegistrationNames:{bubbled:m({onInput:!0}),captured:m({onInputCapture:!0})}},keyDown:{phasedRegistrationNames:{bubbled:m({onKeyDown:!0}),captured:m({onKeyDownCapture:!0})}},keyPress:{phasedRegistrationNames:{bubbled:m({onKeyPress:!0}),captured:m({onKeyPressCapture:!0})}},keyUp:{phasedRegistrationNames:{bubbled:m({onKeyUp:!0}),captured:m({onKeyUpCapture:!0})}},load:{phasedRegistrationNames:{bubbled:m({onLoad:!0}),captured:m({onLoadCapture:!0})}},error:{phasedRegistrationNames:{bubbled:m({onError:!0}),captured:m({onErrorCapture:!0})}},mouseDown:{phasedRegistrationNames:{bubbled:m({onMouseDown:!0}),captured:m({onMouseDownCapture:!0})}},mouseMove:{phasedRegistrationNames:{bubbled:m({onMouseMove:!0}),captured:m({onMouseMoveCapture:!0})}},mouseOut:{phasedRegistrationNames:{bubbled:m({onMouseOut:!0}),captured:m({onMouseOutCapture:!0})}},mouseOver:{phasedRegistrationNames:{bubbled:m({onMouseOver:!0}),captured:m({onMouseOverCapture:!0})}},mouseUp:{phasedRegistrationNames:{bubbled:m({onMouseUp:!0}),captured:m({onMouseUpCapture:!0})}},paste:{phasedRegistrationNames:{bubbled:m({onPaste:!0}),captured:m({onPasteCapture:!0})}},reset:{phasedRegistrationNames:{bubbled:m({onReset:!0}),captured:m({onResetCapture:!0})}},scroll:{phasedRegistrationNames:{bubbled:m({onScroll:!0}),captured:m({onScrollCapture:!0})}},submit:{phasedRegistrationNames:{bubbled:m({onSubmit:!0}),captured:m({onSubmitCapture:!0})}},touchCancel:{phasedRegistrationNames:{bubbled:m({onTouchCancel:!0}),captured:m({onTouchCancelCapture:!0})}},touchEnd:{
  phasedRegistrationNames:{bubbled:m({onTouchEnd:!0}),captured:m({onTouchEndCapture:!0})}},touchMove:{phasedRegistrationNames:{bubbled:m({onTouchMove:!0}),captured:m({onTouchMoveCapture:!0})}},touchStart:{phasedRegistrationNames:{bubbled:m({onTouchStart:!0}),captured:m({onTouchStartCapture:!0})}},wheel:{phasedRegistrationNames:{bubbled:m({onWheel:!0}),captured:m({onWheelCapture:!0})}}},y={topBlur:b.blur,topClick:b.click,topContextMenu:b.contextMenu,topCopy:b.copy,topCut:b.cut,topDoubleClick:b.doubleClick,topDrag:b.drag,topDragEnd:b.dragEnd,topDragEnter:b.dragEnter,topDragExit:b.dragExit,topDragLeave:b.dragLeave,topDragOver:b.dragOver,topDragStart:b.dragStart,topDrop:b.drop,topError:b.error,topFocus:b.focus,topInput:b.input,topKeyDown:b.keyDown,topKeyPress:b.keyPress,topKeyUp:b.keyUp,topLoad:b.load,topMouseDown:b.mouseDown,topMouseMove:b.mouseMove,topMouseOut:b.mouseOut,topMouseOver:b.mouseOver,topMouseUp:b.mouseUp,topPaste:b.paste,topReset:b.reset,topScroll:b.scroll,topSubmit:b.submit,topTouchCancel:b.touchCancel,topTouchEnd:b.touchEnd,topTouchMove:b.touchMove,topTouchStart:b.touchStart,topWheel:b.wheel};for(var T in y)y[T].dependencies=[T];var S={eventTypes:b,executeDispatch:function(e,t,n){var r=i.executeDispatch(e,t,n);r===!1&&(e.stopPropagation(),e.preventDefault())},extractEvents:function(e,t,n,r){var i=y[e];if(!i)return null;var m;switch(e){case w.topInput:case w.topLoad:case w.topError:case w.topReset:case w.topSubmit:m=u;break;case w.topKeyPress:if(0===g(r))return null;case w.topKeyDown:case w.topKeyUp:m=l;break;case w.topBlur:case w.topFocus:m=s;break;case w.topClick:if(2===r.button)return null;case w.topContextMenu:case w.topDoubleClick:case w.topMouseDown:case w.topMouseMove:case w.topMouseOut:case w.topMouseOver:case w.topMouseUp:m=c;break;case w.topDrag:case w.topDragEnd:case w.topDragEnter:case w.topDragExit:case w.topDragLeave:case w.topDragOver:case w.topDragStart:case w.topDrop:m=h;break;case w.topTouchCancel:case w.topTouchEnd:case w.topTouchMove:case w.topTouchStart:m=f;break;case w.topScroll:m=d;break;case w.topWheel:m=p;break;case w.topCopy:case w.topCut:case w.topPaste:m=a}v(m);var b=m.getPooled(i,n,r);return o.accumulateTwoPhaseDispatches(b),b}};e.exports=S},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(31),o={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(31),o={data:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(62),o={dataTransfer:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(52),o={relatedTarget:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(31),o={data:null};i.augmentClass(r,o),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(52),o=n(87),a=n(329),u=n(88),s={key:a,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:u,charCode:function(e){return"keypress"===e.type?o(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?o(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};i.augmentClass(r,s),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(52),o=n(88),a={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:o};i.augmentClass(r,a),e.exports=r},function(e,t,n){"use strict";function r(e,t,n){i.call(this,e,t,n)}var i=n(62),o={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};i.augmentClass(r,o),e.exports=r},function(e,t){"use strict";function n(e){for(var t=1,n=0,i=0;i<e.length;i++)t=(t+e.charCodeAt(i))%r,n=(n+t)%r;return t|n<<16}var r=65521;e.exports=n},function(e,t){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 i(e.replace(o,"ms-"))}var i=n(321),o=/^-ms-/;e.exports=r},function(e,t,n){function r(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 i(e){return r(e)?Array.isArray(e)?e.slice():o(e):[e]}var o=n(341);e.exports=i},function(e,t,n){"use strict";function r(e){var t=o.createFactory(e),n=i.createClass({tagName:e.toUpperCase(),displayName:"ReactFullPageComponent"+e,componentWillUnmount:function(){a(!1)},render:function(){return t(this.props)}});return n}var i=n(17),o=n(6),a=n(2);e.exports=r},function(e,t,n){function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function i(e,t){var n=l;s(!!l);var i=r(e),o=i&&u(i);if(o){n.innerHTML=o[1]+e+o[2];for(var c=o[0];c--;)n=n.lastChild}else n.innerHTML=e;var h=n.getElementsByTagName("script");h.length&&(s(t),a(h).forEach(t));for(var f=a(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var o=n(8),a=n(323),u=n(143),s=n(2),l=o.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;e.exports=i},function(e,t,n){"use strict";function r(e){return"object"==typeof e?Object.keys(e).filter(function(t){return e[t]}).join(" "):Array.prototype.join.call(arguments," ")}n(5);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n=null==t||"boolean"==typeof t||""===t;if(n)return"";var r=isNaN(t);return r||0===t||o.hasOwnProperty(e)&&o[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var i=n(122),o=i.isUnitlessNumber;e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r=e,i=!r.hasOwnProperty(n);i&&null!=t&&(r[n]=t)}function i(e){if(null==e)return e;var t={};return o(e,r,t),t}var o=n(149);n(5);e.exports=i},function(e,t,n){"use strict";function r(e){if(e.key){var t=o[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=i(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?a[e.keyCode]||"Unidentified":""}var i=n(87),o={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},a={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){for(;e&&e.firstChild;)e=e.firstChild;return e}function r(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function i(e,t){for(var i=n(e),o=0,a=0;i;){if(3===i.nodeType){if(a=o+i.textContent.length,t>=o&&a>=t)return{node:i,offset:t-o};o=a}i=n(r(i))}}e.exports=i},function(e,t){"use strict";function n(e){return e?e.nodeType===r?e.documentElement:e.firstChild:null}var r=9;e.exports=n},function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t){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 i(e).replace(o,"-ms-")}var i=n(333),o=/^ms-/;e.exports=r},function(e,t,n){function r(e){return i(e)&&3==e.nodeType}var i=n(145);e.exports=r},function(e,t){"use strict";function n(e){e||(e="");var t,n=arguments.length;if(n>1)for(var r=1;n>r;r++)t=arguments[r],t&&(e=(e?e+" ":"")+t);return e}e.exports=n},function(e,t){"use strict";function n(e,t,n){if(!e)return null;var i={};for(var o in e)r.call(e,o)&&(i[o]=t.call(n,e[o],o,e));return i}var r=Object.prototype.hasOwnProperty;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'"'+i(e)+'"'}var i=n(65);e.exports=r},function(e,t,n){"use strict";var r=n(8),i=n(65),o=n(92),a=function(e,t){e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(a=function(e,t){o(e,i(t))})),e.exports=a},function(e,t,n){function r(e){var t=e.length;if(i(!Array.isArray(e)&&("object"==typeof e||"function"==typeof e)),i("number"==typeof t),i(0===t||t-1 in e),e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(n){}for(var r=Array(t),o=0;t>o;o++)r[o]=e[o];return r}var i=n(2);e.exports=r},function(e,t,n){"use strict";function r(e){return Array.isArray(e)?e.concat():e&&"object"==typeof e?a(new e.constructor,e):e}function i(e,t,n){s(Array.isArray(e));var r=t[n];s(Array.isArray(r))}function o(e,t){if(s("object"==typeof t),l.call(t,d))return s(1===Object.keys(t).length),t[d];var n=r(e);if(l.call(t,p)){var u=t[p];s(u&&"object"==typeof u),s(n&&"object"==typeof n),a(n,t[p])}l.call(t,c)&&(i(e,t,c),t[c].forEach(function(e){n.push(e)})),l.call(t,h)&&(i(e,t,h),t[h].forEach(function(e){n.unshift(e)})),l.call(t,f)&&(s(Array.isArray(e)),s(Array.isArray(t[f])),t[f].forEach(function(e){s(Array.isArray(e)),n.splice.apply(n,e)})),l.call(t,g)&&(s("function"==typeof t[g]),n=t[g](n));for(var v in t)m.hasOwnProperty(v)&&m[v]||(n[v]=o(e[v],t[v]));return n}var a=n(4),u=n(21),s=n(2),l={}.hasOwnProperty,c=u({$push:null}),h=u({$unshift:null}),f=u({$splice:null}),d=u({$set:null}),p=u({$merge:null}),g=u({$apply:null}),v=[c,h,f,d,p,g],m={};v.forEach(function(e){m[e]=!0}),e.exports=o},function(e,t,n){var r,i=0,o=n(235);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(236);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(237);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(238);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(239);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(240);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(241);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(242);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(243);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(244);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(245);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(246);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(247);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t,n){var r,i=0,o=n(248);"string"==typeof o&&(o=[[e.id,o,""]]),t.use=t.ref=function(){return i++||(t.locals=o.locals,r=n(10)(o)),t},t.unuse=t.unref=function(){--i||(r(),r=null)}},function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}}]);