"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6850],{6041:function(e,r,o){o.d(r,{E:function(){return ek}});var t=o(959),a=o(8169),n=o(649),l=o(1457),i=o(8141),s=o(7957);let c={xs:(0,n.h)(3),sm:(0,n.h)(5),md:(0,n.h)(8),lg:(0,n.h)(12),xl:(0,n.h)(16)},d=(0,l.F4)({from:{backgroundPosition:"0 0"},to:{backgroundPosition:`${(0,n.h)(40)} 0`}});var p=(0,i.k)((e,{color:r,radius:o},{size:t})=>({root:{position:"relative",height:(0,s.a)({size:t,sizes:c}),backgroundColor:"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[2],borderRadius:e.fn.radius(o),overflow:"hidden"},bar:{position:"absolute",top:0,bottom:0,left:0,height:"100%",display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:e.fn.variant({variant:"filled",primaryFallback:!1,color:r||e.primaryColor}).background,transition:"width 100ms linear","&[data-animate]":{animation:`${d} 1000ms linear infinite`},"&[data-striped]":{backgroundSize:`${(0,n.h)(20)} ${(0,n.h)(20)}`,backgroundImage:"linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent)"},"&:last-of-type":{borderTopRightRadius:e.fn.radius(o),borderBottomRightRadius:e.fn.radius(o)},"&:first-of-type":{borderTopLeftRadius:e.fn.radius(o),borderBottomLeftRadius:e.fn.radius(o)},"@media (prefers-reduced-motion)":{transitionDuration:e.respectReducedMotion?"0ms":void 0}},label:{color:e.white,fontSize:`calc(${(0,s.a)({size:t,sizes:c})} * 0.65)`,fontWeight:700,userSelect:"none",overflow:"hidden",whiteSpace:"nowrap"}})),u=o(4283),f=o(9955),m=o(2509),b=o(2747);let v=(0,t.createContext)(!1),g=v.Provider,y=()=>(0,t.useContext)(v);function h({children:e,openDelay:r=0,closeDelay:o=0}){return t.createElement(g,{value:!0},t.createElement(b.e0,{delay:{open:r,close:o}},e))}h.displayName="@mantine/core/TooltipGroup";var w=Object.defineProperty,P=Object.defineProperties,O=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,k=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,N=(e,r,o)=>r in e?w(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,j=(e,r)=>{for(var o in r||(r={}))k.call(r,o)&&N(e,o,r[o]);if(E)for(var o of E(r))x.call(r,o)&&N(e,o,r[o]);return e},C=(e,r)=>P(e,O(r)),R=(0,i.k)((e,{color:r,radius:o,width:t,multiline:a})=>({tooltip:C(j(j({},e.fn.fontStyles()),function(e,r){if(!r)return{backgroundColor:"dark"===e.colorScheme?e.colors.gray[2]:e.colors.gray[9],color:"dark"===e.colorScheme?e.black:e.white};let o=e.fn.variant({variant:"filled",color:r,primaryFallback:!1});return{backgroundColor:o.background,color:o.color}}(e,r)),{lineHeight:e.lineHeight,fontSize:e.fontSizes.sm,borderRadius:e.fn.radius(o),padding:`calc(${e.spacing.xs} / 2) ${e.spacing.xs}`,position:"absolute",whiteSpace:a?"unset":"nowrap",pointerEvents:"none",width:t}),arrow:{backgroundColor:"inherit",border:0,zIndex:1}}));let S={children:"Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported"};var D=o(5334),F=o(4847),I=o(6667),M=o(6365),z=Object.defineProperty,T=Object.defineProperties,$=Object.getOwnPropertyDescriptors,L=Object.getOwnPropertySymbols,Y=Object.prototype.hasOwnProperty,_=Object.prototype.propertyIsEnumerable,A=(e,r,o)=>r in e?z(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,B=(e,r)=>{for(var o in r||(r={}))Y.call(r,o)&&A(e,o,r[o]);if(L)for(var o of L(r))_.call(r,o)&&A(e,o,r[o]);return e},G=(e,r)=>T(e,$(r)),X=(e,r)=>{var o={};for(var t in e)Y.call(e,t)&&0>r.indexOf(t)&&(o[t]=e[t]);if(null!=e&&L)for(var t of L(e))0>r.indexOf(t)&&_.call(e,t)&&(o[t]=e[t]);return o};let q={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:(0,m.w)("popover")};function K(e){var r;let o=(0,a.N4)("TooltipFloating",q,e),{children:n,refProp:l,withinPortal:i,portalProps:s,style:c,className:d,classNames:p,styles:m,unstyled:v,radius:g,color:y,label:h,offset:w,position:P,multiline:O,width:E,zIndex:k,disabled:x,variant:N}=o,j=X(o,["children","refProp","withinPortal","portalProps","style","className","classNames","styles","unstyled","radius","color","label","offset","position","multiline","width","zIndex","disabled","variant"]),{handleMouseMove:C,x:z,y:T,opened:$,boundaryRef:L,floating:Y,setOpened:_}=function({offset:e,position:r}){let[o,a]=(0,t.useState)(!1),n=(0,t.useRef)(),{x:l,y:i,reference:s,floating:c,refs:d,update:p,placement:u}=(0,b.YF)({placement:r,middleware:[(0,D.uY)({crossAxis:!0,padding:5,rootBoundary:"document"})]}),f=u.includes("right")?e:r.includes("left")?-1*e:0,m=u.includes("bottom")?e:r.includes("top")?-1*e:0,v=(0,t.useCallback)(({clientX:e,clientY:r})=>{s({getBoundingClientRect:()=>({width:0,height:0,x:e,y:r,left:e+f,top:r+m,right:e,bottom:r})})},[s]);return(0,t.useEffect)(()=>{if(d.floating.current){let e=n.current;e.addEventListener("mousemove",v);let r=(0,F.Kx)(d.floating.current);return r.forEach(e=>{e.addEventListener("scroll",p)}),()=>{e.removeEventListener("mousemove",v),r.forEach(e=>{e.removeEventListener("scroll",p)})}}},[s,d.floating.current,p,v,o]),{handleMouseMove:v,x:l,y:i,opened:o,setOpened:a,boundaryRef:n,floating:c}}({offset:w,position:P}),{classes:A,cx:K}=R({radius:g,color:y,multiline:O,width:E},{name:"TooltipFloating",classNames:p,styles:m,unstyled:v,variant:N});if(!(0,u.k)(n))throw Error(S.children);let Q=(0,f.Y)(L,n.ref),H=e=>{var r,o;null==(o=(r=n.props).onMouseEnter)||o.call(r,e),C(e),_(!0)},Z=e=>{var r,o;null==(o=(r=n.props).onMouseLeave)||o.call(r,e),_(!1)};return t.createElement(t.Fragment,null,t.createElement(I.q,G(B({},s),{withinPortal:i}),t.createElement(M.x,G(B({},j),{ref:Y,className:K(A.tooltip,d),style:G(B({},c),{zIndex:k,display:!x&&$?"block":"none",top:null!=T?T:"",left:null!=(r=Math.round(z))?r:""})}),h)),(0,t.cloneElement)(n,G(B({},n.props),{[l]:Q,onMouseEnter:H,onMouseLeave:Z})))}K.displayName="@mantine/core/TooltipFloating";var Q=o(1222),H=o(4376),Z=o(5992),W=o(3722),J=o(4490),U=o(7924),V=o(9203),ee=Object.defineProperty,er=Object.defineProperties,eo=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,ea=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable,el=(e,r,o)=>r in e?ee(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,ei=(e,r)=>{for(var o in r||(r={}))ea.call(r,o)&&el(e,o,r[o]);if(et)for(var o of et(r))en.call(r,o)&&el(e,o,r[o]);return e},es=(e,r)=>er(e,eo(r)),ec=(e,r)=>{var o={};for(var t in e)ea.call(e,t)&&0>r.indexOf(t)&&(o[t]=e[t]);if(null!=e&&et)for(var t of et(e))0>r.indexOf(t)&&en.call(e,t)&&(o[t]=e[t]);return o};let ed={position:"top",refProp:"ref",withinPortal:!1,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},width:"auto",events:{hover:!0,focus:!1,touch:!1},zIndex:(0,m.w)("popover"),positionDependencies:[]},ep=(0,t.forwardRef)((e,r)=>{var o;let n=(0,t.useRef)(null),l=(0,a.N4)("Tooltip",ed,e),{children:i,position:s,refProp:c,label:d,openDelay:p,closeDelay:m,onPositionChange:v,opened:g,withinPortal:h,portalProps:w,radius:P,color:O,classNames:E,styles:k,unstyled:x,style:N,className:j,withArrow:C,arrowSize:F,arrowOffset:z,arrowRadius:T,arrowPosition:$,offset:L,transitionProps:Y,multiline:_,width:A,events:B,zIndex:G,disabled:X,positionDependencies:q,onClick:K,onMouseEnter:ee,onMouseLeave:er,inline:eo,variant:et,keepMounted:ea}=l,en=ec(l,["children","position","refProp","label","openDelay","closeDelay","onPositionChange","opened","withinPortal","portalProps","radius","color","classNames","styles","unstyled","style","className","withArrow","arrowSize","arrowOffset","arrowRadius","arrowPosition","offset","transitionProps","multiline","width","events","zIndex","disabled","positionDependencies","onClick","onMouseEnter","onMouseLeave","inline","variant","keepMounted"]),{classes:el,cx:ep,theme:eu}=R({radius:P,color:O,width:A,multiline:_},{name:"Tooltip",classNames:E,styles:k,unstyled:x,variant:et}),ef=function(e){let[r,o]=(0,t.useState)(!1),a="boolean"==typeof e.opened,n=a?e.opened:r,l=y(),i=(0,H.M)(),{delay:s,currentId:c,setCurrentId:d}=(0,b.tj)(),p=(0,t.useCallback)(e=>{o(e),e&&d(i)},[d,i]),{x:u,y:f,reference:m,floating:v,context:g,refs:h,update:w,placement:P,middlewareData:{arrow:{x:O,y:E}={}}}=(0,b.YF)({placement:e.position,open:n,onOpenChange:p,middleware:[(0,D.cv)(e.offset),(0,D.uY)({padding:8}),(0,D.RR)(),(0,Q.x7)({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[(0,D.Qo)()]:[]]}),{getReferenceProps:k,getFloatingProps:x}=(0,b.NI)([(0,b.XI)(g,{enabled:e.events.hover,delay:l?s:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events.touch}),(0,b.KK)(g,{enabled:e.events.focus,keyboardOnly:!0}),(0,b.qs)(g,{role:"tooltip"}),(0,b.bQ)(g,{enabled:(e.opened,!1)}),(0,b.Qu)(g,{id:i})]);return(0,W.L)({opened:n,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:h,update:w}}),(0,Z.l)(()=>{var r;null==(r=e.onPositionChange)||r.call(e,P)},[P]),{x:u,y:f,arrowX:O,arrowY:E,reference:m,floating:v,getFloatingProps:x,getReferenceProps:k,isGroupPhase:n&&c&&c!==i,opened:n,placement:P}}({position:(0,J._)(eu.dir,s),closeDelay:m,openDelay:p,onPositionChange:v,opened:g,events:B,arrowRef:n,arrowOffset:z,offset:L+(C?F/2:0),positionDependencies:[...q,i],inline:eo});if(!(0,u.k)(i))throw Error(S.children);let em=(0,f.Y)(ef.reference,i.ref,r);return t.createElement(t.Fragment,null,t.createElement(I.q,es(ei({},w),{withinPortal:h}),t.createElement(U.u,es(ei({keepMounted:ea,mounted:!X&&ef.opened},Y),{transition:Y.transition||"fade",duration:ef.isGroupPhase?10:null!=(o=Y.duration)?o:100}),e=>{var r,o;return t.createElement(M.x,ei(ei({},en),ef.getFloatingProps({ref:ef.floating,className:el.tooltip,style:es(ei(ei({},N),e),{zIndex:G,top:null!=(r=ef.y)?r:0,left:null!=(o=ef.x)?o:0})})),d,t.createElement(V.Y,{ref:n,arrowX:ef.arrowX,arrowY:ef.arrowY,visible:C,position:ef.placement,arrowSize:F,arrowOffset:z,arrowRadius:T,arrowPosition:$,className:el.arrow}))})),(0,t.cloneElement)(i,ef.getReferenceProps(ei({onClick:K,onMouseEnter:ee,onMouseLeave:er,onMouseMove:e.onMouseMove,onPointerDown:e.onPointerDown,onPointerEnter:e.onPointerEnter,[c]:em,className:ep(j,i.props.className)},i.props))))});ep.Group=h,ep.Floating=K,ep.displayName="@mantine/core/Tooltip";var eu=o(1128),ef=Object.defineProperty,em=Object.defineProperties,eb=Object.getOwnPropertyDescriptors,ev=Object.getOwnPropertySymbols,eg=Object.prototype.hasOwnProperty,ey=Object.prototype.propertyIsEnumerable,eh=(e,r,o)=>r in e?ef(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,ew=(e,r)=>{for(var o in r||(r={}))eg.call(r,o)&&eh(e,o,r[o]);if(ev)for(var o of ev(r))ey.call(r,o)&&eh(e,o,r[o]);return e},eP=(e,r)=>em(e,eb(r)),eO=(e,r)=>{var o={};for(var t in e)eg.call(e,t)&&0>r.indexOf(t)&&(o[t]=e[t]);if(null!=e&&ev)for(var t of ev(e))0>r.indexOf(t)&&ey.call(e,t)&&(o[t]=e[t]);return o};let eE={size:"md",radius:"sm",striped:!1,animate:!1,label:""},ek=(0,t.forwardRef)((e,r)=>{let o=(0,a.N4)("Progress",eE,e),{className:n,value:l,color:i,size:s,radius:c,striped:d,animate:u,label:f,"aria-label":m,classNames:b,styles:v,sections:g,unstyled:y,variant:h}=o,w=eO(o,["className","value","color","size","radius","striped","animate","label","aria-label","classNames","styles","sections","unstyled","variant"]),{classes:P,cx:O,theme:E}=p({color:i,radius:c},{name:"Progress",classNames:b,styles:v,unstyled:y,variant:h,size:s}),k=Array.isArray(g)?g.reduce((e,r)=>(e.sections.push(eP(ew({},r),{accumulated:e.accumulated})),e.accumulated+=r.value,e),{accumulated:0,sections:[]}).sections.map((e,r)=>{var{tooltip:o,accumulated:a,value:n,label:l,color:i}=e,s=eO(e,["tooltip","accumulated","value","label","color"]);return t.createElement(ep.Floating,{label:o,disabled:!o,key:r},t.createElement(M.x,eP(ew({},s),{className:O(P.bar,s.className),"data-striped":d||u||void 0,"data-animate":u||void 0,sx:{width:`${n}%`,left:`${a}%`,backgroundColor:E.fn.variant({variant:"filled",primaryFallback:!1,color:i||E.primaryColor}).background}}),l&&t.createElement(eu.x,{className:P.label},l)))}):null;return t.createElement(M.x,ew({className:O(P.root,n),ref:r},w),k||t.createElement("div",{role:"progressbar","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,"aria-label":m,className:P.bar,style:{width:`${l}%`},"data-striped":d||u||void 0,"data-animate":u||void 0},f?t.createElement(eu.x,{className:P.label},f):""))});ek.displayName="@mantine/core/Progress"},2294:function(e,r,o){o.d(r,{Z:function(){return t}});var t=(0,o(3226).Z)("x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]])}}]);