ui-components
Version:
A collection of React UI components
10 lines • 98.6 kB
JavaScript
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["ui-components"]=e():t["ui-components"]=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{},id:n,loaded:!1};return t[n].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}({0:function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.validators=void 0;var i=r(276),o=n(i),u=r(282),a=n(u);e.validators=o.default,e.default=a.default},2:function(t,e,r){"use strict";t.exports=r(3)},3:function(t,e,r){"use strict";var n=r(4),i=r(5),o=r(18),u=r(21),a=r(22),s=r(24),f=r(9),c=r(25),p=r(27),l=r(28),h=(r(11),f.createElement),d=f.createFactory,_=f.cloneElement,v=n,y={Children:{map:i.map,forEach:i.forEach,count:i.count,toArray:i.toArray,only:l},Component:o,PureComponent:u,createElement:h,cloneElement:_,isValidElement:f.isValidElement,PropTypes:c,createClass:a.createClass,createFactory:d,createMixin:function(t){return t},DOM:s,version:p,__spread:v};t.exports=y},4:function(t,e){"use strict";function r(t){if(null===t||void 0===t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function n(){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={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(t){return e[t]});if("0123456789"!==n.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(t){i[t]=t}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}var i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;t.exports=n()?Object.assign:function(t,e){for(var n,u,a=r(t),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var f in n)i.call(n,f)&&(a[f]=n[f]);if(Object.getOwnPropertySymbols){u=Object.getOwnPropertySymbols(n);for(var c=0;c<u.length;c++)o.call(n,u[c])&&(a[u[c]]=n[u[c]])}}return a}},5:function(t,e,r){"use strict";function n(t){return(""+t).replace(b,"$&/")}function i(t,e){this.func=t,this.context=e,this.count=0}function o(t,e,r){var n=t.func,i=t.context;n.call(i,e,t.count++)}function u(t,e,r){if(null==t)return t;var n=i.getPooled(e,r);y(t,o,n),i.release(n)}function a(t,e,r,n){this.result=t,this.keyPrefix=e,this.func=r,this.context=n,this.count=0}function s(t,e,r){var i=t.result,o=t.keyPrefix,u=t.func,a=t.context,s=u.call(a,e,t.count++);Array.isArray(s)?f(s,i,r,v.thatReturnsArgument):null!=s&&(_.isValidElement(s)&&(s=_.cloneAndReplaceKey(s,o+(!s.key||e&&e.key===s.key?"":n(s.key)+"/")+r)),i.push(s))}function f(t,e,r,i,o){var u="";null!=r&&(u=n(r)+"/");var f=a.getPooled(e,u,i,o);y(t,s,f),a.release(f)}function c(t,e,r){if(null==t)return t;var n=[];return f(t,n,null,e,r),n}function p(t,e,r){return null}function l(t,e){return y(t,p,null)}function h(t){var e=[];return f(t,e,null,v.thatReturnsArgument),e}var d=r(6),_=r(9),v=r(12),y=r(15),m=d.twoArgumentPooler,g=d.fourArgumentPooler,b=/\/+/g;i.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},d.addPoolingTo(i,m),a.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d.addPoolingTo(a,g);var w={forEach:u,map:c,mapIntoWithKeyPrefixInternal:f,count:l,toArray:h};t.exports=w},6:function(t,e,r){"use strict";var n=r(7),i=(r(8),function(t){var e=this;if(e.instancePool.length){var r=e.instancePool.pop();return e.call(r,t),r}return new e(t)}),o=function(t,e){var r=this;if(r.instancePool.length){var n=r.instancePool.pop();return r.call(n,t,e),n}return new r(t,e)},u=function(t,e,r){var n=this;if(n.instancePool.length){var i=n.instancePool.pop();return n.call(i,t,e,r),i}return new n(t,e,r)},a=function(t,e,r,n){var i=this;if(i.instancePool.length){var o=i.instancePool.pop();return i.call(o,t,e,r,n),o}return new i(t,e,r,n)},s=function(t,e,r,n,i){var o=this;if(o.instancePool.length){var u=o.instancePool.pop();return o.call(u,t,e,r,n,i),u}return new o(t,e,r,n,i)},f=function(t){var e=this;t instanceof e?void 0:n("25"),t.destructor(),e.instancePool.length<e.poolSize&&e.instancePool.push(t)},c=10,p=i,l=function(t,e){var r=t;return r.instancePool=[],r.getPooled=e||p,r.poolSize||(r.poolSize=c),r.release=f,r},h={addPoolingTo:l,oneArgumentPooler:i,twoArgumentPooler:o,threeArgumentPooler:u,fourArgumentPooler:a,fiveArgumentPooler:s};t.exports=h},7:function(t,e){"use strict";function r(t){for(var e=arguments.length-1,r="Minified React error #"+t+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+t,n=0;n<e;n++)r+="&args[]="+encodeURIComponent(arguments[n+1]);r+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var i=new Error(r);throw i.name="Invariant Violation",i.framesToPop=1,i}t.exports=r},8:function(t,e,r){"use strict";function n(t,e,r,n,i,o,u,a){if(!t){var s;if(void 0===e)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[r,n,i,o,u,a],c=0;s=new Error(e.replace(/%s/g,function(){return f[c++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}t.exports=n},9:function(t,e,r){"use strict";function n(t){return void 0!==t.ref}function i(t){return void 0!==t.key}var o=r(4),u=r(10),a=(r(11),r(13),Object.prototype.hasOwnProperty),s=r(14),f={key:!0,ref:!0,__self:!0,__source:!0},c=function(t,e,r,n,i,o,u){var a={$$typeof:s,type:t,key:e,ref:r,props:u,_owner:o};return a};c.createElement=function(t,e,r){var o,s={},p=null,l=null,h=null,d=null;if(null!=e){n(e)&&(l=e.ref),i(e)&&(p=""+e.key),h=void 0===e.__self?null:e.__self,d=void 0===e.__source?null:e.__source;for(o in e)a.call(e,o)&&!f.hasOwnProperty(o)&&(s[o]=e[o])}var _=arguments.length-2;if(1===_)s.children=r;else if(_>1){for(var v=Array(_),y=0;y<_;y++)v[y]=arguments[y+2];s.children=v}if(t&&t.defaultProps){var m=t.defaultProps;for(o in m)void 0===s[o]&&(s[o]=m[o])}return c(t,p,l,h,d,u.current,s)},c.createFactory=function(t){var e=c.createElement.bind(null,t);return e.type=t,e},c.cloneAndReplaceKey=function(t,e){var r=c(t.type,e,t.ref,t._self,t._source,t._owner,t.props);return r},c.cloneElement=function(t,e,r){var s,p=o({},t.props),l=t.key,h=t.ref,d=t._self,_=t._source,v=t._owner;if(null!=e){n(e)&&(h=e.ref,v=u.current),i(e)&&(l=""+e.key);var y;t.type&&t.type.defaultProps&&(y=t.type.defaultProps);for(s in e)a.call(e,s)&&!f.hasOwnProperty(s)&&(void 0===e[s]&&void 0!==y?p[s]=y[s]:p[s]=e[s])}var m=arguments.length-2;if(1===m)p.children=r;else if(m>1){for(var g=Array(m),b=0;b<m;b++)g[b]=arguments[b+2];p.children=g}return c(t.type,l,h,d,_,v,p)},c.isValidElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===s},t.exports=c},10:function(t,e){"use strict";var r={current:null};t.exports=r},11:function(t,e,r){"use strict";var n=r(12),i=n;t.exports=i},12:function(t,e){"use strict";function r(t){return function(){return t}}var n=function(){};n.thatReturns=r,n.thatReturnsFalse=r(!1),n.thatReturnsTrue=r(!0),n.thatReturnsNull=r(null),n.thatReturnsThis=function(){return this},n.thatReturnsArgument=function(t){return t},t.exports=n},13:function(t,e,r){"use strict";var n=!1;t.exports=n},14:function(t,e){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},15:function(t,e,r){"use strict";function n(t,e){return t&&"object"==typeof t&&null!=t.key?f.escape(t.key):e.toString(36)}function i(t,e,r,o){var l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===a)return r(o,t,""===e?c+n(t,0):e),1;var h,d,_=0,v=""===e?c:e+p;if(Array.isArray(t))for(var y=0;y<t.length;y++)h=t[y],d=v+n(h,y),_+=i(h,d,r,o);else{var m=s(t);if(m){var g,b=m.call(t);if(m!==t.entries)for(var w=0;!(g=b.next()).done;)h=g.value,d=v+n(h,w++),_+=i(h,d,r,o);else for(;!(g=b.next()).done;){var S=g.value;S&&(h=S[1],d=v+f.escape(S[0])+p+n(h,0),_+=i(h,d,r,o))}}else if("object"===l){var x="",E=String(t);u("31","[object Object]"===E?"object with keys {"+Object.keys(t).join(", ")+"}":E,x)}}return _}function o(t,e,r){return null==t?0:i(t,"",e,r)}var u=r(7),a=(r(10),r(14)),s=r(16),f=(r(8),r(17)),c=(r(11),"."),p=":";t.exports=o},16:function(t,e){"use strict";function r(t){var e=t&&(n&&t[n]||t[i]);if("function"==typeof e)return e}var n="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";t.exports=r},17:function(t,e){"use strict";function r(t){var e=/[=:]/g,r={"=":"=0",":":"=2"},n=(""+t).replace(e,function(t){return r[t]});return"$"+n}function n(t){var e=/(=0|=2)/g,r={"=0":"=","=2":":"},n="."===t[0]&&"$"===t[1]?t.substring(2):t.substring(1);return(""+n).replace(e,function(t){return r[t]})}var i={escape:r,unescape:n};t.exports=i},18:function(t,e,r){"use strict";function n(t,e,r){this.props=t,this.context=e,this.refs=u,this.updater=r||o}var i=r(7),o=r(19),u=(r(13),r(20));r(8),r(11);n.prototype.isReactComponent={},n.prototype.setState=function(t,e){"object"!=typeof t&&"function"!=typeof t&&null!=t?i("85"):void 0,this.updater.enqueueSetState(this,t),e&&this.updater.enqueueCallback(this,e,"setState")},n.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this),t&&this.updater.enqueueCallback(this,t,"forceUpdate")};t.exports=n},19:function(t,e,r){"use strict";function n(t,e){}var i=(r(11),{isMounted:function(t){return!1},enqueueCallback:function(t,e){},enqueueForceUpdate:function(t){n(t,"forceUpdate")},enqueueReplaceState:function(t,e){n(t,"replaceState")},enqueueSetState:function(t,e){n(t,"setState")}});t.exports=i},20:function(t,e,r){"use strict";var n={};t.exports=n},21:function(t,e,r){"use strict";function n(t,e,r){this.props=t,this.context=e,this.refs=s,this.updater=r||a}function i(){}var o=r(4),u=r(18),a=r(19),s=r(20);i.prototype=u.prototype,n.prototype=new i,n.prototype.constructor=n,o(n.prototype,u.prototype),n.prototype.isPureReactComponent=!0,t.exports=n},22:function(t,e,r){"use strict";function n(t){return t}function i(t,e){var r=b.hasOwnProperty(e)?b[e]:null;S.hasOwnProperty(e)&&("OVERRIDE_BASE"!==r?l("73",e):void 0),t&&("DEFINE_MANY"!==r&&"DEFINE_MANY_MERGED"!==r?l("74",e):void 0)}function o(t,e){if(e){"function"==typeof e?l("75"):void 0,_.isValidElement(e)?l("76"):void 0;var r=t.prototype,n=r.__reactAutoBindPairs;e.hasOwnProperty(m)&&w.mixins(t,e.mixins);for(var o in e)if(e.hasOwnProperty(o)&&o!==m){var u=e[o],a=r.hasOwnProperty(o);if(i(a,o),w.hasOwnProperty(o))w[o](t,u);else{var c=b.hasOwnProperty(o),p="function"==typeof u,h=p&&!c&&!a&&e.autobind!==!1;if(h)n.push(o,u),r[o]=u;else if(a){var d=b[o];!c||"DEFINE_MANY_MERGED"!==d&&"DEFINE_MANY"!==d?l("77",d,o):void 0,"DEFINE_MANY_MERGED"===d?r[o]=s(r[o],u):"DEFINE_MANY"===d&&(r[o]=f(r[o],u))}else r[o]=u}}}else;}function u(t,e){if(e)for(var r in e){var n=e[r];if(e.hasOwnProperty(r)){var i=r in w;i?l("78",r):void 0;var o=r in t;o?l("79",r):void 0,t[r]=n}}}function a(t,e){t&&e&&"object"==typeof t&&"object"==typeof e?void 0:l("80");for(var r in e)e.hasOwnProperty(r)&&(void 0!==t[r]?l("81",r):void 0,t[r]=e[r]);return t}function s(t,e){return function(){var r=t.apply(this,arguments),n=e.apply(this,arguments);if(null==r)return n;if(null==n)return r;var i={};return a(i,r),a(i,n),i}}function f(t,e){return function(){t.apply(this,arguments),e.apply(this,arguments)}}function c(t,e){var r=e.bind(t);return r}function p(t){for(var e=t.__reactAutoBindPairs,r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];t[n]=c(t,i)}}var l=r(7),h=r(4),d=r(18),_=r(9),v=(r(23),r(19)),y=r(20),m=(r(8),r(11),"mixins"),g=[],b={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},w={displayName:function(t,e){t.displayName=e},mixins:function(t,e){if(e)for(var r=0;r<e.length;r++)o(t,e[r])},childContextTypes:function(t,e){t.childContextTypes=h({},t.childContextTypes,e)},contextTypes:function(t,e){t.contextTypes=h({},t.contextTypes,e)},getDefaultProps:function(t,e){t.getDefaultProps?t.getDefaultProps=s(t.getDefaultProps,e):t.getDefaultProps=e},propTypes:function(t,e){t.propTypes=h({},t.propTypes,e)},statics:function(t,e){u(t,e)},autobind:function(){}},S={replaceState:function(t,e){this.updater.enqueueReplaceState(this,t),e&&this.updater.enqueueCallback(this,e,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},x=function(){};h(x.prototype,d.prototype,S);var E={createClass:function(t){var e=n(function(t,r,n){this.__reactAutoBindPairs.length&&p(this),this.props=t,this.context=r,this.refs=y,this.updater=n||v,this.state=null;var i=this.getInitialState?this.getInitialState():null;"object"!=typeof i||Array.isArray(i)?l("82",e.displayName||"ReactCompositeComponent"):void 0,this.state=i});e.prototype=new x,e.prototype.constructor=e,e.prototype.__reactAutoBindPairs=[],g.forEach(o.bind(null,e)),o(e,t),e.getDefaultProps&&(e.defaultProps=e.getDefaultProps()),e.prototype.render?void 0:l("83");for(var r in b)e.prototype[r]||(e.prototype[r]=null);return e},injection:{injectMixin:function(t){g.push(t)}}};t.exports=E},23:function(t,e,r){"use strict";var n={};t.exports=n},24:function(t,e,r){"use strict";var n=r(9),i=n.createFactory,o={a:i("a"),abbr:i("abbr"),address:i("address"),area:i("area"),article:i("article"),aside:i("aside"),audio:i("audio"),b:i("b"),base:i("base"),bdi:i("bdi"),bdo:i("bdo"),big:i("big"),blockquote:i("blockquote"),body:i("body"),br:i("br"),button:i("button"),canvas:i("canvas"),caption:i("caption"),cite:i("cite"),code:i("code"),col:i("col"),colgroup:i("colgroup"),data:i("data"),datalist:i("datalist"),dd:i("dd"),del:i("del"),details:i("details"),dfn:i("dfn"),dialog:i("dialog"),div:i("div"),dl:i("dl"),dt:i("dt"),em:i("em"),embed:i("embed"),fieldset:i("fieldset"),figcaption:i("figcaption"),figure:i("figure"),footer:i("footer"),form:i("form"),h1:i("h1"),h2:i("h2"),h3:i("h3"),h4:i("h4"),h5:i("h5"),h6:i("h6"),head:i("head"),header:i("header"),hgroup:i("hgroup"),hr:i("hr"),html:i("html"),i:i("i"),iframe:i("iframe"),img:i("img"),input:i("input"),ins:i("ins"),kbd:i("kbd"),keygen:i("keygen"),label:i("label"),legend:i("legend"),li:i("li"),link:i("link"),main:i("main"),map:i("map"),mark:i("mark"),menu:i("menu"),menuitem:i("menuitem"),meta:i("meta"),meter:i("meter"),nav:i("nav"),noscript:i("noscript"),object:i("object"),ol:i("ol"),optgroup:i("optgroup"),option:i("option"),output:i("output"),p:i("p"),param:i("param"),picture:i("picture"),pre:i("pre"),progress:i("progress"),q:i("q"),rp:i("rp"),rt:i("rt"),ruby:i("ruby"),s:i("s"),samp:i("samp"),script:i("script"),section:i("section"),select:i("select"),small:i("small"),source:i("source"),span:i("span"),strong:i("strong"),style:i("style"),sub:i("sub"),summary:i("summary"),sup:i("sup"),table:i("table"),tbody:i("tbody"),td:i("td"),textarea:i("textarea"),tfoot:i("tfoot"),th:i("th"),thead:i("thead"),time:i("time"),title:i("title"),tr:i("tr"),track:i("track"),u:i("u"),ul:i("ul"),var:i("var"),video:i("video"),wbr:i("wbr"),circle:i("circle"),clipPath:i("clipPath"),defs:i("defs"),ellipse:i("ellipse"),g:i("g"),image:i("image"),line:i("line"),linearGradient:i("linearGradient"),mask:i("mask"),path:i("path"),pattern:i("pattern"),polygon:i("polygon"),polyline:i("polyline"),radialGradient:i("radialGradient"),rect:i("rect"),stop:i("stop"),svg:i("svg"),text:i("text"),tspan:i("tspan")};t.exports=o},25:function(t,e,r){"use strict";function n(t,e){return t===e?0!==t||1/t===1/e:t!==t&&e!==e}function i(t){this.message=t,this.stack=""}function o(t){function e(e,r,n,o,u,a,s){o=o||O,a=a||n;if(null==r[n]){var f=S[u];return e?new i(null===r[n]?"The "+f+" `"+a+"` is marked as required "+("in `"+o+"`, but its value is `null`."):"The "+f+" `"+a+"` is marked as required in "+("`"+o+"`, but its value is `undefined`.")):null}return t(r,n,o,u,a)}var r=e.bind(null,!1);return r.isRequired=e.bind(null,!0),r}function u(t){function e(e,r,n,o,u,a){var s=e[r],f=m(s);if(f!==t){var c=S[o],p=g(s);return new i("Invalid "+c+" `"+u+"` of type "+("`"+p+"` supplied to `"+n+"`, expected ")+("`"+t+"`."))}return null}return o(e)}function a(){return o(E.thatReturns(null))}function s(t){function e(e,r,n,o,u){if("function"!=typeof t)return new i("Property `"+u+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var a=e[r];if(!Array.isArray(a)){var s=S[o],f=m(a);return new i("Invalid "+s+" `"+u+"` of type "+("`"+f+"` supplied to `"+n+"`, expected an array."))}for(var c=0;c<a.length;c++){var p=t(a,c,n,o,u+"["+c+"]",x);if(p instanceof Error)return p}return null}return o(e)}function f(){function t(t,e,r,n,o){var u=t[e];if(!w.isValidElement(u)){var a=S[n],s=m(u);return new i("Invalid "+a+" `"+o+"` of type "+("`"+s+"` supplied to `"+r+"`, expected a single ReactElement."))}return null}return o(t)}function c(t){function e(e,r,n,o,u){if(!(e[r]instanceof t)){var a=S[o],s=t.name||O,f=b(e[r]);return new i("Invalid "+a+" `"+u+"` of type "+("`"+f+"` supplied to `"+n+"`, expected ")+("instance of `"+s+"`."))}return null}return o(e)}function p(t){function e(e,r,o,u,a){for(var s=e[r],f=0;f<t.length;f++)if(n(s,t[f]))return null;var c=S[u],p=JSON.stringify(t);return new i("Invalid "+c+" `"+a+"` of value `"+s+"` "+("supplied to `"+o+"`, expected one of "+p+"."))}return Array.isArray(t)?o(e):E.thatReturnsNull}function l(t){function e(e,r,n,o,u){if("function"!=typeof t)return new i("Property `"+u+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var a=e[r],s=m(a);if("object"!==s){var f=S[o];return new i("Invalid "+f+" `"+u+"` of type "+("`"+s+"` supplied to `"+n+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var p=t(a,c,n,o,u+"."+c,x);if(p instanceof Error)return p}return null}return o(e)}function h(t){function e(e,r,n,o,u){for(var a=0;a<t.length;a++){var s=t[a];if(null==s(e,r,n,o,u,x))return null}var f=S[o];return new i("Invalid "+f+" `"+u+"` supplied to "+("`"+n+"`."))}return Array.isArray(t)?o(e):E.thatReturnsNull}function d(){function t(t,e,r,n,o){if(!v(t[e])){var u=S[n];return new i("Invalid "+u+" `"+o+"` supplied to "+("`"+r+"`, expected a ReactNode."))}return null}return o(t)}function _(t){function e(e,r,n,o,u){var a=e[r],s=m(a);if("object"!==s){var f=S[o];return new i("Invalid "+f+" `"+u+"` of type `"+s+"` "+("supplied to `"+n+"`, expected `object`."))}for(var c in t){var p=t[c];if(p){var l=p(a,c,n,o,u+"."+c,x);if(l)return l}}return null}return o(e)}function v(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(v);if(null===t||w.isValidElement(t))return!0;var e=I(t);if(!e)return!1;var r,n=e.call(t);if(e!==t.entries){for(;!(r=n.next()).done;)if(!v(r.value))return!1}else for(;!(r=n.next()).done;){var i=r.value;if(i&&!v(i[1]))return!1}return!0;default:return!1}}function y(t,e){return"symbol"===t||("Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol)}function m(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":y(e,t)?"symbol":e}function g(t){var e=m(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}function b(t){return t.constructor&&t.constructor.name?t.constructor.name:O}var w=r(9),S=r(23),x=r(26),E=r(12),I=r(16),O=(r(11),"<<anonymous>>"),M={array:u("array"),bool:u("boolean"),func:u("function"),number:u("number"),object:u("object"),string:u("string"),symbol:u("symbol"),any:a(),arrayOf:s,element:f(),instanceOf:c,node:d(),objectOf:l,oneOf:p,oneOfType:h,shape:_};i.prototype=Error.prototype,t.exports=M},26:function(t,e){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=r},27:function(t,e){"use strict";t.exports="15.4.1"},28:function(t,e,r){"use strict";function n(t){return o.isValidElement(t)?void 0:i("143"),t}var i=r(7),o=r(9);r(8);t.exports=n},29:function(t,e,r){var n,i;/*!
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
!function(){"use strict";function r(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var i=typeof n;if("string"===i||"number"===i)t.push(n);else if(Array.isArray(n))t.push(r.apply(null,n));else if("object"===i)for(var u in n)o.call(n,u)&&n[u]&&t.push(u)}}return t.join(" ")}var o={}.hasOwnProperty;"undefined"!=typeof t&&t.exports?t.exports=r:(n=[],i=function(){return r}.apply(e,n),!(void 0!==i&&(t.exports=i)))}()},32:function(t,e){t.exports=function(){var t=[];return t.toString=function(){for(var t=[],e=0;e<this.length;e++){var r=this[e];r[2]?t.push("@media "+r[2]+"{"+r[1]+"}"):t.push(r[1])}return t.join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<e.length;i++){var u=e[i];"number"==typeof u[0]&&n[u[0]]||(r&&!u[2]?u[2]=r:r&&(u[2]="("+u[2]+") and ("+r+")"),t.push(u))}},t}},33:function(t,e,r){function n(t,e){for(var r=0;r<t.length;r++){var n=t[r],i=h[n.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](n.parts[o]);for(;o<n.parts.length;o++)i.parts.push(f(n.parts[o],e))}else{for(var u=[],o=0;o<n.parts.length;o++)u.push(f(n.parts[o],e));h[n.id]={id:n.id,refs:1,parts:u}}}}function i(t){for(var e=[],r={},n=0;n<t.length;n++){var i=t[n],o=i[0],u=i[1],a=i[2],s=i[3],f={css:u,media:a,sourceMap:s};r[o]?r[o].parts.push(f):e.push(r[o]={id:o,parts:[f]})}return e}function o(t,e){var r=v(),n=g[g.length-1];if("top"===t.insertAt)n?n.nextSibling?r.insertBefore(e,n.nextSibling):r.appendChild(e):r.insertBefore(e,r.firstChild),g.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(e)}}function u(t){t.parentNode.removeChild(t);var e=g.indexOf(t);e>=0&&g.splice(e,1)}function a(t){var e=document.createElement("style");return e.type="text/css",o(t,e),e}function s(t){var e=document.createElement("link");return e.rel="stylesheet",o(t,e),e}function f(t,e){var r,n,i;if(e.singleton){var o=m++;r=y||(y=a(e)),n=c.bind(null,r,o,!1),i=c.bind(null,r,o,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(r=s(e),n=l.bind(null,r),i=function(){u(r),r.href&&URL.revokeObjectURL(r.href)}):(r=a(e),n=p.bind(null,r),i=function(){u(r)});return n(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;n(t=e)}else i()}}function c(t,e,r,n){var i=r?"":n.css;if(t.styleSheet)t.styleSheet.cssText=b(e,i);else{var o=document.createTextNode(i),u=t.childNodes;u[e]&&t.removeChild(u[e]),u.length?t.insertBefore(o,u[e]):t.appendChild(o)}}function p(t,e){var r=e.css,n=e.media;if(n&&t.setAttribute("media",n),t.styleSheet)t.styleSheet.cssText=r;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(r))}}function l(t,e){var r=e.css,n=e.sourceMap;n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([r],{type:"text/css"}),o=t.href;t.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}var h={},d=function(t){var e;return function(){return"undefined"==typeof e&&(e=t.apply(this,arguments)),e}},_=d(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),v=d(function(){return document.head||document.getElementsByTagName("head")[0]}),y=null,m=0,g=[];t.exports=function(t,e){e=e||{},"undefined"==typeof e.singleton&&(e.singleton=_()),"undefined"==typeof e.insertAt&&(e.insertAt="bottom");var r=i(t);return n(r,e),function(t){for(var o=[],u=0;u<r.length;u++){var a=r[u],s=h[a.id];s.refs--,o.push(s)}if(t){var f=i(t);n(f,e)}for(var u=0;u<o.length;u++){var s=o[u];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete h[s.id]}}}};var b=function(){var t=[];return function(e,r){return t[e]=r,t.filter(Boolean).join("\n")}}()},39:function(t,e,r){/**
* @author Félix Girault <felix.girault@gmail.com>
* @license MIT
*/
"use strict";function n(t,e){return!a(this.props,t)||!a(this.state,e)}function i(t){var e=t.prototype&&t.prototype.constructor;return t.displayName||e&&e.displayName||t.name||e&&e.name||"a component"}function o(t){return void 0!==t.prototype.shouldComponentUpdate&&u(!1,"Cannot decorate `%s` with @pureRenderDecorator, because it already implements `shouldComponentUpdate().",i(t)),t.prototype.shouldComponentUpdate=n,t}var u=r(11),a=r(40);t.exports=o},40:function(t,e){"use strict";function r(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function n(t,e){if(r(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),o=Object.keys(e);if(n.length!==o.length)return!1;for(var u=0;u<n.length;u++)if(!i.call(e,n[u])||!r(t[n[u]],e[n[u]]))return!1;return!0}var i=Object.prototype.hasOwnProperty;t.exports=n},42:function(t,e,r){!function(e,r){t.exports=r()}(this,function(){"use strict";function t(t,e){e&&(t.prototype=Object.create(e.prototype)),t.prototype.constructor=t}function e(t){return o(t)?t:D(t)}function r(t){return u(t)?t:A(t)}function n(t){return a(t)?t:q(t)}function i(t){return o(t)&&!s(t)?t:P(t)}function o(t){return!(!t||!t[sr])}function u(t){return!(!t||!t[fr])}function a(t){return!(!t||!t[cr])}function s(t){return u(t)||a(t)}function f(t){return!(!t||!t[pr])}function c(t){return t.value=!1,t}function p(t){t&&(t.value=!0)}function l(){}function h(t,e){e=e||0;for(var r=Math.max(0,t.length-e),n=new Array(r),i=0;i<r;i++)n[i]=t[i+e];return n}function d(t){return void 0===t.size&&(t.size=t.__iterate(v)),t.size}function _(t,e){if("number"!=typeof e){var r=e>>>0;if(""+r!==e||4294967295===r)return NaN;e=r}return e<0?d(t)+e:e}function v(){return!0}function y(t,e,r){return(0===t||void 0!==r&&t<=-r)&&(void 0===e||void 0!==r&&e>=r)}function m(t,e){return b(t,e,0)}function g(t,e){return b(t,e,e)}function b(t,e,r){return void 0===t?r:t<0?Math.max(0,e+t):void 0===e?t:Math.min(e,t)}function w(t){this.next=t}function S(t,e,r,n){var i=0===t?e:1===t?r:[e,r];return n?n.value=i:n={value:i,done:!1},n}function x(){return{value:void 0,done:!0}}function E(t){return!!M(t)}function I(t){return t&&"function"==typeof t.next}function O(t){var e=M(t);return e&&e.call(t)}function M(t){var e=t&&(Sr&&t[Sr]||t[xr]);if("function"==typeof e)return e}function z(t){return t&&"number"==typeof t.length}function D(t){return null===t||void 0===t?T():o(t)?t.toSeq():L(t)}function A(t){return null===t||void 0===t?T().toKeyedSeq():o(t)?u(t)?t.toSeq():t.fromEntrySeq():C(t)}function q(t){return null===t||void 0===t?T():o(t)?u(t)?t.entrySeq():t.toIndexedSeq():U(t)}function P(t){return(null===t||void 0===t?T():o(t)?u(t)?t.entrySeq():t:U(t)).toSetSeq()}function j(t){this._array=t,this.size=t.length}function k(t){var e=Object.keys(t);this._object=t,this._keys=e,this.size=e.length}function R(t){this._iterable=t,this.size=t.length||t.size}function N(t){this._iterator=t,this._iteratorCache=[]}function F(t){return!(!t||!t[Ir])}function T(){return Or||(Or=new j([]))}function C(t){var e=Array.isArray(t)?new j(t).fromEntrySeq():I(t)?new N(t).fromEntrySeq():E(t)?new R(t).fromEntrySeq():"object"==typeof t?new k(t):void 0;if(!e)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+t);return e}function U(t){var e=K(t);if(!e)throw new TypeError("Expected Array or iterable object of values: "+t);return e}function L(t){var e=K(t)||"object"==typeof t&&new k(t);if(!e)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+t);return e}function K(t){return z(t)?new j(t):I(t)?new N(t):E(t)?new R(t):void 0}function B(t,e,r,n){var i=t._cache;if(i){for(var o=i.length-1,u=0;u<=o;u++){var a=i[r?o-u:u];if(e(a[1],n?a[0]:u,t)===!1)return u+1}return u}return t.__iterateUncached(e,r)}function V(t,e,r,n){var i=t._cache;if(i){var o=i.length-1,u=0;return new w(function(){var t=i[r?o-u:u];return u++>o?x():S(e,n?t[0]:u-1,t[1])})}return t.__iteratorUncached(e,r)}function Y(t,e){return e?W(e,t,"",{"":t}):J(t)}function W(t,e,r,n){return Array.isArray(e)?t.call(n,r,q(e).map(function(r,n){return W(t,r,n,e)})):G(e)?t.call(n,r,A(e).map(function(r,n){return W(t,r,n,e)})):e}function J(t){return Array.isArray(t)?q(t).map(J).toList():G(t)?A(t).map(J).toMap():t}function G(t){return t&&(t.constructor===Object||void 0===t.constructor)}function H(t,e){if(t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1;if("function"==typeof t.valueOf&&"function"==typeof e.valueOf){if(t=t.valueOf(),e=e.valueOf(),t===e||t!==t&&e!==e)return!0;if(!t||!e)return!1}return!("function"!=typeof t.equals||"function"!=typeof e.equals||!t.equals(e))}function $(t,e){if(t===e)return!0;if(!o(e)||void 0!==t.size&&void 0!==e.size&&t.size!==e.size||void 0!==t.__hash&&void 0!==e.__hash&&t.__hash!==e.__hash||u(t)!==u(e)||a(t)!==a(e)||f(t)!==f(e))return!1;if(0===t.size&&0===e.size)return!0;var r=!s(t);if(f(t)){var n=t.entries();return e.every(function(t,e){var i=n.next().value;return i&&H(i[1],t)&&(r||H(i[0],e))})&&n.next().done}var i=!1;if(void 0===t.size)if(void 0===e.size)"function"==typeof t.cacheResult&&t.cacheResult();else{i=!0;var c=t;t=e,e=c}var p=!0,l=e.__iterate(function(e,n){if(r?!t.has(e):i?!H(e,t.get(n,vr)):!H(t.get(n,vr),e))return p=!1,!1});return p&&t.size===l}function Z(t,e){if(!(this instanceof Z))return new Z(t,e);if(this._value=t,this.size=void 0===e?1/0:Math.max(0,e),0===this.size){if(Mr)return Mr;Mr=this}}function Q(t,e){if(!t)throw new Error(e)}function X(t,e,r){if(!(this instanceof X))return new X(t,e,r);if(Q(0!==r,"Cannot step a Range by 0"),t=t||0,void 0===e&&(e=1/0),r=void 0===r?1:Math.abs(r),e<t&&(r=-r),this._start=t,this._end=e,this._step=r,this.size=Math.max(0,Math.ceil((e-t)/r-1)+1),0===this.size){if(zr)return zr;zr=this}}function tt(){throw TypeError("Abstract")}function et(){}function rt(){}function nt(){}function it(t){return t>>>1&1073741824|3221225471&t}function ot(t){if(t===!1||null===t||void 0===t)return 0;if("function"==typeof t.valueOf&&(t=t.valueOf(),t===!1||null===t||void 0===t))return 0;if(t===!0)return 1;var e=typeof t;if("number"===e){if(t!==t||t===1/0)return 0;var r=0|t;for(r!==t&&(r^=4294967295*t);t>4294967295;)t/=4294967295,r^=t;return it(r)}if("string"===e)return t.length>Nr?ut(t):at(t);if("function"==typeof t.hashCode)return t.hashCode();if("object"===e)return st(t);if("function"==typeof t.toString)return at(t.toString());throw new Error("Value type "+e+" cannot be hashed.")}function ut(t){var e=Cr[t];return void 0===e&&(e=at(t),Tr===Fr&&(Tr=0,Cr={}),Tr++,Cr[t]=e),e}function at(t){for(var e=0,r=0;r<t.length;r++)e=31*e+t.charCodeAt(r)|0;return it(e)}function st(t){var e;if(jr&&(e=Dr.get(t),void 0!==e))return e;if(e=t[Rr],void 0!==e)return e;if(!Pr){if(e=t.propertyIsEnumerable&&t.propertyIsEnumerable[Rr],void 0!==e)return e;if(e=ft(t),void 0!==e)return e}if(e=++kr,1073741824&kr&&(kr=0),jr)Dr.set(t,e);else{if(void 0!==qr&&qr(t)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Pr)Object.defineProperty(t,Rr,{enumerable:!1,configurable:!1,writable:!1,value:e});else if(void 0!==t.propertyIsEnumerable&&t.propertyIsEnumerable===t.constructor.prototype.propertyIsEnumerable)t.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},t.propertyIsEnumerable[Rr]=e;else{if(void 0===t.nodeType)throw new Error("Unable to set a non-enumerable property on object.");t[Rr]=e}}return e}function ft(t){if(t&&t.nodeType>0)switch(t.nodeType){case 1:return t.uniqueID;case 9:return t.documentElement&&t.documentElement.uniqueID}}function ct(t){Q(t!==1/0,"Cannot perform this action with an infinite size.")}function pt(t){return null===t||void 0===t?St():lt(t)&&!f(t)?t:St().withMutations(function(e){var n=r(t);ct(n.size),n.forEach(function(t,r){return e.set(r,t)})})}function lt(t){return!(!t||!t[Ur])}function ht(t,e){this.ownerID=t,this.entries=e}function dt(t,e,r){this.ownerID=t,this.bitmap=e,this.nodes=r}function _t(t,e,r){this.ownerID=t,this.count=e,this.nodes=r}function vt(t,e,r){this.ownerID=t,this.keyHash=e,this.entries=r}function yt(t,e,r){this.ownerID=t,this.keyHash=e,this.entry=r}function mt(t,e,r){this._type=e,this._reverse=r,this._stack=t._root&&bt(t._root)}function gt(t,e){return S(t,e[0],e[1])}function bt(t,e){return{node:t,index:0,__prev:e}}function wt(t,e,r,n){var i=Object.create(Lr);return i.size=t,i._root=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function St(){return Kr||(Kr=wt(0))}function xt(t,e,r){var n,i;if(t._root){var o=c(yr),u=c(mr);if(n=Et(t._root,t.__ownerID,0,void 0,e,r,o,u),!u.value)return t;i=t.size+(o.value?r===vr?-1:1:0)}else{if(r===vr)return t;i=1,n=new ht(t.__ownerID,[[e,r]])}return t.__ownerID?(t.size=i,t._root=n,t.__hash=void 0,t.__altered=!0,t):n?wt(i,n):St()}function Et(t,e,r,n,i,o,u,a){return t?t.update(e,r,n,i,o,u,a):o===vr?t:(p(a),p(u),new yt(e,n,[i,o]))}function It(t){return t.constructor===yt||t.constructor===vt}function Ot(t,e,r,n,i){if(t.keyHash===n)return new vt(e,n,[t.entry,i]);var o,u=(0===r?t.keyHash:t.keyHash>>>r)&_r,a=(0===r?n:n>>>r)&_r,s=u===a?[Ot(t,e,r+hr,n,i)]:(o=new yt(e,n,i),u<a?[t,o]:[o,t]);return new dt(e,1<<u|1<<a,s)}function Mt(t,e,r,n){t||(t=new l);for(var i=new yt(t,ot(r),[r,n]),o=0;o<e.length;o++){var u=e[o];i=i.update(t,0,void 0,u[0],u[1])}return i}function zt(t,e,r,n){for(var i=0,o=0,u=new Array(r),a=0,s=1,f=e.length;a<f;a++,s<<=1){var c=e[a];void 0!==c&&a!==n&&(i|=s,u[o++]=c)}return new dt(t,i,u)}function Dt(t,e,r,n,i){for(var o=0,u=new Array(dr),a=0;0!==r;a++,r>>>=1)u[a]=1&r?e[o++]:void 0;return u[n]=i,new _t(t,o+1,u)}function At(t,e,n){for(var i=[],u=0;u<n.length;u++){var a=n[u],s=r(a);o(a)||(s=s.map(function(t){return Y(t)})),i.push(s)}return jt(t,e,i)}function qt(t,e,r){return t&&t.mergeDeep&&o(e)?t.mergeDeep(e):H(t,e)?t:e}function Pt(t){return function(e,r,n){if(e&&e.mergeDeepWith&&o(r))return e.mergeDeepWith(t,r);var i=t(e,r,n);return H(e,i)?e:i}}function jt(t,e,r){return r=r.filter(function(t){return 0!==t.size}),0===r.length?t:0!==t.size||t.__ownerID||1!==r.length?t.withMutations(function(t){for(var n=e?function(r,n){t.update(n,vr,function(t){return t===vr?r:e(t,r,n)})}:function(e,r){t.set(r,e)},i=0;i<r.length;i++)r[i].forEach(n)}):t.constructor(r[0])}function kt(t,e,r,n){var i=t===vr,o=e.next();if(o.done){var u=i?r:t,a=n(u);return a===u?t:a}Q(i||t&&t.set,"invalid keyPath");var s=o.value,f=i?vr:t.get(s,vr),c=kt(f,e,r,n);return c===f?t:c===vr?t.remove(s):(i?St():t).set(s,c)}function Rt(t){return t-=t>>1&1431655765,t=(858993459&t)+(t>>2&858993459),t=t+(t>>4)&252645135,t+=t>>8,t+=t>>16,127&t}function Nt(t,e,r,n){var i=n?t:h(t);return i[e]=r,i}function Ft(t,e,r,n){var i=t.length+1;if(n&&e+1===i)return t[e]=r,t;for(var o=new Array(i),u=0,a=0;a<i;a++)a===e?(o[a]=r,u=-1):o[a]=t[a+u];return o}function Tt(t,e,r){var n=t.length-1;if(r&&e===n)return t.pop(),t;for(var i=new Array(n),o=0,u=0;u<n;u++)u===e&&(o=1),i[u]=t[u+o];return i}function Ct(t){var e=Vt();if(null===t||void 0===t)return e;if(Ut(t))return t;var r=n(t),i=r.size;return 0===i?e:(ct(i),i>0&&i<dr?Bt(0,i,hr,null,new Lt(r.toArray())):e.withMutations(function(t){t.setSize(i),r.forEach(function(e,r){return t.set(r,e)})}))}function Ut(t){return!(!t||!t[Wr])}function Lt(t,e){this.array=t,this.ownerID=e}function Kt(t,e){function r(t,e,r){return 0===e?n(t,r):i(t,e,r)}function n(t,r){var n=r===a?s&&s.array:t&&t.array,i=r>o?0:o-r,f=u-r;return f>dr&&(f=dr),function(){if(i===f)return Hr;var t=e?--f:i++;return n&&n[t]}}function i(t,n,i){var a,s=t&&t.array,f=i>o?0:o-i>>n,c=(u-i>>n)+1;return c>dr&&(c=dr),function(){for(;;){if(a){var t=a();if(t!==Hr)return t;a=null}if(f===c)return Hr;var o=e?--c:f++;a=r(s&&s[o],n-hr,i+(o<<n))}}}var o=t._origin,u=t._capacity,a=Zt(u),s=t._tail;return r(t._root,t._level,0)}function Bt(t,e,r,n,i,o,u){var a=Object.create(Jr);return a.size=e-t,a._origin=t,a._capacity=e,a._level=r,a._root=n,a._tail=i,a.__ownerID=o,a.__hash=u,a.__altered=!1,a}function Vt(){return Gr||(Gr=Bt(0,0,hr))}function Yt(t,e,r){if(e=_(t,e),e!==e)return t;if(e>=t.size||e<0)return t.withMutations(function(t){e<0?Ht(t,e).set(0,r):Ht(t,0,e+1).set(e,r)});e+=t._origin;var n=t._tail,i=t._root,o=c(mr);return e>=Zt(t._capacity)?n=Wt(n,t.__ownerID,0,e,r,o):i=Wt(i,t.__ownerID,t._level,e,r,o),o.value?t.__ownerID?(t._root=i,t._tail=n,t.__hash=void 0,t.__altered=!0,t):Bt(t._origin,t._capacity,t._level,i,n):t}function Wt(t,e,r,n,i,o){var u=n>>>r&_r,a=t&&u<t.array.length;if(!a&&void 0===i)return t;var s;if(r>0){var f=t&&t.array[u],c=Wt(f,e,r-hr,n,i,o);return c===f?t:(s=Jt(t,e),s.array[u]=c,s)}return a&&t.array[u]===i?t:(p(o),s=Jt(t,e),void 0===i&&u===s.array.length-1?s.array.pop():s.array[u]=i,s)}function Jt(t,e){return e&&t&&e===t.ownerID?t:new Lt(t?t.array.slice():[],e)}function Gt(t,e){if(e>=Zt(t._capacity))return t._tail;if(e<1<<t._level+hr){for(var r=t._root,n=t._level;r&&n>0;)r=r.array[e>>>n&_r],n-=hr;return r}}function Ht(t,e,r){void 0!==e&&(e|=0),void 0!==r&&(r|=0);var n=t.__ownerID||new l,i=t._origin,o=t._capacity,u=i+e,a=void 0===r?o:r<0?o+r:i+r;if(u===i&&a===o)return t;if(u>=a)return t.clear();for(var s=t._level,f=t._root,c=0;u+c<0;)f=new Lt(f&&f.array.length?[void 0,f]:[],n),s+=hr,c+=1<<s;c&&(u+=c,i+=c,a+=c,o+=c);for(var p=Zt(o),h=Zt(a);h>=1<<s+hr;)f=new Lt(f&&f.array.length?[f]:[],n),s+=hr;var d=t._tail,_=h<p?Gt(t,a-1):h>p?new Lt([],n):d;if(d&&h>p&&u<o&&d.array.length){f=Jt(f,n);for(var v=f,y=s;y>hr;y-=hr){var m=p>>>y&_r;v=v.array[m]=Jt(v.array[m],n)}v.array[p>>>hr&_r]=d}if(a<o&&(_=_&&_.removeAfter(n,0,a)),u>=h)u-=h,a-=h,s=hr,f=null,_=_&&_.removeBefore(n,0,u);else if(u>i||h<p){for(c=0;f;){var g=u>>>s&_r;if(g!==h>>>s&_r)break;g&&(c+=(1<<s)*g),s-=hr,f=f.array[g]}f&&u>i&&(f=f.removeBefore(n,s,u-c)),f&&h<p&&(f=f.removeAfter(n,s,h-c)),c&&(u-=c,a-=c)}return t.__ownerID?(t.size=a-u,t._origin=u,t._capacity=a,t._level=s,t._root=f,t._tail=_,t.__hash=void 0,t.__altered=!0,t):Bt(u,a,s,f,_)}function $t(t,e,r){for(var i=[],u=0,a=0;a<r.length;a++){var s=r[a],f=n(s);f.size>u&&(u=f.size),o(s)||(f=f.map(function(t){return Y(t)})),i.push(f)}return u>t.size&&(t=t.setSize(u)),jt(t,e,i)}function Zt(t){return t<dr?0:t-1>>>hr<<hr}function Qt(t){return null===t||void 0===t?ee():Xt(t)?t:ee().withMutations(function(e){var n=r(t);ct(n.size),n.forEach(function(t,r){return e.set(r,t)})})}function Xt(t){return lt(t)&&f(t)}function te(t,e,r,n){var i=Object.create(Qt.prototype);return i.size=t?t.size:0,i._map=t,i._list=e,i.__ownerID=r,i.__hash=n,i}function ee(){return $r||($r=te(St(),Vt()))}function re(t,e,r){var n,i,o=t._map,u=t._list,a=o.get(e),s=void 0!==a;if(r===vr){if(!s)return t;u.size>=dr&&u.size>=2*o.size?(i=u.filter(function(t,e){return void 0!==t&&a!==e}),n=i.toKeyedSeq().map(function(t){return t[0]}).flip().toMap(),t.__ownerID&&(n.__ownerID=i.__ownerID=t.__ownerID)):(n=o.remove(e),i=a===u.size-1?u.pop():u.set(a,void 0))}else if(s){if(r===u.get(a)[1])return t;n=o,i=u.set(a,[e,r])}else n=o.set(e,u.size),i=u.set(u.size,[e,r]);return t.__ownerID?(t.size=n.size,t._map=n,t._list=i,t.__hash=void 0,t):te(n,i)}function ne(t,e){this._iter=t,this._useKeys=e,this.size=t.size}function ie(t){this._iter=t,this.size=t.size}function oe(t){this._iter=t,this.size=t.size}function ue(t){this._iter=t,this.size=t.size}function ae(t){var e=ze(t);return e._iter=t,e.size=t.size,e.flip=function(){return t},e.reverse=function(){var e=t.reverse.apply(this);return e.flip=function(){return t.reverse()},e},e.has=function(e){return t.includes(e)},e.includes=function(e){return t.has(e)},e.cacheResult=De,e.__iterateUncached=function(e,r){var n=this;return t.__iterate(function(t,r){return e(r,t,n)!==!1},r)},e.__iteratorUncached=function(e,r){if(e===wr){var n=t.__iterator(e,r);return new w(function(){var t=n.next();if(!t.done){var e=t.value[0];t.value[0]=t.value[1],t.value[1]=e}return t})}return t.__iterator(e===br?gr:br,r)},e}function se(t,e,r){var n=ze(t);return n.size=t.size,n.has=function(e){return t.has(e)},n.get=function(n,i){var o=t.get(n,vr);return o===vr?i:e.call(r,o,n,t)},n.__iterateUncached=function(n,i){var o=this;return t.__iterate(function(t,i,u){return n(e.call(r,t,i,u),i,o)!==!1},i)},n.__iteratorUncached=function(n,i){var o=t.__iterator(wr,i);return new w(function(){var i=o.next();if(i.done)return i;var u=i.value,a=u[0];return S(n,a,e.call(r,u[1],a,t),i)})},n}function fe(t,e){var r=ze(t);return r._iter=t,r.size=t.size,r.reverse=function(){return t},t.flip&&(r.flip=function(){var e=ae(t);return e.reverse=function(){return t.flip()},e}),r.get=function(r,n){return t.get(e?r:-1-r,n)},r.has=function(r){return t.has(e?r:-1-r)},r.includes=function(e){return t.includes(e)},r.cacheResult=De,r.__iterate=function(e,r){var n=this;return t.__iterate(function(t,r){return e(t,r,n)},!r)},r.__iterator=function(e,r){return t.__iterator(e,!r)},r}function ce(t,e,r,n){var i=ze(t);return n&&(i.has=function(n){var i=t.get(n,vr);return i!==vr&&!!e.call(r,i,n,t)},i.get=function(n,i){var o=t.get(n,vr);return o!==vr&&e.call(r,o,n,t)?o:i}),i.__iterateUncached=function(i,o){var u=this,a=0;return t.__iterate(function(t,o,s){if(e.call(r,t,o,s))return a++,i(t,n?o:a-1,u)},o),a},i.__iteratorUncached=function(i,o){var u=t.__iterator(wr,o),a=0;return new w(function(){for(;;){var o=u.next();if(o.done)return o;var s=o.value,f=s[0],c=s[1];if(e.call(r,c,f,t))return S(i,n?f:a++,c,o)}})},i}function pe(t,e,r){var n=pt().asMutable();return t.__iterate(function(i,o){n.update(e.call(r,i,o,t),0,function(t){return t+1})}),n.asImmutable()}function le(t,e,r){var n=u(t),i=(f(t)?Qt():pt()).asMutable();t.__iterate(function(o,u){i.update(e.call(r,o,u,t),function(t){return t=t||[],t.push(n?[u,o]:o),t})});var o=Me(t);return i.map(function(e){return Ee(t,o(e))})}function he(t,e,r,n){var i=t.size;if(void 0!==e&&(e|=0),void 0!==r&&(r===1/0?r=i:r|=0),y(e,r,i))return t;var o=m(e,i),u=g(r,i);if(o!==o||u!==u)return he(t.toSeq().cacheResult(),e,r,n);var a,s=u-o;s===s&&(a=s<0?0:s);var f=ze(t);return f.size=0===a?a:t.size&&a||void 0,!n&&F(t)&&a>=0&&(f.get=function(e,r){return e=_(this,e),e>=0&&e<a?t.get(e+o,r):r}),f.__iterateUncached=function(e,r){var i=this;if(0===a)return 0;if(r)return this.cacheResult().__iterate(e,r);var u=0,s=!0,f=0;return t.__iterate(function(t,r){if(!s||!(s=u++<o))return f++,e(t,n?r:f-1,i)!==!1&&f!==a}),f},f.__iteratorUncached=function(e,r){if(0!==a&&r)return this.cacheResult().__iterator(e,r);var i=0!==a&&t.__iterator(e,r),u=0,s=0;return new w(function(){for(;u++<o;)i.next();if(++s>a)return x();var t=i.next();return n||e===br?t:e===gr?S(e,s-1,void 0,t):S(e,s-1,t.value[1],t)})},f}function de(t,e,r){var n=ze(t);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var u=0;return t.__iterate(function(t,i,a){return e.call(r,t,i,a)&&++u&&n(t,i,o)}),u},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var u=t.__iterator(wr,i),a=!0;return new w(function(){if(!a)return x();var t=u.next();if(t.done)return t;var i=t.value,s=i[0],f=i[1];return e.call(r,f,s,o)?n===wr?t:S(n,s,f,t):(a=!1,x())})},n}function _e(t,e,r,n){var i=ze(t);return i.__iterateUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,s=0;return t.__iterate(function(t,o,f){if(!a||!(a=e.call(r,t,o,f)))return s++,i(t,n?o:s-1,u)}),s},i.__iteratorUncached=function(i,o){var u=this;if(o)return this.cacheResult().__iterator(i,o);var a=t.__iterator(wr,o),s=!0,f=0;return new w(function(){var t,o,c;do{if(t=a.next(),t.done)return n||i===br?t:i===gr?S(i,f++,void 0,t):S(i,f++,t.value[1],t);var p=t.value;o=p[0],c=p[1],s&&(s=e.call(r,c,o,u))}while(s);return i===wr?t:S(i,o,c,t)})},i}function ve(t,e){var n=u(t),i=[t].concat(e).map(function(t){return o(t)?n&&(t=r(t)):t=n?C(t):U(Array.isArray(t)?t:[t]),t}).filter(function(t){return 0!==t.size});if(0===i.length)return t;if(1===i.length){var s=i[0];if(s===t||n&&u(s)||a(t)&&a(s))return s}var f=new j(i);return n?f=f.toKeyedSeq():a(t)||(f=f.toSetSeq()),f=f.flatten(!0),f.size=i.reduce(function(t,e){if(void 0!==t){var r=e.size;if(void 0!==r)return t+r}},0),f}function ye(t,e,r){var n=ze(t);return n.__iterateUncached=function(n,i){function u(t,f){var c=this;t.__iterate(function(t,i){return(!e||f<e)&&o(t)?u(t,f+1):n(t,r?i:a++,c)===!1&&(s=!0),!s},i)}var a=0,s=!1;return u(t,0),a},n.__iteratorUncached=function(n,i){var u=t.__iterator(n,i),a=[],s=0;return new w(function(){for(;u;){var t=u.next();if(t.done===!1){var f=t.value;if(n===wr&&(f=f[1]),e&&!(a.length<e)||!o(f))return r?t:S(n,s++,f,t);a.push(u),u=f.__iterator(n,i)}else u=a.pop()}return x()})},n}function me(t,e,r){var n=Me(t);return t.toSeq().map(function(i,o){return n(e.call(r,i,o,t))}).flatten(!0)}function ge(t,e){var r=ze(t);return r.size=t.size&&2*t.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return t.__iterate(function(t,n){return(!o||r(e,o++,i)!==!1)&&r(t,o++,i)!==!1},n),o},r.__iteratorUncached=function(r,n){var i,o=t.__iterator(br,n),u=0;return new w(function(){return(!i||u%2)&&(i=o.next(),i.done)?i:u%2?S(r,u++,e):S(r,u++,i.value,i)})},r}function be(t,e,r){e||(e=Ae);var n=u(t),i=0,o=t.toSeq().map(function(e,n){return[n,e,i++,r?r(e,n,t):e]}).toArray();return o.sort(function(t,r){return e(t[3],r[3])||t[2]-r[2]}).forEach(n?function(t,e){o[e].length=2}:function(t,e){o[e]=t[1]}),n?A(o):a(t)?q(o):P(o)}function we(t,e,r){if(e||(e=Ae),r){var n=t.toSeq().map(function(e,n){return[e,r(e,n,t)]}).reduce(function(t,r){return Se(e,t[1],r[1])?r:t});return n&&n[0]}return t.reduce(function(t,r){return Se(e,t,r)?r:t})}function Se(t,e,r){var n=t(r,e);return 0===n&&r!==e&&(void 0===r||null===r||r!==r)||n>0}function xe(t,r,n){var i=ze(t);return i.size=new j(n).map(function(t){return t.size}).min(),i.__iterate=function(t,e){for(var r,n=this.__iterator(br,e),i=0;!(r=n.next()).done&&t(r.value,i++,this)!==!1;);return i},i.__iteratorUncached=function(t,i){var o=n.map(function(t){return t=e(t),O(i?t.reverse():t)}),u=0,a=!1;return new w(function(){var e;return a||(e=o.map(function(t){return t.next()}),a=e.some(function(t){return t.done})),a?x():S(t,u++,r.apply(null,e.map(function(t){return t.value})))})},i}function Ee(t,e){return F(t)?e:t.constructor(e)}function Ie(t){if(t!==Object(t))throw new TypeError("Expected [K, V] tuple: "+t)}function Oe(t){return ct(t.size),d(t)}function Me(t){return u(t)?r:a(t)?n:i}function ze(t){return Object.create((u(t)?A:a(t)?q:P).prototype)}function De(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):D.prototype.cacheResult.call(this)}function Ae(t,e){return t>e?1:t<e?-1:0}function qe(t){var r=O(t);if(!r){if(!z(t))throw new TypeError("Expected iterable or array-like: "+t);r=O(e(t))}return r}function Pe(t,e){var r,n=function(o){if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var u=Object.keys(t);Re(i,u),i.size=u.length,i._name=e,i._keys=u,i._defaultValues=t}this._map=pt(o)},i=n.prototype=Object.create(Zr);return i.constructor=n,n}function je(t,e,r){var n=Object.create(Object.getPrototypeOf(t));return n._map=e,n.__ownerID=r,n}function ke(t){return t._name||t.constructor.name||"Record"}function Re(t,e){try{e.forEach(Ne.bind(void 0,t))}catch(t){}}function Ne(t,e){Object.defineProperty(t,e,{get:function(){return this.get(e)},set:function(t){Q(this.__ownerID,"Cannot set on an immutable record."),this.set(e,t)}})}function Fe(t){return null===t||void 0===t?Le():Te(t)&&!f(t)?t:Le().withMutations(function(e){var r=i(t);ct(r.size),r.forEach(function(t){return e.add(t)})})}function Te(t){return!(!t||!t[Qr])}function Ce(t,e){return t.__ownerID?(t.size=e.size,t._map=e,t):e===t._map?t:0===e.size?t.__empty():t.__make(e)}function Ue(t,e){var r=Object.create(Xr);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function Le(){return tn||(tn=Ue(St()))}function Ke(t){return null===t||void 0===t?Ye():Be(t)?t:Ye().withMutations(function(e){var r=i(t);ct(r.size),r.forEach(function(t){return e.add(t)})})}function Be(t){return Te(t)&&f(t)}function Ve(t,e){var r=Object.create(en);return r.size=t?t.size:0,r._map=t,r.__ownerID=e,r}function Ye(){return rn||(rn=Ve(ee()))}function We(t){return null===t||void 0===t?He():Je(t)?t:He().unshiftAll(t)}function Je(t){return!(!t||!t[nn])}function Ge(t,e,r,n){var i=Object.create(on);return i.size=t,i._head=e,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function He(){return un||(un=Ge(0))}function $e(t,e){var r=function(r){t.prototype[r]=e[r]};return Object.keys(e).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(r),t}function Ze(t,e){return e}function Qe(t,e){return[e,t]}function Xe(t){return function(){return!t.apply(this,arguments)}}function tr(t){return function(){return-t.apply(this,arguments)}}function er(t){return"string"==typeof t?JSON.stringify(t):String(t)}function rr(){return h(arguments)}function nr(t,e){return t<e?1:t>e?-1:0}function ir(t){if(t.size===1/0)return 0;var e=f(t),r=u(t),n=e?1:0,i=t.__iterate(r?e?function(t,e){n=31*n+ur(ot(t),ot(e))|0}:function(t,e){n=n+ur(ot(t),ot(e))|0}:e?function(t){n=31*n+ot(t)|0}:function(t){n=n+ot(t)|0});return or(i,n)}function or(t,e){return e=Ar(e,3432918353),e=Ar(e<<15|e>>>-15,461845907),e=Ar(e<<13|e>>>-13,5),e=(e+3864292196|0)^t,e=Ar(e^e>>>16,2246822507),e=Ar(e^e>>>13,3266489909),e=it(e^e>>>16)}function ur(t,e){return t^e+2654435769+(t<<6)+(t>>2)|0}var ar=Array.prototype.slice;t(r,e),t(n,e),t(i,e),e.isIterable=o,e.isKeyed=u,e.isIndexed=a,e.isAssociative=s,e.isOrdered=f,e.Keyed=r,e.Indexed=n,e.Set=i;var sr="@@__IMMUTABLE_ITERABLE__@@",fr="@@__IMMUTABLE_KEYED__@@",cr="@@__IMMUTABLE_INDEXED__@@",pr="@@__IMMUTABLE_ORDERED__@@",lr="delete",hr