-
Notifications
You must be signed in to change notification settings - Fork 4
/
gauge_chart.js
46 lines (46 loc) · 381 KB
/
gauge_chart.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.gauge=t():e.gauge=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=26)}([function(e,t,n){"use strict";e.exports=n(15)},,function(e,t,n){"use strict";(function(e){var r=n(5),i=n.n(r),a=n(10),o=n.n(a),u=n(0),l=n.n(u),c=n(11),s=n(6),f=n(7),h=(n(23),n(13)),p=n(12),d=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},g=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_=function(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)},b=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},w=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},x=function(e){return"object"===(void 0===e?"undefined":v(e))&&e.constructor===Object},k=Object.freeze([]),C=Object.freeze({});function E(e){return"function"==typeof e}function T(e){return e.displayName||e.name||"Component"}function S(e){return e&&"string"==typeof e.styledComponentId}var M=void 0!==e&&(e.env.REACT_APP_SC_ATTR||e.env.SC_ATTR)||"data-styled",A="undefined"!=typeof window&&"HTMLElement"in window,P="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||void 0!==e&&(e.env.REACT_APP_SC_DISABLE_SPEEDY||e.env.SC_DISABLE_SPEEDY)||!1,O=function(e){function t(n){g(this,t);for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];var o=w(this,e.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information."+(i.length>0?" Additional arguments: "+i.join(", "):"")));return w(o)}return _(t,e),t}(Error),N=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,R=function(e){var t=""+(e||""),n=[];return t.replace(N,(function(e,t,r){return n.push({componentId:t,matchIndex:r}),e})),n.map((function(e,r){var i=e.componentId,a=e.matchIndex,o=n[r+1];return{componentId:i,cssFromDOM:o?t.slice(a,o.matchIndex):t.slice(a)}}))},I=/^\s*\/\/.*$/gm,j=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),z=new i.a({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),D=[],L=function(e){if(-2===e){var t=D;return D=[],t}},U=o()((function(e){D.push(e)})),F=void 0,$=void 0,W=void 0,H=function(e,t,n){return t>0&&-1!==n.slice(0,t).indexOf($)&&n.slice(t-$.length,t)!==$?"."+F:e};z.use([function(e,t,n){2===e&&n.length&&n[0].lastIndexOf($)>0&&(n[0]=n[0].replace(W,H))},U,L]),j.use([U,L]);var B=function(e){return j("",e)};function V(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",i=e.join("").replace(I,""),a=t&&n?n+" "+t+" { "+i+" }":i;return F=r,$=t,W=new RegExp("\\"+$+"\\b","g"),z(n||!t?"":t,a)}var q,Y=function(){return n.nc},G=function(e,t,n){n&&((e[t]||(e[t]=Object.create(null)))[n]=!0)},Q=function(e,t){e[t]=Object.create(null)},X=function(e){return function(t,n){return void 0!==e[t]&&e[t][n]}},K=function(e){var t="";for(var n in e)t+=Object.keys(e[n]).join(" ")+" ";return t.trim()},Z=function(e){if(e.sheet)return e.sheet;for(var t=e.ownerDocument.styleSheets.length,n=0;n<t;n+=1){var r=e.ownerDocument.styleSheets[n];if(r.ownerNode===e)return r}throw new O(10)},J=function(e,t,n){if(!t)return!1;var r=e.cssRules.length;try{e.insertRule(t,n<=r?n:r)}catch(e){return!1}return!0},ee=function(e){return"\n/* sc-component-id: "+e+" */\n"},te=function(e,t){for(var n=0,r=0;r<=t;r+=1)n+=e[r];return n},ne=function(e,t){return function(n){var r=Y();return"<style "+[r&&'nonce="'+r+'"',M+'="'+K(t)+'"','data-styled-version="4.4.0"',n].filter(Boolean).join(" ")+">"+e()+"</style>"}},re=function(e,t){return function(){var n,r=((n={})[M]=K(t),n["data-styled-version"]="4.4.0",n),i=Y();return i&&(r.nonce=i),l.a.createElement("style",y({},r,{dangerouslySetInnerHTML:{__html:e()}}))}},ie=function(e){return function(){return Object.keys(e)}},ae=function(e,t){return e.createTextNode(ee(t))},oe=function(e,t,n,r,i){if(A&&!n){var a=function(e,t,n){var r=document;e?r=e.ownerDocument:t&&(r=t.ownerDocument);var i=r.createElement("style");i.setAttribute(M,""),i.setAttribute("data-styled-version","4.4.0");var a=Y();if(a&&i.setAttribute("nonce",a),i.appendChild(r.createTextNode("")),e&&!t)e.appendChild(i);else{if(!t||!e||!t.parentNode)throw new O(6);t.parentNode.insertBefore(i,n?t:t.nextSibling)}return i}(e,t,r);return P?function(e,t){var n=Object.create(null),r=Object.create(null),i=void 0!==t,a=!1,o=function(t){var i=r[t];return void 0!==i?i:(r[t]=ae(e.ownerDocument,t),e.appendChild(r[t]),n[t]=Object.create(null),r[t])},u=function(){var e="";for(var t in r)e+=r[t].data;return e};return{clone:function(){throw new O(5)},css:u,getIds:ie(r),hasNameForId:X(n),insertMarker:o,insertRules:function(e,r,u){for(var l=o(e),c=[],s=r.length,f=0;f<s;f+=1){var h=r[f],p=i;if(p&&-1!==h.indexOf("@import"))c.push(h);else{p=!1;var d=f===s-1?"":" ";l.appendData(""+h+d)}}G(n,e,u),i&&c.length>0&&(a=!0,t().insertRules(e+"-import",c))},removeRules:function(o){var u=r[o];if(void 0!==u){var l=ae(e.ownerDocument,o);e.replaceChild(l,u),r[o]=l,Q(n,o),i&&a&&t().removeRules(o+"-import")}},sealed:!1,styleTag:e,toElement:re(u,n),toHTML:ne(u,n)}}(a,i):function(e,t){var n=Object.create(null),r=Object.create(null),i=[],a=void 0!==t,o=!1,u=function(e){var t=r[e];return void 0!==t?t:(r[e]=i.length,i.push(0),Q(n,e),r[e])},l=function(){var t=Z(e).cssRules,n="";for(var a in r){n+=ee(a);for(var o=r[a],u=te(i,o),l=u-i[o];l<u;l+=1){var c=t[l];void 0!==c&&(n+=c.cssText)}}return n};return{clone:function(){throw new O(5)},css:l,getIds:ie(r),hasNameForId:X(n),insertMarker:u,insertRules:function(r,l,c){for(var s=u(r),f=Z(e),h=te(i,s),p=0,d=[],v=l.length,g=0;g<v;g+=1){var m=l[g],y=a;y&&-1!==m.indexOf("@import")?d.push(m):J(f,m,h+p)&&(y=!1,p+=1)}a&&d.length>0&&(o=!0,t().insertRules(r+"-import",d)),i[s]+=p,G(n,r,c)},removeRules:function(u){var l=r[u];if(void 0!==l&&!1!==e.isConnected){var c=i[l];!function(e,t,n){for(var r=t-n,i=t;i>r;i-=1)e.deleteRule(i)}(Z(e),te(i,l)-1,c),i[l]=0,Q(n,u),a&&o&&t().removeRules(u+"-import")}},sealed:!1,styleTag:e,toElement:re(l,n),toHTML:ne(l,n)}}(a,i)}return function e(t,n){var r=void 0===t?Object.create(null):t,i=void 0===n?Object.create(null):n,a=function(e){var t=i[e];return void 0!==t?t:i[e]=[""]},o=function(){var e="";for(var t in i){var n=i[t][0];n&&(e+=ee(t)+n)}return e};return{clone:function(){var t=function(e){var t=Object.create(null);for(var n in e)t[n]=y({},e[n]);return t}(r),n=Object.create(null);for(var a in i)n[a]=[i[a][0]];return e(t,n)},css:o,getIds:ie(i),hasNameForId:X(r),insertMarker:a,insertRules:function(e,t,n){a(e)[0]+=t.join(" "),G(r,e,n)},removeRules:function(e){var t=i[e];void 0!==t&&(t[0]="",Q(r,e))},sealed:!1,styleTag:null,toElement:re(o,r),toHTML:ne(o,r)}}()},ue=/\s+/;q=A?P?40:1e3:-1;var le=0,ce=void 0,se=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this,e),this.getImportRuleTag=function(){var e=t.importRuleTag;if(void 0!==e)return e;var n=t.tags[0];return t.importRuleTag=oe(t.target,n?n.styleTag:null,t.forceServer,!0)},le+=1,this.id=le,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return e.prototype.rehydrate=function(){if(!A||this.forceServer)return this;var e=[],t=[],n=!1,r=document.querySelectorAll("style["+M+'][data-styled-version="4.4.0"]'),i=r.length;if(!i)return this;for(var a=0;a<i;a+=1){var o=r[a];n||(n=!!o.getAttribute("data-styled-streamed"));for(var u,l=(o.getAttribute(M)||"").trim().split(ue),c=l.length,s=0;s<c;s+=1)u=l[s],this.rehydratedNames[u]=!0;t.push.apply(t,R(o.textContent)),e.push(o)}var f=t.length;if(!f)return this;var h=this.makeTag(null);!function(e,t,n){for(var r=0,i=n.length;r<i;r+=1){var a=n[r],o=a.componentId,u=a.cssFromDOM,l=B(u);e.insertRules(o,l)}for(var c=0,s=t.length;c<s;c+=1){var f=t[c];f.parentNode&&f.parentNode.removeChild(f)}}(h,e,t),this.capacity=Math.max(1,q-f),this.tags.push(h);for(var p=0;p<f;p+=1)this.tagMap[t[p].componentId]=h;return this},e.reset=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];ce=new e(void 0,t).rehydrate()},e.prototype.clone=function(){var t=new e(this.target,this.forceServer);return this.clones.push(t),t.tags=this.tags.map((function(e){for(var n=e.getIds(),r=e.clone(),i=0;i<n.length;i+=1)t.tagMap[n[i]]=r;return r})),t.rehydratedNames=y({},this.rehydratedNames),t.deferred=y({},this.deferred),t},e.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(e){e.sealed=!0}))},e.prototype.makeTag=function(e){var t=e?e.styleTag:null;return oe(this.target,t,this.forceServer,!1,this.getImportRuleTag)},e.prototype.getTagForId=function(e){var t=this.tagMap[e];if(void 0!==t&&!t.sealed)return t;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=q,n=this.makeTag(n),this.tags.push(n)),this.tagMap[e]=n},e.prototype.hasId=function(e){return void 0!==this.tagMap[e]},e.prototype.hasNameForId=function(e,t){if(void 0===this.ignoreRehydratedNames[e]&&this.rehydratedNames[t])return!0;var n=this.tagMap[e];return void 0!==n&&n.hasNameForId(e,t)},e.prototype.deferredInject=function(e,t){if(void 0===this.tagMap[e]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(e,t);this.getTagForId(e).insertMarker(e),this.deferred[e]=t}},e.prototype.inject=function(e,t,n){for(var r=this.clones,i=0;i<r.length;i+=1)r[i].inject(e,t,n);var a=this.getTagForId(e);if(void 0!==this.deferred[e]){var o=this.deferred[e].concat(t);a.insertRules(e,o,n),this.deferred[e]=void 0}else a.insertRules(e,t,n)},e.prototype.remove=function(e){var t=this.tagMap[e];if(void 0!==t){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(e);t.removeRules(e),this.ignoreRehydratedNames[e]=!0,this.deferred[e]=void 0}},e.prototype.toHTML=function(){return this.tags.map((function(e){return e.toHTML()})).join("")},e.prototype.toReactElements=function(){var e=this.id;return this.tags.map((function(t,n){var r="sc-"+e+"-"+n;return Object(u.cloneElement)(t.toElement(),{key:r})}))},m(e,null,[{key:"master",get:function(){return ce||(ce=(new e).rehydrate())}},{key:"instance",get:function(){return e.master}}]),e}(),fe=function(){function e(t,n){var r=this;g(this,e),this.inject=function(e){e.hasNameForId(r.id,r.name)||e.inject(r.id,r.rules,r.name)},this.toString=function(){throw new O(12,String(r.name))},this.name=t,this.rules=n,this.id="sc-keyframes-"+t}return e.prototype.getName=function(){return this.name},e}(),he=/([A-Z])/g,pe=/^ms-/;function de(e){return e.replace(he,"-$1").toLowerCase().replace(pe,"-ms-")}var ve=function(e){return null==e||!1===e||""===e},ge=function e(t,n){var r=[];return Object.keys(t).forEach((function(n){if(!ve(t[n])){if(x(t[n]))return r.push.apply(r,e(t[n],n)),r;if(E(t[n]))return r.push(de(n)+":",t[n],";"),r;r.push(de(n)+": "+function(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||e in c.a?String(t).trim():t+"px"}(n,t[n])+";")}return r})),n?[n+" {"].concat(r,["}"]):r};function me(e,t,n){if(Array.isArray(e)){for(var r,i=[],a=0,o=e.length;a<o;a+=1)null!==(r=me(e[a],t,n))&&(Array.isArray(r)?i.push.apply(i,r):i.push(r));return i}return ve(e)?null:S(e)?"."+e.styledComponentId:E(e)?function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)}(e)&&t?me(e(t),t,n):e:e instanceof fe?n?(e.inject(n),e.getName()):e:x(e)?ge(e):e.toString()}function ye(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||x(e)?me(d(k,[e].concat(n))):me(d(e,n))}var _e=52,be=function(e){return String.fromCharCode(e+(e>25?39:97))};function we(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(Array.isArray(r)&&!we(r,t))return!1;if(E(r)&&!S(r))return!1}return!t.some((function(e){return E(e)||function(e){for(var t in e)if(E(e[t]))return!0;return!1}(e)}))}var xe,ke=function(e){return function(e){var t="",n=void 0;for(n=e;n>_e;n=Math.floor(n/_e))t=be(n%_e)+t;return be(n%_e)+t}(function(e){for(var t,n=0|e.length,r=0|n,i=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++i;switch(n){case 3:r^=(255&e.charCodeAt(i+2))<<16;case 2:r^=(255&e.charCodeAt(i+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(i)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}(e))},Ce=function(){function e(t,n,r){g(this,e),this.rules=t,this.isStatic=we(t,n),this.componentId=r,se.master.hasId(r)||se.master.deferredInject(r,[])}return e.prototype.generateAndInjectStyles=function(e,t){var n=this.isStatic,r=this.componentId,i=this.lastClassName;if(A&&n&&"string"==typeof i&&t.hasNameForId(r,i))return i;var a=me(this.rules,e,t),o=ke(this.componentId+a.join(""));return t.hasNameForId(r,o)||t.inject(this.componentId,V(a,"."+o,void 0,r),o),this.lastClassName=o,o},e.generateName=function(e){return ke(e)},e}(),Ee=/[[\].#*$><+~=|^:(),"'`-]+/g,Te=/(^-|-$)/g;function Se(e){return e.replace(Ee,"-").replace(Te,"")}function Me(e){return"string"==typeof e&&!0}var Ae={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},Pe={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Oe=((xe={})[s.ForwardRef]={$$typeof:!0,render:!0},xe),Ne=Object.defineProperty,Re=Object.getOwnPropertyNames,Ie=Object.getOwnPropertySymbols,je=void 0===Ie?function(){return[]}:Ie,ze=Object.getOwnPropertyDescriptor,De=Object.getPrototypeOf,Le=Object.prototype,Ue=Array.prototype;function Fe(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)}var $e=Object(u.createContext)(),We=$e.Consumer,He=(function(e){function t(n){g(this,t);var r=w(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}_(t,e),t.prototype.render=function(){return this.props.children?l.a.createElement($e.Consumer,null,this.renderInner):null},t.prototype.renderInner=function(e){var t=this.getContext(this.props.theme,e);return l.a.createElement($e.Provider,{value:t},this.props.children)},t.prototype.getTheme=function(e,t){if(E(e))return e(t);if(null===e||Array.isArray(e)||"object"!==(void 0===e?"undefined":v(e)))throw new O(8);return y({},t,e)},t.prototype.getContext=function(e,t){return this.getTheme(e,t)}}(u.Component),function(){function e(){g(this,e),this.masterSheet=se.master,this.instance=this.masterSheet.clone(),this.sealed=!1}e.prototype.seal=function(){if(!this.sealed){var e=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(e,1),this.sealed=!0}},e.prototype.collectStyles=function(e){if(this.sealed)throw new O(2);return l.a.createElement(Ve,{sheet:this.instance},e)},e.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},e.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},e.prototype.interleaveWithNodeStream=function(e){throw new O(3)}}(),Object(u.createContext)()),Be=He.Consumer,Ve=function(e){function t(n){g(this,t);var r=w(this,e.call(this,n));return r.getContext=Object(f.a)(r.getContext),r}return _(t,e),t.prototype.getContext=function(e,t){if(e)return e;if(t)return new se(t);throw new O(4)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.sheet,r=e.target;return l.a.createElement(He.Provider,{value:this.getContext(n,r)},t)},t}(u.Component),qe={},Ye=function(e){function t(){g(this,t);var n=w(this,e.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return _(t,e),t.prototype.render=function(){return l.a.createElement(Be,null,this.renderOuter)},t.prototype.renderOuter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se.master;return this.styleSheet=e,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():l.a.createElement(We,null,this.renderInner)},t.prototype.renderInner=function(e){var t=this.props.forwardedComponent,n=t.componentStyle,r=t.defaultProps,i=(t.displayName,t.foldedComponentIds),a=t.styledComponentId,o=t.target,l=void t.usesTheme,c=void 0;n.isStatic?l=this.generateAndInjectStyles(C,this.props):(c=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C,r=!!n&&e.theme===n.theme;return e.theme&&!r?e.theme:t||n.theme}(this.props,e,r),l=this.generateAndInjectStyles(c||C,this.props));var s=this.props.as||this.attrs.as||o,f=Me(s),p={},d=y({},this.props,this.attrs),v=void 0;for(v in d)"forwardedComponent"!==v&&"as"!==v&&("forwardedRef"===v?p.ref=d[v]:"forwardedAs"===v?p.as=d[v]:f&&!Object(h.a)(v)||(p[v]=d[v]));return this.props.style&&this.attrs.style&&(p.style=y({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,a,l!==a?l:null,this.props.className,this.attrs.className).filter(Boolean).join(" "),Object(u.createElement)(s,p)},t.prototype.buildExecutionContext=function(e,t,n){var r=this,i=y({},t,{theme:e});return n.length?(this.attrs={},n.forEach((function(e){var t=e,n=!1,a=void 0,o=void 0;for(o in E(t)&&(t=t(i),n=!0),t)a=t[o],n||!E(a)||Fe(a)||S(a)||(a=a(i)),r.attrs[o]=a,i[o]=a})),i):i},t.prototype.generateAndInjectStyles=function(e,t){var n=t.forwardedComponent,r=n.attrs,i=n.componentStyle;return n.warnTooManyClasses,i.isStatic&&!r.length?i.generateAndInjectStyles(C,this.styleSheet):i.generateAndInjectStyles(this.buildExecutionContext(e,t,r),this.styleSheet)},t}(u.Component);function Ge(e,t,n){var r=S(e),i=!Me(e),a=t.displayName,o=void 0===a?function(e){return Me(e)?"styled."+e:"Styled("+T(e)+")"}(e):a,u=t.componentId,c=void 0===u?function(e,t,n){var r="string"!=typeof t?"sc":Se(t),i=(qe[r]||0)+1;qe[r]=i;var a=r+"-"+e.generateName(r+i);return n?n+"-"+a:a}(Ce,t.displayName,t.parentComponentId):u,s=t.ParentComponent,f=void 0===s?Ye:s,h=t.attrs,d=void 0===h?k:h,v=t.displayName&&t.componentId?Se(t.displayName)+"-"+t.componentId:t.componentId||c,g=r&&e.attrs?Array.prototype.concat(e.attrs,d).filter(Boolean):d,m=new Ce(r?e.componentStyle.rules.concat(n):n,g,v),_=void 0,w=function(e,t){return l.a.createElement(f,y({},e,{forwardedComponent:_,forwardedRef:t}))};return w.displayName=o,(_=l.a.forwardRef(w)).displayName=o,_.attrs=g,_.componentStyle=m,_.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):k,_.styledComponentId=v,_.target=r?e.target:e,_.withComponent=function(e){var r=t.componentId,i=b(t,["componentId"]),a=r&&r+"-"+(Me(e)?e:Se(T(e)));return Ge(e,y({},i,{attrs:g,componentId:a,ParentComponent:f}),n)},Object.defineProperty(_,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=r?Object(p.a)(e.defaultProps,t):t}}),_.toString=function(){return"."+_.styledComponentId},i&&function e(t,n,r){if("string"!=typeof n){var i=De(n);i&&i!==Le&&e(t,i,r);for(var a=Ue.concat(Re(n),je(n)),o=Oe[t.$$typeof]||Ae,u=Oe[n.$$typeof]||Ae,l=a.length,c=void 0,s=void 0;l--;)if(s=a[l],!(Pe[s]||r&&r[s]||u&&u[s]||o&&o[s])&&(c=ze(n,s)))try{Ne(t,s,c)}catch(t){}return t}return t}(_,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),_}var Qe=function(e){return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:C;if(!Object(s.isValidElementType)(n))throw new O(1,String(n));var i=function(){return t(n,r,ye.apply(void 0,arguments))};return i.withConfig=function(i){return e(t,n,y({},r,i))},i.attrs=function(i){return e(t,n,y({},r,{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i}(Ge,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Qe[e]=Qe(e)})),function(){function e(t,n){g(this,e),this.rules=t,this.componentId=n,this.isStatic=we(t,k),se.master.hasId(n)||se.master.deferredInject(n,[])}e.prototype.createStyles=function(e,t){var n=V(me(this.rules,e,t),"");t.inject(this.componentId,n)},e.prototype.removeStyles=function(e){var t=this.componentId;e.hasId(t)&&e.remove(t)},e.prototype.renderStyles=function(e,t){this.removeStyles(t),this.createStyles(e,t)}}(),A&&(window.scCGSHMRCache={}),t.a=Qe}).call(this,n(21))},function(e,t,n){(function(e,r){var i;
/**
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var a,o=200,u="Expected a function",l="__lodash_hash_undefined__",c="__lodash_placeholder__",s=1,f=2,h=4,p=1,d=2,v=1,g=2,m=4,y=8,_=16,b=32,w=64,x=128,k=256,C=512,E=800,T=16,S=1/0,M=9007199254740991,A=17976931348623157e292,P=NaN,O=4294967295,N=O-1,R=O>>>1,I=[["ary",x],["bind",v],["bindKey",g],["curry",y],["curryRight",_],["flip",C],["partial",b],["partialRight",w],["rearg",k]],j="[object Arguments]",z="[object Array]",D="[object AsyncFunction]",L="[object Boolean]",U="[object Date]",F="[object DOMException]",$="[object Error]",W="[object Function]",H="[object GeneratorFunction]",B="[object Map]",V="[object Number]",q="[object Null]",Y="[object Object]",G="[object Proxy]",Q="[object RegExp]",X="[object Set]",K="[object String]",Z="[object Symbol]",J="[object Undefined]",ee="[object WeakMap]",te="[object ArrayBuffer]",ne="[object DataView]",re="[object Float32Array]",ie="[object Float64Array]",ae="[object Int8Array]",oe="[object Int16Array]",ue="[object Int32Array]",le="[object Uint8Array]",ce="[object Uint8ClampedArray]",se="[object Uint16Array]",fe="[object Uint32Array]",he=/\b__p \+= '';/g,pe=/\b(__p \+=) '' \+/g,de=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ve=/&(?:amp|lt|gt|quot|#39);/g,ge=/[&<>"']/g,me=RegExp(ve.source),ye=RegExp(ge.source),_e=/<%-([\s\S]+?)%>/g,be=/<%([\s\S]+?)%>/g,we=/<%=([\s\S]+?)%>/g,xe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ke=/^\w*$/,Ce=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ee=/[\\^$.*+?()[\]{}|]/g,Te=RegExp(Ee.source),Se=/^\s+|\s+$/g,Me=/^\s+/,Ae=/\s+$/,Pe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Oe=/\{\n\/\* \[wrapped with (.+)\] \*/,Ne=/,? & /,Re=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ie=/\\(\\)?/g,je=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,De=/^[-+]0x[0-9a-f]+$/i,Le=/^0b[01]+$/i,Ue=/^\[object .+?Constructor\]$/,Fe=/^0o[0-7]+$/i,$e=/^(?:0|[1-9]\d*)$/,We=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,He=/($^)/,Be=/['\n\r\u2028\u2029\\]/g,Ve="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",qe="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ye="["+qe+"]",Ge="["+Ve+"]",Qe="\\d+",Xe="[a-z\\xdf-\\xf6\\xf8-\\xff]",Ke="[^\\ud800-\\udfff"+qe+Qe+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Ze="\\ud83c[\\udffb-\\udfff]",Je="[^\\ud800-\\udfff]",et="(?:\\ud83c[\\udde6-\\uddff]){2}",tt="[\\ud800-\\udbff][\\udc00-\\udfff]",nt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",rt="(?:"+Xe+"|"+Ke+")",it="(?:"+nt+"|"+Ke+")",at="(?:"+Ge+"|"+Ze+")?",ot="[\\ufe0e\\ufe0f]?"+at+"(?:\\u200d(?:"+[Je,et,tt].join("|")+")[\\ufe0e\\ufe0f]?"+at+")*",ut="(?:"+["[\\u2700-\\u27bf]",et,tt].join("|")+")"+ot,lt="(?:"+[Je+Ge+"?",Ge,et,tt,"[\\ud800-\\udfff]"].join("|")+")",ct=RegExp("['’]","g"),st=RegExp(Ge,"g"),ft=RegExp(Ze+"(?="+Ze+")|"+lt+ot,"g"),ht=RegExp([nt+"?"+Xe+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Ye,nt,"$"].join("|")+")",it+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Ye,nt+rt,"$"].join("|")+")",nt+"?"+rt+"+(?:['’](?:d|ll|m|re|s|t|ve))?",nt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Qe,ut].join("|"),"g"),pt=RegExp("[\\u200d\\ud800-\\udfff"+Ve+"\\ufe0e\\ufe0f]"),dt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],gt=-1,mt={};mt[re]=mt[ie]=mt[ae]=mt[oe]=mt[ue]=mt[le]=mt[ce]=mt[se]=mt[fe]=!0,mt[j]=mt[z]=mt[te]=mt[L]=mt[ne]=mt[U]=mt[$]=mt[W]=mt[B]=mt[V]=mt[Y]=mt[Q]=mt[X]=mt[K]=mt[ee]=!1;var yt={};yt[j]=yt[z]=yt[te]=yt[ne]=yt[L]=yt[U]=yt[re]=yt[ie]=yt[ae]=yt[oe]=yt[ue]=yt[B]=yt[V]=yt[Y]=yt[Q]=yt[X]=yt[K]=yt[Z]=yt[le]=yt[ce]=yt[se]=yt[fe]=!0,yt[$]=yt[W]=yt[ee]=!1;var _t={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},bt=parseFloat,wt=parseInt,xt="object"==typeof e&&e&&e.Object===Object&&e,kt="object"==typeof self&&self&&self.Object===Object&&self,Ct=xt||kt||Function("return this")(),Et=t&&!t.nodeType&&t,Tt=Et&&"object"==typeof r&&r&&!r.nodeType&&r,St=Tt&&Tt.exports===Et,Mt=St&&xt.process,At=function(){try{return Tt&&Tt.require&&Tt.require("util").types||Mt&&Mt.binding&&Mt.binding("util")}catch(e){}}(),Pt=At&&At.isArrayBuffer,Ot=At&&At.isDate,Nt=At&&At.isMap,Rt=At&&At.isRegExp,It=At&&At.isSet,jt=At&&At.isTypedArray;function zt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Dt(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Lt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ut(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ft(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function $t(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Wt(e,t){return!(null==e||!e.length)&&Zt(e,t,0)>-1}function Ht(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Bt(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Vt(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function qt(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Yt(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function Gt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Qt=nn("length");function Xt(e,t,n){var r;return n(e,(function(e,n,i){if(t(e,n,i))return r=n,!1})),r}function Kt(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Zt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Kt(e,en,n)}function Jt(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function en(e){return e!=e}function tn(e,t){var n=null==e?0:e.length;return n?on(e,t)/n:P}function nn(e){return function(t){return null==t?a:t[e]}}function rn(e){return function(t){return null==e?a:e[t]}}function an(e,t,n,r,i){return i(e,(function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)})),n}function on(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==a&&(n=n===a?o:n+o)}return n}function un(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function ln(e){return function(t){return e(t)}}function cn(e,t){return Bt(t,(function(t){return e[t]}))}function sn(e,t){return e.has(t)}function fn(e,t){for(var n=-1,r=e.length;++n<r&&Zt(t,e[n],0)>-1;);return n}function hn(e,t){for(var n=e.length;n--&&Zt(t,e[n],0)>-1;);return n}var pn=rn({"À":"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","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),dn=rn({"&":"&","<":"<",">":">",'"':""","'":"'"});function vn(e){return"\\"+_t[e]}function gn(e){return pt.test(e)}function mn(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function yn(e,t){return function(n){return e(t(n))}}function _n(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==c||(e[n]=c,a[i++]=n)}return a}function bn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function wn(e){return gn(e)?function(e){for(var t=ft.lastIndex=0;ft.test(e);)++t;return t}(e):Qt(e)}function xn(e){return gn(e)?function(e){return e.match(ft)||[]}(e):function(e){return e.split("")}(e)}var kn=rn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),Cn=function e(t){var n=(t=null==t?Ct:Cn.defaults(Ct.Object(),t,Cn.pick(Ct,vt))).Array,r=t.Date,i=t.Error,Ve=t.Function,qe=t.Math,Ye=t.Object,Ge=t.RegExp,Qe=t.String,Xe=t.TypeError,Ke=n.prototype,Ze=Ve.prototype,Je=Ye.prototype,et=t["__core-js_shared__"],tt=Ze.toString,nt=Je.hasOwnProperty,rt=0,it=function(){var e=/[^.]+$/.exec(et&&et.keys&&et.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),at=Je.toString,ot=tt.call(Ye),ut=Ct._,lt=Ge("^"+tt.call(nt).replace(Ee,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ft=St?t.Buffer:a,pt=t.Symbol,_t=t.Uint8Array,xt=ft?ft.allocUnsafe:a,kt=yn(Ye.getPrototypeOf,Ye),Et=Ye.create,Tt=Je.propertyIsEnumerable,Mt=Ke.splice,At=pt?pt.isConcatSpreadable:a,Qt=pt?pt.iterator:a,rn=pt?pt.toStringTag:a,En=function(){try{var e=Ma(Ye,"defineProperty");return e({},"",{}),e}catch(e){}}(),Tn=t.clearTimeout!==Ct.clearTimeout&&t.clearTimeout,Sn=r&&r.now!==Ct.Date.now&&r.now,Mn=t.setTimeout!==Ct.setTimeout&&t.setTimeout,An=qe.ceil,Pn=qe.floor,On=Ye.getOwnPropertySymbols,Nn=ft?ft.isBuffer:a,Rn=t.isFinite,In=Ke.join,jn=yn(Ye.keys,Ye),zn=qe.max,Dn=qe.min,Ln=r.now,Un=t.parseInt,Fn=qe.random,$n=Ke.reverse,Wn=Ma(t,"DataView"),Hn=Ma(t,"Map"),Bn=Ma(t,"Promise"),Vn=Ma(t,"Set"),qn=Ma(t,"WeakMap"),Yn=Ma(Ye,"create"),Gn=qn&&new qn,Qn={},Xn=eo(Wn),Kn=eo(Hn),Zn=eo(Bn),Jn=eo(Vn),er=eo(qn),tr=pt?pt.prototype:a,nr=tr?tr.valueOf:a,rr=tr?tr.toString:a;function ir(e){if(yu(e)&&!uu(e)&&!(e instanceof lr)){if(e instanceof ur)return e;if(nt.call(e,"__wrapped__"))return to(e)}return new ur(e)}var ar=function(){function e(){}return function(t){if(!mu(t))return{};if(Et)return Et(t);e.prototype=t;var n=new e;return e.prototype=a,n}}();function or(){}function ur(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=a}function lr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=O,this.__views__=[]}function cr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function fr(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function hr(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new fr;++t<n;)this.add(e[t])}function pr(e){var t=this.__data__=new sr(e);this.size=t.size}function dr(e,t){var n=uu(e),r=!n&&ou(e),i=!n&&!r&&fu(e),a=!n&&!r&&!i&&Tu(e),o=n||r||i||a,u=o?un(e.length,Qe):[],l=u.length;for(var c in e)!t&&!nt.call(e,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ja(c,l))||u.push(c);return u}function vr(e){var t=e.length;return t?e[fi(0,t-1)]:a}function gr(e,t){return Ka(qi(e),Er(t,0,e.length))}function mr(e){return Ka(qi(e))}function yr(e,t,n){(n===a||ru(e[t],n))&&(n!==a||t in e)||kr(e,t,n)}function _r(e,t,n){var r=e[t];nt.call(e,t)&&ru(r,n)&&(n!==a||t in e)||kr(e,t,n)}function br(e,t){for(var n=e.length;n--;)if(ru(e[n][0],t))return n;return-1}function wr(e,t,n,r){return Pr(e,(function(e,i,a){t(r,e,n(e),a)})),r}function xr(e,t){return e&&Yi(t,Gu(t),e)}function kr(e,t,n){"__proto__"==t&&En?En(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Cr(e,t){for(var r=-1,i=t.length,o=n(i),u=null==e;++r<i;)o[r]=u?a:Hu(e,t[r]);return o}function Er(e,t,n){return e==e&&(n!==a&&(e=e<=n?e:n),t!==a&&(e=e>=t?e:t)),e}function Tr(e,t,n,r,i,o){var u,l=t&s,c=t&f,p=t&h;if(n&&(u=i?n(e,r,i,o):n(e)),u!==a)return u;if(!mu(e))return e;var d=uu(e);if(d){if(u=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&nt.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return qi(e,u)}else{var v=Oa(e),g=v==W||v==H;if(fu(e))return Fi(e,l);if(v==Y||v==j||g&&!i){if(u=c||g?{}:Ra(e),!l)return c?function(e,t){return Yi(e,Pa(e),t)}(e,function(e,t){return e&&Yi(t,Qu(t),e)}(u,e)):function(e,t){return Yi(e,Aa(e),t)}(e,xr(u,e))}else{if(!yt[v])return i?e:{};u=function(e,t,n){var r=e.constructor;switch(t){case te:return $i(e);case L:case U:return new r(+e);case ne:return function(e,t){var n=t?$i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case re:case ie:case ae:case oe:case ue:case le:case ce:case se:case fe:return Wi(e,n);case B:return new r;case V:case K:return new r(e);case Q:return function(e){var t=new e.constructor(e.source,ze.exec(e));return t.lastIndex=e.lastIndex,t}(e);case X:return new r;case Z:return function(e){return nr?Ye(nr.call(e)):{}}(e)}}(e,v,l)}}o||(o=new pr);var m=o.get(e);if(m)return m;o.set(e,u),ku(e)?e.forEach((function(r){u.add(Tr(r,t,n,r,e,o))})):_u(e)&&e.forEach((function(r,i){u.set(i,Tr(r,t,n,i,e,o))}));var y=d?a:(p?c?wa:ba:c?Qu:Gu)(e);return Lt(y||e,(function(r,i){y&&(r=e[i=r]),_r(u,i,Tr(r,t,n,i,e,o))})),u}function Sr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ye(e);r--;){var i=n[r],o=t[i],u=e[i];if(u===a&&!(i in e)||!o(u))return!1}return!0}function Mr(e,t,n){if("function"!=typeof e)throw new Xe(u);return Ya((function(){e.apply(a,n)}),t)}function Ar(e,t,n,r){var i=-1,a=Wt,u=!0,l=e.length,c=[],s=t.length;if(!l)return c;n&&(t=Bt(t,ln(n))),r?(a=Ht,u=!1):t.length>=o&&(a=sn,u=!1,t=new hr(t));e:for(;++i<l;){var f=e[i],h=null==n?f:n(f);if(f=r||0!==f?f:0,u&&h==h){for(var p=s;p--;)if(t[p]===h)continue e;c.push(f)}else a(t,h,r)||c.push(f)}return c}ir.templateSettings={escape:_e,evaluate:be,interpolate:we,variable:"",imports:{_:ir}},ir.prototype=or.prototype,ir.prototype.constructor=ir,ur.prototype=ar(or.prototype),ur.prototype.constructor=ur,lr.prototype=ar(or.prototype),lr.prototype.constructor=lr,cr.prototype.clear=function(){this.__data__=Yn?Yn(null):{},this.size=0},cr.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},cr.prototype.get=function(e){var t=this.__data__;if(Yn){var n=t[e];return n===l?a:n}return nt.call(t,e)?t[e]:a},cr.prototype.has=function(e){var t=this.__data__;return Yn?t[e]!==a:nt.call(t,e)},cr.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Yn&&t===a?l:t,this},sr.prototype.clear=function(){this.__data__=[],this.size=0},sr.prototype.delete=function(e){var t=this.__data__,n=br(t,e);return!(n<0||(n==t.length-1?t.pop():Mt.call(t,n,1),--this.size,0))},sr.prototype.get=function(e){var t=this.__data__,n=br(t,e);return n<0?a:t[n][1]},sr.prototype.has=function(e){return br(this.__data__,e)>-1},sr.prototype.set=function(e,t){var n=this.__data__,r=br(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},fr.prototype.clear=function(){this.size=0,this.__data__={hash:new cr,map:new(Hn||sr),string:new cr}},fr.prototype.delete=function(e){var t=Ta(this,e).delete(e);return this.size-=t?1:0,t},fr.prototype.get=function(e){return Ta(this,e).get(e)},fr.prototype.has=function(e){return Ta(this,e).has(e)},fr.prototype.set=function(e,t){var n=Ta(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},hr.prototype.add=hr.prototype.push=function(e){return this.__data__.set(e,l),this},hr.prototype.has=function(e){return this.__data__.has(e)},pr.prototype.clear=function(){this.__data__=new sr,this.size=0},pr.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},pr.prototype.get=function(e){return this.__data__.get(e)},pr.prototype.has=function(e){return this.__data__.has(e)},pr.prototype.set=function(e,t){var n=this.__data__;if(n instanceof sr){var r=n.__data__;if(!Hn||r.length<o-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new fr(r)}return n.set(e,t),this.size=n.size,this};var Pr=Xi(Lr),Or=Xi(Ur,!0);function Nr(e,t){var n=!0;return Pr(e,(function(e,r,i){return n=!!t(e,r,i)})),n}function Rr(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],u=t(o);if(null!=u&&(l===a?u==u&&!Eu(u):n(u,l)))var l=u,c=o}return c}function Ir(e,t){var n=[];return Pr(e,(function(e,r,i){t(e,r,i)&&n.push(e)})),n}function jr(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=Ia),i||(i=[]);++a<o;){var u=e[a];t>0&&n(u)?t>1?jr(u,t-1,n,r,i):Vt(i,u):r||(i[i.length]=u)}return i}var zr=Ki(),Dr=Ki(!0);function Lr(e,t){return e&&zr(e,t,Gu)}function Ur(e,t){return e&&Dr(e,t,Gu)}function Fr(e,t){return $t(t,(function(t){return du(e[t])}))}function $r(e,t){for(var n=0,r=(t=zi(t,e)).length;null!=e&&n<r;)e=e[Ja(t[n++])];return n&&n==r?e:a}function Wr(e,t,n){var r=t(e);return uu(e)?r:Vt(r,n(e))}function Hr(e){return null==e?e===a?J:q:rn&&rn in Ye(e)?function(e){var t=nt.call(e,rn),n=e[rn];try{e[rn]=a;var r=!0}catch(e){}var i=at.call(e);return r&&(t?e[rn]=n:delete e[rn]),i}(e):function(e){return at.call(e)}(e)}function Br(e,t){return e>t}function Vr(e,t){return null!=e&&nt.call(e,t)}function qr(e,t){return null!=e&&t in Ye(e)}function Yr(e,t,r){for(var i=r?Ht:Wt,o=e[0].length,u=e.length,l=u,c=n(u),s=1/0,f=[];l--;){var h=e[l];l&&t&&(h=Bt(h,ln(t))),s=Dn(h.length,s),c[l]=!r&&(t||o>=120&&h.length>=120)?new hr(l&&h):a}h=e[0];var p=-1,d=c[0];e:for(;++p<o&&f.length<s;){var v=h[p],g=t?t(v):v;if(v=r||0!==v?v:0,!(d?sn(d,g):i(f,g,r))){for(l=u;--l;){var m=c[l];if(!(m?sn(m,g):i(e[l],g,r)))continue e}d&&d.push(g),f.push(v)}}return f}function Gr(e,t,n){var r=null==(e=Ba(e,t=zi(t,e)))?e:e[Ja(ho(t))];return null==r?a:zt(r,e,n)}function Qr(e){return yu(e)&&Hr(e)==j}function Xr(e,t,n,r,i){return e===t||(null==e||null==t||!yu(e)&&!yu(t)?e!=e&&t!=t:function(e,t,n,r,i,o){var u=uu(e),l=uu(t),c=u?z:Oa(e),s=l?z:Oa(t),f=(c=c==j?Y:c)==Y,h=(s=s==j?Y:s)==Y,v=c==s;if(v&&fu(e)){if(!fu(t))return!1;u=!0,f=!1}if(v&&!f)return o||(o=new pr),u||Tu(e)?ya(e,t,n,r,i,o):function(e,t,n,r,i,a,o){switch(n){case ne:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case te:return!(e.byteLength!=t.byteLength||!a(new _t(e),new _t(t)));case L:case U:case V:return ru(+e,+t);case $:return e.name==t.name&&e.message==t.message;case Q:case K:return e==t+"";case B:var u=mn;case X:var l=r&p;if(u||(u=bn),e.size!=t.size&&!l)return!1;var c=o.get(e);if(c)return c==t;r|=d,o.set(e,t);var s=ya(u(e),u(t),r,i,a,o);return o.delete(e),s;case Z:if(nr)return nr.call(e)==nr.call(t)}return!1}(e,t,c,n,r,i,o);if(!(n&p)){var g=f&&nt.call(e,"__wrapped__"),m=h&&nt.call(t,"__wrapped__");if(g||m){var y=g?e.value():e,_=m?t.value():t;return o||(o=new pr),i(y,_,n,r,o)}}return!!v&&(o||(o=new pr),function(e,t,n,r,i,o){var u=n&p,l=ba(e),c=l.length;if(c!=ba(t).length&&!u)return!1;for(var s=c;s--;){var f=l[s];if(!(u?f in t:nt.call(t,f)))return!1}var h=o.get(e);if(h&&o.get(t))return h==t;var d=!0;o.set(e,t),o.set(t,e);for(var v=u;++s<c;){var g=e[f=l[s]],m=t[f];if(r)var y=u?r(m,g,f,t,e,o):r(g,m,f,e,t,o);if(!(y===a?g===m||i(g,m,n,r,o):y)){d=!1;break}v||(v="constructor"==f)}if(d&&!v){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof _&&_ instanceof _&&"function"==typeof b&&b instanceof b)&&(d=!1)}return o.delete(e),o.delete(t),d}(e,t,n,r,i,o))}(e,t,n,r,Xr,i))}function Kr(e,t,n,r){var i=n.length,o=i,u=!r;if(null==e)return!o;for(e=Ye(e);i--;){var l=n[i];if(u&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<o;){var c=(l=n[i])[0],s=e[c],f=l[1];if(u&&l[2]){if(s===a&&!(c in e))return!1}else{var h=new pr;if(r)var v=r(s,f,c,e,t,h);if(!(v===a?Xr(f,s,p|d,r,h):v))return!1}}return!0}function Zr(e){return!(!mu(e)||function(e){return!!it&&it in e}(e))&&(du(e)?lt:Ue).test(eo(e))}function Jr(e){return"function"==typeof e?e:null==e?bl:"object"==typeof e?uu(e)?ii(e[0],e[1]):ri(e):Al(e)}function ei(e){if(!Fa(e))return jn(e);var t=[];for(var n in Ye(e))nt.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ti(e,t){return e<t}function ni(e,t){var r=-1,i=cu(e)?n(e.length):[];return Pr(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function ri(e){var t=Sa(e);return 1==t.length&&t[0][2]?Wa(t[0][0],t[0][1]):function(n){return n===e||Kr(n,e,t)}}function ii(e,t){return Da(e)&&$a(t)?Wa(Ja(e),t):function(n){var r=Hu(n,e);return r===a&&r===t?Bu(n,e):Xr(t,r,p|d)}}function ai(e,t,n,r,i){e!==t&&zr(t,(function(o,u){if(i||(i=new pr),mu(o))!function(e,t,n,r,i,o,u){var l=Va(e,n),c=Va(t,n),s=u.get(c);if(s)yr(e,n,s);else{var f=o?o(l,c,n+"",e,t,u):a,h=f===a;if(h){var p=uu(c),d=!p&&fu(c),v=!p&&!d&&Tu(c);f=c,p||d||v?uu(l)?f=l:su(l)?f=qi(l):d?(h=!1,f=Fi(c,!0)):v?(h=!1,f=Wi(c,!0)):f=[]:wu(c)||ou(c)?(f=l,ou(l)?f=Iu(l):mu(l)&&!du(l)||(f=Ra(c))):h=!1}h&&(u.set(c,f),i(f,c,r,o,u),u.delete(c)),yr(e,n,f)}}(e,t,u,n,ai,r,i);else{var l=r?r(Va(e,u),o,u+"",e,t,i):a;l===a&&(l=o),yr(e,u,l)}}),Qu)}function oi(e,t){var n=e.length;if(n)return ja(t+=t<0?n:0,n)?e[t]:a}function ui(e,t,n){var r=-1;return t=Bt(t.length?t:[bl],ln(Ea())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(ni(e,(function(e,n,i){return{criteria:Bt(t,(function(t){return t(e)})),index:++r,value:e}})),(function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,u=n.length;++r<o;){var l=Hi(i[r],a[r]);if(l)return r>=u?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function li(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],u=$r(e,o);n(u,o)&&gi(a,zi(o,e),u)}return a}function ci(e,t,n,r){var i=r?Jt:Zt,a=-1,o=t.length,u=e;for(e===t&&(t=qi(t)),n&&(u=Bt(e,ln(n)));++a<o;)for(var l=0,c=t[a],s=n?n(c):c;(l=i(u,s,l,r))>-1;)u!==e&&Mt.call(u,l,1),Mt.call(e,l,1);return e}function si(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;ja(i)?Mt.call(e,i,1):Mi(e,i)}}return e}function fi(e,t){return e+Pn(Fn()*(t-e+1))}function hi(e,t){var n="";if(!e||t<1||t>M)return n;do{t%2&&(n+=e),(t=Pn(t/2))&&(e+=e)}while(t);return n}function pi(e,t){return Ga(Ha(e,t,bl),e+"")}function di(e){return vr(rl(e))}function vi(e,t){var n=rl(e);return Ka(n,Er(t,0,n.length))}function gi(e,t,n,r){if(!mu(e))return e;for(var i=-1,o=(t=zi(t,e)).length,u=o-1,l=e;null!=l&&++i<o;){var c=Ja(t[i]),s=n;if(i!=u){var f=l[c];(s=r?r(f,c,l):a)===a&&(s=mu(f)?f:ja(t[i+1])?[]:{})}_r(l,c,s),l=l[c]}return e}var mi=Gn?function(e,t){return Gn.set(e,t),e}:bl,yi=En?function(e,t){return En(e,"toString",{configurable:!0,enumerable:!1,value:ml(t),writable:!0})}:bl;function _i(e){return Ka(rl(e))}function bi(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i<a;)o[i]=e[i+t];return o}function wi(e,t){var n;return Pr(e,(function(e,r,i){return!(n=t(e,r,i))})),!!n}function xi(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=R){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!Eu(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return ki(e,t,bl,n)}function ki(e,t,n,r){t=n(t);for(var i=0,o=null==e?0:e.length,u=t!=t,l=null===t,c=Eu(t),s=t===a;i<o;){var f=Pn((i+o)/2),h=n(e[f]),p=h!==a,d=null===h,v=h==h,g=Eu(h);if(u)var m=r||v;else m=s?v&&(r||p):l?v&&p&&(r||!d):c?v&&p&&!d&&(r||!g):!d&&!g&&(r?h<=t:h<t);m?i=f+1:o=f}return Dn(o,N)}function Ci(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],u=t?t(o):o;if(!n||!ru(u,l)){var l=u;a[i++]=0===o?0:o}}return a}function Ei(e){return"number"==typeof e?e:Eu(e)?P:+e}function Ti(e){if("string"==typeof e)return e;if(uu(e))return Bt(e,Ti)+"";if(Eu(e))return rr?rr.call(e):"";var t=e+"";return"0"==t&&1/e==-S?"-0":t}function Si(e,t,n){var r=-1,i=Wt,a=e.length,u=!0,l=[],c=l;if(n)u=!1,i=Ht;else if(a>=o){var s=t?null:ha(e);if(s)return bn(s);u=!1,i=sn,c=new hr}else c=t?[]:l;e:for(;++r<a;){var f=e[r],h=t?t(f):f;if(f=n||0!==f?f:0,u&&h==h){for(var p=c.length;p--;)if(c[p]===h)continue e;t&&c.push(h),l.push(f)}else i(c,h,n)||(c!==l&&c.push(h),l.push(f))}return l}function Mi(e,t){return null==(e=Ba(e,t=zi(t,e)))||delete e[Ja(ho(t))]}function Ai(e,t,n,r){return gi(e,t,n($r(e,t)),r)}function Pi(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?bi(e,r?0:a,r?a+1:i):bi(e,r?a+1:0,r?i:a)}function Oi(e,t){var n=e;return n instanceof lr&&(n=n.value()),qt(t,(function(e,t){return t.func.apply(t.thisArg,Vt([e],t.args))}),n)}function Ni(e,t,r){var i=e.length;if(i<2)return i?Si(e[0]):[];for(var a=-1,o=n(i);++a<i;)for(var u=e[a],l=-1;++l<i;)l!=a&&(o[a]=Ar(o[a]||u,e[l],t,r));return Si(jr(o,1),t,r)}function Ri(e,t,n){for(var r=-1,i=e.length,o=t.length,u={};++r<i;){var l=r<o?t[r]:a;n(u,e[r],l)}return u}function Ii(e){return su(e)?e:[]}function ji(e){return"function"==typeof e?e:bl}function zi(e,t){return uu(e)?e:Da(e,t)?[e]:Za(ju(e))}var Di=pi;function Li(e,t,n){var r=e.length;return n=n===a?r:n,!t&&n>=r?e:bi(e,t,n)}var Ui=Tn||function(e){return Ct.clearTimeout(e)};function Fi(e,t){if(t)return e.slice();var n=e.length,r=xt?xt(n):new e.constructor(n);return e.copy(r),r}function $i(e){var t=new e.constructor(e.byteLength);return new _t(t).set(new _t(e)),t}function Wi(e,t){var n=t?$i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Hi(e,t){if(e!==t){var n=e!==a,r=null===e,i=e==e,o=Eu(e),u=t!==a,l=null===t,c=t==t,s=Eu(t);if(!l&&!s&&!o&&e>t||o&&u&&c&&!l&&!s||r&&u&&c||!n&&c||!i)return 1;if(!r&&!o&&!s&&e<t||s&&n&&i&&!r&&!o||l&&n&&i||!u&&i||!c)return-1}return 0}function Bi(e,t,r,i){for(var a=-1,o=e.length,u=r.length,l=-1,c=t.length,s=zn(o-u,0),f=n(c+s),h=!i;++l<c;)f[l]=t[l];for(;++a<u;)(h||a<o)&&(f[r[a]]=e[a]);for(;s--;)f[l++]=e[a++];return f}function Vi(e,t,r,i){for(var a=-1,o=e.length,u=-1,l=r.length,c=-1,s=t.length,f=zn(o-l,0),h=n(f+s),p=!i;++a<f;)h[a]=e[a];for(var d=a;++c<s;)h[d+c]=t[c];for(;++u<l;)(p||a<o)&&(h[d+r[u]]=e[a++]);return h}function qi(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Yi(e,t,n,r){var i=!n;n||(n={});for(var o=-1,u=t.length;++o<u;){var l=t[o],c=r?r(n[l],e[l],l,n,e):a;c===a&&(c=e[l]),i?kr(n,l,c):_r(n,l,c)}return n}function Gi(e,t){return function(n,r){var i=uu(n)?Dt:wr,a=t?t():{};return i(n,e,Ea(r,2),a)}}function Qi(e){return pi((function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:a,u=i>2?n[2]:a;for(o=e.length>3&&"function"==typeof o?(i--,o):a,u&&za(n[0],n[1],u)&&(o=i<3?a:o,i=1),t=Ye(t);++r<i;){var l=n[r];l&&e(t,l,r,o)}return t}))}function Xi(e,t){return function(n,r){if(null==n)return n;if(!cu(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Ye(n);(t?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function Ki(e){return function(t,n,r){for(var i=-1,a=Ye(t),o=r(t),u=o.length;u--;){var l=o[e?u:++i];if(!1===n(a[l],l,a))break}return t}}function Zi(e){return function(t){var n=gn(t=ju(t))?xn(t):a,r=n?n[0]:t.charAt(0),i=n?Li(n,1).join(""):t.slice(1);return r[e]()+i}}function Ji(e){return function(t){return qt(dl(ol(t).replace(ct,"")),e,"")}}function ea(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]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=ar(e.prototype),r=e.apply(n,t);return mu(r)?r:n}}function ta(e){return function(t,n,r){var i=Ye(t);if(!cu(t)){var o=Ea(n,3);t=Gu(t),n=function(e){return o(i[e],e,i)}}var u=e(t,n,r);return u>-1?i[o?t[u]:u]:a}}function na(e){return _a((function(t){var n=t.length,r=n,i=ur.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new Xe(u);if(i&&!l&&"wrapper"==ka(o))var l=new ur([],!0)}for(r=l?r:n;++r<n;){var c=ka(o=t[r]),s="wrapper"==c?xa(o):a;l=s&&La(s[0])&&s[1]==(x|y|b|k)&&!s[4].length&&1==s[9]?l[ka(s[0])].apply(l,s[3]):1==o.length&&La(o)?l[c]():l.thru(o)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&uu(r))return l.plant(r).value();for(var i=0,a=n?t[i].apply(this,e):r;++i<n;)a=t[i].call(this,a);return a}}))}function ra(e,t,r,i,o,u,l,c,s,f){var h=t&x,p=t&v,d=t&g,m=t&(y|_),b=t&C,w=d?a:ea(e);return function v(){for(var g=arguments.length,y=n(g),_=g;_--;)y[_]=arguments[_];if(m)var x=Ca(v),k=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(y,x);if(i&&(y=Bi(y,i,o,m)),u&&(y=Vi(y,u,l,m)),g-=k,m&&g<f){var C=_n(y,x);return sa(e,t,ra,v.placeholder,r,y,C,c,s,f-g)}var E=p?r:this,T=d?E[e]:e;return g=y.length,c?y=function(e,t){for(var n=e.length,r=Dn(t.length,n),i=qi(e);r--;){var o=t[r];e[r]=ja(o,n)?i[o]:a}return e}(y,c):b&&g>1&&y.reverse(),h&&s<g&&(y.length=s),this&&this!==Ct&&this instanceof v&&(T=w||ea(T)),T.apply(E,y)}}function ia(e,t){return function(n,r){return function(e,t,n,r){return Lr(e,(function(e,i,a){t(r,n(e),i,a)})),r}(n,e,t(r),{})}}function aa(e,t){return function(n,r){var i;if(n===a&&r===a)return t;if(n!==a&&(i=n),r!==a){if(i===a)return r;"string"==typeof n||"string"==typeof r?(n=Ti(n),r=Ti(r)):(n=Ei(n),r=Ei(r)),i=e(n,r)}return i}}function oa(e){return _a((function(t){return t=Bt(t,ln(Ea())),pi((function(n){var r=this;return e(t,(function(e){return zt(e,r,n)}))}))}))}function ua(e,t){var n=(t=t===a?" ":Ti(t)).length;if(n<2)return n?hi(t,e):t;var r=hi(t,An(e/wn(t)));return gn(t)?Li(xn(r),0,e).join(""):r.slice(0,e)}function la(e){return function(t,r,i){return i&&"number"!=typeof i&&za(t,r,i)&&(r=i=a),t=Pu(t),r===a?(r=t,t=0):r=Pu(r),function(e,t,r,i){for(var a=-1,o=zn(An((t-e)/(r||1)),0),u=n(o);o--;)u[i?o:++a]=e,e+=r;return u}(t,r,i=i===a?t<r?1:-1:Pu(i),e)}}function ca(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Ru(t),n=Ru(n)),e(t,n)}}function sa(e,t,n,r,i,o,u,l,c,s){var f=t&y;t|=f?b:w,(t&=~(f?w:b))&m||(t&=~(v|g));var h=[e,t,i,f?o:a,f?u:a,f?a:o,f?a:u,l,c,s],p=n.apply(a,h);return La(e)&&qa(p,h),p.placeholder=r,Qa(p,e,t)}function fa(e){var t=qe[e];return function(e,n){if(e=Ru(e),(n=null==n?0:Dn(Ou(n),292))&&Rn(e)){var r=(ju(e)+"e").split("e");return+((r=(ju(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var ha=Vn&&1/bn(new Vn([,-0]))[1]==S?function(e){return new Vn(e)}:El;function pa(e){return function(t){var n=Oa(t);return n==B?mn(t):n==X?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Bt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function da(e,t,r,i,o,l,s,f){var h=t&g;if(!h&&"function"!=typeof e)throw new Xe(u);var p=i?i.length:0;if(p||(t&=~(b|w),i=o=a),s=s===a?s:zn(Ou(s),0),f=f===a?f:Ou(f),p-=o?o.length:0,t&w){var d=i,C=o;i=o=a}var E=h?a:xa(e),T=[e,t,r,i,o,d,C,l,s,f];if(E&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<(v|g|x),o=r==x&&n==y||r==x&&n==k&&e[7].length<=t[8]||r==(x|k)&&t[7].length<=t[8]&&n==y;if(!a&&!o)return e;r&v&&(e[2]=t[2],i|=n&v?0:m);var u=t[3];if(u){var l=e[3];e[3]=l?Bi(l,u,t[4]):u,e[4]=l?_n(e[3],c):t[4]}(u=t[5])&&(l=e[5],e[5]=l?Vi(l,u,t[6]):u,e[6]=l?_n(e[5],c):t[6]),(u=t[7])&&(e[7]=u),r&x&&(e[8]=null==e[8]?t[8]:Dn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(T,E),e=T[0],t=T[1],r=T[2],i=T[3],o=T[4],!(f=T[9]=T[9]===a?h?0:e.length:zn(T[9]-p,0))&&t&(y|_)&&(t&=~(y|_)),t&&t!=v)S=t==y||t==_?function(e,t,r){var i=ea(e);return function o(){for(var u=arguments.length,l=n(u),c=u,s=Ca(o);c--;)l[c]=arguments[c];var f=u<3&&l[0]!==s&&l[u-1]!==s?[]:_n(l,s);return(u-=f.length)<r?sa(e,t,ra,o.placeholder,a,l,f,a,a,r-u):zt(this&&this!==Ct&&this instanceof o?i:e,this,l)}}(e,t,f):t!=b&&t!=(v|b)||o.length?ra.apply(a,T):function(e,t,r,i){var a=t&v,o=ea(e);return function t(){for(var u=-1,l=arguments.length,c=-1,s=i.length,f=n(s+l),h=this&&this!==Ct&&this instanceof t?o:e;++c<s;)f[c]=i[c];for(;l--;)f[c++]=arguments[++u];return zt(h,a?r:this,f)}}(e,t,r,i);else var S=function(e,t,n){var r=t&v,i=ea(e);return function t(){return(this&&this!==Ct&&this instanceof t?i:e).apply(r?n:this,arguments)}}(e,t,r);return Qa((E?mi:qa)(S,T),e,t)}function va(e,t,n,r){return e===a||ru(e,Je[n])&&!nt.call(r,n)?t:e}function ga(e,t,n,r,i,o){return mu(e)&&mu(t)&&(o.set(t,e),ai(e,t,a,ga,o),o.delete(t)),e}function ma(e){return wu(e)?a:e}function ya(e,t,n,r,i,o){var u=n&p,l=e.length,c=t.length;if(l!=c&&!(u&&c>l))return!1;var s=o.get(e);if(s&&o.get(t))return s==t;var f=-1,h=!0,v=n&d?new hr:a;for(o.set(e,t),o.set(t,e);++f<l;){var g=e[f],m=t[f];if(r)var y=u?r(m,g,f,t,e,o):r(g,m,f,e,t,o);if(y!==a){if(y)continue;h=!1;break}if(v){if(!Gt(t,(function(e,t){if(!sn(v,t)&&(g===e||i(g,e,n,r,o)))return v.push(t)}))){h=!1;break}}else if(g!==m&&!i(g,m,n,r,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function _a(e){return Ga(Ha(e,a,uo),e+"")}function ba(e){return Wr(e,Gu,Aa)}function wa(e){return Wr(e,Qu,Pa)}var xa=Gn?function(e){return Gn.get(e)}:El;function ka(e){for(var t=e.name+"",n=Qn[t],r=nt.call(Qn,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function Ca(e){return(nt.call(ir,"placeholder")?ir:e).placeholder}function Ea(){var e=ir.iteratee||wl;return e=e===wl?Jr:e,arguments.length?e(arguments[0],arguments[1]):e}function Ta(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function Sa(e){for(var t=Gu(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,$a(i)]}return t}function Ma(e,t){var n=function(e,t){return null==e?a:e[t]}(e,t);return Zr(n)?n:a}var Aa=On?function(e){return null==e?[]:(e=Ye(e),$t(On(e),(function(t){return Tt.call(e,t)})))}:Nl,Pa=On?function(e){for(var t=[];e;)Vt(t,Aa(e)),e=kt(e);return t}:Nl,Oa=Hr;function Na(e,t,n){for(var r=-1,i=(t=zi(t,e)).length,a=!1;++r<i;){var o=Ja(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&gu(i)&&ja(o,i)&&(uu(e)||ou(e))}function Ra(e){return"function"!=typeof e.constructor||Fa(e)?{}:ar(kt(e))}function Ia(e){return uu(e)||ou(e)||!!(At&&e&&e[At])}function ja(e,t){var n=typeof e;return!!(t=null==t?M:t)&&("number"==n||"symbol"!=n&&$e.test(e))&&e>-1&&e%1==0&&e<t}function za(e,t,n){if(!mu(n))return!1;var r=typeof t;return!!("number"==r?cu(n)&&ja(t,n.length):"string"==r&&t in n)&&ru(n[t],e)}function Da(e,t){if(uu(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Eu(e))||ke.test(e)||!xe.test(e)||null!=t&&e in Ye(t)}function La(e){var t=ka(e),n=ir[t];if("function"!=typeof n||!(t in lr.prototype))return!1;if(e===n)return!0;var r=xa(n);return!!r&&e===r[0]}(Wn&&Oa(new Wn(new ArrayBuffer(1)))!=ne||Hn&&Oa(new Hn)!=B||Bn&&"[object Promise]"!=Oa(Bn.resolve())||Vn&&Oa(new Vn)!=X||qn&&Oa(new qn)!=ee)&&(Oa=function(e){var t=Hr(e),n=t==Y?e.constructor:a,r=n?eo(n):"";if(r)switch(r){case Xn:return ne;case Kn:return B;case Zn:return"[object Promise]";case Jn:return X;case er:return ee}return t});var Ua=et?du:Rl;function Fa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Je)}function $a(e){return e==e&&!mu(e)}function Wa(e,t){return function(n){return null!=n&&n[e]===t&&(t!==a||e in Ye(n))}}function Ha(e,t,r){return t=zn(t===a?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=zn(i.length-t,0),u=n(o);++a<o;)u[a]=i[t+a];a=-1;for(var l=n(t+1);++a<t;)l[a]=i[a];return l[t]=r(u),zt(e,this,l)}}function Ba(e,t){return t.length<2?e:$r(e,bi(t,0,-1))}function Va(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var qa=Xa(mi),Ya=Mn||function(e,t){return Ct.setTimeout(e,t)},Ga=Xa(yi);function Qa(e,t,n){var r=t+"";return Ga(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Pe,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Lt(I,(function(n){var r="_."+n[0];t&n[1]&&!Wt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(Oe);return t?t[1].split(Ne):[]}(r),n)))}function Xa(e){var t=0,n=0;return function(){var r=Ln(),i=T-(r-n);if(n=r,i>0){if(++t>=E)return arguments[0]}else t=0;return e.apply(a,arguments)}}function Ka(e,t){var n=-1,r=e.length,i=r-1;for(t=t===a?r:t;++n<t;){var o=fi(n,i),u=e[o];e[o]=e[n],e[n]=u}return e.length=t,e}var Za=function(e){var t=Ko((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ce,(function(e,n,r,i){t.push(r?i.replace(Ie,"$1"):n||e)})),t}),(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}();function Ja(e){if("string"==typeof e||Eu(e))return e;var t=e+"";return"0"==t&&1/e==-S?"-0":t}function eo(e){if(null!=e){try{return tt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function to(e){if(e instanceof lr)return e.clone();var t=new ur(e.__wrapped__,e.__chain__);return t.__actions__=qi(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var no=pi((function(e,t){return su(e)?Ar(e,jr(t,1,su,!0)):[]})),ro=pi((function(e,t){var n=ho(t);return su(n)&&(n=a),su(e)?Ar(e,jr(t,1,su,!0),Ea(n,2)):[]})),io=pi((function(e,t){var n=ho(t);return su(n)&&(n=a),su(e)?Ar(e,jr(t,1,su,!0),a,n):[]}));function ao(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ou(n);return i<0&&(i=zn(r+i,0)),Kt(e,Ea(t,3),i)}function oo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==a&&(i=Ou(n),i=n<0?zn(r+i,0):Dn(i,r-1)),Kt(e,Ea(t,3),i,!0)}function uo(e){return null!=e&&e.length?jr(e,1):[]}function lo(e){return e&&e.length?e[0]:a}var co=pi((function(e){var t=Bt(e,Ii);return t.length&&t[0]===e[0]?Yr(t):[]})),so=pi((function(e){var t=ho(e),n=Bt(e,Ii);return t===ho(n)?t=a:n.pop(),n.length&&n[0]===e[0]?Yr(n,Ea(t,2)):[]})),fo=pi((function(e){var t=ho(e),n=Bt(e,Ii);return(t="function"==typeof t?t:a)&&n.pop(),n.length&&n[0]===e[0]?Yr(n,a,t):[]}));function ho(e){var t=null==e?0:e.length;return t?e[t-1]:a}var po=pi(vo);function vo(e,t){return e&&e.length&&t&&t.length?ci(e,t):e}var go=_a((function(e,t){var n=null==e?0:e.length,r=Cr(e,t);return si(e,Bt(t,(function(e){return ja(e,n)?+e:e})).sort(Hi)),r}));function mo(e){return null==e?e:$n.call(e)}var yo=pi((function(e){return Si(jr(e,1,su,!0))})),_o=pi((function(e){var t=ho(e);return su(t)&&(t=a),Si(jr(e,1,su,!0),Ea(t,2))})),bo=pi((function(e){var t=ho(e);return t="function"==typeof t?t:a,Si(jr(e,1,su,!0),a,t)}));function wo(e){if(!e||!e.length)return[];var t=0;return e=$t(e,(function(e){if(su(e))return t=zn(e.length,t),!0})),un(t,(function(t){return Bt(e,nn(t))}))}function xo(e,t){if(!e||!e.length)return[];var n=wo(e);return null==t?n:Bt(n,(function(e){return zt(t,a,e)}))}var ko=pi((function(e,t){return su(e)?Ar(e,t):[]})),Co=pi((function(e){return Ni($t(e,su))})),Eo=pi((function(e){var t=ho(e);return su(t)&&(t=a),Ni($t(e,su),Ea(t,2))})),To=pi((function(e){var t=ho(e);return t="function"==typeof t?t:a,Ni($t(e,su),a,t)})),So=pi(wo),Mo=pi((function(e){var t=e.length,n=t>1?e[t-1]:a;return xo(e,n="function"==typeof n?(e.pop(),n):a)}));function Ao(e){var t=ir(e);return t.__chain__=!0,t}function Po(e,t){return t(e)}var Oo=_a((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Cr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof lr&&ja(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:Po,args:[i],thisArg:a}),new ur(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(a),e}))):this.thru(i)})),No=Gi((function(e,t,n){nt.call(e,n)?++e[n]:kr(e,n,1)})),Ro=ta(ao),Io=ta(oo);function jo(e,t){return(uu(e)?Lt:Pr)(e,Ea(t,3))}function zo(e,t){return(uu(e)?Ut:Or)(e,Ea(t,3))}var Do=Gi((function(e,t,n){nt.call(e,n)?e[n].push(t):kr(e,n,[t])})),Lo=pi((function(e,t,r){var i=-1,a="function"==typeof t,o=cu(e)?n(e.length):[];return Pr(e,(function(e){o[++i]=a?zt(t,e,r):Gr(e,t,r)})),o})),Uo=Gi((function(e,t,n){kr(e,n,t)}));function Fo(e,t){return(uu(e)?Bt:ni)(e,Ea(t,3))}var $o=Gi((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Wo=pi((function(e,t){if(null==e)return[];var n=t.length;return n>1&&za(e,t[0],t[1])?t=[]:n>2&&za(t[0],t[1],t[2])&&(t=[t[0]]),ui(e,jr(t,1),[])})),Ho=Sn||function(){return Ct.Date.now()};function Bo(e,t,n){return t=n?a:t,t=e&&null==t?e.length:t,da(e,x,a,a,a,a,t)}function Vo(e,t){var n;if("function"!=typeof t)throw new Xe(u);return e=Ou(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=a),n}}var qo=pi((function(e,t,n){var r=v;if(n.length){var i=_n(n,Ca(qo));r|=b}return da(e,r,t,n,i)})),Yo=pi((function(e,t,n){var r=v|g;if(n.length){var i=_n(n,Ca(Yo));r|=b}return da(t,r,e,n,i)}));function Go(e,t,n){var r,i,o,l,c,s,f=0,h=!1,p=!1,d=!0;if("function"!=typeof e)throw new Xe(u);function v(t){var n=r,o=i;return r=i=a,f=t,l=e.apply(o,n)}function g(e){var n=e-s;return s===a||n>=t||n<0||p&&e-f>=o}function m(){var e=Ho();if(g(e))return y(e);c=Ya(m,function(e){var n=t-(e-s);return p?Dn(n,o-(e-f)):n}(e))}function y(e){return c=a,d&&r?v(e):(r=i=a,l)}function _(){var e=Ho(),n=g(e);if(r=arguments,i=this,s=e,n){if(c===a)return function(e){return f=e,c=Ya(m,t),h?v(e):l}(s);if(p)return Ui(c),c=Ya(m,t),v(s)}return c===a&&(c=Ya(m,t)),l}return t=Ru(t)||0,mu(n)&&(h=!!n.leading,o=(p="maxWait"in n)?zn(Ru(n.maxWait)||0,t):o,d="trailing"in n?!!n.trailing:d),_.cancel=function(){c!==a&&Ui(c),f=0,r=s=i=c=a},_.flush=function(){return c===a?l:y(Ho())},_}var Qo=pi((function(e,t){return Mr(e,1,t)})),Xo=pi((function(e,t,n){return Mr(e,Ru(t)||0,n)}));function Ko(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Xe(u);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(Ko.Cache||fr),n}function Zo(e){if("function"!=typeof e)throw new Xe(u);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ko.Cache=fr;var Jo=Di((function(e,t){var n=(t=1==t.length&&uu(t[0])?Bt(t[0],ln(Ea())):Bt(jr(t,1),ln(Ea()))).length;return pi((function(r){for(var i=-1,a=Dn(r.length,n);++i<a;)r[i]=t[i].call(this,r[i]);return zt(e,this,r)}))})),eu=pi((function(e,t){var n=_n(t,Ca(eu));return da(e,b,a,t,n)})),tu=pi((function(e,t){var n=_n(t,Ca(tu));return da(e,w,a,t,n)})),nu=_a((function(e,t){return da(e,k,a,a,a,t)}));function ru(e,t){return e===t||e!=e&&t!=t}var iu=ca(Br),au=ca((function(e,t){return e>=t})),ou=Qr(function(){return arguments}())?Qr:function(e){return yu(e)&&nt.call(e,"callee")&&!Tt.call(e,"callee")},uu=n.isArray,lu=Pt?ln(Pt):function(e){return yu(e)&&Hr(e)==te};function cu(e){return null!=e&&gu(e.length)&&!du(e)}function su(e){return yu(e)&&cu(e)}var fu=Nn||Rl,hu=Ot?ln(Ot):function(e){return yu(e)&&Hr(e)==U};function pu(e){if(!yu(e))return!1;var t=Hr(e);return t==$||t==F||"string"==typeof e.message&&"string"==typeof e.name&&!wu(e)}function du(e){if(!mu(e))return!1;var t=Hr(e);return t==W||t==H||t==D||t==G}function vu(e){return"number"==typeof e&&e==Ou(e)}function gu(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=M}function mu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function yu(e){return null!=e&&"object"==typeof e}var _u=Nt?ln(Nt):function(e){return yu(e)&&Oa(e)==B};function bu(e){return"number"==typeof e||yu(e)&&Hr(e)==V}function wu(e){if(!yu(e)||Hr(e)!=Y)return!1;var t=kt(e);if(null===t)return!0;var n=nt.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&tt.call(n)==ot}var xu=Rt?ln(Rt):function(e){return yu(e)&&Hr(e)==Q},ku=It?ln(It):function(e){return yu(e)&&Oa(e)==X};function Cu(e){return"string"==typeof e||!uu(e)&&yu(e)&&Hr(e)==K}function Eu(e){return"symbol"==typeof e||yu(e)&&Hr(e)==Z}var Tu=jt?ln(jt):function(e){return yu(e)&&gu(e.length)&&!!mt[Hr(e)]},Su=ca(ti),Mu=ca((function(e,t){return e<=t}));function Au(e){if(!e)return[];if(cu(e))return Cu(e)?xn(e):qi(e);if(Qt&&e[Qt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[Qt]());var t=Oa(e);return(t==B?mn:t==X?bn:rl)(e)}function Pu(e){return e?(e=Ru(e))===S||e===-S?(e<0?-1:1)*A:e==e?e:0:0===e?e:0}function Ou(e){var t=Pu(e),n=t%1;return t==t?n?t-n:t:0}function Nu(e){return e?Er(Ou(e),0,O):0}function Ru(e){if("number"==typeof e)return e;if(Eu(e))return P;if(mu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=mu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Se,"");var n=Le.test(e);return n||Fe.test(e)?wt(e.slice(2),n?2:8):De.test(e)?P:+e}function Iu(e){return Yi(e,Qu(e))}function ju(e){return null==e?"":Ti(e)}var zu=Qi((function(e,t){if(Fa(t)||cu(t))Yi(t,Gu(t),e);else for(var n in t)nt.call(t,n)&&_r(e,n,t[n])})),Du=Qi((function(e,t){Yi(t,Qu(t),e)})),Lu=Qi((function(e,t,n,r){Yi(t,Qu(t),e,r)})),Uu=Qi((function(e,t,n,r){Yi(t,Gu(t),e,r)})),Fu=_a(Cr),$u=pi((function(e,t){e=Ye(e);var n=-1,r=t.length,i=r>2?t[2]:a;for(i&&za(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],u=Qu(o),l=-1,c=u.length;++l<c;){var s=u[l],f=e[s];(f===a||ru(f,Je[s])&&!nt.call(e,s))&&(e[s]=o[s])}return e})),Wu=pi((function(e){return e.push(a,ga),zt(Ku,a,e)}));function Hu(e,t,n){var r=null==e?a:$r(e,t);return r===a?n:r}function Bu(e,t){return null!=e&&Na(e,t,qr)}var Vu=ia((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=at.call(t)),e[t]=n}),ml(bl)),qu=ia((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=at.call(t)),nt.call(e,t)?e[t].push(n):e[t]=[n]}),Ea),Yu=pi(Gr);function Gu(e){return cu(e)?dr(e):ei(e)}function Qu(e){return cu(e)?dr(e,!0):function(e){if(!mu(e))return function(e){var t=[];if(null!=e)for(var n in Ye(e))t.push(n);return t}(e);var t=Fa(e),n=[];for(var r in e)("constructor"!=r||!t&&nt.call(e,r))&&n.push(r);return n}(e)}var Xu=Qi((function(e,t,n){ai(e,t,n)})),Ku=Qi((function(e,t,n,r){ai(e,t,n,r)})),Zu=_a((function(e,t){var n={};if(null==e)return n;var r=!1;t=Bt(t,(function(t){return t=zi(t,e),r||(r=t.length>1),t})),Yi(e,wa(e),n),r&&(n=Tr(n,s|f|h,ma));for(var i=t.length;i--;)Mi(n,t[i]);return n})),Ju=_a((function(e,t){return null==e?{}:function(e,t){return li(e,t,(function(t,n){return Bu(e,n)}))}(e,t)}));function el(e,t){if(null==e)return{};var n=Bt(wa(e),(function(e){return[e]}));return t=Ea(t),li(e,n,(function(e,n){return t(e,n[0])}))}var tl=pa(Gu),nl=pa(Qu);function rl(e){return null==e?[]:cn(e,Gu(e))}var il=Ji((function(e,t,n){return t=t.toLowerCase(),e+(n?al(t):t)}));function al(e){return pl(ju(e).toLowerCase())}function ol(e){return(e=ju(e))&&e.replace(We,pn).replace(st,"")}var ul=Ji((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),ll=Ji((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),cl=Zi("toLowerCase"),sl=Ji((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),fl=Ji((function(e,t,n){return e+(n?" ":"")+pl(t)})),hl=Ji((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),pl=Zi("toUpperCase");function dl(e,t,n){return e=ju(e),(t=n?a:t)===a?function(e){return dt.test(e)}(e)?function(e){return e.match(ht)||[]}(e):function(e){return e.match(Re)||[]}(e):e.match(t)||[]}var vl=pi((function(e,t){try{return zt(e,a,t)}catch(e){return pu(e)?e:new i(e)}})),gl=_a((function(e,t){return Lt(t,(function(t){t=Ja(t),kr(e,t,qo(e[t],e))})),e}));function ml(e){return function(){return e}}var yl=na(),_l=na(!0);function bl(e){return e}function wl(e){return Jr("function"==typeof e?e:Tr(e,s))}var xl=pi((function(e,t){return function(n){return Gr(n,e,t)}})),kl=pi((function(e,t){return function(n){return Gr(e,n,t)}}));function Cl(e,t,n){var r=Gu(t),i=Fr(t,r);null!=n||mu(t)&&(i.length||!r.length)||(n=t,t=e,e=this,i=Fr(t,Gu(t)));var a=!(mu(n)&&"chain"in n&&!n.chain),o=du(e);return Lt(i,(function(n){var r=t[n];e[n]=r,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__);return(n.__actions__=qi(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Vt([this.value()],arguments))})})),e}function El(){}var Tl=oa(Bt),Sl=oa(Ft),Ml=oa(Gt);function Al(e){return Da(e)?nn(Ja(e)):function(e){return function(t){return $r(t,e)}}(e)}var Pl=la(),Ol=la(!0);function Nl(){return[]}function Rl(){return!1}var Il=aa((function(e,t){return e+t}),0),jl=fa("ceil"),zl=aa((function(e,t){return e/t}),1),Dl=fa("floor"),Ll=aa((function(e,t){return e*t}),1),Ul=fa("round"),Fl=aa((function(e,t){return e-t}),0);return ir.after=function(e,t){if("function"!=typeof t)throw new Xe(u);return e=Ou(e),function(){if(--e<1)return t.apply(this,arguments)}},ir.ary=Bo,ir.assign=zu,ir.assignIn=Du,ir.assignInWith=Lu,ir.assignWith=Uu,ir.at=Fu,ir.before=Vo,ir.bind=qo,ir.bindAll=gl,ir.bindKey=Yo,ir.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return uu(e)?e:[e]},ir.chain=Ao,ir.chunk=function(e,t,r){t=(r?za(e,t,r):t===a)?1:zn(Ou(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var o=0,u=0,l=n(An(i/t));o<i;)l[u++]=bi(e,o,o+=t);return l},ir.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},ir.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return Vt(uu(r)?qi(r):[r],jr(t,1))},ir.cond=function(e){var t=null==e?0:e.length,n=Ea();return e=t?Bt(e,(function(e){if("function"!=typeof e[1])throw new Xe(u);return[n(e[0]),e[1]]})):[],pi((function(n){for(var r=-1;++r<t;){var i=e[r];if(zt(i[0],this,n))return zt(i[1],this,n)}}))},ir.conforms=function(e){return function(e){var t=Gu(e);return function(n){return Sr(n,e,t)}}(Tr(e,s))},ir.constant=ml,ir.countBy=No,ir.create=function(e,t){var n=ar(e);return null==t?n:xr(n,t)},ir.curry=function e(t,n,r){var i=da(t,y,a,a,a,a,a,n=r?a:n);return i.placeholder=e.placeholder,i},ir.curryRight=function e(t,n,r){var i=da(t,_,a,a,a,a,a,n=r?a:n);return i.placeholder=e.placeholder,i},ir.debounce=Go,ir.defaults=$u,ir.defaultsDeep=Wu,ir.defer=Qo,ir.delay=Xo,ir.difference=no,ir.differenceBy=ro,ir.differenceWith=io,ir.drop=function(e,t,n){var r=null==e?0:e.length;return r?bi(e,(t=n||t===a?1:Ou(t))<0?0:t,r):[]},ir.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?bi(e,0,(t=r-(t=n||t===a?1:Ou(t)))<0?0:t):[]},ir.dropRightWhile=function(e,t){return e&&e.length?Pi(e,Ea(t,3),!0,!0):[]},ir.dropWhile=function(e,t){return e&&e.length?Pi(e,Ea(t,3),!0):[]},ir.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&za(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Ou(n))<0&&(n=-n>i?0:i+n),(r=r===a||r>i?i:Ou(r))<0&&(r+=i),r=n>r?0:Nu(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},ir.filter=function(e,t){return(uu(e)?$t:Ir)(e,Ea(t,3))},ir.flatMap=function(e,t){return jr(Fo(e,t),1)},ir.flatMapDeep=function(e,t){return jr(Fo(e,t),S)},ir.flatMapDepth=function(e,t,n){return n=n===a?1:Ou(n),jr(Fo(e,t),n)},ir.flatten=uo,ir.flattenDeep=function(e){return null!=e&&e.length?jr(e,S):[]},ir.flattenDepth=function(e,t){return null!=e&&e.length?jr(e,t=t===a?1:Ou(t)):[]},ir.flip=function(e){return da(e,C)},ir.flow=yl,ir.flowRight=_l,ir.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},ir.functions=function(e){return null==e?[]:Fr(e,Gu(e))},ir.functionsIn=function(e){return null==e?[]:Fr(e,Qu(e))},ir.groupBy=Do,ir.initial=function(e){return null!=e&&e.length?bi(e,0,-1):[]},ir.intersection=co,ir.intersectionBy=so,ir.intersectionWith=fo,ir.invert=Vu,ir.invertBy=qu,ir.invokeMap=Lo,ir.iteratee=wl,ir.keyBy=Uo,ir.keys=Gu,ir.keysIn=Qu,ir.map=Fo,ir.mapKeys=function(e,t){var n={};return t=Ea(t,3),Lr(e,(function(e,r,i){kr(n,t(e,r,i),e)})),n},ir.mapValues=function(e,t){var n={};return t=Ea(t,3),Lr(e,(function(e,r,i){kr(n,r,t(e,r,i))})),n},ir.matches=function(e){return ri(Tr(e,s))},ir.matchesProperty=function(e,t){return ii(e,Tr(t,s))},ir.memoize=Ko,ir.merge=Xu,ir.mergeWith=Ku,ir.method=xl,ir.methodOf=kl,ir.mixin=Cl,ir.negate=Zo,ir.nthArg=function(e){return e=Ou(e),pi((function(t){return oi(t,e)}))},ir.omit=Zu,ir.omitBy=function(e,t){return el(e,Zo(Ea(t)))},ir.once=function(e){return Vo(2,e)},ir.orderBy=function(e,t,n,r){return null==e?[]:(uu(t)||(t=null==t?[]:[t]),uu(n=r?a:n)||(n=null==n?[]:[n]),ui(e,t,n))},ir.over=Tl,ir.overArgs=Jo,ir.overEvery=Sl,ir.overSome=Ml,ir.partial=eu,ir.partialRight=tu,ir.partition=$o,ir.pick=Ju,ir.pickBy=el,ir.property=Al,ir.propertyOf=function(e){return function(t){return null==e?a:$r(e,t)}},ir.pull=po,ir.pullAll=vo,ir.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?ci(e,t,Ea(n,2)):e},ir.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?ci(e,t,a,n):e},ir.pullAt=go,ir.range=Pl,ir.rangeRight=Ol,ir.rearg=nu,ir.reject=function(e,t){return(uu(e)?$t:Ir)(e,Zo(Ea(t,3)))},ir.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=Ea(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return si(e,i),n},ir.rest=function(e,t){if("function"!=typeof e)throw new Xe(u);return pi(e,t=t===a?t:Ou(t))},ir.reverse=mo,ir.sampleSize=function(e,t,n){return t=(n?za(e,t,n):t===a)?1:Ou(t),(uu(e)?gr:vi)(e,t)},ir.set=function(e,t,n){return null==e?e:gi(e,t,n)},ir.setWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:gi(e,t,n,r)},ir.shuffle=function(e){return(uu(e)?mr:_i)(e)},ir.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&za(e,t,n)?(t=0,n=r):(t=null==t?0:Ou(t),n=n===a?r:Ou(n)),bi(e,t,n)):[]},ir.sortBy=Wo,ir.sortedUniq=function(e){return e&&e.length?Ci(e):[]},ir.sortedUniqBy=function(e,t){return e&&e.length?Ci(e,Ea(t,2)):[]},ir.split=function(e,t,n){return n&&"number"!=typeof n&&za(e,t,n)&&(t=n=a),(n=n===a?O:n>>>0)?(e=ju(e))&&("string"==typeof t||null!=t&&!xu(t))&&!(t=Ti(t))&&gn(e)?Li(xn(e),0,n):e.split(t,n):[]},ir.spread=function(e,t){if("function"!=typeof e)throw new Xe(u);return t=null==t?0:zn(Ou(t),0),pi((function(n){var r=n[t],i=Li(n,0,t);return r&&Vt(i,r),zt(e,this,i)}))},ir.tail=function(e){var t=null==e?0:e.length;return t?bi(e,1,t):[]},ir.take=function(e,t,n){return e&&e.length?bi(e,0,(t=n||t===a?1:Ou(t))<0?0:t):[]},ir.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?bi(e,(t=r-(t=n||t===a?1:Ou(t)))<0?0:t,r):[]},ir.takeRightWhile=function(e,t){return e&&e.length?Pi(e,Ea(t,3),!1,!0):[]},ir.takeWhile=function(e,t){return e&&e.length?Pi(e,Ea(t,3)):[]},ir.tap=function(e,t){return t(e),e},ir.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new Xe(u);return mu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Go(e,t,{leading:r,maxWait:t,trailing:i})},ir.thru=Po,ir.toArray=Au,ir.toPairs=tl,ir.toPairsIn=nl,ir.toPath=function(e){return uu(e)?Bt(e,Ja):Eu(e)?[e]:qi(Za(ju(e)))},ir.toPlainObject=Iu,ir.transform=function(e,t,n){var r=uu(e),i=r||fu(e)||Tu(e);if(t=Ea(t,4),null==n){var a=e&&e.constructor;n=i?r?new a:[]:mu(e)&&du(a)?ar(kt(e)):{}}return(i?Lt:Lr)(e,(function(e,r,i){return t(n,e,r,i)})),n},ir.unary=function(e){return Bo(e,1)},ir.union=yo,ir.unionBy=_o,ir.unionWith=bo,ir.uniq=function(e){return e&&e.length?Si(e):[]},ir.uniqBy=function(e,t){return e&&e.length?Si(e,Ea(t,2)):[]},ir.uniqWith=function(e,t){return t="function"==typeof t?t:a,e&&e.length?Si(e,a,t):[]},ir.unset=function(e,t){return null==e||Mi(e,t)},ir.unzip=wo,ir.unzipWith=xo,ir.update=function(e,t,n){return null==e?e:Ai(e,t,ji(n))},ir.updateWith=function(e,t,n,r){return r="function"==typeof r?r:a,null==e?e:Ai(e,t,ji(n),r)},ir.values=rl,ir.valuesIn=function(e){return null==e?[]:cn(e,Qu(e))},ir.without=ko,ir.words=dl,ir.wrap=function(e,t){return eu(ji(t),e)},ir.xor=Co,ir.xorBy=Eo,ir.xorWith=To,ir.zip=So,ir.zipObject=function(e,t){return Ri(e||[],t||[],_r)},ir.zipObjectDeep=function(e,t){return Ri(e||[],t||[],gi)},ir.zipWith=Mo,ir.entries=tl,ir.entriesIn=nl,ir.extend=Du,ir.extendWith=Lu,Cl(ir,ir),ir.add=Il,ir.attempt=vl,ir.camelCase=il,ir.capitalize=al,ir.ceil=jl,ir.clamp=function(e,t,n){return n===a&&(n=t,t=a),n!==a&&(n=(n=Ru(n))==n?n:0),t!==a&&(t=(t=Ru(t))==t?t:0),Er(Ru(e),t,n)},ir.clone=function(e){return Tr(e,h)},ir.cloneDeep=function(e){return Tr(e,s|h)},ir.cloneDeepWith=function(e,t){return Tr(e,s|h,t="function"==typeof t?t:a)},ir.cloneWith=function(e,t){return Tr(e,h,t="function"==typeof t?t:a)},ir.conformsTo=function(e,t){return null==t||Sr(e,t,Gu(t))},ir.deburr=ol,ir.defaultTo=function(e,t){return null==e||e!=e?t:e},ir.divide=zl,ir.endsWith=function(e,t,n){e=ju(e),t=Ti(t);var r=e.length,i=n=n===a?r:Er(Ou(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},ir.eq=ru,ir.escape=function(e){return(e=ju(e))&&ye.test(e)?e.replace(ge,dn):e},ir.escapeRegExp=function(e){return(e=ju(e))&&Te.test(e)?e.replace(Ee,"\\$&"):e},ir.every=function(e,t,n){var r=uu(e)?Ft:Nr;return n&&za(e,t,n)&&(t=a),r(e,Ea(t,3))},ir.find=Ro,ir.findIndex=ao,ir.findKey=function(e,t){return Xt(e,Ea(t,3),Lr)},ir.findLast=Io,ir.findLastIndex=oo,ir.findLastKey=function(e,t){return Xt(e,Ea(t,3),Ur)},ir.floor=Dl,ir.forEach=jo,ir.forEachRight=zo,ir.forIn=function(e,t){return null==e?e:zr(e,Ea(t,3),Qu)},ir.forInRight=function(e,t){return null==e?e:Dr(e,Ea(t,3),Qu)},ir.forOwn=function(e,t){return e&&Lr(e,Ea(t,3))},ir.forOwnRight=function(e,t){return e&&Ur(e,Ea(t,3))},ir.get=Hu,ir.gt=iu,ir.gte=au,ir.has=function(e,t){return null!=e&&Na(e,t,Vr)},ir.hasIn=Bu,ir.head=lo,ir.identity=bl,ir.includes=function(e,t,n,r){e=cu(e)?e:rl(e),n=n&&!r?Ou(n):0;var i=e.length;return n<0&&(n=zn(i+n,0)),Cu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&Zt(e,t,n)>-1},ir.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Ou(n);return i<0&&(i=zn(r+i,0)),Zt(e,t,i)},ir.inRange=function(e,t,n){return t=Pu(t),n===a?(n=t,t=0):n=Pu(n),function(e,t,n){return e>=Dn(t,n)&&e<zn(t,n)}(e=Ru(e),t,n)},ir.invoke=Yu,ir.isArguments=ou,ir.isArray=uu,ir.isArrayBuffer=lu,ir.isArrayLike=cu,ir.isArrayLikeObject=su,ir.isBoolean=function(e){return!0===e||!1===e||yu(e)&&Hr(e)==L},ir.isBuffer=fu,ir.isDate=hu,ir.isElement=function(e){return yu(e)&&1===e.nodeType&&!wu(e)},ir.isEmpty=function(e){if(null==e)return!0;if(cu(e)&&(uu(e)||"string"==typeof e||"function"==typeof e.splice||fu(e)||Tu(e)||ou(e)))return!e.length;var t=Oa(e);if(t==B||t==X)return!e.size;if(Fa(e))return!ei(e).length;for(var n in e)if(nt.call(e,n))return!1;return!0},ir.isEqual=function(e,t){return Xr(e,t)},ir.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:a)?n(e,t):a;return r===a?Xr(e,t,a,n):!!r},ir.isError=pu,ir.isFinite=function(e){return"number"==typeof e&&Rn(e)},ir.isFunction=du,ir.isInteger=vu,ir.isLength=gu,ir.isMap=_u,ir.isMatch=function(e,t){return e===t||Kr(e,t,Sa(t))},ir.isMatchWith=function(e,t,n){return n="function"==typeof n?n:a,Kr(e,t,Sa(t),n)},ir.isNaN=function(e){return bu(e)&&e!=+e},ir.isNative=function(e){if(Ua(e))throw new i("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Zr(e)},ir.isNil=function(e){return null==e},ir.isNull=function(e){return null===e},ir.isNumber=bu,ir.isObject=mu,ir.isObjectLike=yu,ir.isPlainObject=wu,ir.isRegExp=xu,ir.isSafeInteger=function(e){return vu(e)&&e>=-M&&e<=M},ir.isSet=ku,ir.isString=Cu,ir.isSymbol=Eu,ir.isTypedArray=Tu,ir.isUndefined=function(e){return e===a},ir.isWeakMap=function(e){return yu(e)&&Oa(e)==ee},ir.isWeakSet=function(e){return yu(e)&&"[object WeakSet]"==Hr(e)},ir.join=function(e,t){return null==e?"":In.call(e,t)},ir.kebabCase=ul,ir.last=ho,ir.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==a&&(i=(i=Ou(n))<0?zn(r+i,0):Dn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Kt(e,en,i,!0)},ir.lowerCase=ll,ir.lowerFirst=cl,ir.lt=Su,ir.lte=Mu,ir.max=function(e){return e&&e.length?Rr(e,bl,Br):a},ir.maxBy=function(e,t){return e&&e.length?Rr(e,Ea(t,2),Br):a},ir.mean=function(e){return tn(e,bl)},ir.meanBy=function(e,t){return tn(e,Ea(t,2))},ir.min=function(e){return e&&e.length?Rr(e,bl,ti):a},ir.minBy=function(e,t){return e&&e.length?Rr(e,Ea(t,2),ti):a},ir.stubArray=Nl,ir.stubFalse=Rl,ir.stubObject=function(){return{}},ir.stubString=function(){return""},ir.stubTrue=function(){return!0},ir.multiply=Ll,ir.nth=function(e,t){return e&&e.length?oi(e,Ou(t)):a},ir.noConflict=function(){return Ct._===this&&(Ct._=ut),this},ir.noop=El,ir.now=Ho,ir.pad=function(e,t,n){e=ju(e);var r=(t=Ou(t))?wn(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return ua(Pn(i),n)+e+ua(An(i),n)},ir.padEnd=function(e,t,n){e=ju(e);var r=(t=Ou(t))?wn(e):0;return t&&r<t?e+ua(t-r,n):e},ir.padStart=function(e,t,n){e=ju(e);var r=(t=Ou(t))?wn(e):0;return t&&r<t?ua(t-r,n)+e:e},ir.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),Un(ju(e).replace(Me,""),t||0)},ir.random=function(e,t,n){if(n&&"boolean"!=typeof n&&za(e,t,n)&&(t=n=a),n===a&&("boolean"==typeof t?(n=t,t=a):"boolean"==typeof e&&(n=e,e=a)),e===a&&t===a?(e=0,t=1):(e=Pu(e),t===a?(t=e,e=0):t=Pu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Fn();return Dn(e+i*(t-e+bt("1e-"+((i+"").length-1))),t)}return fi(e,t)},ir.reduce=function(e,t,n){var r=uu(e)?qt:an,i=arguments.length<3;return r(e,Ea(t,4),n,i,Pr)},ir.reduceRight=function(e,t,n){var r=uu(e)?Yt:an,i=arguments.length<3;return r(e,Ea(t,4),n,i,Or)},ir.repeat=function(e,t,n){return t=(n?za(e,t,n):t===a)?1:Ou(t),hi(ju(e),t)},ir.replace=function(){var e=arguments,t=ju(e[0]);return e.length<3?t:t.replace(e[1],e[2])},ir.result=function(e,t,n){var r=-1,i=(t=zi(t,e)).length;for(i||(i=1,e=a);++r<i;){var o=null==e?a:e[Ja(t[r])];o===a&&(r=i,o=n),e=du(o)?o.call(e):o}return e},ir.round=Ul,ir.runInContext=e,ir.sample=function(e){return(uu(e)?vr:di)(e)},ir.size=function(e){if(null==e)return 0;if(cu(e))return Cu(e)?wn(e):e.length;var t=Oa(e);return t==B||t==X?e.size:ei(e).length},ir.snakeCase=sl,ir.some=function(e,t,n){var r=uu(e)?Gt:wi;return n&&za(e,t,n)&&(t=a),r(e,Ea(t,3))},ir.sortedIndex=function(e,t){return xi(e,t)},ir.sortedIndexBy=function(e,t,n){return ki(e,t,Ea(n,2))},ir.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=xi(e,t);if(r<n&&ru(e[r],t))return r}return-1},ir.sortedLastIndex=function(e,t){return xi(e,t,!0)},ir.sortedLastIndexBy=function(e,t,n){return ki(e,t,Ea(n,2),!0)},ir.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=xi(e,t,!0)-1;if(ru(e[n],t))return n}return-1},ir.startCase=fl,ir.startsWith=function(e,t,n){return e=ju(e),n=null==n?0:Er(Ou(n),0,e.length),t=Ti(t),e.slice(n,n+t.length)==t},ir.subtract=Fl,ir.sum=function(e){return e&&e.length?on(e,bl):0},ir.sumBy=function(e,t){return e&&e.length?on(e,Ea(t,2)):0},ir.template=function(e,t,n){var r=ir.templateSettings;n&&za(e,t,n)&&(t=a),e=ju(e),t=Lu({},t,r,va);var i,o,u=Lu({},t.imports,r.imports,va),l=Gu(u),c=cn(u,l),s=0,f=t.interpolate||He,h="__p += '",p=Ge((t.escape||He).source+"|"+f.source+"|"+(f===we?je:He).source+"|"+(t.evaluate||He).source+"|$","g"),d="//# sourceURL="+(nt.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++gt+"]")+"\n";e.replace(p,(function(t,n,r,a,u,l){return r||(r=a),h+=e.slice(s,l).replace(Be,vn),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),u&&(o=!0,h+="';\n"+u+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),s=l+t.length,t})),h+="';\n";var v=nt.call(t,"variable")&&t.variable;v||(h="with (obj) {\n"+h+"\n}\n"),h=(o?h.replace(he,""):h).replace(pe,"$1").replace(de,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=vl((function(){return Ve(l,d+"return "+h).apply(a,c)}));if(g.source=h,pu(g))throw g;return g},ir.times=function(e,t){if((e=Ou(e))<1||e>M)return[];var n=O,r=Dn(e,O);t=Ea(t),e-=O;for(var i=un(r,t);++n<e;)t(n);return i},ir.toFinite=Pu,ir.toInteger=Ou,ir.toLength=Nu,ir.toLower=function(e){return ju(e).toLowerCase()},ir.toNumber=Ru,ir.toSafeInteger=function(e){return e?Er(Ou(e),-M,M):0===e?e:0},ir.toString=ju,ir.toUpper=function(e){return ju(e).toUpperCase()},ir.trim=function(e,t,n){if((e=ju(e))&&(n||t===a))return e.replace(Se,"");if(!e||!(t=Ti(t)))return e;var r=xn(e),i=xn(t);return Li(r,fn(r,i),hn(r,i)+1).join("")},ir.trimEnd=function(e,t,n){if((e=ju(e))&&(n||t===a))return e.replace(Ae,"");if(!e||!(t=Ti(t)))return e;var r=xn(e);return Li(r,0,hn(r,xn(t))+1).join("")},ir.trimStart=function(e,t,n){if((e=ju(e))&&(n||t===a))return e.replace(Me,"");if(!e||!(t=Ti(t)))return e;var r=xn(e);return Li(r,fn(r,xn(t))).join("")},ir.truncate=function(e,t){var n=30,r="...";if(mu(t)){var i="separator"in t?t.separator:i;n="length"in t?Ou(t.length):n,r="omission"in t?Ti(t.omission):r}var o=(e=ju(e)).length;if(gn(e)){var u=xn(e);o=u.length}if(n>=o)return e;var l=n-wn(r);if(l<1)return r;var c=u?Li(u,0,l).join(""):e.slice(0,l);if(i===a)return c+r;if(u&&(l+=c.length-l),xu(i)){if(e.slice(l).search(i)){var s,f=c;for(i.global||(i=Ge(i.source,ju(ze.exec(i))+"g")),i.lastIndex=0;s=i.exec(f);)var h=s.index;c=c.slice(0,h===a?l:h)}}else if(e.indexOf(Ti(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r},ir.unescape=function(e){return(e=ju(e))&&me.test(e)?e.replace(ve,kn):e},ir.uniqueId=function(e){var t=++rt;return ju(e)+t},ir.upperCase=hl,ir.upperFirst=pl,ir.each=jo,ir.eachRight=zo,ir.first=lo,Cl(ir,function(){var e={};return Lr(ir,(function(t,n){nt.call(ir.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),ir.VERSION="4.17.15",Lt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){ir[e].placeholder=ir})),Lt(["drop","take"],(function(e,t){lr.prototype[e]=function(n){n=n===a?1:zn(Ou(n),0);var r=this.__filtered__&&!t?new lr(this):this.clone();return r.__filtered__?r.__takeCount__=Dn(n,r.__takeCount__):r.__views__.push({size:Dn(n,O),type:e+(r.__dir__<0?"Right":"")}),r},lr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Lt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;lr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ea(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Lt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");lr.prototype[e]=function(){return this[n](1).value()[0]}})),Lt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");lr.prototype[e]=function(){return this.__filtered__?new lr(this):this[n](1)}})),lr.prototype.compact=function(){return this.filter(bl)},lr.prototype.find=function(e){return this.filter(e).head()},lr.prototype.findLast=function(e){return this.reverse().find(e)},lr.prototype.invokeMap=pi((function(e,t){return"function"==typeof e?new lr(this):this.map((function(n){return Gr(n,e,t)}))})),lr.prototype.reject=function(e){return this.filter(Zo(Ea(e)))},lr.prototype.slice=function(e,t){e=Ou(e);var n=this;return n.__filtered__&&(e>0||t<0)?new lr(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==a&&(n=(t=Ou(t))<0?n.dropRight(-t):n.take(t-e)),n)},lr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},lr.prototype.toArray=function(){return this.take(O)},Lr(lr.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=ir[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(ir.prototype[t]=function(){var t=this.__wrapped__,u=r?[1]:arguments,l=t instanceof lr,c=u[0],s=l||uu(t),f=function(e){var t=i.apply(ir,Vt([e],u));return r&&h?t[0]:t};s&&n&&"function"==typeof c&&1!=c.length&&(l=s=!1);var h=this.__chain__,p=!!this.__actions__.length,d=o&&!h,v=l&&!p;if(!o&&s){t=v?t:new lr(this);var g=e.apply(t,u);return g.__actions__.push({func:Po,args:[f],thisArg:a}),new ur(g,h)}return d&&v?e.apply(this,u):(g=this.thru(f),d?r?g.value()[0]:g.value():g)})})),Lt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ke[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);ir.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(uu(i)?i:[],e)}return this[n]((function(n){return t.apply(uu(n)?n:[],e)}))}})),Lr(lr.prototype,(function(e,t){var n=ir[t];if(n){var r=n.name+"";nt.call(Qn,r)||(Qn[r]=[]),Qn[r].push({name:t,func:n})}})),Qn[ra(a,g).name]=[{name:"wrapper",func:a}],lr.prototype.clone=function(){var e=new lr(this.__wrapped__);return e.__actions__=qi(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qi(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qi(this.__views__),e},lr.prototype.reverse=function(){if(this.__filtered__){var e=new lr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},lr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=uu(e),r=t<0,i=n?e.length:0,a=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=Dn(t,e+o);break;case"takeRight":e=zn(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,u=a.end,l=u-o,c=r?u:o-1,s=this.__iteratees__,f=s.length,h=0,p=Dn(l,this.__takeCount__);if(!n||!r&&i==l&&p==l)return Oi(e,this.__actions__);var d=[];e:for(;l--&&h<p;){for(var v=-1,g=e[c+=t];++v<f;){var m=s[v],y=m.iteratee,_=m.type,b=y(g);if(2==_)g=b;else if(!b){if(1==_)continue e;break e}}d[h++]=g}return d},ir.prototype.at=Oo,ir.prototype.chain=function(){return Ao(this)},ir.prototype.commit=function(){return new ur(this.value(),this.__chain__)},ir.prototype.next=function(){this.__values__===a&&(this.__values__=Au(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?a:this.__values__[this.__index__++]}},ir.prototype.plant=function(e){for(var t,n=this;n instanceof or;){var r=to(n);r.__index__=0,r.__values__=a,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},ir.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof lr){var t=e;return this.__actions__.length&&(t=new lr(this)),(t=t.reverse()).__actions__.push({func:Po,args:[mo],thisArg:a}),new ur(t,this.__chain__)}return this.thru(mo)},ir.prototype.toJSON=ir.prototype.valueOf=ir.prototype.value=function(){return Oi(this.__wrapped__,this.__actions__)},ir.prototype.first=ir.prototype.head,Qt&&(ir.prototype[Qt]=function(){return this}),ir}();Ct._=Cn,(i=function(){return Cn}.call(t,n,t,r))===a||(r.exports=i)}).call(this)}).call(this,n(19),n(20)(e))},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(16)},function(e,t,n){e.exports=function e(t){"use strict";var n=/^\0+/g,r=/[\0\r\f]/g,i=/: */g,a=/zoo|gra/,o=/([,: ])(transform)/g,u=/,+\s*(?![^(]*[)])/g,l=/ +\s*(?![^(]*[)])/g,c=/ *[\0] */g,s=/,\r+?/g,f=/([\t\r\n ])*\f?&/g,h=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,p=/\W+/g,d=/@(k\w+)\s*(\S*)\s*/,v=/::(place)/g,g=/:(read-only)/g,m=/\s+(?=[{\];=:>])/g,y=/([[}=:>])\s+/g,_=/(\{[^{]+?);(?=\})/g,b=/\s{2,}/g,w=/([^\(])(:+) */g,x=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,C=/([\s\S]*?);/g,E=/-self|flex-/g,T=/[^]*?(:[rp][el]a[\w-]+)[^]*/,S=/stretch|:\s*\w+\-(?:conte|avail)/,M=/([^-])(image-set\()/,A="-webkit-",P="-moz-",O="-ms-",N=59,R=125,I=123,j=40,z=41,D=91,L=93,U=10,F=13,$=9,W=64,H=32,B=38,V=45,q=95,Y=42,G=44,Q=58,X=39,K=34,Z=47,J=62,ee=43,te=126,ne=0,re=12,ie=11,ae=107,oe=109,ue=115,le=112,ce=111,se=105,fe=99,he=100,pe=112,de=1,ve=1,ge=0,me=1,ye=1,_e=1,be=0,we=0,xe=0,ke=[],Ce=[],Ee=0,Te=null,Se=-2,Me=-1,Ae=0,Pe=1,Oe=2,Ne=3,Re=0,Ie=1,je="",ze="",De="";function Le(e,t,i,a,o){for(var u,l,s=0,f=0,h=0,p=0,m=0,y=0,_=0,b=0,x=0,C=0,E=0,T=0,S=0,M=0,q=0,be=0,Ce=0,Te=0,Se=0,Me=i.length,Fe=Me-1,qe="",Ye="",Ge="",Qe="",Xe="",Ke="";q<Me;){if(_=i.charCodeAt(q),q===Fe&&f+p+h+s!==0&&(0!==f&&(_=f===Z?U:Z),p=h=s=0,Me++,Fe++),f+p+h+s===0){if(q===Fe&&(be>0&&(Ye=Ye.replace(r,"")),Ye.trim().length>0)){switch(_){case H:case $:case N:case F:case U:break;default:Ye+=i.charAt(q)}_=N}if(1===Ce)switch(_){case I:case R:case N:case K:case X:case j:case z:case G:Ce=0;case $:case F:case U:case H:break;default:for(Ce=0,Se=q,m=_,q--,_=N;Se<Me;)switch(i.charCodeAt(Se++)){case U:case F:case N:++q,_=m,Se=Me;break;case Q:be>0&&(++q,_=m);case I:Se=Me}}switch(_){case I:for(m=(Ye=Ye.trim()).charCodeAt(0),E=1,Se=++q;q<Me;){switch(_=i.charCodeAt(q)){case I:E++;break;case R:E--;break;case Z:switch(y=i.charCodeAt(q+1)){case Y:case Z:q=Ve(y,q,Fe,i)}break;case D:_++;case j:_++;case K:case X:for(;q++<Fe&&i.charCodeAt(q)!==_;);}if(0===E)break;q++}switch(Ge=i.substring(Se,q),m===ne&&(m=(Ye=Ye.replace(n,"").trim()).charCodeAt(0)),m){case W:switch(be>0&&(Ye=Ye.replace(r,"")),y=Ye.charCodeAt(1)){case he:case oe:case ue:case V:u=t;break;default:u=ke}if(Se=(Ge=Le(t,u,Ge,y,o+1)).length,xe>0&&0===Se&&(Se=Ye.length),Ee>0&&(u=Ue(ke,Ye,Te),l=Be(Ne,Ge,u,t,ve,de,Se,y,o,a),Ye=u.join(""),void 0!==l&&0===(Se=(Ge=l.trim()).length)&&(y=0,Ge="")),Se>0)switch(y){case ue:Ye=Ye.replace(k,He);case he:case oe:case V:Ge=Ye+"{"+Ge+"}";break;case ae:Ge=(Ye=Ye.replace(d,"$1 $2"+(Ie>0?je:"")))+"{"+Ge+"}",Ge=1===ye||2===ye&&We("@"+Ge,3)?"@"+A+Ge+"@"+Ge:"@"+Ge;break;default:Ge=Ye+Ge,a===pe&&(Qe+=Ge,Ge="")}else Ge="";break;default:Ge=Le(t,Ue(t,Ye,Te),Ge,a,o+1)}Xe+=Ge,T=0,Ce=0,M=0,be=0,Te=0,S=0,Ye="",Ge="",_=i.charCodeAt(++q);break;case R:case N:if((Se=(Ye=(be>0?Ye.replace(r,""):Ye).trim()).length)>1)switch(0===M&&((m=Ye.charCodeAt(0))===V||m>96&&m<123)&&(Se=(Ye=Ye.replace(" ",":")).length),Ee>0&&void 0!==(l=Be(Pe,Ye,t,e,ve,de,Qe.length,a,o,a))&&0===(Se=(Ye=l.trim()).length)&&(Ye="\0\0"),m=Ye.charCodeAt(0),y=Ye.charCodeAt(1),m){case ne:break;case W:if(y===se||y===fe){Ke+=Ye+i.charAt(q);break}default:if(Ye.charCodeAt(Se-1)===Q)break;Qe+=$e(Ye,m,y,Ye.charCodeAt(2))}T=0,Ce=0,M=0,be=0,Te=0,Ye="",_=i.charCodeAt(++q)}}switch(_){case F:case U:if(f+p+h+s+we===0)switch(C){case z:case X:case K:case W:case te:case J:case Y:case ee:case Z:case V:case Q:case G:case N:case I:case R:break;default:M>0&&(Ce=1)}f===Z?f=0:me+T===0&&a!==ae&&Ye.length>0&&(be=1,Ye+="\0"),Ee*Re>0&&Be(Ae,Ye,t,e,ve,de,Qe.length,a,o,a),de=1,ve++;break;case N:case R:if(f+p+h+s===0){de++;break}default:switch(de++,qe=i.charAt(q),_){case $:case H:if(p+s+f===0)switch(b){case G:case Q:case $:case H:qe="";break;default:_!==H&&(qe=" ")}break;case ne:qe="\\0";break;case re:qe="\\f";break;case ie:qe="\\v";break;case B:p+f+s===0&&me>0&&(Te=1,be=1,qe="\f"+qe);break;case 108:if(p+f+s+ge===0&&M>0)switch(q-M){case 2:b===le&&i.charCodeAt(q-3)===Q&&(ge=b);case 8:x===ce&&(ge=x)}break;case Q:p+f+s===0&&(M=q);break;case G:f+h+p+s===0&&(be=1,qe+="\r");break;case K:case X:0===f&&(p=p===_?0:0===p?_:p);break;case D:p+f+h===0&&s++;break;case L:p+f+h===0&&s--;break;case z:p+f+s===0&&h--;break;case j:if(p+f+s===0){if(0===T)switch(2*b+3*x){case 533:break;default:E=0,T=1}h++}break;case W:f+h+p+s+M+S===0&&(S=1);break;case Y:case Z:if(p+s+h>0)break;switch(f){case 0:switch(2*_+3*i.charCodeAt(q+1)){case 235:f=Z;break;case 220:Se=q,f=Y}break;case Y:_===Z&&b===Y&&Se+2!==q&&(33===i.charCodeAt(Se+2)&&(Qe+=i.substring(Se,q+1)),qe="",f=0)}}if(0===f){if(me+p+s+S===0&&a!==ae&&_!==N)switch(_){case G:case te:case J:case ee:case z:case j:if(0===T){switch(b){case $:case H:case U:case F:qe+="\0";break;default:qe="\0"+qe+(_===G?"":"\0")}be=1}else switch(_){case j:M+7===q&&108===b&&(M=0),T=++E;break;case z:0==(T=--E)&&(be=1,qe+="\0")}break;case $:case H:switch(b){case ne:case I:case R:case N:case G:case re:case $:case H:case U:case F:break;default:0===T&&(be=1,qe+="\0")}}Ye+=qe,_!==H&&_!==$&&(C=_)}}x=b,b=_,q++}if(Se=Qe.length,xe>0&&0===Se&&0===Xe.length&&0===t[0].length==0&&(a!==oe||1===t.length&&(me>0?ze:De)===t[0])&&(Se=t.join(",").length+2),Se>0){if(u=0===me&&a!==ae?function(e){for(var t,n,i=0,a=e.length,o=Array(a);i<a;++i){for(var u=e[i].split(c),l="",s=0,f=0,h=0,p=0,d=u.length;s<d;++s)if(!(0===(f=(n=u[s]).length)&&d>1)){if(h=l.charCodeAt(l.length-1),p=n.charCodeAt(0),t="",0!==s)switch(h){case Y:case te:case J:case ee:case H:case j:break;default:t=" "}switch(p){case B:n=t+ze;case te:case J:case ee:case H:case z:case j:break;case D:n=t+n+ze;break;case Q:switch(2*n.charCodeAt(1)+3*n.charCodeAt(2)){case 530:if(_e>0){n=t+n.substring(8,f-1);break}default:(s<1||u[s-1].length<1)&&(n=t+ze+n)}break;case G:t="";default:n=f>1&&n.indexOf(":")>0?t+n.replace(w,"$1"+ze+"$2"):t+n+ze}l+=n}o[i]=l.replace(r,"").trim()}return o}(t):t,Ee>0&&void 0!==(l=Be(Oe,Qe,u,e,ve,de,Se,a,o,a))&&0===(Qe=l).length)return Ke+Qe+Xe;if(Qe=u.join(",")+"{"+Qe+"}",ye*ge!=0){switch(2!==ye||We(Qe,2)||(ge=0),ge){case ce:Qe=Qe.replace(g,":"+P+"$1")+Qe;break;case le:Qe=Qe.replace(v,"::"+A+"input-$1")+Qe.replace(v,"::"+P+"$1")+Qe.replace(v,":"+O+"input-$1")+Qe}ge=0}}return Ke+Qe+Xe}function Ue(e,t,n){var r=t.trim().split(s),i=r,a=r.length,o=e.length;switch(o){case 0:case 1:for(var u=0,l=0===o?"":e[0]+" ";u<a;++u)i[u]=Fe(l,i[u],n,o).trim();break;default:u=0;var c=0;for(i=[];u<a;++u)for(var f=0;f<o;++f)i[c++]=Fe(e[f]+" ",r[u],n,o).trim()}return i}function Fe(e,t,n,r){var i=t,a=i.charCodeAt(0);switch(a<33&&(a=(i=i.trim()).charCodeAt(0)),a){case B:switch(me+r){case 0:case 1:if(0===e.trim().length)break;default:return i.replace(f,"$1"+e.trim())}break;case Q:switch(i.charCodeAt(1)){case 103:if(_e>0&&me>0)return i.replace(h,"$1").replace(f,"$1"+De);break;default:return e.trim()+i.replace(f,"$1"+e.trim())}default:if(n*me>0&&i.indexOf("\f")>0)return i.replace(f,(e.charCodeAt(0)===Q?"":"$1")+e.trim())}return e+i}function $e(e,t,n,r){var c,s=0,f=e+";",h=2*t+3*n+4*r;if(944===h)return function(e){var t=e.length,n=e.indexOf(":",9)+1,r=e.substring(0,n).trim(),i=e.substring(n,t-1).trim();switch(e.charCodeAt(9)*Ie){case 0:break;case V:if(110!==e.charCodeAt(10))break;default:var a=i.split((i="",u)),o=0;for(n=0,t=a.length;o<t;n=0,++o){for(var c=a[o],s=c.split(l);c=s[n];){var f=c.charCodeAt(0);if(1===Ie&&(f>W&&f<90||f>96&&f<123||f===q||f===V&&c.charCodeAt(1)!==V))switch(isNaN(parseFloat(c))+(-1!==c.indexOf("("))){case 1:switch(c){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:c+=je}}s[n++]=c}i+=(0===o?"":",")+s.join(" ")}}return i=r+i+";",1===ye||2===ye&&We(i,1)?A+i+i:i}(f);if(0===ye||2===ye&&!We(f,1))return f;switch(h){case 1015:return 97===f.charCodeAt(10)?A+f+f:f;case 951:return 116===f.charCodeAt(3)?A+f+f:f;case 963:return 110===f.charCodeAt(5)?A+f+f:f;case 1009:if(100!==f.charCodeAt(4))break;case 969:case 942:return A+f+f;case 978:return A+f+P+f+f;case 1019:case 983:return A+f+P+f+O+f+f;case 883:return f.charCodeAt(8)===V?A+f+f:f.indexOf("image-set(",11)>0?f.replace(M,"$1"+A+"$2")+f:f;case 932:if(f.charCodeAt(4)===V)switch(f.charCodeAt(5)){case 103:return A+"box-"+f.replace("-grow","")+A+f+O+f.replace("grow","positive")+f;case 115:return A+f+O+f.replace("shrink","negative")+f;case 98:return A+f+O+f.replace("basis","preferred-size")+f}return A+f+O+f+f;case 964:return A+f+O+"flex-"+f+f;case 1023:if(99!==f.charCodeAt(8))break;return c=f.substring(f.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),A+"box-pack"+c+A+f+O+"flex-pack"+c+f;case 1005:return a.test(f)?f.replace(i,":"+A)+f.replace(i,":"+P)+f:f;case 1e3:switch(s=(c=f.substring(13).trim()).indexOf("-")+1,c.charCodeAt(0)+c.charCodeAt(s)){case 226:c=f.replace(x,"tb");break;case 232:c=f.replace(x,"tb-rl");break;case 220:c=f.replace(x,"lr");break;default:return f}return A+f+O+c+f;case 1017:if(-1===f.indexOf("sticky",9))return f;case 975:switch(s=(f=e).length-10,h=(c=(33===f.charCodeAt(s)?f.substring(0,s):f).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|c.charCodeAt(7))){case 203:if(c.charCodeAt(8)<111)break;case 115:f=f.replace(c,A+c)+";"+f;break;case 207:case 102:f=f.replace(c,A+(h>102?"inline-":"")+"box")+";"+f.replace(c,A+c)+";"+f.replace(c,O+c+"box")+";"+f}return f+";";case 938:if(f.charCodeAt(5)===V)switch(f.charCodeAt(6)){case 105:return c=f.replace("-items",""),A+f+A+"box-"+c+O+"flex-"+c+f;case 115:return A+f+O+"flex-item-"+f.replace(E,"")+f;default:return A+f+O+"flex-line-pack"+f.replace("align-content","").replace(E,"")+f}break;case 973:case 989:if(f.charCodeAt(3)!==V||122===f.charCodeAt(4))break;case 931:case 953:if(!0===S.test(e))return 115===(c=e.substring(e.indexOf(":")+1)).charCodeAt(0)?$e(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):f.replace(c,A+c)+f.replace(c,P+c.replace("fill-",""))+f;break;case 962:if(f=A+f+(102===f.charCodeAt(5)?O+f:"")+f,n+r===211&&105===f.charCodeAt(13)&&f.indexOf("transform",10)>0)return f.substring(0,f.indexOf(";",27)+1).replace(o,"$1"+A+"$2")+f}return f}function We(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10),i=e.substring(n+1,e.length-1);return Te(2!==t?r:r.replace(T,"$1"),i,t)}function He(e,t){var n=$e(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(C," or ($1)").substring(4):"("+t+")"}function Be(e,t,n,r,i,a,o,u,l,c){for(var s,f=0,h=t;f<Ee;++f)switch(s=Ce[f].call(Ye,e,h,n,r,i,a,o,u,l,c)){case void 0:case!1:case!0:case null:break;default:h=s}if(h!==t)return h}function Ve(e,t,n,r){for(var i=t+1;i<n;++i)switch(r.charCodeAt(i)){case Z:if(e===Y&&r.charCodeAt(i-1)===Y&&t+2!==i)return i+1;break;case U:if(e===Z)return i+1}return i}function qe(e){for(var t in e){var n=e[t];switch(t){case"keyframe":Ie=0|n;break;case"global":_e=0|n;break;case"cascade":me=0|n;break;case"compress":be=0|n;break;case"semicolon":we=0|n;break;case"preserve":xe=0|n;break;case"prefix":Te=null,n?"function"!=typeof n?ye=1:(ye=2,Te=n):ye=0}}return qe}function Ye(t,n){if(void 0!==this&&this.constructor===Ye)return e(t);var i=t,a=i.charCodeAt(0);a<33&&(a=(i=i.trim()).charCodeAt(0)),Ie>0&&(je=i.replace(p,a===D?"":"-")),a=1,1===me?De=i:ze=i;var o,u=[De];Ee>0&&void 0!==(o=Be(Me,n,u,u,ve,de,0,0,0,0))&&"string"==typeof o&&(n=o);var l=Le(ke,u,n,0,0);return Ee>0&&void 0!==(o=Be(Se,l,u,u,ve,de,l.length,0,0,0))&&"string"!=typeof(l=o)&&(a=0),je="",De="",ze="",ge=0,ve=1,de=1,be*a==0?l:l.replace(r,"").replace(m,"").replace(y,"$1").replace(_,"$1").replace(b," ")}return Ye.use=function e(t){switch(t){case void 0:case null:Ee=Ce.length=0;break;default:if("function"==typeof t)Ce[Ee++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else Re=0|!!t}return e},Ye.set=qe,void 0!==t&&qe(t),Ye}(null)},function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){"use strict";function r(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}t.a=function(e,t){var n;void 0===t&&(t=r);var i,a=[],o=!1;return function(){for(var r=[],u=0;u<arguments.length;u++)r[u]=arguments[u];return o&&n===this&&t(r,a)?i:(i=e.apply(this,r),o=!0,n=this,a=r,i)}}},function(e,t,n){var r={};!function(e){function t(e){for(var t="",n=e.length-1;n>=0;)t+=e.charAt(n--);return t}function n(e,t){for(var n="";n.length<t;)n+=e;return n}function r(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}function i(e,t){var r=""+e;return r.length>=t?r:n(" ",t-r.length)+r}function a(e,t){var r=""+e;return r.length>=t?r:r+n(" ",t-r.length)}e.version="0.10.2";var o=Math.pow(2,32);function u(e,t){return e>o||e<-o?function(e,t){var r=""+Math.round(e);return r.length>=t?r:n("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:n("0",t-r.length)+r}(Math.round(e),t)}function l(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var c=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],s=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function f(e){e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e[65535]="General"}var h={};function p(e,t,n){for(var r=e<0?-1:1,i=e*r,a=0,o=1,u=0,l=1,c=0,s=0,f=Math.floor(i);c<t&&(u=(f=Math.floor(i))*o+a,s=f*c+l,!(i-f<5e-8));)i=1/(i-f),a=o,o=u,l=c,c=s;if(s>t&&(c>t?(s=l,u=a):(s=c,u=o)),!n)return[0,r*u,s];var h=Math.floor(r*u/s);return[h,r*u-h*s,s]}function d(e,t,n){if(e>2958465||e<0)return null;var r=0|e,i=Math.floor(86400*(e-r)),a=0,o=[],u={D:r,T:i,u:86400*(e-r)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(u.u)<1e-6&&(u.u=0),t&&t.date1904&&(r+=1462),u.u>.9999&&(u.u=0,86400==++i&&(u.T=i=0,++r,++u.D)),60===r)o=n?[1317,10,29]:[1900,2,29],a=3;else if(0===r)o=n?[1317,8,29]:[1900,1,0],a=6;else{r>60&&--r;var l=new Date(1900,0,1);l.setDate(l.getDate()+r-1),o=[l.getFullYear(),l.getMonth()+1,l.getDate()],a=l.getDay(),r<60&&(a=(a+6)%7),n&&(a=0)}return u.y=o[0],u.m=o[1],u.d=o[2],u.S=i%60,i=Math.floor(i/60),u.M=i%60,i=Math.floor(i/60),u.H=i,u.q=a,u}f(h),e.parse_date_code=d;var v=new Date(1899,11,31,0,0,0),g=v.getTime(),m=new Date(1900,2,1,0,0,0);function y(e,t){var n=e.getTime();return t?n-=1262304e5:e>=m&&(n+=864e5),(n-(g+6e4*(e.getTimezoneOffset()-v.getTimezoneOffset())))/864e5}function _(e){return e.toString(10)}e._general_int=_;var b=function(){var e=/\.(\d*[1-9])0+$/,t=/\.0*$/,n=/\.(\d*[1-9])0+/,r=/\.0*[Ee]/,i=/(E[+-])(\d)$/;function a(n){return n.indexOf(".")>-1?n.replace(t,"").replace(e,".$1"):n}return function(t){var o=Math.floor(Math.log(Math.abs(t))*Math.LOG10E);return a(function(e){for(var t=0;t!=e.length;++t)if(101==(32|e.charCodeAt(t)))return e.replace(n,".$1").replace(r,"E").replace("e","E").replace(i,"$10$2");return e}(o>=-4&&o<=-1?t.toPrecision(10+o):Math.abs(o)<=9?function(e){var t=e<0?12:11,n=a(e.toFixed(12));return n.length<=t?n:(n=e.toPrecision(10)).length<=t?n:e.toExponential(5)}(t):10===o?t.toFixed(10).substr(0,12):function(t){var n=t.toFixed(11).replace(e,".$1");return n.length>(t<0?12:11)&&(n=t.toPrecision(6)),n}(t)))}}();function w(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?_(e):b(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return N(14,y(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function x(e,t,n,i){var a,o="",u=0,l=0,f=n.y,h=0;switch(e){case 98:f=n.y+543;case 121:switch(t.length){case 1:case 2:a=f%100,h=2;break;default:a=f%1e4,h=4}break;case 109:switch(t.length){case 1:case 2:a=n.m,h=t.length;break;case 3:return s[n.m-1][1];case 5:return s[n.m-1][0];default:return s[n.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=n.d,h=t.length;break;case 3:return c[n.q][0];default:return c[n.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(n.H+11)%12,h=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=n.H,h=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=n.M,h=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==n.u||"s"!=t&&"ss"!=t?(l=i>=2?3===i?1e3:100:1===i?10:1,(u=Math.round(l*(n.S+n.u)))>=60*l&&(u=0),"s"===t?0===u?"0":""+u/l:(o=r(u,2+i),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):r(n.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*n.D+n.H;break;case"[m]":case"[mm]":a=60*(24*n.D+n.H)+n.M;break;case"[s]":case"[ss]":a=60*(60*(24*n.D+n.H)+n.M)+Math.round(n.S+n.u);break;default:throw"bad abstime format: "+t}h=3===t.length?1:2;break;case 101:a=f,h=1}return h>0?r(a,h):""}function k(e){if(e.length<=3)return e;for(var t=e.length%3,n=e.substr(0,t);t!=e.length;t+=3)n+=(n.length>0?",":"")+e.substr(t,3);return n}e._general_num=b,e._general=w;var C=function(){var e=/%/g,o=/# (\?+)( ?)\/( ?)(\d+)/,l=/^#*0*\.([0#]+)/,c=/\).*[0#]/,s=/\(###\) ###\\?-####/;function f(e){for(var t,n="",r=0;r!=e.length;++r)switch(t=e.charCodeAt(r)){case 35:break;case 63:n+=" ";break;case 48:n+="0";break;default:n+=String.fromCharCode(t)}return n}function h(e,t){var n=Math.pow(10,t);return""+Math.round(e*n)/n}function d(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?0:Math.round((e-Math.floor(e))*Math.pow(10,t))}function v(g,m,y){if(40===g.charCodeAt(0)&&!m.match(c)){var _=m.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return y>=0?v("n",_,y):"("+v("n",_,-y)+")"}if(44===m.charCodeAt(m.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return C(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(g,m,y);if(-1!==m.indexOf("%"))return function(t,r,i){var a=r.replace(e,""),o=r.length-a.length;return C(t,a,i*Math.pow(10,2*o))+n("%",o)}(g,m,y);if(-1!==m.indexOf("E"))return function e(t,n){var r,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var a=t.indexOf(".");-1===a&&(a=t.indexOf("E"));var o=Math.floor(Math.log(n)*Math.LOG10E)%a;if(o<0&&(o+=a),-1===(r=(n/Math.pow(10,o)).toPrecision(i+1+(a+o)%a)).indexOf("e")){var u=Math.floor(Math.log(n)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(u-r.length+o):r+="E+"+(u-o);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(a+o)%a)+"."+r.substr(o)+"E"}))}else r=n.toExponential(i);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(m,y);if(36===m.charCodeAt(0))return"$"+v(g,m.substr(" "==m.charAt(1)?2:1),y);var b,w,x,E,T=Math.abs(y),S=y<0?"-":"";if(m.match(/^00+$/))return S+u(T,m.length);if(m.match(/^[#?]+$/))return"0"===(b=u(y,0))&&(b=""),b.length>m.length?b:f(m.substr(0,m.length-b.length))+b;if(w=m.match(o))return function(e,t,a){var o=parseInt(e[4],10),u=Math.round(t*o),l=Math.floor(u/o),c=u-l*o,s=o;return a+(0===l?"":""+l)+" "+(0===c?n(" ",e[1].length+1+e[4].length):i(c,e[1].length)+e[2]+"/"+e[3]+r(s,e[4].length))}(w,T,S);if(m.match(/^#+0+$/))return S+u(T,m.length-m.indexOf("0"));if(w=m.match(l))return b=h(y,w[1].length).replace(/^([^\.]+)$/,"$1."+f(w[1])).replace(/\.$/,"."+f(w[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",f(w[1]).length-t.length)})),-1!==m.indexOf("0.")?b:b.replace(/^0\./,".");if(m=m.replace(/^#+([0.])/,"$1"),w=m.match(/^(0*)\.(#*)$/))return S+h(T,w[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,w[1].length?"0.":".");if(w=m.match(/^#{1,3},##0(\.?)$/))return S+k(u(T,0));if(w=m.match(/^#,##0\.([#0]*0)$/))return y<0?"-"+v(g,m,-y):k(""+(Math.floor(y)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(y,w[1].length)))+"."+r(d(y,w[1].length),w[1].length);if(w=m.match(/^#,#*,#0/))return v(g,m.replace(/^#,#*,/,""),y);if(w=m.match(/^([0#]+)(\\?-([0#]+))+$/))return b=t(v(g,m.replace(/[\\-]/g,""),y)),x=0,t(t(m.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return x<b.length?b.charAt(x++):"0"===e?"0":""})));if(m.match(s))return"("+(b=v(g,"##########",y)).substr(0,3)+") "+b.substr(3,3)+"-"+b.substr(6);var M="";if(w=m.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return x=Math.min(w[4].length,7),E=p(T,Math.pow(10,x)-1,!1),b=""+S," "==(M=C("n",w[1],E[1])).charAt(M.length-1)&&(M=M.substr(0,M.length-1)+"0"),b+=M+w[2]+"/"+w[3],(M=a(E[2],x)).length<w[4].length&&(M=f(w[4].substr(w[4].length-M.length))+M),b+=M;if(w=m.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return x=Math.min(Math.max(w[1].length,w[4].length),7),S+((E=p(T,Math.pow(10,x)-1,!0))[0]||(E[1]?"":"0"))+" "+(E[1]?i(E[1],x)+w[2]+"/"+w[3]+a(E[2],x):n(" ",2*x+1+w[2].length+w[3].length));if(w=m.match(/^[#0?]+$/))return b=u(y,0),m.length<=b.length?b:f(m.substr(0,m.length-b.length))+b;if(w=m.match(/^([#0?]+)\.([#0]+)$/)){b=""+y.toFixed(Math.min(w[2].length,10)).replace(/([^0])0+$/,"$1"),x=b.indexOf(".");var A=m.indexOf(".")-x,P=m.length-b.length-A;return f(m.substr(0,A)+b+m.substr(m.length-P))}if(w=m.match(/^00,000\.([#0]*0)$/))return x=d(y,w[1].length),y<0?"-"+v(g,m,-y):k(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(y)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(x,w[1].length);switch(m){case"###,##0.00":return v(g,"#,##0.00",y);case"###,###":case"##,###":case"#,###":var O=k(u(T,0));return"0"!==O?S+O:"";case"###,###.00":return v(g,"###,##0.00",y).replace(/^0\./,".");case"#,###.00":return v(g,"#,##0.00",y).replace(/^0\./,".")}throw new Error("unsupported format |"+m+"|")}function g(u,h,d){if(40===u.charCodeAt(0)&&!h.match(c)){var v=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return d>=0?g("n",v,d):"("+g("n",v,-d)+")"}if(44===h.charCodeAt(h.length-1))return function(e,t,n){for(var r=t.length-1;44===t.charCodeAt(r-1);)--r;return C(e,t.substr(0,r),n/Math.pow(10,3*(t.length-r)))}(u,h,d);if(-1!==h.indexOf("%"))return function(t,r,i){var a=r.replace(e,""),o=r.length-a.length;return C(t,a,i*Math.pow(10,2*o))+n("%",o)}(u,h,d);if(-1!==h.indexOf("E"))return function e(t,n){var r,i=t.indexOf("E")-t.indexOf(".")-1;if(t.match(/^#+0.0E\+0$/)){if(0==n)return"0.0E+0";if(n<0)return"-"+e(t,-n);var a=t.indexOf(".");-1===a&&(a=t.indexOf("E"));var o=Math.floor(Math.log(n)*Math.LOG10E)%a;if(o<0&&(o+=a),!(r=(n/Math.pow(10,o)).toPrecision(i+1+(a+o)%a)).match(/[Ee]/)){var u=Math.floor(Math.log(n)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(u-r.length+o):r+="E+"+(u-o),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,n,r){return t+n+r.substr(0,(a+o)%a)+"."+r.substr(o)+"E"}))}else r=n.toExponential(i);return t.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),t.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}(h,d);if(36===h.charCodeAt(0))return"$"+g(u,h.substr(" "==h.charAt(1)?2:1),d);var m,y,_,b,w=Math.abs(d),x=d<0?"-":"";if(h.match(/^00+$/))return x+r(w,h.length);if(h.match(/^[#?]+$/))return m=""+d,0===d&&(m=""),m.length>h.length?m:f(h.substr(0,h.length-m.length))+m;if(y=h.match(o))return function(e,t,r){return r+(0===t?"":""+t)+n(" ",e[1].length+2+e[4].length)}(y,w,x);if(h.match(/^#+0+$/))return x+r(w,h.length-h.indexOf("0"));if(y=h.match(l))return m=(m=(""+d).replace(/^([^\.]+)$/,"$1."+f(y[1])).replace(/\.$/,"."+f(y[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+n("0",f(y[1]).length-t.length)})),-1!==h.indexOf("0.")?m:m.replace(/^0\./,".");if(h=h.replace(/^#+([0.])/,"$1"),y=h.match(/^(0*)\.(#*)$/))return x+(""+w).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,y[1].length?"0.":".");if(y=h.match(/^#{1,3},##0(\.?)$/))return x+k(""+w);if(y=h.match(/^#,##0\.([#0]*0)$/))return d<0?"-"+g(u,h,-d):k(""+d)+"."+n("0",y[1].length);if(y=h.match(/^#,#*,#0/))return g(u,h.replace(/^#,#*,/,""),d);if(y=h.match(/^([0#]+)(\\?-([0#]+))+$/))return m=t(g(u,h.replace(/[\\-]/g,""),d)),_=0,t(t(h.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return _<m.length?m.charAt(_++):"0"===e?"0":""})));if(h.match(s))return"("+(m=g(u,"##########",d)).substr(0,3)+") "+m.substr(3,3)+"-"+m.substr(6);var E="";if(y=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return _=Math.min(y[4].length,7),b=p(w,Math.pow(10,_)-1,!1),m=""+x," "==(E=C("n",y[1],b[1])).charAt(E.length-1)&&(E=E.substr(0,E.length-1)+"0"),m+=E+y[2]+"/"+y[3],(E=a(b[2],_)).length<y[4].length&&(E=f(y[4].substr(y[4].length-E.length))+E),m+=E;if(y=h.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return _=Math.min(Math.max(y[1].length,y[4].length),7),x+((b=p(w,Math.pow(10,_)-1,!0))[0]||(b[1]?"":"0"))+" "+(b[1]?i(b[1],_)+y[2]+"/"+y[3]+a(b[2],_):n(" ",2*_+1+y[2].length+y[3].length));if(y=h.match(/^[#0?]+$/))return m=""+d,h.length<=m.length?m:f(h.substr(0,h.length-m.length))+m;if(y=h.match(/^([#0]+)\.([#0]+)$/)){m=""+d.toFixed(Math.min(y[2].length,10)).replace(/([^0])0+$/,"$1"),_=m.indexOf(".");var T=h.indexOf(".")-_,S=h.length-m.length-T;return f(h.substr(0,T)+m+h.substr(h.length-S))}if(y=h.match(/^00,000\.([#0]*0)$/))return d<0?"-"+g(u,h,-d):k(""+d).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?r(0,3-e.length):"")+e}))+"."+r(0,y[1].length);switch(h){case"###,###":case"##,###":case"#,###":var M=k(""+w);return"0"!==M?x+M:"";default:if(h.match(/\.[0#?]*$/))return g(u,h.slice(0,h.lastIndexOf(".")),d)+f(h.slice(h.lastIndexOf(".")))}throw new Error("unsupported format |"+h+"|")}return function(e,t,n){return(0|n)===n?g(e,t,n):v(e,t,n)}}();function E(e){for(var t=[],n=!1,r=0,i=0;r<e.length;++r)switch(e.charCodeAt(r)){case 34:n=!n;break;case 95:case 42:case 92:++r;break;case 59:t[t.length]=e.substr(i,r-i),i=r+1}if(t[t.length]=e.substr(i),!0===n)throw new Error("Format |"+e+"| unterminated string ");return t}e._split=E;var T=/\[[HhMmSs]*\]/;function S(e){for(var t=0,n="",r="";t<e.length;)switch(n=e.charAt(t)){case"G":l(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;)++t;++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(r=n;"]"!==e.charAt(t++)&&t<e.length;)r+=e.charAt(t);if(r.match(T))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(n=e.charAt(++t))>-1||"\\"==n&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===n;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":default:++t}return!1}function M(e,t,n,r){for(var i,a,o,u=[],c="",s=0,f="",h="t",p="H";s<e.length;)switch(f=e.charAt(s)){case"G":if(!l(e,s))throw new Error("unrecognized character "+f+" in "+e);u[u.length]={t:"G",v:"General"},s+=7;break;case'"':for(c="";34!==(o=e.charCodeAt(++s))&&s<e.length;)c+=String.fromCharCode(o);u[u.length]={t:"t",v:c},++s;break;case"\\":var v=e.charAt(++s),g="("===v||")"===v?v:"t";u[u.length]={t:g,v:v},++s;break;case"_":u[u.length]={t:"t",v:" "},s+=2;break;case"@":u[u.length]={t:"T",v:t},++s;break;case"B":case"b":if("1"===e.charAt(s+1)||"2"===e.charAt(s+1)){if(null==i&&null==(i=d(t,n,"2"===e.charAt(s+1))))return"";u[u.length]={t:"X",v:e.substr(s,2)},h=f,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":f=f.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==i&&null==(i=d(t,n)))return"";for(c=f;++s<e.length&&e.charAt(s).toLowerCase()===f;)c+=f;"m"===f&&"h"===h.toLowerCase()&&(f="M"),"h"===f&&(f=p),u[u.length]={t:f,v:c},h=f;break;case"A":case"a":var m={t:f,v:f};if(null==i&&(i=d(t,n)),"A/P"===e.substr(s,3).toUpperCase()?(null!=i&&(m.v=i.H>=12?"P":"A"),m.t="T",p="h",s+=3):"AM/PM"===e.substr(s,5).toUpperCase()?(null!=i&&(m.v=i.H>=12?"PM":"AM"),m.t="T",s+=5,p="h"):(m.t="t",++s),null==i&&"T"===m.t)return"";u[u.length]=m,h=f;break;case"[":for(c=f;"]"!==e.charAt(s++)&&s<e.length;)c+=e.charAt(s);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(T)){if(null==i&&null==(i=d(t,n)))return"";u[u.length]={t:"Z",v:c.toLowerCase()},h=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",S(e)||(u[u.length]={t:"t",v:c}));break;case".":if(null!=i){for(c=f;++s<e.length&&"0"===(f=e.charAt(s));)c+=f;u[u.length]={t:"s",v:c};break}case"0":case"#":for(c=f;++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1||"\\"==f&&"-"==e.charAt(s+1)&&s<e.length-2&&"0#".indexOf(e.charAt(s+2))>-1;)c+=f;u[u.length]={t:"n",v:c};break;case"?":for(c=f;e.charAt(++s)===f;)c+=f;u[u.length]={t:f,v:c},h=f;break;case"*":++s," "!=e.charAt(s)&&"*"!=e.charAt(s)||++s;break;case"(":case")":u[u.length]={t:1===r?"t":f,v:f},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=f;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)c+=e.charAt(s);u[u.length]={t:"D",v:c};break;case" ":u[u.length]={t:f,v:f},++s;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);u[u.length]={t:"t",v:f},++s}var y,_=0,b=0;for(s=u.length-1,h="t";s>=0;--s)switch(u[s].t){case"h":case"H":u[s].t=p,h="h",_<1&&(_=1);break;case"s":(y=u[s].v.match(/\.0+$/))&&(b=Math.max(b,y[0].length-1)),_<3&&(_=3);case"d":case"y":case"M":case"e":h=u[s].t;break;case"m":"s"===h&&(u[s].t="M",_<2&&(_=2));break;case"X":break;case"Z":_<1&&u[s].v.match(/[Hh]/)&&(_=1),_<2&&u[s].v.match(/[Mm]/)&&(_=2),_<3&&u[s].v.match(/[Ss]/)&&(_=3)}switch(_){case 0:break;case 1:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M),i.M>=60&&(i.M=0,++i.H);break;case 2:i.u>=.5&&(i.u=0,++i.S),i.S>=60&&(i.S=0,++i.M)}var k,E="";for(s=0;s<u.length;++s)switch(u[s].t){case"t":case"T":case" ":case"D":break;case"X":u[s].v="",u[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":u[s].v=x(u[s].t.charCodeAt(0),u[s].v,i,b),u[s].t="t";break;case"n":case"(":case"?":for(k=s+1;null!=u[k]&&("?"===(f=u[k].t)||"D"===f||(" "===f||"t"===f)&&null!=u[k+1]&&("?"===u[k+1].t||"t"===u[k+1].t&&"/"===u[k+1].v)||"("===u[s].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===u[k].v||" "===u[k].v&&null!=u[k+1]&&"?"==u[k+1].t));)u[s].v+=u[k].v,u[k]={v:"",t:";"},++k;E+=u[s].v,s=k-1;break;case"G":u[s].t="t",u[s].v=w(t,n)}var M,A,P="";if(E.length>0){40==E.charCodeAt(0)?(M=t<0&&45===E.charCodeAt(0)?-t:t,A=C("(",E,M)):(A=C("n",E,M=t<0&&r>1?-t:t),M<0&&u[0]&&"t"==u[0].t&&(A=A.substr(1),u[0].v="-"+u[0].v)),k=A.length-1;var O=u.length;for(s=0;s<u.length;++s)if(null!=u[s]&&"t"!=u[s].t&&u[s].v.indexOf(".")>-1){O=s;break}var N=u.length;if(O===u.length&&-1===A.indexOf("E")){for(s=u.length-1;s>=0;--s)null!=u[s]&&-1!=="n?(".indexOf(u[s].t)&&(k>=u[s].v.length-1?(k-=u[s].v.length,u[s].v=A.substr(k+1,u[s].v.length)):k<0?u[s].v="":(u[s].v=A.substr(0,k+1),k=-1),u[s].t="t",N=s);k>=0&&N<u.length&&(u[N].v=A.substr(0,k+1)+u[N].v)}else if(O!==u.length&&-1===A.indexOf("E")){for(k=A.indexOf(".")-1,s=O;s>=0;--s)if(null!=u[s]&&-1!=="n?(".indexOf(u[s].t)){for(a=u[s].v.indexOf(".")>-1&&s===O?u[s].v.indexOf(".")-1:u[s].v.length-1,P=u[s].v.substr(a+1);a>=0;--a)k>=0&&("0"===u[s].v.charAt(a)||"#"===u[s].v.charAt(a))&&(P=A.charAt(k--)+P);u[s].v=P,u[s].t="t",N=s}for(k>=0&&N<u.length&&(u[N].v=A.substr(0,k+1)+u[N].v),k=A.indexOf(".")+1,s=O;s<u.length;++s)if(null!=u[s]&&(-1!=="n?(".indexOf(u[s].t)||s===O)){for(a=u[s].v.indexOf(".")>-1&&s===O?u[s].v.indexOf(".")+1:0,P=u[s].v.substr(0,a);a<u[s].v.length;++a)k<A.length&&(P+=A.charAt(k++));u[s].v=P,u[s].t="t",N=s}}}for(s=0;s<u.length;++s)null!=u[s]&&"n(?".indexOf(u[s].t)>-1&&(M=r>1&&t<0&&s>0&&"-"===u[s-1].v?-t:t,u[s].v=C(u[s].t,u[s].v,M),u[s].t="t");var R="";for(s=0;s!==u.length;++s)null!=u[s]&&(R+=u[s].v);return R}e.is_date=S,e._eval=M;var A=/\[[=<>]/,P=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function O(e,t){if(null==t)return!1;var n=parseFloat(t[2]);switch(t[1]){case"=":if(e==n)return!0;break;case">":if(e>n)return!0;break;case"<":if(e<n)return!0;break;case"<>":if(e!=n)return!0;break;case">=":if(e>=n)return!0;break;case"<=":if(e<=n)return!0}return!1}function N(e,t,n){null==n&&(n={});var r="";switch(typeof e){case"string":r="m/d/yy"==e&&n.dateNF?n.dateNF:e;break;case"number":r=14==e&&n.dateNF?n.dateNF:(null!=n.table?n.table:h)[e]}if(l(r,0))return w(t,n);t instanceof Date&&(t=y(t,n.date1904));var i=function(e,t){var n=E(e),r=n.length,i=n[r-1].indexOf("@");if(r<4&&i>-1&&--r,n.length>4)throw new Error("cannot find right format for |"+n.join("|")+"|");if("number"!=typeof t)return[4,4===n.length||i>-1?n[n.length-1]:"@"];switch(n.length){case 1:n=i>-1?["General","General","General",n[0]]:[n[0],n[0],n[0],"@"];break;case 2:n=i>-1?[n[0],n[0],n[0],n[1]]:[n[0],n[1],n[0],"@"];break;case 3:n=i>-1?[n[0],n[1],n[0],n[2]]:[n[0],n[1],n[2],"@"]}var a=t>0?n[0]:t<0?n[1]:n[2];if(-1===n[0].indexOf("[")&&-1===n[1].indexOf("["))return[r,a];if(null!=n[0].match(A)||null!=n[1].match(A)){var o=n[0].match(P),u=n[1].match(P);return O(t,o)?[r,n[0]]:O(t,u)?[r,n[1]]:[r,n[null!=o&&null!=u?2:1]]}return[r,a]}(r,t);if(l(i[1]))return w(t,n);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return M(i[1],t,n,i[0])}function R(e,t){if("number"!=typeof t){t=+t||-1;for(var n=0;n<392;++n)if(null!=h[n]){if(h[n]==e){t=n;break}}else t<0&&(t=n);t<0&&(t=391)}return h[t]=e,t}e.load=R,e._table=h,e.get_table=function(){return h},e.load_table=function(e){for(var t=0;392!=t;++t)void 0!==e[t]&&R(e[t],t)},e.init_table=f,e.format=N}(r),"undefined"==typeof DO_NOT_EXPORT_SSF&&(e.exports=r)},function(e,t,n){"use strict";
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,o,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in n=Object(arguments[l]))i.call(n,c)&&(u[c]=n[c]);if(r){o=r(n);for(var s=0;s<o.length;s++)a.call(n,o[s])&&(u[o[s]]=n[o[s]])}}return u}},function(e,t,n){e.exports=function(){"use strict";return function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(n,r,i,a,o,u,l,c,s,f){switch(n){case 1:if(0===s&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===c)return r+"/*|*/";break;case 3:switch(c){case 102:case 112:return e(i[0]+r),"";default:return r+(0===f?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t)}}}}()},function(e,t,n){"use strict";t.a={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e).slice(8,-1)}function i(e){return"Object"===r(e)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function a(e){return"Array"===r(e)}function o(e){return"Symbol"===r(e)}function u(e,t,n,r){var i=r.propertyIsEnumerable(t)?"enumerable":"nonenumerable";"enumerable"===i&&(e[t]=n),"nonenumerable"===i&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}t.a=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=null,l=e;return i(e)&&e.extensions&&1===Object.keys(e).length&&(l={},r=e.extensions),t.reduce((function(e,t){return function e(t,n,r){if(!i(n))return r&&a(r)&&r.forEach((function(e){n=e(t,n)})),n;var l={};if(i(t)){var c=Object.getOwnPropertyNames(t),s=Object.getOwnPropertySymbols(t);l=c.concat(s).reduce((function(e,r){var i=t[r];return(!o(r)&&!Object.getOwnPropertyNames(n).includes(r)||o(r)&&!Object.getOwnPropertySymbols(n).includes(r))&&u(e,r,i,t),e}),{})}var f=Object.getOwnPropertyNames(n),h=Object.getOwnPropertySymbols(n);return f.concat(h).reduce((function(o,l){var c=n[l],s=i(t)?t[l]:void 0;return r&&a(r)&&r.forEach((function(e){c=e(s,c)})),void 0!==s&&i(c)&&(c=e(s,c,r)),u(o,l,c,n),o}),l)}(e,t,r)}),l)}},function(e,t,n){"use strict";var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|itemProp|itemScope|itemType|itemID|itemRef|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=function(e){var t={};return function(e){return void 0===t[e]&&(t[e]=function(e){return r.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}(e)),t[e]}}();t.a=i},,function(e,t,n){"use strict";
/** @license React v16.10.2
* 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(9),i="function"==typeof Symbol&&Symbol.for,a=i?Symbol.for("react.element"):60103,o=i?Symbol.for("react.portal"):60106,u=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,c=i?Symbol.for("react.profiler"):60114,s=i?Symbol.for("react.provider"):60109,f=i?Symbol.for("react.context"):60110,h=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,d=i?Symbol.for("react.suspense_list"):60120,v=i?Symbol.for("react.memo"):60115,g=i?Symbol.for("react.lazy"):60116;i&&Symbol.for("react.fundamental"),i&&Symbol.for("react.responder"),i&&Symbol.for("react.scope");var m="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||_}function x(){}function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||_}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw y(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=w.prototype;var C=k.prototype=new x;C.constructor=k,r(C,w.prototype),C.isPureReactComponent=!0;var E={current:null},T={suspense:null},S={current:null},M=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var r,i={},o=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(o=""+t.key),t)M.call(t,r)&&!A.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),s=0;s<l;s++)c[s]=arguments[s+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:a,type:e,key:o,ref:u,props:i,_owner:S.current}}function O(e){return"object"==typeof e&&null!==e&&e.$$typeof===a}var N=/\/+/g,R=[];function I(e,t,n,r){if(R.length){var i=R.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function j(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>R.length&&R.push(e)}function z(e,t,n){return null==e?0:function e(t,n,r,i){var u=typeof t;"undefined"!==u&&"boolean"!==u||(t=null);var l=!1;if(null===t)l=!0;else switch(u){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case a:case o:l=!0}}if(l)return r(i,t,""===n?"."+D(t,0):n),1;if(l=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;c<t.length;c++){var s=n+D(u=t[c],c);l+=e(u,s,r,i)}else if("function"==typeof(s=null===t||"object"!=typeof t?null:"function"==typeof(s=m&&t[m]||t["@@iterator"])?s:null))for(t=s.call(t),c=0;!(u=t.next()).done;)l+=e(u=u.value,s=n+D(u,c++),r,i);else if("object"===u)throw r=""+t,y(Error(31),"[object Object]"===r?"object with keys {"+Object.keys(t).join(", ")+"}":r,"");return l}(e,"",t,n)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function L(e,t){e.func.call(e.context,t,e.count++)}function U(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?F(e,r,n,(function(e){return e})):null!=e&&(O(e)&&(e=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function F(e,t,n,r,i){var a="";null!=n&&(a=(""+n).replace(N,"$&/")+"/"),z(e,U,t=I(t,a,r,i)),j(t)}function $(){var e=E.current;if(null===e)throw y(Error(321));return e}var W={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return F(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;z(e,L,t=I(null,null,t,n)),j(t)},count:function(e){return z(e,(function(){return null}),null)},toArray:function(e){var t=[];return F(e,t,null,(function(e){return e})),t},only:function(e){if(!O(e))throw y(Error(143));return e}},createRef:function(){return{current:null}},Component:w,PureComponent:k,createContext:function(e,t){return void 0===t&&(t=null),(e={$$typeof:f,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:h,render:e}},lazy:function(e){return{$$typeof:g,_ctor:e,_status:-1,_result:null}},memo:function(e,t){return{$$typeof:v,type:e,compare:void 0===t?null:t}},useCallback:function(e,t){return $().useCallback(e,t)},useContext:function(e,t){return $().useContext(e,t)},useEffect:function(e,t){return $().useEffect(e,t)},useImperativeHandle:function(e,t,n){return $().useImperativeHandle(e,t,n)},useDebugValue:function(){},useLayoutEffect:function(e,t){return $().useLayoutEffect(e,t)},useMemo:function(e,t){return $().useMemo(e,t)},useReducer:function(e,t,n){return $().useReducer(e,t,n)},useRef:function(e){return $().useRef(e)},useState:function(e){return $().useState(e)},Fragment:u,Profiler:c,StrictMode:l,Suspense:p,unstable_SuspenseList:d,createElement:P,cloneElement:function(e,t,n){if(null==e)throw y(Error(267),e);var i=r({},e.props),o=e.key,u=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,l=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)M.call(t,s)&&!A.hasOwnProperty(s)&&(i[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){c=Array(s);for(var f=0;f<s;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:a,type:e.type,key:o,ref:u,props:i,_owner:l}},createFactory:function(e){var t=P.bind(null,e);return t.type=e,t},isValidElement:O,version:"16.10.2",unstable_withSuspenseConfig:function(e,t){var n=T.suspense;T.suspense=void 0===t?null:t;try{e()}finally{T.suspense=n}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentDispatcher:E,ReactCurrentBatchConfig:T,ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r}},H={default:W},B=H&&W||H;e.exports=B.default||B},function(e,t,n){"use strict";
/** @license React v16.10.2
* 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(9),a=n(17);function o(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}if(!r)throw o(Error(227));var u=null,l={};function c(){if(u)for(var e in l){var t=l[e],n=u.indexOf(e);if(!(-1<n))throw o(Error(96),e);if(!f[n]){if(!t.extractEvents)throw o(Error(97),e);for(var r in f[n]=t,n=t.eventTypes){var i=void 0,a=n[r],c=t,p=r;if(h.hasOwnProperty(p))throw o(Error(99),p);h[p]=a;var d=a.phasedRegistrationNames;if(d){for(i in d)d.hasOwnProperty(i)&&s(d[i],c,p);i=!0}else a.registrationName?(s(a.registrationName,c,p),i=!0):i=!1;if(!i)throw o(Error(98),r,e)}}}}function s(e,t,n){if(p[e])throw o(Error(100),e);p[e]=t,d[e]=t.eventTypes[n].dependencies}var f=[],h={},p={},d={},v=!1,g=null,m=!1,y=null,_={onError:function(e){v=!0,g=e}};function b(e,t,n,r,i,a,o,u,l){v=!1,g=null,function(e,t,n,r,i,a,o,u,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}.apply(_,arguments)}var w=null,x=null,k=null;function C(e,t,n){var r=e.type||"unknown-event";e.currentTarget=k(n),function(e,t,n,r,i,a,u,l,c){if(b.apply(this,arguments),v){if(!v)throw o(Error(198));var s=g;v=!1,g=null,m||(m=!0,y=s)}}(r,t,void 0,e),e.currentTarget=null}function E(e,t){if(null==t)throw o(Error(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var S=null;function M(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)C(e,t[r],n[r]);else t&&C(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function A(e){if(null!==e&&(S=E(S,e)),e=S,S=null,e){if(T(e,M),S)throw o(Error(95));if(m)throw e=y,m=!1,y=null,e}}var P={injectEventPluginOrder:function(e){if(u)throw o(Error(101));u=Array.prototype.slice.call(e),c()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!l.hasOwnProperty(t)||l[t]!==r){if(l[t])throw o(Error(102),t);l[t]=r,n=!0}}n&&c()}};function O(e,t){var n=e.stateNode;if(!n)return null;var r=w(n);if(!r)return null;n=r[t];e:switch(t){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"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw o(Error(231),t,typeof n);return n}var N=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;N.hasOwnProperty("ReactCurrentDispatcher")||(N.ReactCurrentDispatcher={current:null}),N.hasOwnProperty("ReactCurrentBatchConfig")||(N.ReactCurrentBatchConfig={suspense:null});var R=/^(.*)[\\\/]/,I="function"==typeof Symbol&&Symbol.for,j=I?Symbol.for("react.element"):60103,z=I?Symbol.for("react.portal"):60106,D=I?Symbol.for("react.fragment"):60107,L=I?Symbol.for("react.strict_mode"):60108,U=I?Symbol.for("react.profiler"):60114,F=I?Symbol.for("react.provider"):60109,$=I?Symbol.for("react.context"):60110,W=I?Symbol.for("react.concurrent_mode"):60111,H=I?Symbol.for("react.forward_ref"):60112,B=I?Symbol.for("react.suspense"):60113,V=I?Symbol.for("react.suspense_list"):60120,q=I?Symbol.for("react.memo"):60115,Y=I?Symbol.for("react.lazy"):60116;I&&Symbol.for("react.fundamental"),I&&Symbol.for("react.responder"),I&&Symbol.for("react.scope");var G="function"==typeof Symbol&&Symbol.iterator;function Q(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=G&&e[G]||e["@@iterator"])?e:null}function X(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case D:return"Fragment";case z:return"Portal";case U:return"Profiler";case L:return"StrictMode";case B:return"Suspense";case V:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case $:return"Context.Consumer";case F:return"Context.Provider";case H:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case q:return X(e.type);case Y:if(e=1===e._status?e._result:null)return X(e)}return null}function K(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,a=X(e.type);n=null,r&&(n=X(r.type)),r=a,a="",i?a=" (at "+i.fileName.replace(R,"")+":"+i.lineNumber+")":n&&(a=" (created by "+n+")"),n="\n in "+(r||"Unknown")+a}t+=n,e=e.return}while(e);return t}var Z=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),J=null,ee=null,te=null;function ne(e){if(e=x(e)){if("function"!=typeof J)throw o(Error(280));var t=w(e.stateNode);J(e.stateNode,e.type,t)}}function re(e){ee?te?te.push(e):te=[e]:ee=e}function ie(){if(ee){var e=ee,t=te;if(te=ee=null,ne(e),t)for(e=0;e<t.length;e++)ne(t[e])}}function ae(e,t){return e(t)}function oe(e,t,n,r){return e(t,n,r)}function ue(){}var le=ae,ce=!1,se=!1;function fe(){null===ee&&null===te||(ue(),ie())}new Map,new Map,new Map;var he=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,pe=Object.prototype.hasOwnProperty,de={},ve={};function ge(e,t,n,r,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a}var me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){me[e]=new ge(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];me[t]=new ge(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){me[e]=new ge(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){me[e]=new ge(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){me[e]=new ge(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){me[e]=new ge(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){me[e]=new ge(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){me[e]=new ge(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){me[e]=new ge(e,5,!1,e.toLowerCase(),null,!1)}));var ye=/[\-:]([a-z])/g;function _e(e){return e[1].toUpperCase()}function be(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function we(e,t,n,r){var i=me.hasOwnProperty(t)?me[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!pe.call(ve,e)||!pe.call(de,e)&&(he.test(e)?ve[e]=!0:(de[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function xe(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ke(e){e._valueTracker||(e._valueTracker=function(e){var t=xe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ce(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xe(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ee(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Te(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=be(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Se(e,t){null!=(t=t.checked)&&we(e,"checked",t,!1)}function Me(e,t){Se(e,t);var n=be(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Pe(e,t.type,n):t.hasOwnProperty("defaultValue")&&Pe(e,t.type,be(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ae(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Pe(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Oe(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+be(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Re(e,t){if(null!=t.dangerouslySetInnerHTML)throw o(Error(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Ie(e,t){var n=t.value;if(null==n){if(n=t.defaultValue,null!=(t=t.children)){if(null!=n)throw o(Error(92));if(Array.isArray(t)){if(!(1>=t.length))throw o(Error(93));t=t[0]}n=t}null==n&&(n="")}e._wrapperState={initialValue:be(n)}}function je(e,t){var n=be(t.value),r=be(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ze(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(ye,_e);me[t]=new ge(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(ye,_e);me[t]=new ge(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(ye,_e);me[t]=new ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){me[e]=new ge(e,1,!1,e.toLowerCase(),null,!1)})),me.xlinkHref=new ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){me[e]=new ge(e,1,!1,e.toLowerCase(),null,!0)}));var De={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Fe,$e=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==De.svg||"innerHTML"in e)e.innerHTML=t;else{for((Fe=Fe||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Fe.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function We(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function He(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Be={animationend:He("Animation","AnimationEnd"),animationiteration:He("Animation","AnimationIteration"),animationstart:He("Animation","AnimationStart"),transitionend:He("Transition","TransitionEnd")},Ve={},qe={};function Ye(e){if(Ve[e])return Ve[e];if(!Be[e])return e;var t,n=Be[e];for(t in n)if(n.hasOwnProperty(t)&&t in qe)return Ve[e]=n[t];return e}Z&&(qe=document.createElement("div").style,"AnimationEvent"in window||(delete Be.animationend.animation,delete Be.animationiteration.animation,delete Be.animationstart.animation),"TransitionEvent"in window||delete Be.transitionend.transition);var Ge=Ye("animationend"),Qe=Ye("animationiteration"),Xe=Ye("animationstart"),Ke=Ye("transitionend"),Ze="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Je=!1,et=[],tt=null,nt=null,rt=null,it=new Map,at=new Map,ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),ut="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function lt(e,t,n,r){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:r}}function ct(e,t){switch(e){case"focus":case"blur":tt=null;break;case"dragenter":case"dragleave":nt=null;break;case"mouseover":case"mouseout":rt=null;break;case"pointerover":case"pointerout":it.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":at.delete(t.pointerId)}}function st(e,t,n,r,i){return null===e||e.nativeEvent!==i?lt(t,n,r,i):(e.eventSystemFlags|=r,e)}function ft(e){if(null!==e.blockedOn)return!1;var t=kn(e.topLevelType,e.eventSystemFlags,e.nativeEvent);return null===t||(e.blockedOn=t,!1)}function ht(e,t,n){ft(e)&&n.delete(t)}function pt(){for(Je=!1;0<et.length;){var e=et[0];if(null!==e.blockedOn)break;var t=kn(e.topLevelType,e.eventSystemFlags,e.nativeEvent);null!==t?e.blockedOn=t:et.shift()}null!==tt&&ft(tt)&&(tt=null),null!==nt&&ft(nt)&&(nt=null),null!==rt&&ft(rt)&&(rt=null),it.forEach(ht),at.forEach(ht)}function dt(e,t){e.blockedOn===t&&(e.blockedOn=null,Je||(Je=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,pt)))}function vt(e){function t(t){return dt(t,e)}if(0<et.length){dt(et[0],e);for(var n=1;n<et.length;n++){var r=et[n];r.blockedOn===e&&(r.blockedOn=null)}}null!==tt&&dt(tt,e),null!==nt&&dt(nt,e),null!==rt&&dt(rt,e),it.forEach(t),at.forEach(t)}var gt=0,mt=2,yt=1024;function _t(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{((t=e).effectTag&(mt|yt))!==gt&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function bt(e){if(_t(e)!==e)throw o(Error(188))}function wt(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=_t(e)))throw o(Error(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var a=i.alternate;if(null===a){if(null!==(r=i.return)){n=r;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===n)return bt(i),e;if(a===r)return bt(i),t;a=a.sibling}throw o(Error(188))}if(n.return!==r.return)n=i,r=a;else{for(var u=!1,l=i.child;l;){if(l===n){u=!0,n=i,r=a;break}if(l===r){u=!0,r=i,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,r=i;break}if(l===r){u=!0,r=a,n=i;break}l=l.sibling}if(!u)throw o(Error(189))}}if(n.alternate!==r)throw o(Error(190))}if(3!==n.tag)throw o(Error(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function xt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function kt(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function Ct(e,t,n){(t=O(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function Et(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=kt(t);for(t=n.length;0<t--;)Ct(n[t],"captured",e);for(t=0;t<n.length;t++)Ct(n[t],"bubbled",e)}}function Tt(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=O(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function St(e){e&&e.dispatchConfig.registrationName&&Tt(e._targetInst,null,e)}function Mt(e){T(e,Et)}function At(){return!0}function Pt(){return!1}function Ot(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?At:Pt,this.isPropagationStopped=Pt,this}function Nt(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Rt(e){if(!(e instanceof this))throw o(Error(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function It(e){e.eventPool=[],e.getPooled=Nt,e.release=Rt}i(Ot.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=At)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=At)},persist:function(){this.isPersistent=At},isPersistent:Pt,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=Pt,this._dispatchInstances=this._dispatchListeners=null}}),Ot.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Ot.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return i(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,It(n),n},It(Ot);var jt=Ot.extend({animationName:null,elapsedTime:null,pseudoElement:null}),zt=Ot.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Dt=Ot.extend({view:null,detail:null}),Lt=Dt.extend({relatedTarget:null});function Ut(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var Ft={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$t={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"},Wt={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ht(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Wt[e])&&!!t[e]}function Bt(){return Ht}for(var Vt=Dt.extend({key:function(e){if(e.key){var t=Ft[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Ut(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?$t[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Bt,charCode:function(e){return"keypress"===e.type?Ut(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Ut(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),qt=0,Yt=0,Gt=!1,Qt=!1,Xt=Dt.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Bt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=qt;return qt=e.screenX,Gt?"mousemove"===e.type?e.screenX-t:0:(Gt=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Yt;return Yt=e.screenY,Qt?"mousemove"===e.type?e.screenY-t:0:(Qt=!0,0)}}),Kt=Xt.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Zt=Xt.extend({dataTransfer:null}),Jt=Dt.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Bt}),en=Ot.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),tn=Xt.extend({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}),nn=[["blur","blur",0],["cancel","cancel",0],["click","click",0],["close","close",0],["contextmenu","contextMenu",0],["copy","copy",0],["cut","cut",0],["auxclick","auxClick",0],["dblclick","doubleClick",0],["dragend","dragEnd",0],["dragstart","dragStart",0],["drop","drop",0],["focus","focus",0],["input","input",0],["invalid","invalid",0],["keydown","keyDown",0],["keypress","keyPress",0],["keyup","keyUp",0],["mousedown","mouseDown",0],["mouseup","mouseUp",0],["paste","paste",0],["pause","pause",0],["play","play",0],["pointercancel","pointerCancel",0],["pointerdown","pointerDown",0],["pointerup","pointerUp",0],["ratechange","rateChange",0],["reset","reset",0],["seeked","seeked",0],["submit","submit",0],["touchcancel","touchCancel",0],["touchend","touchEnd",0],["touchstart","touchStart",0],["volumechange","volumeChange",0],["drag","drag",1],["dragenter","dragEnter",1],["dragexit","dragExit",1],["dragleave","dragLeave",1],["dragover","dragOver",1],["mousemove","mouseMove",1],["mouseout","mouseOut",1],["mouseover","mouseOver",1],["pointermove","pointerMove",1],["pointerout","pointerOut",1],["pointerover","pointerOver",1],["scroll","scroll",1],["toggle","toggle",1],["touchmove","touchMove",1],["wheel","wheel",1],["abort","abort",2],[Ge,"animationEnd",2],[Qe,"animationIteration",2],[Xe,"animationStart",2],["canplay","canPlay",2],["canplaythrough","canPlayThrough",2],["durationchange","durationChange",2],["emptied","emptied",2],["encrypted","encrypted",2],["ended","ended",2],["error","error",2],["gotpointercapture","gotPointerCapture",2],["load","load",2],["loadeddata","loadedData",2],["loadedmetadata","loadedMetadata",2],["loadstart","loadStart",2],["lostpointercapture","lostPointerCapture",2],["playing","playing",2],["progress","progress",2],["seeking","seeking",2],["stalled","stalled",2],["suspend","suspend",2],["timeupdate","timeUpdate",2],[Ke,"transitionEnd",2],["waiting","waiting",2]],rn={},an={},on=0;on<nn.length;on++){var un=nn[on],ln=un[0],cn=un[1],sn=un[2],fn="on"+(cn[0].toUpperCase()+cn.slice(1)),hn={phasedRegistrationNames:{bubbled:fn,captured:fn+"Capture"},dependencies:[ln],eventPriority:sn};rn[cn]=hn,an[ln]=hn}var pn={eventTypes:rn,getEventPriority:function(e){return void 0!==(e=an[e])?e.eventPriority:2},extractEvents:function(e,t,n,r){var i=an[e];if(!i)return null;switch(e){case"keypress":if(0===Ut(n))return null;case"keydown":case"keyup":e=Vt;break;case"blur":case"focus":e=Lt;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=Xt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=Zt;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=Jt;break;case Ge:case Qe:case Xe:e=jt;break;case Ke:e=en;break;case"scroll":e=Dt;break;case"wheel":e=tn;break;case"copy":case"cut":case"paste":e=zt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=Kt;break;default:e=Ot}return Mt(t=e.getPooled(i,t,n,r)),t}},dn=pn.getEventPriority,vn=10,gn=[];function mn(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=ir(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=xt(e.nativeEvent);r=e.topLevelType;for(var a=e.nativeEvent,o=e.eventSystemFlags,u=null,l=0;l<f.length;l++){var c=f[l];c&&(c=c.extractEvents(r,t,a,i,o))&&(u=E(u,c))}A(u)}}var yn=!0;function _n(e,t){bn(t,e,!1)}function bn(e,t,n){switch(dn(t)){case 0:var r=function(e,t,n){ce||ue();var r=xn,i=ce;ce=!0;try{oe(r,e,t,n)}finally{(ce=i)||fe()}}.bind(null,t,1);break;case 1:r=function(e,t,n){xn(e,t,n)}.bind(null,t,1);break;default:r=xn.bind(null,t,1)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function wn(e,t,n,r){if(gn.length){var i=gn.pop();i.topLevelType=e,i.eventSystemFlags=t,i.nativeEvent=n,i.targetInst=r,e=i}else e={topLevelType:e,eventSystemFlags:t,nativeEvent:n,targetInst:r,ancestors:[]};try{if(t=mn,n=e,se)t(n,void 0);else{se=!0;try{le(t,n,void 0)}finally{se=!1,fe()}}}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,gn.length<vn&&gn.push(e)}}function xn(e,t,n){if(yn)if(0<et.length&&-1<ot.indexOf(e))e=lt(null,e,t,n),et.push(e);else{var r=kn(e,t,n);null===r?ct(e,n):-1<ot.indexOf(e)?(e=lt(r,e,t,n),et.push(e)):function(e,t,n,r){switch(t){case"focus":return tt=st(tt,e,t,n,r),!0;case"dragenter":return nt=st(nt,e,t,n,r),!0;case"mouseover":return rt=st(rt,e,t,n,r),!0;case"pointerover":var i=r.pointerId;return it.set(i,st(it.get(i)||null,e,t,n,r)),!0;case"gotpointercapture":return i=r.pointerId,at.set(i,st(at.get(i)||null,e,t,n,r)),!0}return!1}(r,e,t,n)||(ct(e,n),wn(e,t,n,null))}}function kn(e,t,n){var r=xt(n),i=ir(r);if(null!==i)if(null===(r=_t(i)))i=null;else{var a=r.tag;if(13===a){if(null!==(r=13!==r.tag||(null===(i=r.memoizedState)&&null!==(r=r.alternate)&&(i=r.memoizedState),null===i)?null:i.dehydrated))return r;i=null}else if(3===a){if(r.stateNode.hydrate)return 3===r.tag?r.stateNode.containerInfo:null;i=null}else r!==i&&(i=null)}return wn(e,t,n,i),null}function Cn(e){if(!Z)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var En=new("function"==typeof WeakMap?WeakMap:Map);function Tn(e){var t=En.get(e);return void 0===t&&(t=new Set,En.set(e,t)),t}function Sn(e,t,n){if(!n.has(e)){switch(e){case"scroll":bn(t,"scroll",!0);break;case"focus":case"blur":bn(t,"focus",!0),bn(t,"blur",!0),n.add("blur"),n.add("focus");break;case"cancel":case"close":Cn(e)&&bn(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ze.indexOf(e)&&_n(e,t)}n.add(e)}}var Mn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},An=["Webkit","ms","Moz","O"];function Pn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Mn.hasOwnProperty(e)&&Mn[e]?(""+t).trim():t+"px"}function On(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=Pn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Mn).forEach((function(e){An.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mn[t]=Mn[e]}))}));var Nn=i({menuitem:!0},{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});function Rn(e,t){if(t){if(Nn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw o(Error(137),e,"");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw o(Error(60));if(!("object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML))throw o(Error(61))}if(null!=t.style&&"object"!=typeof t.style)throw o(Error(62),"")}}function In(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function jn(e,t){var n=Tn(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=d[t];for(var r=0;r<t.length;r++)Sn(t[r],e,n)}function zn(){}function Dn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Ln(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Un(e,t){var n,r=Ln(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ln(r)}}function Fn(){for(var e=window,t=Dn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Dn((e=t.contentWindow).document)}return t}function $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Wn="$",Hn="/$",Bn="$?",Vn="$!",qn=null,Yn=null;function Gn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Qn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Xn="function"==typeof setTimeout?setTimeout:void 0,Kn="function"==typeof clearTimeout?clearTimeout:void 0;function Zn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Jn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Wn||n===Vn||n===Bn){if(0===t)return e;t--}else n===Hn&&t++}e=e.previousSibling}return null}var er=Math.random().toString(36).slice(2),tr="__reactInternalInstance$"+er,nr="__reactEventHandlers$"+er,rr="__reactContainere$"+er;function ir(e){var t=e[tr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[rr]||n[tr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Jn(e);null!==e;){if(n=e[tr])return n;e=Jn(e)}return t}n=(e=n).parentNode}return null}function ar(e){return!(e=e[tr]||e[rr])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function or(e){if(5===e.tag||6===e.tag)return e.stateNode;throw o(Error(33))}function ur(e){return e[nr]||null}var lr=null,cr=null,sr=null;function fr(){if(sr)return sr;var e,t,n=cr,r=n.length,i="value"in lr?lr.value:lr.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return sr=i.slice(e,1<t?1-t:void 0)}var hr=Ot.extend({data:null}),pr=Ot.extend({data:null}),dr=[9,13,27,32],vr=Z&&"CompositionEvent"in window,gr=null;Z&&"documentMode"in document&&(gr=document.documentMode);var mr=Z&&"TextEvent"in window&&!gr,yr=Z&&(!vr||gr&&8<gr&&11>=gr),_r=String.fromCharCode(32),br={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},wr=!1;function xr(e,t){switch(e){case"keyup":return-1!==dr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function kr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Cr=!1,Er={eventTypes:br,extractEvents:function(e,t,n,r){var i;if(vr)e:{switch(e){case"compositionstart":var a=br.compositionStart;break e;case"compositionend":a=br.compositionEnd;break e;case"compositionupdate":a=br.compositionUpdate;break e}a=void 0}else Cr?xr(e,n)&&(a=br.compositionEnd):"keydown"===e&&229===n.keyCode&&(a=br.compositionStart);return a?(yr&&"ko"!==n.locale&&(Cr||a!==br.compositionStart?a===br.compositionEnd&&Cr&&(i=fr()):(cr="value"in(lr=r)?lr.value:lr.textContent,Cr=!0)),a=hr.getPooled(a,t,n,r),i?a.data=i:null!==(i=kr(n))&&(a.data=i),Mt(a),i=a):i=null,(e=mr?function(e,t){switch(e){case"compositionend":return kr(t);case"keypress":return 32!==t.which?null:(wr=!0,_r);case"textInput":return(e=t.data)===_r&&wr?null:e;default:return null}}(e,n):function(e,t){if(Cr)return"compositionend"===e||!vr&&xr(e,t)?(e=fr(),sr=cr=lr=null,Cr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return yr&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))?((t=pr.getPooled(br.beforeInput,t,n,r)).data=e,Mt(t)):t=null,null===i?t:null===t?i:[i,t]}},Tr={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};function Sr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tr[e.type]:"textarea"===t}var Mr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function Ar(e,t,n){return(e=Ot.getPooled(Mr.change,e,t,n)).type="change",re(n),Mt(e),e}var Pr=null,Or=null;function Nr(e){A(e)}function Rr(e){if(Ce(or(e)))return e}function Ir(e,t){if("change"===e)return t}var jr=!1;function zr(){Pr&&(Pr.detachEvent("onpropertychange",Dr),Or=Pr=null)}function Dr(e){if("value"===e.propertyName&&Rr(Or))if(e=Ar(Or,e,xt(e)),ce)A(e);else{ce=!0;try{ae(Nr,e)}finally{ce=!1,fe()}}}function Lr(e,t,n){"focus"===e?(zr(),Or=n,(Pr=t).attachEvent("onpropertychange",Dr)):"blur"===e&&zr()}function Ur(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Rr(Or)}function Fr(e,t){if("click"===e)return Rr(t)}function $r(e,t){if("input"===e||"change"===e)return Rr(t)}Z&&(jr=Cn("input")&&(!document.documentMode||9<document.documentMode));var Wr={eventTypes:Mr,_isInputEventSupported:jr,extractEvents:function(e,t,n,r){var i=t?or(t):window,a=i.nodeName&&i.nodeName.toLowerCase();if("select"===a||"input"===a&&"file"===i.type)var o=Ir;else if(Sr(i))if(jr)o=$r;else{o=Ur;var u=Lr}else(a=i.nodeName)&&"input"===a.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(o=Fr);if(o&&(o=o(e,t)))return Ar(o,n,r);u&&u(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Pe(i,"number",i.value)}},Hr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Hr,extractEvents:function(e,t,n,r,i){var a="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(a&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!o&&!a)return null;if(i=r.window===r?r:(i=r.ownerDocument)?i.defaultView||i.parentWindow:window,o?(o=t,null!==(t=(t=n.relatedTarget||n.toElement)?ir(t):null)&&(t!==(a=_t(t))||5!==t.tag&&6!==t.tag)&&(t=null)):o=null,o===t)return null;if("mouseout"===e||"mouseover"===e)var u=Xt,l=Hr.mouseLeave,c=Hr.mouseEnter,s="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Kt,l=Hr.pointerLeave,c=Hr.pointerEnter,s="pointer");if(e=null==o?i:or(o),i=null==t?i:or(t),(l=u.getPooled(l,o,n,r)).type=s+"leave",l.target=e,l.relatedTarget=i,(n=u.getPooled(c,t,n,r)).type=s+"enter",n.target=i,n.relatedTarget=e,s=t,(r=o)&&s)e:{for(c=s,e=0,o=u=r;o;o=kt(o))e++;for(o=0,t=c;t;t=kt(t))o++;for(;0<e-o;)u=kt(u),e--;for(;0<o-e;)c=kt(c),o--;for(;e--;){if(u===c||u===c.alternate)break e;u=kt(u),c=kt(c)}u=null}else u=null;for(c=u,u=[];r&&r!==c&&(null===(e=r.alternate)||e!==c);)u.push(r),r=kt(r);for(r=[];s&&s!==c&&(null===(e=s.alternate)||e!==c);)r.push(s),s=kt(s);for(s=0;s<u.length;s++)Tt(u[s],"bubbled",l);for(s=r.length;0<s--;)Tt(r[s],"captured",n);return[l,n]}},Vr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},qr=Object.prototype.hasOwnProperty;function Yr(e,t){if(Vr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!qr.call(t,n[r])||!Vr(e[n[r]],t[n[r]]))return!1;return!0}var Gr=Z&&"documentMode"in document&&11>=document.documentMode,Qr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Xr=null,Kr=null,Zr=null,Jr=!1;function ei(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Jr||null==Xr||Xr!==Dn(n)?null:(n="selectionStart"in(n=Xr)&&$n(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Zr&&Yr(Zr,n)?null:(Zr=n,(e=Ot.getPooled(Qr.select,Kr,e,t)).type="select",e.target=Xr,Mt(e),e))}var ti={eventTypes:Qr,extractEvents:function(e,t,n,r){var i,a=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(i=!a)){e:{a=Tn(a),i=d.onSelect;for(var o=0;o<i.length;o++)if(!a.has(i[o])){a=!1;break e}a=!0}i=!a}if(i)return null;switch(a=t?or(t):window,e){case"focus":(Sr(a)||"true"===a.contentEditable)&&(Xr=a,Kr=t,Zr=null);break;case"blur":Zr=Kr=Xr=null;break;case"mousedown":Jr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Jr=!1,ei(n,r);case"selectionchange":if(Gr)break;case"keydown":case"keyup":return ei(n,r)}return null}};P.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w=ur,x=ar,k=or,P.injectEventPluginsByName({SimpleEventPlugin:pn,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Wr,SelectEventPlugin:ti,BeforeInputEventPlugin:Er}),new Set;var ni=[],ri=-1;function ii(e){0>ri||(e.current=ni[ri],ni[ri]=null,ri--)}function ai(e,t){ni[++ri]=e.current,e.current=t}var oi={},ui={current:oi},li={current:!1},ci=oi;function si(e,t){var n=e.type.contextTypes;if(!n)return oi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function fi(e){return null!==(e=e.childContextTypes)&&void 0!==e}function hi(e){ii(li),ii(ui)}function pi(e){ii(li),ii(ui)}function di(e,t,n){if(ui.current!==oi)throw o(Error(168));ai(ui,t),ai(li,n)}function vi(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in e))throw o(Error(108),X(t)||"Unknown",a);return i({},n,{},r)}function gi(e){var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||oi,ci=ui.current,ai(ui,t),ai(li,li.current),!0}function mi(e,t,n){var r=e.stateNode;if(!r)throw o(Error(169));n?(t=vi(e,t,ci),r.__reactInternalMemoizedMergedChildContext=t,ii(li),ii(ui),ai(ui,t)):ii(li),ai(li,n)}var yi=a.unstable_runWithPriority,_i=a.unstable_scheduleCallback,bi=a.unstable_cancelCallback,wi=a.unstable_shouldYield,xi=a.unstable_requestPaint,ki=a.unstable_now,Ci=a.unstable_getCurrentPriorityLevel,Ei=a.unstable_ImmediatePriority,Ti=a.unstable_UserBlockingPriority,Si=a.unstable_NormalPriority,Mi=a.unstable_LowPriority,Ai=a.unstable_IdlePriority,Pi={},Oi=void 0!==xi?xi:function(){},Ni=null,Ri=null,Ii=!1,ji=ki(),zi=1e4>ji?ki:function(){return ki()-ji};function Di(){switch(Ci()){case Ei:return 99;case Ti:return 98;case Si:return 97;case Mi:return 96;case Ai:return 95;default:throw o(Error(332))}}function Li(e){switch(e){case 99:return Ei;case 98:return Ti;case 97:return Si;case 96:return Mi;case 95:return Ai;default:throw o(Error(332))}}function Ui(e,t){return e=Li(e),yi(e,t)}function Fi(e,t,n){return e=Li(e),_i(e,t,n)}function $i(e){return null===Ni?(Ni=[e],Ri=_i(Ei,Hi)):Ni.push(e),Pi}function Wi(){if(null!==Ri){var e=Ri;Ri=null,bi(e)}Hi()}function Hi(){if(!Ii&&null!==Ni){Ii=!0;var e=0;try{var t=Ni;Ui(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ni=null}catch(t){throw null!==Ni&&(Ni=Ni.slice(e+1)),_i(Ei,Wi),t}finally{Ii=!1}}}function Bi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Vi={current:null},qi=null,Yi=null,Gi=null;function Qi(){Gi=Yi=qi=null}function Xi(e,t){var n=e.type._context;ai(Vi,n._currentValue),n._currentValue=t}function Ki(e){var t=Vi.current;ii(Vi),e.type._context._currentValue=t}function Zi(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function Ji(e,t){qi=e,Gi=Yi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(So=!0),e.firstContext=null)}function ea(e,t){if(Gi!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Gi=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Yi){if(null===qi)throw o(Error(308));Yi=t,qi.dependencies={expirationTime:0,firstContext:t,responders:null}}else Yi=Yi.next=t;return e._currentValue}var ta=!1;function na(e){return{baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ra(e){return{baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function ia(e,t){return{expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function aa(e,t){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t)}function oa(e,t){var n=e.alternate;if(null===n){var r=e.updateQueue,i=null;null===r&&(r=e.updateQueue=na(e.memoizedState))}else r=e.updateQueue,i=n.updateQueue,null===r?null===i?(r=e.updateQueue=na(e.memoizedState),i=n.updateQueue=na(n.memoizedState)):r=e.updateQueue=ra(i):null===i&&(i=n.updateQueue=ra(r));null===i||r===i?aa(r,t):null===r.lastUpdate||null===i.lastUpdate?(aa(r,t),aa(i,t)):(aa(r,t),i.lastUpdate=t)}function ua(e,t){var n=e.updateQueue;null===(n=null===n?e.updateQueue=na(e.memoizedState):la(e,n)).lastCapturedUpdate?n.firstCapturedUpdate=n.lastCapturedUpdate=t:(n.lastCapturedUpdate.next=t,n.lastCapturedUpdate=t)}function la(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=ra(t)),t}function ca(e,t,n,r,a,o){switch(n.tag){case 1:return"function"==typeof(e=n.payload)?e.call(o,r,a):e;case 3:e.effectTag=-4097&e.effectTag|64;case 0:if(null===(a="function"==typeof(e=n.payload)?e.call(o,r,a):e)||void 0===a)break;return i({},r,a);case 2:ta=!0}return r}function sa(e,t,n,r,i){ta=!1;for(var a=(t=la(e,t)).baseState,o=null,u=0,l=t.firstUpdate,c=a;null!==l;){var s=l.expirationTime;s<i?(null===o&&(o=l,a=c),u<s&&(u=s)):(hl(s,l.suspenseConfig),c=ca(e,0,l,c,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(s=null,l=t.firstCapturedUpdate;null!==l;){var f=l.expirationTime;f<i?(null===s&&(s=l,null===o&&(a=c)),u<f&&(u=f)):(c=ca(e,0,l,c,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===o&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===o&&null===s&&(a=c),t.baseState=a,t.firstUpdate=o,t.firstCapturedUpdate=s,pl(u),e.expirationTime=u,e.memoizedState=c}function fa(e,t,n){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),ha(t.firstEffect,n),t.firstEffect=t.lastEffect=null,ha(t.firstCapturedEffect,n),t.firstCapturedEffect=t.lastCapturedEffect=null}function ha(e,t){for(;null!==e;){var n=e.callback;if(null!==n){e.callback=null;var r=t;if("function"!=typeof n)throw o(Error(191),n);n.call(r)}e=e.nextEffect}}var pa=N.ReactCurrentBatchConfig,da=(new r.Component).refs;function va(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:i({},t,n),e.memoizedState=n,null!==(r=e.updateQueue)&&0===e.expirationTime&&(r.baseState=n)}var ga={isMounted:function(e){return!!(e=e._reactInternalFiber)&&_t(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=Qu(),i=pa.suspense;(i=ia(r=Xu(r,e,i),i)).payload=t,null!=n&&(i.callback=n),oa(e,i),Ju(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=Qu(),i=pa.suspense;(i=ia(r=Xu(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),oa(e,i),Ju(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=Qu(),r=pa.suspense;(r=ia(n=Xu(n,e,r),r)).tag=2,null!=t&&(r.callback=t),oa(e,r),Ju(e,n)}};function ma(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!(t.prototype&&t.prototype.isPureReactComponent&&Yr(n,r)&&Yr(i,a))}function ya(e,t,n){var r=!1,i=oi,a=t.contextType;return"object"==typeof a&&null!==a?a=ea(a):(i=fi(t)?ci:ui.current,a=(r=null!==(r=t.contextTypes)&&void 0!==r)?si(e,i):oi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=ga,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function _a(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ga.enqueueReplaceState(t,t.state,null)}function ba(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=da;var a=t.contextType;"object"==typeof a&&null!==a?i.context=ea(a):(a=fi(t)?ci:ui.current,i.context=si(e,a)),null!==(a=e.updateQueue)&&(sa(e,a,n,i,r),i.state=e.memoizedState),"function"==typeof(a=t.getDerivedStateFromProps)&&(va(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&ga.enqueueReplaceState(i,i.state,null),null!==(a=e.updateQueue)&&(sa(e,a,n,i,r),i.state=e.memoizedState)),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var wa=Array.isArray;function xa(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw o(Error(309));var r=n.stateNode}if(!r)throw o(Error(147),e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:((t=function(e){var t=r.refs;t===da&&(t=r.refs={}),null===e?delete t[i]:t[i]=e})._stringRef=i,t)}if("string"!=typeof e)throw o(Error(284));if(!n._owner)throw o(Error(290),e)}return e}function ka(e,t){if("textarea"!==e.type)throw o(Error(31),"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function Ca(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return(e=Pl(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=mt,n):r:(t.effectTag=mt,n):n}function u(t){return e&&null===t.alternate&&(t.effectTag=mt),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Rl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=xa(e,t,n),r.return=e,r):((r=Ol(n.type,n.key,n.props,null,e.mode,r)).ref=xa(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Il(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Nl(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Rl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case j:return(n=Ol(t.type,t.key,t.props,null,e.mode,n)).ref=xa(e,null,t),n.return=e,n;case z:return(t=Il(t,e.mode,n)).return=e,t}if(wa(t)||Q(t))return(t=Nl(t,e.mode,n,null)).return=e,t;ka(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case j:return n.key===i?n.type===D?f(e,t,n.props.children,r,i):c(e,t,n,r):null;case z:return n.key===i?s(e,t,n,r):null}if(wa(n)||Q(n))return null!==i?null:f(e,t,n,r,null);ka(e,n)}return null}function d(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case j:return e=e.get(null===r.key?n:r.key)||null,r.type===D?f(t,e,r.props.children,i,r.key):c(t,e,r,i);case z:return s(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(wa(r)||Q(r))return f(t,e=e.get(n)||null,r,i,null);ka(t,r)}return null}function v(i,o,u,l){for(var c=null,s=null,f=o,v=o=0,g=null;null!==f&&v<u.length;v++){f.index>v?(g=f,f=null):g=f.sibling;var m=p(i,f,u[v],l);if(null===m){null===f&&(f=g);break}e&&f&&null===m.alternate&&t(i,f),o=a(m,o,v),null===s?c=m:s.sibling=m,s=m,f=g}if(v===u.length)return n(i,f),c;if(null===f){for(;v<u.length;v++)null!==(f=h(i,u[v],l))&&(o=a(f,o,v),null===s?c=f:s.sibling=f,s=f);return c}for(f=r(i,f);v<u.length;v++)null!==(g=d(f,i,v,u[v],l))&&(e&&null!==g.alternate&&f.delete(null===g.key?v:g.key),o=a(g,o,v),null===s?c=g:s.sibling=g,s=g);return e&&f.forEach((function(e){return t(i,e)})),c}function g(i,u,l,c){var s=Q(l);if("function"!=typeof s)throw o(Error(150));if(null==(l=s.call(l)))throw o(Error(151));for(var f=s=null,v=u,g=u=0,m=null,y=l.next();null!==v&&!y.done;g++,y=l.next()){v.index>g?(m=v,v=null):m=v.sibling;var _=p(i,v,y.value,c);if(null===_){null===v&&(v=m);break}e&&v&&null===_.alternate&&t(i,v),u=a(_,u,g),null===f?s=_:f.sibling=_,f=_,v=m}if(y.done)return n(i,v),s;if(null===v){for(;!y.done;g++,y=l.next())null!==(y=h(i,y.value,c))&&(u=a(y,u,g),null===f?s=y:f.sibling=y,f=y);return s}for(v=r(i,v);!y.done;g++,y=l.next())null!==(y=d(v,i,g,y.value,c))&&(e&&null!==y.alternate&&v.delete(null===y.key?g:y.key),u=a(y,u,g),null===f?s=y:f.sibling=y,f=y);return e&&v.forEach((function(e){return t(i,e)})),s}return function(e,r,a,l){var c="object"==typeof a&&null!==a&&a.type===D&&null===a.key;c&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case j:e:{for(s=a.key,c=r;null!==c;){if(c.key===s){if(7===c.tag?a.type===D:c.elementType===a.type){n(e,c.sibling),(r=i(c,a.type===D?a.props.children:a.props)).ref=xa(e,c,a),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===D?((r=Nl(a.props.children,e.mode,l,a.key)).return=e,e=r):((l=Ol(a.type,a.key,a.props,null,e.mode,l)).ref=xa(e,r,a),l.return=e,e=l)}return u(e);case z:e:{for(c=a.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===a.containerInfo&&r.stateNode.implementation===a.implementation){n(e,r.sibling),(r=i(r,a.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Il(a,e.mode,l)).return=e,e=r}return u(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,a)).return=e,e=r):(n(e,r),(r=Rl(a,e.mode,l)).return=e,e=r),u(e);if(wa(a))return v(e,r,a,l);if(Q(a))return g(e,r,a,l);if(s&&ka(e,a),void 0===a&&!c)switch(e.tag){case 1:case 0:throw e=e.type,o(Error(152),e.displayName||e.name||"Component")}return n(e,r)}}var Ea=Ca(!0),Ta=Ca(!1),Sa={},Ma={current:Sa},Aa={current:Sa},Pa={current:Sa};function Oa(e){if(e===Sa)throw o(Error(174));return e}function Na(e,t){ai(Pa,t),ai(Aa,e),ai(Ma,Sa);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ue(null,"");break;default:t=Ue(t=(n=8===n?t.parentNode:t).namespaceURI||null,n=n.tagName)}ii(Ma),ai(Ma,t)}function Ra(e){ii(Ma),ii(Aa),ii(Pa)}function Ia(e){Oa(Pa.current);var t=Oa(Ma.current),n=Ue(t,e.type);t!==n&&(ai(Aa,e),ai(Ma,n))}function ja(e){Aa.current===e&&(ii(Ma),ii(Aa))}var za={current:0};function Da(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===Bn||n.data===Vn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if((64&t.effectTag)!==gt)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function La(e,t){return{responder:e,props:t}}var Ua=N.ReactCurrentDispatcher,Fa=0,$a=null,Wa=null,Ha=null,Ba=null,Va=null,qa=null,Ya=0,Ga=null,Qa=0,Xa=!1,Ka=null,Za=0;function Ja(){throw o(Error(321))}function eo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vr(e[n],t[n]))return!1;return!0}function to(e,t,n,r,i,a){if(Fa=a,$a=t,Ha=null!==e?e.memoizedState:null,Ua.current=null===Ha?vo:go,t=n(r,i),Xa){do{Xa=!1,Za+=1,Ha=null!==e?e.memoizedState:null,qa=Ba,Ga=Va=Wa=null,Ua.current=go,t=n(r,i)}while(Xa);Ka=null,Za=0}if(Ua.current=po,(e=$a).memoizedState=Ba,e.expirationTime=Ya,e.updateQueue=Ga,e.effectTag|=Qa,e=null!==Wa&&null!==Wa.next,Fa=0,qa=Va=Ba=Ha=Wa=$a=null,Ya=0,Ga=null,Qa=0,e)throw o(Error(300));return t}function no(){Ua.current=po,Fa=0,qa=Va=Ba=Ha=Wa=$a=null,Ya=0,Ga=null,Qa=0,Xa=!1,Ka=null,Za=0}function ro(){var e={memoizedState:null,baseState:null,queue:null,baseUpdate:null,next:null};return null===Va?Ba=Va=e:Va=Va.next=e,Va}function io(){if(null!==qa)qa=(Va=qa).next,Ha=null!==(Wa=Ha)?Wa.next:null;else{if(null===Ha)throw o(Error(310));var e={memoizedState:(Wa=Ha).memoizedState,baseState:Wa.baseState,queue:Wa.queue,baseUpdate:Wa.baseUpdate,next:null};Va=null===Va?Ba=e:Va.next=e,Ha=Wa.next}return Va}function ao(e,t){return"function"==typeof t?t(e):t}function oo(e){var t=io(),n=t.queue;if(null===n)throw o(Error(311));if(n.lastRenderedReducer=e,0<Za){var r=n.dispatch;if(null!==Ka){var i=Ka.get(n);if(void 0!==i){Ka.delete(n);var a=t.memoizedState;do{a=e(a,i.action),i=i.next}while(null!==i);return Vr(a,t.memoizedState)||(So=!0),t.memoizedState=a,t.baseUpdate===n.last&&(t.baseState=a),n.lastRenderedState=a,[a,r]}}return[t.memoizedState,r]}r=n.last;var u=t.baseUpdate;if(a=t.baseState,null!==u?(null!==r&&(r.next=null),r=u.next):r=null!==r?r.next:null,null!==r){var l=i=null,c=r,s=!1;do{var f=c.expirationTime;f<Fa?(s||(s=!0,l=u,i=a),f>Ya&&pl(Ya=f)):(hl(f,c.suspenseConfig),a=c.eagerReducer===e?c.eagerState:e(a,c.action)),u=c,c=c.next}while(null!==c&&c!==r);s||(l=u,i=a),Vr(a,t.memoizedState)||(So=!0),t.memoizedState=a,t.baseUpdate=l,t.baseState=i,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function uo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===Ga?(Ga={lastEffect:null}).lastEffect=e.next=e:null===(t=Ga.lastEffect)?Ga.lastEffect=e.next=e:(n=t.next,t.next=e,e.next=n,Ga.lastEffect=e),e}function lo(e,t,n,r){var i=ro();Qa|=e,i.memoizedState=uo(t,n,void 0,void 0===r?null:r)}function co(e,t,n,r){var i=io();r=void 0===r?null:r;var a=void 0;if(null!==Wa){var o=Wa.memoizedState;if(a=o.destroy,null!==r&&eo(r,o.deps))return void uo(0,n,a,r)}Qa|=e,i.memoizedState=uo(t,n,a,r)}function so(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function fo(){}function ho(e,t,n){if(!(25>Za))throw o(Error(301));var r=e.alternate;if(e===$a||null!==r&&r===$a)if(Xa=!0,e={expirationTime:Fa,suspenseConfig:null,action:n,eagerReducer:null,eagerState:null,next:null},null===Ka&&(Ka=new Map),void 0===(n=Ka.get(t)))Ka.set(t,e);else{for(t=n;null!==t.next;)t=t.next;t.next=e}else{var i=Qu(),a=pa.suspense;a={expirationTime:i=Xu(i,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var u=t.last;if(null===u)a.next=a;else{var l=u.next;null!==l&&(a.next=l),u.next=a}if(t.last=a,0===e.expirationTime&&(null===r||0===r.expirationTime)&&null!==(r=t.lastRenderedReducer))try{var c=t.lastRenderedState,s=r(c,n);if(a.eagerReducer=r,a.eagerState=s,Vr(s,c))return}catch(e){}Ju(e,i)}}var po={readContext:ea,useCallback:Ja,useContext:Ja,useEffect:Ja,useImperativeHandle:Ja,useLayoutEffect:Ja,useMemo:Ja,useReducer:Ja,useRef:Ja,useState:Ja,useDebugValue:Ja,useResponder:Ja},vo={readContext:ea,useCallback:function(e,t){return ro().memoizedState=[e,void 0===t?null:t],e},useContext:ea,useEffect:function(e,t){return lo(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,lo(4,36,so.bind(null,t,e),n)},useLayoutEffect:function(e,t){return lo(4,36,e,t)},useMemo:function(e,t){var n=ro();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ro();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={last:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ho.bind(null,$a,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ro().memoizedState=e},useState:function(e){var t=ro();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={last:null,dispatch:null,lastRenderedReducer:ao,lastRenderedState:e}).dispatch=ho.bind(null,$a,e),[t.memoizedState,e]},useDebugValue:fo,useResponder:La},go={readContext:ea,useCallback:function(e,t){var n=io();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&eo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)},useContext:ea,useEffect:function(e,t){return co(516,192,e,t)},useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,co(4,36,so.bind(null,t,e),n)},useLayoutEffect:function(e,t){return co(4,36,e,t)},useMemo:function(e,t){var n=io();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&eo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)},useReducer:oo,useRef:function(){return io().memoizedState},useState:function(e){return oo(ao)},useDebugValue:fo,useResponder:La},mo=null,yo=null,_o=!1;function bo(e,t){var n=Ml(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function wo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function xo(e){if(_o){var t=yo;if(t){var n=t;if(!wo(e,t)){if(!(t=Zn(n.nextSibling))||!wo(e,t))return e.effectTag=e.effectTag&~yt|mt,_o=!1,void(mo=e);bo(mo,n)}mo=e,yo=Zn(t.firstChild)}else e.effectTag=e.effectTag&~yt|mt,_o=!1,mo=e}}function ko(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;mo=e}function Co(e){if(e!==mo)return!1;if(!_o)return ko(e),_o=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Qn(t,e.memoizedProps))for(t=yo;t;)bo(e,t),t=Zn(t.nextSibling);if(ko(e),13===e.tag)if(null===(e=null!==(e=e.memoizedState)?e.dehydrated:null))e=yo;else e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===Hn){if(0===t){e=Zn(e.nextSibling);break e}t--}else n!==Wn&&n!==Vn&&n!==Bn||t++}e=e.nextSibling}e=null}else e=mo?Zn(e.stateNode.nextSibling):null;return yo=e,!0}function Eo(){yo=mo=null,_o=!1}var To=N.ReactCurrentOwner,So=!1;function Mo(e,t,n,r){t.child=null===e?Ta(t,null,n,r):Ea(t,e.child,n,r)}function Ao(e,t,n,r,i){n=n.render;var a=t.ref;return Ji(t,i),r=to(e,t,n,r,a,i),null===e||So?(t.effectTag|=1,Mo(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Vo(e,t,i))}function Po(e,t,n,r,i,a){if(null===e){var o=n.type;return"function"!=typeof o||Al(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ol(n.type,null,r,null,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Oo(e,t,o,r,i,a))}return o=e.child,i<a&&(i=o.memoizedProps,(n=null!==(n=n.compare)?n:Yr)(i,r)&&e.ref===t.ref)?Vo(e,t,a):(t.effectTag|=1,(e=Pl(o,r)).ref=t.ref,e.return=t,t.child=e)}function Oo(e,t,n,r,i,a){return null!==e&&Yr(e.memoizedProps,r)&&e.ref===t.ref&&(So=!1,i<a)?Vo(e,t,a):Ro(e,t,n,r,a)}function No(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ro(e,t,n,r,i){var a=fi(n)?ci:ui.current;return a=si(t,a),Ji(t,i),n=to(e,t,n,r,a,i),null===e||So?(t.effectTag|=1,Mo(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Vo(e,t,i))}function Io(e,t,n,r,i){if(fi(n)){var a=!0;gi(t)}else a=!1;if(Ji(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=mt),ya(t,n,r),ba(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,u=t.memoizedProps;o.props=u;var l=o.context,c=n.contextType;c="object"==typeof c&&null!==c?ea(c):si(t,c=fi(n)?ci:ui.current);var s=n.getDerivedStateFromProps,f="function"==typeof s||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||l!==c)&&_a(t,o,r,c),ta=!1;var h=t.memoizedState;l=o.state=h;var p=t.updateQueue;null!==p&&(sa(t,p,r,o,i),l=t.memoizedState),u!==r||h!==l||li.current||ta?("function"==typeof s&&(va(t,n,s,r),l=t.memoizedState),(u=ta||ma(t,n,u,r,h,l,c))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.effectTag|=4)):("function"==typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=u):("function"==typeof o.componentDidMount&&(t.effectTag|=4),r=!1)}else o=t.stateNode,u=t.memoizedProps,o.props=t.type===t.elementType?u:Bi(t.type,u),l=o.context,c="object"==typeof(c=n.contextType)&&null!==c?ea(c):si(t,c=fi(n)?ci:ui.current),(f="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(u!==r||l!==c)&&_a(t,o,r,c),ta=!1,l=t.memoizedState,h=o.state=l,null!==(p=t.updateQueue)&&(sa(t,p,r,o,i),h=t.memoizedState),u!==r||l!==h||li.current||ta?("function"==typeof s&&(va(t,n,s,r),h=t.memoizedState),(s=ta||ma(t,n,u,r,l,h,c))?(f||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,h,c),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,h,c)),"function"==typeof o.componentDidUpdate&&(t.effectTag|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=h),o.props=r,o.state=h,o.context=c,r=s):("function"!=typeof o.componentDidUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||u===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return jo(e,t,n,r,a,i)}function jo(e,t,n,r,i,a){No(e,t);var o=(64&t.effectTag)!==gt;if(!r&&!o)return i&&mi(t,n,!1),Vo(e,t,a);r=t.stateNode,To.current=t;var u=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&o?(t.child=Ea(t,e.child,null,a),t.child=Ea(t,null,u,a)):Mo(e,t,u,a),t.memoizedState=r.state,i&&mi(t,n,!0),t.child}function zo(e){var t=e.stateNode;t.pendingContext?di(0,t.pendingContext,t.pendingContext!==t.context):t.context&&di(0,t.context,!1),Na(e,t.containerInfo)}var Do,Lo,Uo,Fo,$o={dehydrated:null,retryTime:1};function Wo(e,t,n){var r,i=t.mode,a=t.pendingProps,o=za.current,u=!1;if((r=(64&t.effectTag)!==gt)||(r=0!=(2&o)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),ai(za,1&o),null===e){if(u){if(u=a.fallback,(a=Nl(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Nl(u,i,n,null)).return=t,a.sibling=n,t.memoizedState=$o,t.child=a,n}return i=a.children,t.memoizedState=null,t.child=Ta(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,u){if(a=a.fallback,(n=Pl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(i=Pl(i,a,i.expirationTime)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=$o,t.child=n,i}return n=Ea(t,e.child,a.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=a.fallback,(a=Nl(null,i,0,null)).return=t,a.child=e,null!==e&&(e.return=a),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,a.child=e;null!==e;)e.return=a,e=e.sibling;return(n=Nl(u,i,n,null)).return=t,a.sibling=n,n.effectTag|=mt,a.childExpirationTime=0,t.memoizedState=$o,t.child=a,n}return t.memoizedState=null,t.child=Ea(t,e,a.children,n)}function Ho(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,last:r,tail:n,tailExpiration:0,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i)}function Bo(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Mo(e,t,r.children,n),0!=(2&(r=za.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&(64&e.effectTag)!==gt)e:for(e=t.child;null!==e;){if(13===e.tag){if(null!==e.memoizedState){e.expirationTime<n&&(e.expirationTime=n);var o=e.alternate;null!==o&&o.expirationTime<n&&(o.expirationTime=n),Zi(e.return,n)}}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ai(za,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(r=n.alternate)&&null===Da(r)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Ho(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(r=i.alternate)&&null===Da(r)){t.child=i;break}r=i.sibling,i.sibling=n,n=i,i=r}Ho(t,!0,n,null,a);break;case"together":Ho(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Vo(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&pl(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw o(Error(153));if(null!==t.child){for(n=Pl(e=t.child,e.pendingProps,e.expirationTime),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Pl(e,e.pendingProps,e.expirationTime)).return=t;n.sibling=null}return t.child}function qo(e){e.effectTag|=4}function Yo(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Go(e){switch(e.tag){case 1:fi(e.type)&&hi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Ra(),pi(),(64&(t=e.effectTag))!==gt)throw o(Error(285));return e.effectTag=-4097&t|64,e;case 5:return ja(e),null;case 13:return ii(za),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return ii(za),null;case 4:return Ra(),null;case 10:return Ki(e),null;default:return null}}function Qo(e,t){return{value:e,source:t,stack:K(t)}}Do=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Lo=function(){},Uo=function(e,t,n,r,a){var o=e.memoizedProps;if(o!==r){var u,l,c=t.stateNode;switch(Oa(Ma.current),e=null,n){case"input":o=Ee(c,o),r=Ee(c,r),e=[];break;case"option":o=Oe(c,o),r=Oe(c,r),e=[];break;case"select":o=i({},o,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":o=Re(c,o),r=Re(c,r),e=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(c.onclick=zn)}for(u in Rn(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u)for(l in c=o[u])c.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(p.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var s=r[u];if(c=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==c&&(null!=s||null!=c))if("style"===u)if(c){for(l in c)!c.hasOwnProperty(l)||s&&s.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in s)s.hasOwnProperty(l)&&c[l]!==s[l]&&(n||(n={}),n[l]=s[l])}else n||(e||(e=[]),e.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(e=e||[]).push(u,""+s)):"children"===u?c===s||"string"!=typeof s&&"number"!=typeof s||(e=e||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(p.hasOwnProperty(u)?(null!=s&&jn(a,u),e||c===s||(e=[])):(e=e||[]).push(u,s))}n&&(e=e||[]).push("style",n),a=e,(t.updateQueue=a)&&qo(t)}},Fo=function(e,t,n,r){n!==r&&qo(t)};var Xo="function"==typeof WeakSet?WeakSet:Set;function Ko(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=K(n)),null!==n&&X(n.type),t=t.value,null!==e&&1===e.tag&&X(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function Zo(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Cl(e,t)}else t.current=null}function Jo(e,t){switch(t.tag){case 0:case 11:case 15:eu(2,0,t);break;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Bi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}break;case 3:case 5:case 6:case 4:case 17:break;default:throw o(Error(163))}}function eu(e,t,n){if(null!==(n=null!==(n=n.updateQueue)?n.lastEffect:null)){var r=n=n.next;do{if(0!=(r.tag&e)){var i=r.destroy;r.destroy=void 0,void 0!==i&&i()}0!=(r.tag&t)&&(i=r.create,r.destroy=i()),r=r.next}while(r!==n)}}function tu(e,t,n){switch("function"==typeof Sl&&Sl(t),t.tag){case 0:case 11:case 14:case 15:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Ui(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Cl(i,e)}}e=e.next}while(e!==r)}))}break;case 1:Zo(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Cl(e,t)}}(t,n);break;case 5:Zo(t);break;case 4:au(e,t,n)}}function nu(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,null!==t&&nu(t)}function ru(e){return 5===e.tag||3===e.tag||4===e.tag}function iu(e){e:{for(var t=e.return;null!==t;){if(ru(t)){var n=t;break e}t=t.return}throw o(Error(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw o(Error(161))}16&n.effectTag&&(We(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ru(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(n.effectTag&mt)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(n.effectTag&mt)){n=n.stateNode;break e}}for(var i=e;;){var a=5===i.tag||6===i.tag;if(a){var u=a?i.stateNode:i.stateNode.instance;if(n)if(r){var l=u;u=n,8===(a=t).nodeType?a.parentNode.insertBefore(l,u):a.insertBefore(l,u)}else t.insertBefore(u,n);else r?(8===(l=t).nodeType?(a=l.parentNode).insertBefore(u,l):(a=l).appendChild(u),null!==(l=l._reactRootContainer)&&void 0!==l||null!==a.onclick||(a.onclick=zn)):t.appendChild(u)}else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function au(e,t,n){for(var r,i,a=t,u=!1;;){if(!u){u=a.return;e:for(;;){if(null===u)throw o(Error(160));switch(r=u.stateNode,u.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}u=u.return}u=!0}if(5===a.tag||6===a.tag){e:for(var l=e,c=a,s=n,f=c;;)if(tu(l,f,s),null!==f.child&&4!==f.tag)f.child.return=f,f=f.child;else{if(f===c)break;for(;null===f.sibling;){if(null===f.return||f.return===c)break e;f=f.return}f.sibling.return=f.return,f=f.sibling}i?(l=r,c=a.stateNode,8===l.nodeType?l.parentNode.removeChild(c):l.removeChild(c)):r.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){r=a.stateNode.containerInfo,i=!0,a.child.return=a,a=a.child;continue}}else if(tu(e,a,n),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(u=!1)}a.sibling.return=a.return,a=a.sibling}}function ou(e,t){switch(t.tag){case 0:case 11:case 14:case 15:eu(4,8,t);break;case 1:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var a=t.updateQueue;if(t.updateQueue=null,null!==a){for(n[nr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Se(n,r),In(e,i),t=In(e,r),i=0;i<a.length;i+=2){var u=a[i],l=a[i+1];"style"===u?On(n,l):"dangerouslySetInnerHTML"===u?$e(n,l):"children"===u?We(n,l):we(n,u,l,t)}switch(e){case"input":Me(n,r);break;case"textarea":je(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(n,!!r.multiple,r.multiple?[]:"",!1))}}}break;case 6:if(null===t.stateNode)throw o(Error(162));t.stateNode.nodeValue=t.memoizedProps;break;case 3:(t=t.stateNode).hydrate&&(t.hydrate=!1,vt(t.containerInfo));break;case 12:break;case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,zu=zi()),null!==n)e:for(e=n;;){if(5===e.tag)a=e.stateNode,r?"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none":(a=e.stateNode,i=void 0!==(i=e.memoizedProps.style)&&null!==i&&i.hasOwnProperty("display")?i.display:null,a.style.display=Pn("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(a=e.child.sibling).return=e,e=a;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break e;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}uu(t);break;case 19:uu(t);break;case 17:case 20:case 21:break;default:throw o(Error(163))}}function uu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xo),t.forEach((function(t){var r=function(e,t){var n=e.stateNode;null!==n&&n.delete(t),1==(t=1)&&(t=Xu(t=Qu(),e,null)),null!==(e=el(e,t))&&nl(e)}.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var lu="function"==typeof WeakMap?WeakMap:Map;function cu(e,t,n){(n=ia(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Uu||(Uu=!0,Fu=r),Ko(e,t)},n}function su(e,t,n){(n=ia(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return Ko(e,t),r(i)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===$u?$u=new Set([this]):$u.add(this),Ko(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var fu=Math.ceil,hu=N.ReactCurrentDispatcher,pu=N.ReactCurrentOwner,du=0,vu=8,gu=16,mu=32,yu=0,_u=1,bu=2,wu=3,xu=4,ku=5,Cu=6,Eu=du,Tu=null,Su=null,Mu=0,Au=yu,Pu=null,Ou=1073741823,Nu=1073741823,Ru=null,Iu=0,ju=!1,zu=0,Du=500,Lu=null,Uu=!1,Fu=null,$u=null,Wu=!1,Hu=null,Bu=90,Vu=null,qu=0,Yu=null,Gu=0;function Qu(){return(Eu&(gu|mu))!==du?1073741821-(zi()/10|0):0!==Gu?Gu:Gu=1073741821-(zi()/10|0)}function Xu(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Di();if(0==(4&t))return 99===r?1073741823:1073741822;if((Eu&gu)!==du)return Mu;if(null!==n)e=1073741821-25*(1+((1073741821-e+(0|n.timeoutMs||5e3)/10)/25|0));else switch(r){case 99:e=1073741823;break;case 98:e=1073741821-10*(1+((1073741821-e+15)/10|0));break;case 97:case 96:e=1073741821-25*(1+((1073741821-e+500)/25|0));break;case 95:e=2;break;default:throw o(Error(326))}return null!==Tu&&e===Mu&&--e,e}var Ku,Zu=0;function Ju(e,t){if(50<qu)throw qu=0,Yu=null,o(Error(185));if(null!==(e=el(e,t))){var n=Di();1073741823===t?(Eu&vu)!==du&&(Eu&(gu|mu))===du?rl(e):(nl(e),Eu===du&&Wi()):nl(e),(4&Eu)===du||98!==n&&99!==n||(null===Vu?Vu=new Map([[e,t]]):(void 0===(n=Vu.get(e))||n>t)&&Vu.set(e,t))}}function el(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&(Tu===i&&(pl(t),Au===xu&&zl(i,Mu)),Dl(i,t)),i}function tl(e){var t=e.lastExpiredTime;return 0!==t?t:jl(e,t=e.firstPendingTime)?(t=e.lastPingedTime)>(e=e.nextKnownPendingLevel)?t:e:t}function nl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=$i(rl.bind(null,e));else{var t=tl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Qu();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==Pi&&bi(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?$i(rl.bind(null,e)):Fi(r,function e(t,n){if(Gu=0,n)return Ll(t,n=Qu()),nl(t),null;var r=tl(t);if(0!==r){if(n=t.callbackNode,(Eu&(gu|mu))!==du)throw o(Error(327));if(wl(),t===Tu&&r===Mu||cl(t,r),null!==Su){var i=Eu;Eu|=gu;for(var a=fl();;)try{vl();break}catch(e){sl(t,e)}if(Qi(),Eu=i,hu.current=a,Au===_u)throw n=Pu,cl(t,r),zl(t,r),nl(t),n;if(null===Su)switch(a=t.finishedWork=t.current.alternate,t.finishedExpirationTime=r,al(t,r),i=Au,Tu=null,i){case yu:case _u:throw o(Error(345));case bu:if(2!==r){Ll(t,2);break}_l(t);break;case wu:if(zl(t,r),r===(i=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=yl(a)),1073741823===Ou&&10<(a=zu+Du-zi())){if(ju){var u=t.lastPingedTime;if(0===u||u>=r){t.lastPingedTime=r,cl(t,r);break}}if(0!==(u=tl(t))&&u!==r)break;if(0!==i&&i!==r){t.lastPingedTime=i;break}t.timeoutHandle=Xn(_l.bind(null,t),a);break}_l(t);break;case xu:if(zl(t,r),r===(i=t.lastSuspendedTime)&&(t.nextKnownPendingLevel=yl(a)),ju&&(0===(a=t.lastPingedTime)||a>=r)){t.lastPingedTime=r,cl(t,r);break}if(0!==(a=tl(t))&&a!==r)break;if(0!==i&&i!==r){t.lastPingedTime=i;break}if(1073741823!==Nu?i=10*(1073741821-Nu)-zi():1073741823===Ou?i=0:(i=10*(1073741821-Ou)-5e3,0>(i=(a=zi())-i)&&(i=0),(r=10*(1073741821-r)-a)<(i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*fu(i/1960))-i)&&(i=r)),10<i){t.timeoutHandle=Xn(_l.bind(null,t),i);break}_l(t);break;case ku:if(1073741823!==Ou&&null!==Ru){u=Ou;var l=Ru;if(0>=(i=0|l.busyMinDurationMs)?i=0:(a=0|l.busyDelayMs,i=(u=zi()-(10*(1073741821-u)-(0|l.timeoutMs||5e3)))<=a?0:a+i-u),10<i){zl(t,r),t.timeoutHandle=Xn(_l.bind(null,t),i);break}}_l(t);break;case Cu:zl(t,r);break;default:throw o(Error(329))}if(nl(t),t.callbackNode===n)return e.bind(null,t)}}return null}.bind(null,e),{timeout:10*(1073741821-t)-zi()}),e.callbackNode=t}}}function rl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,e.finishedExpirationTime===t)_l(e);else{if((Eu&(gu|mu))!==du)throw o(Error(327));if(wl(),e===Tu&&t===Mu||cl(e,t),null!==Su){var n=Eu;Eu|=gu;for(var r=fl();;)try{dl();break}catch(t){sl(e,t)}if(Qi(),Eu=n,hu.current=r,Au===_u)throw n=Pu,cl(e,t),zl(e,t),nl(e),n;if(null!==Su)throw o(Error(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,al(e,t),Au===Cu?zl(e,t):(Tu=null,_l(e)),nl(e)}}return null}function il(){(Eu&(1|gu|mu))===du&&(function(){if(null!==Vu){var e=Vu;Vu=null,e.forEach((function(e,t){Ll(t,e),nl(t)})),Wi()}}(),wl())}function al(e,t){var n=e.firstBatch;null!==n&&n._defer&&n._expirationTime>=t&&(Fi(97,(function(){return n._onComplete(),null})),Au=Cu)}function ol(e,t){var n=Eu;Eu|=1;try{return e(t)}finally{(Eu=n)===du&&Wi()}}function ul(e,t,n,r){var i=Eu;Eu|=4;try{return Ui(98,e.bind(null,t,n,r))}finally{(Eu=i)===du&&Wi()}}function ll(e,t){var n=Eu;Eu&=-2,Eu|=vu;try{return e(t)}finally{(Eu=n)===du&&Wi()}}function cl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Kn(n)),null!==Su)for(n=Su.return;null!==n;){var r=n;switch(r.tag){case 1:var i=r.type.childContextTypes;null!=i&&hi();break;case 3:Ra(),pi();break;case 5:ja(r);break;case 4:Ra();break;case 13:case 19:ii(za);break;case 10:Ki(r)}n=n.return}Tu=e,Su=Pl(e.current,null),Mu=t,Au=yu,Pu=null,Nu=Ou=1073741823,Ru=null,Iu=0,ju=!1}function sl(e,t){for(;;){try{if(Qi(),no(),null===Su||null===Su.return)return Au=_u,Pu=t,null;e:{var n=e,r=Su.return,i=Su,a=t;if(t=Mu,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==a&&"object"==typeof a&&"function"==typeof a.then){var o=a,u=0!=(1&za.current),l=r;do{var c;if(c=13===l.tag){var s=l.memoizedState;if(null!==s)c=null!==s.dehydrated;else{var f=l.memoizedProps;c=void 0!==f.fallback&&(!0!==f.unstable_avoidThisFallback||!u)}}if(c){var h=l.updateQueue;if(null===h){var p=new Set;p.add(o),l.updateQueue=p}else h.add(o);if(0==(2&l.mode)){if(l.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var d=ia(1073741823,null);d.tag=2,oa(i,d)}i.expirationTime=1073741823;break e}a=void 0,i=t;var v=n.pingCache;if(null===v?(v=n.pingCache=new lu,a=new Set,v.set(o,a)):void 0===(a=v.get(o))&&(a=new Set,v.set(o,a)),!a.has(i)){a.add(i);var g=El.bind(null,n,o,i);o.then(g,g)}l.effectTag|=4096,l.expirationTime=t;break e}l=l.return}while(null!==l);a=Error((X(i.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+K(i))}Au!==ku&&(Au=bu),a=Qo(a,i),l=r;do{switch(l.tag){case 3:o=a,l.effectTag|=4096,l.expirationTime=t,ua(l,cu(l,o,t));break e;case 1:o=a;var m=l.type,y=l.stateNode;if((64&l.effectTag)===gt&&("function"==typeof m.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===$u||!$u.has(y)))){l.effectTag|=4096,l.expirationTime=t,ua(l,su(l,o,t));break e}}l=l.return}while(null!==l)}Su=ml(Su)}catch(e){t=e;continue}break}}function fl(){var e=hu.current;return hu.current=po,null===e?po:e}function hl(e,t){e<Ou&&2<e&&(Ou=e),null!==t&&e<Nu&&2<e&&(Nu=e,Ru=t)}function pl(e){e>Iu&&(Iu=e)}function dl(){for(;null!==Su;)Su=gl(Su)}function vl(){for(;null!==Su&&!wi();)Su=gl(Su)}function gl(e){var t=Ku(e.alternate,e,Mu);return e.memoizedProps=e.pendingProps,null===t&&(t=ml(e)),pu.current=null,t}function ml(e){Su=e;do{var t=Su.alternate;if(e=Su.return,(2048&Su.effectTag)===gt){e:{var n=t,r=Mu,a=(t=Su).pendingProps;switch(t.tag){case 2:case 16:break;case 15:case 0:break;case 1:fi(t.type)&&hi();break;case 3:Ra(),pi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(null===n||null===n.child)&&Co(t)&&qo(t),Lo(t);break;case 5:ja(t),r=Oa(Pa.current);var u=t.type;if(null!==n&&null!=t.stateNode)Uo(n,t,u,a,r),n.ref!==t.ref&&(t.effectTag|=128);else if(a){var l=Oa(Ma.current);if(Co(t)){u=void 0,n=(a=t).stateNode;var c=a.type,s=a.memoizedProps;switch(n[tr]=a,n[nr]=s,c){case"iframe":case"object":case"embed":_n("load",n);break;case"video":case"audio":for(var f=0;f<Ze.length;f++)_n(Ze[f],n);break;case"source":_n("error",n);break;case"img":case"image":case"link":_n("error",n),_n("load",n);break;case"form":_n("reset",n),_n("submit",n);break;case"details":_n("toggle",n);break;case"input":Te(n,s),_n("invalid",n),jn(r,"onChange");break;case"select":n._wrapperState={wasMultiple:!!s.multiple},_n("invalid",n),jn(r,"onChange");break;case"textarea":Ie(n,s),_n("invalid",n),jn(r,"onChange")}for(u in Rn(c,s),f=null,s)s.hasOwnProperty(u)&&(l=s[u],"children"===u?"string"==typeof l?n.textContent!==l&&(f=["children",l]):"number"==typeof l&&n.textContent!==""+l&&(f=["children",""+l]):p.hasOwnProperty(u)&&null!=l&&jn(r,u));switch(c){case"input":ke(n),Ae(n,s,!0);break;case"textarea":ke(n),ze(n);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(n.onclick=zn)}r=f,a.updateQueue=r,null!==r&&qo(t)}else{s=u,n=a,c=t,f=9===r.nodeType?r:r.ownerDocument,l===De.html&&(l=Le(s)),l===De.html?"script"===s?((s=f.createElement("div")).innerHTML="<script><\/script>",f=s.removeChild(s.firstChild)):"string"==typeof n.is?f=f.createElement(s,{is:n.is}):(f=f.createElement(s),"select"===s&&(s=f,n.multiple?s.multiple=!0:n.size&&(s.size=n.size))):f=f.createElementNS(l,s),(s=f)[tr]=c,s[nr]=n,Do(n=s,t,!1,!1),t.stateNode=n,l=r;var h=In(u,a);switch(u){case"iframe":case"object":case"embed":_n("load",n),r=a;break;case"video":case"audio":for(r=0;r<Ze.length;r++)_n(Ze[r],n);r=a;break;case"source":_n("error",n),r=a;break;case"img":case"image":case"link":_n("error",n),_n("load",n),r=a;break;case"form":_n("reset",n),_n("submit",n),r=a;break;case"details":_n("toggle",n),r=a;break;case"input":Te(n,a),r=Ee(n,a),_n("invalid",n),jn(l,"onChange");break;case"option":r=Oe(n,a);break;case"select":n._wrapperState={wasMultiple:!!a.multiple},r=i({},a,{value:void 0}),_n("invalid",n),jn(l,"onChange");break;case"textarea":Ie(n,a),r=Re(n,a),_n("invalid",n),jn(l,"onChange");break;default:r=a}Rn(u,r),c=void 0,s=u,f=n;var d=r;for(c in d)if(d.hasOwnProperty(c)){var v=d[c];"style"===c?On(f,v):"dangerouslySetInnerHTML"===c?null!=(v=v?v.__html:void 0)&&$e(f,v):"children"===c?"string"==typeof v?("textarea"!==s||""!==v)&&We(f,v):"number"==typeof v&&We(f,""+v):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(p.hasOwnProperty(c)?null!=v&&jn(l,c):null!=v&&we(f,c,v,h))}switch(u){case"input":ke(n),Ae(n,a,!1);break;case"textarea":ke(n),ze(n);break;case"option":null!=a.value&&n.setAttribute("value",""+be(a.value));break;case"select":r=n,n=a,r.multiple=!!n.multiple,null!=(c=n.value)?Ne(r,!!n.multiple,c,!1):null!=n.defaultValue&&Ne(r,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof r.onClick&&(n.onclick=zn)}Gn(u,a)&&qo(t)}null!==t.ref&&(t.effectTag|=128)}else if(null===t.stateNode)throw o(Error(166));break;case 6:if(n&&null!=t.stateNode)Fo(n,t,n.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw o(Error(166));u=Oa(Pa.current),Oa(Ma.current),Co(t)?(r=t.stateNode,a=t.memoizedProps,r[tr]=t,r.nodeValue!==a&&qo(t)):(r=t,(a=(9===u.nodeType?u:u.ownerDocument).createTextNode(a))[tr]=t,r.stateNode=a)}break;case 11:break;case 13:if(ii(za),a=t.memoizedState,(64&t.effectTag)!==gt){t.expirationTime=r;break e}r=null!==a,a=!1,null===n?Co(t):(a=null!==(u=n.memoizedState),r||null===u||null!==(u=n.child.sibling)&&(null!==(c=t.firstEffect)?(t.firstEffect=u,u.nextEffect=c):(t.firstEffect=t.lastEffect=u,u.nextEffect=null),u.effectTag=8)),r&&!a&&0!=(2&t.mode)&&(null===n&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&za.current)?Au===yu&&(Au=wu):(Au!==yu&&Au!==wu||(Au=xu),0!==Iu&&null!==Tu&&(zl(Tu,Mu),Dl(Tu,Iu)))),(r||a)&&(t.effectTag|=4);break;case 7:case 8:case 12:break;case 4:Ra(),Lo(t);break;case 10:Ki(t);break;case 9:case 14:break;case 17:fi(t.type)&&hi();break;case 19:if(ii(za),null===(a=t.memoizedState))break;if(u=(64&t.effectTag)!==gt,null===(c=a.rendering)){if(u)Yo(a,!1);else if(Au!==yu||null!==n&&(64&n.effectTag)!==gt)for(n=t.child;null!==n;){if(null!==(c=Da(n))){for(t.effectTag|=64,Yo(a,!1),null!==(a=c.updateQueue)&&(t.updateQueue=a,t.effectTag|=4),t.firstEffect=t.lastEffect=null,a=t.child;null!==a;)n=r,(u=a).effectTag&=mt,u.nextEffect=null,u.firstEffect=null,u.lastEffect=null,null===(c=u.alternate)?(u.childExpirationTime=0,u.expirationTime=n,u.child=null,u.memoizedProps=null,u.memoizedState=null,u.updateQueue=null,u.dependencies=null):(u.childExpirationTime=c.childExpirationTime,u.expirationTime=c.expirationTime,u.child=c.child,u.memoizedProps=c.memoizedProps,u.memoizedState=c.memoizedState,u.updateQueue=c.updateQueue,n=c.dependencies,u.dependencies=null===n?null:{expirationTime:n.expirationTime,firstContext:n.firstContext,responders:n.responders}),a=a.sibling;ai(za,1&za.current|2),t=t.child;break e}n=n.sibling}}else{if(!u)if(null!==(n=Da(c))){if(t.effectTag|=64,u=!0,Yo(a,!0),null===a.tail&&"hidden"===a.tailMode){null!==(r=n.updateQueue)&&(t.updateQueue=r,t.effectTag|=4),null!==(t=t.lastEffect=a.lastEffect)&&(t.nextEffect=null);break}}else zi()>a.tailExpiration&&1<r&&(t.effectTag|=64,u=!0,Yo(a,!1),t.expirationTime=t.childExpirationTime=r-1);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(r=a.last)?r.sibling=c:t.child=c,a.last=c)}if(null!==a.tail){0===a.tailExpiration&&(a.tailExpiration=zi()+500),r=a.tail,a.rendering=r,a.tail=r.sibling,a.lastEffect=t.lastEffect,r.sibling=null,a=za.current,ai(za,a=u?1&a|2:1&a),t=r;break e}break;case 20:case 21:break;default:throw o(Error(156),t.tag)}t=null}if(r=Su,1===Mu||1!==r.childExpirationTime){for(a=0,u=r.child;null!==u;)(n=u.expirationTime)>a&&(a=n),(c=u.childExpirationTime)>a&&(a=c),u=u.sibling;r.childExpirationTime=a}if(null!==t)return t;null!==e&&(2048&e.effectTag)===gt&&(null===e.firstEffect&&(e.firstEffect=Su.firstEffect),null!==Su.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Su.firstEffect),e.lastEffect=Su.lastEffect),1<Su.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Su:e.firstEffect=Su,e.lastEffect=Su))}else{if(null!==(t=Go(Su)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Su.sibling))return t;Su=e}while(null!==Su);return Au===yu&&(Au=ku),null}function yl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function _l(e){var t=Di();return Ui(99,function(e,t){if(wl(),(Eu&(gu|mu))!==du)throw o(Error(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw o(Error(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=yl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===Tu&&(Su=Tu=null,Mu=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var a=Eu;Eu|=mu,pu.current=null,qn=yn;var u=Fn();if($n(u)){if("selectionStart"in u)var l={start:u.selectionStart,end:u.selectionEnd};else e:{var c=(l=(l=u.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(c&&0!==c.rangeCount){l=c.anchorNode;var s=c.anchorOffset,f=c.focusNode;c=c.focusOffset;try{l.nodeType,f.nodeType}catch(e){l=null;break e}var h=0,p=-1,d=-1,v=0,g=0,m=u,y=null;t:for(;;){for(var _;m!==l||0!==s&&3!==m.nodeType||(p=h+s),m!==f||0!==c&&3!==m.nodeType||(d=h+c),3===m.nodeType&&(h+=m.nodeValue.length),null!==(_=m.firstChild);)y=m,m=_;for(;;){if(m===u)break t;if(y===l&&++v===s&&(p=h),y===f&&++g===c&&(d=h),null!==(_=m.nextSibling))break;y=(m=y).parentNode}m=_}l=-1===p||-1===d?null:{start:p,end:d}}else l=null}l=l||{start:0,end:0}}else l=null;Yn={focusedElem:u,selectionRange:l},yn=!1,Lu=i;do{try{bl()}catch(e){if(null===Lu)throw o(Error(330));Cl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);Lu=i;do{try{for(u=e,l=t;null!==Lu;){var b=Lu.effectTag;if(16&b&&We(Lu.stateNode,""),128&b){var w=Lu.alternate;if(null!==w){var x=w.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(b&(12|mt|yt)){case mt:iu(Lu),Lu.effectTag&=~mt;break;case 6:iu(Lu),Lu.effectTag&=~mt,ou(Lu.alternate,Lu);break;case yt:Lu.effectTag&=~yt;break;case 1028:Lu.effectTag&=~yt,ou(Lu.alternate,Lu);break;case 4:ou(Lu.alternate,Lu);break;case 8:au(u,s=Lu,l),nu(s)}Lu=Lu.nextEffect}}catch(e){if(null===Lu)throw o(Error(330));Cl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);if(x=Yn,w=Fn(),b=x.focusedElem,l=x.selectionRange,w!==b&&b&&b.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(b.ownerDocument.documentElement,b)){null!==l&&$n(b)&&(w=l.start,void 0===(x=l.end)&&(x=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(x,b.value.length)):(x=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(x=x.getSelection(),s=b.textContent.length,u=Math.min(l.start,s),l=void 0===l.end?u:Math.min(l.end,s),!x.extend&&u>l&&(s=l,l=u,u=s),s=Un(b,u),f=Un(b,l),s&&f&&(1!==x.rangeCount||x.anchorNode!==s.node||x.anchorOffset!==s.offset||x.focusNode!==f.node||x.focusOffset!==f.offset)&&((w=w.createRange()).setStart(s.node,s.offset),x.removeAllRanges(),u>l?(x.addRange(w),x.extend(f.node,f.offset)):(w.setEnd(f.node,f.offset),x.addRange(w))))),w=[];for(x=b;x=x.parentNode;)1===x.nodeType&&w.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof b.focus&&b.focus(),b=0;b<w.length;b++)(x=w[b]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Yn=null,yn=!!qn,qn=null,e.current=n,Lu=i;do{try{for(b=r;null!==Lu;){var k=Lu.effectTag;if(36&k){var C=Lu.alternate;switch(x=b,(w=Lu).tag){case 0:case 11:case 15:eu(16,32,w);break;case 1:var E=w.stateNode;if(4&w.effectTag)if(null===C)E.componentDidMount();else{var T=w.elementType===w.type?C.memoizedProps:Bi(w.type,C.memoizedProps);E.componentDidUpdate(T,C.memoizedState,E.__reactInternalSnapshotBeforeUpdate)}var S=w.updateQueue;null!==S&&fa(0,S,E);break;case 3:var M=w.updateQueue;if(null!==M){if(u=null,null!==w.child)switch(w.child.tag){case 5:u=w.child.stateNode;break;case 1:u=w.child.stateNode}fa(0,M,u)}break;case 5:var A=w.stateNode;null===C&&4&w.effectTag&&(x=A,Gn(w.type,w.memoizedProps)&&x.focus());break;case 6:case 4:case 12:break;case 13:if(null===w.memoizedState){var P=w.alternate;if(null!==P){var O=P.memoizedState;if(null!==O){var N=O.dehydrated;null!==N&&vt(N)}}}break;case 19:case 17:case 20:case 21:break;default:throw o(Error(163))}}if(128&k){var R=(w=Lu).ref;if(null!==R){var I=w.stateNode;switch(w.tag){case 5:var j=I;break;default:j=I}"function"==typeof R?R(j):R.current=j}}Lu=Lu.nextEffect}}catch(e){if(null===Lu)throw o(Error(330));Cl(Lu,e),Lu=Lu.nextEffect}}while(null!==Lu);Lu=null,Oi(),Eu=a}else e.current=n;if(Wu)Wu=!1,Hu=e,Bu=t;else for(Lu=i;null!==Lu;)t=Lu.nextEffect,Lu.nextEffect=null,Lu=t;if(0===(t=e.firstPendingTime)&&($u=null),1073741823===t?e===Yu?qu++:(qu=0,Yu=e):qu=0,"function"==typeof Tl&&Tl(n.stateNode,r),nl(e),Uu)throw Uu=!1,e=Fu,Fu=null,e;return(Eu&vu)!==du?null:(Wi(),null)}.bind(null,e,t)),null}function bl(){for(;null!==Lu;){var e=Lu.effectTag;(256&e)!==gt&&Jo(Lu.alternate,Lu),(512&e)===gt||Wu||(Wu=!0,Fi(97,(function(){return wl(),null}))),Lu=Lu.nextEffect}}function wl(){if(90!==Bu){var e=97<Bu?97:Bu;return Bu=90,Ui(e,xl)}}function xl(){if(null===Hu)return!1;var e=Hu;if(Hu=null,(Eu&(gu|mu))!==du)throw o(Error(331));var t=Eu;for(Eu|=mu,e=e.current.firstEffect;null!==e;){try{var n=e;if((512&n.effectTag)!==gt)switch(n.tag){case 0:case 11:case 15:eu(128,0,n),eu(0,64,n)}}catch(t){if(null===e)throw o(Error(330));Cl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Eu=t,Wi(),!0}function kl(e,t,n){oa(e,t=cu(e,t=Qo(n,t),1073741823)),null!==(e=el(e,1073741823))&&nl(e)}function Cl(e,t){if(3===e.tag)kl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){kl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$u||!$u.has(r))){oa(n,e=su(n,e=Qo(t,e),1073741823)),null!==(n=el(n,1073741823))&&nl(n);break}}n=n.return}}function El(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Tu===e&&Mu===n?Au===xu||Au===wu&&1073741823===Ou&&zi()-zu<Du?cl(e,Mu):ju=!0:jl(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,e.finishedExpirationTime===n&&(e.finishedExpirationTime=0,e.finishedWork=null),nl(e)))}Ku=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||li.current)So=!0;else{if(r<n){switch(So=!1,t.tag){case 3:zo(t),Eo();break;case 5:if(Ia(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:fi(t.type)&&gi(t);break;case 4:Na(t,t.stateNode.containerInfo);break;case 10:Xi(t,t.memoizedProps.value);break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Wo(e,t,n):(ai(za,1&za.current),null!==(t=Vo(e,t,n))?t.sibling:null);ai(za,1&za.current);break;case 19:if(r=t.childExpirationTime>=n,(64&e.effectTag)!==gt){if(r)return Bo(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),ai(za,za.current),!r)return null}return Vo(e,t,n)}So=!1}}else So=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=mt),e=t.pendingProps,i=si(t,ui.current),Ji(t,n),i=to(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,no(),fi(r)){var a=!0;gi(t)}else a=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null;var u=r.getDerivedStateFromProps;"function"==typeof u&&va(t,r,u,e),i.updater=ga,t.stateNode=i,i._reactInternalFiber=t,ba(t,r,e,n),t=jo(null,t,r,!0,a,n)}else t.tag=0,Mo(null,t,i,n),t=t.child;return t;case 16:if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=mt),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,a=t.tag=function(e){if("function"==typeof e)return Al(e)?1:0;if(null!=e){if((e=e.$$typeof)===H)return 11;if(e===q)return 14}return 2}(i),e=Bi(i,e),a){case 0:t=Ro(null,t,i,e,n);break;case 1:t=Io(null,t,i,e,n);break;case 11:t=Ao(null,t,i,e,n);break;case 14:t=Po(null,t,i,Bi(i.type,e),r,n);break;default:throw o(Error(306),i,"")}return t;case 0:return r=t.type,i=t.pendingProps,Ro(e,t,r,i=t.elementType===r?i:Bi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Io(e,t,r,i=t.elementType===r?i:Bi(r,i),n);case 3:if(zo(t),null===(r=t.updateQueue))throw o(Error(282));if(i=null!==(i=t.memoizedState)?i.element:null,sa(t,r,t.pendingProps,null,n),(r=t.memoizedState.element)===i)Eo(),t=Vo(e,t,n);else{if((i=t.stateNode.hydrate)&&(yo=Zn(t.stateNode.containerInfo.firstChild),mo=t,i=_o=!0),i)for(n=Ta(t,null,r,n),t.child=n;n;)n.effectTag=n.effectTag&~mt|yt,n=n.sibling;else Mo(e,t,r,n),Eo();t=t.child}return t;case 5:return Ia(t),null===e&&xo(t),r=t.type,i=t.pendingProps,a=null!==e?e.memoizedProps:null,u=i.children,Qn(r,i)?u=null:null!==a&&Qn(r,a)&&(t.effectTag|=16),No(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Mo(e,t,u,n),t=t.child),t;case 6:return null===e&&xo(t),null;case 13:return Wo(e,t,n);case 4:return Na(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ea(t,null,r,n):Mo(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,Ao(e,t,r,i=t.elementType===r?i:Bi(r,i),n);case 7:return Mo(e,t,t.pendingProps,n),t.child;case 8:case 12:return Mo(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,u=t.memoizedProps,Xi(t,a=i.value),null!==u){var l=u.value;if(0==(a=Vr(l,a)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,a):1073741823))){if(u.children===i.children&&!li.current){t=Vo(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){u=l.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!=(s.observedBits&a)){1===l.tag&&((s=ia(n,null)).tag=2,oa(l,s)),l.expirationTime<n&&(l.expirationTime=n),null!==(s=l.alternate)&&s.expirationTime<n&&(s.expirationTime=n),Zi(l.return,n),c.expirationTime<n&&(c.expirationTime=n);break}s=s.next}}else u=10===l.tag&&l.type===t.type?null:l.child;if(null!==u)u.return=l;else for(u=l;null!==u;){if(u===t){u=null;break}if(null!==(l=u.sibling)){l.return=u.return,u=l;break}u=u.return}l=u}}Mo(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(a=t.pendingProps).children,Ji(t,n),r=r(i=ea(i,a.unstable_observedBits)),t.effectTag|=1,Mo(e,t,r,n),t.child;case 14:return a=Bi(i=t.type,t.pendingProps),Po(e,t,i,a=Bi(i.type,a),r,n);case 15:return Oo(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Bi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=mt),t.tag=1,fi(r)?(e=!0,gi(t)):e=!1,Ji(t,n),ya(t,r,i),ba(t,r,i,n),jo(null,t,r,!0,e,n);case 19:return Bo(e,t,n)}throw o(Error(156),t.tag)};var Tl=null,Sl=null;function Ml(e,t,n,r){return new function(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=gt,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}(e,t,n,r)}function Al(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pl(e,t){var n=e.alternate;return null===n?((n=Ml(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=gt,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ol(e,t,n,r,i,a){var u=2;if(r=e,"function"==typeof e)Al(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case D:return Nl(n.children,i,a,t);case W:u=8,i|=7;break;case L:u=8,i|=1;break;case U:return(e=Ml(12,n,t,8|i)).elementType=U,e.type=U,e.expirationTime=a,e;case B:return(e=Ml(13,n,t,i)).type=B,e.elementType=B,e.expirationTime=a,e;case V:return(e=Ml(19,n,t,i)).elementType=V,e.expirationTime=a,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case F:u=10;break e;case $:u=9;break e;case H:u=11;break e;case q:u=14;break e;case Y:u=16,r=null;break e}throw o(Error(130),null==e?e:typeof e,"")}return(t=Ml(u,n,t,i)).elementType=e,t.type=r,t.expirationTime=a,t}function Nl(e,t,n,r){return(e=Ml(7,e,r,t)).expirationTime=n,e}function Rl(e,t,n){return(e=Ml(6,e,null,t)).expirationTime=n,e}function Il(e,t,n){return(t=Ml(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jl(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function zl(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Dl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Ll(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Ul(e,t,n,r,i,a){var u=t.current;e:if(n){t:{if(_t(n=n._reactInternalFiber)!==n||1!==n.tag)throw o(Error(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(fi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw o(Error(171))}if(1===n.tag){var c=n.type;if(fi(c)){n=vi(n,c,l);break e}}n=l}else n=oi;return null===t.context?t.context=n:t.pendingContext=n,t=a,(i=ia(r,i)).payload={element:e},null!==(t=void 0===t?null:t)&&(i.callback=t),oa(u,i),Ju(u,r),r}function Fl(e,t,n,r){var i=t.current,a=Qu(),o=pa.suspense;return Ul(e,t,n,i=Xu(a,i,o),o,r)}function $l(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Wl(e){var t=1073741821-25*(1+((1073741821-Qu()+500)/25|0));t<=Zu&&--t,this._expirationTime=Zu=t,this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Hl(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Bl(e,t,n){var r=new function(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=this.firstBatch=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}(e,t,n=null!=n&&!0===n.hydrate),i=Ml(3,null,null,2===t?7:1===t?3:0);return r.current=i,i.stateNode=r,e[rr]=r.current,n&&0!==t&&function(e){var t=Tn(e);ot.forEach((function(n){Sn(n,e,t)})),ut.forEach((function(n){Sn(n,e,t)}))}(9===e.nodeType?e:e.ownerDocument),r}function Vl(e,t,n){this._internalRoot=Bl(e,t,n)}function ql(e,t){this._internalRoot=Bl(e,2,t)}function Yl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Gl(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a._internalRoot;if("function"==typeof i){var u=i;i=function(){var e=$l(o);u.call(e)}}Fl(t,o,e,i)}else{if(a=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Vl(e,0,t?{hydrate:!0}:void 0)}(n,r),o=a._internalRoot,"function"==typeof i){var l=i;i=function(){var e=$l(o);l.call(e)}}ll((function(){Fl(t,o,e,i)}))}return $l(o)}function Ql(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yl(t))throw o(Error(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:z,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}J=function(e,t,n){switch(t){case"input":if(Me(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=ur(r);if(!i)throw o(Error(90));Ce(r),Me(r,i)}}}break;case"textarea":je(e,n);break;case"select":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},Wl.prototype.render=function(e){if(!this._defer)throw o(Error(250));this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Hl;return Ul(e,t,null,n,null,r._onCommit),r},Wl.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Wl.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(!this._defer||null===t)throw o(Error(251));if(this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,i=t;i!==this;)r=i,i=i._next;if(null===r)throw o(Error(251));r._next=i._next,this._next=t,e.firstBatch=this}if(this._defer=!1,t=n,(Eu&(gu|mu))!==du)throw o(Error(253));Ll(e,t),nl(e),Wi(),t=this._next,this._next=null,null!==(t=e.firstBatch=t)&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Wl.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Hl.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Hl.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];if("function"!=typeof n)throw o(Error(191),n);n()}}},ql.prototype.render=Vl.prototype.render=function(e,t){var n=this._internalRoot,r=new Hl;return null!==(t=void 0===t?null:t)&&r.then(t),Fl(e,n,null,r._onCommit),r},ql.prototype.unmount=Vl.prototype.unmount=function(e){var t=this._internalRoot,n=new Hl;return null!==(e=void 0===e?null:e)&&n.then(e),Fl(null,t,null,n._onCommit),n},ql.prototype.createBatch=function(){var e=new Wl(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime>=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},ae=ol,oe=ul,ue=il,le=function(e,t){var n=Eu;Eu|=2;try{return e(t)}finally{(Eu=n)===du&&Wi()}};var Xl={createPortal:Ql,findDOMNode:function(e){if(null==e)e=null;else if(1!==e.nodeType){var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw o(Error(188));throw o(Error(268),Object.keys(e))}e=null===(e=wt(t))?null:e.stateNode}return e},hydrate:function(e,t,n){if(!Yl(t))throw o(Error(200));return Gl(null,e,t,!0,n)},render:function(e,t,n){if(!Yl(t))throw o(Error(200));return Gl(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){if(!Yl(n))throw o(Error(200));if(null==e||void 0===e._reactInternalFiber)throw o(Error(38));return Gl(e,t,n,!1,r)},unmountComponentAtNode:function(e){if(!Yl(e))throw o(Error(40));return!!e._reactRootContainer&&(ll((function(){Gl(null,null,e,!1,(function(){e._reactRootContainer=null}))})),!0)},unstable_createPortal:function(){return Ql.apply(void 0,arguments)},unstable_batchedUpdates:ol,unstable_interactiveUpdates:function(e,t,n,r){return il(),ul(e,t,n,r)},unstable_discreteUpdates:ul,unstable_flushDiscreteUpdates:il,flushSync:function(e,t){if((Eu&(gu|mu))!==du)throw o(Error(187));var n=Eu;Eu|=1;try{return Ui(99,e.bind(null,t))}finally{Eu=n,Wi()}},unstable_createRoot:function(e,t){if(!Yl(e))throw o(Error(299),"unstable_createRoot");return new ql(e,t)},unstable_createSyncRoot:function(e,t){if(!Yl(e))throw o(Error(299),"unstable_createRoot");return new Vl(e,1,t)},unstable_flushControlled:function(e){var t=Eu;Eu|=1;try{Ui(99,e)}finally{(Eu=t)===du&&Wi()}},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{Events:[ar,or,ur,P.injectEventPluginsByName,h,Mt,function(e){T(e,St)},re,ie,xn,A,wl,{current:!1}]}};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Tl=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Sl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:N.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=wt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:ir,bundleType:0,version:"16.10.2",rendererPackageName:"react-dom"});var Kl={default:Xl},Zl=Kl&&Xl||Kl;e.exports=Zl.default||Zl},function(e,t,n){"use strict";e.exports=n(18)},function(e,t,n){"use strict";
/** @license React v0.16.2
* 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.
*/var r,i,a,o,u;if(Object.defineProperty(t,"__esModule",{value:!0}),"undefined"==typeof window||"function"!=typeof MessageChannel){var l=null,c=null,s=function(){if(null!==l)try{var e=t.unstable_now();l(!0,e),l=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==l?setTimeout(r,0,e):(l=e,setTimeout(s,0))},i=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},o=function(){return!1},u=t.unstable_forceFrameRate=function(){}}else{var h=window.performance,p=window.Date,d=window.setTimeout,v=window.clearTimeout,g=window.requestAnimationFrame,m=window.cancelAnimationFrame;if("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 m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")),"object"==typeof h&&"function"==typeof h.now)t.unstable_now=function(){return h.now()};else{var y=p.now();t.unstable_now=function(){return p.now()-y}}var _=!1,b=null,w=-1,x=5,k=0;o=function(){return t.unstable_now()>=k},u=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):x=0<e?Math.floor(1e3/e):33.33};var C=new MessageChannel,E=C.port2;C.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();k=e+x;try{b(!0,e)?E.postMessage(null):(_=!1,b=null)}catch(e){throw E.postMessage(null),e}}else _=!1},r=function(e){b=e,_||(_=!0,E.postMessage(null))},i=function(e,n){w=d((function(){e(t.unstable_now())}),n)},a=function(){v(w),w=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=Math.floor((n-1)/2),i=e[r];if(!(void 0!==i&&0<A(i,t)))break e;e[r]=t,e[n]=i,n=r}}function S(e){return void 0===(e=e[0])?null:e}function M(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],u=a+1,l=e[u];if(void 0!==o&&0>A(o,n))void 0!==l&&0>A(l,o)?(e[r]=l,e[u]=n,r=u):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==l&&0>A(l,n)))break e;e[r]=l,e[u]=n,r=u}}}return t}return null}function A(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],O=[],N=1,R=null,I=3,j=!1,z=!1,D=!1;function L(e){for(var t=S(O);null!==t;){if(null===t.callback)M(O);else{if(!(t.startTime<=e))break;M(O),t.sortIndex=t.expirationTime,T(P,t)}t=S(O)}}function U(e){if(D=!1,L(e),!z)if(null!==S(P))z=!0,r(F);else{var t=S(O);null!==t&&i(U,t.startTime-e)}}function F(e,n){z=!1,D&&(D=!1,a()),j=!0;var r=I;try{for(L(n),R=S(P);null!==R&&(!(R.expirationTime>n)||e&&!o());){var u=R.callback;if(null!==u){R.callback=null,I=R.priorityLevel;var l=u(R.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?R.callback=l:R===S(P)&&M(P),L(n)}else M(P);R=S(P)}if(null!==R)var c=!0;else{var s=S(O);null!==s&&i(U,s.startTime-n),c=!1}return c}finally{R=null,I=r,j=!1}}function $(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var W=u;t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=I;I=e;try{return t()}finally{I=n}},t.unstable_next=function(e){switch(I){case 1:case 2:case 3:var t=3;break;default:t=I}var n=I;I=t;try{return e()}finally{I=n}},t.unstable_scheduleCallback=function(e,n,o){var u=t.unstable_now();if("object"==typeof o&&null!==o){var l=o.delay;l="number"==typeof l&&0<l?u+l:u,o="number"==typeof o.timeout?o.timeout:$(e)}else o=$(e),l=u;return e={id:N++,callback:n,priorityLevel:e,startTime:l,expirationTime:o=l+o,sortIndex:-1},l>u?(e.sortIndex=l,T(O,e),null===S(P)&&e===S(O)&&(D?a():D=!0,i(U,l-u))):(e.sortIndex=o,T(P,e),z||j||(z=!0,r(F))),e},t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_wrapCallback=function(e){var t=I;return function(){var n=I;I=t;try{return e.apply(this,arguments)}finally{I=n}}},t.unstable_getCurrentPriorityLevel=function(){return I},t.unstable_shouldYield=function(){var e=t.unstable_now();L(e);var n=S(P);return n!==R&&null!==R&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<R.expirationTime||o()},t.unstable_requestPaint=W,t.unstable_continueExecution=function(){z||j||(z=!0,r(F))},t.unstable_pauseExecution=function(){},t.unstable_getFirstCallbackNode=function(){return S(P)},t.unstable_Profiling=null},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var n,r,i=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function u(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var l,c=[],s=!1,f=-1;function h(){s&&l&&(s=!1,l.length?c=l.concat(c):f=-1,c.length&&p())}function p(){if(!s){var e=u(h);s=!0;for(var t=c.length;t;){for(l=c,c=[];++f<t;)l&&l[f].run();f=-1,t=c.length}l=null,s=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function d(e,t){this.fun=e,this.array=t}function v(){}i.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];c.push(new d(e,t)),1!==c.length||s||u(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=v,i.addListener=v,i.once=v,i.off=v,i.removeListener=v,i.removeAllListeners=v,i.emit=v,i.prependListener=v,i.prependOnceListener=v,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";
/** @license React v16.10.2
* 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(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,i=r?Symbol.for("react.element"):60103,a=r?Symbol.for("react.portal"):60106,o=r?Symbol.for("react.fragment"):60107,u=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,s=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,h=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,d=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,b=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case i:switch(e=e.type){case f:case h:case o:case l:case u:case d:return e;default:switch(e=e&&e.$$typeof){case s:case p:case c:return e;default:return t}}case m:case g:case a:return t}}}function x(e){return w(e)===h}t.typeOf=w,t.AsyncMode=f,t.ConcurrentMode=h,t.ContextConsumer=s,t.ContextProvider=c,t.Element=i,t.ForwardRef=p,t.Fragment=o,t.Lazy=m,t.Memo=g,t.Portal=a,t.Profiler=l,t.StrictMode=u,t.Suspense=d,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===l||e===u||e===d||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===y||e.$$typeof===_||e.$$typeof===b)},t.isAsyncMode=function(e){return x(e)||w(e)===f},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===s},t.isContextProvider=function(e){return w(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===i},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===m},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===l},t.isStrictMode=function(e){return w(e)===u},t.isSuspense=function(e){return w(e)===d}},function(e,t,n){e.exports=n(24)()},function(e,t,n){"use strict";var r=n(25);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";n.r(t);var r=n(0),i=n.n(r),a=n(4),o=n.n(a),u=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},l=function(e){return 1===e.length&&(e=function(e){return function(t,n){return u(e(t),n)}}(e)),{left:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)<0?r=a+1:i=a}return r},right:function(t,n,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){var a=r+i>>>1;e(t[a],n)>0?i=a:r=a+1}return r}}}(u),c=l.right,s=(l.left,c),f=Array.prototype,h=(f.slice,f.map,function(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),a=new Array(i);++r<i;)a[r]=e+r*n;return a}),p=Math.sqrt(50),d=Math.sqrt(10),v=Math.sqrt(2),g=function(e,t,n){var r,i,a,o,u=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(i=e,e=t,t=i),0===(o=m(e,t,n))||!isFinite(o))return[];if(o>0)for(e=Math.ceil(e/o),t=Math.floor(t/o),a=new Array(i=Math.ceil(t-e+1));++u<i;)a[u]=(e+u)*o;else for(e=Math.floor(e*o),t=Math.ceil(t*o),a=new Array(i=Math.ceil(e-t+1));++u<i;)a[u]=(e-u)/o;return r&&a.reverse(),a};function m(e,t,n){var r=(t-e)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),a=r/Math.pow(10,i);return i>=0?(a>=p?10:a>=d?5:a>=v?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=p?10:a>=d?5:a>=v?2:1)}Array.prototype.slice;var y={value:function(){}};function _(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r)throw new Error("illegal type: "+e);r[e]=[]}return new b(r)}function b(e){this._=e}function w(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}function x(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=y,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}b.prototype=_.prototype={constructor:b,on:function(e,t){var n,r=this._,i=function(e,t){return e.trim().split(/^|\s+/).map((function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}}))}(e+"",r),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<o;)if(n=(e=i[a]).type)r[n]=x(r[n],e.name,t);else if(null==t)for(n in r)r[n]=x(r[n],e.name,null);return this}for(;++a<o;)if((n=(e=i[a]).type)&&(n=w(r[n],e.name)))return n},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new b(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(a=0,n=(r=this._[e]).length;a<n;++a)r[a].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};var k=_,C="http://www.w3.org/1999/xhtml",E={svg:"http://www.w3.org/2000/svg",xhtml:C,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},T=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),E.hasOwnProperty(t)?{space:E[t],local:e}:e},S=function(e){var t=T(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===C&&t.documentElement.namespaceURI===C?t.createElement(e):t.createElementNS(n,e)}})(t)};function M(){}var A=function(e){return null==e?M:function(){return this.querySelector(e)}};function P(){return[]}var O=function(e){return null==e?P:function(){return this.querySelectorAll(e)}},N=function(e){return function(){return this.matches(e)}},R=function(e){return new Array(e.length)};function I(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}I.prototype={constructor:I,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var j="$";function z(e,t,n,r,i,a){for(var o,u=0,l=t.length,c=a.length;u<c;++u)(o=t[u])?(o.__data__=a[u],r[u]=o):n[u]=new I(e,a[u]);for(;u<l;++u)(o=t[u])&&(i[u]=o)}function D(e,t,n,r,i,a,o){var u,l,c,s={},f=t.length,h=a.length,p=new Array(f);for(u=0;u<f;++u)(l=t[u])&&(p[u]=c=j+o.call(l,l.__data__,u,t),c in s?i[u]=l:s[c]=l);for(u=0;u<h;++u)(l=s[c=j+o.call(e,a[u],u,a)])?(r[u]=l,l.__data__=a[u],s[c]=null):n[u]=new I(e,a[u]);for(u=0;u<f;++u)(l=t[u])&&s[p[u]]===l&&(i[u]=l)}function L(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}var U=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView};function F(e,t){return e.style.getPropertyValue(t)||U(e).getComputedStyle(e,null).getPropertyValue(t)}function $(e){return e.trim().split(/^|\s+/)}function W(e){return e.classList||new H(e)}function H(e){this._node=e,this._names=$(e.getAttribute("class")||"")}function B(e,t){for(var n=W(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function V(e,t){for(var n=W(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function q(){this.textContent=""}function Y(){this.innerHTML=""}function G(){this.nextSibling&&this.parentNode.appendChild(this)}function Q(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function X(){return null}function K(){var e=this.parentNode;e&&e.removeChild(this)}function Z(){return this.parentNode.insertBefore(this.cloneNode(!1),this.nextSibling)}function J(){return this.parentNode.insertBefore(this.cloneNode(!0),this.nextSibling)}H.prototype={add:function(e){this._names.indexOf(e)<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var ee={},te=null;function ne(e,t,n){return e=re(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function re(e,t,n){return function(r){var i=te;te=r;try{e.call(this,this.__data__,t,n)}finally{te=i}}}function ie(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,a=t.length;r<a;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++i]=n:this.removeEventListener(n.type,n.listener,n.capture);++i?t.length=i:delete this.__on}}}function ae(e,t,n){var r=ee.hasOwnProperty(e.type)?ne:re;return function(i,a,o){var u,l=this.__on,c=r(t,a,o);if(l)for(var s=0,f=l.length;s<f;++s)if((u=l[s]).type===e.type&&u.name===e.name)return this.removeEventListener(u.type,u.listener,u.capture),this.addEventListener(u.type,u.listener=c,u.capture=n),void(u.value=t);this.addEventListener(e.type,c,n),u={type:e.type,name:e.name,value:t,listener:c,capture:n},l?l.push(u):this.__on=[u]}}function oe(e,t,n){var r=U(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(ee={mouseenter:"mouseover",mouseleave:"mouseout"}));var ue=[null];function le(e,t){this._groups=e,this._parents=t}function ce(){return new le([[document.documentElement]],ue)}le.prototype=ce.prototype={constructor:le,select:function(e){"function"!=typeof e&&(e=A(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o,u=t[i],l=u.length,c=r[i]=new Array(l),s=0;s<l;++s)(a=u[s])&&(o=e.call(a,a.__data__,s,u))&&("__data__"in a&&(o.__data__=a.__data__),c[s]=o);return new le(r,this._parents)},selectAll:function(e){"function"!=typeof e&&(e=O(e));for(var t=this._groups,n=t.length,r=[],i=[],a=0;a<n;++a)for(var o,u=t[a],l=u.length,c=0;c<l;++c)(o=u[c])&&(r.push(e.call(o,o.__data__,c,u)),i.push(o));return new le(r,i)},filter:function(e){"function"!=typeof e&&(e=N(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],u=o.length,l=r[i]=[],c=0;c<u;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new le(r,this._parents)},data:function(e,t){if(!e)return p=new Array(this.size()),c=-1,this.each((function(e){p[++c]=e})),p;var n=t?D:z,r=this._parents,i=this._groups;"function"!=typeof e&&(e=function(e){return function(){return e}}(e));for(var a=i.length,o=new Array(a),u=new Array(a),l=new Array(a),c=0;c<a;++c){var s=r[c],f=i[c],h=f.length,p=e.call(s,s&&s.__data__,c,r),d=p.length,v=u[c]=new Array(d),g=o[c]=new Array(d);n(s,f,v,g,l[c]=new Array(h),p,t);for(var m,y,_=0,b=0;_<d;++_)if(m=v[_]){for(_>=b&&(b=_+1);!(y=g[b])&&++b<d;);m._next=y||null}}return(o=new le(o,r))._enter=u,o._exit=l,o},enter:function(){return new le(this._enter||this._groups.map(R),this._parents)},exit:function(){return new le(this._exit||this._groups.map(R),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,a=this.exit();return r="function"==typeof e?e(r):r.append(e+""),null!=t&&(i=t(i)),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(e){for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var l,c=t[u],s=n[u],f=c.length,h=o[u]=new Array(f),p=0;p<f;++p)(l=c[p]||s[p])&&(h[p]=l);for(;u<r;++u)o[u]=t[u];return new le(o,this._parents)},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],a=i.length-1,o=i[a];--a>=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=L);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a<r;++a){for(var o,u=n[a],l=u.length,c=i[a]=new Array(l),s=0;s<l;++s)(o=u[s])&&(c[s]=o);c.sort(t)}return new le(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){var e=new Array(this.size()),t=-1;return this.each((function(){e[++t]=this})),e},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var o=r[i];if(o)return o}return null},size:function(){var e=0;return this.each((function(){++e})),e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,a=t[n],o=0,u=a.length;o<u;++o)(i=a[o])&&e.call(i,i.__data__,o,a);return this},attr:function(e,t){var n=T(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?n.local?function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}:function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):F(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=$(e+"");if(arguments.length<2){for(var r=W(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?B:V)(this,e)}}:t?function(e){return function(){B(this,e)}}:function(e){return function(){V(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?q:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?Y:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(G)},lower:function(){return this.each(Q)},append:function(e){var t="function"==typeof e?e:S(e);return this.select((function(){return this.appendChild(t.apply(this,arguments))}))},insert:function(e,t){var n="function"==typeof e?e:S(e),r=null==t?X:"function"==typeof t?t:A(t);return this.select((function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)}))},remove:function(){return this.each(K)},clone:function(e){return this.select(e?J:Z)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,a=function(e){return e.trim().split(/^|\s+/).map((function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}))}(e+""),o=a.length;if(!(arguments.length<2)){for(u=t?ae:ie,null==n&&(n=!1),r=0;r<o;++r)this.each(u(a[r],t,n));return this}var u=this.node().__on;if(u)for(var l,c=0,s=u.length;c<s;++c)for(r=0,l=u[c];r<o;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return oe(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return oe(this,e,t)}})(e,t))}};var se=ce,fe=function(e){return"string"==typeof e?new le([[document.querySelector(e)]],[document.documentElement]):new le([[e]],ue)},he=0;function pe(){this._="@"+(++he).toString(36)}pe.prototype=function(){return new pe}.prototype={constructor:pe,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var de=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e};function ve(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ge(){}var me="\\s*([+-]?\\d+)\\s*",ye="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",_e="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",be=/^#([0-9a-f]{3,8})$/,we=new RegExp("^rgb\\("+[me,me,me]+"\\)$"),xe=new RegExp("^rgb\\("+[_e,_e,_e]+"\\)$"),ke=new RegExp("^rgba\\("+[me,me,me,ye]+"\\)$"),Ce=new RegExp("^rgba\\("+[_e,_e,_e,ye]+"\\)$"),Ee=new RegExp("^hsl\\("+[ye,_e,_e]+"\\)$"),Te=new RegExp("^hsla\\("+[ye,_e,_e,ye]+"\\)$"),Se={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Me(){return this.rgb().formatHex()}function Ae(){return this.rgb().formatRgb()}function Pe(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=be.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Oe(t):3===n?new je(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?new je(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?new je(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=we.exec(e))?new je(t[1],t[2],t[3],1):(t=xe.exec(e))?new je(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ke.exec(e))?Ne(t[1],t[2],t[3],t[4]):(t=Ce.exec(e))?Ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ee.exec(e))?Ue(t[1],t[2]/100,t[3]/100,1):(t=Te.exec(e))?Ue(t[1],t[2]/100,t[3]/100,t[4]):Se.hasOwnProperty(e)?Oe(Se[e]):"transparent"===e?new je(NaN,NaN,NaN,0):null}function Oe(e){return new je(e>>16&255,e>>8&255,255&e,1)}function Ne(e,t,n,r){return r<=0&&(e=t=n=NaN),new je(e,t,n,r)}function Re(e){return e instanceof ge||(e=Pe(e)),e?new je((e=e.rgb()).r,e.g,e.b,e.opacity):new je}function Ie(e,t,n,r){return 1===arguments.length?Re(e):new je(e,t,n,null==r?1:r)}function je(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function ze(){return"#"+Le(this.r)+Le(this.g)+Le(this.b)}function De(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Le(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Ue(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new We(e,t,n,r)}function Fe(e){if(e instanceof We)return new We(e.h,e.s,e.l,e.opacity);if(e instanceof ge||(e=Pe(e)),!e)return new We;if(e instanceof We)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),o=NaN,u=a-i,l=(a+i)/2;return u?(o=t===a?(n-r)/u+6*(n<r):n===a?(r-t)/u+2:(t-n)/u+4,u/=l<.5?a+i:2-a-i,o*=60):u=l>0&&l<1?0:o,new We(o,u,l,e.opacity)}function $e(e,t,n,r){return 1===arguments.length?Fe(e):new We(e,t,n,null==r?1:r)}function We(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function He(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Be(e,t,n,r,i){var a=e*e,o=a*e;return((1-3*e+3*a-o)*t+(4-6*a+3*o)*n+(1+3*e+3*a-3*o)*r+o*i)/6}de(ge,Pe,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Me,formatHex:Me,formatHsl:function(){return Fe(this).formatHsl()},formatRgb:Ae,toString:Ae}),de(je,Ie,ve(ge,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new je(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new je(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:ze,formatHex:ze,formatRgb:De,toString:De})),de(We,$e,ve(ge,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new We(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new We(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new je(He(e>=240?e-240:e+120,i,r),He(e,i,r),He(e<120?e+240:e-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ve=function(e){return function(){return e}};function qe(e,t){return function(n){return e+n*t}}function Ye(e,t){var n=t-e;return n?qe(e,n>180||n<-180?n-360*Math.round(n/360):n):Ve(isNaN(e)?t:e)}function Ge(e,t){var n=t-e;return n?qe(e,n):Ve(isNaN(e)?t:e)}var Qe=function e(t){var n=function(e){return 1==(e=+e)?Ge:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):Ve(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Ie(e)).r,(t=Ie(t)).r),i=n(e.g,t.g),a=n(e.b,t.b),o=Ge(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=i(t),e.b=a(t),e.opacity=o(t),e+""}}return r.gamma=e,r}(1);function Xe(e){return function(t){var n,r,i=t.length,a=new Array(i),o=new Array(i),u=new Array(i);for(n=0;n<i;++n)r=Ie(t[n]),a[n]=r.r||0,o[n]=r.g||0,u[n]=r.b||0;return a=e(a),o=e(o),u=e(u),r.opacity=1,function(e){return r.r=a(e),r.g=o(e),r.b=u(e),r+""}}}Xe((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],o=r>0?e[r-1]:2*i-a,u=r<t-1?e[r+2]:2*a-i;return Be((n-r/t)*t,o,i,a,u)}})),Xe((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],a=e[r%t],o=e[(r+1)%t],u=e[(r+2)%t];return Be((n-r/t)*t,i,a,o,u)}}));var Ke,Ze,Je,et,tt=function(e,t){return t-=e=+e,function(n){return e+t*n}},nt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,rt=new RegExp(nt.source,"g"),it=function(e,t){var n,r,i,a=nt.lastIndex=rt.lastIndex=0,o=-1,u=[],l=[];for(e+="",t+="";(n=nt.exec(e))&&(r=rt.exec(t));)(i=r.index)>a&&(i=t.slice(a,i),u[o]?u[o]+=i:u[++o]=i),(n=n[0])===(r=r[0])?u[o]?u[o]+=r:u[++o]=r:(u[++o]=null,l.push({i:o,x:tt(n,r)})),a=rt.lastIndex;return a<t.length&&(i=t.slice(a),u[o]?u[o]+=i:u[++o]=i),u.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)u[(n=l[r]).i]=n.x(e);return u.join("")})},at=function(e,t){var n,r=typeof t;return null==t||"boolean"===r?Ve(t):("number"===r?tt:"string"===r?(n=Pe(t))?(t=n,Qe):it:t instanceof Pe?Qe:t instanceof Date?function(e,t){var n=new Date;return t-=e=+e,function(r){return n.setTime(e+t*r),n}}:Array.isArray(t)?function(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,a=new Array(i),o=new Array(r);for(n=0;n<i;++n)a[n]=at(e[n],t[n]);for(;n<r;++n)o[n]=t[n];return function(e){for(n=0;n<i;++n)o[n]=a[n](e);return o}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var n,r={},i={};for(n in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)n in e?r[n]=at(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}:tt)(e,t)},ot=function(e,t){return t-=e=+e,function(n){return Math.round(e+t*n)}},ut=180/Math.PI,lt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},ct=function(e,t,n,r,i,a){var o,u,l;return(o=Math.sqrt(e*e+t*t))&&(e/=o,t/=o),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(u=Math.sqrt(n*n+r*r))&&(n/=u,r/=u,l/=u),e*r<t*n&&(e=-e,t=-t,l=-l,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*ut,skewX:Math.atan(l)*ut,scaleX:o,scaleY:u}};function st(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(a,o){var u=[],l=[];return a=e(a),o=e(o),function(e,r,i,a,o,u){if(e!==i||r!==a){var l=o.push("translate(",null,t,null,n);u.push({i:l-4,x:tt(e,i)},{i:l-2,x:tt(r,a)})}else(i||a)&&o.push("translate("+i+t+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,u,l),function(e,t,n,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:tt(e,t)})):t&&n.push(i(n)+"rotate("+t+r)}(a.rotate,o.rotate,u,l),function(e,t,n,a){e!==t?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:tt(e,t)}):t&&n.push(i(n)+"skewX("+t+r)}(a.skewX,o.skewX,u,l),function(e,t,n,r,a,o){if(e!==n||t!==r){var u=a.push(i(a)+"scale(",null,",",null,")");o.push({i:u-4,x:tt(e,n)},{i:u-2,x:tt(t,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,u,l),a=o=null,function(e){for(var t,n=-1,r=l.length;++n<r;)u[(t=l[n]).i]=t.x(e);return u.join("")}}}var ft=st((function(e){return"none"===e?lt:(Ke||(Ke=document.createElement("DIV"),Ze=document.documentElement,Je=document.defaultView),Ke.style.transform=e,e=Je.getComputedStyle(Ze.appendChild(Ke),null).getPropertyValue("transform"),Ze.removeChild(Ke),e=e.slice(7,-1).split(","),ct(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}),"px, ","px)","deg)"),ht=st((function(e){return null==e?lt:(et||(et=document.createElementNS("http://www.w3.org/2000/svg","g")),et.setAttribute("transform",e),(e=et.transform.baseVal.consolidate())?(e=e.matrix,ct(e.a,e.b,e.c,e.d,e.e,e.f)):lt)}),", ",")",")");function pt(e){return function(t,n){var r=e((t=$e(t)).h,(n=$e(n)).h),i=Ge(t.s,n.s),a=Ge(t.l,n.l),o=Ge(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=i(e),t.l=a(e),t.opacity=o(e),t+""}}}Math.SQRT2;var dt=pt(Ye),vt=(pt(Ge),Math.PI/180),gt=180/Math.PI,mt=.96422,yt=1,_t=.82521,bt=4/29,wt=6/29,xt=3*wt*wt,kt=wt*wt*wt;function Ct(e){if(e instanceof Et)return new Et(e.l,e.a,e.b,e.opacity);if(e instanceof Ot)return Nt(e);e instanceof je||(e=Re(e));var t,n,r=At(e.r),i=At(e.g),a=At(e.b),o=Tt((.2225045*r+.7168786*i+.0606169*a)/yt);return r===i&&i===a?t=n=o:(t=Tt((.4360747*r+.3850649*i+.1430804*a)/mt),n=Tt((.0139322*r+.0971045*i+.7141733*a)/_t)),new Et(116*o-16,500*(t-o),200*(o-n),e.opacity)}function Et(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Tt(e){return e>kt?Math.pow(e,1/3):e/xt+bt}function St(e){return e>wt?e*e*e:xt*(e-bt)}function Mt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function At(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Pt(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof Ot)return new Ot(e.h,e.c,e.l,e.opacity);if(e instanceof Et||(e=Ct(e)),0===e.a&&0===e.b)return new Ot(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*gt;return new Ot(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Ot(e,t,n,null==r?1:r)}function Ot(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function Nt(e){if(isNaN(e.h))return new Et(e.l,0,0,e.opacity);var t=e.h*vt;return new Et(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function Rt(e){return function(t,n){var r=e((t=Pt(t)).h,(n=Pt(n)).h),i=Ge(t.c,n.c),a=Ge(t.l,n.l),o=Ge(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=a(e),t.opacity=o(e),t+""}}}de(Et,(function(e,t,n,r){return 1===arguments.length?Ct(e):new Et(e,t,n,null==r?1:r)}),ve(ge,{brighter:function(e){return new Et(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new Et(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new je(Mt(3.1338561*(t=mt*St(t))-1.6168667*(e=yt*St(e))-.4906146*(n=_t*St(n))),Mt(-.9787684*t+1.9161415*e+.033454*n),Mt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),de(Ot,Pt,ve(ge,{brighter:function(e){return new Ot(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new Ot(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return Nt(this).rgb()}})),Rt(Ye),Rt(Ge);var It=-.29227,jt=-.90649,zt=1.97294,Dt=zt*jt,Lt=1.78277*zt,Ut=1.78277*It- -.14861*jt;function Ft(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof $t)return new $t(e.h,e.s,e.l,e.opacity);e instanceof je||(e=Re(e));var t=e.r/255,n=e.g/255,r=e.b/255,i=(Ut*r+Dt*t-Lt*n)/(Ut+Dt-Lt),a=r-i,o=(zt*(n-i)-It*a)/jt,u=Math.sqrt(o*o+a*a)/(zt*i*(1-i)),l=u?Math.atan2(o,a)*gt-120:NaN;return new $t(l<0?l+360:l,u,i,e.opacity)}(e):new $t(e,t,n,null==r?1:r)}function $t(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Wt(e){return function t(n){function r(t,r){var i=e((t=Ft(t)).h,(r=Ft(r)).h),a=Ge(t.s,r.s),o=Ge(t.l,r.l),u=Ge(t.opacity,r.opacity);return function(e){return t.h=i(e),t.s=a(e),t.l=o(Math.pow(e,n)),t.opacity=u(e),t+""}}return n=+n,r.gamma=t,r}(1)}de($t,Ft,ve(ge,{brighter:function(e){return e=null==e?1/.7:Math.pow(1/.7,e),new $t(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?.7:Math.pow(.7,e),new $t(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*vt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),i=Math.sin(e);return new je(255*(t+n*(-.14861*r+1.78277*i)),255*(t+n*(It*r+jt*i)),255*(t+n*(zt*r)),this.opacity)}})),Wt(Ye),Wt(Ge);var Ht,Bt,Vt=0,qt=0,Yt=0,Gt=1e3,Qt=0,Xt=0,Kt=0,Zt="object"==typeof performance&&performance.now?performance:Date,Jt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function en(){return Xt||(Jt(tn),Xt=Zt.now()+Kt)}function tn(){Xt=0}function nn(){this._call=this._time=this._next=null}function rn(e,t,n){var r=new nn;return r.restart(e,t,n),r}function an(){Xt=(Qt=Zt.now())+Kt,Vt=qt=0;try{!function(){en(),++Vt;for(var e,t=Ht;t;)(e=Xt-t._time)>=0&&t._call.call(null,e),t=t._next;--Vt}()}finally{Vt=0,function(){for(var e,t,n=Ht,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Ht=t);Bt=e,un(r)}(),Xt=0}}function on(){var e=Zt.now(),t=e-Qt;t>Gt&&(Kt-=t,Qt=e)}function un(e){Vt||(qt&&(qt=clearTimeout(qt)),e-Xt>24?(e<1/0&&(qt=setTimeout(an,e-Zt.now()-Kt)),Yt&&(Yt=clearInterval(Yt))):(Yt||(Qt=Zt.now(),Yt=setInterval(on,Gt)),Vt=1,Jt(an)))}nn.prototype=rn.prototype={constructor:nn,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?en():+n)+(null==t?0:+t),this._next||Bt===this||(Bt?Bt._next=this:Ht=this,Bt=this),this._call=e,this._time=n,un()},stop:function(){this._call&&(this._call=null,this._time=1/0,un())}};var ln=function(e,t,n){var r=new nn;return t=null==t?0:+t,r.restart((function(n){r.stop(),e(n+t)}),t,n),r},cn=k("start","end","cancel","interrupt"),sn=[],fn=0,hn=1,pn=2,dn=3,vn=4,gn=5,mn=6,yn=function(e,t,n,r,i,a){var o=e.__transition;if(o){if(n in o)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function a(l){var c,s,f,h;if(n.state!==hn)return u();for(c in i)if((h=i[c]).name===n.name){if(h.state===dn)return ln(a);h.state===vn?(h.state=mn,h.timer.stop(),h.on.call("interrupt",e,e.__data__,h.index,h.group),delete i[c]):+c<t&&(h.state=mn,h.timer.stop(),h.on.call("cancel",e,e.__data__,h.index,h.group),delete i[c])}if(ln((function(){n.state===dn&&(n.state=vn,n.timer.restart(o,n.delay,n.time),o(l))})),n.state=pn,n.on.call("start",e,e.__data__,n.index,n.group),n.state===pn){for(n.state=dn,r=new Array(f=n.tween.length),c=0,s=-1;c<f;++c)(h=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++s]=h);r.length=s+1}}function o(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(u),n.state=gn,1),a=-1,o=r.length;++a<o;)r[a].call(e,i);n.state===gn&&(n.on.call("end",e,e.__data__,n.index,n.group),u())}function u(){for(var r in n.state=mn,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=rn((function(e){n.state=hn,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)}),0,n.time)}(e,n,{name:t,index:r,group:i,on:cn,tween:sn,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:fn})};function _n(e,t){var n=wn(e,t);if(n.state>fn)throw new Error("too late; already scheduled");return n}function bn(e,t){var n=wn(e,t);if(n.state>dn)throw new Error("too late; already running");return n}function wn(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("transition not found");return n}function xn(e,t,n){var r=e._id;return e.each((function(){var e=bn(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)})),function(e){return wn(e,r).value[t]}}var kn=function(e,t){var n;return("number"==typeof t?tt:t instanceof Pe?Qe:(n=Pe(t))?(t=n,Qe):it)(e,t)},Cn=se.prototype.constructor;function En(e){return function(){this.style.removeProperty(e)}}var Tn=0;function Sn(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function Mn(){return++Tn}var An=se.prototype;function Pn(e){return 1-Math.pow(2,-10*e)}Sn.prototype=function(e){return se().transition(e)}.prototype={constructor:Sn,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=A(e));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o<i;++o)for(var u,l,c=r[o],s=c.length,f=a[o]=new Array(s),h=0;h<s;++h)(u=c[h])&&(l=e.call(u,u.__data__,h,c))&&("__data__"in u&&(l.__data__=u.__data__),f[h]=l,yn(f[h],t,n,h,f,wn(u,n)));return new Sn(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=O(e));for(var r=this._groups,i=r.length,a=[],o=[],u=0;u<i;++u)for(var l,c=r[u],s=c.length,f=0;f<s;++f)if(l=c[f]){for(var h,p=e.call(l,l.__data__,f,c),d=wn(l,n),v=0,g=p.length;v<g;++v)(h=p[v])&&yn(h,t,n,v,p,d);a.push(p),o.push(l)}return new Sn(a,o,t,n)},filter:function(e){"function"!=typeof e&&(e=N(e));for(var t=this._groups,n=t.length,r=new Array(n),i=0;i<n;++i)for(var a,o=t[i],u=o.length,l=r[i]=[],c=0;c<u;++c)(a=o[c])&&e.call(a,a.__data__,c,o)&&l.push(a);return new Sn(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),o=new Array(r),u=0;u<a;++u)for(var l,c=t[u],s=n[u],f=c.length,h=o[u]=new Array(f),p=0;p<f;++p)(l=c[p]||s[p])&&(h[p]=l);for(;u<r;++u)o[u]=t[u];return new Sn(o,this._parents,this._name,this._id)},selection:function(){return new Cn(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=Mn(),r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],l=u.length,c=0;c<l;++c)if(o=u[c]){var s=wn(o,t);yn(o,e,n,c,u,{time:s.time+s.delay+s.duration,delay:0,duration:s.duration,ease:s.ease})}return new Sn(r,this._parents,e,n)},call:An.call,nodes:An.nodes,node:An.node,size:An.size,empty:An.empty,each:An.each,on:function(e,t){var n=this._id;return arguments.length<2?wn(this.node(),n).on.on(e):this.each(function(e,t,n){var r,i,a=function(e){return(e+"").trim().split(/^|\s+/).every((function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e}))}(t)?_n:bn;return function(){var o=a(this,e),u=o.on;u!==r&&(i=(r=u).copy()).on(t,n),o.on=i}}(n,e,t))},attr:function(e,t){var n=T(e),r="transform"===n?ht:kn;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,i,a;return function(){var o,u,l=n(this);if(null!=l)return(o=this.getAttributeNS(e.space,e.local))===(u=l+"")?null:o===r&&u===i?a:(i=u,a=t(r=o,l));this.removeAttributeNS(e.space,e.local)}}:function(e,t,n){var r,i,a;return function(){var o,u,l=n(this);if(null!=l)return(o=this.getAttribute(e))===(u=l+"")?null:o===r&&u===i?a:(i=u,a=t(r=o,l));this.removeAttribute(e)}})(n,r,xn(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttributeNS(e.space,e.local);return o===a?null:o===r?i:i=t(r=o,n)}}:function(e,t,n){var r,i,a=n+"";return function(){var o=this.getAttribute(e);return o===a?null:o===r?i:i=t(r=o,n)}})(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=T(e);return this.tween(n,(r.local?function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttributeNS(e.space,e.local,t(n))}}(e,i)),n}return i._value=t,i}:function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(e,t){return function(n){this.setAttribute(e,t(n))}}(e,i)),n}return i._value=t,i})(r,t))},style:function(e,t,n){var r="transform"==(e+="")?ft:kn;return null==t?this.styleTween(e,function(e,t){var n,r,i;return function(){var a=F(this,e),o=(this.style.removeProperty(e),F(this,e));return a===o?null:a===n&&o===r?i:i=t(n=a,r=o)}}(e,r)).on("end.style."+e,En(e)):"function"==typeof t?this.styleTween(e,function(e,t,n){var r,i,a;return function(){var o=F(this,e),u=n(this),l=u+"";return null==u&&(this.style.removeProperty(e),l=u=F(this,e)),o===l?null:o===r&&l===i?a:(i=l,a=t(r=o,u))}}(e,r,xn(this,"style."+e,t))).each(function(e,t){var n,r,i,a,o="style."+t,u="end."+o;return function(){var l=bn(this,e),c=l.on,s=null==l.value[o]?a||(a=En(t)):void 0;c===n&&i===s||(r=(n=c).copy()).on(u,i=s),l.on=r}}(this._id,e)):this.styleTween(e,function(e,t,n){var r,i,a=n+"";return function(){var o=F(this,e);return o===a?null:o===r?i:i=t(r=o,n)}}(e,r,t),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,function(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&function(e,t,n){return function(r){this.style.setProperty(e,t(r),n)}}(e,a,n)),r}return a._value=t,a}(e,t,null==n?"":n))},text:function(e){return this.tween("text","function"==typeof e?function(e){return function(){var t=e(this);this.textContent=null==t?"":t}}(xn(this,"text",e)):function(e){return function(){this.textContent=e}}(null==e?"":e+""))},remove:function(){return this.on("end.remove",function(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}(this._id))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=wn(this.node(),n).tween,a=0,o=i.length;a<o;++a)if((r=i[a]).name===e)return r.value;return null}return this.each((null==t?function(e,t){var n,r;return function(){var i=bn(this,e),a=i.tween;if(a!==n)for(var o=0,u=(r=n=a).length;o<u;++o)if(r[o].name===t){(r=r.slice()).splice(o,1);break}i.tween=r}}:function(e,t,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var a=bn(this,e),o=a.tween;if(o!==r){i=(r=o).slice();for(var u={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=u;break}l===c&&i.push(u)}a.tween=i}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){_n(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){_n(this,e).delay=t}})(t,e)):wn(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){bn(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t=+t,function(){bn(this,e).duration=t}})(t,e)):wn(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw new Error;return function(){bn(this,e).ease=t}}(t,e)):wn(this.node(),t).ease},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise((function(a,o){var u={value:o},l={value:function(){0==--i&&a()}};n.each((function(){var n=bn(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(u),t._.interrupt.push(u),t._.end.push(l)),n.on=t}))}))}},function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(3),function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(3),function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(3),Math.PI,function e(t){function n(e){return e*e*((t+1)*e-t)}return t=+t,n.overshoot=e,n}(1.70158),function e(t){function n(e){return--e*e*((t+1)*e+t)+1}return t=+t,n.overshoot=e,n}(1.70158),function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(1.70158);var On=2*Math.PI,Nn=(function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=On);function i(e){return t*Math.pow(2,10*--e)*Math.sin((r-e)/n)}return i.amplitude=function(t){return e(t,n*On)},i.period=function(n){return e(t,n)},i}(1,.3),function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=On);function i(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+r)/n)}return i.amplitude=function(t){return e(t,n*On)},i.period=function(n){return e(t,n)},i}(1,.3),function e(t,n){var r=Math.asin(1/(t=Math.max(1,t)))*(n/=On);function i(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((r-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((r+e)/n))/2}return i.amplitude=function(t){return e(t,n*On)},i.period=function(n){return e(t,n)},i}(1,.3),{time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}});function Rn(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return Nn.time=en(),Nn;return n}function In(e){return{type:e}}se.prototype.interrupt=function(e){return this.each((function(){!function(e,t){var n,r,i,a=e.__transition,o=!0;if(a){for(i in t=null==t?null:t+"",a)(n=a[i]).name===t?(r=n.state>pn&&n.state<gn,n.state=mn,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete e.__transition}}(this,e)}))},se.prototype.transition=function(e){var t,n;e instanceof Sn?(t=e._id,e=e._name):(t=Mn(),(n=Nn).time=en(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var o,u=r[a],l=u.length,c=0;c<l;++c)(o=u[c])&&yn(o,e,t,c,u,n||Rn(o,t));return new Sn(r,this._parents,e,t)},["w","e"].map(In),["n","s"].map(In),["n","w","e","s","nw","ne","sw","se"].map(In),Math.cos,Math.sin,Math.PI,Math.max,Array.prototype.slice;var jn=Math.PI,zn=2*jn,Dn=zn-1e-6;function Ln(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function Un(){return new Ln}Ln.prototype=Un.prototype={constructor:Ln,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,i,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(e,t,n,r,i){e=+e,t=+t,n=+n,r=+r,i=+i;var a=this._x1,o=this._y1,u=n-e,l=r-t,c=a-e,s=o-t,f=c*c+s*s;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>1e-6)if(Math.abs(s*u-l*c)>1e-6&&i){var h=n-a,p=r-o,d=u*u+l*l,v=h*h+p*p,g=Math.sqrt(d),m=Math.sqrt(f),y=i*Math.tan((jn-Math.acos((d+f-v)/(2*g*m)))/2),_=y/m,b=y/g;Math.abs(_-1)>1e-6&&(this._+="L"+(e+_*c)+","+(t+_*s)),this._+="A"+i+","+i+",0,0,"+ +(s*h>c*p)+","+(this._x1=e+b*u)+","+(this._y1=t+b*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t)},arc:function(e,t,n,r,i,a){e=+e,t=+t,a=!!a;var o=(n=+n)*Math.cos(r),u=n*Math.sin(r),l=e+o,c=t+u,s=1^a,f=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(f<0&&(f=f%zn+zn),f>Dn?this._+="A"+n+","+n+",0,1,"+s+","+(e-o)+","+(t-u)+"A"+n+","+n+",0,1,"+s+","+(this._x1=l)+","+(this._y1=c):f>1e-6&&(this._+="A"+n+","+n+",0,"+ +(f>=jn)+","+s+","+(this._x1=e+n*Math.cos(i))+","+(this._y1=t+n*Math.sin(i))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var Fn=Un;function $n(){}function Wn(e,t){var n=new $n;if(e instanceof $n)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,i=-1,a=e.length;if(null==t)for(;++i<a;)n.set(i,e[i]);else for(;++i<a;)n.set(t(r=e[i],i,e),r)}else if(e)for(var o in e)n.set(o,e[o]);return n}function Hn(){}$n.prototype=Wn.prototype={constructor:$n,has:function(e){return"$"+e in this},get:function(e){return this["$"+e]},set:function(e,t){return this["$"+e]=t,this},remove:function(e){var t="$"+e;return t in this&&delete this[t]},clear:function(){for(var e in this)"$"===e[0]&&delete this[e]},keys:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)"$"===t[0]&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)"$"===t[0]&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)"$"===t[0]&&++e;return e},empty:function(){for(var e in this)if("$"===e[0])return!1;return!0},each:function(e){for(var t in this)"$"===t[0]&&e(this[t],t.slice(1),this)}};var Bn=Wn.prototype;Hn.prototype=function(e,t){var n=new Hn;if(e instanceof Hn)e.each((function(e){n.add(e)}));else if(e){var r=-1,i=e.length;if(null==t)for(;++r<i;)n.add(e[r]);else for(;++r<i;)n.add(t(e[r],r,e))}return n}.prototype={constructor:Hn,has:Bn.has,add:function(e){return this["$"+(e+="")]=e,this},remove:Bn.remove,clear:Bn.clear,values:Bn.keys,size:Bn.size,empty:Bn.empty,each:Bn.each},Array.prototype.slice;var Vn={},qn={},Yn=34,Gn=10,Qn=13;function Xn(e){return new Function("d","return {"+e.map((function(e,t){return JSON.stringify(e)+": d["+t+"]"})).join(",")+"}")}function Kn(e){var t=Object.create(null),n=[];return e.forEach((function(e){for(var r in e)r in t||n.push(t[r]=r)})),n}function Zn(e,t){var n=e+"",r=n.length;return r<t?new Array(t-r+1).join(0)+n:n}var Jn=function(e){var t=new RegExp('["'+e+"\n\r]"),n=e.charCodeAt(0);function r(e,t){var r,i=[],a=e.length,o=0,u=0,l=a<=0,c=!1;function s(){if(l)return qn;if(c)return c=!1,Vn;var t,r,i=o;if(e.charCodeAt(i)===Yn){for(;o++<a&&e.charCodeAt(o)!==Yn||e.charCodeAt(++o)===Yn;);return(t=o)>=a?l=!0:(r=e.charCodeAt(o++))===Gn?c=!0:r===Qn&&(c=!0,e.charCodeAt(o)===Gn&&++o),e.slice(i+1,t-1).replace(/""/g,'"')}for(;o<a;){if((r=e.charCodeAt(t=o++))===Gn)c=!0;else if(r===Qn)c=!0,e.charCodeAt(o)===Gn&&++o;else if(r!==n)continue;return e.slice(i,t)}return l=!0,e.slice(i,a)}for(e.charCodeAt(a-1)===Gn&&--a,e.charCodeAt(a-1)===Qn&&--a;(r=s())!==qn;){for(var f=[];r!==Vn&&r!==qn;)f.push(r),r=s();t&&null==(f=t(f,u++))||i.push(f)}return i}function i(t,n){return t.map((function(t){return n.map((function(e){return o(t[e])})).join(e)}))}function a(t){return t.map(o).join(e)}function o(e){return null==e?"":e instanceof Date?function(e){var t=e.getUTCHours(),n=e.getUTCMinutes(),r=e.getUTCSeconds(),i=e.getUTCMilliseconds();return isNaN(e)?"Invalid Date":function(e){return e<0?"-"+Zn(-e,6):e>9999?"+"+Zn(e,6):Zn(e,4)}(e.getUTCFullYear())+"-"+Zn(e.getUTCMonth()+1,2)+"-"+Zn(e.getUTCDate(),2)+(i?"T"+Zn(t,2)+":"+Zn(n,2)+":"+Zn(r,2)+"."+Zn(i,3)+"Z":r?"T"+Zn(t,2)+":"+Zn(n,2)+":"+Zn(r,2)+"Z":n||t?"T"+Zn(t,2)+":"+Zn(n,2)+"Z":"")}(e):t.test(e+="")?'"'+e.replace(/"/g,'""')+'"':e}return{parse:function(e,t){var n,i,a=r(e,(function(e,r){if(n)return n(e,r-1);i=e,n=t?function(e,t){var n=Xn(e);return function(r,i){return t(n(r),i,e)}}(e,t):Xn(e)}));return a.columns=i||[],a},parseRows:r,format:function(t,n){return null==n&&(n=Kn(t)),[n.map(o).join(e)].concat(i(t,n)).join("\n")},formatBody:function(e,t){return null==t&&(t=Kn(e)),i(e,t).join("\n")},formatRows:function(e){return e.map(a).join("\n")}}},er=Jn(","),tr=er.parse,nr=(er.parseRows,er.format,er.formatBody,er.formatRows,Jn("\t")),rr=nr.parse;function ir(e){if(!e.ok)throw new Error(e.status+" "+e.statusText);return e.text()}nr.parseRows,nr.format,nr.formatBody,nr.formatRows;var ar=function(e,t){return fetch(e,t).then(ir)};function or(e){return function(t,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),ar(t,n).then((function(t){return e(t,r)}))}}function ur(e){return function(t,n){return ar(t,n).then((function(t){return(new DOMParser).parseFromString(t,e)}))}}function lr(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var i,a,o,u,l,c,s,f,h,p=e._root,d={data:r},v=e._x0,g=e._y0,m=e._x1,y=e._y1;if(!p)return e._root=d,e;for(;p.length;)if((c=t>=(a=(v+m)/2))?v=a:m=a,(s=n>=(o=(g+y)/2))?g=o:y=o,i=p,!(p=p[f=s<<1|c]))return i[f]=d,e;if(u=+e._x.call(null,p.data),l=+e._y.call(null,p.data),t===u&&n===l)return d.next=p,i?i[f]=d:e._root=d,e;do{i=i?i[f]=new Array(4):e._root=new Array(4),(c=t>=(a=(v+m)/2))?v=a:m=a,(s=n>=(o=(g+y)/2))?g=o:y=o}while((f=s<<1|c)==(h=(l>=o)<<1|u>=a));return i[h]=p,i[f]=d,e}or(tr),or(rr),ur("application/xml"),ur("text/html"),ur("image/svg+xml");var cr=function(e,t,n,r,i){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=i};function sr(e){return e[0]}function fr(e){return e[1]}function hr(e,t,n,r,i,a){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function pr(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}var dr=function(e,t,n){var r=new hr(null==t?sr:t,null==n?fr:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}.prototype=hr.prototype;dr.copy=function(){var e,t,n=new hr(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=pr(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var i=0;i<4;++i)(t=r.source[i])&&(t.length?e.push({source:t,target:r.target[i]=new Array(4)}):r.target[i]=pr(t));return n},dr.add=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return lr(this.cover(t,n),t,n,e)},dr.addAll=function(e){var t,n,r,i,a=e.length,o=new Array(a),u=new Array(a),l=1/0,c=1/0,s=-1/0,f=-1/0;for(n=0;n<a;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(i=+this._y.call(null,t))||(o[n]=r,u[n]=i,r<l&&(l=r),r>s&&(s=r),i<c&&(c=i),i>f&&(f=i));if(l>s||c>f)return this;for(this.cover(l,c).cover(s,f),n=0;n<a;++n)lr(this,o[n],u[n],e[n]);return this},dr.cover=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,i=this._x1,a=this._y1;if(isNaN(n))i=(n=Math.floor(e))+1,a=(r=Math.floor(t))+1;else{for(var o,u,l=i-n,c=this._root;n>e||e>=i||r>t||t>=a;)switch(u=(t<r)<<1|e<n,(o=new Array(4))[u]=c,c=o,l*=2,u){case 0:i=n+l,a=r+l;break;case 1:n=i-l,a=r+l;break;case 2:i=n+l,r=a-l;break;case 3:n=i-l,r=a-l}this._root&&this._root.length&&(this._root=c)}return this._x0=n,this._y0=r,this._x1=i,this._y1=a,this},dr.data=function(){var e=[];return this.visit((function(t){if(!t.length)do{e.push(t.data)}while(t=t.next)})),e},dr.extent=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},dr.find=function(e,t,n){var r,i,a,o,u,l,c,s=this._x0,f=this._y0,h=this._x1,p=this._y1,d=[],v=this._root;for(v&&d.push(new cr(v,s,f,h,p)),null==n?n=1/0:(s=e-n,f=t-n,h=e+n,p=t+n,n*=n);l=d.pop();)if(!(!(v=l.node)||(i=l.x0)>h||(a=l.y0)>p||(o=l.x1)<s||(u=l.y1)<f))if(v.length){var g=(i+o)/2,m=(a+u)/2;d.push(new cr(v[3],g,m,o,u),new cr(v[2],i,m,g,u),new cr(v[1],g,a,o,m),new cr(v[0],i,a,g,m)),(c=(t>=m)<<1|e>=g)&&(l=d[d.length-1],d[d.length-1]=d[d.length-1-c],d[d.length-1-c]=l)}else{var y=e-+this._x.call(null,v.data),_=t-+this._y.call(null,v.data),b=y*y+_*_;if(b<n){var w=Math.sqrt(n=b);s=e-w,f=t-w,h=e+w,p=t+w,r=v.data}}return r},dr.remove=function(e){if(isNaN(a=+this._x.call(null,e))||isNaN(o=+this._y.call(null,e)))return this;var t,n,r,i,a,o,u,l,c,s,f,h,p=this._root,d=this._x0,v=this._y0,g=this._x1,m=this._y1;if(!p)return this;if(p.length)for(;;){if((c=a>=(u=(d+g)/2))?d=u:g=u,(s=o>=(l=(v+m)/2))?v=l:m=l,t=p,!(p=p[f=s<<1|c]))return this;if(!p.length)break;(t[f+1&3]||t[f+2&3]||t[f+3&3])&&(n=t,h=f)}for(;p.data!==e;)if(r=p,!(p=p.next))return this;return(i=p.next)&&delete p.next,r?(i?r.next=i:delete r.next,this):t?(i?t[f]=i:delete t[f],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[h]=p:this._root=p),this):(this._root=i,this)},dr.removeAll=function(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this},dr.root=function(){return this._root},dr.size=function(){var e=0;return this.visit((function(t){if(!t.length)do{++e}while(t=t.next)})),e},dr.visit=function(e){var t,n,r,i,a,o,u=[],l=this._root;for(l&&u.push(new cr(l,this._x0,this._y0,this._x1,this._y1));t=u.pop();)if(!e(l=t.node,r=t.x0,i=t.y0,a=t.x1,o=t.y1)&&l.length){var c=(r+a)/2,s=(i+o)/2;(n=l[3])&&u.push(new cr(n,c,s,a,o)),(n=l[2])&&u.push(new cr(n,r,s,c,o)),(n=l[1])&&u.push(new cr(n,c,i,a,s)),(n=l[0])&&u.push(new cr(n,r,i,c,s))}return this},dr.visitAfter=function(e){var t,n=[],r=[];for(this._root&&n.push(new cr(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var i=t.node;if(i.length){var a,o=t.x0,u=t.y0,l=t.x1,c=t.y1,s=(o+l)/2,f=(u+c)/2;(a=i[0])&&n.push(new cr(a,o,u,s,f)),(a=i[1])&&n.push(new cr(a,s,u,l,f)),(a=i[2])&&n.push(new cr(a,o,f,s,c)),(a=i[3])&&n.push(new cr(a,s,f,l,c))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},dr.x=function(e){return arguments.length?(this._x=e,this):this._x},dr.y=function(e){return arguments.length?(this._y=e,this):this._y},Math.PI,Math.sqrt(5);var vr=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},gr=function(e){return(e=vr(Math.abs(e)))?e[1]:NaN},mr=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function yr(e){if(!(t=mr.exec(e)))throw new Error("invalid format: "+e);var t;return new _r({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function _r(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}yr.prototype=_r.prototype,_r.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var br,wr,xr,kr,Cr=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(i>0){if(!+e[r])break e;i=0}}return i>0?e.slice(0,i)+e.slice(t+1):e},Er=function(e,t){var n=vr(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Tr={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Er(100*e,t)},r:Er,s:function(e,t){var n=vr(e,t);if(!n)return e+"";var r=n[0],i=n[1],a=i-(br=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+vr(e,Math.max(0,t+a-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Sr=function(e){return e},Mr=Array.prototype.map,Ar=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];wr=function(e){var t=void 0===e.grouping||void 0===e.thousands?Sr:function(e,t){return function(n,r){for(var i=n.length,a=[],o=0,u=e[0],l=0;i>0&&u>0&&(l+u+1>r&&(u=Math.max(1,r-l)),a.push(n.substring(i-=u,i+u)),!((l+=u+1)>r));)u=e[o=(o+1)%e.length];return a.reverse().join(t)}}(Mr.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",i=void 0===e.decimal?".":e.decimal+"",a=void 0===e.numerals?Sr:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Mr.call(e.numerals,String)),o=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"-":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function c(e){var c=(e=yr(e)).fill,s=e.align,f=e.sign,h=e.symbol,p=e.zero,d=e.width,v=e.comma,g=e.precision,m=e.trim,y=e.type;"n"===y?(v=!0,y="g"):Tr[y]||(void 0===g&&(g=12),m=!0,y="g"),(p||"0"===c&&"="===s)&&(p=!0,c="0",s="=");var _="$"===h?n:"#"===h&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",b="$"===h?r:/[%p]/.test(y)?o:"",w=Tr[y],x=/[defgprs%]/.test(y);function k(e){var n,r,o,h=_,k=b;if("c"===y)k=w(e)+k,e="";else{var C=(e=+e)<0;if(e=isNaN(e)?l:w(Math.abs(e),g),m&&(e=Cr(e)),C&&0==+e&&(C=!1),h=(C?"("===f?f:u:"-"===f||"("===f?"":f)+h,k=("s"===y?Ar[8+br/3]:"")+k+(C&&"("===f?")":""),x)for(n=-1,r=e.length;++n<r;)if(48>(o=e.charCodeAt(n))||o>57){k=(46===o?i+e.slice(n+1):e.slice(n))+k,e=e.slice(0,n);break}}v&&!p&&(e=t(e,1/0));var E=h.length+e.length+k.length,T=E<d?new Array(d-E+1).join(c):"";switch(v&&p&&(e=t(T+e,T.length?d-k.length:1/0),T=""),s){case"<":e=h+e+k+T;break;case"=":e=h+T+e+k;break;case"^":e=T.slice(0,E=T.length>>1)+h+e+k+T.slice(E);break;default:e=T+h+e+k}return a(e)}return g=void 0===g?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),k.toString=function(){return e+""},k}return{format:c,formatPrefix:function(e,t){var n=c(((e=yr(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(gr(t)/3))),i=Math.pow(10,-r),a=Ar[8+r/3];return function(e){return n(i*e)+a}}}}({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),xr=wr.format,kr=wr.formatPrefix;var Pr=function(){return new Or};function Or(){this.reset()}Or.prototype={constructor:Or,reset:function(){this.s=this.t=0},add:function(e){Rr(Nr,e,this.t),Rr(this,Nr.s,this.s),this.s?this.t+=Nr.t:this.s=Nr.t},valueOf:function(){return this.s}};var Nr=new Or;function Rr(e,t,n){var r=e.s=t+n,i=r-t,a=r-i;e.t=t-a+(n-i)}var Ir=Math.PI,jr=Ir/2,zr=2*Ir,Dr=Ir/180,Lr=Math.abs,Ur=Math.atan,Fr=Math.atan2,$r=Math.cos,Wr=(Math.ceil,Math.exp,Math.floor,Math.log,Math.pow,Math.sin),Hr=(Math.sign,Math.sqrt);Math.tan;function Br(e){return e>1?jr:e<-1?-jr:Math.asin(e)}function Vr(e,t){return[Lr(e)>Ir?e+Math.round(-e/zr)*zr:e,t]}Pr(),Pr(),Pr(),Vr.invert=Vr;Pr();function qr(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Yr(){}function Gr(e){return function(t,n){var r=$r(t),i=$r(n),a=e(r*i);return[a*i*Wr(t),a*Wr(n)]}}function Qr(e){return function(t,n){var r=Hr(t*t+n*n),i=e(r),a=Wr(i),o=$r(i);return[Fr(t*a,r*o),Br(r&&n*a/r)]}}function Xr(e,t){return[e,t]}Pr(),Pr(),Pr(),Pr(),qr(4.5),Yr.prototype={constructor:Yr,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}},$r(30*Dr),Gr((function(e){return Hr(2/(1+e))})).invert=Qr((function(e){return 2*Br(e/2)})),Gr((function(e){return(e=function(e){return e>1?0:e<-1?Ir:Math.acos(e)}(e))&&e/Wr(e)})).invert=Qr((function(e){return e})),Xr.invert=Xr;Hr(3);function Kr(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function Zr(e,t){var n,r,i,a,o,u=new ni(e),l=+e.value&&(u.value=e.value),c=[u];for(null==t&&(t=Jr);n=c.pop();)if(l&&(n.value=+n.data.value),(i=t(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)c.push(r=n.children[a]=new ni(i[a])),r.parent=n,r.depth=n.depth+1;return u.eachBefore(ti)}function Jr(e){return e.children}function ei(e){e.data=e.data.data}function ti(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function ni(e){this.data=e,this.depth=this.height=0,this.parent=null}Qr(Ur),Qr(Br),Qr((function(e){return 2*Ur(e)})),ni.prototype=Zr.prototype={constructor:ni,count:function(){return this.eachAfter(Kr)},each:function(e){var t,n,r,i,a=this,o=[a];do{for(t=o.reverse(),o=[];a=t.pop();)if(e(a),n=a.children)for(r=0,i=n.length;r<i;++r)o.push(n[r])}while(o.length);return this},eachAfter:function(e){for(var t,n,r,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),t=i.children)for(n=0,r=t.length;n<r;++n)a.push(t[n]);for(;i=o.pop();)e(i);return this},eachBefore:function(e){for(var t,n,r=this,i=[r];r=i.pop();)if(e(r),t=r.children)for(n=t.length-1;n>=0;--n)i.push(t[n]);return this},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){var e=[];return this.each((function(t){e.push(t)})),e},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return Zr(this).eachBefore(ei)}},Array.prototype.slice;var ri=function(e,t,n,r,i){for(var a,o=e.children,u=-1,l=o.length,c=e.value&&(r-t)/e.value;++u<l;)(a=o[u]).y0=n,a.y1=i,a.x0=t,a.x1=t+=a.value*c};Object.create(ni.prototype);var ii=function(e,t,n,r,i){for(var a,o=e.children,u=-1,l=o.length,c=e.value&&(i-n)/e.value;++u<l;)(a=o[u]).x0=t,a.x1=r,a.y0=n,a.y1=n+=a.value*c},ai=(1+Math.sqrt(5))/2;function oi(e,t,n,r,i,a){for(var o,u,l,c,s,f,h,p,d,v,g,m=[],y=t.children,_=0,b=0,w=y.length,x=t.value;_<w;){l=i-n,c=a-r;do{s=y[b++].value}while(!s&&b<w);for(f=h=s,g=s*s*(v=Math.max(c/l,l/c)/(x*e)),d=Math.max(h/g,g/f);b<w;++b){if(s+=u=y[b].value,u<f&&(f=u),u>h&&(h=u),g=s*s*v,(p=Math.max(h/g,g/f))>d){s-=u;break}d=p}m.push(o={value:s,dice:l<c,children:y.slice(_,b)}),o.dice?ri(o,n,r,i,x?r+=c*s/x:a):ii(o,n,r,x?n+=l*s/x:i,a),x-=s,_=b}return m}(function e(t){function n(e,n,r,i,a){oi(t,e,n,r,i,a)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n})(ai),function e(t){function n(e,n,r,i,a){if((o=e._squarify)&&o.ratio===t)for(var o,u,l,c,s,f=-1,h=o.length,p=e.value;++f<h;){for(l=(u=o[f]).children,c=u.value=0,s=l.length;c<s;++c)u.value+=l[c].value;u.dice?ri(u,n,r,i,r+=(a-r)*u.value/p):ii(u,n,r,n+=(i-n)*u.value/p,a),p-=u.value}else e._squarify=o=oi(t,e,n,r,i,a),o.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(ai);var ui=function(){return Math.random()},li=(function e(t){function n(e,n){return e=null==e?0:+e,n=null==n?1:+n,1===arguments.length?(n=e,e=0):n-=e,function(){return t()*n+e}}return n.source=e,n}(ui),function e(t){function n(e,n){var r,i;return e=null==e?0:+e,n=null==n?1:+n,function(){var a;if(null!=r)a=r,r=null;else do{r=2*t()-1,a=2*t()-1,i=r*r+a*a}while(!i||i>1);return e+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=e,n}(ui)),ci=(function e(t){function n(){var e=li.source(t).apply(this,arguments);return function(){return Math.exp(e())}}return n.source=e,n}(ui),function e(t){function n(e){return function(){for(var n=0,r=0;r<e;++r)n+=t();return n}}return n.source=e,n}(ui));function si(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}(function e(t){function n(e){var n=ci.source(t)(e);return function(){return n()/e}}return n.source=e,n})(ui),function e(t){function n(e){return function(){return-Math.log(1-t())/e}}return n.source=e,n}(ui);var fi=Array.prototype,hi=fi.map,pi=fi.slice,di=function(e){return function(){return e}},vi=function(e){return+e},gi=[0,1];function mi(e){return e}function yi(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:di(isNaN(t)?NaN:.5)}function _i(e){var t,n=e[0],r=e[e.length-1];return n>r&&(t=n,n=r,r=t),function(e){return Math.max(n,Math.min(r,e))}}function bi(e,t,n){var r=e[0],i=e[1],a=t[0],o=t[1];return i<r?(r=yi(i,r),a=n(o,a)):(r=yi(r,i),a=n(a,o)),function(e){return a(r(e))}}function wi(e,t,n){var r=Math.min(e.length,t.length)-1,i=new Array(r),a=new Array(r),o=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++o<r;)i[o]=yi(e[o],e[o+1]),a[o]=n(t[o],t[o+1]);return function(t){var n=s(e,t,1,r)-1;return a[n](i[n](t))}}function xi(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function ki(e,t){return function(){var e,t,n,r,i,a,o=gi,u=gi,l=at,c=mi;function s(){return r=Math.min(o.length,u.length)>2?wi:bi,i=a=null,f}function f(t){return isNaN(t=+t)?n:(i||(i=r(o.map(e),u,l)))(e(c(t)))}return f.invert=function(n){return c(t((a||(a=r(u,o.map(e),tt)))(n)))},f.domain=function(e){return arguments.length?(o=hi.call(e,vi),c===mi||(c=_i(o)),s()):o.slice()},f.range=function(e){return arguments.length?(u=pi.call(e),s()):u.slice()},f.rangeRound=function(e){return u=pi.call(e),l=ot,s()},f.clamp=function(e){return arguments.length?(c=e?_i(o):mi,f):c!==mi},f.interpolate=function(e){return arguments.length?(l=e,s()):l},f.unknown=function(e){return arguments.length?(n=e,f):n},function(n,r){return e=n,t=r,s()}}()(e,t)}var Ci=function(e,t,n,r){var i,a=function(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=p?i*=10:a>=d?i*=5:a>=v&&(i*=2),t<e?-i:i}(e,t,n);switch((r=yr(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(gr(t)/3)))-gr(Math.abs(e)))}(a,o))||(r.precision=i),kr(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,gr(t)-gr(e))+1}(a,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(e){return Math.max(0,-gr(Math.abs(e)))}(a))||(r.precision=i-2*("%"===r.type))}return xr(r)};function Ei(e){var t=e.domain;return e.ticks=function(e){var n=t();return g(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Ci(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,i=t(),a=0,o=i.length-1,u=i[a],l=i[o];return l<u&&(r=u,u=l,l=r,r=a,a=o,o=r),(r=m(u,l,n))>0?r=m(u=Math.floor(u/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=m(u=Math.ceil(u*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[a]=Math.floor(u/r)*r,i[o]=Math.ceil(l/r)*r,t(i)):r<0&&(i[a]=Math.ceil(u*r)/r,i[o]=Math.floor(l*r)/r,t(i)),e},e}var Ti=new Date,Si=new Date;function Mi(e,t,n,r){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},i.round=function(e){var t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},i.range=function(n,r,a){var o,u=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return u;do{u.push(o=new Date(+n)),t(n,a),e(n)}while(o<n&&n<r);return u},i.filter=function(n){return Mi((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(i.count=function(t,r){return Ti.setTime(+t),Si.setTime(+r),e(Ti),e(Si),Math.floor(n(Ti,Si))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(r?function(t){return r(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var Ai=Mi((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Ai.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Mi((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var Pi=Ai,Oi=((Ai.range,Mi((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))).range,6e4),Ni=6048e5;function Ri(e){return Mi((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Oi)/Ni}))}var Ii=Ri(0),ji=Ri(1),zi=Ri(2),Di=Ri(3),Li=Ri(4),Ui=Ri(5),Fi=Ri(6),$i=(Ii.range,ji.range,zi.range,Di.range,Li.range,Ui.range,Fi.range,Mi((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Oi)/864e5}),(function(e){return e.getDate()-1}))),Wi=$i,Hi=(((($i.range,Mi((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-e.getMinutes()*Oi)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getHours()}))).range,Mi((function(e){e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())}),(function(e,t){e.setTime(+e+t*Oi)}),(function(e,t){return(t-e)/Oi}),(function(e){return e.getMinutes()}))).range,Mi((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+1e3*t)}),(function(e,t){return(t-e)/1e3}),(function(e){return e.getUTCSeconds()}))).range,Mi((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e})));function Bi(e){return Mi((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Ni}))}Hi.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Mi((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Hi:null},Hi.range;var Vi=Bi(0),qi=Bi(1),Yi=Bi(2),Gi=Bi(3),Qi=Bi(4),Xi=Bi(5),Ki=Bi(6),Zi=(Vi.range,qi.range,Yi.range,Gi.range,Qi.range,Xi.range,Ki.range,Mi((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/864e5}),(function(e){return e.getUTCDate()-1}))),Ji=Zi,ea=(Zi.range,Mi((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));ea.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Mi((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var ta=ea;function na(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function ra(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function ia(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}ea.range;var aa,oa,ua,la={"-":"",_:" ",0:"0"},ca=/^\s*\d+/,sa=/^%/,fa=/[\\^$*+?|[\]().{}]/g;function ha(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?new Array(n-a+1).join(t)+i:i)}function pa(e){return e.replace(fa,"\\$&")}function da(e){return new RegExp("^(?:"+e.map(pa).join("|")+")","i")}function va(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function ga(e,t,n){var r=ca.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function ma(e,t,n){var r=ca.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function ya(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function _a(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function ba(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function wa(e,t,n){var r=ca.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function xa(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function ka(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Ca(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Ea(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Ta(e,t,n){var r=ca.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Sa(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ma(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Aa(e,t,n){var r=ca.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Pa(e,t,n){var r=ca.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Oa(e,t,n){var r=ca.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Na(e,t,n){var r=sa.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Ra(e,t,n){var r=ca.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Ia(e,t,n){var r=ca.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function ja(e,t){return ha(e.getDate(),t,2)}function za(e,t){return ha(e.getHours(),t,2)}function Da(e,t){return ha(e.getHours()%12||12,t,2)}function La(e,t){return ha(1+Wi.count(Pi(e),e),t,3)}function Ua(e,t){return ha(e.getMilliseconds(),t,3)}function Fa(e,t){return Ua(e,t)+"000"}function $a(e,t){return ha(e.getMonth()+1,t,2)}function Wa(e,t){return ha(e.getMinutes(),t,2)}function Ha(e,t){return ha(e.getSeconds(),t,2)}function Ba(e){var t=e.getDay();return 0===t?7:t}function Va(e,t){return ha(Ii.count(Pi(e),e),t,2)}function qa(e,t){var n=e.getDay();return e=n>=4||0===n?Li(e):Li.ceil(e),ha(Li.count(Pi(e),e)+(4===Pi(e).getDay()),t,2)}function Ya(e){return e.getDay()}function Ga(e,t){return ha(ji.count(Pi(e),e),t,2)}function Qa(e,t){return ha(e.getFullYear()%100,t,2)}function Xa(e,t){return ha(e.getFullYear()%1e4,t,4)}function Ka(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ha(t/60|0,"0",2)+ha(t%60,"0",2)}function Za(e,t){return ha(e.getUTCDate(),t,2)}function Ja(e,t){return ha(e.getUTCHours(),t,2)}function eo(e,t){return ha(e.getUTCHours()%12||12,t,2)}function to(e,t){return ha(1+Ji.count(ta(e),e),t,3)}function no(e,t){return ha(e.getUTCMilliseconds(),t,3)}function ro(e,t){return no(e,t)+"000"}function io(e,t){return ha(e.getUTCMonth()+1,t,2)}function ao(e,t){return ha(e.getUTCMinutes(),t,2)}function oo(e,t){return ha(e.getUTCSeconds(),t,2)}function uo(e){var t=e.getUTCDay();return 0===t?7:t}function lo(e,t){return ha(Vi.count(ta(e),e),t,2)}function co(e,t){var n=e.getUTCDay();return e=n>=4||0===n?Qi(e):Qi.ceil(e),ha(Qi.count(ta(e),e)+(4===ta(e).getUTCDay()),t,2)}function so(e){return e.getUTCDay()}function fo(e,t){return ha(qi.count(ta(e),e),t,2)}function ho(e,t){return ha(e.getUTCFullYear()%100,t,2)}function po(e,t){return ha(e.getUTCFullYear()%1e4,t,4)}function vo(){return"+0000"}function go(){return"%"}function mo(e){return+e}function yo(e){return Math.floor(+e/1e3)}(aa=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,u=e.months,l=e.shortMonths,c=da(i),s=va(i),f=da(a),h=va(a),p=da(o),d=va(o),v=da(u),g=va(u),m=da(l),y=va(l),_={a:function(e){return o[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return u[e.getMonth()]},c:null,d:ja,e:ja,f:Fa,H:za,I:Da,j:La,L:Ua,m:$a,M:Wa,p:function(e){return i[+(e.getHours()>=12)]},Q:mo,s:yo,S:Ha,u:Ba,U:Va,V:qa,w:Ya,W:Ga,x:null,X:null,y:Qa,Y:Xa,Z:Ka,"%":go},b={a:function(e){return o[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return u[e.getUTCMonth()]},c:null,d:Za,e:Za,f:ro,H:Ja,I:eo,j:to,L:no,m:io,M:ao,p:function(e){return i[+(e.getUTCHours()>=12)]},Q:mo,s:yo,S:oo,u:uo,U:lo,V:co,w:so,W:fo,x:null,X:null,y:ho,Y:po,Z:vo,"%":go},w={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=d[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return C(e,t,n,r)},d:Ea,e:Ea,f:Oa,H:Sa,I:Sa,j:Ta,L:Pa,m:Ca,M:Ma,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=s[r[0].toLowerCase()],n+r[0].length):-1},Q:Ra,s:Ia,S:Aa,u:ma,U:ya,V:_a,w:ga,W:ba,x:function(e,t,r){return C(e,n,t,r)},X:function(e,t,n){return C(e,r,t,n)},y:xa,Y:wa,Z:ka,"%":Na};function x(e,t){return function(n){var r,i,a,o=[],u=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++u<c;)37===e.charCodeAt(u)&&(o.push(e.slice(l,u)),null!=(i=la[r=e.charAt(++u)])?r=e.charAt(++u):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),o.push(r),l=u+1);return o.push(e.slice(l,u)),o.join("")}}function k(e,t){return function(n){var r,i,a=ia(1900);if(C(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("p"in a&&(a.H=a.H%12+12*a.p),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=(r=ra(ia(a.y))).getUTCDay())>4||0===i?qi.ceil(r):qi(r),r=Ji.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=(i=(r=t(ia(a.y))).getDay())>4||0===i?ji.ceil(r):ji(r),r=Wi.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?ra(ia(a.y)).getUTCDay():t(ia(a.y)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,ra(a)):t(a)}}function C(e,t,n,r){for(var i,a,o=0,u=t.length,l=n.length;o<u;){if(r>=l)return-1;if(37===(i=t.charCodeAt(o++))){if(i=t.charAt(o++),!(a=w[i in la?t.charAt(o++):i])||(r=a(e,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=x(n,_),_.X=x(r,_),_.c=x(t,_),b.x=x(n,b),b.X=x(r,b),b.c=x(t,b),{format:function(e){var t=x(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=k(e+="",na);return t.toString=function(){return e},t},utcFormat:function(e){var t=x(e+="",b);return t.toString=function(){return e},t},utcParse:function(e){var t=k(e,ra);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,aa.parse,oa=aa.utcFormat,ua=aa.utcParse,Date.prototype.toISOString||oa("%Y-%m-%dT%H:%M:%S.%LZ"),+new Date("2000-01-01T00:00:00.000Z")||ua("%Y-%m-%dT%H:%M:%S.%LZ"),((Mi((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})).range,Mi((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+36e5*t)}),(function(e,t){return(t-e)/36e5}),(function(e){return e.getUTCHours()}))).range,Mi((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Oi)}),(function(e,t){return(t-e)/Oi}),(function(e){return e.getUTCMinutes()}))).range;var _o=function(e){return function(){return e}},bo=Math.abs,wo=Math.atan2,xo=Math.cos,ko=Math.max,Co=Math.min,Eo=Math.sin,To=Math.sqrt,So=1e-12,Mo=Math.PI,Ao=Mo/2,Po=2*Mo;function Oo(e){return e>=1?Ao:e<=-1?-Ao:Math.asin(e)}function No(e){return e.innerRadius}function Ro(e){return e.outerRadius}function Io(e){return e.startAngle}function jo(e){return e.endAngle}function zo(e){return e&&e.padAngle}function Do(e,t,n,r,i,a,o){var u=e-n,l=t-r,c=(o?a:-a)/To(u*u+l*l),s=c*l,f=-c*u,h=e+s,p=t+f,d=n+s,v=r+f,g=(h+d)/2,m=(p+v)/2,y=d-h,_=v-p,b=y*y+_*_,w=i-a,x=h*v-d*p,k=(_<0?-1:1)*To(ko(0,w*w*b-x*x)),C=(x*_-y*k)/b,E=(-x*y-_*k)/b,T=(x*_+y*k)/b,S=(-x*y+_*k)/b,M=C-g,A=E-m,P=T-g,O=S-m;return M*M+A*A>P*P+O*O&&(C=T,E=S),{cx:C,cy:E,x01:-s,y01:-f,x11:C*(i/w-1),y11:E*(i/w-1)}}var Lo=function(){var e=No,t=Ro,n=_o(0),r=null,i=Io,a=jo,o=zo,u=null;function l(){var l,c,s=+e.apply(this,arguments),f=+t.apply(this,arguments),h=i.apply(this,arguments)-Ao,p=a.apply(this,arguments)-Ao,d=bo(p-h),v=p>h;if(u||(u=l=Fn()),f<s&&(c=f,f=s,s=c),f>So)if(d>Po-So)u.moveTo(f*xo(h),f*Eo(h)),u.arc(0,0,f,h,p,!v),s>So&&(u.moveTo(s*xo(p),s*Eo(p)),u.arc(0,0,s,p,h,v));else{var g,m,y=h,_=p,b=h,w=p,x=d,k=d,C=o.apply(this,arguments)/2,E=C>So&&(r?+r.apply(this,arguments):To(s*s+f*f)),T=Co(bo(f-s)/2,+n.apply(this,arguments)),S=T,M=T;if(E>So){var A=Oo(E/s*Eo(C)),P=Oo(E/f*Eo(C));(x-=2*A)>So?(b+=A*=v?1:-1,w-=A):(x=0,b=w=(h+p)/2),(k-=2*P)>So?(y+=P*=v?1:-1,_-=P):(k=0,y=_=(h+p)/2)}var O=f*xo(y),N=f*Eo(y),R=s*xo(w),I=s*Eo(w);if(T>So){var j,z=f*xo(_),D=f*Eo(_),L=s*xo(b),U=s*Eo(b);if(d<Mo&&(j=function(e,t,n,r,i,a,o,u){var l=n-e,c=r-t,s=o-i,f=u-a,h=f*l-s*c;if(!(h*h<So))return[e+(h=(s*(t-a)-f*(e-i))/h)*l,t+h*c]}(O,N,L,U,z,D,R,I))){var F=O-j[0],$=N-j[1],W=z-j[0],H=D-j[1],B=1/Eo(function(e){return e>1?0:e<-1?Mo:Math.acos(e)}((F*W+$*H)/(To(F*F+$*$)*To(W*W+H*H)))/2),V=To(j[0]*j[0]+j[1]*j[1]);S=Co(T,(s-V)/(B-1)),M=Co(T,(f-V)/(B+1))}}k>So?M>So?(g=Do(L,U,O,N,f,M,v),m=Do(z,D,R,I,f,M,v),u.moveTo(g.cx+g.x01,g.cy+g.y01),M<T?u.arc(g.cx,g.cy,M,wo(g.y01,g.x01),wo(m.y01,m.x01),!v):(u.arc(g.cx,g.cy,M,wo(g.y01,g.x01),wo(g.y11,g.x11),!v),u.arc(0,0,f,wo(g.cy+g.y11,g.cx+g.x11),wo(m.cy+m.y11,m.cx+m.x11),!v),u.arc(m.cx,m.cy,M,wo(m.y11,m.x11),wo(m.y01,m.x01),!v))):(u.moveTo(O,N),u.arc(0,0,f,y,_,!v)):u.moveTo(O,N),s>So&&x>So?S>So?(g=Do(R,I,z,D,s,-S,v),m=Do(O,N,L,U,s,-S,v),u.lineTo(g.cx+g.x01,g.cy+g.y01),S<T?u.arc(g.cx,g.cy,S,wo(g.y01,g.x01),wo(m.y01,m.x01),!v):(u.arc(g.cx,g.cy,S,wo(g.y01,g.x01),wo(g.y11,g.x11),!v),u.arc(0,0,s,wo(g.cy+g.y11,g.cx+g.x11),wo(m.cy+m.y11,m.cx+m.x11),v),u.arc(m.cx,m.cy,S,wo(m.y11,m.x11),wo(m.y01,m.x01),!v))):u.arc(0,0,s,w,b,v):u.lineTo(R,I)}else u.moveTo(0,0);if(u.closePath(),l)return u=null,l+""||null}return l.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-Mo/2;return[xo(r)*n,Eo(r)*n]},l.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:_o(+t),l):e},l.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:_o(+e),l):t},l.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:_o(+e),l):n},l.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:_o(+e),l):r},l.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:_o(+e),l):i},l.endAngle=function(e){return arguments.length?(a="function"==typeof e?e:_o(+e),l):a},l.padAngle=function(e){return arguments.length?(o="function"==typeof e?e:_o(+e),l):o},l.context=function(e){return arguments.length?(u=null==e?null:e,l):u},l};function Uo(e){this._context=e}Uo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var Fo=function(e){return new Uo(e)};function $o(e){return e[0]}function Wo(e){return e[1]}function Ho(e){this._curve=e}!function(e){function t(t){return new Ho(e(t))}t._curve=e}(Fo),Ho.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}},Array.prototype.slice,Math.sqrt(1/3);Math.sin(Mo/10),Math.sin(7*Mo/10);var Bo=(Math.sin(Po/10),Math.cos(Po/10),Math.sqrt(3),Math.sqrt(3),Math.sqrt(12),function(){});function Vo(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function qo(e){this._context=e}function Yo(e,t){this._basis=new qo(e),this._beta=t}function Go(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function Qo(e,t){this._context=e,this._k=(1-t)/6}function Xo(e,t){this._context=e,this._k=(1-t)/6}function Ko(e,t){this._context=e,this._k=(1-t)/6}function Zo(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>So){var u=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*u-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*u-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>So){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,s=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/s,o=(o*c+e._y1*e._l23_2a-n*e._l12_2a)/s}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function Jo(e,t){this._context=e,this._alpha=t}function eu(e,t){this._context=e,this._alpha=t}function tu(e,t){this._context=e,this._alpha=t}function nu(e){return e<0?-1:1}function ru(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),u=(a*i+o*r)/(r+i);return(nu(a)+nu(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(u))||0}function iu(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function au(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,u=(a-r)/3;e._context.bezierCurveTo(r+u,i+u*t,a-u,o-u*n,a,o)}function ou(e){this._context=e}function uu(e){this._context=e}function lu(){this._=null}function cu(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function su(e,t){var n=t,r=t.R,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function fu(e,t){var n=t,r=t.L,i=n.U;i?i.L===n?i.L=r:i.R=r:e._=r,r.U=i,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function hu(e){for(;e.L;)e=e.L;return e}qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:Vo(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Vo(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},Yo.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],o=e[n]-i,u=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*o),this._beta*t[l]+(1-this._beta)*(a+r*u));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}},function e(t){function n(e){return 1===t?new qo(e):new Yo(e,t)}return n.beta=function(t){return e(+t)},n}(.85),Qo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Go(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:Go(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new Qo(e,t)}return n.tension=function(t){return e(+t)},n}(0),Xo.prototype={areaStart:Bo,areaEnd:Bo,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Go(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new Xo(e,t)}return n.tension=function(t){return e(+t)},n}(0),Ko.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Go(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return new Ko(e,t)}return n.tension=function(t){return e(+t)},n}(0),Jo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:Zo(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new Jo(e,t):new Qo(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),eu.prototype={areaStart:Bo,areaEnd:Bo,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:Zo(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new eu(e,t):new Xo(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),tu.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Zo(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}},function e(t){function n(e){return t?new tu(e,t):new Ko(e,0)}return n.alpha=function(t){return e(+t)},n}(.5),ou.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:au(this,this._t0,iu(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,au(this,iu(this,n=ru(this,e,t)),n);break;default:au(this,this._t0,n=ru(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(function(e){this._context=new uu(e)}.prototype=Object.create(ou.prototype)).point=function(e,t){ou.prototype.point.call(this,t,e)},uu.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}},lu.prototype={constructor:lu,insert:function(e,t){var n,r,i;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=hu(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)n===(r=n.U).L?(i=r.R)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.R&&(su(this,n),n=(e=n).U),n.C=!1,r.C=!0,fu(this,r)):(i=r.L)&&i.C?(n.C=i.C=!1,r.C=!0,e=r):(e===n.L&&(fu(this,n),n=(e=n).U),n.C=!1,r.C=!0,su(this,r)),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,i=e.U,a=e.L,o=e.R;if(n=a?o?hu(o):a:o,i?i.L===e?i.L=n:i.R=n:this._=n,a&&o?(r=n.C,n.C=e.C,n.L=a,a.U=n,n!==o?(i=n.U,n.U=e.U,e=n.R,i.L=e,n.R=o,o.U=n):(n.U=i,i=n,e=n.R)):(r=e.C,e=n),e&&(e.U=i),!r)if(e&&e.C)e.C=!1;else{do{if(e===this._)break;if(e===i.L){if((t=i.R).C&&(t.C=!1,i.C=!0,su(this,i),t=i.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,fu(this,t),t=i.R),t.C=i.C,i.C=t.R.C=!1,su(this,i),e=this._;break}}else if((t=i.L).C&&(t.C=!1,i.C=!0,fu(this,i),t=i.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,su(this,t),t=i.L),t.C=i.C,i.C=t.L.C=!1,fu(this,i),e=this._;break}t.C=!0,e=i,i=i.U}while(!e.C);e&&(e.C=!1)}}};var pu=lu;function du(e,t,n,r){var i=[null,null],a=zu.push(i)-1;return i.left=e,i.right=t,n&&gu(i,e,t,n),r&&gu(i,t,e,r),Iu[e.index].halfedges.push(a),Iu[t.index].halfedges.push(a),i}function vu(e,t,n){var r=[t,n];return r.left=e,r}function gu(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function mu(e,t,n,r,i){var a,o=e[0],u=e[1],l=o[0],c=o[1],s=0,f=1,h=u[0]-l,p=u[1]-c;if(a=t-l,h||!(a>0)){if(a/=h,h<0){if(a<s)return;a<f&&(f=a)}else if(h>0){if(a>f)return;a>s&&(s=a)}if(a=r-l,h||!(a<0)){if(a/=h,h<0){if(a>f)return;a>s&&(s=a)}else if(h>0){if(a<s)return;a<f&&(f=a)}if(a=n-c,p||!(a>0)){if(a/=p,p<0){if(a<s)return;a<f&&(f=a)}else if(p>0){if(a>f)return;a>s&&(s=a)}if(a=i-c,p||!(a<0)){if(a/=p,p<0){if(a>f)return;a>s&&(s=a)}else if(p>0){if(a<s)return;a<f&&(f=a)}return!(s>0||f<1)||(s>0&&(e[0]=[l+s*h,c+s*p]),f<1&&(e[1]=[l+f*h,c+f*p]),!0)}}}}}function yu(e,t,n,r,i){var a=e[1];if(a)return!0;var o,u,l=e[0],c=e.left,s=e.right,f=c[0],h=c[1],p=s[0],d=s[1],v=(f+p)/2,g=(h+d)/2;if(d===h){if(v<t||v>=r)return;if(f>p){if(l){if(l[1]>=i)return}else l=[v,n];a=[v,i]}else{if(l){if(l[1]<n)return}else l=[v,i];a=[v,n]}}else if(u=g-(o=(f-p)/(d-h))*v,o<-1||o>1)if(f>p){if(l){if(l[1]>=i)return}else l=[(n-u)/o,n];a=[(i-u)/o,i]}else{if(l){if(l[1]<n)return}else l=[(i-u)/o,i];a=[(n-u)/o,n]}else if(h<d){if(l){if(l[0]>=r)return}else l=[t,o*t+u];a=[r,o*r+u]}else{if(l){if(l[0]<t)return}else l=[r,o*r+u];a=[t,o*t+u]}return e[0]=l,e[1]=a,!0}function _u(e,t){var n=e.site,r=t.left,i=t.right;return n===i&&(i=r,r=n),i?Math.atan2(i[1]-r[1],i[0]-r[0]):(n===r?(r=t[1],i=t[0]):(r=t[0],i=t[1]),Math.atan2(r[0]-i[0],i[1]-r[1]))}function bu(e,t){return t[+(t.left!==e.site)]}function wu(e,t){return t[+(t.left===e.site)]}var xu,ku=[];function Cu(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,i=e.site,a=n.site;if(r!==a){var o=i[0],u=i[1],l=r[0]-o,c=r[1]-u,s=a[0]-o,f=a[1]-u,h=2*(l*f-c*s);if(!(h>=-Lu)){var p=l*l+c*c,d=s*s+f*f,v=(f*p-c*d)/h,g=(l*d-s*p)/h,m=ku.pop()||new function(){cu(this),this.x=this.y=this.arc=this.site=this.cy=null};m.arc=e,m.site=i,m.x=v+o,m.y=(m.cy=g+u)+Math.sqrt(v*v+g*g),e.circle=m;for(var y=null,_=ju._;_;)if(m.y<_.y||m.y===_.y&&m.x<=_.x){if(!_.L){y=_.P;break}_=_.L}else{if(!_.R){y=_;break}_=_.R}ju.insert(y,m),y||(xu=m)}}}}function Eu(e){var t=e.circle;t&&(t.P||(xu=t.N),ju.remove(t),ku.push(t),cu(t),e.circle=null)}var Tu=[];function Su(e){var t=Tu.pop()||new function(){cu(this),this.edge=this.site=this.circle=null};return t.site=e,t}function Mu(e){Eu(e),Ru.remove(e),Tu.push(e),cu(e)}function Au(e){var t=e.circle,n=t.x,r=t.cy,i=[n,r],a=e.P,o=e.N,u=[e];Mu(e);for(var l=a;l.circle&&Math.abs(n-l.circle.x)<Du&&Math.abs(r-l.circle.cy)<Du;)a=l.P,u.unshift(l),Mu(l),l=a;u.unshift(l),Eu(l);for(var c=o;c.circle&&Math.abs(n-c.circle.x)<Du&&Math.abs(r-c.circle.cy)<Du;)o=c.N,u.push(c),Mu(c),c=o;u.push(c),Eu(c);var s,f=u.length;for(s=1;s<f;++s)c=u[s],l=u[s-1],gu(c.edge,l.site,c.site,i);l=u[0],(c=u[f-1]).edge=du(l.site,c.site,null,i),Cu(l),Cu(c)}function Pu(e){for(var t,n,r,i,a=e[0],o=e[1],u=Ru._;u;)if((r=Ou(u,o)-a)>Du)u=u.L;else{if(!((i=a-Nu(u,o))>Du)){r>-Du?(t=u.P,n=u):i>-Du?(t=u,n=u.N):t=n=u;break}if(!u.R){t=u;break}u=u.R}!function(e){Iu[e.index]={site:e,halfedges:[]}}(e);var l=Su(e);if(Ru.insert(t,l),t||n){if(t===n)return Eu(t),n=Su(t.site),Ru.insert(l,n),l.edge=n.edge=du(t.site,l.site),Cu(t),void Cu(n);if(n){Eu(t),Eu(n);var c=t.site,s=c[0],f=c[1],h=e[0]-s,p=e[1]-f,d=n.site,v=d[0]-s,g=d[1]-f,m=2*(h*g-p*v),y=h*h+p*p,_=v*v+g*g,b=[(g*y-p*_)/m+s,(h*_-v*y)/m+f];gu(n.edge,c,d,b),l.edge=du(c,e,null,b),n.edge=du(e,d,null,b),Cu(t),Cu(n)}else l.edge=du(t.site,l.site)}}function Ou(e,t){var n=e.site,r=n[0],i=n[1],a=i-t;if(!a)return r;var o=e.P;if(!o)return-1/0;var u=(n=o.site)[0],l=n[1],c=l-t;if(!c)return u;var s=u-r,f=1/a-1/c,h=s/c;return f?(-h+Math.sqrt(h*h-2*f*(s*s/(-2*c)-l+c/2+i-a/2)))/f+r:(r+u)/2}function Nu(e,t){var n=e.N;if(n)return Ou(n,t);var r=e.site;return r[1]===t?r[0]:1/0}var Ru,Iu,ju,zu,Du=1e-6,Lu=1e-12;function Uu(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function Fu(e,t){return t[1]-e[1]||t[0]-e[0]}function $u(e,t){var n,r,i,a=e.sort(Fu).pop();for(zu=[],Iu=new Array(e.length),Ru=new pu,ju=new pu;;)if(i=xu,a&&(!i||a[1]<i.y||a[1]===i.y&&a[0]<i.x))a[0]===n&&a[1]===r||(Pu(a),n=a[0],r=a[1]),a=e.pop();else{if(!i)break;Au(i.arc)}if(function(){for(var e,t,n,r,i=0,a=Iu.length;i<a;++i)if((e=Iu[i])&&(r=(t=e.halfedges).length)){var o=new Array(r),u=new Array(r);for(n=0;n<r;++n)o[n]=n,u[n]=_u(e,zu[t[n]]);for(o.sort((function(e,t){return u[t]-u[e]})),n=0;n<r;++n)u[n]=t[o[n]];for(n=0;n<r;++n)t[n]=u[n]}}(),t){var o=+t[0][0],u=+t[0][1],l=+t[1][0],c=+t[1][1];!function(e,t,n,r){for(var i,a=zu.length;a--;)yu(i=zu[a],e,t,n,r)&&mu(i,e,t,n,r)&&(Math.abs(i[0][0]-i[1][0])>Du||Math.abs(i[0][1]-i[1][1])>Du)||delete zu[a]}(o,u,l,c),function(e,t,n,r){var i,a,o,u,l,c,s,f,h,p,d,v,g=Iu.length,m=!0;for(i=0;i<g;++i)if(a=Iu[i]){for(o=a.site,u=(l=a.halfedges).length;u--;)zu[l[u]]||l.splice(u,1);for(u=0,c=l.length;u<c;)d=(p=wu(a,zu[l[u]]))[0],v=p[1],f=(s=bu(a,zu[l[++u%c]]))[0],h=s[1],(Math.abs(d-f)>Du||Math.abs(v-h)>Du)&&(l.splice(u,0,zu.push(vu(o,p,Math.abs(d-e)<Du&&r-v>Du?[e,Math.abs(f-e)<Du?h:r]:Math.abs(v-r)<Du&&n-d>Du?[Math.abs(h-r)<Du?f:n,r]:Math.abs(d-n)<Du&&v-t>Du?[n,Math.abs(f-n)<Du?h:t]:Math.abs(v-t)<Du&&d-e>Du?[Math.abs(h-t)<Du?f:e,t]:null))-1),++c);c&&(m=!1)}if(m){var y,_,b,w=1/0;for(i=0,m=null;i<g;++i)(a=Iu[i])&&(b=(y=(o=a.site)[0]-e)*y+(_=o[1]-t)*_)<w&&(w=b,m=a);if(m){var x=[e,t],k=[e,r],C=[n,r],E=[n,t];m.halfedges.push(zu.push(vu(o=m.site,x,k))-1,zu.push(vu(o,k,C))-1,zu.push(vu(o,C,E))-1,zu.push(vu(o,E,x))-1)}}for(i=0;i<g;++i)(a=Iu[i])&&(a.halfedges.length||delete Iu[i])}(o,u,l,c)}this.edges=zu,this.cells=Iu,Ru=ju=zu=Iu=null}function Wu(e,t,n){this.k=e,this.x=t,this.y=n}$u.prototype={constructor:$u,polygons:function(){var e=this.edges;return this.cells.map((function(t){var n=t.halfedges.map((function(n){return bu(t,e[n])}));return n.data=t.site.data,n}))},triangles:function(){var e=[],t=this.edges;return this.cells.forEach((function(n,r){if(a=(i=n.halfedges).length)for(var i,a,o,u=n.site,l=-1,c=t[i[a-1]],s=c.left===u?c.right:c.left;++l<a;)o=s,s=(c=t[i[l]]).left===u?c.right:c.left,o&&s&&r<o.index&&r<s.index&&Uu(u,o,s)<0&&e.push([u.data,o.data,s.data])})),e},links:function(){return this.edges.filter((function(e){return e.right})).map((function(e){return{source:e.left.data,target:e.right.data}}))},find:function(e,t,n){for(var r,i,a=this,o=a._found||0,u=a.cells.length;!(i=a.cells[o]);)if(++o>=u)return null;var l=e-i.site[0],c=t-i.site[1],s=l*l+c*c;do{i=a.cells[r=o],o=null,i.halfedges.forEach((function(n){var r=a.edges[n],u=r.left;if(u!==i.site&&u||(u=r.right)){var l=e-u[0],c=t-u[1],f=l*l+c*c;f<s&&(s=f,o=u.index)}}))}while(null!==o);return a._found=r,null==n||s<=n*n?i.site:null}},Wu.prototype={constructor:Wu,scale:function(e){return 1===e?this:new Wu(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new Wu(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Wu(1,0,0),Wu.prototype,n(3);var Hu=n(2);function Bu(e){return(Bu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Vu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qu(){var e=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n text-align: center;\n "]);return qu=function(){return e},e}function Yu(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)}}function Gu(e){return(Gu=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Qu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xu(e,t){return(Xu=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ku(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zu=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Ku(Qu(n=function(e,t){return!t||"object"!==Bu(t)&&"function"!=typeof t?Qu(e):t}(this,Gu(t).call(this,e))),"render",(function(){var e=Hu.a.div(qu());return i.a.createElement(e,{ref:function(e){return n.gaugeDiv=e}})})),n._d3_refs={powerGauge:!1},n.initialValue=0,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xu(e,t)}(t,r.Component),function(e,t,n){t&&Yu(e.prototype,t)}(t,[{key:"componentDidMount",value:function(){this.renderGauge()}},{key:"componentDidUpdate",value:function(){this.renderGauge()}},{key:"getGauge",value:function(){var e=this,t=this.props.config,n=this.props.data,r=window.innerWidth,i=window.innerHeight,a=this.props.colors,o=(window.innerHeight,this.props.target),u=this.props.title,l=this.props.title_display,c=this.props.range,s=this.props.value_format,f=this.props.formatted_value,p=this.props.percentage,d=window.innerWidth,v=d>=300;return v||(d-=Math.round(.4*d)),function(d){var g,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vu(n,!0).forEach((function(t){Ku(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vu(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{size:700,clipWidth:r,clipHeight:i,ringInset:45,ringInset2:5,ringWidth2:1,pointerWidth:10,pointerTailLength:5,pointerHeadLengthPercent:.9,minAngle:-90,maxAngle:90,transitionMs:750,labelInset:35,currentLabelInset:40,smallPointerInset:15,smallPointerWidth:20,labelFormat:xr(".1s")},{},(Ku(g={containerHeight:i,percentage:p,ringWidth:t.thickness,segments:t.segments,font_size_arc:t.font_size_arc,font_size_main:t.font_size_main,title:u,main_value:n,formatted_value:f,title_display:l,font_size_title:t.font_size_title,font_size_target:t.font_size_target,value_format:s,target_display:t.target_display,target_value:o,target_label:t.target_label,target_color:t.target_color,color_by:t.color_by,colors:a,arc_range:c,enable_drilling:t.enable_drilling,kFormatter:t.kformatter},"target_label",t.target_label),Ku(g,"arcColorFn",dt(Ie(a[0]),Ie(a[1]))),g)),y=void 0,_=void 0,b=void 0,w=void 0,x=void 0,k=void 0,C=void 0,E=void 0,T=void 0,S=void 0,M=void 0;function A(e){return e*Math.PI/180}function P(){y=m.maxAngle-m.minAngle,_=.95*window.innerWidth/2,b=Math.round(_*m.pointerHeadLengthPercent),T=function e(){var t=ki(mi,mi);return t.copy=function(){return xi(t,e())},si.apply(t,arguments),Ei(t)}().range([0,1]).domain(m.arc_range?m.arc_range:[0,1e4]),S=T.ticks(m.segments),M=h(m.segments).map((function(){return 1/m.segments})),m.pointerWidth,m.pointerWidth,m.pointerTailLength,m.pointerWidth,x=Lo().innerRadius(_-m.ringWidth-m.ringInset).outerRadius(_-m.ringInset).startAngle((function(e,t){var n=e*t;return A(m.minAngle+n*y)})).endAngle((function(e,t){var n=e*(t+1);return A(m.minAngle+n*y)})),1==m.target_display&&(E=Lo().innerRadius(_-m.ringWidth2-m.ringInset2).outerRadius(_-m.ringInset2).startAngle(Math.PI/180*-90).endAngle(Math.PI/180*90))}function O(){var t=m.percentage?100*m.main_value[0].value:m.main_value[0].value,n=T(t),r=m.minAngle+n*y,i=T(m.target_value>m.maxValue?m.maxValue:m.target_value),a=m.minAngle+i*y;1==m.target_display&&e._d3_refs.sp.attr("transform","rotate("+a+")"),!1===m.percentage?e._d3_refs.pointer.attr("transform","rotate("+r+")"):(e._d3_refs.percentageBG.transition().duration(m.transitionMs).ease(Pn),e._d3_refs.percentageFG.transition().duration(m.transitionMs).ease(Pn))}return m.main_value.value,P(),{configure:P,isRendered:function(){return void 0!==w},render:function(t){w=fe(d).append("svg:svg").attr("class","gauge").attr("width","100%").style("text-align","center").attr("height","100%").attr("viewBox","0 0 "+m.clipWidth+" "+m.clipHeight);var n="translate("+_+","+_+")";if(w.append("g").attr("class","arc").attr("transform",n).selectAll("path").data(M).enter().append("path").attr("fill",(function(e,t){return"segment"==m.color_by?m.colors[t]:m.arcColorFn(e*t)})).attr("d",x),w.append("g").attr("class","arc").attr("transform",n).append("path").attr("d",E).attr("fill",m.target_color),1==v){var r=w.append("g").attr("transform",n);r.selectAll("text").data(S).enter().append("text").attr("text-anchor","middle").attr("font-size",m.font_size_arc+"px").attr("transform",(function(e){var t=T(e);return"rotate("+(m.minAngle+t*y)+") translate(0,"+(m.labelInset-_)+")"})).text(m.labelFormat),r.select("text:first-child").attr("text-anchor","start").attr("transform","rotate(0) translate(-"+(m.clipWidth/2-m.ringInset)+",20)"),r.select("text:last-child").attr("text-anchor","end").attr("transform","rotate(0) translate("+(m.clipWidth/2-m.ringInset)+",20)")}var i=[[m.pointerWidth/2,0],[0,-b],[-m.pointerWidth/2,0],[0,m.pointerTailLength],[m.pointerWidth/2,0]],a=[[0,m.smallPointerInset-_],[-m.smallPointerWidth/2,m.smallPointerInset-_-m.smallPointerWidth/2],[m.smallPointerWidth/2,m.smallPointerInset-_-m.smallPointerWidth/2]],o=function(){var e=$o,t=Wo,n=_o(!0),r=null,i=Fo,a=null;function o(o){var u,l,c,s=o.length,f=!1;for(null==r&&(a=i(c=Fn())),u=0;u<=s;++u)!(u<s&&n(l=o[u],u,o))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+e(l,u,o),+t(l,u,o));if(c)return a=null,c+""||null}return o.x=function(t){return arguments.length?(e="function"==typeof t?t:_o(+t),o):e},o.y=function(e){return arguments.length?(t="function"==typeof e?e:_o(+e),o):t},o.defined=function(e){return arguments.length?(n="function"==typeof e?e:_o(!!e),o):n},o.curve=function(e){return arguments.length?(i=e,null!=r&&(a=i(r)),o):i},o.context=function(e){return arguments.length?(null==e?r=a=null:a=i(r=e),o):r},o}().curve(Fo);if(!1===m.percentage){var u=w.append("g").data([i]).attr("class","pointer").attr("transform",n);e._d3_refs.pointer=u.append("path").attr("d",o).attr("transform","rotate("+m.minAngle+")")}else{var l=T(100*m.main_value[0].value),c=A(m.minAngle+l*y);k=Lo().innerRadius(_-m.ringWidth-m.ringInset).outerRadius(_-m.ringInset).startAngle(Math.PI/180*-90).endAngle(Math.PI/180*90);var s=w.append("g").attr("transform",n);e._d3_refs.percentageBG=s.append("path").attr("class","percentage_bg").attr("d",k).attr("fill",m.colors[0]),C=Lo().innerRadius(_-m.ringWidth-m.ringInset).outerRadius(_-m.ringInset).startAngle(Math.PI/180*-90).endAngle(c),e._d3_refs.percentageFG=s.append("path").attr("class","target").attr("d",C).attr("fill",m.colors[1])}var f=w.append("g").attr("class","tickline").attr("transform",n);1==m.target_display&&(e._d3_refs.sp=f.append("path").attr("class","target").attr("d",o(a)).attr("transform","rotate("+m.minAngle+")").attr("fill",m.target_color)),1==v&&w.append("text").text(m.formatted_value).attr("transform",!1===m.percentage?"translate("+_+","+(_-70)+")":n).attr("text-anchor","middle").attr("font-size",m.font_size_main+"px").attr("fill","#3a4245").attr("class","looker-vis-context-value-text"),!0===m.title_display&&v&&w.append("text").text(m.title).attr("transform",!1===m.percentage?"translate("+_+","+(_-20)+")":"translate("+_+","+(_-70)+")").attr("text-anchor","middle").attr("font-size",m.font_size_title).attr("font-weight",100).attr("fill","#3a4245").attr("class","looker-vis-context-title-text"),!0===m.target_display&&v&&w.append("text").attr("class","target__title").attr("transform","translate("+(m.clipWidth-120)+","+m.font_size_target+")").attr("text-anchor","middle").attr("font-size",m.font_size_target).attr("fill",m.target_color).text(m.target_label+" "+function(e){return Math.abs(e)>999999999?Math.sign(e)*(Math.abs(e)/1e9).toFixed(1)+"B":Math.abs(e)>999999?Math.sign(e)*(Math.abs(e)/1e6).toFixed(1)+"M":Math.abs(e)>999?Math.sign(e)*(Math.abs(e)/1e3).toFixed(1)+"k":Math.abs(e)<1?Math.sign(e)*(100*Math.abs(e)).toFixed(1)+"%":Math.sign(e)*Math.abs(e)}(m.target_value)),O()},update:O,config:m}}}},{key:"renderGauge",value:function(){fe(this.gaugeDiv).select("svg").remove(),this._d3_refs.powerGauge=this.getGauge()(this.gaugeDiv),this._d3_refs.powerGauge.render(),this.updateReadings()}},{key:"updateReadings",value:function(){this._d3_refs.powerGauge.update()}}]),t}(),Ju=n(8),el=n.n(Ju);function tl(){var e=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(['\n text-align: center;\n font-family: "Open Sans", "Noto Sans JP", "Noto Sans", "Noto Sans CJK KR",\n Helvetica, Arial, sans-serif;\n color: #3a4245;\n ']);return tl=function(){return e},e}var nl={color_by:{type:"string",label:"Color By",display:"select",section:"Style",values:[{"Color By Segment":"segment"},{"Color By Range":"range"}],default:"range",order:2},segments:{type:"string",label:"Gauge Segments",display:"select",values:[{2:"2"},{3:"3"},{4:"4"},{5:"5"},{6:"6"},{7:"7"},{8:"8"},{9:"9"},{10:"10"}],default:3,section:"Style",order:2},thickness:{type:"string",label:"Gauge Thickness",display:"select",values:[{10:"10"},{20:"20"},{30:"30"},{40:"40"},{50:"50"},{60:"60"},{70:"70"},{80:"80"},{90:"90"},{100:"100"}],default:"50",section:"Style",order:3},font_size_title:{type:"string",label:"Title Font Size",default:"15",section:"Style",order:7},font_size_target:{type:"string",label:"Target Font Size",default:"10",section:"Style",order:9},font_size_arc:{type:"string",label:"Arc Font Size",default:"10",section:"Style",order:8},font_size_main:{type:"string",label:"Value Font Size",default:"20",section:"Style",order:9},target_display:{type:"boolean",label:"Display Target",values:[{Yes:!0},{No:!1}],display:"radio",default:!0,section:"Style",order:10},target_color:{type:"array",label:"Target Color",display:"color",default:["#6565ee"],section:"Style",order:11},target_label:{type:"string",label:"Target Label",default:"Target: ",section:"Values",order:4},target_value:{type:"number",label:"Target Value",default:0,section:"Values"}};looker.plugins.visualizations.add({id:"gauge_chart",label:"Gauge Chart",options:nl,create:function(e,t){this.chart=o.a.render(i.a.createElement("div",null),e)},updateAsync:function(e,t,n,r,a,u){if(1==r.fields.measures.length||1==r.fields.measure_like.length){if(function(e,t,n){function r(e,t,n){var r="You need "+e;return t&&(r+=" to "+t),r+" "+n}return t.fields.pivots.length<n.min_pivots||t.fields.pivots.length>n.max_pivots?(e.addError({group:"pivot-req",title:"Incompatible Pivot Data",message:r(n.min_pivots,n.max_pivots,"pivots")}),!1):(e.clearErrors("pivot-req"),t.fields.dimensions.length<n.min_dimensions||t.fields.dimensions.length>n.max_dimensions?(e.addError({group:"dim-req",title:"Incompatible Dimension Data",message:r(n.min_dimensions,n.max_dimensions,"dimensions")}),!1):(e.clearErrors("dim-req"),t.fields.measure_like.length<n.min_measures||t.fields.measure_like.length>n.max_measures?(e.addError({group:"mes-req",title:"Incompatible Measure Data",message:r(n.min_measures,n.max_measures,"measures")}),!1):(e.clearErrors("mes-req"),!0)))}(this,r,{min_pivots:0,max_pivots:0,min_dimensions:0,max_dimensions:1,min_measures:1,max_measures:1})){this.clearErrors();var l=.95*t.clientWidth,c=.95*t.clientHeight,s=Hu.a.div(tl()),f=e[0],h=r.fields.measure_like.map((function(e){return{name:e.name,label:e.label,value:f[e.name].value,valueFormat:n.value_format,formattedValue:LookerCharts.Utils.textForCell(f[e.name])}})),p=nl;p["".concat(h[0].label,"_color_range")]={type:"array",label:"".concat(h[0].label," - Color Range"),display:"colors",default:["#6565ee","#33a7ed"],section:"Style",order:0},p["".concat(h[0].label,"_color_segments")]={type:"array",label:"".concat(h[0].label," - Color Segments"),display:"colors",default:["#6565ee","#33a7ed"],section:"Style",order:1},p["range_".concat(h[0].label)]={type:"array",label:"".concat(h[0].label," - Range Values"),display:"mimax_values",default:[0,h[0].value],section:"Values"},p["show_title_".concat(h[0].label)]={type:"boolean",label:"Show ".concat(h[0].label," - Title"),default:!0,section:"Values"},p["title_override_".concat(h[0].label)]={type:"string",label:"Override ".concat(h[0].label," - Title"),section:"Values",default:"".concat(h[0].label),placeholder:"".concat(h[0].label)},p.value_format={type:"string",label:"".concat(h[0].label," - Value Format"),section:"Values",default:"",placeholder:""};var d=""===h[0].valueFormat?h[0].formattedValue:el.a.format(h[0].valueFormat,h[0].value);this.trigger("registerOptions",p),this.chart=o.a.render(i.a.createElement(s,null,i.a.createElement(Zu,{containerHeight:c,width:l,height:c,target:n.target_value,config:n,data:h,colors:"range"==n.color_by?n["".concat(h[0].label,"_color_range")]:n["".concat(h[0].label,"_color_segments")],title_display:n["show_title_".concat(h[0].label)],title:n["title_override_".concat(h[0].label)],range:n["range_".concat(h[0].label)],value_format:n.value_format,formatted_value:d,percentage:!1})),t),u()}}else this.addError({title:"Single measure only.",message:"This chart accepts one measure."})}})}])}));