@rcsb/rcsb-statistics 0.3.44-dev.aipcb.2 → 0.3.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/README.md +0 -12
  2. package/build/index.html +1 -1
  3. package/build/static/css/main.a8ce960b.css +8 -0
  4. package/build/static/js/10.d9d49a66.chunk.js +1 -0
  5. package/build/static/js/109.2ff3158c.chunk.js +1 -0
  6. package/build/static/js/152.d0d96551.chunk.js +2 -0
  7. package/build/static/js/{717.312e799d.chunk.js.LICENSE.txt → 152.d0d96551.chunk.js.LICENSE.txt} +16 -0
  8. package/build/static/js/317.c95bf735.chunk.js +1 -0
  9. package/build/static/js/47.96ede111.chunk.js +1 -0
  10. package/build/static/js/613.8638dc20.chunk.js +1 -0
  11. package/build/static/js/630.bc43e10d.chunk.js +1 -0
  12. package/build/static/js/main.0e4cd2a8.js +2 -0
  13. package/package.json +1 -2
  14. package/build/ai/chart-catalog.json +0 -76
  15. package/build/ai/chart-core.d.ts +0 -53
  16. package/build/ai/chart-core.js +0 -1
  17. package/build/static/css/221.be447a2a.chunk.css +0 -68
  18. package/build/static/css/489.00de475c.chunk.css +0 -92
  19. package/build/static/css/main.894a09f3.css +0 -10
  20. package/build/static/js/221.00ed9342.chunk.js +0 -1
  21. package/build/static/js/417.a91bf47f.chunk.js +0 -1
  22. package/build/static/js/463.93a9a793.chunk.js +0 -1
  23. package/build/static/js/489.37e3a556.chunk.js +0 -1
  24. package/build/static/js/503.3d99188e.chunk.js +0 -1
  25. package/build/static/js/639.a102039f.chunk.js +0 -2
  26. package/build/static/js/639.a102039f.chunk.js.LICENSE.txt +0 -15
  27. package/build/static/js/646.d06a86d8.chunk.js +0 -1
  28. package/build/static/js/690.c5f42ab2.chunk.js +0 -1
  29. package/build/static/js/717.312e799d.chunk.js +0 -2
  30. package/build/static/js/732.59dd3430.chunk.js +0 -1
  31. package/build/static/js/main.a02d7dee.js +0 -2
  32. /package/build/static/js/{main.a02d7dee.js.LICENSE.txt → main.0e4cd2a8.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- /*! For license information please see 639.a102039f.chunk.js.LICENSE.txt */
2
- (self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[639],{3431(t,e){"use strict";function n(t,e,r){const o=null!=r?r:[];return(i=t,i.map(t=>"value"in t?{name:t.name,buckets:[{label:t.name,population:t.value}]}:t)).forEach(t=>{const r=t.buckets.filter(t=>Array.isArray(t.facets));r.length>0&&r.forEach(t=>{t.facets&&n(t.facets,e?e.concat(t.label):[t.label],o)});const i={name:t.name,labelPath:null!=e?e:[],data:[]};t.buckets.forEach(t=>{t.label&&t.population&&i.data.push({label:t.label,population:t.population})}),o.push(i)}),o;var i}e.z=void 0,e.z=function(t){return t.facets?n(t.facets):[]}},8741(t,e,n){"use strict";e.vw=void 0;n(2520),n(6644);e.vw=function t(e,n){Array.isArray(n.facets)&&n.facets.forEach(n=>t(e,n)),"name"in n&&"attribute"in n&&(Array.isArray(n.facets)?n.facets.unshift(e):n.facets=[e])}},1980(t,e,n){"use strict";n.d(e,{x:()=>Ue});var r,o=n(9711);function i(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,"symbol"==typeof(o=function(t){if("object"!=typeof t||null===t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(r.key))?o:String(o),r)}var o}function u(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function a(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,c(t,e)}function c(t,e){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},c(t,e)}function l(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function h(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}!function(t){t[t.Init=0]="Init",t[t.Loading=1]="Loading",t[t.Loaded=2]="Loaded",t[t.Rendered=3]="Rendered",t[t.Error=4]="Error"}(r||(r={}));var p,d,v,_,y,g,m,b={},w=[],x=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function S(t,e){for(var n in e)t[n]=e[n];return t}function E(t){var e=t.parentNode;e&&e.removeChild(t)}function R(t,e,n){var r,o,i,u={};for(i in e)"key"==i?r=e[i]:"ref"==i?o=e[i]:u[i]=e[i];if(arguments.length>2&&(u.children=arguments.length>3?p.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(i in t.defaultProps)void 0===u[i]&&(u[i]=t.defaultProps[i]);return k(t,u,r,o,null)}function k(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++v:o};return null==o&&null!=d.vnode&&d.vnode(i),i}function A(t){return t.children}function O(t,e){this.props=t,this.context=e}function C(t,e){if(null==e)return t.__?C(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?C(t):null}function T(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break}return T(t)}}function I(t){(!t.__d&&(t.__d=!0)&&y.push(t)&&!L.__r++||g!==d.debounceRendering)&&((g=d.debounceRendering)||setTimeout)(L)}function L(){for(var t;L.__r=y.length;)t=y.sort(function(t,e){return t.__v.__b-e.__v.__b}),y=[],t.some(function(t){var e,n,r,o,i,u;t.__d&&(i=(o=(e=t).__v).__e,(u=e.__P)&&(n=[],(r=S({},o)).__v=o.__v+1,F(u,o,r,e.__n,void 0!==u.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?C(o):i,o.__h),B(n,o),o.__e!=i&&T(o)))})}function j(t,e,n,r,o,i,u,s,a,c){var l,f,h,p,d,v,_,y=r&&r.__k||w,g=y.length;for(n.__k=[],l=0;l<e.length;l++)if(null!=(p=n.__k[l]=null==(p=e[l])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?k(null,p,null,null,p):Array.isArray(p)?k(A,{children:p},null,null,null):p.__b>0?k(p.type,p.props,p.key,p.ref?p.ref:null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(h=y[l])||h&&p.key==h.key&&p.type===h.type)y[l]=void 0;else for(f=0;f<g;f++){if((h=y[f])&&p.key==h.key&&p.type===h.type){y[f]=void 0;break}h=null}F(t,p,h=h||b,o,i,u,s,a,c),d=p.__e,(f=p.ref)&&h.ref!=f&&(_||(_=[]),h.ref&&_.push(h.ref,null,p),_.push(f,p.__c||d,p)),null!=d?(null==v&&(v=d),"function"==typeof p.type&&p.__k===h.__k?p.__d=a=P(p,a,t):a=N(t,p,h,y,d,a),"function"==typeof n.type&&(n.__d=a)):a&&h.__e==a&&a.parentNode!=t&&(a=C(h))}for(n.__e=v,l=g;l--;)null!=y[l]&&Q(y[l],y[l]);if(_)for(l=0;l<_.length;l++)W(_[l],_[++l],_[++l])}function P(t,e,n){for(var r,o=t.__k,i=0;o&&i<o.length;i++)(r=o[i])&&(r.__=t,e="function"==typeof r.type?P(r,e,n):N(n,r,r,o,r.__e,e));return e}function N(t,e,n,r,o,i){var u,s,a;if(void 0!==e.__d)u=e.__d,e.__d=void 0;else if(null==n||o!=i||null==o.parentNode)t:if(null==i||i.parentNode!==t)t.appendChild(o),u=null;else{for(s=i,a=0;(s=s.nextSibling)&&a<r.length;a+=1)if(s==o)break t;t.insertBefore(o,i),u=i}return void 0!==u?u:o.nextSibling}function D(t,e,n){"-"===e[0]?t.setProperty(e,n):t[e]=null==n?"":"number"!=typeof n||x.test(e)?n:n+"px"}function M(t,e,n,r,o){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||D(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||D(t.style,e,n[e])}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r||t.addEventListener(e,i?z:U,i):t.removeEventListener(e,i?z:U,i);else if("dangerouslySetInnerHTML"!==e){if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&-1==e.indexOf("-")?t.removeAttribute(e):t.setAttribute(e,n))}}function U(t){this.l[t.type+!1](d.event?d.event(t):t)}function z(t){this.l[t.type+!0](d.event?d.event(t):t)}function F(t,e,n,r,o,i,u,s,a){var c,l,f,h,p,v,_,y,g,m,b,w,x,E,R,k=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(a=n.__h,s=e.__e=n.__e,e.__h=null,i=[s]),(c=d.__b)&&c(e);try{t:if("function"==typeof k){if(y=e.props,g=(c=k.contextType)&&r[c.__c],m=c?g?g.props.value:c.__:r,n.__c?_=(l=e.__c=n.__c).__=l.__E:("prototype"in k&&k.prototype.render?e.__c=l=new k(y,m):(e.__c=l=new O(y,m),l.constructor=k,l.render=$),g&&g.sub(l),l.props=y,l.state||(l.state={}),l.context=m,l.__n=r,f=l.__d=!0,l.__h=[],l._sb=[]),null==l.__s&&(l.__s=l.state),null!=k.getDerivedStateFromProps&&(l.__s==l.state&&(l.__s=S({},l.__s)),S(l.__s,k.getDerivedStateFromProps(y,l.__s))),h=l.props,p=l.state,f)null==k.getDerivedStateFromProps&&null!=l.componentWillMount&&l.componentWillMount(),null!=l.componentDidMount&&l.__h.push(l.componentDidMount);else{if(null==k.getDerivedStateFromProps&&y!==h&&null!=l.componentWillReceiveProps&&l.componentWillReceiveProps(y,m),!l.__e&&null!=l.shouldComponentUpdate&&!1===l.shouldComponentUpdate(y,l.__s,m)||e.__v===n.__v){for(l.props=y,l.state=l.__s,e.__v!==n.__v&&(l.__d=!1),l.__v=e,e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(t){t&&(t.__=e)}),b=0;b<l._sb.length;b++)l.__h.push(l._sb[b]);l._sb=[],l.__h.length&&u.push(l);break t}null!=l.componentWillUpdate&&l.componentWillUpdate(y,l.__s,m),null!=l.componentDidUpdate&&l.__h.push(function(){l.componentDidUpdate(h,p,v)})}if(l.context=m,l.props=y,l.__v=e,l.__P=t,w=d.__r,x=0,"prototype"in k&&k.prototype.render){for(l.state=l.__s,l.__d=!1,w&&w(e),c=l.render(l.props,l.state,l.context),E=0;E<l._sb.length;E++)l.__h.push(l._sb[E]);l._sb=[]}else do{l.__d=!1,w&&w(e),c=l.render(l.props,l.state,l.context),l.state=l.__s}while(l.__d&&++x<25);l.state=l.__s,null!=l.getChildContext&&(r=S(S({},r),l.getChildContext())),f||null==l.getSnapshotBeforeUpdate||(v=l.getSnapshotBeforeUpdate(h,p)),R=null!=c&&c.type===A&&null==c.key?c.props.children:c,j(t,Array.isArray(R)?R:[R],e,n,r,o,i,u,s,a),l.base=e.__e,e.__h=null,l.__h.length&&u.push(l),_&&(l.__E=l.__=null),l.__e=!1}else null==i&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=H(n.__e,e,n,r,o,i,u,a);(c=d.diffed)&&c(e)}catch(t){e.__v=null,(a||null!=i)&&(e.__e=s,e.__h=!!a,i[i.indexOf(s)]=null),d.__e(t,e,n)}}function B(t,e){d.__c&&d.__c(e,t),t.some(function(e){try{t=e.__h,e.__h=[],t.some(function(t){t.call(e)})}catch(t){d.__e(t,e.__v)}})}function H(t,e,n,r,o,i,u,s){var a,c,l,f=n.props,h=e.props,d=e.type,v=0;if("svg"===d&&(o=!0),null!=i)for(;v<i.length;v++)if((a=i[v])&&"setAttribute"in a==!!d&&(d?a.localName===d:3===a.nodeType)){t=a,i[v]=null;break}if(null==t){if(null===d)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,h.is&&h),i=null,s=!1}if(null===d)f===h||s&&t.data===h||(t.data=h);else{if(i=i&&p.call(t.childNodes),c=(f=n.props||b).dangerouslySetInnerHTML,l=h.dangerouslySetInnerHTML,!s){if(null!=i)for(f={},v=0;v<t.attributes.length;v++)f[t.attributes[v].name]=t.attributes[v].value;(l||c)&&(l&&(c&&l.__html==c.__html||l.__html===t.innerHTML)||(t.innerHTML=l&&l.__html||""))}if(function(t,e,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in e||M(t,i,null,n[i],r);for(i in e)o&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||M(t,i,e[i],n[i],r)}(t,h,f,o,s),l)e.__k=[];else if(v=e.props.children,j(t,Array.isArray(v)?v:[v],e,n,r,o&&"foreignObject"!==d,i,u,i?i[0]:n.__k&&C(n,0),s),null!=i)for(v=i.length;v--;)null!=i[v]&&E(i[v]);s||("value"in h&&void 0!==(v=h.value)&&(v!==t.value||"progress"===d&&!v||"option"===d&&v!==f.value)&&M(t,"value",v,f.value,!1),"checked"in h&&void 0!==(v=h.checked)&&v!==t.checked&&M(t,"checked",v,f.checked,!1))}return t}function W(t,e,n){try{"function"==typeof t?t(e):t.current=e}catch(t){d.__e(t,n)}}function Q(t,e,n){var r,o;if(d.unmount&&d.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||W(r,null,e)),null!=(r=t.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(t){d.__e(t,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Q(r[o],e,n||"function"!=typeof t.type);n||null==t.__e||E(t.__e),t.__=t.__e=t.__d=void 0}function $(t,e,n){return this.constructor(t,n)}function q(t,e,n){var r,o,i;d.__&&d.__(t,e),o=(r="function"==typeof n)?null:n&&n.__k||e.__k,i=[],F(e,t=(!r&&n||e).__k=R(A,null,[t]),o||b,b,void 0!==e.ownerSVGElement,!r&&n?[n]:o?null:e.firstChild?p.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r),B(i,t)}function V(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)})}p=w.slice,d={__e:function(t,e,n,r){for(var o,i,u;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(t)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,r||{}),u=o.__d),u)return o.__E=o}catch(e){t=e}throw t}},v=0,_=function(t){return null!=t&&void 0===t.constructor},O.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=S({},this.state),"function"==typeof t&&(t=t(S({},n),this.props)),t&&S(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),I(this))},O.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),I(this))},O.prototype.render=A,y=[],L.__r=0,m=0;var K=function(){function t(t){this._id=void 0,this._id=t||V()}return u(t,[{key:"id",get:function(){return this._id}}]),t}();function Z(t){return R(t.parentElement||"span",{dangerouslySetInnerHTML:{__html:t.content}})}function G(t,e){return R(Z,{content:t,parentElement:e})}var X,Y=function(t){function e(e){var n;return(n=t.call(this)||this).data=void 0,n.update(e),n}a(e,t);var n=e.prototype;return n.cast=function(t){return t instanceof HTMLElement?G(t.outerHTML):t},n.update=function(t){return this.data=this.cast(t),this},e}(K),J=function(t){function e(e){var n;return(n=t.call(this)||this)._cells=void 0,n.cells=e||[],n}a(e,t);var n=e.prototype;return n.cell=function(t){return this._cells[t]},n.toArray=function(){return this.cells.map(function(t){return t.data})},e.fromCells=function(t){return new e(t.map(function(t){return new Y(t.data)}))},u(e,[{key:"cells",get:function(){return this._cells},set:function(t){this._cells=t}},{key:"length",get:function(){return this.cells.length}}]),e}(K),tt=function(t){function e(e){var n;return(n=t.call(this)||this)._rows=void 0,n._length=void 0,n.rows=e instanceof Array?e:e instanceof J?[e]:[],n}return a(e,t),e.prototype.toArray=function(){return this.rows.map(function(t){return t.toArray()})},e.fromRows=function(t){return new e(t.map(function(t){return J.fromCells(t.cells)}))},e.fromArray=function(t){return new e((t=function(t){return!t[0]||t[0]instanceof Array?t:[t]}(t)).map(function(t){return new J(t.map(function(t){return new Y(t)}))}))},u(e,[{key:"rows",get:function(){return this._rows},set:function(t){this._rows=t}},{key:"length",get:function(){return this._length||this.rows.length},set:function(t){this._length=t}}]),e}(K),et=function(){function t(){this.callbacks=void 0}var e=t.prototype;return e.init=function(t){this.callbacks||(this.callbacks={}),t&&!this.callbacks[t]&&(this.callbacks[t]=[])},e.listeners=function(){return this.callbacks},e.on=function(t,e){return this.init(t),this.callbacks[t].push(e),this},e.off=function(t,e){var n=t;return this.init(),this.callbacks[n]&&0!==this.callbacks[n].length?(this.callbacks[n]=this.callbacks[n].filter(function(t){return t!=e}),this):this},e.emit=function(t){var e=arguments,n=t;return this.init(n),this.callbacks[n].length>0&&(this.callbacks[n].forEach(function(t){return t.apply(void 0,[].slice.call(e,1))}),!0)},t}();function nt(t,e){if(typeof t!=typeof e)return!1;if(null===t&&null===e)return!0;if("object"!=typeof t)return t===e;if(Array.isArray(t)&&Array.isArray(e)){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!nt(t[n],e[n]))return!1;return!0}if(t.hasOwnProperty("constructor")&&e.hasOwnProperty("constructor")&&t.hasOwnProperty("props")&&e.hasOwnProperty("props")&&t.hasOwnProperty("key")&&e.hasOwnProperty("key")&&t.hasOwnProperty("ref")&&e.hasOwnProperty("ref")&&t.hasOwnProperty("type")&&e.hasOwnProperty("type"))return nt(t.props,e.props);var r=Object.keys(t),o=Object.keys(e);if(r.length!==o.length)return!1;for(var i=0,u=r;i<u.length;i++){var s=u[i];if(!e.hasOwnProperty(s)||!nt(t[s],e[s]))return!1}return!0}!function(t){t[t.Initiator=0]="Initiator",t[t.ServerFilter=1]="ServerFilter",t[t.ServerSort=2]="ServerSort",t[t.ServerLimit=3]="ServerLimit",t[t.Extractor=4]="Extractor",t[t.Transformer=5]="Transformer",t[t.Filter=6]="Filter",t[t.Sort=7]="Sort",t[t.Limit=8]="Limit"}(X||(X={}));var rt=function(t){function e(e){var n;return(n=t.call(this)||this).id=void 0,n._props=void 0,n._props={},n.id=V(),e&&n.setProps(e),n}a(e,t);var n=e.prototype;return n.process=function(){var t=[].slice.call(arguments);this.validateProps instanceof Function&&this.validateProps.apply(this,t),this.emit.apply(this,["beforeProcess"].concat(t));var e=this._process.apply(this,t);return this.emit.apply(this,["afterProcess"].concat(t)),e},n.setProps=function(t){var e=s({},this._props,t);return nt(e,this._props)||(this._props=e,this.emit("propsUpdated",this)),this},u(e,[{key:"props",get:function(){return this._props}}]),e}(et),ot=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(t){return this.props.keyword?(e=String(this.props.keyword).trim(),n=this.props.columns,r=this.props.ignoreHiddenColumns,o=t,i=this.props.selector,e=e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),new tt(o.rows.filter(function(t,o){return t.cells.some(function(t,u){if(!t)return!1;if(r&&n&&n[u]&&"object"==typeof n[u]&&n[u].hidden)return!1;var s="";if("function"==typeof i)s=i(t.data,o,u);else if("object"==typeof t.data){var a=t.data;a&&a.props&&a.props.content&&(s=a.props.content)}else s=String(t.data);return new RegExp(e,"gi").test(s)})}))):t;var e,n,r,o,i},u(e,[{key:"type",get:function(){return X.Filter}}]),e}(rt);function it(){return"gridjs"+[].slice.call(arguments).reduce(function(t,e){return t+"-"+e},"")}function ut(){return[].slice.call(arguments).map(function(t){return t?t.toString():""}).filter(function(t){return t}).reduce(function(t,e){return(t||"")+" "+e},"").trim()}var st,at,ct,lt,ft=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(t){if(!this.props.keyword)return t;var e={};return this.props.url&&(e.url=this.props.url(t.url,this.props.keyword)),this.props.body&&(e.body=this.props.body(t.body,this.props.keyword)),s({},t,e)},u(e,[{key:"type",get:function(){return X.ServerFilter}}]),e}(rt),ht=0,pt=[],dt=[],vt=d.__b,_t=d.__r,yt=d.diffed,gt=d.__c,mt=d.unmount;function bt(t,e){d.__h&&d.__h(at,t,ht||e),ht=0;var n=at.__H||(at.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:dt}),n.__[t]}function wt(t){return ht=1,function(t,e){var n=bt(st++,2);if(n.t=t,!n.__c&&(n.__=[It(void 0,e),function(t){var e=n.__N?n.__N[0]:n.__[0],r=n.t(e,t);e!==r&&(n.__N=[r,n.__[1]],n.__c.setState({}))}],n.__c=at,!at.u)){at.u=!0;var r=at.shouldComponentUpdate;at.shouldComponentUpdate=function(t,e,o){if(!n.__c.__H)return!0;var i=n.__c.__H.__.filter(function(t){return t.__c});if(i.every(function(t){return!t.__N}))return!r||r.call(this,t,e,o);var u=!1;return i.forEach(function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(u=!0)}}),!(!u&&n.__c.props===t)&&(!r||r.call(this,t,e,o))}}return n.__N||n.__}(It,t)}function xt(t,e){var n=bt(st++,3);!d.__s&&Tt(n.__H,e)&&(n.__=t,n.i=e,at.__H.__h.push(n))}function St(t){return ht=5,Et(function(){return{current:t}},[])}function Et(t,e){var n=bt(st++,7);return Tt(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function Rt(){for(var t;t=pt.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Ot),t.__H.__h.forEach(Ct),t.__H.__h=[]}catch(e){t.__H.__h=[],d.__e(e,t.__v)}}d.__b=function(t){at=null,vt&&vt(t)},d.__r=function(t){_t&&_t(t),st=0;var e=(at=t.__c).__H;e&&(ct===at?(e.__h=[],at.__h=[],e.__.forEach(function(t){t.__N&&(t.__=t.__N),t.__V=dt,t.__N=t.i=void 0})):(e.__h.forEach(Ot),e.__h.forEach(Ct),e.__h=[])),ct=at},d.diffed=function(t){yt&&yt(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==pt.push(e)&&lt===d.requestAnimationFrame||((lt=d.requestAnimationFrame)||At)(Rt)),e.__H.__.forEach(function(t){t.i&&(t.__H=t.i),t.__V!==dt&&(t.__=t.__V),t.i=void 0,t.__V=dt})),ct=at=null},d.__c=function(t,e){e.some(function(t){try{t.__h.forEach(Ot),t.__h=t.__h.filter(function(t){return!t.__||Ct(t)})}catch(n){e.some(function(t){t.__h&&(t.__h=[])}),e=[],d.__e(n,t.__v)}}),gt&&gt(t,e)},d.unmount=function(t){mt&&mt(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(t){try{Ot(t)}catch(t){e=t}}),n.__H=void 0,e&&d.__e(e,n.__v))};var kt="function"==typeof requestAnimationFrame;function At(t){var e,n=function(){clearTimeout(r),kt&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);kt&&(e=requestAnimationFrame(n))}function Ot(t){var e=at,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),at=e}function Ct(t){var e=at;t.__c=t.__(),at=e}function Tt(t,e){return!t||t.length!==e.length||e.some(function(e,n){return e!==t[n]})}function It(t,e){return"function"==typeof e?e(t):e}function Lt(){return function(t){var e=at.context[t.__c],n=bt(st++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(at)),e.props.value):t.__}(pe)}var jt={search:{placeholder:"Type a keyword..."},sort:{sortAsc:"Sort column ascending",sortDesc:"Sort column descending"},pagination:{previous:"Previous",next:"Next",navigate:function(t,e){return"Page "+t+" of "+e},page:function(t){return"Page "+t},showing:"Showing",of:"of",to:"to",results:"results"},loading:"Loading...",noRecordsFound:"No matching records found",error:"An error happened while fetching the data"},Pt=function(){function t(t){this._language=void 0,this._defaultLanguage=void 0,this._language=t,this._defaultLanguage=jt}var e=t.prototype;return e.getString=function(t,e){if(!e||!t)return null;var n=t.split("."),r=n[0];if(e[r]){var o=e[r];return"string"==typeof o?function(){return o}:"function"==typeof o?o:this.getString(n.slice(1).join("."),o)}return null},e.translate=function(t){var e;return(e=this.getString(t,this._language)||this.getString(t,this._defaultLanguage))?e.apply(void 0,[].slice.call(arguments,1)):t},t}();function Nt(){var t=Lt();return function(e){var n;return(n=t.translator).translate.apply(n,[e].concat([].slice.call(arguments,1)))}}var Dt=function(t){return function(e){return s({},e,{search:{keyword:t}})}};function Mt(){return Lt().store}function Ut(t){var e=Mt(),n=wt(t(e.getState())),r=n[0],o=n[1];return xt(function(){return e.subscribe(function(){var n=t(e.getState());r!==n&&o(n)})},[]),r}function zt(){var t,e=wt(void 0),n=e[0],r=e[1],o=Lt(),i=o.search,u=Nt(),s=Mt().dispatch,a=Ut(function(t){return t.search});xt(function(){n&&n.setProps({keyword:null==a?void 0:a.keyword})},[a,n]),xt(function(){r(i.server?new ft({keyword:i.keyword,url:i.server.url,body:i.server.body}):new ot({keyword:i.keyword,columns:o.header&&o.header.columns,ignoreHiddenColumns:i.ignoreHiddenColumns||void 0===i.ignoreHiddenColumns,selector:i.selector})),i.keyword&&s(Dt(i.keyword))},[i]),xt(function(){if(n)return o.pipeline.register(n),function(){return o.pipeline.unregister(n)}},[o,n]);var c,l,f,h=function(t,e){return ht=8,Et(function(){return t},e)}((c=function(t){t.target instanceof HTMLInputElement&&s(Dt(t.target.value))},l=n instanceof ft?i.debounceTimeout||250:0,function(){var t=arguments;return new Promise(function(e){f&&clearTimeout(f),f=setTimeout(function(){return e(c.apply(void 0,[].slice.call(t)))},l)})}),[i,n]);return R("div",{className:it(ut("search",null==(t=o.className)?void 0:t.search))},R("input",{type:"search",placeholder:u("search.placeholder"),"aria-label":u("search.placeholder"),onInput:h,className:ut(it("input"),it("search","input")),defaultValue:(null==a?void 0:a.keyword)||""}))}var Ft=function(t){function e(){return t.apply(this,arguments)||this}a(e,t);var n=e.prototype;return n.validateProps=function(){if(isNaN(Number(this.props.limit))||isNaN(Number(this.props.page)))throw Error("Invalid parameters passed")},n._process=function(t){var e=this.props.page;return new tt(t.rows.slice(e*this.props.limit,(e+1)*this.props.limit))},u(e,[{key:"type",get:function(){return X.Limit}}]),e}(rt),Bt=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(t){var e={};return this.props.url&&(e.url=this.props.url(t.url,this.props.page,this.props.limit)),this.props.body&&(e.body=this.props.body(t.body,this.props.page,this.props.limit)),s({},t,e)},u(e,[{key:"type",get:function(){return X.ServerLimit}}]),e}(rt);function Ht(){var t=Lt(),e=t.pagination,n=e.server,r=e.summary,o=void 0===r||r,i=e.nextButton,u=void 0===i||i,s=e.prevButton,a=void 0===s||s,c=e.buttonsCount,l=void 0===c?3:c,f=e.limit,h=void 0===f?10:f,p=e.page,d=void 0===p?0:p,v=e.resetPageOnUpdate,_=void 0===v||v,y=St(null),g=wt(d),m=g[0],b=g[1],w=wt(0),x=w[0],S=w[1],E=Nt();xt(function(){return n?(y.current=new Bt({limit:h,page:m,url:n.url,body:n.body}),t.pipeline.register(y.current)):(y.current=new Ft({limit:h,page:m}),t.pipeline.register(y.current)),y.current instanceof Bt?t.pipeline.on("afterProcess",function(t){return S(t.length)}):y.current instanceof Ft&&y.current.on("beforeProcess",function(t){return S(t.length)}),t.pipeline.on("updated",k),t.pipeline.on("error",function(){S(0),b(0)}),function(){t.pipeline.unregister(y.current),t.pipeline.off("updated",k)}},[]);var k=function(t){_&&t!==y.current&&(b(0),0!==y.current.props.page&&y.current.setProps({page:0}))},O=function(){return Math.ceil(x/h)},C=function(t){if(t>=O()||t<0||t===m)return null;b(t),y.current.setProps({page:t})};return R("div",{className:ut(it("pagination"),t.className.pagination)},R(A,null,o&&x>0&&R("div",{role:"status","aria-live":"polite",className:ut(it("summary"),t.className.paginationSummary),title:E("pagination.navigate",m+1,O())},E("pagination.showing")," ",R("b",null,E(""+(m*h+1)))," ",E("pagination.to")," ",R("b",null,E(""+Math.min((m+1)*h,x)))," ",E("pagination.of")," ",R("b",null,E(""+x))," ",E("pagination.results"))),R("div",{className:it("pages")},a&&R("button",{tabIndex:0,role:"button",disabled:0===m,onClick:function(){return C(m-1)},title:E("pagination.previous"),"aria-label":E("pagination.previous"),className:ut(t.className.paginationButton,t.className.paginationButtonPrev)},E("pagination.previous")),function(){if(l<=0)return null;var e=Math.min(O(),l),n=Math.min(m,Math.floor(e/2));return m+Math.floor(e/2)>=O()&&(n=e-(O()-m)),R(A,null,O()>e&&m-n>0&&R(A,null,R("button",{tabIndex:0,role:"button",onClick:function(){return C(0)},title:E("pagination.firstPage"),"aria-label":E("pagination.firstPage"),className:t.className.paginationButton},E("1")),R("button",{tabIndex:-1,className:ut(it("spread"),t.className.paginationButton)},"...")),Array.from(Array(e).keys()).map(function(t){return m+(t-n)}).map(function(e){return R("button",{tabIndex:0,role:"button",onClick:function(){return C(e)},className:ut(m===e?ut(it("currentPage"),t.className.paginationButtonCurrent):null,t.className.paginationButton),title:E("pagination.page",e+1),"aria-label":E("pagination.page",e+1)},E(""+(e+1)))}),O()>e&&O()>m+n+1&&R(A,null,R("button",{tabIndex:-1,className:ut(it("spread"),t.className.paginationButton)},"..."),R("button",{tabIndex:0,role:"button",onClick:function(){return C(O()-1)},title:E("pagination.page",O()),"aria-label":E("pagination.page",O()),className:t.className.paginationButton},E(""+O()))))}(),u&&R("button",{tabIndex:0,role:"button",disabled:O()===m+1||0===O(),onClick:function(){return C(m+1)},title:E("pagination.next"),"aria-label":E("pagination.next"),className:ut(t.className.paginationButton,t.className.paginationButtonNext)},E("pagination.next"))))}function Wt(t,e){return"string"==typeof t?t.indexOf("%")>-1?e/100*parseInt(t,10):parseInt(t,10):t}function Qt(t){return t?Math.floor(t)+"px":""}function $t(t){var e=t.tableRef.cloneNode(!0);return e.style.position="absolute",e.style.width="100%",e.style.zIndex="-2147483640",e.style.visibility="hidden",R("div",{ref:function(t){t&&t.appendChild(e)}})}function qt(t){if(!t)return"";var e=t.split(" ");return 1===e.length&&/([a-z][A-Z])+/g.test(t)?t:e.map(function(t,e){return 0==e?t.toLowerCase():t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}).join("")}var Vt,Kt=new(function(){function t(){}var e=t.prototype;return e.format=function(t,e){return"[Grid.js] ["+e.toUpperCase()+"]: "+t},e.error=function(t,e){void 0===e&&(e=!1);var n=this.format(t,"error");if(e)throw Error(n);console.error(n)},e.warn=function(t){console.warn(this.format(t,"warn"))},e.info=function(t){console.info(this.format(t,"info"))},t}());!function(t){t[t.Header=0]="Header",t[t.Footer=1]="Footer",t[t.Cell=2]="Cell"}(Vt||(Vt={}));var Zt=function(){function t(){this.plugins=void 0,this.plugins=[]}var e=t.prototype;return e.get=function(t){return this.plugins.find(function(e){return e.id===t})},e.add=function(t){return t.id?this.get(t.id)?(Kt.error("Duplicate plugin ID: "+t.id),this):(this.plugins.push(t),this):(Kt.error("Plugin ID cannot be empty"),this)},e.remove=function(t){var e=this.get(t);return e&&this.plugins.splice(this.plugins.indexOf(e),1),this},e.list=function(t){return(null!=t||null!=t?this.plugins.filter(function(e){return e.position===t}):this.plugins).sort(function(t,e){return t.order&&e.order?t.order-e.order:1})},t}();function Gt(t){var e=this,n=Lt();if(t.pluginId){var r=n.plugin.get(t.pluginId);return r?R(A,{},R(r.component,s({plugin:r},t.props))):null}return void 0!==t.position?R(A,{},n.plugin.list(t.position).map(function(t){return R(t.component,s({plugin:t},e.props.props))})):null}var Xt=function(t){function e(){var e;return(e=t.call(this)||this)._columns=void 0,e._columns=[],e}a(e,t);var n=e.prototype;return n.adjustWidth=function(t,n,r){var o=t.container,i=t.autoWidth;if(!o)return this;var u=o.clientWidth,a={};n.current&&i&&(q(R($t,{tableRef:n.current}),r.current),a=function(t){var e=t.querySelector("table");if(!e)return{};var n=e.className,r=e.style.cssText;e.className=n+" "+it("shadowTable"),e.style.tableLayout="auto",e.style.width="auto",e.style.padding="0",e.style.margin="0",e.style.border="none",e.style.outline="none";var o=Array.from(e.parentNode.querySelectorAll("thead th")).reduce(function(t,e){var n;return e.style.width=e.clientWidth+"px",s(((n={})[e.getAttribute("data-column-id")]={minWidth:e.clientWidth},n),t)},{});return e.className=n,e.style.cssText=r,e.style.tableLayout="auto",Array.from(e.parentNode.querySelectorAll("thead th")).reduce(function(t,e){return t[e.getAttribute("data-column-id")].width=e.clientWidth,t},o)}(r.current));for(var c,l=h(e.tabularFormat(this.columns).reduce(function(t,e){return t.concat(e)},[]));!(c=l()).done;){var f=c.value;f.columns&&f.columns.length>0||(!f.width&&i?f.id in a&&(f.width=Qt(a[f.id].width),f.minWidth=Qt(a[f.id].minWidth)):f.width=Qt(Wt(f.width,u)))}return n.current&&i&&q(null,r.current),this},n.setSort=function(t,e){for(var n,r=h(e||this.columns||[]);!(n=r()).done;){var o=n.value;o.columns&&o.columns.length>0?o.sort=void 0:void 0===o.sort&&t?o.sort={}:o.sort?"object"==typeof o.sort&&(o.sort=s({},o.sort)):o.sort=void 0,o.columns&&this.setSort(t,o.columns)}},n.setResizable=function(t,e){for(var n,r=h(e||this.columns||[]);!(n=r()).done;){var o=n.value;void 0===o.resizable&&(o.resizable=t),o.columns&&this.setResizable(t,o.columns)}},n.setID=function(t){for(var e,n=h(t||this.columns||[]);!(e=n()).done;){var r=e.value;r.id||"string"!=typeof r.name||(r.id=qt(r.name)),r.id||Kt.error('Could not find a valid ID for one of the columns. Make sure a valid "id" is set for all columns.'),r.columns&&this.setID(r.columns)}},n.populatePlugins=function(t,e){for(var n,r=h(e);!(n=r()).done;){var o=n.value;void 0!==o.plugin&&t.add(s({id:o.id},o.plugin,{position:Vt.Cell}))}},e.fromColumns=function(t){for(var n,r=new e,o=h(t);!(n=o()).done;){var i=n.value;if("string"==typeof i||_(i))r.columns.push({name:i});else if("object"==typeof i){var u=i;u.columns&&(u.columns=e.fromColumns(u.columns).columns),"object"==typeof u.plugin&&void 0===u.data&&(u.data=null),r.columns.push(i)}}return r},e.createFromConfig=function(t){var n=new e;return t.from?n.columns=e.fromHTMLTable(t.from).columns:t.columns?n.columns=e.fromColumns(t.columns).columns:!t.data||"object"!=typeof t.data[0]||t.data[0]instanceof Array||(n.columns=Object.keys(t.data[0]).map(function(t){return{name:t}})),n.columns.length?(n.setID(),n.setSort(t.sort),n.setResizable(t.resizable),n.populatePlugins(t.plugin,n.columns),n):null},e.fromHTMLTable=function(t){for(var n,r=new e,o=h(t.querySelector("thead").querySelectorAll("th"));!(n=o()).done;){var i=n.value;r.columns.push({name:i.innerHTML,width:i.width})}return r},e.tabularFormat=function(t){var e=[],n=t||[],r=[];if(n&&n.length){e.push(n);for(var o,i=h(n);!(o=i()).done;){var u=o.value;u.columns&&u.columns.length&&(r=r.concat(u.columns))}r.length&&(e=e.concat(this.tabularFormat(r)))}return e},e.leafColumns=function(t){var e=[],n=t||[];if(n&&n.length)for(var r,o=h(n);!(r=o()).done;){var i=r.value;i.columns&&0!==i.columns.length||e.push(i),i.columns&&(e=e.concat(this.leafColumns(i.columns)))}return e},e.maximumDepth=function(t){return this.tabularFormat([t]).length-1},u(e,[{key:"columns",get:function(){return this._columns},set:function(t){this._columns=t}},{key:"visibleColumns",get:function(){return this._columns.filter(function(t){return!t.hidden})}}]),e}(K),Yt=function(){},Jt=function(t){function e(e){var n;return(n=t.call(this)||this).data=void 0,n.set(e),n}a(e,t);var n=e.prototype;return n.get=function(){try{return Promise.resolve(this.data()).then(function(t){return{data:t,total:t.length}})}catch(t){return Promise.reject(t)}},n.set=function(t){return t instanceof Array?this.data=function(){return t}:t instanceof Function&&(this.data=t),this},e}(Yt),te=function(t){function e(e){var n;return(n=t.call(this)||this).options=void 0,n.options=e,n}a(e,t);var n=e.prototype;return n.handler=function(t){return"function"==typeof this.options.handle?this.options.handle(t):t.ok?t.json():(Kt.error("Could not fetch data: "+t.status+" - "+t.statusText,!0),null)},n.get=function(t){var e=s({},this.options,t);return"function"==typeof e.data?e.data(e):fetch(e.url,e).then(this.handler.bind(this)).then(function(t){return{data:e.then(t),total:"function"==typeof e.total?e.total(t):void 0}})},e}(Yt),ee=function(){function t(){}return t.createFromConfig=function(t){var e=null;return t.data&&(e=new Jt(t.data)),t.from&&(e=new Jt(this.tableElementToArray(t.from)),t.from.style.display="none"),t.server&&(e=new te(t.server)),e||Kt.error("Could not determine the storage type",!0),e},t.tableElementToArray=function(t){for(var e,n,r=[],o=h(t.querySelector("tbody").querySelectorAll("tr"));!(e=o()).done;){for(var i,u=[],s=h(e.value.querySelectorAll("td"));!(i=s()).done;){var a=i.value;1===a.childNodes.length&&a.childNodes[0].nodeType===Node.TEXT_NODE?u.push((n=a.innerHTML,(new DOMParser).parseFromString(n,"text/html").documentElement.textContent)):u.push(G(a.innerHTML))}r.push(u)}return r},t}(),ne="undefined"!=typeof Symbol?Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")):"@@iterator";function re(t,e,n){if(!t.s){if(n instanceof oe){if(!n.s)return void(n.o=re.bind(null,t,e));1&e&&(e=n.s),n=n.v}if(n&&n.then)return void n.then(re.bind(null,t,e),re.bind(null,t,2));t.s=e,t.v=n;var r=t.o;r&&r(t)}}var oe=function(){function t(){}return t.prototype.then=function(e,n){var r=new t,o=this.s;if(o){var i=1&o?e:n;if(i){try{re(r,1,i(this.v))}catch(t){re(r,2,t)}return r}return this}return this.o=function(t){try{var o=t.v;1&t.s?re(r,1,e?e(o):o):n?re(r,1,n(o)):re(r,2,o)}catch(t){re(r,2,t)}},r},t}();function ie(t){return t instanceof oe&&1&t.s}var ue=function(t){function e(e){var n;return(n=t.call(this)||this)._steps=new Map,n.cache=new Map,n.lastProcessorIndexUpdated=-1,e&&e.forEach(function(t){return n.register(t)}),n}a(e,t);var n=e.prototype;return n.clearCache=function(){this.cache=new Map,this.lastProcessorIndexUpdated=-1},n.register=function(t,e){if(void 0===e&&(e=null),!t)throw Error("Processor is not defined");if(null===t.type)throw Error("Processor type is not defined");if(this.findProcessorIndexByID(t.id)>-1)throw Error("Processor ID "+t.id+" is already defined");return t.on("propsUpdated",this.processorPropsUpdated.bind(this)),this.addProcessorByPriority(t,e),this.afterRegistered(t),t},n.tryRegister=function(t,e){void 0===e&&(e=null);try{return this.register(t,e)}catch(t){}},n.unregister=function(t){if(t&&-1!==this.findProcessorIndexByID(t.id)){var e=this._steps.get(t.type);e&&e.length&&(this._steps.set(t.type,e.filter(function(e){return e!=t})),this.emit("updated",t))}},n.addProcessorByPriority=function(t,e){var n=this._steps.get(t.type);if(!n){var r=[];this._steps.set(t.type,r),n=r}if(null===e||e<0)n.push(t);else if(n[e]){var o=n.slice(0,e-1),i=n.slice(e+1);this._steps.set(t.type,o.concat(t).concat(i))}else n[e]=t},n.getStepsByType=function(t){return this.steps.filter(function(e){return e.type===t})},n.getSortedProcessorTypes=function(){return Object.keys(X).filter(function(t){return!isNaN(Number(t))}).map(function(t){return Number(t)})},n.process=function(t){try{var e=function(t){return n.lastProcessorIndexUpdated=o.length,n.emit("afterProcess",i),i},n=this,r=n.lastProcessorIndexUpdated,o=n.steps,i=t,u=function(t,e){try{var u=function(t,e){if("function"==typeof t[ne]){var n,r,o,i=t[ne]();if(function t(u){try{for(;!(n=i.next()).done;)if((u=e(n.value))&&u.then){if(!ie(u))return void u.then(t,o||(o=re.bind(null,r=new oe,2)));u=u.v}r?re(r,1,u):r=u}catch(t){re(r||(r=new oe),2,t)}}(),i.return){var u=function(t){try{n.done||i.return()}catch(t){}return t};if(r&&r.then)return r.then(u,function(t){throw u(t)});u()}return r}if(!("length"in t))throw new TypeError("Object is not iterable");for(var s=[],a=0;a<t.length;a++)s.push(t[a]);return function(t,e){var n,r,o=-1;return function i(u){try{for(;++o<t.length;)if((u=e(o))&&u.then){if(!ie(u))return void u.then(i,r||(r=re.bind(null,n=new oe,2)));u=u.v}n?re(n,1,u):n=u}catch(t){re(n||(n=new oe),2,t)}}(),n}(s,function(t){return e(s[t])})}(o,function(t){var e=n.findProcessorIndexByID(t.id),o=function(){if(e>=r)return Promise.resolve(t.process(i)).then(function(e){n.cache.set(t.id,i=e)});i=n.cache.get(t.id)}();if(o&&o.then)return o.then(function(){})})}catch(t){return e(t)}return u&&u.then?u.then(void 0,e):u}(0,function(t){throw Kt.error(t),n.emit("error",i),t});return Promise.resolve(u&&u.then?u.then(e):e())}catch(t){return Promise.reject(t)}},n.findProcessorIndexByID=function(t){return this.steps.findIndex(function(e){return e.id==t})},n.setLastProcessorIndex=function(t){var e=this.findProcessorIndexByID(t.id);this.lastProcessorIndexUpdated>e&&(this.lastProcessorIndexUpdated=e)},n.processorPropsUpdated=function(t){this.setLastProcessorIndex(t),this.emit("propsUpdated"),this.emit("updated",t)},n.afterRegistered=function(t){this.setLastProcessorIndex(t),this.emit("afterRegister"),this.emit("updated",t)},u(e,[{key:"steps",get:function(){for(var t,e=[],n=h(this.getSortedProcessorTypes());!(t=n()).done;){var r=this._steps.get(t.value);r&&r.length&&(e=e.concat(r))}return e.filter(function(t){return t})}}]),e}(et),se=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(t){try{return Promise.resolve(this.props.storage.get(t))}catch(t){return Promise.reject(t)}},u(e,[{key:"type",get:function(){return X.Extractor}}]),e}(rt),ae=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(t){var e=tt.fromArray(t.data);return e.length=t.total,e},u(e,[{key:"type",get:function(){return X.Transformer}}]),e}(rt),ce=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(){return Object.entries(this.props.serverStorageOptions).filter(function(t){return"function"!=typeof t[1]}).reduce(function(t,e){var n;return s({},t,((n={})[e[0]]=e[1],n))},{})},u(e,[{key:"type",get:function(){return X.Initiator}}]),e}(rt),le=function(t){function e(){return t.apply(this,arguments)||this}a(e,t);var n=e.prototype;return n.castData=function(t){if(!t||!t.length)return[];if(!this.props.header||!this.props.header.columns)return t;var e=Xt.leafColumns(this.props.header.columns);return t[0]instanceof Array?t.map(function(t){var n=0;return e.map(function(e,r){return void 0!==e.data?(n++,"function"==typeof e.data?e.data(t):e.data):t[r-n]})}):"object"!=typeof t[0]||t[0]instanceof Array?[]:t.map(function(t){return e.map(function(e,n){return void 0!==e.data?"function"==typeof e.data?e.data(t):e.data:e.id?t[e.id]:(Kt.error("Could not find the correct cell for column at position "+n+".\n Make sure either 'id' or 'selector' is defined for all columns."),null)})})},n._process=function(t){return{data:this.castData(t.data),total:t.total}},u(e,[{key:"type",get:function(){return X.Transformer}}]),e}(rt),fe=function(){function t(){}return t.createFromConfig=function(t){var e=new ue;return t.storage instanceof te&&e.register(new ce({serverStorageOptions:t.server})),e.register(new se({storage:t.storage})),e.register(new le({header:t.header})),e.register(new ae),e},t}(),he=function(t){var e=this;this.state=void 0,this.listeners=[],this.isDispatching=!1,this.getState=function(){return e.state},this.getListeners=function(){return e.listeners},this.dispatch=function(t){if("function"!=typeof t)throw new Error("Reducer is not a function");if(e.isDispatching)throw new Error("Reducers may not dispatch actions");e.isDispatching=!0;var n=e.state;try{e.state=t(e.state)}finally{e.isDispatching=!1}for(var r,o=h(e.listeners);!(r=o()).done;)(0,r.value)(e.state,n);return e.state},this.subscribe=function(t){if("function"!=typeof t)throw new Error("Listener is not a function");return e.listeners=[].concat(e.listeners,[t]),function(){return e.listeners=e.listeners.filter(function(e){return e!==t})}},this.state=t},pe=function(t,e){var n={__c:e="__cC"+m++,__:null,Consumer:function(t,e){return t.children(e)},Provider:function(t){var n,r;return this.getChildContext||(n=[],(r={})[e]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(t){this.props.value!==t.value&&n.some(I)},this.sub=function(t){n.push(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n.splice(n.indexOf(t),1),e&&e.call(t)}}),t.children}};return n.Provider.__=n.Consumer.contextType=n}(),de=function(){function t(){Object.assign(this,t.defaultConfig())}var e=t.prototype;return e.assign=function(t){return Object.assign(this,t)},e.update=function(e){return e?(this.assign(t.fromPartialConfig(s({},this,e))),this):this},t.defaultConfig=function(){return{store:new he({status:r.Init,header:void 0,data:null}),plugin:new Zt,tableRef:{current:null},width:"100%",height:"auto",processingThrottleMs:100,autoWidth:!0,style:{},className:{}}},t.fromPartialConfig=function(e){var n=(new t).assign(e);return"boolean"==typeof e.sort&&e.sort&&n.assign({sort:{multiColumn:!0}}),n.assign({header:Xt.createFromConfig(n)}),n.assign({storage:ee.createFromConfig(n)}),n.assign({pipeline:fe.createFromConfig(n)}),n.assign({translator:new Pt(n.language)}),n.plugin=new Zt,n.search&&n.plugin.add({id:"search",position:Vt.Header,component:zt}),n.pagination&&n.plugin.add({id:"pagination",position:Vt.Footer,component:Ht}),n.plugins&&n.plugins.forEach(function(t){return n.plugin.add(t)}),n},t}();function ve(t){var e,n=Lt();return R("td",s({role:t.role,colSpan:t.colSpan,"data-column-id":t.column&&t.column.id,className:ut(it("td"),t.className,n.className.td),style:s({},t.style,n.style.td),onClick:function(e){t.messageCell||n.eventEmitter.emit("cellClick",e,t.cell,t.column,t.row)}},(e=t.column)?"function"==typeof e.attributes?e.attributes(t.cell.data,t.row,t.column):e.attributes:{}),t.column&&"function"==typeof t.column.formatter?t.column.formatter(t.cell.data,t.row,t.column):t.column&&t.column.plugin?R(Gt,{pluginId:t.column.id,props:{column:t.column,cell:t.cell,row:t.row}}):t.cell.data)}function _e(t){var e=Lt(),n=Ut(function(t){return t.header});return R("tr",{className:ut(it("tr"),e.className.tr),onClick:function(n){t.messageRow||e.eventEmitter.emit("rowClick",n,t.row)}},t.children?t.children:t.row.cells.map(function(e,r){var o=function(t){if(n){var e=Xt.leafColumns(n.columns);if(e)return e[t]}return null}(r);return o&&o.hidden?null:R(ve,{key:e.id,cell:e,row:t.row,column:o})}))}function ye(t){return R(_e,{messageRow:!0},R(ve,{role:"alert",colSpan:t.colSpan,messageCell:!0,cell:new Y(t.message),className:ut(it("message"),t.className?t.className:null)}))}function ge(){var t=Lt(),e=Ut(function(t){return t.data}),n=Ut(function(t){return t.status}),o=Ut(function(t){return t.header}),i=Nt(),u=function(){return o?o.visibleColumns.length:0};return R("tbody",{className:ut(it("tbody"),t.className.tbody)},e&&e.rows.map(function(t){return R(_e,{key:t.id,row:t})}),n===r.Loading&&(!e||0===e.length)&&R(ye,{message:i("loading"),colSpan:u(),className:ut(it("loading"),t.className.loading)}),n===r.Rendered&&e&&0===e.length&&R(ye,{message:i("noRecordsFound"),colSpan:u(),className:ut(it("notfound"),t.className.notfound)}),n===r.Error&&R(ye,{message:i("error"),colSpan:u(),className:ut(it("error"),t.className.error)}))}var me=function(t){function e(){return t.apply(this,arguments)||this}a(e,t);var n=e.prototype;return n.validateProps=function(){for(var t,e=h(this.props.columns);!(t=e()).done;){var n=t.value;void 0===n.direction&&(n.direction=1),1!==n.direction&&-1!==n.direction&&Kt.error("Invalid sort direction "+n.direction)}},n.compare=function(t,e){return t>e?1:t<e?-1:0},n.compareWrapper=function(t,e){for(var n,r=0,o=h(this.props.columns);!(n=o()).done;){var i=n.value;if(0!==r)break;var u=t.cells[i.index].data,s=e.cells[i.index].data;r|="function"==typeof i.compare?i.compare(u,s)*i.direction:this.compare(u,s)*i.direction}return r},n._process=function(t){var e=[].concat(t.rows);e.sort(this.compareWrapper.bind(this));var n=new tt(e);return n.length=t.length,n},u(e,[{key:"type",get:function(){return X.Sort}}]),e}(rt),be=function(t,e,n,r){return function(o){var i,u=null!=(i=o.sort)&&i.columns?o.sort.columns.map(function(t){return s({},t)}):[],a=u.length,c=u.find(function(e){return e.index===t}),l=!1,f=!1,h=!1,p=!1;if(void 0!==c?n?-1===c.direction?h=!0:p=!0:1===a?p=!0:a>1&&(f=!0,l=!0):0===a?l=!0:a>0&&!n?(l=!0,f=!0):a>0&&n&&(l=!0),f&&(u=[]),l)u.push({index:t,direction:e,compare:r});else if(p){var d=u.indexOf(c);u[d].direction=e}else if(h){var v=u.indexOf(c);u.splice(v,1)}return s({},o,{sort:{columns:u}})}},we=function(t,e,n){return function(r){var o=(r.sort?[].concat(r.sort.columns):[]).find(function(e){return e.index===t});return s({},r,o?be(t,1===o.direction?-1:1,e,n)(r):be(t,1,e,n)(r))}},xe=function(t){function e(){return t.apply(this,arguments)||this}return a(e,t),e.prototype._process=function(t){var e={};return this.props.url&&(e.url=this.props.url(t.url,this.props.columns)),this.props.body&&(e.body=this.props.body(t.body,this.props.columns)),s({},t,e)},u(e,[{key:"type",get:function(){return X.ServerSort}}]),e}(rt);function Se(t){var e=Lt(),n=Mt().dispatch,r=Nt(),o=wt(0),i=o[0],u=o[1],a=e.sort,c=Ut(function(t){return t.sort}),l="object"==typeof(null==a?void 0:a.server)?X.ServerSort:X.Sort,f=function(){var t=e.pipeline.getStepsByType(l);if(t.length)return t[0]};return xt(function(){var t=f()||(l===X.ServerSort?new xe(s({columns:c?c.columns:[]},a.server)):new me({columns:c?c.columns:[]}));return e.pipeline.tryRegister(t),function(){return e.pipeline.unregister(t)}},[e]),xt(function(){if(c){var e,n=c.columns.find(function(e){return e.index===t.index});n?(0===i&&(n.direction=null!=(e=t.direction)?e:1),u(n.direction)):u(0)}},[c]),xt(function(){var t=f();t&&c&&t.setProps({columns:c.columns})},[c]),R("button",{tabIndex:-1,"aria-label":r("sort.sort"+(1===i?"Desc":"Asc")),title:r("sort.sort"+(1===i?"Desc":"Asc")),className:ut(it("sort"),it("sort",function(t){return 1===t?"asc":-1===t?"desc":"neutral"}(i)),e.className.sort),onClick:function(e){e.preventDefault(),e.stopPropagation(),n(we(t.index,!0===e.shiftKey&&a.multiColumn,t.compare))}})}var Ee=function(t,e){var n;void 0===e&&(e=100);var r=Date.now(),o=function(){r=Date.now(),t.apply(void 0,[].slice.call(arguments))};return function(){var t=[].slice.call(arguments),i=Date.now()-r;i>=e?o.apply(void 0,t):(n&&clearTimeout(n),n=setTimeout(function(){o.apply(void 0,t),n=null},e-i))}};function Re(t){var e,n=function(t){return t instanceof MouseEvent?Math.floor(t.pageX):Math.floor(t.changedTouches[0].pageX)},r=function(r){r.stopPropagation();var u=parseInt(t.thRef.current.style.width,10)-n(r);e=Ee(function(t){return o(t,u)},10),document.addEventListener("mouseup",i),document.addEventListener("touchend",i),document.addEventListener("mousemove",e),document.addEventListener("touchmove",e)},o=function(e,r){e.stopPropagation();var o=t.thRef.current;r+n(e)>=parseInt(o.style.minWidth,10)&&(o.style.width=r+n(e)+"px")},i=function t(n){n.stopPropagation(),document.removeEventListener("mouseup",t),document.removeEventListener("mousemove",e),document.removeEventListener("touchmove",e),document.removeEventListener("touchend",t)};return R("div",{className:ut(it("th"),it("resizable")),onMouseDown:r,onTouchStart:r,onClick:function(t){return t.stopPropagation()}})}function ke(t){var e=Lt(),n=St(null),r=wt({}),o=r[0],i=r[1],u=Mt().dispatch;xt(function(){if(e.fixedHeader&&n.current){var t=n.current.offsetTop;"number"==typeof t&&i({top:t})}},[n]);var a,c=function(){return null!=t.column.sort},l=function(n){n.stopPropagation(),c()&&u(we(t.index,!0===n.shiftKey&&e.sort.multiColumn,t.column.sort.compare))};return R("th",s({ref:n,"data-column-id":t.column&&t.column.id,className:ut(it("th"),c()?it("th","sort"):null,e.fixedHeader?it("th","fixed"):null,e.className.th),onClick:l,style:s({},e.style.th,{minWidth:t.column.minWidth,width:t.column.width},o,t.style),onKeyDown:function(t){c()&&13===t.which&&l(t)},rowSpan:t.rowSpan>1?t.rowSpan:void 0,colSpan:t.colSpan>1?t.colSpan:void 0},(a=t.column)?"function"==typeof a.attributes?a.attributes(null,null,t.column):a.attributes:{},c()?{tabIndex:0}:{}),R("div",{className:it("th","content")},void 0!==t.column.name?t.column.name:void 0!==t.column.plugin?R(Gt,{pluginId:t.column.plugin.id,props:{column:t.column}}):null),c()&&R(Se,s({index:t.index},t.column.sort)),t.column.resizable&&t.index<e.header.visibleColumns.length-1&&R(Re,{column:t.column,thRef:n}))}function Ae(){var t,e=Lt(),n=Ut(function(t){return t.header});return n?R("thead",{key:n.id,className:ut(it("thead"),e.className.thead)},(t=Xt.tabularFormat(n.columns)).map(function(e,r){return function(t,e,r){var o=Xt.leafColumns(n.columns);return R(_e,null,t.map(function(t){return t.hidden?null:function(t,e,n,r){var o=function(t,e,n){var r=Xt.maximumDepth(t),o=n-e;return{rowSpan:Math.floor(o-r-r/o),colSpan:t.columns&&t.columns.length||1}}(t,e,r);return R(ke,{column:t,index:n,colSpan:o.colSpan,rowSpan:o.rowSpan})}(t,e,o.indexOf(t),r)}))}(e,r,t.length)})):null}var Oe=function(t){return function(e){return s({},e,{header:t})}};function Ce(){var t=Lt(),e=St(null),n=Mt().dispatch;return xt(function(){e&&n(function(t){return function(e){return s({},e,{tableRef:t})}}(e))},[e]),R("table",{ref:e,role:"grid",className:ut(it("table"),t.className.table),style:s({},t.style.table,{height:t.height})},R(Ae,null),R(ge,null))}function Te(){var t=wt(!0),e=t[0],n=t[1],r=St(null),o=Lt();return xt(function(){0===r.current.children.length&&n(!1)},[r]),e?R("div",{ref:r,className:ut(it("head"),o.className.header),style:s({},o.style.header)},R(Gt,{position:Vt.Header})):null}function Ie(){var t=St(null),e=wt(!0),n=e[0],r=e[1],o=Lt();return xt(function(){0===t.current.children.length&&r(!1)},[t]),n?R("div",{ref:t,className:ut(it("footer"),o.className.footer),style:s({},o.style.footer)},R(Gt,{position:Vt.Footer})):null}function Le(){var t=Lt(),e=Mt().dispatch,n=Ut(function(t){return t.status}),o=Ut(function(t){return t.data}),i=Ut(function(t){return t.tableRef}),u={current:null},a=Ee(function(){try{e(function(t){return s({},t,{status:r.Loading})});var n=function(n,o){try{var i=Promise.resolve(t.pipeline.process()).then(function(t){e(function(t){return function(e){return t?s({},e,{data:t,status:r.Loaded}):e}}(t)),setTimeout(function(){e(function(t){return t.status===r.Loaded?s({},t,{status:r.Rendered}):t})},0)})}catch(t){return o(t)}return i&&i.then?i.then(void 0,o):i}(0,function(t){Kt.error(t),e(function(t){return s({},t,{data:null,status:r.Error})})});return Promise.resolve(n&&n.then?n.then(function(){}):void 0)}catch(t){return Promise.reject(t)}},t.processingThrottleMs);return xt(function(){return e(Oe(t.header)),a(),t.pipeline.on("updated",a),function(){return t.pipeline.off("updated",a)}},[]),xt(function(){t.header&&n===r.Loaded&&null!=o&&o.length&&e(Oe(t.header.adjustWidth(t,i,u)))},[o,t,u]),R("div",{role:"complementary",className:ut("gridjs",it("container"),n===r.Loading?it("loading"):null,t.className.container),style:s({},t.style.container,{width:t.width})},n===r.Loading&&R("div",{className:it("loading-bar")}),R(Te,null),R("div",{className:it("wrapper"),style:{height:t.height}},R(Ce,null)),R(Ie,null),R("div",{ref:u,id:"gridjs-temp",className:it("temp")}))}var je=function(t){function e(e){var n;return(n=t.call(this)||this).config=void 0,n.plugin=void 0,n.config=(new de).assign({instance:l(n),eventEmitter:l(n)}).update(e),n.plugin=n.config.plugin,n}a(e,t);var n=e.prototype;return n.updateConfig=function(t){return this.config.update(t),this},n.createElement=function(){return R(pe.Provider,{value:this.config,children:R(Le,{})})},n.forceRender=function(){return this.config&&this.config.container||Kt.error("Container is empty. Make sure you call render() before forceRender()",!0),this.destroy(),q(this.createElement(),this.config.container),this},n.destroy=function(){this.config.pipeline.clearCache(),q(null,this.config.container)},n.render=function(t){return t||Kt.error("Container element cannot be null",!0),t.childNodes.length>0?(Kt.error("The container element "+t+" is not empty. Make sure the container is empty and call render() again"),this):(this.config.container=t,q(this.createElement(),t),this)},e}(et),Pe=n(5274),Ne=function(t,e){return Ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},Ne(t,e)};function De(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}Ne(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var Me,Ue=function(t){function e(e){var n=t.call(this,e)||this;return n.wrapper=(0,o.createRef)(),n.instance=null,n.instance=new je(e||{}),n}return De(e,t),e.prototype.getInstance=function(){return this.instance},e.prototype.componentDidMount=function(){this.wrapper.current.childNodes.length>0&&(this.wrapper.current.innerHTML=""),this.instance.render(this.wrapper.current)},e.prototype.componentDidUpdate=function(){this.instance.updateConfig(this.props).forceRender()},e.prototype.render=function(){return o.createElement("div",{ref:this.wrapper})},e}(o.Component),ze=Pe;Me=ze.createRoot,ze.hydrateRoot,function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ref={current:null},e}De(e,t),e.prototype.componentDidMount=function(){Me(this.ref.current).render(this.props.element)},e.prototype.render=function(){return R(this.props.parent,{ref:this.ref})},e.defaultProps={parent:"div"}}(O)},6644(t,e,n){var r;t=n.nmd(t),function(){var o,i="Expected a function",u="__lodash_hash_undefined__",s="__lodash_placeholder__",a=32,c=128,l=1/0,f=9007199254740991,h=NaN,p=4294967295,d=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],v="[object Arguments]",_="[object Array]",y="[object Boolean]",g="[object Date]",m="[object Error]",b="[object Function]",w="[object GeneratorFunction]",x="[object Map]",S="[object Number]",E="[object Object]",R="[object Promise]",k="[object RegExp]",A="[object Set]",O="[object String]",C="[object Symbol]",T="[object WeakMap]",I="[object ArrayBuffer]",L="[object DataView]",j="[object Float32Array]",P="[object Float64Array]",N="[object Int8Array]",D="[object Int16Array]",M="[object Int32Array]",U="[object Uint8Array]",z="[object Uint8ClampedArray]",F="[object Uint16Array]",B="[object Uint32Array]",H=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,Q=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,V=RegExp($.source),K=RegExp(q.source),Z=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,J=/^\w*$/,tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,et=/[\\^$.*+?()[\]{}|]/g,nt=RegExp(et.source),rt=/^\s+/,ot=/\s/,it=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ut=/\{\n\/\* \[wrapped with (.+)\] \*/,st=/,? & /,at=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ct=/[()=,{}\[\]\/\s]/,lt=/\\(\\)?/g,ft=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ht=/\w*$/,pt=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,vt=/^\[object .+?Constructor\]$/,_t=/^0o[0-7]+$/i,yt=/^(?:0|[1-9]\d*)$/,gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,mt=/($^)/,bt=/['\n\r\u2028\u2029\\]/g,wt="\\ud800-\\udfff",xt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",St="\\u2700-\\u27bf",Et="a-z\\xdf-\\xf6\\xf8-\\xff",Rt="A-Z\\xc0-\\xd6\\xd8-\\xde",kt="\\ufe0e\\ufe0f",At="\\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",Ot="["+wt+"]",Ct="["+At+"]",Tt="["+xt+"]",It="\\d+",Lt="["+St+"]",jt="["+Et+"]",Pt="[^"+wt+At+It+St+Et+Rt+"]",Nt="\\ud83c[\\udffb-\\udfff]",Dt="[^"+wt+"]",Mt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ut="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="["+Rt+"]",Ft="\\u200d",Bt="(?:"+jt+"|"+Pt+")",Ht="(?:"+zt+"|"+Pt+")",Wt="(?:['’](?:d|ll|m|re|s|t|ve))?",Qt="(?:['’](?:D|LL|M|RE|S|T|VE))?",$t="(?:"+Tt+"|"+Nt+")?",qt="["+kt+"]?",Vt=qt+$t+"(?:"+Ft+"(?:"+[Dt,Mt,Ut].join("|")+")"+qt+$t+")*",Kt="(?:"+[Lt,Mt,Ut].join("|")+")"+Vt,Zt="(?:"+[Dt+Tt+"?",Tt,Mt,Ut,Ot].join("|")+")",Gt=RegExp("['’]","g"),Xt=RegExp(Tt,"g"),Yt=RegExp(Nt+"(?="+Nt+")|"+Zt+Vt,"g"),Jt=RegExp([zt+"?"+jt+"+"+Wt+"(?="+[Ct,zt,"$"].join("|")+")",Ht+"+"+Qt+"(?="+[Ct,zt+Bt,"$"].join("|")+")",zt+"?"+Bt+"+"+Wt,zt+"+"+Qt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",It,Kt].join("|"),"g"),te=RegExp("["+Ft+wt+xt+kt+"]"),ee=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ne=["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"],re=-1,oe={};oe[j]=oe[P]=oe[N]=oe[D]=oe[M]=oe[U]=oe[z]=oe[F]=oe[B]=!0,oe[v]=oe[_]=oe[I]=oe[y]=oe[L]=oe[g]=oe[m]=oe[b]=oe[x]=oe[S]=oe[E]=oe[k]=oe[A]=oe[O]=oe[T]=!1;var ie={};ie[v]=ie[_]=ie[I]=ie[L]=ie[y]=ie[g]=ie[j]=ie[P]=ie[N]=ie[D]=ie[M]=ie[x]=ie[S]=ie[E]=ie[k]=ie[A]=ie[O]=ie[C]=ie[U]=ie[z]=ie[F]=ie[B]=!0,ie[m]=ie[b]=ie[T]=!1;var ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},se=parseFloat,ae=parseInt,ce="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,le="object"==typeof self&&self&&self.Object===Object&&self,fe=ce||le||Function("return this")(),he=e&&!e.nodeType&&e,pe=he&&t&&!t.nodeType&&t,de=pe&&pe.exports===he,ve=de&&ce.process,_e=function(){try{return pe&&pe.require&&pe.require("util").types||ve&&ve.binding&&ve.binding("util")}catch(t){}}(),ye=_e&&_e.isArrayBuffer,ge=_e&&_e.isDate,me=_e&&_e.isMap,be=_e&&_e.isRegExp,we=_e&&_e.isSet,xe=_e&&_e.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function Ee(t,e,n,r){for(var o=-1,i=null==t?0:t.length;++o<i;){var u=t[o];e(r,u,n(u),t)}return r}function Re(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function ke(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Oe(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var u=t[n];e(u,n,t)&&(i[o++]=u)}return i}function Ce(t,e){return!(null==t||!t.length)&&ze(t,e,0)>-1}function Te(t,e,n){for(var r=-1,o=null==t?0:t.length;++r<o;)if(n(e,t[r]))return!0;return!1}function Ie(t,e){for(var n=-1,r=null==t?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}function Le(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}function je(t,e,n,r){var o=-1,i=null==t?0:t.length;for(r&&i&&(n=t[++o]);++o<i;)n=e(n,t[o],o,t);return n}function Pe(t,e,n,r){var o=null==t?0:t.length;for(r&&o&&(n=t[--o]);o--;)n=e(n,t[o],o,t);return n}function Ne(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var De=We("length");function Me(t,e,n){var r;return n(t,function(t,n,o){if(e(t,n,o))return r=n,!1}),r}function Ue(t,e,n,r){for(var o=t.length,i=n+(r?1:-1);r?i--:++i<o;)if(e(t[i],i,t))return i;return-1}function ze(t,e,n){return e==e?function(t,e,n){for(var r=n-1,o=t.length;++r<o;)if(t[r]===e)return r;return-1}(t,e,n):Ue(t,Be,n)}function Fe(t,e,n,r){for(var o=n-1,i=t.length;++o<i;)if(r(t[o],e))return o;return-1}function Be(t){return t!=t}function He(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:h}function We(t){return function(e){return null==e?o:e[t]}}function Qe(t){return function(e){return null==t?o:t[e]}}function $e(t,e,n,r,o){return o(t,function(t,o,i){n=r?(r=!1,t):e(n,t,o,i)}),n}function qe(t,e){for(var n,r=-1,i=t.length;++r<i;){var u=e(t[r]);u!==o&&(n=n===o?u:n+u)}return n}function Ve(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Ke(t){return t?t.slice(0,hn(t)+1).replace(rt,""):t}function Ze(t){return function(e){return t(e)}}function Ge(t,e){return Ie(e,function(e){return t[e]})}function Xe(t,e){return t.has(e)}function Ye(t,e){for(var n=-1,r=t.length;++n<r&&ze(e,t[n],0)>-1;);return n}function Je(t,e){for(var n=t.length;n--&&ze(e,t[n],0)>-1;);return n}var tn=Qe({À:"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"}),en=Qe({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nn(t){return"\\"+ue[t]}function rn(t){return te.test(t)}function on(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}function un(t,e){return function(n){return t(e(n))}}function sn(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n];u!==e&&u!==s||(t[n]=s,i[o++]=n)}return i}function an(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}function cn(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=[t,t]}),n}function ln(t){return rn(t)?function(t){for(var e=Yt.lastIndex=0;Yt.test(t);)++e;return e}(t):De(t)}function fn(t){return rn(t)?function(t){return t.match(Yt)||[]}(t):function(t){return t.split("")}(t)}function hn(t){for(var e=t.length;e--&&ot.test(t.charAt(e)););return e}var pn=Qe({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),dn=function t(e){var n,r=(e=null==e?fe:dn.defaults(fe.Object(),e,dn.pick(fe,ne))).Array,ot=e.Date,wt=e.Error,xt=e.Function,St=e.Math,Et=e.Object,Rt=e.RegExp,kt=e.String,At=e.TypeError,Ot=r.prototype,Ct=xt.prototype,Tt=Et.prototype,It=e["__core-js_shared__"],Lt=Ct.toString,jt=Tt.hasOwnProperty,Pt=0,Nt=(n=/[^.]+$/.exec(It&&It.keys&&It.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Dt=Tt.toString,Mt=Lt.call(Et),Ut=fe._,zt=Rt("^"+Lt.call(jt).replace(et,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ft=de?e.Buffer:o,Bt=e.Symbol,Ht=e.Uint8Array,Wt=Ft?Ft.allocUnsafe:o,Qt=un(Et.getPrototypeOf,Et),$t=Et.create,qt=Tt.propertyIsEnumerable,Vt=Ot.splice,Kt=Bt?Bt.isConcatSpreadable:o,Zt=Bt?Bt.iterator:o,Yt=Bt?Bt.toStringTag:o,te=function(){try{var t=ci(Et,"defineProperty");return t({},"",{}),t}catch(t){}}(),ue=e.clearTimeout!==fe.clearTimeout&&e.clearTimeout,ce=ot&&ot.now!==fe.Date.now&&ot.now,le=e.setTimeout!==fe.setTimeout&&e.setTimeout,he=St.ceil,pe=St.floor,ve=Et.getOwnPropertySymbols,_e=Ft?Ft.isBuffer:o,De=e.isFinite,Qe=Ot.join,vn=un(Et.keys,Et),_n=St.max,yn=St.min,gn=ot.now,mn=e.parseInt,bn=St.random,wn=Ot.reverse,xn=ci(e,"DataView"),Sn=ci(e,"Map"),En=ci(e,"Promise"),Rn=ci(e,"Set"),kn=ci(e,"WeakMap"),An=ci(Et,"create"),On=kn&&new kn,Cn={},Tn=Mi(xn),In=Mi(Sn),Ln=Mi(En),jn=Mi(Rn),Pn=Mi(kn),Nn=Bt?Bt.prototype:o,Dn=Nn?Nn.valueOf:o,Mn=Nn?Nn.toString:o;function Un(t){if(ts(t)&&!Wu(t)&&!(t instanceof Hn)){if(t instanceof Bn)return t;if(jt.call(t,"__wrapped__"))return Ui(t)}return new Bn(t)}var zn=function(){function t(){}return function(e){if(!Ju(e))return{};if($t)return $t(e);t.prototype=e;var n=new t;return t.prototype=o,n}}();function Fn(){}function Bn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=o}function Hn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=p,this.__views__=[]}function Wn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Qn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function $n(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function qn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new $n;++e<n;)this.add(t[e])}function Vn(t){var e=this.__data__=new Qn(t);this.size=e.size}function Kn(t,e){var n=Wu(t),r=!n&&Hu(t),o=!n&&!r&&Vu(t),i=!n&&!r&&!o&&as(t),u=n||r||o||i,s=u?Ve(t.length,kt):[],a=s.length;for(var c in t)!e&&!jt.call(t,c)||u&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,a))||s.push(c);return s}function Zn(t){var e=t.length;return e?t[$r(0,e-1)]:o}function Gn(t,e){return Li(Ao(t),ir(e,0,t.length))}function Xn(t){return Li(Ao(t))}function Yn(t,e,n){(n!==o&&!zu(t[e],n)||n===o&&!(e in t))&&rr(t,e,n)}function Jn(t,e,n){var r=t[e];jt.call(t,e)&&zu(r,n)&&(n!==o||e in t)||rr(t,e,n)}function tr(t,e){for(var n=t.length;n--;)if(zu(t[n][0],e))return n;return-1}function er(t,e,n,r){return lr(t,function(t,o,i){e(r,t,n(t),i)}),r}function nr(t,e){return t&&Oo(e,Ts(e),t)}function rr(t,e,n){"__proto__"==e&&te?te(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function or(t,e){for(var n=-1,i=e.length,u=r(i),s=null==t;++n<i;)u[n]=s?o:Rs(t,e[n]);return u}function ir(t,e,n){return t==t&&(n!==o&&(t=t<=n?t:n),e!==o&&(t=t>=e?t:e)),t}function ur(t,e,n,r,i,u){var s,a=1&e,c=2&e,l=4&e;if(n&&(s=i?n(t,r,i,u):n(t)),s!==o)return s;if(!Ju(t))return t;var f=Wu(t);if(f){if(s=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&jt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!a)return Ao(t,s)}else{var h=hi(t),p=h==b||h==w;if(Vu(t))return wo(t,a);if(h==E||h==v||p&&!i){if(s=c||p?{}:di(t),!a)return c?function(t,e){return Oo(t,fi(t),e)}(t,function(t,e){return t&&Oo(e,Is(e),t)}(s,t)):function(t,e){return Oo(t,li(t),e)}(t,nr(s,t))}else{if(!ie[h])return i?t:{};s=function(t,e,n){var r,o=t.constructor;switch(e){case I:return xo(t);case y:case g:return new o(+t);case L:return function(t,e){var n=e?xo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case j:case P:case N:case D:case M:case U:case z:case F:case B:return So(t,n);case x:return new o;case S:case O:return new o(t);case k:return function(t){var e=new t.constructor(t.source,ht.exec(t));return e.lastIndex=t.lastIndex,e}(t);case A:return new o;case C:return r=t,Dn?Et(Dn.call(r)):{}}}(t,h,a)}}u||(u=new Vn);var d=u.get(t);if(d)return d;u.set(t,s),is(t)?t.forEach(function(r){s.add(ur(r,e,n,r,t,u))}):es(t)&&t.forEach(function(r,o){s.set(o,ur(r,e,n,o,t,u))});var _=f?o:(l?c?ni:ei:c?Is:Ts)(t);return Re(_||t,function(r,o){_&&(r=t[o=r]),Jn(s,o,ur(r,e,n,o,t,u))}),s}function sr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Et(t);r--;){var i=n[r],u=e[i],s=t[i];if(s===o&&!(i in t)||!u(s))return!1}return!0}function ar(t,e,n){if("function"!=typeof t)throw new At(i);return Oi(function(){t.apply(o,n)},e)}function cr(t,e,n,r){var o=-1,i=Ce,u=!0,s=t.length,a=[],c=e.length;if(!s)return a;n&&(e=Ie(e,Ze(n))),r?(i=Te,u=!1):e.length>=200&&(i=Xe,u=!1,e=new qn(e));t:for(;++o<s;){var l=t[o],f=null==n?l:n(l);if(l=r||0!==l?l:0,u&&f==f){for(var h=c;h--;)if(e[h]===f)continue t;a.push(l)}else i(e,f,r)||a.push(l)}return a}Un.templateSettings={escape:Z,evaluate:G,interpolate:X,variable:"",imports:{_:Un}},Un.prototype=Fn.prototype,Un.prototype.constructor=Un,Bn.prototype=zn(Fn.prototype),Bn.prototype.constructor=Bn,Hn.prototype=zn(Fn.prototype),Hn.prototype.constructor=Hn,Wn.prototype.clear=function(){this.__data__=An?An(null):{},this.size=0},Wn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Wn.prototype.get=function(t){var e=this.__data__;if(An){var n=e[t];return n===u?o:n}return jt.call(e,t)?e[t]:o},Wn.prototype.has=function(t){var e=this.__data__;return An?e[t]!==o:jt.call(e,t)},Wn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=An&&e===o?u:e,this},Qn.prototype.clear=function(){this.__data__=[],this.size=0},Qn.prototype.delete=function(t){var e=this.__data__,n=tr(e,t);return!(n<0||(n==e.length-1?e.pop():Vt.call(e,n,1),--this.size,0))},Qn.prototype.get=function(t){var e=this.__data__,n=tr(e,t);return n<0?o:e[n][1]},Qn.prototype.has=function(t){return tr(this.__data__,t)>-1},Qn.prototype.set=function(t,e){var n=this.__data__,r=tr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},$n.prototype.clear=function(){this.size=0,this.__data__={hash:new Wn,map:new(Sn||Qn),string:new Wn}},$n.prototype.delete=function(t){var e=si(this,t).delete(t);return this.size-=e?1:0,e},$n.prototype.get=function(t){return si(this,t).get(t)},$n.prototype.has=function(t){return si(this,t).has(t)},$n.prototype.set=function(t,e){var n=si(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},qn.prototype.add=qn.prototype.push=function(t){return this.__data__.set(t,u),this},qn.prototype.has=function(t){return this.__data__.has(t)},Vn.prototype.clear=function(){this.__data__=new Qn,this.size=0},Vn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Vn.prototype.get=function(t){return this.__data__.get(t)},Vn.prototype.has=function(t){return this.__data__.has(t)},Vn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Qn){var r=n.__data__;if(!Sn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new $n(r)}return n.set(t,e),this.size=n.size,this};var lr=Io(gr),fr=Io(mr,!0);function hr(t,e){var n=!0;return lr(t,function(t,r,o){return n=!!e(t,r,o)}),n}function pr(t,e,n){for(var r=-1,i=t.length;++r<i;){var u=t[r],s=e(u);if(null!=s&&(a===o?s==s&&!ss(s):n(s,a)))var a=s,c=u}return c}function dr(t,e){var n=[];return lr(t,function(t,r,o){e(t,r,o)&&n.push(t)}),n}function vr(t,e,n,r,o){var i=-1,u=t.length;for(n||(n=vi),o||(o=[]);++i<u;){var s=t[i];e>0&&n(s)?e>1?vr(s,e-1,n,r,o):Le(o,s):r||(o[o.length]=s)}return o}var _r=Lo(),yr=Lo(!0);function gr(t,e){return t&&_r(t,e,Ts)}function mr(t,e){return t&&yr(t,e,Ts)}function br(t,e){return Oe(e,function(e){return Gu(t[e])})}function wr(t,e){for(var n=0,r=(e=yo(e,t)).length;null!=t&&n<r;)t=t[Di(e[n++])];return n&&n==r?t:o}function xr(t,e,n){var r=e(t);return Wu(t)?r:Le(r,n(t))}function Sr(t){return null==t?t===o?"[object Undefined]":"[object Null]":Yt&&Yt in Et(t)?function(t){var e=jt.call(t,Yt),n=t[Yt];try{t[Yt]=o;var r=!0}catch(t){}var i=Dt.call(t);return r&&(e?t[Yt]=n:delete t[Yt]),i}(t):function(t){return Dt.call(t)}(t)}function Er(t,e){return t>e}function Rr(t,e){return null!=t&&jt.call(t,e)}function kr(t,e){return null!=t&&e in Et(t)}function Ar(t,e,n){for(var i=n?Te:Ce,u=t[0].length,s=t.length,a=s,c=r(s),l=1/0,f=[];a--;){var h=t[a];a&&e&&(h=Ie(h,Ze(e))),l=yn(h.length,l),c[a]=!n&&(e||u>=120&&h.length>=120)?new qn(a&&h):o}h=t[0];var p=-1,d=c[0];t:for(;++p<u&&f.length<l;){var v=h[p],_=e?e(v):v;if(v=n||0!==v?v:0,!(d?Xe(d,_):i(f,_,n))){for(a=s;--a;){var y=c[a];if(!(y?Xe(y,_):i(t[a],_,n)))continue t}d&&d.push(_),f.push(v)}}return f}function Or(t,e,n){var r=null==(t=Ri(t,e=yo(e,t)))?t:t[Di(Zi(e))];return null==r?o:Se(r,t,n)}function Cr(t){return ts(t)&&Sr(t)==v}function Tr(t,e,n,r,i){return t===e||(null==t||null==e||!ts(t)&&!ts(e)?t!=t&&e!=e:function(t,e,n,r,i,u){var s=Wu(t),a=Wu(e),c=s?_:hi(t),l=a?_:hi(e),f=(c=c==v?E:c)==E,h=(l=l==v?E:l)==E,p=c==l;if(p&&Vu(t)){if(!Vu(e))return!1;s=!0,f=!1}if(p&&!f)return u||(u=new Vn),s||as(t)?Jo(t,e,n,r,i,u):function(t,e,n,r,o,i,u){switch(n){case L:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case I:return!(t.byteLength!=e.byteLength||!i(new Ht(t),new Ht(e)));case y:case g:case S:return zu(+t,+e);case m:return t.name==e.name&&t.message==e.message;case k:case O:return t==e+"";case x:var s=on;case A:var a=1&r;if(s||(s=an),t.size!=e.size&&!a)return!1;var c=u.get(t);if(c)return c==e;r|=2,u.set(t,e);var l=Jo(s(t),s(e),r,o,i,u);return u.delete(t),l;case C:if(Dn)return Dn.call(t)==Dn.call(e)}return!1}(t,e,c,n,r,i,u);if(!(1&n)){var d=f&&jt.call(t,"__wrapped__"),b=h&&jt.call(e,"__wrapped__");if(d||b){var w=d?t.value():t,R=b?e.value():e;return u||(u=new Vn),i(w,R,n,r,u)}}return!!p&&(u||(u=new Vn),function(t,e,n,r,i,u){var s=1&n,a=ei(t),c=a.length;if(c!=ei(e).length&&!s)return!1;for(var l=c;l--;){var f=a[l];if(!(s?f in e:jt.call(e,f)))return!1}var h=u.get(t),p=u.get(e);if(h&&p)return h==e&&p==t;var d=!0;u.set(t,e),u.set(e,t);for(var v=s;++l<c;){var _=t[f=a[l]],y=e[f];if(r)var g=s?r(y,_,f,e,t,u):r(_,y,f,t,e,u);if(!(g===o?_===y||i(_,y,n,r,u):g)){d=!1;break}v||(v="constructor"==f)}if(d&&!v){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(d=!1)}return u.delete(t),u.delete(e),d}(t,e,n,r,i,u))}(t,e,n,r,Tr,i))}function Ir(t,e,n,r){var i=n.length,u=i,s=!r;if(null==t)return!u;for(t=Et(t);i--;){var a=n[i];if(s&&a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<u;){var c=(a=n[i])[0],l=t[c],f=a[1];if(s&&a[2]){if(l===o&&!(c in t))return!1}else{var h=new Vn;if(r)var p=r(l,f,c,t,e,h);if(!(p===o?Tr(f,l,3,r,h):p))return!1}}return!0}function Lr(t){return!(!Ju(t)||(e=t,Nt&&Nt in e))&&(Gu(t)?zt:vt).test(Mi(t));var e}function jr(t){return"function"==typeof t?t:null==t?na:"object"==typeof t?Wu(t)?Ur(t[0],t[1]):Mr(t):fa(t)}function Pr(t){if(!wi(t))return vn(t);var e=[];for(var n in Et(t))jt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Nr(t,e){return t<e}function Dr(t,e){var n=-1,o=$u(t)?r(t.length):[];return lr(t,function(t,r,i){o[++n]=e(t,r,i)}),o}function Mr(t){var e=ai(t);return 1==e.length&&e[0][2]?Si(e[0][0],e[0][1]):function(n){return n===t||Ir(n,t,e)}}function Ur(t,e){return gi(t)&&xi(e)?Si(Di(t),e):function(n){var r=Rs(n,t);return r===o&&r===e?ks(n,t):Tr(e,r,3)}}function zr(t,e,n,r,i){t!==e&&_r(e,function(u,s){if(i||(i=new Vn),Ju(u))!function(t,e,n,r,i,u,s){var a=ki(t,n),c=ki(e,n),l=s.get(c);if(l)Yn(t,n,l);else{var f=u?u(a,c,n+"",t,e,s):o,h=f===o;if(h){var p=Wu(c),d=!p&&Vu(c),v=!p&&!d&&as(c);f=c,p||d||v?Wu(a)?f=a:qu(a)?f=Ao(a):d?(h=!1,f=wo(c,!0)):v?(h=!1,f=So(c,!0)):f=[]:rs(c)||Hu(c)?(f=a,Hu(a)?f=_s(a):Ju(a)&&!Gu(a)||(f=di(c))):h=!1}h&&(s.set(c,f),i(f,c,r,u,s),s.delete(c)),Yn(t,n,f)}}(t,e,s,n,zr,r,i);else{var a=r?r(ki(t,s),u,s+"",t,e,i):o;a===o&&(a=u),Yn(t,s,a)}},Is)}function Fr(t,e){var n=t.length;if(n)return _i(e+=e<0?n:0,n)?t[e]:o}function Br(t,e,n){e=e.length?Ie(e,function(t){return Wu(t)?function(e){return wr(e,1===t.length?t[0]:t)}:t}):[na];var r=-1;e=Ie(e,Ze(ui()));var o=Dr(t,function(t,n,o){var i=Ie(e,function(e){return e(t)});return{criteria:i,index:++r,value:t}});return function(t){var e=t.length;for(t.sort(function(t,e){return function(t,e,n){for(var r=-1,o=t.criteria,i=e.criteria,u=o.length,s=n.length;++r<u;){var a=Eo(o[r],i[r]);if(a)return r>=s?a:a*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)});e--;)t[e]=t[e].value;return t}(o)}function Hr(t,e,n){for(var r=-1,o=e.length,i={};++r<o;){var u=e[r],s=wr(t,u);n(s,u)&&Gr(i,yo(u,t),s)}return i}function Wr(t,e,n,r){var o=r?Fe:ze,i=-1,u=e.length,s=t;for(t===e&&(e=Ao(e)),n&&(s=Ie(t,Ze(n)));++i<u;)for(var a=0,c=e[i],l=n?n(c):c;(a=o(s,l,a,r))>-1;)s!==t&&Vt.call(s,a,1),Vt.call(t,a,1);return t}function Qr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var o=e[n];if(n==r||o!==i){var i=o;_i(o)?Vt.call(t,o,1):ao(t,o)}}return t}function $r(t,e){return t+pe(bn()*(e-t+1))}function qr(t,e){var n="";if(!t||e<1||e>f)return n;do{e%2&&(n+=t),(e=pe(e/2))&&(t+=t)}while(e);return n}function Vr(t,e){return Ci(Ei(t,e,na),t+"")}function Kr(t){return Zn(zs(t))}function Zr(t,e){var n=zs(t);return Li(n,ir(e,0,n.length))}function Gr(t,e,n,r){if(!Ju(t))return t;for(var i=-1,u=(e=yo(e,t)).length,s=u-1,a=t;null!=a&&++i<u;){var c=Di(e[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(i!=s){var f=a[c];(l=r?r(f,c,a):o)===o&&(l=Ju(f)?f:_i(e[i+1])?[]:{})}Jn(a,c,l),a=a[c]}return t}var Xr=On?function(t,e){return On.set(t,e),t}:na,Yr=te?function(t,e){return te(t,"toString",{configurable:!0,enumerable:!1,value:Js(e),writable:!0})}:na;function Jr(t){return Li(zs(t))}function to(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var u=r(i);++o<i;)u[o]=t[o+e];return u}function eo(t,e){var n;return lr(t,function(t,r,o){return!(n=e(t,r,o))}),!!n}function no(t,e,n){var r=0,o=null==t?r:t.length;if("number"==typeof e&&e==e&&o<=2147483647){for(;r<o;){var i=r+o>>>1,u=t[i];null!==u&&!ss(u)&&(n?u<=e:u<e)?r=i+1:o=i}return o}return ro(t,e,na,n)}function ro(t,e,n,r){var i=0,u=null==t?0:t.length;if(0===u)return 0;for(var s=(e=n(e))!=e,a=null===e,c=ss(e),l=e===o;i<u;){var f=pe((i+u)/2),h=n(t[f]),p=h!==o,d=null===h,v=h==h,_=ss(h);if(s)var y=r||v;else y=l?v&&(r||p):a?v&&p&&(r||!d):c?v&&p&&!d&&(r||!_):!d&&!_&&(r?h<=e:h<e);y?i=f+1:u=f}return yn(u,4294967294)}function oo(t,e){for(var n=-1,r=t.length,o=0,i=[];++n<r;){var u=t[n],s=e?e(u):u;if(!n||!zu(s,a)){var a=s;i[o++]=0===u?0:u}}return i}function io(t){return"number"==typeof t?t:ss(t)?h:+t}function uo(t){if("string"==typeof t)return t;if(Wu(t))return Ie(t,uo)+"";if(ss(t))return Mn?Mn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function so(t,e,n){var r=-1,o=Ce,i=t.length,u=!0,s=[],a=s;if(n)u=!1,o=Te;else if(i>=200){var c=e?null:Vo(t);if(c)return an(c);u=!1,o=Xe,a=new qn}else a=e?[]:s;t:for(;++r<i;){var l=t[r],f=e?e(l):l;if(l=n||0!==l?l:0,u&&f==f){for(var h=a.length;h--;)if(a[h]===f)continue t;e&&a.push(f),s.push(l)}else o(a,f,n)||(a!==s&&a.push(f),s.push(l))}return s}function ao(t,e){var n=-1,r=(e=yo(e,t)).length;if(!r)return!0;for(var o=null==t||"object"!=typeof t&&"function"!=typeof t;++n<r;){var i=e[n];if("string"==typeof i){if("__proto__"===i&&!jt.call(t,"__proto__"))return!1;if("constructor"===i&&n+1<r&&"string"==typeof e[n+1]&&"prototype"===e[n+1]){if(o&&0===n)continue;return!1}}}var u=Ri(t,e);return null==u||delete u[Di(Zi(e))]}function co(t,e,n,r){return Gr(t,e,n(wr(t,e)),r)}function lo(t,e,n,r){for(var o=t.length,i=r?o:-1;(r?i--:++i<o)&&e(t[i],i,t););return n?to(t,r?0:i,r?i+1:o):to(t,r?i+1:0,r?o:i)}function fo(t,e){var n=t;return n instanceof Hn&&(n=n.value()),je(e,function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))},n)}function ho(t,e,n){var o=t.length;if(o<2)return o?so(t[0]):[];for(var i=-1,u=r(o);++i<o;)for(var s=t[i],a=-1;++a<o;)a!=i&&(u[i]=cr(u[i]||s,t[a],e,n));return so(vr(u,1),e,n)}function po(t,e,n){for(var r=-1,i=t.length,u=e.length,s={};++r<i;){var a=r<u?e[r]:o;n(s,t[r],a)}return s}function vo(t){return qu(t)?t:[]}function _o(t){return"function"==typeof t?t:na}function yo(t,e){return Wu(t)?t:gi(t,e)?[t]:Ni(ys(t))}var go=Vr;function mo(t,e,n){var r=t.length;return n=n===o?r:n,!e&&n>=r?t:to(t,e,n)}var bo=ue||function(t){return fe.clearTimeout(t)};function wo(t,e){if(e)return t.slice();var n=t.length,r=Wt?Wt(n):new t.constructor(n);return t.copy(r),r}function xo(t){var e=new t.constructor(t.byteLength);return new Ht(e).set(new Ht(t)),e}function So(t,e){var n=e?xo(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Eo(t,e){if(t!==e){var n=t!==o,r=null===t,i=t==t,u=ss(t),s=e!==o,a=null===e,c=e==e,l=ss(e);if(!a&&!l&&!u&&t>e||u&&s&&c&&!a&&!l||r&&s&&c||!n&&c||!i)return 1;if(!r&&!u&&!l&&t<e||l&&n&&i&&!r&&!u||a&&n&&i||!s&&i||!c)return-1}return 0}function Ro(t,e,n,o){for(var i=-1,u=t.length,s=n.length,a=-1,c=e.length,l=_n(u-s,0),f=r(c+l),h=!o;++a<c;)f[a]=e[a];for(;++i<s;)(h||i<u)&&(f[n[i]]=t[i]);for(;l--;)f[a++]=t[i++];return f}function ko(t,e,n,o){for(var i=-1,u=t.length,s=-1,a=n.length,c=-1,l=e.length,f=_n(u-a,0),h=r(f+l),p=!o;++i<f;)h[i]=t[i];for(var d=i;++c<l;)h[d+c]=e[c];for(;++s<a;)(p||i<u)&&(h[d+n[s]]=t[i++]);return h}function Ao(t,e){var n=-1,o=t.length;for(e||(e=r(o));++n<o;)e[n]=t[n];return e}function Oo(t,e,n,r){var i=!n;n||(n={});for(var u=-1,s=e.length;++u<s;){var a=e[u],c=r?r(n[a],t[a],a,n,t):o;c===o&&(c=t[a]),i?rr(n,a,c):Jn(n,a,c)}return n}function Co(t,e){return function(n,r){var o=Wu(n)?Ee:er,i=e?e():{};return o(n,t,ui(r,2),i)}}function To(t){return Vr(function(e,n){var r=-1,i=n.length,u=i>1?n[i-1]:o,s=i>2?n[2]:o;for(u=t.length>3&&"function"==typeof u?(i--,u):o,s&&yi(n[0],n[1],s)&&(u=i<3?o:u,i=1),e=Et(e);++r<i;){var a=n[r];a&&t(e,a,r,u)}return e})}function Io(t,e){return function(n,r){if(null==n)return n;if(!$u(n))return t(n,r);for(var o=n.length,i=e?o:-1,u=Et(n);(e?i--:++i<o)&&!1!==r(u[i],i,u););return n}}function Lo(t){return function(e,n,r){for(var o=-1,i=Et(e),u=r(e),s=u.length;s--;){var a=u[t?s:++o];if(!1===n(i[a],a,i))break}return e}}function jo(t){return function(e){var n=rn(e=ys(e))?fn(e):o,r=n?n[0]:e.charAt(0),i=n?mo(n,1).join(""):e.slice(1);return r[t]()+i}}function Po(t){return function(e){return je(Gs(Hs(e).replace(Gt,"")),t,"")}}function No(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=zn(t.prototype),r=t.apply(n,e);return Ju(r)?r:n}}function Do(t){return function(e,n,r){var i=Et(e);if(!$u(e)){var u=ui(n,3);e=Ts(e),n=function(t){return u(i[t],t,i)}}var s=t(e,n,r);return s>-1?i[u?e[s]:s]:o}}function Mo(t){return ti(function(e){var n=e.length,r=n,u=Bn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new At(i);if(u&&!a&&"wrapper"==oi(s))var a=new Bn([],!0)}for(r=a?r:n;++r<n;){var c=oi(s=e[r]),l="wrapper"==c?ri(s):o;a=l&&mi(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[oi(l[0])].apply(a,l[3]):1==s.length&&mi(s)?a[c]():a.thru(s)}return function(){var t=arguments,r=t[0];if(a&&1==t.length&&Wu(r))return a.plant(r).value();for(var o=0,i=n?e[o].apply(this,t):r;++o<n;)i=e[o].call(this,i);return i}})}function Uo(t,e,n,i,u,s,a,l,f,h){var p=e&c,d=1&e,v=2&e,_=24&e,y=512&e,g=v?o:No(t);return function c(){for(var m=arguments.length,b=r(m),w=m;w--;)b[w]=arguments[w];if(_)var x=ii(c),S=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(b,x);if(i&&(b=Ro(b,i,u,_)),s&&(b=ko(b,s,a,_)),m-=S,_&&m<h){var E=sn(b,x);return $o(t,e,Uo,c.placeholder,n,b,E,l,f,h-m)}var R=d?n:this,k=v?R[t]:t;return m=b.length,l?b=function(t,e){for(var n=t.length,r=yn(e.length,n),i=Ao(t);r--;){var u=e[r];t[r]=_i(u,n)?i[u]:o}return t}(b,l):y&&m>1&&b.reverse(),p&&f<m&&(b.length=f),this&&this!==fe&&this instanceof c&&(k=g||No(k)),k.apply(R,b)}}function zo(t,e){return function(n,r){return function(t,e,n,r){return gr(t,function(t,o,i){e(r,n(t),o,i)}),r}(n,t,e(r),{})}}function Fo(t,e){return function(n,r){var i;if(n===o&&r===o)return e;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=uo(n),r=uo(r)):(n=io(n),r=io(r)),i=t(n,r)}return i}}function Bo(t){return ti(function(e){return e=Ie(e,Ze(ui())),Vr(function(n){var r=this;return t(e,function(t){return Se(t,r,n)})})})}function Ho(t,e){var n=(e=e===o?" ":uo(e)).length;if(n<2)return n?qr(e,t):e;var r=qr(e,he(t/ln(e)));return rn(e)?mo(fn(r),0,t).join(""):r.slice(0,t)}function Wo(t){return function(e,n,i){return i&&"number"!=typeof i&&yi(e,n,i)&&(n=i=o),e=hs(e),n===o?(n=e,e=0):n=hs(n),function(t,e,n,o){for(var i=-1,u=_n(he((e-t)/(n||1)),0),s=r(u);u--;)s[o?u:++i]=t,t+=n;return s}(e,n,i=i===o?e<n?1:-1:hs(i),t)}}function Qo(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=vs(e),n=vs(n)),t(e,n)}}function $o(t,e,n,r,i,u,s,c,l,f){var h=8&e;e|=h?a:64,4&(e&=~(h?64:a))||(e&=-4);var p=[t,e,i,h?u:o,h?s:o,h?o:u,h?o:s,c,l,f],d=n.apply(o,p);return mi(t)&&Ai(d,p),d.placeholder=r,Ti(d,t,e)}function qo(t){var e=St[t];return function(t,n){if(t=vs(t),(n=null==n?0:yn(ps(n),292))&&De(t)){var r=(ys(t)+"e").split("e");return+((r=(ys(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Vo=Rn&&1/an(new Rn([,-0]))[1]==l?function(t){return new Rn(t)}:sa;function Ko(t){return function(e){var n=hi(e);return n==x?on(e):n==A?cn(e):function(t,e){return Ie(e,function(e){return[e,t[e]]})}(e,t(e))}}function Zo(t,e,n,u,l,f,h,p){var d=2&e;if(!d&&"function"!=typeof t)throw new At(i);var v=u?u.length:0;if(v||(e&=-97,u=l=o),h=h===o?h:_n(ps(h),0),p=p===o?p:ps(p),v-=l?l.length:0,64&e){var _=u,y=l;u=l=o}var g=d?o:ri(t),m=[t,e,n,u,l,_,y,f,h,p];if(g&&function(t,e){var n=t[1],r=e[1],o=n|r,i=o<131,u=r==c&&8==n||r==c&&256==n&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!i&&!u)return t;1&r&&(t[2]=e[2],o|=1&n?0:4);var a=e[3];if(a){var l=t[3];t[3]=l?Ro(l,a,e[4]):a,t[4]=l?sn(t[3],s):e[4]}(a=e[5])&&(l=t[5],t[5]=l?ko(l,a,e[6]):a,t[6]=l?sn(t[5],s):e[6]),(a=e[7])&&(t[7]=a),r&c&&(t[8]=null==t[8]?e[8]:yn(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=o}(m,g),t=m[0],e=m[1],n=m[2],u=m[3],l=m[4],!(p=m[9]=m[9]===o?d?0:t.length:_n(m[9]-v,0))&&24&e&&(e&=-25),e&&1!=e)b=8==e||16==e?function(t,e,n){var i=No(t);return function u(){for(var s=arguments.length,a=r(s),c=s,l=ii(u);c--;)a[c]=arguments[c];var f=s<3&&a[0]!==l&&a[s-1]!==l?[]:sn(a,l);return(s-=f.length)<n?$o(t,e,Uo,u.placeholder,o,a,f,o,o,n-s):Se(this&&this!==fe&&this instanceof u?i:t,this,a)}}(t,e,p):e!=a&&33!=e||l.length?Uo.apply(o,m):function(t,e,n,o){var i=1&e,u=No(t);return function e(){for(var s=-1,a=arguments.length,c=-1,l=o.length,f=r(l+a),h=this&&this!==fe&&this instanceof e?u:t;++c<l;)f[c]=o[c];for(;a--;)f[c++]=arguments[++s];return Se(h,i?n:this,f)}}(t,e,n,u);else var b=function(t,e,n){var r=1&e,o=No(t);return function e(){return(this&&this!==fe&&this instanceof e?o:t).apply(r?n:this,arguments)}}(t,e,n);return Ti((g?Xr:Ai)(b,m),t,e)}function Go(t,e,n,r){return t===o||zu(t,Tt[n])&&!jt.call(r,n)?e:t}function Xo(t,e,n,r,i,u){return Ju(t)&&Ju(e)&&(u.set(e,t),zr(t,e,o,Xo,u),u.delete(e)),t}function Yo(t){return rs(t)?o:t}function Jo(t,e,n,r,i,u){var s=1&n,a=t.length,c=e.length;if(a!=c&&!(s&&c>a))return!1;var l=u.get(t),f=u.get(e);if(l&&f)return l==e&&f==t;var h=-1,p=!0,d=2&n?new qn:o;for(u.set(t,e),u.set(e,t);++h<a;){var v=t[h],_=e[h];if(r)var y=s?r(_,v,h,e,t,u):r(v,_,h,t,e,u);if(y!==o){if(y)continue;p=!1;break}if(d){if(!Ne(e,function(t,e){if(!Xe(d,e)&&(v===t||i(v,t,n,r,u)))return d.push(e)})){p=!1;break}}else if(v!==_&&!i(v,_,n,r,u)){p=!1;break}}return u.delete(t),u.delete(e),p}function ti(t){return Ci(Ei(t,o,Qi),t+"")}function ei(t){return xr(t,Ts,li)}function ni(t){return xr(t,Is,fi)}var ri=On?function(t){return On.get(t)}:sa;function oi(t){for(var e=t.name+"",n=Cn[e],r=jt.call(Cn,e)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==t)return o.name}return e}function ii(t){return(jt.call(Un,"placeholder")?Un:t).placeholder}function ui(){var t=Un.iteratee||ra;return t=t===ra?jr:t,arguments.length?t(arguments[0],arguments[1]):t}function si(t,e){var n,r,o=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof e?"string":"hash"]:o.map}function ai(t){for(var e=Ts(t),n=e.length;n--;){var r=e[n],o=t[r];e[n]=[r,o,xi(o)]}return e}function ci(t,e){var n=function(t,e){return null==t?o:t[e]}(t,e);return Lr(n)?n:o}var li=ve?function(t){return null==t?[]:(t=Et(t),Oe(ve(t),function(e){return qt.call(t,e)}))}:da,fi=ve?function(t){for(var e=[];t;)Le(e,li(t)),t=Qt(t);return e}:da,hi=Sr;function pi(t,e,n){for(var r=-1,o=(e=yo(e,t)).length,i=!1;++r<o;){var u=Di(e[r]);if(!(i=null!=t&&n(t,u)))break;t=t[u]}return i||++r!=o?i:!!(o=null==t?0:t.length)&&Yu(o)&&_i(u,o)&&(Wu(t)||Hu(t))}function di(t){return"function"!=typeof t.constructor||wi(t)?{}:zn(Qt(t))}function vi(t){return Wu(t)||Hu(t)||!!(Kt&&t&&t[Kt])}function _i(t,e){var n=typeof t;return!!(e=null==e?f:e)&&("number"==n||"symbol"!=n&&yt.test(t))&&t>-1&&t%1==0&&t<e}function yi(t,e,n){if(!Ju(n))return!1;var r=typeof e;return!!("number"==r?$u(n)&&_i(e,n.length):"string"==r&&e in n)&&zu(n[e],t)}function gi(t,e){if(Wu(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ss(t))||J.test(t)||!Y.test(t)||null!=e&&t in Et(e)}function mi(t){var e=oi(t),n=Un[e];if("function"!=typeof n||!(e in Hn.prototype))return!1;if(t===n)return!0;var r=ri(n);return!!r&&t===r[0]}(xn&&hi(new xn(new ArrayBuffer(1)))!=L||Sn&&hi(new Sn)!=x||En&&hi(En.resolve())!=R||Rn&&hi(new Rn)!=A||kn&&hi(new kn)!=T)&&(hi=function(t){var e=Sr(t),n=e==E?t.constructor:o,r=n?Mi(n):"";if(r)switch(r){case Tn:return L;case In:return x;case Ln:return R;case jn:return A;case Pn:return T}return e});var bi=It?Gu:va;function wi(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Tt)}function xi(t){return t==t&&!Ju(t)}function Si(t,e){return function(n){return null!=n&&n[t]===e&&(e!==o||t in Et(n))}}function Ei(t,e,n){return e=_n(e===o?t.length-1:e,0),function(){for(var o=arguments,i=-1,u=_n(o.length-e,0),s=r(u);++i<u;)s[i]=o[e+i];i=-1;for(var a=r(e+1);++i<e;)a[i]=o[i];return a[e]=n(s),Se(t,this,a)}}function Ri(t,e){return e.length<2?t:wr(t,to(e,0,-1))}function ki(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Ai=Ii(Xr),Oi=le||function(t,e){return fe.setTimeout(t,e)},Ci=Ii(Yr);function Ti(t,e,n){var r=e+"";return Ci(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(it,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Re(d,function(n){var r="_."+n[0];e&n[1]&&!Ce(t,r)&&t.push(r)}),t.sort()}(function(t){var e=t.match(ut);return e?e[1].split(st):[]}(r),n)))}function Ii(t){var e=0,n=0;return function(){var r=gn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(o,arguments)}}function Li(t,e){var n=-1,r=t.length,i=r-1;for(e=e===o?r:e;++n<e;){var u=$r(n,i),s=t[u];t[u]=t[n],t[n]=s}return t.length=e,t}var ji,Pi,Ni=(ji=ju(function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(tt,function(t,n,r,o){e.push(r?o.replace(lt,"$1"):n||t)}),e},function(t){return 500===Pi.size&&Pi.clear(),t}),Pi=ji.cache,ji);function Di(t){if("string"==typeof t||ss(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Mi(t){if(null!=t){try{return Lt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Ui(t){if(t instanceof Hn)return t.clone();var e=new Bn(t.__wrapped__,t.__chain__);return e.__actions__=Ao(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var zi=Vr(function(t,e){return qu(t)?cr(t,vr(e,1,qu,!0)):[]}),Fi=Vr(function(t,e){var n=Zi(e);return qu(n)&&(n=o),qu(t)?cr(t,vr(e,1,qu,!0),ui(n,2)):[]}),Bi=Vr(function(t,e){var n=Zi(e);return qu(n)&&(n=o),qu(t)?cr(t,vr(e,1,qu,!0),o,n):[]});function Hi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ps(n);return o<0&&(o=_n(r+o,0)),Ue(t,ui(e,3),o)}function Wi(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r-1;return n!==o&&(i=ps(n),i=n<0?_n(r+i,0):yn(i,r-1)),Ue(t,ui(e,3),i,!0)}function Qi(t){return null!=t&&t.length?vr(t,1):[]}function $i(t){return t&&t.length?t[0]:o}var qi=Vr(function(t){var e=Ie(t,vo);return e.length&&e[0]===t[0]?Ar(e):[]}),Vi=Vr(function(t){var e=Zi(t),n=Ie(t,vo);return e===Zi(n)?e=o:n.pop(),n.length&&n[0]===t[0]?Ar(n,ui(e,2)):[]}),Ki=Vr(function(t){var e=Zi(t),n=Ie(t,vo);return(e="function"==typeof e?e:o)&&n.pop(),n.length&&n[0]===t[0]?Ar(n,o,e):[]});function Zi(t){var e=null==t?0:t.length;return e?t[e-1]:o}var Gi=Vr(Xi);function Xi(t,e){return t&&t.length&&e&&e.length?Wr(t,e):t}var Yi=ti(function(t,e){var n=null==t?0:t.length,r=or(t,e);return Qr(t,Ie(e,function(t){return _i(t,n)?+t:t}).sort(Eo)),r});function Ji(t){return null==t?t:wn.call(t)}var tu=Vr(function(t){return so(vr(t,1,qu,!0))}),eu=Vr(function(t){var e=Zi(t);return qu(e)&&(e=o),so(vr(t,1,qu,!0),ui(e,2))}),nu=Vr(function(t){var e=Zi(t);return e="function"==typeof e?e:o,so(vr(t,1,qu,!0),o,e)});function ru(t){if(!t||!t.length)return[];var e=0;return t=Oe(t,function(t){if(qu(t))return e=_n(t.length,e),!0}),Ve(e,function(e){return Ie(t,We(e))})}function ou(t,e){if(!t||!t.length)return[];var n=ru(t);return null==e?n:Ie(n,function(t){return Se(e,o,t)})}var iu=Vr(function(t,e){return qu(t)?cr(t,e):[]}),uu=Vr(function(t){return ho(Oe(t,qu))}),su=Vr(function(t){var e=Zi(t);return qu(e)&&(e=o),ho(Oe(t,qu),ui(e,2))}),au=Vr(function(t){var e=Zi(t);return e="function"==typeof e?e:o,ho(Oe(t,qu),o,e)}),cu=Vr(ru),lu=Vr(function(t){var e=t.length,n=e>1?t[e-1]:o;return n="function"==typeof n?(t.pop(),n):o,ou(t,n)});function fu(t){var e=Un(t);return e.__chain__=!0,e}function hu(t,e){return e(t)}var pu=ti(function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return or(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Hn&&_i(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:hu,args:[i],thisArg:o}),new Bn(r,this.__chain__).thru(function(t){return e&&!t.length&&t.push(o),t})):this.thru(i)}),du=Co(function(t,e,n){jt.call(t,n)?++t[n]:rr(t,n,1)}),vu=Do(Hi),_u=Do(Wi);function yu(t,e){return(Wu(t)?Re:lr)(t,ui(e,3))}function gu(t,e){return(Wu(t)?ke:fr)(t,ui(e,3))}var mu=Co(function(t,e,n){jt.call(t,n)?t[n].push(e):rr(t,n,[e])}),bu=Vr(function(t,e,n){var o=-1,i="function"==typeof e,u=$u(t)?r(t.length):[];return lr(t,function(t){u[++o]=i?Se(e,t,n):Or(t,e,n)}),u}),wu=Co(function(t,e,n){rr(t,n,e)});function xu(t,e){return(Wu(t)?Ie:Dr)(t,ui(e,3))}var Su=Co(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]}),Eu=Vr(function(t,e){if(null==t)return[];var n=e.length;return n>1&&yi(t,e[0],e[1])?e=[]:n>2&&yi(e[0],e[1],e[2])&&(e=[e[0]]),Br(t,vr(e,1),[])}),Ru=ce||function(){return fe.Date.now()};function ku(t,e,n){return e=n?o:e,e=t&&null==e?t.length:e,Zo(t,c,o,o,o,o,e)}function Au(t,e){var n;if("function"!=typeof e)throw new At(i);return t=ps(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=o),n}}var Ou=Vr(function(t,e,n){var r=1;if(n.length){var o=sn(n,ii(Ou));r|=a}return Zo(t,r,e,n,o)}),Cu=Vr(function(t,e,n){var r=3;if(n.length){var o=sn(n,ii(Cu));r|=a}return Zo(e,r,t,n,o)});function Tu(t,e,n){var r,u,s,a,c,l,f=0,h=!1,p=!1,d=!0;if("function"!=typeof t)throw new At(i);function v(e){var n=r,i=u;return r=u=o,f=e,a=t.apply(i,n)}function _(t){var n=t-l;return l===o||n>=e||n<0||p&&t-f>=s}function y(){var t=Ru();if(_(t))return g(t);c=Oi(y,function(t){var n=e-(t-l);return p?yn(n,s-(t-f)):n}(t))}function g(t){return c=o,d&&r?v(t):(r=u=o,a)}function m(){var t=Ru(),n=_(t);if(r=arguments,u=this,l=t,n){if(c===o)return function(t){return f=t,c=Oi(y,e),h?v(t):a}(l);if(p)return bo(c),c=Oi(y,e),v(l)}return c===o&&(c=Oi(y,e)),a}return e=vs(e)||0,Ju(n)&&(h=!!n.leading,s=(p="maxWait"in n)?_n(vs(n.maxWait)||0,e):s,d="trailing"in n?!!n.trailing:d),m.cancel=function(){c!==o&&bo(c),f=0,r=l=u=c=o},m.flush=function(){return c===o?a:g(Ru())},m}var Iu=Vr(function(t,e){return ar(t,1,e)}),Lu=Vr(function(t,e,n){return ar(t,vs(e)||0,n)});function ju(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new At(i);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=t.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(ju.Cache||$n),n}function Pu(t){if("function"!=typeof t)throw new At(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ju.Cache=$n;var Nu=go(function(t,e){var n=(e=1==e.length&&Wu(e[0])?Ie(e[0],Ze(ui())):Ie(vr(e,1),Ze(ui()))).length;return Vr(function(r){for(var o=-1,i=yn(r.length,n);++o<i;)r[o]=e[o].call(this,r[o]);return Se(t,this,r)})}),Du=Vr(function(t,e){var n=sn(e,ii(Du));return Zo(t,a,o,e,n)}),Mu=Vr(function(t,e){var n=sn(e,ii(Mu));return Zo(t,64,o,e,n)}),Uu=ti(function(t,e){return Zo(t,256,o,o,o,e)});function zu(t,e){return t===e||t!=t&&e!=e}var Fu=Qo(Er),Bu=Qo(function(t,e){return t>=e}),Hu=Cr(function(){return arguments}())?Cr:function(t){return ts(t)&&jt.call(t,"callee")&&!qt.call(t,"callee")},Wu=r.isArray,Qu=ye?Ze(ye):function(t){return ts(t)&&Sr(t)==I};function $u(t){return null!=t&&Yu(t.length)&&!Gu(t)}function qu(t){return ts(t)&&$u(t)}var Vu=_e||va,Ku=ge?Ze(ge):function(t){return ts(t)&&Sr(t)==g};function Zu(t){if(!ts(t))return!1;var e=Sr(t);return e==m||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!rs(t)}function Gu(t){if(!Ju(t))return!1;var e=Sr(t);return e==b||e==w||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Xu(t){return"number"==typeof t&&t==ps(t)}function Yu(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=f}function Ju(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function ts(t){return null!=t&&"object"==typeof t}var es=me?Ze(me):function(t){return ts(t)&&hi(t)==x};function ns(t){return"number"==typeof t||ts(t)&&Sr(t)==S}function rs(t){if(!ts(t)||Sr(t)!=E)return!1;var e=Qt(t);if(null===e)return!0;var n=jt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Lt.call(n)==Mt}var os=be?Ze(be):function(t){return ts(t)&&Sr(t)==k},is=we?Ze(we):function(t){return ts(t)&&hi(t)==A};function us(t){return"string"==typeof t||!Wu(t)&&ts(t)&&Sr(t)==O}function ss(t){return"symbol"==typeof t||ts(t)&&Sr(t)==C}var as=xe?Ze(xe):function(t){return ts(t)&&Yu(t.length)&&!!oe[Sr(t)]},cs=Qo(Nr),ls=Qo(function(t,e){return t<=e});function fs(t){if(!t)return[];if($u(t))return us(t)?fn(t):Ao(t);if(Zt&&t[Zt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Zt]());var e=hi(t);return(e==x?on:e==A?an:zs)(t)}function hs(t){return t?(t=vs(t))===l||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ps(t){var e=hs(t),n=e%1;return e==e?n?e-n:e:0}function ds(t){return t?ir(ps(t),0,p):0}function vs(t){if("number"==typeof t)return t;if(ss(t))return h;if(Ju(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ju(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ke(t);var n=dt.test(t);return n||_t.test(t)?ae(t.slice(2),n?2:8):pt.test(t)?h:+t}function _s(t){return Oo(t,Is(t))}function ys(t){return null==t?"":uo(t)}var gs=To(function(t,e){if(wi(e)||$u(e))Oo(e,Ts(e),t);else for(var n in e)jt.call(e,n)&&Jn(t,n,e[n])}),ms=To(function(t,e){Oo(e,Is(e),t)}),bs=To(function(t,e,n,r){Oo(e,Is(e),t,r)}),ws=To(function(t,e,n,r){Oo(e,Ts(e),t,r)}),xs=ti(or),Ss=Vr(function(t,e){t=Et(t);var n=-1,r=e.length,i=r>2?e[2]:o;for(i&&yi(e[0],e[1],i)&&(r=1);++n<r;)for(var u=e[n],s=Is(u),a=-1,c=s.length;++a<c;){var l=s[a],f=t[l];(f===o||zu(f,Tt[l])&&!jt.call(t,l))&&(t[l]=u[l])}return t}),Es=Vr(function(t){return t.push(o,Xo),Se(js,o,t)});function Rs(t,e,n){var r=null==t?o:wr(t,e);return r===o?n:r}function ks(t,e){return null!=t&&pi(t,e,kr)}var As=zo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Dt.call(e)),t[e]=n},Js(na)),Os=zo(function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Dt.call(e)),jt.call(t,e)?t[e].push(n):t[e]=[n]},ui),Cs=Vr(Or);function Ts(t){return $u(t)?Kn(t):Pr(t)}function Is(t){return $u(t)?Kn(t,!0):function(t){if(!Ju(t))return function(t){var e=[];if(null!=t)for(var n in Et(t))e.push(n);return e}(t);var e=wi(t),n=[];for(var r in t)("constructor"!=r||!e&&jt.call(t,r))&&n.push(r);return n}(t)}var Ls=To(function(t,e,n){zr(t,e,n)}),js=To(function(t,e,n,r){zr(t,e,n,r)}),Ps=ti(function(t,e){var n={};if(null==t)return n;var r=!1;e=Ie(e,function(e){return e=yo(e,t),r||(r=e.length>1),e}),Oo(t,ni(t),n),r&&(n=ur(n,7,Yo));for(var o=e.length;o--;)ao(n,e[o]);return n}),Ns=ti(function(t,e){return null==t?{}:function(t,e){return Hr(t,e,function(e,n){return ks(t,n)})}(t,e)});function Ds(t,e){if(null==t)return{};var n=Ie(ni(t),function(t){return[t]});return e=ui(e),Hr(t,n,function(t,n){return e(t,n[0])})}var Ms=Ko(Ts),Us=Ko(Is);function zs(t){return null==t?[]:Ge(t,Ts(t))}var Fs=Po(function(t,e,n){return e=e.toLowerCase(),t+(n?Bs(e):e)});function Bs(t){return Zs(ys(t).toLowerCase())}function Hs(t){return(t=ys(t))&&t.replace(gt,tn).replace(Xt,"")}var Ws=Po(function(t,e,n){return t+(n?"-":"")+e.toLowerCase()}),Qs=Po(function(t,e,n){return t+(n?" ":"")+e.toLowerCase()}),$s=jo("toLowerCase"),qs=Po(function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}),Vs=Po(function(t,e,n){return t+(n?" ":"")+Zs(e)}),Ks=Po(function(t,e,n){return t+(n?" ":"")+e.toUpperCase()}),Zs=jo("toUpperCase");function Gs(t,e,n){return t=ys(t),(e=n?o:e)===o?function(t){return ee.test(t)}(t)?function(t){return t.match(Jt)||[]}(t):function(t){return t.match(at)||[]}(t):t.match(e)||[]}var Xs=Vr(function(t,e){try{return Se(t,o,e)}catch(t){return Zu(t)?t:new wt(t)}}),Ys=ti(function(t,e){return Re(e,function(e){e=Di(e),rr(t,e,Ou(t[e],t))}),t});function Js(t){return function(){return t}}var ta=Mo(),ea=Mo(!0);function na(t){return t}function ra(t){return jr("function"==typeof t?t:ur(t,1))}var oa=Vr(function(t,e){return function(n){return Or(n,t,e)}}),ia=Vr(function(t,e){return function(n){return Or(t,n,e)}});function ua(t,e,n){var r=Ts(e),o=br(e,r);null!=n||Ju(e)&&(o.length||!r.length)||(n=e,e=t,t=this,o=br(e,Ts(e)));var i=!(Ju(n)&&"chain"in n&&!n.chain),u=Gu(t);return Re(o,function(n){var r=e[n];t[n]=r,u&&(t.prototype[n]=function(){var e=this.__chain__;if(i||e){var n=t(this.__wrapped__);return(n.__actions__=Ao(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Le([this.value()],arguments))})}),t}function sa(){}var aa=Bo(Ie),ca=Bo(Ae),la=Bo(Ne);function fa(t){return gi(t)?We(Di(t)):function(t){return function(e){return wr(e,t)}}(t)}var ha=Wo(),pa=Wo(!0);function da(){return[]}function va(){return!1}var _a,ya=Fo(function(t,e){return t+e},0),ga=qo("ceil"),ma=Fo(function(t,e){return t/e},1),ba=qo("floor"),wa=Fo(function(t,e){return t*e},1),xa=qo("round"),Sa=Fo(function(t,e){return t-e},0);return Un.after=function(t,e){if("function"!=typeof e)throw new At(i);return t=ps(t),function(){if(--t<1)return e.apply(this,arguments)}},Un.ary=ku,Un.assign=gs,Un.assignIn=ms,Un.assignInWith=bs,Un.assignWith=ws,Un.at=xs,Un.before=Au,Un.bind=Ou,Un.bindAll=Ys,Un.bindKey=Cu,Un.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Wu(t)?t:[t]},Un.chain=fu,Un.chunk=function(t,e,n){e=(n?yi(t,e,n):e===o)?1:_n(ps(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var u=0,s=0,a=r(he(i/e));u<i;)a[s++]=to(t,u,u+=e);return a},Un.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,o=[];++e<n;){var i=t[e];i&&(o[r++]=i)}return o},Un.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],o=t;o--;)e[o-1]=arguments[o];return Le(Wu(n)?Ao(n):[n],vr(e,1))},Un.cond=function(t){var e=null==t?0:t.length,n=ui();return t=e?Ie(t,function(t){if("function"!=typeof t[1])throw new At(i);return[n(t[0]),t[1]]}):[],Vr(function(n){for(var r=-1;++r<e;){var o=t[r];if(Se(o[0],this,n))return Se(o[1],this,n)}})},Un.conforms=function(t){return function(t){var e=Ts(t);return function(n){return sr(n,t,e)}}(ur(t,1))},Un.constant=Js,Un.countBy=du,Un.create=function(t,e){var n=zn(t);return null==e?n:nr(n,e)},Un.curry=function t(e,n,r){var i=Zo(e,8,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Un.curryRight=function t(e,n,r){var i=Zo(e,16,o,o,o,o,o,n=r?o:n);return i.placeholder=t.placeholder,i},Un.debounce=Tu,Un.defaults=Ss,Un.defaultsDeep=Es,Un.defer=Iu,Un.delay=Lu,Un.difference=zi,Un.differenceBy=Fi,Un.differenceWith=Bi,Un.drop=function(t,e,n){var r=null==t?0:t.length;return r?to(t,(e=n||e===o?1:ps(e))<0?0:e,r):[]},Un.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?to(t,0,(e=r-(e=n||e===o?1:ps(e)))<0?0:e):[]},Un.dropRightWhile=function(t,e){return t&&t.length?lo(t,ui(e,3),!0,!0):[]},Un.dropWhile=function(t,e){return t&&t.length?lo(t,ui(e,3),!0):[]},Un.fill=function(t,e,n,r){var i=null==t?0:t.length;return i?(n&&"number"!=typeof n&&yi(t,e,n)&&(n=0,r=i),function(t,e,n,r){var i=t.length;for((n=ps(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:ps(r))<0&&(r+=i),r=n>r?0:ds(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Un.filter=function(t,e){return(Wu(t)?Oe:dr)(t,ui(e,3))},Un.flatMap=function(t,e){return vr(xu(t,e),1)},Un.flatMapDeep=function(t,e){return vr(xu(t,e),l)},Un.flatMapDepth=function(t,e,n){return n=n===o?1:ps(n),vr(xu(t,e),n)},Un.flatten=Qi,Un.flattenDeep=function(t){return null!=t&&t.length?vr(t,l):[]},Un.flattenDepth=function(t,e){return null!=t&&t.length?vr(t,e=e===o?1:ps(e)):[]},Un.flip=function(t){return Zo(t,512)},Un.flow=ta,Un.flowRight=ea,Un.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var o=t[e];r[o[0]]=o[1]}return r},Un.functions=function(t){return null==t?[]:br(t,Ts(t))},Un.functionsIn=function(t){return null==t?[]:br(t,Is(t))},Un.groupBy=mu,Un.initial=function(t){return null!=t&&t.length?to(t,0,-1):[]},Un.intersection=qi,Un.intersectionBy=Vi,Un.intersectionWith=Ki,Un.invert=As,Un.invertBy=Os,Un.invokeMap=bu,Un.iteratee=ra,Un.keyBy=wu,Un.keys=Ts,Un.keysIn=Is,Un.map=xu,Un.mapKeys=function(t,e){var n={};return e=ui(e,3),gr(t,function(t,r,o){rr(n,e(t,r,o),t)}),n},Un.mapValues=function(t,e){var n={};return e=ui(e,3),gr(t,function(t,r,o){rr(n,r,e(t,r,o))}),n},Un.matches=function(t){return Mr(ur(t,1))},Un.matchesProperty=function(t,e){return Ur(t,ur(e,1))},Un.memoize=ju,Un.merge=Ls,Un.mergeWith=js,Un.method=oa,Un.methodOf=ia,Un.mixin=ua,Un.negate=Pu,Un.nthArg=function(t){return t=ps(t),Vr(function(e){return Fr(e,t)})},Un.omit=Ps,Un.omitBy=function(t,e){return Ds(t,Pu(ui(e)))},Un.once=function(t){return Au(2,t)},Un.orderBy=function(t,e,n,r){return null==t?[]:(Wu(e)||(e=null==e?[]:[e]),Wu(n=r?o:n)||(n=null==n?[]:[n]),Br(t,e,n))},Un.over=aa,Un.overArgs=Nu,Un.overEvery=ca,Un.overSome=la,Un.partial=Du,Un.partialRight=Mu,Un.partition=Su,Un.pick=Ns,Un.pickBy=Ds,Un.property=fa,Un.propertyOf=function(t){return function(e){return null==t?o:wr(t,e)}},Un.pull=Gi,Un.pullAll=Xi,Un.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Wr(t,e,ui(n,2)):t},Un.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Wr(t,e,o,n):t},Un.pullAt=Yi,Un.range=ha,Un.rangeRight=pa,Un.rearg=Uu,Un.reject=function(t,e){return(Wu(t)?Oe:dr)(t,Pu(ui(e,3)))},Un.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,o=[],i=t.length;for(e=ui(e,3);++r<i;){var u=t[r];e(u,r,t)&&(n.push(u),o.push(r))}return Qr(t,o),n},Un.rest=function(t,e){if("function"!=typeof t)throw new At(i);return Vr(t,e=e===o?e:ps(e))},Un.reverse=Ji,Un.sampleSize=function(t,e,n){return e=(n?yi(t,e,n):e===o)?1:ps(e),(Wu(t)?Gn:Zr)(t,e)},Un.set=function(t,e,n){return null==t?t:Gr(t,e,n)},Un.setWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:Gr(t,e,n,r)},Un.shuffle=function(t){return(Wu(t)?Xn:Jr)(t)},Un.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&yi(t,e,n)?(e=0,n=r):(e=null==e?0:ps(e),n=n===o?r:ps(n)),to(t,e,n)):[]},Un.sortBy=Eu,Un.sortedUniq=function(t){return t&&t.length?oo(t):[]},Un.sortedUniqBy=function(t,e){return t&&t.length?oo(t,ui(e,2)):[]},Un.split=function(t,e,n){return n&&"number"!=typeof n&&yi(t,e,n)&&(e=n=o),(n=n===o?p:n>>>0)?(t=ys(t))&&("string"==typeof e||null!=e&&!os(e))&&!(e=uo(e))&&rn(t)?mo(fn(t),0,n):t.split(e,n):[]},Un.spread=function(t,e){if("function"!=typeof t)throw new At(i);return e=null==e?0:_n(ps(e),0),Vr(function(n){var r=n[e],o=mo(n,0,e);return r&&Le(o,r),Se(t,this,o)})},Un.tail=function(t){var e=null==t?0:t.length;return e?to(t,1,e):[]},Un.take=function(t,e,n){return t&&t.length?to(t,0,(e=n||e===o?1:ps(e))<0?0:e):[]},Un.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?to(t,(e=r-(e=n||e===o?1:ps(e)))<0?0:e,r):[]},Un.takeRightWhile=function(t,e){return t&&t.length?lo(t,ui(e,3),!1,!0):[]},Un.takeWhile=function(t,e){return t&&t.length?lo(t,ui(e,3)):[]},Un.tap=function(t,e){return e(t),t},Un.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new At(i);return Ju(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Tu(t,e,{leading:r,maxWait:e,trailing:o})},Un.thru=hu,Un.toArray=fs,Un.toPairs=Ms,Un.toPairsIn=Us,Un.toPath=function(t){return Wu(t)?Ie(t,Di):ss(t)?[t]:Ao(Ni(ys(t)))},Un.toPlainObject=_s,Un.transform=function(t,e,n){var r=Wu(t),o=r||Vu(t)||as(t);if(e=ui(e,4),null==n){var i=t&&t.constructor;n=o?r?new i:[]:Ju(t)&&Gu(i)?zn(Qt(t)):{}}return(o?Re:gr)(t,function(t,r,o){return e(n,t,r,o)}),n},Un.unary=function(t){return ku(t,1)},Un.union=tu,Un.unionBy=eu,Un.unionWith=nu,Un.uniq=function(t){return t&&t.length?so(t):[]},Un.uniqBy=function(t,e){return t&&t.length?so(t,ui(e,2)):[]},Un.uniqWith=function(t,e){return e="function"==typeof e?e:o,t&&t.length?so(t,o,e):[]},Un.unset=function(t,e){return null==t||ao(t,e)},Un.unzip=ru,Un.unzipWith=ou,Un.update=function(t,e,n){return null==t?t:co(t,e,_o(n))},Un.updateWith=function(t,e,n,r){return r="function"==typeof r?r:o,null==t?t:co(t,e,_o(n),r)},Un.values=zs,Un.valuesIn=function(t){return null==t?[]:Ge(t,Is(t))},Un.without=iu,Un.words=Gs,Un.wrap=function(t,e){return Du(_o(e),t)},Un.xor=uu,Un.xorBy=su,Un.xorWith=au,Un.zip=cu,Un.zipObject=function(t,e){return po(t||[],e||[],Jn)},Un.zipObjectDeep=function(t,e){return po(t||[],e||[],Gr)},Un.zipWith=lu,Un.entries=Ms,Un.entriesIn=Us,Un.extend=ms,Un.extendWith=bs,ua(Un,Un),Un.add=ya,Un.attempt=Xs,Un.camelCase=Fs,Un.capitalize=Bs,Un.ceil=ga,Un.clamp=function(t,e,n){return n===o&&(n=e,e=o),n!==o&&(n=(n=vs(n))==n?n:0),e!==o&&(e=(e=vs(e))==e?e:0),ir(vs(t),e,n)},Un.clone=function(t){return ur(t,4)},Un.cloneDeep=function(t){return ur(t,5)},Un.cloneDeepWith=function(t,e){return ur(t,5,e="function"==typeof e?e:o)},Un.cloneWith=function(t,e){return ur(t,4,e="function"==typeof e?e:o)},Un.conformsTo=function(t,e){return null==e||sr(t,e,Ts(e))},Un.deburr=Hs,Un.defaultTo=function(t,e){return null==t||t!=t?e:t},Un.divide=ma,Un.endsWith=function(t,e,n){t=ys(t),e=uo(e);var r=t.length,i=n=n===o?r:ir(ps(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Un.eq=zu,Un.escape=function(t){return(t=ys(t))&&K.test(t)?t.replace(q,en):t},Un.escapeRegExp=function(t){return(t=ys(t))&&nt.test(t)?t.replace(et,"\\$&"):t},Un.every=function(t,e,n){var r=Wu(t)?Ae:hr;return n&&yi(t,e,n)&&(e=o),r(t,ui(e,3))},Un.find=vu,Un.findIndex=Hi,Un.findKey=function(t,e){return Me(t,ui(e,3),gr)},Un.findLast=_u,Un.findLastIndex=Wi,Un.findLastKey=function(t,e){return Me(t,ui(e,3),mr)},Un.floor=ba,Un.forEach=yu,Un.forEachRight=gu,Un.forIn=function(t,e){return null==t?t:_r(t,ui(e,3),Is)},Un.forInRight=function(t,e){return null==t?t:yr(t,ui(e,3),Is)},Un.forOwn=function(t,e){return t&&gr(t,ui(e,3))},Un.forOwnRight=function(t,e){return t&&mr(t,ui(e,3))},Un.get=Rs,Un.gt=Fu,Un.gte=Bu,Un.has=function(t,e){return null!=t&&pi(t,e,Rr)},Un.hasIn=ks,Un.head=$i,Un.identity=na,Un.includes=function(t,e,n,r){t=$u(t)?t:zs(t),n=n&&!r?ps(n):0;var o=t.length;return n<0&&(n=_n(o+n,0)),us(t)?n<=o&&t.indexOf(e,n)>-1:!!o&&ze(t,e,n)>-1},Un.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=null==n?0:ps(n);return o<0&&(o=_n(r+o,0)),ze(t,e,o)},Un.inRange=function(t,e,n){return e=hs(e),n===o?(n=e,e=0):n=hs(n),function(t,e,n){return t>=yn(e,n)&&t<_n(e,n)}(t=vs(t),e,n)},Un.invoke=Cs,Un.isArguments=Hu,Un.isArray=Wu,Un.isArrayBuffer=Qu,Un.isArrayLike=$u,Un.isArrayLikeObject=qu,Un.isBoolean=function(t){return!0===t||!1===t||ts(t)&&Sr(t)==y},Un.isBuffer=Vu,Un.isDate=Ku,Un.isElement=function(t){return ts(t)&&1===t.nodeType&&!rs(t)},Un.isEmpty=function(t){if(null==t)return!0;if($u(t)&&(Wu(t)||"string"==typeof t||"function"==typeof t.splice||Vu(t)||as(t)||Hu(t)))return!t.length;var e=hi(t);if(e==x||e==A)return!t.size;if(wi(t))return!Pr(t).length;for(var n in t)if(jt.call(t,n))return!1;return!0},Un.isEqual=function(t,e){return Tr(t,e)},Un.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:o)?n(t,e):o;return r===o?Tr(t,e,o,n):!!r},Un.isError=Zu,Un.isFinite=function(t){return"number"==typeof t&&De(t)},Un.isFunction=Gu,Un.isInteger=Xu,Un.isLength=Yu,Un.isMap=es,Un.isMatch=function(t,e){return t===e||Ir(t,e,ai(e))},Un.isMatchWith=function(t,e,n){return n="function"==typeof n?n:o,Ir(t,e,ai(e),n)},Un.isNaN=function(t){return ns(t)&&t!=+t},Un.isNative=function(t){if(bi(t))throw new wt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(t)},Un.isNil=function(t){return null==t},Un.isNull=function(t){return null===t},Un.isNumber=ns,Un.isObject=Ju,Un.isObjectLike=ts,Un.isPlainObject=rs,Un.isRegExp=os,Un.isSafeInteger=function(t){return Xu(t)&&t>=-9007199254740991&&t<=f},Un.isSet=is,Un.isString=us,Un.isSymbol=ss,Un.isTypedArray=as,Un.isUndefined=function(t){return t===o},Un.isWeakMap=function(t){return ts(t)&&hi(t)==T},Un.isWeakSet=function(t){return ts(t)&&"[object WeakSet]"==Sr(t)},Un.join=function(t,e){return null==t?"":Qe.call(t,e)},Un.kebabCase=Ws,Un.last=Zi,Un.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=ps(n))<0?_n(r+i,0):yn(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):Ue(t,Be,i,!0)},Un.lowerCase=Qs,Un.lowerFirst=$s,Un.lt=cs,Un.lte=ls,Un.max=function(t){return t&&t.length?pr(t,na,Er):o},Un.maxBy=function(t,e){return t&&t.length?pr(t,ui(e,2),Er):o},Un.mean=function(t){return He(t,na)},Un.meanBy=function(t,e){return He(t,ui(e,2))},Un.min=function(t){return t&&t.length?pr(t,na,Nr):o},Un.minBy=function(t,e){return t&&t.length?pr(t,ui(e,2),Nr):o},Un.stubArray=da,Un.stubFalse=va,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=wa,Un.nth=function(t,e){return t&&t.length?Fr(t,ps(e)):o},Un.noConflict=function(){return fe._===this&&(fe._=Ut),this},Un.noop=sa,Un.now=Ru,Un.pad=function(t,e,n){t=ys(t);var r=(e=ps(e))?ln(t):0;if(!e||r>=e)return t;var o=(e-r)/2;return Ho(pe(o),n)+t+Ho(he(o),n)},Un.padEnd=function(t,e,n){t=ys(t);var r=(e=ps(e))?ln(t):0;return e&&r<e?t+Ho(e-r,n):t},Un.padStart=function(t,e,n){t=ys(t);var r=(e=ps(e))?ln(t):0;return e&&r<e?Ho(e-r,n)+t:t},Un.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),mn(ys(t).replace(rt,""),e||0)},Un.random=function(t,e,n){if(n&&"boolean"!=typeof n&&yi(t,e,n)&&(e=n=o),n===o&&("boolean"==typeof e?(n=e,e=o):"boolean"==typeof t&&(n=t,t=o)),t===o&&e===o?(t=0,e=1):(t=hs(t),e===o?(e=t,t=0):e=hs(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var i=bn();return yn(t+i*(e-t+se("1e-"+((i+"").length-1))),e)}return $r(t,e)},Un.reduce=function(t,e,n){var r=Wu(t)?je:$e,o=arguments.length<3;return r(t,ui(e,4),n,o,lr)},Un.reduceRight=function(t,e,n){var r=Wu(t)?Pe:$e,o=arguments.length<3;return r(t,ui(e,4),n,o,fr)},Un.repeat=function(t,e,n){return e=(n?yi(t,e,n):e===o)?1:ps(e),qr(ys(t),e)},Un.replace=function(){var t=arguments,e=ys(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Un.result=function(t,e,n){var r=-1,i=(e=yo(e,t)).length;for(i||(i=1,t=o);++r<i;){var u=null==t?o:t[Di(e[r])];u===o&&(r=i,u=n),t=Gu(u)?u.call(t):u}return t},Un.round=xa,Un.runInContext=t,Un.sample=function(t){return(Wu(t)?Zn:Kr)(t)},Un.size=function(t){if(null==t)return 0;if($u(t))return us(t)?ln(t):t.length;var e=hi(t);return e==x||e==A?t.size:Pr(t).length},Un.snakeCase=qs,Un.some=function(t,e,n){var r=Wu(t)?Ne:eo;return n&&yi(t,e,n)&&(e=o),r(t,ui(e,3))},Un.sortedIndex=function(t,e){return no(t,e)},Un.sortedIndexBy=function(t,e,n){return ro(t,e,ui(n,2))},Un.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=no(t,e);if(r<n&&zu(t[r],e))return r}return-1},Un.sortedLastIndex=function(t,e){return no(t,e,!0)},Un.sortedLastIndexBy=function(t,e,n){return ro(t,e,ui(n,2),!0)},Un.sortedLastIndexOf=function(t,e){if(null!=t&&t.length){var n=no(t,e,!0)-1;if(zu(t[n],e))return n}return-1},Un.startCase=Vs,Un.startsWith=function(t,e,n){return t=ys(t),n=null==n?0:ir(ps(n),0,t.length),e=uo(e),t.slice(n,n+e.length)==e},Un.subtract=Sa,Un.sum=function(t){return t&&t.length?qe(t,na):0},Un.sumBy=function(t,e){return t&&t.length?qe(t,ui(e,2)):0},Un.template=function(t,e,n){var r=Un.templateSettings;n&&yi(t,e,n)&&(e=o),t=ys(t),e=bs({},e,r,Go);var i,u,s=bs({},e.imports,r.imports,Go),a=Ts(s),c=Ge(s,a),l=0,f=e.interpolate||mt,h="__p += '",p=Rt((e.escape||mt).source+"|"+f.source+"|"+(f===X?ft:mt).source+"|"+(e.evaluate||mt).source+"|$","g"),d="//# sourceURL="+(jt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++re+"]")+"\n";t.replace(p,function(e,n,r,o,s,a){return r||(r=o),h+=t.slice(l,a).replace(bt,nn),n&&(i=!0,h+="' +\n__e("+n+") +\n'"),s&&(u=!0,h+="';\n"+s+";\n__p += '"),r&&(h+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=a+e.length,e}),h+="';\n";var v=jt.call(e,"variable")&&e.variable;if(v){if(ct.test(v))throw new wt("Invalid `variable` option passed into `_.template`")}else h="with (obj) {\n"+h+"\n}\n";h=(u?h.replace(H,""):h).replace(W,"$1").replace(Q,"$1;"),h="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var _=Xs(function(){return xt(a,d+"return "+h).apply(o,c)});if(_.source=h,Zu(_))throw _;return _},Un.times=function(t,e){if((t=ps(t))<1||t>f)return[];var n=p,r=yn(t,p);e=ui(e),t-=p;for(var o=Ve(r,e);++n<t;)e(n);return o},Un.toFinite=hs,Un.toInteger=ps,Un.toLength=ds,Un.toLower=function(t){return ys(t).toLowerCase()},Un.toNumber=vs,Un.toSafeInteger=function(t){return t?ir(ps(t),-9007199254740991,f):0===t?t:0},Un.toString=ys,Un.toUpper=function(t){return ys(t).toUpperCase()},Un.trim=function(t,e,n){if((t=ys(t))&&(n||e===o))return Ke(t);if(!t||!(e=uo(e)))return t;var r=fn(t),i=fn(e);return mo(r,Ye(r,i),Je(r,i)+1).join("")},Un.trimEnd=function(t,e,n){if((t=ys(t))&&(n||e===o))return t.slice(0,hn(t)+1);if(!t||!(e=uo(e)))return t;var r=fn(t);return mo(r,0,Je(r,fn(e))+1).join("")},Un.trimStart=function(t,e,n){if((t=ys(t))&&(n||e===o))return t.replace(rt,"");if(!t||!(e=uo(e)))return t;var r=fn(t);return mo(r,Ye(r,fn(e))).join("")},Un.truncate=function(t,e){var n=30,r="...";if(Ju(e)){var i="separator"in e?e.separator:i;n="length"in e?ps(e.length):n,r="omission"in e?uo(e.omission):r}var u=(t=ys(t)).length;if(rn(t)){var s=fn(t);u=s.length}if(n>=u)return t;var a=n-ln(r);if(a<1)return r;var c=s?mo(s,0,a).join(""):t.slice(0,a);if(i===o)return c+r;if(s&&(a+=c.length-a),os(i)){if(t.slice(a).search(i)){var l,f=c;for(i.global||(i=Rt(i.source,ys(ht.exec(i))+"g")),i.lastIndex=0;l=i.exec(f);)var h=l.index;c=c.slice(0,h===o?a:h)}}else if(t.indexOf(uo(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r},Un.unescape=function(t){return(t=ys(t))&&V.test(t)?t.replace($,pn):t},Un.uniqueId=function(t){var e=++Pt;return ys(t)+e},Un.upperCase=Ks,Un.upperFirst=Zs,Un.each=yu,Un.eachRight=gu,Un.first=$i,ua(Un,(_a={},gr(Un,function(t,e){jt.call(Un.prototype,e)||(_a[e]=t)}),_a),{chain:!1}),Un.VERSION="4.17.23",Re(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){Un[t].placeholder=Un}),Re(["drop","take"],function(t,e){Hn.prototype[t]=function(n){n=n===o?1:_n(ps(n),0);var r=this.__filtered__&&!e?new Hn(this):this.clone();return r.__filtered__?r.__takeCount__=yn(n,r.__takeCount__):r.__views__.push({size:yn(n,p),type:t+(r.__dir__<0?"Right":"")}),r},Hn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),Re(["filter","map","takeWhile"],function(t,e){var n=e+1,r=1==n||3==n;Hn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:ui(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}}),Re(["head","last"],function(t,e){var n="take"+(e?"Right":"");Hn.prototype[t]=function(){return this[n](1).value()[0]}}),Re(["initial","tail"],function(t,e){var n="drop"+(e?"":"Right");Hn.prototype[t]=function(){return this.__filtered__?new Hn(this):this[n](1)}}),Hn.prototype.compact=function(){return this.filter(na)},Hn.prototype.find=function(t){return this.filter(t).head()},Hn.prototype.findLast=function(t){return this.reverse().find(t)},Hn.prototype.invokeMap=Vr(function(t,e){return"function"==typeof t?new Hn(this):this.map(function(n){return Or(n,t,e)})}),Hn.prototype.reject=function(t){return this.filter(Pu(ui(t)))},Hn.prototype.slice=function(t,e){t=ps(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Hn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==o&&(n=(e=ps(e))<0?n.dropRight(-e):n.take(e-t)),n)},Hn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Hn.prototype.toArray=function(){return this.take(p)},gr(Hn.prototype,function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Un[r?"take"+("last"==e?"Right":""):e],u=r||/^find/.test(e);i&&(Un.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,a=e instanceof Hn,c=s[0],l=a||Wu(e),f=function(t){var e=i.apply(Un,Le([t],s));return r&&h?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,d=u&&!h,v=a&&!p;if(!u&&l){e=v?e:new Hn(this);var _=t.apply(e,s);return _.__actions__.push({func:hu,args:[f],thisArg:o}),new Bn(_,h)}return d&&v?t.apply(this,s):(_=this.thru(f),d?r?_.value()[0]:_.value():_)})}),Re(["pop","push","shift","sort","splice","unshift"],function(t){var e=Ot[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Un.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var o=this.value();return e.apply(Wu(o)?o:[],t)}return this[n](function(n){return e.apply(Wu(n)?n:[],t)})}}),gr(Hn.prototype,function(t,e){var n=Un[e];if(n){var r=n.name+"";jt.call(Cn,r)||(Cn[r]=[]),Cn[r].push({name:e,func:n})}}),Cn[Uo(o,2).name]=[{name:"wrapper",func:o}],Hn.prototype.clone=function(){var t=new Hn(this.__wrapped__);return t.__actions__=Ao(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ao(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ao(this.__views__),t},Hn.prototype.reverse=function(){if(this.__filtered__){var t=new Hn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Hn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Wu(t),r=e<0,o=n?t.length:0,i=function(t,e,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],u=i.size;switch(i.type){case"drop":t+=u;break;case"dropRight":e-=u;break;case"take":e=yn(e,t+u);break;case"takeRight":t=_n(t,e-u)}}return{start:t,end:e}}(0,o,this.__views__),u=i.start,s=i.end,a=s-u,c=r?s:u-1,l=this.__iteratees__,f=l.length,h=0,p=yn(a,this.__takeCount__);if(!n||!r&&o==a&&p==a)return fo(t,this.__actions__);var d=[];t:for(;a--&&h<p;){for(var v=-1,_=t[c+=e];++v<f;){var y=l[v],g=y.iteratee,m=y.type,b=g(_);if(2==m)_=b;else if(!b){if(1==m)continue t;break t}}d[h++]=_}return d},Un.prototype.at=pu,Un.prototype.chain=function(){return fu(this)},Un.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===o&&(this.__values__=fs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?o:this.__values__[this.__index__++]}},Un.prototype.plant=function(t){for(var e,n=this;n instanceof Fn;){var r=Ui(n);r.__index__=0,r.__values__=o,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Un.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Hn){var e=t;return this.__actions__.length&&(e=new Hn(this)),(e=e.reverse()).__actions__.push({func:hu,args:[Ji],thisArg:o}),new Bn(e,this.__chain__)}return this.thru(Ji)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return fo(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,Zt&&(Un.prototype[Zt]=function(){return this}),Un}();fe._=dn,(r=function(){return dn}.call(e,n,e,t))===o||(t.exports=r)}.call(this)},5579(t,e,n){"use strict";n.d(e,{A:()=>c});var r=n(1573),o=n.n(r),i=n(9711),u=n(3088),s=n(6503);const a=i.forwardRef(({bsPrefix:t,fluid:e=!1,as:n="div",className:r,...i},a)=>{const c=(0,u.oU)(t,"container"),l="string"==typeof e?`-${e}`:"-fluid";return(0,s.jsx)(n,{ref:a,...i,className:o()(r,e?`${c}${l}`:c)})});a.displayName="Container";const c=a},2164(t,e,n){"use strict";n.d(e,{A:()=>c});var r=n(1573),o=n.n(r),i=n(9711),u=n(3088),s=n(6503);const a=i.forwardRef(({bsPrefix:t,className:e,as:n="div",...r},i)=>{const a=(0,u.oU)(t,"row"),c=(0,u.gy)(),l=(0,u.Jm)(),f=`${a}-cols`,h=[];return c.forEach(t=>{const e=r[t];let n;delete r[t],null!=e&&"object"==typeof e?({cols:n}=e):n=e;const o=t!==l?`-${t}`:"";null!=n&&h.push(`${f}${o}-${n}`)}),(0,s.jsx)(n,{ref:i,...r,className:o()(e,a,...h)})});a.displayName="Row";const c=a},4446(t,e,n){"use strict";n.d(e,{$:()=>f});var r=n(9981),o=n(4162),i=n(1024),u=n(9266),s=n(5499),a=n(4437),c=n(9001),l=n(5620),f=class extends s.Q{constructor(t,e){super(),this.options=e,this.#t=t,this.#e=null,this.#n=(0,a.T)(),this.bindMethods(),this.setOptions(e)}#t;#r=void 0;#o=void 0;#i=void 0;#u;#s;#n;#e;#a;#c;#l;#f;#h;#p;#d=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#r.addObserver(this),h(this.#r,this.options)?this.#v():this.updateResult(),this.#_())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return p(this.#r,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return p(this.#r,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#g(),this.#r.removeObserver(this)}setOptions(t){const e=this.options,n=this.#r;if(this.options=this.#t.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,c.nU)(this.options.enabled,this.#r))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#m(),this.#r.setOptions(this.options),e._defaulted&&!(0,c.f8)(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#r,observer:this});const r=this.hasListeners();r&&d(this.#r,n,this.options,e)&&this.#v(),this.updateResult(),!r||this.#r===n&&(0,c.nU)(this.options.enabled,this.#r)===(0,c.nU)(e.enabled,this.#r)&&(0,c.d2)(this.options.staleTime,this.#r)===(0,c.d2)(e.staleTime,this.#r)||this.#b();const o=this.#w();!r||this.#r===n&&(0,c.nU)(this.options.enabled,this.#r)===(0,c.nU)(e.enabled,this.#r)&&o===this.#p||this.#x(o)}getOptimisticResult(t){const e=this.#t.getQueryCache().build(this.#t,t),n=this.createResult(e,t);return r=this,o=n,!(0,c.f8)(r.getCurrentResult(),o)&&(this.#i=n,this.#s=this.options,this.#u=this.#r.state),n;var r,o}getCurrentResult(){return this.#i}trackResult(t,e){return new Proxy(t,{get:(t,n)=>(this.trackProp(n),e?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#n.status||this.#n.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,n))})}trackProp(t){this.#d.add(t)}getCurrentQuery(){return this.#r}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#t.defaultQueryOptions(t),n=this.#t.getQueryCache().build(this.#t,e);return n.fetch().then(()=>this.createResult(n,e))}fetch(t){return this.#v({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#i))}#v(t){this.#m();let e=this.#r.fetch(this.options,t);return t?.throwOnError||(e=e.catch(c.lQ)),e}#b(){this.#y();const t=(0,c.d2)(this.options.staleTime,this.#r);if(o.H.isServer()||this.#i.isStale||!(0,c.gn)(t))return;const e=(0,c.j3)(this.#i.dataUpdatedAt,t)+1;this.#f=l.zs.setTimeout(()=>{this.#i.isStale||this.updateResult()},e)}#w(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#r):this.options.refetchInterval)??!1}#x(t){this.#g(),this.#p=t,!o.H.isServer()&&!1!==(0,c.nU)(this.options.enabled,this.#r)&&(0,c.gn)(this.#p)&&0!==this.#p&&(this.#h=l.zs.setInterval(()=>{(this.options.refetchIntervalInBackground||r.m.isFocused())&&this.#v()},this.#p))}#_(){this.#b(),this.#x(this.#w())}#y(){void 0!==this.#f&&(l.zs.clearTimeout(this.#f),this.#f=void 0)}#g(){void 0!==this.#h&&(l.zs.clearInterval(this.#h),this.#h=void 0)}createResult(t,e){const n=this.#r,r=this.options,o=this.#i,i=this.#u,s=this.#s,l=t!==n?t.state:this.#o,{state:f}=t;let p,_={...f},y=!1;if(e._optimisticResults){const o=this.hasListeners(),i=!o&&h(t,e),s=o&&d(t,n,e,r);(i||s)&&(_={..._,...(0,u.k)(f.data,t.options)}),"isRestoring"===e._optimisticResults&&(_.fetchStatus="idle")}let{error:g,errorUpdatedAt:m,status:b}=_;p=_.data;let w=!1;if(void 0!==e.placeholderData&&void 0===p&&"pending"===b){let t;o?.isPlaceholderData&&e.placeholderData===s?.placeholderData?(t=o.data,w=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#l?.state.data,this.#l):e.placeholderData,void 0!==t&&(b="success",p=(0,c.pl)(o?.data,t,e),y=!0)}if(e.select&&void 0!==p&&!w)if(o&&p===i?.data&&e.select===this.#a)p=this.#c;else try{this.#a=e.select,p=e.select(p),p=(0,c.pl)(o?.data,p,e),this.#c=p,this.#e=null}catch(t){this.#e=t}this.#e&&(g=this.#e,p=this.#c,m=Date.now(),b="error");const x="fetching"===_.fetchStatus,S="pending"===b,E="error"===b,R=S&&x,k=void 0!==p,A={status:b,fetchStatus:_.fetchStatus,isPending:S,isSuccess:"success"===b,isError:E,isInitialLoading:R,isLoading:R,data:p,dataUpdatedAt:_.dataUpdatedAt,error:g,errorUpdatedAt:m,failureCount:_.fetchFailureCount,failureReason:_.fetchFailureReason,errorUpdateCount:_.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:_.dataUpdateCount>l.dataUpdateCount||_.errorUpdateCount>l.errorUpdateCount,isFetching:x,isRefetching:x&&!S,isLoadingError:E&&!k,isPaused:"paused"===_.fetchStatus,isPlaceholderData:y,isRefetchError:E&&k,isStale:v(t,e),refetch:this.refetch,promise:this.#n,isEnabled:!1!==(0,c.nU)(e.enabled,t)};if(this.options.experimental_prefetchInRender){const e=void 0!==A.data,r="error"===A.status&&!e,o=t=>{r?t.reject(A.error):e&&t.resolve(A.data)},i=()=>{const t=this.#n=A.promise=(0,a.T)();o(t)},u=this.#n;switch(u.status){case"pending":t.queryHash===n.queryHash&&o(u);break;case"fulfilled":(r||A.data!==u.value)&&i();break;case"rejected":r&&A.error===u.reason||i()}}return A}updateResult(){const t=this.#i,e=this.createResult(this.#r,this.options);this.#u=this.#r.state,this.#s=this.options,void 0!==this.#u.data&&(this.#l=this.#r),(0,c.f8)(e,t)||(this.#i=e,this.#S({listeners:(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.#d.size)return!0;const r=new Set(n??this.#d);return this.options.throwOnError&&r.add("error"),Object.keys(this.#i).some(e=>{const n=e;return this.#i[n]!==t[n]&&r.has(n)})})()}))}#m(){const t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#r)return;const e=this.#r;this.#r=t,this.#o=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#_()}#S(t){i.jG.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#i)}),this.#t.getQueryCache().notify({query:this.#r,type:"observerResultsUpdated"})})}};function h(t,e){return function(t,e){return!1!==(0,c.nU)(e.enabled,t)&&void 0===t.state.data&&!("error"===t.state.status&&!1===(0,c.nU)(e.retryOnMount,t))}(t,e)||void 0!==t.state.data&&p(t,e,e.refetchOnMount)}function p(t,e,n){if(!1!==(0,c.nU)(e.enabled,t)&&"static"!==(0,c.d2)(e.staleTime,t)){const r="function"==typeof n?n(t):n;return"always"===r||!1!==r&&v(t,e)}return!1}function d(t,e,n,r){return(t!==e||!1===(0,c.nU)(r.enabled,t))&&(!n.suspense||"error"!==t.state.status)&&v(t,n)}function v(t,e){return!1!==(0,c.nU)(e.enabled,t)&&t.isStaleByTime((0,c.d2)(e.staleTime,t))}},1152(t,e,n){"use strict";n.d(e,{w:()=>i});var r=n(9711),o=r.createContext(!1),i=()=>r.useContext(o);o.Provider},4723(t,e,n){"use strict";n.d(e,{h:()=>i});var r=n(9711);n(6503);var o=r.createContext(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}()),i=()=>r.useContext(o)},1015(t,e,n){"use strict";n.d(e,{$1:()=>s,LJ:()=>i,wZ:()=>u});var r=n(9711),o=n(9001),i=(t,e,n)=>{const r=n?.state.error&&"function"==typeof t.throwOnError?(0,o.GU)(t.throwOnError,[n.state.error,n]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||r)&&(e.isReset()||(t.retryOnMount=!1))},u=t=>{r.useEffect(()=>{t.clearReset()},[t])},s=({result:t,errorResetBoundary:e,throwOnError:n,query:r,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&r&&(i&&void 0===t.data||(0,o.GU)(n,[t.error,r]))},3050(t,e,n){"use strict";n.d(e,{EU:()=>i,iL:()=>u,jv:()=>r,nE:()=>o});var r=t=>{if(t.suspense){const e=1e3,n=t=>"static"===t?t:Math.max(t??e,e),r=t.staleTime;t.staleTime="function"==typeof r?(...t)=>n(r(...t)):n(r),"number"==typeof t.gcTime&&(t.gcTime=Math.max(t.gcTime,e))}},o=(t,e)=>t.isLoading&&t.isFetching&&!e,i=(t,e)=>t?.suspense&&e.isPending,u=(t,e,n)=>e.fetchOptimistic(t).catch(()=>{n.clearReset()})},1760(t,e,n){"use strict";n.d(e,{E:()=>v});var r=n(9711),o=n(1024),i=n(4446),u=n(5499),s=n(9001);function a(t,e){const n=new Set(e);return t.filter(t=>!n.has(t))}var c=class extends u.Q{#t;#E;#R;#k;#A;#O;#C;#T;#I;#L=[];constructor(t,e,n){super(),this.#t=t,this.#k=n,this.#R=[],this.#A=[],this.#E=[],this.setQueries(e)}onSubscribe(){1===this.listeners.size&&this.#A.forEach(t=>{t.subscribe(e=>{this.#j(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#A.forEach(t=>{t.destroy()})}setQueries(t,e){this.#R=t,this.#k=e,o.jG.batch(()=>{const t=this.#A,e=this.#P(this.#R);e.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions));const n=e.map(t=>t.observer),r=n.map(t=>t.getCurrentResult()),o=t.length!==n.length,i=n.some((e,n)=>e!==t[n]),u=o||i,c=!!u||r.some((t,e)=>{const n=this.#E[e];return!n||!(0,s.f8)(t,n)});(u||c)&&(u&&(this.#L=e,this.#A=n),this.#E=r,this.hasListeners()&&(u&&(a(t,n).forEach(t=>{t.destroy()}),a(n,t).forEach(t=>{t.subscribe(e=>{this.#j(t,e)})})),this.#S()))})}getCurrentResult(){return this.#E}getQueries(){return this.#A.map(t=>t.getCurrentQuery())}getObservers(){return this.#A}getOptimisticResult(t,e){const n=this.#P(t),r=n.map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions)),o=n.map(t=>t.defaultedQueryOptions.queryHash);return[r,t=>this.#N(t??r,e,o),()=>this.#D(r,n)]}#D(t,e){return e.map((n,r)=>{const o=t[r];return n.defaultedQueryOptions.notifyOnChangeProps?o:n.observer.trackResult(o,t=>{e.forEach(e=>{e.observer.trackProp(t)})})})}#N(t,e,n){if(e){const r=this.#I,o=void 0!==n&&void 0!==r&&(r.length!==n.length||n.some((t,e)=>t!==r[e]));return this.#O&&this.#E===this.#T&&!o&&e===this.#C||(this.#C=e,this.#T=this.#E,void 0!==n&&(this.#I=n),this.#O=(0,s.BH)(this.#O,e(t))),this.#O}return t}#M(){return void 0!==this.#k?.combine&&this.#A.some((t,e)=>t.options.suspense&&void 0===this.#E[e]?.data)}#P(t){const e=new Map;this.#A.forEach(t=>{const n=t.options.queryHash;if(!n)return;const r=e.get(n);r?r.push(t):e.set(n,[t])});const n=[];return t.forEach(t=>{const r=this.#t.defaultQueryOptions(t),o=e.get(r.queryHash)?.shift(),u=o??new i.$(this.#t,r);n.push({defaultedQueryOptions:r,observer:u})}),n}#j(t,e){const n=this.#A.indexOf(t);-1!==n&&(this.#E=function(t,e,n){const r=t.slice(0);return r[e]=n,r}(this.#E,n,e),this.#S())}#S(){if(this.hasListeners()){const t=this.#D(this.#E,this.#L),e=this.#M(),n=this.#O,r=e?n:this.#N(t,this.#k?.combine);(e||n!==r)&&o.jG.batch(()=>{this.listeners.forEach(t=>{t(this.#E)})})}}},l=n(1918),f=n(1152),h=n(4723),p=n(1015),d=n(3050);function v({queries:t,...e},n){const u=(0,l.jE)(n),a=(0,f.w)(),v=(0,h.h)(),_=r.useMemo(()=>t.map(t=>{const e=u.defaultQueryOptions(t);return e._optimisticResults=a?"isRestoring":"optimistic",e}),[t,u,a]);_.forEach(t=>{(0,d.jv)(t);const e=u.getQueryCache().get(t.queryHash);(0,p.LJ)(t,v,e)}),(0,p.wZ)(v);const[y]=r.useState(()=>new c(u,_,e)),[g,m,b]=y.getOptimisticResult(_,e.combine),w=!a&&!1!==e.subscribed;r.useSyncExternalStore(r.useCallback(t=>w?y.subscribe(o.jG.batchCalls(t)):s.lQ,[y,w]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),r.useEffect(()=>{y.setQueries(_,e)},[_,e,y]);const x=g.some((t,e)=>(0,d.EU)(_[e],t))?g.flatMap((t,e)=>{const n=_[e];if(n&&(0,d.EU)(n,t)){const t=new i.$(u,n);return(0,d.iL)(n,t,v)}return[]}):[];if(x.length>0)throw Promise.all(x);const S=g.find((t,e)=>{const n=_[e];return n&&(0,p.$1)({result:t,errorResetBoundary:v,throwOnError:n.throwOnError,query:u.getQueryCache().get(n.queryHash),suspense:n.suspense})});if(S?.error)throw S.error;return m(b())}},1086(t,e,n){"use strict";n.d(e,{I:()=>p});var r=n(4446),o=n(9711),i=n(1024),u=n(9001),s=n(4162),a=n(1918),c=n(4723),l=n(1015),f=n(1152),h=n(3050);function p(t,e){return function(t,e,n){const r=(0,f.w)(),p=(0,c.h)(),d=(0,a.jE)(n),v=d.defaultQueryOptions(t);d.getDefaultOptions().queries?._experimental_beforeQuery?.(v);const _=d.getQueryCache().get(v.queryHash),y=!1!==t.subscribed;v._optimisticResults=r?"isRestoring":y?"optimistic":void 0,(0,h.jv)(v),(0,l.LJ)(v,p,_),(0,l.wZ)(p);const g=!d.getQueryCache().get(v.queryHash),[m]=o.useState(()=>new e(d,v)),b=m.getOptimisticResult(v),w=!r&&y;if(o.useSyncExternalStore(o.useCallback(t=>{const e=w?m.subscribe(i.jG.batchCalls(t)):u.lQ;return m.updateResult(),e},[m,w]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),o.useEffect(()=>{m.setOptions(v)},[v,m]),(0,h.EU)(v,b))throw(0,h.iL)(v,m,p);if((0,l.$1)({result:b,errorResetBoundary:p,throwOnError:v.throwOnError,query:_,suspense:v.suspense}))throw b.error;if(d.getDefaultOptions().queries?._experimental_afterQuery?.(v,b),v.experimental_prefetchInRender&&!s.H.isServer()&&(0,h.nE)(b,r)){const t=g?(0,h.iL)(v,m,p):_?.promise;t?.catch(u.lQ).finally(()=>{m.updateResult()})}return v.notifyOnChangeProps?b:m.trackResult(b)}(t,r.$,e)}},83(t,e,n){"use strict";n.d(e,{CkS:()=>o});var r=n(5044);function o(t){return(0,r.k5)({tag:"svg",attr:{version:"1.1",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M13.5 2l-7.5 7.5-3.5-3.5-2.5 2.5 6 6 10-10z"},child:[]}]})(t)}},9782(t,e,n){"use strict";n.d(e,{BVt:()=>o});var r=n(5044);function o(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M4 19H20V12H22V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V12H4V19ZM14 9H19L12 16L5 9H10V3H14V9Z"},child:[]}]})(t)}},728(t,e,n){"use strict";n.d(e,{m_:()=>Ut});var r=n(9711);const o=Math.min,i=Math.max,u=Math.round,s=Math.floor,a=t=>({x:t,y:t}),c={left:"right",right:"left",bottom:"top",top:"bottom"};function l(t,e,n){return i(t,o(e,n))}function f(t,e){return"function"==typeof t?t(e):t}function h(t){return t.split("-")[0]}function p(t){return t.split("-")[1]}function d(t){return"x"===t?"y":"x"}function v(t){return"y"===t?"height":"width"}function _(t){const e=t[0];return"t"===e||"b"===e?"y":"x"}function y(t){return d(_(t))}function g(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const m=["left","right"],b=["right","left"],w=["top","bottom"],x=["bottom","top"];function S(t){const e=h(t);return c[e]+t.slice(e.length)}function E(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function R(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function k(t,e,n){let{reference:r,floating:o}=t;const i=_(e),u=y(e),s=v(u),a=h(e),c="y"===i,l=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[s]/2-o[s]/2;let g;switch(a){case"top":g={x:l,y:r.y-o.height};break;case"bottom":g={x:l,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:f};break;case"left":g={x:r.x-o.width,y:f};break;default:g={x:r.x,y:r.y}}switch(p(e)){case"start":g[u]-=d*(n&&c?-1:1);break;case"end":g[u]+=d*(n&&c?-1:1)}return g}async function A(t,e){var n;void 0===e&&(e={});const{x:r,y:o,platform:i,rects:u,elements:s,strategy:a}=t,{boundary:c="clippingAncestors",rootBoundary:l="viewport",elementContext:h="floating",altBoundary:p=!1,padding:d=0}=f(e,t),v=E(d),_=s[p?"floating"===h?"reference":"floating":h],y=R(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(_)))||n?_:_.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:l,strategy:a})),g="floating"===h?{x:r,y:o,width:u.floating.width,height:u.floating.height}:u.reference,m=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(m))&&await(null==i.getScale?void 0:i.getScale(m))||{x:1,y:1},w=R(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:m,strategy:a}):g);return{top:(y.top-w.top+v.top)/b.y,bottom:(w.bottom-y.bottom+v.bottom)/b.y,left:(y.left-w.left+v.left)/b.x,right:(w.right-y.right+v.right)/b.x}}const O=new Set(["left","top"]);function C(){return"undefined"!=typeof window}function T(t){return j(t)?(t.nodeName||"").toLowerCase():"#document"}function I(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function L(t){var e;return null==(e=(j(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function j(t){return!!C()&&(t instanceof Node||t instanceof I(t).Node)}function P(t){return!!C()&&(t instanceof Element||t instanceof I(t).Element)}function N(t){return!!C()&&(t instanceof HTMLElement||t instanceof I(t).HTMLElement)}function D(t){return!(!C()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof I(t).ShadowRoot)}function M(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=V(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&"inline"!==o&&"contents"!==o}function U(t){return/^(table|td|th)$/.test(T(t))}function z(t){try{if(t.matches(":popover-open"))return!0}catch(t){}try{return t.matches(":modal")}catch(t){return!1}}const F=/transform|translate|scale|rotate|perspective|filter/,B=/paint|layout|strict|content/,H=t=>!!t&&"none"!==t;let W;function Q(t){const e=P(t)?V(t):t;return H(e.transform)||H(e.translate)||H(e.scale)||H(e.rotate)||H(e.perspective)||!$()&&(H(e.backdropFilter)||H(e.filter))||F.test(e.willChange||"")||B.test(e.contain||"")}function $(){return null==W&&(W="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),W}function q(t){return/^(html|body|#document)$/.test(T(t))}function V(t){return I(t).getComputedStyle(t)}function K(t){return P(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Z(t){if("html"===T(t))return t;const e=t.assignedSlot||t.parentNode||D(t)&&t.host||L(t);return D(e)?e.host:e}function G(t){const e=Z(t);return q(e)?t.ownerDocument?t.ownerDocument.body:t.body:N(e)&&M(e)?e:G(e)}function X(t,e,n){var r;void 0===e&&(e=[]),void 0===n&&(n=!0);const o=G(t),i=o===(null==(r=t.ownerDocument)?void 0:r.body),u=I(o);if(i){const t=Y(u);return e.concat(u,u.visualViewport||[],M(o)?o:[],t&&n?X(t):[])}return e.concat(o,X(o,[],n))}function Y(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function J(t){const e=V(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=N(t),i=o?t.offsetWidth:n,s=o?t.offsetHeight:r,a=u(n)!==i||u(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function tt(t){return P(t)?t:t.contextElement}function et(t){const e=tt(t);if(!N(e))return a(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=J(e);let s=(i?u(n.width):n.width)/r,c=(i?u(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}const nt=a(0);function rt(t){const e=I(t);return $()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:nt}function ot(t,e,n,r){void 0===e&&(e=!1),void 0===n&&(n=!1);const o=t.getBoundingClientRect(),i=tt(t);let u=a(1);e&&(r?P(r)&&(u=et(r)):u=et(t));const s=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==I(t))&&e}(i,n,r)?rt(i):a(0);let c=(o.left+s.x)/u.x,l=(o.top+s.y)/u.y,f=o.width/u.x,h=o.height/u.y;if(i){const t=I(i),e=r&&P(r)?I(r):r;let n=t,o=Y(n);for(;o&&r&&e!==n;){const t=et(o),e=o.getBoundingClientRect(),r=V(o),i=e.left+(o.clientLeft+parseFloat(r.paddingLeft))*t.x,u=e.top+(o.clientTop+parseFloat(r.paddingTop))*t.y;c*=t.x,l*=t.y,f*=t.x,h*=t.y,c+=i,l+=u,n=I(o),o=Y(n)}}return R({width:f,height:h,x:c,y:l})}function it(t,e){const n=K(t).scrollLeft;return e?e.left+n:ot(L(t)).left+n}function ut(t,e){const n=t.getBoundingClientRect();return{x:n.left+e.scrollLeft-it(t,n),y:n.top+e.scrollTop}}function st(t,e,n){let r;if("viewport"===e)r=function(t,e){const n=I(t),r=L(t),o=n.visualViewport;let i=r.clientWidth,u=r.clientHeight,s=0,a=0;if(o){i=o.width,u=o.height;const t=$();(!t||t&&"fixed"===e)&&(s=o.offsetLeft,a=o.offsetTop)}const c=it(r);if(c<=0){const t=r.ownerDocument,e=t.body,n=getComputedStyle(e),o="CSS1Compat"===t.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,u=Math.abs(r.clientWidth-e.clientWidth-o);u<=25&&(i-=u)}else c<=25&&(i+=c);return{width:i,height:u,x:s,y:a}}(t,n);else if("document"===e)r=function(t){const e=L(t),n=K(t),r=t.ownerDocument.body,o=i(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),u=i(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+it(t);const a=-n.scrollTop;return"rtl"===V(r).direction&&(s+=i(e.clientWidth,r.clientWidth)-o),{width:o,height:u,x:s,y:a}}(L(t));else if(P(e))r=function(t,e){const n=ot(t,!0,"fixed"===e),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=N(t)?et(t):a(1);return{width:t.clientWidth*i.x,height:t.clientHeight*i.y,x:o*i.x,y:r*i.y}}(e,n);else{const n=rt(t);r={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return R(r)}function at(t,e){const n=Z(t);return!(n===e||!P(n)||q(n))&&("fixed"===V(n).position||at(n,e))}function ct(t,e,n){const r=N(e),o=L(e),i="fixed"===n,u=ot(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const c=a(0);function l(){c.x=it(o)}if(r||!r&&!i)if(("body"!==T(e)||M(o))&&(s=K(e)),r){const t=ot(e,!0,i,e);c.x=t.x+e.clientLeft,c.y=t.y+e.clientTop}else o&&l();i&&!r&&o&&l();const f=!o||r||i?a(0):ut(o,s);return{x:u.left+s.scrollLeft-c.x-f.x,y:u.top+s.scrollTop-c.y-f.y,width:u.width,height:u.height}}function lt(t){return"static"===V(t).position}function ft(t,e){if(!N(t)||"fixed"===V(t).position)return null;if(e)return e(t);let n=t.offsetParent;return L(t)===n&&(n=n.ownerDocument.body),n}function ht(t,e){const n=I(t);if(z(t))return n;if(!N(t)){let e=Z(t);for(;e&&!q(e);){if(P(e)&&!lt(e))return e;e=Z(e)}return n}let r=ft(t,e);for(;r&&U(r)&&lt(r);)r=ft(r,e);return r&&q(r)&&lt(r)&&!Q(r)?n:r||function(t){let e=Z(t);for(;N(e)&&!q(e);){if(Q(e))return e;if(z(e))return null;e=Z(e)}return null}(t)||n}const pt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i="fixed"===o,u=L(r),s=!!e&&z(e.floating);if(r===u||s&&i)return n;let c={scrollLeft:0,scrollTop:0},l=a(1);const f=a(0),h=N(r);if((h||!h&&!i)&&(("body"!==T(r)||M(u))&&(c=K(r)),h)){const t=ot(r);l=et(r),f.x=t.x+r.clientLeft,f.y=t.y+r.clientTop}const p=!u||h||i?a(0):ut(u,c);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+f.x+p.x,y:n.y*l.y-c.scrollTop*l.y+f.y+p.y}},getDocumentElement:L,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:r,strategy:u}=t;const s=[..."clippingAncestors"===n?z(e)?[]:function(t,e){const n=e.get(t);if(n)return n;let r=X(t,[],!1).filter(t=>P(t)&&"body"!==T(t)),o=null;const i="fixed"===V(t).position;let u=i?Z(t):t;for(;P(u)&&!q(u);){const e=V(u),n=Q(u);n||"fixed"!==e.position||(o=null),(i?!n&&!o:!n&&"static"===e.position&&o&&("absolute"===o.position||"fixed"===o.position)||M(u)&&!n&&at(t,u))?r=r.filter(t=>t!==u):o=e,u=Z(u)}return e.set(t,r),r}(e,this._c):[].concat(n),r],a=st(e,s[0],u);let c=a.top,l=a.right,f=a.bottom,h=a.left;for(let t=1;t<s.length;t++){const n=st(e,s[t],u);c=i(n.top,c),l=o(n.right,l),f=o(n.bottom,f),h=i(n.left,h)}return{width:l-h,height:f-c,x:h,y:c}},getOffsetParent:ht,getElementRects:async function(t){const e=this.getOffsetParent||ht,n=this.getDimensions,r=await n(t.floating);return{reference:ct(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=J(t);return{width:e,height:n}},getScale:et,isElement:P,isRTL:function(t){return"rtl"===V(t).direction}};function dt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}const vt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:u,middlewareData:s}=e,a=await async function(t,e){const{placement:n,platform:r,elements:o}=t,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),u=h(n),s=p(n),a="y"===_(n),c=O.has(u)?-1:1,l=i&&a?-1:1,d=f(e,t);let{mainAxis:v,crossAxis:y,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof g&&(y="end"===s?-1*g:g),a?{x:y*l,y:v*c}:{x:v*c,y:y*l}}(e,t);return u===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:u}}}}},_t=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o,platform:i}=e,{mainAxis:u=!0,crossAxis:s=!1,limiter:a={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...c}=f(t,e),p={x:n,y:r},v=await i.detectOverflow(e,c),y=_(h(o)),g=d(y);let m=p[g],b=p[y];if(u){const t="y"===g?"bottom":"right";m=l(m+v["y"===g?"top":"left"],m,m-v[t])}if(s){const t="y"===y?"bottom":"right";b=l(b+v["y"===y?"top":"left"],b,b-v[t])}const w=a.fn({...e,[g]:m,[y]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[g]:u,[y]:s}}}}}},yt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:u,initialPlacement:s,platform:a,elements:c}=e,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:E,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:A=!0,...O}=f(t,e);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const C=h(o),T=_(s),I=h(s)===s,L=await(null==a.isRTL?void 0:a.isRTL(c.floating)),j=E||(I||!A?[S(s)]:function(t){const e=S(t);return[g(t),e,g(e)]}(s)),P="none"!==k;!E&&P&&j.push(...function(t,e,n,r){const o=p(t);let i=function(t,e,n){switch(t){case"top":case"bottom":return n?e?b:m:e?m:b;case"left":case"right":return e?w:x;default:return[]}}(h(t),"start"===n,r);return o&&(i=i.map(t=>t+"-"+o),e&&(i=i.concat(i.map(g)))),i}(s,A,k,L));const N=[s,...j],D=await a.detectOverflow(e,O),M=[];let U=(null==(r=i.flip)?void 0:r.overflows)||[];if(l&&M.push(D[C]),d){const t=function(t,e,n){void 0===n&&(n=!1);const r=p(t),o=y(t),i=v(o);let u="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[i]>e.floating[i]&&(u=S(u)),[u,S(u)]}(o,u,L);M.push(D[t[0]],D[t[1]])}if(U=[...U,{placement:o,overflows:M}],!M.every(t=>t<=0)){var z,F;const t=((null==(z=i.flip)?void 0:z.index)||0)+1,e=N[t];if(e&&("alignment"!==d||T===_(e)||U.every(t=>_(t.placement)!==T||t.overflows[0]>0)))return{data:{index:t,overflows:U},reset:{placement:e}};let n=null==(F=U.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:F.placement;if(!n)switch(R){case"bestFit":{var B;const t=null==(B=U.filter(t=>{if(P){const e=_(t.placement);return e===T||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:B[0];t&&(n=t);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},gt=(t,e,n)=>{const r=new Map,o={platform:pt,...n},i={...o.platform,_c:r};return(async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:u}=n,s=u.detectOverflow?u:{...u,detectOverflow:A},a=await(null==u.isRTL?void 0:u.isRTL(e));let c=await u.getElementRects({reference:t,floating:e,strategy:o}),{x:l,y:f}=k(c,r,a),h=r,p=0;const d={};for(let n=0;n<i.length;n++){const v=i[n];if(!v)continue;const{name:_,fn:y}=v,{x:g,y:m,data:b,reset:w}=await y({x:l,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:t,floating:e}});l=null!=g?g:l,f=null!=m?m:f,d[_]={...d[_],...b},w&&p<50&&(p++,"object"==typeof w&&(w.placement&&(h=w.placement),w.rects&&(c=!0===w.rects?await u.getElementRects({reference:t,floating:e,strategy:o}):w.rects),({x:l,y:f}=k(c,h,a))),n=-1)}return{x:l,y:f,placement:h,strategy:o,middlewareData:d}})(t,e,{...o,platform:i})};var mt=n(1573);const bt={core:!1,base:!1};function wt({css:t,id:e="react-tooltip-base-styles",type:n="base",ref:r}){var o,i;if(!t||"undefined"==typeof document||bt[n])return;if("core"===n&&"undefined"!=typeof process&&(null===(o=null===process||void 0===process?void 0:process.env)||void 0===o?void 0:o.REACT_TOOLTIP_DISABLE_CORE_STYLES))return;if("base"!==n&&"undefined"!=typeof process&&(null===(i=null===process||void 0===process?void 0:process.env)||void 0===i?void 0:i.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;"core"===n&&(e="react-tooltip-core-styles"),r||(r={});const{insertAt:u}=r;if(document.getElementById(e))return;const s=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.id=e,a.type="text/css","top"===u&&s.firstChild?s.insertBefore(a,s.firstChild):s.appendChild(a),a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t)),bt[n]=!0}const xt=async({elementReference:t=null,tooltipReference:e=null,tooltipArrowReference:n=null,place:r="top",offset:i=10,strategy:u="absolute",middlewares:s=[vt(Number(i)),yt({fallbackAxisSideDirection:"start"}),_t({padding:5})],border:a,arrowSize:c=8})=>{if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(null===e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const h=s;return n?(h.push({name:"arrow",options:d={element:n,padding:5},async fn(t){const{x:e,y:n,placement:r,rects:i,platform:u,elements:s,middlewareData:a}=t,{element:c,padding:h=0}=f(d,t)||{};if(null==c)return{};const _=E(h),g={x:e,y:n},m=y(r),b=v(m),w=await u.getDimensions(c),x="y"===m,S=x?"top":"left",R=x?"bottom":"right",k=x?"clientHeight":"clientWidth",A=i.reference[b]+i.reference[m]-g[m]-i.floating[b],O=g[m]-i.reference[m],C=await(null==u.getOffsetParent?void 0:u.getOffsetParent(c));let T=C?C[k]:0;T&&await(null==u.isElement?void 0:u.isElement(C))||(T=s.floating[k]||i.floating[b]);const I=A/2-O/2,L=T/2-w[b]/2-1,j=o(_[S],L),P=o(_[R],L),N=j,D=T-w[b]-P,M=T/2-w[b]/2+I,U=l(N,M,D),z=!a.arrow&&null!=p(r)&&M!==U&&i.reference[b]/2-(M<N?j:P)-w[b]/2<0,F=z?M<N?M-N:M-D:0;return{[m]:g[m]+F,data:{[m]:U,centerOffset:M-U-F,...z&&{alignmentOffset:F}},reset:z}}}),gt(t,e,{placement:r,strategy:u,middleware:h}).then(({x:t,y:e,placement:n,middlewareData:r})=>{var o,i;const u={left:`${t}px`,top:`${e}px`,border:a},{x:s,y:l}=null!==(o=r.arrow)&&void 0!==o?o:{x:0,y:0},f=null!==(i={top:"bottom",right:"left",bottom:"top",left:"right"}[n.split("-")[0]])&&void 0!==i?i:"bottom",h=a&&{borderBottom:a,borderRight:a};let p=0;if(a){const t=`${a}`.match(/(\d+)px/);p=(null==t?void 0:t[1])?Number(t[1]):1}return{tooltipStyles:u,tooltipArrowStyles:{left:null!=s?`${s}px`:"",top:null!=l?`${l}px`:"",right:"",bottom:"",...h,[f]:`-${c/2+p-1}px`},place:n}})):gt(t,e,{placement:"bottom",strategy:u,middleware:h}).then(({x:t,y:e,placement:n})=>({tooltipStyles:{left:`${t}px`,top:`${e}px`},tooltipArrowStyles:{},place:n}));var d},St=(t,e)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(t,e),Et=(t,e,n)=>{let r=null;const o=function(...o){const i=()=>{r=null,n||t.apply(this,o)};n&&!r&&(t.apply(this,o),r=setTimeout(i,e)),n||(r&&clearTimeout(r),r=setTimeout(i,e))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Rt=t=>null!==t&&!Array.isArray(t)&&"object"==typeof t,kt=(t,e)=>{if(t===e)return!0;if(Array.isArray(t)&&Array.isArray(e))return t.length===e.length&&t.every((t,n)=>kt(t,e[n]));if(Array.isArray(t)!==Array.isArray(e))return!1;if(!Rt(t)||!Rt(e))return t===e;const n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(n=>kt(t[n],e[n]))},At=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some(t=>{const n=e.getPropertyValue(t);return"auto"===n||"scroll"===n})},Ot=t=>{if(!t)return null;let e=t.parentElement;for(;e;){if(At(e))return e;e=e.parentElement}return document.scrollingElement||document.documentElement},Ct="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,Tt=t=>{t.current&&(clearTimeout(t.current),t.current=null)},It={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Lt=(0,r.createContext)({getTooltipData:()=>It});function jt(t="DEFAULT_TOOLTIP_ID"){return(0,r.useContext)(Lt).getTooltipData(t)}var Pt={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",content:"core-styles-module_content__BRKdB",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},Nt={tooltip:"styles-module_tooltip__mnnfp",content:"styles-module_content__ydYdI",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Dt=({forwardRef:t,id:e,className:n,classNameArrow:u,variant:a="dark",anchorId:c,anchorSelect:l,place:f="top",offset:h=10,events:p=["hover"],openOnClick:d=!1,positionStrategy:v="absolute",middlewares:_,wrapper:y,delayShow:g=0,delayHide:m=0,float:b=!1,hidden:w=!1,noArrow:x=!1,clickable:S=!1,closeOnEsc:E=!1,closeOnScroll:R=!1,closeOnResize:k=!1,openEvents:A,closeEvents:O,globalCloseEvents:C,imperativeModeOnly:T,style:I,position:j,afterShow:P,afterHide:N,disableTooltip:D,content:M,contentWrapperRef:U,isOpen:z,defaultIsOpen:F=!1,setIsOpen:B,previousActiveAnchor:H,activeAnchor:W,setActiveAnchor:Q,border:$,opacity:q,arrowColor:V,arrowSize:K=8,role:Z="tooltip"})=>{var G;const Y=(0,r.useRef)(null),J=(0,r.useRef)(null),et=(0,r.useRef)(null),nt=(0,r.useRef)(null),rt=(0,r.useRef)(null),[it,ut]=(0,r.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:f}),[st,at]=(0,r.useState)(!1),[ct,lt]=(0,r.useState)(!1),[ft,ht]=(0,r.useState)(null),pt=(0,r.useRef)(!1),vt=(0,r.useRef)(null),{anchorRefs:_t,setActiveAnchor:yt}=jt(e),gt=(0,r.useRef)(!1),[bt,wt]=(0,r.useState)([]),St=(0,r.useRef)(!1),Rt=d||p.includes("click"),At=Rt||(null==A?void 0:A.click)||(null==A?void 0:A.dblclick)||(null==A?void 0:A.mousedown),It=A?{...A}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!A&&Rt&&Object.assign(It,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const Lt=O?{...O}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!O&&Rt&&Object.assign(Lt,{mouseleave:!1,blur:!1,mouseout:!1});const Dt=C?{...C}:{escape:E||!1,scroll:R||!1,resize:k||!1,clickOutsideAnchor:At||!1};T&&(Object.assign(It,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(Lt,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(Dt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Ct(()=>(St.current=!0,()=>{St.current=!1}),[]);const Mt=t=>{St.current&&(t&&lt(!0),setTimeout(()=>{St.current&&(null==B||B(t),void 0===z&&at(t))},10))};(0,r.useEffect)(()=>{if(e){if(st){n(H);const r=t(W),o=[...new Set([...r,e])].filter(Boolean).join(" ");null==W||W.setAttribute("aria-describedby",o)}else n(W);return()=>{n(W),n(H)}}function t(t){var e;return(null===(e=null==t?void 0:t.getAttribute("aria-describedby"))||void 0===e?void 0:e.split(" "))||[]}function n(n){const r=t(n).filter(t=>t!==e);r.length?null==n||n.setAttribute("aria-describedby",r.join(" ")):null==n||n.removeAttribute("aria-describedby")}},[W,st,e,H]),(0,r.useEffect)(()=>{if(void 0===z)return()=>null;z&&lt(!0);const t=setTimeout(()=>{at(z)},10);return()=>{clearTimeout(t)}},[z]),(0,r.useEffect)(()=>{if(st!==pt.current)if(Tt(rt),pt.current=st,st)null==P||P();else{const t=(()=>{const t=getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay").match(/^([\d.]+)(ms|s)$/);if(!t)return 0;const[,e,n]=t;return Number(e)*("ms"===n?1:1e3)})();rt.current=setTimeout(()=>{lt(!1),ht(null),null==N||N()},t+25)}},[st]);const Ut=t=>{ut(e=>kt(e,t)?e:t)},zt=(t=g)=>{Tt(et),ct?Mt(!0):et.current=setTimeout(()=>{Mt(!0)},t)},Ft=(t=m)=>{Tt(nt),nt.current=setTimeout(()=>{gt.current||Mt(!1)},t)},Bt=t=>{var e;if(!t)return;const n=null!==(e=t.currentTarget)&&void 0!==e?e:t.target;if(!(null==n?void 0:n.isConnected))return Q(null),void yt({current:null});g?zt():Mt(!0),Q(n),yt({current:n}),Tt(nt)},Ht=()=>{S?Ft(m||100):m?Ft():Mt(!1),Tt(et)},Wt=({x:t,y:e})=>{var n;const r={getBoundingClientRect:()=>({x:t,y:e,width:0,height:0,top:e,left:t,right:t,bottom:e})};xt({place:null!==(n=null==ft?void 0:ft.place)&&void 0!==n?n:f,offset:h,elementReference:r,tooltipReference:Y.current,tooltipArrowReference:J.current,strategy:v,middlewares:_,border:$,arrowSize:K}).then(t=>{Ut(t)})},Qt=t=>{if(!t)return;const e=t,n={x:e.clientX,y:e.clientY};Wt(n),vt.current=n},$t=t=>{var e;if(!st)return;const n=t.target;n.isConnected&&((null===(e=Y.current)||void 0===e?void 0:e.contains(n))||[document.querySelector(`[id='${c}']`),...bt].some(t=>null==t?void 0:t.contains(n))||(Mt(!1),Tt(et)))},qt=Et(Bt,50,!0),Vt=Et(Ht,50,!0),Kt=t=>{Vt.cancel(),qt(t)},Zt=()=>{qt.cancel(),Vt()},Gt=(0,r.useCallback)(()=>{var t,e;const n=null!==(t=null==ft?void 0:ft.position)&&void 0!==t?t:j;n?Wt(n):b?vt.current&&Wt(vt.current):(null==W?void 0:W.isConnected)&&xt({place:null!==(e=null==ft?void 0:ft.place)&&void 0!==e?e:f,offset:h,elementReference:W,tooltipReference:Y.current,tooltipArrowReference:J.current,strategy:v,middlewares:_,border:$,arrowSize:K}).then(t=>{St.current&&Ut(t)})},[st,W,M,I,f,null==ft?void 0:ft.place,h,v,j,null==ft?void 0:ft.position,b,K]);(0,r.useEffect)(()=>{var t,e;const n=new Set(_t);bt.forEach(t=>{(null==D?void 0:D(t))||n.add({current:t})});const r=document.querySelector(`[id='${c}']`);r&&!(null==D?void 0:D(r))&&n.add({current:r});const u=()=>{Mt(!1)},a=Ot(W),l=Ot(Y.current);Dt.scroll&&(window.addEventListener("scroll",u),null==a||a.addEventListener("scroll",u),null==l||l.addEventListener("scroll",u));let f=null;Dt.resize?window.addEventListener("resize",u):W&&Y.current&&(f=function(t,e,n,r){void 0===r&&(r={});const{ancestorScroll:u=!0,ancestorResize:a=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,h=tt(t),p=u||a?[...h?X(h):[],...e?X(e):[]]:[];p.forEach(t=>{u&&t.addEventListener("scroll",n,{passive:!0}),a&&t.addEventListener("resize",n)});const d=h&&l?function(t,e){let n,r=null;const u=L(t);function a(){var t;clearTimeout(n),null==(t=r)||t.disconnect(),r=null}return function c(l,f){void 0===l&&(l=!1),void 0===f&&(f=1),a();const h=t.getBoundingClientRect(),{left:p,top:d,width:v,height:_}=h;if(l||e(),!v||!_)return;const y={rootMargin:-s(d)+"px "+-s(u.clientWidth-(p+v))+"px "+-s(u.clientHeight-(d+_))+"px "+-s(p)+"px",threshold:i(0,o(1,f))||1};let g=!0;function m(e){const r=e[0].intersectionRatio;if(r!==f){if(!g)return c();r?c(!1,r):n=setTimeout(()=>{c(!1,1e-7)},1e3)}1!==r||dt(h,t.getBoundingClientRect())||c(),g=!1}try{r=new IntersectionObserver(m,{...y,root:u.ownerDocument})}catch(t){r=new IntersectionObserver(m,y)}r.observe(t)}(!0),a}(h,n):null;let v,_=-1,y=null;c&&(y=new ResizeObserver(t=>{let[r]=t;r&&r.target===h&&y&&e&&(y.unobserve(e),cancelAnimationFrame(_),_=requestAnimationFrame(()=>{var t;null==(t=y)||t.observe(e)})),n()}),h&&!f&&y.observe(h),e&&y.observe(e));let g=f?ot(t):null;return f&&function e(){const r=ot(t);g&&!dt(g,r)&&n(),g=r,v=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach(t=>{u&&t.removeEventListener("scroll",n),a&&t.removeEventListener("resize",n)}),null==d||d(),null==(t=y)||t.disconnect(),y=null,f&&cancelAnimationFrame(v)}}(W,Y.current,Gt,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const h=t=>{"Escape"===t.key&&Mt(!1)};Dt.escape&&window.addEventListener("keydown",h),Dt.clickOutsideAnchor&&window.addEventListener("click",$t);const p=[],d=t=>Boolean((null==t?void 0:t.target)&&(null==W?void 0:W.contains(t.target))),v=t=>{st&&d(t)||Bt(t)},_=t=>{st&&d(t)&&Ht()},y=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],g=["click","dblclick","mousedown","mouseup"];Object.entries(It).forEach(([t,e])=>{e&&(y.includes(t)?p.push({event:t,listener:Kt}):g.includes(t)&&p.push({event:t,listener:v}))}),Object.entries(Lt).forEach(([t,e])=>{e&&(y.includes(t)?p.push({event:t,listener:Zt}):g.includes(t)&&p.push({event:t,listener:_}))}),b&&p.push({event:"pointermove",listener:Qt});const m=()=>{gt.current=!0},w=()=>{gt.current=!1,Ht()},x=S&&(Lt.mouseout||Lt.mouseleave);return x&&(null===(t=Y.current)||void 0===t||t.addEventListener("mouseover",m),null===(e=Y.current)||void 0===e||e.addEventListener("mouseout",w)),p.forEach(({event:t,listener:e})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.addEventListener(t,e)})}),()=>{var t,e;Dt.scroll&&(window.removeEventListener("scroll",u),null==a||a.removeEventListener("scroll",u),null==l||l.removeEventListener("scroll",u)),Dt.resize?window.removeEventListener("resize",u):null==f||f(),Dt.clickOutsideAnchor&&window.removeEventListener("click",$t),Dt.escape&&window.removeEventListener("keydown",h),x&&(null===(t=Y.current)||void 0===t||t.removeEventListener("mouseover",m),null===(e=Y.current)||void 0===e||e.removeEventListener("mouseout",w)),p.forEach(({event:t,listener:e})=>{n.forEach(n=>{var r;null===(r=n.current)||void 0===r||r.removeEventListener(t,e)})})}},[W,Gt,ct,_t,bt,A,O,C,Rt,g,m]),(0,r.useEffect)(()=>{var t,n;let r=null!==(n=null!==(t=null==ft?void 0:ft.anchorSelect)&&void 0!==t?t:l)&&void 0!==n?n:"";!r&&e&&(r=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`);const o=new MutationObserver(t=>{const n=[],o=[];t.forEach(t=>{if("attributes"===t.type&&"data-tooltip-id"===t.attributeName&&(t.target.getAttribute("data-tooltip-id")===e?n.push(t.target):t.oldValue===e&&o.push(t.target)),"childList"===t.type){if(W){const e=[...t.removedNodes].filter(t=>1===t.nodeType);if(r)try{o.push(...e.filter(t=>t.matches(r))),o.push(...e.flatMap(t=>[...t.querySelectorAll(r)]))}catch(t){}e.some(t=>{var e;return!!(null===(e=null==t?void 0:t.contains)||void 0===e?void 0:e.call(t,W))&&(lt(!1),Mt(!1),Q(null),Tt(et),Tt(nt),!0)})}if(r)try{const e=[...t.addedNodes].filter(t=>1===t.nodeType);n.push(...e.filter(t=>t.matches(r))),n.push(...e.flatMap(t=>[...t.querySelectorAll(r)]))}catch(t){}}}),(n.length||o.length)&&wt(t=>[...t.filter(t=>!o.includes(t)),...n])});return o.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{o.disconnect()}},[e,l,null==ft?void 0:ft.anchorSelect,W]),(0,r.useEffect)(()=>{Gt()},[Gt]),(0,r.useEffect)(()=>{if(!(null==U?void 0:U.current))return()=>null;const t=new ResizeObserver(()=>{setTimeout(()=>Gt())});return t.observe(U.current),()=>{t.disconnect()}},[M,null==U?void 0:U.current]),(0,r.useEffect)(()=>{var t;const e=document.querySelector(`[id='${c}']`),n=[...bt,e];W&&n.includes(W)||Q(null!==(t=bt[0])&&void 0!==t?t:e)},[c,bt,W]),(0,r.useEffect)(()=>(F&&Mt(!0),()=>{Tt(et),Tt(nt)}),[]),(0,r.useEffect)(()=>{var t;let n=null!==(t=null==ft?void 0:ft.anchorSelect)&&void 0!==t?t:l;if(!n&&e&&(n=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),n)try{const t=Array.from(document.querySelectorAll(n));wt(t)}catch(t){wt([])}},[e,l,null==ft?void 0:ft.anchorSelect]),(0,r.useEffect)(()=>{et.current&&(Tt(et),zt(g))},[g]);const Xt=null!==(G=null==ft?void 0:ft.content)&&void 0!==G?G:M,Yt=st&&Object.keys(it.tooltipStyles).length>0;return(0,r.useImperativeHandle)(t,()=>({open:t=>{if(null==t?void 0:t.anchorSelect)try{document.querySelector(t.anchorSelect)}catch(e){return void console.warn(`[react-tooltip] "${t.anchorSelect}" is not a valid CSS selector`)}ht(null!=t?t:null),(null==t?void 0:t.delay)?zt(t.delay):Mt(!0)},close:t=>{(null==t?void 0:t.delay)?Ft(t.delay):Mt(!1)},activeAnchor:W,place:it.place,isOpen:Boolean(ct&&!w&&Xt&&Yt)})),ct&&!w&&Xt?r.createElement(y,{id:e,role:Z,className:mt("react-tooltip",Pt.tooltip,Nt.tooltip,Nt[a],n,`react-tooltip__place-${it.place}`,Pt[Yt?"show":"closing"],Yt?"react-tooltip__show":"react-tooltip__closing","fixed"===v&&Pt.fixed,S&&Pt.clickable),onTransitionEnd:t=>{Tt(rt),st||"opacity"!==t.propertyName||(lt(!1),ht(null),null==N||N())},style:{...I,...it.tooltipStyles,opacity:void 0!==q&&Yt?q:void 0},ref:Y},r.createElement(y,{className:mt("react-tooltip-content-wrapper",Pt.content,Nt.content)},Xt),r.createElement(y,{className:mt("react-tooltip-arrow",Pt.arrow,Nt.arrow,u,x&&Pt.noArrow),style:{...it.tooltipArrowStyles,background:V?`linear-gradient(to right bottom, transparent 50%, ${V} 50%)`:void 0,"--rt-arrow-size":`${K}px`},ref:J})):null},Mt=({content:t})=>r.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),Ut=r.forwardRef(({id:t,anchorId:e,anchorSelect:n,content:o,html:i,render:u,className:s,classNameArrow:a,variant:c="dark",place:l="top",offset:f=10,wrapper:h="div",children:p=null,events:d=["hover"],openOnClick:v=!1,positionStrategy:_="absolute",middlewares:y,delayShow:g=0,delayHide:m=0,float:b=!1,hidden:w=!1,noArrow:x=!1,clickable:S=!1,closeOnEsc:E=!1,closeOnScroll:R=!1,closeOnResize:k=!1,openEvents:A,closeEvents:O,globalCloseEvents:C,imperativeModeOnly:T=!1,style:I,position:L,isOpen:j,defaultIsOpen:P=!1,disableStyleInjection:N=!1,border:D,opacity:M,arrowColor:U,arrowSize:z,setIsOpen:F,afterShow:B,afterHide:H,disableTooltip:W,role:Q="tooltip"},$)=>{const[q,V]=(0,r.useState)(o),[K,Z]=(0,r.useState)(i),[G,X]=(0,r.useState)(l),[Y,J]=(0,r.useState)(c),[tt,et]=(0,r.useState)(f),[nt,rt]=(0,r.useState)(g),[ot,it]=(0,r.useState)(m),[ut,st]=(0,r.useState)(b),[at,ct]=(0,r.useState)(w),[lt,ft]=(0,r.useState)(h),[ht,pt]=(0,r.useState)(d),[dt,vt]=(0,r.useState)(_),[_t,yt]=(0,r.useState)(null),[gt,bt]=(0,r.useState)(null),wt=(0,r.useRef)(null),xt=(0,r.useRef)(N),{anchorRefs:Et,activeAnchor:Rt}=jt(t),kt=t=>null==t?void 0:t.getAttributeNames().reduce((e,n)=>{var r;return n.startsWith("data-tooltip-")&&(e[n.replace(/^data-tooltip-/,"")]=null!==(r=null==t?void 0:t.getAttribute(n))&&void 0!==r?r:null),e},{}),At=t=>{const e={place:t=>{var e;X(null!==(e=t)&&void 0!==e?e:l)},content:t=>{V(null!=t?t:o)},html:t=>{Z(null!=t?t:i)},variant:t=>{var e;J(null!==(e=t)&&void 0!==e?e:c)},offset:t=>{et(null===t?f:Number(t))},wrapper:t=>{var e;ft(null!==(e=t)&&void 0!==e?e:h)},events:t=>{const e=null==t?void 0:t.split(" ");pt(null!=e?e:d)},"position-strategy":t=>{var e;vt(null!==(e=t)&&void 0!==e?e:_)},"delay-show":t=>{rt(null===t?g:Number(t))},"delay-hide":t=>{it(null===t?m:Number(t))},float:t=>{st(null===t?b:"true"===t)},hidden:t=>{ct(null===t?w:"true"===t)},"class-name":t=>{yt(t)}};Object.values(e).forEach(t=>t(null)),Object.entries(t).forEach(([t,n])=>{var r;null===(r=e[t])||void 0===r||r.call(e,n)})};(0,r.useEffect)(()=>{V(o)},[o]),(0,r.useEffect)(()=>{Z(i)},[i]),(0,r.useEffect)(()=>{X(l)},[l]),(0,r.useEffect)(()=>{J(c)},[c]),(0,r.useEffect)(()=>{et(f)},[f]),(0,r.useEffect)(()=>{rt(g)},[g]),(0,r.useEffect)(()=>{it(m)},[m]),(0,r.useEffect)(()=>{st(b)},[b]),(0,r.useEffect)(()=>{ct(w)},[w]),(0,r.useEffect)(()=>{vt(_)},[_]),(0,r.useEffect)(()=>{xt.current!==N&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[N]),(0,r.useEffect)(()=>{"undefined"!=typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===N,disableBase:N}}))},[]),(0,r.useEffect)(()=>{var r;const o=new Set(Et);let i=n;if(!i&&t&&(i=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),i)try{document.querySelectorAll(i).forEach(t=>{o.add({current:t})})}catch(r){console.warn(`[react-tooltip] "${i}" is not a valid CSS selector`)}const u=document.querySelector(`[id='${e}']`);if(u&&o.add({current:u}),!o.size)return()=>null;const s=null!==(r=null!=gt?gt:u)&&void 0!==r?r:Rt.current,a=new MutationObserver(t=>{t.forEach(t=>{var e;if(!s||"attributes"!==t.type||!(null===(e=t.attributeName)||void 0===e?void 0:e.startsWith("data-tooltip-")))return;const n=kt(s);At(n)})}),c={attributes:!0,childList:!1,subtree:!1};if(s){const t=kt(s);At(t),a.observe(s,c)}return()=>{a.disconnect()}},[Et,Rt,gt,e,n]),(0,r.useEffect)(()=>{(null==I?void 0:I.border)&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),D&&!St("border",`${D}`)&&console.warn(`[react-tooltip] "${D}" is not a valid \`border\`.`),(null==I?void 0:I.opacity)&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),M&&!St("opacity",`${M}`)&&console.warn(`[react-tooltip] "${M}" is not a valid \`opacity\`.`)},[]);let Ot=p;const Ct=(0,r.useRef)(null);if(u){const t=u({content:(null==gt?void 0:gt.getAttribute("data-tooltip-content"))||q||null,activeAnchor:gt});Ot=t?r.createElement("div",{ref:Ct,className:"react-tooltip-content-wrapper"},t):null}else q&&(Ot=q);K&&(Ot=r.createElement(Mt,{content:K}));const Tt={forwardRef:$,id:t,anchorId:e,anchorSelect:n,className:mt(s,_t),classNameArrow:a,content:Ot,contentWrapperRef:Ct,place:G,variant:Y,offset:tt,wrapper:lt,events:ht,openOnClick:v,positionStrategy:dt,middlewares:y,delayShow:nt,delayHide:ot,float:ut,hidden:at,noArrow:x,clickable:S,closeOnEsc:E,closeOnScroll:R,closeOnResize:k,openEvents:A,closeEvents:O,globalCloseEvents:C,imperativeModeOnly:T,style:I,position:L,isOpen:j,defaultIsOpen:P,border:D,opacity:M,arrowColor:U,arrowSize:z,setIsOpen:F,afterShow:B,afterHide:H,disableTooltip:W,activeAnchor:gt,previousActiveAnchor:wt.current,setActiveAnchor:t=>{bt(e=>((null==t?void 0:t.isSameNode(e))||(wt.current=e),t))},role:Q};return r.createElement(Dt,{...Tt})});"undefined"!=typeof window&&window.addEventListener("react-tooltip-inject-styles",t=>{t.detail.disableCore||wt({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1;-webkit-backface-visibility:hidden;backface-visibility:hidden}.core-styles-module_content__BRKdB{position:relative;z-index:1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),t.detail.disableBase||wt({css:"\n.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;width:max-content}.styles-module_content__ydYdI{background:inherit;border-radius:inherit;padding:8px 16px}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}",type:"base"})})}}]);
@@ -1,15 +0,0 @@
1
- /*
2
- * React Tooltip
3
- * {@link https://github.com/ReactTooltip/react-tooltip}
4
- * @copyright ReactTooltip Team
5
- * @license MIT
6
- */
7
-
8
- /**
9
- * @license
10
- * Lodash <https://lodash.com/>
11
- * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
12
- * Released under MIT license <https://lodash.com/license>
13
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
14
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
15
- */
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[646],{7646(e,t,s){s.r(t),s.d(t,{default:()=>c});var a=s(9711);const c=()=>a.createElement("article",{className:"col-12"},a.createElement("h4",null,"PDB Data Snapshot"),a.createElement("div",null,"(data table goes here)"))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[690],{6690(e,n,t){t.r(n),t.d(n,{default:()=>l});var r=t(9711),i=t(4233);const a=[{year:2025,legacyArchiveSnapshot:"1583 GB for 246,905 PDB structures",versionedArchive:"298 GB",emdbCoreArchive:"29 TB for 52,944 EMDB entries"},{year:2024,legacyArchiveSnapshot:"1437 GB for 229,564 PDB structures",versionedArchive:"269 GB",emdbCoreArchive:"21 TB for 41,282 EMDB entries"},{year:2023,legacyArchiveSnapshot:"1242 GB for 214,121 PDB structures",versionedArchive:"231 GB",emdbCoreArchive:"13 TB for 32,033 EMDB entries"},{year:2022,legacyArchiveSnapshot:"1086 GB for 199,755 PDB structures",versionedArchive:"218 GB",emdbCoreArchive:"7.5 TB for 25,319 EMDB entries"},{year:2021,legacyArchiveSnapshot:"923 GB for 185,541 PDB structures",versionedArchive:"174 GB",emdbCoreArchive:"4.5 TB for 18,059 EMDB entries"},{year:2020,legacyArchiveSnapshot:"822 GB for 173,005 PDB structures",versionedArchive:"148 GB",emdbCoreArchive:"2.9 TB for 13,731 EMDB entries"},{year:2019,legacyArchiveSnapshot:"577 GB for 159,140 PDB structures",versionedArchive:"117 GB",emdbCoreArchive:"1.7 TB for 10,370 EMDB entries"},{year:2018,legacyArchiveSnapshot:"441 GB for 136,472 PDB structures",versionedArchive:"85 GB",emdbCoreArchive:"592 GB for 5,753 EMDB entries"}],o=[{year:2025,size:"366 TB"},{year:2024,size:"279 TB"},{year:2023,size:"232 TB"},{year:2022,size:"170 TB"},{year:2021,size:"109 TB"}],l=()=>r.createElement("article",{className:"col-12",style:{paddingTop:"22px"}},r.createElement(i.hx,null,"Data Storage Growth"),r.createElement("section",{className:"mb-5","aria-labelledby":"core-archive-holdings-title"},r.createElement("h3",{id:"core-archive-holdings-title",className:"h4"},"PDB Core Archive and Related Holdings (single copy)"),r.createElement("div",{className:"table-responsive"},r.createElement("table",{className:"table table-condensed table-bordered dt-responsive nowrap",cellSpacing:0,width:"100%"},r.createElement("caption",{className:"visually-hidden"},"Annual size of the PDB legacy archive snapshot, the PDB versioned archive, and the EMDB Core Archive."),r.createElement("thead",null,r.createElement("tr",{className:"light-gray"},r.createElement("th",{scope:"col"},"Year"),r.createElement("th",{scope:"col"},"Size of PDB legacy archive snapshot"),r.createElement("th",{scope:"col"},"Size of PDB versioned archive"),r.createElement("th",{scope:"col"},"Size of EMDB Core Archive"))),r.createElement("tbody",null,a.map(e=>r.createElement("tr",{key:e.year},r.createElement("td",null,e.year),r.createElement("td",null,e.legacyArchiveSnapshot),r.createElement("td",null,e.versionedArchive),r.createElement("td",null,e.emdbCoreArchive))))))),r.createElement("section",{"aria-labelledby":"total-storage-holdings-title"},r.createElement("h3",{id:"total-storage-holdings-title",className:"h4"},"Total Storage for RCSB PDB Holdings"),r.createElement("p",null,"All copies of the PDB Core Archive, including AWS, EMDB Core Archive RCSB PDB OneDep sessions, RCSB.org, PDB101.RCSB.org."),r.createElement("div",{className:"table-responsive"},r.createElement("table",{className:"table table-condensed table-bordered dt-responsive nowrap",cellSpacing:0,width:"100%"},r.createElement("caption",{className:"visually-hidden"},"Annual total size of all RCSB PDB storage holdings."),r.createElement("thead",null,r.createElement("tr",{className:"light-gray"},r.createElement("th",{scope:"col"},"Year"),r.createElement("th",{scope:"col"},"Size"))),r.createElement("tbody",null,o.map(e=>r.createElement("tr",{key:e.year},r.createElement("td",null,e.year),r.createElement("td",null,e.size))))))))},4233(e,n,t){t.d(n,{C:()=>ne,G:()=>_,Gw:()=>J,Kb:()=>M,MV:()=>F,NF:()=>U,Nk:()=>H,OV:()=>R,Q3:()=>j,RZ:()=>X,Tu:()=>O,VT:()=>V,Yg:()=>q,at:()=>Q,hf:()=>ie,hx:()=>K,ne:()=>L,ou:()=>W,ph:()=>Z,rI:()=>te,rh:()=>I,tJ:()=>re,tf:()=>ee,tt:()=>$,vE:()=>Y});var r,i,a,o,l,s,c,d,p,h,m,f,g,b,v,y,u,x,A,B,E,D,w,z,C,S,k,P=t(376),N=t(4654);function G(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}const T=(0,P.i7)(r||(r=G(["\n from {\n opacity: .5;\n transform: translateZ(0) scale(0.999);\n }\n to {\n opacity: 1;\n transform: translateZ(0) scale(1);\n }\n"]))),$=P.Ay.div(i||(i=G(["\n animation: "," .5s ease-in;\n will-change: opacity, transform;\n"])),T),M=P.Ay.div(a||(a=G([" \n display: flex;\n justify-content: flex-end;\n margin-top: -10px;\n"]))),j=P.Ay.div.attrs(()=>({as:"div"}))(o||(o=G(["\n margin-top: 35px;\n padding-top: 10px;\n border-top: 1px solid #ccc;\n margin-right: 200px;\n"]))),R=P.Ay.button(l||(l=G(["\n display: flex;\n align-items: center;\n justify-content: center;\n border: 1px solid #e7e7e7;\n border-radius: 3px;\n padding: 3px 5px;\n\n & svg { \n margin-right: 5px; \n }\n"]))),H=P.Ay.div(s||(s=G(["\n padding-left: 25px;\n margin-top: 60px;\n"]))),_=(0,P.Ay)(N.A)(c||(c=G(["\n margin-top: 60px;\n"]))),O=P.Ay.div(d||(d=G(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 5px;\n"]))),Y=P.Ay.div(p||(p=G(["\n background-color: #f0f0f0;\n border: ",";\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n color: ",";\n filter: ",";\n\n ","\n"])),e=>e.selected?"1px solid black":"1px solid #fff",e=>e.disabled?"#bbb":"#606060",e=>e.disabled?"grayscale(30%) blur(0.5px)":"none",e=>!e.disabled&&"\n &:hover {\n background-color: #e0e0e0;\n border: 1px solid #808080;\n cursor: pointer;\n }\n "),V=P.Ay.div(h||(h=G(["\n display: flex;\n align-items: center;\n margin-bottom: 5px;\n min-width: 170px;\n"]))),Z=P.Ay.input(m||(m=G(["\n margin-right: 20px;\n"]))),J=P.Ay.label(f||(f=G(["\n font-size: 12px;\n margin-left: 5px;\n font-weight: normal;\n margin-bottom: 0 !important;\n"]))),F=P.Ay.div(g||(g=G(["\n font-weight: bold;\n font-size: 1.2em;\n margin-bottom: 15px;\n"]))),I=P.Ay.div(b||(b=G(["\n width: auto;\n height: auto;\n min-height: ",";\n margin-bottom: 70px;\n margin-left: -15px;\n"])),e=>e.$isTable?"0":"550px"),K=P.Ay.h1(v||(v=G(["\n display: block;\n margin: 0;\n padding: 0 0 29px;\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n font-size: 18px;\n font-weight: bold;\n color: #333;\n text-align: start;\n"]))),Q=P.Ay.div(y||(y=G(["\n position: relative;\n height: ",";\n"])),e=>{let n=e.$isTable,t=e.$fullscreen;return n?"auto":t?"calc(100% - 62px)":"calc(550px - 62px)"}),U=P.Ay.div(u||(u=G(["\n margin-top: 20px;\n min-width: 170px;\n label {\n font-size: 12px;\n font-weight: normal;\n margin-left: 5px;\n margin-bottom: 0 !important;\n margin-top: 4px !important;\n }\n .form-check {\n display: flex;\n align-items: center;\n }\n"]))),W=P.Ay.div(x||(x=G(["\n margin-bottom: 35px;\n"]))),q=P.Ay.div(A||(A=G(["\n font-weight: bold;\n margin-bottom: 5px;\n"]))),L=(P.Ay.div(B||(B=G(["\n width: 100%;\n\n\n .col-md-10{\n width: 90% !important;\n }\n\n .col-md-10 > div:first-child {\n height: 80vh !important;\n }\n\n .col-md-2{\n width: 0 !important;\n }\n"]))),P.Ay.div(E||(E=G(["\n display: block;\n font-size: 18px;\n font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n font-weight: bold;\n color: #333;\n padding-top: 0;\n padding-bottom: 15px;\n text-align: start;\n margin-top: -2px;\n"])))),X=P.Ay.div(D||(D=G(["\n position: relative;\n display: inline-block;\n cursor: pointer;\n\n &:hover ul {\n display: block;\n top:-5px;\n margin-left:15px\n }\n"]))),ee=P.Ay.div(w||(w=G(["\n position: relative;\n display: inline-block;\n cursor: ",";\n opacity: ",";\n pointer-events: ",";\n filter: ",";\n color: ",";\n\n &:hover ul {\n display: ",";\n top: -5px;\n margin-left: 15px;\n }\n"])),e=>e.disabled?"not-allowed":"pointer",e=>e.disabled?.4:1,e=>e.disabled?"none":"auto",e=>e.disabled?"grayscale(30%) blur(0.5px)":"none",e=>e.disabled?"#bbb":"inherit",e=>e.disabled?"none":"block"),ne=P.Ay.div(z||(z=G(["\n display: flex;\n align-items: center;\n cursor: pointer;\n position: relative;\n\n .triangle {\n width: 8px;\n aspect-ratio: 1;\n clip-path: polygon(0 0, 100% 0, 50% 70%);\n background-color: #999;\n position: absolute;\n right: -9px;\n top: 50%;\n transform: translateY(-10%);\n transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);\n }\n\n &:hover .triangle {\n transform: translateY(0.2rem);\n }\n"]))),te=P.Ay.ul(C||(C=G(["\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n z-index: 1000;\n min-width: 160px;\n padding: 2px 0;\n margin: 0;\n font-size: 14px;\n color: #333;\n text-align: left;\n list-style: none;\n background-color: #fff;\n border: 1px solid rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);\n\n ",":hover & {\n display: block;\n }\n\n & > li.disabled {\n pointer-events: none;\n color: #ccc;\n }\n\n & > li:not(.disabled):hover {\n background-color: #f8f9fa;\n }\n"])),X),re=P.Ay.li(S||(S=G(["\n padding: 8px 20px;\n display: flex;\n align-items: center;\n cursor: pointer;\n white-space: nowrap;\n\n &:hover {\n background-color: #f1f1f1;\n }\n"]))),ie=P.Ay.span(k||(k=G(["\n margin-left: 8px;\n font-size: 14px;\n color: #333;\n margin-right: 5px;\n"])))},4654(e,n,t){t.d(n,{A:()=>c});var r=t(1573),i=t.n(r),a=t(9711),o=t(3088),l=t(6503);const s=a.forwardRef((e,n)=>{const[{className:t,...r},{as:a="div",bsPrefix:s,spans:c}]=function({as:e,bsPrefix:n,className:t,...r}){n=(0,o.oU)(n,"col");const a=(0,o.gy)(),l=(0,o.Jm)(),s=[],c=[];return a.forEach(e=>{const t=r[e];let i,a,o;delete r[e],"object"==typeof t&&null!=t?({span:i,offset:a,order:o}=t):i=t;const d=e!==l?`-${e}`:"";i&&s.push(!0===i?`${n}${d}`:`${n}${d}-${i}`),null!=o&&c.push(`order${d}-${o}`),null!=a&&c.push(`offset${d}-${a}`)}),[{...r,className:i()(t,...s,...c)},{as:e,bsPrefix:n,spans:s}]}(e);return(0,l.jsx)(a,{...r,ref:n,className:i()(t,!c.length&&s)})});s.displayName="Col";const c=s}}]);