-1||/[A-Z]/.test(e))}var so={};function XA(e){for(var t in e)so[t]=e[t]}var ZA=["","X","Y","Z"],JA=["translate","scale","rotate","skew"],uo=["transformPerspective","x","y","z"];JA.forEach(function(e){return ZA.forEach(function(t){return uo.push(e+t)})});function e3(e,t){return uo.indexOf(e)-uo.indexOf(t)}var t3=new Set(uo);function Uu(e){return t3.has(e)}var r3=new Set(["originX","originY","originZ"]);function Vy(e){return r3.has(e)}function Hy(e,t){var r=t.layout,n=t.layoutId;return Uu(e)||Vy(e)||(r||n!==void 0)&&(!!so[e]||e==="opacity")}var Yr=function(e){return e!==null&&typeof e=="object"&&e.getVelocity},n3={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function a3(e,t,r,n){var a=e.transform,i=e.transformKeys,o=t.enableHardwareAcceleration,s=o===void 0?!0:o,u=t.allowTransformNone,l=u===void 0?!0:u,c="";i.sort(e3);for(var v=!1,p=i.length,g=0;g5?(t=e.substr(1,2),r=e.substr(3,2),n=e.substr(5,2),a=e.substr(7,2)):(t=e.substr(1,1),r=e.substr(2,1),n=e.substr(3,1),a=e.substr(4,1),t+=t,r+=r,n+=n,a+=a),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alpha:a?parseInt(a,16)/255:1}}var cp={test:up("#"),parse:f3,transform:ka.transform},it={test:function(e){return ka.test(e)||cp.test(e)||Ta.test(e)},parse:function(e){return ka.test(e)?ka.parse(e):Ta.test(e)?Ta.parse(e):cp.parse(e)},transform:function(e){return fo(e)?e:e.hasOwnProperty("red")?ka.transform(e):Ta.transform(e)}},Ky="${c}",Gy="${n}";function d3(e){var t,r,n,a;return isNaN(e)&&fo(e)&&((r=(t=e.match(co))===null||t===void 0?void 0:t.length)!==null&&r!==void 0?r:0)+((a=(n=e.match(sp))===null||n===void 0?void 0:n.length)!==null&&a!==void 0?a:0)>0}function Yy(e){var t=[],r=0,n=e.match(sp);n&&(r=n.length,e=e.replace(sp,Ky),t.push.apply(t,n.map(it.parse)));var a=e.match(co);return a&&(e=e.replace(co,Gy),t.push.apply(t,a.map(Rn.parse))),{values:t,numColors:r,tokenised:e}}function Xy(e){return Yy(e).values}function Zy(e){var t=Yy(e),r=t.values,n=t.numColors,a=t.tokenised,i=r.length;return function(o){for(var s=a,u=0;u0?-1:1;return C*((h-x)*w)/P}):(l=function(y){var d=Math.exp(-y*r),f=(y-o)*r+1;return-Sp+d*f},c=function(y){var d=Math.exp(-y*r),f=(o-y)*(r*r);return d*f});var p=5/r,g=a4(l,c,p);if(r=r*1e3,isNaN(g))return{stiffness:100,damping:10,duration:r};var m=Math.pow(g,2)*u;return{stiffness:m,damping:v*2*Math.sqrt(u*m),duration:r}}var n4=12;function a4(e,t,r){for(var n=r,a=1;a=y;else{var C=h(w)*1e3,T=Math.abs(C)<=o,R=Math.abs(a-P)<=s;l.done=T&&R}return l.value=l.done?a:P,l},flipTarget:function(){var w;m=-m,w=[a,r],r=w[0],a=w[1],x()}}}Ep.needsInterpolation=function(e,t){return typeof e=="string"||typeof t=="string"};var Eb=function(e){return 0},mo=function(e,t,r){var n=t-e;return n===0?1:(r-e)/n},pt=function(e,t,r){return-r*e+r*t+e},u4=function(e,t,r){var n=e*e,a=t*t;return Math.sqrt(Math.max(0,r*(a-n)+n))},l4=[cp,ka,Ta],Pb=function(e){return l4.find(function(t){return t.test(e)})},Ob=function(e,t){var r=Pb(e),n=Pb(t);no(r.transform===n.transform);var a=r.parse(e),i=n.parse(t),o=F({},a),s=r===Ta?pt:u4;return function(u){for(var l in o)l!=="alpha"&&(o[l]=s(a[l],i[l],u));return o.alpha=pt(a.alpha,i.alpha,u),r.transform(o)}},Pp=function(e){return typeof e=="number"},c4=function(e,t){return function(r){return t(e(r))}},go=function(){for(var e=[],t=0;t=e[n]&&(i=n-1,o=!0),!o){for(var s=1;sa||s===n);s++);i=s-1}var u=mo(e[i],e[i+1],a);return t[i](u)}}function Ab(e,t,r){var n=r===void 0?{}:r,a=n.clamp,i=a===void 0?!0:a,o=n.ease,s=n.mixer,u=e.length;no(u===t.length),no(!o||!Array.isArray(o)||o.length===u-1),e[0]>e[u-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());var l=v4(t,o,s),c=u===2?h4(e,l):m4(e,l);return i?function(v){return c(Gu(e[0],e[u-1],v))}:c}var Yu=function(e){return function(t){return 1-e(1-t)}},Op=function(e){return function(t){return t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2}},g4=function(e){return function(t){return Math.pow(t,e)}},Mb=function(e){return function(t){return t*t*((e+1)*t-e)}},y4=function(e){var t=Mb(e);return function(r){return(r*=2)<1?.5*t(r):.5*(2-Math.pow(2,-10*(r-1)))}},Fb=1.525,b4=4/11,x4=8/11,w4=9/10,Lb=function(e){return e},Tp=g4(2),S4=Yu(Tp),Db=Op(Tp),Ib=function(e){return 1-Math.sin(Math.acos(e))},$b=Yu(Ib),C4=Op($b),kp=Mb(Fb),E4=Yu(kp),P4=Op(kp),O4=y4(Fb),T4=4356/361,k4=35442/1805,_4=16061/1805,Xu=function(e){if(e===1||e===0)return e;var t=e*e;return e=u,l},flipTarget:function(){c.reverse(),g=p()}}}function D4(e){var t=e.velocity,r=t===void 0?0:t,n=e.from,a=n===void 0?0:n,i=e.power,o=i===void 0?.8:i,s=e.timeConstant,u=s===void 0?350:s,l=e.restDelta,c=l===void 0?.5:l,v=e.modifyTarget,p={done:!1,value:a},g=o*r,m=a+g,y=v===void 0?m:v(m);return y!==m&&(g=y-a),{next:function(d){var f=-g*Math.exp(-d/u);return p.done=!(f>c||f<-c),p.value=p.done?y:y+f,p},flipTarget:function(){}}}var jb={keyframes:Zu,spring:Ep,decay:D4};function I4(e){if(Array.isArray(e.to))return Zu;if(jb[e.type])return jb[e.type];var t=new Set(Object.keys(e));return t.has("ease")||t.has("duration")&&!t.has("dampingRatio")?Zu:t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta")?Ep:Zu}function Bb(e,t,r){return r===void 0&&(r=0),e-t-r}function $4(e,t,r,n){return r===void 0&&(r=0),n===void 0&&(n=!0),n?Bb(t+-e,t,r):t-(e-t)+r}function j4(e,t,r,n){return n?e>=t+r:e<=-r}var B4=function(e){var t=function(r){var n=r.delta;return e(n)};return{start:function(){return rr.update(t,!0)},stop:function(){return Ui.update(t)}}};function zb(e){var t,r,n=e.from,a=e.autoplay,i=a===void 0?!0:a,o=e.driver,s=o===void 0?B4:o,u=e.elapsed,l=u===void 0?0:u,c=e.repeat,v=c===void 0?0:c,p=e.repeatType,g=p===void 0?"loop":p,m=e.repeatDelay,y=m===void 0?0:m,d=e.onPlay,f=e.onStop,h=e.onComplete,x=e.onRepeat,w=e.onUpdate,P=St(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]),C=P.to,T,R=0,k=P.duration,A,j=!1,U=!0,V,K=I4(P);((r=(t=K).needsInterpolation)===null||r===void 0?void 0:r.call(t,n,C))&&(V=Ab([0,100],[n,C],{clamp:!1}),n=0,C=100);var X=K(F(F({},P),{from:n,to:C}));function H(){R++,g==="reverse"?(U=R%2==0,l=$4(l,k,y,U)):(l=Bb(l,k,y),g==="mirror"&&X.flipTarget()),j=!1,x&&x()}function J(){T.stop(),h&&h()}function ee(pe){if(U||(pe=-pe),l+=pe,!j){var L=X.next(Math.max(0,l));A=L.value,V&&(A=V(A)),j=U?L.done:l<=0}w==null||w(A),j&&(R===0&&(k!=null||(k=l)),Ro}function T(H){return i===void 0?o:o===void 0||Math.abs(i-H)j||U===-1&&H0?r=o:t=o;while(Math.abs(i)>N4&&++s=U4?Q4(s,p,e,r):g===0?p:H4(s,u,u+rl,e,r)}return function(s){return s===0||s===1?s:el(o(s),t,n)}}function K4(e){var t=e.onTap,r=e.onTapStart,n=e.onTapCancel,a=e.whileTap,i=e.visualElement,o=t||r||n||a,s=S.exports.useRef(!1),u=S.exports.useRef(null);function l(){var m;(m=u.current)===null||m===void 0||m.call(u),u.current=null}function c(){var m;return l(),s.current=!1,(m=i.animationState)===null||m===void 0||m.setActive(_e.Tap,!1),!xb()}function v(m,y){!c()||(Sb(i.getInstance(),m.target)?t==null||t(m,y):n==null||n(m,y))}function p(m,y){!c()||n==null||n(m,y)}function g(m,y){var d;l(),!s.current&&(s.current=!0,u.current=go(_a(window,"pointerup",v),_a(window,"pointercancel",p)),r==null||r(m,y),(d=i.animationState)===null||d===void 0||d.setActive(_e.Tap,!0))}Ku(i,"pointerdown",o?g:void 0),wp(l)}var An=function(e){return function(t){return e(t),null}},G4={tap:An(K4),focus:An(z3),hover:An(X3)};function Kb(e,t){if(!Array.isArray(t))return!1;var r=t.length;if(r!==e.length)return!1;for(var n=0;n-1&&e.splice(r,1)}var ol=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(t){var r=this;return e1(this.subscriptions,t),function(){return t1(r.subscriptions,t)}},e.prototype.notify=function(t,r,n){var a=this.subscriptions.length;if(!!a)if(a===1)this.subscriptions[0](t,r,n);else for(var i=0;ih&&j,X=Array.isArray(A)?A:[A],H=X.reduce(i,{});U===!1&&(H={});var J=k.prevResolvedValues,ee=J===void 0?{}:J,ue=F(F({},ee),H),pe=function(q){K=!0,d.delete(q),k.needsAnimating[q]=!0};for(var L in ue){var z=H[L],I=ee[L];f.hasOwnProperty(L)||(z!==I?ho(z)&&ho(I)?Kb(z,I)?k.protectedKeys[L]=!0:pe(L):z!==void 0?pe(L):d.add(L):z!==void 0&&d.has(L)?pe(L):k.protectedKeys[L]=!0)}k.prevProp=A,k.prevResolvedValues=H,k.isActive&&(f=F(F({},f),H)),a&&e.blockInitialAnimation&&(K=!1),K&&!V&&y.push.apply(y,at([],Pe(X.map(function(q){return{animation:q,options:F({type:R},c)}}))))},w=0;w=3;if(!(!g&&!m)){var y=p.point,d=xu().timestamp;a.history.push(F(F({},y),{timestamp:d}));var f=a.handlers,h=f.onStart,x=f.onMove;g||(h&&h(a.lastMoveEvent,p),a.startEvent=a.lastMoveEvent),x&&x(a.lastMoveEvent,p)}}},this.handlePointerMove=function(p,g){if(a.lastMoveEvent=p,a.lastMoveEventInfo=Ip(g,a.transformPagePoint),db(p)&&p.buttons===0){a.handlePointerUp(p,g);return}rr.update(a.updatePoint,!0)},this.handlePointerUp=function(p,g){a.end();var m=a.handlers,y=m.onEnd,d=m.onSessionEnd,f=$p(Ip(g,a.transformPagePoint),a.history);a.startEvent&&y&&y(p,f),d&&d(p,f)},!(pb(t)&&t.touches.length>1)){this.handlers=r,this.transformPagePoint=o;var s=xp(t),u=Ip(s,this.transformPagePoint),l=u.point,c=xu().timestamp;this.history=[F(F({},l),{timestamp:c})];var v=r.onSessionStart;v&&v(t,$p(u,this.history)),this.removeListeners=go(_a(window,"pointermove",this.handlePointerMove),_a(window,"pointerup",this.handlePointerUp),_a(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(t){this.handlers=t},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),Ui.update(this.updatePoint)},e}();function Ip(e,t){return t?{point:t(e.point)}:e}function o1(e,t){return{x:e.x-t.x,y:e.y-t.y}}function $p(e,t){var r=e.point;return{point:r,delta:o1(r,s1(t)),offset:o1(r,_M(t)),velocity:RM(t,.1)}}function _M(e){return e[0]}function s1(e){return e[e.length-1]}function RM(e,t){if(e.length<2)return{x:0,y:0};for(var r=e.length-1,n=null,a=s1(e);r>=0&&(n=e[r],!(a.timestamp-n.timestamp>nl(t)));)r--;if(!n)return{x:0,y:0};var i=(a.timestamp-n.timestamp)/1e3;if(i===0)return{x:0,y:0};var o={x:(a.x-n.x)/i,y:(a.y-n.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function AM(e){return e}function u1(e){var t=e.top,r=e.left,n=e.right,a=e.bottom;return{x:{min:r,max:n},y:{min:t,max:a}}}function MM(e){var t=e.x,r=e.y;return{top:r.min,bottom:r.max,left:t.min,right:t.max}}function FM(e,t){var r=e.top,n=e.left,a=e.bottom,i=e.right;t===void 0&&(t=AM);var o=t({x:n,y:r}),s=t({x:i,y:a});return{top:o.y,left:o.x,bottom:s.y,right:s.x}}function Zr(){return{x:{min:0,max:1},y:{min:0,max:1}}}function LM(e){return{x:F({},e.x),y:F({},e.y)}}var l1={translate:0,scale:1,origin:0,originPoint:0};function c1(){return{x:F({},l1),y:F({},l1)}}function vt(e){return[e("x"),e("y")]}function f1(e,t,r){var n=t.min,a=t.max;return n!==void 0&&ea&&(e=r?pt(a,e,r.max):Math.min(e,a)),e}function DM(e,t,r,n,a){var i=e-t*r;return n?f1(i,n,a):i}function d1(e,t,r){return{min:t!==void 0?e.min+t:void 0,max:r!==void 0?e.max+r-(e.max-e.min):void 0}}function IM(e,t){var r=t.top,n=t.left,a=t.bottom,i=t.right;return{x:d1(e.x,n,i),y:d1(e.y,r,a)}}function p1(e,t){var r,n=t.min-e.min,a=t.max-e.max;return t.max-t.minn?r=mo(t.min,t.max-n,e.min):n>a&&(r=mo(e.min,e.max-a,t.min)),NM(r)}function b1(e,t,r,n){n===void 0&&(n=.5),e.origin=n,e.originPoint=pt(t.min,t.max,e.origin),e.scale=yo(r)/yo(t),y1(e.scale,1,1e-4)&&(e.scale=1),e.translate=pt(r.min,r.max,e.origin)-e.originPoint,y1(e.translate)&&(e.translate=0)}function x1(e,t,r,n){b1(e.x,t.x,r.x,w1(n.originX)),b1(e.y,t.y,r.y,w1(n.originY))}function w1(e){return typeof e=="number"?e:.5}function S1(e,t,r){e.min=r.min+t.min,e.max=e.min+yo(t)}function HM(e,t){S1(e.target.x,e.relativeTarget.x,t.target.x),S1(e.target.y,e.relativeTarget.y,t.target.y)}var jp=function(e,t){return e.depth-t.depth};function C1(e){var t=e.projection.isEnabled;return t||e.shouldResetTransform()}function ul(e,t){t===void 0&&(t=[]);var r=e.parent;return r&&ul(r,t),C1(e)&&t.push(e),t}function WM(e){var t=[],r=function(n){C1(n)&&t.push(n),n.children.forEach(r)};return e.children.forEach(r),t.sort(jp)}function ll(e){if(!e.shouldResetTransform()){var t=e.getLayoutState();e.notifyBeforeLayoutMeasure(t.layout),t.isHydrated=!0,t.layout=e.measureViewportBox(),t.layoutCorrected=LM(t.layout),e.notifyLayoutMeasure(t.layout,e.prevViewportBox||t.layout),rr.update(function(){return e.rebaseProjectionTarget()})}}function UM(e){e.shouldResetTransform()||(e.prevViewportBox=e.measureViewportBox(!1),e.rebaseProjectionTarget(!1,e.prevViewportBox))}function QM(e,t,r,n){e.min=pt(t.min,r.min,n),e.max=pt(t.max,r.max,n)}function E1(e,t){return{min:t.min-e.min,max:t.max-e.min}}function Aa(e,t){return{x:E1(e.x,t.x),y:E1(e.y,t.y)}}function qM(e,t){var r=e.getLayoutId(),n=t.getLayoutId();return r!==n||n===void 0&&e!==t}function P1(e){var t=e.getProps(),r=t.drag,n=t._dragX;return r&&!n}function O1(e,t){e.min=t.min,e.max=t.max}function KM(e,t){O1(e.x,t.x),O1(e.y,t.y)}function cl(e,t,r){var n=e-r,a=t*n;return r+a}function T1(e,t,r,n,a){return a!==void 0&&(e=cl(e,a,n)),cl(e,r,n)+t}function Bp(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),e.min=T1(e.min,t,r,n,a),e.max=T1(e.max,t,r,n,a)}function GM(e,t){var r=t.x,n=t.y;Bp(e.x,r.translate,r.scale,r.originPoint),Bp(e.y,n.translate,n.scale,n.originPoint)}function k1(e,t,r,n){var a=Pe(n,3),i=a[0],o=a[1],s=a[2];e.min=t.min,e.max=t.max;var u=r[s]!==void 0?r[s]:.5,l=pt(t.min,t.max,u);Bp(e,r[i],r[o],l,r.scale)}var _1=["x","scaleX","originX"],R1=["y","scaleY","originY"];function zp(e,t,r){k1(e.x,t.x,r,_1),k1(e.y,t.y,r,R1)}function A1(e,t,r,n,a){return e-=t,e=cl(e,1/r,n),a!==void 0&&(e=cl(e,1/a,n)),e}function YM(e,t,r,n,a){t===void 0&&(t=0),r===void 0&&(r=1),n===void 0&&(n=.5);var i=pt(e.min,e.max,n)-t;e.min=A1(e.min,t,r,i,a),e.max=A1(e.max,t,r,i,a)}function M1(e,t,r){var n=Pe(r,3),a=n[0],i=n[1],o=n[2];YM(e,t[a],t[i],t[o],t.scale)}function F1(e,t){M1(e.x,t,_1),M1(e.y,t,R1)}function XM(e,t,r){var n=r.length;if(!!n){t.x=t.y=1;for(var a,i,o=0;ot?r="y":Math.abs(e.x)>t&&(r="x"),r}function r6(e){var t=e.dragControls,r=e.visualElement,n=S.exports.useContext(Nu).transformPagePoint,a=io(function(){return new e6({visualElement:r})});a.setProps(F(F({},e),{transformPagePoint:n})),S.exports.useEffect(function(){return t&&t.subscribe(a)},[a]),S.exports.useEffect(function(){return a.mount(r)},[])}function n6(e){var t=e.onPan,r=e.onPanStart,n=e.onPanEnd,a=e.onPanSessionStart,i=e.visualElement,o=t||r||n||a,s=S.exports.useRef(null),u=S.exports.useContext(Nu).transformPagePoint,l={onSessionStart:a,onStart:r,onMove:t,onEnd:function(v,p){s.current=null,n&&n(v,p)}};S.exports.useEffect(function(){s.current!==null&&s.current.updateHandlers(l)});function c(v){s.current=new i1(v,l,{transformPagePoint:u})}Ku(i,"pointerdown",o&&c),wp(function(){return s.current&&s.current.end()})}var a6={pan:An(n6),drag:An(r6)},xo;(function(e){e[e.Entering=0]="Entering",e[e.Present=1]="Present",e[e.Exiting=2]="Exiting"})(xo||(xo={}));var Hp;(function(e){e[e.Hide=0]="Hide",e[e.Show=1]="Show"})(Hp||(Hp={}));function Wp(e){return typeof e=="string"&&e.startsWith("var(--")}var $1=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function i6(e){var t=$1.exec(e);if(!t)return[,];var r=Pe(t,3),n=r[1],a=r[2];return[n,a]}function Up(e,t,r){var n=Pe(i6(e),2),a=n[0],i=n[1];if(!!a){var o=window.getComputedStyle(t).getPropertyValue(a);return o?o.trim():Wp(i)?Up(i,t):i}}function o6(e,t,r){var n,a=St(t,[]),i=e.getInstance();if(!(i instanceof HTMLElement))return{target:a,transitionEnd:r};r&&(r=F({},r)),e.forEachValue(function(l){var c=l.get();if(!!Wp(c)){var v=Up(c,i);v&&l.set(v)}});for(var o in a){var s=a[o];if(!!Wp(s)){var u=Up(s,i);!u||(a[o]=u,r&&((n=r[o])!==null&&n!==void 0||(r[o]=s)))}}return{target:a,transitionEnd:r}}function j1(e,t){return e/(t.max-t.min)*100}function s6(e,t,r){var n=r.target;if(typeof e=="string")if(Y.test(e))e=parseFloat(e);else return e;var a=j1(e,n.x),i=j1(e,n.y);return a+"% "+i+"%"}var B1="_$css";function u6(e,t){var r=t.delta,n=t.treeScale,a=e,i=e.includes("var("),o=[];i&&(e=e.replace($1,function(y){return o.push(y),B1}));var s=wr.parse(e);if(s.length>5)return a;var u=wr.createTransformer(e),l=typeof s[0]!="number"?1:0,c=r.x.scale*n.x,v=r.y.scale*n.y;s[0+l]/=c,s[1+l]/=v;var p=pt(c,v,.5);typeof s[2+l]=="number"&&(s[2+l]/=p),typeof s[3+l]=="number"&&(s[3+l]/=p);var g=u(s);if(i){var m=0;g=g.replace(B1,function(){var y=o[m];return m++,y})}return g}var wo={process:s6},l6={borderRadius:F(F({},wo),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:wo,borderTopRightRadius:wo,borderBottomLeftRadius:wo,borderBottomRightRadius:wo,boxShadow:{process:u6}},z1=1e3,c6=function(e){Fy(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.frameTarget=Zr(),r.currentAnimationTarget=Zr(),r.isAnimating={x:!1,y:!1},r.stopAxisAnimation={x:void 0,y:void 0},r.isAnimatingTree=!1,r.animate=function(n,a,i){i===void 0&&(i={});var o=i.originBox,s=i.targetBox,u=i.visibilityAction,l=i.shouldStackAnimate,c=i.onComplete,v=i.prevParent,p=St(i,["originBox","targetBox","visibilityAction","shouldStackAnimate","onComplete","prevParent"]),g=r.props,m=g.visualElement,y=g.layout;if(l===!1)return r.isAnimatingTree=!1,r.safeToRemove();if(!(r.isAnimatingTree&&l!==!0)){l&&(r.isAnimatingTree=!0),a=o||a,n=s||n;var d=!1,f=m.getProjectionParent();if(f){var h=f.prevViewportBox,x=f.getLayoutState().layout;v&&(s&&(x=v.getLayoutState().layout),o&&!qM(v,f)&&v.prevViewportBox&&(h=v.prevViewportBox)),h&&v6(v,o,s)&&(d=!0,a=Aa(h,a),n=Aa(x,n))}var w=d6(a,n),P=vt(function(C){var T,R;if(y==="position"){var k=n[C].max-n[C].min;a[C].max=a[C].min+k}if(!m.projection.isTargetLocked)if(u!==void 0)m.setVisibility(u===Hp.Show);else return w?r.animateAxis(C,n[C],a[C],F(F({},p),{isRelative:d})):((R=(T=r.stopAxisAnimation)[C])===null||R===void 0||R.call(T),m.setProjectionTargetAxis(C,n[C].min,n[C].max,d))});return m.syncRender(),Promise.all(P).then(function(){r.isAnimatingTree=!1,c&&c(),m.notifyLayoutAnimationComplete()})}},r}return t.prototype.componentDidMount=function(){var r=this,n=this.props.visualElement;n.animateMotionValue=il,n.enableLayoutProjection(),this.unsubLayoutReady=n.onLayoutUpdate(this.animate),n.layoutSafeToRemove=function(){return r.safeToRemove()},XA(l6)},t.prototype.componentWillUnmount=function(){var r=this;this.unsubLayoutReady(),vt(function(n){var a,i;return(i=(a=r.stopAxisAnimation)[n])===null||i===void 0?void 0:i.call(a)})},t.prototype.animateAxis=function(r,n,a,i){var o=this,s,u,l=i===void 0?{}:i,c=l.transition,v=l.isRelative;if(!(this.isAnimating[r]&&So(n,this.currentAnimationTarget[r]))){(u=(s=this.stopAxisAnimation)[r])===null||u===void 0||u.call(s),this.isAnimating[r]=!0;var p=this.props.visualElement,g=this.frameTarget[r],m=p.getProjectionAnimationProgress()[r];m.clearListeners(),m.set(0),m.set(0);var y=function(){var x=m.get()/z1;QM(g,a,n,x),p.setProjectionTargetAxis(r,g.min,g.max,v)};y();var d=m.onChange(y);this.stopAxisAnimation[r]=function(){o.isAnimating[r]=!1,m.stop(),d()},this.currentAnimationTarget[r]=n;var f=c||p.getDefaultTransition()||p6,h=il(r==="x"?"layoutX":"layoutY",m,z1,f&&Fp(f,"layout")).then(this.stopAxisAnimation[r]);return h}},t.prototype.safeToRemove=function(){var r,n;(n=(r=this.props).safeToRemove)===null||n===void 0||n.call(r)},t.prototype.render=function(){return null},t}(S.exports.Component);function f6(e){var t=Pe(Iy(),2),r=t[1];return S.exports.createElement(c6,F({},e,{safeToRemove:r}))}function d6(e,t){return!V1(e)&&!V1(t)&&(!So(e.x,t.x)||!So(e.y,t.y))}var N1={min:0,max:0};function V1(e){return So(e.x,N1)&&So(e.y,N1)}function So(e,t){return e.min===t.min&&e.max===t.max}var p6={duration:.45,ease:[.4,0,.1,1]};function v6(e,t,r){return e||!e&&!(t||r)}var h6={layoutReady:function(e){return e.notifyLayoutReady()}};function H1(){var e=new Set;return{add:function(t){return e.add(t)},flush:function(t){var r=t===void 0?h6:t,n=r.layoutReady,a=r.parent;Np(function(i,o){var s=Array.from(e).sort(jp),u=a?ul(a):[];o(function(){var l=at(at([],Pe(u)),Pe(s));l.forEach(function(c){return c.resetTransform()})}),i(function(){s.forEach(ll)}),o(function(){u.forEach(function(l){return l.restoreTransform()}),s.forEach(n)}),i(function(){s.forEach(function(l){l.isPresent&&(l.presence=xo.Present)})}),o(function(){ba.preRender(),ba.render()}),i(function(){rr.postRender(function(){return s.forEach(m6)}),e.clear()})}),Vp()}}}function m6(e){e.prevViewportBox=e.projection.target}var W1=S.exports.createContext(H1()),g6=S.exports.createContext(H1());function Ln(e){return!!e.forceUpdate}var y6=function(e){Fy(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.componentDidMount=function(){var r=this.props,n=r.syncLayout,a=r.framerSyncLayout,i=r.visualElement;Ln(n)&&n.register(i),Ln(a)&&a.register(i),i.onUnmount(function(){Ln(n)&&n.remove(i),Ln(a)&&a.remove(i)})},t.prototype.getSnapshotBeforeUpdate=function(){var r=this.props,n=r.syncLayout,a=r.visualElement;return Ln(n)?n.syncUpdate():(UM(a),n.add(a)),null},t.prototype.componentDidUpdate=function(){var r=this.props.syncLayout;Ln(r)||r.flush()},t.prototype.render=function(){return null},t}(Oe.Component);function b6(e){var t=S.exports.useContext(W1),r=S.exports.useContext(g6);return Jg(y6,Fv({},F({},e,{syncLayout:t,framerSyncLayout:r})))}var x6={measureLayout:b6,layoutAnimation:f6},w6=function(){return{isEnabled:!1,isHydrated:!1,isTargetLocked:!1,target:Zr(),targetFinal:Zr()}};function U1(){return{isHydrated:!1,layout:Zr(),layoutCorrected:Zr(),treeScale:{x:1,y:1},delta:c1(),deltaFinal:c1(),deltaTransform:""}}var Q1=U1();function dl(e,t,r){var n=e.x,a=e.y,i=n.translate/t.x,o=a.translate/t.y,s="translate3d("+i+"px, "+o+"px, 0) ";if(r){var u=r.rotate,l=r.rotateX,c=r.rotateY;u&&(s+="rotate("+u+") "),l&&(s+="rotateX("+l+") "),c&&(s+="rotateY("+c+") ")}return s+="scale("+n.scale+", "+a.scale+")",!r&&s===S6?"":s}function q1(e){var t=e.deltaFinal;return t.x.origin*100+"% "+t.y.origin*100+"% 0"}var S6=dl(Q1.delta,Q1.treeScale,{x:1,y:1}),pl=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","SetAxisTarget","Unmount"];function C6(){var e=pl.map(function(){return new ol}),t={},r={clearAllListeners:function(){return e.forEach(function(n){return n.clear()})},updatePropListeners:function(n){return pl.forEach(function(a){var i;(i=t[a])===null||i===void 0||i.call(t);var o="on"+a,s=n[o];s&&(t[a]=r[o](s))})}};return e.forEach(function(n,a){r["on"+pl[a]]=function(i){return n.add(i)},r["notify"+pl[a]]=function(){for(var i=[],o=0;o=0;B--){var ie=Q.path[B];if(ie.projection.isEnabled){D=ie;break}}A=D}return A},resolveRelativeTargetBox:function(){var D=Q.getProjectionParent();if(!(!k.relativeTarget||!D)&&(HM(k,D.projection),P1(D))){var B=k.target;zp(B,B,D.getLatestValues())}},shouldResetTransform:function(){return Boolean(f._layoutResetTransform)},pointTo:function(D){j=D.projection,U=D.getLatestValues(),V==null||V(),V=go(D.onSetAxisTarget(Q.scheduleUpdateLayoutProjection),D.onLayoutAnimationComplete(function(){var B;Q.isPresent?Q.presence=xo.Present:(B=Q.layoutSafeToRemove)===null||B===void 0||B.call(Q)}))},isPresent:!0,presence:xo.Entering});return Q}};function k6(e){e.resolveRelativeTargetBox()}function _6(e){e.updateLayoutProjection()}var G1=at(["initial"],Pe(Dp)),R6=G1.length,A6=new Set(["width","height","top","left","right","bottom","x","y"]),Y1=function(e){return A6.has(e)},M6=function(e){return Object.keys(e).some(Y1)},X1=function(e,t){e.set(t,!1),e.set(t)},Z1=function(e){return e===Rn||e===Y},J1;(function(e){e.width="width",e.height="height",e.left="left",e.right="right",e.top="top",e.bottom="bottom"})(J1||(J1={}));var ex=function(e,t){return parseFloat(e.split(", ")[t])},tx=function(e,t){return function(r,n){var a=n.transform;if(a==="none"||!a)return 0;var i=a.match(/^matrix3d\((.+)\)$/);if(i)return ex(i[1],t);var o=a.match(/^matrix\((.+)\)$/);return o?ex(o[1],e):0}},F6=new Set(["x","y","z"]),L6=uo.filter(function(e){return!F6.has(e)});function D6(e){var t=[];return L6.forEach(function(r){var n=e.getValue(r);n!==void 0&&(t.push([r,n.get()]),n.set(r.startsWith("scale")?1:0))}),t.length&&e.syncRender(),t}var rx={width:function(e){var t=e.x;return t.max-t.min},height:function(e){var t=e.y;return t.max-t.min},top:function(e,t){var r=t.top;return parseFloat(r)},left:function(e,t){var r=t.left;return parseFloat(r)},bottom:function(e,t){var r=e.y,n=t.top;return parseFloat(n)+(r.max-r.min)},right:function(e,t){var r=e.x,n=t.left;return parseFloat(n)+(r.max-r.min)},x:tx(4,13),y:tx(5,14)},I6=function(e,t,r){var n=t.measureViewportBox(),a=t.getInstance(),i=getComputedStyle(a),o=i.display,s=i.top,u=i.left,l=i.bottom,c=i.right,v=i.transform,p={top:s,left:u,bottom:l,right:c,transform:v};o==="none"&&t.setStaticValue("display",e.display||"block"),t.syncRender();var g=t.measureViewportBox();return r.forEach(function(m){var y=t.getValue(m);X1(y,rx[m](n,p)),e[m]=rx[m](g,i)}),e},$6=function(e,t,r,n){r===void 0&&(r={}),n===void 0&&(n={}),t=F({},t),n=F({},n);var a=Object.keys(t).filter(Y1),i=[],o=!1,s=[];if(a.forEach(function(l){var c=e.getValue(l);if(!!e.hasValue(l)){var v=r[l],p=t[l],g=sl(v),m;if(ho(p))for(var y=p.length,d=p[0]===null?1:0;d=0)&&(r[a]=e[a]);return r}var eF=fg({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),tF=nt((e,t)=>{var r=Pn("Spinner",e),n=En(e),{label:a="Loading...",thickness:i="2px",speed:o="0.45s",emptyColor:s="transparent",className:u}=n,l=J6(n,["label","thickness","speed","emptyColor","className"]),c=gr("chakra-spinner",u),v=vl({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:i,borderBottomColor:s,borderLeftColor:s,animation:eF+" "+o+" linear infinite"},r);return S.exports.createElement(de.div,vl({ref:t,__css:v,className:c},l),a&&S.exports.createElement(ox,null,a))});function hl(){return hl=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var sx=e=>{var{label:t,placement:r,children:n=S.exports.createElement(tF,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:i}=e,o=rF(e,["label","placement","spacing","children","className","__css"]),s=gr("chakra-button__spinner",a),u=r==="start"?"marginEnd":"marginStart",l=S.exports.useMemo(()=>hl({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?"0.5rem":0,fontSize:"1em",lineHeight:"normal"},i),[i,t,u]);return S.exports.createElement(de.div,hl({className:s},o,{__css:l}),n)};function qp(){return qp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var ux=e=>{var{children:t,className:r}=e,n=nF(e,["children","className"]),a=S.exports.isValidElement(t)?S.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,i=gr("chakra-button__icon",r);return S.exports.createElement(de.span,qp({display:"inline-flex",alignSelf:"center",flexShrink:0},n,{className:i}),a)};function aF(e){var[t,r]=S.exports.useState(!e),n=S.exports.useCallback(i=>{!i||r(i.tagName==="BUTTON")},[]),a=t?"button":void 0;return{ref:n,type:a}}function iF(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}function Co(){return Co=Object.assign||function(e){for(var t=1;t{var r=Z6(),n=Pn("Button",Co({},r,e)),a=En(e),{isDisabled:i=r==null?void 0:r.isDisabled,isLoading:o,isActive:s,isFullWidth:u,children:l,leftIcon:c,rightIcon:v,loadingText:p,iconSpacing:g="0.5rem",type:m,spinner:y,spinnerPlacement:d="start",className:f,as:h}=a,x=iF(a,["isDisabled","isLoading","isActive","isFullWidth","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as"]),w=S.exports.useMemo(()=>{var R,k=tr({},(R=n==null?void 0:n._focus)!=null?R:{},{zIndex:1});return Co({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",width:u?"100%":"auto"},n,!!r&&{_focus:k})},[n,r,u]),{ref:P,type:C}=aF(h),T={rightIcon:v,leftIcon:c,iconSpacing:g,children:l};return S.exports.createElement(de.button,Co({disabled:i||o,ref:FP(t,P),as:h,type:m!=null?m:C,"data-active":gg(s),"data-loading":gg(o),__css:w,className:gr("chakra-button",f)},x),o&&d==="start"&&S.exports.createElement(sx,{className:"chakra-button__spinner--start",label:p,placement:"start"},y),o?p||S.exports.createElement(de.span,{opacity:0},S.exports.createElement(lx,T)):S.exports.createElement(lx,T),o&&d==="end"&&S.exports.createElement(sx,{className:"chakra-button__spinner--end",label:p,placement:"end"},y))});function lx(e){var{leftIcon:t,rightIcon:r,children:n,iconSpacing:a}=e;return S.exports.createElement(S.exports.Fragment,null,t&&S.exports.createElement(ux,{marginEnd:a},t),n,r&&S.exports.createElement(ux,{marginStart:a},r))}function Kp(){return Kp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var PD=nt((e,t)=>{var{icon:r,children:n,isRound:a,"aria-label":i}=e,o=sF(e,["icon","children","isRound","aria-label"]),s=r||n,u=S.exports.isValidElement(s)?S.exports.cloneElement(s,{"aria-hidden":!0,focusable:!1}):null;return S.exports.createElement(oF,Kp({padding:"0",borderRadius:a?"full":void 0,ref:t,"aria-label":i},o),u)}),OD=de("div"),TD=de("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});function ml(){return ml=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var kD=nt((e,t)=>{var r=En(e),{className:n,centerContent:a}=r,i=uF(r,["className","centerContent"]),o=Pn("Container",e);return S.exports.createElement(de.div,ml({ref:t,className:gr("chakra-container",n)},i,{__css:ml({},o,a&&{display:"flex",flexDirection:"column",alignItems:"center"})}))});function Gp(){return Gp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var _D=nt((e,t)=>{var{direction:r,align:n,justify:a,wrap:i,basis:o,grow:s,shrink:u}=e,l=lF(e,["direction","align","justify","wrap","basis","grow","shrink"]),c={display:"flex",flexDirection:r,alignItems:n,justifyContent:a,flexWrap:i,flexBasis:o,flexGrow:s,flexShrink:u};return S.exports.createElement(de.div,Gp({ref:t,__css:c},l))});function Yp(){return Yp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var RD=nt((e,t)=>{var r=Pn("Heading",e),n=En(e),a=cF(n,["className"]);return S.exports.createElement(de.h2,Yp({ref:t,className:gr("chakra-heading",e.className)},a,{__css:r}))}),Xp="& > *:not(style) ~ *:not(style)";function fF(e){var{spacing:t,direction:r}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:r,[Xp]:wg(r,a=>n[a])}}function dF(e){var{spacing:t,direction:r}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":wg(r,a=>n[a])}}function pF(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}function Eo(){return Eo=Object.assign||function(e){for(var t=1;tS.exports.createElement(de.div,Eo({className:"chakra-stack__item"},e,{__css:Eo({display:"inline-block",flex:"0 0 auto",minWidth:0},e.__css)})),AD=nt((e,t)=>{var{isInline:r,direction:n,align:a,justify:i,spacing:o="0.5rem",wrap:s,children:u,divider:l,className:c,shouldWrapChildren:v}=e,p=pF(e,["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"]),g=r?"row":n!=null?n:"column",m=S.exports.useMemo(()=>fF({direction:g,spacing:o}),[g,o]),y=S.exports.useMemo(()=>dF({spacing:o,direction:g}),[o,g]),d=!!l,f=!v&&!d,h=CP(u),x=f?h:h.map((P,C)=>{var T=typeof P.key!="undefined"?P.key:C,R=C+1===h.length,k=S.exports.createElement(vF,{key:T},P),A=v?k:P;if(!d)return A;var j=S.exports.cloneElement(l,{__css:y}),U=R?null:j;return S.exports.createElement(S.exports.Fragment,{key:T},A,U)}),w=gr("chakra-stack",c);return S.exports.createElement(de.div,Eo({ref:t,display:"flex",alignItems:a,justifyContent:i,flexDirection:m.flexDirection,flexWrap:s,className:w,__css:d?{}:{[Xp]:m[Xp]}},p),x)});function Zp(){return Zp=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var MD=nt((e,t)=>{var r=Pn("Text",e),n=En(e),a=hF(n,["className","align","decoration","casing"]),i=ld({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return S.exports.createElement(de.p,Zp({ref:t,className:gr("chakra-text",e.className)},i,a,{__css:r}))}),mF=Qr?S.exports.useLayoutEffect:S.exports.useEffect;function FD(e){var t=SO(),r=Array.isArray(e)?e:[e],n=Qr&&"matchMedia"in t.window,[a,i]=S.exports.useState(r.map(o=>n?!!t.window.matchMedia(o).matches:!1));return mF(()=>{if(!!n){var o=r.map(u=>t.window.matchMedia(u)),s=o.map((u,l)=>{var c=()=>i(v=>v.map((p,g)=>l===g?!!u.matches:p));return u.addListener(c),c});return()=>{o.forEach((u,l)=>{u.removeListener(s[l])})}}},[e]),a}function Jr(){return Jr=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var LD=nt((e,t)=>{var r=dO("Table",e),n=En(e),{className:a}=n,i=Jp(n,["className"]);return S.exports.createElement(Y2,{value:r},S.exports.createElement(de.table,Jr({role:"table",ref:t,__css:r.table,className:gr("chakra-table",a)},i)))}),DD=nt((e,t)=>{var r=Gi();return S.exports.createElement(de.thead,Jr({},e,{ref:t,__css:r.thead}))}),ID=nt((e,t)=>{var r=Gi();return S.exports.createElement(de.tbody,Jr({},e,{ref:t,__css:r.tbody}))}),$D=nt((e,t)=>{var{isNumeric:r}=e,n=Jp(e,["isNumeric"]),a=Gi();return S.exports.createElement(de.th,Jr({},n,{ref:t,__css:a.th,"data-is-numeric":r}))}),jD=nt((e,t)=>{var r=Gi();return S.exports.createElement(de.tr,Jr({role:"row"},e,{ref:t,__css:r.tr}))}),BD=nt((e,t)=>{var{isNumeric:r}=e,n=Jp(e,["isNumeric"]),a=Gi();return S.exports.createElement(de.td,Jr({role:"gridcell"},n,{ref:t,__css:a.td,"data-is-numeric":r}))});function Po(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function ar(e){if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView:window}return e}function ev(e){var t=ar(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Oo(e){var t=ar(e).Element;return e instanceof t||e instanceof Element}function ir(e){var t=ar(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function gF(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yF(e){return e===ar(e)||!ir(e)?ev(e):gF(e)}function Vt(e){return e?(e.nodeName||"").toLowerCase():null}function Sr(e){return(Oo(e)?e.ownerDocument:e.document).documentElement}function tv(e){return Po(Sr(e)).left+ev(e).scrollLeft}function Cr(e){return ar(e).getComputedStyle(e)}function rv(e){var t=Cr(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function bF(e,t,r){r===void 0&&(r=!1);var n=Sr(t),a=Po(e),i=ir(t),o={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(i||!i&&!r)&&((Vt(t)!=="body"||rv(n))&&(o=yF(t)),ir(t)?(s=Po(t),s.x+=t.clientLeft,s.y+=t.clientTop):n&&(s.x=tv(n))),{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}function nv(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function gl(e){return Vt(e)==="html"?e:e.assignedSlot||e.parentNode||e.host||Sr(e)}function cx(e){return["html","body","#document"].indexOf(Vt(e))>=0?e.ownerDocument.body:ir(e)&&rv(e)?e:cx(gl(e))}function To(e,t){t===void 0&&(t=[]);var r=cx(e),n=Vt(r)==="body",a=ar(r),i=n?[a].concat(a.visualViewport||[],rv(r)?r:[]):r,o=t.concat(i);return n?o:o.concat(To(gl(i)))}function xF(e){return["table","td","th"].indexOf(Vt(e))>=0}function fx(e){if(!ir(e)||Cr(e).position==="fixed")return null;var t=e.offsetParent;if(t){var r=Sr(t);if(Vt(t)==="body"&&Cr(t).position==="static"&&Cr(r).position!=="static")return r}return t}function wF(e){for(var t=gl(e);ir(t)&&["html","body"].indexOf(Vt(t))<0;){var r=Cr(t);if(r.transform!=="none"||r.perspective!=="none"||r.willChange&&r.willChange!=="auto")return t;t=t.parentNode}return null}function ko(e){for(var t=ar(e),r=fx(e);r&&xF(r)&&Cr(r).position==="static";)r=fx(r);return r&&Vt(r)==="body"&&Cr(r).position==="static"?t:r||wF(e)||t}var Ft="top",Ht="bottom",Wt="right",Lt="left",av="auto",_o=[Ft,Ht,Wt,Lt],Fa="start",iv="end",SF="clippingParents",dx="viewport",Ro="popper",CF="reference",px=_o.reduce(function(e,t){return e.concat([t+"-"+Fa,t+"-"+iv])},[]),vx=[].concat(_o,[av]).reduce(function(e,t){return e.concat([t,t+"-"+Fa,t+"-"+iv])},[]),EF="beforeRead",PF="read",OF="afterRead",TF="beforeMain",kF="main",_F="afterMain",RF="beforeWrite",AF="write",MF="afterWrite",FF=[EF,PF,OF,TF,kF,_F,RF,AF,MF];function LF(e){var t=new Map,r=new Set,n=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),n}function DF(e){var t=LF(e);return FF.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function IF(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function or(e){return e.split("-")[0]}function $F(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign(Object.assign(Object.assign({},a),n),{},{options:Object.assign(Object.assign({},a.options),n.options),data:Object.assign(Object.assign({},a.data),n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}function jF(e){var t=ar(e),r=Sr(e),n=t.visualViewport,a=r.clientWidth,i=r.clientHeight,o=0,s=0;return n&&(a=n.width,i=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=n.offsetLeft,s=n.offsetTop)),{width:a,height:i,x:o+tv(e),y:s}}function BF(e){var t=Sr(e),r=ev(e),n=e.ownerDocument.body,a=Math.max(t.scrollWidth,t.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),i=Math.max(t.scrollHeight,t.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),o=-r.scrollLeft+tv(e),s=-r.scrollTop;return Cr(n||t).direction==="rtl"&&(o+=Math.max(t.clientWidth,n?n.clientWidth:0)-a),{width:a,height:i,x:o,y:s}}function hx(e,t){var r=Boolean(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(r){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function ov(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function zF(e){var t=Po(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function mx(e,t){return t===dx?ov(jF(e)):ir(t)?zF(t):ov(BF(Sr(e)))}function NF(e){var t=To(gl(e)),r=["absolute","fixed"].indexOf(Cr(e).position)>=0,n=r&&ir(e)?ko(e):e;return Oo(n)?t.filter(function(a){return Oo(a)&&hx(a,n)&&Vt(a)!=="body"}):[]}function VF(e,t,r){var n=t==="clippingParents"?NF(e):[].concat(t),a=[].concat(n,[r]),i=a[0],o=a.reduce(function(s,u){var l=mx(e,u);return s.top=Math.max(l.top,s.top),s.right=Math.min(l.right,s.right),s.bottom=Math.min(l.bottom,s.bottom),s.left=Math.max(l.left,s.left),s},mx(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ao(e){return e.split("-")[1]}function sv(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function gx(e){var t=e.reference,r=e.element,n=e.placement,a=n?or(n):null,i=n?Ao(n):null,o=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case Ft:u={x:o,y:t.y-r.height};break;case Ht:u={x:o,y:t.y+t.height};break;case Wt:u={x:t.x+t.width,y:s};break;case Lt:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var l=a?sv(a):null;if(l!=null){var c=l==="y"?"height":"width";switch(i){case Fa:u[l]=Math.floor(u[l])-Math.floor(t[c]/2-r[c]/2);break;case iv:u[l]=Math.floor(u[l])+Math.ceil(t[c]/2-r[c]/2);break}}return u}function yx(){return{top:0,right:0,bottom:0,left:0}}function bx(e){return Object.assign(Object.assign({},yx()),e)}function xx(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}function Mo(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,i=r.boundary,o=i===void 0?SF:i,s=r.rootBoundary,u=s===void 0?dx:s,l=r.elementContext,c=l===void 0?Ro:l,v=r.altBoundary,p=v===void 0?!1:v,g=r.padding,m=g===void 0?0:g,y=bx(typeof m!="number"?m:xx(m,_o)),d=c===Ro?CF:Ro,f=e.elements.reference,h=e.rects.popper,x=e.elements[p?d:c],w=VF(Oo(x)?x:x.contextElement||Sr(e.elements.popper),o,u),P=Po(f),C=gx({reference:P,element:h,strategy:"absolute",placement:a}),T=ov(Object.assign(Object.assign({},h),C)),R=c===Ro?T:P,k={top:w.top-R.top+y.top,bottom:R.bottom-w.bottom+y.bottom,left:w.left-R.left+y.left,right:R.right-w.right+y.right},A=e.modifiersData.offset;if(c===Ro&&A){var j=A[a];Object.keys(k).forEach(function(U){var V=[Wt,Ht].indexOf(U)>=0?1:-1,K=[Ft,Ht].indexOf(U)>=0?"y":"x";k[U]+=j[K]*V})}return k}var wx={placement:"bottom",modifiers:[],strategy:"absolute"};function Sx(){for(var e=arguments.length,t=new Array(e),r=0;r=0?-1:1,i=typeof r=="function"?r(Object.assign(Object.assign({},t),{},{placement:e})):r,o=i[0],s=i[1];return o=o||0,s=(s||0)*a,[Lt,Wt].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}function rL(e){var t=e.state,r=e.options,n=e.name,a=r.offset,i=a===void 0?[0,0]:a,o=vx.reduce(function(c,v){return c[v]=tL(v,t.rects,i),c},{}),s=o[t.placement],u=s.x,l=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=o}var nL={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rL},aL={left:"right",right:"left",bottom:"top",top:"bottom"};function bl(e){return e.replace(/left|right|bottom|top/g,function(t){return aL[t]})}var iL={start:"end",end:"start"};function Ex(e){return e.replace(/start|end/g,function(t){return iL[t]})}function oL(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,i=r.rootBoundary,o=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,l=u===void 0?vx:u,c=Ao(n),v=c?s?px:px.filter(function(m){return Ao(m)===c}):_o,p=v.filter(function(m){return l.indexOf(m)>=0});p.length===0&&(p=v);var g=p.reduce(function(m,y){return m[y]=Mo(e,{placement:y,boundary:a,rootBoundary:i,padding:o})[or(y)],m},{});return Object.keys(g).sort(function(m,y){return g[m]-g[y]})}function sL(e){if(or(e)===av)return[];var t=bl(e);return[Ex(e),t,Ex(t)]}function uL(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,o=r.altAxis,s=o===void 0?!0:o,u=r.fallbackPlacements,l=r.padding,c=r.boundary,v=r.rootBoundary,p=r.altBoundary,g=r.flipVariations,m=g===void 0?!0:g,y=r.allowedAutoPlacements,d=t.options.placement,f=or(d),h=f===d,x=u||(h||!m?[bl(d)]:sL(d)),w=[d].concat(x).reduce(function(q,Z){return q.concat(or(Z)===av?oL(t,{placement:Z,boundary:c,rootBoundary:v,padding:l,flipVariations:m,allowedAutoPlacements:y}):Z)},[]),P=t.rects.reference,C=t.rects.popper,T=new Map,R=!0,k=w[0],A=0;A=0,X=K?"width":"height",H=Mo(t,{placement:j,boundary:c,rootBoundary:v,altBoundary:p,padding:l}),J=K?V?Wt:Lt:V?Ht:Ft;P[X]>C[X]&&(J=bl(J));var ee=bl(J),ue=[];if(i&&ue.push(H[U]<=0),s&&ue.push(H[J]<=0,H[ee]<=0),ue.every(function(q){return q})){k=j,R=!1;break}T.set(j,ue)}if(R)for(var pe=m?3:1,L=function(Z){var Fe=w.find(function(Ke){var Le=T.get(Ke);if(Le)return Le.slice(0,Z).every(function(Ge){return Ge})});if(Fe)return k=Fe,"break"},z=pe;z>0;z--){var I=L(z);if(I==="break")break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}}var lL={name:"flip",enabled:!0,phase:"main",fn:uL,requiresIfExists:["offset"],data:{_skip:!1}};function cL(e){return e==="x"?"y":"x"}function xl(e,t,r){return Math.max(e,Math.min(t,r))}function fL(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,i=a===void 0?!0:a,o=r.altAxis,s=o===void 0?!1:o,u=r.boundary,l=r.rootBoundary,c=r.altBoundary,v=r.padding,p=r.tether,g=p===void 0?!0:p,m=r.tetherOffset,y=m===void 0?0:m,d=Mo(t,{boundary:u,rootBoundary:l,padding:v,altBoundary:c}),f=or(t.placement),h=Ao(t.placement),x=!h,w=sv(f),P=cL(w),C=t.modifiersData.popperOffsets,T=t.rects.reference,R=t.rects.popper,k=typeof y=="function"?y(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):y,A={x:0,y:0};if(!!C){if(i){var j=w==="y"?Ft:Lt,U=w==="y"?Ht:Wt,V=w==="y"?"height":"width",K=C[w],X=C[w]+d[j],H=C[w]-d[U],J=g?-R[V]/2:0,ee=h===Fa?T[V]:R[V],ue=h===Fa?-R[V]:-T[V],pe=t.elements.arrow,L=g&&pe?nv(pe):{width:0,height:0},z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yx(),I=z[j],q=z[U],Z=xl(0,T[V],L[V]),Fe=x?T[V]/2-J-Z-I-k:ee-Z-I-k,Ke=x?-T[V]/2+J+Z+q+k:ue+Z+q+k,Le=t.elements.arrow&&ko(t.elements.arrow),Ge=Le?w==="y"?Le.clientTop||0:Le.clientLeft||0:0,Ut=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,rn=C[w]+Fe-Ut-Ge,nn=C[w]+Ke-Ut,Er=xl(g?Math.min(X,rn):X,K,g?Math.max(H,nn):H);C[w]=Er,A[w]=Er-K}if(s){var Q=w==="x"?Ft:Lt,D=w==="x"?Ht:Wt,B=C[P],ie=B+d[Q],Ee=B-d[D],Ae=xl(ie,B,Ee);C[P]=Ae,A[P]=Ae-B}t.modifiersData[n]=A}}var dL={name:"preventOverflow",enabled:!0,phase:"main",fn:fL,requiresIfExists:["offset"]};function pL(e){var t,r=e.state,n=e.name,a=r.elements.arrow,i=r.modifiersData.popperOffsets,o=or(r.placement),s=sv(o),u=[Lt,Wt].indexOf(o)>=0,l=u?"height":"width";if(!(!a||!i)){var c=r.modifiersData[n+"#persistent"].padding,v=nv(a),p=s==="y"?Ft:Lt,g=s==="y"?Ht:Wt,m=r.rects.reference[l]+r.rects.reference[s]-i[s]-r.rects.popper[l],y=i[s]-r.rects.reference[s],d=ko(a),f=d?s==="y"?d.clientHeight||0:d.clientWidth||0:0,h=m/2-y/2,x=c[p],w=f-v[l]-c[g],P=f/2-v[l]/2+h,C=xl(x,P,w),T=s;r.modifiersData[n]=(t={},t[T]=C,t.centerOffset=C-P,t)}}function vL(e){var t=e.state,r=e.options,n=e.name,a=r.element,i=a===void 0?"[data-popper-arrow]":a,o=r.padding,s=o===void 0?0:o;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!hx(t.elements.popper,i)||(t.elements.arrow=i,t.modifiersData[n+"#persistent"]={padding:bx(typeof s!="number"?s:xx(s,_o))}))}var hL={name:"arrow",enabled:!0,phase:"main",fn:pL,effect:vL,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Px(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Ox(e){return[Ft,Wt,Ht,Lt].some(function(t){return e[t]>=0})}function mL(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=Mo(t,{elementContext:"reference"}),s=Mo(t,{altBoundary:!0}),u=Px(o,n),l=Px(s,a,i),c=Ox(u),v=Ox(l);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var gL={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:mL},yL=[UF,qF,XF,eL,nL,lL,dL,hL,gL],bL=HF({defaultModifiers:yL});function uv(){return uv=Object.assign||function(e){for(var t=1;t({var:e,varRef:t?"var("+e+", "+t+")":"var("+e+")"}),qe={arrowShadowColor:La("--popper-arrow-shadow-color"),arrowSize:La("--popper-arrow-size","8px"),arrowSizeHalf:La("--popper-arrow-size-half"),arrowBg:La("--popper-arrow-bg"),transformOrigin:La("--popper-transform-origin"),arrowOffset:La("--popper-arrow-offset")};function xL(e){if(e.includes("top"))return"1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("bottom"))return"-1px -1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("right"))return"-1px 1px 1px 0 var(--popper-arrow-shadow-color)";if(e.includes("left"))return"1px -1px 1px 0 var(--popper-arrow-shadow-color)"}var wL={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},SL=e=>wL[e],Tx={scroll:!0,resize:!0};function CL(e){var t;return typeof e=="object"?t={enabled:!0,options:uv({},Tx,e)}:t={enabled:e,options:Tx},t}var EL={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:e=>{var{state:t}=e;t.styles.popper.width=t.rects.reference.width+"px"},effect:e=>{var{state:t}=e;return()=>{var r=t.elements.reference;t.elements.popper.style.width=r.offsetWidth+"px"}}},PL={name:"transformOrigin",enabled:!0,phase:"write",fn:e=>{var{state:t}=e;kx(t)},effect:e=>{var{state:t}=e;return()=>{kx(t)}}},kx=e=>{e.elements.popper.style.setProperty(qe.transformOrigin.var,SL(e.placement))},OL={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:e=>{var{state:t}=e;TL(t)}},TL=e=>{var t;if(!!e.placement){var r=kL(e.placement);if((t=e.elements)!=null&&t.arrow&&r){Object.assign(e.elements.arrow.style,{[r.property]:r.value,width:qe.arrowSize.varRef,height:qe.arrowSize.varRef,zIndex:-1});var n={[qe.arrowSizeHalf.var]:"calc("+qe.arrowSize.varRef+" / 2)",[qe.arrowOffset.var]:"calc("+qe.arrowSizeHalf.varRef+" * -1)"};for(var a in n)e.elements.arrow.style.setProperty(a,n[a])}}},kL=e=>{if(e.startsWith("top"))return{property:"bottom",value:qe.arrowOffset.varRef};if(e.startsWith("bottom"))return{property:"top",value:qe.arrowOffset.varRef};if(e.startsWith("left"))return{property:"right",value:qe.arrowOffset.varRef};if(e.startsWith("right"))return{property:"left",value:qe.arrowOffset.varRef}},_L={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:e=>{var{state:t}=e;_x(t)},effect:e=>{var{state:t}=e;return()=>{_x(t)}}},_x=e=>{if(!!e.elements.arrow){var t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");!t||Object.assign(t.style,{transform:"rotate(45deg)",background:qe.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:xL(e.placement)})}},RL={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},AL={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function ML(e,t){var r,n;t===void 0&&(t="ltr");var a=((r=RL[e])==null?void 0:r[t])||e;return t==="ltr"?a:(n=AL[e])!=null?n:a}function FL(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,i;for(i=0;i=0)&&(r[a]=e[a]);return r}function sr(){return sr=Object.assign||function(e){for(var t=1;t{}),x=S.exports.useCallback(()=>{!t||!m.current||!y.current||(h.current==null||h.current(),d.current=bL(m.current,y.current,{placement:f,modifiers:[_L,OL,PL,sr({},EL,{enabled:!!p}),sr({name:"eventListeners"},CL(o)),{name:"arrow",options:{padding:i}},{name:"offset",options:{offset:s!=null?s:[0,u]}},{name:"flip",enabled:!!l,options:{padding:8}},{name:"preventOverflow",enabled:!!v,options:{boundary:c}},...r],strategy:a}),d.current.forceUpdate(),h.current=d.current.destroy)},[f,t,r,p,o,i,s,u,l,v,c,a]);S.exports.useEffect(()=>()=>{if(!m.current&&!y.current){var A;(A=d.current)==null||A.destroy(),d.current=null}},[]);var w=S.exports.useCallback(A=>{m.current=A,x()},[x]),P=S.exports.useCallback(function(A,j){return A===void 0&&(A={}),j===void 0&&(j=null),sr({},A,{ref:vd(w,j)})},[w]),C=S.exports.useCallback(A=>{y.current=A,x()},[x]),T=S.exports.useCallback(function(A,j){return A===void 0&&(A={}),j===void 0&&(j=null),sr({},A,{ref:vd(C,j),style:sr({},A.style,{position:a,minWidth:"max-content",inset:"0 auto auto 0"})})},[a,C]),R=S.exports.useCallback(function(A,j){A===void 0&&(A={}),j===void 0&&(j=null);var U=FL(A,["size","shadowColor","bg","style"]);return sr({},U,{ref:j,"data-popper-arrow":"",style:DL(A)})},[]),k=S.exports.useCallback(function(A,j){return A===void 0&&(A={}),j===void 0&&(j=null),sr({},A,{ref:j,"data-popper-arrow-inner":""})},[]);return{update(){var A;(A=d.current)==null||A.update()},forceUpdate(){var A;(A=d.current)==null||A.forceUpdate()},transformOrigin:qe.transformOrigin.varRef,referenceRef:w,popperRef:C,getPopperProps:T,getArrowProps:R,getArrowInnerProps:k,getReferenceProps:P}}function DL(e){var{size:t,shadowColor:r,bg:n,style:a}=e,i=sr({},a,{position:"absolute"});return t&&(i["--popper-arrow-size"]=t),r&&(i["--popper-arrow-shadow-color"]=r),n&&(i["--popper-arrow-bg"]=n),i}function lv(e,t){return lv=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},lv(e,t)}function Fo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,lv(e,t)}var IL={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function Dn(){return Dn=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function jL(e){e===void 0&&(e={});var{openDelay:t=0,closeDelay:r=0,closeOnClick:n=!0,closeOnMouseDown:a,onOpen:i,onClose:o,placement:s,id:u,isOpen:l,defaultIsOpen:c,arrowSize:v=10,arrowShadowColor:p,arrowPadding:g,modifiers:m,isDisabled:y,gutter:d,offset:f,direction:h}=e,x=$L(e,["openDelay","closeDelay","closeOnClick","closeOnMouseDown","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"]),{isOpen:w,onOpen:P,onClose:C}=RP({isOpen:l,defaultIsOpen:c,onOpen:i,onClose:o}),{referenceRef:T,getPopperProps:R,getArrowInnerProps:k,getArrowProps:A}=LL({enabled:w,placement:s,arrowPadding:g,modifiers:m,gutter:d,offset:f,direction:h}),j=Cg(u,"tooltip"),U=S.exports.useRef(null),V=S.exports.useRef(),K=S.exports.useRef(),X=S.exports.useCallback(()=>{y||(V.current=window.setTimeout(P,t))},[y,P,t]),H=S.exports.useCallback(()=>{V.current&&clearTimeout(V.current),K.current=window.setTimeout(C,r)},[r,C]),J=S.exports.useCallback(()=>{n&&H()},[n,H]),ee=S.exports.useCallback(()=>{a&&H()},[a,H]),ue=I=>{w&&I.key==="Escape"&&H()};Eg("keydown",ue),S.exports.useEffect(()=>()=>{clearTimeout(V.current),clearTimeout(K.current)},[]),Eg("mouseleave",H,()=>U.current);var pe=S.exports.useCallback(function(I,q){I===void 0&&(I={}),q===void 0&&(q=null);var Z=Dn({},I,{ref:vd(U,q,T),onMouseEnter:ga(I.onMouseEnter,X),onClick:ga(I.onClick,J),onMouseDown:ga(I.onMouseDown,ee),onFocus:ga(I.onFocus,X),onBlur:ga(I.onBlur,H),"aria-describedby":w?j:void 0});return Z},[X,H,ee,w,j,J,T]),L=S.exports.useCallback(function(I,q){return I===void 0&&(I={}),q===void 0&&(q=null),R(Dn({},I,{style:Dn({},I.style,{[qe.arrowSize.var]:v?gu(v):void 0,[qe.arrowShadowColor.var]:p})}),q)},[R,v,p]),z=S.exports.useCallback(function(I,q){I===void 0&&(I={}),q===void 0&&(q=null);var Z=Dn({ref:q},x,I,{id:j,role:"tooltip",style:Dn({},I.style,{position:"relative",transformOrigin:qe.transformOrigin.varRef})});return Z},[x,j]);return{isOpen:w,show:X,hide:H,getTriggerProps:pe,getTooltipProps:z,getTooltipPositionerProps:L,getArrowProps:A,getArrowInnerProps:k}}function Da(){return Da=Object.assign||function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var zL=de(U6.div),zD=nt((e,t)=>{var r=Pn("Tooltip",e),n=En(e),a=Ug(),{children:i,label:o,shouldWrapChildren:s,"aria-label":u,hasArrow:l,bg:c,portalProps:v}=n,p=BL(n,["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps"]);c&&(r.bg=c,r[qe.arrowBg.var]=sP(a,"colors",c));var g=jL(Da({},p,{direction:a.direction})),m=hu(i)||s,y;if(m)y=S.exports.createElement(de.span,Da({tabIndex:0},g.getTriggerProps()),i);else{var d=S.exports.Children.only(i);y=S.exports.cloneElement(d,g.getTriggerProps(d.props,d.ref))}var f=!!u,h=g.getTooltipProps({},t),x=f?ud(h,["role","id"]):h,w=pg(h,["role","id"]);return o?S.exports.createElement(S.exports.Fragment,null,y,S.exports.createElement(X6,null,g.isOpen&&S.exports.createElement(Eu,v,S.exports.createElement(de.div,Da({},g.getTooltipPositionerProps(),{__css:{zIndex:r.zIndex,pointerEvents:"none"}}),S.exports.createElement(zL,Da({variants:IL},x,{initial:"exit",animate:"enter",exit:"exit",__css:r}),o,f&&S.exports.createElement(ox,w,u),l&&S.exports.createElement(de.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},S.exports.createElement(de.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:r.bg}}))))))):S.exports.createElement(S.exports.Fragment,null,i)}),Rx={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Ax=Oe.createContext&&Oe.createContext(Rx),en=globalThis&&globalThis.__assign||function(){return en=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}(),Sl=typeof window=="undefined";function je(){}function HL(e,t){return typeof e=="function"?e(t):e}function cv(e){return typeof e=="number"&&e>=0&&e!==1/0}function Cl(e){return Array.isArray(e)?e:[e]}function Fx(e,t){return Math.max(e+(t||0)-Date.now(),0)}function El(e,t,r){return Tl(e)?typeof t=="function"?ae({},r,{queryKey:e,queryFn:t}):ae({},t,{queryKey:e}):e}function tn(e,t,r){return Tl(e)?[ae({},t,{queryKey:e}),r]:[e||{},t]}function WL(e,t){if(e===!0&&t===!0||e==null&&t==null)return"all";if(e===!1&&t===!1)return"none";var r=e!=null?e:!t;return r?"active":"inactive"}function Lx(e,t){var r=e.active,n=e.exact,a=e.fetching,i=e.inactive,o=e.predicate,s=e.queryKey,u=e.stale;if(Tl(s)){if(n){if(t.queryHash!==fv(s,t.options))return!1}else if(!Pl(t.queryKey,s))return!1}var l=WL(r,i);if(l==="none")return!1;if(l!=="all"){var c=t.isActive();if(l==="active"&&!c||l==="inactive"&&c)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||typeof a=="boolean"&&t.isFetching()!==a||o&&!o(t))}function Dx(e,t){var r=e.exact,n=e.fetching,a=e.predicate,i=e.mutationKey;if(Tl(i)){if(!t.options.mutationKey)return!1;if(r){if(In(t.options.mutationKey)!==In(i))return!1}else if(!Pl(t.options.mutationKey,i))return!1}return!(typeof n=="boolean"&&t.state.status==="loading"!==n||a&&!a(t))}function fv(e,t){var r=(t==null?void 0:t.queryKeyHashFn)||In;return r(e)}function In(e){var t=Cl(e);return UL(t)}function UL(e){return JSON.stringify(e,function(t,r){return dv(r)?Object.keys(r).sort().reduce(function(n,a){return n[a]=r[a],n},{}):r})}function Pl(e,t){return Ix(Cl(e),Cl(t))}function Ix(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(function(r){return!Ix(e[r],t[r])}):!1}function Ol(e,t){if(e===t)return e;var r=Array.isArray(e)&&Array.isArray(t);if(r||dv(e)&&dv(t)){for(var n=r?e.length:Object.keys(e).length,a=r?t:Object.keys(t),i=a.length,o=r?[]:{},s=0,u=0;u0||m.errorUpdateCount>0,isFetchedAfterMount:m.dataUpdateCount>p.dataUpdateCount||m.errorUpdateCount>p.errorUpdateCount,isFetching:h,isRefetching:h&&x!=="loading",isLoadingError:x==="error"&&m.dataUpdatedAt===0,isPlaceholderData:P,isPreviousData:w,isRefetchError:x==="error"&&m.dataUpdatedAt!==0,isStale:Io(a,i),refetch:this.refetch,remove:this.remove};return j},r.shouldNotifyListeners=function(a,i){if(!i)return!0;if(a===i)return!1;var o=this.options,s=o.notifyOnChangeProps,u=o.notifyOnChangePropsExclusions;if(!s&&!u||s==="tracked"&&!this.trackedProps.length)return!0;var l=s==="tracked"?this.trackedProps:s;return Object.keys(a).some(function(c){var v=c,p=a[v]!==i[v],g=l==null?void 0:l.some(function(y){return y===c}),m=u==null?void 0:u.some(function(y){return y===c});return p&&!m&&(!l||g)})},r.updateResult=function(a){var i=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!QL(this.currentResult,i)){var o={cache:!0};(a==null?void 0:a.listeners)!==!1&&this.shouldNotifyListeners(this.currentResult,i)&&(o.listeners=!0),this.notify(ae({},o,a))}},r.updateQuery=function(){var a=this.client.getQueryCache().build(this.client,this.options);if(a!==this.currentQuery){var i=this.currentQuery;this.currentQuery=a,this.currentQueryInitialState=a.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(i==null||i.removeObserver(this),a.addObserver(this))}},r.onQueryUpdate=function(a){var i={};a.type==="success"?i.onSuccess=!0:a.type==="error"&&!Rl(a.error)&&(i.onError=!0),this.updateResult(i),this.hasListeners()&&this.updateTimers()},r.notify=function(a){var i=this;Re.batch(function(){a.onSuccess?(i.options.onSuccess==null||i.options.onSuccess(i.currentResult.data),i.options.onSettled==null||i.options.onSettled(i.currentResult.data,null)):a.onError&&(i.options.onError==null||i.options.onError(i.currentResult.error),i.options.onSettled==null||i.options.onSettled(void 0,i.currentResult.error)),a.listeners&&i.listeners.forEach(function(o){o(i.currentResult)}),a.cache&&i.client.getQueryCache().notify({query:i.currentQuery,type:"observerResultsUpdated"})})},t}(Lo);function uD(e,t){return t.enabled!==!1&&!e.state.dataUpdatedAt&&!(e.state.status==="error"&&t.retryOnMount===!1)}function lD(e,t){return t.enabled!==!1&&e.state.dataUpdatedAt>0&&(t.refetchOnMount==="always"||t.refetchOnMount!==!1&&Io(e,t))}function Wx(e,t){return uD(e,t)||lD(e,t)}function cD(e,t){return t.enabled!==!1&&(t.refetchOnReconnect==="always"||t.refetchOnReconnect!==!1&&Io(e,t))}function fD(e,t){return t.enabled!==!1&&(t.refetchOnWindowFocus==="always"||t.refetchOnWindowFocus!==!1&&Io(e,t))}function Ux(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error"||n.enabled===!1)&&Io(e,r)}function Io(e,t){return e.isStaleByTime(t.staleTime)}var dD=sE.unstable_batchedUpdates;Re.setBatchNotifyFunction(dD);var pD=console;ZL(pD);var Qx=Oe.createContext(void 0),qx=Oe.createContext(!1);function Kx(e){return e&&typeof window!="undefined"?(window.ReactQueryClientContext||(window.ReactQueryClientContext=Qx),window.ReactQueryClientContext):Qx}var vD=function(){var t=Oe.useContext(Kx(Oe.useContext(qx)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},QD=function(t){var r=t.client,n=t.contextSharing,a=n===void 0?!1:n,i=t.children;Oe.useEffect(function(){return r.mount(),function(){r.unmount()}},[r]);var o=Kx(a);return Oe.createElement(qx.Provider,{value:a},Oe.createElement(o.Provider,{value:r},i))};function hD(){var e=!1;return{clearReset:function(){e=!1},reset:function(){e=!0},isReset:function(){return e}}}var mD=Oe.createContext(hD()),gD=function(){return Oe.useContext(mD)};function yD(e,t,r){return typeof t=="function"?t(r):typeof t=="boolean"?t:!!e}function bD(e,t){var r=Oe.useRef(!1),n=Oe.useState(0),a=n[1],i=vD(),o=gD(),s=i.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=Re.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=Re.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=Re.batchCalls(s.onSettled)),s.suspense&&(typeof s.staleTime!="number"&&(s.staleTime=1e3),s.cacheTime===0&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(o.isReset()||(s.retryOnMount=!1));var u=Oe.useState(function(){return new t(i,s)}),l=u[0],c=l.getOptimisticResult(s);if(Oe.useEffect(function(){r.current=!0,o.clearReset();var v=l.subscribe(Re.batchCalls(function(){r.current&&a(function(p){return p+1})}));return l.updateResult(),function(){r.current=!1,v()}},[o,l]),Oe.useEffect(function(){l.setOptions(s,{listeners:!1})},[s,l]),s.suspense&&c.isLoading)throw l.fetchOptimistic(s).then(function(v){var p=v.data;s.onSuccess==null||s.onSuccess(p),s.onSettled==null||s.onSettled(p,null)}).catch(function(v){o.clearReset(),s.onError==null||s.onError(v),s.onSettled==null||s.onSettled(void 0,v)});if(c.isError&&!c.isFetching&&yD(s.suspense,s.useErrorBoundary,c.error))throw c.error;return s.notifyOnChangeProps==="tracked"&&(c=l.trackResult(c)),c}function qD(e,t,r){var n=El(e,t,r);return bD(n,sD)}export{OD as B,TD as C,HD as F,RD as H,PD as I,UD as Q,Oe as R,AD as S,MD as T,FD as a,yd as b,xO as c,VD as d,_D as e,SD as f,LD as g,DD as h,jD as i,Jg as j,$D as k,ID as l,BD as m,zD as n,qD as o,kD as p,ND as q,S as r,WD as s,QD as t,wD as u,CD as v,sE as w,RA as x};
diff --git a/cmd/cli/ui/index.html b/cmd/cli/ui/index.html
new file mode 100644
index 0000000..fce237c
--- /dev/null
+++ b/cmd/cli/ui/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+ Vite App
+
+
+
+
+
+
+
+
+
diff --git a/web/package.json b/web/package.json
index 8abcaeb..d79c76d 100644
--- a/web/package.json
+++ b/web/package.json
@@ -13,10 +13,11 @@
"framer-motion": "^4",
"react": "^17.0.0",
"react-dom": "^17.0.0",
- "react-icons": "^4.2.0"
+ "react-icons": "^4.2.0",
+ "react-query": "^3.32.0"
},
"devDependencies": {
"@vitejs/plugin-react": "^1.0.0",
"vite": "^2.6.4"
}
-}
\ No newline at end of file
+}
diff --git a/web/src/App.jsx b/web/src/App.jsx
index b55664f..56e0b7d 100644
--- a/web/src/App.jsx
+++ b/web/src/App.jsx
@@ -2,15 +2,17 @@ import { useState } from 'react'
import Header from './components/Header'
import Footer from './components/Footer'
import Endpoints from './components/Endpoints'
+import { QueryClient, QueryClientProvider, useQuery } from 'react-query'
+const queryClient = new QueryClient()
function App() {
return (
- <>
+
- >
+
)
}
diff --git a/web/src/components/Endpoints.jsx b/web/src/components/Endpoints.jsx
index 18d1ed7..b1d232b 100644
--- a/web/src/components/Endpoints.jsx
+++ b/web/src/components/Endpoints.jsx
@@ -1,118 +1,93 @@
import React, { Fragment, useEffect, useReducer, useState } from 'react'
import EndpointCard from './EndpointCard'
import { Box, Container, Flex, Heading, Text, Center } from "@chakra-ui/react"
-import { getAllEndpoints, GetEndpointsReducer, initialStateGetAllEndpoints } from '../lib/getEndpointsReducer'
import { FaIdCard, FaTable } from 'react-icons/fa'
import EndpointTable from './EndpointTable'
import NoDataImage from './NoData'
+import { useQuery } from 'react-query'
+
const Endpoints = () => {
- const [{ endpoints, loading, errorMessage }, dispatch] =
- useReducer(GetEndpointsReducer, initialStateGetAllEndpoints)
-
- useEffect(() => {
- async function fetchEndpoints() {
- try {
- let response = await getAllEndpoints(dispatch)
- if (!response) return;
- } catch (error) {
- console.log(error);
- }
- }
-
- fetchEndpoints()
- }, [])
-
- // const endpoints = [
- // {
- // id: "6c4fa765-f6bf-4f00-950f-3315f504cc50",
- // path_url: "http://localhost:3000/api/v1/health/",
- // status: "down"
- // },
- // {
- // id: "4abbf98f-8a8c-46ca-a2c5-ae8eaefbef60",
- // path_url: "http://localhost:3000/api/v1/version/",
- // status: "down"
- // }
- // ]
-
- // const loading = false
+
const [viewElement, setViewElement] = useState(false)
const handleViewElement = () => {
setViewElement(!viewElement)
}
- const handleSelectedRow = (poll) => {
- console.log(poll)
+ const handleSelectedRow = (endpoint) => {
+ console.log(endpoint)
}
const width = "100%";
+
+ const { isLoading, error, data } = useQuery('endpointsData', () =>
+ fetch('/api/v1/mngt/')
+ .then(response =>
+ response.json()
+ )
+ )
+
+ if (isLoading) return 'Loading...'
+
+ if (error) return 'An error has occurred: ' + error.message
+
+
return (
<>
Ngonx Proxy!!
-
-
- In this board you can find the status check point for all endpoints defined on yml file
-
-
Service Discovery
{
- loading
- ?
- (Fetching data ...)
- :
- (
- <>
-
- {viewElement
- ?
- :
- }
-
- {
- viewElement
- ? (
-
-
- {
- endpoints.length > 0
- ?
- :
- }
-
-
-
- )
- : (
-
-
- {
- endpoints.length > 0
- ? (
- {endpoints.map((endpoint) => (
-
-
-
-
- ))}
-
)
- :
-
-
- }
-
- )
- }
- >
- )
+
+ <>
+
+ {viewElement
+ ?
+ :
+ }
+
+ {
+ viewElement
+ ? (
+
+
+ {
+ data.length > 0
+ ?
+ :
+ }
+
+
+
+ )
+ : (
+
+
+ {
+ data.length > 0
+ ? (
+ {data.map((endpoint) => (
+
+
+
+
+ ))}
+
)
+ :
+
+
+ }
+
+ )
+ }
+ >
}
diff --git a/web/src/lib/getEndpointsReducer.js b/web/src/lib/getEndpointsReducer.js
deleted file mode 100644
index c2be933..0000000
--- a/web/src/lib/getEndpointsReducer.js
+++ /dev/null
@@ -1,61 +0,0 @@
-export const initialStateGetAllEndpoints = {
- endpoints: [],
- loading: true,
- errorMessage: null,
-};
-export const GetEndpointsReducer = (initialState, action) => {
-
- switch (action.type) {
- case 'ENDPOINTS_REQUEST':
- return {
- ...initialState,
- loading: true,
- };
- case 'ENDPOINTS_SUCCESS':
- return {
- ...initialState,
- polls: action.payload,
- loading: false,
- };
-
- case 'ENDPOINTS_ERROR':
- return {
- ...initialState,
- loading: false,
- errorMessage: action.error,
- };
-
- default:
- throw new Error(`Unhandled action type: ${action.type}`);
- }
-};
-
-// const ROOT_URL = 'http://localhost:10001';
-
-export async function getAllEndpoints(dispatch) {
- const requestOptions = {
- method: 'GET',
- headers: { 'Content-Type': 'application/json' },
- };
-
- try {
- dispatch({ type: 'ENDPOINTS_REQUEST' });
- let response = await fetch(`/api/v1/mngt/`, requestOptions);
- let data = await response.json();
- if (data.length >= 0) {
-
- dispatch({ type: 'ENDPOINTS_SUCCESS', payload: data });
- return data;
- }
-
- if (data.hasOwnProperty('error')) {
-
- dispatch({ type: 'ENDPOINTS_ERROR', error: data });
- return;
- }
- } catch (error) {
- dispatch({ type: 'ENDPOINTS_ERROR', error: error });
- console.log(error);
- }
-}
-
diff --git a/web/src/main.jsx b/web/src/main.jsx
index 34fdf09..14d8bfc 100644
--- a/web/src/main.jsx
+++ b/web/src/main.jsx
@@ -4,6 +4,7 @@ import './index.css'
import App from './App'
import theme from './theme'
import { ChakraProvider } from "@chakra-ui/react"
+
ReactDOM.render(
diff --git a/web/vite.config.js b/web/vite.config.js
index b1b5f91..7568930 100644
--- a/web/vite.config.js
+++ b/web/vite.config.js
@@ -3,5 +3,13 @@ import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
- plugins: [react()]
+ plugins: [react()],
+ server: {
+ proxy: {
+ '/': 'http://0.0.0.0:10001',
+ }
+ },
+ build: {
+ outDir: '../cmd/cli/ui'
+ }
})
diff --git a/web/yarn.lock b/web/yarn.lock
index dd834b6..db2a46a 100644
--- a/web/yarn.lock
+++ b/web/yarn.lock
@@ -220,7 +220,7 @@
"@babel/plugin-syntax-jsx" "^7.16.0"
"@babel/types" "^7.16.0"
-"@babel/runtime@^7.0.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.13.10", "@babel/runtime@^7.7.2":
+"@babel/runtime@^7.0.0", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.2", "@babel/runtime@^7.7.2":
version "7.16.0"
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.0.tgz#e27b977f2e2088ba24748bf99b5e1dece64e4f0b"
integrity sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw==
@@ -1024,6 +1024,38 @@ babel-plugin-macros@^2.6.1:
cosmiconfig "^6.0.0"
resolve "^1.12.0"
+balanced-match@^1.0.0:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
+ integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
+
+big-integer@^1.6.16:
+ version "1.6.50"
+ resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.50.tgz#299a4be8bd441c73dcc492ed46b7169c34e92e70"
+ integrity sha512-+O2uoQWFRo8ysZNo/rjtri2jIwjr3XfeAgRjAUADRqGG+ZITvyn8J1kvXLTaKVr3hhGXk+f23tKfdzmklVM9vQ==
+
+brace-expansion@^1.1.7:
+ version "1.1.11"
+ resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
+ integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
+ dependencies:
+ balanced-match "^1.0.0"
+ concat-map "0.0.1"
+
+broadcast-channel@^3.4.1:
+ version "3.7.0"
+ resolved "https://registry.yarnpkg.com/broadcast-channel/-/broadcast-channel-3.7.0.tgz#2dfa5c7b4289547ac3f6705f9c00af8723889937"
+ integrity sha512-cIAKJXAxGJceNZGTZSBzMxzyOn72cVgPnKx4dc6LRjQgbaJUQqhy5rzL3zbMxkMWsGKkv2hSFkPRMEXfoMZ2Mg==
+ dependencies:
+ "@babel/runtime" "^7.7.2"
+ detect-node "^2.1.0"
+ js-sha3 "0.8.0"
+ microseconds "0.2.0"
+ nano-time "1.0.0"
+ oblivious-set "1.0.0"
+ rimraf "3.0.2"
+ unload "2.2.0"
+
browserslist@^4.16.6:
version "4.17.5"
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.17.5.tgz#c827bbe172a4c22b123f5e337533ceebadfdd559"
@@ -1071,6 +1103,11 @@ compute-scroll-into-view@1.0.14:
resolved "https://registry.yarnpkg.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.14.tgz#80e3ebb25d6aa89f42e533956cb4b16a04cfe759"
integrity sha512-mKDjINe3tc6hGelUMNDzuhorIUZ7kS7BwyY0r2wQd2HOH2tRuJykiC06iSEX8y1TuhNzvz4GcJnK16mM2J1NMQ==
+concat-map@0.0.1:
+ version "0.0.1"
+ resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
+ integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
+
convert-source-map@^1.5.0, convert-source-map@^1.7.0:
version "1.8.0"
resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.8.0.tgz#f3373c32d21b4d780dd8004514684fb791ca4369"
@@ -1120,6 +1157,11 @@ detect-node-es@^1.1.0:
resolved "https://registry.yarnpkg.com/detect-node-es/-/detect-node-es-1.1.0.tgz#163acdf643330caa0b4cd7c21e7ee7755d6fa493"
integrity sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==
+detect-node@^2.0.4, detect-node@^2.1.0:
+ version "2.1.0"
+ resolved "https://registry.yarnpkg.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1"
+ integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==
+
electron-to-chromium@^1.3.878:
version "1.3.885"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.885.tgz#c8cec32fbc61364127849ae00f2395a1bae7c454"
@@ -1292,6 +1334,11 @@ framesync@5.3.0:
dependencies:
tslib "^2.1.0"
+fs.realpath@^1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
+ integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
+
fsevents@~2.3.2:
version "2.3.2"
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
@@ -1312,6 +1359,18 @@ get-nonce@^1.0.0:
resolved "https://registry.yarnpkg.com/get-nonce/-/get-nonce-1.0.1.tgz#fdf3f0278073820d2ce9426c18f07481b1e0cdf3"
integrity sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==
+glob@^7.1.3:
+ version "7.2.0"
+ resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023"
+ integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==
+ dependencies:
+ fs.realpath "^1.0.0"
+ inflight "^1.0.4"
+ inherits "2"
+ minimatch "^3.0.4"
+ once "^1.3.0"
+ path-is-absolute "^1.0.0"
+
globals@^11.1.0:
version "11.12.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e"
@@ -1349,6 +1408,19 @@ import-fresh@^3.1.0:
parent-module "^1.0.0"
resolve-from "^4.0.0"
+inflight@^1.0.4:
+ version "1.0.6"
+ resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
+ integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
+ dependencies:
+ once "^1.3.0"
+ wrappy "1"
+
+inherits@2:
+ version "2.0.4"
+ resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
+ integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
+
invariant@^2.2.4:
version "2.2.4"
resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6"
@@ -1368,6 +1440,11 @@ is-core-module@^2.2.0:
dependencies:
has "^1.0.3"
+js-sha3@0.8.0:
+ version "0.8.0"
+ resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840"
+ integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
+
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -1407,6 +1484,26 @@ loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0:
dependencies:
js-tokens "^3.0.0 || ^4.0.0"
+match-sorter@^6.0.2:
+ version "6.3.1"
+ resolved "https://registry.yarnpkg.com/match-sorter/-/match-sorter-6.3.1.tgz#98cc37fda756093424ddf3cbc62bfe9c75b92bda"
+ integrity sha512-mxybbo3pPNuA+ZuCUhm5bwNkXrJTbsk5VWbR5wiwz/GC6LIiegBGn2w3O08UG/jdbYLinw51fSQ5xNU1U3MgBw==
+ dependencies:
+ "@babel/runtime" "^7.12.5"
+ remove-accents "0.4.2"
+
+microseconds@0.2.0:
+ version "0.2.0"
+ resolved "https://registry.yarnpkg.com/microseconds/-/microseconds-0.2.0.tgz#233b25f50c62a65d861f978a4a4f8ec18797dc39"
+ integrity sha512-n7DHHMjR1avBbSpsTBj6fmMGh2AGrifVV4e+WYc3Q9lO+xnSZ3NyhcBND3vzzatt05LFhoKFRxrIyklmLlUtyA==
+
+minimatch@^3.0.4:
+ version "3.0.4"
+ resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
+ integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
+ dependencies:
+ brace-expansion "^1.1.7"
+
minimist@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
@@ -1417,6 +1514,13 @@ ms@2.1.2:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
+nano-time@1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/nano-time/-/nano-time-1.0.0.tgz#b0554f69ad89e22d0907f7a12b0993a5d96137ef"
+ integrity sha1-sFVPaa2J4i0JB/ehKwmTpdlhN+8=
+ dependencies:
+ big-integer "^1.6.16"
+
nanoid@^3.1.30:
version "3.1.30"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.30.tgz#63f93cc548d2a113dc5dfbc63bfa09e2b9b64362"
@@ -1432,6 +1536,18 @@ object-assign@^4.1.1:
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
+oblivious-set@1.0.0:
+ version "1.0.0"
+ resolved "https://registry.yarnpkg.com/oblivious-set/-/oblivious-set-1.0.0.tgz#c8316f2c2fb6ff7b11b6158db3234c49f733c566"
+ integrity sha512-z+pI07qxo4c2CulUHCDf9lcqDlMSo72N/4rLUpRXf6fu+q8vjt8y0xS+Tlf8NTJDdTXHbdeO1n3MlbctwEoXZw==
+
+once@^1.3.0:
+ version "1.4.0"
+ resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
+ integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
+ dependencies:
+ wrappy "1"
+
parent-module@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
@@ -1449,6 +1565,11 @@ parse-json@^5.0.0:
json-parse-even-better-errors "^2.3.0"
lines-and-columns "^1.1.6"
+path-is-absolute@^1.0.0:
+ version "1.0.1"
+ resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
+ integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
+
path-parse@^1.0.6:
version "1.0.7"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
@@ -1540,6 +1661,15 @@ react-is@^16.7.0, react-is@^16.8.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==
+react-query@^3.32.0:
+ version "3.32.0"
+ resolved "https://registry.yarnpkg.com/react-query/-/react-query-3.32.0.tgz#01816e08fe118c59bba53cecb0471e020936c2e0"
+ integrity sha512-LAPAc3n7rBA26dZJ6OQiELtjOh5bp7kGEu+d6sOBr9lHtrpXJKPaRzHzPEF4lpmeGBT9D8iWRaJLbu1LNH5iRQ==
+ dependencies:
+ "@babel/runtime" "^7.5.5"
+ broadcast-channel "^3.4.1"
+ match-sorter "^6.0.2"
+
react-refresh@^0.10.0:
version "0.10.0"
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.10.0.tgz#2f536c9660c0b9b1d500684d9e52a65e7404f7e3"
@@ -1586,6 +1716,11 @@ regenerator-runtime@^0.13.4:
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52"
integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==
+remove-accents@0.4.2:
+ version "0.4.2"
+ resolved "https://registry.yarnpkg.com/remove-accents/-/remove-accents-0.4.2.tgz#0a43d3aaae1e80db919e07ae254b285d9e1c7bb5"
+ integrity sha1-CkPTqq4egNuRngeuJUsoXZ4ce7U=
+
resolve-from@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"
@@ -1599,6 +1734,13 @@ resolve@^1.12.0, resolve@^1.20.0:
is-core-module "^2.2.0"
path-parse "^1.0.6"
+rimraf@3.0.2:
+ version "3.0.2"
+ resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a"
+ integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==
+ dependencies:
+ glob "^7.1.3"
+
rollup@^2.57.0:
version "2.59.0"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.59.0.tgz#108c61b0fa0a37ebc8d1f164f281622056f0db59"
@@ -1679,6 +1821,14 @@ tslib@^2.1.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
+unload@2.2.0:
+ version "2.2.0"
+ resolved "https://registry.yarnpkg.com/unload/-/unload-2.2.0.tgz#ccc88fdcad345faa06a92039ec0f80b488880ef7"
+ integrity sha512-B60uB5TNBLtN6/LsgAf3udH9saB5p7gqJwcFfbOEZ8BcBHnGwCf6G/TGiEqkRAxX7zAFIUtzdrXQSdL3Q/wqNA==
+ dependencies:
+ "@babel/runtime" "^7.6.2"
+ detect-node "^2.0.4"
+
use-callback-ref@^1.2.1, use-callback-ref@^1.2.3:
version "1.2.5"
resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.2.5.tgz#6115ed242cfbaed5915499c0a9842ca2912f38a5"
@@ -1711,6 +1861,11 @@ warning@^4.0.3:
dependencies:
loose-envify "^1.0.0"
+wrappy@1:
+ version "1.0.2"
+ resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
+ integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
+
yaml@^1.7.2:
version "1.10.2"
resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"