UNPKG

react-pivot

Version:

React-Pivot is a data-grid component with pivot-table-like functionality for data display, filtering, and exploration.

26 lines 70 kB
(function(z,$){typeof exports=="object"&&typeof module<"u"?module.exports=$(require("react")):typeof define=="function"&&define.amd?define(["react"],$):(z=typeof globalThis<"u"?globalThis:z||self,z.ReactPivot=$(z.React))})(this,function(z){"use strict";var $=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function K(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ve={exports:{}},te={};/** * @license React * react-jsx-runtime.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Xn;function Yo(){if(Xn)return te;Xn=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(n,a,i){var s=null;if(i!==void 0&&(s=""+i),a.key!==void 0&&(s=""+a.key),"key"in a){i={};for(var o in a)o!=="key"&&(i[o]=a[o])}else i=a;return a=i.ref,{$$typeof:e,type:n,key:s,ref:a!==void 0?a:null,props:i}}return te.Fragment=r,te.jsx=t,te.jsxs=t,te}var ne={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Zn;function Vo(){return Zn||(Zn=1,process.env.NODE_ENV!=="production"&&function(){function e(d){if(d==null)return null;if(typeof d=="function")return d.$$typeof===G?null:d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case m:return"Fragment";case x:return"Profiler";case y:return"StrictMode";case I:return"Suspense";case S:return"SuspenseList";case F:return"Activity"}if(typeof d=="object")switch(typeof d.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),d.$$typeof){case b:return"Portal";case A:return(d.displayName||"Context")+".Provider";case q:return(d._context.displayName||"Context")+".Consumer";case C:var _=d.render;return d=d.displayName,d||(d=_.displayName||_.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case O:return _=d.displayName||null,_!==null?_:e(d.type)||"Memo";case j:_=d._payload,d=d._init;try{return e(d(_))}catch{}}return null}function r(d){return""+d}function t(d){try{r(d);var _=!1}catch{_=!0}if(_){_=console;var T=_.error,w=typeof Symbol=="function"&&Symbol.toStringTag&&d[Symbol.toStringTag]||d.constructor.name||"Object";return T.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",w),r(d)}}function n(d){if(d===m)return"<>";if(typeof d=="object"&&d!==null&&d.$$typeof===j)return"<...>";try{var _=e(d);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function a(){var d=P.A;return d===null?null:d.getOwner()}function i(){return Error("react-stack-top-frame")}function s(d){if(L.call(d,"key")){var _=Object.getOwnPropertyDescriptor(d,"key").get;if(_&&_.isReactWarning)return!1}return d.key!==void 0}function o(d,_){function T(){p||(p=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",_))}T.isReactWarning=!0,Object.defineProperty(d,"key",{get:T,configurable:!0})}function u(){var d=e(this.type);return h[d]||(h[d]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),d=this.props.ref,d!==void 0?d:null}function c(d,_,T,w,k,U,he,W){return T=U.ref,d={$$typeof:g,type:d,key:_,props:U,_owner:k},(T!==void 0?T:null)!==null?Object.defineProperty(d,"ref",{enumerable:!1,get:u}):Object.defineProperty(d,"ref",{enumerable:!1,value:null}),d._store={},Object.defineProperty(d._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(d,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(d,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:he}),Object.defineProperty(d,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:W}),Object.freeze&&(Object.freeze(d.props),Object.freeze(d)),d}function l(d,_,T,w,k,U,he,W){var B=_.children;if(B!==void 0)if(w)if(M(B)){for(w=0;w<B.length;w++)f(B[w]);Object.freeze&&Object.freeze(B)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else f(B);if(L.call(_,"key")){B=e(d);var re=Object.keys(_).filter(function(Bl){return Bl!=="key"});w=0<re.length?"{key: someKey, "+re.join(": ..., ")+": ...}":"{key: someKey}",N[B+w]||(re=0<re.length?"{"+re.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,w,B,re,B),N[B+w]=!0)}if(B=null,T!==void 0&&(t(T),B=""+T),s(_)&&(t(_.key),B=""+_.key),"key"in _){T={};for(var Jn in _)Jn!=="key"&&(T[Jn]=_[Jn])}else T=_;return B&&o(T,typeof d=="function"?d.displayName||d.name||"Unknown":d),c(d,B,U,k,a(),T,he,W)}function f(d){typeof d=="object"&&d!==null&&d.$$typeof===g&&d._store&&(d._store.validated=1)}var v=z,g=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),q=Symbol.for("react.consumer"),A=Symbol.for("react.context"),C=Symbol.for("react.forward_ref"),I=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),F=Symbol.for("react.activity"),G=Symbol.for("react.client.reference"),P=v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,L=Object.prototype.hasOwnProperty,M=Array.isArray,V=console.createTask?console.createTask:function(){return null};v={"react-stack-bottom-frame":function(d){return d()}};var p,h={},R=v["react-stack-bottom-frame"].bind(v,i)(),D=V(n(i)),N={};ne.Fragment=m,ne.jsx=function(d,_,T,w,k){var U=1e4>P.recentlyCreatedOwnerStacks++;return l(d,_,T,!1,w,k,U?Error("react-stack-top-frame"):R,U?V(n(d)):D)},ne.jsxs=function(d,_,T,w,k){var U=1e4>P.recentlyCreatedOwnerStacks++;return l(d,_,T,!0,w,k,U?Error("react-stack-top-frame"):R,U?V(n(d)):D)}}()),ne}var Qn;function Wo(){return Qn||(Qn=1,process.env.NODE_ENV==="production"?ve.exports=Yo():ve.exports=Vo()),ve.exports}var E=Wo(),Ee,ea;function ra(){if(ea)return Ee;ea=1;function e(r,t){for(var n=-1,a=r==null?0:r.length,i=0,s=[];++n<a;){var o=r[n];t(o,n,r)&&(s[i++]=o)}return s}return Ee=e,Ee}var xe,ta;function zo(){if(ta)return xe;ta=1;function e(r){return function(t,n,a){for(var i=-1,s=Object(t),o=a(t),u=o.length;u--;){var c=o[r?u:++i];if(n(s[c],c,s)===!1)break}return t}}return xe=e,xe}var Ce,na;function $o(){if(na)return Ce;na=1;var e=zo(),r=e();return Ce=r,Ce}var Pe,aa;function Jo(){if(aa)return Pe;aa=1;function e(r,t){for(var n=-1,a=Array(r);++n<r;)a[n]=t(n);return a}return Pe=e,Pe}var Se,ia;function sa(){if(ia)return Se;ia=1;var e=typeof $=="object"&&$&&$.Object===Object&&$;return Se=e,Se}var Ae,oa;function Y(){if(oa)return Ae;oa=1;var e=sa(),r=typeof self=="object"&&self&&self.Object===Object&&self,t=e||r||Function("return this")();return Ae=t,Ae}var Oe,ua;function ae(){if(ua)return Oe;ua=1;var e=Y(),r=e.Symbol;return Oe=r,Oe}var Te,ca;function Xo(){if(ca)return Te;ca=1;var e=ae(),r=Object.prototype,t=r.hasOwnProperty,n=r.toString,a=e?e.toStringTag:void 0;function i(s){var o=t.call(s,a),u=s[a];try{s[a]=void 0;var c=!0}catch{}var l=n.call(s);return c&&(o?s[a]=u:delete s[a]),l}return Te=i,Te}var we,la;function Zo(){if(la)return we;la=1;var e=Object.prototype,r=e.toString;function t(n){return r.call(n)}return we=t,we}var Ie,fa;function ie(){if(fa)return Ie;fa=1;var e=ae(),r=Xo(),t=Zo(),n="[object Null]",a="[object Undefined]",i=e?e.toStringTag:void 0;function s(o){return o==null?o===void 0?a:n:i&&i in Object(o)?r(o):t(o)}return Ie=s,Ie}var Ne,da;function Q(){if(da)return Ne;da=1;function e(r){return r!=null&&typeof r=="object"}return Ne=e,Ne}var De,ha;function Qo(){if(ha)return De;ha=1;var e=ie(),r=Q(),t="[object Arguments]";function n(a){return r(a)&&e(a)==t}return De=n,De}var je,va;function Fe(){if(va)return je;va=1;var e=Qo(),r=Q(),t=Object.prototype,n=t.hasOwnProperty,a=t.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(s){return r(s)&&n.call(s,"callee")&&!a.call(s,"callee")};return je=i,je}var Me,pa;function H(){if(pa)return Me;pa=1;var e=Array.isArray;return Me=e,Me}var se={exports:{}},ke,_a;function eu(){if(_a)return ke;_a=1;function e(){return!1}return ke=e,ke}se.exports;var ga;function ma(){return ga||(ga=1,function(e,r){var t=Y(),n=eu(),a=r&&!r.nodeType&&r,i=a&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===a,o=s?t.Buffer:void 0,u=o?o.isBuffer:void 0,c=u||n;e.exports=c}(se,se.exports)),se.exports}var Be,ya;function Le(){if(ya)return Be;ya=1;var e=9007199254740991,r=/^(?:0|[1-9]\d*)$/;function t(n,a){var i=typeof n;return a=a??e,!!a&&(i=="number"||i!="symbol"&&r.test(n))&&n>-1&&n%1==0&&n<a}return Be=t,Be}var Ge,ba;function He(){if(ba)return Ge;ba=1;var e=9007199254740991;function r(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=e}return Ge=r,Ge}var Ue,qa;function ru(){if(qa)return Ue;qa=1;var e=ie(),r=He(),t=Q(),n="[object Arguments]",a="[object Array]",i="[object Boolean]",s="[object Date]",o="[object Error]",u="[object Function]",c="[object Map]",l="[object Number]",f="[object Object]",v="[object RegExp]",g="[object Set]",b="[object String]",m="[object WeakMap]",y="[object ArrayBuffer]",x="[object DataView]",q="[object Float32Array]",A="[object Float64Array]",C="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Uint8Array]",j="[object Uint8ClampedArray]",F="[object Uint16Array]",G="[object Uint32Array]",P={};P[q]=P[A]=P[C]=P[I]=P[S]=P[O]=P[j]=P[F]=P[G]=!0,P[n]=P[a]=P[y]=P[i]=P[x]=P[s]=P[o]=P[u]=P[c]=P[l]=P[f]=P[v]=P[g]=P[b]=P[m]=!1;function L(M){return t(M)&&r(M.length)&&!!P[e(M)]}return Ue=L,Ue}var Ke,Ra;function Ye(){if(Ra)return Ke;Ra=1;function e(r){return function(t){return r(t)}}return Ke=e,Ke}var oe={exports:{}};oe.exports;var Ea;function tu(){return Ea||(Ea=1,function(e,r){var t=sa(),n=r&&!r.nodeType&&r,a=n&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===n,s=i&&t.process,o=function(){try{var u=a&&a.require&&a.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();e.exports=o}(oe,oe.exports)),oe.exports}var Ve,xa;function Ca(){if(xa)return Ve;xa=1;var e=ru(),r=Ye(),t=tu(),n=t&&t.isTypedArray,a=n?r(n):e;return Ve=a,Ve}var We,Pa;function Sa(){if(Pa)return We;Pa=1;var e=Jo(),r=Fe(),t=H(),n=ma(),a=Le(),i=Ca(),s=Object.prototype,o=s.hasOwnProperty;function u(c,l){var f=t(c),v=!f&&r(c),g=!f&&!v&&n(c),b=!f&&!v&&!g&&i(c),m=f||v||g||b,y=m?e(c.length,String):[],x=y.length;for(var q in c)(l||o.call(c,q))&&!(m&&(q=="length"||g&&(q=="offset"||q=="parent")||b&&(q=="buffer"||q=="byteLength"||q=="byteOffset")||a(q,x)))&&y.push(q);return y}return We=u,We}var ze,Aa;function Oa(){if(Aa)return ze;Aa=1;var e=Object.prototype;function r(t){var n=t&&t.constructor,a=typeof n=="function"&&n.prototype||e;return t===a}return ze=r,ze}var $e,Ta;function nu(){if(Ta)return $e;Ta=1;function e(r,t){return function(n){return r(t(n))}}return $e=e,$e}var Je,wa;function au(){if(wa)return Je;wa=1;var e=nu(),r=e(Object.keys,Object);return Je=r,Je}var Xe,Ia;function iu(){if(Ia)return Xe;Ia=1;var e=Oa(),r=au(),t=Object.prototype,n=t.hasOwnProperty;function a(i){if(!e(i))return r(i);var s=[];for(var o in Object(i))n.call(i,o)&&o!="constructor"&&s.push(o);return s}return Xe=a,Xe}var Ze,Na;function ee(){if(Na)return Ze;Na=1;function e(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}return Ze=e,Ze}var Qe,Da;function ja(){if(Da)return Qe;Da=1;var e=ie(),r=ee(),t="[object AsyncFunction]",n="[object Function]",a="[object GeneratorFunction]",i="[object Proxy]";function s(o){if(!r(o))return!1;var u=e(o);return u==n||u==a||u==t||u==i}return Qe=s,Qe}var er,Fa;function J(){if(Fa)return er;Fa=1;var e=ja(),r=He();function t(n){return n!=null&&r(n.length)&&!e(n)}return er=t,er}var rr,Ma;function pe(){if(Ma)return rr;Ma=1;var e=Sa(),r=iu(),t=J();function n(a){return t(a)?e(a):r(a)}return rr=n,rr}var tr,ka;function su(){if(ka)return tr;ka=1;var e=$o(),r=pe();function t(n,a){return n&&e(n,a,r)}return tr=t,tr}var nr,Ba;function ou(){if(Ba)return nr;Ba=1;var e=J();function r(t,n){return function(a,i){if(a==null)return a;if(!e(a))return t(a,i);for(var s=a.length,o=n?s:-1,u=Object(a);(n?o--:++o<s)&&i(u[o],o,u)!==!1;);return a}}return nr=r,nr}var ar,La;function ir(){if(La)return ar;La=1;var e=su(),r=ou(),t=r(e);return ar=t,ar}var sr,Ga;function uu(){if(Ga)return sr;Ga=1;var e=ir();function r(t,n){var a=[];return e(t,function(i,s,o){n(i,s,o)&&a.push(i)}),a}return sr=r,sr}var or,Ha;function cu(){if(Ha)return or;Ha=1;function e(){this.__data__=[],this.size=0}return or=e,or}var ur,Ua;function _e(){if(Ua)return ur;Ua=1;function e(r,t){return r===t||r!==r&&t!==t}return ur=e,ur}var cr,Ka;function ge(){if(Ka)return cr;Ka=1;var e=_e();function r(t,n){for(var a=t.length;a--;)if(e(t[a][0],n))return a;return-1}return cr=r,cr}var lr,Ya;function lu(){if(Ya)return lr;Ya=1;var e=ge(),r=Array.prototype,t=r.splice;function n(a){var i=this.__data__,s=e(i,a);if(s<0)return!1;var o=i.length-1;return s==o?i.pop():t.call(i,s,1),--this.size,!0}return lr=n,lr}var fr,Va;function fu(){if(Va)return fr;Va=1;var e=ge();function r(t){var n=this.__data__,a=e(n,t);return a<0?void 0:n[a][1]}return fr=r,fr}var dr,Wa;function du(){if(Wa)return dr;Wa=1;var e=ge();function r(t){return e(this.__data__,t)>-1}return dr=r,dr}var hr,za;function hu(){if(za)return hr;za=1;var e=ge();function r(t,n){var a=this.__data__,i=e(a,t);return i<0?(++this.size,a.push([t,n])):a[i][1]=n,this}return hr=r,hr}var vr,$a;function me(){if($a)return vr;$a=1;var e=cu(),r=lu(),t=fu(),n=du(),a=hu();function i(s){var o=-1,u=s==null?0:s.length;for(this.clear();++o<u;){var c=s[o];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,vr=i,vr}var pr,Ja;function vu(){if(Ja)return pr;Ja=1;var e=me();function r(){this.__data__=new e,this.size=0}return pr=r,pr}var _r,Xa;function pu(){if(Xa)return _r;Xa=1;function e(r){var t=this.__data__,n=t.delete(r);return this.size=t.size,n}return _r=e,_r}var gr,Za;function _u(){if(Za)return gr;Za=1;function e(r){return this.__data__.get(r)}return gr=e,gr}var mr,Qa;function gu(){if(Qa)return mr;Qa=1;function e(r){return this.__data__.has(r)}return mr=e,mr}var yr,ei;function mu(){if(ei)return yr;ei=1;var e=Y(),r=e["__core-js_shared__"];return yr=r,yr}var br,ri;function yu(){if(ri)return br;ri=1;var e=mu(),r=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function t(n){return!!r&&r in n}return br=t,br}var qr,ti;function ni(){if(ti)return qr;ti=1;var e=Function.prototype,r=e.toString;function t(n){if(n!=null){try{return r.call(n)}catch{}try{return n+""}catch{}}return""}return qr=t,qr}var Rr,ai;function bu(){if(ai)return Rr;ai=1;var e=ja(),r=yu(),t=ee(),n=ni(),a=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,s=Function.prototype,o=Object.prototype,u=s.toString,c=o.hasOwnProperty,l=RegExp("^"+u.call(c).replace(a,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(v){if(!t(v)||r(v))return!1;var g=e(v)?l:i;return g.test(n(v))}return Rr=f,Rr}var Er,ii;function qu(){if(ii)return Er;ii=1;function e(r,t){return r?.[t]}return Er=e,Er}var xr,si;function X(){if(si)return xr;si=1;var e=bu(),r=qu();function t(n,a){var i=r(n,a);return e(i)?i:void 0}return xr=t,xr}var Cr,oi;function Pr(){if(oi)return Cr;oi=1;var e=X(),r=Y(),t=e(r,"Map");return Cr=t,Cr}var Sr,ui;function ye(){if(ui)return Sr;ui=1;var e=X(),r=e(Object,"create");return Sr=r,Sr}var Ar,ci;function Ru(){if(ci)return Ar;ci=1;var e=ye();function r(){this.__data__=e?e(null):{},this.size=0}return Ar=r,Ar}var Or,li;function Eu(){if(li)return Or;li=1;function e(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}return Or=e,Or}var Tr,fi;function xu(){if(fi)return Tr;fi=1;var e=ye(),r="__lodash_hash_undefined__",t=Object.prototype,n=t.hasOwnProperty;function a(i){var s=this.__data__;if(e){var o=s[i];return o===r?void 0:o}return n.call(s,i)?s[i]:void 0}return Tr=a,Tr}var wr,di;function Cu(){if(di)return wr;di=1;var e=ye(),r=Object.prototype,t=r.hasOwnProperty;function n(a){var i=this.__data__;return e?i[a]!==void 0:t.call(i,a)}return wr=n,wr}var Ir,hi;function Pu(){if(hi)return Ir;hi=1;var e=ye(),r="__lodash_hash_undefined__";function t(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&a===void 0?r:a,this}return Ir=t,Ir}var Nr,vi;function Su(){if(vi)return Nr;vi=1;var e=Ru(),r=Eu(),t=xu(),n=Cu(),a=Pu();function i(s){var o=-1,u=s==null?0:s.length;for(this.clear();++o<u;){var c=s[o];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,Nr=i,Nr}var Dr,pi;function Au(){if(pi)return Dr;pi=1;var e=Su(),r=me(),t=Pr();function n(){this.size=0,this.__data__={hash:new e,map:new(t||r),string:new e}}return Dr=n,Dr}var jr,_i;function Ou(){if(_i)return jr;_i=1;function e(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}return jr=e,jr}var Fr,gi;function be(){if(gi)return Fr;gi=1;var e=Ou();function r(t,n){var a=t.__data__;return e(n)?a[typeof n=="string"?"string":"hash"]:a.map}return Fr=r,Fr}var Mr,mi;function Tu(){if(mi)return Mr;mi=1;var e=be();function r(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}return Mr=r,Mr}var kr,yi;function wu(){if(yi)return kr;yi=1;var e=be();function r(t){return e(this,t).get(t)}return kr=r,kr}var Br,bi;function Iu(){if(bi)return Br;bi=1;var e=be();function r(t){return e(this,t).has(t)}return Br=r,Br}var Lr,qi;function Nu(){if(qi)return Lr;qi=1;var e=be();function r(t,n){var a=e(this,t),i=a.size;return a.set(t,n),this.size+=a.size==i?0:1,this}return Lr=r,Lr}var Gr,Ri;function Hr(){if(Ri)return Gr;Ri=1;var e=Au(),r=Tu(),t=wu(),n=Iu(),a=Nu();function i(s){var o=-1,u=s==null?0:s.length;for(this.clear();++o<u;){var c=s[o];this.set(c[0],c[1])}}return i.prototype.clear=e,i.prototype.delete=r,i.prototype.get=t,i.prototype.has=n,i.prototype.set=a,Gr=i,Gr}var Ur,Ei;function Du(){if(Ei)return Ur;Ei=1;var e=me(),r=Pr(),t=Hr(),n=200;function a(i,s){var o=this.__data__;if(o instanceof e){var u=o.__data__;if(!r||u.length<n-1)return u.push([i,s]),this.size=++o.size,this;o=this.__data__=new t(u)}return o.set(i,s),this.size=o.size,this}return Ur=a,Ur}var Kr,xi;function Ci(){if(xi)return Kr;xi=1;var e=me(),r=vu(),t=pu(),n=_u(),a=gu(),i=Du();function s(o){var u=this.__data__=new e(o);this.size=u.size}return s.prototype.clear=r,s.prototype.delete=t,s.prototype.get=n,s.prototype.has=a,s.prototype.set=i,Kr=s,Kr}var Yr,Pi;function ju(){if(Pi)return Yr;Pi=1;var e="__lodash_hash_undefined__";function r(t){return this.__data__.set(t,e),this}return Yr=r,Yr}var Vr,Si;function Fu(){if(Si)return Vr;Si=1;function e(r){return this.__data__.has(r)}return Vr=e,Vr}var Wr,Ai;function Oi(){if(Ai)return Wr;Ai=1;var e=Hr(),r=ju(),t=Fu();function n(a){var i=-1,s=a==null?0:a.length;for(this.__data__=new e;++i<s;)this.add(a[i])}return n.prototype.add=n.prototype.push=r,n.prototype.has=t,Wr=n,Wr}var zr,Ti;function Mu(){if(Ti)return zr;Ti=1;function e(r,t){for(var n=-1,a=r==null?0:r.length;++n<a;)if(t(r[n],n,r))return!0;return!1}return zr=e,zr}var $r,wi;function Ii(){if(wi)return $r;wi=1;function e(r,t){return r.has(t)}return $r=e,$r}var Jr,Ni;function Di(){if(Ni)return Jr;Ni=1;var e=Oi(),r=Mu(),t=Ii(),n=1,a=2;function i(s,o,u,c,l,f){var v=u&n,g=s.length,b=o.length;if(g!=b&&!(v&&b>g))return!1;var m=f.get(s),y=f.get(o);if(m&&y)return m==o&&y==s;var x=-1,q=!0,A=u&a?new e:void 0;for(f.set(s,o),f.set(o,s);++x<g;){var C=s[x],I=o[x];if(c)var S=v?c(I,C,x,o,s,f):c(C,I,x,s,o,f);if(S!==void 0){if(S)continue;q=!1;break}if(A){if(!r(o,function(O,j){if(!t(A,j)&&(C===O||l(C,O,u,c,f)))return A.push(j)})){q=!1;break}}else if(!(C===I||l(C,I,u,c,f))){q=!1;break}}return f.delete(s),f.delete(o),q}return Jr=i,Jr}var Xr,ji;function ku(){if(ji)return Xr;ji=1;var e=Y(),r=e.Uint8Array;return Xr=r,Xr}var Zr,Fi;function Bu(){if(Fi)return Zr;Fi=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(a,i){n[++t]=[i,a]}),n}return Zr=e,Zr}var Qr,Mi;function Lu(){if(Mi)return Qr;Mi=1;function e(r){var t=-1,n=Array(r.size);return r.forEach(function(a){n[++t]=a}),n}return Qr=e,Qr}var et,ki;function Gu(){if(ki)return et;ki=1;var e=ae(),r=ku(),t=_e(),n=Di(),a=Bu(),i=Lu(),s=1,o=2,u="[object Boolean]",c="[object Date]",l="[object Error]",f="[object Map]",v="[object Number]",g="[object RegExp]",b="[object Set]",m="[object String]",y="[object Symbol]",x="[object ArrayBuffer]",q="[object DataView]",A=e?e.prototype:void 0,C=A?A.valueOf:void 0;function I(S,O,j,F,G,P,L){switch(j){case q:if(S.byteLength!=O.byteLength||S.byteOffset!=O.byteOffset)return!1;S=S.buffer,O=O.buffer;case x:return!(S.byteLength!=O.byteLength||!P(new r(S),new r(O)));case u:case c:case v:return t(+S,+O);case l:return S.name==O.name&&S.message==O.message;case g:case m:return S==O+"";case f:var M=a;case b:var V=F&s;if(M||(M=i),S.size!=O.size&&!V)return!1;var p=L.get(S);if(p)return p==O;F|=o,L.set(S,O);var h=n(M(S),M(O),F,G,P,L);return L.delete(S),h;case y:if(C)return C.call(S)==C.call(O)}return!1}return et=I,et}var rt,Bi;function Li(){if(Bi)return rt;Bi=1;function e(r,t){for(var n=-1,a=t.length,i=r.length;++n<a;)r[i+n]=t[n];return r}return rt=e,rt}var tt,Gi;function Hu(){if(Gi)return tt;Gi=1;var e=Li(),r=H();function t(n,a,i){var s=a(n);return r(n)?s:e(s,i(n))}return tt=t,tt}var nt,Hi;function Uu(){if(Hi)return nt;Hi=1;function e(){return[]}return nt=e,nt}var at,Ui;function Ku(){if(Ui)return at;Ui=1;var e=ra(),r=Uu(),t=Object.prototype,n=t.propertyIsEnumerable,a=Object.getOwnPropertySymbols,i=a?function(s){return s==null?[]:(s=Object(s),e(a(s),function(o){return n.call(s,o)}))}:r;return at=i,at}var it,Ki;function Yu(){if(Ki)return it;Ki=1;var e=Hu(),r=Ku(),t=pe();function n(a){return e(a,t,r)}return it=n,it}var st,Yi;function Vu(){if(Yi)return st;Yi=1;var e=Yu(),r=1,t=Object.prototype,n=t.hasOwnProperty;function a(i,s,o,u,c,l){var f=o&r,v=e(i),g=v.length,b=e(s),m=b.length;if(g!=m&&!f)return!1;for(var y=g;y--;){var x=v[y];if(!(f?x in s:n.call(s,x)))return!1}var q=l.get(i),A=l.get(s);if(q&&A)return q==s&&A==i;var C=!0;l.set(i,s),l.set(s,i);for(var I=f;++y<g;){x=v[y];var S=i[x],O=s[x];if(u)var j=f?u(O,S,x,s,i,l):u(S,O,x,i,s,l);if(!(j===void 0?S===O||c(S,O,o,u,l):j)){C=!1;break}I||(I=x=="constructor")}if(C&&!I){var F=i.constructor,G=s.constructor;F!=G&&"constructor"in i&&"constructor"in s&&!(typeof F=="function"&&F instanceof F&&typeof G=="function"&&G instanceof G)&&(C=!1)}return l.delete(i),l.delete(s),C}return st=a,st}var ot,Vi;function Wu(){if(Vi)return ot;Vi=1;var e=X(),r=Y(),t=e(r,"DataView");return ot=t,ot}var ut,Wi;function zu(){if(Wi)return ut;Wi=1;var e=X(),r=Y(),t=e(r,"Promise");return ut=t,ut}var ct,zi;function $u(){if(zi)return ct;zi=1;var e=X(),r=Y(),t=e(r,"Set");return ct=t,ct}var lt,$i;function Ju(){if($i)return lt;$i=1;var e=X(),r=Y(),t=e(r,"WeakMap");return lt=t,lt}var ft,Ji;function Xu(){if(Ji)return ft;Ji=1;var e=Wu(),r=Pr(),t=zu(),n=$u(),a=Ju(),i=ie(),s=ni(),o="[object Map]",u="[object Object]",c="[object Promise]",l="[object Set]",f="[object WeakMap]",v="[object DataView]",g=s(e),b=s(r),m=s(t),y=s(n),x=s(a),q=i;return(e&&q(new e(new ArrayBuffer(1)))!=v||r&&q(new r)!=o||t&&q(t.resolve())!=c||n&&q(new n)!=l||a&&q(new a)!=f)&&(q=function(A){var C=i(A),I=C==u?A.constructor:void 0,S=I?s(I):"";if(S)switch(S){case g:return v;case b:return o;case m:return c;case y:return l;case x:return f}return C}),ft=q,ft}var dt,Xi;function Zu(){if(Xi)return dt;Xi=1;var e=Ci(),r=Di(),t=Gu(),n=Vu(),a=Xu(),i=H(),s=ma(),o=Ca(),u=1,c="[object Arguments]",l="[object Array]",f="[object Object]",v=Object.prototype,g=v.hasOwnProperty;function b(m,y,x,q,A,C){var I=i(m),S=i(y),O=I?l:a(m),j=S?l:a(y);O=O==c?f:O,j=j==c?f:j;var F=O==f,G=j==f,P=O==j;if(P&&s(m)){if(!s(y))return!1;I=!0,F=!1}if(P&&!F)return C||(C=new e),I||o(m)?r(m,y,x,q,A,C):t(m,y,O,x,q,A,C);if(!(x&u)){var L=F&&g.call(m,"__wrapped__"),M=G&&g.call(y,"__wrapped__");if(L||M){var V=L?m.value():m,p=M?y.value():y;return C||(C=new e),A(V,p,x,q,C)}}return P?(C||(C=new e),n(m,y,x,q,A,C)):!1}return dt=b,dt}var ht,Zi;function Qi(){if(Zi)return ht;Zi=1;var e=Zu(),r=Q();function t(n,a,i,s,o){return n===a?!0:n==null||a==null||!r(n)&&!r(a)?n!==n&&a!==a:e(n,a,i,s,t,o)}return ht=t,ht}var vt,es;function Qu(){if(es)return vt;es=1;var e=Ci(),r=Qi(),t=1,n=2;function a(i,s,o,u){var c=o.length,l=c,f=!u;if(i==null)return!l;for(i=Object(i);c--;){var v=o[c];if(f&&v[2]?v[1]!==i[v[0]]:!(v[0]in i))return!1}for(;++c<l;){v=o[c];var g=v[0],b=i[g],m=v[1];if(f&&v[2]){if(b===void 0&&!(g in i))return!1}else{var y=new e;if(u)var x=u(b,m,g,i,s,y);if(!(x===void 0?r(m,b,t|n,u,y):x))return!1}}return!0}return vt=a,vt}var pt,rs;function ts(){if(rs)return pt;rs=1;var e=ee();function r(t){return t===t&&!e(t)}return pt=r,pt}var _t,ns;function ec(){if(ns)return _t;ns=1;var e=ts(),r=pe();function t(n){for(var a=r(n),i=a.length;i--;){var s=a[i],o=n[s];a[i]=[s,o,e(o)]}return a}return _t=t,_t}var gt,as;function is(){if(as)return gt;as=1;function e(r,t){return function(n){return n==null?!1:n[r]===t&&(t!==void 0||r in Object(n))}}return gt=e,gt}var mt,ss;function rc(){if(ss)return mt;ss=1;var e=Qu(),r=ec(),t=is();function n(a){var i=r(a);return i.length==1&&i[0][2]?t(i[0][0],i[0][1]):function(s){return s===a||e(s,a,i)}}return mt=n,mt}var yt,os;function ue(){if(os)return yt;os=1;var e=ie(),r=Q(),t="[object Symbol]";function n(a){return typeof a=="symbol"||r(a)&&e(a)==t}return yt=n,yt}var bt,us;function qt(){if(us)return bt;us=1;var e=H(),r=ue(),t=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function a(i,s){if(e(i))return!1;var o=typeof i;return o=="number"||o=="symbol"||o=="boolean"||i==null||r(i)?!0:n.test(i)||!t.test(i)||s!=null&&i in Object(s)}return bt=a,bt}var Rt,cs;function tc(){if(cs)return Rt;cs=1;var e=Hr(),r="Expected a function";function t(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(r);var i=function(){var s=arguments,o=a?a.apply(this,s):s[0],u=i.cache;if(u.has(o))return u.get(o);var c=n.apply(this,s);return i.cache=u.set(o,c)||u,c};return i.cache=new(t.Cache||e),i}return t.Cache=e,Rt=t,Rt}var Et,ls;function nc(){if(ls)return Et;ls=1;var e=tc(),r=500;function t(n){var a=e(n,function(s){return i.size===r&&i.clear(),s}),i=a.cache;return a}return Et=t,Et}var xt,fs;function ac(){if(fs)return xt;fs=1;var e=nc(),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,t=/\\(\\)?/g,n=e(function(a){var i=[];return a.charCodeAt(0)===46&&i.push(""),a.replace(r,function(s,o,u,c){i.push(u?c.replace(t,"$1"):o||s)}),i});return xt=n,xt}var Ct,ds;function qe(){if(ds)return Ct;ds=1;function e(r,t){for(var n=-1,a=r==null?0:r.length,i=Array(a);++n<a;)i[n]=t(r[n],n,r);return i}return Ct=e,Ct}var Pt,hs;function ic(){if(hs)return Pt;hs=1;var e=ae(),r=qe(),t=H(),n=ue(),a=e?e.prototype:void 0,i=a?a.toString:void 0;function s(o){if(typeof o=="string")return o;if(t(o))return r(o,s)+"";if(n(o))return i?i.call(o):"";var u=o+"";return u=="0"&&1/o==-1/0?"-0":u}return Pt=s,Pt}var St,vs;function sc(){if(vs)return St;vs=1;var e=ic();function r(t){return t==null?"":e(t)}return St=r,St}var At,ps;function _s(){if(ps)return At;ps=1;var e=H(),r=qt(),t=ac(),n=sc();function a(i,s){return e(i)?i:r(i,s)?[i]:t(n(i))}return At=a,At}var Ot,gs;function Re(){if(gs)return Ot;gs=1;var e=ue();function r(t){if(typeof t=="string"||e(t))return t;var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}return Ot=r,Ot}var Tt,ms;function wt(){if(ms)return Tt;ms=1;var e=_s(),r=Re();function t(n,a){a=e(a,n);for(var i=0,s=a.length;n!=null&&i<s;)n=n[r(a[i++])];return i&&i==s?n:void 0}return Tt=t,Tt}var It,ys;function oc(){if(ys)return It;ys=1;var e=wt();function r(t,n,a){var i=t==null?void 0:e(t,n);return i===void 0?a:i}return It=r,It}var Nt,bs;function uc(){if(bs)return Nt;bs=1;function e(r,t){return r!=null&&t in Object(r)}return Nt=e,Nt}var Dt,qs;function cc(){if(qs)return Dt;qs=1;var e=_s(),r=Fe(),t=H(),n=Le(),a=He(),i=Re();function s(o,u,c){u=e(u,o);for(var l=-1,f=u.length,v=!1;++l<f;){var g=i(u[l]);if(!(v=o!=null&&c(o,g)))break;o=o[g]}return v||++l!=f?v:(f=o==null?0:o.length,!!f&&a(f)&&n(g,f)&&(t(o)||r(o)))}return Dt=s,Dt}var jt,Rs;function lc(){if(Rs)return jt;Rs=1;var e=uc(),r=cc();function t(n,a){return n!=null&&r(n,a,e)}return jt=t,jt}var Ft,Es;function fc(){if(Es)return Ft;Es=1;var e=Qi(),r=oc(),t=lc(),n=qt(),a=ts(),i=is(),s=Re(),o=1,u=2;function c(l,f){return n(l)&&a(f)?i(s(l),f):function(v){var g=r(v,l);return g===void 0&&g===f?t(v,l):e(f,g,o|u)}}return Ft=c,Ft}var Mt,xs;function ce(){if(xs)return Mt;xs=1;function e(r){return r}return Mt=e,Mt}var kt,Cs;function dc(){if(Cs)return kt;Cs=1;function e(r){return function(t){return t?.[r]}}return kt=e,kt}var Bt,Ps;function hc(){if(Ps)return Bt;Ps=1;var e=wt();function r(t){return function(n){return e(n,t)}}return Bt=r,Bt}var Lt,Ss;function vc(){if(Ss)return Lt;Ss=1;var e=dc(),r=hc(),t=qt(),n=Re();function a(i){return t(i)?e(n(i)):r(i)}return Lt=a,Lt}var Gt,As;function le(){if(As)return Gt;As=1;var e=rc(),r=fc(),t=ce(),n=H(),a=vc();function i(s){return typeof s=="function"?s:s==null?t:typeof s=="object"?n(s)?r(s[0],s[1]):e(s):a(s)}return Gt=i,Gt}var Ht,Os;function pc(){if(Os)return Ht;Os=1;var e=ra(),r=uu(),t=le(),n=H();function a(i,s){var o=n(i)?e:r;return o(i,t(s,3))}return Ht=a,Ht}var _c=pc();const gc=K(_c);var Ut,Ts;function ws(){if(Ts)return Ut;Ts=1;var e=ir(),r=J();function t(n,a){var i=-1,s=r(n)?Array(n.length):[];return e(n,function(o,u,c){s[++i]=a(o,u,c)}),s}return Ut=t,Ut}var Kt,Is;function mc(){if(Is)return Kt;Is=1;var e=qe(),r=le(),t=ws(),n=H();function a(i,s){var o=n(i)?e:t;return o(i,r(s,3))}return Kt=a,Kt}var yc=mc();const bc=K(yc);var Yt,Ns;function qc(){if(Ns)return Yt;Ns=1;var e=le(),r=J(),t=pe();function n(a){return function(i,s,o){var u=Object(i);if(!r(i)){var c=e(s,3);i=t(i),s=function(f){return c(u[f],f,u)}}var l=a(i,s,o);return l>-1?u[c?i[l]:l]:void 0}}return Yt=n,Yt}var Vt,Ds;function js(){if(Ds)return Vt;Ds=1;function e(r,t,n,a){for(var i=r.length,s=n+(a?1:-1);a?s--:++s<i;)if(t(r[s],s,r))return s;return-1}return Vt=e,Vt}var Wt,Fs;function Rc(){if(Fs)return Wt;Fs=1;var e=/\s/;function r(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}return Wt=r,Wt}var zt,Ms;function Ec(){if(Ms)return zt;Ms=1;var e=Rc(),r=/^\s+/;function t(n){return n&&n.slice(0,e(n)+1).replace(r,"")}return zt=t,zt}var $t,ks;function xc(){if(ks)return $t;ks=1;var e=Ec(),r=ee(),t=ue(),n=NaN,a=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,o=parseInt;function u(c){if(typeof c=="number")return c;if(t(c))return n;if(r(c)){var l=typeof c.valueOf=="function"?c.valueOf():c;c=r(l)?l+"":l}if(typeof c!="string")return c===0?c:+c;c=e(c);var f=i.test(c);return f||s.test(c)?o(c.slice(2),f?2:8):a.test(c)?n:+c}return $t=u,$t}var Jt,Bs;function Ls(){if(Bs)return Jt;Bs=1;var e=xc(),r=1/0,t=17976931348623157e292;function n(a){if(!a)return a===0?a:0;if(a=e(a),a===r||a===-r){var i=a<0?-1:1;return i*t}return a===a?a:0}return Jt=n,Jt}var Xt,Gs;function Cc(){if(Gs)return Xt;Gs=1;var e=Ls();function r(t){var n=e(t),a=n%1;return n===n?a?n-a:n:0}return Xt=r,Xt}var Zt,Hs;function Pc(){if(Hs)return Zt;Hs=1;var e=js(),r=le(),t=Cc(),n=Math.max;function a(i,s,o){var u=i==null?0:i.length;if(!u)return-1;var c=o==null?0:t(o);return c<0&&(c=n(u+c,0)),e(i,r(s,3),c)}return Zt=a,Zt}var Qt,Us;function Ks(){if(Us)return Qt;Us=1;var e=qc(),r=Pc(),t=e(r);return Qt=t,Qt}var Sc=Ks();const Ac=K(Sc);/* object-assign (c) Sindre Sorhus @license MIT */var en,Ys;function Oc(){if(Ys)return en;Ys=1;var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,t=Object.prototype.propertyIsEnumerable;function n(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function a(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},o=0;o<10;o++)s["_"+String.fromCharCode(o)]=o;var u=Object.getOwnPropertyNames(s).map(function(l){return s[l]});if(u.join("")!=="0123456789")return!1;var c={};return"abcdefghijklmnopqrst".split("").forEach(function(l){c[l]=l}),Object.keys(Object.assign({},c)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return en=a()?Object.assign:function(i,s){for(var o,u=n(i),c,l=1;l<arguments.length;l++){o=Object(arguments[l]);for(var f in o)r.call(o,f)&&(u[f]=o[f]);if(e){c=e(o);for(var v=0;v<c.length;v++)t.call(o,c[v])&&(u[c[v]]=o[c[v]])}}return u},en}var rn,Vs;function Tc(){if(Vs)return rn;Vs=1;var e=Oc(),r={};process.env.NODE_ENV!=="production"&&Object.freeze(r);var t=function(f){};process.env.NODE_ENV!=="production"&&(t=function(f){if(f===void 0)throw new Error("invariant requires an error message argument")});function n(l,f,v,g,b,m,y,x){if(t(f),!l){var q;if(f===void 0)q=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var A=[v,g,b,m,y,x],C=0;q=new Error(f.replace(/%s/g,function(){return A[C++]})),q.name="Invariant Violation"}throw q.framesToPop=1,q}}var a=function(){};if(process.env.NODE_ENV!=="production"){var i=function(f){for(var v=arguments.length,g=Array(v>1?v-1:0),b=1;b<v;b++)g[b-1]=arguments[b];var m=0,y="Warning: "+f.replace(/%s/g,function(){return g[m++]});typeof console<"u"&&console.error(y);try{throw new Error(y)}catch{}};a=function(f,v){if(v===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(v.indexOf("Failed Composite propType: ")!==0&&!f){for(var g=arguments.length,b=Array(g>2?g-2:0),m=2;m<g;m++)b[m-2]=arguments[m];i.apply(void 0,[v].concat(b))}}}var s="mixins";function o(l){return l}var u;process.env.NODE_ENV!=="production"?u={prop:"prop",context:"context",childContext:"child context"}:u={};function c(l,f,v){var g=[],b={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},m={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},y={displayName:function(p,h){p.displayName=h},mixins:function(p,h){if(h)for(var R=0;R<h.length;R++)A(p,h[R])},childContextTypes:function(p,h){process.env.NODE_ENV!=="production"&&x(p,h,"childContext"),p.childContextTypes=e({},p.childContextTypes,h)},contextTypes:function(p,h){process.env.NODE_ENV!=="production"&&x(p,h,"context"),p.contextTypes=e({},p.contextTypes,h)},getDefaultProps:function(p,h){p.getDefaultProps?p.getDefaultProps=S(p.getDefaultProps,h):p.getDefaultProps=h},propTypes:function(p,h){process.env.NODE_ENV!=="production"&&x(p,h,"prop"),p.propTypes=e({},p.propTypes,h)},statics:function(p,h){C(p,h)},autobind:function(){}};function x(p,h,R){for(var D in h)h.hasOwnProperty(D)&&process.env.NODE_ENV!=="production"&&a(typeof h[D]=="function","%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",p.displayName||"ReactClass",u[R],D)}function q(p,h){var R=b.hasOwnProperty(h)?b[h]:null;L.hasOwnProperty(h)&&n(R==="OVERRIDE_BASE","ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",h),p&&n(R==="DEFINE_MANY"||R==="DEFINE_MANY_MERGED","ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",h)}function A(p,h){if(!h){if(process.env.NODE_ENV!=="production"){var R=typeof h,D=R==="object"&&h!==null;process.env.NODE_ENV!=="production"&&a(D,"%s: You're attempting to include a mixin that is either null or not an object. Check the mixins included by the component, as well as any mixins they include themselves. Expected object but got %s.",p.displayName||"ReactClass",h===null?null:R)}return}n(typeof h!="function","ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),n(!f(h),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var N=p.prototype,d=N.__reactAutoBindPairs;h.hasOwnProperty(s)&&y.mixins(p,h.mixins);for(var _ in h)if(h.hasOwnProperty(_)&&_!==s){var T=h[_],w=N.hasOwnProperty(_);if(q(w,_),y.hasOwnProperty(_))y[_](p,T);else{var k=b.hasOwnProperty(_),U=typeof T=="function",he=U&&!k&&!w&&h.autobind!==!1;if(he)d.push(_,T),N[_]=T;else if(w){var W=b[_];n(k&&(W==="DEFINE_MANY_MERGED"||W==="DEFINE_MANY"),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",W,_),W==="DEFINE_MANY_MERGED"?N[_]=S(N[_],T):W==="DEFINE_MANY"&&(N[_]=O(N[_],T))}else N[_]=T,process.env.NODE_ENV!=="production"&&typeof T=="function"&&h.displayName&&(N[_].displayName=h.displayName+"_"+_)}}}function C(p,h){if(h)for(var R in h){var D=h[R];if(h.hasOwnProperty(R)){var N=R in y;n(!N,'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',R);var d=R in p;if(d){var _=m.hasOwnProperty(R)?m[R]:null;n(_==="DEFINE_MANY_MERGED","ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",R),p[R]=S(p[R],D);return}p[R]=D}}}function I(p,h){n(p&&h&&typeof p=="object"&&typeof h=="object","mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.");for(var R in h)h.hasOwnProperty(R)&&(n(p[R]===void 0,"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",R),p[R]=h[R]);return p}function S(p,h){return function(){var D=p.apply(this,arguments),N=h.apply(this,arguments);if(D==null)return N;if(N==null)return D;var d={};return I(d,D),I(d,N),d}}function O(p,h){return function(){p.apply(this,arguments),h.apply(this,arguments)}}function j(p,h){var R=h.bind(p);if(process.env.NODE_ENV!=="production"){R.__reactBoundContext=p,R.__reactBoundMethod=h,R.__reactBoundArguments=null;var D=p.constructor.displayName,N=R.bind;R.bind=function(d){for(var _=arguments.length,T=Array(_>1?_-1:0),w=1;w<_;w++)T[w-1]=arguments[w];if(d!==p&&d!==null)process.env.NODE_ENV!=="production"&&a(!1,"bind(): React component methods may only be bound to the component instance. See %s",D);else if(!T.length)return process.env.NODE_ENV!=="production"&&a(!1,"bind(): You are binding a component method to the component. React does this for you automatically in a high-performance way, so you can safely remove this call. See %s",D),R;var k=N.apply(R,arguments);return k.__reactBoundContext=p,k.__reactBoundMethod=h,k.__reactBoundArguments=T,k}}return R}function F(p){for(var h=p.__reactAutoBindPairs,R=0;R<h.length;R+=2){var D=h[R],N=h[R+1];p[D]=j(p,N)}}var G={componentDidMount:function(){this.__isMounted=!0}},P={componentWillUnmount:function(){this.__isMounted=!1}},L={replaceState:function(p,h){this.updater.enqueueReplaceState(this,p,h)},isMounted:function(){return process.env.NODE_ENV!=="production"&&(a(this.__didWarnIsMounted,"%s: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks.",this.constructor&&this.constructor.displayName||this.name||"Component"),this.__didWarnIsMounted=!0),!!this.__isMounted}},M=function(){};e(M.prototype,l.prototype,L);function V(p){var h=function(D,N,d){process.env.NODE_ENV!=="production"&&a(this instanceof h,"Something is calling a React component directly. Use a factory or JSX instead. See: https://fb.me/react-legacyfactory"),this.__reactAutoBindPairs.length&&F(this),this.props=D,this.context=N,this.refs=r,this.updater=d||v,this.state=null;var _=this.getInitialState?this.getInitialState():null;process.env.NODE_ENV!=="production"&&_===void 0&&this.getInitialState._isMockFunction&&(_=null),n(typeof _=="object"&&!Array.isArray(_),"%s.getInitialState(): must return an object or null",h.displayName||"ReactCompositeComponent"),this.state=_};h.prototype=new M,h.prototype.constructor=h,h.prototype.__reactAutoBindPairs=[],g.forEach(A.bind(null,h)),A(h,G),A(h,p),A(h,P),h.getDefaultProps&&(h.defaultProps=h.getDefaultProps()),process.env.NODE_ENV!=="production"&&(h.getDefaultProps&&(h.getDefaultProps.isReactClassApproved={}),h.prototype.getInitialState&&(h.prototype.getInitialState.isReactClassApproved={})),n(h.prototype.render,"createClass(...): Class specification must implement a `render` method."),process.env.NODE_ENV!=="production"&&(a(!h.prototype.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",p.displayName||"A component"),a(!h.prototype.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",p.displayName||"A component"),a(!h.prototype.UNSAFE_componentWillRecieveProps,"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",p.displayName||"A component"));for(var R in b)h.prototype[R]||(h.prototype[R]=null);return h}return V}return rn=c,rn}var tn,Ws;function wc(){if(Ws)return tn;Ws=1;var e=z,r=Tc();if(typeof e>"u")throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var t=new e.Component().updater;return tn=r(e.Component,e.isValidElement,t),tn}var Ic=wc();const fe=K(Ic);var nn,zs;function $s(){if(zs)return nn;zs=1;var e=X(),r=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch{}}();return nn=r,nn}var an,Js;function Xs(){if(Js)return an;Js=1;var e=$s();function r(t,n,a){n=="__proto__"&&e?e(t,n,{configurable:!0,enumerable:!0,value:a,writable:!0}):t[n]=a}return an=r,an}var sn,Zs;function Nc(){if(Zs)return sn;Zs=1;var e=Xs(),r=_e(),t=Object.prototype,n=t.hasOwnProperty;function a(i,s,o){var u=i[s];(!(n.call(i,s)&&r(u,o))||o===void 0&&!(s in i))&&e(i,s,o)}return sn=a,sn}var on,Qs;function Dc(){if(Qs)return on;Qs=1;var e=Nc(),r=Xs();function t(n,a,i,s){var o=!i;i||(i={});for(var u=-1,c=a.length;++u<c;){var l=a[u],f=s?s(i[l],n[l],l,i,n):void 0;f===void 0&&(f=n[l]),o?r(i,l,f):e(i,l,f)}return i}return on=t,on}var un,eo;function jc(){if(eo)return un;eo=1;function e(r,t,n){switch(n.length){case 0:return r.call(t);case 1:return r.call(t,n[0]);case 2:return r.call(t,n[0],n[1]);case 3:return r.call(t,n[0],n[1],n[2])}return r.apply(t,n)}return un=e,un}var cn,ro;function Fc(){if(ro)return cn;ro=1;var e=jc(),r=Math.max;function t(n,a,i){return a=r(a===void 0?n.length-1:a,0),function(){for(var s=arguments,o=-1,u=r(s.length-a,0),c=Array(u);++o<u;)c[o]=s[a+o];o=-1;for(var l=Array(a+1);++o<a;)l[o]=s[o];return l[a]=i(c),e(n,this,l)}}return cn=t,cn}var ln,to;function Mc(){if(to)return ln;to=1;function e(r){return function(){return r}}return ln=e,ln}var fn,no;function kc(){if(no)return fn;no=1;var e=Mc(),r=$s(),t=ce(),n=r?function(a,i){return r(a,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:t;return fn=n,fn}var dn,ao;function Bc(){if(ao)return dn;ao=1;var e=800,r=16,t=Date.now;function n(a){var i=0,s=0;return function(){var o=t(),u=r-(o-s);if(s=o,u>0){if(++i>=e)return arguments[0]}else i=0;return a.apply(void 0,arguments)}}return dn=n,dn}var hn,io;function Lc(){if(io)return hn;io=1;var e=kc(),r=Bc(),t=r(e);return hn=t,hn}var vn,so;function pn(){if(so)return vn;so=1;var e=ce(),r=Fc(),t=Lc();function n(a,i){return t(r(a,i,e),a+"")}return vn=n,vn}var _n,oo;function gn(){if(oo)return _n;oo=1;var e=_e(),r=J(),t=Le(),n=ee();function a(i,s,o){if(!n(o))return!1;var u=typeof s;return(u=="number"?r(o)&&t(s,o.length):u=="string"&&s in o)?e(o[s],i):!1}return _n=a,_n}var mn,uo;function Gc(){if(uo)return mn;uo=1;var e=pn(),r=gn();function t(n){return e(function(a,i){var s=-1,o=i.length,u=o>1?i[o-1]:void 0,c=o>2?i[2]:void 0;for(u=n.length>3&&typeof u=="function"?(o--,u):void 0,c&&r(i[0],i[1],c)&&(u=o<3?void 0:u,o=1),a=Object(a);++s<o;){var l=i[s];l&&n(a,l,s,u)}return a})}return mn=t,mn}var yn,co;function Hc(){if(co)return yn;co=1;function e(r){var t=[];if(r!=null)for(var n in Object(r))t.push(n);return t}return yn=e,yn}var bn,lo;function Uc(){if(lo)return bn;lo=1;var e=ee(),r=Oa(),t=Hc(),n=Object.prototype,a=n.hasOwnProperty;function i(s){if(!e(s))return t(s);var o=r(s),u=[];for(var c in s)c=="constructor"&&(o||!a.call(s,c))||u.push(c);return u}return bn=i,bn}var qn,fo;function Kc(){if(fo)return qn;fo=1;var e=Sa(),r=Uc(),t=J();function n(a){return t(a)?e(a,!0):r(a)}return qn=n,qn}var Rn,ho;function Yc(){if(ho)return Rn;ho=1;var e=Dc(),r=Gc(),t=Kc(),n=r(function(a,i){e(i,t(i),a)});return Rn=n,Rn}var En,vo;function Vc(){return vo||(vo=1,En=Yc()),En}var xn,po;function Wc(){if(po)return xn;po=1;function e(r,t){for(var n=-1,a=r==null?0:r.length;++n<a&&t(r[n],n,r)!==!1;);return r}return xn=e,xn}var Cn,_o;function zc(){if(_o)return Cn;_o=1;var e=ce();function r(t){return typeof t=="function"?t:e}return Cn=r,Cn}var Pn,go;function $c(){if(go)return Pn;go=1;var e=Wc(),r=ir(),t=zc(),n=H();function a(i,s){var o=n(i)?e:r;return o(i,t(s))}return Pn=a,Pn}var Sn,mo;function Jc(){return mo||(mo=1,Sn=$c()),Sn}var An,yo;function Xc(){if(yo)return An;yo=1;var e=ae(),r=Fe(),t=H(),n=e?e.isConcatSpreadable:void 0;function a(i){return t(i)||r(i)||!!(n&&i&&i[n])}return An=a,An}var On,bo;function Zc(){if(bo)return On;bo=1;var e=Li(),r=Xc();function t(n,a,i,s,o){var u=-1,c=n.length;for(i||(i=r),o||(o=[]);++u<c;){var l=n[u];a>0&&i(l)?a>1?t(l,a-1,i,s,o):e(o,l):s||(o[o.length]=l)}return o}return On=t,On}var Tn,qo;function Qc(){if(qo)return Tn;qo=1;function e(r,t){var n=r.length;for(r.sort(t);n--;)r[n]=r[n].value;return r}return Tn=e,Tn}var wn,Ro;function el(){if(Ro)return wn;Ro=1;var e=ue();function r(t,n){if(t!==n){var a=t!==void 0,i=t===null,s=t===t,o=e(t),u=n!==void 0,c=n===null,l=n===n,f=e(n);if(!c&&!f&&!o&&t>n||o&&u&&l&&!c&&!f||i&&u&&l||!a&&l||!s)return 1;if(!i&&!o&&!f&&t<n||f&&a&&s&&!i&&!o||c&&a&&s||!u&&s||!l)return-1}return 0}return wn=r,wn}var In,Eo;function rl(){if(Eo)return In;Eo=1;var e=el();function r(t,n,a){for(var i=-1,s=t.criteria,o=n.criteria,u=s.length,c=a.length;++i<u;){var l=e(s[i],o[i]);if(l){if(i>=c)return l;var f=a[i];return l*(f=="desc"?-1:1)}}return t.index-n.index}return In=r,In}var Nn,xo;function tl(){if(xo)return Nn;xo=1;var e=qe(),r=wt(),t=le(),n=ws(),a=Qc(),i=Ye(),s=rl(),o=ce(),u=H();function c(l,f,v){f.length?f=e(f,function(m){return u(m)?function(y){return r(y,m.length===1?m[0]:m)}:m}):f=[o];var g=-1;f=e(f,i(t));var b=n(l,function(m,y,x){var q=e(f,function(A){return A(m)});return{criteria:q,index:++g,value:m}});return a(b,function(m,y){return s(m,y,v)})}return Nn=c,Nn}var Dn,Co;function nl(){if(Co)return Dn;Co=1;var e=Zc(),r=tl(),t=pn(),n=gn(),a=t(function(i,s){if(i==null)return[];var o=s.length;return o>1&&n(i,s[0],s[1])?s=[]:o>2&&n(s[0],s[1],s[2])&&(s=[s[0]]),r(i,e(s,1),[])});return Dn=a,Dn}var jn,Po;function al(){if(Po)return jn;Po=1;var e={extend:Vc(),each:Jc(),sortBy:nl(),find:Ks()};jn=function(a){return new r(a)};function r(a){return this.rows=a.rows,this.dimensions=a.dimensions,this.reduce=a.reduce,this.cache={},this}r.prototype.calculate=function(a){this.activeDimensions=a.dimensions,this.activeDimensions.length<1&&(this.activeDimensions=[""]),this.sortBy=a.sortBy,this.sortDir=a.sortDir,this.filter=a.filter,this.compact=a.compact;var i=this.getResults(),s=this.parseResults(i);return s},r.prototype.getResults=function(){var a=this;this.getColumns();var i=this.activeDimensions,s=this.filter,o=this.reduce,u={},c={};return this.rows.forEach(function(l){var f=a.createSetKeys(i,l),v=t(f[f.length-1]);if(!(s&&!s(v))){var g=u;f.forEach(function(b,m){g[b]||(g[b]={value:{},subDimensions:{},key:b});var y=g[b].value;if(s||!a.cache[b]){s||(c[b]=y),e.extend(y,o(l,y));var x=t(b);e.extend(y,x)}else g[b].value=a.cache[b];g=g[b].subDimensions})}}),e.each(c,function(l,f){a.cache[f]=l}),u},r.prototype.parseResults=function(a,o){var s=this,o=o||0,u=[],c=e.sortBy(a,this.getSortValue.bind(this));return this.sortDir==="desc"&&c.reverse(),e.each(c,function(l){var f=l.value;f._level=o,f._key=l.key;var v=Object.keys(l.subDimensions).length;if(s.compact&&v==1||u.push(f),v){var g=s.compact&&v==1?o:o+1,b=s.parseResults(l.subDimensions,g);b.forEach(function(m){u.push(m)})}}),u},r.prototype.getColumns=function(){var a=[];return this.dimensions.forEach(function(i){a.push({type:"dimension",title:i,value:i})}),a},r.prototype.createSetKeys=function(a,i){for(var s=[],o=0;o<a.length;o++){var u=a.slice(0,o+1);s.push(this.createSetKey(u,i))}return s},r.prototype.createSetKey=function(a,i){var s=this,o="";return e.sortBy(a).forEach(function(u){var c=s.findDimension(u);o+=[u,n(c,i)].join("ÿ")+"ÿ"}),o},r.prototype.findDimension=function(a){return e.find(this.dimensions,function(i){return i.title===a})},r.