mt-polygon-simplification/build/polygon-simplification/bundle.js

74 lines
433 KiB
JavaScript
Raw Normal View History

2019-08-25 13:54:45 +02:00
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=39)}([function(t,e,n){"use strict";t.exports=n(19)},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"$mobx",function(){return P}),n.d(e,"IDerivationState",function(){return st}),n.d(e,"ObservableMap",function(){return un}),n.d(e,"ObservableSet",function(){return hn}),n.d(e,"Reaction",function(){return Bt}),n.d(e,"_allowStateChanges",function(){return rt}),n.d(e,"_allowStateChangesInsideComputed",function(){return at}),n.d(e,"_getAdministration",function(){return xn}),n.d(e,"_getGlobalState",function(){return Ot}),n.d(e,"_interceptReads",function(){return be}),n.d(e,"_isComputingDerivation",function(){return vt}),n.d(e,"_resetGlobalState",function(){return At}),n.d(e,"action",function(){return Qt}),n.d(e,"autorun",function(){return ee}),n.d(e,"comparer",function(){return O}),n.d(e,"computed",function(){return $}),n.d(e,"configure",function(){return le}),n.d(e,"createAtom",function(){return S}),n.d(e,"decorate",function(){return ue}),n.d(e,"entries",function(){return Ae}),n.d(e,"extendObservable",function(){return ce}),n.d(e,"flow",function(){return ge}),n.d(e,"get",function(){return je}),n.d(e,"getAtom",function(){return wn}),n.d(e,"getDebugName",function(){return Tn}),n.d(e,"getDependencyTree",function(){return de}),n.d(e,"getObserverTree",function(){return me}),n.d(e,"has",function(){return Me}),n.d(e,"intercept",function(){return we}),n.d(e,"isAction",function(){return $t}),n.d(e,"isArrayLike",function(){return _}),n.d(e,"isBoxedObservable",function(){return ct}),n.d(e,"isComputed",function(){return Te}),n.d(e,"isComputedProp",function(){return Ee}),n.d(e,"isObservable",function(){return ke}),n.d(e,"isObservableArray",function(){return an}),n.d(e,"isObservableMap",function(){return cn}),n.d(e,"isObservableObject",function(){return bn}),n.d(e,"isObservableProp",function(){return Ce}),n.d(e,"isObservableSet",function(){return dn}),n.d(e,"keys",function(){return Se}),n.d(e,"observable",function(){return Y}),n.d(e,"observe",function(){return Re}),n.d(e,"onBecomeObserved",function(){return oe}),n.d(e,"onBecomeUnobserved",function(){return ae}),n.d(e,"onReactionError",function(){return Ut}),n.d(e,"reaction",function(){return ie}),n.d(e,"remove",function(){return ze}),n.d(e,"runInAction",function(){return Xt}),n.d(e,"set",function(){return Le}),n.d(e,"spy",function(){return Gt}),n.d(e,"toJS",function(){return De}),n.d(e,"trace",function(){return Be}),n.d(e,"transaction",function(){return Ue}),n.d(e,"untracked",function(){return bt}),n.d(e,"values",function(){return Oe}),n.d(e,"when",function(){return Ze});
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */
var r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(t,e)};var i=function(){return(i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function o(t){var e="function"==typeof Symbol&&t[Symbol.iterator],n=0;return e?e.call(t):{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}var s="An invariant failed, however the error is obfuscated because this is an production build.",l=[];Object.freeze(l);var u={};function c(){return++St.mobxGuid}function f(t){throw h(!1,t),"X"}function h(t,e){if(!t)throw new Error("[mobx] "+(e||s))}Object.freeze(u);function d(t){var e=!1;return function(){if(!e)return e=!0,t.apply(this,arguments)}}var p=function(){};function m(t){return null!==t&&"object"==typeof t}function v(t){if(null===t||"object"!=typeof t)return!1;var e=Object.getPrototypeOf(t);return e===Object.prototype||null===e}function y(t,e,n){Object.defineProperty(t,e,{enumerable:!1,writable:!0,configurable:!0,value:n})}function g(t,e){var n="isMobX"+t;return e.prototype[n]=!0,function(t){return m(t)&&!0===t[n]}}function _(t){return Array.isArray(t)||an(t)}function b(t){return t instanceof Map}function w(t){return t instanceof Set}function x(t){var e=new Set;for(var n in t)e.add(n);return Object.getOwnPropertySymbols(t).forEach(function(n){Object.getOwnPropertyDescriptor(t,n).enumerable&&e.add(n)}),Array.from(e)}function T(t){return t&&t.toString?t.toString():new String(t).toString()}function E(t){return null===t?null:"object"==typeof t?""+t:t}var P=Symbol("mobx administration"),k=function(){function t(t){void 0===t&&(t="Atom@"+c()),this.name=t,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=st.NOT_TRACKING}return t.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach(function(t){return t()})},t.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach(function(t){return t()})},t.prototype.reportObserved=function(){return Nt(this)},t.prototype.reportChanged=function(){Rt(),function(t){if(t.lowestObserverState===st.STALE)return;t.lowestObserverState=st.STALE,t.observers.forEach(function(e){e.dependenciesState===st.UP_TO_DATE&&(e.isTracing!==lt.NONE&&Dt(e,t),e.onBecomeStale()),e.dependenciesState=st.STALE})}(this),It()},t.prototype.toString=function(){return this.name},t}(),C=g("Atom",k);function S(t,e,n){void 0===e&&(e=p),void 0===n&&(n=p);var r=new k(t);return e!==p&&oe(r,e),n!==p&&ae(r,n),r}var O={identity:function(t,e){return t===e},structural:function(t,e){return Pn(t,e)},default:function(t,e){return Object.is(t,e)}},A=Symbol("mobx did run lazy initializers"),L=Symbol("mobx pending decorators"),z={},M={};function j(t,e){var n=e?z:M;return n[t]||(n[t]={configurable:!0,enumerable:e,get:function(){return R(this),this[t]},set:function(e){R(this),this[t]=e}})}function R(t){if(!0!==t[A]){var e=t[L];if(e)for(var n in y(t,A,!0),e){var r=e[n];r.propertyCreator(t,r.prop,r.descriptor,r.decoratorTarget,r.decoratorArguments)}}}function I(t,e){return function(){var n,r=function(r,o,a,s){if(!0===s)return e(r,o,a,r,n),null;if(!Object.prototype.hasOwnProperty.call(r,L)){var l=r[L];y(r,L,i({},l))}return r[L][o]={prop:o,propertyCreator:e,descriptor:a,decoratorTarget:r,decoratorArguments:n},j(o,t)};return N(arguments)?(n=l,r.apply(null,arguments)):(n=Array.prototype.slice.call(arguments),r)}}function N(t){return(2===t.length||3===t.length)&&"string"==typeof t[1]||4===t.length&&!0===t[3]}functi
/* @preserve
* Leaflet 1.5.1+build.2e3e0ff, a JS library for interactive maps. http://leafletjs.com
* (c) 2010-2018 Vladimir Agafonkin, (c) 2010-2011 CloudMade
*/
!function(t){"use strict";var e=Object.freeze;function n(t){var e,n,r,i;for(n=1,r=arguments.length;n<r;n++)for(e in i=arguments[n])t[e]=i[e];return t}Object.freeze=function(t){return t};var r=Object.create||function(){function t(){}return function(e){return t.prototype=e,new t}}();function i(t,e){var n=Array.prototype.slice;if(t.bind)return t.bind.apply(t,n.call(arguments,1));var r=n.call(arguments,2);return function(){return t.apply(e,r.length?r.concat(n.call(arguments)):arguments)}}var o=0;function a(t){return t._leaflet_id=t._leaflet_id||++o,t._leaflet_id}function s(t,e,n){var r,i,o,a;return a=function(){r=!1,i&&(o.apply(n,i),i=!1)},o=function(){r?i=arguments:(t.apply(n,arguments),setTimeout(a,e),r=!0)}}function l(t,e,n){var r=e[1],i=e[0],o=r-i;return t===r&&n?t:((t-i)%o+o)%o+i}function u(){return!1}function c(t,e){return e=void 0===e?6:e,+(Math.round(t+"e+"+e)+"e-"+e)}function f(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function h(t){return f(t).split(/\s+/)}function d(t,e){for(var n in t.hasOwnProperty("options")||(t.options=t.options?r(t.options):{}),e)t.options[n]=e[n];return t.options}function p(t,e,n){var r=[];for(var i in t)r.push(encodeURIComponent(n?i.toUpperCase():i)+"="+encodeURIComponent(t[i]));return(e&&-1!==e.indexOf("?")?"&":"?")+r.join("&")}var m=/\{ *([\w_-]+) *\}/g;function v(t,e){return t.replace(m,function(t,n){var r=e[n];if(void 0===r)throw new Error("No value provided for variable "+t);return"function"==typeof r&&(r=r(e)),r})}var y=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function g(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return-1}var _="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function b(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function x(t){var e=+new Date,n=Math.max(0,16-(e-w));return w=e+n,window.setTimeout(t,n)}var T=window.requestAnimationFrame||b("RequestAnimationFrame")||x,E=window.cancelAnimationFrame||b("CancelAnimationFrame")||b("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function P(t,e,n){if(!n||T!==x)return T.call(window,i(t,e));t.call(e)}function k(t){t&&E.call(window,t)}var C=(Object.freeze||Object)({freeze:e,extend:n,create:r,bind:i,lastId:o,stamp:a,throttle:s,wrapNum:l,falseFn:u,formatNum:c,trim:f,splitWords:h,setOptions:d,getParamString:p,template:v,isArray:y,indexOf:g,emptyImageUrl:_,requestFn:T,cancelFn:E,requestAnimFrame:P,cancelAnimFrame:k});function S(){}S.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},i=e.__super__=this.prototype,o=r(i);for(var a in o.constructor=e,e.prototype=o,this)this.hasOwnProperty(a)&&"prototype"!==a&&"__super__"!==a&&(e[a]=this[a]);return t.statics&&(n(e,t.statics),delete t.statics),t.includes&&(function(t){if("undefined"!=typeof L&&L&&L.Mixin){t=y(t)?t:[t];for(var e=0;e<t.length;e++)t[e]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",(new Error).stack)}}(t.includes),n.apply(null,[o].concat(t.includes)),delete t.includes),o.options&&(t.options=n(r(o.options),t.options)),n(o,t),o._initHooks=[],o.callInitHooks=function(){if(!this._initHooksCalled){i.callInitHooks&&i.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=o._initHooks.length;t<e;t++)o._initHooks[t].call(this)}},e},S.include=function(t){return n(this.prototype,t),this},S.mergeOptions=function(t){return n(this.prototype.options,t),this},S.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1),n="function"==typeof t?t:function(){this[t].apply(this,e)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(n),this};var O={on:function(t,e,n){if("object"==typeof t)for(var r in t)this._on(r,t[r],e);else{t=h(t);for(var i=0,o=t.length;i<o;i++)this._on(t[i],e,n)}return this},off:function(t,e,n){if(t)if("object"==typeof t)for(var r in t)this._off(r,t[r],e);else{t=h(t);for(var i=0,o=t.length;i<o;i++)this._off(t[i],e,n)}e
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}t.exports=function(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map(function(t){return e[t]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(t){r[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(t){return!1}}()?Object.assign:function(t,e){for(var n,s,l=a(t),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]))i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var f=0;f<s.length;f++)o.call(n,s[f])&&(l[s[f]]=n[s[f]])}}return l}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);e.autorunThrottled=function(t,e,n){n||(n="autorunThrottled");var i=!1,o=!1,a=new r.Reaction(n,function(){o?i||(i=!0,setTimeout(function(){i=!1,a.isDisposed||a.track(t)},e||1)):(o=!0,a.track(t))});return a.runReaction(),a.getDisposer()}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1);e.useStrict=r.configure?function(t){return r.configure({enforceActions:t})}:r.useStrict,e.createAtom=r.createAtom||function(t,e,n){return new r.Atom(t,e,n)},e.getGlobalState=r._getGlobalState||r.extras.getGlobalState},function(t,e){},function(t,e){function n(t,e){for(var n=0,r=t.length-1;r>=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r<t.length;r++)e(t[r],r,t)&&n.push(t[r]);return n}e.resolve=function(){for(var t="",e=!1,i=arguments.length-1;i>=-1&&!e;i--){var o=i>=0?arguments[i]:process.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,e="/"===o.charAt(0))}return(e?"/":"")+(t=n(r(t.split("/"),function(t){return!!t}),!e).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=n(r(t.split("/"),function(t){return!!t}),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e<t.length&&""===t[e];e++);for(var n=t.length-1;n>=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var u=[];for(l=s;l<i.length;l++)u.push("..");return(u=u.concat(o.slice(s))).join("/")},e.sep="/",e.delimiter=":",e.dirname=function(t){if("string"!=typeof t&&(t+=""),0===t.length)return".";for(var e=t.charCodeAt(0),n=47===e,r=-1,i=!0,o=t.length-1;o>=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:functi
/** @license React v16.8.6
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(8),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.concurrent_mode"):60111,d=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,m=i?Symbol.for("react.memo"):60115,v=i?Symbol.for("react.lazy"):60116,y="function"==typeof Symbol&&Symbol.iterator;function g(t){for(var e=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(t,e,n,r,i,o,a,s){if(!t){if(t=void 0,void 0===e)t=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,s],u=0;(t=Error(e.replace(/%s/g,function(){return l[u++]}))).name="Invariant Violation"}throw t.framesToPop=1,t}}(!1,"Minified React error #"+t+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||_}function x(){}function T(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||_}w.prototype.isReactComponent={},w.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t&&g("85"),this.updater.enqueueSetState(this,t,e,"setState")},w.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},x.prototype=w.prototype;var E=T.prototype=new x;E.constructor=T,r(E,w.prototype),E.isPureReactComponent=!0;var P={current:null},k={current:null},C=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function O(t,e,n){var r=void 0,i={},a=null,s=null;if(null!=e)for(r in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)C.call(e,r)&&!S.hasOwnProperty(r)&&(i[r]=e[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(r in l=t.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:t,key:a,ref:s,props:i,_owner:k.current}}function A(t){return"object"==typeof t&&null!==t&&t.$$typeof===o}var L=/\/+/g,z=[];function M(t,e,n,r){if(z.length){var i=z.pop();return i.result=t,i.keyPrefix=e,i.func=n,i.context=r,i.count=0,i}return{result:t,keyPrefix:e,func:n,context:r,count:0}}function j(t){t.result=null,t.keyPrefix=null,t.func=null,t.context=null,t.count=0,10>z.length&&z.push(t)}function R(t,e,n){return null==t?0:function t(e,n,r,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case a:l=!0}}if(l)return r(i,e,""===n?"."+I(e,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(e))for(var u=0;u<e.length;u++){var c=n+I(s=e[u],u);l+=t(s,c,r,i)}else if(c=null===e||"object"!=typeof e?null:"function"==typeof(c=y&&e[y]||e["@@iterator"])?c:null,"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=t(s=s.value,c=n+I(s,u++),r,i);else"object"===s&&g("31","[object Object]"==(r=""+e)?"object with keys {"+Object.keys(e).join(", ")+"}":r,"");return l}(t,"",e,n)}function I(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+(""+t).replace(/[=:]/g,function(t){return e[t]})}(t.key):e.toString(36)}function N(t,e){t.func.call(t.context,e,t.count++)}function D(t,e,n){var r=t.result,i=t.keyPrefix;t=t.func.call(t.context,e,t.count++),Array.isArray(t)?B(t,r,n,function(t){return t}):null!=t&&(A(t)&&(t=function(t,e){return{$$typeof:o,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(t,i+(!t.key||e&&e.key===t.key?"":(""+t.key).replace(L,"$&/")+"/")+n)),r.push(t))}function B(t,e,n,r,i){var o
/** @license React v16.8.6
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var r=n(0),i=n(8),o=n(21);function a(t){for(var e=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=0;r<e;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);!function(t,e,n,r,i,o,a,s){if(!t){if(t=void 0,void 0===e)t=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,s],u=0;(t=Error(e.replace(/%s/g,function(){return l[u++]}))).name="Invariant Violation"}throw t.framesToPop=1,t}}(!1,"Minified React error #"+t+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}r||a("227");var s=!1,l=null,u=!1,c=null,f={onError:function(t){s=!0,l=t}};function h(t,e,n,r,i,o,a,u,c){s=!1,l=null,function(t,e,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{e.apply(n,u)}catch(t){this.onError(t)}}.apply(f,arguments)}var d=null,p={};function m(){if(d)for(var t in p){var e=p[t],n=d.indexOf(t);if(-1<n||a("96",t),!y[n])for(var r in e.extractEvents||a("97",t),y[n]=e,n=e.eventTypes){var i=void 0,o=n[r],s=e,l=r;g.hasOwnProperty(l)&&a("99",l),g[l]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&v(u[i],s,l);i=!0}else o.registrationName?(v(o.registrationName,s,l),i=!0):i=!1;i||a("98",r,t)}}}function v(t,e,n){_[t]&&a("100",t),_[t]=e,b[t]=e.eventTypes[n].dependencies}var y=[],g={},_={},b={},w=null,x=null,T=null;function E(t,e,n){var r=t.type||"unknown-event";t.currentTarget=T(n),function(t,e,n,r,i,o,f,d,p){if(h.apply(this,arguments),s){if(s){var m=l;s=!1,l=null}else a("198"),m=void 0;u||(u=!0,c=m)}}(r,e,void 0,t),t.currentTarget=null}function P(t,e){return null==e&&a("30"),null==t?e:Array.isArray(t)?Array.isArray(e)?(t.push.apply(t,e),t):(t.push(e),t):Array.isArray(e)?[t].concat(e):[t,e]}function k(t,e,n){Array.isArray(t)?t.forEach(e,n):t&&e.call(n,t)}var C=null;function S(t){if(t){var e=t._dispatchListeners,n=t._dispatchInstances;if(Array.isArray(e))for(var r=0;r<e.length&&!t.isPropagationStopped();r++)E(t,e[r],n[r]);else e&&E(t,e,n);t._dispatchListeners=null,t._dispatchInstances=null,t.isPersistent()||t.constructor.release(t)}}var O={injectEventPluginOrder:function(t){d&&a("101"),d=Array.prototype.slice.call(t),m()},injectEventPluginsByName:function(t){var e,n=!1;for(e in t)if(t.hasOwnProperty(e)){var r=t[e];p.hasOwnProperty(e)&&p[e]===r||(p[e]&&a("102",e),p[e]=r,n=!0)}n&&m()}};function A(t,e){var n=t.stateNode;if(!n)return null;var r=w(n);if(!r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}return t?null:(n&&"function"!=typeof n&&a("231",e,typeof n),n)}function L(t){if(null!==t&&(C=P(C,t)),t=C,C=null,t&&(k(t,S),C&&a("95"),u))throw t=c,u=!1,c=null,t}var z=Math.random().toString(36).slice(2),M="__reactInternalInstance$"+z,j="__reactEventHandlers$"+z;function R(t){if(t[M])return t[M];for(;!t[M];){if(!t.parentNode)return null;t=t.parentNode}return 5===(t=t[M]).tag||6===t.tag?t:null}function I(t){return!(t=t[M])||5!==t.tag&&6!==t.tag?null:t}function N(t){if(5===t.tag||6===t.tag)return t.stateNode;a("33")}function D(t){return t[j]||null}function B(t){do{t=t.return}while(t&&5!==t.tag);return t||null}function U(t,e,n){(e=A(t,n.dispatchConfig.phasedRegistrationNames[e]))&&(n._dispatchListeners=P(n._dispatchListeners,e),n._dispatchInstances=P(n._dispatchInstances,t))}function Z(t){if(t&&t.dispatchConfig.phasedRegistrationNames){for(var e=t._targetInst,n=[];e;)n.push(e),e=B(e);for(e=n.length;0<e--;)U(n[e],"captured",t);for(e=0;e<n.length;e++)U(n[e],"bubbled",t)}}function F(t,e,n){t&&n&&n.dispatchConfig.registrationName&&(e=A(t,n.dispatchConfig.registrationName))&&(n._dispatchListeners=P(n._dispatchListeners,e),n._dispatchInstances=P(n._dispatchInstances,t))}function W(t){t&&t.dispatchConfig.registrationName&&F(t
/** @license React v0.13.6
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(e,"__esModule",{value:!0});var n=null,r=!1,i=3,o=-1,a=-1,s=!1,l=!1;function u(){if(!s){var t=n.expirationTime;l?T():l=!0,x(h,t)}}function c(){var t=n,e=n.next;if(n===e)n=null;else{var r=n.previous;n=r.next=e,e.previous=r}t.next=t.previous=null,r=t.callback,e=t.expirationTime,t=t.priorityLevel;var o=i,s=a;i=t,a=e;try{var l=r()}finally{i=o,a=s}if("function"==typeof l)if(l={callback:l,priorityLevel:t,expirationTime:e,next:null,previous:null},null===n)n=l.next=l.previous=l;else{r=null,t=n;do{if(t.expirationTime>=e){r=t;break}t=t.next}while(t!==n);null===r?r=n:r===n&&(n=l,u()),(e=r.previous).next=r.previous=l,l.next=r,l.previous=e}}function f(){if(-1===o&&null!==n&&1===n.priorityLevel){s=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{s=!1,null!==n?u():l=!1}}}function h(t){s=!0;var i=r;r=t;try{if(t)for(;null!==n;){var o=e.unstable_now();if(!(n.expirationTime<=o))break;do{c()}while(null!==n&&n.expirationTime<=o)}else if(null!==n)do{c()}while(null!==n&&!E())}finally{s=!1,r=i,null!==n?u():l=!1,f()}}var d,p,m=Date,v="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,g="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function b(t){d=g(function(e){y(p),t(e)}),p=v(function(){_(d),t(e.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;e.unstable_now=function(){return w.now()}}else e.unstable_now=function(){return m.now()};var x,T,E,P=null;if("undefined"!=typeof window?P=window:void 0!==t&&(P=t),P&&P._schedMock){var k=P._schedMock;x=k[0],T=k[1],E=k[2],e.unstable_now=k[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var C=null,S=function(t){if(null!==C)try{C(t)}finally{C=null}};x=function(t){null!==C?setTimeout(x,0,t):(C=t,setTimeout(S,0,!1))},T=function(){C=null},E=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof g&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var O=null,A=!1,L=-1,z=!1,M=!1,j=0,R=33,I=33;E=function(){return j<=e.unstable_now()};var N=new MessageChannel,D=N.port2;N.port1.onmessage=function(){A=!1;var t=O,n=L;O=null,L=-1;var r=e.unstable_now(),i=!1;if(0>=j-r){if(!(-1!==n&&n<=r))return z||(z=!0,b(B)),O=t,void(L=n);i=!0}if(null!==t){M=!0;try{t(i)}finally{M=!1}}};var B=function(t){if(null!==O){b(B);var e=t-j+I;e<I&&R<I?(8>e&&(e=8),I=e<R?R:e):R=e,j=t+I,A||(A=!0,D.postMessage(void 0))}else z=!1};x=function(t,e){O=t,L=e,M||0>e?D.postMessage(void 0):z||(z=!0,b(B))},T=function(){O=null,A=!1,L=-1}}e.unstable_ImmediatePriority=1,e.unstable_UserBlockingPriority=2,e.unstable_NormalPriority=3,e.unstable_IdlePriority=5,e.unstable_LowPriority=4,e.unstable_runWithPriority=function(t,n){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var r=i,a=o;i=t,o=e.unstable_now();try{return n()}finally{i=r,o=a,f()}},e.unstable_next=function(t){switch(i){case 1:case 2:case 3:var n=3;break;default:n=i}var r=i,a=o;i=n,o=e.unstable_now();try{return t()}finally{i=r,o=a,f()}},e.unstable_scheduleCallback=function(t,r){var a=-1!==o?o:e.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=a+r.timeout;else switch(i){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(t={callback:t,priorityLevel:i,expirationTime:r,next:null,previous:null},null===n)n=t.next=t.previous=t,u();else{a=null;var s=n;do{if(s.expirationTime>r){a=s;break}s=s.next}while(s!==n);null===a?a=n:a===n&&(n=t,u()),(r=a.previous).next=a.previous=t,t.next=a,t.previous=r}return t},e.unstable_cancelCallback=function(t){var e=t.next;if(null!==e){if(e===t)n=null;else{t===n&&(n=e);var r=t.previous;r.next=e,e.previous=r}t.next=t.previous=null}},e.uns
/** @license React v16.8.6
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,p=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116;function y(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case i:switch(t=t.type){case f:case h:case a:case l:case s:case p:return t;default:switch(t=t&&t.$$typeof){case c:case d:case u:return t;default:return e}}case v:case m:case o:return e}}}function g(t){return y(t)===h}e.typeOf=y,e.AsyncMode=f,e.ConcurrentMode=h,e.ContextConsumer=c,e.ContextProvider=u,e.Element=i,e.ForwardRef=d,e.Fragment=a,e.Lazy=v,e.Memo=m,e.Portal=o,e.Profiler=l,e.StrictMode=s,e.Suspense=p,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===h||t===l||t===s||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===v||t.$$typeof===m||t.$$typeof===u||t.$$typeof===c||t.$$typeof===d)},e.isAsyncMode=function(t){return g(t)||y(t)===f},e.isConcurrentMode=g,e.isContextConsumer=function(t){return y(t)===c},e.isContextProvider=function(t){return y(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===i},e.isForwardRef=function(t){return y(t)===d},e.isFragment=function(t){return y(t)===a},e.isLazy=function(t){return y(t)===v},e.isMemo=function(t){return y(t)===m},e.isPortal=function(t){return y(t)===o},e.isProfiler=function(t){return y(t)===l},e.isStrictMode=function(t){return y(t)===s},e.isSuspense=function(t){return y(t)===p}},function(t,e,n){"use strict";n.r(e);var r=n(0),i=n.n(r),o=n(3),a=n.n(o),s=n(1);if(!r.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!s.spy)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var l=!1;function u(){return l}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var c=function(){return(c=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function f(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function h(t){return t.current?Object(s.getDependencyTree)(t.current):"<unknown>"}var d=[];function p(){var t=f(Object(r.useState)(0),2)[1];return Object(r.useCallback)(function(){t(function(t){return t+1})},[])}var m={};function v(t,e,n){if(void 0===e&&(e="observed"),void 0===n&&(n=m),u())return t();var i=(n.useForceUpdate||p)(),o=Object(r.useRef)(null);o.current||(o.current=new s.Reaction("observer("+e+")",function(){i()}));var a,l,c=function(){o.current&&!o.current.isDisposed&&o.current.dispose()};if(Object(r.useDebugValue)(o,h),function(t){Object(r.useEffect)(function(){return t},d)}(function(){c()}),o.current.track(function(){try{a=t()}catch(t){l=t}}),l)throw c(),l;return a}function y(t,e){if(u())return t;var n,i,o,a=c({forwardRef:!1},e),s=t.displayName||t.name,l=function(e,n){return v(function(){return t(e,n)},s)};return l.displayName=s,n=a.forwardRef?Object(r.memo)(Object(r.forwardRef)(l)):Object(r.memo)(l),i=t,o=n,Object.keys(i).forEach(function(t){i.hasOwnProperty(t)&&!g[t]&&Object.defineProperty(o,t,Object.getOwnPropertyDescriptor(i,t))}),n.displayName=s,n}var g={$$typeof:!0,render:!0,compare:!0,type:!0};function _(t){var e=t.children,n=t.render,r=e||n;return"function"!=typeof r?null:v(r)}function b(t,e,n,r,i){var o="children"===e?"render":"children",a="function"==typeof t[e],s="function"==typeof t[o];return a&&s?new Error("MobX Observer: Do not use children and render in the same time in`"+n):a||s?null:new Error("Invalid prop `"+i+"` of type `"+typeof t[e]+"` supplied to `"+n+"`, expected `function`.")}_.propTypes={children:b,render:b},_.displayName="Observer";var w=0,x={};function T(t){return x[t]||(x[t]=function(t){if("function"==typeof Symbol)return Symbol(t);var e="__$mobx-react "+t+" ("+w+")";return w++,e}(t)),x[t]}function E(t,e){if(P(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!hasOwnProperty.call(e,n[i])||!P(t[n[i]],e[n[i]]))return!1;return!0}function P(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}function k(t,e,n){Object.hasOwnProperty.call(t,e)?t[e]=n:Object.defineProperty(t,e,{enumerable:!1,configurable:!0,writable:!0,value:n})}var C=T("patchMixins"),S=T("patchedDefinition");function O(t,e){for(var n=this,r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];e.locks++;try{var o;return null!=t&&(o=t.apply(this,r)),o}finally{e.locks--,0===e.locks&&e.methods.forEach(function(t){t.apply(n,r)})}}function A(t,e){return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];O.call.apply(O,[this,t,e].concat(n))}}function L(t,e,n){var r=function(t,e){var n=t[C]=t[C]||{},r=n[e]=n[e]||{};return r.locks=r.locks||0,r.methods=r.methods||[],r}(t,e);r.methods.indexOf(n)<0&&r.methods.push(n);var i=Object.getOwnPropertyDescriptor(t,e);if(!i||!i[S]){var o=function t(e,n,r,i,o){var a,s=A(o,i);return(a={})[S]=!0,a.get=function(){return s},a.set=function(o){if(this===e)s=A(o,i);else{var a=t(this,n,r,i,o);Object.defineProperty(this,n,a)}},a.configurable=!0,a.enumerable=r,a}(t,e,i?i.enumerable:void 0,r,t[e]);Object.defineProperty(t,e,o)}}var z=s.$mobx||"$mobx",M=T("isUnmounted"),j=T("skipRender"),R=T("isForcingUpdate");function I(t,e){return u()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==e||!E(this.props,t)}function N(t,e){var n=T("reactProp_"+e+"_valu
//# sourceMappingURL=bundle.js.map