hooks-a6626ffa.js 18 KB

1
  1. function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(t)}function t(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var _,r,o,i,u=[],l=!0,c=!1;try{if(o=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;l=!1}else for(;!(l=(_=o.call(e)).done)&&(u.push(_.value),u.length!==t);l=!0);}catch(n){c=!0,r=n}finally{try{if(!l&&null!=e.return&&(i=e.return(),Object(i)!==i))return}finally{if(c)throw r}}return u}}(n,t)||function(n,t){if(!n)return;if("string"==typeof n)return e(n,t);var _=Object.prototype.toString.call(n).slice(8,-1);"Object"===_&&n.constructor&&(_=n.constructor.name);if("Map"===_||"Set"===_)return Array.from(n);if("Arguments"===_||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return e(n,t)}(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,_=new Array(t);e<t;e++)_[e]=n[e];return _}function _(t,e){for(var _=0;_<e.length;_++){var r=e[_];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,(o=r.key,i=void 0,i=function(t,e){if("object"!==n(t)||null===t)return t;var _=t[Symbol.toPrimitive];if(void 0!==_){var r=_.call(t,e||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(o,"string"),"symbol"===n(i)?i:String(i)),r)}var o,i}var r=function(){function n(t){!function(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),this._childNodes=[],this._attributes={},this._parentNode=null,this.nodeType=1,this.tagName=t}var e,r,o;return e=n,(r=[{key:"appendChild",value:function(n){this._childNodes.push(n),n.parentNode=this}},{key:"insertBefore",value:function(n,t){if(null!==t){var e=this._childNodes.indexOf(t);if(-1===e)throw new Error("Node not found");this._childNodes.splice(e,0,n),n.parentNode=this}else this.appendChild(n)}},{key:"addEventListener",value:function(n,t){}},{key:"removeEventListener",value:function(n,t){}},{key:"setAttribute",value:function(n,t){this._attributes[n]=t}},{key:"removeAttribute",value:function(n){delete this._attributes[n]}},{key:"nextSibling",get:function(){var n,t=(null===(n=this.parentNode)||void 0===n?void 0:n._childNodes)||[],e=t.indexOf(this);return t[e+1]||null}},{key:"parentNode",get:function(){return this._parentNode},set:function(n){this._parentNode=n}},{key:"innerHTML",get:function(){var n,e="",_=function(n){var e="";if(1===n.nodeType){e+="<".concat(n.tagName);for(var _=0,r=Object.entries(n._attributes);_<r.length;_++){var o=t(r[_],2),i=o[0],u=o[1];e+=" ".concat(i,'="').concat(u,'"')}e+=">".concat(n._childNodes.length?n.innerHTML:n.textContent,"</").concat(n.tagName,">")}else{if(3!==n.nodeType)throw new Error("unknown node type ".concat(n.nodeType));e+=n.textContent}return e};return null!==(n=this._childNodes)&&void 0!==n&&n.length?(this._childNodes.forEach((function(n){e+=_(n)})),e):_(this)}},{key:"textContent",get:function(){return 3===this.nodeType?String(this.data)||"":this.innnerText},set:function(n){3===this.nodeType?this.data=n:this.innnerText=n}},{key:"firstChild",get:function(){return this._childNodes[0]}},{key:"removeChild",value:function(n){var t=this._childNodes.indexOf(n);if(-1===t)throw new Error("Node not found");this._childNodes.splice(t,1),n.parentNode=null}},{key:"childNodes",get:function(){return this._childNodes}}])&&_(e.prototype,r),o&&_(e,o),Object.defineProperty(e,"prototype",{writable:!1}),n}();var o,i,u,l,c,f,s,a,h={createElement:function(n,t){return new r(n)},createTextNode:function(n){var t=new r("#text");return t.nodeType=3,t.textContent=n,t},createElementNS:function(){throw new Error("not implemented!")}},p={},d=[],v=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function m(n,t){for(var e in t)n[e]=t[e];return n}function b(n){var t=n.parentNode;t&&t.removeChild(n)}function g(n,t,e){var _,r,i,u={};for(i in t)"key"==i?_=t[i]:"ref"==i?r=t[i]:u[i]=t[i];if(arguments.length>2&&(u.children=arguments.length>3?o.call(arguments,2):e),"function"==typeof n&&null!=n.defaultProps)for(i in n.defaultProps)void 0===u[i]&&(u[i]=n.defaultProps[i]);return k(n,u,_,r,null)}function k(n,t,e,_,r){var o={type:n,props:t,key:e,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++u:r};return null==r&&null!=i.vnode&&i.vnode(o),o}function N(){return{current:null}}function x(n){return n.children}function w(n,t){this.props=n,this.context=t}function S(n,t){if(null==t)return n.__?S(n.__,n.__.__k.indexOf(n)+1):null;for(var e;t<n.__k.length;t++)if(null!=(e=n.__k[t])&&null!=e.__e)return e.__e;return"function"==typeof n.type?S(n):null}function C(n){var t,e;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,t=0;t<n.__k.length;t++)if(null!=(e=n.__k[t])&&null!=e.__e){n.__e=n.__c.base=e.__e;break}return C(n)}}function E(n){(!n.__d&&(n.__d=!0)&&l.push(n)&&!T.__r++||c!==i.debounceRendering)&&((c=i.debounceRendering)||f)(T)}function T(){var n,t,e,_,r,o,i,u,c;for(l.sort(s);n=l.shift();)n.__d&&(t=l.length,_=void 0,r=void 0,o=void 0,u=(i=(e=n).__v).__e,(c=e.__P)&&(_=[],r=[],(o=m({},i)).__v=i.__v+1,j(c,i,o,e.__n,void 0!==c.ownerSVGElement,null!=i.__h?[u]:null,_,null==u?S(i):u,i.__h,r),F(_,i,r),i.__e!=u&&C(i)),l.length>t&&l.sort(s));T.__r=0}function H(n,t,e,_,r,o,i,u,l,c,f){var s,a,h,v,m,b,g,N,w,S,C=0,E=_&&_.__k||d,T=E.length,H=T,U=t.length;for(e.__k=[],s=0;s<U;s++)null!=(v=e.__k[s]=null==(v=t[s])||"boolean"==typeof v||"function"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?k(null,v,null,null,v):y(v)?k(x,{children:v},null,null,null):v.__b>0?k(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)&&(v.__=e,v.__b=e.__b+1,-1===(N=D(v,E,g=s+C,H))?h=p:(h=E[N]||p,E[N]=void 0,H--),j(n,v,h,r,o,i,u,l,c,f),m=v.__e,(a=v.ref)&&h.ref!=a&&(h.ref&&I(h.ref,null,v),f.push(a,v.__c||m,v)),null!=m&&(null==b&&(b=m),S=!(w=h===p||null===h.__v)&&N===g,w?-1==N&&C--:N!==g&&(N===g+1?(C++,S=!0):N>g?H>U-g?(C+=N-g,S=!0):C--:C=N<g&&N==g-1?N-g:0),g=s+C,S=S||N==s&&!w,"function"!=typeof v.type||N===g&&h.__k!==v.__k?"function"==typeof v.type||S?void 0!==v.__d?(l=v.__d,v.__d=void 0):l=m.nextSibling:l=A(n,m,l):l=P(v,l,n),"function"==typeof e.type&&(e.__d=l)));for(e.__e=b,s=T;s--;)null!=E[s]&&("function"==typeof e.type&&null!=E[s].__e&&E[s].__e==e.__d&&(e.__d=E[s].__e.nextSibling),B(E[s],E[s]))}function P(n,t,e){for(var _,r=n.__k,o=0;r&&o<r.length;o++)(_=r[o])&&(_.__=n,t="function"==typeof _.type?P(_,t,e):A(e,_.__e,t));return t}function U(n,t){return t=t||[],null==n||"boolean"==typeof n||(y(n)?n.some((function(n){U(n,t)})):t.push(n)),t}function A(n,t,e){return null==e||e.parentNode!==n?n.insertBefore(t,null):t==e&&null!=t.parentNode||n.insertBefore(t,e),t.nextSibling}function D(n,t,e,_){var r=n.key,o=n.type,i=e-1,u=e+1,l=t[e];if(null===l||l&&r==l.key&&o===l.type)return e;if(_>(null!=l?1:0))for(;i>=0||u<t.length;){if(i>=0){if((l=t[i])&&r==l.key&&o===l.type)return i;i--}if(u<t.length){if((l=t[u])&&r==l.key&&o===l.type)return u;u++}}return-1}function O(n,t,e){"-"===t[0]?n.setProperty(t,null==e?"":e):n[t]=null==e?"":"number"!=typeof e||v.test(t)?e:e+"px"}function L(n,t,e,_,r){var o;n:if("style"===t)if("string"==typeof e)n.style.cssText=e;else{if("string"==typeof _&&(n.style.cssText=_=""),_)for(t in _)e&&t in e||O(n.style,t,"");if(e)for(t in e)_&&e[t]===_[t]||O(n.style,t,e[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in n?t.toLowerCase().slice(2):t.slice(2),n.l||(n.l={}),n.l[t+o]=e,e?_||n.addEventListener(t,o?W:M,o):n.removeEventListener(t,o?W:M,o);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in n)try{n[t]=null==e?"":e;break n}catch(n){}"function"==typeof e||(null==e||!1===e&&"-"!==t[4]?n.removeAttribute(t):n.setAttribute(t,e))}}function M(n){return this.l[n.type+!1](i.event?i.event(n):n)}function W(n){return this.l[n.type+!0](i.event?i.event(n):n)}function j(n,t,e,_,r,o,u,l,c,f){var s,a,h,p,d,v,b,g,k,N,S,C,E,T,P,U=t.type;if(void 0!==t.constructor)return null;null!=e.__h&&(c=e.__h,l=t.__e=e.__e,t.__h=null,o=[l]),(s=i.__b)&&s(t);try{n:if("function"==typeof U){if(g=t.props,k=(s=U.contextType)&&_[s.__c],N=s?k?k.props.value:s.__:_,e.__c?b=(a=t.__c=e.__c).__=a.__E:("prototype"in U&&U.prototype.render?t.__c=a=new U(g,N):(t.__c=a=new w(g,N),a.constructor=U,a.render=q),k&&k.sub(a),a.props=g,a.state||(a.state={}),a.context=N,a.__n=_,h=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=U.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=m({},a.__s)),m(a.__s,U.getDerivedStateFromProps(g,a.__s))),p=a.props,d=a.state,a.__v=t,h)null==U.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==U.getDerivedStateFromProps&&g!==p&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(g,N),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(g,a.__s,N)||t.__v===e.__v)){for(t.__v!==e.__v&&(a.props=g,a.state=a.__s,a.__d=!1),t.__e=e.__e,t.__k=e.__k,t.__k.forEach((function(n){n&&(n.__=t)})),S=0;S<a._sb.length;S++)a.__h.push(a._sb[S]);a._sb=[],a.__h.length&&u.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(g,a.__s,N),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(p,d,v)}))}if(a.context=N,a.props=g,a.__P=n,a.__e=!1,C=i.__r,E=0,"prototype"in U&&U.prototype.render){for(a.state=a.__s,a.__d=!1,C&&C(t),s=a.render(a.props,a.state,a.context),T=0;T<a._sb.length;T++)a.__h.push(a._sb[T]);a._sb=[]}else do{a.__d=!1,C&&C(t),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++E<25);a.state=a.__s,null!=a.getChildContext&&(_=m(m({},_),a.getChildContext())),h||null==a.getSnapshotBeforeUpdate||(v=a.getSnapshotBeforeUpdate(p,d)),H(n,y(P=null!=s&&s.type===x&&null==s.key?s.props.children:s)?P:[P],t,e,_,r,o,u,l,c,f),a.base=t.__e,t.__h=null,a.__h.length&&u.push(a),b&&(a.__E=a.__=null)}else null==o&&t.__v===e.__v?(t.__k=e.__k,t.__e=e.__e):t.__e=V(e.__e,t,e,_,r,o,u,c,f);(s=i.diffed)&&s(t)}catch(n){t.__v=null,(c||null!=o)&&(t.__e=l,t.__h=!!c,o[o.indexOf(l)]=null),i.__e(n,t,e)}}function F(n,t,e){for(var _=0;_<e.length;_++)I(e[_],e[++_],e[++_]);i.__c&&i.__c(t,n),n.some((function(t){try{n=t.__h,t.__h=[],n.some((function(n){n.call(t)}))}catch(n){i.__e(n,t.__v)}}))}function V(n,t,e,_,r,i,u,l,c){var f,s,a,d=e.props,v=t.props,m=t.type,g=0;if("svg"===m&&(r=!0),null!=i)for(;g<i.length;g++)if((f=i[g])&&"setAttribute"in f==!!m&&(m?f.localName===m:3===f.nodeType)){n=f,i[g]=null;break}if(null==n){if(null===m)return h.createTextNode(v);n=r?h.createElementNS("http://www.w3.org/2000/svg",m):h.createElement(m,v.is&&v),i=null,l=!1}if(null===m)d===v||l&&n.data===v||(n.data=v);else{if(i=i&&o.call(n.childNodes),s=(d=e.props||p).dangerouslySetInnerHTML,a=v.dangerouslySetInnerHTML,!l){if(null!=i)for(d={},g=0;g<n.attributes.length;g++)d[n.attributes[g].name]=n.attributes[g].value;(a||s)&&(a&&(s&&a.__html==s.__html||a.__html===n.innerHTML)||(n.innerHTML=a&&a.__html||""))}if(function(n,t,e,_,r){var o;for(o in e)"children"===o||"key"===o||o in t||L(n,o,null,e[o],_);for(o in t)r&&"function"!=typeof t[o]||"children"===o||"key"===o||"value"===o||"checked"===o||e[o]===t[o]||L(n,o,t[o],e[o],_)}(n,v,d,r,l),a)t.__k=[];else if(H(n,y(g=t.props.children)?g:[g],t,e,_,r&&"foreignObject"!==m,i,u,i?i[0]:e.__k&&S(e,0),l,c),null!=i)for(g=i.length;g--;)null!=i[g]&&b(i[g]);l||("value"in v&&void 0!==(g=v.value)&&(g!==n.value||"progress"===m&&!g||"option"===m&&g!==d.value)&&L(n,"value",g,d.value,!1),"checked"in v&&void 0!==(g=v.checked)&&g!==n.checked&&L(n,"checked",g,d.checked,!1))}return n}function I(n,t,e){try{"function"==typeof n?n(t):n.current=t}catch(n){i.__e(n,e)}}function B(n,t,e){var _,r;if(i.unmount&&i.unmount(n),(_=n.ref)&&(_.current&&_.current!==n.__e||I(_,null,t)),null!=(_=n.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(n){i.__e(n,t)}_.base=_.__P=null,n.__c=void 0}if(_=n.__k)for(r=0;r<_.length;r++)_[r]&&B(_[r],t,e||"function"!=typeof n.type);e||null==n.__e||b(n.__e),n.__=n.__e=n.__d=void 0}function q(n,t,e){return this.constructor(n,e)}function R(n,t,e){var _,r,u,l;i.__&&i.__(n,t),r=(_="function"==typeof e)?null:e&&e.__k||t.__k,u=[],l=[],j(t,n=(!_&&e||t).__k=g(x,null,[n]),r||p,p,void 0!==t.ownerSVGElement,!_&&e?[e]:r?null:t.firstChild?o.call(t.childNodes):null,u,!_&&e?e:r?r.__e:t.firstChild,_,l),F(u,n,l)}function $(n,t){R(n,t,$)}function G(n,t,e){var _,r,i,u,l=m({},n.props);for(i in n.type&&n.type.defaultProps&&(u=n.type.defaultProps),t)"key"==i?_=t[i]:"ref"==i?r=t[i]:l[i]=void 0===t[i]&&void 0!==u?u[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?o.call(arguments,2):e),k(n.type,l,_||n.key,r||n.ref,null)}function z(n,t){var e={__c:t="__cC"+a++,__:n,Consumer:function(n,t){return n.children(t)},Provider:function(n){var e,_;return this.getChildContext||(e=[],(_={})[t]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&e.some((function(n){n.__e=!0,E(n)}))},this.sub=function(n){e.push(n);var t=n.componentWillUnmount;n.componentWillUnmount=function(){e.splice(e.indexOf(n),1),t&&t.call(n)}}),n.children}};return e.Provider.__=e.Consumer.contextType=e}o=d.slice,i={__e:function(n,t,e,_){for(var r,o,i;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(n)),i=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(n,_||{}),i=r.__d),i)return r.__E=r}catch(t){n=t}throw n}},u=0,w.prototype.setState=function(n,t){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof n&&(n=n(m({},e),this.props)),n&&m(e,n),null!=n&&this.__v&&(t&&this._sb.push(t),E(this))},w.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),E(this))},w.prototype.render=x,l=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,s=function(n,t){return n.__v.__b-t.__v.__b},T.__r=0,a=0;var J,K,Q,X,Y=0,Z=[],nn=[],tn=i.__b,en=i.__r,_n=i.diffed,rn=i.__c,on=i.unmount;function un(n,t){i.__h&&i.__h(K,n,Y||t),Y=0;var e=K.__H||(K.__H={__:[],__h:[]});return n>=e.__.length&&e.__.push({__V:nn}),e.__[n]}function ln(n){return Y=1,cn(Cn,n)}function cn(n,t,e){var _=un(J++,2);if(_.t=n,!_.__c&&(_.__=[e?e(t):Cn(void 0,t),function(n){var t=_.__N?_.__N[0]:_.__[0],e=_.t(t,n);t!==e&&(_.__N=[e,_.__[1]],_.__c.setState({}))}],_.__c=K,!K.u)){var r=function(n,t,e){if(!_.__c.__H)return!0;var r=_.__c.__H.__.filter((function(n){return n.__c}));if(r.every((function(n){return!n.__N})))return!o||o.call(this,n,t,e);var i=!1;return r.forEach((function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}})),!(!i&&_.__c.props===n)&&(!o||o.call(this,n,t,e))};K.u=!0;var o=K.shouldComponentUpdate,i=K.componentWillUpdate;K.componentWillUpdate=function(n,t,e){if(this.__e){var _=o;o=void 0,r(n,t,e),o=_}i&&i.call(this,n,t,e)},K.shouldComponentUpdate=r}return _.__N||_.__}function fn(n,t){var e=un(J++,3);!i.__s&&Sn(e.__H,t)&&(e.__=n,e.i=t,K.__H.__h.push(e))}function sn(n,t){var e=un(J++,4);!i.__s&&Sn(e.__H,t)&&(e.__=n,e.i=t,K.__h.push(e))}function an(n){return Y=5,pn((function(){return{current:n}}),[])}function hn(n,t,e){Y=6,sn((function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0}),null==e?e:e.concat(n))}function pn(n,t){var e=un(J++,7);return Sn(e.__H,t)?(e.__V=n(),e.i=t,e.__h=n,e.__V):e.__}function dn(n,t){return Y=8,pn((function(){return n}),t)}function vn(n){var t=K.context[n.__c],e=un(J++,9);return e.c=n,t?(null==e.__&&(e.__=!0,t.sub(K)),t.props.value):n.__}function yn(n,t){i.useDebugValue&&i.useDebugValue(t?t(n):n)}function mn(n){var t=un(J++,10),e=ln();return t.__=n,K.componentDidCatch||(K.componentDidCatch=function(n,_){t.__&&t.__(n,_),e[1](n)}),[e[0],function(){e[1](void 0)}]}function bn(){var n=un(J++,11);if(!n.__){for(var t=K.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var e=t.__m||(t.__m=[0,0]);n.__="P"+e[0]+"-"+e[1]++}return n.__}function gn(){for(var n;n=Z.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(xn),n.__H.__h.forEach(wn),n.__H.__h=[]}catch(t){n.__H.__h=[],i.__e(t,n.__v)}}i.__b=function(n){K=null,tn&&tn(n)},i.__r=function(n){en&&en(n),J=0;var t=(K=n.__c).__H;t&&(Q===K?(t.__h=[],K.__h=[],t.__.forEach((function(n){n.__N&&(n.__=n.__N),n.__V=nn,n.__N=n.i=void 0}))):(t.__h.forEach(xn),t.__h.forEach(wn),t.__h=[],J=0)),Q=K},i.diffed=function(n){_n&&_n(n);var t=n.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&X===i.requestAnimationFrame||((X=i.requestAnimationFrame)||Nn)(gn)),t.__H.__.forEach((function(n){n.i&&(n.__H=n.i),n.__V!==nn&&(n.__=n.__V),n.i=void 0,n.__V=nn}))),Q=K=null},i.__c=function(n,t){t.some((function(n){try{n.__h.forEach(xn),n.__h=n.__h.filter((function(n){return!n.__||wn(n)}))}catch(e){t.some((function(n){n.__h&&(n.__h=[])})),t=[],i.__e(e,n.__v)}})),rn&&rn(n,t)},i.unmount=function(n){on&&on(n);var t,e=n.__c;e&&e.__H&&(e.__H.__.forEach((function(n){try{xn(n)}catch(n){t=n}})),e.__H=void 0,t&&i.__e(t,e.__v))};var kn="function"==typeof requestAnimationFrame;function Nn(n){var t,e=function(){clearTimeout(_),kn&&cancelAnimationFrame(t),setTimeout(n)},_=setTimeout(e,100);kn&&(t=requestAnimationFrame(e))}function xn(n){var t=K,e=n.__c;"function"==typeof e&&(n.__c=void 0,e()),K=t}function wn(n){var t=K;n.__c=n.__(),K=t}function Sn(n,t){return!n||n.length!==t.length||t.some((function(t,e){return t!==n[e]}))}function Cn(n,t){return"function"==typeof t?t(n):t}export{hn as A,R as D,$ as E,pn as F,z as G,mn as P,U as S,dn as T,bn as V,an as _,G as a,w as b,sn as c,N as d,ln as h,x as k,i as l,fn as p,vn as q,cn as s,h as v,yn as x,g as y};