Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rax

Package Overview
Dependencies
Maintainers
5
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rax - npm Package Compare versions

Comparing version 1.2.3-beta.4 to 1.2.3

2

dist/rax.min.js

@@ -1,1 +0,1 @@

var n={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function t(n,t,i,r,u){return{type:n,key:t,ref:i,props:r,_owner:u}}function i(n){return null===n}function r(n){return"function"==typeof n}function u(n){return"object"==typeof n}function f(n){return"[object Object]"===a.toString.call(n)}function o(n){return Array.isArray(n)}function e(n){return"string"==typeof n}function s(n){return"number"==typeof n}function c(n){return!n}var h=function(){},a={};function v(n,t){if(o(n))for(var i=0,r=n.length;i<r;i++)v(n[i],t);else t.push(n)}function l(n){if(null==n)return n;var t=[];return v(n,t),t.length-1?t:t[0]}var p=[],d=[],_=[],x=setTimeout;function w(n){var t;while(t=n.shift())t()}function y(n){0===p.length&&x(b),p.push(n)}function b(){w(p)}function j(n){0===d.length&&x(O),d.push(n)}function O(){w(d)}function m(n){_.push(n)}function g(t,i,r){var u,o=void 0===r?"":" got: "+function(n){return f(n)?Object.keys(n):n}(r);return Error(t+": #"+i+", "+(((u=n.owner)?"check <"+u.u()+">":"no owner")+".")+o)}function k(n,t){throw g("Error",n,t)}function I(n,t){var i=g("Warn",n,t);x((function(){throw i}),0)}var A={key:!0,ref:!0};function C(i,r,u){var f,e={},s=null,c=null;if(null!=r)for(f in c=void 0===r.ref?null:r.ref,s=void 0===r.key?null:""+r.key,r)A[f]||(e[f]=r[f]);var a=arguments.length-2;if(a>0)if(1!==a||o(u)){var v=u;if(a>1){v=Array(a);for(var p=0;p<a;p++)v[p]=arguments[p+2]}e.children=l(v)}else e.children=u;if(i&&i.defaultProps){var d=i.defaultProps;for(f in d)void 0===e[f]&&(e[f]=d[f])}return null==i&&(i=h,I(0)),new t(i,s,c,e,n.owner)}function E(n,t,i){for(var r=0,u=n&&n.length;r<u;r++)n[r].call(t,i)}var P=a.hasOwnProperty;function D(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function S(n,t){if(D(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var r=Object.keys(n);if(r.length!==Object.keys(t).length)return!1;for(var f=0;f<r.length;f++)if(!P.call(t,r[f])||!D(n[r[f]],t[r[f]]))return!1;return!0}function U(){return n.owner&&n.owner._instance}function H(){var n=U();if(n)return n;k(1)}function N(n,t){if(i(t)||n.length!==t.length)return!1;for(var r=0;r<n.length;r++)if(!D(n[r],t[r]))return!1;return!0}function R(t){var i=H(),u=i.getHookID(),f=i.getHooks();if(!f[u]){r(t)&&(t=t());f[u]=[t,function(t){n.i||O();var o=f[u],e=o[2];r(t)&&(t=t(e)),D(t,e)||(o[2]=t,U()===i?i.o=!0:i.h())},t]}var o=f[u];return D(o[0],o[2])||(o[0]=o[2],i.v=!0),o}function T(n,t){V(n,t)}function V(n,t,i){var r=H(),u=r.getHookID(),f=r.getHooks();if(t=void 0===t?null:t,f[u]){var o=f[u],e=o.l,s=o.p;o.p=t,o._=s,e.current=n}else{var c=function n(t){if(!t&&i)return j((function(){return n(!0)}));var r=n.current;r&&(h.current=r(),n.current=null)},h=function n(t){if(!t&&i)return j((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};c.current=n,f[u]={l:c,j:h,_:t,p:t},r.didMount.push(c),r.willUnmount.push((function(){return h(!0)})),r.didUpdate.push((function(){var n=f[u],t=n.p,i=n.l;null!=t&&N(t,n._)||(h(),i())}))}}function W(n,t){var r=H(),u=r.getHookID(),f=r.getHooks();if(t=void 0===t?null:t,f[u]){var o=f[u][1];!i(t)&&N(t,o)||(f[u]=[n(),t])}else f[u]=[n(),t];return f[u][0]}function Z(n){return o(n)?n:[n]}function $(n,t){var i;while(n&&n._internal){if(t(n)){i=n;break}n=n._internal.O}return i}var q=0;function z(t){var r;return f(t)&&null!==t&&t.type?r=e(t.type)?new n.m(t):new n.g(t):e(t)||s(t)?r=new n.k(t+""):o(t)?r=new n.I(t):(void 0===t||i(t)||!1===t||!0===t||I(2,t),r=new n.A(t)),r}function B(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,F(n,t)}function F(n,t){return F=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},F(n,t)}var G=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),J=function(n){function t(t,i){var r;return(r=n.call(this,t,i)||this).C=!0,r}return B(t,n),t}(G),K=1,L=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=K++,t}B(t,n);var i=t.prototype;return i.S=function(){return this.U().S()},i.U=function(){return this._internal._renderedComponent},i.h=function(n){this.P=n,this.forceUpdate()},i.render=function(){return this.P},t}(G),M={set:function(t,i){t._r||(t._r=i,i.D&&(n.rootInstances[i.D]=i,n.rootComponents[i.D]=i._internal))},get:function(n){return n._r},remove:function(t){var i=this.get(t);i&&(t._r=null,i.D&&(delete n.rootComponents[i.D],delete n.rootInstances[i.D]))},mount:function(t,i,r){var u=r.parent,f=r.hydrate,o=n.driver;null==i&&(i=o.createBody());var e,s={element:t,container:i,hydrate:f};if(o.beforeRender&&o.beforeRender(s),u){var c=u._internal;e=c.H(c._context)}var h=this.get(i);if(h&&h.D)return e&&(h._internal.N=e),h.h(t),o.afterRender&&o.afterRender(s),h;var a=z(C(L)).R(i,u,e||{});return this.set(i,a),a.h(t),o.afterRender&&o.afterRender(s),a}};function Q(n,t,i){var r=n?n.ref:null,u=t?t.ref:null;r!==u&&(r&&Y(n._owner,r,i),u&&X(t._owner,u,i))}function X(n,t,i){if(n){var f=i.S();r(t)?t(f):u(t)?t.current=f:n._instance.refs[t]=f}else I(3)}function Y(n,t,i){if(r(t))t(null);else{var f=i.S();u(t)&&t.current===f?t.current=null:n._instance.refs[t]===f&&delete n._instance.refs[t]}}function nn(n,t){var i=c(n),r=c(t);return i||r?i===r:!(!o(n)||!o(t))||(e(n)||s(n)?e(t)||s(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function tn(n,t,i){var r=t?t.key:void 0,u="."+i.toString(36);if(e(r)){var f="$"+r;return void 0===n[f]?f:u}return u}function rn(t){var i=t;while(i=t.O&&t.O._internal)if(i instanceof n.g)t=i;else{for(var r=Object.keys(i.T),u=t.V-1;u>=0;u--){var f=i.T[r[u]].W();if(!o(f))return f;if(f.length>0)return f[f.length-1]}if(!(i instanceof n.I))return null;t=i}}var un=function(){function t(n){this.Z=n}var i=t.prototype;return i.$=function(t,i,r){this._parent=t,this.O=i,this._context=r,this._mountID=n.t++},i.q=function(){this.Z=this._nativeNode=this._parent=this.O=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},i.R=function(n,t,i,r){this.$(n,t,i),this.B(r);var u={};return u._internal=this,u},i.unmountComponent=function(t){this._nativeNode&&!t&&n.driver.removeChild(this._nativeNode,this._parent),this.q()},i.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},i.B=function(t){var i=this.W(),r=this._parent;t?t(i,r):n.driver.appendChild(i,r)},i.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},i.S=function(){return this.W()},t}(),fn=Object.assign,on=/^on[A-Z]/,en=function(t){function u(){return t.apply(this,arguments)||this}B(u,t);var f=u.prototype;return f.R=function(n,t,i,r){this.$(n,t,i);var u=this.Z,f=u.props,o=u.type,e=f.children,s=f.append||"tree";this.G=fn({},f.style);var c={type:o,props:f};return c._internal=this,this._instance=c,"tree"===s?(this.J(e,i),this.B(r)):(this.B(r),this.J(e,i)),u&&u.ref&&X(u._owner,u.ref,this),c},f.J=function(n,t){if(null==n)return n;var i=this.W();return this.K(i,Z(n),t)},f.K=function(n,t,i,r){for(var u=this.T={},f=[],o=0,e=t.length;o<e;o++){var s=t[o],c=z(s);u[tn(u,s,o)]=c,c.V=o;var h=c.R(n,this._instance,i,r);f.push(h)}return f},f.L=function(n){var t=this.T;if(t){for(var i in t){t[i].unmountComponent(n)}this.T=null}},f.unmountComponent=function(t){if(this._nativeNode){var i=this.Z.ref;i&&Y(this.Z._owner,i,this),M.remove(this._nativeNode),t||n.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},f.M=function(n,t,i,r){this.Z=t,Q(n,t,this);var u=n.props,f=t.props;this.X(u,f),null==u.children||o(u.children)&&0===u.children.length?this.J(f.children,r):this.Y(f.children,r)},f.X=function(t,i){var u,f,o,e=n.driver,s=this.W();for(u in t)if("children"!==u&&null!=t[u]&&!i.hasOwnProperty(u))if("style"===u){var c=this.G;for(f in c)(o=o||{})[f]="";this.G=null}else if(on.test(u)){var h=t[u];r(h)&&e.removeEventListener(s,u.slice(2).toLowerCase(),h)}else e.removeAttribute(s,u,t[u]);for(u in i){var a=i[u],v="style"===u?this.G:null!=t?t[u]:void 0;if("children"!==u&&v!==a&&(null!=a||null!=v))if("style"===u)if(a?a=this.G=fn({},a):this.G=null,null!=v){for(f in v)a&&(a[f]||0===a[f])||((o=o||{})[f]="");for(f in a)v[f]!==a[f]&&((o=o||{})[f]=a[f])}else o=a;else if(on.test(u)){var l=u.slice(2).toLowerCase();r(v)&&e.removeEventListener(s,l,v,i),r(a)&&e.addEventListener(s,l,a,i)}else null!=a?e.setAttribute(s,u,a):e.removeAttribute(s,u,t[u])}o&&e.setStyle(s,o)},f.Y=function(t,r){var u=this.T,f=n.driver;if(null!=t||null!=u){var e={};if(null!=t)for(var s=0,c=(t=Z(t)).length;s<c;s++){var h=t[s],a=tn(e,h,s),v=u&&u[a],l=v&&v.Z,p=v&&v._context;null!=v&&nn(l,h)?(l===h&&p===r||v.M(l,h,r,r),e[a]=v):(v&&(v.nn=!0),e[a]=z(h))}var d=this.W(),_=o(d),x=null,w=null,y=!1,b=!1,j=null,O=!(!f.removeChildren||!(i(t)||t&&!t.length)||_);if(null!=u){for(var m in u){var g=u[m],k=g.nn||!e[m];x?k&&g.unmountComponent(O):(b=k,o(w=(x=g).W())&&(y=0===w.length,w=w[0]))}(_&&0===d.length||y)&&(j=rn(this))}if(null!=e){var I=function(n,t){for(var i=0,r=(n=Z(n)).length;i<r;i++)j?f.insertAfter(n[r-1-i],j):w?f.insertBefore(n[i],w):t&&f.appendChild(n[i],t)},A=0;for(var C in e){var E=e[C],P=u&&u[C];if(P===E){var D=P.W();P.V!==A&&I(D)}else _&&(d=this._parent),E.R(d,this._instance,r,I);E.V=A++,o(j=E.W())&&(j=j[j.length-1])}}b&&x.unmountComponent(O),O&&f.removeChildren(this._nativeNode),this.T=e}},f.F=function(){var t=this._instance,i=n.driver.createElement(t.type,t.props,this);return M.set(i,t),i},u}(un),sn=function(n){function t(t,i){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.v=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=a,t._forwardRef&&(r.cn=r._forwardRef=i);var u=t.hn;return u&&(r.shouldComponentUpdate=function(n){for(var t=!0,i=u.length-1;i>-1;i--)if(t=u[i](r.props,n))break;return!t||r.cn!==r._forwardRef}),r}B(t,n);var i=t.prototype;return i.getHooks=function(){return this.on},i.getHookID=function(){return++this.un},i.useContext=function(n){var t=this,i=n._contextID,r=this.sn[i];if(!r){var u=n.an(this);if(r=this.sn[i]={vn:u},u){var f=function(n){r.ln!==n&&(t.v=!0,t.h())};u.pn(f),this.willUnmount.push((function(){return u.dn(f)}))}}return r.ln=r.vn?r.vn.getValue():n._defaultValue},i.componentWillMount=function(){this.v=!0},i.componentDidMount=function(){E(this.didMount)},i.componentWillReceiveProps=function(){this.v=!0},i.componentDidUpdate=function(){E(this.didUpdate)},i.componentWillUnmount=function(){E(this.willUnmount)},i.h=function(){this.setState(a)},i.render=function(){this.un=0,this.fn=0,this.o=!1;var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);while(this.o)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.v&&(this.en=n,this.v=!1),this.en},t}(G),cn=[];function hn(n){return n._n}function an(t){var i=t._internal;if(i){n.i=!0;var r=i.Z,u=i._context,f=i.N||u;i.N=void 0,(hn(i)||i.xn)&&(i.M(r,r,u,f),w(_)),n.i=!1}}function vn(n,t){return t._internal._mountID-n._internal._mountID}function ln(){if(n.i)return y(ln);var t,i=cn;if(i.length>0){O(),cn=[],i.length>1&&(i=i.filter((function(n){return!!n._internal})).sort(vn));while(t=i.pop())an(t)}}function pn(n,t){if(cn.indexOf(n)<0&&cn.push(n),t){if(cn.length>1)return;y(ln)}else ln()}function dn(n,t,i){var r=n._internal;if(r){i&&function(n,t){var i=function(n){return n.wn}(n)||function(n){return n.wn=[]}(n);i.push(t)}(r,i);var u=r._renderedComponent;t?(n.tn&&(r.xn=!0),function(n,t){var i=hn(n)||function(n){return n._n=[]}(n);i.push(t)}(r,t),!r.yn&&u&&pn(n,!0)):(r.xn=!0,u&&pn(n))}}var _n={setState:function(t,i,r){n.i||O(),dn(t,i,r)},forceUpdate:function(n,t){dn(n,null,t)}};function xn(n,t,i){try{return n()}catch(n){i?i(n):function(n,t){var i=$(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));i?m((function(){var n=i._internal;n&&xn((function(){if(i.componentDidCatch&&i.componentDidCatch(t),i.constructor&&i.constructor.getDerivedStateFromError){var n=i.constructor.getDerivedStateFromError(t);i.setState(n)}}),n.O)})):x((function(){throw t}),0)}(t,n)}}function wn(n,t){m((function(){xn(n,t)}))}function yn(n,t){n&&wn((function(){E(n,t)}),t)}var bn=function(t){function i(){return t.apply(this,arguments)||this}B(i,t);var u=i.prototype;return u.R=function(t,i,u,f){this.$(t,i,u);var o,e,s=this.Z,c=s.type,h=s.ref,a=s.props,v=c.prototype,l=this.bn(u);if(xn((function(){v&&v.render?o=new c(a,l):r(c)?o=new sn(c,h):k(6,c)}),i),o){o.props=a,o.context=l,o.refs={},o.updater=_n,o._internal=this,this._instance=o;var p=o.state;void 0===p&&(o.state=p=null),o.componentWillMount&&xn((function(){o.componentWillMount()}),o),n.owner=this,o.state=this.jn(a,l);var d=this.wn;return this.wn=null,xn((function(){e=o.render()}),o),n.owner=null,this._renderedComponent=z(e),this._renderedComponent.R(this._parent,o,this.H(u),f),!s.type._forwardRef&&h&&X(s._owner,h,this),o.componentDidMount&&wn((function(){o.componentDidMount()}),o),yn(d,o),o}},u.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&xn((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var i=this.Z,r=i.ref;!i.type._forwardRef&&r&&Y(i._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this._n=null,this.xn=!1,this.q()},u.bn=function(n){var t={},i=this.Z.type.contextTypes;if(i)for(var r in i)t[r]=n[r];return t},u.H=function(n){var t=this._instance,i=t.getChildContext&&t.getChildContext();return i?fn({},n,i):n},u.jn=function(n,t){var i=this._instance,u=this._n;if(!u)return i.state;this._n=null;for(var f=fn({},i.state),o=0;o<u.length;o++){var e=u[o];fn(f,r(e)?e.call(i,f,n,t):e)}return f},u.M=function(n,t,i,r){var u=this,f=this._instance;f&&xn((function(){var i,o,e;u._context===r?o=f.context:(o=u.bn(r),i=!0),e=t.props,n!==t&&(i=!0),i&&f.componentWillReceiveProps&&(u.yn=!0,f.componentWillReceiveProps(e,o),u.yn=!1),u.Z.type._forwardRef?(f.cn=n.ref,f._forwardRef=t.ref):Q(n,t,u);var s=!0,c=f.props,h=f.state,a=u.jn(e,o),v=u.wn;if(u.wn=null,u.xn||(f.shouldComponentUpdate?s=f.shouldComponentUpdate(e,a,o):f.C&&(s=!S(c,e)||!S(h,a))),s){u.xn=!1;var l=f.context;f.componentWillUpdate&&f.componentWillUpdate(e,a,o),u.Z=t,u._context=r,f.props=e,f.state=a,f.context=o,u.On(r),f.componentDidUpdate&&wn((function(){f.componentDidUpdate(c,h,l)}),f)}else u.Z=t,u._context=r,f.props=e,f.state=a,f.context=o;yn(v,f)}),f)},u.On=function(t){var i,r=this._renderedComponent,u=r.Z,f=this._instance;if(n.owner=this,i=f.render(),n.owner=null,nn(u,i)){var e=r._context,s=this.H(t);u===i&&e===s||r.M(u,i,e,s)}else{var c=null,h=r.W();o(h)&&0===h.length&&null==f.D&&(c=rn(r)),r.unmountComponent(!0),this._renderedComponent=z(i),this._renderedComponent.R(this._parent,f,this.H(t),(function(t,i){var r=n.driver;h=Z(h),t=Z(t);for(var u=0;u<t.length;u++){var f=t[u];h[u]?r.replaceChild(f,h[u]):c?r.insertAfter(f,c):r.appendChild(f,i),c=f}for(var o=t.length;o<h.length;o++)r.removeChild(h[o])}))}},u.W=function(){var n=this._renderedComponent;if(n)return n.W()},u.S=function(){var n=this._instance;return n.tn?null:n},i}(un),jn=function(t){function i(){return t.apply(this,arguments)||this}B(i,t);var r=i.prototype;return r.M=function(t,i){t!==(i=""+i)&&(this.Z=i,n.driver.updateText(this.W(),i))},r.F=function(){return n.driver.createText(this.Z,this)},i}(un),On=function(t){function i(){return t.apply(this,arguments)||this}B(i,t);var r=i.prototype;return r.R=function(t,i,r,u){this.$(t,i,r);var f=this._instance={};f._internal=this;var o=[];if(this.K(this._parent,this.Z,r,(function(n){n=Z(n);for(var t=0;t<n.length;t++)o.push(n[t])})),u)u(o,t);else for(var e=0;e<o.length;e++)n.driver.appendChild(o[e],t);return f},r.unmountComponent=function(t){if(!t)for(var i=this.W(),r=0,u=i.length;r<u;r++)n.driver.removeChild(i[r]);this.L(!0),this.q()},r.M=function(n,t,i,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},i}(en),mn=function(t){function i(){return t.apply(this,arguments)||this}B(i,t);var r=i.prototype;return r.F=function(){return n.driver.createEmpty(this)},r.M=function(){},i}(un);n.A=mn,n.m=en,n.k=jn,n.I=On,n.g=bn;var gn={Host:n,Instance:M,Element:t,flattenChildren:l};exports.Component=G,exports.Fragment=function(n){return n.children},exports.PureComponent=J,exports.createContext=function(n){var t="_c"+q++;function i(n){return $(n,(function(n){return n.mn===t}))}return{Provider:function(){function i(){this.mn=t,this.gn=[]}var r=i.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&E(this.gn,null,this.getValue())},r.render=function(){return this.props.children},i}(),Consumer:function(u,f){var o=this,e=R((function(){return f[t]||i(o)}))[0],s=e?e.getValue():n,c=R(s),h=c[1];if(s===c[0]){T((function(){if(e)return e.pn(h),function(){e.dn(h)}}),[]);var a=Z(u.children)[0];return r(a)?a(s):void 0}h(s)},_contextID:t,_defaultValue:n,an:i}},exports.createElement=C,exports.createRef=function(){return{current:null}},exports.forwardRef=function(n){return n._forwardRef=!0,n},exports.memo=function(n,t){return t=t||S,n.hn?n.hn.push(t):n.hn=[t],n},exports.render=function(t,i,u,f){r(u)&&(f=u,u=null),(n.driver=(u=u||a).driver||n.driver)||k(5);var o=M.mount(t,i,u).S();return f&&f.call(o),o},exports.shared=gn,exports.useCallback=function(n,t){return W((function(){return n}),t)},exports.useContext=function(n){return H().useContext(n)},exports.useEffect=function(n,t){V(n,t,!0)},exports.useImperativeHandle=function(n,t,i){T((function(){return r(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),o(i)?i.concat([n]):null)},exports.useLayoutEffect=T,exports.useMemo=W,exports.useReducer=function(t,i,u){var f=H(),o=f.getHookID(),e=f.getHooks(),s=e[o];if(!s){var c=r(u)?u(i):i;return e[o]=[c,function(t){n.i||O();var i=e[o][2];if(U()===f)i.kn.push(t),f.o=!0;else{var r=i.In,u=(0,i.An)(r,t);if(D(u,r))return;i.In=u,i.kn.push(t),f.h()}},{kn:[],An:t,In:c}]}var h=s[2],a=s[0];if(f.fn>0)for(var v=0;v<h.kn.length;v++)a=t(a,h.kn[v]);else a=h.In;return D(a,s[0])||(s[0]=a,f.v=!0),h.An=t,h.In=a,h.kn.length=0,e[o]},exports.useRef=function(n){var t=H(),i=t.getHookID(),r=t.getHooks();return r[i]||(r[i]={current:n}),r[i]},exports.useState=R,exports.version="1.2.3";
var n={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function t(n,t,i,r,u){return{type:n,key:t,ref:i,props:r,_owner:u}}function i(n){return null===n}function r(n){return"function"==typeof n}function u(n){return"object"==typeof n}function f(n){return"[object Object]"===a.toString.call(n)}function o(n){return Array.isArray(n)}function e(n){return"string"==typeof n}function s(n){return"number"==typeof n}function c(n){return!n}var h=function(){},a={};function v(n,t){if(o(n))for(var i=0,r=n.length;i<r;i++)v(n[i],t);else t.push(n)}function l(n){if(null==n)return n;var t=[];return v(n,t),t.length-1?t:t[0]}var p=[],d=[],_=[],x=setTimeout;function w(n){var t;while(t=n.shift())t()}function b(n){0===p.length&&x(y),p.push(n)}function y(){w(p)}function j(n){0===d.length&&x(m),d.push(n)}function m(){w(d)}function O(n){_.push(n)}function g(t,i,r){var u,o=void 0===r?"":" got: "+function(n){return f(n)?Object.keys(n):n}(r);return Error(t+": #"+i+", "+(((u=n.owner)?"check <"+u.u()+">":"no owner")+".")+o)}function k(n,t){throw g("Error",n,t)}function I(n,t){var i=g("Warn",n,t);x((function(){throw i}),0)}var C={key:!0,ref:!0};function A(i,r,u){var f,e={},s=null,c=null;if(null!=r)for(f in c=void 0===r.ref?null:r.ref,s=void 0===r.key?null:""+r.key,r)C[f]||(e[f]=r[f]);var a=arguments.length-2;if(a>0)if(1!==a||o(u)){var v=u;if(a>1){v=Array(a);for(var p=0;p<a;p++)v[p]=arguments[p+2]}e.children=l(v)}else e.children=u;if(i&&i.defaultProps){var d=i.defaultProps;for(f in d)void 0===e[f]&&(e[f]=d[f])}return null==i&&(i=h,I(0)),new t(i,s,c,e,n.owner)}function E(n,t,i){for(var r=0,u=n&&n.length;r<u;r++)n[r].call(t,i)}var P=a.hasOwnProperty;function D(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function N(n,t){if(D(n,t))return!0;if(!u(n)||i(n)||!u(t)||i(t))return!1;var r=Object.keys(n);if(r.length!==Object.keys(t).length)return!1;for(var f=0;f<r.length;f++)if(!P.call(t,r[f])||!D(n[r[f]],t[r[f]]))return!1;return!0}var S="_internal",U="_instance",H="_nativeNode",R="_renderedComponent";function T(){return n.owner&&n.owner[U]}function V(){var n=T();if(n)return n;k(1)}function W(n,t){if(i(t)||n.length!==t.length)return!1;for(var r=0;r<n.length;r++)if(!D(n[r],t[r]))return!1;return!0}function Z(t){var i=V(),u=i.getHookID(),f=i.getHooks();if(!f[u]){r(t)&&(t=t());f[u]=[t,function(t){n.i||m();var o=f[u],e=o[2];r(t)&&(t=t(e)),D(t,e)||(o[2]=t,T()===i?i.o=!0:i.h())},t]}var o=f[u];return D(o[0],o[2])||(o[0]=o[2],i.v=!0),o}function $(n,t){q(n,t)}function q(n,t,i){var r=V(),u=r.getHookID(),f=r.getHooks();if(t=void 0===t?null:t,f[u]){var o=f[u],e=o.l,s=o.p;o.p=t,o._=s,e.current=n}else{var c=function n(t){if(!t&&i)return j((function(){return n(!0)}));var r=n.current;r&&(h.current=r(),n.current=null)},h=function n(t){if(!t&&i)return j((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};c.current=n,f[u]={l:c,j:h,_:t,p:t},r.didMount.push(c),r.willUnmount.push((function(){return h(!0)})),r.didUpdate.push((function(){var n=f[u],t=n.p,i=n.l;null!=t&&W(t,n._)||(h(),i())}))}}function z(n,t){var r=V(),u=r.getHookID(),f=r.getHooks();if(t=void 0===t?null:t,f[u]){var o=f[u][1];!i(t)&&W(t,o)||(f[u]=[n(),t])}else f[u]=[n(),t];return f[u][0]}function B(n){return o(n)?n:[n]}function F(n,t){var i;while(n&&n[S]){if(t(n)){i=n;break}n=n[S].m}return i}var G=0;function J(t){var r;return f(t)&&null!==t&&t.type?r=e(t.type)?new n.O(t):new n.g(t):e(t)||s(t)?r=new n.k(t+""):o(t)?r=new n.I(t):(void 0===t||i(t)||!1===t||!0===t||I(2,t),r=new n.C(t)),r}function K(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,L(n,t)}function L(n,t){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},L(n,t)}var M=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),Q=function(n){function t(t,i){var r;return(r=n.call(this,t,i)||this).A=!0,r}return K(t,n),t}(M),X=1,Y=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.D=X++,t}K(t,n);var i=t.prototype;return i.N=function(){return this.S().N()},i.S=function(){return this[S][R]},i.h=function(n){this.P=n,this.forceUpdate()},i.render=function(){return this.P},t}(M),nn="_r",tn={set:function(t,i){t[nn]||(t[nn]=i,i.D&&(n.rootInstances[i.D]=i,n.rootComponents[i.D]=i[S]))},get:function(n){return n[nn]},remove:function(t){var i=this.get(t);i&&(t[nn]=null,i.D&&(delete n.rootComponents[i.D],delete n.rootInstances[i.D]))},mount:function(t,i,r){var u=r.parent,f=r.hydrate,o=n.driver;null==i&&(i=o.createBody());var e,s={element:t,container:i,hydrate:f};if(o.beforeRender&&o.beforeRender(s),u){var c=u[S];e=c.U(c._context)}var h=this.get(i);if(h&&h.D)return e&&(h[S].H=e),h.h(t),o.afterRender&&o.afterRender(s),h;var a=J(A(Y)).R(i,u,e||{});return this.set(i,a),a.h(t),o.afterRender&&o.afterRender(s),a}};function rn(n,t,i){var r=n?n.ref:null,u=t?t.ref:null;r!==u&&(r&&fn(n._owner,r,i),u&&un(t._owner,u,i))}function un(n,t,i){if(n){var f=i.N();r(t)?t(f):u(t)?t.current=f:n[U].refs[t]=f}else I(3)}function fn(n,t,i){if(r(t))t(null);else{var f=i.N();u(t)&&t.current===f?t.current=null:n[U].refs[t]===f&&delete n[U].refs[t]}}function on(n,t){var i=c(n),r=c(t);return i||r?i===r:!(!o(n)||!o(t))||(e(n)||s(n)?e(t)||s(t):u(n)&&u(t)&&n.type===t.type&&n.key===t.key)}function en(n,t,i){var r=t?t.key:void 0,u="."+i.toString(36);if(e(r)){var f="$"+r;return void 0===n[f]?f:u}return u}function sn(t){var i=t;while(i=t.m&&t.m[S])if(i instanceof n.g)t=i;else{for(var r=Object.keys(i.T),u=t.V-1;u>=0;u--){var f=i.T[r[u]].W();if(!o(f))return f;if(f.length>0)return f[f.length-1]}if(!(i instanceof n.I))return null;t=i}}var cn=function(){function t(n){this.Z=n}var i=t.prototype;return i.$=function(t,i,r){this._parent=t,this.m=i,this._context=r,this._mountID=n.t++},i.q=function(){this.Z=this[H]=this._parent=this.m=this._context=null,this[U]&&(this[U]=this[U][S]=null)},i.R=function(n,t,i,r){this.$(n,t,i),this.B(r);var u={};return u[S]=this,u},i.unmountComponent=function(t){this[H]&&!t&&n.driver.removeChild(this[H],this._parent),this.q()},i.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},i.B=function(t){var i=this.W(),r=this._parent;t?t(i,r):n.driver.appendChild(i,r)},i.W=function(){return null==this[H]?this[H]=this.F():this[H]},i.N=function(){return this.W()},t}(),hn=Object.assign,an="style",vn="children",ln="tree",pn=/^on[A-Z]/,dn=function(t){function u(){return t.apply(this,arguments)||this}K(u,t);var f=u.prototype;return f.R=function(n,t,i,r){this.$(n,t,i);var u=this.Z,f=u.props,o=u.type,e=f[vn],s=f.append||ln;this.G=hn({},f[an]);var c={type:o,props:f};return c[S]=this,this[U]=c,s===ln?(this.J(e,i),this.B(r)):(this.B(r),this.J(e,i)),u&&u.ref&&un(u._owner,u.ref,this),c},f.J=function(n,t){if(null==n)return n;var i=this.W();return this.K(i,B(n),t)},f.K=function(n,t,i,r){for(var u=this.T={},f=[],o=0,e=t.length;o<e;o++){var s=t[o],c=J(s);u[en(u,s,o)]=c,c.V=o;var h=c.R(n,this[U],i,r);f.push(h)}return f},f.L=function(n){var t=this.T;if(t){for(var i in t){t[i].unmountComponent(n)}this.T=null}},f.unmountComponent=function(t){if(this[H]){var i=this.Z.ref;i&&fn(this.Z._owner,i,this),tn.remove(this[H]),t||n.driver.removeChild(this[H],this._parent)}this.L(!0),this.G=null,this.q()},f.M=function(n,t,i,r){this.Z=t,rn(n,t,this);var u=n.props,f=t.props;this.X(u,f),null==u[vn]||o(u[vn])&&0===u[vn].length?this.J(f[vn],r):this.Y(f[vn],r)},f.X=function(t,i){var u,f,o,e=n.driver,s=this.W();for(u in t)if(u!==vn&&null!=t[u]&&!i.hasOwnProperty(u))if(u===an){var c=this.G;for(f in c)(o=o||{})[f]="";this.G=null}else if(pn.test(u)){var h=t[u];r(h)&&e.removeEventListener(s,u.slice(2).toLowerCase(),h)}else e.removeAttribute(s,u,t[u]);for(u in i){var a=i[u],v=u===an?this.G:null!=t?t[u]:void 0;if(u!==vn&&v!==a&&(null!=a||null!=v))if(u===an)if(a?a=this.G=hn({},a):this.G=null,null!=v){for(f in v)a&&(a[f]||0===a[f])||((o=o||{})[f]="");for(f in a)v[f]!==a[f]&&((o=o||{})[f]=a[f])}else o=a;else if(pn.test(u)){var l=u.slice(2).toLowerCase();r(v)&&e.removeEventListener(s,l,v,i),r(a)&&e.addEventListener(s,l,a,i)}else null!=a?e.setAttribute(s,u,a):e.removeAttribute(s,u,t[u])}o&&e.setStyle(s,o)},f.Y=function(t,r){var u=this.T,f=n.driver;if(null!=t||null!=u){var e={};if(null!=t)for(var s=0,c=(t=B(t)).length;s<c;s++){var h=t[s],a=en(e,h,s),v=u&&u[a],l=v&&v.Z,p=v&&v._context;null!=v&&on(l,h)?(l===h&&p===r||v.M(l,h,r,r),e[a]=v):(v&&(v.nn=!0),e[a]=J(h))}var d=this.W(),_=o(d),x=null,w=null,b=!1,y=!1,j=null,m=!(!f.removeChildren||!(i(t)||t&&!t.length)||_);if(null!=u){for(var O in u){var g=u[O],k=g.nn||!e[O];x?k&&g.unmountComponent(m):(y=k,o(w=(x=g).W())&&(b=0===w.length,w=w[0]))}(_&&0===d.length||b)&&(j=sn(this))}if(null!=e){var I=function(n,t){for(var i=0,r=(n=B(n)).length;i<r;i++)j?f.insertAfter(n[r-1-i],j):w?f.insertBefore(n[i],w):t&&f.appendChild(n[i],t)},C=0;for(var A in e){var E=e[A],P=u&&u[A];if(P===E){var D=P.W();P.V!==C&&I(D)}else _&&(d=this._parent),E.R(d,this[U],r,I);E.V=C++,o(j=E.W())&&(j=j[j.length-1])}}y&&x.unmountComponent(m),m&&f.removeChildren(this[H]),this.T=e}},f.F=function(){var t=this[U],i=n.driver.createElement(t.type,t.props,this);return tn.set(i,t),i},u}(cn),_n=function(n){function t(t,i){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.v=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=a,t._forwardRef&&(r.cn=r._forwardRef=i);var u=t.hn;return u&&(r.shouldComponentUpdate=function(n){for(var t=!0,i=u.length-1;i>-1;i--)if(t=u[i](r.props,n))break;return!t||r.cn!==r._forwardRef}),r}K(t,n);var i=t.prototype;return i.getHooks=function(){return this.on},i.getHookID=function(){return++this.un},i.useContext=function(n){var t=this,i=n._contextID,r=this.sn[i];if(!r){var u=n.an(this);if(r=this.sn[i]={vn:u},u){var f=function(n){r.ln!==n&&(t.v=!0,t.h())};u.pn(f),this.willUnmount.push((function(){return u.dn(f)}))}}return r.ln=r.vn?r.vn.getValue():n._defaultValue},i.componentWillMount=function(){this.v=!0},i.componentDidMount=function(){E(this.didMount)},i.componentWillReceiveProps=function(){this.v=!0},i.componentDidUpdate=function(){E(this.didUpdate)},i.componentWillUnmount=function(){E(this.willUnmount)},i.h=function(){this.setState(a)},i.render=function(){this.un=0,this.fn=0,this.o=!1;var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);while(this.o)this.fn++,this.fn>24&&k(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.v&&(this.en=n,this.v=!1),this.en},t}(M),xn=[];function wn(n){return n._n}function bn(t){var i=t[S];if(i){n.i=!0;var r=i.Z,u=i._context,f=i.H||u;i.H=void 0,(wn(i)||i.xn)&&(i.M(r,r,u,f),w(_)),n.i=!1}}function yn(n,t){return t[S]._mountID-n[S]._mountID}function jn(){if(n.i)return b(jn);var t,i=xn;if(i.length>0){m(),xn=[],i.length>1&&(i=i.filter((function(n){return!!n[S]})).sort(yn));while(t=i.pop())bn(t)}}function mn(n,t){if(xn.indexOf(n)<0&&xn.push(n),t){if(xn.length>1)return;b(jn)}else jn()}function On(n,t,i){var r=n[S];if(r){i&&function(n,t){var i=function(n){return n.wn}(n)||function(n){return n.wn=[]}(n);i.push(t)}(r,i);var u=r[R];t?(n.tn&&(r.xn=!0),function(n,t){var i=wn(n)||function(n){return n._n=[]}(n);i.push(t)}(r,t),!r.bn&&u&&mn(n,!0)):(r.xn=!0,u&&mn(n))}}var gn={setState:function(t,i,r){n.i||m(),On(t,i,r)},forceUpdate:function(n,t){On(n,null,t)}};function kn(n,t,i){try{return n()}catch(n){i?i(n):function(n,t){var i=F(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));i?O((function(){var n=i[S];n&&kn((function(){if(i.componentDidCatch&&i.componentDidCatch(t),i.constructor&&i.constructor.getDerivedStateFromError){var n=i.constructor.getDerivedStateFromError(t);i.setState(n)}}),n.m)})):x((function(){throw t}),0)}(t,n)}}function In(n,t){O((function(){kn(n,t)}))}function Cn(n,t){n&&In((function(){E(n,t)}),t)}var An=function(t){function i(){return t.apply(this,arguments)||this}K(i,t);var u=i.prototype;return u.R=function(t,i,u,f){this.$(t,i,u);var o,e,s=this.Z,c=s.type,h=s.ref,a=s.props,v=c.prototype,l=this.yn(u);if(kn((function(){v&&v.render?o=new c(a,l):r(c)?o=new _n(c,h):k(6,c)}),i),o){o.props=a,o.context=l,o.refs={},o.updater=gn,o[S]=this,this[U]=o;var p=o.state;void 0===p&&(o.state=p=null),o.componentWillMount&&kn((function(){o.componentWillMount()}),o),n.owner=this,o.state=this.jn(a,l);var d=this.wn;return this.wn=null,kn((function(){e=o.render()}),o),n.owner=null,this[R]=J(e),this[R].R(this._parent,o,this.U(u),f),!s.type._forwardRef&&h&&un(s._owner,h,this),o.componentDidMount&&In((function(){o.componentDidMount()}),o),Cn(d,o),o}},u.unmountComponent=function(n){var t=this[U];if(t&&t.componentWillUnmount&&kn((function(){t.componentWillUnmount()}),t),null!=this[R]){var i=this.Z,r=i.ref;!i.type._forwardRef&&r&&fn(i._owner,r,this),this[R].unmountComponent(n),this[R]=null}this._n=null,this.xn=!1,this.q()},u.yn=function(n){var t={},i=this.Z.type.contextTypes;if(i)for(var r in i)t[r]=n[r];return t},u.U=function(n){var t=this[U],i=t.getChildContext&&t.getChildContext();return i?hn({},n,i):n},u.jn=function(n,t){var i=this[U],u=this._n;if(!u)return i.state;this._n=null;for(var f=hn({},i.state),o=0;o<u.length;o++){var e=u[o];hn(f,r(e)?e.call(i,f,n,t):e)}return f},u.M=function(n,t,i,r){var u=this,f=this[U];f&&kn((function(){var i,o,e;u._context===r?o=f.context:(o=u.yn(r),i=!0),e=t.props,n!==t&&(i=!0),i&&f.componentWillReceiveProps&&(u.bn=!0,f.componentWillReceiveProps(e,o),u.bn=!1),u.Z.type._forwardRef?(f.cn=n.ref,f._forwardRef=t.ref):rn(n,t,u);var s=!0,c=f.props,h=f.state,a=u.jn(e,o),v=u.wn;if(u.wn=null,u.xn||(f.shouldComponentUpdate?s=f.shouldComponentUpdate(e,a,o):f.A&&(s=!N(c,e)||!N(h,a))),s){u.xn=!1;var l=f.context;f.componentWillUpdate&&f.componentWillUpdate(e,a,o),u.Z=t,u._context=r,f.props=e,f.state=a,f.context=o,u.mn(r),f.componentDidUpdate&&In((function(){f.componentDidUpdate(c,h,l)}),f)}else u.Z=t,u._context=r,f.props=e,f.state=a,f.context=o;Cn(v,f)}),f)},u.mn=function(t){var i,r=this[R],u=r.Z,f=this[U];if(n.owner=this,i=f.render(),n.owner=null,on(u,i)){var e=r._context,s=this.U(t);u===i&&e===s||r.M(u,i,e,s)}else{var c=null,h=r.W();o(h)&&0===h.length&&null==f.D&&(c=sn(r)),r.unmountComponent(!0),this[R]=J(i),this[R].R(this._parent,f,this.U(t),(function(t,i){var r=n.driver;h=B(h),t=B(t);for(var u=0;u<t.length;u++){var f=t[u];h[u]?r.replaceChild(f,h[u]):c?r.insertAfter(f,c):r.appendChild(f,i),c=f}for(var o=t.length;o<h.length;o++)r.removeChild(h[o])}))}},u.W=function(){var n=this[R];if(n)return n.W()},u.N=function(){var n=this[U];return n.tn?null:n},i}(cn),En=function(t){function i(){return t.apply(this,arguments)||this}K(i,t);var r=i.prototype;return r.M=function(t,i){t!==(i=""+i)&&(this.Z=i,n.driver.updateText(this.W(),i))},r.F=function(){return n.driver.createText(this.Z,this)},i}(cn),Pn=function(t){function i(){return t.apply(this,arguments)||this}K(i,t);var r=i.prototype;return r.R=function(t,i,r,u){this.$(t,i,r);var f=this[U]={};f[S]=this;var o=[];if(this.K(this._parent,this.Z,r,(function(n){n=B(n);for(var t=0;t<n.length;t++)o.push(n[t])})),u)u(o,t);else for(var e=0;e<o.length;e++)n.driver.appendChild(o[e],t);return f},r.unmountComponent=function(t){if(!t)for(var i=this.W(),r=0,u=i.length;r<u;r++)n.driver.removeChild(i[r]);this.L(!0),this.q()},r.M=function(n,t,i,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.T||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},i}(dn),Dn=function(t){function i(){return t.apply(this,arguments)||this}K(i,t);var r=i.prototype;return r.F=function(){return n.driver.createEmpty(this)},r.M=function(){},i}(cn);n.C=Dn,n.O=dn,n.k=En,n.I=Pn,n.g=An;var Nn={Host:n,Instance:tn,Element:t,flattenChildren:l};exports.Component=M,exports.Fragment=function(n){return n.children},exports.PureComponent=Q,exports.createContext=function(n){var t="_c"+G++;function i(n){return F(n,(function(n){return n.On===t}))}return{Provider:function(){function i(){this.On=t,this.gn=[]}var r=i.prototype;return r.pn=function(n){this.gn.push(n)},r.dn=function(n){this.gn=this.gn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&E(this.gn,null,this.getValue())},r.render=function(){return this.props.children},i}(),Consumer:function(u,f){var o=this,e=Z((function(){return f[t]||i(o)}))[0],s=e?e.getValue():n,c=Z(s),h=c[1];if(s===c[0]){$((function(){if(e)return e.pn(h),function(){e.dn(h)}}),[]);var a=B(u.children)[0];return r(a)?a(s):void 0}h(s)},_contextID:t,_defaultValue:n,an:i}},exports.createElement=A,exports.createRef=function(){return{current:null}},exports.forwardRef=function(n){return n._forwardRef=!0,n},exports.memo=function(n,t){return t=t||N,n.hn?n.hn.push(t):n.hn=[t],n},exports.render=function(t,i,u,f){r(u)&&(f=u,u=null),(n.driver=(u=u||a).driver||n.driver)||k(5);var o=tn.mount(t,i,u).N();return f&&f.call(o),o},exports.shared=Nn,exports.useCallback=function(n,t){return z((function(){return n}),t)},exports.useContext=function(n){return V().useContext(n)},exports.useEffect=function(n,t){q(n,t,!0)},exports.useImperativeHandle=function(n,t,i){$((function(){return r(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),o(i)?i.concat([n]):null)},exports.useLayoutEffect=$,exports.useMemo=z,exports.useReducer=function(t,i,u){var f=V(),o=f.getHookID(),e=f.getHooks(),s=e[o];if(!s){var c=r(u)?u(i):i;return e[o]=[c,function(t){n.i||m();var i=e[o][2];if(T()===f)i.kn.push(t),f.o=!0;else{var r=i.In,u=(0,i.Cn)(r,t);if(D(u,r))return;i.In=u,i.kn.push(t),f.h()}},{kn:[],Cn:t,In:c}]}var h=s[2],a=s[0];if(f.fn>0)for(var v=0;v<h.kn.length;v++)a=t(a,h.kn[v]);else a=h.In;return D(a,s[0])||(s[0]=a,f.v=!0),h.Cn=t,h.In=a,h.kn.length=0,e[o]},exports.useRef=function(n){var t=V(),i=t.getHookID(),r=t.getHooks();return r[i]||(r[i]={current:n}),r[i]},exports.useState=Z,exports.version="1.2.3";

@@ -1,1 +0,1 @@

!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).Rax={})}(this,(function(n){var t={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function i(n,t,i,r,u){return{type:n,key:t,ref:i,props:r,_owner:u}}function r(n){return null===n}function u(n){return"function"==typeof n}function f(n){return"object"==typeof n}function o(n){return"[object Object]"===l.toString.call(n)}function e(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function c(n){return"number"==typeof n}function h(n){return!n}var a=function(){},l={};function v(n,t){if(e(n))for(var i=0,r=n.length;i<r;i++)v(n[i],t);else t.push(n)}function d(n){if(null==n)return n;var t=[];return v(n,t),t.length-1?t:t[0]}var _=[],p=[],w=[],b=setTimeout;function y(n){var t;while(t=n.shift())t()}function j(n){0===_.length&&b(m),_.push(n)}function m(){y(_)}function O(n){0===p.length&&b(g),p.push(n)}function g(){y(p)}function k(n){w.push(n)}function I(n,i,r){var u,f=void 0===r?"":" got: "+function(n){return o(n)?Object.keys(n):n}(r);return Error(n+": #"+i+", "+(((u=t.owner)?"check <"+u.u()+">":"no owner")+".")+f)}function x(n,t){throw I("Error",n,t)}function A(n,t){var i=I("Warn",n,t);b((function(){throw i}),0)}var C={key:!0,ref:!0};function E(n,r,u){var f,o={},s=null,c=null;if(null!=r)for(f in c=void 0===r.ref?null:r.ref,s=void 0===r.key?null:""+r.key,r)C[f]||(o[f]=r[f]);var h=arguments.length-2;if(h>0)if(1!==h||e(u)){var l=u;if(h>1){l=Array(h);for(var v=0;v<h;v++)l[v]=arguments[v+2]}o.children=d(l)}else o.children=u;if(n&&n.defaultProps){var _=n.defaultProps;for(f in _)void 0===o[f]&&(o[f]=_[f])}return null==n&&(n=a,A(0)),new i(n,s,c,o,t.owner)}function P(n,t,i){for(var r=0,u=n&&n.length;r<u;r++)n[r].call(t,i)}var T=l.hasOwnProperty;function D(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function S(n,t){if(D(n,t))return!0;if(!f(n)||r(n)||!f(t)||r(t))return!1;var i=Object.keys(n);if(i.length!==Object.keys(t).length)return!1;for(var u=0;u<i.length;u++)if(!T.call(t,i[u])||!D(n[i[u]],t[i[u]]))return!1;return!0}function U(){return t.owner&&t.owner._instance}function H(){var n=U();if(n)return n;x(1)}function N(n,t){if(r(t)||n.length!==t.length)return!1;for(var i=0;i<n.length;i++)if(!D(n[i],t[i]))return!1;return!0}function R(n){var i=H(),r=i.getHookID(),f=i.getHooks();if(!f[r]){u(n)&&(n=n());f[r]=[n,function(n){t.i||g();var o=f[r],e=o[2];u(n)&&(n=n(e)),D(n,e)||(o[2]=n,U()===i?i.o=!0:i.h())},n]}var o=f[r];return D(o[0],o[2])||(o[0]=o[2],i.l=!0),o}function V(n,t){W(n,t)}function W(n,t,i){var r=H(),u=r.getHookID(),f=r.getHooks();if(t=void 0===t?null:t,f[u]){var o=f[u],e=o.v,s=o._;o._=t,o.p=s,e.current=n}else{var c=function n(t){if(!t&&i)return O((function(){return n(!0)}));var r=n.current;r&&(h.current=r(),n.current=null)},h=function n(t){if(!t&&i)return O((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};c.current=n,f[u]={v:c,j:h,p:t,_:t},r.didMount.push(c),r.willUnmount.push((function(){return h(!0)})),r.didUpdate.push((function(){var n=f[u],t=n._,i=n.v;null!=t&&N(t,n.p)||(h(),i())}))}}function Z(n,t){var i=H(),u=i.getHookID(),f=i.getHooks();if(t=void 0===t?null:t,f[u]){var o=f[u][1];!r(t)&&N(t,o)||(f[u]=[n(),t])}else f[u]=[n(),t];return f[u][0]}function $(n){return e(n)?n:[n]}function q(n,t){var i;while(n&&n._internal){if(t(n)){i=n;break}n=n._internal.m}return i}var z=0;function B(n){var i;return o(n)&&null!==n&&n.type?i=s(n.type)?new t.O(n):new t.g(n):s(n)||c(n)?i=new t.k(n+""):e(n)?i=new t.I(n):(void 0===n||r(n)||!1===n||!0===n||A(2,n),i=new t.A(n)),i}function F(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,G(n,t)}function G(n,t){return G=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},G(n,t)}var J=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),K=function(n){function t(t,i){var r;return(r=n.call(this,t,i)||this).C=!0,r}return F(t,n),t}(J),L=1,M=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.T=L++,t}F(t,n);var i=t.prototype;return i.D=function(){return this.S().D()},i.S=function(){return this._internal._renderedComponent},i.h=function(n){this.P=n,this.forceUpdate()},i.render=function(){return this.P},t}(J),Q={set:function(n,i){n._r||(n._r=i,i.T&&(t.rootInstances[i.T]=i,t.rootComponents[i.T]=i._internal))},get:function(n){return n._r},remove:function(n){var i=this.get(n);i&&(n._r=null,i.T&&(delete t.rootComponents[i.T],delete t.rootInstances[i.T]))},mount:function(n,i,r){var u=r.parent,f=r.hydrate,o=t.driver;null==i&&(i=o.createBody());var e,s={element:n,container:i,hydrate:f};if(o.beforeRender&&o.beforeRender(s),u){var c=u._internal;e=c.U(c._context)}var h=this.get(i);if(h&&h.T)return e&&(h._internal.H=e),h.h(n),o.afterRender&&o.afterRender(s),h;var a=B(E(M)).N(i,u,e||{});return this.set(i,a),a.h(n),o.afterRender&&o.afterRender(s),a}};function X(n,t,i){var r=n?n.ref:null,u=t?t.ref:null;r!==u&&(r&&nn(n._owner,r,i),u&&Y(t._owner,u,i))}function Y(n,t,i){if(n){var r=i.D();u(t)?t(r):f(t)?t.current=r:n._instance.refs[t]=r}else A(3)}function nn(n,t,i){if(u(t))t(null);else{var r=i.D();f(t)&&t.current===r?t.current=null:n._instance.refs[t]===r&&delete n._instance.refs[t]}}function tn(n,t){var i=h(n),r=h(t);return i||r?i===r:!(!e(n)||!e(t))||(s(n)||c(n)?s(t)||c(t):f(n)&&f(t)&&n.type===t.type&&n.key===t.key)}function rn(n,t,i){var r=t?t.key:void 0,u="."+i.toString(36);if(s(r)){var f="$"+r;return void 0===n[f]?f:u}return u}function un(n){var i=n;while(i=n.m&&n.m._internal)if(i instanceof t.g)n=i;else{for(var r=Object.keys(i.R),u=n.V-1;u>=0;u--){var f=i.R[r[u]].W();if(!e(f))return f;if(f.length>0)return f[f.length-1]}if(!(i instanceof t.I))return null;n=i}}var fn=function(){function n(n){this.Z=n}var i=n.prototype;return i.$=function(n,i,r){this._parent=n,this.m=i,this._context=r,this._mountID=t.t++},i.q=function(){this.Z=this._nativeNode=this._parent=this.m=this._context=null,this._instance&&(this._instance=this._instance._internal=null)},i.N=function(n,t,i,r){this.$(n,t,i),this.B(r);var u={};return u._internal=this,u},i.unmountComponent=function(n){this._nativeNode&&!n&&t.driver.removeChild(this._nativeNode,this._parent),this.q()},i.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},i.B=function(n){var i=this.W(),r=this._parent;n?n(i,r):t.driver.appendChild(i,r)},i.W=function(){return null==this._nativeNode?this._nativeNode=this.F():this._nativeNode},i.D=function(){return this.W()},n}(),on=Object.assign,en="style",sn="children",cn="tree",hn=/^on[A-Z]/,an=function(n){function i(){return n.apply(this,arguments)||this}F(i,n);var f=i.prototype;return f.N=function(n,t,i,r){this.$(n,t,i);var u=this.Z,f=u.props,o=u.type,e=f.children,s=f.append||cn;this.G=on({},f.style);var c={type:o,props:f};return c._internal=this,this._instance=c,s===cn?(this.J(e,i),this.B(r)):(this.B(r),this.J(e,i)),u&&u.ref&&Y(u._owner,u.ref,this),c},f.J=function(n,t){if(null==n)return n;var i=this.W();return this.K(i,$(n),t)},f.K=function(n,t,i,r){for(var u=this.R={},f=[],o=0,e=t.length;o<e;o++){var s=t[o],c=B(s);u[rn(u,s,o)]=c,c.V=o;var h=c.N(n,this._instance,i,r);f.push(h)}return f},f.L=function(n){var t=this.R;if(t){for(var i in t){t[i].unmountComponent(n)}this.R=null}},f.unmountComponent=function(n){if(this._nativeNode){var i=this.Z.ref;i&&nn(this.Z._owner,i,this),Q.remove(this._nativeNode),n||t.driver.removeChild(this._nativeNode,this._parent)}this.L(!0),this.G=null,this.q()},f.M=function(n,t,i,r){this.Z=t,X(n,t,this);var u=n.props,f=t.props;this.X(u,f),null==u.children||e(u.children)&&0===u.children.length?this.J(f.children,r):this.Y(f.children,r)},f.X=function(n,i){var r,f,o,e=t.driver,s=this.W();for(r in n)if(r!==sn&&null!=n[r]&&!i.hasOwnProperty(r))if(r===en){var c=this.G;for(f in c)(o=o||{})[f]="";this.G=null}else if(hn.test(r)){var h=n[r];u(h)&&e.removeEventListener(s,r.slice(2).toLowerCase(),h)}else e.removeAttribute(s,r,n[r]);for(r in i){var a=i[r],l=r===en?this.G:null!=n?n[r]:void 0;if(r!==sn&&l!==a&&(null!=a||null!=l))if(r===en)if(a?a=this.G=on({},a):this.G=null,null!=l){for(f in l)a&&(a[f]||0===a[f])||((o=o||{})[f]="");for(f in a)l[f]!==a[f]&&((o=o||{})[f]=a[f])}else o=a;else if(hn.test(r)){var v=r.slice(2).toLowerCase();u(l)&&e.removeEventListener(s,v,l,i),u(a)&&e.addEventListener(s,v,a,i)}else null!=a?e.setAttribute(s,r,a):e.removeAttribute(s,r,n[r])}o&&e.setStyle(s,o)},f.Y=function(n,i){var u=this.R,f=t.driver;if(null!=n||null!=u){var o={};if(null!=n)for(var s=0,c=(n=$(n)).length;s<c;s++){var h=n[s],a=rn(o,h,s),l=u&&u[a],v=l&&l.Z,d=l&&l._context;null!=l&&tn(v,h)?(v===h&&d===i||l.M(v,h,i,i),o[a]=l):(l&&(l.nn=!0),o[a]=B(h))}var _=this.W(),p=e(_),w=null,b=null,y=!1,j=!1,m=null,O=!(!f.removeChildren||!(r(n)||n&&!n.length)||p);if(null!=u){for(var g in u){var k=u[g],I=k.nn||!o[g];w?I&&k.unmountComponent(O):(j=I,e(b=(w=k).W())&&(y=0===b.length,b=b[0]))}(p&&0===_.length||y)&&(m=un(this))}if(null!=o){var x=function(n,t){for(var i=0,r=(n=$(n)).length;i<r;i++)m?f.insertAfter(n[r-1-i],m):b?f.insertBefore(n[i],b):t&&f.appendChild(n[i],t)},A=0;for(var C in o){var E=o[C],P=u&&u[C];if(P===E){var T=P.W();P.V!==A&&x(T)}else p&&(_=this._parent),E.N(_,this._instance,i,x);E.V=A++,e(m=E.W())&&(m=m[m.length-1])}}j&&w.unmountComponent(O),O&&f.removeChildren(this._nativeNode),this.R=o}},f.F=function(){var n=this._instance,i=t.driver.createElement(n.type,n.props,this);return Q.set(i,n),i},i}(fn),ln=function(n){function t(t,i){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.on={},r.o=!1,r.l=!1,r.en=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=l,t._forwardRef&&(r.cn=r._forwardRef=i);var u=t.hn;return u&&(r.shouldComponentUpdate=function(n){for(var t=!0,i=u.length-1;i>-1;i--)if(t=u[i](r.props,n))break;return!t||r.cn!==r._forwardRef}),r}F(t,n);var i=t.prototype;return i.getHooks=function(){return this.on},i.getHookID=function(){return++this.un},i.useContext=function(n){var t=this,i=n._contextID,r=this.sn[i];if(!r){var u=n.an(this);if(r=this.sn[i]={ln:u},u){var f=function(n){r.vn!==n&&(t.l=!0,t.h())};u.dn(f),this.willUnmount.push((function(){return u._n(f)}))}}return r.vn=r.ln?r.ln.getValue():n._defaultValue},i.componentWillMount=function(){this.l=!0},i.componentDidMount=function(){P(this.didMount)},i.componentWillReceiveProps=function(){this.l=!0},i.componentDidUpdate=function(){P(this.didUpdate)},i.componentWillUnmount=function(){P(this.willUnmount)},i.h=function(){this.setState(l)},i.render=function(){this.un=0,this.fn=0,this.o=!1;var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);while(this.o)this.fn++,this.fn>24&&x(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.l&&(this.en=n,this.l=!1),this.en},t}(J),vn=[];function dn(n){return n.pn}function _n(n){var i=n._internal;if(i){t.i=!0;var r=i.Z,u=i._context,f=i.H||u;i.H=void 0,(dn(i)||i.wn)&&(i.M(r,r,u,f),y(w)),t.i=!1}}function pn(n,t){return t._internal._mountID-n._internal._mountID}function wn(){if(t.i)return j(wn);var n,i=vn;if(i.length>0){g(),vn=[],i.length>1&&(i=i.filter((function(n){return!!n._internal})).sort(pn));while(n=i.pop())_n(n)}}function bn(n,t){if(vn.indexOf(n)<0&&vn.push(n),t){if(vn.length>1)return;j(wn)}else wn()}function yn(n,t,i){var r=n._internal;if(r){i&&function(n,t){var i=function(n){return n.bn}(n)||function(n){return n.bn=[]}(n);i.push(t)}(r,i);var u=r._renderedComponent;t?(n.tn&&(r.wn=!0),function(n,t){var i=dn(n)||function(n){return n.pn=[]}(n);i.push(t)}(r,t),!r.yn&&u&&bn(n,!0)):(r.wn=!0,u&&bn(n))}}var jn={setState:function(n,i,r){t.i||g(),yn(n,i,r)},forceUpdate:function(n,t){yn(n,null,t)}};function mn(n,t,i){try{return n()}catch(n){i?i(n):function(n,t){var i=q(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));i?k((function(){var n=i._internal;n&&mn((function(){if(i.componentDidCatch&&i.componentDidCatch(t),i.constructor&&i.constructor.getDerivedStateFromError){var n=i.constructor.getDerivedStateFromError(t);i.setState(n)}}),n.m)})):b((function(){throw t}),0)}(t,n)}}function On(n,t){k((function(){mn(n,t)}))}function gn(n,t){n&&On((function(){P(n,t)}),t)}var kn=function(n){function i(){return n.apply(this,arguments)||this}F(i,n);var r=i.prototype;return r.N=function(n,i,r,f){this.$(n,i,r);var o,e,s=this.Z,c=s.type,h=s.ref,a=s.props,l=c.prototype,v=this.jn(r);if(mn((function(){l&&l.render?o=new c(a,v):u(c)?o=new ln(c,h):x(6,c)}),i),o){o.props=a,o.context=v,o.refs={},o.updater=jn,o._internal=this,this._instance=o;var d=o.state;void 0===d&&(o.state=d=null),o.componentWillMount&&mn((function(){o.componentWillMount()}),o),t.owner=this,o.state=this.mn(a,v);var _=this.bn;return this.bn=null,mn((function(){e=o.render()}),o),t.owner=null,this._renderedComponent=B(e),this._renderedComponent.N(this._parent,o,this.U(r),f),!s.type._forwardRef&&h&&Y(s._owner,h,this),o.componentDidMount&&On((function(){o.componentDidMount()}),o),gn(_,o),o}},r.unmountComponent=function(n){var t=this._instance;if(t&&t.componentWillUnmount&&mn((function(){t.componentWillUnmount()}),t),null!=this._renderedComponent){var i=this.Z,r=i.ref;!i.type._forwardRef&&r&&nn(i._owner,r,this),this._renderedComponent.unmountComponent(n),this._renderedComponent=null}this.pn=null,this.wn=!1,this.q()},r.jn=function(n){var t={},i=this.Z.type.contextTypes;if(i)for(var r in i)t[r]=n[r];return t},r.U=function(n){var t=this._instance,i=t.getChildContext&&t.getChildContext();return i?on({},n,i):n},r.mn=function(n,t){var i=this._instance,r=this.pn;if(!r)return i.state;this.pn=null;for(var f=on({},i.state),o=0;o<r.length;o++){var e=r[o];on(f,u(e)?e.call(i,f,n,t):e)}return f},r.M=function(n,t,i,r){var u=this,f=this._instance;f&&mn((function(){var i,o,e;u._context===r?o=f.context:(o=u.jn(r),i=!0),e=t.props,n!==t&&(i=!0),i&&f.componentWillReceiveProps&&(u.yn=!0,f.componentWillReceiveProps(e,o),u.yn=!1),u.Z.type._forwardRef?(f.cn=n.ref,f._forwardRef=t.ref):X(n,t,u);var s=!0,c=f.props,h=f.state,a=u.mn(e,o),l=u.bn;if(u.bn=null,u.wn||(f.shouldComponentUpdate?s=f.shouldComponentUpdate(e,a,o):f.C&&(s=!S(c,e)||!S(h,a))),s){u.wn=!1;var v=f.context;f.componentWillUpdate&&f.componentWillUpdate(e,a,o),u.Z=t,u._context=r,f.props=e,f.state=a,f.context=o,u.On(r),f.componentDidUpdate&&On((function(){f.componentDidUpdate(c,h,v)}),f)}else u.Z=t,u._context=r,f.props=e,f.state=a,f.context=o;gn(l,f)}),f)},r.On=function(n){var i,r=this._renderedComponent,u=r.Z,f=this._instance;if(t.owner=this,i=f.render(),t.owner=null,tn(u,i)){var o=r._context,s=this.U(n);u===i&&o===s||r.M(u,i,o,s)}else{var c=null,h=r.W();e(h)&&0===h.length&&null==f.T&&(c=un(r)),r.unmountComponent(!0),this._renderedComponent=B(i),this._renderedComponent.N(this._parent,f,this.U(n),(function(n,i){var r=t.driver;h=$(h),n=$(n);for(var u=0;u<n.length;u++){var f=n[u];h[u]?r.replaceChild(f,h[u]):c?r.insertAfter(f,c):r.appendChild(f,i),c=f}for(var o=n.length;o<h.length;o++)r.removeChild(h[o])}))}},r.W=function(){var n=this._renderedComponent;if(n)return n.W()},r.D=function(){var n=this._instance;return n.tn?null:n},i}(fn),In=function(n){function i(){return n.apply(this,arguments)||this}F(i,n);var r=i.prototype;return r.M=function(n,i){n!==(i=""+i)&&(this.Z=i,t.driver.updateText(this.W(),i))},r.F=function(){return t.driver.createText(this.Z,this)},i}(fn),xn=function(n){function i(){return n.apply(this,arguments)||this}F(i,n);var r=i.prototype;return r.N=function(n,i,r,u){this.$(n,i,r);var f=this._instance={};f._internal=this;var o=[];if(this.K(this._parent,this.Z,r,(function(n){n=$(n);for(var t=0;t<n.length;t++)o.push(n[t])})),u)u(o,n);else for(var e=0;e<o.length;e++)t.driver.appendChild(o[e],n);return f},r.unmountComponent=function(n){if(!n)for(var i=this.W(),r=0,u=i.length;r<u;r++)t.driver.removeChild(i[r]);this.L(!0),this.q()},r.M=function(n,t,i,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.R||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},i}(an),An=function(n){function i(){return n.apply(this,arguments)||this}F(i,n);var r=i.prototype;return r.F=function(){return t.driver.createEmpty(this)},r.M=function(){},i}(fn);t.A=An,t.O=an,t.k=In,t.I=xn,t.g=kn;var Cn={Host:t,Instance:Q,Element:i,flattenChildren:d};n.Component=J,n.Fragment=function(n){return n.children},n.PureComponent=K,n.createContext=function(n){var t="_c"+z++;function i(n){return q(n,(function(n){return n.gn===t}))}return{Provider:function(){function i(){this.gn=t,this.kn=[]}var r=i.prototype;return r.dn=function(n){this.kn.push(n)},r._n=function(n){this.kn=this.kn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&P(this.kn,null,this.getValue())},r.render=function(){return this.props.children},i}(),Consumer:function(r,f){var o=this,e=R((function(){return f[t]||i(o)}))[0],s=e?e.getValue():n,c=R(s),h=c[1];if(s===c[0]){V((function(){if(e)return e.dn(h),function(){e._n(h)}}),[]);var a=$(r.children)[0];return u(a)?a(s):void 0}h(s)},_contextID:t,_defaultValue:n,an:i}},n.createElement=E,n.createRef=function(){return{current:null}},n.forwardRef=function(n){return n._forwardRef=!0,n},n.memo=function(n,t){return t=t||S,n.hn?n.hn.push(t):n.hn=[t],n},n.render=function(n,i,r,f){u(r)&&(f=r,r=null),(t.driver=(r=r||l).driver||t.driver)||x(5);var o=Q.mount(n,i,r).D();return f&&f.call(o),o},n.shared=Cn,n.useCallback=function(n,t){return Z((function(){return n}),t)},n.useContext=function(n){return H().useContext(n)},n.useEffect=function(n,t){W(n,t,!0)},n.useImperativeHandle=function(n,t,i){V((function(){return u(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),e(i)?i.concat([n]):null)},n.useLayoutEffect=V,n.useMemo=Z,n.useReducer=function(n,i,r){var f=H(),o=f.getHookID(),e=f.getHooks(),s=e[o];if(!s){var c=u(r)?r(i):i;return e[o]=[c,function(n){t.i||g();var i=e[o][2];if(U()===f)i.In.push(n),f.o=!0;else{var r=i.xn,u=(0,i.An)(r,n);if(D(u,r))return;i.xn=u,i.In.push(n),f.h()}},{In:[],An:n,xn:c}]}var h=s[2],a=s[0];if(f.fn>0)for(var l=0;l<h.In.length;l++)a=n(a,h.In[l]);else a=h.xn;return D(a,s[0])||(s[0]=a,f.l=!0),h.An=n,h.xn=a,h.In.length=0,e[o]},n.useRef=function(n){var t=H(),i=t.getHookID(),r=t.getHooks();return r[i]||(r[i]={current:n}),r[i]},n.useState=R,n.version="1.2.3"}));
!function(n,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((n="undefined"!=typeof globalThis?globalThis:n||self).Rax={})}(this,(function(n){var t={t:1,i:!1,driver:null,rootComponents:{},rootInstances:{},owner:null};function i(n,t,i,r,u){return{type:n,key:t,ref:i,props:r,_owner:u}}function r(n){return null===n}function u(n){return"function"==typeof n}function f(n){return"object"==typeof n}function e(n){return"[object Object]"===v.toString.call(n)}function o(n){return Array.isArray(n)}function s(n){return"string"==typeof n}function c(n){return"number"==typeof n}function h(n){return!n}var a=function(){},v={};function l(n,t){if(o(n))for(var i=0,r=n.length;i<r;i++)l(n[i],t);else t.push(n)}function d(n){if(null==n)return n;var t=[];return l(n,t),t.length-1?t:t[0]}var _=[],p=[],w=[],b=setTimeout;function y(n){var t;while(t=n.shift())t()}function j(n){0===_.length&&b(m),_.push(n)}function m(){y(_)}function O(n){0===p.length&&b(g),p.push(n)}function g(){y(p)}function k(n){w.push(n)}function I(n,i,r){var u,f=void 0===r?"":" got: "+function(n){return e(n)?Object.keys(n):n}(r);return Error(n+": #"+i+", "+(((u=t.owner)?"check <"+u.u()+">":"no owner")+".")+f)}function x(n,t){throw I("Error",n,t)}function C(n,t){var i=I("Warn",n,t);b((function(){throw i}),0)}var A={key:!0,ref:!0};function E(n,r,u){var f,e={},s=null,c=null;if(null!=r)for(f in c=void 0===r.ref?null:r.ref,s=void 0===r.key?null:""+r.key,r)A[f]||(e[f]=r[f]);var h=arguments.length-2;if(h>0)if(1!==h||o(u)){var v=u;if(h>1){v=Array(h);for(var l=0;l<h;l++)v[l]=arguments[l+2]}e.children=d(v)}else e.children=u;if(n&&n.defaultProps){var _=n.defaultProps;for(f in _)void 0===e[f]&&(e[f]=_[f])}return null==n&&(n=a,C(0)),new i(n,s,c,e,t.owner)}function P(n,t,i){for(var r=0,u=n&&n.length;r<u;r++)n[r].call(t,i)}var T=v.hasOwnProperty;function D(n,t){return n===t?0!==n||1/n==1/t:n!=n&&t!=t}function N(n,t){if(D(n,t))return!0;if(!f(n)||r(n)||!f(t)||r(t))return!1;var i=Object.keys(n);if(i.length!==Object.keys(t).length)return!1;for(var u=0;u<i.length;u++)if(!T.call(t,i[u])||!D(n[i[u]],t[i[u]]))return!1;return!0}var S="_internal",U="_instance",H="_nativeNode",R="_renderedComponent";function V(){return t.owner&&t.owner[U]}function W(){var n=V();if(n)return n;x(1)}function Z(n,t){if(r(t)||n.length!==t.length)return!1;for(var i=0;i<n.length;i++)if(!D(n[i],t[i]))return!1;return!0}function $(n){var i=W(),r=i.getHookID(),f=i.getHooks();if(!f[r]){u(n)&&(n=n());f[r]=[n,function(n){t.i||g();var e=f[r],o=e[2];u(n)&&(n=n(o)),D(n,o)||(e[2]=n,V()===i?i.o=!0:i.h())},n]}var e=f[r];return D(e[0],e[2])||(e[0]=e[2],i.v=!0),e}function q(n,t){z(n,t)}function z(n,t,i){var r=W(),u=r.getHookID(),f=r.getHooks();if(t=void 0===t?null:t,f[u]){var e=f[u],o=e.l,s=e._;e._=t,e.p=s,o.current=n}else{var c=function n(t){if(!t&&i)return O((function(){return n(!0)}));var r=n.current;r&&(h.current=r(),n.current=null)},h=function n(t){if(!t&&i)return O((function(){return n(!0)}));var r=n.current;r&&(r(),n.current=null)};c.current=n,f[u]={l:c,j:h,p:t,_:t},r.didMount.push(c),r.willUnmount.push((function(){return h(!0)})),r.didUpdate.push((function(){var n=f[u],t=n._,i=n.l;null!=t&&Z(t,n.p)||(h(),i())}))}}function B(n,t){var i=W(),u=i.getHookID(),f=i.getHooks();if(t=void 0===t?null:t,f[u]){var e=f[u][1];!r(t)&&Z(t,e)||(f[u]=[n(),t])}else f[u]=[n(),t];return f[u][0]}function F(n){return o(n)?n:[n]}function G(n,t){var i;while(n&&n[S]){if(t(n)){i=n;break}n=n[S].m}return i}var J=0;function K(n){var i;return e(n)&&null!==n&&n.type?i=s(n.type)?new t.O(n):new t.g(n):s(n)||c(n)?i=new t.k(n+""):o(n)?i=new t.I(n):(void 0===n||r(n)||!1===n||!0===n||C(2,n),i=new t.C(n)),i}function L(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,M(n,t)}function M(n,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,t){return n.__proto__=t,n},M(n,t)}var Q=function(){function n(n,t){this.props=n,this.context=t,this.refs={}}var t=n.prototype;return t.setState=function(n,t){this.updater.setState(this,n,t)},t.forceUpdate=function(n){this.updater.forceUpdate(this,n)},n}(),X=function(n){function t(t,i){var r;return(r=n.call(this,t,i)||this).A=!0,r}return L(t,n),t}(Q),Y=1,nn=function(n){function t(){var t;return(t=n.call(this)||this).P=[],t.T=Y++,t}L(t,n);var i=t.prototype;return i.D=function(){return this.N().D()},i.N=function(){return this[S][R]},i.h=function(n){this.P=n,this.forceUpdate()},i.render=function(){return this.P},t}(Q),tn="_r",rn={set:function(n,i){n[tn]||(n[tn]=i,i.T&&(t.rootInstances[i.T]=i,t.rootComponents[i.T]=i[S]))},get:function(n){return n[tn]},remove:function(n){var i=this.get(n);i&&(n[tn]=null,i.T&&(delete t.rootComponents[i.T],delete t.rootInstances[i.T]))},mount:function(n,i,r){var u=r.parent,f=r.hydrate,e=t.driver;null==i&&(i=e.createBody());var o,s={element:n,container:i,hydrate:f};if(e.beforeRender&&e.beforeRender(s),u){var c=u[S];o=c.S(c._context)}var h=this.get(i);if(h&&h.T)return o&&(h[S].U=o),h.h(n),e.afterRender&&e.afterRender(s),h;var a=K(E(nn)).H(i,u,o||{});return this.set(i,a),a.h(n),e.afterRender&&e.afterRender(s),a}};function un(n,t,i){var r=n?n.ref:null,u=t?t.ref:null;r!==u&&(r&&en(n._owner,r,i),u&&fn(t._owner,u,i))}function fn(n,t,i){if(n){var r=i.D();u(t)?t(r):f(t)?t.current=r:n[U].refs[t]=r}else C(3)}function en(n,t,i){if(u(t))t(null);else{var r=i.D();f(t)&&t.current===r?t.current=null:n[U].refs[t]===r&&delete n[U].refs[t]}}function on(n,t){var i=h(n),r=h(t);return i||r?i===r:!(!o(n)||!o(t))||(s(n)||c(n)?s(t)||c(t):f(n)&&f(t)&&n.type===t.type&&n.key===t.key)}function sn(n,t,i){var r=t?t.key:void 0,u="."+i.toString(36);if(s(r)){var f="$"+r;return void 0===n[f]?f:u}return u}function cn(n){var i=n;while(i=n.m&&n.m[S])if(i instanceof t.g)n=i;else{for(var r=Object.keys(i.R),u=n.V-1;u>=0;u--){var f=i.R[r[u]].W();if(!o(f))return f;if(f.length>0)return f[f.length-1]}if(!(i instanceof t.I))return null;n=i}}var hn=function(){function n(n){this.Z=n}var i=n.prototype;return i.$=function(n,i,r){this._parent=n,this.m=i,this._context=r,this._mountID=t.t++},i.q=function(){this.Z=this[H]=this._parent=this.m=this._context=null,this[U]&&(this[U]=this[U][S]=null)},i.H=function(n,t,i,r){this.$(n,t,i),this.B(r);var u={};return u[S]=this,u},i.unmountComponent=function(n){this[H]&&!n&&t.driver.removeChild(this[H],this._parent),this.q()},i.u=function(){var n=this.Z,t=n&&n.type;return t&&t.displayName||t&&t.name||t||n},i.B=function(n){var i=this.W(),r=this._parent;n?n(i,r):t.driver.appendChild(i,r)},i.W=function(){return null==this[H]?this[H]=this.F():this[H]},i.D=function(){return this.W()},n}(),an=Object.assign,vn="style",ln="children",dn="tree",_n=/^on[A-Z]/,pn=function(n){function i(){return n.apply(this,arguments)||this}L(i,n);var f=i.prototype;return f.H=function(n,t,i,r){this.$(n,t,i);var u=this.Z,f=u.props,e=u.type,o=f[ln],s=f.append||dn;this.G=an({},f[vn]);var c={type:e,props:f};return c[S]=this,this[U]=c,s===dn?(this.J(o,i),this.B(r)):(this.B(r),this.J(o,i)),u&&u.ref&&fn(u._owner,u.ref,this),c},f.J=function(n,t){if(null==n)return n;var i=this.W();return this.K(i,F(n),t)},f.K=function(n,t,i,r){for(var u=this.R={},f=[],e=0,o=t.length;e<o;e++){var s=t[e],c=K(s);u[sn(u,s,e)]=c,c.V=e;var h=c.H(n,this[U],i,r);f.push(h)}return f},f.L=function(n){var t=this.R;if(t){for(var i in t){t[i].unmountComponent(n)}this.R=null}},f.unmountComponent=function(n){if(this[H]){var i=this.Z.ref;i&&en(this.Z._owner,i,this),rn.remove(this[H]),n||t.driver.removeChild(this[H],this._parent)}this.L(!0),this.G=null,this.q()},f.M=function(n,t,i,r){this.Z=t,un(n,t,this);var u=n.props,f=t.props;this.X(u,f),null==u[ln]||o(u[ln])&&0===u[ln].length?this.J(f[ln],r):this.Y(f[ln],r)},f.X=function(n,i){var r,f,e,o=t.driver,s=this.W();for(r in n)if(r!==ln&&null!=n[r]&&!i.hasOwnProperty(r))if(r===vn){var c=this.G;for(f in c)(e=e||{})[f]="";this.G=null}else if(_n.test(r)){var h=n[r];u(h)&&o.removeEventListener(s,r.slice(2).toLowerCase(),h)}else o.removeAttribute(s,r,n[r]);for(r in i){var a=i[r],v=r===vn?this.G:null!=n?n[r]:void 0;if(r!==ln&&v!==a&&(null!=a||null!=v))if(r===vn)if(a?a=this.G=an({},a):this.G=null,null!=v){for(f in v)a&&(a[f]||0===a[f])||((e=e||{})[f]="");for(f in a)v[f]!==a[f]&&((e=e||{})[f]=a[f])}else e=a;else if(_n.test(r)){var l=r.slice(2).toLowerCase();u(v)&&o.removeEventListener(s,l,v,i),u(a)&&o.addEventListener(s,l,a,i)}else null!=a?o.setAttribute(s,r,a):o.removeAttribute(s,r,n[r])}e&&o.setStyle(s,e)},f.Y=function(n,i){var u=this.R,f=t.driver;if(null!=n||null!=u){var e={};if(null!=n)for(var s=0,c=(n=F(n)).length;s<c;s++){var h=n[s],a=sn(e,h,s),v=u&&u[a],l=v&&v.Z,d=v&&v._context;null!=v&&on(l,h)?(l===h&&d===i||v.M(l,h,i,i),e[a]=v):(v&&(v.nn=!0),e[a]=K(h))}var _=this.W(),p=o(_),w=null,b=null,y=!1,j=!1,m=null,O=!(!f.removeChildren||!(r(n)||n&&!n.length)||p);if(null!=u){for(var g in u){var k=u[g],I=k.nn||!e[g];w?I&&k.unmountComponent(O):(j=I,o(b=(w=k).W())&&(y=0===b.length,b=b[0]))}(p&&0===_.length||y)&&(m=cn(this))}if(null!=e){var x=function(n,t){for(var i=0,r=(n=F(n)).length;i<r;i++)m?f.insertAfter(n[r-1-i],m):b?f.insertBefore(n[i],b):t&&f.appendChild(n[i],t)},C=0;for(var A in e){var E=e[A],P=u&&u[A];if(P===E){var T=P.W();P.V!==C&&x(T)}else p&&(_=this._parent),E.H(_,this[U],i,x);E.V=C++,o(m=E.W())&&(m=m[m.length-1])}}j&&w.unmountComponent(O),O&&f.removeChildren(this[H]),this.R=e}},f.F=function(){var n=this[U],i=t.driver.createElement(n.type,n.props,this);return rn.set(i,n),i},i}(hn),wn=function(n){function t(t,i){var r;(r=n.call(this)||this).tn=!0,r.rn=t,r.un=0,r.fn=0,r.en={},r.o=!1,r.v=!1,r.on=null,r.sn={},r.didMount=[],r.didUpdate=[],r.willUnmount=[],r.state=v,t._forwardRef&&(r.cn=r._forwardRef=i);var u=t.hn;return u&&(r.shouldComponentUpdate=function(n){for(var t=!0,i=u.length-1;i>-1;i--)if(t=u[i](r.props,n))break;return!t||r.cn!==r._forwardRef}),r}L(t,n);var i=t.prototype;return i.getHooks=function(){return this.en},i.getHookID=function(){return++this.un},i.useContext=function(n){var t=this,i=n._contextID,r=this.sn[i];if(!r){var u=n.an(this);if(r=this.sn[i]={vn:u},u){var f=function(n){r.ln!==n&&(t.v=!0,t.h())};u.dn(f),this.willUnmount.push((function(){return u._n(f)}))}}return r.ln=r.vn?r.vn.getValue():n._defaultValue},i.componentWillMount=function(){this.v=!0},i.componentDidMount=function(){P(this.didMount)},i.componentWillReceiveProps=function(){this.v=!0},i.componentDidUpdate=function(){P(this.didUpdate)},i.componentWillUnmount=function(){P(this.willUnmount)},i.h=function(){this.setState(v)},i.render=function(){this.un=0,this.fn=0,this.o=!1;var n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);while(this.o)this.fn++,this.fn>24&&x(4),this.un=0,this.o=!1,n=this.rn(this.props,this._forwardRef?this._forwardRef:this.context);return this.v&&(this.on=n,this.v=!1),this.on},t}(Q),bn=[];function yn(n){return n.pn}function jn(n){var i=n[S];if(i){t.i=!0;var r=i.Z,u=i._context,f=i.U||u;i.U=void 0,(yn(i)||i.wn)&&(i.M(r,r,u,f),y(w)),t.i=!1}}function mn(n,t){return t[S]._mountID-n[S]._mountID}function On(){if(t.i)return j(On);var n,i=bn;if(i.length>0){g(),bn=[],i.length>1&&(i=i.filter((function(n){return!!n[S]})).sort(mn));while(n=i.pop())jn(n)}}function gn(n,t){if(bn.indexOf(n)<0&&bn.push(n),t){if(bn.length>1)return;j(On)}else On()}function kn(n,t,i){var r=n[S];if(r){i&&function(n,t){var i=function(n){return n.bn}(n)||function(n){return n.bn=[]}(n);i.push(t)}(r,i);var u=r[R];t?(n.tn&&(r.wn=!0),function(n,t){var i=yn(n)||function(n){return n.pn=[]}(n);i.push(t)}(r,t),!r.yn&&u&&gn(n,!0)):(r.wn=!0,u&&gn(n))}}var In={setState:function(n,i,r){t.i||g(),kn(n,i,r)},forceUpdate:function(n,t){kn(n,null,t)}};function xn(n,t,i){try{return n()}catch(n){i?i(n):function(n,t){var i=G(n,(function(n){return n.componentDidCatch||n.constructor&&n.constructor.getDerivedStateFromError}));i?k((function(){var n=i[S];n&&xn((function(){if(i.componentDidCatch&&i.componentDidCatch(t),i.constructor&&i.constructor.getDerivedStateFromError){var n=i.constructor.getDerivedStateFromError(t);i.setState(n)}}),n.m)})):b((function(){throw t}),0)}(t,n)}}function Cn(n,t){k((function(){xn(n,t)}))}function An(n,t){n&&Cn((function(){P(n,t)}),t)}var En=function(n){function i(){return n.apply(this,arguments)||this}L(i,n);var r=i.prototype;return r.H=function(n,i,r,f){this.$(n,i,r);var e,o,s=this.Z,c=s.type,h=s.ref,a=s.props,v=c.prototype,l=this.jn(r);if(xn((function(){v&&v.render?e=new c(a,l):u(c)?e=new wn(c,h):x(6,c)}),i),e){e.props=a,e.context=l,e.refs={},e.updater=In,e[S]=this,this[U]=e;var d=e.state;void 0===d&&(e.state=d=null),e.componentWillMount&&xn((function(){e.componentWillMount()}),e),t.owner=this,e.state=this.mn(a,l);var _=this.bn;return this.bn=null,xn((function(){o=e.render()}),e),t.owner=null,this[R]=K(o),this[R].H(this._parent,e,this.S(r),f),!s.type._forwardRef&&h&&fn(s._owner,h,this),e.componentDidMount&&Cn((function(){e.componentDidMount()}),e),An(_,e),e}},r.unmountComponent=function(n){var t=this[U];if(t&&t.componentWillUnmount&&xn((function(){t.componentWillUnmount()}),t),null!=this[R]){var i=this.Z,r=i.ref;!i.type._forwardRef&&r&&en(i._owner,r,this),this[R].unmountComponent(n),this[R]=null}this.pn=null,this.wn=!1,this.q()},r.jn=function(n){var t={},i=this.Z.type.contextTypes;if(i)for(var r in i)t[r]=n[r];return t},r.S=function(n){var t=this[U],i=t.getChildContext&&t.getChildContext();return i?an({},n,i):n},r.mn=function(n,t){var i=this[U],r=this.pn;if(!r)return i.state;this.pn=null;for(var f=an({},i.state),e=0;e<r.length;e++){var o=r[e];an(f,u(o)?o.call(i,f,n,t):o)}return f},r.M=function(n,t,i,r){var u=this,f=this[U];f&&xn((function(){var i,e,o;u._context===r?e=f.context:(e=u.jn(r),i=!0),o=t.props,n!==t&&(i=!0),i&&f.componentWillReceiveProps&&(u.yn=!0,f.componentWillReceiveProps(o,e),u.yn=!1),u.Z.type._forwardRef?(f.cn=n.ref,f._forwardRef=t.ref):un(n,t,u);var s=!0,c=f.props,h=f.state,a=u.mn(o,e),v=u.bn;if(u.bn=null,u.wn||(f.shouldComponentUpdate?s=f.shouldComponentUpdate(o,a,e):f.A&&(s=!N(c,o)||!N(h,a))),s){u.wn=!1;var l=f.context;f.componentWillUpdate&&f.componentWillUpdate(o,a,e),u.Z=t,u._context=r,f.props=o,f.state=a,f.context=e,u.On(r),f.componentDidUpdate&&Cn((function(){f.componentDidUpdate(c,h,l)}),f)}else u.Z=t,u._context=r,f.props=o,f.state=a,f.context=e;An(v,f)}),f)},r.On=function(n){var i,r=this[R],u=r.Z,f=this[U];if(t.owner=this,i=f.render(),t.owner=null,on(u,i)){var e=r._context,s=this.S(n);u===i&&e===s||r.M(u,i,e,s)}else{var c=null,h=r.W();o(h)&&0===h.length&&null==f.T&&(c=cn(r)),r.unmountComponent(!0),this[R]=K(i),this[R].H(this._parent,f,this.S(n),(function(n,i){var r=t.driver;h=F(h),n=F(n);for(var u=0;u<n.length;u++){var f=n[u];h[u]?r.replaceChild(f,h[u]):c?r.insertAfter(f,c):r.appendChild(f,i),c=f}for(var e=n.length;e<h.length;e++)r.removeChild(h[e])}))}},r.W=function(){var n=this[R];if(n)return n.W()},r.D=function(){var n=this[U];return n.tn?null:n},i}(hn),Pn=function(n){function i(){return n.apply(this,arguments)||this}L(i,n);var r=i.prototype;return r.M=function(n,i){n!==(i=""+i)&&(this.Z=i,t.driver.updateText(this.W(),i))},r.F=function(){return t.driver.createText(this.Z,this)},i}(hn),Tn=function(n){function i(){return n.apply(this,arguments)||this}L(i,n);var r=i.prototype;return r.H=function(n,i,r,u){this.$(n,i,r);var f=this[U]={};f[S]=this;var e=[];if(this.K(this._parent,this.Z,r,(function(n){n=F(n);for(var t=0;t<n.length;t++)e.push(n[t])})),u)u(e,n);else for(var o=0;o<e.length;o++)t.driver.appendChild(e[o],n);return f},r.unmountComponent=function(n){if(!n)for(var i=this.W(),r=0,u=i.length;r<u;r++)t.driver.removeChild(i[r]);this.L(!0),this.q()},r.M=function(n,t,i,r){this.Z=t,this.Y(this.Z,r)},r.W=function(){var n=this.R||{};return[].concat.apply([],Object.keys(n).map((function(t){return n[t].W()})))},i}(pn),Dn=function(n){function i(){return n.apply(this,arguments)||this}L(i,n);var r=i.prototype;return r.F=function(){return t.driver.createEmpty(this)},r.M=function(){},i}(hn);t.C=Dn,t.O=pn,t.k=Pn,t.I=Tn,t.g=En;var Nn={Host:t,Instance:rn,Element:i,flattenChildren:d};n.Component=Q,n.Fragment=function(n){return n.children},n.PureComponent=X,n.createContext=function(n){var t="_c"+J++;function i(n){return G(n,(function(n){return n.gn===t}))}return{Provider:function(){function i(){this.gn=t,this.kn=[]}var r=i.prototype;return r.dn=function(n){this.kn.push(n)},r._n=function(n){this.kn=this.kn.filter((function(t){return t!==n}))},r._getChildContext=function(){var n;return(n={})[t]=this,n},r.getValue=function(){return void 0!==this.props.value?this.props.value:n},r.componentDidUpdate=function(n){this.props.value!==n.value&&P(this.kn,null,this.getValue())},r.render=function(){return this.props.children},i}(),Consumer:function(r,f){var e=this,o=$((function(){return f[t]||i(e)}))[0],s=o?o.getValue():n,c=$(s),h=c[1];if(s===c[0]){q((function(){if(o)return o.dn(h),function(){o._n(h)}}),[]);var a=F(r.children)[0];return u(a)?a(s):void 0}h(s)},_contextID:t,_defaultValue:n,an:i}},n.createElement=E,n.createRef=function(){return{current:null}},n.forwardRef=function(n){return n._forwardRef=!0,n},n.memo=function(n,t){return t=t||N,n.hn?n.hn.push(t):n.hn=[t],n},n.render=function(n,i,r,f){u(r)&&(f=r,r=null),(t.driver=(r=r||v).driver||t.driver)||x(5);var e=rn.mount(n,i,r).D();return f&&f.call(e),e},n.shared=Nn,n.useCallback=function(n,t){return B((function(){return n}),t)},n.useContext=function(n){return W().useContext(n)},n.useEffect=function(n,t){z(n,t,!0)},n.useImperativeHandle=function(n,t,i){q((function(){return u(n)?(n(t()),function(){return n(null)}):null!=n?(n.current=t(),function(){n.current=null}):void 0}),o(i)?i.concat([n]):null)},n.useLayoutEffect=q,n.useMemo=B,n.useReducer=function(n,i,r){var f=W(),e=f.getHookID(),o=f.getHooks(),s=o[e];if(!s){var c=u(r)?r(i):i;return o[e]=[c,function(n){t.i||g();var i=o[e][2];if(V()===f)i.In.push(n),f.o=!0;else{var r=i.xn,u=(0,i.Cn)(r,n);if(D(u,r))return;i.xn=u,i.In.push(n),f.h()}},{In:[],Cn:n,xn:c}]}var h=s[2],a=s[0];if(f.fn>0)for(var v=0;v<h.In.length;v++)a=n(a,h.In[v]);else a=h.xn;return D(a,s[0])||(s[0]=a,f.v=!0),h.Cn=n,h.xn=a,h.In.length=0,o[e]},n.useRef=function(n){var t=W(),i=t.getHookID(),r=t.getHooks();return r[i]||(r[i]={current:n}),r[i]},n.useState=$,n.version="1.2.3"}));
{
"name": "rax",
"version": "1.2.3-beta.4",
"version": "1.2.3",
"description": "A universal React-compatible render engine.",

@@ -5,0 +5,0 @@ "license": "BSD-3-Clause",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc