%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/
Upload File :
Create Path :
Current File : /home/opti/public_html/ezone-accounting.optisoft.com.ng/static/js/13.c3447df3.chunk.js

(this["webpackJsonpfuse-react-app"]=this["webpackJsonpfuse-react-app"]||[]).push([[13],{1447:function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var i=r(n(140)),a=r(n(385)),o=n(0),u=r(o),s=r(n(177)),c=r(n(29)),l={arr:Array.isArray,obj:function(e){return"[object Object]"===Object.prototype.toString.call(e)},fun:function(e){return"function"===typeof e},str:function(e){return"string"===typeof e},num:function(e){return"number"===typeof e},und:function(e){return void 0===e},nul:function(e){return null===e},set:function(e){return e instanceof Set},map:function(e){return e instanceof Map},equ:function(e,t){if(typeof e!==typeof t)return!1;if(l.str(e)||l.num(e))return e===t;if(l.obj(e)&&l.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;var n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return!l.und(n)||e===t}};function f(){var e=o.useState(!1)[1];return o.useCallback((function(){return e((function(e){return!e}))}),[])}function d(e,t){return l.und(e)||l.nul(e)?t:e}function h(e){return l.und(e)?[]:l.arr(e)?e:[e]}function p(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return l.fun(e)?e.apply(void 0,n):e}function m(e){var t=function(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,a(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}(e);if(l.und(t))return i({to:t},e);var n=Object.keys(e).reduce((function(n,r){var a;return l.und(t[r])?i({},n,((a={})[r]=e[r],a)):n}),{});return i({to:t},n)}var g,v,y=function(){function e(){this.payload=void 0,this.children=[]}var t=e.prototype;return t.getAnimatedValue=function(){return this.getValue()},t.getPayload=function(){return this.payload||this},t.attach=function(){},t.detach=function(){},t.getChildren=function(){return this.children},t.addChild=function(e){0===this.children.length&&this.attach(),this.children.push(e)},t.removeChild=function(e){var t=this.children.indexOf(e);this.children.splice(t,1),0===this.children.length&&this.detach()},e}(),b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).payload=[],t.attach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.addChild(c(t))}))},t.detach=function(){return t.payload.forEach((function(e){return e instanceof y&&e.removeChild(c(t))}))},t}return s(t,e),t}(y),w=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).payload={},t.attach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.addChild(c(t))}))},t.detach=function(){return Object.values(t.payload).forEach((function(e){return e instanceof y&&e.removeChild(c(t))}))},t}s(t,e);var n=t.prototype;return n.getValue=function(e){void 0===e&&(e=!1);var t={};for(var n in this.payload){var r=this.payload[n];(!e||r instanceof y)&&(t[n]=r instanceof y?r[e?"getAnimatedValue":"getValue"]():r)}return t},n.getAnimatedValue=function(){return this.getValue(!0)},t}(y);function k(e,t){g={fn:e,transform:t}}function A(e){v=e}var V,x=function(e){return"undefined"!==typeof window?window.requestAnimationFrame(e):-1},E=function(e){"undefined"!==typeof window&&window.cancelAnimationFrame(e)};function j(e){V=e}var S,O=function(){return Date.now()};function C(e){S=e}var P,q,F=function(e){return e.current};function R(e){P=e}var M=Object.freeze({get applyAnimatedValues(){return g},injectApplyAnimatedValues:k,get colorNames(){return v},injectColorNames:A,get requestFrame(){return x},get cancelFrame(){return E},injectFrame:function(e,t){x=e,E=t},get interpolation(){return V},injectStringInterpolator:j,get now(){return O},injectNow:function(e){O=e},get defaultElement(){return S},injectDefaultElement:C,get animatedApi(){return F},injectAnimatedApi:function(e){F=e},get createAnimatedStyle(){return P},injectCreateAnimatedStyle:R,get manualFrameloop(){return q},injectManualFrameloop:function(e){q=e}}),T=function(e){function t(t,n){var r;return(r=e.call(this)||this).update=void 0,r.payload=t.style?i({},t,{style:P(t.style)}):t,r.update=n,r.attach(),r}return s(t,e),t}(w),I=!1,z=new Set,L=function e(){if(!I)return!1;var t=O(),n=z,r=Array.isArray(n),i=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(i>=n.length)break;a=n[i++]}else{if((i=n.next()).done)break;a=i.value}for(var o=a,u=!1,s=0;s<o.configs.length;s++){for(var c=o.configs[s],l=void 0,f=void 0,d=0;d<c.animatedValues.length;d++){var h=c.animatedValues[d];if(!h.done){var p=c.fromValues[d],m=c.toValues[d],g=h.lastPosition,v=m instanceof y,b=Array.isArray(c.initialVelocity)?c.initialVelocity[d]:c.initialVelocity;if(v&&(m=m.getValue()),c.immediate)h.setValue(m),h.done=!0;else if("string"!==typeof p&&"string"!==typeof m){if(void 0!==c.duration)g=p+c.easing((t-h.startTime)/c.duration)*(m-p),l=t>=h.startTime+c.duration;else if(c.decay)g=p+b/(1-.998)*(1-Math.exp(-(1-.998)*(t-h.startTime))),(l=Math.abs(h.lastPosition-g)<.1)&&(m=g);else{f=void 0!==h.lastTime?h.lastTime:t,b=void 0!==h.lastVelocity?h.lastVelocity:c.initialVelocity,t>f+64&&(f=t);for(var w=Math.floor(t-f),k=0;k<w;++k){g+=1*(b+=1*((-c.tension*(g-m)+-c.friction*b)/c.mass)/1e3)/1e3}var A=!(!c.clamp||0===c.tension)&&(p<m?g>m:g<m),V=Math.abs(b)<=c.precision,E=0===c.tension||Math.abs(m-g)<=c.precision;l=A||V&&E,h.lastVelocity=b,h.lastTime=t}v&&!c.toValues[d].done&&(l=!1),l?(h.value!==m&&(g=m),h.done=!0):u=!0,h.setValue(g),h.lastPosition=g}else h.setValue(m),h.done=!0}}o.props.onFrame&&(o.values[c.name]=c.interpolation.getValue())}o.props.onFrame&&o.props.onFrame(o.values),u||(z.delete(o),o.stop(!0))}return z.size?q?q():x(e):I=!1,I};function N(e,t,n){if("function"===typeof e)return e;if(Array.isArray(e))return N({range:e,output:t,extrapolate:n});if(V&&"string"===typeof e.output[0])return V(e);var r=e,i=r.output,a=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",u=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||function(e){return e};return function(e){var t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,a);return function(e,t,n,r,i,a,o,u,s){var c=s?s(e):e;if(c<t){if("identity"===o)return c;"clamp"===o&&(c=t)}if(c>n){if("identity"===u)return c;"clamp"===u&&(c=n)}if(r===i)return r;if(t===n)return e<=t?r:i;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=a(c),r===-1/0?c=-c:i===1/0?c+=r:c=c*(i-r)+r;return c}(e,a[t],a[t+1],i[t],i[t+1],s,o,u,r.map)}}var D=function(e){function t(n,r,i,a){var o;return(o=e.call(this)||this).calc=void 0,o.payload=n instanceof b&&!(n instanceof t)?n.getPayload():Array.isArray(n)?n:[n],o.calc=N(r,i,a),o}s(t,e);var n=t.prototype;return n.getValue=function(){return this.calc.apply(this,this.payload.map((function(e){return e.getValue()})))},n.updateConfig=function(e,t,n){this.calc=N(e,t,n)},n.interpolate=function(e,n,r){return new t(this,e,n,r)},t}(b);function G(e,t){"update"in e?t.add(e):e.getChildren().forEach((function(e){return G(e,t)}))}var K=function(e){function t(t){var n;return(n=e.call(this)||this).animatedStyles=new Set,n.value=void 0,n.startPosition=void 0,n.lastPosition=void 0,n.lastVelocity=void 0,n.startTime=void 0,n.lastTime=void 0,n.done=!1,n.setValue=function(e,t){void 0===t&&(t=!0),n.value=e,t&&n.flush()},n.value=t,n.startPosition=t,n.lastPosition=t,n}s(t,e);var n=t.prototype;return n.flush=function(){0===this.animatedStyles.size&&G(this,this.animatedStyles),this.animatedStyles.forEach((function(e){return e.update()}))},n.clearStyles=function(){this.animatedStyles.clear()},n.getValue=function(){return this.value},n.interpolate=function(e,t,n){return new D(this,e,t,n)},t}(y),W=function(e){function t(t){var n;return(n=e.call(this)||this).payload=t.map((function(e){return new K(e)})),n}s(t,e);var n=t.prototype;return n.setValue=function(e,t){var n=this;void 0===t&&(t=!0),Array.isArray(e)?e.length===this.payload.length&&e.forEach((function(e,r){return n.payload[r].setValue(e,t)})):this.payload.forEach((function(n){return n.setValue(e,t)}))},n.getValue=function(){return this.payload.map((function(e){return e.getValue()}))},n.interpolate=function(e,t){return new D(this,e,t)},t}(b),H=0,Q=function(){function e(){var e=this;this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=function(){return e.interpolations},this.id=H++}var t=e.prototype;return t.update=function(e){if(!e)return this;var t=m(e),n=t.delay,r=void 0===n?0:n,o=t.to,u=a(t,["delay","to"]);if(l.arr(o)||l.fun(o))this.queue.push(i({},u,{delay:r,to:o}));else if(o){var s={};Object.entries(o).forEach((function(e){var t,n=e[0],a=e[1],o=i({to:(t={},t[n]=a,t),delay:p(r,n)},u),c=s[o.delay]&&s[o.delay].to;s[o.delay]=i({},s[o.delay],o,{to:i({},c,o.to)})})),this.queue=Object.values(s)}return this.queue=this.queue.sort((function(e,t){return e.delay-t.delay})),this.diff(u),this},t.start=function(e){var t,n=this;if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach((function(e){var t=e.from,r=void 0===t?{}:t,a=e.to,o=void 0===a?{}:a;l.obj(r)&&(n.merged=i({},r,n.merged)),l.obj(o)&&(n.merged=i({},n.merged,o))}));var r=this.local=++this.guid,o=this.localQueue=this.queue;this.queue=[],o.forEach((function(t,i){var u=t.delay,s=a(t,["delay"]),c=function(t){i===o.length-1&&r===n.guid&&t&&(n.idle=!0,n.props.onRest&&n.props.onRest(n.merged)),e&&e()},f=l.arr(s.to)||l.fun(s.to);u?setTimeout((function(){r===n.guid&&(f?n.runAsync(s,c):n.diff(s).start(c))}),u):f?n.runAsync(s,c):n.diff(s).start(c)}))}else l.fun(e)&&this.listeners.push(e),this.props.onStart&&this.props.onStart(),t=this,z.has(t)||z.add(t),I||(I=!0,x(q||L));return this},t.stop=function(e){return this.listeners.forEach((function(t){return t(e)})),this.listeners=[],this},t.pause=function(e){var t;return this.stop(!0),e&&(t=this,z.has(t)&&z.delete(t)),this},t.runAsync=function(e,t){var n=this,r=(e.delay,a(e,["delay"])),o=this.local,u=Promise.resolve(void 0);if(l.arr(r.to))for(var s=function(e){var t=e,a=i({},r,m(r.to[t]));l.arr(a.config)&&(a.config=a.config[t]),u=u.then((function(){if(o===n.guid)return new Promise((function(e){return n.diff(a).start(e)}))}))},c=0;c<r.to.length;c++)s(c);else if(l.fun(r.to)){var f,d=0;u=u.then((function(){return r.to((function(e){var t=i({},r,m(e));if(l.arr(t.config)&&(t.config=t.config[d]),d++,o===n.guid)return f=new Promise((function(e){return n.diff(t).start(e)}))}),(function(e){return void 0===e&&(e=!0),n.stop(e)})).then((function(){return f}))}))}u.then(t)},t.diff=function(e){var t=this;this.props=i({},this.props,e);var n=this.props,r=n.from,a=void 0===r?{}:r,o=n.to,u=void 0===o?{}:o,s=n.config,c=void 0===s?{}:s,f=n.reverse,m=n.attach,g=n.reset,y=n.immediate;if(f){var b=[u,a];a=b[0],u=b[1]}this.merged=i({},a,this.merged,u),this.hasChanged=!1;var w=m&&m(this);if(this.animations=Object.entries(this.merged).reduce((function(e,n){var r=n[0],o=n[1],u=e[r]||{},s=l.num(o),f=l.str(o)&&!o.startsWith("#")&&!/\d/.test(o)&&!v[o],m=l.arr(o),b=!s&&!m&&!f,k=l.und(a[r])?o:a[r],A=s||m||f?o:1,x=p(c,r);w&&(A=w.animations[r].parent);var E,j=u.parent,S=u.interpolation,C=h(w?A.getPayload():A),P=o;b&&(P=V({range:[0,1],output:[o,o]})(1));var q,F=S&&S.getValue(),R=!l.und(j)&&u.animatedValues.some((function(e){return!e.done})),M=!l.equ(P,F),T=!l.equ(P,u.previous),I=!l.equ(x,u.config);if(g||T&&M||I){var z;if(s||f)j=S=u.parent||new K(k);else if(m)j=S=u.parent||new W(k);else if(b){var L=u.interpolation&&u.interpolation.calc(u.parent.value);L=void 0===L||g?k:L,u.parent?(j=u.parent).setValue(0,!1):j=new K(0);var N={output:[L,o]};u.interpolation?(S=u.interpolation,u.interpolation.updateConfig(N)):S=j.interpolate(N)}return C=h(w?A.getPayload():A),E=h(j.getPayload()),g&&!b&&j.setValue(k,!1),t.hasChanged=!0,E.forEach((function(e){e.startPosition=e.value,e.lastPosition=e.value,e.lastVelocity=R?e.lastVelocity:void 0,e.lastTime=R?e.lastTime:void 0,e.startTime=O(),e.done=!1,e.animatedStyles.clear()})),p(y,r)&&j.setValue(b?A:o,!1),i({},e,((z={})[r]=i({},u,{name:r,parent:j,interpolation:S,animatedValues:E,toValues:C,previous:P,config:x,fromValues:h(j.getValue()),immediate:p(y,r),initialVelocity:d(x.velocity,0),clamp:d(x.clamp,!1),precision:d(x.precision,.01),tension:d(x.tension,170),friction:d(x.friction,26),mass:d(x.mass,1),duration:x.duration,easing:d(x.easing,(function(e){return e})),decay:x.decay}),z))}return M?e:(b&&(j.setValue(1,!1),S.updateConfig({output:[P,P]})),j.done=!0,t.hasChanged=!0,i({},e,((q={})[r]=i({},e[r],{previous:P}),q)))}),this.animations),this.hasChanged)for(var k in this.configs=Object.values(this.animations),this.values={},this.interpolations={},this.animations)this.interpolations[k]=this.animations[k].interpolation,this.values[k]=this.animations[k].interpolation.getValue();return this},t.destroy=function(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0},e}(),$=function(e,t){var n=o.useRef(!1),r=o.useRef(),i=l.fun(t),a=o.useMemo((function(){var n;return r.current&&(r.current.map((function(e){return e.destroy()})),r.current=void 0),[new Array(e).fill().map((function(e,r){var a=new Q,o=i?p(t,r,a):t[r];return 0===r&&(n=o.ref),a.update(o),n||a.start(),a})),n]}),[e]),u=a[0],s=a[1];r.current=u;o.useImperativeHandle(s,(function(){return{start:function(){return Promise.all(r.current.map((function(e){return new Promise((function(t){return e.start(t)}))})))},stop:function(e){return r.current.forEach((function(t){return t.stop(e)}))},get controllers(){return r.current}}}));var c=o.useMemo((function(){return function(e){return r.current.map((function(t,n){t.update(i?p(e,n,t):e[n]),s||t.start()}))}}),[e]);o.useEffect((function(){n.current?i||c(t):s||r.current.forEach((function(e){return e.start()}))})),o.useEffect((function(){return n.current=!0,function(){return r.current.forEach((function(e){return e.destroy()}))}}),[]);var f=r.current.map((function(e){return e.getValues()}));return i?[f,c,function(e){return r.current.forEach((function(t){return t.pause(e)}))}]:f},U=0,J="enter",_="leave",Z="update",B=function(e,t){return("function"===typeof t?e.map(t):h(t)).map(String)},X=function(e){var t=e.items,n=e.keys,r=void 0===n?function(e){return e}:n,o=a(e,["items","keys"]);return t=h(void 0!==t?t:null),i({items:t,keys:B(t,r)},o)};function Y(e,t){var n=function(){if(i){if(a>=r.length)return"break";o=r[a++]}else{if((a=r.next()).done)return"break";o=a.value}var n=o.key,u=function(e){return e.key!==n};(l.und(t)||t===n)&&(e.current.instances.delete(n),e.current.transitions=e.current.transitions.filter(u),e.current.deleted=e.current.deleted.filter(u))},r=e.current.deleted,i=Array.isArray(r),a=0;for(r=i?r:r[Symbol.iterator]();;){var o;if("break"===n())break}e.current.forceUpdate()}var ee=function(e){function t(t){var n;return void 0===t&&(t={}),n=e.call(this)||this,!t.transform||t.transform instanceof y||(t=g.transform(t)),n.payload=t,n}return s(t,e),t}(w),te={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},ne="[-+]?\\d*\\.?\\d+",re=ne+"%";function ie(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}var ae=new RegExp("rgb"+ie(ne,ne,ne)),oe=new RegExp("rgba"+ie(ne,ne,ne,ne)),ue=new RegExp("hsl"+ie(ne,re,re)),se=new RegExp("hsla"+ie(ne,re,re,ne)),ce=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,le=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,fe=/^#([0-9a-fA-F]{6})$/,de=/^#([0-9a-fA-F]{8})$/;function he(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function pe(e,t,n){var r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,a=he(i,r,e+1/3),o=he(i,r,e),u=he(i,r,e-1/3);return Math.round(255*a)<<24|Math.round(255*o)<<16|Math.round(255*u)<<8}function me(e){var t=parseInt(e,10);return t<0?0:t>255?255:t}function ge(e){return(parseFloat(e)%360+360)%360/360}function ve(e){var t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ye(e){var t=parseFloat(e);return t<0?0:t>100?1:t/100}function be(e){var t=function(e){var t;return"number"===typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=fe.exec(e))?parseInt(t[1]+"ff",16)>>>0:te.hasOwnProperty(e)?te[e]:(t=ae.exec(e))?(me(t[1])<<24|me(t[2])<<16|me(t[3])<<8|255)>>>0:(t=oe.exec(e))?(me(t[1])<<24|me(t[2])<<16|me(t[3])<<8|ve(t[4]))>>>0:(t=ce.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=de.exec(e))?parseInt(t[1],16)>>>0:(t=le.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ue.exec(e))?(255|pe(ge(t[1]),ye(t[2]),ye(t[3])))>>>0:(t=se.exec(e))?(pe(ge(t[1]),ye(t[2]),ye(t[3]))|ve(t[4]))>>>0:null}(e);return null===t?e:"rgba("+((4278190080&(t=t||0))>>>24)+", "+((16711680&t)>>>16)+", "+((65280&t)>>>8)+", "+(255&t)/255+")"}var we=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ke=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ae=new RegExp("("+Object.keys(te).join("|")+")","g"),Ve={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},xe=["Webkit","Ms","Moz","O"];function Ee(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||Ve.hasOwnProperty(e)&&Ve[e]?(""+t).trim():t+"px"}Ve=Object.keys(Ve).reduce((function(e,t){return xe.forEach((function(n){return e[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(n,t)]=e[t]})),e}),Ve);var je={};R((function(e){return new ee(e)})),C("div"),j((function(e){var t=e.output.map((function(e){return e.replace(ke,be)})).map((function(e){return e.replace(Ae,be)})),n=t[0].match(we).map((function(){return[]}));t.forEach((function(e){e.match(we).forEach((function(e,t){return n[t].push(+e)}))}));var r=t[0].match(we).map((function(t,r){return N(i({},e,{output:n[r]}))}));return function(e){var n=0;return t[0].replace(we,(function(){return r[n++](e)})).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(function(e,t,n,r,i){return"rgba("+Math.round(t)+", "+Math.round(n)+", "+Math.round(r)+", "+i+")"}))}})),A(te),k((function(e,t){if(!e.nodeType||void 0===e.setAttribute)return!1;var n=t.style,r=t.children,i=t.scrollTop,o=t.scrollLeft,u=a(t,["style","children","scrollTop","scrollLeft"]),s="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName;for(var c in void 0!==i&&(e.scrollTop=i),void 0!==o&&(e.scrollLeft=o),void 0!==r&&(e.textContent=r),n)if(n.hasOwnProperty(c)){var l=0===c.indexOf("--"),f=Ee(c,n[c],l);"float"===c&&(c="cssFloat"),l?e.style.setProperty(c,f):e.style[c]=f}for(var d in u){var h=s?d:je[d]||(je[d]=d.replace(/([A-Z])/g,(function(e){return"-"+e.toLowerCase()})));"undefined"!==typeof e.getAttribute(h)&&e.setAttribute(h,u[d])}}),(function(e){return e}));var Se,Oe,Ce=(Se=function(e){return o.forwardRef((function(t,n){var r=f(),s=o.useRef(!0),c=o.useRef(null),d=o.useRef(null),h=o.useCallback((function(e){var t=c.current;c.current=new T(e,(function(){var e=!1;d.current&&(e=g.fn(d.current,c.current.getAnimatedValue())),d.current&&!1!==e||r()})),t&&t.detach()}),[]);o.useEffect((function(){return function(){s.current=!1,c.current&&c.current.detach()}}),[]),o.useImperativeHandle(n,(function(){return F(d,s,r)})),h(t);var p,m=c.current.getValue(),v=(m.scrollTop,m.scrollLeft,a(m,["scrollTop","scrollLeft"])),y=(p=e,!l.fun(p)||p.prototype instanceof u.Component?function(e){return d.current=function(e,t){return t&&(l.fun(t)?t(e):l.obj(t)&&(t.current=e)),e}(e,n)}:void 0);return u.createElement(e,i({},v,{ref:y}))}))},void 0===(Oe=!1)&&(Oe=!0),function(e){return(l.arr(e)?e:Object.keys(e)).reduce((function(e,t){var n=Oe?t[0].toLowerCase()+t.substring(1):t;return e[n]=Se(n),e}),Se)}),Pe=Ce(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]);t.apply=Ce,t.config={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},t.update=L,t.animated=Pe,t.a=Pe,t.interpolate=function(e,t,n){return e&&new D(e,t,n)},t.Globals=M,t.useSpring=function(e){var t=l.fun(e),n=$(1,t?e:[e]),r=n[0],i=n[1],a=n[2];return t?[r[0],i,a]:r},t.useTrail=function(e,t){var n=o.useRef(!1),r=l.fun(t),a=p(t),u=o.useRef(),s=$(e,(function(e,t){return 0===e&&(u.current=[]),u.current.push(t),i({},a,{config:p(a.config,e),attach:e>0&&function(){return u.current[e-1]}})})),c=s[0],f=s[1],d=s[2],h=o.useMemo((function(){return function(e){return f((function(t,n){e.reverse;var r=e.reverse?t+1:t-1,o=u.current[r];return i({},e,{config:p(e.config||a.config,t),attach:o&&function(){return o}})}))}}),[e,a.reverse]);return o.useEffect((function(){n.current&&!r&&h(t)})),o.useEffect((function(){n.current=!0}),[]),r?[c,h,d]:c},t.useTransition=function(e,t,n){var r=i({items:e,keys:t||function(e){return e}},n),u=X(r),s=u.lazy,c=void 0!==s&&s,l=(u.unique,u.reset),d=void 0!==l&&l,h=(u.enter,u.leave,u.update,u.onDestroyed),m=(u.keys,u.items,u.onFrame),g=u.onRest,v=u.onStart,y=u.ref,b=a(u,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),w=f(),k=o.useRef(!1),A=o.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!k.current&&new Map,forceUpdate:w});return o.useImperativeHandle(r.ref,(function(){return{start:function(){return Promise.all(Array.from(A.current.instances).map((function(e){var t=e[1];return new Promise((function(e){return t.start(e)}))})))},stop:function(e){return Array.from(A.current.instances).forEach((function(t){return t[1].stop(e)}))},get controllers(){return Array.from(A.current.instances).map((function(e){return e[1]}))}}})),A.current=function(e,t){var n=e.first,r=e.prevProps,o=a(e,["first","prevProps"]),u=X(t),s=u.items,c=u.keys,l=u.initial,f=u.from,d=u.enter,h=u.leave,m=u.update,g=u.trail,v=void 0===g?0:g,y=u.unique,b=u.config,w=u.order,k=void 0===w?[J,_,Z]:w,A=X(r),V=A.keys,x=A.items,E=i({},o.current),j=[].concat(o.deleted),S=Object.keys(E),O=new Set(S),C=new Set(c),P=c.filter((function(e){return!O.has(e)})),q=o.transitions.filter((function(e){return!e.destroyed&&!C.has(e.originalKey)})).map((function(e){return e.originalKey})),F=c.filter((function(e){return O.has(e)})),R=-v;for(;k.length;){switch(k.shift()){case J:P.forEach((function(e,t){y&&j.find((function(t){return t.originalKey===e}))&&(j=j.filter((function(t){return t.originalKey!==e})));var r=c.indexOf(e),i=s[r],a=n&&void 0!==l?"initial":J;E[e]={slot:a,originalKey:e,key:y?String(e):U++,item:i,trail:R+=v,config:p(b,i,a),from:p(n&&void 0!==l?l||{}:f,i),to:p(d,i)}}));break;case _:q.forEach((function(e){var t=V.indexOf(e),n=x[t],r=_;j.unshift(i({},E[e],{slot:r,destroyed:!0,left:V[Math.max(0,t-1)],right:V[Math.min(V.length,t+1)],trail:R+=v,config:p(b,n,r),to:p(h,n)})),delete E[e]}));break;case Z:F.forEach((function(e){var t=c.indexOf(e),n=s[t],r=Z;E[e]=i({},E[e],{item:n,slot:r,trail:R+=v,config:p(b,n,r),to:p(m,n)})}))}}var M=c.map((function(e){return E[e]}));return j.forEach((function(e){var t,n=e.left,r=(e.right,a(e,["left","right"]));-1!==(t=M.findIndex((function(e){return e.originalKey===n})))&&(t+=1),t=Math.max(0,t),M=[].concat(M.slice(0,t),[r],M.slice(t))})),i({},o,{changed:P.length||q.length||F.length,first:n&&0===P.length,transitions:M,current:E,deleted:j,prevProps:t})}(A.current,r),A.current.changed&&A.current.transitions.forEach((function(e){var t=e.slot,n=e.from,r=e.to,a=e.config,o=e.trail,u=e.key,s=e.item;A.current.instances.has(u)||A.current.instances.set(u,new Q);var l=A.current.instances.get(u),f=i({},b,{to:r,from:n,config:a,ref:y,onRest:function(n){A.current.mounted&&(e.destroyed&&(y||c||Y(A,u),h&&h(s)),!Array.from(A.current.instances).some((function(e){return!e[1].idle}))&&(y||c)&&A.current.deleted.length>0&&Y(A),g&&g(s,t,n))},onStart:v&&function(){return v(s,t)},onFrame:m&&function(e){return m(s,t,e)},delay:o,reset:d&&t===J});l.update(f),A.current.paused||l.start()})),o.useEffect((function(){return A.current.mounted=k.current=!0,function(){A.current.mounted=k.current=!1,Array.from(A.current.instances).map((function(e){return e[1].destroy()})),A.current.instances.clear()}}),[]),A.current.transitions.map((function(e){var t=e.item,n=e.slot,r=e.key;return{item:t,key:r,state:n,props:A.current.instances.get(r).getValues()}}))},t.useChain=function(e,t,n){void 0===n&&(n=1e3);var r=o.useRef();o.useEffect((function(){l.equ(e,r.current)?e.forEach((function(e){var t=e.current;return t&&t.start()})):t?e.forEach((function(e,r){var a=e.current;if(a){var o=a.controllers;if(o.length){var u=n*t[r];o.forEach((function(e){e.queue=e.queue.map((function(e){return i({},e,{delay:e.delay+u})})),e.start()}))}}})):e.reduce((function(e,t,n){var r=t.current;return e.then((function(){return r.start()}))}),Promise.resolve()),r.current=e}))},t.useSprings=$}}]);

Zerion Mini Shell 1.0