diff --git a/404.html b/404.html index 765fa00..2f29fdc 100644 --- a/404.html +++ b/404.html @@ -4,4 +4,4 @@ var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"; document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme); } catch (e) {} -

404

This page could not be found.

\ No newline at end of file +

404

This page could not be found.

\ No newline at end of file diff --git a/_next/static/DJeCHJ3GTVATmE5jmjTxR/_buildManifest.js b/_next/static/DJeCHJ3GTVATmE5jmjTxR/_buildManifest.js deleted file mode 100644 index 52fae5d..0000000 --- a/_next/static/DJeCHJ3GTVATmE5jmjTxR/_buildManifest.js +++ /dev/null @@ -1 +0,0 @@ -self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/9793-e4347b89dcc8b6b9.js","static/css/ee445a7f61bd9536.css","static/chunks/pages/index-901b834f6cde1720.js"],"/_error":["static/chunks/pages/_error-78f2934ae700e086.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/Mgtirp6D9YZx_iky1HCEE/_buildManifest.js b/_next/static/Mgtirp6D9YZx_iky1HCEE/_buildManifest.js new file mode 100644 index 0000000..2b3cf75 --- /dev/null +++ b/_next/static/Mgtirp6D9YZx_iky1HCEE/_buildManifest.js @@ -0,0 +1 @@ +self.__BUILD_MANIFEST={__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":["static/chunks/7691-f671f1426856fef2.js","static/css/411d08967b80a6bc.css","static/chunks/pages/index-24e98261751c53b6.js"],"/_error":["static/chunks/pages/_error-78f2934ae700e086.js"],sortedPages:["/","/_app","/_error"]},self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/_next/static/DJeCHJ3GTVATmE5jmjTxR/_ssgManifest.js b/_next/static/Mgtirp6D9YZx_iky1HCEE/_ssgManifest.js similarity index 100% rename from _next/static/DJeCHJ3GTVATmE5jmjTxR/_ssgManifest.js rename to _next/static/Mgtirp6D9YZx_iky1HCEE/_ssgManifest.js diff --git a/_next/static/chunks/7691-f671f1426856fef2.js b/_next/static/chunks/7691-f671f1426856fef2.js new file mode 100644 index 0000000..96bc61a --- /dev/null +++ b/_next/static/chunks/7691-f671f1426856fef2.js @@ -0,0 +1,5 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7691],{2216:function(e,t,n){"use strict";n.d(t,{KK:function(){return _},NI:function(){return V},Qu:function(){return A},XI:function(){return T},YF:function(){return Z},bQ:function(){return H},e0:function(){return P},qs:function(){return Y},tj:function(){return L}});var r,o=n(8321),a=n(6350),i=n(7378);n(1542);var l="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;let c=!1,s=0,u=()=>"floating-ui-"+s++,d=(r||(r=n.t(i,2)))["useId".toString()],f=d||function(){let[e,t]=i.useState(()=>c?u():void 0);return l(()=>{null==e&&t(u())},[]),i.useEffect(()=>{c||(c=!0)},[]),e},p=i.createContext(null),m=i.createContext(null),h=()=>{var e;return(null==(e=i.useContext(p))?void 0:e.id)||null},v=()=>i.useContext(m);function g(e){return(null==e?void 0:e.ownerDocument)||document}function y(e){return g(e).defaultView||window}function b(e){return!!e&&(e instanceof Element||e instanceof y(e).Element)}function w(e){return!!e&&(e instanceof HTMLElement||e instanceof y(e).HTMLElement)}function E(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function x(e,t){if(!e||!t)return!1;let n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&function(e){if("undefined"==typeof ShadowRoot)return!1;let t=y(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function k(e){return"data-floating-ui-"+e}function S(e){let t=(0,i.useRef)(e);return l(()=>{t.current=e}),t}let C=k("safe-polygon");function R(e,t,n){return n&&!E(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function T(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:o,events:a,elements:{domReference:c,floating:s},refs:u}=e,{enabled:d=!0,delay:f=0,handleClose:p=null,mouseOnly:m=!1,restMs:y=0,move:w=!0}=t,k=v(),T=h(),M=S(p),L=S(f),P=i.useRef(),A=i.useRef(),z=i.useRef(),N=i.useRef(),I=i.useRef(!0),$=i.useRef(!1),D=i.useRef(()=>{}),F=i.useCallback(()=>{var e;let t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[o]);i.useEffect(()=>{if(d)return a.on("dismiss",e),()=>{a.off("dismiss",e)};function e(){clearTimeout(A.current),clearTimeout(N.current),I.current=!0}},[d,a]),i.useEffect(()=>{if(!d||!M.current||!n)return;function e(e){F()&&r(!1,e)}let t=g(s).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s,n,r,d,M,o,F]);let O=i.useCallback(function(e,t){void 0===t&&(t=!0);let n=R(L.current,"close",P.current);n&&!z.current?(clearTimeout(A.current),A.current=setTimeout(()=>r(!1,e),n)):t&&(clearTimeout(A.current),r(!1,e))},[L,r]),B=i.useCallback(()=>{D.current(),z.current=void 0},[]),H=i.useCallback(()=>{if($.current){let e=g(u.floating.current).body;e.style.pointerEvents="",e.removeAttribute(C),$.current=!1}},[u]);return i.useEffect(()=>{if(d&&b(c))return n&&c.addEventListener("mouseleave",l),null==s||s.addEventListener("mouseleave",l),w&&c.addEventListener("mousemove",a,{once:!0}),c.addEventListener("mouseenter",a),c.addEventListener("mouseleave",i),()=>{n&&c.removeEventListener("mouseleave",l),null==s||s.removeEventListener("mouseleave",l),w&&c.removeEventListener("mousemove",a),c.removeEventListener("mouseenter",a),c.removeEventListener("mouseleave",i)};function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function a(e){if(clearTimeout(A.current),I.current=!1,m&&!E(P.current)||y>0&&0===R(L.current,"open"))return;let t=R(L.current,"open",P.current);t?A.current=setTimeout(()=>{r(!0,e)},t):r(!0,e)}function i(r){if(t())return;D.current();let o=g(s);if(clearTimeout(N.current),M.current){n||clearTimeout(A.current),z.current=M.current({...e,tree:k,x:r.clientX,y:r.clientY,onClose(){H(),B(),O(r)}});let t=z.current;o.addEventListener("mousemove",t),D.current=()=>{o.removeEventListener("mousemove",t)};return}let a="touch"!==P.current||!x(s,r.relatedTarget);a&&O(r)}function l(n){t()||null==M.current||M.current({...e,tree:k,x:n.clientX,y:n.clientY,onClose(){H(),B(),O(n)}})(n)}},[c,s,d,e,m,y,w,O,B,H,r,n,k,L,M,o]),l(()=>{var e,t,r;if(d&&n&&null!=(e=M.current)&&e.__options.blockPointerEvents&&F()){let e=g(s).body;if(e.setAttribute(C,""),e.style.pointerEvents="none",$.current=!0,b(c)&&s){let e=null==k?void 0:null==(t=k.nodesRef.current.find(e=>e.id===T))?void 0:null==(r=t.context)?void 0:r.elements.floating;return e&&(e.style.pointerEvents=""),c.style.pointerEvents="auto",s.style.pointerEvents="auto",()=>{c.style.pointerEvents="",s.style.pointerEvents=""}}}},[d,n,T,s,c,k,M,o,F]),l(()=>{n||(P.current=void 0,B(),H())},[n,B,H]),i.useEffect(()=>()=>{B(),clearTimeout(A.current),clearTimeout(N.current),H()},[d,B,H]),i.useMemo(()=>{if(!d)return{};function e(e){P.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){n||0===y||(clearTimeout(N.current),N.current=setTimeout(()=>{I.current||r(!0,e.nativeEvent)},y))}},floating:{onMouseEnter(){clearTimeout(A.current)},onMouseLeave(e){a.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),O(e.nativeEvent,!1)}}}},[a,d,y,n,r,O])}let M=i.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),L=()=>i.useContext(M),P=e=>{let{children:t,delay:n,timeoutMs:r=0}=e,[o,a]=i.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),c=i.useRef(null),s=i.useCallback(e=>{a({currentId:e})},[]);return l(()=>{o.currentId?null===c.current?c.current=o.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),c.current=null)},[o.currentId]),i.createElement(M.Provider,{value:i.useMemo(()=>({...o,setState:a,setCurrentId:s}),[o,a,s])},t)},A=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:o}=t,{currentId:a,setCurrentId:i,initialDelay:c,setState:s,timeoutMs:u}=L();l(()=>{a&&(s({delay:{open:1,close:R(c,"close")}}),a!==o&&r(!1))},[o,r,s,a,c]),l(()=>{function e(){r(!1),s({delay:c,currentId:null})}if(!n&&a===o){if(u){let t=window.setTimeout(e,u);return()=>{clearTimeout(t)}}e()}},[n,s,a,o,r,c,u]),l(()=>{n&&i(o)},[n,i,o])};function z(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let N=(r||(r=n.t(i,2)))["useInsertionEffect".toString()],I=N||(e=>e());function $(e){let t=i.useRef(()=>{});return I(()=>{t.current=e}),i.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r{var t,n;return{escapeKeyBubbles:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePressBubbles:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function H(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:a,nodeId:l,elements:{reference:c,domReference:s,floating:u},dataRef:d}=e,{enabled:f=!0,escapeKey:p=!0,outsidePress:m=!0,outsidePressEvent:E="pointerdown",referencePress:x=!1,referencePressEvent:k="pointerdown",ancestorScroll:S=!1,bubbles:C}=t,R=v(),T=null!=h(),M=$("function"==typeof m?m:()=>!1),L="function"==typeof m?M:m,P=i.useRef(!1),{escapeKeyBubbles:A,outsidePressBubbles:N}=B(C),I=$(e=>{if(!n||!f||!p||"Escape"!==e.key)return;let t=R?z(R.nodesRef.current,l):[];if(!A&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}a.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1,"nativeEvent"in e?e.nativeEvent:e)}),H=$(e=>{var t;let n=P.current;if(P.current=!1,n||"function"==typeof L&&!L(e))return;let o="composedPath"in e?e.composedPath()[0]:e.target;if(w(o)&&u){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n){let t="rtl"===y(u).getComputedStyle(o).direction;t&&(r=e.offsetX<=o.offsetWidth-o.clientWidth)}if(r||t&&e.offsetY>o.clientHeight)return}let i=R&&z(R.nodesRef.current,l).some(t=>{var n;return D(e,null==(n=t.context)?void 0:n.elements.floating)});if(D(e,u)||D(e,s)||i)return;let c=R?z(R.nodesRef.current,l):[];if(c.length>0){let e=!0;if(c.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}a.emit("dismiss",{type:"outsidePress",data:{returnFocus:T?{preventScroll:!0}:function(e){if(0===e.mozInputSource&&e.isTrusted)return!0;let t=/Android/i;return(t.test(function(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}())||t.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}(e)||0===(t=e).width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"!==t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail}}),r(!1,e)});return i.useEffect(()=>{if(!n||!f)return;function e(e){r(!1,e)}d.current.__escapeKeyBubbles=A,d.current.__outsidePressBubbles=N;let t=g(u);p&&t.addEventListener("keydown",I),L&&t.addEventListener(E,H);let a=[];return S&&(b(s)&&(a=(0,o.Kx)(s)),b(u)&&(a=a.concat((0,o.Kx)(u))),!b(c)&&c&&c.contextElement&&(a=a.concat((0,o.Kx)(c.contextElement)))),(a=a.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{p&&t.removeEventListener("keydown",I),L&&t.removeEventListener(E,H),a.forEach(t=>{t.removeEventListener("scroll",e)})}},[d,u,s,c,p,L,E,n,r,S,f,A,N,I,H]),i.useEffect(()=>{P.current=!1},[L,E]),i.useMemo(()=>f?{reference:{onKeyDown:I,[F[k]]:e=>{x&&(a.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1,e.nativeEvent))}},floating:{onKeyDown:I,[O[E]]:()=>{P.current=!0}}}:{},[f,a,x,E,k,r,I])}function Z(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:r,nodeId:o}=e,[c,s]=i.useState(null),u=(null==(t=e.elements)?void 0:t.reference)||c,d=(0,a.YF)(e),p=v(),m=$((e,t)=>{e&&(g.current.openEvent=t),null==r||r(e,t)}),h=i.useRef(null),g=i.useRef({}),y=i.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],w=f(),E=i.useCallback(e=>{let t=b(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d.refs.setReference(t)},[d.refs]),x=i.useCallback(e=>{(b(e)||null===e)&&(h.current=e,s(e)),(b(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!b(e))&&d.refs.setReference(e)},[d.refs]),k=i.useMemo(()=>({...d.refs,setReference:x,setPositionReference:E,domReference:h}),[d.refs,x,E]),S=i.useMemo(()=>({...d.elements,domReference:u}),[d.elements,u]),C=i.useMemo(()=>({...d,refs:k,elements:S,dataRef:g,nodeId:o,floatingId:w,events:y,open:n,onOpenChange:m}),[d,o,w,y,n,m,k,S]);return l(()=>{let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===o);e&&(e.context=C)}),i.useMemo(()=>({...d,context:C,refs:k,elements:S}),[d,k,S,C])}function _(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:o,events:a,refs:l,elements:{floating:c,domReference:s}}=e,{enabled:u=!0,keyboardOnly:d=!0}=t,f=i.useRef(""),p=i.useRef(!1),m=i.useRef();return i.useEffect(()=>{if(!u)return;let e=g(c),t=e.defaultView||window;function r(){!n&&w(s)&&s===function(e){let t=e.activeElement;for(;(null==(n=t)?void 0:null==(r=n.shadowRoot)?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}(g(s))&&(p.current=!0)}return t.addEventListener("blur",r),()=>{t.removeEventListener("blur",r)}},[c,s,n,u]),i.useEffect(()=>{if(u)return a.on("dismiss",e),()=>{a.off("dismiss",e)};function e(e){("referencePress"===e.type||"escapeKey"===e.type)&&(p.current=!0)}},[a,u]),i.useEffect(()=>()=>{clearTimeout(m.current)},[]),i.useMemo(()=>u?{reference:{onPointerDown(e){let{pointerType:t}=e;f.current=t,p.current=!!(t&&d)},onMouseLeave(){p.current=!1},onFocus(e){var t;p.current||"focus"===e.type&&(null==(t=o.current.openEvent)?void 0:t.type)==="mousedown"&&D(o.current.openEvent,s)||r(!0,e.nativeEvent)},onBlur(e){p.current=!1;let t=e.relatedTarget,n=b(t)&&t.hasAttribute(k("focus-guard"))&&"outside"===t.getAttribute("data-type");m.current=setTimeout(()=>{x(l.floating.current,t)||x(s,t)||n||r(!1,e.nativeEvent)})}}}:{},[u,d,s,l,o,r])}function W(e,t,n){let r=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map(e=>e?e[n]:null).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var a;null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,o=Array(t),a=0;ae(...o)).find(e=>void 0!==e)}}}else e[n]=o}),e),{})}}function V(e){void 0===e&&(e=[]);let t=e,n=i.useCallback(t=>W(t,e,"reference"),t),r=i.useCallback(t=>W(t,e,"floating"),t),o=i.useCallback(t=>W(t,e,"item"),e.map(e=>null==e?void 0:e.item));return i.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function Y(e,t){void 0===t&&(t={});let{open:n,floatingId:r}=e,{enabled:o=!0,role:a="dialog"}=t,l=f();return i.useMemo(()=>{let e={id:r,role:a};return o?"tooltip"===a?{reference:{"aria-describedby":n?r:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===a?"dialog":a,"aria-controls":n?r:void 0,..."listbox"===a&&{role:"combobox"},..."menu"===a&&{id:l}},floating:{...e,..."menu"===a&&{"aria-labelledby":l}}}:{}},[o,a,n,r,l])}},4764:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(7378),o=n(3615),a=n.n(o),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},l=Object.defineProperty,c=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))d.call(t,n)&&p(e,n,t[n]);if(u)for(var n of u(t))f.call(t,n)&&p(e,n,t[n]);return e},h=(e,t)=>c(e,s(t)),v=(e,t)=>{var n={};for(var r in e)d.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&f.call(e,r)&&(n[r]=e[r]);return n},g=(e,t,n)=>{let o=(0,r.forwardRef)((t,o)=>{var{color:a="currentColor",size:l=24,stroke:c=2,children:s}=t,u=v(t,["color","size","stroke","children"]);return(0,r.createElement)("svg",m(h(m({ref:o},i),{width:l,height:l,stroke:a,strokeWidth:c,className:`tabler-icon tabler-icon-${e}`}),u),[...n.map(([e,t])=>(0,r.createElement)(e,t)),...s||[]])});return o.propTypes={color:a().string,size:a().oneOfType([a().string,a().number]),stroke:a().oneOfType([a().string,a().number])},o.displayName=`${t}`,o}},739:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("edit","IconEdit",[["path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1",key:"svg-0"}],["path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z",key:"svg-1"}],["path",{d:"M16 5l3 3",key:"svg-2"}]])},4675:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("info-circle","IconInfoCircle",[["path",{d:"M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",key:"svg-0"}],["path",{d:"M12 9h.01",key:"svg-1"}],["path",{d:"M11 12h1v4h1",key:"svg-2"}]])},9258:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("license","IconLicense",[["path",{d:"M15 21h-9a3 3 0 0 1 -3 -3v-1h10v2a2 2 0 0 0 4 0v-14a2 2 0 1 1 2 2h-2m2 -4h-11a3 3 0 0 0 -3 3v11",key:"svg-0"}],["path",{d:"M9 7l4 0",key:"svg-1"}],["path",{d:"M9 11l4 0",key:"svg-2"}]])},7261:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("list","IconList",[["path",{d:"M9 6l11 0",key:"svg-0"}],["path",{d:"M9 12l11 0",key:"svg-1"}],["path",{d:"M9 18l11 0",key:"svg-2"}],["path",{d:"M5 6l0 .01",key:"svg-3"}],["path",{d:"M5 12l0 .01",key:"svg-4"}],["path",{d:"M5 18l0 .01",key:"svg-5"}]])},7854:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]])},1925:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("user-code","IconUserCode",[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5",key:"svg-1"}],["path",{d:"M20 21l2 -2l-2 -2",key:"svg-2"}],["path",{d:"M17 17l-2 2l2 2",key:"svg-3"}]])},6677:function(e,t,n){e.exports=n(5949)},7061:function(e){var t,n,r,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c=[],s=!1,u=-1;function d(){s&&r&&(s=!1,r.length?c=r.concat(c):u=-1,c.length&&f())}function f(){if(!s){var e=l(d);s=!0;for(var t=c.length;t;){for(r=c,c=[];++u1)for(var n=1;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var d=n(7378),f="right-scroll-bar-position",p="width-before-scroll-bar",m=(void 0===r&&(r={}),void 0===o&&(o=function(e){return e}),a=[],i=!1,(l={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,i);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=s({async:!0,ssr:!1},r),l),h=function(){},v=d.forwardRef(function(e,t){var n,r,o,a=d.useRef(null),i=d.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),l=i[0],c=i[1],f=e.forwardProps,p=e.children,v=e.className,g=e.removeScrollBar,y=e.enabled,b=e.shards,w=e.sideCar,E=e.noIsolation,x=e.inert,k=e.allowPinchZoom,S=e.as,C=void 0===S?"div":S,R=e.gapMode,T=u(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(n=[a,t],r=function(e){return n.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(o=(0,d.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,o.facade),L=s(s({},T),l);return d.createElement(d.Fragment,null,y&&d.createElement(w,{sideCar:m,removeScrollBar:g,shards:b,noIsolation:E,inert:x,setCallbacks:c,allowPinchZoom:!!k,lockRef:a,gapMode:R}),f?d.cloneElement(d.Children.only(p),s(s({},L),{ref:M})):d.createElement(C,s({},L,{className:v,ref:M}),p))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:p,zeroRight:f};var g=function(e){var t=e.sideCar,n=u(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return d.createElement(r,s({},n))};g.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=y();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(o)]},S=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return E;var t=k(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},C=w(),R=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(f," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(p," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n right: 0 ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,a=d.useMemo(function(){return S(o)},[o]);return d.createElement(C,{styles:R(a,!t,o,n?"":"!important")})},M=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){M=!1}var P=!!M&&{passive:!1},A=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},z=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),N(e,r)){var o=I(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},N=function(e,t){return"v"===e?A(t,"overflowY"):A(t,"overflowX")},I=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},$=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,c=n.target,s=t.contains(c),u=!1,d=l>0,f=0,p=0;do{var m=I(e,c),h=m[0],v=m[1]-m[2]-i*h;(h||v)&&N(e,c)&&(f+=v,p+=h),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},D=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},F=function(e){return[e.deltaX,e.deltaY]},O=function(e){return e&&"current"in e?e.current:e},B=0,H=[],Z=(m.useMedium(function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),o=d.useState(B++)[0],a=d.useState(w)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;oMath.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=z(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=z(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var p=r.current||o;return $(p,t,e,"h"===p?c:s,!0)},[]),c=d.useCallback(function(e){if(H.length&&H[H.length-1]===a){var n="deltaY"in e?F(e):D(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(O).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=d.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=d.useCallback(function(e){n.current=D(e),r.current=void 0},[]),f=d.useCallback(function(t){s(t.type,F(t),t.target,l(t,e.lockRef.current))},[]),p=d.useCallback(function(t){s(t.type,D(t),t.target,l(t,e.lockRef.current))},[]);d.useEffect(function(){return H.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,P),document.addEventListener("touchmove",c,P),document.addEventListener("touchstart",u,P),function(){H=H.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,P),document.removeEventListener("touchmove",c,P),document.removeEventListener("touchstart",u,P)}},[]);var m=e.removeScrollBar,h=e.inert;return d.createElement(d.Fragment,null,h?d.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?d.createElement(T,{gapMode:e.gapMode}):null)}),g),_=d.forwardRef(function(e,t){return d.createElement(v,s({},e,{ref:t,sideCar:Z}))});_.classNames=v.classNames;var W=_},5288:function(e,t,n){"use strict";n.d(t,{Qo:function(){return u},RR:function(){return c},cv:function(){return f},dp:function(){return h},dr:function(){return m},oo:function(){return a},uY:function(){return p},x7:function(){return l}});var r=n(2876);function o(e,t,n){let o,{reference:a,floating:i}=e,l=(0,r.Qq)(t),c=(0,r.Wh)(t),s=(0,r.I4)(c),u=(0,r.k3)(t),d="y"===l,f=a.x+a.width/2-i.width/2,p=a.y+a.height/2-i.height/2,m=a[s]/2-i[s]/2;switch(u){case"top":o={x:f,y:a.y-i.height};break;case"bottom":o={x:f,y:a.y+a.height};break;case"right":o={x:a.x+a.width,y:p};break;case"left":o={x:a.x-i.width,y:p};break;default:o={x:a.x,y:a.y}}switch((0,r.hp)(t)){case"start":o[c]-=m*(n&&d?-1:1);break;case"end":o[c]+=m*(n&&d?-1:1)}return o}let a=async(e,t,n)=>{let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:l}=n,c=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:f}=o(u,r,s),p=r,m={},h=0;for(let n=0;n({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:a,rects:i,platform:l,elements:c,middlewareData:s}=t,{element:u,padding:d=0}=(0,r.ku)(e,t)||{};if(null==u)return{};let f=(0,r.yd)(d),p={x:n,y:o},m=(0,r.Wh)(a),h=(0,r.I4)(m),v=await l.getDimensions(u),g="y"===m,y=g?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[m]-p[m]-i.floating[h],w=p[m]-i.reference[m],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),x=E?E[y]:0;x&&await (null==l.isElement?void 0:l.isElement(E))||(x=c.floating[y]||i.floating[h]);let k=x/2-v[h]/2-1,S=(0,r.VV)(f[g?"top":"left"],k),C=(0,r.VV)(f[g?"bottom":"right"],k),R=x-v[h]-C,T=x/2-v[h]/2+(b/2-w/2),M=(0,r.uZ)(S,T,R),L=!s.arrow&&null!=(0,r.hp)(a)&&T!=M&&i.reference[h]/2-(Te<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=R[e];if(t)return{data:{index:e,overflows:L},reset:{placement:t}};let n=null==(l=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(c=L.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:c[0];e&&(n=e);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}};function s(e){let t=(0,r.VV)(...e.map(e=>e.left)),n=(0,r.VV)(...e.map(e=>e.top)),o=(0,r.Fp)(...e.map(e=>e.right)),a=(0,r.Fp)(...e.map(e=>e.bottom));return{x:t,y:n,width:o-t,height:a-n}}let u=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:a,platform:i,strategy:l}=t,{padding:c=2,x:u,y:d}=(0,r.ku)(e,t),f=Array.from(await (null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],o=null;for(let e=0;eo.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map(e=>(0,r.JB)(s(e)))}(f),m=(0,r.JB)(s(f)),h=(0,r.yd)(c),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=u&&null!=d)return p.find(e=>u>e.left-h.left&&ue.top-h.top&&d=2){if("y"===(0,r.Qq)(n)){let e=p[0],t=p[p.length-1],o="top"===(0,r.k3)(n),a=e.top,i=t.bottom,l=o?e.left:t.left,c=o?e.right:t.right;return{top:a,bottom:i,left:l,right:c,width:c-l,height:i-a,x:l,y:a}}let e="left"===(0,r.k3)(n),t=(0,r.Fp)(...p.map(e=>e.right)),o=(0,r.VV)(...p.map(e=>e.left)),a=p.filter(n=>e?n.left===o:n.right===t),i=a[0].top,l=a[a.length-1].bottom,c=t-o;return{top:i,bottom:l,left:o,right:t,width:c,height:l-i,x:o,y:i}}return m}},floating:o.floating,strategy:l});return a.reference.x!==v.reference.x||a.reference.y!==v.reference.y||a.reference.width!==v.reference.width||a.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};async function d(e,t){let{placement:n,platform:o,elements:a}=e,i=await (null==o.isRTL?void 0:o.isRTL(a.floating)),l=(0,r.k3)(n),c=(0,r.hp)(n),s="y"===(0,r.Qq)(n),u=["left","top"].includes(l)?-1:1,d=i&&s?-1:1,f=(0,r.ku)(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&"number"==typeof h&&(m="end"===c?-1*h:h),s?{x:m*d,y:p*u}:{x:p*u,y:m*d}}let f=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:r}=t,o=await d(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},p=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:a}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r.ku)(e,t),d={x:n,y:o},f=await i(t,u),p=(0,r.Qq)((0,r.k3)(a)),m=(0,r.Rn)(p),h=d[m],v=d[p];if(l){let e=h+f["y"===m?"top":"left"],t=h-f["y"===m?"bottom":"right"];h=(0,r.uZ)(e,h,t)}if(c){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+f[e],o=v-f[t];v=(0,r.uZ)(n,v,o)}let g=s.fn({...t,[m]:h,[p]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}},m=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:o,placement:a,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:s=!0,crossAxis:u=!0}=(0,r.ku)(e,t),d={x:n,y:o},f=(0,r.Qq)(a),p=(0,r.Rn)(f),m=d[p],h=d[f],v=(0,r.ku)(c,t),g="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+g.mainAxis,n=i.reference[p]+i.reference[e]-g.mainAxis;mn&&(m=n)}if(u){var y,b;let e="y"===p?"width":"height",t=["top","left"].includes((0,r.k3)(a)),n=i.reference[f]-i.floating[e]+(t&&(null==(y=l.offset)?void 0:y[f])||0)+(t?0:g.crossAxis),o=i.reference[f]+i.reference[e]+(t?0:(null==(b=l.offset)?void 0:b[f])||0)-(t?g.crossAxis:0);ho&&(h=o)}return{[p]:m,[f]:h}}}},h=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o;let{placement:a,rects:l,platform:c,elements:s}=t,{apply:u=()=>{},...d}=(0,r.ku)(e,t),f=await i(t,d),p=(0,r.k3)(a),m=(0,r.hp)(a),h="y"===(0,r.Qq)(a),{width:v,height:g}=l.floating;"top"===p||"bottom"===p?(n=p,o=m===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,n="end"===m?"top":"bottom");let y=g-f[n],b=v-f[o],w=!t.middlewareData.shift,E=y,x=b;if(h){let e=v-f.left-f.right;x=m||w?(0,r.VV)(b,e):e}else{let e=g-f.top-f.bottom;E=m||w?(0,r.VV)(y,e):e}if(w&&!m){let e=(0,r.Fp)(f.left,0),t=(0,r.Fp)(f.right,0),n=(0,r.Fp)(f.top,0),o=(0,r.Fp)(f.bottom,0);h?x=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(f.left,f.right)):E=g-2*(0!==n||0!==o?n+o:(0,r.Fp)(f.top,f.bottom))}await u({...t,availableWidth:x,availableHeight:E});let k=await c.getDimensions(s.floating);return v!==k.width||g!==k.height?{reset:{rects:!0}}:{}}}}},6345:function(e,t,n){"use strict";n.d(t,{Me:function(){return y},oo:function(){return b}});var r=n(2876),o=n(5288),a=n(8321);function i(e){let t=(0,a.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,a.Re)(e),l=i?e.offsetWidth:n,c=i?e.offsetHeight:o,s=(0,r.NM)(n)!==l||(0,r.NM)(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function l(e){return(0,a.kK)(e)?e:e.contextElement}function c(e){let t=l(e);if(!(0,a.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:c,$:s}=i(t),u=(s?(0,r.NM)(n.width):n.width)/o,d=(s?(0,r.NM)(n.height):n.height)/c;return u&&Number.isFinite(u)||(u=1),d&&Number.isFinite(d)||(d=1),{x:u,y:d}}let s=(0,r.ze)(0);function u(e){let t=(0,a.Jj)(e);return(0,a.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:s}function d(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),d=l(e),f=(0,r.ze)(1);t&&(o?(0,a.kK)(o)&&(f=c(o)):f=c(e));let p=(void 0===(i=n)&&(i=!1),o&&(!i||o===(0,a.Jj)(d))&&i)?u(d):(0,r.ze)(0),m=(s.left+p.x)/f.x,h=(s.top+p.y)/f.y,v=s.width/f.x,g=s.height/f.y;if(d){let e=(0,a.Jj)(d),t=o&&(0,a.kK)(o)?(0,a.Jj)(o):o,n=e.frameElement;for(;n&&o&&t!==e;){let e=c(n),t=n.getBoundingClientRect(),r=(0,a.Dx)(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;m*=e.x,h*=e.y,v*=e.x,g*=e.y,m+=o,h+=i,n=(0,a.Jj)(n).frameElement}}return(0,r.JB)({width:v,height:g,x:m,y:h})}function f(e){return d((0,a.tF)(e)).left+(0,a.Lw)(e).scrollLeft}function p(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,a.Jj)(e),r=(0,a.tF)(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,c=0,s=0;if(o){i=o.width,l=o.height;let e=(0,a.Pf)();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:c,y:s}}(e,n);else if("document"===t)o=function(e){let t=(0,a.tF)(e),n=(0,a.Lw)(e),o=e.ownerDocument.body,i=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),c=-n.scrollLeft+f(e),s=-n.scrollTop;return"rtl"===(0,a.Dx)(o).direction&&(c+=(0,r.Fp)(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:c,y:s}}((0,a.tF)(e));else if((0,a.kK)(t))o=function(e,t){let n=d(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=(0,a.Re)(e)?c(e):(0,r.ze)(1),s=e.clientWidth*l.x,u=e.clientHeight*l.y,f=i*l.x,p=o*l.y;return{width:s,height:u,x:f,y:p}}(t,n);else{let n=u(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function m(e,t){return(0,a.Re)(e)&&"fixed"!==(0,a.Dx)(e).position?t?t(e):e.offsetParent:null}function h(e,t){let n=(0,a.Jj)(e);if(!(0,a.Re)(e))return n;let r=m(e,t);for(;r&&(0,a.Ze)(r)&&"static"===(0,a.Dx)(r).position;)r=m(r,t);return r&&("html"===(0,a.wk)(r)||"body"===(0,a.wk)(r)&&"static"===(0,a.Dx)(r).position&&!(0,a.hT)(r))?n:r||(0,a.gQ)(e)||n}let v=async function(e){let{reference:t,floating:n,strategy:o}=e,i=this.getOffsetParent||h,l=this.getDimensions;return{reference:function(e,t,n){let o=(0,a.Re)(t),i=(0,a.tF)(t),l="fixed"===n,c=d(e,!0,l,t),s={scrollLeft:0,scrollTop:0},u=(0,r.ze)(0);if(o||!o&&!l){if(("body"!==(0,a.wk)(t)||(0,a.ao)(i))&&(s=(0,a.Lw)(t)),o){let e=d(t,!0,l,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=f(i))}return{x:c.left+s.scrollLeft-u.x,y:c.top+s.scrollTop-u.y,width:c.width,height:c.height}}(t,await i(n),o),floating:{x:0,y:0,...await l(n)}}},g={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e,i=(0,a.Re)(n),l=(0,a.tF)(n);if(n===l)return t;let s={scrollLeft:0,scrollTop:0},u=(0,r.ze)(1),f=(0,r.ze)(0);if((i||!i&&"fixed"!==o)&&(("body"!==(0,a.wk)(n)||(0,a.ao)(l))&&(s=(0,a.Lw)(n)),(0,a.Re)(n))){let e=d(n);u=c(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-s.scrollLeft*u.x+f.x,y:t.y*u.y-s.scrollTop*u.y+f.y}},getDocumentElement:a.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l="clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=(0,a.Kx)(e,[],!1).filter(e=>(0,a.kK)(e)&&"body"!==(0,a.wk)(e)),o=null,i="fixed"===(0,a.Dx)(e).position,l=i?(0,a.Ow)(e):e;for(;(0,a.kK)(l)&&!(0,a.Py)(l);){let t=(0,a.Dx)(l),n=(0,a.hT)(l);n||"fixed"!==t.position||(o=null);let c=i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,a.ao)(l)&&!n&&function e(t,n){let r=(0,a.Ow)(t);return!(r===n||!(0,a.kK)(r)||(0,a.Py)(r))&&("fixed"===(0,a.Dx)(r).position||e(r,n))}(e,l);c?r=r.filter(e=>e!==l):o=t,l=(0,a.Ow)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),c=[...l,o],s=c[0],u=c.reduce((e,n)=>{let o=p(t,n,i);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},p(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:h,getElementRects:v,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return i(e)},getScale:c,isElement:a.kK,isRTL:function(e){return"rtl"===(0,a.Dx)(e).direction}};function y(e,t,n,o){let i;void 0===o&&(o={});let{ancestorScroll:c=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=o,m=l(e),h=c||s?[...m?(0,a.Kx)(m):[],...(0,a.Kx)(t)]:[];h.forEach(e=>{c&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let v=m&&f?function(e,t){let n,o=null,i=(0,a.tF)(e);function l(){clearTimeout(n),o&&o.disconnect(),o=null}return!function a(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),l();let{left:u,top:d,width:f,height:p}=e.getBoundingClientRect();if(c||t(),!f||!p)return;let m=(0,r.GW)(d),h=(0,r.GW)(i.clientWidth-(u+f)),v=(0,r.GW)(i.clientHeight-(d+p)),g=(0,r.GW)(u),y={rootMargin:-m+"px "+-h+"px "+-v+"px "+-g+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,s))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==s){if(!b)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},100)}b=!1}try{o=new IntersectionObserver(w,{...y,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(w,y)}o.observe(e)}(!0),l}(m,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{y&&y.observe(t)})),n()}),m&&!p&&y.observe(m),y.observe(t));let b=p?d(e):null;return p&&function t(){let r=d(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,i=requestAnimationFrame(t)}(),n(),()=>{h.forEach(e=>{c&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),v&&v(),y&&y.disconnect(),y=null,p&&cancelAnimationFrame(i)}}let b=(e,t,n)=>{let r=new Map,a={platform:g,...n},i={...a.platform,_c:r};return(0,o.oo)(e,t,{...a,platform:i})}},6350:function(e,t,n){"use strict";n.d(t,{YF:function(){return p},x7:function(){return l}});var r=n(5288),o=n(6345),a=n(7378),i=n(1542);let l=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;if(n&&({}).hasOwnProperty.call(n,"current")){if(null!=n.current)return(0,r.x7)({element:n.current,padding:o}).fn(t)}else if(n)return(0,r.x7)({element:n,padding:o}).fn(t);return{}}});var c="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function s(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function d(e,t){let n=u(e);return Math.round(t*n)/n}function f(e){let t=a.useRef(e);return c(()=>{t.current=e}),t}function p(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:l,elements:{reference:p,floating:m}={},transform:h=!0,whileElementsMounted:v,open:g}=e,[y,b]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,E]=a.useState(r);s(w,r)||E(r);let[x,k]=a.useState(null),[S,C]=a.useState(null),R=a.useCallback(e=>{e!=P.current&&(P.current=e,k(e))},[k]),T=a.useCallback(e=>{e!==A.current&&(A.current=e,C(e))},[C]),M=p||x,L=m||S,P=a.useRef(null),A=a.useRef(null),z=a.useRef(y),N=f(v),I=f(l),$=a.useCallback(()=>{if(!P.current||!A.current)return;let e={placement:t,strategy:n,middleware:w};I.current&&(e.platform=I.current),(0,o.oo)(P.current,A.current,e).then(e=>{let t={...e,isPositioned:!0};D.current&&!s(z.current,t)&&(z.current=t,i.flushSync(()=>{b(t)}))})},[w,t,n,I]);c(()=>{!1===g&&z.current.isPositioned&&(z.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let D=a.useRef(!1);c(()=>(D.current=!0,()=>{D.current=!1}),[]),c(()=>{if(M&&(P.current=M),L&&(A.current=L),M&&L){if(N.current)return N.current(M,L,$);$()}},[M,L,$,N]);let F=a.useMemo(()=>({reference:P,floating:A,setReference:R,setFloating:T}),[R,T]),O=a.useMemo(()=>({reference:M,floating:L}),[M,L]),B=a.useMemo(()=>{let e={position:n,left:0,top:0};if(!O.floating)return e;let t=d(O.floating,y.x),r=d(O.floating,y.y);return h?{...e,transform:"translate("+t+"px, "+r+"px)",...u(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,h,O.floating,y.x,y.y]);return a.useMemo(()=>({...y,update:$,refs:F,elements:O,floatingStyles:B}),[y,$,F,O,B])}},2876:function(e,t,n){"use strict";n.d(t,{Fp:function(){return o},GW:function(){return i},I4:function(){return h},JB:function(){return S},KX:function(){return E},NM:function(){return a},Qq:function(){return v},Rn:function(){return m},VV:function(){return r},Wh:function(){return g},gy:function(){return b},hp:function(){return p},i8:function(){return y},k3:function(){return f},ku:function(){return d},pw:function(){return x},uZ:function(){return u},yd:function(){return k},ze:function(){return l}});let r=Math.min,o=Math.max,a=Math.round,i=Math.floor,l=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function u(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return m(v(e))}function y(e,t,n){void 0===n&&(n=!1);let r=p(e),o=g(e),a=h(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=x(i)),[i,x(i)]}function b(e){let t=x(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,e=>s[e])}function E(e,t,n,r){let o=p(e),a=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(w)))),a}function x(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},8321:function(e,t,n){"use strict";function r(e){return i(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(i(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function i(e){return e instanceof Node||e instanceof o(e).Node}function l(e){return e instanceof Element||e instanceof o(e).Element}function c(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){let t=m(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(e){let t=y(e);for(;c(t)&&!h(t);){if(f(t))return t;t=y(t)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(r(e))}function v(e){return o(e).getComputedStyle(e)}function g(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||a(e);return s(t)?t.host:t}n.d(t,{Dx:function(){return v},Jj:function(){return o},Kx:function(){return function e(t,n,r){var a;void 0===n&&(n=[]),void 0===r&&(r=!0);let i=function e(t){let n=y(t);return h(n)?t.ownerDocument?t.ownerDocument.body:t.body:c(n)&&u(n)?n:e(n)}(t),l=i===(null==(a=t.ownerDocument)?void 0:a.body),s=o(i);return l?n.concat(s,s.visualViewport||[],u(i)?i:[],s.frameElement&&r?e(s.frameElement):[]):n.concat(i,e(i,[],r))}},Lw:function(){return g},Ow:function(){return y},Pf:function(){return m},Py:function(){return h},Re:function(){return c},Ze:function(){return d},ao:function(){return u},gQ:function(){return p},hT:function(){return f},kK:function(){return l},tF:function(){return a},wk:function(){return r}})},5010:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u=n(1835),d=n(7878),f=n(4485),p=n(9662),m={root:"m-8d3f4000",loader:"m-302b9fb1",icon:"m-8d3afb97",group:"m-1a0f1b21"};let h={orientation:"horizontal"},v=(0,a.Z)((e,{borderWidth:t})=>({group:{"--ai-border-width":(0,f.h)(t)}})),g=(0,p.d)((e,t)=>{let n=(0,i.w)("ActionIconGroup",h,e),{className:o,style:a,classNames:s,styles:u,unstyled:d,orientation:f,vars:p,borderWidth:g,variant:y,mod:b,...w}=(0,i.w)("ActionIconGroup",h,e),E=(0,l.y)({name:"ActionIconGroup",props:n,classes:m,className:o,style:a,classNames:s,styles:u,unstyled:d,vars:p,varsResolver:v,rootSelector:"group"});return r.createElement(c.x,{...E("group"),ref:t,variant:y,mod:[{"data-orientation":f},b],role:"group",...w})});g.classes=m,g.displayName="@mantine/core/ActionIconGroup";let y={},b=(0,a.Z)((e,{size:t,radius:n,variant:r,gradient:a,color:i,autoContrast:l})=>{let c=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:a,variant:r||"filled",autoContrast:l});return{root:{"--ai-size":(0,o.ap)(t,"ai-size"),"--ai-radius":void 0===n?void 0:(0,o.H5)(n),"--ai-bg":i||r?c.background:void 0,"--ai-hover":i||r?c.hover:void 0,"--ai-hover-color":i||r?c.hoverColor:void 0,"--ai-color":c.color,"--ai-bd":i||r?c.border:void 0}}}),w=(0,s.b)((e,t)=>{let n=(0,i.w)("ActionIcon",y,e),{className:o,unstyled:a,variant:s,classNames:f,styles:p,style:h,loading:v,loaderProps:g,size:w,color:E,radius:x,__staticSelector:k,gradient:S,vars:C,children:R,disabled:T,"data-disabled":M,autoContrast:L,mod:P,...A}=n,z=(0,l.y)({name:["ActionIcon",k],props:n,className:o,style:h,classes:m,classNames:f,styles:p,unstyled:a,vars:C,varsResolver:b});return r.createElement(d.k,{...z("root",{active:!T&&!v&&!M}),...A,unstyled:a,variant:s,size:w,disabled:T||v,ref:t,mod:[{loading:v,disabled:T||M},P]},r.createElement(c.x,{component:"span",...z("loader"),"aria-hidden":!0},r.createElement(u.a,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...g})),r.createElement(c.x,{component:"span",mod:{loading:v},...z("icon")},R))});w.classes=m,w.displayName="@mantine/core/ActionIcon",w.Group=g},1996:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(7378),o=n(624),a=n(7226),i=n(5427),l=n(149),c={root:"m-849cf0da"};let s={underline:"hover"},u=(0,i.b)((e,t)=>{let{underline:n,className:i,unstyled:u,mod:d,...f}=(0,a.w)("Anchor",s,e);return r.createElement(l.x,{component:"a",ref:t,className:(0,o.Z)({[c.root]:!u},i),...f,mod:[{underline:n},d],__staticSelector:"Anchor",unstyled:u})});u.classes=c,u.displayName="@mantine/core/Anchor"},2153:function(e,t,n){"use strict";n.d(t,{V:function(){return X}});var r=n(7378),o=n(3658),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u=n(673);let[d,f]=(0,u.R)("AppShell was not found in tree");var p={root:"m-89ab340",navbar:"m-45252eee",aside:"m-9cdde9a",header:"m-3b16f56b",main:"m-8983817",footer:"m-3840c879",section:"m-6dcfc7c7"};let m={},h=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellAside",m,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:h,mod:v,...g}=n,y=f();return y.disabled?null:r.createElement(c.x,{component:"aside",ref:t,mod:[{"with-border":p??y.withBorder},v],...y.getStyles("aside",{className:a,classNames:o,styles:s,style:l}),...g,__vars:{"--app-shell-aside-z-index":`calc(${h??y.zIndex} + 1)`}})});h.classes=p,h.displayName="@mantine/core/AppShellAside";var v=n(624),g=n(8323);let y={},b=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellFooter",y,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:m,mod:h,...b}=n,w=f();return w.disabled?null:r.createElement(c.x,{component:"footer",ref:t,mod:[{"with-border":p??w.withBorder},h],...w.getStyles("footer",{className:(0,v.Z)({[g.Z.classNames.zeroRight]:w.offsetScrollbars},a),classNames:o,styles:s,style:l}),...b,__vars:{"--app-shell-footer-z-index":(m??w.zIndex)?.toString()}})});b.classes=p,b.displayName="@mantine/core/AppShellFooter";let w={},E=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellHeader",w,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:m,mod:h,...y}=n,b=f();return b.disabled?null:r.createElement(c.x,{component:"header",ref:t,mod:[{"with-border":p??b.withBorder},h],...b.getStyles("header",{className:(0,v.Z)({[g.Z.classNames.zeroRight]:b.offsetScrollbars},a),classNames:o,styles:s,style:l}),...y,__vars:{"--app-shell-header-z-index":(m??b.zIndex)?.toString()}})});E.classes=p,E.displayName="@mantine/core/AppShellHeader";let x={},k=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellMain",x,e),{classNames:o,className:a,style:l,styles:s,vars:u,...d}=n,p=f();return r.createElement(c.x,{component:"main",ref:t,...p.getStyles("main",{className:a,style:l,classNames:o,styles:s}),...d})});k.classes=p,k.displayName="@mantine/core/AppShellMain";var S=n(8373),C=n(7040),R=n(8291),T=n(3613),M=n(4485),L=n(3512);function P(e,t){return e in t.breakpoints?(0,L.px)(t.breakpoints[e]):(0,L.px)(e)}function A(e,t){let n=e.map(e=>({value:e,px:P(e,t)}));return n.sort((e,t)=>e.px-t.px),n}function z(e){return"object"==typeof e?e.base:e}function N(e){let t="object"==typeof e&&null!==e&&void 0!==e.base&&1===Object.keys(e).length;return"number"==typeof e||"string"==typeof e||t}function I(e){return"object"==typeof e&&null!==e&&(1!==Object.keys(e).length||!("base"in e))}var $=n(947);function D(e){return 0===Number(e)?"0px":(0,$.bG)(e)}function F({navbar:e,header:t,aside:n,footer:o,padding:a}){let i=(0,C.rZ)(),l=(0,S.wB)(),{media:c,baseStyles:s}=function({navbar:e,header:t,footer:n,aside:r,padding:o,theme:a}){let i={},l={},c={};!function({baseStyles:e,minMediaStyles:t,maxMediaStyles:n,navbar:r,theme:o}){let a=r?.width,i="translateX(calc(var(--app-shell-navbar-width) * -1))",l="translateX(var(--app-shell-navbar-width))";if(r?.breakpoint&&!r?.collapsed?.mobile&&(n[r?.breakpoint]=n[r?.breakpoint]||{},n[r?.breakpoint]["--app-shell-navbar-width"]="100%",n[r?.breakpoint]["--app-shell-navbar-offset"]="0px"),N(a)){let t=(0,M.h)(z(a));e["--app-shell-navbar-width"]=t,e["--app-shell-navbar-offset"]=t}if(I(a)&&(void 0!==a.base&&(e["--app-shell-navbar-width"]=(0,M.h)(a.base),e["--app-shell-navbar-offset"]=(0,M.h)(a.base)),(0,T.X)(a).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-navbar-width"]=(0,M.h)(a[e]),t[e]["--app-shell-navbar-offset"]=(0,M.h)(a[e]))})),r?.collapsed?.desktop){let e=r.breakpoint;t[e]=t[e]||{},t[e]["--app-shell-navbar-transform"]=i,t[e]["--app-shell-navbar-transform-rtl"]=l,t[e]["--app-shell-navbar-offset"]="0px !important"}if(r?.collapsed?.mobile){let e=P(r.breakpoint,o)-.1;n[e]=n[e]||{},n[e]["--app-shell-navbar-width"]="100%",n[e]["--app-shell-navbar-offset"]="0px",n[e]["--app-shell-navbar-transform"]=i,n[e]["--app-shell-navbar-transform-rtl"]=l}}({baseStyles:c,minMediaStyles:i,maxMediaStyles:l,navbar:e,theme:a}),function({baseStyles:e,minMediaStyles:t,maxMediaStyles:n,aside:r,theme:o}){let a=r?.width,i="translateX(var(--app-shell-aside-width))",l="translateX(calc(var(--app-shell-aside-width) * -1))";if(r?.breakpoint&&!r?.collapsed?.mobile&&(n[r?.breakpoint]=n[r?.breakpoint]||{},n[r?.breakpoint]["--app-shell-aside-width"]="100%",n[r?.breakpoint]["--app-shell-aside-offset"]="0px"),N(a)){let t=(0,M.h)(z(a));e["--app-shell-aside-width"]=t,e["--app-shell-aside-offset"]=t}if(I(a)&&(void 0!==a.base&&(e["--app-shell-aside-width"]=(0,M.h)(a.base),e["--app-shell-aside-offset"]=(0,M.h)(a.base)),(0,T.X)(a).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-aside-width"]=(0,M.h)(a[e]),t[e]["--app-shell-aside-offset"]=(0,M.h)(a[e]))})),r?.collapsed?.desktop){let e=r.breakpoint;t[e]=t[e]||{},t[e]["--app-shell-aside-transform"]=i,t[e]["--app-shell-aside-transform-rtl"]=l,t[e]["--app-shell-aside-offset"]="0px !important"}if(r?.collapsed?.mobile){let e=P(r.breakpoint,o)-.1;n[e]=n[e]||{},n[e]["--app-shell-aside-width"]="100%",n[e]["--app-shell-aside-offset"]="0px",n[e]["--app-shell-aside-transform"]=i,n[e]["--app-shell-aside-transform-rtl"]=l}}({baseStyles:c,minMediaStyles:i,maxMediaStyles:l,aside:r,theme:a}),function({baseStyles:e,minMediaStyles:t,header:n}){let r=n?.height,o=n?.offset??!0;if(N(r)){let t=(0,M.h)(z(r));e["--app-shell-header-height"]=t,o&&(e["--app-shell-header-offset"]=t)}I(r)&&(void 0!==r.base&&(e["--app-shell-header-height"]=(0,M.h)(r.base),o&&(e["--app-shell-header-offset"]=(0,M.h)(r.base))),(0,T.X)(r).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-header-height"]=(0,M.h)(r[e]),o&&(t[e]["--app-shell-header-offset"]=(0,M.h)(r[e])))})),n?.collapsed&&(e["--app-shell-header-transform"]="translateY(calc(var(--app-shell-header-height) * -1))",e["--app-shell-header-offset"]="0px !important")}({baseStyles:c,minMediaStyles:i,header:t}),function({baseStyles:e,minMediaStyles:t,footer:n}){let r=n?.height,o=n?.offset??!0;if(N(r)){let t=(0,M.h)(z(r));e["--app-shell-footer-height"]=t,o&&(e["--app-shell-footer-offset"]=t)}I(r)&&(void 0!==r.base&&(e["--app-shell-footer-height"]=(0,M.h)(r.base),o&&(e["--app-shell-footer-offset"]=(0,M.h)(r.base))),(0,T.X)(r).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-footer-height"]=(0,M.h)(r[e]),o&&(t[e]["--app-shell-footer-offset"]=(0,M.h)(r[e])))})),n?.collapsed&&(e["--app-shell-footer-transform"]="translateY(var(--app-shell-footer-height))",e["--app-shell-footer-offset"]="0px !important")}({baseStyles:c,minMediaStyles:i,footer:n}),function({padding:e,baseStyles:t,minMediaStyles:n}){N(e)&&(t["--app-shell-padding"]=D(z(e))),I(e)&&(e.base&&(t["--app-shell-padding"]=D(e.base)),(0,T.X)(e).forEach(t=>{"base"!==t&&(n[t]=n[t]||{},n[t]["--app-shell-padding"]=D(e[t]))}))}({baseStyles:c,minMediaStyles:i,padding:o});let s=A((0,T.X)(i),a).map(e=>({query:`(min-width: ${(0,M.em)(e.px)})`,styles:i[e.value]})),u=A((0,T.X)(l),a).map(e=>({query:`(max-width: ${(0,M.em)(e.px)})`,styles:l[e.value]})),d=[...s,...u];return{baseStyles:c,media:d}}({navbar:e,header:t,footer:o,aside:n,padding:a,theme:i});return r.createElement(R.f,{media:c,styles:s,selector:l.cssVariablesSelector})}let O={},B=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellNavbar",O,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:m,mod:h,...v}=n,g=f();return g.disabled?null:r.createElement(c.x,{component:"nav",ref:t,mod:[{"with-border":p??g.withBorder},h],...g.getStyles("navbar",{className:a,classNames:o,styles:s,style:l}),...v,__vars:{"--app-shell-navbar-z-index":`calc(${m??g.zIndex} + 1)`}})});B.classes=p,B.displayName="@mantine/core/AppShellNavbar";var H=n(5427);let Z={},_=(0,H.b)((e,t)=>{let n=(0,i.w)("AppShellSection",Z,e),{classNames:o,className:a,style:l,styles:s,vars:u,grow:d,mod:p,...m}=n,h=f();return r.createElement(c.x,{ref:t,mod:[{grow:d},p],...h.getStyles("section",{className:a,style:l,classNames:o,styles:s}),...m})});_.classes=p,_.displayName="@mantine/core/AppShellSection";var W=n(8360),V=n(213);let Y={withBorder:!0,offsetScrollbars:!0,padding:0,transitionDuration:200,transitionTimingFunction:"ease",zIndex:(0,o.w)("app")},j=(0,a.Z)((e,{transitionDuration:t,transitionTimingFunction:n})=>({root:{"--app-shell-transition-duration":`${t}ms`,"--app-shell-transition-timing-function":n}})),X=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShell",Y,e),{classNames:o,className:a,style:s,styles:u,unstyled:f,vars:m,navbar:h,withBorder:v,padding:g,transitionDuration:y,transitionTimingFunction:b,header:w,zIndex:E,layout:x,disabled:k,aside:S,footer:C,offsetScrollbars:R,mod:T,...M}=n,L=(0,l.y)({name:"AppShell",classes:p,props:n,className:a,style:s,classNames:o,styles:u,unstyled:f,vars:m,varsResolver:j}),P=function({transitionDuration:e,disabled:t}){let[n,o]=(0,r.useState)(!1),a=(0,r.useRef)(),i=(0,r.useRef)();return(0,W.s)("resize",()=>{o(!0),clearTimeout(a.current),a.current=window.setTimeout(()=>o(!1),200)}),(0,V.Y)(()=>{o(!0),clearTimeout(i.current),i.current=window.setTimeout(()=>o(!1),e||0)},[t,e]),n}({disabled:k,transitionDuration:y});return r.createElement(d,{value:{getStyles:L,withBorder:v,zIndex:E,disabled:k,offsetScrollbars:R}},r.createElement(F,{navbar:h,header:w,aside:S,footer:C,padding:g}),r.createElement(c.x,{ref:t,...L("root"),mod:[{resizing:P,layout:x,disabled:k},T],...M}))});X.classes=p,X.displayName="@mantine/core/AppShell",X.Navbar=B,X.Header=E,X.Main=k,X.Aside=h,X.Footer=b,X.Section=_},5083:function(e,t,n){"use strict";n.d(t,{C:function(){return m}});var r=n(7378),o=n(947),a=n(6415),i=n(9104),l=n(7226),c=n(7208),s=n(1799),u=n(5427),d={root:"m-347db0ec","root--dot":"m-fbd81e3d",label:"m-5add502a",section:"m-91fdda9b"};let f={},p=(0,a.Z)((e,{radius:t,color:n,gradient:r,variant:a,size:l,autoContrast:c})=>{let s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:r,variant:a||"filled",autoContrast:c});return{root:{"--badge-height":(0,o.ap)(l,"badge-height"),"--badge-padding-x":(0,o.ap)(l,"badge-padding-x"),"--badge-fz":(0,o.ap)(l,"badge-fz"),"--badge-radius":void 0===t?void 0:(0,o.H5)(t),"--badge-bg":n||a?s.background:void 0,"--badge-color":n||a?s.color:void 0,"--badge-bd":n||a?s.border:void 0,"--badge-dot-color":"dot"===a?(0,i.p)(n,e):void 0}}}),m=(0,u.b)((e,t)=>{let n=(0,l.w)("Badge",f,e),{classNames:o,className:a,style:i,styles:u,unstyled:m,vars:h,radius:v,color:g,gradient:y,leftSection:b,rightSection:w,children:E,variant:x,fullWidth:k,autoContrast:S,circle:C,mod:R,...T}=n,M=(0,c.y)({name:"Badge",props:n,classes:d,className:a,style:i,classNames:o,styles:u,unstyled:m,vars:h,varsResolver:p});return r.createElement(s.x,{variant:x,mod:[{block:k,circle:C},R],...M("root",{variant:x}),ref:t,...T},b&&r.createElement("span",{...M("section"),"data-position":"left"},b),r.createElement("span",{...M("label")},E),w&&r.createElement("span",{...M("section"),"data-position":"right"},w))});m.classes=d,m.displayName="@mantine/core/Badge"},103:function(e,t,n){"use strict";n.d(t,{V:function(){return g}});var r=n(7378),o=n(4485),a=n(947),i=n(6415),l=n(4710),c=n(9104),s=n(7923),u=n(7226),d=n(7208),f=n(1799),p=n(9662),m={root:"m-ddec01c0",icon:"m-dde7bd57",cite:"m-dde51a35"};let h={iconSize:48},v=(0,i.Z)((e,{color:t,iconSize:n,radius:r})=>{let i=(0,l.E)({color:t||e.primaryColor,theme:e,colorScheme:"dark"}),u=(0,l.E)({color:t||e.primaryColor,theme:e,colorScheme:"light"});return{root:{"--bq-bg-light":(0,s.m)(u.value,.07),"--bq-bg-dark":(0,s.m)(i.value,.06),"--bq-bd":(0,c.p)(t,e),"--bq-icon-size":(0,o.h)(n),"--bq-radius":(0,a.H5)(r)}}}),g=(0,p.d)((e,t)=>{let n=(0,u.w)("Blockquote",h,e),{classNames:o,className:a,style:i,styles:l,unstyled:c,vars:s,children:p,icon:g,iconSize:y,cite:b,...w}=n,E=(0,d.y)({name:"Blockquote",classes:m,props:n,className:a,style:i,classNames:o,styles:l,unstyled:c,vars:s,varsResolver:v});return r.createElement(f.x,{component:"blockquote",ref:t,...E("root"),...w},g&&r.createElement("span",{...E("icon")},g),p,b&&r.createElement("cite",{...E("cite")},b))});g.classes=m,g.displayName="@mantine/core/Blockquote"},6030:function(e,t,n){"use strict";n.d(t,{z:function(){return w}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u=n(1835),d=n(7878),f=n(4485),p=n(9662),m={root:"m-77c9d27d",inner:"m-80f1301b",loader:"m-a25b86ee",label:"m-811560b9",section:"m-a74036a",group:"m-80d6d844"};let h={orientation:"horizontal"},v=(0,a.Z)((e,{borderWidth:t})=>({group:{"--button-border-width":(0,f.h)(t)}})),g=(0,p.d)((e,t)=>{let n=(0,i.w)("ButtonGroup",h,e),{className:o,style:a,classNames:s,styles:u,unstyled:d,orientation:f,vars:p,borderWidth:g,variant:y,mod:b,...w}=(0,i.w)("ButtonGroup",h,e),E=(0,l.y)({name:"ButtonGroup",props:n,classes:m,className:o,style:a,classNames:s,styles:u,unstyled:d,vars:p,varsResolver:v,rootSelector:"group"});return r.createElement(c.x,{...E("group"),ref:t,variant:y,mod:[{"data-orientation":f},b],role:"group",...w})});g.classes=m,g.displayName="@mantine/core/ButtonGroup";let y={},b=(0,a.Z)((e,{radius:t,color:n,gradient:r,variant:a,size:i,justify:l,autoContrast:c})=>{let s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:r,variant:a||"filled",autoContrast:c});return{root:{"--button-justify":l,"--button-height":(0,o.ap)(i,"button-height"),"--button-padding-x":(0,o.ap)(i,"button-padding-x"),"--button-fz":i?.includes("compact")?(0,o.yv)(i.replace("compact-","")):(0,o.yv)(i),"--button-radius":void 0===t?void 0:(0,o.H5)(t),"--button-bg":n||a?s.background:void 0,"--button-hover":n||a?s.hover:void 0,"--button-color":s.color,"--button-bd":n||a?s.border:void 0,"--button-hover-color":n||a?s.hoverColor:void 0}}}),w=(0,s.b)((e,t)=>{let n=(0,i.w)("Button",y,e),{style:o,vars:a,className:s,color:f,disabled:p,children:h,leftSection:v,rightSection:g,fullWidth:w,variant:E,radius:x,loading:k,loaderProps:S,gradient:C,classNames:R,styles:T,unstyled:M,"data-disabled":L,autoContrast:P,mod:A,...z}=n,N=(0,l.y)({name:"Button",props:n,classes:m,className:s,style:o,classNames:R,styles:T,unstyled:M,vars:a,varsResolver:b}),I=!!v,$=!!g;return r.createElement(d.k,{ref:t,...N("root",{active:!p&&!k&&!L}),unstyled:M,variant:E,disabled:p||k,mod:[{disabled:p||L,loading:k,block:w,"with-left-section":I,"with-right-section":$},A],...z},r.createElement(c.x,{component:"span",...N("loader"),"aria-hidden":!0},r.createElement(u.a,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...S})),r.createElement("span",{...N("inner")},v&&r.createElement(c.x,{component:"span",...N("section"),mod:{position:"left"}},v),r.createElement(c.x,{component:"span",mod:{loading:k},...N("label")},h),g&&r.createElement(c.x,{component:"span",...N("section"),mod:{position:"right"}},g)))});w.classes=m,w.displayName="@mantine/core/Button",w.Group=g},9756:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(5427),s=n(6900),u=n(673);let[d,f]=(0,u.R)("Card component was not found in tree");var p=n(1799),m={root:"m-e615b15f",section:"m-599a2148"};let h={},v=(0,c.b)((e,t)=>{let n=(0,i.w)("CardSection",h,e),{classNames:o,className:a,style:l,styles:c,vars:s,withBorder:u,inheritPadding:d,mod:m,...v}=n,g=f();return r.createElement(p.x,{ref:t,mod:[{"with-border":u,"inherit-padding":d},m],...g.getStyles("section",{className:a,style:l,styles:c,classNames:o}),...v})});v.classes=m,v.displayName="@mantine/core/CardSection";let g={},y=(0,a.Z)((e,{padding:t})=>({root:{"--card-padding":(0,o.bG)(t)}})),b=(0,c.b)((e,t)=>{let n=(0,i.w)("Card",g,e),{classNames:o,className:a,style:c,styles:u,unstyled:f,vars:p,children:h,padding:b,...w}=n,E=(0,l.y)({name:"Card",props:n,classes:m,className:a,style:c,classNames:o,styles:u,unstyled:f,vars:p,varsResolver:y}),x=r.Children.toArray(h),k=x.map((e,t)=>"object"==typeof e&&e&&"type"in e&&e.type===v?(0,r.cloneElement)(e,{"data-first-section":0===t||void 0,"data-last-section":t===x.length-1||void 0}):e);return r.createElement(d,{value:{getStyles:E}},r.createElement(s.X,{ref:t,unstyled:f,...E("root"),...w},k))});b.classes=m,b.displayName="@mantine/core/Card",b.Section=v},4022:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var r=n(7378),o=n(7226),a=n(7208),i=n(1799),l=n(5427),c={root:"m-4451eb3a"};let s={},u=(0,l.b)((e,t)=>{let n=(0,o.w)("Center",s,e),{classNames:l,className:u,style:d,styles:f,unstyled:p,vars:m,inline:h,mod:v,...g}=n,y=(0,a.y)({name:"Center",props:n,classes:c,className:u,style:d,classNames:l,styles:f,unstyled:p,vars:m});return r.createElement(i.x,{ref:t,mod:[{inline:h},v],...y("root"),...g})});u.classes=c,u.displayName="@mantine/core/Center"},8970:function(e,t,n){"use strict";n.d(t,{E:function(){return p}});var r=n(7378),o=n(6415),a=n(9104),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-b183c0a2"};let d={},f=(0,o.Z)((e,{color:t})=>({root:{"--code-bg":t?(0,a.p)(t,e):void 0}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Code",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,color:v,block:g,variant:y,mod:b,...w}=n,E=(0,l.y)({name:"Code",props:n,classes:u,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return r.createElement(c.x,{component:g?"pre":"code",variant:y,ref:t,mod:[{block:g},b],...E("root"),...w,dir:"ltr"})});p.classes=u,p.displayName="@mantine/core/Code"},7653:function(e,t,n){"use strict";n.d(t,{W:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-7485cace"};let d={},f=(0,a.Z)((e,{size:t,fluid:n})=>({root:{"--container-size":n?void 0:(0,o.ap)(t,"container-size")}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Container",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,fluid:v,mod:g,...y}=n,b=(0,l.y)({name:"Container",classes:u,props:n,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return r.createElement(c.x,{ref:t,mod:[{fluid:v},g],...b("root"),...y})});p.classes=u,p.displayName="@mantine/core/Container"},5348:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(7378),o=n(7226);let a={timeout:1e3};function i(e){let{children:t,timeout:n,value:i,...l}=(0,o.w)("CopyButton",a,e),c=function({timeout:e=2e3}={}){let[t,n]=(0,r.useState)(null),[o,a]=(0,r.useState)(!1),[i,l]=(0,r.useState)(null),c=t=>{window.clearTimeout(i),l(window.setTimeout(()=>a(!1),e)),a(t)};return{copy:e=>{"clipboard"in navigator?navigator.clipboard.writeText(e).then(()=>c(!0)).catch(e=>n(e)):n(Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{a(!1),n(null),window.clearTimeout(i)},error:t,copied:o}}({timeout:n});return r.createElement(r.Fragment,null,t({copy:()=>c.copy(i),copied:c.copied,...l}))}i.displayName="@mantine/core/CopyButton"},4488:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n(7378),o=n(892),a=n(4485);function i(e,t,n,r){return"center"===e||"center"===r?{top:t}:"end"===e?{bottom:n}:"start"===e?{top:n}:{}}function l(e,t,n,r,o){return"center"===e||"center"===r?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:n}:"start"===e?{["ltr"===o?"left":"right"]:n}:{}}let c={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"},s=(0,r.forwardRef)(({position:e,arrowSize:t,arrowOffset:n,arrowRadius:s,arrowPosition:u,visible:d,arrowX:f,arrowY:p,style:m,...h},v)=>{let{dir:g}=(0,o.gm)();return d?r.createElement("div",{...h,ref:v,style:{...m,...function({position:e,arrowSize:t,arrowOffset:n,arrowRadius:r,arrowPosition:o,arrowX:s,arrowY:u,dir:d}){let[f,p="center"]=e.split("-"),m={width:(0,a.h)(t),height:(0,a.h)(t),transform:"rotate(45deg)",position:"absolute",[c[f]]:(0,a.h)(r)},h=(0,a.h)(-t/2);return"left"===f?{...m,...i(p,u,n,o),right:h,borderLeftColor:"transparent",borderBottomColor:"transparent"}:"right"===f?{...m,...i(p,u,n,o),left:h,borderRightColor:"transparent",borderTopColor:"transparent"}:"top"===f?{...m,...l(p,s,n,o,d),bottom:h,borderTopColor:"transparent",borderLeftColor:"transparent"}:"bottom"===f?{...m,...l(p,s,n,o,d),top:h,borderBottomColor:"transparent",borderRightColor:"transparent"}:{}}({position:e,arrowSize:t,arrowOffset:n,arrowRadius:s,arrowPosition:u,dir:g,arrowX:f,arrowY:p})}}):null});s.displayName="@mantine/core/FloatingArrow"},3098:function(e,t,n){"use strict";function r(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){let[e,n]=t.split("-"),r="right"===e?"left":"right";return void 0===n?r:`${r}-${n}`}return t}n.d(t,{_:function(){return r}})},2966:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(7378),o=n(6345),a=n(6145);function i({opened:e,floating:t,position:n,positionDependencies:i}){let[l,c]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(t.refs.reference.current&&t.refs.floating.current)return(0,o.Me)(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,l,n]),(0,a.l)(()=>{t.update()},i),(0,a.l)(()=>{c(e=>e+1)},[e])}},1487:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-4081bf90"};let d={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},f=(0,a.Z)((e,{grow:t,preventGrowOverflow:n,gap:r,align:a,justify:i,wrap:l},{childWidth:c})=>({root:{"--group-child-width":t&&n?c:void 0,"--group-gap":(0,o.bG)(r),"--group-align":a,"--group-justify":i,"--group-wrap":l}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Group",d,e),{classNames:a,className:s,style:p,styles:m,unstyled:h,children:v,gap:g,align:y,justify:b,wrap:w,grow:E,preventGrowOverflow:x,vars:k,variant:S,__size:C,mod:R,...T}=n,M=r.Children.toArray(v).filter(Boolean),L=M.length,P=(0,o.bG)(g??"md"),A=`calc(${100/L}% - (${P} - ${P} / ${L}))`,z=(0,l.y)({name:"Group",props:n,stylesCtx:{childWidth:A},className:s,style:p,classes:u,classNames:a,styles:m,unstyled:h,vars:k,varsResolver:f});return r.createElement(c.x,{...z("root"),ref:t,variant:S,mod:[{grow:E},R],size:C,...T},M)});p.classes=u,p.displayName="@mantine/core/Group"},4366:function(e,t,n){"use strict";n.d(t,{y:function(){return b}});var r=n(7378),o=n(7226),a=n(5427),i=n(6415),l=n(7208),c=n(1799),s=n(9662),u=n(4710);function d({color:e,theme:t,defaultShade:n}){let r=(0,u.E)({color:e,theme:t});return r.isThemeColor?void 0===r.shade?`var(--mantine-color-${r.color}-${n})`:`var(${r.variable})`:e}var f={root:"m-bcb3f3c2"};let p={color:"yellow"},m=(0,i.Z)((e,{color:t})=>({root:{"--mark-bg-dark":d({color:t,theme:e,defaultShade:5}),"--mark-bg-light":d({color:t,theme:e,defaultShade:2})}})),h=(0,s.d)((e,t)=>{let n=(0,o.w)("Mark",p,e),{classNames:a,className:i,style:s,styles:u,unstyled:d,vars:h,color:v,variant:g,...y}=n,b=(0,l.y)({name:"Mark",props:n,className:i,style:s,classes:f,classNames:a,styles:u,unstyled:d,vars:h,varsResolver:m});return r.createElement(c.x,{component:"mark",ref:t,variant:g,...b("root"),...y})});h.classes=f,h.displayName="@mantine/core/Mark";var v=n(149);function g(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}let y={},b=(0,a.b)((e,t)=>{let{unstyled:n,children:a,highlight:i,highlightStyles:l,color:c,...s}=(0,o.w)("Highlight",y,e),u=function(e,t){if(null==t)return[{chunk:e,highlighted:!1}];let n=Array.isArray(t)?t.map(g):g(t),r=Array.isArray(n)?n.filter(e=>e.trim().length>0).length>0:""!==n.trim();if(!r)return[{chunk:e,highlighted:!1}];let o="string"==typeof n?n.trim():n.filter(e=>0!==e.trim().length).map(e=>e.trim()).sort((e,t)=>t.length-e.length).join("|"),a=RegExp(`(${o})`,"gi"),i=e.split(a).map(e=>({chunk:e,highlighted:a.test(e)})).filter(({chunk:e})=>e);return i}(a,i);return r.createElement(v.x,{unstyled:n,ref:t,...s,__staticSelector:"Highlight"},u.map(({chunk:e,highlighted:t},o)=>t?r.createElement(h,{unstyled:n,key:o,color:c,style:l,"data-highlight":e},e):r.createElement("span",{key:o},e)))});b.classes=v.x.classes,b.displayName="@mantine/core/Highlight"},531:function(e,t,n){"use strict";n.d(t,{E:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u={root:"m-9e117634"};let d={},f=(0,a.Z)((e,{radius:t,fit:n})=>({root:{"--image-radius":void 0===t?void 0:(0,o.H5)(t),"--image-object-fit":n}})),p=(0,s.b)((e,t)=>{let n=(0,i.w)("Image",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,onError:v,src:g,radius:y,fit:b,fallbackSrc:w,mod:E,...x}=n,[k,S]=(0,r.useState)(!g);(0,r.useEffect)(()=>S(!g),[g]);let C=(0,l.y)({name:"Image",classes:u,props:n,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return k&&w?r.createElement(c.x,{component:"img",src:w,...C("root"),onError:v,mod:["fallback",E],...x}):r.createElement(c.x,{component:"img",ref:t,...C("root"),src:g,onError:e=>{v?.(e),S(!0)},mod:E,...x})});p.classes=u,p.displayName="@mantine/core/Image"},7935:function(e,t,n){"use strict";n.d(t,{I:function(){return z}});var r=n(7378),o=n(4485),a=n(947),i=n(6415),l=n(7226),c=n(7208),s=n(4438),u=n(1799),d=n(5427),f=n(9662),p=n(7487),m={wrapper:"m-6c018570",input:"m-8fb7ebe7",section:"m-82577fc2",placeholder:"m-88bacfd0",root:"m-46b77525",label:"m-8fdc1311",required:"m-78a94662",error:"m-8f816625",description:"m-fe47ce59"};let h={},v=(0,i.Z)((e,{size:t})=>({description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`}})),g=(0,f.d)((e,t)=>{let n=(0,l.w)("InputDescription",h,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,size:g,__staticSelector:y,__inheritStyles:b=!0,variant:w,...E}=(0,l.w)("InputDescription",h,n),x=(0,p.D)(),k=(0,c.y)({name:["InputWrapper",y],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"description",vars:f,varsResolver:v}),S=b&&x?.getStyles||k;return r.createElement(u.x,{component:"p",ref:t,variant:w,size:g,...S("description"),...E})});g.classes=m,g.displayName="@mantine/core/InputDescription";let y={},b=(0,i.Z)((e,{size:t})=>({error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`}})),w=(0,f.d)((e,t)=>{let n=(0,l.w)("InputError",y,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,size:h,__staticSelector:v,__inheritStyles:g=!0,variant:w,...E}=n,x=(0,c.y)({name:["InputWrapper",v],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"error",vars:f,varsResolver:b}),k=(0,p.D)(),S=g&&k?.getStyles||x;return r.createElement(u.x,{component:"p",ref:t,variant:w,size:h,...S("error"),...E})});w.classes=m,w.displayName="@mantine/core/InputError";let E={labelElement:"label"},x=(0,i.Z)((e,{size:t})=>({label:{"--input-label-size":(0,a.yv)(t),"--input-asterisk-color":void 0}})),k=(0,f.d)((e,t)=>{let n=(0,l.w)("InputLabel",E,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,labelElement:h,size:v,required:g,htmlFor:y,onMouseDown:b,children:w,__staticSelector:k,variant:S,mod:C,...R}=(0,l.w)("InputLabel",E,n),T=(0,c.y)({name:["InputWrapper",k],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"label",vars:f,varsResolver:x}),M=(0,p.D)(),L=M?.getStyles||T;return r.createElement(u.x,{...L("label"),component:h,variant:S,size:v,ref:t,htmlFor:"label"===h?y:void 0,mod:[{required:g},C],onMouseDown:e=>{b?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...R},w,g&&r.createElement("span",{...L("required"),"aria-hidden":!0}," *"))});k.classes=m,k.displayName="@mantine/core/InputLabel";let S={},C=(0,f.d)((e,t)=>{let n=(0,l.w)("InputPlaceholder",S,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,__staticSelector:p,variant:h,error:v,mod:g,...y}=(0,l.w)("InputPlaceholder",S,n),b=(0,c.y)({name:["InputPlaceholder",p],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"placeholder"});return r.createElement(u.x,{...b("placeholder"),mod:[{error:!!v},g],component:"span",variant:h,ref:t,...y})});C.classes=m,C.displayName="@mantine/core/InputPlaceholder";var R=n(6184);let T={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},M=(0,i.Z)((e,{size:t})=>({label:{"--input-label-size":(0,a.yv)(t),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`},description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`}})),L=(0,f.d)((e,t)=>{let n=(0,l.w)("InputWrapper",T,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,size:h,variant:v,__staticSelector:y,inputContainer:b,inputWrapperOrder:E,label:x,error:S,description:C,labelProps:L,descriptionProps:P,errorProps:A,labelElement:z,children:N,withAsterisk:I,id:$,required:D,__stylesApiProps:F,mod:O,...B}=n,H=(0,c.y)({name:["InputWrapper",y],props:F||n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,vars:f,varsResolver:M}),Z={size:h,variant:v,__staticSelector:y},_=(0,R.M)($),W=A?.id||`${_}-error`,V=P?.id||`${_}-description`,Y=!!S&&"boolean"!=typeof S,j=!!C,X=`${Y?W:""} ${j?V:""}`,K=X.trim().length>0?X.trim():void 0,q=L?.id||`${_}-label`,G=x&&r.createElement(k,{key:"label",labelElement:z,id:q,htmlFor:_,required:"boolean"==typeof I?I:D,...Z,...L},x),U=j&&r.createElement(g,{key:"description",...P,...Z,size:P?.size||Z.size,id:P?.id||V},C),Q=r.createElement(r.Fragment,{key:"input"},b(N)),J=Y&&r.createElement(w,{...A,...Z,size:A?.size||Z.size,key:"error",id:A?.id||W},S),ee=E.map(e=>{switch(e){case"label":return G;case"input":return Q;case"description":return U;case"error":return J;default:return null}});return r.createElement(p.I,{value:{getStyles:H,describedBy:K,inputId:_,labelId:q,...function(e,{hasDescription:t,hasError:n}){let r=e.findIndex(e=>"input"===e),o=e[r-1],a=e[r+1];return{offsetBottom:t&&"description"===a||n&&"error"===a,offsetTop:t&&"description"===o||n&&"error"===o}}(E,{hasDescription:j,hasError:Y})}},r.createElement(u.x,{ref:t,variant:v,size:h,mod:[{error:!!S},O],...H("root"),...B},ee))});L.classes=m,L.displayName="@mantine/core/InputWrapper";let P={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},A=(0,i.Z)((e,t,n)=>({wrapper:{"--input-margin-top":n.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":n.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":(0,a.ap)(t.size,"input-height"),"--input-fz":(0,a.yv)(t.size),"--input-radius":void 0===t.radius?void 0:(0,a.H5)(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?(0,o.h)(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?(0,o.h)(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?(0,a.ap)(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}})),z=(0,d.b)((e,t)=>{let n=(0,l.w)("Input",P,e),{classNames:o,className:a,style:i,styles:d,unstyled:f,required:h,__staticSelector:v,__stylesApiProps:g,size:y,wrapperProps:b,error:w,disabled:E,leftSection:x,leftSectionProps:k,leftSectionWidth:S,rightSection:C,rightSectionProps:R,rightSectionWidth:T,rightSectionPointerEvents:M,leftSectionPointerEvents:L,variant:z,vars:N,pointer:I,multiline:$,radius:D,id:F,withAria:O,withErrorStyles:B,mod:H,...Z}=n,{styleProps:_,rest:W}=(0,s.c)(Z),V=(0,p.D)(),Y={offsetBottom:V?.offsetBottom,offsetTop:V?.offsetTop},j=(0,c.y)({name:["Input",v],props:g||n,classes:m,className:a,style:i,classNames:o,styles:d,unstyled:f,stylesCtx:Y,rootSelector:"wrapper",vars:N,varsResolver:A}),X=O?{required:h,disabled:E,"aria-invalid":!!w,"aria-describedby":V?.describedBy,id:V?.inputId||F}:{};return r.createElement(u.x,{...j("wrapper"),..._,...b,mod:[{error:!!w&&B,pointer:I,disabled:E,multiline:$,"data-with-right-section":!!C,"data-with-left-section":!!x},H],variant:z,size:y},x&&r.createElement("div",{...k,"data-position":"left",...j("section",{className:k?.className,style:k?.style})},x),r.createElement(u.x,{component:"input",...W,...X,ref:t,required:h,mod:{disabled:E,error:!!w&&B},variant:z,...j("input")}),C&&r.createElement("div",{...R,"data-position":"right",...j("section",{className:R?.className,style:R?.style})},C))});z.classes=m,z.Wrapper=L,z.Label=k,z.Error=w,z.Description=g,z.Placeholder=C,z.displayName="@mantine/core/Input"},7487:function(e,t,n){"use strict";n.d(t,{D:function(){return a},I:function(){return o}}),n(7378);var r=n(2740);let[o,a]=(0,r.V)({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0})},4749:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(7378),o=n(5427),a=n(7935),i=n(7226),l=n(4438);let c={__staticSelector:"InputBase",withAria:!0},s=(0,o.b)((e,t)=>{let{inputProps:n,wrapperProps:o,...s}=function(e,t,n){let r=(0,i.w)(e,t,n),{label:o,description:a,error:c,required:s,classNames:u,styles:d,className:f,unstyled:p,__staticSelector:m,__stylesApiProps:h,errorProps:v,labelProps:g,descriptionProps:y,wrapperProps:b,id:w,size:E,style:x,inputContainer:k,inputWrapperOrder:S,withAsterisk:C,variant:R,vars:T,mod:M,...L}=r,{styleProps:P,rest:A}=(0,l.c)(L),z={label:o,description:a,error:c,required:s,classNames:u,className:f,__staticSelector:m,__stylesApiProps:h||r,errorProps:v,labelProps:g,descriptionProps:y,unstyled:p,styles:d,size:E,style:x,inputContainer:k,inputWrapperOrder:S,withAsterisk:C,variant:R,id:w,mod:M,...b};return{...A,classNames:u,styles:d,unstyled:p,wrapperProps:{...z,...P},inputProps:{required:s,classNames:u,styles:d,unstyled:p,size:E,__staticSelector:m,__stylesApiProps:h||r,error:c,variant:R,id:w}}}("InputBase",c,e);return r.createElement(a.I.Wrapper,{...o},r.createElement(a.I,{...n,...s,ref:t}))});s.classes={...a.I.classes,...a.I.Wrapper.classes},s.displayName="@mantine/core/InputBase"},1835:function(e,t,n){"use strict";n.d(t,{a:function(){return b}});var r=n(7378),o=n(947),a=n(6415),i=n(9104),l=n(7226),c=n(7208),s=n(1799),u=n(9662),d=n(624),f={root:"m-5ae2e3c",barsLoader:"m-7a2bd4cd",bar:"m-870bb79","bars-loader-animation":"m-5d2b3b9d",dotsLoader:"m-4e3f22d7",dot:"m-870c4af","loader-dots-animation":"m-aac34a1",ovalLoader:"m-b34414df","oval-loader-animation":"m-f8e89c4b"};let p=(0,r.forwardRef)(({className:e,...t},n)=>r.createElement(s.x,{component:"span",className:(0,d.Z)(f.barsLoader,e),...t,ref:n},r.createElement("span",{className:f.bar}),r.createElement("span",{className:f.bar}),r.createElement("span",{className:f.bar}))),m=(0,r.forwardRef)(({className:e,...t},n)=>r.createElement(s.x,{component:"span",className:(0,d.Z)(f.dotsLoader,e),...t,ref:n},r.createElement("span",{className:f.dot}),r.createElement("span",{className:f.dot}),r.createElement("span",{className:f.dot}))),h=(0,r.forwardRef)(({className:e,...t},n)=>r.createElement(s.x,{component:"span",className:(0,d.Z)(f.ovalLoader,e),...t,ref:n})),v={bars:p,oval:h,dots:m},g={loaders:v,type:"oval"},y=(0,a.Z)((e,{size:t,color:n})=>({root:{"--loader-size":(0,o.ap)(t,"loader-size"),"--loader-color":n?(0,i.p)(n,e):void 0}})),b=(0,u.d)((e,t)=>{let n=(0,l.w)("Loader",g,e),{size:o,color:a,type:i,vars:u,className:d,style:p,classNames:m,styles:h,unstyled:v,loaders:b,variant:w,children:E,...x}=n,k=(0,c.y)({name:"Loader",props:n,classes:f,className:d,style:p,classNames:m,styles:h,unstyled:v,vars:u,varsResolver:y});return E?r.createElement(s.x,{...k("root"),ref:t,...x},E):r.createElement(s.x,{...k("root"),ref:t,component:b[i],variant:w,size:o,...x})});b.defaultLoaders=v,b.classes=f,b.displayName="@mantine/core/Loader"},6900:function(e,t,n){"use strict";n.d(t,{X:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u={root:"m-1b7284a3"};let d={},f=(0,a.Z)((e,{radius:t,shadow:n})=>({root:{"--paper-radius":void 0===t?void 0:(0,o.H5)(t),"--paper-shadow":(0,o.Xj)(n)}})),p=(0,s.b)((e,t)=>{let n=(0,i.w)("Paper",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,withBorder:h,vars:v,radius:g,shadow:y,variant:b,mod:w,...E}=n,x=(0,l.y)({name:"Paper",props:n,classes:u,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:v,varsResolver:f});return r.createElement(c.x,{ref:t,mod:[{"data-with-border":h},w],...x("root"),variant:b,...E})});p.classes=u,p.displayName="@mantine/core/Paper"},825:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(7378),o=n(1542),a=n(213),i=n(183),l=n(7226);let c={},s=(0,r.forwardRef)((e,t)=>{let{children:n,target:s,...u}=(0,l.w)("Portal",c,e),[d,f]=(0,r.useState)(!1),p=(0,r.useRef)(null);return((0,a.Y)(()=>(f(!0),p.current=s?"string"==typeof s?document.querySelector(s):s:function(e){let t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}(u),(0,i.kR)(t,p.current),!s&&p.current&&document.body.appendChild(p.current),()=>{!s&&p.current&&document.body.removeChild(p.current)}),[s]),d&&p.current)?(0,o.createPortal)(r.createElement(r.Fragment,null,n),p.current):null});function u({withinPortal:e=!0,children:t,...n}){return e?r.createElement(s,{...n},t):r.createElement(r.Fragment,null,t)}s.displayName="@mantine/core/Portal",u.displayName="@mantine/core/OptionalPortal"},603:function(e,t,n){"use strict";n.d(t,{x:function(){return Y}});var r=n(7378),o=n(4485),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u=n(673);let[d,f]=(0,u.R)("ScrollArea.Root component was not found in tree");function p(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useMemo)(()=>(...e)=>t.current?.(...e),[])}var m=n(213);function h(e,t){let n=p(t);(0,m.Y)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}let v=r.forwardRef((e,t)=>{let{style:n,...o}=e,a=f(),[i,l]=r.useState(0),[c,s]=r.useState(0);return h(a.scrollbarX,()=>{let e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),s(e)}),h(a.scrollbarY,()=>{let e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),l(e)}),i&&c?r.createElement("div",{...o,ref:t,style:{...n,width:i,height:c}}):null}),g=r.forwardRef((e,t)=>{let n=f(),o=!!(n.scrollbarX&&n.scrollbarY),a="scroll"!==n.type&&o;return a?r.createElement(v,{...e,ref:t}):null});var y=n(183);let b={scrollHideDelay:1e3,type:"hover"},w=(0,r.forwardRef)((e,t)=>{let n=(0,i.w)("ScrollAreaRoot",b,e),{type:o,scrollHideDelay:a,scrollbars:l,...s}=n,[u,f]=(0,r.useState)(null),[p,m]=(0,r.useState)(null),[h,v]=(0,r.useState)(null),[g,w]=(0,r.useState)(null),[E,x]=(0,r.useState)(null),[k,S]=(0,r.useState)(0),[C,R]=(0,r.useState)(0),[T,M]=(0,r.useState)(!1),[L,P]=(0,r.useState)(!1),A=(0,y.Yx)(t,e=>f(e));return r.createElement(d,{value:{type:o,scrollHideDelay:a,scrollArea:u,viewport:p,onViewportChange:m,content:h,onContentChange:v,scrollbarX:g,onScrollbarXChange:w,scrollbarXEnabled:T,onScrollbarXEnabledChange:M,scrollbarY:E,onScrollbarYChange:x,scrollbarYEnabled:L,onScrollbarYEnabledChange:P,onCornerWidthChange:S,onCornerHeightChange:R}},r.createElement(c.x,{...s,ref:A,__vars:{"--sa-corner-width":"xy"!==l?"0px":`${k}px`,"--sa-corner-height":"xy"!==l?"0px":`${C}px`}}))});function E(e,t){let n=p(e),o=(0,r.useRef)(0);return(0,r.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,r.useCallback)(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,t)},[n,t])}w.displayName="@mantine/core/ScrollAreaRoot";var x=n(892);function k(e,t){let n=e/t;return Number.isNaN(n)?0:n}function S(e){let t=k(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function C(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function R(e,t,n="ltr"){let r=S(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,i=t.content-t.viewport,l="ltr"===n?[0,i]:[-1*i,0],c=function(e,[t,n]){return Math.min(n,Math.max(t,e))}(e,l),s=C([0,i],[0,a-r]);return s(c)}function T(e){return e?parseInt(e,10):0}function M(e,t,{checkForDefaultPrevented:n=!0}={}){return r=>{e?.(r),!1!==n&&r.defaultPrevented||t?.(r)}}let[L,P]=(0,u.R)("ScrollAreaScrollbar was not found in tree"),A=(0,r.forwardRef)((e,t)=>{let{sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:i,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:s,onWheelScroll:u,onResize:d,...m}=e,v=f(),[g,b]=r.useState(null),w=(0,y.Yx)(t,e=>b(e)),x=r.useRef(null),k=r.useRef(""),{viewport:S}=v,C=n.content-n.viewport,R=p(u),T=p(c),P=E(d,10),A=e=>{if(x.current){let t=e.clientX-x.current.left,n=e.clientY-x.current.top;s({x:t,y:n})}};return(0,r.useEffect)(()=>{let e=e=>{let t=e.target,n=g?.contains(t);n&&R(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[S,g,C,R]),(0,r.useEffect)(T,[n,T]),h(g,P),h(v.content,P),r.createElement(L,{value:{scrollbar:g,hasThumb:o,onThumbChange:p(a),onThumbPointerUp:p(i),onThumbPositionChange:T,onThumbPointerDown:p(l)}},r.createElement("div",{...m,ref:w,style:{position:"absolute",...m.style},onPointerDown:M(e.onPointerDown,e=>{if(0===e.button){let t=e.target;t.setPointerCapture(e.pointerId),x.current=g.getBoundingClientRect(),k.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",A(e)}}),onPointerMove:M(e.onPointerMove,A),onPointerUp:M(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=k.current,x.current=null})}))}),z=(0,r.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:o,style:a,...i}=e,l=f(),[c,s]=(0,r.useState)(),u=(0,r.useRef)(null),d=(0,y.Yx)(t,u,l.onScrollbarXChange);return(0,r.useEffect)(()=>{u.current&&s(getComputedStyle(u.current))},[u]),r.createElement(A,{"data-orientation":"horizontal",...i,ref:d,sizes:n,style:{...a,"--sa-thumb-width":`${S(n)}px`},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(l.viewport){let r=l.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),r>0&&r{u.current&&l.viewport&&c&&o({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:T(c.paddingLeft),paddingEnd:T(c.paddingRight)}})}})}),N=(0,r.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:o,style:a,...i}=e,l=f(),[c,s]=r.useState(),u=(0,r.useRef)(null),d=(0,y.Yx)(t,u,l.onScrollbarYChange);return(0,r.useEffect)(()=>{u.current&&s(getComputedStyle(u.current))},[u]),r.createElement(A,{...i,"data-orientation":"vertical",ref:d,sizes:n,style:{"--sa-thumb-height":`${S(n)}px`,...a},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(l.viewport){let r=l.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),r>0&&r{u.current&&l.viewport&&c&&o({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:T(c.paddingTop),paddingEnd:T(c.paddingBottom)}})}})}),I=(0,r.forwardRef)((e,t)=>{let{orientation:n="vertical",...o}=e,{dir:a}=(0,x.gm)(),i=f(),l=(0,r.useRef)(null),c=(0,r.useRef)(0),[s,u]=(0,r.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=k(s.viewport,s.content),p={...o,sizes:s,onSizesChange:u,hasThumb:!!(d>0&&d<1),onThumbChange:e=>{l.current=e},onThumbPointerUp:()=>{c.current=0},onThumbPointerDown:e=>{c.current=e}},m=(e,t)=>(function(e,t,n,r="ltr"){let o=S(n),a=t||o/2,i=n.scrollbar.paddingStart+a,l=n.scrollbar.size-n.scrollbar.paddingEnd-(o-a),c=n.content-n.viewport,s=C([i,l],"ltr"===r?[0,c]:[-1*c,0]);return s(e)})(e,c.current,s,t);return"horizontal"===n?r.createElement(z,{...p,ref:t,onThumbPositionChange:()=>{if(i.viewport&&l.current){let e=i.viewport.scrollLeft,t=R(e,s,a);l.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=m(e,a))}}):"vertical"===n?r.createElement(N,{...p,ref:t,onThumbPositionChange:()=>{if(i.viewport&&l.current){let e=i.viewport.scrollTop,t=R(e,s);l.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=m(e))}}):null}),$=(0,r.forwardRef)((e,t)=>{let n=f(),{forceMount:o,...a}=e,[i,l]=(0,r.useState)(!1),c="horizontal"===e.orientation,s=E(()=>{if(n.viewport){let e=n.viewport.offsetWidth{let{forceMount:n,...o}=e,a=f(),[i,l]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let{scrollArea:e}=a,t=0;if(e){let n=()=>{window.clearTimeout(t),l(!0)},r=()=>{t=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[a.scrollArea,a.scrollHideDelay]),n||i)?r.createElement($,{"data-state":i?"visible":"hidden",...o,ref:t}):null}),F=(0,r.forwardRef)((e,t)=>{let{forceMount:n,...o}=e,a=f(),i="horizontal"===e.orientation,[l,c]=(0,r.useState)("hidden"),s=E(()=>c("idle"),100);return((0,r.useEffect)(()=>{if("idle"===l){let e=window.setTimeout(()=>c("hidden"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[l,a.scrollHideDelay]),(0,r.useEffect)(()=>{let{viewport:e}=a,t=i?"scrollLeft":"scrollTop";if(e){let n=e[t],r=()=>{let r=e[t],o=n!==r;o&&(c("scrolling"),s()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[a.viewport,i,s]),n||"hidden"!==l)?r.createElement(I,{"data-state":"hidden"===l?"hidden":"visible",...o,ref:t,onPointerEnter:M(e.onPointerEnter,()=>c("interacting")),onPointerLeave:M(e.onPointerLeave,()=>c("idle"))}):null}),O=r.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=f(),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:l}=a,c="horizontal"===e.orientation;return r.useEffect(()=>(c?i(!0):l(!0),()=>{c?i(!1):l(!1)}),[c,i,l]),"hover"===a.type?r.createElement(D,{...o,ref:t,forceMount:n}):"scroll"===a.type?r.createElement(F,{...o,ref:t,forceMount:n}):"auto"===a.type?r.createElement($,{...o,ref:t,forceMount:n}):"always"===a.type?r.createElement(I,{...o,ref:t}):null}),B=(0,r.forwardRef)((e,t)=>{let{style:n,...o}=e,a=f(),i=P(),{onThumbPositionChange:l}=i,c=(0,y.Yx)(t,e=>i.onThumbChange(e)),s=(0,r.useRef)(),u=E(()=>{s.current&&(s.current(),s.current=void 0)},100);return(0,r.useEffect)(()=>{let{viewport:e}=a;if(e){let t=()=>{if(u(),!s.current){let t=function(e,t=()=>{}){let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){let a={left:e.scrollLeft,top:e.scrollTop},i=n.left!==a.left,l=n.top!==a.top;(i||l)&&t(),n=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)}(e,l);s.current=t,l()}};return l(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[a.viewport,u,l]),r.createElement("div",{"data-state":i.hasThumb?"visible":"hidden",...o,ref:c,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...n},onPointerDownCapture:M(e.onPointerDownCapture,e=>{let t=e.target,n=t.getBoundingClientRect(),r=e.clientX-n.left,o=e.clientY-n.top;i.onThumbPointerDown({x:r,y:o})}),onPointerUp:M(e.onPointerUp,i.onThumbPointerUp)})}),H=r.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=P();return n||a.hasThumb?r.createElement(B,{ref:t,...o}):null}),Z=(0,r.forwardRef)(({children:e,style:t,...n},o)=>{let a=f(),i=(0,y.Yx)(o,a.onViewportChange);return r.createElement(c.x,{...n,ref:i,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...t}},r.createElement("div",{style:{minWidth:"100%",display:"table"},ref:a.onContentChange},e))});Z.displayName="@mantine/core/ScrollAreaViewport";var _={root:"m-d57069b5",viewport:"m-c0783ff9",viewportInner:"m-f8f631dd",scrollbar:"m-c44ba933",thumb:"m-d8b5e363",corner:"m-21657268"};let W={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},V=(0,a.Z)((e,{scrollbarSize:t})=>({root:{"--scrollarea-scrollbar-size":(0,o.h)(t)}})),Y=(0,s.d)((e,t)=>{let n=(0,i.w)("ScrollArea",W,e),{classNames:o,className:a,style:c,styles:s,unstyled:u,scrollbarSize:d,vars:f,type:p,scrollHideDelay:m,viewportProps:h,viewportRef:v,onScrollPositionChange:y,children:b,offsetScrollbars:E,scrollbars:x,...k}=n,[S,C]=(0,r.useState)(!1),R=(0,l.y)({name:"ScrollArea",props:n,classes:_,className:a,style:c,classNames:o,styles:s,unstyled:u,vars:f,varsResolver:V});return r.createElement(w,{type:"never"===p?"always":p,scrollHideDelay:m,ref:t,scrollbars:x,...R("root"),...k},r.createElement(Z,{...h,...R("viewport"),ref:v,"data-offset-scrollbars":!0===E?"xy":E||void 0,"data-scrollbars":x||void 0,onScroll:"function"==typeof y?({currentTarget:e})=>y({x:e.scrollLeft,y:e.scrollTop}):void 0},b),("xy"===x||"x"===x)&&r.createElement(O,{...R("scrollbar"),orientation:"horizontal","data-hidden":"never"===p||void 0,forceMount:!0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1)},r.createElement(H,{...R("thumb")})),("xy"===x||"y"===x)&&r.createElement(O,{...R("scrollbar"),orientation:"vertical","data-hidden":"never"===p||void 0,forceMount:!0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1)},r.createElement(H,{...R("thumb")})),r.createElement(g,{...R("corner"),"data-hovered":S||void 0,"data-hidden":"never"===p||void 0}))});Y.displayName="@mantine/core/ScrollArea";let j=(0,s.d)((e,t)=>{let{children:n,classNames:o,styles:a,scrollbarSize:l,scrollHideDelay:s,type:u,dir:d,offsetScrollbars:f,viewportRef:p,onScrollPositionChange:m,unstyled:h,variant:v,viewportProps:g,scrollbars:y,style:b,vars:w,...E}=(0,i.w)("ScrollAreaAutosize",W,e);return r.createElement(c.x,{...E,ref:t,style:[{display:"flex",overflow:"auto"},b]},r.createElement(c.x,{style:{display:"flex",flexDirection:"column",flex:1}},r.createElement(Y,{classNames:o,styles:a,scrollHideDelay:s,scrollbarSize:l,type:u,dir:d,offsetScrollbars:f,viewportRef:p,onScrollPositionChange:m,unstyled:h,variant:v,viewportProps:g,vars:w,scrollbars:y},n)))});Y.classes=_,j.displayName="@mantine/core/ScrollAreaAutosize",j.classes=_,Y.Autosize=j},5405:function(e,t,n){"use strict";n.d(t,{K:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-6d731127"};let d={gap:"md",align:"stretch",justify:"flex-start"},f=(0,a.Z)((e,{gap:t,align:n,justify:r})=>({root:{"--stack-gap":(0,o.bG)(t),"--stack-align":n,"--stack-justify":r}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Stack",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,align:v,justify:g,gap:y,variant:b,...w}=n,E=(0,l.y)({name:"Stack",props:n,classes:u,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return r.createElement(c.x,{ref:t,...E("root"),variant:b,...w})});p.classes=u,p.displayName="@mantine/core/Stack"},4134:function(e,t,n){"use strict";n.d(t,{r:function(){return T}});var r=n(7378),o=n(6184),a=n(5006),i=n(947),l=n(6415),c=n(9104),s=n(7226),u=n(7208),d=n(4438),f=n(1799),p=n(9662),m=n(7935),h={root:"m-5f75b09e",body:"m-5f6e695e",labelWrapper:"m-d3ea56bb",label:"m-8ee546b8",description:"m-328f68c0",error:"m-8e8a99cc"};let v=(0,r.forwardRef)(({__staticSelector:e,__stylesApiProps:t,className:n,classNames:o,styles:a,unstyled:l,children:c,label:s,description:d,id:p,disabled:v,error:g,size:y,labelPosition:b="left",variant:w,style:E,vars:x,mod:k,...S},C)=>{let R=(0,u.y)({name:e,props:t,className:n,style:E,classes:h,classNames:o,styles:a,unstyled:l});return r.createElement(f.x,{...R("root"),ref:C,__vars:{"--label-fz":(0,i.yv)(y),"--label-lh":(0,i.ap)(y,"label-lh")},mod:[{"label-position":b},k],variant:w,size:y,...S},r.createElement("div",{...R("body")},c,r.createElement("div",{...R("labelWrapper"),"data-disabled":v||void 0},s&&r.createElement("label",{...R("label"),"data-disabled":v||void 0,htmlFor:p},s),d&&r.createElement(m.I.Description,{size:y,__inheritStyles:!1,...R("description")},d),g&&"boolean"!==g&&r.createElement(m.I.Error,{size:y,__inheritStyles:!1,...R("error")},g))))});v.displayName="@mantine/core/InlineInput";let g=(0,r.createContext)(null),y=g.Provider,b=()=>(0,r.useContext)(g);var w=n(7487);function E({children:e,role:t}){let n=(0,w.D)();return n?r.createElement("div",{role:t,"aria-labelledby":n.labelId,"aria-describedby":n.describedBy},e):r.createElement(r.Fragment,null,e)}let x={},k=(0,p.d)((e,t)=>{let{value:n,defaultValue:o,onChange:i,size:l,wrapperProps:c,children:u,readOnly:d,...f}=(0,s.w)("SwitchGroup",x,e),[p,h]=(0,a.C)({value:n,defaultValue:o,finalValue:[],onChange:i});return r.createElement(y,{value:{value:p,onChange:e=>{let t=e.currentTarget.value;d||h(p.includes(t)?p.filter(e=>e!==t):[...p,t])},size:l}},r.createElement(m.I.Wrapper,{size:l,ref:t,...c,...f,labelElement:"div",__staticSelector:"SwitchGroup"},r.createElement(E,{role:"group"},u)))});k.classes=m.I.Wrapper.classes,k.displayName="@mantine/core/SwitchGroup";var S={root:"m-5f93f3bb",input:"m-926b4011",track:"m-9307d992",thumb:"m-93039a1d",trackLabel:"m-8277e082"};let C={labelPosition:"right"},R=(0,l.Z)((e,{radius:t,color:n,size:r})=>({root:{"--switch-radius":void 0===t?void 0:(0,i.H5)(t),"--switch-height":(0,i.ap)(r,"switch-height"),"--switch-width":(0,i.ap)(r,"switch-width"),"--switch-thumb-size":(0,i.ap)(r,"switch-thumb-size"),"--switch-label-font-size":(0,i.ap)(r,"switch-label-font-size"),"--switch-track-label-padding":(0,i.ap)(r,"switch-track-label-padding"),"--switch-color":n?(0,c.p)(n,e):void 0}})),T=(0,p.d)((e,t)=>{let n=(0,s.w)("Switch",C,e),{classNames:i,className:l,style:c,styles:p,unstyled:m,vars:h,color:g,label:y,offLabel:w,onLabel:E,id:x,size:k,radius:T,wrapperProps:M,children:L,thumbIcon:P,checked:A,defaultChecked:z,onChange:N,labelPosition:I,description:$,error:D,disabled:F,variant:O,rootRef:B,mod:H,...Z}=n,_=b(),W=k||_?.size,V=(0,u.y)({name:"Switch",props:n,classes:S,className:l,style:c,classNames:i,styles:p,unstyled:m,vars:h,varsResolver:R}),{styleProps:Y,rest:j}=(0,d.c)(Z),X=(0,o.M)(x),K=_?{checked:_.value.includes(j.value),onChange:_.onChange}:{},[q,G]=(0,a.C)({value:K.checked??A,defaultValue:z,finalValue:!1});return r.createElement(v,{...V("root"),__staticSelector:"Switch",__stylesApiProps:n,id:X,size:W,labelPosition:I,label:y,description:$,error:D,disabled:F,classNames:i,styles:p,unstyled:m,"data-checked":K.checked||void 0,variant:O,ref:B,mod:H,...Y,...M},r.createElement("input",{...j,disabled:F,checked:q,onChange:e=>{_?K.onChange?.(e):N?.(e),G(e.currentTarget.checked)},id:X,ref:t,type:"checkbox",...V("input")}),r.createElement(f.x,{component:"label",htmlFor:X,mod:{error:D,"label-position":I},...V("track")},r.createElement(f.x,{component:"span",mod:"reduce-motion",...V("thumb")},P),r.createElement("span",{...V("trackLabel")},q?E:w)))});T.classes={...S,...h},T.displayName="@mantine/core/Switch",T.Group=k},2238:function(e,t,n){"use strict";n.d(t,{i:function(){return A}});var r=n(7378),o=n(4485),a=n(947),i=n(6415),l=n(9104),c=n(7226),s=n(7208),u=n(1799),d=n(9662),f=n(673);let[p,m]=(0,f.R)("Table component was not found in the tree");var h={table:"m-b23fa0ef",th:"m-4e7aa4f3",tr:"m-4e7aa4fd",td:"m-4e7aa4ef",tbody:"m-b2404537",thead:"m-b242d975",caption:"m-9e5a3ac7",scrollContainer:"m-a100c15",scrollContainerInner:"m-62259741"};function v(e,t){let n=`Table${e.charAt(0).toUpperCase()}${e.slice(1)}`,o=(0,d.d)((o,a)=>{let i=(0,c.w)(n,{},o),{classNames:l,className:s,style:d,styles:f,...p}=i,h=m();return r.createElement(u.x,{component:e,ref:a,...function(e,t){if(!t)return;let n={};return t.columnBorder&&e.withColumnBorders&&(n["data-with-column-border"]=!0),t.rowBorder&&e.withRowBorders&&(n["data-with-row-border"]=!0),t.striped&&e.striped&&(n["data-striped"]=e.striped),t.highlightOnHover&&e.highlightOnHover&&(n["data-hover"]=!0),t.captionSide&&e.captionSide&&(n["data-side"]=e.captionSide),t.stickyHeader&&e.stickyHeader&&(n["data-sticky"]=!0),n}(h,t),...h.getStyles(e,{className:s,classNames:l,style:d,styles:f,props:i}),...p})});return o.displayName=`@mantine/core/${n}`,o.classes=h,o}let g=v("th",{columnBorder:!0}),y=v("td",{columnBorder:!0}),b=v("tr",{rowBorder:!0,striped:!0,highlightOnHover:!0}),w=v("thead",{stickyHeader:!0}),E=v("tbody"),x=v("tfoot"),k=v("caption",{captionSide:!0});function S({data:e}){return r.createElement(r.Fragment,null,e.caption&&r.createElement(k,null,e.caption),e.head&&r.createElement(w,null,r.createElement(b,null,e.head.map((e,t)=>r.createElement(g,{key:t},e)))),e.body&&r.createElement(E,null,e.body.map((e,t)=>r.createElement(b,{key:t},e.map((e,t)=>r.createElement(y,{key:t},e))))),e.foot&&r.createElement(x,null,r.createElement(b,null,e.foot.map((e,t)=>r.createElement(g,{key:t},e)))))}S.displayName="@mantine/core/TableDataRenderer";var C=n(603);let R={type:"scrollarea"},T=(0,i.Z)((e,{minWidth:t,type:n})=>({scrollContainer:{"--table-min-width":(0,o.h)(t),"--table-overflow":"native"===n?"auto":void 0}})),M=(0,d.d)((e,t)=>{let n=(0,c.w)("TableScrollContainer",R,e),{classNames:o,className:a,style:i,styles:l,unstyled:d,vars:f,children:p,minWidth:m,type:v,...g}=n,y=(0,s.y)({name:"TableScrollContainer",classes:h,props:n,className:a,style:i,classNames:o,styles:l,unstyled:d,vars:f,varsResolver:T,rootSelector:"scrollContainer"});return r.createElement(u.x,{component:"scrollarea"===v?C.x:"div",..."scrollarea"===v?{offsetScrollbars:"x"}:{},ref:t,...y("scrollContainer"),...g},r.createElement("div",{...y("scrollContainerInner")},p))});M.classes=h,M.displayName="@mantine/core/TableScrollContainer";let L={withRowBorders:!0,verticalSpacing:7},P=(0,i.Z)((e,{layout:t,captionSide:n,horizontalSpacing:r,verticalSpacing:i,borderColor:c,stripedColor:s,highlightOnHoverColor:u,striped:d,highlightOnHover:f,stickyHeaderOffset:p,stickyHeader:m})=>({table:{"--table-layout":t,"--table-caption-side":n,"--table-horizontal-spacing":(0,a.bG)(r),"--table-vertical-spacing":(0,a.bG)(i),"--table-border-color":c?(0,l.p)(c,e):void 0,"--table-striped-color":d&&s?(0,l.p)(s,e):void 0,"--table-highlight-on-hover-color":f&&u?(0,l.p)(u,e):void 0,"--table-sticky-header-offset":m?(0,o.h)(p):void 0}})),A=(0,d.d)((e,t)=>{let n=(0,c.w)("Table",L,e),{classNames:o,className:a,style:i,styles:l,unstyled:d,vars:f,horizontalSpacing:m,verticalSpacing:v,captionSide:g,stripedColor:y,highlightOnHoverColor:b,striped:w,highlightOnHover:E,withColumnBorders:x,withRowBorders:k,withTableBorder:C,borderColor:R,layout:T,variant:M,data:A,children:z,stickyHeader:N,stickyHeaderOffset:I,mod:$,...D}=n,F=(0,s.y)({name:"Table",props:n,className:a,style:i,classes:h,classNames:o,styles:l,unstyled:d,rootSelector:"table",vars:f,varsResolver:P});return r.createElement(p,{value:{getStyles:F,stickyHeader:N,striped:!0===w?"odd":w||void 0,highlightOnHover:E,withColumnBorders:x,withRowBorders:k,captionSide:g||"bottom"}},r.createElement(u.x,{component:"table",variant:M,ref:t,mod:[{"data-with-table-border":C},$],...F("table"),...D},z||!!A&&r.createElement(S,{data:A})))});A.classes=h,A.displayName="@mantine/core/Table",A.Td=y,A.Th=g,A.Tr=b,A.Thead=w,A.Tbody=E,A.Tfoot=x,A.Caption=k,A.ScrollContainer=M,A.DataRenderer=S},7098:function(e,t,n){"use strict";n.d(t,{m:function(){return z}});var r=n(7378),o=n(6184),a=n(5006);function i(e,t){return n=>{if("string"!=typeof n||0===n.trim().length)throw Error(t);return`${e}-${n}`}}var l=n(947),c=n(6415),s=n(9104),u=n(6861),d=n(7226),f=n(7208),p=n(1799),m=n(9662),h=n(673);let[v,g]=(0,h.R)("Tabs component was not found in the tree");var y={root:"m-89d60db1","list--default":"m-576c9d4",list:"m-89d33d6d",panel:"m-b0c91715",tab:"m-4ec4dce6",tabSection:"m-fc420b1f","tab--default":"m-539e827b","list--outline":"m-6772fbd5","tab--outline":"m-b59ab47c","tab--pills":"m-c3381914"};let b={},w=(0,m.d)((e,t)=>{let n=(0,d.w)("TabsList",b,e),{children:o,className:a,grow:i,justify:l,classNames:c,styles:s,style:u,mod:f,...m}=n,h=g();return r.createElement(p.x,{...m,...h.getStyles("list",{className:a,style:u,classNames:c,styles:s,props:n,variant:h.variant}),ref:t,role:"tablist",variant:h.variant,mod:[{grow:i,orientation:h.orientation,placement:"vertical"===h.orientation&&h.placement,inverted:h.inverted},f],"aria-orientation":h.orientation,__vars:{"--tabs-justify":l}},o)});w.classes=y,w.displayName="@mantine/core/TabsList";let E={},x=(0,m.d)((e,t)=>{let n=(0,d.w)("TabsPanel",E,e),{children:o,className:a,value:i,classNames:l,styles:c,style:s,mod:u,...f}=n,m=g(),h=m.value===i,v=m.keepMounted||n.keepMounted?o:h?o:null;return r.createElement(p.x,{...f,...m.getStyles("panel",{className:a,classNames:l,styles:c,style:[s,h?void 0:{display:"none"}],props:n}),ref:t,mod:[{orientation:m.orientation},u],role:"tabpanel",id:m.getPanelId(i),"aria-labelledby":m.getTabId(i)},v)});function k(e,t){let n=e;for(;(n=n.parentElement)&&!n.matches(t););return n}x.classes=y,x.displayName="@mantine/core/TabsPanel";var S=n(7040),C=n(892),R=n(7878);let T={},M=(0,m.d)((e,t)=>{let n=(0,d.w)("TabsTab",T,e),{className:o,children:a,rightSection:i,leftSection:l,value:c,onClick:u,onKeyDown:f,disabled:p,color:m,style:h,classNames:v,styles:y,vars:b,mod:w,...E}=n,x=(0,S.rZ)(),{dir:M}=(0,C.gm)(),L=g(),P=c===L.value,A={classNames:v,styles:y,props:n};return r.createElement(R.k,{...E,...L.getStyles("tab",{className:o,style:h,variant:L.variant,...A}),disabled:p,unstyled:L.unstyled,variant:L.variant,mod:[{active:P,disabled:p,orientation:L.orientation,inverted:L.inverted,placement:"vertical"===L.orientation&&L.placement},w],ref:t,role:"tab",id:L.getTabId(c),"aria-selected":P,tabIndex:P||null===L.value?0:-1,"aria-controls":L.getPanelId(c),onClick:e=>{L.onChange(L.allowTabDeactivation&&c===L.value?null:c),u?.(e)},__vars:{"--tabs-color":m?(0,s.p)(m,x):void 0},onKeyDown:function({parentSelector:e,siblingSelector:t,onKeyDown:n,loop:r=!0,activateOnFocus:o=!1,dir:a="rtl",orientation:i}){return l=>{n?.(l);let c=Array.from(k(l.currentTarget,e)?.querySelectorAll(t)||[]).filter(t=>k(l.currentTarget,e)===k(t,e)),s=c.findIndex(e=>l.currentTarget===e),u=function(e,t,n){for(let n=e+1;n=0;n-=1)if(!t[n].disabled)return n;if(n){for(let e=t.length-1;e>-1;e-=1)if(!t[e].disabled)return e}return e}(s,c,r),f="rtl"===a?d:u,p="rtl"===a?u:d;switch(l.key){case"ArrowRight":"horizontal"===i&&(l.stopPropagation(),l.preventDefault(),c[f].focus(),o&&c[f].click());break;case"ArrowLeft":"horizontal"===i&&(l.stopPropagation(),l.preventDefault(),c[p].focus(),o&&c[p].click());break;case"ArrowUp":"vertical"===i&&(l.stopPropagation(),l.preventDefault(),c[d].focus(),o&&c[d].click());break;case"ArrowDown":"vertical"===i&&(l.stopPropagation(),l.preventDefault(),c[u].focus(),o&&c[u].click());break;case"Home":l.stopPropagation(),l.preventDefault(),c[0].disabled||c[0].focus();break;case"End":{l.stopPropagation(),l.preventDefault();let e=c.length-1;c[e].disabled||c[e].focus()}}}}({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:L.activateTabWithKeyboard,loop:L.loop,orientation:L.orientation||"horizontal",dir:M,onKeyDown:f})},l&&r.createElement("span",{...L.getStyles("tabSection",A),"data-position":"left"},l),a&&r.createElement("span",{...L.getStyles("tabLabel",A)},a),i&&r.createElement("span",{...L.getStyles("tabSection",A),"data-position":"right"},i))});M.classes=y,M.displayName="@mantine/core/TabsTab";let L="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",P={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},A=(0,c.Z)((e,{radius:t,color:n,autoContrast:r})=>({root:{"--tabs-radius":(0,l.H5)(t),"--tabs-color":(0,s.p)(n,e),"--tabs-text-color":("boolean"==typeof r?r:e.autoContrast)?(0,u.R)({color:n,theme:e}):void 0}})),z=(0,m.d)((e,t)=>{let n=(0,d.w)("Tabs",P,e),{defaultValue:l,value:c,onChange:s,orientation:u,children:m,loop:h,id:g,activateTabWithKeyboard:b,allowTabDeactivation:w,variant:E,color:x,radius:k,inverted:S,placement:C,keepMounted:R,classNames:T,styles:M,unstyled:z,className:N,style:I,vars:$,autoContrast:D,mod:F,...O}=n,B=(0,o.M)(g),[H,Z]=(0,a.C)({value:c,defaultValue:l,finalValue:null,onChange:s}),_=(0,f.y)({name:"Tabs",props:n,classes:y,className:N,style:I,classNames:T,styles:M,unstyled:z,vars:$,varsResolver:A});return r.createElement(v,{value:{placement:C,value:H,orientation:u,id:B,loop:h,activateTabWithKeyboard:b,getTabId:i(`${B}-tab`,L),getPanelId:i(`${B}-panel`,L),onChange:Z,allowTabDeactivation:w,variant:E,color:x,radius:k,inverted:S,keepMounted:R,unstyled:z,getStyles:_}},r.createElement(p.x,{ref:t,id:B,variant:E,mod:[{orientation:u,inverted:"horizontal"===u&&S,placement:"vertical"===u&&C},F],..._("root"),...O},m))});z.classes=y,z.displayName="@mantine/core/Tabs",z.Tab=M,z.Panel=x,z.List=w},149:function(e,t,n){"use strict";n.d(t,{x:function(){return h}});var r=n(7378),o=n(947),a=n(6415),i=n(9104),l=n(9766),c=n(7226),s=n(7208),u=n(1799),d=n(5427),f={root:"m-b6d8b162"};let p={inherit:!1},m=(0,a.Z)((e,{variant:t,lineClamp:n,gradient:r,size:a,color:c})=>({root:{"--text-fz":(0,o.yv)(a),"--text-lh":(0,o.Dp)(a),"--text-gradient":"gradient"===t?(0,l.u)(r,e):void 0,"--text-line-clamp":"number"==typeof n?n.toString():void 0,"--text-color":c?(0,i.p)(c,e):void 0}})),h=(0,d.b)((e,t)=>{let n=(0,c.w)("Text",p,e),{lineClamp:o,truncate:a,inline:i,inherit:l,gradient:d,span:h,__staticSelector:v,vars:g,className:y,style:b,classNames:w,styles:E,unstyled:x,variant:k,mod:S,size:C,...R}=n,T=(0,s.y)({name:["Text",v],props:n,classes:f,className:y,style:b,classNames:w,styles:E,unstyled:x,vars:g,varsResolver:m});return r.createElement(u.x,{...T("root",{focusable:!0}),ref:t,component:h?"span":"p",variant:k,mod:[{"data-truncate":"start"===a?"start":"end"===a||a?"end":void 0,"data-line-clamp":"number"==typeof o,"data-inline":i,"data-inherit":l},S],size:C,...R})});h.classes=f,h.displayName="@mantine/core/Text"},2033:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(7378),o=n(7226),a=n(9662),i=n(4749);let l={},c=(0,a.d)((e,t)=>{let n=(0,o.w)("TextInput",l,e);return r.createElement(i.M,{component:"input",ref:t,...n,__staticSelector:"TextInput"})});c.classes=i.M.classes,c.displayName="@mantine/core/TextInput"},4046:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var r=n(7378),o=n(6415),a=n(7226),i=n(7208),l=n(1799),c=n(9662),s=n(4485);let u=["h1","h2","h3","h4","h5","h6"];var d={root:"m-8a5d1357"};let f={order:1},p=(0,o.Z)((e,{order:t,size:n,lineClamp:r,textWrap:o})=>{let a=function(e,t){let n=void 0!==t?t:`h${e}`;return u.includes(n)?{fontSize:`var(--mantine-${n}-font-size)`,fontWeight:`var(--mantine-${n}-font-weight)`,lineHeight:`var(--mantine-${n}-line-height)`}:{fontSize:(0,s.h)(n),fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}}(t,n);return{root:{"--title-fw":a.fontWeight,"--title-lh":a.lineHeight,"--title-fz":a.fontSize,"--title-line-clamp":"number"==typeof r?r.toString():void 0,"--title-text-wrap":o}}}),m=(0,c.d)((e,t)=>{let n=(0,a.w)("Title",f,e),{classNames:o,className:c,style:s,styles:u,unstyled:m,order:h,vars:v,size:g,variant:y,lineClamp:b,textWrap:w,mod:E,...x}=n,k=(0,i.y)({name:"Title",props:n,classes:d,className:c,style:s,classNames:o,styles:u,unstyled:m,vars:v,varsResolver:p});return[1,2,3,4,5,6].includes(h)?r.createElement(l.x,{...k("root"),component:`h${h}`,variant:y,ref:t,mod:[{order:h,"data-line-clamp":"number"==typeof b},E],size:g,...x}):null});m.classes=d,m.displayName="@mantine/core/Title"},401:function(e,t,n){"use strict";n.d(t,{u:function(){return H}});var r=n(7378),o=n(624),a=n(183),i=n(495),l=n(3658),c=n(947),s=n(6415),u=n(9104),d=n(7226),f=n(7208),p=n(1799),m=n(9662),h=n(892),v=n(3098),g=n(4488),y=n(825),b=n(96);let w={duration:100,transition:"fade"};var E=n(7040),x=n(2216),k=n(5288),S=n(8321),C={tooltip:"m-1b3c8819",arrow:"m-f898399f"};let R={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:(0,l.w)("popover")},T=(0,s.Z)((e,{radius:t,color:n})=>({tooltip:{"--tooltip-radius":void 0===t?void 0:(0,c.H5)(t),"--tooltip-bg":n?(0,u.p)(n,e):void 0,"--tooltip-color":n?"var(--mantine-color-white)":void 0}})),M=(0,m.d)((e,t)=>{let n=(0,d.w)("TooltipFloating",R,e),{children:o,refProp:l,withinPortal:c,style:s,className:u,classNames:m,styles:h,unstyled:v,radius:g,color:b,label:w,offset:M,position:L,multiline:P,zIndex:A,disabled:z,variant:N,vars:I,portalProps:$,...D}=n,F=(0,E.rZ)(),O=(0,f.y)({name:"TooltipFloating",props:n,classes:C,className:u,style:s,classNames:m,styles:h,unstyled:v,rootSelector:"tooltip",vars:I,varsResolver:T}),{handleMouseMove:B,x:H,y:Z,opened:_,boundaryRef:W,floating:V,setOpened:Y}=function({offset:e,position:t}){let[n,o]=(0,r.useState)(!1),a=(0,r.useRef)(),{x:i,y:l,elements:c,refs:s,update:u,placement:d}=(0,x.YF)({placement:t,middleware:[(0,k.uY)({crossAxis:!0,padding:5,rootBoundary:"document"})]}),f=d.includes("right")?e:t.includes("left")?-1*e:0,p=d.includes("bottom")?e:t.includes("top")?-1*e:0,m=(0,r.useCallback)(({clientX:e,clientY:t})=>{s.setPositionReference({getBoundingClientRect:()=>({width:0,height:0,x:e,y:t,left:e+f,top:t+p,right:e,bottom:t})})},[c.reference]);return(0,r.useEffect)(()=>{if(s.floating.current){let e=a.current;e.addEventListener("mousemove",m);let t=(0,S.Kx)(s.floating.current);return t.forEach(e=>{e.addEventListener("scroll",u)}),()=>{e.removeEventListener("mousemove",m),t.forEach(e=>{e.removeEventListener("scroll",u)})}}},[c.reference,s.floating.current,u,m,n]),{handleMouseMove:m,x:i,y:l,opened:n,setOpened:o,boundaryRef:a,floating:s.setFloating}}({offset:M,position:L});if(!(0,i.k)(o))throw Error("[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");let j=(0,a.Yx)(W,o.ref,t);return r.createElement(r.Fragment,null,r.createElement(y.q,{...$,withinPortal:c},r.createElement(p.x,{...D,...O("tooltip",{style:{...function e(t,n){return Array.isArray(t)?[...t].reduce((t,r)=>({...t,...e(r,n)}),{}):"function"==typeof t?t(n):null==t?{}:t}(s,F),zIndex:A,display:!z&&_?"block":"none",top:(Z&&Math.round(Z))??"",left:(H&&Math.round(H))??""}}),variant:N,ref:V},w)),(0,r.cloneElement)(o,{...o.props,[l]:j,onMouseEnter:e=>{o.props.onMouseEnter?.(e),B(e),Y(!0)},onMouseLeave:e=>{o.props.onMouseLeave?.(e),Y(!1)}}))});M.classes=C,M.displayName="@mantine/core/TooltipFloating";let L=(0,r.createContext)(!1),P=L.Provider,A=()=>(0,r.useContext)(L),z={openDelay:0,closeDelay:0};function N(e){let{openDelay:t,closeDelay:n,children:o}=(0,d.w)("TooltipGroup",z,e);return r.createElement(P,{value:!0},r.createElement(x.e0,{delay:{open:t,close:n}},o))}N.displayName="@mantine/core/TooltipGroup";var I=n(6350),$=n(6184),D=n(6145),F=n(2966);let O={position:"top",refProp:"ref",withinPortal:!0,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},events:{hover:!0,focus:!1,touch:!1},zIndex:(0,l.w)("popover"),positionDependencies:[]},B=(0,s.Z)((e,{radius:t,color:n})=>({tooltip:{"--tooltip-radius":void 0===t?void 0:(0,c.H5)(t),"--tooltip-bg":n?(0,u.p)(n,e):void 0,"--tooltip-color":n?"var(--mantine-color-white)":void 0}})),H=(0,m.d)((e,t)=>{let n=(0,d.w)("Tooltip",O,e),{children:l,position:c,refProp:s,label:u,openDelay:m,closeDelay:E,onPositionChange:S,opened:R,withinPortal:T,radius:M,color:L,classNames:P,styles:z,unstyled:N,style:H,className:Z,withArrow:_,arrowSize:W,arrowOffset:V,arrowRadius:Y,arrowPosition:j,offset:X,transitionProps:K,multiline:q,events:G,zIndex:U,disabled:Q,positionDependencies:J,onClick:ee,onMouseEnter:et,onMouseLeave:en,inline:er,variant:eo,keepMounted:ea,vars:ei,portalProps:el,mod:ec,...es}=(0,d.w)("Tooltip",O,n),{dir:eu}=(0,h.gm)(),ed=(0,r.useRef)(null),ef=function(e){let[t,n]=(0,r.useState)(!1),o="boolean"==typeof e.opened,a=o?e.opened:t,i=A(),l=(0,$.M)(),{delay:c,currentId:s,setCurrentId:u}=(0,x.tj)(),d=(0,r.useCallback)(e=>{n(e),e&&u(l)},[u,l]),{x:f,y:p,context:m,refs:h,update:v,placement:g,middlewareData:{arrow:{x:y,y:b}={}}}=(0,x.YF)({placement:e.position,open:a,onOpenChange:d,middleware:[(0,k.cv)(e.offset),(0,k.uY)({padding:8}),(0,k.RR)(),(0,I.x7)({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[(0,k.Qo)()]:[]]}),{getReferenceProps:w,getFloatingProps:E}=(0,x.NI)([(0,x.XI)(m,{enabled:e.events?.hover,delay:i?c:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events?.touch}),(0,x.KK)(m,{enabled:e.events?.focus,keyboardOnly:!0}),(0,x.qs)(m,{role:"tooltip"}),(0,x.bQ)(m,{enabled:void 0===e.opened}),(0,x.Qu)(m,{id:l})]);(0,F.L)({opened:a,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:h,update:v}}),(0,D.l)(()=>{e.onPositionChange?.(g)},[g]);let S=a&&s&&s!==l;return{x:f,y:p,arrowX:y,arrowY:b,reference:h.setReference,floating:h.setFloating,getFloatingProps:E,getReferenceProps:w,isGroupPhase:S,opened:a,placement:g}}({position:(0,v._)(eu,c),closeDelay:E,openDelay:m,onPositionChange:S,opened:R,events:G,arrowRef:ed,arrowOffset:V,offset:"number"==typeof X?X+(_?W/2:0):X,positionDependencies:[...J,l],inline:er}),ep=(0,f.y)({name:"Tooltip",props:n,classes:C,className:Z,style:H,classNames:P,styles:z,unstyled:N,rootSelector:"tooltip",vars:ei,varsResolver:B});if(!(0,i.k)(l))throw Error("[@mantine/core] Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");let em=(0,a.Yx)(ef.reference,l.ref,t),eh={...w,duration:100,transition:"fade",...K};return r.createElement(r.Fragment,null,r.createElement(y.q,{...el,withinPortal:T},r.createElement(b.u,{...eh,keepMounted:ea,mounted:!Q&&!!ef.opened,duration:ef.isGroupPhase?10:eh.duration},e=>r.createElement(p.x,{...es,variant:eo,mod:[{multiline:q},ec],...ef.getFloatingProps({ref:ef.floating,className:ep("tooltip").className,style:{...ep("tooltip").style,...e,zIndex:U,top:ef.y??0,left:ef.x??0}})},u,r.createElement(g.Y,{ref:ed,arrowX:ef.arrowX,arrowY:ef.arrowY,visible:_,position:ef.placement,arrowSize:W,arrowOffset:V,arrowRadius:Y,arrowPosition:j,...ep("arrow")})))),(0,r.cloneElement)(l,ef.getReferenceProps({onClick:ee,onMouseEnter:et,onMouseLeave:en,onMouseMove:n.onMouseMove,onPointerDown:n.onPointerDown,onPointerEnter:n.onPointerEnter,[s]:em,className:(0,o.Z)(Z,l.props.className),...l.props})))});H.classes=C,H.displayName="@mantine/core/Tooltip",H.Floating=M,H.Group=N},96:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var r=n(7378),o=n(4485);let a=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${(0,o.h)("bottom"===e?10:-10)})`},transitionProperty:"transform, opacity"}),i={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${(0,o.h)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${(0,o.h)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,o.h)(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,o.h)(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...a("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...a("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...a("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...a("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...a("top"),common:{transformOrigin:"top right"}}},l={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};var c=n(1263),s=n(6145),u=n(7040);function d({keepMounted:e,transition:t="fade",duration:n=250,exitDuration:o=n,mounted:a,children:d,timingFunction:f="ease",onExit:p,onEntered:m,onEnter:h,onExited:v}){let{transitionDuration:g,transitionStatus:y,transitionTimingFunction:b}=function({duration:e,exitDuration:t,timingFunction:n,mounted:o,onEnter:a,onExit:i,onEntered:l,onExited:d}){let f=(0,u.rZ)(),p=(0,c.a)("(prefers-reduced-motion: reduce)",void 0,void 0),m=!!f.respectReducedMotion&&p,[h,v]=(0,r.useState)(m?0:e),[g,y]=(0,r.useState)(o?"entered":"exited"),b=(0,r.useRef)(-1),w=n=>{let r=n?a:i,o=n?l:d;y(n?"pre-entering":"pre-exiting"),window.clearTimeout(b.current);let c=m?0:n?e:t;if(v(c),0===c)"function"==typeof r&&r(),"function"==typeof o&&o(),y(n?"entered":"exited");else{let e=window.setTimeout(()=>{"function"==typeof r&&r(),y(n?"entering":"exiting")},10);b.current=window.setTimeout(()=>{window.clearTimeout(e),"function"==typeof o&&o(),y(n?"entered":"exited")},c)}};return(0,s.l)(()=>{w(o)},[o]),(0,r.useEffect)(()=>()=>window.clearTimeout(b.current),[]),{transitionDuration:h,transitionStatus:g,transitionTimingFunction:n||"ease"}}({mounted:a,exitDuration:o,duration:n,timingFunction:f,onExit:p,onEntered:m,onEnter:h,onExited:v});return 0===g?a?r.createElement(r.Fragment,null,d({})):e?d({display:"none"}):null:"exited"===y?e?d({display:"none"}):null:r.createElement(r.Fragment,null,d(function({transition:e,state:t,duration:n,timingFunction:r}){let o={transitionDuration:`${n}ms`,transitionTimingFunction:r};return"string"==typeof e?e in i?{transitionProperty:i[e].transitionProperty,...o,...i[e].common,...i[e][l[t]]}:{}:{transitionProperty:e.transitionProperty,...o,...e.common,...e[l[t]]}}({transition:t,duration:g,state:y,timingFunction:b})))}d.displayName="@mantine/core/Transition"},7878:function(e,t,n){"use strict";n.d(t,{k:function(){return u}});var r=n(7378),o=n(7226),a=n(7208),i=n(1799),l=n(5427),c={root:"m-87cf2631"};let s={__staticSelector:"UnstyledButton"},u=(0,l.b)((e,t)=>{let n=(0,o.w)("UnstyledButton",s,e),{className:l,component:u="button",__staticSelector:d,unstyled:f,classNames:p,styles:m,style:h,...v}=n,g=(0,a.y)({name:d,props:n,classes:c,className:l,style:h,classNames:p,styles:m,unstyled:f});return r.createElement(i.x,{...g("root",{focusable:!0}),component:u,ref:t,type:"button"===u?"button":void 0,...v})});u.classes=c,u.displayName="@mantine/core/UnstyledButton"},1799:function(e,t,n){"use strict";n.d(t,{x:function(){return E}});var r=n(7378),o=n(624),a=n(5841),i=n(8291),l=n(6425),c=n(7040);function s(e){return e.startsWith("data-")?e:`data-${e}`}function u(e,t){return Array.isArray(e)?[...e].reduce((e,n)=>({...e,...u(n,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}var d=n(4438);let f={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};var p=n(3613),m=n(4710);function h(e,t){let n=(0,m.E)({color:e,theme:t});return"dimmed"===n.color?"var(--mantine-color-dimmed)":"bright"===n.color?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}let v={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)"};var g=n(4485);let y={color:h,textColor:function(e,t){let n=(0,m.E)({color:e,theme:t});return n.isThemeColor&&void 0===n.shade?`var(--mantine-color-${n.color}-text)`:h(e,t)},fontSize:function(e,t){return"string"==typeof e&&e in t.fontSizes?`var(--mantine-font-size-${e})`:"number"==typeof e||"string"==typeof e?(0,g.h)(e):e},spacing:function(e,t){if("number"==typeof e)return(0,g.h)(e);if("string"==typeof e){let n=e.replace("-","");if(!(n in t.spacing))return(0,g.h)(e);let r=`--mantine-spacing-${n}`;return e.startsWith("-")?`calc(var(${r}) * -1)`:`var(${r})`}return e},identity:function(e){return e},size:function(e){return"number"==typeof e?(0,g.h)(e):e},lineHeight:function(e,t){return"string"==typeof e&&e in t.lineHeights?`var(--mantine-line-height-${e})`:e},fontFamily:function(e){return"string"==typeof e&&e in v?v[e]:e}};function b(e){return e.replace("(min-width: ","").replace("em)","")}let w=(0,r.forwardRef)(({component:e,style:t,__vars:n,className:a,variant:m,mod:h,size:v,hiddenFrom:g,visibleFrom:w,lightHidden:E,darkHidden:x,renderRoot:k,...S},C)=>{let R=(0,c.rZ)(),T=e||"div",{styleProps:M,rest:L}=(0,d.c)(S),P=function(){let e=(0,r.useId)().replace(/:/g,"");return`__m__-${e}`}(),A=function({styleProps:e,data:t,theme:n}){return function({media:e,...t}){let n=Object.keys(e),r=n.sort((e,t)=>Number(b(e))-Number(b(t))).map(t=>({query:t,styles:e[t]}));return{...t,media:r}}((0,p.X)(e).reduce((r,o)=>{var a,i;if("hiddenFrom"===o||"visibleFrom"===o)return r;let l=t[o],c=Array.isArray(l.property)?l.property:[l.property],s="object"==typeof(i=e[o])&&null!==i?"base"in i?i.base:void 0:i;if(!function(e){if("object"!=typeof e||null===e)return!1;let t=Object.keys(e);return 1!==t.length||"base"!==t[0]}(e[o]))return c.forEach(e=>{r.inlineStyles[e]=y[l.type](s,n)}),r;r.hasResponsiveStyles=!0;let u="object"==typeof(a=e[o])&&null!==a?(0,p.X)(a).filter(e=>"base"!==e):[];return c.forEach(t=>{s&&(r.styles[t]=y[l.type](s,n)),u.forEach(a=>{var i;let c=`(min-width: ${n.breakpoints[a]})`;r.media[c]={...r.media[c],[t]:y[l.type]("object"==typeof(i=e[o])&&null!==i&&a in i?i[a]:i,n)}})}),r},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}({styleProps:M,theme:R,data:f}),z={ref:C,style:function({theme:e,style:t,vars:n,styleProps:r}){let o=u(t,e),a=u(n,e);return{...o,...a,...r}}({theme:R,style:t,vars:n,styleProps:A.inlineStyles}),className:(0,o.Z)(a,{[P]:A.hasResponsiveStyles,"mantine-light-hidden":E,"mantine-dark-hidden":x,[`mantine-hidden-from-${g}`]:g,[`mantine-visible-from-${w}`]:w}),"data-variant":m,"data-size":(0,l.s)(v)?void 0:v||void 0,...function e(t){return t?"string"==typeof t?{[s(t)]:!0}:Array.isArray(t)?[...t].reduce((t,n)=>({...t,...e(n)}),{}):Object.keys(t).reduce((e,n)=>{let r=t[n];return void 0===r||""===r||!1===r||null===r||(e[s(n)]=t[n]),e},{}):null}(h),...L};return r.createElement(r.Fragment,null,A.hasResponsiveStyles&&r.createElement(i.f,{selector:`.${P}`,styles:A.styles,media:A.media}),"function"==typeof k?k(z):r.createElement(T,{...z}))});w.displayName="@mantine/core/Box";let E=(0,a.F)(w)},4438:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(7146);function o(e){let{m:t,mx:n,my:o,mt:a,mb:i,ml:l,mr:c,p:s,px:u,py:d,pt:f,pb:p,pl:m,pr:h,bg:v,c:g,opacity:y,ff:b,fz:w,fw:E,lts:x,ta:k,lh:S,fs:C,tt:R,td:T,w:M,miw:L,maw:P,h:A,mih:z,mah:N,bgsz:I,bgp:$,bgr:D,bga:F,pos:O,top:B,left:H,bottom:Z,right:_,inset:W,display:V,flex:Y,hiddenFrom:j,visibleFrom:X,lightHidden:K,darkHidden:q,...G}=e,U=(0,r.L)({m:t,mx:n,my:o,mt:a,mb:i,ml:l,mr:c,p:s,px:u,py:d,pt:f,pb:p,pl:m,pr:h,bg:v,c:g,opacity:y,ff:b,fz:w,fw:E,lts:x,ta:k,lh:S,fs:C,tt:R,td:T,w:M,miw:L,maw:P,h:A,mih:z,mah:N,bgsz:I,bgp:$,bgr:D,bga:F,pos:O,top:B,left:H,bottom:Z,right:_,inset:W,display:V,flex:Y,hiddenFrom:j,visibleFrom:X,lightHidden:K,darkHidden:q});return{styleProps:U,rest:G}}n(7378)},892:function(e,t,n){"use strict";n.d(t,{gm:function(){return a}});var r=n(7378);let o=(0,r.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function a(){return(0,r.useContext)(o)}},8291:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var r=n(7378),o=n(8373),a=n(3613);function i(e){return(0,a.X)(e).reduce((t,n)=>void 0!==e[n]?`${t}${n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${e[n]};`:t,"").trim()}function l({selector:e,styles:t,media:n}){let a=(0,o.R7)();return r.createElement("style",{"data-mantine-styles":"inline",nonce:a?.(),dangerouslySetInnerHTML:{__html:function({selector:e,styles:t,media:n}){let r=t?i(t):"",o=Array.isArray(n)?n.map(t=>`@media${t.query}{${e}{${i(t.styles)}}}`):[];return`${r?`${e}{${r}}`:""}${o.join("")}`.trim()}({selector:e,styles:t,media:n})}})}},7226:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(7146);n(7378);var o=n(7040);function a(e,t,n){let a=(0,o.rZ)(),i=a.components[e]?.defaultProps,l="function"==typeof i?i(a):i;return{...t,...l,...(0,r.L)(n)}}},5841:function(e,t,n){"use strict";function r(e){return e}n.d(t,{F:function(){return r}})},9662:function(e,t,n){"use strict";n.d(t,{d:function(){return a},y:function(){return o}});var r=n(7378);function o(e){return e}function a(e){let t=(0,r.forwardRef)(e);return t.extend=o,t}},5427:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(7378),o=n(9662);function a(e){let t=(0,r.forwardRef)(e);return t.extend=o.y,t}},6415:function(e,t,n){"use strict";function r(e){return e}n.d(t,{Z:function(){return r}})},7208:function(e,t,n){"use strict";n.d(t,{y:function(){return f}}),n(7378);var r=n(8373),o=n(7040),a=n(624);let i={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"},l={};function c({theme:e,classNames:t,props:n,stylesCtx:r}){let o=Array.isArray(t)?t:[t],i=o.map(t=>"function"==typeof t?t(e,n,r):t||l);return function(e){let t={};return e.forEach(e=>{Object.entries(e).forEach(([e,n])=>{t[e]?t[e]=(0,a.Z)(t[e],n):t[e]=n})}),t}(i)}function s({theme:e,styles:t,props:n,stylesCtx:r}){let o=Array.isArray(t)?t:[t];return o.reduce((t,o)=>"function"==typeof o?{...t,...o(e,n,r)}:{...t,...o},{})}function u({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((e,n)=>({...e,...u({style:n,theme:t})}),{}):"function"==typeof e?e(t):null==e?{}:e}var d=n(7146);function f({name:e,classes:t,props:n,stylesCtx:l,className:f,style:p,rootSelector:m="root",unstyled:h,classNames:v,styles:g,vars:y,varsResolver:b}){let w=(0,o.rZ)(),E=(0,r.uK)(),x=(Array.isArray(e)?e:[e]).filter(e=>e);return(e,r)=>({className:function({theme:e,options:t,themeName:n,selector:r,classNamesPrefix:o,classNames:l,classes:s,unstyled:u,className:d,rootSelector:f,props:p,stylesCtx:m}){return(0,a.Z)(function({theme:e,options:t,unstyled:n}){return(0,a.Z)(t?.focusable&&!n&&(e.focusClassName||i[e.focusRing]),t?.active&&!n&&e.activeClassName)}({theme:e,options:t,unstyled:u}),function({themeName:e,theme:t,selector:n,props:r,stylesCtx:o}){return e.map(e=>c({theme:t,classNames:t.components[e]?.classNames,props:r,stylesCtx:o})?.[n])}({theme:e,themeName:n,selector:r,props:p,stylesCtx:m}),function({options:e,classes:t,selector:n,unstyled:r}){return e?.variant&&!r?t[`${n}--${e.variant}`]:void 0}({options:t,classes:s,selector:r,unstyled:u}),function({selector:e,stylesCtx:t,theme:n,classNames:r,props:o}){return c({theme:n,classNames:r,props:o,stylesCtx:t})[e]}({selector:r,stylesCtx:m,theme:e,classNames:l,props:p}),function({selector:e,stylesCtx:t,options:n,props:r,theme:o}){return c({theme:o,classNames:n?.classNames,props:n?.props||r,stylesCtx:t})[e]}({selector:r,stylesCtx:m,options:t,props:p,theme:e}),function({rootSelector:e,selector:t,className:n}){return e===t?n:void 0}({rootSelector:f,selector:r,className:d}),function({selector:e,classes:t,unstyled:n}){return n?void 0:t[e]}({selector:r,classes:s,unstyled:u}),function({themeName:e,classNamesPrefix:t,selector:n,withStaticClass:r}){return!1===r?[]:e.map(e=>`${t}-${e}-${n}`)}({themeName:n,classNamesPrefix:o,selector:r,withStaticClass:t?.withStaticClass}),t?.className)}({theme:w,options:r,themeName:x,selector:e,classNamesPrefix:E,classNames:v,classes:t,unstyled:h,className:f,rootSelector:m,props:n,stylesCtx:l}),style:function({theme:e,themeName:t,selector:n,options:r,props:o,stylesCtx:a,rootSelector:i,styles:l,style:c,vars:f,varsResolver:p}){return{...function({theme:e,themeName:t,props:n,stylesCtx:r,selector:o}){return t.map(t=>s({theme:e,styles:e.components[t]?.styles,props:n,stylesCtx:r})[o]).reduce((e,t)=>({...e,...t}),{})}({theme:e,themeName:t,props:o,stylesCtx:a,selector:n}),...s({theme:e,styles:l,props:o,stylesCtx:a})[n],...s({theme:e,styles:r?.styles,props:r?.props||o,stylesCtx:a})[n],...function({vars:e,varsResolver:t,theme:n,props:r,stylesCtx:o,selector:a,themeName:i}){return[t?.(n,r,o),...i.map(e=>n.components?.[e]?.vars?.(n,r,o)),e?.(n,r,o)].reduce((e,t)=>(t&&Object.keys(t).forEach(n=>{e[n]={...e[n],...(0,d.L)(t[n])}}),e),{})?.[a]}({theme:e,props:o,stylesCtx:a,vars:f,varsResolver:p,selector:n,themeName:t}),...i===n?u({style:c,theme:e}):null,...u({style:r?.style,theme:e})}}({theme:w,themeName:x,selector:e,options:r,props:n,stylesCtx:l,rootSelector:m,styles:g,style:p,vars:y,varsResolver:b})})}},2453:function(e,t,n){"use strict";function r(e,t){return n=>{e?.(n),t?.(n)}}n.d(t,{x:function(){return r}})},2740:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(7378);function o(e=null){let t=(0,r.createContext)(e);return[({children:e,value:n})=>r.createElement(t.Provider,{value:n},e),()=>(0,r.useContext)(t)]}},673:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(7378);function o(e){let t=(0,r.createContext)(null);return[({children:e,value:n})=>r.createElement(t.Provider,{value:n},e),()=>{let n=(0,r.useContext)(t);if(null===n)throw Error(e);return n}]}},7146:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((t,n)=>(void 0!==e[n]&&(t[n]=e[n]),t),{})}n.d(t,{L:function(){return r}})},3658:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});let r={app:100,modal:200,popover:300,overlay:400,max:9999};function o(e){return r[e]}},947:function(e,t,n){"use strict";n.d(t,{Dp:function(){return s},H5:function(){return l},Xj:function(){return u},ap:function(){return a},bG:function(){return i},yv:function(){return c}});var r=n(6425),o=n(4485);function a(e,t="size",n=!0){if(void 0!==e)return(0,r.s)(e)?n?(0,o.h)(e):e:`var(--${t}-${e})`}function i(e){return a(e,"mantine-spacing")}function l(e){return void 0===e?"var(--mantine-radius-default)":a(e,"mantine-radius")}function c(e){return a(e,"mantine-font-size")}function s(e){return a(e,"mantine-line-height",!1)}function u(e){if(e)return a(e,"mantine-shadow",!1)}},495:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(7378);function o(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==r.Fragment}},6425:function(e,t,n){"use strict";function r(e){return"number"==typeof e||"string"==typeof e&&(!!(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&""!==e.trim())||/[0-9]/.test(e.trim().replace("-","")[0]))}n.d(t,{s:function(){return r}})},6145:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(7378);function o(e,t){let n=(0,r.useRef)(!1);(0,r.useEffect)(()=>()=>{n.current=!1},[]),(0,r.useEffect)(()=>{if(n.current)return e();n.current=!0},t)}},633:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(7378);function o(e,t=["INPUT","TEXTAREA","SELECT"],n=!1){(0,r.useEffect)(()=>{let r=r=>{e.forEach(([e,o,a={preventDefault:!0}])=>{(function(e,t){let{alt:n,ctrl:r,meta:o,mod:a,shift:i,key:l}=e,{altKey:c,ctrlKey:s,metaKey:u,shiftKey:d,key:f}=t;if(n!==c)return!1;if(a){if(!s&&!u)return!1}else if(r!==s||o!==u)return!1;return i===d&&!!l&&(f.toLowerCase()===l.toLowerCase()||t.code.replace("Key","").toLowerCase()===l.toLowerCase())})(function(e){let t=e.toLowerCase().split("+").map(e=>e.trim()),n={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},r=["alt","ctrl","meta","shift","mod"],o=t.find(e=>!r.includes(e));return{...n,key:o}}(e),r)&&function(e,t,n=!1){return!(e.target instanceof HTMLElement)||(n?!t.includes(e.target.tagName):!e.target.isContentEditable&&!t.includes(e.target.tagName))}(r,t,n)&&(a.preventDefault&&r.preventDefault(),o(r))})};return document.documentElement.addEventListener("keydown",r),()=>document.documentElement.removeEventListener("keydown",r)},[e])}},6184:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r=n(7378),o=n(213),a=n(1883);let i=r["useId".toString()]||(()=>void 0);function l(e){let t=function(){let e=i();return e?`mantine-${e.replace(/:/g,"")}`:""}(),[n,l]=(0,r.useState)(t);return((0,o.Y)(()=>{l((0,a.k)())},[]),"string"==typeof e)?e:"undefined"==typeof window?t:n}},8395:function(e,t,n){"use strict";n.d(t,{I:function(){return l}});var r=n(7378),o=n(8360);function a(e){try{return e&&JSON.parse(e)}catch{return e}}function i(e){return{getItem:t=>{try{return window[e].getItem(t)}catch(e){return console.warn("use-local-storage: Failed to get value from storage, localStorage is blocked"),null}},setItem:(t,n)=>{try{window[e].setItem(t,n)}catch(e){console.warn("use-local-storage: Failed to set value to storage, localStorage is blocked")}},removeItem:t=>{try{window[e].removeItem(t)}catch(e){console.warn("use-local-storage: Failed to remove value from storage, localStorage is blocked")}}}}function l(e){return(function(e,t){let n="localStorage"===e?"mantine-local-storage":"mantine-session-storage",{getItem:l,setItem:c,removeItem:s}=i(e);return function({key:i,defaultValue:u,getInitialValueInEffect:d=!0,deserialize:f=a,serialize:p=e=>(function(e,t="use-local-storage"){try{return JSON.stringify(e)}catch(e){throw Error(`@mantine/hooks ${t}: Failed to serialize the value`)}})(e,t)}){let m=(0,r.useCallback)(t=>{let n;try{n="undefined"==typeof window||!(e in window)||null===window[e]||!!t}catch(e){n=!0}if(n)return u;let r=l(i);return null!==r?f(r):u},[i,u]),[h,v]=(0,r.useState)(m(d)),g=(0,r.useCallback)(e=>{e instanceof Function?v(t=>{let r=e(t);return c(i,p(r)),window.dispatchEvent(new CustomEvent(n,{detail:{key:i,value:e(t)}})),r}):(c(i,p(e)),window.dispatchEvent(new CustomEvent(n,{detail:{key:i,value:e}})),v(e))},[i]),y=(0,r.useCallback)(()=>{s(i),window.dispatchEvent(new CustomEvent(n,{detail:{key:i,value:u}}))},[]);return(0,o.s)("storage",t=>{t.storageArea===window[e]&&t.key===i&&v(f(t.newValue??void 0))}),(0,o.s)(n,e=>{e.detail.key===i&&v(e.detail.value)}),(0,r.useEffect)(()=>{void 0!==u&&void 0===h&&g(u)},[u,h,g]),(0,r.useEffect)(()=>{d&&g(m())},[]),[void 0===h?u:h,g,y]}})("localStorage","use-local-storage")(e)}!function(e){let{getItem:t}=i(e)}("localStorage")},183:function(e,t,n){"use strict";n.d(t,{Yx:function(){return a},kR:function(){return o}});var r=n(7378);function o(e,t){"function"==typeof e?e(t):"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function a(...e){return(0,r.useCallback)(function(...e){return t=>{e.forEach(e=>o(e,t))}}(...e),e)}},5006:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(7378);function o({value:e,defaultValue:t,finalValue:n,onChange:o=()=>{}}){let[a,i]=(0,r.useState)(void 0!==t?t:n);return void 0!==e?[e,o,!0]:[a,(e,...t)=>{i(e),o?.(e,...t)},!1]}},8360:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(7378);function o(e,t,n){(0,r.useEffect)(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}},1883:function(e,t,n){"use strict";function r(){return`mantine-${Math.random().toString(36).slice(2,11)}`}n.d(t,{k:function(){return r}})},9279:function(e,t,n){"use strict";n.d(t,{B:function(){return t$}});var r=n(7378),o=n(1799),a=n(4485),i={demo:"m-a3c6e060",demoInner:"m-ad8eb9d6"};function l({withPadding:e=!0,centered:t,maxWidth:n,minHeight:l,children:c,dimmed:s,striped:u}){return r.createElement(o.x,{className:i.demo,mod:{"with-padding":e,centered:t,dimmed:s,striped:u},__vars:{"--demo-flex":n?"1":void 0,"--demo-max-width":n?(0,a.h)(n):void 0,"--demo-min-height":l?(0,a.h)(l):void 0,"--demo-margin-y":n&&t?"auto":void 0}},r.createElement("div",{className:i.demoInner},c))}var c=n(3276);function s({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],...n},r.createElement("path",{fill:"#1976d2",d:"M6 6h36v36H6z"}),r.createElement("path",{fill:"#fff",d:"M27.49 22H14.227v3.264h4.757V40h3.769V25.264h4.737zM39.194 26.084s-1.787-1.192-3.807-1.192-2.747.96-2.747 1.986c0 2.648 7.381 2.383 7.381 7.712 0 8.209-11.254 4.568-11.254 4.568V35.22s2.152 1.622 4.733 1.622 2.483-1.688 2.483-1.92c0-2.449-7.315-2.449-7.315-7.878 0-7.381 10.658-4.469 10.658-4.469l-.132 3.509z"}))}function u({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],...n},r.createElement("path",{fill:"#0277BD",d:"M41 5H7l3 34 14 4 14-4 3-34z"}),r.createElement("path",{fill:"#039BE5",d:"M24 8v31.9l11.2-3.2L37.7 8z"}),r.createElement("path",{fill:"#FFF",d:"M33.1 13H24v4h4.9l-.3 4H24v4h4.4l-.3 4.5-4.1 1.4v4.2l7.9-2.6.7-11.5z"}),r.createElement("path",{fill:"#EEE",d:"M24 13v4h-8.9l-.3-4H24zm-4.6 8l.2 4H24v-4h-4.6zm.4 6h-4l.3 5.5 7.9 2.6v-4.2l-4.1-1.4-.1-2.5z"}))}function d(e){return e.endsWith(".ts")||e.endsWith(".tsx")?r.createElement(s,{size:18}):e.endsWith(".css")||e.endsWith(".scss")?r.createElement(u,{size:18}):null}var f={code:"m-66990f0a"};function p({code:e,defaultExpanded:t=!0}){let n="string"==typeof e?{code:e,fileName:"Demo.tsx",language:"tsx"}:e;return r.createElement(r.Fragment,null,n&&r.createElement(c.Q,{code:n,className:f.code,getFileIcon:d,withExpandButton:!0,defaultExpanded:t}))}var m=n(624),h={root:"m-761fa02a"};function v({className:e,...t}){return r.createElement("div",{className:(0,m.Z)(h.root,e),...t})}function g({code:e,children:t,withPadding:n,centered:o,defaultExpanded:a=!0,maxWidth:i,minHeight:c,dimmed:s,striped:u}){return r.createElement(v,null,r.createElement(l,{withPadding:n,centered:o,maxWidth:i,minHeight:c,dimmed:s,striped:u},t),r.createElement(p,{code:e,defaultExpanded:a}))}var y=n(5405),b=n(149),w={columns:"m-df4e856a",controls:"m-de00ac9",header:"m-c4d78f60"};function E({children:e,withPadding:t,centered:n,maxWidth:o,minHeight:a,title:i,description:c,controls:s,dimmed:u,striped:d}){return r.createElement("div",{className:w.columns},r.createElement(l,{withPadding:t,maxWidth:o,minHeight:a,centered:n,dimmed:u,striped:d},e),r.createElement("div",{className:w.controls},i&&r.createElement("div",{className:w.header},r.createElement(b.x,{fw:500,fz:"sm",mb:5},i),c&&r.createElement(b.x,{c:"dimmed",fz:11,lh:1.45},c)),s))}var x=n(4134);function k(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}function S(e){return k(e.replace(/([a-z])([A-Z])/g,"$1 $2").toLowerCase())}var C=n(7935),R=n(5006),T=n(6184);let M={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};var L=n(183),P=n(947),A=n(7061),z=n(6415),N=n(9104),I=n(6861),$=n(7040),D=n(7226),F=n(7208),O=n(9662),B=n(892);function H(e,t){let n=parseFloat(e.replace("px",""));return Number.isNaN(n)?t:n}var Z={root:"m-cf365364",indicator:"m-9e182ccd",label:"m-1738fcb2",input:"m-1714d588",control:"m-69686b9b"};let _={withItemsBorders:!0},W=(0,z.Z)((e,{radius:t,color:n,transitionDuration:r,size:o,transitionTimingFunction:a})=>({root:{"--sc-radius":void 0===t?void 0:(0,P.H5)(t),"--sc-color":n?(0,N.p)(n,e):void 0,"--sc-shadow":n?void 0:"var(--mantine-shadow-xs)","--sc-transition-duration":void 0===r?void 0:`${r}ms`,"--sc-transition-timing-function":a,"--sc-padding":(0,P.ap)(o,"sc-padding"),"--sc-font-size":(0,P.yv)(o)}})),V=(0,O.d)((e,t)=>{let n=(0,D.w)("SegmentedControl",_,e),{classNames:a,className:i,style:l,styles:c,unstyled:s,vars:u,data:d,value:f,defaultValue:p,onChange:m,size:h,name:v,disabled:g,readOnly:y,fullWidth:b,orientation:w,radius:E,color:x,transitionDuration:k,transitionTimingFunction:S,variant:C,autoContrast:P,withItemsBorders:z,mod:N,...O}=n,V=(0,F.y)({name:"SegmentedControl",props:n,classes:Z,className:i,style:l,classNames:a,styles:c,unstyled:s,vars:u,varsResolver:W}),{dir:Y}=(0,B.gm)(),j=(0,$.rZ)(),X=d.map(e=>"string"==typeof e?{label:e,value:e}:e),[K,q]=(0,R.C)({value:f,defaultValue:p,finalValue:Array.isArray(d)?X.find(e=>!e.disabled)?.value??d[0]?.value??null:null,onChange:m}),[G,U]=(0,r.useState)({width:0,height:0,translate:[0,0]}),Q=(0,T.M)(v),J=(0,r.useRef)({}),ee=(0,r.useRef)(null),[et,en]=(0,r.useState)(!1),[er,eo]=function(){let e=(0,r.useRef)(0),t=(0,r.useRef)(null),[n,o]=(0,r.useState)(M),a=(0,r.useMemo)(()=>"undefined"!=typeof window?new ResizeObserver(n=>{let r=n[0];r&&(cancelAnimationFrame(e.current),e.current=requestAnimationFrame(()=>{t.current&&o(r.contentRect)}))}):null,[]);return(0,r.useEffect)(()=>(t.current&&a?.observe(t.current),()=>{a?.disconnect(),e.current&&cancelAnimationFrame(e.current)}),[t.current]),[t,n]}();(0,r.useEffect)(()=>{if(K in J.current&&er.current){let e=J.current[K];if(e){let t=function(e,t){let n=window.getComputedStyle(e);return{top:H(n.getPropertyValue("padding-top"),t),right:H(n.getPropertyValue("padding-right"),t),bottom:H(n.getPropertyValue("padding-bottom"),t),left:H(n.getPropertyValue("padding-left"),t)}}(ee.current,4),n=e.getBoundingClientRect(),r=e.offsetWidth/n.width,o=e.clientWidth*r||0,a=e.clientHeight*r||0,i=eo.width-e.parentElement.offsetLeft+("rtl"===Y?t.left:t.right)-o,l=e.parentElement.offsetLeft-("rtl"===Y?t.right:t.left);U({width:o,height:a,translate:["rtl"===Y?-1*i:l,e.parentElement.offsetTop-t.top]})}else U({width:0,height:0,translate:[0,0]})}},[K,eo,Y]),function(e,t,n={autoInvoke:!1}){let o=(0,r.useRef)(null),a=(0,r.useCallback)((...n)=>{o.current||(o.current=window.setTimeout(()=>{e(n),o.current=null},t))},[t]),i=(0,r.useCallback)(()=>{o.current&&(window.clearTimeout(o.current),o.current=null)},[]);(0,r.useEffect)(()=>(n.autoInvoke&&a(),i),[i,a])}(()=>{"test"!=(void 0!==A&&A.env?"production":"development")&&en(!0)},20,{autoInvoke:!0});let ea=X.map(e=>r.createElement(o.x,{...V("control"),mod:{active:K===e.value,orientation:w},key:e.value},r.createElement("input",{...V("input"),disabled:g||e.disabled,type:"radio",name:Q,value:e.value,id:`${Q}-${e.value}`,checked:K===e.value,onChange:()=>!y&&q(e.value),"data-focus-ring":j.focusRing}),r.createElement(o.x,{component:"label",...V("label"),mod:{active:K===e.value&&!(g||e.disabled),disabled:g||e.disabled,"read-only":y},htmlFor:`${Q}-${e.value}`,ref:t=>{J.current[e.value]=t},__vars:{"--sc-label-color":void 0!==x?(0,I.R)({color:x,theme:j}):void 0}},e.label))),ei=(0,L.Yx)(er,ee,t);return 0===d.length?null:r.createElement(o.x,{...V("root"),variant:C,size:h,ref:ei,mod:[{"full-width":b,orientation:w,initialization:!et,"with-items-borders":z},N],...O,role:"radiogroup"},"string"==typeof K&&r.createElement(o.x,{component:"span",...V("indicator"),__vars:{"--sc-indicator-width":`${G.width}px`,"--sc-indicator-height":`${G.height}px`,"--sc-indicator-transform":`translate(${G.translate[0]}px, ${G.translate[1]}px)`}}),ea)});function Y(e){return e.map(e=>"string"==typeof e?{label:k(e),value:e}:{value:e.value,label:k(e.label)})}V.classes=Z,V.displayName="@mantine/core/SegmentedControl";var j=n(2234),X=n(5427),K={root:"m-de3d2490",colorOverlay:"m-862f3d1b",shadowOverlay:"m-98ae7f22",alphaOverlay:"m-95709ac0",childrenOverlay:"m-93e74e3"};let q={withShadow:!0},G=(0,z.Z)((e,{radius:t,size:n})=>({root:{"--cs-radius":void 0===t?void 0:(0,P.H5)(t),"--cs-size":(0,a.h)(n)}})),U=(0,X.b)((e,t)=>{let n=(0,D.w)("ColorSwatch",q,e),{classNames:a,className:i,style:l,styles:c,unstyled:s,vars:u,color:d,size:f,radius:p,withShadow:m,children:h,variant:v,...g}=(0,D.w)("ColorSwatch",q,n),y=(0,F.y)({name:"ColorSwatch",props:n,classes:K,className:i,style:l,classNames:a,styles:c,unstyled:s,vars:u,varsResolver:G});return r.createElement(o.x,{ref:t,variant:v,size:f,...y("root",{focusable:!0}),...g},r.createElement("span",{...y("alphaOverlay")}),m&&r.createElement("span",{...y("shadowOverlay")}),r.createElement("span",{...y("colorOverlay",{style:{backgroundColor:d}})}),r.createElement("span",{...y("childrenOverlay")},h))});function Q({size:e,style:t,...n}){let o=void 0!==e?{width:(0,a.h)(e),height:(0,a.h)(e),...t}:t;return r.createElement("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,"aria-hidden":!0,...n},r.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}U.classes=K,U.displayName="@mantine/core/ColorSwatch";var J=n(1487);let ee=["mousedown","touchstart"];var et=n(3658),en=n(3098),er=n(673);let[eo,ea]=(0,er.R)("Popover component was not found in the tree");var ei=n(6145);let el=()=>{};var ec=n(4488),es=n(1883);let eu=/input|select|textarea|button|object/,ed="a, input, select, textarea, button, object, [tabindex]";function ef(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function ep(e){let t=e.nodeName.toLowerCase(),n=!Number.isNaN(ef(e)),r=eu.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n;return r&&function(e){let t=e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type");if(t)return!1;let n=e;for(;n&&n!==document.body&&11!==n.nodeType;){if("none"===n.style.display)return!1;n=n.parentNode}return!0}(e)}function em(e){let t=ef(e),n=Number.isNaN(t);return(n||t>=0)&&ep(e)}var eh=n(495);function ev({children:e,active:t=!0,refProp:n="ref"}){let o=function(e=!0){let t=(0,r.useRef)(),n=(0,r.useRef)(null),o=e=>{let t=e.querySelector("[data-autofocus]");if(!t){let n=Array.from(e.querySelectorAll(ed));!(t=n.find(em)||n.find(ep)||null)&&ep(e)&&(t=e)}t&&t.focus({preventScroll:!0})},a=(0,r.useCallback)(r=>{if(e){if(null===r){n.current&&(n.current(),n.current=null);return}n.current=function(e,t="body > :not(script)"){let n=(0,es.k)(),r=Array.from(document.querySelectorAll(t)).map(t=>{if(t?.shadowRoot?.contains(e)||t.contains(e))return;let r=t.getAttribute("aria-hidden"),o=t.getAttribute("data-hidden"),a=t.getAttribute("data-focus-id");return t.setAttribute("data-focus-id",n),null===r||"false"===r?t.setAttribute("aria-hidden","true"):o||a||t.setAttribute("data-hidden",r),{node:t,ariaHidden:o||null}});return()=>{r.forEach(e=>{e&&n===e.node.getAttribute("data-focus-id")&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden),e.node.removeAttribute("data-focus-id"),e.node.removeAttribute("data-hidden"))})}}(r),t.current!==r&&(r?(setTimeout(()=>{r.getRootNode()&&o(r)}),t.current=r):t.current=null)}},[e]);return(0,r.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>o(t.current));let r=e=>{"Tab"===e.key&&t.current&&function(e,t){let n=Array.from(e.querySelectorAll(ed)).filter(em);if(!n.length){t.preventDefault();return}let r=n[t.shiftKey?0:n.length-1],o=e.getRootNode(),a=r===o.activeElement||e===o.activeElement,i=o.activeElement,l="INPUT"===i.tagName&&"radio"===i.getAttribute("type");if(l){let e=n.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===i.getAttribute("name"));a=e.includes(r)}if(!a)return;t.preventDefault();let c=n[t.shiftKey?n.length-1:0];c&&c.focus()}(t.current,e)};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n.current&&n.current()}},[e]),a}(t),a=(0,L.Yx)(o,e?.ref);return(0,eh.k)(e)?(0,r.cloneElement)(e,{[n]:a}):e}ev.displayName="@mantine/core/FocusTrap";var eg=n(825),ey=n(96),eb={dropdown:"m-38a85659",arrow:"m-a31dc6c1"};let ew={},eE=(0,O.d)((e,t)=>{let n=(0,D.w)("PopoverDropdown",ew,e),{className:i,style:l,vars:c,children:s,onKeyDownCapture:u,variant:d,classNames:f,styles:p,...m}=n,h=ea(),v=function({opened:e,shouldReturnFocus:t=!0}){let n=(0,r.useRef)(),o=()=>{n.current&&"focus"in n.current&&"function"==typeof n.current.focus&&n.current?.focus({preventScroll:!0})};return(0,ei.l)(()=>{let r=-1,a=e=>{"Tab"===e.key&&window.clearTimeout(r)};return document.addEventListener("keydown",a),e?n.current=document.activeElement:t&&(r=window.setTimeout(o,10)),()=>{window.clearTimeout(r),document.removeEventListener("keydown",a)}},[e,t]),o}({opened:h.opened,shouldReturnFocus:h.returnFocus}),g=h.withRoles?{"aria-labelledby":h.getTargetId(),id:h.getDropdownId(),role:"dialog",tabIndex:-1}:{},y=(0,L.Yx)(t,h.floating);return h.disabled?null:r.createElement(eg.q,{...h.portalProps,withinPortal:h.withinPortal},r.createElement(ey.u,{mounted:h.opened,...h.transitionProps,transition:h.transitionProps?.transition||"fade",duration:h.transitionProps?.duration??150,keepMounted:h.keepMounted,exitDuration:"number"==typeof h.transitionProps?.exitDuration?h.transitionProps.exitDuration:h.transitionProps?.duration},e=>r.createElement(ev,{active:h.trapFocus},r.createElement(o.x,{...g,...m,variant:d,ref:y,onKeyDownCapture:function(e,t={active:!0}){return"function"==typeof e&&t.active?n=>{"Escape"===n.key&&(e(n),t.onTrigger?.())}:t.onKeyDown||el}(h.onClose,{active:h.closeOnEscape,onTrigger:v,onKeyDown:u}),"data-position":h.placement,...h.getStyles("dropdown",{className:i,props:n,classNames:f,styles:p,style:[{...e,zIndex:h.zIndex,top:h.y??0,left:h.x??0,width:"target"===h.width?void 0:(0,a.h)(h.width)},l]})},s,r.createElement(ec.Y,{ref:h.arrowRef,arrowX:h.arrowX,arrowY:h.arrowY,visible:h.withArrow,position:h.placement,arrowSize:h.arrowSize,arrowRadius:h.arrowRadius,arrowOffset:h.arrowOffset,arrowPosition:h.arrowPosition,...h.getStyles("arrow",{props:n,classNames:f,styles:p})})))))});eE.classes=eb,eE.displayName="@mantine/core/PopoverDropdown";let ex={refProp:"ref",popupType:"dialog"},ek=(0,O.d)((e,t)=>{let{children:n,refProp:o,popupType:a,...i}=(0,D.w)("PopoverTarget",ex,e);if(!(0,eh.k)(n))throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let l=ea(),c=(0,L.Yx)(l.reference,n.ref,t),s=l.withRoles?{"aria-haspopup":a,"aria-expanded":l.opened,"aria-controls":l.getDropdownId(),id:l.getTargetId()}:{};return(0,r.cloneElement)(n,{...i,...s,...l.targetProps,className:(0,m.Z)(l.targetProps.className,i.className,n.props.className),[o]:c,...l.controlled?null:{onClick:l.onToggle}})});ek.displayName="@mantine/core/PopoverTarget";var eS=n(5288),eC=n(6350),eR=n(2216),eT=n(2966);let eM={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,et.w)("popover"),__staticSelector:"Popover",width:"max-content"},eL=(0,z.Z)((e,{radius:t,shadow:n})=>({dropdown:{"--popover-radius":void 0===t?void 0:(0,P.H5)(t),"--popover-shadow":(0,P.Xj)(n)}}));function eP(e){let t=(0,D.w)("Popover",eM,e),{children:n,position:o,offset:a,onPositionChange:i,positionDependencies:l,opened:c,transitionProps:s,width:u,middlewares:d,withArrow:f,arrowSize:p,arrowOffset:m,arrowRadius:h,arrowPosition:v,unstyled:g,classNames:y,styles:b,closeOnClickOutside:w,withinPortal:E,portalProps:x,closeOnEscape:k,clickOutsideEvents:S,trapFocus:C,onClose:M,onOpen:L,onChange:P,zIndex:A,radius:z,shadow:N,id:I,defaultOpened:$,__staticSelector:O,withRoles:H,disabled:Z,returnFocus:_,variant:W,keepMounted:V,vars:Y,...j}=t,X=(0,F.y)({name:O,props:t,classes:eb,classNames:y,styles:b,unstyled:g,rootSelector:"dropdown",vars:Y,varsResolver:eL}),K=(0,r.useRef)(null),[q,G]=(0,r.useState)(null),[U,Q]=(0,r.useState)(null),{dir:J}=(0,B.gm)(),et=(0,T.M)(I),er=function(e){let[t,n]=(0,R.C)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),r=(0,eR.YF)({placement:e.position,middleware:function(e,t){let n=[(0,eS.cv)(e.offset)];return e.middlewares?.shift&&n.push((0,eS.uY)({limiter:(0,eS.dr)()})),e.middlewares?.flip&&n.push((0,eS.RR)()),e.middlewares?.inline&&n.push((0,eS.Qo)()),n.push((0,eC.x7)({element:e.arrowRef,padding:e.arrowOffset})),(e.middlewares?.size||"target"===e.width)&&n.push((0,eS.dp)({apply({rects:n,availableWidth:r,availableHeight:o}){let a=t(),i=a.refs.floating.current?.style??{};e.middlewares?.size&&Object.assign(i,{maxWidth:`${r}px`,maxHeight:`${o}px`}),"target"===e.width&&Object.assign(i,{width:`${n.reference.width}px`})}})),n}(e,()=>r)});return(0,eT.L)({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies||[],floating:r}),(0,ei.l)(()=>{e.onPositionChange?.(r.placement)},[r.placement]),(0,ei.l)(()=>{e.opened?e.onOpen?.():e.onClose?.()},[e.opened]),{floating:r,controlled:"boolean"==typeof e.opened,opened:t,onClose:()=>{t&&(e.onClose?.(),n(!1))},onToggle:()=>{t?(e.onClose?.(),n(!1)):(e.onOpen?.(),n(!0))}}}({middlewares:d,width:u,position:(0,en._)(J,o),offset:"number"==typeof a?a+(f?p/2:0):a,arrowRef:K,arrowOffset:m,onPositionChange:i,positionDependencies:l,opened:c,defaultOpened:$,onChange:P,onOpen:L,onClose:M});!function(e,t,n){let o=(0,r.useRef)();(0,r.useEffect)(()=>{let r=t=>{let{target:r}=t??{};if(Array.isArray(n)){let o=r?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(r)&&"HTML"!==r.tagName,a=n.every(e=>!!e&&!t.composedPath().includes(e));a&&!o&&e()}else o.current&&!o.current.contains(r)&&e()};return(t||ee).forEach(e=>document.addEventListener(e,r)),()=>{(t||ee).forEach(e=>document.removeEventListener(e,r))}},[o,e,n])}(()=>w&&er.onClose(),S,[q,U]);let ea=(0,r.useCallback)(e=>{G(e),er.floating.refs.setReference(e)},[er.floating.refs.setReference]),el=(0,r.useCallback)(e=>{Q(e),er.floating.refs.setFloating(e)},[er.floating.refs.setFloating]);return r.createElement(eo,{value:{returnFocus:_,disabled:Z,controlled:er.controlled,reference:ea,floating:el,x:er.floating.x,y:er.floating.y,arrowX:er.floating?.middlewareData?.arrow?.x,arrowY:er.floating?.middlewareData?.arrow?.y,opened:er.opened,arrowRef:K,transitionProps:s,width:u,withArrow:f,arrowSize:p,arrowOffset:m,arrowRadius:h,arrowPosition:v,placement:er.floating.placement,trapFocus:C,withinPortal:E,portalProps:x,zIndex:A,radius:z,shadow:N,closeOnEscape:k,onClose:er.onClose,onToggle:er.onToggle,getTargetId:()=>`${et}-target`,getDropdownId:()=>`${et}-dropdown`,withRoles:H,targetProps:j,__staticSelector:O,classNames:y,styles:b,unstyled:g,variant:W,keepMounted:V,getStyles:X}},n)}eP.Target=ek,eP.Dropdown=eE,eP.displayName="@mantine/core/Popover",eP.extend=e=>e;var eA=n(7878);function ez(e,t,n){return void 0===t&&void 0===n?e:void 0!==t&&void 0===n?Math.max(e,t):void 0===t&&void 0!==n?Math.min(e,n):Math.min(Math.max(e,t),n)}function eN(e){return{x:ez(e.x,0,1),y:ez(e.y,0,1)}}function eI(e,t,n="ltr"){let o=(0,r.useRef)(null),a=(0,r.useRef)(!1),i=(0,r.useRef)(!1),l=(0,r.useRef)(0),[c,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{a.current=!0},[]),(0,r.useEffect)(()=>{let r=({x:t,y:r})=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame(()=>{if(a.current&&o.current){o.current.style.userSelect="none";let a=o.current.getBoundingClientRect();if(a.width&&a.height){let o=ez((t-a.left)/a.width,0,1);e({x:"ltr"===n?o:1-o,y:ez((r-a.top)/a.height,0,1)})}}})},c=()=>{document.addEventListener("mousemove",m),document.addEventListener("mouseup",f),document.addEventListener("touchmove",v),document.addEventListener("touchend",f)},u=()=>{document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",v),document.removeEventListener("touchend",f)},d=()=>{!i.current&&a.current&&(i.current=!0,"function"==typeof t?.onScrubStart&&t.onScrubStart(),s(!0),c())},f=()=>{i.current&&a.current&&(i.current=!1,s(!1),u(),setTimeout(()=>{"function"==typeof t?.onScrubEnd&&t.onScrubEnd()},0))},p=e=>{d(),e.preventDefault(),m(e)},m=e=>r({x:e.clientX,y:e.clientY}),h=e=>{e.cancelable&&e.preventDefault(),d(),v(e)},v=e=>{e.cancelable&&e.preventDefault(),r({x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY})};return o.current?.addEventListener("mousedown",p),o.current?.addEventListener("touchstart",h,{passive:!1}),()=>{o.current&&(o.current.removeEventListener("mousedown",p),o.current.removeEventListener("touchstart",h))}},[n,e]),{ref:o,active:c}}var e$=n(2740);let[eD,eF]=(0,e$.V)(null),eO=(0,r.forwardRef)(({position:e,...t},n)=>r.createElement(o.x,{ref:n,__vars:{"--_thumb-y-offset":`${100*e.y}%`,"--_thumb-x-offset":`${100*e.x}%`},...t}));eO.displayName="@mantine/core/ColorPickerThumb";var eB={wrapper:"m-fee9c77",preview:"m-9dddfbac",body:"m-bffecc3e",sliders:"m-3283bb96",thumb:"m-40d572ba",swatch:"m-d8ee6fd8",swatches:"m-5711e686",saturation:"m-202a296e",saturationOverlay:"m-11b3db02",slider:"m-d856d47d",sliderOverlay:"m-8f327113"};let eH={},eZ=(0,O.d)((e,t)=>{let n=(0,D.w)("ColorSlider",eH,e),{classNames:i,className:l,style:c,styles:s,unstyled:u,vars:d,onChange:f,onChangeEnd:p,maxValue:m,round:h,size:v="md",focusable:g=!0,value:y,overlays:b,thumbColor:w="transparent",onScrubStart:E,onScrubEnd:x,__staticSelector:k="ColorPicker",...S}=n,C=(0,F.y)({name:k,classes:eB,props:n,className:l,style:c,classNames:i,styles:s,unstyled:u}),R=eF()?.getStyles,T=R||C,M=(0,$.rZ)(),[P,A]=(0,r.useState)({y:0,x:y/m}),z=(0,r.useRef)(P),N=e=>h?Math.round(e*m):e*m,{ref:I}=eI(({x:e,y:t})=>{z.current={x:e,y:t},f?.(N(e))},{onScrubEnd:()=>{let{x:e}=z.current;p?.(N(e)),x?.()},onScrubStart:E});(0,ei.l)(()=>{A({y:0,x:y/m})},[y]);let O=(e,t)=>{e.preventDefault();let n=eN(t);f?.(N(n.x)),p?.(N(n.x))},B=b.map((e,t)=>r.createElement("div",{...T("sliderOverlay"),style:e,key:t}));return r.createElement(o.x,{...S,ref:(0,L.Yx)(I,t),...T("slider"),role:"slider","aria-valuenow":y,"aria-valuemax":m,"aria-valuemin":0,tabIndex:g?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowRight":O(e,{x:P.x+.05,y:P.y});break;case"ArrowLeft":O(e,{x:P.x-.05,y:P.y})}},"data-focus-ring":M.focusRing,__vars:{"--_cp-thumb-size":`var(--cp-thumb-size-${v})`}},B,r.createElement(eO,{position:P,...T("thumb",{style:{top:(0,a.h)(1),background:w}})}))});function e_(e,t=0,n=10**t){return Math.round(n*e)/n}eZ.displayName="@mantine/core/ColorSlider";let eW={grad:.9,turn:360,rad:360/(2*Math.PI)},eV=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function eY(e){let t=eV.exec(e);return t?function({h:e,s:t,l:n,a:r}){let o=t*((n<50?n:100-n)/100);return{h:e,s:o>0?2*o/(n+o)*100:0,v:n+o,a:r}}({h:function(e,t="deg"){return Number(e)*(eW[t]||1)}(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}}function ej({r:e,g:t,b:n,a:r}){let o=Math.max(e,t,n),a=o-Math.min(e,t,n),i=a?o===e?(t-n)/a:o===t?2+(n-e)/a:4+(e-t)/a:0;return{h:e_(60*(i<0?i+6:i),3),s:e_(o?a/o*100:0,3),v:e_(o/255*100,3),a:r}}function eX(e){let t="#"===e[0]?e.slice(1):e;return 3===t.length?ej({r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}):ej({r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:1})}let eK=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function eq(e){let t=eK.exec(e);return t?ej({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}}let eG={hex:/^#?([0-9A-F]{3}){1,2}$/i,hexa:/^#?([0-9A-F]{4}){1,2}$/i,rgb:/^rgb\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,rgba:/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,hsl:/hsl\(\s*(\d+)\s*,\s*(\d+(?:\.\d+)?%)\s*,\s*(\d+(?:\.\d+)?%)\)/i,hsla:/^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(\d*(?:\.\d+)?)\)$/i},eU={hex:eX,hexa:function(e){let t="#"===e[0]?e.slice(1):e,n=e=>e_(parseInt(e,16)/255,3);if(4===t.length){let e=t.slice(0,3),r=n(t[3]+t[3]),o={...eX(e),a:r};return o}let r=t.slice(0,6),o=n(t.slice(6,8)),a={...eX(r),a:o};return a},rgb:eq,rgba:eq,hsl:eY,hsla:eY};function eQ(e){if("string"!=typeof e)return{h:0,s:0,v:0,a:1};if("transparent"===e)return{h:0,s:0,v:0,a:0};let t=e.trim();for(let[e,n]of Object.entries(eG))if(n.test(t))return eU[e](t);return{h:0,s:0,v:0,a:1}}let eJ={},e0=(0,r.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:i,color:l,...c}=(0,D.w)("AlphaSlider",eJ,e);return r.createElement(eZ,{...c,ref:t,value:n,onChange:e=>o?.(e_(e,2)),onChangeEnd:e=>i?.(e_(e,2)),maxValue:1,round:!1,"data-alpha":!0,overlays:[{backgroundImage:"linear-gradient(45deg, var(--_slider-checkers) 25%, transparent 25%), linear-gradient(-45deg, var(--_slider-checkers) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--_slider-checkers) 75%), linear-gradient(-45deg, var(--mantine-color-body) 75%, var(--_slider-checkers) 75%)",backgroundSize:`${(0,a.h)(8)} ${(0,a.h)(8)}`,backgroundPosition:`0 0, 0 ${(0,a.h)(4)}, ${(0,a.h)(4)} ${(0,a.h)(-4)}, ${(0,a.h)(-4)} 0`},{backgroundImage:`linear-gradient(90deg, transparent, ${l})`},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,a.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,a.h)(4)} inset`}]})});function e1({h:e,s:t,v:n,a:r}){let o=e/360*6,a=t/100,i=n/100,l=Math.floor(o),c=i*(1-a),s=i*(1-(o-l)*a),u=i*(1-(1-o+l)*a),d=l%6;return{r:e_(255*[i,s,c,c,u,i][d]),g:e_(255*[u,i,i,s,c,c][d]),b:e_(255*[c,c,u,i,i,s][d]),a:e_(r,2)}}function e2(e,t){let{r:n,g:r,b:o,a}=e1(e);return t?`rgba(${n}, ${r}, ${o}, ${e_(a,2)})`:`rgb(${n}, ${r}, ${o})`}function e4({h:e,s:t,v:n,a:r},o){let a=(200-t)*n/100,i={h:Math.round(e),s:Math.round(a>0&&a<200?t*n/100/(a<=100?a:200-a)*100:0),l:Math.round(a/2)};return o?`hsla(${i.h}, ${i.s}%, ${i.l}%, ${e_(r,2)})`:`hsl(${i.h}, ${i.s}%, ${i.l}%)`}function e3(e){let t=e.toString(16);return t.length<2?`0${t}`:t}function e6(e){let{r:t,g:n,b:r}=e1(e);return`#${e3(t)}${e3(n)}${e3(r)}`}e0.displayName="@mantine/core/AlphaSlider";let e9={hex:e6,hexa:e=>(function(e){let t=Math.round(255*e.a);return`${e6(e)}${e3(t)}`})(e),rgb:e=>e2(e,!1),rgba:e=>e2(e,!0),hsl:e=>e4(e,!1),hsla:e=>e4(e,!0)};function e7(e,t){return t?e in e9?e9[e](t):e9.hex(t):"#000000"}let e8=(0,r.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:i,color:l,...c}=(0,D.w)("HueSlider",{},e);return r.createElement(eZ,{...c,ref:t,value:n,onChange:o,onChangeEnd:i,maxValue:360,thumbColor:`hsl(${n}, 100%, 50%)`,round:!0,"data-hue":!0,overlays:[{backgroundImage:"linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))"},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,a.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,a.h)(4)} inset`}]})});function e5({className:e,onChange:t,onChangeEnd:n,value:a,saturationLabel:i,focusable:l=!0,size:c,color:s,onScrubStart:u,onScrubEnd:d,...f}){let{getStyles:p}=eF(),[m,h]=(0,r.useState)({x:a.s/100,y:1-a.v/100}),v=(0,r.useRef)(m),{ref:g}=eI(({x:e,y:n})=>{v.current={x:e,y:n},t({s:Math.round(100*e),v:Math.round((1-n)*100)})},{onScrubEnd:()=>{let{x:e,y:t}=v.current;n({s:Math.round(100*e),v:Math.round((1-t)*100)}),d?.()},onScrubStart:u});(0,r.useEffect)(()=>{h({x:a.s/100,y:1-a.v/100})},[a.s,a.v]);let y=(e,r)=>{e.preventDefault();let o=eN(r);t({s:Math.round(100*o.x),v:Math.round((1-o.y)*100)}),n({s:Math.round(100*o.x),v:Math.round((1-o.y)*100)})};return r.createElement(o.x,{...p("saturation"),ref:g,...f,role:"slider","aria-label":i,"aria-valuenow":m.x,"aria-valuetext":e7("rgba",a),tabIndex:l?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowUp":y(e,{y:m.y-.05,x:m.x});break;case"ArrowDown":y(e,{y:m.y+.05,x:m.x});break;case"ArrowRight":y(e,{x:m.x+.05,y:m.y});break;case"ArrowLeft":y(e,{x:m.x-.05,y:m.y})}}},r.createElement("div",{...p("saturationOverlay",{style:{backgroundColor:`hsl(${a.h}, 100%, 50%)`}})}),r.createElement("div",{...p("saturationOverlay",{style:{backgroundImage:"linear-gradient(90deg, #fff, transparent)"}})}),r.createElement("div",{...p("saturationOverlay",{style:{backgroundImage:"linear-gradient(0deg, #000, transparent)"}})}),r.createElement(eO,{position:m,...p("thumb",{style:{backgroundColor:s}})}))}e8.displayName="@mantine/core/HueSlider",e5.displayName="@mantine/core/Saturation";let te=(0,r.forwardRef)(({className:e,datatype:t,setValue:n,onChangeEnd:a,size:i,focusable:l,data:c,swatchesPerRow:s,...u},d)=>{let f=eF(),p=c.map((e,t)=>r.createElement(U,{...f.getStyles("swatch"),unstyled:f.unstyled,component:"button",type:"button",color:e,key:t,radius:"sm",onClick:()=>{n(e),a?.(e)},"aria-label":e,tabIndex:l?0:-1,"data-swatch":!0}));return r.createElement(o.x,{...f.getStyles("swatches"),ref:d,...u},p)});te.displayName="@mantine/core/Swatches";let tt={swatchesPerRow:7,withPicker:!0,focusable:!0,size:"md",__staticSelector:"ColorPicker"},tn=(0,z.Z)((e,{size:t,swatchesPerRow:n})=>({wrapper:{"--cp-preview-size":(0,P.ap)(t,"cp-preview-size"),"--cp-width":(0,P.ap)(t,"cp-width"),"--cp-body-spacing":(0,P.bG)(t),"--cp-swatch-size":`${100/n}%`,"--cp-thumb-size":(0,P.ap)(t,"cp-thumb-size"),"--cp-saturation-height":(0,P.ap)(t,"cp-saturation-height")}})),tr=(0,O.d)((e,t)=>{let n=(0,D.w)("ColorPicker",tt,e),{classNames:a,className:i,style:l,styles:c,unstyled:s,vars:u,format:d,value:f,defaultValue:p,onChange:m,onChangeEnd:h,withPicker:v,size:g,saturationLabel:y,hueLabel:b,alphaLabel:w,focusable:E,swatches:x,swatchesPerRow:k,fullWidth:S,onColorSwatchClick:C,__staticSelector:T,mod:M,...L}=n,P=(0,F.y)({name:T,props:n,classes:eB,className:i,style:l,classNames:a,styles:c,unstyled:s,rootSelector:"wrapper",vars:u,varsResolver:tn}),A=(0,r.useRef)(d),z=(0,r.useRef)(),N=(0,r.useRef)(-1),I=(0,r.useRef)(!1),$="hexa"===d||"rgba"===d||"hsla"===d,[O,B,H]=(0,R.C)({value:f,defaultValue:p,finalValue:"#FFFFFF",onChange:m}),[Z,_]=(0,r.useState)(eQ(O)),W=()=>{window.clearTimeout(N.current),I.current=!0},V=()=>{window.clearTimeout(N.current),N.current=window.setTimeout(()=>{I.current=!1},200)},Y=e=>{_(t=>{let n={...t,...e};return z.current=e7(A.current,n),n}),B(z.current)};return(0,ei.l)(()=>{(function(e){for(let[,t]of Object.entries(eG))if(t.test(e))return!0;return!1})(f)&&!I.current&&_(eQ(f))},[f]),(0,ei.l)(()=>{A.current=d,B(e7(d,Z))},[d]),r.createElement(eD,{value:{getStyles:P,unstyled:s}},r.createElement(o.x,{ref:t,...P("wrapper"),size:g,mod:[{"full-width":S},M],...L},v&&r.createElement(r.Fragment,null,r.createElement(e5,{value:Z,onChange:Y,onChangeEnd:({s:e,v:t})=>h?.(e7(A.current,{...Z,s:e,v:t})),color:O,size:g,focusable:E,saturationLabel:y,onScrubStart:W,onScrubEnd:V}),r.createElement("div",{...P("body")},r.createElement("div",{...P("sliders")},r.createElement(e8,{value:Z.h,onChange:e=>Y({h:e}),onChangeEnd:e=>h?.(e7(A.current,{...Z,h:e})),size:g,focusable:E,"aria-label":b,onScrubStart:W,onScrubEnd:V}),$&&r.createElement(e0,{value:Z.a,onChange:e=>Y({a:e}),onChangeEnd:e=>{h?.(e7(A.current,{...Z,a:e}))},size:g,color:e7("hex",Z),focusable:E,"aria-label":w,onScrubStart:W,onScrubEnd:V})),$&&r.createElement(U,{color:O,radius:"sm",size:"var(--cp-preview-size)",...P("preview")}))),Array.isArray(x)&&r.createElement(te,{data:x,swatchesPerRow:k,focusable:E,setValue:B,onChangeEnd:e=>{let t=e7(d,eQ(e));C?.(t),h?.(t),H||_(eQ(e))}})))});tr.classes=eB,tr.displayName="@mantine/core/ColorPicker";var to=n(2033);function ta(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 200",style:{width:(0,a.h)(18),height:(0,a.h)(18)}},r.createElement("path",{fill:"#FF5178",d:"M100 0a100 100 0 00-50 13.398l30 51.961A40 40 0 01100 60V0z"}),r.createElement("path",{fill:"#FF9259",d:"M49.982 13.408a99.999 99.999 0 00-36.595 36.61l51.968 29.99a40 40 0 0114.638-14.645l-30.01-51.955z"}),r.createElement("path",{fill:"#FFD23B",d:"M13.386 50.02A100 100 0 000 100.025l60-.014a40 40 0 015.354-20.002L13.386 50.021z"}),r.createElement("path",{fill:"#89C247",d:"M0 100a99.999 99.999 0 0013.398 50l51.961-30A40.001 40.001 0 0160 100H0z"}),r.createElement("path",{fill:"#49B296",d:"M13.39 149.989a100.001 100.001 0 0036.599 36.607l30.006-51.958a39.99 39.99 0 01-14.639-14.643l-51.965 29.994z"}),r.createElement("path",{fill:"#2897B1",d:"M49.989 186.596A99.995 99.995 0 0099.987 200l.008-60a39.996 39.996 0 01-20-5.362l-30.007 51.958z"}),r.createElement("path",{fill:"#3EC3FF",d:"M100 200c17.554 0 34.798-4.621 50-13.397l-30-51.962A40 40 0 01100 140v60z"}),r.createElement("path",{fill:"#09A1E5",d:"M150.003 186.601a100.001 100.001 0 0036.601-36.604l-51.962-29.998a40 40 0 01-14.641 14.641l30.002 51.961z"}),r.createElement("path",{fill:"#077CCC",d:"M186.607 149.992A99.993 99.993 0 00200 99.99l-60 .006a39.998 39.998 0 01-5.357 20.001l51.964 29.995z"}),r.createElement("path",{fill:"#622876",d:"M200 100c0-17.554-4.621-34.798-13.397-50l-51.962 30A39.997 39.997 0 01140 100h60z"}),r.createElement("path",{fill:"#962B7C",d:"M186.597 49.99a99.994 99.994 0 00-36.606-36.598l-29.995 51.965a40 40 0 0114.643 14.64l51.958-30.006z"}),r.createElement("path",{fill:"#CB2E81",d:"M149.976 13.384A99.999 99.999 0 0099.973 0l.016 60a40.001 40.001 0 0120.002 5.353l29.985-51.97z"}))}var ti={swatch:"m-5e1a038c",check:"m-f9decbb8",colorControl:"m-2f5f7bca"},tl={dropdown:"m-88b62a41",options:"m-b2821a6e",option:"m-92253aa5",search:"m-985517d8",empty:"m-2530cd1d",header:"m-858f94bd",footer:"m-82b967cb",group:"m-254f3e4f",groupLabel:"m-2bb2e9e5",chevron:"m-2943220b",optionsDropdownOption:"m-390b5f4",optionsDropdownCheckIcon:"m-8ee53fc2"};let tc={error:null},ts=(0,z.Z)((e,{size:t})=>({chevron:{"--combobox-chevron-size":(0,P.ap)(t,"combobox-chevron-size")}})),tu=(0,O.d)((e,t)=>{let n=(0,D.w)("ComboboxChevron",tc,e),{size:a,error:i,style:l,className:c,classNames:s,styles:u,unstyled:d,vars:f,mod:p,...m}=n,h=(0,F.y)({name:"ComboboxChevron",classes:tl,props:n,style:l,className:c,classNames:s,styles:u,unstyled:d,vars:f,varsResolver:ts,rootSelector:"chevron"});return r.createElement(o.x,{component:"svg",...m,...h("chevron"),size:a,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:i},p],ref:t},r.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))});tu.classes=tl,tu.displayName="@mantine/core/ComboboxChevron";var td=n(4749);function tf({data:e}){if("group"in e){let t=e.items.map(e=>r.createElement(tf,{key:e.value,data:e}));return r.createElement("optgroup",{label:e.group},t)}let{value:t,label:n,...o}=e;return r.createElement("option",{key:e.value,value:e.value,...o},e.label)}tf.displayName="@mantine/core/NativeSelectOption";let tp={rightSectionPointerEvents:"none"},tm=(0,O.d)((e,t)=>{let{data:n,children:o,size:a,error:i,rightSection:l,unstyled:c,...s}=(0,D.w)("NativeSelect",tp,e),u=(n?n.map(e=>(function e(t){return"string"==typeof t?{value:t,label:t}:"value"in t&&!("label"in t)?{value:t.value,label:t.value,disabled:t.disabled}:"number"==typeof t?{value:t.toString(),label:t.toString()}:"group"in t?{group:t.group,items:t.items.map(t=>e(t))}:t})(e)):[]).map((e,t)=>r.createElement(tf,{key:t,data:e}));return r.createElement(td.M,{component:"select",ref:t,...s,__staticSelector:"NativeSelect",size:a,pointer:!0,error:i,unstyled:c,rightSection:l||r.createElement(tu,{size:a,error:i,unstyled:c})},o||u)});tm.classes=td.M.classes,tm.displayName="@mantine/core/NativeSelect";let[th,tv]=(0,er.R)("SliderProvider was not found in tree"),tg=(0,r.forwardRef)(({size:e,disabled:t,variant:n,color:a,thumbSize:i,radius:l,...c},s)=>{let{getStyles:u}=tv();return r.createElement(o.x,{tabIndex:-1,variant:n,size:e,ref:s,...u("root"),...c})});tg.displayName="@mantine/core/SliderRoot";let ty=(0,r.forwardRef)(({max:e,min:t,value:n,position:a,label:i,dragging:l,onMouseDown:c,onKeyDownCapture:s,labelTransitionProps:u,labelAlwaysOn:d,thumbLabel:f,onFocus:p,onBlur:m,showLabelOnHover:h,isHovered:v,children:g=null,disabled:y},b)=>{let{getStyles:w}=tv(),[E,x]=(0,r.useState)(!1);return r.createElement(o.x,{tabIndex:0,role:"slider","aria-label":f,"aria-valuemax":e,"aria-valuemin":t,"aria-valuenow":n,ref:b,__vars:{"--slider-thumb-offset":`${a}%`},...w("thumb",{focusable:!0}),mod:{dragging:l,disabled:y},onFocus:()=>{x(!0),"function"==typeof p&&p()},onBlur:()=>{x(!1),"function"==typeof m&&m()},onTouchStart:c,onMouseDown:c,onKeyDownCapture:s,onClick:e=>e.stopPropagation()},g,r.createElement(ey.u,{mounted:null!=i&&!!(d||l||E||h&&v),transition:"fade",duration:0,...u},e=>r.createElement("div",{...w("label",{style:e})},i)))});function tb({value:e,min:t,max:n}){return Math.min(Math.max((e-t)/(n-t)*100,0),100)}function tw({marks:e,min:t,max:n,disabled:a,value:i,offset:l,inverted:c}){let{getStyles:s}=tv();if(!e)return null;let u=e.map((e,u)=>r.createElement(o.x,{...s("markWrapper"),__vars:{"--mark-offset":`${tb({value:e.value,min:t,max:n})}%`},key:u},r.createElement(o.x,{...s("mark"),mod:{filled:function({mark:e,offset:t,value:n,inverted:r=!1}){return r?"number"==typeof t&&e.value<=t||e.value>=n:"number"==typeof t?e.value>=t&&e.value<=n:e.value<=n}({mark:e,value:i,offset:l,inverted:c}),disabled:a}}),e.label&&r.createElement("div",{...s("markLabel")},e.label)));return r.createElement("div",null,u)}function tE({filled:e,children:t,offset:n,disabled:a,marksOffset:i,inverted:l,containerProps:c,...s}){let{getStyles:u}=tv();return r.createElement(r.Fragment,null,r.createElement(o.x,{...u("trackContainer"),mod:{disabled:a},...c},r.createElement(o.x,{...u("track"),mod:{inverted:l,disabled:a}},r.createElement(o.x,{mod:{inverted:l,disabled:a},__vars:{"--slider-bar-width":`calc(${e}% + var(--slider-size))`,"--slider-bar-offset":`calc(${n}% - var(--slider-size))`},...u("bar")}),t,r.createElement(tw,{...s,offset:i,disabled:a,inverted:l}))))}function tx(e,t){return parseFloat(e.toFixed(t))}ty.displayName="@mantine/core/SliderThumb",tw.displayName="@mantine/core/SliderMarks",tE.displayName="@mantine/core/SliderTrack";var tk={root:"m-dd36362e",label:"m-c9357328",thumb:"m-c9a9a60a",trackContainer:"m-a8645c2",track:"m-c9ade57f",bar:"m-38aeed47",markWrapper:"m-b7b0423a",mark:"m-dd33bc19",markLabel:"m-68c77a5b"};let tS={radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0},labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},tC=(0,z.Z)((e,{size:t,color:n,thumbSize:r,radius:o})=>({root:{"--slider-size":(0,P.ap)(t,"slider-size"),"--slider-color":n?(0,N.p)(n,e):void 0,"--slider-radius":void 0===o?void 0:(0,P.H5)(o),"--slider-thumb-size":void 0!==r?(0,a.h)(r):"calc(var(--slider-size) * 2)"}})),tR=(0,O.d)((e,t)=>{let n=(0,D.w)("Slider",tS,e),{classNames:o,styles:a,value:i,onChange:l,onChangeEnd:c,size:s,min:u,max:d,step:f,precision:p,defaultValue:m,name:h,marks:v,label:g,labelTransitionProps:y,labelAlwaysOn:b,thumbLabel:w,showLabelOnHover:E,thumbChildren:x,disabled:k,unstyled:S,scale:C,inverted:T,className:M,style:P,vars:A,hiddenInputProps:z,...N}=n,I=(0,F.y)({name:"Slider",props:n,classes:tk,classNames:o,className:M,styles:a,style:P,vars:A,varsResolver:tC,unstyled:S}),{dir:$}=(0,B.gm)(),[O,H]=(0,r.useState)(!1),[Z,_]=(0,R.C)({value:"number"==typeof i?ez(i,u,d):i,defaultValue:"number"==typeof m?ez(m,u,d):m,finalValue:ez(0,u,d),onChange:l}),W=(0,r.useRef)(Z),V=(0,r.useRef)(),Y=(0,r.useRef)(),j=tb({value:Z,min:u,max:d}),X=C(Z),K="function"==typeof g?g(X):g,q=p??function(e){if(!e)return 0;let t=e.toString().split(".");return t.length>1?t[1].length:0}(f),G=(0,r.useCallback)(({x:e})=>{if(!k){let t=function({value:e,containerWidth:t,min:n,max:r,step:o,precision:a}){let i=(t?Math.min(Math.max(e,0),t)/t:e)*(r-n),l=Math.max((0!==i?Math.round(i/o)*o:0)+n,n);return void 0!==a?Number(l.toFixed(a)):l}({value:e,min:u,max:d,step:f,precision:q});_(t),W.current=t}},[k,u,d,f,q,_]),{ref:U,active:Q}=eI(G,{onScrubEnd:()=>c?.(W.current)},$);return r.createElement(th,{value:{getStyles:I}},r.createElement(tg,{...N,ref:(0,L.Yx)(t,V),onKeyDownCapture:e=>{if(!k)switch(e.key){case"ArrowUp":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max(Z+f,u),d),q);c?.(t),_(t);break}case"ArrowRight":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max("rtl"===$?Z-f:Z+f,u),d),q);c?.(t),_(t);break}case"ArrowDown":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max(Z-f,u),d),q);c?.(t),_(t);break}case"ArrowLeft":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max("rtl"===$?Z+f:Z-f,u),d),q);c?.(t),_(t);break}case"Home":e.preventDefault(),Y.current?.focus(),c?.(u),_(u);break;case"End":e.preventDefault(),Y.current?.focus(),c?.(d),_(d)}},onMouseDownCapture:()=>V.current?.focus(),size:s,disabled:k},r.createElement(tE,{inverted:T,offset:0,filled:j,marks:v,min:u,max:d,value:X,disabled:k,containerProps:{ref:U,onMouseEnter:E?()=>H(!0):void 0,onMouseLeave:E?()=>H(!1):void 0}},r.createElement(ty,{max:d,min:u,value:X,position:j,dragging:Q,label:K,ref:Y,labelTransitionProps:y,labelAlwaysOn:b,thumbLabel:w,showLabelOnHover:E,isHovered:O,disabled:k},x)),r.createElement("input",{type:"hidden",name:h,value:X,...z})))});tR.classes=tk,tR.displayName="@mantine/core/Slider";let tT=[{value:0,label:"xs"},{value:25,label:"sm"},{value:50,label:"md"},{value:75,label:"lg"},{value:100,label:"xl"}];function tM(e,t){let n=e.reduce((e,t)=>(e[t.prop]=t.libraryValue,e),{});return Object.keys(t).reduce((e,r)=>(t[r]!==n[r]&&(e[r]=t[r]),e),{})}var tL={controls:"m-b14e0e0b"};let tP={boolean:function({value:e,onChange:t,prop:n,...o}){return r.createElement(x.r,{checked:e,onChange:e=>t(e.currentTarget.checked),label:S(n),...o})},segmented:function({data:e,value:t,onChange:n,prop:o,...a}){return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(o),...a},r.createElement(V,{data:Y(e),value:t,onChange:n,fullWidth:!0,transitionDuration:150}))},color:function({value:e,onChange:t,prop:n,...o}){let[a,i]=(0,r.useState)("#fff"),l=e=>{i(e),t(e)},c=Object.keys(j.t.colors).filter(e=>"dark"!==e).map(n=>r.createElement(U,{color:`var(--mantine-color-${n}-filled)`,component:"button",key:n,onClick:()=>t(n),radius:"sm",className:ti.swatch,"aria-label":n},e===n&&r.createElement(Q,{className:ti.check})));return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(n),...o},r.createElement(J.Z,{gap:2,mt:2,wrap:"wrap"},c,r.createElement(eP,{radius:"md",position:"bottom-end",shadow:"md"},r.createElement(eP.Target,null,r.createElement(eA.k,{className:ti.colorControl,"aria-label":"Pick color"},r.createElement(ta,null))),r.createElement(eP.Dropdown,{p:8},r.createElement(tr,{value:a,onChange:l,format:"rgba"}),r.createElement(to.o,{value:a,onChange:e=>l(e.currentTarget.value),placeholder:"Enter color",radius:"md",size:"xs",mt:"xs"})))))},string:function({value:e,onChange:t,prop:n,...o}){return r.createElement(to.o,{value:e,onChange:e=>t(e.currentTarget.value),label:S(n),placeholder:"Enter prop value",...o})},select:function({value:e,onChange:t,prop:n,data:o,...a}){return r.createElement(tm,{value:e,onChange:e=>t(e.currentTarget.value),label:S(n),placeholder:"Enter prop value",data:Y(o),...a})},size:function({value:e,onChange:t,prop:n,...o}){let a=tT.find(t=>t.label===e).value;return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(n),...o},r.createElement(tR,{value:a,onChange:e=>t(tT.find(t=>t.value===e).label),label:e=>tT.find(t=>t.value===e).label,step:25,marks:tT,styles:{markLabel:{display:"none"}},thumbLabel:"Size"}))},number:function({value:e,onChange:t,prop:n,step:o,min:a,max:i,...l}){return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(n),...l},r.createElement(tR,{value:e,onChange:t,step:o,min:a,max:i,thumbLabel:"Size"}))}};function tA({code:e,controls:t,children:n,centered:o,maxWidth:a,minHeight:i,withPadding:l,dimmed:c,striped:s}){let u=t.reduce((e,t)=>(e[t.prop]=t.initialValue,e),{}),[d,f]=(0,r.useState)(u),m=(e,t)=>f(n=>({...n,[e]:t})),h=t.map(e=>{let t=tP[e.type],{initialValue:n,libraryValue:o,...a}=e;return r.createElement(t,{key:e.prop,value:d[e.prop],onChange:t=>m(e.prop,t),...a})});return r.createElement(v,null,r.createElement(E,{controls:r.createElement(y.K,{className:tL.controls,gap:"sm"},h),centered:o,withPadding:l,maxWidth:a,minHeight:i,dimmed:c,striped:s},r.cloneElement(n,d)),r.createElement(p,{code:[{fileName:"Demo.tsx",language:"tsx",code:"function"==typeof e?e(tM(t,d)):function(e,t){let n=[],r=function(e){let t=e.split("\n").find(e=>e.includes("{{props}}"));return t&&t.trim().startsWith("{{props}}")}(t),o=t.replace("{{children}}",e.children||"");for(let[t,r]of Object.entries(e))"children"!==t&&("string"==typeof r?n.push(`${t}="${r}"`):"number"==typeof r?n.push(`${t}={${r}}`):"boolean"==typeof r&&(r?n.push(t):n.push(`${t}={false}`)));if(!r){let e=n.join(" ");return e.length>0?o.replace("{{props}}",` ${e}`):o.replace("{{props}}","")}let a=o.replace(/^(\s*){{props}}(\s*)$/gm,(e,t,r)=>{let o=n.map((e,r)=>`${t}${e}${r!==n.length-1?"\n":""}`).join("");return`${o}${r}`});return a.trim().replace("\n\n","\n")}(tM(t,d),e)}]}))}var tz={selector:"m-22105db1"};function tN(e){return e?`.${e} { + outline: 2px solid #fe0d45; + outline-offset: -2px; +} +`:"/*\n * Hover over selectors to apply outline styles\n *\n */"}function tI({data:e,code:t,withPadding:n,maxWidth:o,centered:a,children:i,dimmed:l,striped:c}){let[s,u]=r.useState(null),d=Object.keys(e.selectors),f=d.map(t=>r.createElement(eA.k,{className:tz.selector,key:t,onMouseEnter:()=>u(t),onMouseLeave:()=>u(null)},r.createElement(b.x,{mb:2},t),r.createElement(b.x,{fz:11,c:"dimmed"},e.selectors[t]))),m=s?` classNames={{ ${s}: classes.${s} }}`:"";return r.createElement(r.Fragment,null,r.createElement("style",{dangerouslySetInnerHTML:{__html:tN(s)}}),r.createElement(v,null,r.createElement(E,{withPadding:n,maxWidth:o,centered:a,controls:f,dimmed:l,striped:c,title:"Component Styles API",description:"Hover over selectors to highlight corresponding elements"},r.cloneElement(i,{classNames:d.reduce((e,t)=>(e[t]=t,e),{})})),r.createElement(p,{code:[{fileName:"Demo.module.css",language:"scss",code:tN(s)},{fileName:"Demo.tsx",language:"tsx",code:t.replace("{{props}}",m)}]})))}function t$({data:e}){let{component:t}=e;switch(e.type){case"code":return r.createElement(g,{...e},r.createElement(t,null));case"configurator":return r.createElement(tA,{...e},r.createElement(t,null));case"styles-api":return r.createElement(tI,{...e},r.createElement(t,null));default:return null}}},1864:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(7378),o=n(1799),a=n(4485);function i({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],fill:"currentColor",...n},r.createElement("path",{fillRule:"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"}))}},2972:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(7378),o=n(1799),a=n(4485);function i({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",...n,preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t]},r.createElement("path",{d:"M0 256V0h256v256z",fill:"#C12127"}),r.createElement("path",{d:"M48 48h160v160h-32V80h-48v128H48z",fill:"#FFF"}))}},8646:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(7378),o=n(1799),a=n(4485);function i({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],...n},r.createElement("path",{fill:"#368FB9",d:"M128 0C57.328 0 0 57.328 0 128s57.328 128 128 128 128-57.328 128-128S198.672 0 128 0"}),r.createElement("path",{fill:"#FFF",d:"M203.317 174.06c-7.907 1.878-11.91 3.608-21.695 9.983-15.271 9.884-31.976 14.48-31.976 14.48s-1.383 2.076-5.387 3.015c-6.918 1.68-32.963 3.114-35.335 3.163-6.376.05-10.28-1.63-11.367-4.25-3.311-7.907 4.744-11.367 4.744-11.367s-1.779-1.087-2.817-2.076c-.939-.939-1.927-2.816-2.224-2.125-1.235 3.015-1.878 10.379-5.189 13.69-4.547 4.596-13.146 3.064-18.236.395-5.585-2.965.395-9.933.395-9.933s-3.015 1.779-5.436-1.878c-2.175-3.36-4.2-9.094-3.657-16.16.593-8.056 9.587-15.865 9.587-15.865s-1.581-11.91 3.608-24.117c4.695-11.12 17.347-20.065 17.347-20.065s-10.626-11.762-6.672-22.338c2.57-6.92 3.608-6.87 4.448-7.166 2.965-1.137 5.831-2.373 7.957-4.695 10.625-11.466 24.166-9.292 24.166-9.292s6.425-19.52 12.356-15.715c1.828 1.186 8.401 15.814 8.401 15.814s7.018-4.102 7.809-2.57c4.25 8.254 4.744 24.019 2.866 33.607-3.163 15.814-11.07 24.315-14.233 29.652-.741 1.236 8.5 5.14 14.332 21.3 5.387 14.777.593 27.182 1.433 28.566.148.247.198.346.198.346s6.177.494 18.582-7.166c6.622-4.102 14.48-8.698 23.425-8.797 8.65-.149 9.094 9.983 2.57 11.564zm11.763-7.265c-.89-7.017-6.82-11.86-14.431-11.762-11.367.148-20.905 6.03-27.231 9.934-2.471 1.532-4.596 2.669-6.425 3.509.395-5.733.05-13.245-2.916-21.498-3.608-9.885-8.45-15.963-11.91-19.472 4.003-5.832 9.489-14.332 12.058-27.478 2.224-11.219 1.533-28.664-3.558-38.45-1.038-1.976-2.767-3.41-4.942-4.003-.89-.247-2.57-.741-5.881.198-4.991-10.329-6.721-11.416-8.056-12.306-2.767-1.779-6.029-2.174-9.093-1.038-4.102 1.483-7.61 5.437-10.922 12.454a51.47 51.47 0 00-1.334 3.015c-6.277.445-16.161 2.718-24.513 11.762-1.038 1.137-3.064 1.977-5.19 2.768h.05c-4.349 1.532-6.326 5.09-8.747 11.515-3.361 8.994.098 17.84 3.508 23.574-4.645 4.151-10.823 10.773-14.084 18.532-4.053 9.588-4.498 18.978-4.35 24.068-3.459 3.658-8.796 10.527-9.39 18.237-.79 10.773 3.114 18.088 4.844 20.756.494.791 1.038 1.434 1.63 2.076-.197 1.334-.246 2.768.05 4.25.643 3.46 2.817 6.277 6.128 8.056 6.524 3.46 15.617 4.942 22.635 1.433 2.52 2.669 7.117 5.239 15.469 5.239h.494c2.125 0 29.109-1.433 36.967-3.36 3.509-.841 5.93-2.324 7.512-3.658 5.04-1.582 18.977-6.326 32.123-14.826 9.291-6.03 12.504-7.315 19.423-8.995 6.72-1.63 10.922-7.759 10.082-14.53z"}))}},2888:function(e,t,n){"use strict";n.d(t,{M:function(){return f}});var r=n(7378),o=n(624),a=n(805),i=n(5959),l=n(4764),c=(0,l.Z)("sun","IconSun",[["path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",key:"svg-0"}],["path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7",key:"svg-1"}]]),s=(0,l.Z)("moon","IconMoon",[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z",key:"svg-0"}]]),u=n(5639),d={icon:"m-83c3d5d1",dark:"m-83c188ce",light:"m-f4e3c6be"};function f(){let{setColorScheme:e}=(0,a.X)(),t=(0,i.l)("light",{getInitialValueInEffect:!0});return r.createElement(u.A,{onClick:()=>e("light"===t?"dark":"light"),tooltip:`${"dark"===t?"Light":"Dark"} mode`,"aria-label":"Toggle color scheme"},r.createElement(c,{className:(0,o.Z)(d.icon,d.light),stroke:1.5}),r.createElement(s,{className:(0,o.Z)(d.icon,d.dark),stroke:1.5}))}},5639:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(7378),o=n(624),a=n(401),i=n(7878),l=n(5841),c={control:"m-18a11a80"};let s=(0,l.F)(function({tooltip:e,className:t,"aria-label":n,...l}){return r.createElement(a.u,{label:e},r.createElement(i.k,{className:(0,o.Z)(c.control,t),"aria-label":n||e,...l}))})},7292:function(e,t,n){"use strict";n.d(t,{q:function(){return R}});var r=n(7378),o=n(401),a=n(1487),i=n(2888),l=n(892),c=n(4485),s=n(4764),u=(0,s.Z)("text-direction-ltr","IconTextDirectionLtr",[["path",{d:"M5 19h14",key:"svg-0"}],["path",{d:"M17 21l2 -2l-2 -2",key:"svg-1"}],["path",{d:"M16 4h-6.5a3.5 3.5 0 0 0 0 7h.5",key:"svg-2"}],["path",{d:"M14 15v-11",key:"svg-3"}],["path",{d:"M10 15v-11",key:"svg-4"}]]),d=(0,s.Z)("text-direction-rtl","IconTextDirectionRtl",[["path",{d:"M16 4h-6.5a3.5 3.5 0 0 0 0 7h.5",key:"svg-0"}],["path",{d:"M14 15v-11",key:"svg-1"}],["path",{d:"M10 15v-11",key:"svg-2"}],["path",{d:"M5 19h14",key:"svg-3"}],["path",{d:"M7 21l-2 -2l2 -2",key:"svg-4"}]]),f=n(5639);function p(){let{toggleDirection:e,dir:t}=(0,l.gm)();return r.createElement(f.A,{onClick:()=>e(),tooltip:`${"ltr"===t?"RTL":"LTR"} direction`},"rtl"===t?r.createElement(u,{style:{width:(0,c.h)(22),height:(0,c.h)(22),pointerEvents:"none"},stroke:1.5}):r.createElement(d,{style:{width:(0,c.h)(22),height:(0,c.h)(22),pointerEvents:"none"},stroke:1.5}))}var m=n(1864);function h({link:e}){return r.createElement(f.A,{tooltip:"Source code",component:"a",href:e},r.createElement(m.E,{size:22}))}var v=n(1799);function g({size:e,style:t,...n}){return r.createElement(v.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 199",style:[{width:(0,c.h)(e),height:(0,c.h)(e)},t],...n},r.createElement("path",{fill:"currentColor",d:"M216.856 16.597A208.5 208.5 0 00164.042 0c-2.275 4.113-4.933 9.646-6.766 14.046-19.692-2.961-39.203-2.961-58.533 0-1.832-4.4-4.55-9.933-6.846-14.046a207.807 207.807 0 00-52.855 16.638C5.618 67.147-3.443 116.4 1.087 164.956c22.169 16.555 43.653 26.612 64.775 33.193A161.13 161.13 0 0079.735 175.3a136.374 136.374 0 01-21.846-10.632 108.542 108.542 0 005.356-4.237c42.122 19.702 87.89 19.702 129.51 0 1.751 1.46 3.543 2.88 5.355 4.237a136.011 136.011 0 01-21.886 10.653c4.006 8.02 8.638 15.671 13.873 22.848 21.142-6.581 42.646-16.637 64.815-33.213 5.316-56.288-9.081-105.09-38.056-148.36zM85.474 135.095c-12.645 0-23.015-11.805-23.015-26.18s10.149-26.2 23.015-26.2c12.867 0 23.236 11.804 23.015 26.2.02 14.375-10.148 26.18-23.015 26.18zm85.051 0c-12.645 0-23.014-11.805-23.014-26.18s10.148-26.2 23.014-26.2c12.867 0 23.236 11.804 23.015 26.2 0 14.375-10.148 26.18-23.015 26.18z"}))}var y={discord:"m-19df8210"};function b({link:e}){return r.createElement(f.A,{tooltip:"Discord",component:"a",href:e,className:y.discord},r.createElement(g,{size:20}))}var w=n(624),E=n(7854),x=n(7878),k=n(149),S={root:"m-6e98493a",shortcut:"m-602cb89e"};function C({className:e,...t}){return r.createElement(x.k,{...t,className:(0,w.Z)(S.root,e)},r.createElement(a.Z,{gap:"xs"},r.createElement(E.Z,{style:{width:(0,c.h)(15),height:(0,c.h)(15)},stroke:1.5}),r.createElement(k.x,{fz:"sm",c:"dimmed",pr:80},"Search"),r.createElement(k.x,{fw:700,className:S.shortcut},"Ctrl + K")))}function R({onSearch:e,githubLink:t,withDirectionToggle:n=!0,withSearch:l=!0,withGithub:c=!0,withDiscord:s=!0,withColorScheme:u=!0,discordLink:d,...f}){return r.createElement(o.u.Group,{openDelay:600,closeDelay:100},r.createElement(a.Z,{gap:"xs",...f},l&&r.createElement(C,{onClick:e}),s&&r.createElement(b,{link:d}),c&&r.createElement(h,{link:t}),n&&r.createElement(p,null),u&&r.createElement(i.M,null)))}},2905:function(e,t,n){"use strict";n.d(t,{D:function(){return f}});var r=n(7378),o=n(4485),a=n(7040),i=n(4710);function l({color:e,inverted:t}){let n=(0,a.rZ)(),r=(0,i.E)({color:e||"blue",theme:n}),o=r.isThemeColor?n.colors[r.color][5]:e;return{background:t?n.white:o,color:t?o:n.white}}function c({size:e,color:t,variant:n,inverted:a,style:i,...c}){let s=l({color:t,inverted:a});return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 163 163",style:{width:(0,o.h)(e),height:(0,o.h)(e),...i},...c},r.createElement("path",{fill:s.background,d:"M162.162 81.5c0-45.011-36.301-81.5-81.08-81.5C36.301 0 0 36.489 0 81.5 0 126.51 36.301 163 81.081 163s81.081-36.49 81.081-81.5z"}),r.createElement("path",{fill:s.color,d:"M65.983 43.049a6.234 6.234 0 00-.336 6.884 6.14 6.14 0 001.618 1.786c9.444 7.036 14.866 17.794 14.866 29.52 0 11.726-5.422 22.484-14.866 29.52a6.145 6.145 0 00-1.616 1.786 6.21 6.21 0 00-.694 4.693 6.21 6.21 0 001.028 2.186 6.151 6.151 0 006.457 2.319 6.154 6.154 0 002.177-1.035 50.083 50.083 0 007.947-7.39h17.493c3.406 0 6.174-2.772 6.174-6.194s-2.762-6.194-6.174-6.194h-9.655a49.165 49.165 0 004.071-19.69 49.167 49.167 0 00-4.07-19.692h9.66c3.406 0 6.173-2.771 6.173-6.194 0-3.422-2.762-6.193-6.173-6.193H82.574a50.112 50.112 0 00-7.952-7.397 6.15 6.15 0 00-4.578-1.153 6.189 6.189 0 00-4.055 2.438h-.006z"}),r.createElement("path",{fill:s.color,fillRule:"evenodd",d:"M56.236 79.391a9.342 9.342 0 01.632-3.608 9.262 9.262 0 011.967-3.077 9.143 9.143 0 012.994-2.063 9.06 9.06 0 017.103 0 9.145 9.145 0 012.995 2.063 9.262 9.262 0 011.967 3.077 9.339 9.339 0 01-2.125 10.003 9.094 9.094 0 01-6.388 2.63 9.094 9.094 0 01-6.39-2.63 9.3 9.3 0 01-2.755-6.395z",clipRule:"evenodd"}))}var s=n(624),u={logo:"m-2075ec07",mantineUILogo:"m-36ceca49"};function d({size:e,color:t,variant:n,inverted:a,style:i,className:c,...d}){let f=l({color:t,inverted:a});return r.createElement("svg",{...d,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 623 163",style:{height:(0,o.h)(e),...i},className:(0,s.Z)(u.logo,{[u.mantineUILogo]:"ui.mantine.dev"===n},c)},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{style:{fill:"ui.mantine.dev"===n?"var(--mantine-logo-fill)":void 0},fill:f.background,fillRule:"nonzero",d:"M162.162 81.5c0-45.011-36.301-81.5-81.08-81.5C36.301 0 0 36.489 0 81.5 0 126.51 36.301 163 81.081 163s81.081-36.49 81.081-81.5z"}),r.createElement("g",{fill:f.color,style:{fill:"ui.mantine.dev"===n?"var(--mantine-logo-color)":void 0}},r.createElement("path",{fillRule:"nonzero",d:"M65.983 43.049a6.234 6.234 0 00-.336 6.884 6.14 6.14 0 001.618 1.786c9.444 7.036 14.866 17.794 14.866 29.52 0 11.726-5.422 22.484-14.866 29.52a6.142 6.142 0 00-1.616 1.786 6.211 6.211 0 00-.694 4.693c.197.79.546 1.533 1.028 2.186a6.154 6.154 0 008.634 1.284 50.112 50.112 0 007.947-7.39h17.493c3.406 0 6.174-2.772 6.174-6.194s-2.762-6.194-6.174-6.194h-9.655a49.166 49.166 0 004.071-19.69 49.166 49.166 0 00-4.07-19.692h9.66c3.406 0 6.173-2.771 6.173-6.194 0-3.422-2.762-6.193-6.173-6.193H82.574a50.11 50.11 0 00-7.952-7.397 6.149 6.149 0 00-4.578-1.153 6.189 6.189 0 00-4.055 2.438h-.006z"}),r.createElement("path",{d:"M56.236 79.391a9.342 9.342 0 01.632-3.608 9.261 9.261 0 011.967-3.077 9.143 9.143 0 012.994-2.063 9.06 9.06 0 017.103 0 9.144 9.144 0 012.995 2.063 9.261 9.261 0 011.967 3.077 9.34 9.34 0 01.63 3.608 9.299 9.299 0 01-2.755 6.395 9.094 9.094 0 01-6.388 2.63 9.094 9.094 0 01-6.39-2.63 9.299 9.299 0 01-2.755-6.395z"})),r.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M291.736 126.644c1.984 0 3.823-.434 5.518-1.302 1.695-.868 2.542-2.129 2.542-3.782v-77.5c0-2.976-.827-5.063-2.48-6.262-1.653-1.199-3.513-1.798-5.58-1.798-1.901 0-3.555.207-4.96.62-1.405.413-2.666 1.24-3.782 2.48s-2.418 3.059-3.906 5.456l-15.252 27.776-15.128-27.776c-1.323-2.397-2.583-4.216-3.782-5.456-1.199-1.24-2.48-2.067-3.844-2.48-1.364-.413-3.038-.62-5.022-.62-1.984 0-3.823.6-5.518 1.798-1.695 1.199-2.542 3.286-2.542 6.262v77.5c0 1.653.847 2.914 2.542 3.782 1.695.868 3.534 1.302 5.518 1.302 2.067 0 3.927-.434 5.58-1.302 1.653-.868 2.48-2.129 2.48-3.782V67.248l14.26 26.784c.744 1.24 1.591 2.087 2.542 2.542.95.455 1.88.682 2.79.682.992 0 1.984-.248 2.976-.744s1.86-1.323 2.604-2.48l14.384-25.792v53.32c0 1.653.847 2.914 2.542 3.782 1.695.868 3.534 1.302 5.518 1.302zm34.375 1.116c4.298 0 7.956-.992 10.974-2.976 3.017-1.984 5.642-4.257 7.874-6.82v3.596c0 1.405.682 2.604 2.046 3.596 1.364.992 3.08 1.488 5.146 1.488 2.232 0 4.092-.496 5.58-1.488 1.488-.992 2.232-2.19 2.232-3.596V91.18c0-4.216-.889-8.143-2.666-11.78-1.778-3.637-4.609-6.613-8.494-8.928-3.886-2.315-9.052-3.472-15.5-3.472-2.894 0-5.87.372-8.928 1.116-3.059.744-5.642 1.798-7.75 3.162-2.108 1.364-3.162 2.914-3.162 4.65 0 1.819.475 3.596 1.426 5.332.95 1.736 2.294 2.604 4.03 2.604 1.074 0 2.066-.33 2.976-.992.91-.661 2.211-1.302 3.906-1.922 1.694-.62 4.112-.93 7.254-.93 2.81 0 4.98.579 6.51 1.736 1.53 1.157 2.645 2.604 3.348 4.34a14.092 14.092 0 011.054 5.332v1.612h-5.084c-5.704 0-10.726.537-15.066 1.612-4.34 1.075-7.73 2.935-10.168 5.58-2.439 2.645-3.658 6.324-3.658 11.036 0 5.621 1.591 9.775 4.774 12.462 3.182 2.687 6.964 4.03 11.346 4.03zm6.448-11.904c-1.819 0-3.369-.537-4.65-1.612-1.282-1.075-1.922-2.77-1.922-5.084 0-2.315.764-4.03 2.294-5.146 1.53-1.116 3.534-1.84 6.014-2.17 2.48-.33 5.084-.496 7.812-.496h1.86v2.604c0 1.984-.6 3.885-1.798 5.704-1.199 1.819-2.666 3.307-4.402 4.464-1.736 1.157-3.472 1.736-5.208 1.736zm84.169 10.788c2.067 0 3.927-.434 5.58-1.302 1.653-.868 2.48-2.129 2.48-3.782V92.172c0-4.63-.971-8.845-2.914-12.648-1.943-3.803-4.526-6.84-7.75-9.114C410.9 68.137 407.345 67 403.46 67c-4.133 0-7.626.971-10.478 2.914-2.852 1.943-4.898 4.113-6.138 6.51v-3.72c0-1.488-.682-2.687-2.046-3.596-1.364-.91-3.038-1.364-5.022-1.364-2.315 0-4.216.455-5.704 1.364-1.488.91-2.232 2.108-2.232 3.596v48.856c0 1.24.744 2.397 2.232 3.472 1.488 1.075 3.39 1.612 5.704 1.612 2.232 0 4.133-.537 5.704-1.612 1.57-1.075 2.356-2.232 2.356-3.472V92.172c0-2.315.496-4.299 1.488-5.952.992-1.653 2.273-2.935 3.844-3.844 1.57-.91 3.183-1.364 4.836-1.364 1.984 0 3.803.558 5.456 1.674 1.653 1.116 2.955 2.5 3.906 4.154a10.52 10.52 0 011.426 5.332v29.388c0 1.653.868 2.914 2.604 3.782 1.736.868 3.513 1.302 5.332 1.302zm47.432 0c2.315 0 4.03-.703 5.146-2.108 1.116-1.405 1.674-2.976 1.674-4.712 0-1.653-.558-3.183-1.674-4.588-1.116-1.405-2.831-2.108-5.146-2.108h-4.836c-2.563 0-4.36-.496-5.394-1.488-1.033-.992-1.55-2.687-1.55-5.084V79.4h14.632c1.323 0 2.335-.6 3.038-1.798.703-1.199 1.054-2.542 1.054-4.03 0-1.488-.351-2.831-1.054-4.03-.703-1.199-1.715-1.798-3.038-1.798H452.38V46.416c0-1.488-.847-2.687-2.542-3.596-1.695-.91-3.534-1.364-5.518-1.364-1.819 0-3.596.455-5.332 1.364-1.736.91-2.604 2.108-2.604 3.596v60.14c0 6.944 1.963 12.028 5.89 15.252 3.927 3.224 9.61 4.836 17.05 4.836h4.836zM487.232 54.6c2.397 0 4.443-.806 6.138-2.418 1.695-1.612 2.542-3.41 2.542-5.394 0-2.15-.847-3.989-2.542-5.518-1.695-1.53-3.74-2.294-6.138-2.294-2.397 0-4.464.765-6.2 2.294-1.736 1.53-2.604 3.369-2.604 5.518 0 1.984.868 3.782 2.604 5.394 1.736 1.612 3.803 2.418 6.2 2.418zm0 72.044c2.232 0 4.133-.537 5.704-1.612 1.57-1.075 2.356-2.232 2.356-3.472V72.704c0-1.488-.785-2.687-2.356-3.596-1.57-.91-3.472-1.364-5.704-1.364-2.315 0-4.216.455-5.704 1.364-1.488.91-2.232 2.108-2.232 3.596v48.856c0 1.24.744 2.397 2.232 3.472 1.488 1.075 3.39 1.612 5.704 1.612zm65.247 0c2.066 0 3.926-.434 5.58-1.302 1.653-.868 2.48-2.129 2.48-3.782V92.172c0-4.63-.972-8.845-2.914-12.648-1.943-3.803-4.526-6.84-7.75-9.114-3.224-2.273-6.779-3.41-10.664-3.41-4.134 0-7.626.971-10.478 2.914-2.852 1.943-4.898 4.113-6.138 6.51v-3.72c0-1.488-.682-2.687-2.046-3.596-1.364-.91-3.038-1.364-5.022-1.364-2.315 0-4.216.455-5.704 1.364-1.488.91-2.232 2.108-2.232 3.596v48.856c0 1.24.744 2.397 2.232 3.472 1.488 1.075 3.39 1.612 5.704 1.612 2.232 0 4.133-.537 5.704-1.612 1.57-1.075 2.356-2.232 2.356-3.472V92.172c0-2.315.496-4.299 1.488-5.952.992-1.653 2.273-2.935 3.844-3.844 1.57-.91 3.182-1.364 4.836-1.364 1.984 0 3.802.558 5.456 1.674 1.653 1.116 2.955 2.5 3.906 4.154a10.52 10.52 0 011.426 5.332v29.388c0 1.653.868 2.914 2.604 3.782 1.736.868 3.513 1.302 5.332 1.302zm47.68 1.116c4.464 0 8.328-.558 11.594-1.674 3.265-1.116 5.786-2.48 7.564-4.092 1.777-1.612 2.666-3.12 2.666-4.526 0-.827-.248-1.798-.744-2.914a8.641 8.641 0 00-2.108-2.914c-.91-.827-1.984-1.24-3.224-1.24-1.158 0-2.398.372-3.72 1.116-1.323.744-2.894 1.53-4.712 2.356-1.819.827-4.092 1.24-6.82 1.24-4.299 0-7.792-1.095-10.478-3.286-2.687-2.19-4.03-5.063-4.03-8.618v-1.86h25.172c1.901 0 3.74-.186 5.518-.558 1.777-.372 3.244-1.323 4.402-2.852 1.157-1.53 1.736-4.071 1.736-7.626 0-4.63-1.199-8.68-3.596-12.152-2.398-3.472-5.518-6.2-9.362-8.184-3.844-1.984-8.08-2.976-12.71-2.976-5.043 0-9.61 1.137-13.702 3.41-4.092 2.273-7.358 5.29-9.796 9.052-2.439 3.761-3.658 7.874-3.658 12.338v10.54c0 5.043 1.281 9.486 3.844 13.33 2.562 3.844 6.096 6.82 10.602 8.928 4.505 2.108 9.692 3.162 15.562 3.162zm4.092-35.836h-18.104v-3.472c0-1.984.516-3.7 1.55-5.146 1.033-1.447 2.376-2.563 4.03-3.348 1.653-.785 3.43-1.178 5.332-1.178 1.984 0 3.802.413 5.456 1.24 1.653.827 2.976 1.984 3.968 3.472s1.488 3.183 1.488 5.084c0 1.323-.269 2.211-.806 2.666-.538.455-1.509.682-2.914.682z"})))}function f({type:e,...t}){return"mark"===e?r.createElement(c,{...t}):r.createElement(d,{...t})}},5966:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let r={docsLink:"https://mantine.dev",uiLink:"https://ui.mantine.dev/",discordLink:"https://discord.gg/wbH82zuWMN",twitterLink:"https://twitter.com/mantinedev",npmLink:"https://www.npmjs.com/org/mantine",discordColor:"#5865f2",twitterColor:"#1C8CD8",gitHubLinks:{mantine:"https://github.com/mantinedev/mantine",mantineUi:"https://github.com/mantinedev/ui.mantine.dev",discussions:"https://github.com/mantinedev/mantine/discussions",organization:"https://github.com/mantinedev",releases:"https://github.com/mantinedev/mantine/releases"}}},1363:function(e,t,n){"use strict";n.d(t,{P:function(){return v}});var r=n(7378),o=n(9662),a=n(7226),i=n(7208),l=n(1799),c=n(5348),s=n(401),u=n(5010),d=n(603),f=n(1020),p=n(5730),m=n(558);let h={copyLabel:"Copy code",copiedLabel:"Copied",language:"tsx",withCopyButton:!0},v=(0,o.d)((e,t)=>{let n=(0,a.w)("CodeHighlight",h,e),{classNames:o,className:v,style:g,styles:y,unstyled:b,vars:w,children:E,code:x,copiedLabel:k,copyLabel:S,language:C,withCopyButton:R,highlightOnClient:T,...M}=n,L=(0,i.y)({name:"CodeHighlight",props:n,classes:m.Z,className:v,style:g,classNames:o,styles:y,unstyled:b}),P=(0,f.Y)(),A=P(x.trim(),C||"tsx");return r.createElement(l.x,{...L("root"),ref:t,...M,dir:"ltr"},R&&r.createElement(c.q,{value:x.trim()},({copied:e,copy:t})=>r.createElement(s.u,{label:e?k:S,fz:"sm",position:"left"},r.createElement(u.A,{onClick:t,variant:"none",...L("copy")},r.createElement(p.T,{copied:e})))),r.createElement(d.x,{type:"hover",dir:"ltr",offsetScrollbars:!1},A.highlighted?r.createElement("div",{dangerouslySetInnerHTML:{__html:A.code}}):r.createElement("pre",{...L("pre")},r.createElement("code",{...L("code")},x.trim()))))});v.displayName="@mantine/core/CodeHighlight",v.classes=m.Z},3276:function(e,t,n){"use strict";n.d(t,{Q:function(){return k}});var r=n(7378),o=n(5006),a=n(4485),i=n(6415),l=n(9662),c=n(7226),s=n(7208),u=n(7878),d=n(1799),f=n(603),p=n(401),m=n(5010),h=n(5348),v=n(1020),g=n(5730);function y({fileIcon:e,fileName:t,getFileIcon:n,className:o,style:a}){return e?r.createElement("span",{className:o,style:a},e):n&&t?r.createElement("span",{className:o,style:a},n(t)):null}function b({expanded:e,style:t,...n}){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:(0,a.h)(18),height:(0,a.h)(18),...t},viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...n},e?r.createElement(r.Fragment,null,r.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{d:"M12 13v-8l-3 3m6 0l-3 -3"}),r.createElement("path",{d:"M9 17l1 0"}),r.createElement("path",{d:"M14 17l1 0"}),r.createElement("path",{d:"M19 17l1 0"}),r.createElement("path",{d:"M4 17l1 0"})):r.createElement(r.Fragment,null,r.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{d:"M12 11v8l3 -3m-6 0l3 3"}),r.createElement("path",{d:"M9 7l1 0"}),r.createElement("path",{d:"M14 7l1 0"}),r.createElement("path",{d:"M19 7l1 0"}),r.createElement("path",{d:"M4 7l1 0"})))}var w=n(558);let E={withHeader:!0,copyLabel:"Copy code",copiedLabel:"Copied",maxCollapsedHeight:(0,a.h)("8rem"),expandCodeLabel:"Expand code",collapseCodeLabel:"Collapse code"},x=(0,i.Z)((e,{maxCollapsedHeight:t})=>({root:{"--ch-max-collapsed-height":(0,a.h)(t)}})),k=(0,l.d)((e,t)=>{let n=(0,c.w)("CodeHighlightTabs",E,e),{classNames:a,className:i,style:l,styles:k,unstyled:S,vars:C,children:R,code:T,defaultActiveTab:M,activeTab:L,onTabChange:P,withHeader:A,copiedLabel:z,copyLabel:N,getFileIcon:I,maxCollapsedHeight:$,expanded:D,defaultExpanded:F,onExpandedChange:O,expandCodeLabel:B,collapseCodeLabel:H,withExpandButton:Z,..._}=n,W=(0,s.y)({name:"CodeHighlightTabs",props:n,classes:w.Z,className:i,style:l,classNames:a,styles:k,unstyled:S,vars:C,varsResolver:x}),[V,Y]=(0,o.C)({defaultValue:M,value:L,finalValue:0,onChange:P}),[j,X]=(0,o.C)({defaultValue:F,value:D,finalValue:!0,onChange:O}),K=Array.isArray(T)?T:[T],q=K[V],G=(0,v.Y)(),U=G(q.code.trim(),q.language||"tsx"),Q=K.map((e,t)=>r.createElement(u.k,{...W("file"),key:e.fileName,mod:{active:t===V},onClick:()=>Y(t)},r.createElement(y,{fileIcon:e.icon,getFileIcon:I,fileName:e.fileName,...W("fileIcon")}),r.createElement("span",null,e.fileName)));return r.createElement(d.x,{...W("root"),mod:{collapsed:!j},ref:t,..._,dir:"ltr"},A&&r.createElement("div",{...W("header")},r.createElement(f.x,{type:"never",dir:"ltr",offsetScrollbars:!1},r.createElement("div",{...W("files")},Q)),r.createElement("div",{...W("controls")},Z&&r.createElement(p.u,{label:j?H:B,fz:"sm",position:"left"},r.createElement(m.A,{onClick:()=>X(!j),variant:"none","aria-label":j?H:B,...W("control")},r.createElement(b,{expanded:j}))),r.createElement(h.q,{value:q.code.trim()},({copied:e,copy:t})=>r.createElement(p.u,{label:e?z:N,fz:"sm",position:"left"},r.createElement(m.A,{onClick:t,variant:"none",...W("control"),"aria-label":e?z:N},r.createElement(g.T,{copied:e})))))),r.createElement(f.x,{type:"auto",dir:"ltr",offsetScrollbars:!1},r.createElement(d.x,{...W("codeWrapper"),mod:{expanded:j}},U.highlighted?r.createElement("div",{dangerouslySetInnerHTML:{__html:U.code}}):r.createElement("pre",{...W("pre")},r.createElement("code",{...W("code")},U.code)))),r.createElement(u.k,{...W("showCodeButton"),mod:{hidden:j},onClick:()=>X(!0)},B))});k.displayName="@mantine/core/CodeHighlightTabs",k.classes=w.Z},5730:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(4485),o=n(7378);function a({copied:e,style:t,...n}){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:(0,r.h)(18),height:(0,r.h)(18),...t},viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...n},e?o.createElement(o.Fragment,null,o.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M5 12l5 5l10 -10"})):o.createElement(o.Fragment,null,o.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"}),o.createElement("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"})))}a.displayName="@mantine/code-highlight/CopyIcon"},624:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="";n"floating-ui-"+s++,d=(r||(r=n.t(i,2)))["useId".toString()],f=d||function(){let[e,t]=i.useState(()=>c?u():void 0);return l(()=>{null==e&&t(u())},[]),i.useEffect(()=>{c||(c=!0)},[]),e},p=i.createContext(null),m=i.createContext(null),h=()=>{var e;return(null==(e=i.useContext(p))?void 0:e.id)||null},v=()=>i.useContext(m);function g(e){return(null==e?void 0:e.ownerDocument)||document}function y(e){return g(e).defaultView||window}function b(e){return!!e&&(e instanceof Element||e instanceof y(e).Element)}function w(e){return!!e&&(e instanceof HTMLElement||e instanceof y(e).HTMLElement)}function E(e,t){let n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function x(e,t){if(!e||!t)return!1;let n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&function(e){if("undefined"==typeof ShadowRoot)return!1;let t=y(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function k(e){return"data-floating-ui-"+e}function S(e){let t=(0,i.useRef)(e);return l(()=>{t.current=e}),t}let C=k("safe-polygon");function R(e,t,n){return n&&!E(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}function T(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:o,events:a,elements:{domReference:c,floating:s},refs:u}=e,{enabled:d=!0,delay:f=0,handleClose:p=null,mouseOnly:m=!1,restMs:y=0,move:w=!0}=t,k=v(),T=h(),M=S(p),L=S(f),P=i.useRef(),A=i.useRef(),z=i.useRef(),N=i.useRef(),I=i.useRef(!0),$=i.useRef(!1),D=i.useRef(()=>{}),F=i.useCallback(()=>{var e;let t=null==(e=o.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t},[o]);i.useEffect(()=>{if(d)return a.on("dismiss",e),()=>{a.off("dismiss",e)};function e(){clearTimeout(A.current),clearTimeout(N.current),I.current=!0}},[d,a]),i.useEffect(()=>{if(!d||!M.current||!n)return;function e(e){F()&&r(!1,e)}let t=g(s).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}},[s,n,r,d,M,o,F]);let O=i.useCallback(function(e,t){void 0===t&&(t=!0);let n=R(L.current,"close",P.current);n&&!z.current?(clearTimeout(A.current),A.current=setTimeout(()=>r(!1,e),n)):t&&(clearTimeout(A.current),r(!1,e))},[L,r]),B=i.useCallback(()=>{D.current(),z.current=void 0},[]),H=i.useCallback(()=>{if($.current){let e=g(u.floating.current).body;e.style.pointerEvents="",e.removeAttribute(C),$.current=!1}},[u]);return i.useEffect(()=>{if(d&&b(c))return n&&c.addEventListener("mouseleave",l),null==s||s.addEventListener("mouseleave",l),w&&c.addEventListener("mousemove",a,{once:!0}),c.addEventListener("mouseenter",a),c.addEventListener("mouseleave",i),()=>{n&&c.removeEventListener("mouseleave",l),null==s||s.removeEventListener("mouseleave",l),w&&c.removeEventListener("mousemove",a),c.removeEventListener("mouseenter",a),c.removeEventListener("mouseleave",i)};function t(){return!!o.current.openEvent&&["click","mousedown"].includes(o.current.openEvent.type)}function a(e){if(clearTimeout(A.current),I.current=!1,m&&!E(P.current)||y>0&&0===R(L.current,"open"))return;let t=R(L.current,"open",P.current);t?A.current=setTimeout(()=>{r(!0,e)},t):r(!0,e)}function i(r){if(t())return;D.current();let o=g(s);if(clearTimeout(N.current),M.current){n||clearTimeout(A.current),z.current=M.current({...e,tree:k,x:r.clientX,y:r.clientY,onClose(){H(),B(),O(r)}});let t=z.current;o.addEventListener("mousemove",t),D.current=()=>{o.removeEventListener("mousemove",t)};return}let a="touch"!==P.current||!x(s,r.relatedTarget);a&&O(r)}function l(n){t()||null==M.current||M.current({...e,tree:k,x:n.clientX,y:n.clientY,onClose(){H(),B(),O(n)}})(n)}},[c,s,d,e,m,y,w,O,B,H,r,n,k,L,M,o]),l(()=>{var e,t,r;if(d&&n&&null!=(e=M.current)&&e.__options.blockPointerEvents&&F()){let e=g(s).body;if(e.setAttribute(C,""),e.style.pointerEvents="none",$.current=!0,b(c)&&s){let e=null==k?void 0:null==(t=k.nodesRef.current.find(e=>e.id===T))?void 0:null==(r=t.context)?void 0:r.elements.floating;return e&&(e.style.pointerEvents=""),c.style.pointerEvents="auto",s.style.pointerEvents="auto",()=>{c.style.pointerEvents="",s.style.pointerEvents=""}}}},[d,n,T,s,c,k,M,o,F]),l(()=>{n||(P.current=void 0,B(),H())},[n,B,H]),i.useEffect(()=>()=>{B(),clearTimeout(A.current),clearTimeout(N.current),H()},[d,B,H]),i.useMemo(()=>{if(!d)return{};function e(e){P.current=e.pointerType}return{reference:{onPointerDown:e,onPointerEnter:e,onMouseMove(e){n||0===y||(clearTimeout(N.current),N.current=setTimeout(()=>{I.current||r(!0,e.nativeEvent)},y))}},floating:{onMouseEnter(){clearTimeout(A.current)},onMouseLeave(e){a.emit("dismiss",{type:"mouseLeave",data:{returnFocus:!1}}),O(e.nativeEvent,!1)}}}},[a,d,y,n,r,O])}let M=i.createContext({delay:0,initialDelay:0,timeoutMs:0,currentId:null,setCurrentId:()=>{},setState:()=>{},isInstantPhase:!1}),L=()=>i.useContext(M),P=e=>{let{children:t,delay:n,timeoutMs:r=0}=e,[o,a]=i.useReducer((e,t)=>({...e,...t}),{delay:n,timeoutMs:r,initialDelay:n,currentId:null,isInstantPhase:!1}),c=i.useRef(null),s=i.useCallback(e=>{a({currentId:e})},[]);return l(()=>{o.currentId?null===c.current?c.current=o.currentId:a({isInstantPhase:!0}):(a({isInstantPhase:!1}),c.current=null)},[o.currentId]),i.createElement(M.Provider,{value:i.useMemo(()=>({...o,setState:a,setCurrentId:s}),[o,a,s])},t)},A=(e,t)=>{let{open:n,onOpenChange:r}=e,{id:o}=t,{currentId:a,setCurrentId:i,initialDelay:c,setState:s,timeoutMs:u}=L();l(()=>{a&&(s({delay:{open:1,close:R(c,"close")}}),a!==o&&r(!1))},[o,r,s,a,c]),l(()=>{function e(){r(!1),s({delay:c,currentId:null})}if(!n&&a===o){if(u){let t=window.setTimeout(e,u);return()=>{clearTimeout(t)}}e()}},[n,s,a,o,r,c,u]),l(()=>{n&&i(o)},[n,i,o])};function z(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let N=(r||(r=n.t(i,2)))["useInsertionEffect".toString()],I=N||(e=>e());function $(e){let t=i.useRef(()=>{});return I(()=>{t.current=e}),i.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r{var t,n;return{escapeKeyBubbles:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePressBubbles:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function H(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,events:a,nodeId:l,elements:{reference:c,domReference:s,floating:u},dataRef:d}=e,{enabled:f=!0,escapeKey:p=!0,outsidePress:m=!0,outsidePressEvent:E="pointerdown",referencePress:x=!1,referencePressEvent:k="pointerdown",ancestorScroll:S=!1,bubbles:C}=t,R=v(),T=null!=h(),M=$("function"==typeof m?m:()=>!1),L="function"==typeof m?M:m,P=i.useRef(!1),{escapeKeyBubbles:A,outsidePressBubbles:N}=B(C),I=$(e=>{if(!n||!f||!p||"Escape"!==e.key)return;let t=R?z(R.nodesRef.current,l):[];if(!A&&(e.stopPropagation(),t.length>0)){let e=!0;if(t.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}a.emit("dismiss",{type:"escapeKey",data:{returnFocus:{preventScroll:!1}}}),r(!1,"nativeEvent"in e?e.nativeEvent:e)}),H=$(e=>{var t;let n=P.current;if(P.current=!1,n||"function"==typeof L&&!L(e))return;let o="composedPath"in e?e.composedPath()[0]:e.target;if(w(o)&&u){let t=o.clientWidth>0&&o.scrollWidth>o.clientWidth,n=o.clientHeight>0&&o.scrollHeight>o.clientHeight,r=n&&e.offsetX>o.clientWidth;if(n){let t="rtl"===y(u).getComputedStyle(o).direction;t&&(r=e.offsetX<=o.offsetWidth-o.clientWidth)}if(r||t&&e.offsetY>o.clientHeight)return}let i=R&&z(R.nodesRef.current,l).some(t=>{var n;return D(e,null==(n=t.context)?void 0:n.elements.floating)});if(D(e,u)||D(e,s)||i)return;let c=R?z(R.nodesRef.current,l):[];if(c.length>0){let e=!0;if(c.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}a.emit("dismiss",{type:"outsidePress",data:{returnFocus:T?{preventScroll:!0}:function(e){if(0===e.mozInputSource&&e.isTrusted)return!0;let t=/Android/i;return(t.test(function(){let e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}())||t.test(function(){let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent}()))&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType}(e)||0===(t=e).width&&0===t.height||1===t.width&&1===t.height&&0===t.pressure&&0===t.detail&&"mouse"!==t.pointerType||t.width<1&&t.height<1&&0===t.pressure&&0===t.detail}}),r(!1,e)});return i.useEffect(()=>{if(!n||!f)return;function e(e){r(!1,e)}d.current.__escapeKeyBubbles=A,d.current.__outsidePressBubbles=N;let t=g(u);p&&t.addEventListener("keydown",I),L&&t.addEventListener(E,H);let a=[];return S&&(b(s)&&(a=(0,o.Kx)(s)),b(u)&&(a=a.concat((0,o.Kx)(u))),!b(c)&&c&&c.contextElement&&(a=a.concat((0,o.Kx)(c.contextElement)))),(a=a.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{p&&t.removeEventListener("keydown",I),L&&t.removeEventListener(E,H),a.forEach(t=>{t.removeEventListener("scroll",e)})}},[d,u,s,c,p,L,E,n,r,S,f,A,N,I,H]),i.useEffect(()=>{P.current=!1},[L,E]),i.useMemo(()=>f?{reference:{onKeyDown:I,[F[k]]:e=>{x&&(a.emit("dismiss",{type:"referencePress",data:{returnFocus:!1}}),r(!1,e.nativeEvent))}},floating:{onKeyDown:I,[O[E]]:()=>{P.current=!0}}}:{},[f,a,x,E,k,r,I])}function _(e){var t;void 0===e&&(e={});let{open:n=!1,onOpenChange:r,nodeId:o}=e,[c,s]=i.useState(null),u=(null==(t=e.elements)?void 0:t.reference)||c,d=(0,a.YF)(e),p=v(),m=$((e,t)=>{e&&(g.current.openEvent=t),null==r||r(e,t)}),h=i.useRef(null),g=i.useRef({}),y=i.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})())[0],w=f(),E=i.useCallback(e=>{let t=b(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;d.refs.setReference(t)},[d.refs]),x=i.useCallback(e=>{(b(e)||null===e)&&(h.current=e,s(e)),(b(d.refs.reference.current)||null===d.refs.reference.current||null!==e&&!b(e))&&d.refs.setReference(e)},[d.refs]),k=i.useMemo(()=>({...d.refs,setReference:x,setPositionReference:E,domReference:h}),[d.refs,x,E]),S=i.useMemo(()=>({...d.elements,domReference:u}),[d.elements,u]),C=i.useMemo(()=>({...d,refs:k,elements:S,dataRef:g,nodeId:o,floatingId:w,events:y,open:n,onOpenChange:m}),[d,o,w,y,n,m,k,S]);return l(()=>{let e=null==p?void 0:p.nodesRef.current.find(e=>e.id===o);e&&(e.context=C)}),i.useMemo(()=>({...d,context:C,refs:k,elements:S}),[d,k,S,C])}function Z(e,t){void 0===t&&(t={});let{open:n,onOpenChange:r,dataRef:o,events:a,refs:l,elements:{floating:c,domReference:s}}=e,{enabled:u=!0,keyboardOnly:d=!0}=t,f=i.useRef(""),p=i.useRef(!1),m=i.useRef();return i.useEffect(()=>{if(!u)return;let e=g(c),t=e.defaultView||window;function r(){!n&&w(s)&&s===function(e){let t=e.activeElement;for(;(null==(n=t)?void 0:null==(r=n.shadowRoot)?void 0:r.activeElement)!=null;){var n,r;t=t.shadowRoot.activeElement}return t}(g(s))&&(p.current=!0)}return t.addEventListener("blur",r),()=>{t.removeEventListener("blur",r)}},[c,s,n,u]),i.useEffect(()=>{if(u)return a.on("dismiss",e),()=>{a.off("dismiss",e)};function e(e){("referencePress"===e.type||"escapeKey"===e.type)&&(p.current=!0)}},[a,u]),i.useEffect(()=>()=>{clearTimeout(m.current)},[]),i.useMemo(()=>u?{reference:{onPointerDown(e){let{pointerType:t}=e;f.current=t,p.current=!!(t&&d)},onMouseLeave(){p.current=!1},onFocus(e){var t;p.current||"focus"===e.type&&(null==(t=o.current.openEvent)?void 0:t.type)==="mousedown"&&D(o.current.openEvent,s)||r(!0,e.nativeEvent)},onBlur(e){p.current=!1;let t=e.relatedTarget,n=b(t)&&t.hasAttribute(k("focus-guard"))&&"outside"===t.getAttribute("data-type");m.current=setTimeout(()=>{x(l.floating.current,t)||x(s,t)||n||r(!1,e.nativeEvent)})}}}:{},[u,d,s,l,o,r])}function W(e,t,n){let r=new Map;return{..."floating"===n&&{tabIndex:-1},...e,...t.map(e=>e?e[n]:null).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,o]=t;if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof o){var a;null==(a=r.get(n))||a.push(o),e[n]=function(){for(var e,t=arguments.length,o=Array(t),a=0;ae(...o)).find(e=>void 0!==e)}}}else e[n]=o}),e),{})}}function V(e){void 0===e&&(e=[]);let t=e,n=i.useCallback(t=>W(t,e,"reference"),t),r=i.useCallback(t=>W(t,e,"floating"),t),o=i.useCallback(t=>W(t,e,"item"),e.map(e=>null==e?void 0:e.item));return i.useMemo(()=>({getReferenceProps:n,getFloatingProps:r,getItemProps:o}),[n,r,o])}function Y(e,t){void 0===t&&(t={});let{open:n,floatingId:r}=e,{enabled:o=!0,role:a="dialog"}=t,l=f();return i.useMemo(()=>{let e={id:r,role:a};return o?"tooltip"===a?{reference:{"aria-describedby":n?r:void 0},floating:e}:{reference:{"aria-expanded":n?"true":"false","aria-haspopup":"alertdialog"===a?"dialog":a,"aria-controls":n?r:void 0,..."listbox"===a&&{role:"combobox"},..."menu"===a&&{id:l}},floating:{...e,..."menu"===a&&{"aria-labelledby":l}}}:{}},[o,a,n,r,l])}},4764:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(7378),o=n(3615),a=n.n(o),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},l=Object.defineProperty,c=Object.defineProperties,s=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))d.call(t,n)&&p(e,n,t[n]);if(u)for(var n of u(t))f.call(t,n)&&p(e,n,t[n]);return e},h=(e,t)=>c(e,s(t)),v=(e,t)=>{var n={};for(var r in e)d.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&u)for(var r of u(e))0>t.indexOf(r)&&f.call(e,r)&&(n[r]=e[r]);return n},g=(e,t,n)=>{let o=(0,r.forwardRef)((t,o)=>{var{color:a="currentColor",size:l=24,stroke:c=2,children:s}=t,u=v(t,["color","size","stroke","children"]);return(0,r.createElement)("svg",m(h(m({ref:o},i),{width:l,height:l,stroke:a,strokeWidth:c,className:`tabler-icon tabler-icon-${e}`}),u),[...n.map(([e,t])=>(0,r.createElement)(e,t)),...s||[]])});return o.propTypes={color:a().string,size:a().oneOfType([a().string,a().number]),stroke:a().oneOfType([a().string,a().number])},o.displayName=`${t}`,o}},739:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("edit","IconEdit",[["path",{d:"M7 7h-1a2 2 0 0 0 -2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2 -2v-1",key:"svg-0"}],["path",{d:"M20.385 6.585a2.1 2.1 0 0 0 -2.97 -2.97l-8.415 8.385v3h3l8.385 -8.415z",key:"svg-1"}],["path",{d:"M16 5l3 3",key:"svg-2"}]])},9258:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("license","IconLicense",[["path",{d:"M15 21h-9a3 3 0 0 1 -3 -3v-1h10v2a2 2 0 0 0 4 0v-14a2 2 0 1 1 2 2h-2m2 -4h-11a3 3 0 0 0 -3 3v11",key:"svg-0"}],["path",{d:"M9 7l4 0",key:"svg-1"}],["path",{d:"M9 11l4 0",key:"svg-2"}]])},7261:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("list","IconList",[["path",{d:"M9 6l11 0",key:"svg-0"}],["path",{d:"M9 12l11 0",key:"svg-1"}],["path",{d:"M9 18l11 0",key:"svg-2"}],["path",{d:"M5 6l0 .01",key:"svg-3"}],["path",{d:"M5 12l0 .01",key:"svg-4"}],["path",{d:"M5 18l0 .01",key:"svg-5"}]])},7854:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("search","IconSearch",[["path",{d:"M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0",key:"svg-0"}],["path",{d:"M21 21l-6 -6",key:"svg-1"}]])},1925:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=(0,n(4764).Z)("user-code","IconUserCode",[["path",{d:"M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0",key:"svg-0"}],["path",{d:"M6 21v-2a4 4 0 0 1 4 -4h3.5",key:"svg-1"}],["path",{d:"M20 21l2 -2l-2 -2",key:"svg-2"}],["path",{d:"M17 17l-2 2l2 2",key:"svg-3"}]])},6677:function(e,t,n){e.exports=n(5949)},7061:function(e){var t,n,r,o=e.exports={};function a(){throw Error("setTimeout has not been defined")}function i(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===a||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:a}catch(e){t=a}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var c=[],s=!1,u=-1;function d(){s&&r&&(s=!1,r.length?c=r.concat(c):u=-1,c.length&&f())}function f(){if(!s){var e=l(d);s=!0;for(var t=c.length;t;){for(r=c,c=[];++u1)for(var n=1;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}"function"==typeof SuppressedError&&SuppressedError;var d=n(7378),f="right-scroll-bar-position",p="width-before-scroll-bar",m=(void 0===r&&(r={}),void 0===o&&(o=function(e){return e}),a=[],i=!1,(l={read:function(){if(i)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return a.length?a[a.length-1]:null},useMedium:function(e){var t=o(e,i);return a.push(t),function(){a=a.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(i=!0;a.length;){var t=a;a=[],t.forEach(e)}a={push:function(t){return e(t)},filter:function(){return a}}},assignMedium:function(e){i=!0;var t=[];if(a.length){var n=a;a=[],n.forEach(e),t=a}var r=function(){var n=t;t=[],n.forEach(e)},o=function(){return Promise.resolve().then(r)};o(),a={push:function(e){t.push(e),o()},filter:function(e){return t=t.filter(e),a}}}}).options=s({async:!0,ssr:!1},r),l),h=function(){},v=d.forwardRef(function(e,t){var n,r,o,a=d.useRef(null),i=d.useState({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:h}),l=i[0],c=i[1],f=e.forwardProps,p=e.children,v=e.className,g=e.removeScrollBar,y=e.enabled,b=e.shards,w=e.sideCar,E=e.noIsolation,x=e.inert,k=e.allowPinchZoom,S=e.as,C=void 0===S?"div":S,R=e.gapMode,T=u(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=(n=[a,t],r=function(e){return n.forEach(function(t){return"function"==typeof t?t(e):t&&(t.current=e),t})},(o=(0,d.useState)(function(){return{value:null,callback:r,facade:{get current(){return o.value},set current(value){var e=o.value;e!==value&&(o.value=value,o.callback(value,e))}}}})[0]).callback=r,o.facade),L=s(s({},T),l);return d.createElement(d.Fragment,null,y&&d.createElement(w,{sideCar:m,removeScrollBar:g,shards:b,noIsolation:E,inert:x,setCallbacks:c,allowPinchZoom:!!k,lockRef:a,gapMode:R}),f?d.cloneElement(d.Children.only(p),s(s({},L),{ref:M})):d.createElement(C,s({},L,{className:v,ref:M}),p))});v.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},v.classNames={fullWidth:p,zeroRight:f};var g=function(e){var t=e.sideCar,n=u(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return d.createElement(r,s({},n))};g.isSideCarExport=!0;var y=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=c||n.nc;return t&&e.setAttribute("nonce",t),e}())){var o,a;(o=t).styleSheet?o.styleSheet.cssText=r:o.appendChild(document.createTextNode(r)),a=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(a)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},b=function(){var e=y();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},w=function(){var e=b();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},x=function(e){return parseInt(e||"",10)||0},k=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[x(n),x(r),x(o)]},S=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return E;var t=k(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},C=w(),R=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(f," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(p," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(f," .").concat(f," {\n right: 0 ").concat(r,";\n }\n \n .").concat(p," .").concat(p," {\n margin-right: 0 ").concat(r,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},T=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,a=d.useMemo(function(){return S(o)},[o]);return d.createElement(C,{styles:R(a,!t,o,n?"":"!important")})},M=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return M=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){M=!1}var P=!!M&&{passive:!1},A=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},z=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),N(e,r)){var o=I(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},N=function(e,t){return"v"===e?A(t,"overflowY"):A(t,"overflowX")},I=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},$=function(e,t,n,r,o){var a,i=(a=window.getComputedStyle(t).direction,"h"===e&&"rtl"===a?-1:1),l=i*r,c=n.target,s=t.contains(c),u=!1,d=l>0,f=0,p=0;do{var m=I(e,c),h=m[0],v=m[1]-m[2]-i*h;(h||v)&&N(e,c)&&(f+=v,p+=h),c=c instanceof ShadowRoot?c.host:c.parentNode}while(!s&&c!==document.body||s&&(t.contains(c)||t===c));return d&&(o&&1>Math.abs(f)||!o&&l>f)?u=!0:!d&&(o&&1>Math.abs(p)||!o&&-l>p)&&(u=!0),u},D=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},F=function(e){return[e.deltaX,e.deltaY]},O=function(e){return e&&"current"in e?e.current:e},B=0,H=[],_=(m.useMedium(function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),o=d.useState(B++)[0],a=d.useState(w)[0],i=d.useRef(e);d.useEffect(function(){i.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(function(e,t,n){if(n||2==arguments.length)for(var r,o=0,a=t.length;oMath.abs(s)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=z(d,u);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=z(d,u)),!f)return!1;if(!r.current&&"changedTouches"in e&&(c||s)&&(r.current=o),!o)return!0;var p=r.current||o;return $(p,t,e,"h"===p?c:s,!0)},[]),c=d.useCallback(function(e){if(H.length&&H[H.length-1]===a){var n="deltaY"in e?F(e):D(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta)[0]===n[0]&&r[1]===n[1]})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var o=(i.current.shards||[]).map(O).filter(Boolean).filter(function(t){return t.contains(e.target)});(o.length>0?l(e,o[0]):!i.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),s=d.useCallback(function(e,n,r,o){var a={name:e,delta:n,target:r,should:o,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),u=d.useCallback(function(e){n.current=D(e),r.current=void 0},[]),f=d.useCallback(function(t){s(t.type,F(t),t.target,l(t,e.lockRef.current))},[]),p=d.useCallback(function(t){s(t.type,D(t),t.target,l(t,e.lockRef.current))},[]);d.useEffect(function(){return H.push(a),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",c,P),document.addEventListener("touchmove",c,P),document.addEventListener("touchstart",u,P),function(){H=H.filter(function(e){return e!==a}),document.removeEventListener("wheel",c,P),document.removeEventListener("touchmove",c,P),document.removeEventListener("touchstart",u,P)}},[]);var m=e.removeScrollBar,h=e.inert;return d.createElement(d.Fragment,null,h?d.createElement(a,{styles:"\n .block-interactivity-".concat(o," {pointer-events: none;}\n .allow-interactivity-").concat(o," {pointer-events: all;}\n")}):null,m?d.createElement(T,{gapMode:e.gapMode}):null)}),g),Z=d.forwardRef(function(e,t){return d.createElement(v,s({},e,{ref:t,sideCar:_}))});Z.classNames=v.classNames;var W=Z},5288:function(e,t,n){"use strict";n.d(t,{Qo:function(){return u},RR:function(){return c},cv:function(){return f},dp:function(){return h},dr:function(){return m},oo:function(){return a},uY:function(){return p},x7:function(){return l}});var r=n(2876);function o(e,t,n){let o,{reference:a,floating:i}=e,l=(0,r.Qq)(t),c=(0,r.Wh)(t),s=(0,r.I4)(c),u=(0,r.k3)(t),d="y"===l,f=a.x+a.width/2-i.width/2,p=a.y+a.height/2-i.height/2,m=a[s]/2-i[s]/2;switch(u){case"top":o={x:f,y:a.y-i.height};break;case"bottom":o={x:f,y:a.y+a.height};break;case"right":o={x:a.x+a.width,y:p};break;case"left":o={x:a.x-i.width,y:p};break;default:o={x:a.x,y:a.y}}switch((0,r.hp)(t)){case"start":o[c]-=m*(n&&d?-1:1);break;case"end":o[c]+=m*(n&&d?-1:1)}return o}let a=async(e,t,n)=>{let{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:l}=n,c=i.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:f}=o(u,r,s),p=r,m={},h=0;for(let n=0;n({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:a,rects:i,platform:l,elements:c,middlewareData:s}=t,{element:u,padding:d=0}=(0,r.ku)(e,t)||{};if(null==u)return{};let f=(0,r.yd)(d),p={x:n,y:o},m=(0,r.Wh)(a),h=(0,r.I4)(m),v=await l.getDimensions(u),g="y"===m,y=g?"clientHeight":"clientWidth",b=i.reference[h]+i.reference[m]-p[m]-i.floating[h],w=p[m]-i.reference[m],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),x=E?E[y]:0;x&&await (null==l.isElement?void 0:l.isElement(E))||(x=c.floating[y]||i.floating[h]);let k=x/2-v[h]/2-1,S=(0,r.VV)(f[g?"top":"left"],k),C=(0,r.VV)(f[g?"bottom":"right"],k),R=x-v[h]-C,T=x/2-v[h]/2+(b/2-w/2),M=(0,r.uZ)(S,T,R),L=!s.arrow&&null!=(0,r.hp)(a)&&T!=M&&i.reference[h]/2-(Te<=0)){let e=((null==(a=u.flip)?void 0:a.index)||0)+1,t=R[e];if(t)return{data:{index:e,overflows:L},reset:{placement:t}};let n=null==(l=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(c=L.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:c[0];e&&(n=e);break}case"initialPlacement":n=f}if(s!==n)return{reset:{placement:n}}}return{}}}};function s(e){let t=(0,r.VV)(...e.map(e=>e.left)),n=(0,r.VV)(...e.map(e=>e.top)),o=(0,r.Fp)(...e.map(e=>e.right)),a=(0,r.Fp)(...e.map(e=>e.bottom));return{x:t,y:n,width:o-t,height:a-n}}let u=function(e){return void 0===e&&(e={}),{name:"inline",options:e,async fn(t){let{placement:n,elements:o,rects:a,platform:i,strategy:l}=t,{padding:c=2,x:u,y:d}=(0,r.ku)(e,t),f=Array.from(await (null==i.getClientRects?void 0:i.getClientRects(o.reference))||[]),p=function(e){let t=e.slice().sort((e,t)=>e.y-t.y),n=[],o=null;for(let e=0;eo.height/2?n.push([r]):n[n.length-1].push(r),o=r}return n.map(e=>(0,r.JB)(s(e)))}(f),m=(0,r.JB)(s(f)),h=(0,r.yd)(c),v=await i.getElementRects({reference:{getBoundingClientRect:function(){if(2===p.length&&p[0].left>p[1].right&&null!=u&&null!=d)return p.find(e=>u>e.left-h.left&&ue.top-h.top&&d=2){if("y"===(0,r.Qq)(n)){let e=p[0],t=p[p.length-1],o="top"===(0,r.k3)(n),a=e.top,i=t.bottom,l=o?e.left:t.left,c=o?e.right:t.right;return{top:a,bottom:i,left:l,right:c,width:c-l,height:i-a,x:l,y:a}}let e="left"===(0,r.k3)(n),t=(0,r.Fp)(...p.map(e=>e.right)),o=(0,r.VV)(...p.map(e=>e.left)),a=p.filter(n=>e?n.left===o:n.right===t),i=a[0].top,l=a[a.length-1].bottom,c=t-o;return{top:i,bottom:l,left:o,right:t,width:c,height:l-i,x:o,y:i}}return m}},floating:o.floating,strategy:l});return a.reference.x!==v.reference.x||a.reference.y!==v.reference.y||a.reference.width!==v.reference.width||a.reference.height!==v.reference.height?{reset:{rects:v}}:{}}}};async function d(e,t){let{placement:n,platform:o,elements:a}=e,i=await (null==o.isRTL?void 0:o.isRTL(a.floating)),l=(0,r.k3)(n),c=(0,r.hp)(n),s="y"===(0,r.Qq)(n),u=["left","top"].includes(l)?-1:1,d=i&&s?-1:1,f=(0,r.ku)(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return c&&"number"==typeof h&&(m="end"===c?-1*h:h),s?{x:m*d,y:p*u}:{x:p*u,y:m*d}}let f=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:n,y:r}=t,o=await d(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},p=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:a}=t,{mainAxis:l=!0,crossAxis:c=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=(0,r.ku)(e,t),d={x:n,y:o},f=await i(t,u),p=(0,r.Qq)((0,r.k3)(a)),m=(0,r.Rn)(p),h=d[m],v=d[p];if(l){let e=h+f["y"===m?"top":"left"],t=h-f["y"===m?"bottom":"right"];h=(0,r.uZ)(e,h,t)}if(c){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=v+f[e],o=v-f[t];v=(0,r.uZ)(n,v,o)}let g=s.fn({...t,[m]:h,[p]:v});return{...g,data:{x:g.x-n,y:g.y-o}}}}},m=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:o,placement:a,rects:i,middlewareData:l}=t,{offset:c=0,mainAxis:s=!0,crossAxis:u=!0}=(0,r.ku)(e,t),d={x:n,y:o},f=(0,r.Qq)(a),p=(0,r.Rn)(f),m=d[p],h=d[f],v=(0,r.ku)(c,t),g="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(s){let e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+g.mainAxis,n=i.reference[p]+i.reference[e]-g.mainAxis;mn&&(m=n)}if(u){var y,b;let e="y"===p?"width":"height",t=["top","left"].includes((0,r.k3)(a)),n=i.reference[f]-i.floating[e]+(t&&(null==(y=l.offset)?void 0:y[f])||0)+(t?0:g.crossAxis),o=i.reference[f]+i.reference[e]+(t?0:(null==(b=l.offset)?void 0:b[f])||0)-(t?g.crossAxis:0);ho&&(h=o)}return{[p]:m,[f]:h}}}},h=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,o;let{placement:a,rects:l,platform:c,elements:s}=t,{apply:u=()=>{},...d}=(0,r.ku)(e,t),f=await i(t,d),p=(0,r.k3)(a),m=(0,r.hp)(a),h="y"===(0,r.Qq)(a),{width:v,height:g}=l.floating;"top"===p||"bottom"===p?(n=p,o=m===(await (null==c.isRTL?void 0:c.isRTL(s.floating))?"start":"end")?"left":"right"):(o=p,n="end"===m?"top":"bottom");let y=g-f[n],b=v-f[o],w=!t.middlewareData.shift,E=y,x=b;if(h){let e=v-f.left-f.right;x=m||w?(0,r.VV)(b,e):e}else{let e=g-f.top-f.bottom;E=m||w?(0,r.VV)(y,e):e}if(w&&!m){let e=(0,r.Fp)(f.left,0),t=(0,r.Fp)(f.right,0),n=(0,r.Fp)(f.top,0),o=(0,r.Fp)(f.bottom,0);h?x=v-2*(0!==e||0!==t?e+t:(0,r.Fp)(f.left,f.right)):E=g-2*(0!==n||0!==o?n+o:(0,r.Fp)(f.top,f.bottom))}await u({...t,availableWidth:x,availableHeight:E});let k=await c.getDimensions(s.floating);return v!==k.width||g!==k.height?{reset:{rects:!0}}:{}}}}},6345:function(e,t,n){"use strict";n.d(t,{Me:function(){return y},oo:function(){return b}});var r=n(2876),o=n(5288),a=n(8321);function i(e){let t=(0,a.Dx)(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=(0,a.Re)(e),l=i?e.offsetWidth:n,c=i?e.offsetHeight:o,s=(0,r.NM)(n)!==l||(0,r.NM)(o)!==c;return s&&(n=l,o=c),{width:n,height:o,$:s}}function l(e){return(0,a.kK)(e)?e:e.contextElement}function c(e){let t=l(e);if(!(0,a.Re)(t))return(0,r.ze)(1);let n=t.getBoundingClientRect(),{width:o,height:c,$:s}=i(t),u=(s?(0,r.NM)(n.width):n.width)/o,d=(s?(0,r.NM)(n.height):n.height)/c;return u&&Number.isFinite(u)||(u=1),d&&Number.isFinite(d)||(d=1),{x:u,y:d}}let s=(0,r.ze)(0);function u(e){let t=(0,a.Jj)(e);return(0,a.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:s}function d(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),d=l(e),f=(0,r.ze)(1);t&&(o?(0,a.kK)(o)&&(f=c(o)):f=c(e));let p=(void 0===(i=n)&&(i=!1),o&&(!i||o===(0,a.Jj)(d))&&i)?u(d):(0,r.ze)(0),m=(s.left+p.x)/f.x,h=(s.top+p.y)/f.y,v=s.width/f.x,g=s.height/f.y;if(d){let e=(0,a.Jj)(d),t=o&&(0,a.kK)(o)?(0,a.Jj)(o):o,n=e.frameElement;for(;n&&o&&t!==e;){let e=c(n),t=n.getBoundingClientRect(),r=(0,a.Dx)(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;m*=e.x,h*=e.y,v*=e.x,g*=e.y,m+=o,h+=i,n=(0,a.Jj)(n).frameElement}}return(0,r.JB)({width:v,height:g,x:m,y:h})}function f(e){return d((0,a.tF)(e)).left+(0,a.Lw)(e).scrollLeft}function p(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=(0,a.Jj)(e),r=(0,a.tF)(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,c=0,s=0;if(o){i=o.width,l=o.height;let e=(0,a.Pf)();(!e||e&&"fixed"===t)&&(c=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:c,y:s}}(e,n);else if("document"===t)o=function(e){let t=(0,a.tF)(e),n=(0,a.Lw)(e),o=e.ownerDocument.body,i=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),c=-n.scrollLeft+f(e),s=-n.scrollTop;return"rtl"===(0,a.Dx)(o).direction&&(c+=(0,r.Fp)(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:c,y:s}}((0,a.tF)(e));else if((0,a.kK)(t))o=function(e,t){let n=d(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=(0,a.Re)(e)?c(e):(0,r.ze)(1),s=e.clientWidth*l.x,u=e.clientHeight*l.y,f=i*l.x,p=o*l.y;return{width:s,height:u,x:f,y:p}}(t,n);else{let n=u(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function m(e,t){return(0,a.Re)(e)&&"fixed"!==(0,a.Dx)(e).position?t?t(e):e.offsetParent:null}function h(e,t){let n=(0,a.Jj)(e);if(!(0,a.Re)(e))return n;let r=m(e,t);for(;r&&(0,a.Ze)(r)&&"static"===(0,a.Dx)(r).position;)r=m(r,t);return r&&("html"===(0,a.wk)(r)||"body"===(0,a.wk)(r)&&"static"===(0,a.Dx)(r).position&&!(0,a.hT)(r))?n:r||(0,a.gQ)(e)||n}let v=async function(e){let{reference:t,floating:n,strategy:o}=e,i=this.getOffsetParent||h,l=this.getDimensions;return{reference:function(e,t,n){let o=(0,a.Re)(t),i=(0,a.tF)(t),l="fixed"===n,c=d(e,!0,l,t),s={scrollLeft:0,scrollTop:0},u=(0,r.ze)(0);if(o||!o&&!l){if(("body"!==(0,a.wk)(t)||(0,a.ao)(i))&&(s=(0,a.Lw)(t)),o){let e=d(t,!0,l,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=f(i))}return{x:c.left+s.scrollLeft-u.x,y:c.top+s.scrollTop-u.y,width:c.width,height:c.height}}(t,await i(n),o),floating:{x:0,y:0,...await l(n)}}},g={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e,i=(0,a.Re)(n),l=(0,a.tF)(n);if(n===l)return t;let s={scrollLeft:0,scrollTop:0},u=(0,r.ze)(1),f=(0,r.ze)(0);if((i||!i&&"fixed"!==o)&&(("body"!==(0,a.wk)(n)||(0,a.ao)(l))&&(s=(0,a.Lw)(n)),(0,a.Re)(n))){let e=d(n);u=c(n),f.x=e.x+n.clientLeft,f.y=e.y+n.clientTop}return{width:t.width*u.x,height:t.height*u.y,x:t.x*u.x-s.scrollLeft*u.x+f.x,y:t.y*u.y-s.scrollTop*u.y+f.y}},getDocumentElement:a.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l="clippingAncestors"===n?function(e,t){let n=t.get(e);if(n)return n;let r=(0,a.Kx)(e,[],!1).filter(e=>(0,a.kK)(e)&&"body"!==(0,a.wk)(e)),o=null,i="fixed"===(0,a.Dx)(e).position,l=i?(0,a.Ow)(e):e;for(;(0,a.kK)(l)&&!(0,a.Py)(l);){let t=(0,a.Dx)(l),n=(0,a.hT)(l);n||"fixed"!==t.position||(o=null);let c=i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||(0,a.ao)(l)&&!n&&function e(t,n){let r=(0,a.Ow)(t);return!(r===n||!(0,a.kK)(r)||(0,a.Py)(r))&&("fixed"===(0,a.Dx)(r).position||e(r,n))}(e,l);c?r=r.filter(e=>e!==l):o=t,l=(0,a.Ow)(l)}return t.set(e,r),r}(t,this._c):[].concat(n),c=[...l,o],s=c[0],u=c.reduce((e,n)=>{let o=p(t,n,i);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e},p(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:h,getElementRects:v,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return i(e)},getScale:c,isElement:a.kK,isRTL:function(e){return"rtl"===(0,a.Dx)(e).direction}};function y(e,t,n,o){let i;void 0===o&&(o={});let{ancestorScroll:c=!0,ancestorResize:s=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:p=!1}=o,m=l(e),h=c||s?[...m?(0,a.Kx)(m):[],...(0,a.Kx)(t)]:[];h.forEach(e=>{c&&e.addEventListener("scroll",n,{passive:!0}),s&&e.addEventListener("resize",n)});let v=m&&f?function(e,t){let n,o=null,i=(0,a.tF)(e);function l(){clearTimeout(n),o&&o.disconnect(),o=null}return!function a(c,s){void 0===c&&(c=!1),void 0===s&&(s=1),l();let{left:u,top:d,width:f,height:p}=e.getBoundingClientRect();if(c||t(),!f||!p)return;let m=(0,r.GW)(d),h=(0,r.GW)(i.clientWidth-(u+f)),v=(0,r.GW)(i.clientHeight-(d+p)),g=(0,r.GW)(u),y={rootMargin:-m+"px "+-h+"px "+-v+"px "+-g+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,s))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==s){if(!b)return a();t?a(!1,t):n=setTimeout(()=>{a(!1,1e-7)},100)}b=!1}try{o=new IntersectionObserver(w,{...y,root:i.ownerDocument})}catch(e){o=new IntersectionObserver(w,y)}o.observe(e)}(!0),l}(m,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===m&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{y&&y.observe(t)})),n()}),m&&!p&&y.observe(m),y.observe(t));let b=p?d(e):null;return p&&function t(){let r=d(e);b&&(r.x!==b.x||r.y!==b.y||r.width!==b.width||r.height!==b.height)&&n(),b=r,i=requestAnimationFrame(t)}(),n(),()=>{h.forEach(e=>{c&&e.removeEventListener("scroll",n),s&&e.removeEventListener("resize",n)}),v&&v(),y&&y.disconnect(),y=null,p&&cancelAnimationFrame(i)}}let b=(e,t,n)=>{let r=new Map,a={platform:g,...n},i={...a.platform,_c:r};return(0,o.oo)(e,t,{...a,platform:i})}},6350:function(e,t,n){"use strict";n.d(t,{YF:function(){return p},x7:function(){return l}});var r=n(5288),o=n(6345),a=n(7378),i=n(1542);let l=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;if(n&&({}).hasOwnProperty.call(n,"current")){if(null!=n.current)return(0,r.x7)({element:n.current,padding:o}).fn(t)}else if(n)return(0,r.x7)({element:n,padding:o}).fn(t);return{}}});var c="undefined"!=typeof document?a.useLayoutEffect:a.useEffect;function s(e,t){let n,r,o;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!=t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function u(e){if("undefined"==typeof window)return 1;let t=e.ownerDocument.defaultView||window;return t.devicePixelRatio||1}function d(e,t){let n=u(e);return Math.round(t*n)/n}function f(e){let t=a.useRef(e);return c(()=>{t.current=e}),t}function p(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:l,elements:{reference:p,floating:m}={},transform:h=!0,whileElementsMounted:v,open:g}=e,[y,b]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,E]=a.useState(r);s(w,r)||E(r);let[x,k]=a.useState(null),[S,C]=a.useState(null),R=a.useCallback(e=>{e!=P.current&&(P.current=e,k(e))},[k]),T=a.useCallback(e=>{e!==A.current&&(A.current=e,C(e))},[C]),M=p||x,L=m||S,P=a.useRef(null),A=a.useRef(null),z=a.useRef(y),N=f(v),I=f(l),$=a.useCallback(()=>{if(!P.current||!A.current)return;let e={placement:t,strategy:n,middleware:w};I.current&&(e.platform=I.current),(0,o.oo)(P.current,A.current,e).then(e=>{let t={...e,isPositioned:!0};D.current&&!s(z.current,t)&&(z.current=t,i.flushSync(()=>{b(t)}))})},[w,t,n,I]);c(()=>{!1===g&&z.current.isPositioned&&(z.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let D=a.useRef(!1);c(()=>(D.current=!0,()=>{D.current=!1}),[]),c(()=>{if(M&&(P.current=M),L&&(A.current=L),M&&L){if(N.current)return N.current(M,L,$);$()}},[M,L,$,N]);let F=a.useMemo(()=>({reference:P,floating:A,setReference:R,setFloating:T}),[R,T]),O=a.useMemo(()=>({reference:M,floating:L}),[M,L]),B=a.useMemo(()=>{let e={position:n,left:0,top:0};if(!O.floating)return e;let t=d(O.floating,y.x),r=d(O.floating,y.y);return h?{...e,transform:"translate("+t+"px, "+r+"px)",...u(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,h,O.floating,y.x,y.y]);return a.useMemo(()=>({...y,update:$,refs:F,elements:O,floatingStyles:B}),[y,$,F,O,B])}},2876:function(e,t,n){"use strict";n.d(t,{Fp:function(){return o},GW:function(){return i},I4:function(){return h},JB:function(){return S},KX:function(){return E},NM:function(){return a},Qq:function(){return v},Rn:function(){return m},VV:function(){return r},Wh:function(){return g},gy:function(){return b},hp:function(){return p},i8:function(){return y},k3:function(){return f},ku:function(){return d},pw:function(){return x},uZ:function(){return u},yd:function(){return k},ze:function(){return l}});let r=Math.min,o=Math.max,a=Math.round,i=Math.floor,l=e=>({x:e,y:e}),c={left:"right",right:"left",bottom:"top",top:"bottom"},s={start:"end",end:"start"};function u(e,t,n){return o(e,r(t,n))}function d(e,t){return"function"==typeof e?e(t):e}function f(e){return e.split("-")[0]}function p(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(f(e))?"y":"x"}function g(e){return m(v(e))}function y(e,t,n){void 0===n&&(n=!1);let r=p(e),o=g(e),a=h(o),i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=x(i)),[i,x(i)]}function b(e){let t=x(e);return[w(e),t,w(t)]}function w(e){return e.replace(/start|end/g,e=>s[e])}function E(e,t,n,r){let o=p(e),a=function(e,t,n){let r=["left","right"],o=["right","left"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(f(e),"start"===n,r);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(w)))),a}function x(e){return e.replace(/left|right|bottom|top/g,e=>c[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},8321:function(e,t,n){"use strict";function r(e){return i(e)?(e.nodeName||"").toLowerCase():"#document"}function o(e){var t;return(null==e?void 0:null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function a(e){var t;return null==(t=(i(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function i(e){return e instanceof Node||e instanceof o(e).Node}function l(e){return e instanceof Element||e instanceof o(e).Element}function c(e){return e instanceof HTMLElement||e instanceof o(e).HTMLElement}function s(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof o(e).ShadowRoot)}function u(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function d(e){return["table","td","th"].includes(r(e))}function f(e){let t=m(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function p(e){let t=y(e);for(;c(t)&&!h(t);){if(f(t))return t;t=y(t)}return null}function m(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function h(e){return["html","body","#document"].includes(r(e))}function v(e){return o(e).getComputedStyle(e)}function g(e){return l(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||s(e)&&e.host||a(e);return s(t)?t.host:t}n.d(t,{Dx:function(){return v},Jj:function(){return o},Kx:function(){return function e(t,n,r){var a;void 0===n&&(n=[]),void 0===r&&(r=!0);let i=function e(t){let n=y(t);return h(n)?t.ownerDocument?t.ownerDocument.body:t.body:c(n)&&u(n)?n:e(n)}(t),l=i===(null==(a=t.ownerDocument)?void 0:a.body),s=o(i);return l?n.concat(s,s.visualViewport||[],u(i)?i:[],s.frameElement&&r?e(s.frameElement):[]):n.concat(i,e(i,[],r))}},Lw:function(){return g},Ow:function(){return y},Pf:function(){return m},Py:function(){return h},Re:function(){return c},Ze:function(){return d},ao:function(){return u},gQ:function(){return p},hT:function(){return f},kK:function(){return l},tF:function(){return a},wk:function(){return r}})},5010:function(e,t,n){"use strict";n.d(t,{A:function(){return w}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u=n(1835),d=n(7878),f=n(4485),p=n(9662),m={root:"m-8d3f4000",loader:"m-302b9fb1",icon:"m-8d3afb97",group:"m-1a0f1b21"};let h={orientation:"horizontal"},v=(0,a.Z)((e,{borderWidth:t})=>({group:{"--ai-border-width":(0,f.h)(t)}})),g=(0,p.d)((e,t)=>{let n=(0,i.w)("ActionIconGroup",h,e),{className:o,style:a,classNames:s,styles:u,unstyled:d,orientation:f,vars:p,borderWidth:g,variant:y,mod:b,...w}=(0,i.w)("ActionIconGroup",h,e),E=(0,l.y)({name:"ActionIconGroup",props:n,classes:m,className:o,style:a,classNames:s,styles:u,unstyled:d,vars:p,varsResolver:v,rootSelector:"group"});return r.createElement(c.x,{...E("group"),ref:t,variant:y,mod:[{"data-orientation":f},b],role:"group",...w})});g.classes=m,g.displayName="@mantine/core/ActionIconGroup";let y={},b=(0,a.Z)((e,{size:t,radius:n,variant:r,gradient:a,color:i,autoContrast:l})=>{let c=e.variantColorResolver({color:i||e.primaryColor,theme:e,gradient:a,variant:r||"filled",autoContrast:l});return{root:{"--ai-size":(0,o.ap)(t,"ai-size"),"--ai-radius":void 0===n?void 0:(0,o.H5)(n),"--ai-bg":i||r?c.background:void 0,"--ai-hover":i||r?c.hover:void 0,"--ai-hover-color":i||r?c.hoverColor:void 0,"--ai-color":c.color,"--ai-bd":i||r?c.border:void 0}}}),w=(0,s.b)((e,t)=>{let n=(0,i.w)("ActionIcon",y,e),{className:o,unstyled:a,variant:s,classNames:f,styles:p,style:h,loading:v,loaderProps:g,size:w,color:E,radius:x,__staticSelector:k,gradient:S,vars:C,children:R,disabled:T,"data-disabled":M,autoContrast:L,mod:P,...A}=n,z=(0,l.y)({name:["ActionIcon",k],props:n,className:o,style:h,classes:m,classNames:f,styles:p,unstyled:a,vars:C,varsResolver:b});return r.createElement(d.k,{...z("root",{active:!T&&!v&&!M}),...A,unstyled:a,variant:s,size:w,disabled:T||v,ref:t,mod:[{loading:v,disabled:T||M},P]},r.createElement(c.x,{component:"span",...z("loader"),"aria-hidden":!0},r.createElement(u.a,{color:"var(--ai-color)",size:"calc(var(--ai-size) * 0.55)",...g})),r.createElement(c.x,{component:"span",mod:{loading:v},...z("icon")},R))});w.classes=m,w.displayName="@mantine/core/ActionIcon",w.Group=g},1996:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(7378),o=n(624),a=n(7226),i=n(5427),l=n(149),c={root:"m-849cf0da"};let s={underline:"hover"},u=(0,i.b)((e,t)=>{let{underline:n,className:i,unstyled:u,mod:d,...f}=(0,a.w)("Anchor",s,e);return r.createElement(l.x,{component:"a",ref:t,className:(0,o.Z)({[c.root]:!u},i),...f,mod:[{underline:n},d],__staticSelector:"Anchor",unstyled:u})});u.classes=c,u.displayName="@mantine/core/Anchor"},2153:function(e,t,n){"use strict";n.d(t,{V:function(){return X}});var r=n(7378),o=n(3658),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u=n(673);let[d,f]=(0,u.R)("AppShell was not found in tree");var p={root:"m-89ab340",navbar:"m-45252eee",aside:"m-9cdde9a",header:"m-3b16f56b",main:"m-8983817",footer:"m-3840c879",section:"m-6dcfc7c7"};let m={},h=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellAside",m,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:h,mod:v,...g}=n,y=f();return y.disabled?null:r.createElement(c.x,{component:"aside",ref:t,mod:[{"with-border":p??y.withBorder},v],...y.getStyles("aside",{className:a,classNames:o,styles:s,style:l}),...g,__vars:{"--app-shell-aside-z-index":`calc(${h??y.zIndex} + 1)`}})});h.classes=p,h.displayName="@mantine/core/AppShellAside";var v=n(624),g=n(8323);let y={},b=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellFooter",y,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:m,mod:h,...b}=n,w=f();return w.disabled?null:r.createElement(c.x,{component:"footer",ref:t,mod:[{"with-border":p??w.withBorder},h],...w.getStyles("footer",{className:(0,v.Z)({[g.Z.classNames.zeroRight]:w.offsetScrollbars},a),classNames:o,styles:s,style:l}),...b,__vars:{"--app-shell-footer-z-index":(m??w.zIndex)?.toString()}})});b.classes=p,b.displayName="@mantine/core/AppShellFooter";let w={},E=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellHeader",w,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:m,mod:h,...y}=n,b=f();return b.disabled?null:r.createElement(c.x,{component:"header",ref:t,mod:[{"with-border":p??b.withBorder},h],...b.getStyles("header",{className:(0,v.Z)({[g.Z.classNames.zeroRight]:b.offsetScrollbars},a),classNames:o,styles:s,style:l}),...y,__vars:{"--app-shell-header-z-index":(m??b.zIndex)?.toString()}})});E.classes=p,E.displayName="@mantine/core/AppShellHeader";let x={},k=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellMain",x,e),{classNames:o,className:a,style:l,styles:s,vars:u,...d}=n,p=f();return r.createElement(c.x,{component:"main",ref:t,...p.getStyles("main",{className:a,style:l,classNames:o,styles:s}),...d})});k.classes=p,k.displayName="@mantine/core/AppShellMain";var S=n(8373),C=n(7040),R=n(8291),T=n(3613),M=n(4485),L=n(3512);function P(e,t){return e in t.breakpoints?(0,L.px)(t.breakpoints[e]):(0,L.px)(e)}function A(e,t){let n=e.map(e=>({value:e,px:P(e,t)}));return n.sort((e,t)=>e.px-t.px),n}function z(e){return"object"==typeof e?e.base:e}function N(e){let t="object"==typeof e&&null!==e&&void 0!==e.base&&1===Object.keys(e).length;return"number"==typeof e||"string"==typeof e||t}function I(e){return"object"==typeof e&&null!==e&&(1!==Object.keys(e).length||!("base"in e))}var $=n(947);function D(e){return 0===Number(e)?"0px":(0,$.bG)(e)}function F({navbar:e,header:t,aside:n,footer:o,padding:a}){let i=(0,C.rZ)(),l=(0,S.wB)(),{media:c,baseStyles:s}=function({navbar:e,header:t,footer:n,aside:r,padding:o,theme:a}){let i={},l={},c={};!function({baseStyles:e,minMediaStyles:t,maxMediaStyles:n,navbar:r,theme:o}){let a=r?.width,i="translateX(calc(var(--app-shell-navbar-width) * -1))",l="translateX(var(--app-shell-navbar-width))";if(r?.breakpoint&&!r?.collapsed?.mobile&&(n[r?.breakpoint]=n[r?.breakpoint]||{},n[r?.breakpoint]["--app-shell-navbar-width"]="100%",n[r?.breakpoint]["--app-shell-navbar-offset"]="0px"),N(a)){let t=(0,M.h)(z(a));e["--app-shell-navbar-width"]=t,e["--app-shell-navbar-offset"]=t}if(I(a)&&(void 0!==a.base&&(e["--app-shell-navbar-width"]=(0,M.h)(a.base),e["--app-shell-navbar-offset"]=(0,M.h)(a.base)),(0,T.X)(a).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-navbar-width"]=(0,M.h)(a[e]),t[e]["--app-shell-navbar-offset"]=(0,M.h)(a[e]))})),r?.collapsed?.desktop){let e=r.breakpoint;t[e]=t[e]||{},t[e]["--app-shell-navbar-transform"]=i,t[e]["--app-shell-navbar-transform-rtl"]=l,t[e]["--app-shell-navbar-offset"]="0px !important"}if(r?.collapsed?.mobile){let e=P(r.breakpoint,o)-.1;n[e]=n[e]||{},n[e]["--app-shell-navbar-width"]="100%",n[e]["--app-shell-navbar-offset"]="0px",n[e]["--app-shell-navbar-transform"]=i,n[e]["--app-shell-navbar-transform-rtl"]=l}}({baseStyles:c,minMediaStyles:i,maxMediaStyles:l,navbar:e,theme:a}),function({baseStyles:e,minMediaStyles:t,maxMediaStyles:n,aside:r,theme:o}){let a=r?.width,i="translateX(var(--app-shell-aside-width))",l="translateX(calc(var(--app-shell-aside-width) * -1))";if(r?.breakpoint&&!r?.collapsed?.mobile&&(n[r?.breakpoint]=n[r?.breakpoint]||{},n[r?.breakpoint]["--app-shell-aside-width"]="100%",n[r?.breakpoint]["--app-shell-aside-offset"]="0px"),N(a)){let t=(0,M.h)(z(a));e["--app-shell-aside-width"]=t,e["--app-shell-aside-offset"]=t}if(I(a)&&(void 0!==a.base&&(e["--app-shell-aside-width"]=(0,M.h)(a.base),e["--app-shell-aside-offset"]=(0,M.h)(a.base)),(0,T.X)(a).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-aside-width"]=(0,M.h)(a[e]),t[e]["--app-shell-aside-offset"]=(0,M.h)(a[e]))})),r?.collapsed?.desktop){let e=r.breakpoint;t[e]=t[e]||{},t[e]["--app-shell-aside-transform"]=i,t[e]["--app-shell-aside-transform-rtl"]=l,t[e]["--app-shell-aside-offset"]="0px !important"}if(r?.collapsed?.mobile){let e=P(r.breakpoint,o)-.1;n[e]=n[e]||{},n[e]["--app-shell-aside-width"]="100%",n[e]["--app-shell-aside-offset"]="0px",n[e]["--app-shell-aside-transform"]=i,n[e]["--app-shell-aside-transform-rtl"]=l}}({baseStyles:c,minMediaStyles:i,maxMediaStyles:l,aside:r,theme:a}),function({baseStyles:e,minMediaStyles:t,header:n}){let r=n?.height,o=n?.offset??!0;if(N(r)){let t=(0,M.h)(z(r));e["--app-shell-header-height"]=t,o&&(e["--app-shell-header-offset"]=t)}I(r)&&(void 0!==r.base&&(e["--app-shell-header-height"]=(0,M.h)(r.base),o&&(e["--app-shell-header-offset"]=(0,M.h)(r.base))),(0,T.X)(r).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-header-height"]=(0,M.h)(r[e]),o&&(t[e]["--app-shell-header-offset"]=(0,M.h)(r[e])))})),n?.collapsed&&(e["--app-shell-header-transform"]="translateY(calc(var(--app-shell-header-height) * -1))",e["--app-shell-header-offset"]="0px !important")}({baseStyles:c,minMediaStyles:i,header:t}),function({baseStyles:e,minMediaStyles:t,footer:n}){let r=n?.height,o=n?.offset??!0;if(N(r)){let t=(0,M.h)(z(r));e["--app-shell-footer-height"]=t,o&&(e["--app-shell-footer-offset"]=t)}I(r)&&(void 0!==r.base&&(e["--app-shell-footer-height"]=(0,M.h)(r.base),o&&(e["--app-shell-footer-offset"]=(0,M.h)(r.base))),(0,T.X)(r).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-footer-height"]=(0,M.h)(r[e]),o&&(t[e]["--app-shell-footer-offset"]=(0,M.h)(r[e])))})),n?.collapsed&&(e["--app-shell-footer-transform"]="translateY(var(--app-shell-footer-height))",e["--app-shell-footer-offset"]="0px !important")}({baseStyles:c,minMediaStyles:i,footer:n}),function({padding:e,baseStyles:t,minMediaStyles:n}){N(e)&&(t["--app-shell-padding"]=D(z(e))),I(e)&&(e.base&&(t["--app-shell-padding"]=D(e.base)),(0,T.X)(e).forEach(t=>{"base"!==t&&(n[t]=n[t]||{},n[t]["--app-shell-padding"]=D(e[t]))}))}({baseStyles:c,minMediaStyles:i,padding:o});let s=A((0,T.X)(i),a).map(e=>({query:`(min-width: ${(0,M.em)(e.px)})`,styles:i[e.value]})),u=A((0,T.X)(l),a).map(e=>({query:`(max-width: ${(0,M.em)(e.px)})`,styles:l[e.value]})),d=[...s,...u];return{baseStyles:c,media:d}}({navbar:e,header:t,footer:o,aside:n,padding:a,theme:i});return r.createElement(R.f,{media:c,styles:s,selector:l.cssVariablesSelector})}let O={},B=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShellNavbar",O,e),{classNames:o,className:a,style:l,styles:s,unstyled:u,vars:d,withBorder:p,zIndex:m,mod:h,...v}=n,g=f();return g.disabled?null:r.createElement(c.x,{component:"nav",ref:t,mod:[{"with-border":p??g.withBorder},h],...g.getStyles("navbar",{className:a,classNames:o,styles:s,style:l}),...v,__vars:{"--app-shell-navbar-z-index":`calc(${m??g.zIndex} + 1)`}})});B.classes=p,B.displayName="@mantine/core/AppShellNavbar";var H=n(5427);let _={},Z=(0,H.b)((e,t)=>{let n=(0,i.w)("AppShellSection",_,e),{classNames:o,className:a,style:l,styles:s,vars:u,grow:d,mod:p,...m}=n,h=f();return r.createElement(c.x,{ref:t,mod:[{grow:d},p],...h.getStyles("section",{className:a,style:l,classNames:o,styles:s}),...m})});Z.classes=p,Z.displayName="@mantine/core/AppShellSection";var W=n(8360),V=n(213);let Y={withBorder:!0,offsetScrollbars:!0,padding:0,transitionDuration:200,transitionTimingFunction:"ease",zIndex:(0,o.w)("app")},j=(0,a.Z)((e,{transitionDuration:t,transitionTimingFunction:n})=>({root:{"--app-shell-transition-duration":`${t}ms`,"--app-shell-transition-timing-function":n}})),X=(0,s.d)((e,t)=>{let n=(0,i.w)("AppShell",Y,e),{classNames:o,className:a,style:s,styles:u,unstyled:f,vars:m,navbar:h,withBorder:v,padding:g,transitionDuration:y,transitionTimingFunction:b,header:w,zIndex:E,layout:x,disabled:k,aside:S,footer:C,offsetScrollbars:R,mod:T,...M}=n,L=(0,l.y)({name:"AppShell",classes:p,props:n,className:a,style:s,classNames:o,styles:u,unstyled:f,vars:m,varsResolver:j}),P=function({transitionDuration:e,disabled:t}){let[n,o]=(0,r.useState)(!1),a=(0,r.useRef)(),i=(0,r.useRef)();return(0,W.s)("resize",()=>{o(!0),clearTimeout(a.current),a.current=window.setTimeout(()=>o(!1),200)}),(0,V.Y)(()=>{o(!0),clearTimeout(i.current),i.current=window.setTimeout(()=>o(!1),e||0)},[t,e]),n}({disabled:k,transitionDuration:y});return r.createElement(d,{value:{getStyles:L,withBorder:v,zIndex:E,disabled:k,offsetScrollbars:R}},r.createElement(F,{navbar:h,header:w,aside:S,footer:C,padding:g}),r.createElement(c.x,{ref:t,...L("root"),mod:[{resizing:P,layout:x,disabled:k},T],...M}))});X.classes=p,X.displayName="@mantine/core/AppShell",X.Navbar=B,X.Header=E,X.Main=k,X.Aside=h,X.Footer=b,X.Section=Z},5083:function(e,t,n){"use strict";n.d(t,{C:function(){return m}});var r=n(7378),o=n(947),a=n(6415),i=n(9104),l=n(7226),c=n(7208),s=n(1799),u=n(5427),d={root:"m-347db0ec","root--dot":"m-fbd81e3d",label:"m-5add502a",section:"m-91fdda9b"};let f={},p=(0,a.Z)((e,{radius:t,color:n,gradient:r,variant:a,size:l,autoContrast:c})=>{let s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:r,variant:a||"filled",autoContrast:c});return{root:{"--badge-height":(0,o.ap)(l,"badge-height"),"--badge-padding-x":(0,o.ap)(l,"badge-padding-x"),"--badge-fz":(0,o.ap)(l,"badge-fz"),"--badge-radius":void 0===t?void 0:(0,o.H5)(t),"--badge-bg":n||a?s.background:void 0,"--badge-color":n||a?s.color:void 0,"--badge-bd":n||a?s.border:void 0,"--badge-dot-color":"dot"===a?(0,i.p)(n,e):void 0}}}),m=(0,u.b)((e,t)=>{let n=(0,l.w)("Badge",f,e),{classNames:o,className:a,style:i,styles:u,unstyled:m,vars:h,radius:v,color:g,gradient:y,leftSection:b,rightSection:w,children:E,variant:x,fullWidth:k,autoContrast:S,circle:C,mod:R,...T}=n,M=(0,c.y)({name:"Badge",props:n,classes:d,className:a,style:i,classNames:o,styles:u,unstyled:m,vars:h,varsResolver:p});return r.createElement(s.x,{variant:x,mod:[{block:k,circle:C},R],...M("root",{variant:x}),ref:t,...T},b&&r.createElement("span",{...M("section"),"data-position":"left"},b),r.createElement("span",{...M("label")},E),w&&r.createElement("span",{...M("section"),"data-position":"right"},w))});m.classes=d,m.displayName="@mantine/core/Badge"},6030:function(e,t,n){"use strict";n.d(t,{z:function(){return w}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u=n(1835),d=n(7878),f=n(4485),p=n(9662),m={root:"m-77c9d27d",inner:"m-80f1301b",loader:"m-a25b86ee",label:"m-811560b9",section:"m-a74036a",group:"m-80d6d844"};let h={orientation:"horizontal"},v=(0,a.Z)((e,{borderWidth:t})=>({group:{"--button-border-width":(0,f.h)(t)}})),g=(0,p.d)((e,t)=>{let n=(0,i.w)("ButtonGroup",h,e),{className:o,style:a,classNames:s,styles:u,unstyled:d,orientation:f,vars:p,borderWidth:g,variant:y,mod:b,...w}=(0,i.w)("ButtonGroup",h,e),E=(0,l.y)({name:"ButtonGroup",props:n,classes:m,className:o,style:a,classNames:s,styles:u,unstyled:d,vars:p,varsResolver:v,rootSelector:"group"});return r.createElement(c.x,{...E("group"),ref:t,variant:y,mod:[{"data-orientation":f},b],role:"group",...w})});g.classes=m,g.displayName="@mantine/core/ButtonGroup";let y={},b=(0,a.Z)((e,{radius:t,color:n,gradient:r,variant:a,size:i,justify:l,autoContrast:c})=>{let s=e.variantColorResolver({color:n||e.primaryColor,theme:e,gradient:r,variant:a||"filled",autoContrast:c});return{root:{"--button-justify":l,"--button-height":(0,o.ap)(i,"button-height"),"--button-padding-x":(0,o.ap)(i,"button-padding-x"),"--button-fz":i?.includes("compact")?(0,o.yv)(i.replace("compact-","")):(0,o.yv)(i),"--button-radius":void 0===t?void 0:(0,o.H5)(t),"--button-bg":n||a?s.background:void 0,"--button-hover":n||a?s.hover:void 0,"--button-color":s.color,"--button-bd":n||a?s.border:void 0,"--button-hover-color":n||a?s.hoverColor:void 0}}}),w=(0,s.b)((e,t)=>{let n=(0,i.w)("Button",y,e),{style:o,vars:a,className:s,color:f,disabled:p,children:h,leftSection:v,rightSection:g,fullWidth:w,variant:E,radius:x,loading:k,loaderProps:S,gradient:C,classNames:R,styles:T,unstyled:M,"data-disabled":L,autoContrast:P,mod:A,...z}=n,N=(0,l.y)({name:"Button",props:n,classes:m,className:s,style:o,classNames:R,styles:T,unstyled:M,vars:a,varsResolver:b}),I=!!v,$=!!g;return r.createElement(d.k,{ref:t,...N("root",{active:!p&&!k&&!L}),unstyled:M,variant:E,disabled:p||k,mod:[{disabled:p||L,loading:k,block:w,"with-left-section":I,"with-right-section":$},A],...z},r.createElement(c.x,{component:"span",...N("loader"),"aria-hidden":!0},r.createElement(u.a,{color:"var(--button-color)",size:"calc(var(--button-height) / 1.8)",...S})),r.createElement("span",{...N("inner")},v&&r.createElement(c.x,{component:"span",...N("section"),mod:{position:"left"}},v),r.createElement(c.x,{component:"span",mod:{loading:k},...N("label")},h),g&&r.createElement(c.x,{component:"span",...N("section"),mod:{position:"right"}},g)))});w.classes=m,w.displayName="@mantine/core/Button",w.Group=g},9756:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(5427),s=n(6900),u=n(673);let[d,f]=(0,u.R)("Card component was not found in tree");var p=n(1799),m={root:"m-e615b15f",section:"m-599a2148"};let h={},v=(0,c.b)((e,t)=>{let n=(0,i.w)("CardSection",h,e),{classNames:o,className:a,style:l,styles:c,vars:s,withBorder:u,inheritPadding:d,mod:m,...v}=n,g=f();return r.createElement(p.x,{ref:t,mod:[{"with-border":u,"inherit-padding":d},m],...g.getStyles("section",{className:a,style:l,styles:c,classNames:o}),...v})});v.classes=m,v.displayName="@mantine/core/CardSection";let g={},y=(0,a.Z)((e,{padding:t})=>({root:{"--card-padding":(0,o.bG)(t)}})),b=(0,c.b)((e,t)=>{let n=(0,i.w)("Card",g,e),{classNames:o,className:a,style:c,styles:u,unstyled:f,vars:p,children:h,padding:b,...w}=n,E=(0,l.y)({name:"Card",props:n,classes:m,className:a,style:c,classNames:o,styles:u,unstyled:f,vars:p,varsResolver:y}),x=r.Children.toArray(h),k=x.map((e,t)=>"object"==typeof e&&e&&"type"in e&&e.type===v?(0,r.cloneElement)(e,{"data-first-section":0===t||void 0,"data-last-section":t===x.length-1||void 0}):e);return r.createElement(d,{value:{getStyles:E}},r.createElement(s.X,{ref:t,unstyled:f,...E("root"),...w},k))});b.classes=m,b.displayName="@mantine/core/Card",b.Section=v},4022:function(e,t,n){"use strict";n.d(t,{M:function(){return u}});var r=n(7378),o=n(7226),a=n(7208),i=n(1799),l=n(5427),c={root:"m-4451eb3a"};let s={},u=(0,l.b)((e,t)=>{let n=(0,o.w)("Center",s,e),{classNames:l,className:u,style:d,styles:f,unstyled:p,vars:m,inline:h,mod:v,...g}=n,y=(0,a.y)({name:"Center",props:n,classes:c,className:u,style:d,classNames:l,styles:f,unstyled:p,vars:m});return r.createElement(i.x,{ref:t,mod:[{inline:h},v],...y("root"),...g})});u.classes=c,u.displayName="@mantine/core/Center"},8970:function(e,t,n){"use strict";n.d(t,{E:function(){return p}});var r=n(7378),o=n(6415),a=n(9104),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-b183c0a2"};let d={},f=(0,o.Z)((e,{color:t})=>({root:{"--code-bg":t?(0,a.p)(t,e):void 0}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Code",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,color:v,block:g,variant:y,mod:b,...w}=n,E=(0,l.y)({name:"Code",props:n,classes:u,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return r.createElement(c.x,{component:g?"pre":"code",variant:y,ref:t,mod:[{block:g},b],...E("root"),...w,dir:"ltr"})});p.classes=u,p.displayName="@mantine/core/Code"},7653:function(e,t,n){"use strict";n.d(t,{W:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-7485cace"};let d={},f=(0,a.Z)((e,{size:t,fluid:n})=>({root:{"--container-size":n?void 0:(0,o.ap)(t,"container-size")}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Container",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,fluid:v,mod:g,...y}=n,b=(0,l.y)({name:"Container",classes:u,props:n,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return r.createElement(c.x,{ref:t,mod:[{fluid:v},g],...b("root"),...y})});p.classes=u,p.displayName="@mantine/core/Container"},5348:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(7378),o=n(7226);let a={timeout:1e3};function i(e){let{children:t,timeout:n,value:i,...l}=(0,o.w)("CopyButton",a,e),c=function({timeout:e=2e3}={}){let[t,n]=(0,r.useState)(null),[o,a]=(0,r.useState)(!1),[i,l]=(0,r.useState)(null),c=t=>{window.clearTimeout(i),l(window.setTimeout(()=>a(!1),e)),a(t)};return{copy:e=>{"clipboard"in navigator?navigator.clipboard.writeText(e).then(()=>c(!0)).catch(e=>n(e)):n(Error("useClipboard: navigator.clipboard is not supported"))},reset:()=>{a(!1),n(null),window.clearTimeout(i)},error:t,copied:o}}({timeout:n});return r.createElement(r.Fragment,null,t({copy:()=>c.copy(i),copied:c.copied,...l}))}i.displayName="@mantine/core/CopyButton"},4488:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n(7378),o=n(892),a=n(4485);function i(e,t,n,r){return"center"===e||"center"===r?{top:t}:"end"===e?{bottom:n}:"start"===e?{top:n}:{}}function l(e,t,n,r,o){return"center"===e||"center"===r?{left:t}:"end"===e?{["ltr"===o?"right":"left"]:n}:"start"===e?{["ltr"===o?"left":"right"]:n}:{}}let c={bottom:"borderTopLeftRadius",left:"borderTopRightRadius",right:"borderBottomLeftRadius",top:"borderBottomRightRadius"},s=(0,r.forwardRef)(({position:e,arrowSize:t,arrowOffset:n,arrowRadius:s,arrowPosition:u,visible:d,arrowX:f,arrowY:p,style:m,...h},v)=>{let{dir:g}=(0,o.gm)();return d?r.createElement("div",{...h,ref:v,style:{...m,...function({position:e,arrowSize:t,arrowOffset:n,arrowRadius:r,arrowPosition:o,arrowX:s,arrowY:u,dir:d}){let[f,p="center"]=e.split("-"),m={width:(0,a.h)(t),height:(0,a.h)(t),transform:"rotate(45deg)",position:"absolute",[c[f]]:(0,a.h)(r)},h=(0,a.h)(-t/2);return"left"===f?{...m,...i(p,u,n,o),right:h,borderLeftColor:"transparent",borderBottomColor:"transparent"}:"right"===f?{...m,...i(p,u,n,o),left:h,borderRightColor:"transparent",borderTopColor:"transparent"}:"top"===f?{...m,...l(p,s,n,o,d),bottom:h,borderTopColor:"transparent",borderLeftColor:"transparent"}:"bottom"===f?{...m,...l(p,s,n,o,d),top:h,borderBottomColor:"transparent",borderRightColor:"transparent"}:{}}({position:e,arrowSize:t,arrowOffset:n,arrowRadius:s,arrowPosition:u,dir:g,arrowX:f,arrowY:p})}}):null});s.displayName="@mantine/core/FloatingArrow"},3098:function(e,t,n){"use strict";function r(e,t){if("rtl"===e&&(t.includes("right")||t.includes("left"))){let[e,n]=t.split("-"),r="right"===e?"left":"right";return void 0===n?r:`${r}-${n}`}return t}n.d(t,{_:function(){return r}})},2966:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(7378),o=n(6345),a=n(6145);function i({opened:e,floating:t,position:n,positionDependencies:i}){let[l,c]=(0,r.useState)(0);(0,r.useEffect)(()=>{if(t.refs.reference.current&&t.refs.floating.current)return(0,o.Me)(t.refs.reference.current,t.refs.floating.current,t.update)},[t.refs.reference.current,t.refs.floating.current,e,l,n]),(0,a.l)(()=>{t.update()},i),(0,a.l)(()=>{c(e=>e+1)},[e])}},1487:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-4081bf90"};let d={preventGrowOverflow:!0,gap:"md",align:"center",justify:"flex-start",wrap:"wrap"},f=(0,a.Z)((e,{grow:t,preventGrowOverflow:n,gap:r,align:a,justify:i,wrap:l},{childWidth:c})=>({root:{"--group-child-width":t&&n?c:void 0,"--group-gap":(0,o.bG)(r),"--group-align":a,"--group-justify":i,"--group-wrap":l}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Group",d,e),{classNames:a,className:s,style:p,styles:m,unstyled:h,children:v,gap:g,align:y,justify:b,wrap:w,grow:E,preventGrowOverflow:x,vars:k,variant:S,__size:C,mod:R,...T}=n,M=r.Children.toArray(v).filter(Boolean),L=M.length,P=(0,o.bG)(g??"md"),A=`calc(${100/L}% - (${P} - ${P} / ${L}))`,z=(0,l.y)({name:"Group",props:n,stylesCtx:{childWidth:A},className:s,style:p,classes:u,classNames:a,styles:m,unstyled:h,vars:k,varsResolver:f});return r.createElement(c.x,{...z("root"),ref:t,variant:S,mod:[{grow:E},R],size:C,...T},M)});p.classes=u,p.displayName="@mantine/core/Group"},4366:function(e,t,n){"use strict";n.d(t,{y:function(){return b}});var r=n(7378),o=n(7226),a=n(5427),i=n(6415),l=n(7208),c=n(1799),s=n(9662),u=n(4710);function d({color:e,theme:t,defaultShade:n}){let r=(0,u.E)({color:e,theme:t});return r.isThemeColor?void 0===r.shade?`var(--mantine-color-${r.color}-${n})`:`var(${r.variable})`:e}var f={root:"m-bcb3f3c2"};let p={color:"yellow"},m=(0,i.Z)((e,{color:t})=>({root:{"--mark-bg-dark":d({color:t,theme:e,defaultShade:5}),"--mark-bg-light":d({color:t,theme:e,defaultShade:2})}})),h=(0,s.d)((e,t)=>{let n=(0,o.w)("Mark",p,e),{classNames:a,className:i,style:s,styles:u,unstyled:d,vars:h,color:v,variant:g,...y}=n,b=(0,l.y)({name:"Mark",props:n,className:i,style:s,classes:f,classNames:a,styles:u,unstyled:d,vars:h,varsResolver:m});return r.createElement(c.x,{component:"mark",ref:t,variant:g,...b("root"),...y})});h.classes=f,h.displayName="@mantine/core/Mark";var v=n(149);function g(e){return e.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&")}let y={},b=(0,a.b)((e,t)=>{let{unstyled:n,children:a,highlight:i,highlightStyles:l,color:c,...s}=(0,o.w)("Highlight",y,e),u=function(e,t){if(null==t)return[{chunk:e,highlighted:!1}];let n=Array.isArray(t)?t.map(g):g(t),r=Array.isArray(n)?n.filter(e=>e.trim().length>0).length>0:""!==n.trim();if(!r)return[{chunk:e,highlighted:!1}];let o="string"==typeof n?n.trim():n.filter(e=>0!==e.trim().length).map(e=>e.trim()).sort((e,t)=>t.length-e.length).join("|"),a=RegExp(`(${o})`,"gi"),i=e.split(a).map(e=>({chunk:e,highlighted:a.test(e)})).filter(({chunk:e})=>e);return i}(a,i);return r.createElement(v.x,{unstyled:n,ref:t,...s,__staticSelector:"Highlight"},u.map(({chunk:e,highlighted:t},o)=>t?r.createElement(h,{unstyled:n,key:o,color:c,style:l,"data-highlight":e},e):r.createElement("span",{key:o},e)))});b.classes=v.x.classes,b.displayName="@mantine/core/Highlight"},531:function(e,t,n){"use strict";n.d(t,{E:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u={root:"m-9e117634"};let d={},f=(0,a.Z)((e,{radius:t,fit:n})=>({root:{"--image-radius":void 0===t?void 0:(0,o.H5)(t),"--image-object-fit":n}})),p=(0,s.b)((e,t)=>{let n=(0,i.w)("Image",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,onError:v,src:g,radius:y,fit:b,fallbackSrc:w,mod:E,...x}=n,[k,S]=(0,r.useState)(!g);(0,r.useEffect)(()=>S(!g),[g]);let C=(0,l.y)({name:"Image",classes:u,props:n,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return k&&w?r.createElement(c.x,{component:"img",src:w,...C("root"),onError:v,mod:["fallback",E],...x}):r.createElement(c.x,{component:"img",ref:t,...C("root"),src:g,onError:e=>{v?.(e),S(!0)},mod:E,...x})});p.classes=u,p.displayName="@mantine/core/Image"},7935:function(e,t,n){"use strict";n.d(t,{I:function(){return z}});var r=n(7378),o=n(4485),a=n(947),i=n(6415),l=n(7226),c=n(7208),s=n(4438),u=n(1799),d=n(5427),f=n(9662),p=n(7487),m={wrapper:"m-6c018570",input:"m-8fb7ebe7",section:"m-82577fc2",placeholder:"m-88bacfd0",root:"m-46b77525",label:"m-8fdc1311",required:"m-78a94662",error:"m-8f816625",description:"m-fe47ce59"};let h={},v=(0,i.Z)((e,{size:t})=>({description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`}})),g=(0,f.d)((e,t)=>{let n=(0,l.w)("InputDescription",h,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,size:g,__staticSelector:y,__inheritStyles:b=!0,variant:w,...E}=(0,l.w)("InputDescription",h,n),x=(0,p.D)(),k=(0,c.y)({name:["InputWrapper",y],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"description",vars:f,varsResolver:v}),S=b&&x?.getStyles||k;return r.createElement(u.x,{component:"p",ref:t,variant:w,size:g,...S("description"),...E})});g.classes=m,g.displayName="@mantine/core/InputDescription";let y={},b=(0,i.Z)((e,{size:t})=>({error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`}})),w=(0,f.d)((e,t)=>{let n=(0,l.w)("InputError",y,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,size:h,__staticSelector:v,__inheritStyles:g=!0,variant:w,...E}=n,x=(0,c.y)({name:["InputWrapper",v],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"error",vars:f,varsResolver:b}),k=(0,p.D)(),S=g&&k?.getStyles||x;return r.createElement(u.x,{component:"p",ref:t,variant:w,size:h,...S("error"),...E})});w.classes=m,w.displayName="@mantine/core/InputError";let E={labelElement:"label"},x=(0,i.Z)((e,{size:t})=>({label:{"--input-label-size":(0,a.yv)(t),"--input-asterisk-color":void 0}})),k=(0,f.d)((e,t)=>{let n=(0,l.w)("InputLabel",E,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,labelElement:h,size:v,required:g,htmlFor:y,onMouseDown:b,children:w,__staticSelector:k,variant:S,mod:C,...R}=(0,l.w)("InputLabel",E,n),T=(0,c.y)({name:["InputWrapper",k],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"label",vars:f,varsResolver:x}),M=(0,p.D)(),L=M?.getStyles||T;return r.createElement(u.x,{...L("label"),component:h,variant:S,size:v,ref:t,htmlFor:"label"===h?y:void 0,mod:[{required:g},C],onMouseDown:e=>{b?.(e),!e.defaultPrevented&&e.detail>1&&e.preventDefault()},...R},w,g&&r.createElement("span",{...L("required"),"aria-hidden":!0}," *"))});k.classes=m,k.displayName="@mantine/core/InputLabel";let S={},C=(0,f.d)((e,t)=>{let n=(0,l.w)("InputPlaceholder",S,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,__staticSelector:p,variant:h,error:v,mod:g,...y}=(0,l.w)("InputPlaceholder",S,n),b=(0,c.y)({name:["InputPlaceholder",p],props:n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,rootSelector:"placeholder"});return r.createElement(u.x,{...b("placeholder"),mod:[{error:!!v},g],component:"span",variant:h,ref:t,...y})});C.classes=m,C.displayName="@mantine/core/InputPlaceholder";var R=n(6184);let T={labelElement:"label",inputContainer:e=>e,inputWrapperOrder:["label","description","input","error"]},M=(0,i.Z)((e,{size:t})=>({label:{"--input-label-size":(0,a.yv)(t),"--input-asterisk-color":void 0},error:{"--input-error-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`},description:{"--input-description-size":void 0===t?void 0:`calc(${(0,a.yv)(t)} - ${(0,o.h)(2)})`}})),L=(0,f.d)((e,t)=>{let n=(0,l.w)("InputWrapper",T,e),{classNames:o,className:a,style:i,styles:s,unstyled:d,vars:f,size:h,variant:v,__staticSelector:y,inputContainer:b,inputWrapperOrder:E,label:x,error:S,description:C,labelProps:L,descriptionProps:P,errorProps:A,labelElement:z,children:N,withAsterisk:I,id:$,required:D,__stylesApiProps:F,mod:O,...B}=n,H=(0,c.y)({name:["InputWrapper",y],props:F||n,classes:m,className:a,style:i,classNames:o,styles:s,unstyled:d,vars:f,varsResolver:M}),_={size:h,variant:v,__staticSelector:y},Z=(0,R.M)($),W=A?.id||`${Z}-error`,V=P?.id||`${Z}-description`,Y=!!S&&"boolean"!=typeof S,j=!!C,X=`${Y?W:""} ${j?V:""}`,K=X.trim().length>0?X.trim():void 0,G=L?.id||`${Z}-label`,q=x&&r.createElement(k,{key:"label",labelElement:z,id:G,htmlFor:Z,required:"boolean"==typeof I?I:D,..._,...L},x),U=j&&r.createElement(g,{key:"description",...P,..._,size:P?.size||_.size,id:P?.id||V},C),Q=r.createElement(r.Fragment,{key:"input"},b(N)),J=Y&&r.createElement(w,{...A,..._,size:A?.size||_.size,key:"error",id:A?.id||W},S),ee=E.map(e=>{switch(e){case"label":return q;case"input":return Q;case"description":return U;case"error":return J;default:return null}});return r.createElement(p.I,{value:{getStyles:H,describedBy:K,inputId:Z,labelId:G,...function(e,{hasDescription:t,hasError:n}){let r=e.findIndex(e=>"input"===e),o=e[r-1],a=e[r+1];return{offsetBottom:t&&"description"===a||n&&"error"===a,offsetTop:t&&"description"===o||n&&"error"===o}}(E,{hasDescription:j,hasError:Y})}},r.createElement(u.x,{ref:t,variant:v,size:h,mod:[{error:!!S},O],...H("root"),...B},ee))});L.classes=m,L.displayName="@mantine/core/InputWrapper";let P={variant:"default",leftSectionPointerEvents:"none",rightSectionPointerEvents:"none",withAria:!0,withErrorStyles:!0},A=(0,i.Z)((e,t,n)=>({wrapper:{"--input-margin-top":n.offsetTop?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-margin-bottom":n.offsetBottom?"calc(var(--mantine-spacing-xs) / 2)":void 0,"--input-height":(0,a.ap)(t.size,"input-height"),"--input-fz":(0,a.yv)(t.size),"--input-radius":void 0===t.radius?void 0:(0,a.H5)(t.radius),"--input-left-section-width":void 0!==t.leftSectionWidth?(0,o.h)(t.leftSectionWidth):void 0,"--input-right-section-width":void 0!==t.rightSectionWidth?(0,o.h)(t.rightSectionWidth):void 0,"--input-padding-y":t.multiline?(0,a.ap)(t.size,"input-padding-y"):void 0,"--input-left-section-pointer-events":t.leftSectionPointerEvents,"--input-right-section-pointer-events":t.rightSectionPointerEvents}})),z=(0,d.b)((e,t)=>{let n=(0,l.w)("Input",P,e),{classNames:o,className:a,style:i,styles:d,unstyled:f,required:h,__staticSelector:v,__stylesApiProps:g,size:y,wrapperProps:b,error:w,disabled:E,leftSection:x,leftSectionProps:k,leftSectionWidth:S,rightSection:C,rightSectionProps:R,rightSectionWidth:T,rightSectionPointerEvents:M,leftSectionPointerEvents:L,variant:z,vars:N,pointer:I,multiline:$,radius:D,id:F,withAria:O,withErrorStyles:B,mod:H,..._}=n,{styleProps:Z,rest:W}=(0,s.c)(_),V=(0,p.D)(),Y={offsetBottom:V?.offsetBottom,offsetTop:V?.offsetTop},j=(0,c.y)({name:["Input",v],props:g||n,classes:m,className:a,style:i,classNames:o,styles:d,unstyled:f,stylesCtx:Y,rootSelector:"wrapper",vars:N,varsResolver:A}),X=O?{required:h,disabled:E,"aria-invalid":!!w,"aria-describedby":V?.describedBy,id:V?.inputId||F}:{};return r.createElement(u.x,{...j("wrapper"),...Z,...b,mod:[{error:!!w&&B,pointer:I,disabled:E,multiline:$,"data-with-right-section":!!C,"data-with-left-section":!!x},H],variant:z,size:y},x&&r.createElement("div",{...k,"data-position":"left",...j("section",{className:k?.className,style:k?.style})},x),r.createElement(u.x,{component:"input",...W,...X,ref:t,required:h,mod:{disabled:E,error:!!w&&B},variant:z,...j("input")}),C&&r.createElement("div",{...R,"data-position":"right",...j("section",{className:R?.className,style:R?.style})},C))});z.classes=m,z.Wrapper=L,z.Label=k,z.Error=w,z.Description=g,z.Placeholder=C,z.displayName="@mantine/core/Input"},7487:function(e,t,n){"use strict";n.d(t,{D:function(){return a},I:function(){return o}}),n(7378);var r=n(2740);let[o,a]=(0,r.V)({offsetBottom:!1,offsetTop:!1,describedBy:void 0,getStyles:null,inputId:void 0,labelId:void 0})},4749:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(7378),o=n(5427),a=n(7935),i=n(7226),l=n(4438);let c={__staticSelector:"InputBase",withAria:!0},s=(0,o.b)((e,t)=>{let{inputProps:n,wrapperProps:o,...s}=function(e,t,n){let r=(0,i.w)(e,t,n),{label:o,description:a,error:c,required:s,classNames:u,styles:d,className:f,unstyled:p,__staticSelector:m,__stylesApiProps:h,errorProps:v,labelProps:g,descriptionProps:y,wrapperProps:b,id:w,size:E,style:x,inputContainer:k,inputWrapperOrder:S,withAsterisk:C,variant:R,vars:T,mod:M,...L}=r,{styleProps:P,rest:A}=(0,l.c)(L),z={label:o,description:a,error:c,required:s,classNames:u,className:f,__staticSelector:m,__stylesApiProps:h||r,errorProps:v,labelProps:g,descriptionProps:y,unstyled:p,styles:d,size:E,style:x,inputContainer:k,inputWrapperOrder:S,withAsterisk:C,variant:R,id:w,mod:M,...b};return{...A,classNames:u,styles:d,unstyled:p,wrapperProps:{...z,...P},inputProps:{required:s,classNames:u,styles:d,unstyled:p,size:E,__staticSelector:m,__stylesApiProps:h||r,error:c,variant:R,id:w}}}("InputBase",c,e);return r.createElement(a.I.Wrapper,{...o},r.createElement(a.I,{...n,...s,ref:t}))});s.classes={...a.I.classes,...a.I.Wrapper.classes},s.displayName="@mantine/core/InputBase"},1835:function(e,t,n){"use strict";n.d(t,{a:function(){return b}});var r=n(7378),o=n(947),a=n(6415),i=n(9104),l=n(7226),c=n(7208),s=n(1799),u=n(9662),d=n(624),f={root:"m-5ae2e3c",barsLoader:"m-7a2bd4cd",bar:"m-870bb79","bars-loader-animation":"m-5d2b3b9d",dotsLoader:"m-4e3f22d7",dot:"m-870c4af","loader-dots-animation":"m-aac34a1",ovalLoader:"m-b34414df","oval-loader-animation":"m-f8e89c4b"};let p=(0,r.forwardRef)(({className:e,...t},n)=>r.createElement(s.x,{component:"span",className:(0,d.Z)(f.barsLoader,e),...t,ref:n},r.createElement("span",{className:f.bar}),r.createElement("span",{className:f.bar}),r.createElement("span",{className:f.bar}))),m=(0,r.forwardRef)(({className:e,...t},n)=>r.createElement(s.x,{component:"span",className:(0,d.Z)(f.dotsLoader,e),...t,ref:n},r.createElement("span",{className:f.dot}),r.createElement("span",{className:f.dot}),r.createElement("span",{className:f.dot}))),h=(0,r.forwardRef)(({className:e,...t},n)=>r.createElement(s.x,{component:"span",className:(0,d.Z)(f.ovalLoader,e),...t,ref:n})),v={bars:p,oval:h,dots:m},g={loaders:v,type:"oval"},y=(0,a.Z)((e,{size:t,color:n})=>({root:{"--loader-size":(0,o.ap)(t,"loader-size"),"--loader-color":n?(0,i.p)(n,e):void 0}})),b=(0,u.d)((e,t)=>{let n=(0,l.w)("Loader",g,e),{size:o,color:a,type:i,vars:u,className:d,style:p,classNames:m,styles:h,unstyled:v,loaders:b,variant:w,children:E,...x}=n,k=(0,c.y)({name:"Loader",props:n,classes:f,className:d,style:p,classNames:m,styles:h,unstyled:v,vars:u,varsResolver:y});return E?r.createElement(s.x,{...k("root"),ref:t,...x},E):r.createElement(s.x,{...k("root"),ref:t,component:b[i],variant:w,size:o,...x})});b.defaultLoaders=v,b.classes=f,b.displayName="@mantine/core/Loader"},6900:function(e,t,n){"use strict";n.d(t,{X:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(5427),u={root:"m-1b7284a3"};let d={},f=(0,a.Z)((e,{radius:t,shadow:n})=>({root:{"--paper-radius":void 0===t?void 0:(0,o.H5)(t),"--paper-shadow":(0,o.Xj)(n)}})),p=(0,s.b)((e,t)=>{let n=(0,i.w)("Paper",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,withBorder:h,vars:v,radius:g,shadow:y,variant:b,mod:w,...E}=n,x=(0,l.y)({name:"Paper",props:n,classes:u,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:v,varsResolver:f});return r.createElement(c.x,{ref:t,mod:[{"data-with-border":h},w],...x("root"),variant:b,...E})});p.classes=u,p.displayName="@mantine/core/Paper"},825:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(7378),o=n(1542),a=n(213),i=n(183),l=n(7226);let c={},s=(0,r.forwardRef)((e,t)=>{let{children:n,target:s,...u}=(0,l.w)("Portal",c,e),[d,f]=(0,r.useState)(!1),p=(0,r.useRef)(null);return((0,a.Y)(()=>(f(!0),p.current=s?"string"==typeof s?document.querySelector(s):s:function(e){let t=document.createElement("div");return t.setAttribute("data-portal","true"),"string"==typeof e.className&&t.classList.add(...e.className.split(" ").filter(Boolean)),"object"==typeof e.style&&Object.assign(t.style,e.style),"string"==typeof e.id&&t.setAttribute("id",e.id),t}(u),(0,i.kR)(t,p.current),!s&&p.current&&document.body.appendChild(p.current),()=>{!s&&p.current&&document.body.removeChild(p.current)}),[s]),d&&p.current)?(0,o.createPortal)(r.createElement(r.Fragment,null,n),p.current):null});function u({withinPortal:e=!0,children:t,...n}){return e?r.createElement(s,{...n},t):r.createElement(r.Fragment,null,t)}s.displayName="@mantine/core/Portal",u.displayName="@mantine/core/OptionalPortal"},603:function(e,t,n){"use strict";n.d(t,{x:function(){return Y}});var r=n(7378),o=n(4485),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u=n(673);let[d,f]=(0,u.R)("ScrollArea.Root component was not found in tree");function p(e){let t=(0,r.useRef)(e);return(0,r.useEffect)(()=>{t.current=e}),(0,r.useMemo)(()=>(...e)=>t.current?.(...e),[])}var m=n(213);function h(e,t){let n=p(t);(0,m.Y)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}let v=r.forwardRef((e,t)=>{let{style:n,...o}=e,a=f(),[i,l]=r.useState(0),[c,s]=r.useState(0);return h(a.scrollbarX,()=>{let e=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(e),s(e)}),h(a.scrollbarY,()=>{let e=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(e),l(e)}),i&&c?r.createElement("div",{...o,ref:t,style:{...n,width:i,height:c}}):null}),g=r.forwardRef((e,t)=>{let n=f(),o=!!(n.scrollbarX&&n.scrollbarY),a="scroll"!==n.type&&o;return a?r.createElement(v,{...e,ref:t}):null});var y=n(183);let b={scrollHideDelay:1e3,type:"hover"},w=(0,r.forwardRef)((e,t)=>{let n=(0,i.w)("ScrollAreaRoot",b,e),{type:o,scrollHideDelay:a,scrollbars:l,...s}=n,[u,f]=(0,r.useState)(null),[p,m]=(0,r.useState)(null),[h,v]=(0,r.useState)(null),[g,w]=(0,r.useState)(null),[E,x]=(0,r.useState)(null),[k,S]=(0,r.useState)(0),[C,R]=(0,r.useState)(0),[T,M]=(0,r.useState)(!1),[L,P]=(0,r.useState)(!1),A=(0,y.Yx)(t,e=>f(e));return r.createElement(d,{value:{type:o,scrollHideDelay:a,scrollArea:u,viewport:p,onViewportChange:m,content:h,onContentChange:v,scrollbarX:g,onScrollbarXChange:w,scrollbarXEnabled:T,onScrollbarXEnabledChange:M,scrollbarY:E,onScrollbarYChange:x,scrollbarYEnabled:L,onScrollbarYEnabledChange:P,onCornerWidthChange:S,onCornerHeightChange:R}},r.createElement(c.x,{...s,ref:A,__vars:{"--sa-corner-width":"xy"!==l?"0px":`${k}px`,"--sa-corner-height":"xy"!==l?"0px":`${C}px`}}))});function E(e,t){let n=p(e),o=(0,r.useRef)(0);return(0,r.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,r.useCallback)(()=>{window.clearTimeout(o.current),o.current=window.setTimeout(n,t)},[n,t])}w.displayName="@mantine/core/ScrollAreaRoot";var x=n(892);function k(e,t){let n=e/t;return Number.isNaN(n)?0:n}function S(e){let t=k(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function C(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function R(e,t,n="ltr"){let r=S(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,i=t.content-t.viewport,l="ltr"===n?[0,i]:[-1*i,0],c=function(e,[t,n]){return Math.min(n,Math.max(t,e))}(e,l),s=C([0,i],[0,a-r]);return s(c)}function T(e){return e?parseInt(e,10):0}function M(e,t,{checkForDefaultPrevented:n=!0}={}){return r=>{e?.(r),!1!==n&&r.defaultPrevented||t?.(r)}}let[L,P]=(0,u.R)("ScrollAreaScrollbar was not found in tree"),A=(0,r.forwardRef)((e,t)=>{let{sizes:n,hasThumb:o,onThumbChange:a,onThumbPointerUp:i,onThumbPointerDown:l,onThumbPositionChange:c,onDragScroll:s,onWheelScroll:u,onResize:d,...m}=e,v=f(),[g,b]=r.useState(null),w=(0,y.Yx)(t,e=>b(e)),x=r.useRef(null),k=r.useRef(""),{viewport:S}=v,C=n.content-n.viewport,R=p(u),T=p(c),P=E(d,10),A=e=>{if(x.current){let t=e.clientX-x.current.left,n=e.clientY-x.current.top;s({x:t,y:n})}};return(0,r.useEffect)(()=>{let e=e=>{let t=e.target,n=g?.contains(t);n&&R(e,C)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[S,g,C,R]),(0,r.useEffect)(T,[n,T]),h(g,P),h(v.content,P),r.createElement(L,{value:{scrollbar:g,hasThumb:o,onThumbChange:p(a),onThumbPointerUp:p(i),onThumbPositionChange:T,onThumbPointerDown:p(l)}},r.createElement("div",{...m,ref:w,style:{position:"absolute",...m.style},onPointerDown:M(e.onPointerDown,e=>{if(0===e.button){let t=e.target;t.setPointerCapture(e.pointerId),x.current=g.getBoundingClientRect(),k.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",A(e)}}),onPointerMove:M(e.onPointerMove,A),onPointerUp:M(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=k.current,x.current=null})}))}),z=(0,r.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:o,style:a,...i}=e,l=f(),[c,s]=(0,r.useState)(),u=(0,r.useRef)(null),d=(0,y.Yx)(t,u,l.onScrollbarXChange);return(0,r.useEffect)(()=>{u.current&&s(getComputedStyle(u.current))},[u]),r.createElement(A,{"data-orientation":"horizontal",...i,ref:d,sizes:n,style:{...a,"--sa-thumb-width":`${S(n)}px`},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,n)=>{if(l.viewport){let r=l.viewport.scrollLeft+t.deltaX;e.onWheelScroll(r),r>0&&r{u.current&&l.viewport&&c&&o({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:T(c.paddingLeft),paddingEnd:T(c.paddingRight)}})}})}),N=(0,r.forwardRef)((e,t)=>{let{sizes:n,onSizesChange:o,style:a,...i}=e,l=f(),[c,s]=r.useState(),u=(0,r.useRef)(null),d=(0,y.Yx)(t,u,l.onScrollbarYChange);return(0,r.useEffect)(()=>{u.current&&s(getComputedStyle(u.current))},[u]),r.createElement(A,{...i,"data-orientation":"vertical",ref:d,sizes:n,style:{"--sa-thumb-height":`${S(n)}px`,...a},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,n)=>{if(l.viewport){let r=l.viewport.scrollTop+t.deltaY;e.onWheelScroll(r),r>0&&r{u.current&&l.viewport&&c&&o({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:T(c.paddingTop),paddingEnd:T(c.paddingBottom)}})}})}),I=(0,r.forwardRef)((e,t)=>{let{orientation:n="vertical",...o}=e,{dir:a}=(0,x.gm)(),i=f(),l=(0,r.useRef)(null),c=(0,r.useRef)(0),[s,u]=(0,r.useState)({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=k(s.viewport,s.content),p={...o,sizes:s,onSizesChange:u,hasThumb:!!(d>0&&d<1),onThumbChange:e=>{l.current=e},onThumbPointerUp:()=>{c.current=0},onThumbPointerDown:e=>{c.current=e}},m=(e,t)=>(function(e,t,n,r="ltr"){let o=S(n),a=t||o/2,i=n.scrollbar.paddingStart+a,l=n.scrollbar.size-n.scrollbar.paddingEnd-(o-a),c=n.content-n.viewport,s=C([i,l],"ltr"===r?[0,c]:[-1*c,0]);return s(e)})(e,c.current,s,t);return"horizontal"===n?r.createElement(z,{...p,ref:t,onThumbPositionChange:()=>{if(i.viewport&&l.current){let e=i.viewport.scrollLeft,t=R(e,s,a);l.current.style.transform=`translate3d(${t}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=m(e,a))}}):"vertical"===n?r.createElement(N,{...p,ref:t,onThumbPositionChange:()=>{if(i.viewport&&l.current){let e=i.viewport.scrollTop,t=R(e,s);l.current.style.transform=`translate3d(0, ${t}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=m(e))}}):null}),$=(0,r.forwardRef)((e,t)=>{let n=f(),{forceMount:o,...a}=e,[i,l]=(0,r.useState)(!1),c="horizontal"===e.orientation,s=E(()=>{if(n.viewport){let e=n.viewport.offsetWidth{let{forceMount:n,...o}=e,a=f(),[i,l]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{let{scrollArea:e}=a,t=0;if(e){let n=()=>{window.clearTimeout(t),l(!0)},r=()=>{t=window.setTimeout(()=>l(!1),a.scrollHideDelay)};return e.addEventListener("pointerenter",n),e.addEventListener("pointerleave",r),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",n),e.removeEventListener("pointerleave",r)}}},[a.scrollArea,a.scrollHideDelay]),n||i)?r.createElement($,{"data-state":i?"visible":"hidden",...o,ref:t}):null}),F=(0,r.forwardRef)((e,t)=>{let{forceMount:n,...o}=e,a=f(),i="horizontal"===e.orientation,[l,c]=(0,r.useState)("hidden"),s=E(()=>c("idle"),100);return((0,r.useEffect)(()=>{if("idle"===l){let e=window.setTimeout(()=>c("hidden"),a.scrollHideDelay);return()=>window.clearTimeout(e)}},[l,a.scrollHideDelay]),(0,r.useEffect)(()=>{let{viewport:e}=a,t=i?"scrollLeft":"scrollTop";if(e){let n=e[t],r=()=>{let r=e[t],o=n!==r;o&&(c("scrolling"),s()),n=r};return e.addEventListener("scroll",r),()=>e.removeEventListener("scroll",r)}},[a.viewport,i,s]),n||"hidden"!==l)?r.createElement(I,{"data-state":"hidden"===l?"hidden":"visible",...o,ref:t,onPointerEnter:M(e.onPointerEnter,()=>c("interacting")),onPointerLeave:M(e.onPointerLeave,()=>c("idle"))}):null}),O=r.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=f(),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:l}=a,c="horizontal"===e.orientation;return r.useEffect(()=>(c?i(!0):l(!0),()=>{c?i(!1):l(!1)}),[c,i,l]),"hover"===a.type?r.createElement(D,{...o,ref:t,forceMount:n}):"scroll"===a.type?r.createElement(F,{...o,ref:t,forceMount:n}):"auto"===a.type?r.createElement($,{...o,ref:t,forceMount:n}):"always"===a.type?r.createElement(I,{...o,ref:t}):null}),B=(0,r.forwardRef)((e,t)=>{let{style:n,...o}=e,a=f(),i=P(),{onThumbPositionChange:l}=i,c=(0,y.Yx)(t,e=>i.onThumbChange(e)),s=(0,r.useRef)(),u=E(()=>{s.current&&(s.current(),s.current=void 0)},100);return(0,r.useEffect)(()=>{let{viewport:e}=a;if(e){let t=()=>{if(u(),!s.current){let t=function(e,t=()=>{}){let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){let a={left:e.scrollLeft,top:e.scrollTop},i=n.left!==a.left,l=n.top!==a.top;(i||l)&&t(),n=a,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)}(e,l);s.current=t,l()}};return l(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[a.viewport,u,l]),r.createElement("div",{"data-state":i.hasThumb?"visible":"hidden",...o,ref:c,style:{width:"var(--sa-thumb-width)",height:"var(--sa-thumb-height)",...n},onPointerDownCapture:M(e.onPointerDownCapture,e=>{let t=e.target,n=t.getBoundingClientRect(),r=e.clientX-n.left,o=e.clientY-n.top;i.onThumbPointerDown({x:r,y:o})}),onPointerUp:M(e.onPointerUp,i.onThumbPointerUp)})}),H=r.forwardRef((e,t)=>{let{forceMount:n,...o}=e,a=P();return n||a.hasThumb?r.createElement(B,{ref:t,...o}):null}),_=(0,r.forwardRef)(({children:e,style:t,...n},o)=>{let a=f(),i=(0,y.Yx)(o,a.onViewportChange);return r.createElement(c.x,{...n,ref:i,style:{overflowX:a.scrollbarXEnabled?"scroll":"hidden",overflowY:a.scrollbarYEnabled?"scroll":"hidden",...t}},r.createElement("div",{style:{minWidth:"100%",display:"table"},ref:a.onContentChange},e))});_.displayName="@mantine/core/ScrollAreaViewport";var Z={root:"m-d57069b5",viewport:"m-c0783ff9",viewportInner:"m-f8f631dd",scrollbar:"m-c44ba933",thumb:"m-d8b5e363",corner:"m-21657268"};let W={scrollHideDelay:1e3,type:"hover",scrollbars:"xy"},V=(0,a.Z)((e,{scrollbarSize:t})=>({root:{"--scrollarea-scrollbar-size":(0,o.h)(t)}})),Y=(0,s.d)((e,t)=>{let n=(0,i.w)("ScrollArea",W,e),{classNames:o,className:a,style:c,styles:s,unstyled:u,scrollbarSize:d,vars:f,type:p,scrollHideDelay:m,viewportProps:h,viewportRef:v,onScrollPositionChange:y,children:b,offsetScrollbars:E,scrollbars:x,...k}=n,[S,C]=(0,r.useState)(!1),R=(0,l.y)({name:"ScrollArea",props:n,classes:Z,className:a,style:c,classNames:o,styles:s,unstyled:u,vars:f,varsResolver:V});return r.createElement(w,{type:"never"===p?"always":p,scrollHideDelay:m,ref:t,scrollbars:x,...R("root"),...k},r.createElement(_,{...h,...R("viewport"),ref:v,"data-offset-scrollbars":!0===E?"xy":E||void 0,"data-scrollbars":x||void 0,onScroll:"function"==typeof y?({currentTarget:e})=>y({x:e.scrollLeft,y:e.scrollTop}):void 0},b),("xy"===x||"x"===x)&&r.createElement(O,{...R("scrollbar"),orientation:"horizontal","data-hidden":"never"===p||void 0,forceMount:!0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1)},r.createElement(H,{...R("thumb")})),("xy"===x||"y"===x)&&r.createElement(O,{...R("scrollbar"),orientation:"vertical","data-hidden":"never"===p||void 0,forceMount:!0,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1)},r.createElement(H,{...R("thumb")})),r.createElement(g,{...R("corner"),"data-hovered":S||void 0,"data-hidden":"never"===p||void 0}))});Y.displayName="@mantine/core/ScrollArea";let j=(0,s.d)((e,t)=>{let{children:n,classNames:o,styles:a,scrollbarSize:l,scrollHideDelay:s,type:u,dir:d,offsetScrollbars:f,viewportRef:p,onScrollPositionChange:m,unstyled:h,variant:v,viewportProps:g,scrollbars:y,style:b,vars:w,...E}=(0,i.w)("ScrollAreaAutosize",W,e);return r.createElement(c.x,{...E,ref:t,style:[{display:"flex",overflow:"auto"},b]},r.createElement(c.x,{style:{display:"flex",flexDirection:"column",flex:1}},r.createElement(Y,{classNames:o,styles:a,scrollHideDelay:s,scrollbarSize:l,type:u,dir:d,offsetScrollbars:f,viewportRef:p,onScrollPositionChange:m,unstyled:h,variant:v,viewportProps:g,vars:w,scrollbars:y},n)))});Y.classes=Z,j.displayName="@mantine/core/ScrollAreaAutosize",j.classes=Z,Y.Autosize=j},5405:function(e,t,n){"use strict";n.d(t,{K:function(){return p}});var r=n(7378),o=n(947),a=n(6415),i=n(7226),l=n(7208),c=n(1799),s=n(9662),u={root:"m-6d731127"};let d={gap:"md",align:"stretch",justify:"flex-start"},f=(0,a.Z)((e,{gap:t,align:n,justify:r})=>({root:{"--stack-gap":(0,o.bG)(t),"--stack-align":n,"--stack-justify":r}})),p=(0,s.d)((e,t)=>{let n=(0,i.w)("Stack",d,e),{classNames:o,className:a,style:s,styles:p,unstyled:m,vars:h,align:v,justify:g,gap:y,variant:b,...w}=n,E=(0,l.y)({name:"Stack",props:n,classes:u,className:a,style:s,classNames:o,styles:p,unstyled:m,vars:h,varsResolver:f});return r.createElement(c.x,{ref:t,...E("root"),variant:b,...w})});p.classes=u,p.displayName="@mantine/core/Stack"},4134:function(e,t,n){"use strict";n.d(t,{r:function(){return T}});var r=n(7378),o=n(6184),a=n(5006),i=n(947),l=n(6415),c=n(9104),s=n(7226),u=n(7208),d=n(4438),f=n(1799),p=n(9662),m=n(7935),h={root:"m-5f75b09e",body:"m-5f6e695e",labelWrapper:"m-d3ea56bb",label:"m-8ee546b8",description:"m-328f68c0",error:"m-8e8a99cc"};let v=(0,r.forwardRef)(({__staticSelector:e,__stylesApiProps:t,className:n,classNames:o,styles:a,unstyled:l,children:c,label:s,description:d,id:p,disabled:v,error:g,size:y,labelPosition:b="left",variant:w,style:E,vars:x,mod:k,...S},C)=>{let R=(0,u.y)({name:e,props:t,className:n,style:E,classes:h,classNames:o,styles:a,unstyled:l});return r.createElement(f.x,{...R("root"),ref:C,__vars:{"--label-fz":(0,i.yv)(y),"--label-lh":(0,i.ap)(y,"label-lh")},mod:[{"label-position":b},k],variant:w,size:y,...S},r.createElement("div",{...R("body")},c,r.createElement("div",{...R("labelWrapper"),"data-disabled":v||void 0},s&&r.createElement("label",{...R("label"),"data-disabled":v||void 0,htmlFor:p},s),d&&r.createElement(m.I.Description,{size:y,__inheritStyles:!1,...R("description")},d),g&&"boolean"!==g&&r.createElement(m.I.Error,{size:y,__inheritStyles:!1,...R("error")},g))))});v.displayName="@mantine/core/InlineInput";let g=(0,r.createContext)(null),y=g.Provider,b=()=>(0,r.useContext)(g);var w=n(7487);function E({children:e,role:t}){let n=(0,w.D)();return n?r.createElement("div",{role:t,"aria-labelledby":n.labelId,"aria-describedby":n.describedBy},e):r.createElement(r.Fragment,null,e)}let x={},k=(0,p.d)((e,t)=>{let{value:n,defaultValue:o,onChange:i,size:l,wrapperProps:c,children:u,readOnly:d,...f}=(0,s.w)("SwitchGroup",x,e),[p,h]=(0,a.C)({value:n,defaultValue:o,finalValue:[],onChange:i});return r.createElement(y,{value:{value:p,onChange:e=>{let t=e.currentTarget.value;d||h(p.includes(t)?p.filter(e=>e!==t):[...p,t])},size:l}},r.createElement(m.I.Wrapper,{size:l,ref:t,...c,...f,labelElement:"div",__staticSelector:"SwitchGroup"},r.createElement(E,{role:"group"},u)))});k.classes=m.I.Wrapper.classes,k.displayName="@mantine/core/SwitchGroup";var S={root:"m-5f93f3bb",input:"m-926b4011",track:"m-9307d992",thumb:"m-93039a1d",trackLabel:"m-8277e082"};let C={labelPosition:"right"},R=(0,l.Z)((e,{radius:t,color:n,size:r})=>({root:{"--switch-radius":void 0===t?void 0:(0,i.H5)(t),"--switch-height":(0,i.ap)(r,"switch-height"),"--switch-width":(0,i.ap)(r,"switch-width"),"--switch-thumb-size":(0,i.ap)(r,"switch-thumb-size"),"--switch-label-font-size":(0,i.ap)(r,"switch-label-font-size"),"--switch-track-label-padding":(0,i.ap)(r,"switch-track-label-padding"),"--switch-color":n?(0,c.p)(n,e):void 0}})),T=(0,p.d)((e,t)=>{let n=(0,s.w)("Switch",C,e),{classNames:i,className:l,style:c,styles:p,unstyled:m,vars:h,color:g,label:y,offLabel:w,onLabel:E,id:x,size:k,radius:T,wrapperProps:M,children:L,thumbIcon:P,checked:A,defaultChecked:z,onChange:N,labelPosition:I,description:$,error:D,disabled:F,variant:O,rootRef:B,mod:H,..._}=n,Z=b(),W=k||Z?.size,V=(0,u.y)({name:"Switch",props:n,classes:S,className:l,style:c,classNames:i,styles:p,unstyled:m,vars:h,varsResolver:R}),{styleProps:Y,rest:j}=(0,d.c)(_),X=(0,o.M)(x),K=Z?{checked:Z.value.includes(j.value),onChange:Z.onChange}:{},[G,q]=(0,a.C)({value:K.checked??A,defaultValue:z,finalValue:!1});return r.createElement(v,{...V("root"),__staticSelector:"Switch",__stylesApiProps:n,id:X,size:W,labelPosition:I,label:y,description:$,error:D,disabled:F,classNames:i,styles:p,unstyled:m,"data-checked":K.checked||void 0,variant:O,ref:B,mod:H,...Y,...M},r.createElement("input",{...j,disabled:F,checked:G,onChange:e=>{Z?K.onChange?.(e):N?.(e),q(e.currentTarget.checked)},id:X,ref:t,type:"checkbox",...V("input")}),r.createElement(f.x,{component:"label",htmlFor:X,mod:{error:D,"label-position":I},...V("track")},r.createElement(f.x,{component:"span",mod:"reduce-motion",...V("thumb")},P),r.createElement("span",{...V("trackLabel")},G?E:w)))});T.classes={...S,...h},T.displayName="@mantine/core/Switch",T.Group=k},2238:function(e,t,n){"use strict";n.d(t,{i:function(){return A}});var r=n(7378),o=n(4485),a=n(947),i=n(6415),l=n(9104),c=n(7226),s=n(7208),u=n(1799),d=n(9662),f=n(673);let[p,m]=(0,f.R)("Table component was not found in the tree");var h={table:"m-b23fa0ef",th:"m-4e7aa4f3",tr:"m-4e7aa4fd",td:"m-4e7aa4ef",tbody:"m-b2404537",thead:"m-b242d975",caption:"m-9e5a3ac7",scrollContainer:"m-a100c15",scrollContainerInner:"m-62259741"};function v(e,t){let n=`Table${e.charAt(0).toUpperCase()}${e.slice(1)}`,o=(0,d.d)((o,a)=>{let i=(0,c.w)(n,{},o),{classNames:l,className:s,style:d,styles:f,...p}=i,h=m();return r.createElement(u.x,{component:e,ref:a,...function(e,t){if(!t)return;let n={};return t.columnBorder&&e.withColumnBorders&&(n["data-with-column-border"]=!0),t.rowBorder&&e.withRowBorders&&(n["data-with-row-border"]=!0),t.striped&&e.striped&&(n["data-striped"]=e.striped),t.highlightOnHover&&e.highlightOnHover&&(n["data-hover"]=!0),t.captionSide&&e.captionSide&&(n["data-side"]=e.captionSide),t.stickyHeader&&e.stickyHeader&&(n["data-sticky"]=!0),n}(h,t),...h.getStyles(e,{className:s,classNames:l,style:d,styles:f,props:i}),...p})});return o.displayName=`@mantine/core/${n}`,o.classes=h,o}let g=v("th",{columnBorder:!0}),y=v("td",{columnBorder:!0}),b=v("tr",{rowBorder:!0,striped:!0,highlightOnHover:!0}),w=v("thead",{stickyHeader:!0}),E=v("tbody"),x=v("tfoot"),k=v("caption",{captionSide:!0});function S({data:e}){return r.createElement(r.Fragment,null,e.caption&&r.createElement(k,null,e.caption),e.head&&r.createElement(w,null,r.createElement(b,null,e.head.map((e,t)=>r.createElement(g,{key:t},e)))),e.body&&r.createElement(E,null,e.body.map((e,t)=>r.createElement(b,{key:t},e.map((e,t)=>r.createElement(y,{key:t},e))))),e.foot&&r.createElement(x,null,r.createElement(b,null,e.foot.map((e,t)=>r.createElement(g,{key:t},e)))))}S.displayName="@mantine/core/TableDataRenderer";var C=n(603);let R={type:"scrollarea"},T=(0,i.Z)((e,{minWidth:t,type:n})=>({scrollContainer:{"--table-min-width":(0,o.h)(t),"--table-overflow":"native"===n?"auto":void 0}})),M=(0,d.d)((e,t)=>{let n=(0,c.w)("TableScrollContainer",R,e),{classNames:o,className:a,style:i,styles:l,unstyled:d,vars:f,children:p,minWidth:m,type:v,...g}=n,y=(0,s.y)({name:"TableScrollContainer",classes:h,props:n,className:a,style:i,classNames:o,styles:l,unstyled:d,vars:f,varsResolver:T,rootSelector:"scrollContainer"});return r.createElement(u.x,{component:"scrollarea"===v?C.x:"div",..."scrollarea"===v?{offsetScrollbars:"x"}:{},ref:t,...y("scrollContainer"),...g},r.createElement("div",{...y("scrollContainerInner")},p))});M.classes=h,M.displayName="@mantine/core/TableScrollContainer";let L={withRowBorders:!0,verticalSpacing:7},P=(0,i.Z)((e,{layout:t,captionSide:n,horizontalSpacing:r,verticalSpacing:i,borderColor:c,stripedColor:s,highlightOnHoverColor:u,striped:d,highlightOnHover:f,stickyHeaderOffset:p,stickyHeader:m})=>({table:{"--table-layout":t,"--table-caption-side":n,"--table-horizontal-spacing":(0,a.bG)(r),"--table-vertical-spacing":(0,a.bG)(i),"--table-border-color":c?(0,l.p)(c,e):void 0,"--table-striped-color":d&&s?(0,l.p)(s,e):void 0,"--table-highlight-on-hover-color":f&&u?(0,l.p)(u,e):void 0,"--table-sticky-header-offset":m?(0,o.h)(p):void 0}})),A=(0,d.d)((e,t)=>{let n=(0,c.w)("Table",L,e),{classNames:o,className:a,style:i,styles:l,unstyled:d,vars:f,horizontalSpacing:m,verticalSpacing:v,captionSide:g,stripedColor:y,highlightOnHoverColor:b,striped:w,highlightOnHover:E,withColumnBorders:x,withRowBorders:k,withTableBorder:C,borderColor:R,layout:T,variant:M,data:A,children:z,stickyHeader:N,stickyHeaderOffset:I,mod:$,...D}=n,F=(0,s.y)({name:"Table",props:n,className:a,style:i,classes:h,classNames:o,styles:l,unstyled:d,rootSelector:"table",vars:f,varsResolver:P});return r.createElement(p,{value:{getStyles:F,stickyHeader:N,striped:!0===w?"odd":w||void 0,highlightOnHover:E,withColumnBorders:x,withRowBorders:k,captionSide:g||"bottom"}},r.createElement(u.x,{component:"table",variant:M,ref:t,mod:[{"data-with-table-border":C},$],...F("table"),...D},z||!!A&&r.createElement(S,{data:A})))});A.classes=h,A.displayName="@mantine/core/Table",A.Td=y,A.Th=g,A.Tr=b,A.Thead=w,A.Tbody=E,A.Tfoot=x,A.Caption=k,A.ScrollContainer=M,A.DataRenderer=S},7098:function(e,t,n){"use strict";n.d(t,{m:function(){return z}});var r=n(7378),o=n(6184),a=n(5006);function i(e,t){return n=>{if("string"!=typeof n||0===n.trim().length)throw Error(t);return`${e}-${n}`}}var l=n(947),c=n(6415),s=n(9104),u=n(6861),d=n(7226),f=n(7208),p=n(1799),m=n(9662),h=n(673);let[v,g]=(0,h.R)("Tabs component was not found in the tree");var y={root:"m-89d60db1","list--default":"m-576c9d4",list:"m-89d33d6d",panel:"m-b0c91715",tab:"m-4ec4dce6",tabSection:"m-fc420b1f","tab--default":"m-539e827b","list--outline":"m-6772fbd5","tab--outline":"m-b59ab47c","tab--pills":"m-c3381914"};let b={},w=(0,m.d)((e,t)=>{let n=(0,d.w)("TabsList",b,e),{children:o,className:a,grow:i,justify:l,classNames:c,styles:s,style:u,mod:f,...m}=n,h=g();return r.createElement(p.x,{...m,...h.getStyles("list",{className:a,style:u,classNames:c,styles:s,props:n,variant:h.variant}),ref:t,role:"tablist",variant:h.variant,mod:[{grow:i,orientation:h.orientation,placement:"vertical"===h.orientation&&h.placement,inverted:h.inverted},f],"aria-orientation":h.orientation,__vars:{"--tabs-justify":l}},o)});w.classes=y,w.displayName="@mantine/core/TabsList";let E={},x=(0,m.d)((e,t)=>{let n=(0,d.w)("TabsPanel",E,e),{children:o,className:a,value:i,classNames:l,styles:c,style:s,mod:u,...f}=n,m=g(),h=m.value===i,v=m.keepMounted||n.keepMounted?o:h?o:null;return r.createElement(p.x,{...f,...m.getStyles("panel",{className:a,classNames:l,styles:c,style:[s,h?void 0:{display:"none"}],props:n}),ref:t,mod:[{orientation:m.orientation},u],role:"tabpanel",id:m.getPanelId(i),"aria-labelledby":m.getTabId(i)},v)});function k(e,t){let n=e;for(;(n=n.parentElement)&&!n.matches(t););return n}x.classes=y,x.displayName="@mantine/core/TabsPanel";var S=n(7040),C=n(892),R=n(7878);let T={},M=(0,m.d)((e,t)=>{let n=(0,d.w)("TabsTab",T,e),{className:o,children:a,rightSection:i,leftSection:l,value:c,onClick:u,onKeyDown:f,disabled:p,color:m,style:h,classNames:v,styles:y,vars:b,mod:w,...E}=n,x=(0,S.rZ)(),{dir:M}=(0,C.gm)(),L=g(),P=c===L.value,A={classNames:v,styles:y,props:n};return r.createElement(R.k,{...E,...L.getStyles("tab",{className:o,style:h,variant:L.variant,...A}),disabled:p,unstyled:L.unstyled,variant:L.variant,mod:[{active:P,disabled:p,orientation:L.orientation,inverted:L.inverted,placement:"vertical"===L.orientation&&L.placement},w],ref:t,role:"tab",id:L.getTabId(c),"aria-selected":P,tabIndex:P||null===L.value?0:-1,"aria-controls":L.getPanelId(c),onClick:e=>{L.onChange(L.allowTabDeactivation&&c===L.value?null:c),u?.(e)},__vars:{"--tabs-color":m?(0,s.p)(m,x):void 0},onKeyDown:function({parentSelector:e,siblingSelector:t,onKeyDown:n,loop:r=!0,activateOnFocus:o=!1,dir:a="rtl",orientation:i}){return l=>{n?.(l);let c=Array.from(k(l.currentTarget,e)?.querySelectorAll(t)||[]).filter(t=>k(l.currentTarget,e)===k(t,e)),s=c.findIndex(e=>l.currentTarget===e),u=function(e,t,n){for(let n=e+1;n=0;n-=1)if(!t[n].disabled)return n;if(n){for(let e=t.length-1;e>-1;e-=1)if(!t[e].disabled)return e}return e}(s,c,r),f="rtl"===a?d:u,p="rtl"===a?u:d;switch(l.key){case"ArrowRight":"horizontal"===i&&(l.stopPropagation(),l.preventDefault(),c[f].focus(),o&&c[f].click());break;case"ArrowLeft":"horizontal"===i&&(l.stopPropagation(),l.preventDefault(),c[p].focus(),o&&c[p].click());break;case"ArrowUp":"vertical"===i&&(l.stopPropagation(),l.preventDefault(),c[d].focus(),o&&c[d].click());break;case"ArrowDown":"vertical"===i&&(l.stopPropagation(),l.preventDefault(),c[u].focus(),o&&c[u].click());break;case"Home":l.stopPropagation(),l.preventDefault(),c[0].disabled||c[0].focus();break;case"End":{l.stopPropagation(),l.preventDefault();let e=c.length-1;c[e].disabled||c[e].focus()}}}}({siblingSelector:'[role="tab"]',parentSelector:'[role="tablist"]',activateOnFocus:L.activateTabWithKeyboard,loop:L.loop,orientation:L.orientation||"horizontal",dir:M,onKeyDown:f})},l&&r.createElement("span",{...L.getStyles("tabSection",A),"data-position":"left"},l),a&&r.createElement("span",{...L.getStyles("tabLabel",A)},a),i&&r.createElement("span",{...L.getStyles("tabSection",A),"data-position":"right"},i))});M.classes=y,M.displayName="@mantine/core/TabsTab";let L="Tabs.Tab or Tabs.Panel component was rendered with invalid value or without value",P={keepMounted:!0,orientation:"horizontal",loop:!0,activateTabWithKeyboard:!0,allowTabDeactivation:!1,unstyled:!1,inverted:!1,variant:"default",placement:"left"},A=(0,c.Z)((e,{radius:t,color:n,autoContrast:r})=>({root:{"--tabs-radius":(0,l.H5)(t),"--tabs-color":(0,s.p)(n,e),"--tabs-text-color":("boolean"==typeof r?r:e.autoContrast)?(0,u.R)({color:n,theme:e}):void 0}})),z=(0,m.d)((e,t)=>{let n=(0,d.w)("Tabs",P,e),{defaultValue:l,value:c,onChange:s,orientation:u,children:m,loop:h,id:g,activateTabWithKeyboard:b,allowTabDeactivation:w,variant:E,color:x,radius:k,inverted:S,placement:C,keepMounted:R,classNames:T,styles:M,unstyled:z,className:N,style:I,vars:$,autoContrast:D,mod:F,...O}=n,B=(0,o.M)(g),[H,_]=(0,a.C)({value:c,defaultValue:l,finalValue:null,onChange:s}),Z=(0,f.y)({name:"Tabs",props:n,classes:y,className:N,style:I,classNames:T,styles:M,unstyled:z,vars:$,varsResolver:A});return r.createElement(v,{value:{placement:C,value:H,orientation:u,id:B,loop:h,activateTabWithKeyboard:b,getTabId:i(`${B}-tab`,L),getPanelId:i(`${B}-panel`,L),onChange:_,allowTabDeactivation:w,variant:E,color:x,radius:k,inverted:S,keepMounted:R,unstyled:z,getStyles:Z}},r.createElement(p.x,{ref:t,id:B,variant:E,mod:[{orientation:u,inverted:"horizontal"===u&&S,placement:"vertical"===u&&C},F],...Z("root"),...O},m))});z.classes=y,z.displayName="@mantine/core/Tabs",z.Tab=M,z.Panel=x,z.List=w},149:function(e,t,n){"use strict";n.d(t,{x:function(){return h}});var r=n(7378),o=n(947),a=n(6415),i=n(9104),l=n(9766),c=n(7226),s=n(7208),u=n(1799),d=n(5427),f={root:"m-b6d8b162"};let p={inherit:!1},m=(0,a.Z)((e,{variant:t,lineClamp:n,gradient:r,size:a,color:c})=>({root:{"--text-fz":(0,o.yv)(a),"--text-lh":(0,o.Dp)(a),"--text-gradient":"gradient"===t?(0,l.u)(r,e):void 0,"--text-line-clamp":"number"==typeof n?n.toString():void 0,"--text-color":c?(0,i.p)(c,e):void 0}})),h=(0,d.b)((e,t)=>{let n=(0,c.w)("Text",p,e),{lineClamp:o,truncate:a,inline:i,inherit:l,gradient:d,span:h,__staticSelector:v,vars:g,className:y,style:b,classNames:w,styles:E,unstyled:x,variant:k,mod:S,size:C,...R}=n,T=(0,s.y)({name:["Text",v],props:n,classes:f,className:y,style:b,classNames:w,styles:E,unstyled:x,vars:g,varsResolver:m});return r.createElement(u.x,{...T("root",{focusable:!0}),ref:t,component:h?"span":"p",variant:k,mod:[{"data-truncate":"start"===a?"start":"end"===a||a?"end":void 0,"data-line-clamp":"number"==typeof o,"data-inline":i,"data-inherit":l},S],size:C,...R})});h.classes=f,h.displayName="@mantine/core/Text"},2033:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(7378),o=n(7226),a=n(9662),i=n(4749);let l={},c=(0,a.d)((e,t)=>{let n=(0,o.w)("TextInput",l,e);return r.createElement(i.M,{component:"input",ref:t,...n,__staticSelector:"TextInput"})});c.classes=i.M.classes,c.displayName="@mantine/core/TextInput"},4046:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var r=n(7378),o=n(6415),a=n(7226),i=n(7208),l=n(1799),c=n(9662),s=n(4485);let u=["h1","h2","h3","h4","h5","h6"];var d={root:"m-8a5d1357"};let f={order:1},p=(0,o.Z)((e,{order:t,size:n,lineClamp:r,textWrap:o})=>{let a=function(e,t){let n=void 0!==t?t:`h${e}`;return u.includes(n)?{fontSize:`var(--mantine-${n}-font-size)`,fontWeight:`var(--mantine-${n}-font-weight)`,lineHeight:`var(--mantine-${n}-line-height)`}:{fontSize:(0,s.h)(n),fontWeight:`var(--mantine-h${e}-font-weight)`,lineHeight:`var(--mantine-h${e}-line-height)`}}(t,n);return{root:{"--title-fw":a.fontWeight,"--title-lh":a.lineHeight,"--title-fz":a.fontSize,"--title-line-clamp":"number"==typeof r?r.toString():void 0,"--title-text-wrap":o}}}),m=(0,c.d)((e,t)=>{let n=(0,a.w)("Title",f,e),{classNames:o,className:c,style:s,styles:u,unstyled:m,order:h,vars:v,size:g,variant:y,lineClamp:b,textWrap:w,mod:E,...x}=n,k=(0,i.y)({name:"Title",props:n,classes:d,className:c,style:s,classNames:o,styles:u,unstyled:m,vars:v,varsResolver:p});return[1,2,3,4,5,6].includes(h)?r.createElement(l.x,{...k("root"),component:`h${h}`,variant:y,ref:t,mod:[{order:h,"data-line-clamp":"number"==typeof b},E],size:g,...x}):null});m.classes=d,m.displayName="@mantine/core/Title"},401:function(e,t,n){"use strict";n.d(t,{u:function(){return H}});var r=n(7378),o=n(624),a=n(183),i=n(495),l=n(3658),c=n(947),s=n(6415),u=n(9104),d=n(7226),f=n(7208),p=n(1799),m=n(9662),h=n(892),v=n(3098),g=n(4488),y=n(825),b=n(96);let w={duration:100,transition:"fade"};var E=n(7040),x=n(2216),k=n(5288),S=n(8321),C={tooltip:"m-1b3c8819",arrow:"m-f898399f"};let R={refProp:"ref",withinPortal:!0,offset:10,position:"right",zIndex:(0,l.w)("popover")},T=(0,s.Z)((e,{radius:t,color:n})=>({tooltip:{"--tooltip-radius":void 0===t?void 0:(0,c.H5)(t),"--tooltip-bg":n?(0,u.p)(n,e):void 0,"--tooltip-color":n?"var(--mantine-color-white)":void 0}})),M=(0,m.d)((e,t)=>{let n=(0,d.w)("TooltipFloating",R,e),{children:o,refProp:l,withinPortal:c,style:s,className:u,classNames:m,styles:h,unstyled:v,radius:g,color:b,label:w,offset:M,position:L,multiline:P,zIndex:A,disabled:z,variant:N,vars:I,portalProps:$,...D}=n,F=(0,E.rZ)(),O=(0,f.y)({name:"TooltipFloating",props:n,classes:C,className:u,style:s,classNames:m,styles:h,unstyled:v,rootSelector:"tooltip",vars:I,varsResolver:T}),{handleMouseMove:B,x:H,y:_,opened:Z,boundaryRef:W,floating:V,setOpened:Y}=function({offset:e,position:t}){let[n,o]=(0,r.useState)(!1),a=(0,r.useRef)(),{x:i,y:l,elements:c,refs:s,update:u,placement:d}=(0,x.YF)({placement:t,middleware:[(0,k.uY)({crossAxis:!0,padding:5,rootBoundary:"document"})]}),f=d.includes("right")?e:t.includes("left")?-1*e:0,p=d.includes("bottom")?e:t.includes("top")?-1*e:0,m=(0,r.useCallback)(({clientX:e,clientY:t})=>{s.setPositionReference({getBoundingClientRect:()=>({width:0,height:0,x:e,y:t,left:e+f,top:t+p,right:e,bottom:t})})},[c.reference]);return(0,r.useEffect)(()=>{if(s.floating.current){let e=a.current;e.addEventListener("mousemove",m);let t=(0,S.Kx)(s.floating.current);return t.forEach(e=>{e.addEventListener("scroll",u)}),()=>{e.removeEventListener("mousemove",m),t.forEach(e=>{e.removeEventListener("scroll",u)})}}},[c.reference,s.floating.current,u,m,n]),{handleMouseMove:m,x:i,y:l,opened:n,setOpened:o,boundaryRef:a,floating:s.setFloating}}({offset:M,position:L});if(!(0,i.k)(o))throw Error("[@mantine/core] Tooltip.Floating component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");let j=(0,a.Yx)(W,o.ref,t);return r.createElement(r.Fragment,null,r.createElement(y.q,{...$,withinPortal:c},r.createElement(p.x,{...D,...O("tooltip",{style:{...function e(t,n){return Array.isArray(t)?[...t].reduce((t,r)=>({...t,...e(r,n)}),{}):"function"==typeof t?t(n):null==t?{}:t}(s,F),zIndex:A,display:!z&&Z?"block":"none",top:(_&&Math.round(_))??"",left:(H&&Math.round(H))??""}}),variant:N,ref:V},w)),(0,r.cloneElement)(o,{...o.props,[l]:j,onMouseEnter:e=>{o.props.onMouseEnter?.(e),B(e),Y(!0)},onMouseLeave:e=>{o.props.onMouseLeave?.(e),Y(!1)}}))});M.classes=C,M.displayName="@mantine/core/TooltipFloating";let L=(0,r.createContext)(!1),P=L.Provider,A=()=>(0,r.useContext)(L),z={openDelay:0,closeDelay:0};function N(e){let{openDelay:t,closeDelay:n,children:o}=(0,d.w)("TooltipGroup",z,e);return r.createElement(P,{value:!0},r.createElement(x.e0,{delay:{open:t,close:n}},o))}N.displayName="@mantine/core/TooltipGroup";var I=n(6350),$=n(6184),D=n(6145),F=n(2966);let O={position:"top",refProp:"ref",withinPortal:!0,inline:!1,arrowSize:4,arrowOffset:5,arrowRadius:0,arrowPosition:"side",offset:5,transitionProps:{duration:100,transition:"fade"},events:{hover:!0,focus:!1,touch:!1},zIndex:(0,l.w)("popover"),positionDependencies:[]},B=(0,s.Z)((e,{radius:t,color:n})=>({tooltip:{"--tooltip-radius":void 0===t?void 0:(0,c.H5)(t),"--tooltip-bg":n?(0,u.p)(n,e):void 0,"--tooltip-color":n?"var(--mantine-color-white)":void 0}})),H=(0,m.d)((e,t)=>{let n=(0,d.w)("Tooltip",O,e),{children:l,position:c,refProp:s,label:u,openDelay:m,closeDelay:E,onPositionChange:S,opened:R,withinPortal:T,radius:M,color:L,classNames:P,styles:z,unstyled:N,style:H,className:_,withArrow:Z,arrowSize:W,arrowOffset:V,arrowRadius:Y,arrowPosition:j,offset:X,transitionProps:K,multiline:G,events:q,zIndex:U,disabled:Q,positionDependencies:J,onClick:ee,onMouseEnter:et,onMouseLeave:en,inline:er,variant:eo,keepMounted:ea,vars:ei,portalProps:el,mod:ec,...es}=(0,d.w)("Tooltip",O,n),{dir:eu}=(0,h.gm)(),ed=(0,r.useRef)(null),ef=function(e){let[t,n]=(0,r.useState)(!1),o="boolean"==typeof e.opened,a=o?e.opened:t,i=A(),l=(0,$.M)(),{delay:c,currentId:s,setCurrentId:u}=(0,x.tj)(),d=(0,r.useCallback)(e=>{n(e),e&&u(l)},[u,l]),{x:f,y:p,context:m,refs:h,update:v,placement:g,middlewareData:{arrow:{x:y,y:b}={}}}=(0,x.YF)({placement:e.position,open:a,onOpenChange:d,middleware:[(0,k.cv)(e.offset),(0,k.uY)({padding:8}),(0,k.RR)(),(0,I.x7)({element:e.arrowRef,padding:e.arrowOffset}),...e.inline?[(0,k.Qo)()]:[]]}),{getReferenceProps:w,getFloatingProps:E}=(0,x.NI)([(0,x.XI)(m,{enabled:e.events?.hover,delay:i?c:{open:e.openDelay,close:e.closeDelay},mouseOnly:!e.events?.touch}),(0,x.KK)(m,{enabled:e.events?.focus,keyboardOnly:!0}),(0,x.qs)(m,{role:"tooltip"}),(0,x.bQ)(m,{enabled:void 0===e.opened}),(0,x.Qu)(m,{id:l})]);(0,F.L)({opened:a,position:e.position,positionDependencies:e.positionDependencies,floating:{refs:h,update:v}}),(0,D.l)(()=>{e.onPositionChange?.(g)},[g]);let S=a&&s&&s!==l;return{x:f,y:p,arrowX:y,arrowY:b,reference:h.setReference,floating:h.setFloating,getFloatingProps:E,getReferenceProps:w,isGroupPhase:S,opened:a,placement:g}}({position:(0,v._)(eu,c),closeDelay:E,openDelay:m,onPositionChange:S,opened:R,events:q,arrowRef:ed,arrowOffset:V,offset:"number"==typeof X?X+(Z?W/2:0):X,positionDependencies:[...J,l],inline:er}),ep=(0,f.y)({name:"Tooltip",props:n,classes:C,className:_,style:H,classNames:P,styles:z,unstyled:N,rootSelector:"tooltip",vars:ei,varsResolver:B});if(!(0,i.k)(l))throw Error("[@mantine/core] Tooltip component children should be an element or a component that accepts ref, fragments, strings, numbers and other primitive values are not supported");let em=(0,a.Yx)(ef.reference,l.ref,t),eh={...w,duration:100,transition:"fade",...K};return r.createElement(r.Fragment,null,r.createElement(y.q,{...el,withinPortal:T},r.createElement(b.u,{...eh,keepMounted:ea,mounted:!Q&&!!ef.opened,duration:ef.isGroupPhase?10:eh.duration},e=>r.createElement(p.x,{...es,variant:eo,mod:[{multiline:G},ec],...ef.getFloatingProps({ref:ef.floating,className:ep("tooltip").className,style:{...ep("tooltip").style,...e,zIndex:U,top:ef.y??0,left:ef.x??0}})},u,r.createElement(g.Y,{ref:ed,arrowX:ef.arrowX,arrowY:ef.arrowY,visible:Z,position:ef.placement,arrowSize:W,arrowOffset:V,arrowRadius:Y,arrowPosition:j,...ep("arrow")})))),(0,r.cloneElement)(l,ef.getReferenceProps({onClick:ee,onMouseEnter:et,onMouseLeave:en,onMouseMove:n.onMouseMove,onPointerDown:n.onPointerDown,onPointerEnter:n.onPointerEnter,[s]:em,className:(0,o.Z)(_,l.props.className),...l.props})))});H.classes=C,H.displayName="@mantine/core/Tooltip",H.Floating=M,H.Group=N},96:function(e,t,n){"use strict";n.d(t,{u:function(){return d}});var r=n(7378),o=n(4485);let a=e=>({in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:`scale(.9) translateY(${(0,o.h)("bottom"===e?10:-10)})`},transitionProperty:"transform, opacity"}),i={fade:{in:{opacity:1},out:{opacity:0},transitionProperty:"opacity"},scale:{in:{opacity:1,transform:"scale(1)"},out:{opacity:0,transform:"scale(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-y":{in:{opacity:1,transform:"scaleY(1)"},out:{opacity:0,transform:"scaleY(0)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"scale-x":{in:{opacity:1,transform:"scaleX(1)"},out:{opacity:0,transform:"scaleX(0)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"skew-up":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(-${(0,o.h)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"skew-down":{in:{opacity:1,transform:"translateY(0) skew(0deg, 0deg)"},out:{opacity:0,transform:`translateY(${(0,o.h)(20)}) skew(-10deg, -5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-left":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,o.h)(20)}) rotate(-5deg)`},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"rotate-right":{in:{opacity:1,transform:"translateY(0) rotate(0deg)"},out:{opacity:0,transform:`translateY(${(0,o.h)(20)}) rotate(5deg)`},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-down":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(-100%)"},common:{transformOrigin:"top"},transitionProperty:"transform, opacity"},"slide-up":{in:{opacity:1,transform:"translateY(0)"},out:{opacity:0,transform:"translateY(100%)"},common:{transformOrigin:"bottom"},transitionProperty:"transform, opacity"},"slide-left":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(100%)"},common:{transformOrigin:"left"},transitionProperty:"transform, opacity"},"slide-right":{in:{opacity:1,transform:"translateX(0)"},out:{opacity:0,transform:"translateX(-100%)"},common:{transformOrigin:"right"},transitionProperty:"transform, opacity"},pop:{...a("bottom"),common:{transformOrigin:"center center"}},"pop-bottom-left":{...a("bottom"),common:{transformOrigin:"bottom left"}},"pop-bottom-right":{...a("bottom"),common:{transformOrigin:"bottom right"}},"pop-top-left":{...a("top"),common:{transformOrigin:"top left"}},"pop-top-right":{...a("top"),common:{transformOrigin:"top right"}}},l={entering:"in",entered:"in",exiting:"out",exited:"out","pre-exiting":"out","pre-entering":"out"};var c=n(1263),s=n(6145),u=n(7040);function d({keepMounted:e,transition:t="fade",duration:n=250,exitDuration:o=n,mounted:a,children:d,timingFunction:f="ease",onExit:p,onEntered:m,onEnter:h,onExited:v}){let{transitionDuration:g,transitionStatus:y,transitionTimingFunction:b}=function({duration:e,exitDuration:t,timingFunction:n,mounted:o,onEnter:a,onExit:i,onEntered:l,onExited:d}){let f=(0,u.rZ)(),p=(0,c.a)("(prefers-reduced-motion: reduce)",void 0,void 0),m=!!f.respectReducedMotion&&p,[h,v]=(0,r.useState)(m?0:e),[g,y]=(0,r.useState)(o?"entered":"exited"),b=(0,r.useRef)(-1),w=n=>{let r=n?a:i,o=n?l:d;y(n?"pre-entering":"pre-exiting"),window.clearTimeout(b.current);let c=m?0:n?e:t;if(v(c),0===c)"function"==typeof r&&r(),"function"==typeof o&&o(),y(n?"entered":"exited");else{let e=window.setTimeout(()=>{"function"==typeof r&&r(),y(n?"entering":"exiting")},10);b.current=window.setTimeout(()=>{window.clearTimeout(e),"function"==typeof o&&o(),y(n?"entered":"exited")},c)}};return(0,s.l)(()=>{w(o)},[o]),(0,r.useEffect)(()=>()=>window.clearTimeout(b.current),[]),{transitionDuration:h,transitionStatus:g,transitionTimingFunction:n||"ease"}}({mounted:a,exitDuration:o,duration:n,timingFunction:f,onExit:p,onEntered:m,onEnter:h,onExited:v});return 0===g?a?r.createElement(r.Fragment,null,d({})):e?d({display:"none"}):null:"exited"===y?e?d({display:"none"}):null:r.createElement(r.Fragment,null,d(function({transition:e,state:t,duration:n,timingFunction:r}){let o={transitionDuration:`${n}ms`,transitionTimingFunction:r};return"string"==typeof e?e in i?{transitionProperty:i[e].transitionProperty,...o,...i[e].common,...i[e][l[t]]}:{}:{transitionProperty:e.transitionProperty,...o,...e.common,...e[l[t]]}}({transition:t,duration:g,state:y,timingFunction:b})))}d.displayName="@mantine/core/Transition"},7878:function(e,t,n){"use strict";n.d(t,{k:function(){return u}});var r=n(7378),o=n(7226),a=n(7208),i=n(1799),l=n(5427),c={root:"m-87cf2631"};let s={__staticSelector:"UnstyledButton"},u=(0,l.b)((e,t)=>{let n=(0,o.w)("UnstyledButton",s,e),{className:l,component:u="button",__staticSelector:d,unstyled:f,classNames:p,styles:m,style:h,...v}=n,g=(0,a.y)({name:d,props:n,classes:c,className:l,style:h,classNames:p,styles:m,unstyled:f});return r.createElement(i.x,{...g("root",{focusable:!0}),component:u,ref:t,type:"button"===u?"button":void 0,...v})});u.classes=c,u.displayName="@mantine/core/UnstyledButton"},1799:function(e,t,n){"use strict";n.d(t,{x:function(){return E}});var r=n(7378),o=n(624),a=n(5841),i=n(8291),l=n(6425),c=n(7040);function s(e){return e.startsWith("data-")?e:`data-${e}`}function u(e,t){return Array.isArray(e)?[...e].reduce((e,n)=>({...e,...u(n,t)}),{}):"function"==typeof e?e(t):null==e?{}:e}var d=n(4438);let f={m:{type:"spacing",property:"margin"},mt:{type:"spacing",property:"marginTop"},mb:{type:"spacing",property:"marginBottom"},ml:{type:"spacing",property:"marginLeft"},mr:{type:"spacing",property:"marginRight"},mx:{type:"spacing",property:["marginRight","marginLeft"]},my:{type:"spacing",property:["marginTop","marginBottom"]},p:{type:"spacing",property:"padding"},pt:{type:"spacing",property:"paddingTop"},pb:{type:"spacing",property:"paddingBottom"},pl:{type:"spacing",property:"paddingLeft"},pr:{type:"spacing",property:"paddingRight"},px:{type:"spacing",property:["paddingRight","paddingLeft"]},py:{type:"spacing",property:["paddingTop","paddingBottom"]},bg:{type:"color",property:"background"},c:{type:"textColor",property:"color"},opacity:{type:"identity",property:"opacity"},ff:{type:"fontFamily",property:"fontFamily"},fz:{type:"fontSize",property:"fontSize"},fw:{type:"identity",property:"fontWeight"},lts:{type:"size",property:"letterSpacing"},ta:{type:"identity",property:"textAlign"},lh:{type:"lineHeight",property:"lineHeight"},fs:{type:"identity",property:"fontStyle"},tt:{type:"identity",property:"textTransform"},td:{type:"identity",property:"textDecoration"},w:{type:"spacing",property:"width"},miw:{type:"spacing",property:"minWidth"},maw:{type:"spacing",property:"maxWidth"},h:{type:"spacing",property:"height"},mih:{type:"spacing",property:"minHeight"},mah:{type:"spacing",property:"maxHeight"},bgsz:{type:"size",property:"backgroundSize"},bgp:{type:"identity",property:"backgroundPosition"},bgr:{type:"identity",property:"backgroundRepeat"},bga:{type:"identity",property:"backgroundAttachment"},pos:{type:"identity",property:"position"},top:{type:"identity",property:"top"},left:{type:"size",property:"left"},bottom:{type:"size",property:"bottom"},right:{type:"size",property:"right"},inset:{type:"size",property:"inset"},display:{type:"identity",property:"display"},flex:{type:"identity",property:"flex"}};var p=n(3613),m=n(4710);function h(e,t){let n=(0,m.E)({color:e,theme:t});return"dimmed"===n.color?"var(--mantine-color-dimmed)":"bright"===n.color?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}let v={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)"};var g=n(4485);let y={color:h,textColor:function(e,t){let n=(0,m.E)({color:e,theme:t});return n.isThemeColor&&void 0===n.shade?`var(--mantine-color-${n.color}-text)`:h(e,t)},fontSize:function(e,t){return"string"==typeof e&&e in t.fontSizes?`var(--mantine-font-size-${e})`:"number"==typeof e||"string"==typeof e?(0,g.h)(e):e},spacing:function(e,t){if("number"==typeof e)return(0,g.h)(e);if("string"==typeof e){let n=e.replace("-","");if(!(n in t.spacing))return(0,g.h)(e);let r=`--mantine-spacing-${n}`;return e.startsWith("-")?`calc(var(${r}) * -1)`:`var(${r})`}return e},identity:function(e){return e},size:function(e){return"number"==typeof e?(0,g.h)(e):e},lineHeight:function(e,t){return"string"==typeof e&&e in t.lineHeights?`var(--mantine-line-height-${e})`:e},fontFamily:function(e){return"string"==typeof e&&e in v?v[e]:e}};function b(e){return e.replace("(min-width: ","").replace("em)","")}let w=(0,r.forwardRef)(({component:e,style:t,__vars:n,className:a,variant:m,mod:h,size:v,hiddenFrom:g,visibleFrom:w,lightHidden:E,darkHidden:x,renderRoot:k,...S},C)=>{let R=(0,c.rZ)(),T=e||"div",{styleProps:M,rest:L}=(0,d.c)(S),P=function(){let e=(0,r.useId)().replace(/:/g,"");return`__m__-${e}`}(),A=function({styleProps:e,data:t,theme:n}){return function({media:e,...t}){let n=Object.keys(e),r=n.sort((e,t)=>Number(b(e))-Number(b(t))).map(t=>({query:t,styles:e[t]}));return{...t,media:r}}((0,p.X)(e).reduce((r,o)=>{var a,i;if("hiddenFrom"===o||"visibleFrom"===o)return r;let l=t[o],c=Array.isArray(l.property)?l.property:[l.property],s="object"==typeof(i=e[o])&&null!==i?"base"in i?i.base:void 0:i;if(!function(e){if("object"!=typeof e||null===e)return!1;let t=Object.keys(e);return 1!==t.length||"base"!==t[0]}(e[o]))return c.forEach(e=>{r.inlineStyles[e]=y[l.type](s,n)}),r;r.hasResponsiveStyles=!0;let u="object"==typeof(a=e[o])&&null!==a?(0,p.X)(a).filter(e=>"base"!==e):[];return c.forEach(t=>{s&&(r.styles[t]=y[l.type](s,n)),u.forEach(a=>{var i;let c=`(min-width: ${n.breakpoints[a]})`;r.media[c]={...r.media[c],[t]:y[l.type]("object"==typeof(i=e[o])&&null!==i&&a in i?i[a]:i,n)}})}),r},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}({styleProps:M,theme:R,data:f}),z={ref:C,style:function({theme:e,style:t,vars:n,styleProps:r}){let o=u(t,e),a=u(n,e);return{...o,...a,...r}}({theme:R,style:t,vars:n,styleProps:A.inlineStyles}),className:(0,o.Z)(a,{[P]:A.hasResponsiveStyles,"mantine-light-hidden":E,"mantine-dark-hidden":x,[`mantine-hidden-from-${g}`]:g,[`mantine-visible-from-${w}`]:w}),"data-variant":m,"data-size":(0,l.s)(v)?void 0:v||void 0,...function e(t){return t?"string"==typeof t?{[s(t)]:!0}:Array.isArray(t)?[...t].reduce((t,n)=>({...t,...e(n)}),{}):Object.keys(t).reduce((e,n)=>{let r=t[n];return void 0===r||""===r||!1===r||null===r||(e[s(n)]=t[n]),e},{}):null}(h),...L};return r.createElement(r.Fragment,null,A.hasResponsiveStyles&&r.createElement(i.f,{selector:`.${P}`,styles:A.styles,media:A.media}),"function"==typeof k?k(z):r.createElement(T,{...z}))});w.displayName="@mantine/core/Box";let E=(0,a.F)(w)},4438:function(e,t,n){"use strict";n.d(t,{c:function(){return o}});var r=n(7146);function o(e){let{m:t,mx:n,my:o,mt:a,mb:i,ml:l,mr:c,p:s,px:u,py:d,pt:f,pb:p,pl:m,pr:h,bg:v,c:g,opacity:y,ff:b,fz:w,fw:E,lts:x,ta:k,lh:S,fs:C,tt:R,td:T,w:M,miw:L,maw:P,h:A,mih:z,mah:N,bgsz:I,bgp:$,bgr:D,bga:F,pos:O,top:B,left:H,bottom:_,right:Z,inset:W,display:V,flex:Y,hiddenFrom:j,visibleFrom:X,lightHidden:K,darkHidden:G,...q}=e,U=(0,r.L)({m:t,mx:n,my:o,mt:a,mb:i,ml:l,mr:c,p:s,px:u,py:d,pt:f,pb:p,pl:m,pr:h,bg:v,c:g,opacity:y,ff:b,fz:w,fw:E,lts:x,ta:k,lh:S,fs:C,tt:R,td:T,w:M,miw:L,maw:P,h:A,mih:z,mah:N,bgsz:I,bgp:$,bgr:D,bga:F,pos:O,top:B,left:H,bottom:_,right:Z,inset:W,display:V,flex:Y,hiddenFrom:j,visibleFrom:X,lightHidden:K,darkHidden:G});return{styleProps:U,rest:q}}n(7378)},892:function(e,t,n){"use strict";n.d(t,{gm:function(){return a}});var r=n(7378);let o=(0,r.createContext)({dir:"ltr",toggleDirection:()=>{},setDirection:()=>{}});function a(){return(0,r.useContext)(o)}},8291:function(e,t,n){"use strict";n.d(t,{f:function(){return l}});var r=n(7378),o=n(8373),a=n(3613);function i(e){return(0,a.X)(e).reduce((t,n)=>void 0!==e[n]?`${t}${n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}:${e[n]};`:t,"").trim()}function l({selector:e,styles:t,media:n}){let a=(0,o.R7)();return r.createElement("style",{"data-mantine-styles":"inline",nonce:a?.(),dangerouslySetInnerHTML:{__html:function({selector:e,styles:t,media:n}){let r=t?i(t):"",o=Array.isArray(n)?n.map(t=>`@media${t.query}{${e}{${i(t.styles)}}}`):[];return`${r?`${e}{${r}}`:""}${o.join("")}`.trim()}({selector:e,styles:t,media:n})}})}},7226:function(e,t,n){"use strict";n.d(t,{w:function(){return a}});var r=n(7146);n(7378);var o=n(7040);function a(e,t,n){let a=(0,o.rZ)(),i=a.components[e]?.defaultProps,l="function"==typeof i?i(a):i;return{...t,...l,...(0,r.L)(n)}}},5841:function(e,t,n){"use strict";function r(e){return e}n.d(t,{F:function(){return r}})},9662:function(e,t,n){"use strict";n.d(t,{d:function(){return a},y:function(){return o}});var r=n(7378);function o(e){return e}function a(e){let t=(0,r.forwardRef)(e);return t.extend=o,t}},5427:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(7378),o=n(9662);function a(e){let t=(0,r.forwardRef)(e);return t.extend=o.y,t}},6415:function(e,t,n){"use strict";function r(e){return e}n.d(t,{Z:function(){return r}})},7208:function(e,t,n){"use strict";n.d(t,{y:function(){return f}}),n(7378);var r=n(8373),o=n(7040),a=n(624);let i={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"},l={};function c({theme:e,classNames:t,props:n,stylesCtx:r}){let o=Array.isArray(t)?t:[t],i=o.map(t=>"function"==typeof t?t(e,n,r):t||l);return function(e){let t={};return e.forEach(e=>{Object.entries(e).forEach(([e,n])=>{t[e]?t[e]=(0,a.Z)(t[e],n):t[e]=n})}),t}(i)}function s({theme:e,styles:t,props:n,stylesCtx:r}){let o=Array.isArray(t)?t:[t];return o.reduce((t,o)=>"function"==typeof o?{...t,...o(e,n,r)}:{...t,...o},{})}function u({style:e,theme:t}){return Array.isArray(e)?[...e].reduce((e,n)=>({...e,...u({style:n,theme:t})}),{}):"function"==typeof e?e(t):null==e?{}:e}var d=n(7146);function f({name:e,classes:t,props:n,stylesCtx:l,className:f,style:p,rootSelector:m="root",unstyled:h,classNames:v,styles:g,vars:y,varsResolver:b}){let w=(0,o.rZ)(),E=(0,r.uK)(),x=(Array.isArray(e)?e:[e]).filter(e=>e);return(e,r)=>({className:function({theme:e,options:t,themeName:n,selector:r,classNamesPrefix:o,classNames:l,classes:s,unstyled:u,className:d,rootSelector:f,props:p,stylesCtx:m}){return(0,a.Z)(function({theme:e,options:t,unstyled:n}){return(0,a.Z)(t?.focusable&&!n&&(e.focusClassName||i[e.focusRing]),t?.active&&!n&&e.activeClassName)}({theme:e,options:t,unstyled:u}),function({themeName:e,theme:t,selector:n,props:r,stylesCtx:o}){return e.map(e=>c({theme:t,classNames:t.components[e]?.classNames,props:r,stylesCtx:o})?.[n])}({theme:e,themeName:n,selector:r,props:p,stylesCtx:m}),function({options:e,classes:t,selector:n,unstyled:r}){return e?.variant&&!r?t[`${n}--${e.variant}`]:void 0}({options:t,classes:s,selector:r,unstyled:u}),function({selector:e,stylesCtx:t,theme:n,classNames:r,props:o}){return c({theme:n,classNames:r,props:o,stylesCtx:t})[e]}({selector:r,stylesCtx:m,theme:e,classNames:l,props:p}),function({selector:e,stylesCtx:t,options:n,props:r,theme:o}){return c({theme:o,classNames:n?.classNames,props:n?.props||r,stylesCtx:t})[e]}({selector:r,stylesCtx:m,options:t,props:p,theme:e}),function({rootSelector:e,selector:t,className:n}){return e===t?n:void 0}({rootSelector:f,selector:r,className:d}),function({selector:e,classes:t,unstyled:n}){return n?void 0:t[e]}({selector:r,classes:s,unstyled:u}),function({themeName:e,classNamesPrefix:t,selector:n,withStaticClass:r}){return!1===r?[]:e.map(e=>`${t}-${e}-${n}`)}({themeName:n,classNamesPrefix:o,selector:r,withStaticClass:t?.withStaticClass}),t?.className)}({theme:w,options:r,themeName:x,selector:e,classNamesPrefix:E,classNames:v,classes:t,unstyled:h,className:f,rootSelector:m,props:n,stylesCtx:l}),style:function({theme:e,themeName:t,selector:n,options:r,props:o,stylesCtx:a,rootSelector:i,styles:l,style:c,vars:f,varsResolver:p}){return{...function({theme:e,themeName:t,props:n,stylesCtx:r,selector:o}){return t.map(t=>s({theme:e,styles:e.components[t]?.styles,props:n,stylesCtx:r})[o]).reduce((e,t)=>({...e,...t}),{})}({theme:e,themeName:t,props:o,stylesCtx:a,selector:n}),...s({theme:e,styles:l,props:o,stylesCtx:a})[n],...s({theme:e,styles:r?.styles,props:r?.props||o,stylesCtx:a})[n],...function({vars:e,varsResolver:t,theme:n,props:r,stylesCtx:o,selector:a,themeName:i}){return[t?.(n,r,o),...i.map(e=>n.components?.[e]?.vars?.(n,r,o)),e?.(n,r,o)].reduce((e,t)=>(t&&Object.keys(t).forEach(n=>{e[n]={...e[n],...(0,d.L)(t[n])}}),e),{})?.[a]}({theme:e,props:o,stylesCtx:a,vars:f,varsResolver:p,selector:n,themeName:t}),...i===n?u({style:c,theme:e}):null,...u({style:r?.style,theme:e})}}({theme:w,themeName:x,selector:e,options:r,props:n,stylesCtx:l,rootSelector:m,styles:g,style:p,vars:y,varsResolver:b})})}},2453:function(e,t,n){"use strict";function r(e,t){return n=>{e?.(n),t?.(n)}}n.d(t,{x:function(){return r}})},2740:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(7378);function o(e=null){let t=(0,r.createContext)(e);return[({children:e,value:n})=>r.createElement(t.Provider,{value:n},e),()=>(0,r.useContext)(t)]}},673:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(7378);function o(e){let t=(0,r.createContext)(null);return[({children:e,value:n})=>r.createElement(t.Provider,{value:n},e),()=>{let n=(0,r.useContext)(t);if(null===n)throw Error(e);return n}]}},7146:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((t,n)=>(void 0!==e[n]&&(t[n]=e[n]),t),{})}n.d(t,{L:function(){return r}})},3658:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});let r={app:100,modal:200,popover:300,overlay:400,max:9999};function o(e){return r[e]}},947:function(e,t,n){"use strict";n.d(t,{Dp:function(){return s},H5:function(){return l},Xj:function(){return u},ap:function(){return a},bG:function(){return i},yv:function(){return c}});var r=n(6425),o=n(4485);function a(e,t="size",n=!0){if(void 0!==e)return(0,r.s)(e)?n?(0,o.h)(e):e:`var(--${t}-${e})`}function i(e){return a(e,"mantine-spacing")}function l(e){return void 0===e?"var(--mantine-radius-default)":a(e,"mantine-radius")}function c(e){return a(e,"mantine-font-size")}function s(e){return a(e,"mantine-line-height",!1)}function u(e){if(e)return a(e,"mantine-shadow",!1)}},495:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(7378);function o(e){return!Array.isArray(e)&&null!==e&&"object"==typeof e&&e.type!==r.Fragment}},6425:function(e,t,n){"use strict";function r(e){return"number"==typeof e||"string"==typeof e&&(!!(e.startsWith("calc(")||e.startsWith("var(")||e.includes(" ")&&""!==e.trim())||/[0-9]/.test(e.trim().replace("-","")[0]))}n.d(t,{s:function(){return r}})},6145:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(7378);function o(e,t){let n=(0,r.useRef)(!1);(0,r.useEffect)(()=>()=>{n.current=!1},[]),(0,r.useEffect)(()=>{if(n.current)return e();n.current=!0},t)}},633:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(7378);function o(e,t=["INPUT","TEXTAREA","SELECT"],n=!1){(0,r.useEffect)(()=>{let r=r=>{e.forEach(([e,o,a={preventDefault:!0}])=>{(function(e,t){let{alt:n,ctrl:r,meta:o,mod:a,shift:i,key:l}=e,{altKey:c,ctrlKey:s,metaKey:u,shiftKey:d,key:f}=t;if(n!==c)return!1;if(a){if(!s&&!u)return!1}else if(r!==s||o!==u)return!1;return i===d&&!!l&&(f.toLowerCase()===l.toLowerCase()||t.code.replace("Key","").toLowerCase()===l.toLowerCase())})(function(e){let t=e.toLowerCase().split("+").map(e=>e.trim()),n={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},r=["alt","ctrl","meta","shift","mod"],o=t.find(e=>!r.includes(e));return{...n,key:o}}(e),r)&&function(e,t,n=!1){return!(e.target instanceof HTMLElement)||(n?!t.includes(e.target.tagName):!e.target.isContentEditable&&!t.includes(e.target.tagName))}(r,t,n)&&(a.preventDefault&&r.preventDefault(),o(r))})};return document.documentElement.addEventListener("keydown",r),()=>document.documentElement.removeEventListener("keydown",r)},[e])}},6184:function(e,t,n){"use strict";n.d(t,{M:function(){return l}});var r=n(7378),o=n(213),a=n(1883);let i=r["useId".toString()]||(()=>void 0);function l(e){let t=function(){let e=i();return e?`mantine-${e.replace(/:/g,"")}`:""}(),[n,l]=(0,r.useState)(t);return((0,o.Y)(()=>{l((0,a.k)())},[]),"string"==typeof e)?e:"undefined"==typeof window?t:n}},8395:function(e,t,n){"use strict";n.d(t,{I:function(){return l}});var r=n(7378),o=n(8360);function a(e){try{return e&&JSON.parse(e)}catch{return e}}function i(e){return{getItem:t=>{try{return window[e].getItem(t)}catch(e){return console.warn("use-local-storage: Failed to get value from storage, localStorage is blocked"),null}},setItem:(t,n)=>{try{window[e].setItem(t,n)}catch(e){console.warn("use-local-storage: Failed to set value to storage, localStorage is blocked")}},removeItem:t=>{try{window[e].removeItem(t)}catch(e){console.warn("use-local-storage: Failed to remove value from storage, localStorage is blocked")}}}}function l(e){return(function(e,t){let n="localStorage"===e?"mantine-local-storage":"mantine-session-storage",{getItem:l,setItem:c,removeItem:s}=i(e);return function({key:i,defaultValue:u,getInitialValueInEffect:d=!0,deserialize:f=a,serialize:p=e=>(function(e,t="use-local-storage"){try{return JSON.stringify(e)}catch(e){throw Error(`@mantine/hooks ${t}: Failed to serialize the value`)}})(e,t)}){let m=(0,r.useCallback)(t=>{let n;try{n="undefined"==typeof window||!(e in window)||null===window[e]||!!t}catch(e){n=!0}if(n)return u;let r=l(i);return null!==r?f(r):u},[i,u]),[h,v]=(0,r.useState)(m(d)),g=(0,r.useCallback)(e=>{e instanceof Function?v(t=>{let r=e(t);return c(i,p(r)),window.dispatchEvent(new CustomEvent(n,{detail:{key:i,value:e(t)}})),r}):(c(i,p(e)),window.dispatchEvent(new CustomEvent(n,{detail:{key:i,value:e}})),v(e))},[i]),y=(0,r.useCallback)(()=>{s(i),window.dispatchEvent(new CustomEvent(n,{detail:{key:i,value:u}}))},[]);return(0,o.s)("storage",t=>{t.storageArea===window[e]&&t.key===i&&v(f(t.newValue??void 0))}),(0,o.s)(n,e=>{e.detail.key===i&&v(e.detail.value)}),(0,r.useEffect)(()=>{void 0!==u&&void 0===h&&g(u)},[u,h,g]),(0,r.useEffect)(()=>{d&&g(m())},[]),[void 0===h?u:h,g,y]}})("localStorage","use-local-storage")(e)}!function(e){let{getItem:t}=i(e)}("localStorage")},183:function(e,t,n){"use strict";n.d(t,{Yx:function(){return a},kR:function(){return o}});var r=n(7378);function o(e,t){"function"==typeof e?e(t):"object"==typeof e&&null!==e&&"current"in e&&(e.current=t)}function a(...e){return(0,r.useCallback)(function(...e){return t=>{e.forEach(e=>o(e,t))}}(...e),e)}},5006:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(7378);function o({value:e,defaultValue:t,finalValue:n,onChange:o=()=>{}}){let[a,i]=(0,r.useState)(void 0!==t?t:n);return void 0!==e?[e,o,!0]:[a,(e,...t)=>{i(e),o?.(e,...t)},!1]}},8360:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var r=n(7378);function o(e,t,n){(0,r.useEffect)(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t])}},1883:function(e,t,n){"use strict";function r(){return`mantine-${Math.random().toString(36).slice(2,11)}`}n.d(t,{k:function(){return r}})},9279:function(e,t,n){"use strict";n.d(t,{B:function(){return t$}});var r=n(7378),o=n(1799),a=n(4485),i={demo:"m-a3c6e060",demoInner:"m-ad8eb9d6"};function l({withPadding:e=!0,centered:t,maxWidth:n,minHeight:l,children:c,dimmed:s,striped:u}){return r.createElement(o.x,{className:i.demo,mod:{"with-padding":e,centered:t,dimmed:s,striped:u},__vars:{"--demo-flex":n?"1":void 0,"--demo-max-width":n?(0,a.h)(n):void 0,"--demo-min-height":l?(0,a.h)(l):void 0,"--demo-margin-y":n&&t?"auto":void 0}},r.createElement("div",{className:i.demoInner},c))}var c=n(3276);function s({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],...n},r.createElement("path",{fill:"#1976d2",d:"M6 6h36v36H6z"}),r.createElement("path",{fill:"#fff",d:"M27.49 22H14.227v3.264h4.757V40h3.769V25.264h4.737zM39.194 26.084s-1.787-1.192-3.807-1.192-2.747.96-2.747 1.986c0 2.648 7.381 2.383 7.381 7.712 0 8.209-11.254 4.568-11.254 4.568V35.22s2.152 1.622 4.733 1.622 2.483-1.688 2.483-1.92c0-2.449-7.315-2.449-7.315-7.878 0-7.381 10.658-4.469 10.658-4.469l-.132 3.509z"}))}function u({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],...n},r.createElement("path",{fill:"#0277BD",d:"M41 5H7l3 34 14 4 14-4 3-34z"}),r.createElement("path",{fill:"#039BE5",d:"M24 8v31.9l11.2-3.2L37.7 8z"}),r.createElement("path",{fill:"#FFF",d:"M33.1 13H24v4h4.9l-.3 4H24v4h4.4l-.3 4.5-4.1 1.4v4.2l7.9-2.6.7-11.5z"}),r.createElement("path",{fill:"#EEE",d:"M24 13v4h-8.9l-.3-4H24zm-4.6 8l.2 4H24v-4h-4.6zm.4 6h-4l.3 5.5 7.9 2.6v-4.2l-4.1-1.4-.1-2.5z"}))}function d(e){return e.endsWith(".ts")||e.endsWith(".tsx")?r.createElement(s,{size:18}):e.endsWith(".css")||e.endsWith(".scss")?r.createElement(u,{size:18}):null}var f={code:"m-66990f0a"};function p({code:e,defaultExpanded:t=!0}){let n="string"==typeof e?{code:e,fileName:"Demo.tsx",language:"tsx"}:e;return r.createElement(r.Fragment,null,n&&r.createElement(c.Q,{code:n,className:f.code,getFileIcon:d,withExpandButton:!0,defaultExpanded:t}))}var m=n(624),h={root:"m-761fa02a"};function v({className:e,...t}){return r.createElement("div",{className:(0,m.Z)(h.root,e),...t})}function g({code:e,children:t,withPadding:n,centered:o,defaultExpanded:a=!0,maxWidth:i,minHeight:c,dimmed:s,striped:u}){return r.createElement(v,null,r.createElement(l,{withPadding:n,centered:o,maxWidth:i,minHeight:c,dimmed:s,striped:u},t),r.createElement(p,{code:e,defaultExpanded:a}))}var y=n(5405),b=n(149),w={columns:"m-df4e856a",controls:"m-de00ac9",header:"m-c4d78f60"};function E({children:e,withPadding:t,centered:n,maxWidth:o,minHeight:a,title:i,description:c,controls:s,dimmed:u,striped:d}){return r.createElement("div",{className:w.columns},r.createElement(l,{withPadding:t,maxWidth:o,minHeight:a,centered:n,dimmed:u,striped:d},e),r.createElement("div",{className:w.controls},i&&r.createElement("div",{className:w.header},r.createElement(b.x,{fw:500,fz:"sm",mb:5},i),c&&r.createElement(b.x,{c:"dimmed",fz:11,lh:1.45},c)),s))}var x=n(4134);function k(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}function S(e){return k(e.replace(/([a-z])([A-Z])/g,"$1 $2").toLowerCase())}var C=n(7935),R=n(5006),T=n(6184);let M={x:0,y:0,width:0,height:0,top:0,left:0,bottom:0,right:0};var L=n(183),P=n(947),A=n(7061),z=n(6415),N=n(9104),I=n(6861),$=n(7040),D=n(7226),F=n(7208),O=n(9662),B=n(892);function H(e,t){let n=parseFloat(e.replace("px",""));return Number.isNaN(n)?t:n}var _={root:"m-cf365364",indicator:"m-9e182ccd",label:"m-1738fcb2",input:"m-1714d588",control:"m-69686b9b"};let Z={withItemsBorders:!0},W=(0,z.Z)((e,{radius:t,color:n,transitionDuration:r,size:o,transitionTimingFunction:a})=>({root:{"--sc-radius":void 0===t?void 0:(0,P.H5)(t),"--sc-color":n?(0,N.p)(n,e):void 0,"--sc-shadow":n?void 0:"var(--mantine-shadow-xs)","--sc-transition-duration":void 0===r?void 0:`${r}ms`,"--sc-transition-timing-function":a,"--sc-padding":(0,P.ap)(o,"sc-padding"),"--sc-font-size":(0,P.yv)(o)}})),V=(0,O.d)((e,t)=>{let n=(0,D.w)("SegmentedControl",Z,e),{classNames:a,className:i,style:l,styles:c,unstyled:s,vars:u,data:d,value:f,defaultValue:p,onChange:m,size:h,name:v,disabled:g,readOnly:y,fullWidth:b,orientation:w,radius:E,color:x,transitionDuration:k,transitionTimingFunction:S,variant:C,autoContrast:P,withItemsBorders:z,mod:N,...O}=n,V=(0,F.y)({name:"SegmentedControl",props:n,classes:_,className:i,style:l,classNames:a,styles:c,unstyled:s,vars:u,varsResolver:W}),{dir:Y}=(0,B.gm)(),j=(0,$.rZ)(),X=d.map(e=>"string"==typeof e?{label:e,value:e}:e),[K,G]=(0,R.C)({value:f,defaultValue:p,finalValue:Array.isArray(d)?X.find(e=>!e.disabled)?.value??d[0]?.value??null:null,onChange:m}),[q,U]=(0,r.useState)({width:0,height:0,translate:[0,0]}),Q=(0,T.M)(v),J=(0,r.useRef)({}),ee=(0,r.useRef)(null),[et,en]=(0,r.useState)(!1),[er,eo]=function(){let e=(0,r.useRef)(0),t=(0,r.useRef)(null),[n,o]=(0,r.useState)(M),a=(0,r.useMemo)(()=>"undefined"!=typeof window?new ResizeObserver(n=>{let r=n[0];r&&(cancelAnimationFrame(e.current),e.current=requestAnimationFrame(()=>{t.current&&o(r.contentRect)}))}):null,[]);return(0,r.useEffect)(()=>(t.current&&a?.observe(t.current),()=>{a?.disconnect(),e.current&&cancelAnimationFrame(e.current)}),[t.current]),[t,n]}();(0,r.useEffect)(()=>{if(K in J.current&&er.current){let e=J.current[K];if(e){let t=function(e,t){let n=window.getComputedStyle(e);return{top:H(n.getPropertyValue("padding-top"),t),right:H(n.getPropertyValue("padding-right"),t),bottom:H(n.getPropertyValue("padding-bottom"),t),left:H(n.getPropertyValue("padding-left"),t)}}(ee.current,4),n=e.getBoundingClientRect(),r=e.offsetWidth/n.width,o=e.clientWidth*r||0,a=e.clientHeight*r||0,i=eo.width-e.parentElement.offsetLeft+("rtl"===Y?t.left:t.right)-o,l=e.parentElement.offsetLeft-("rtl"===Y?t.right:t.left);U({width:o,height:a,translate:["rtl"===Y?-1*i:l,e.parentElement.offsetTop-t.top]})}else U({width:0,height:0,translate:[0,0]})}},[K,eo,Y]),function(e,t,n={autoInvoke:!1}){let o=(0,r.useRef)(null),a=(0,r.useCallback)((...n)=>{o.current||(o.current=window.setTimeout(()=>{e(n),o.current=null},t))},[t]),i=(0,r.useCallback)(()=>{o.current&&(window.clearTimeout(o.current),o.current=null)},[]);(0,r.useEffect)(()=>(n.autoInvoke&&a(),i),[i,a])}(()=>{"test"!=(void 0!==A&&A.env?"production":"development")&&en(!0)},20,{autoInvoke:!0});let ea=X.map(e=>r.createElement(o.x,{...V("control"),mod:{active:K===e.value,orientation:w},key:e.value},r.createElement("input",{...V("input"),disabled:g||e.disabled,type:"radio",name:Q,value:e.value,id:`${Q}-${e.value}`,checked:K===e.value,onChange:()=>!y&&G(e.value),"data-focus-ring":j.focusRing}),r.createElement(o.x,{component:"label",...V("label"),mod:{active:K===e.value&&!(g||e.disabled),disabled:g||e.disabled,"read-only":y},htmlFor:`${Q}-${e.value}`,ref:t=>{J.current[e.value]=t},__vars:{"--sc-label-color":void 0!==x?(0,I.R)({color:x,theme:j}):void 0}},e.label))),ei=(0,L.Yx)(er,ee,t);return 0===d.length?null:r.createElement(o.x,{...V("root"),variant:C,size:h,ref:ei,mod:[{"full-width":b,orientation:w,initialization:!et,"with-items-borders":z},N],...O,role:"radiogroup"},"string"==typeof K&&r.createElement(o.x,{component:"span",...V("indicator"),__vars:{"--sc-indicator-width":`${q.width}px`,"--sc-indicator-height":`${q.height}px`,"--sc-indicator-transform":`translate(${q.translate[0]}px, ${q.translate[1]}px)`}}),ea)});function Y(e){return e.map(e=>"string"==typeof e?{label:k(e),value:e}:{value:e.value,label:k(e.label)})}V.classes=_,V.displayName="@mantine/core/SegmentedControl";var j=n(2234),X=n(5427),K={root:"m-de3d2490",colorOverlay:"m-862f3d1b",shadowOverlay:"m-98ae7f22",alphaOverlay:"m-95709ac0",childrenOverlay:"m-93e74e3"};let G={withShadow:!0},q=(0,z.Z)((e,{radius:t,size:n})=>({root:{"--cs-radius":void 0===t?void 0:(0,P.H5)(t),"--cs-size":(0,a.h)(n)}})),U=(0,X.b)((e,t)=>{let n=(0,D.w)("ColorSwatch",G,e),{classNames:a,className:i,style:l,styles:c,unstyled:s,vars:u,color:d,size:f,radius:p,withShadow:m,children:h,variant:v,...g}=(0,D.w)("ColorSwatch",G,n),y=(0,F.y)({name:"ColorSwatch",props:n,classes:K,className:i,style:l,classNames:a,styles:c,unstyled:s,vars:u,varsResolver:q});return r.createElement(o.x,{ref:t,variant:v,size:f,...y("root",{focusable:!0}),...g},r.createElement("span",{...y("alphaOverlay")}),m&&r.createElement("span",{...y("shadowOverlay")}),r.createElement("span",{...y("colorOverlay",{style:{backgroundColor:d}})}),r.createElement("span",{...y("childrenOverlay")},h))});function Q({size:e,style:t,...n}){let o=void 0!==e?{width:(0,a.h)(e),height:(0,a.h)(e),...t}:t;return r.createElement("svg",{viewBox:"0 0 10 7",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:o,"aria-hidden":!0,...n},r.createElement("path",{d:"M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}U.classes=K,U.displayName="@mantine/core/ColorSwatch";var J=n(1487);let ee=["mousedown","touchstart"];var et=n(3658),en=n(3098),er=n(673);let[eo,ea]=(0,er.R)("Popover component was not found in the tree");var ei=n(6145);let el=()=>{};var ec=n(4488),es=n(1883);let eu=/input|select|textarea|button|object/,ed="a, input, select, textarea, button, object, [tabindex]";function ef(e){let t=e.getAttribute("tabindex");return null===t&&(t=void 0),parseInt(t,10)}function ep(e){let t=e.nodeName.toLowerCase(),n=!Number.isNaN(ef(e)),r=eu.test(t)&&!e.disabled||e instanceof HTMLAnchorElement&&e.href||n;return r&&function(e){let t=e.getAttribute("aria-hidden")||e.getAttribute("hidden")||"hidden"===e.getAttribute("type");if(t)return!1;let n=e;for(;n&&n!==document.body&&11!==n.nodeType;){if("none"===n.style.display)return!1;n=n.parentNode}return!0}(e)}function em(e){let t=ef(e),n=Number.isNaN(t);return(n||t>=0)&&ep(e)}var eh=n(495);function ev({children:e,active:t=!0,refProp:n="ref"}){let o=function(e=!0){let t=(0,r.useRef)(),n=(0,r.useRef)(null),o=e=>{let t=e.querySelector("[data-autofocus]");if(!t){let n=Array.from(e.querySelectorAll(ed));!(t=n.find(em)||n.find(ep)||null)&&ep(e)&&(t=e)}t&&t.focus({preventScroll:!0})},a=(0,r.useCallback)(r=>{if(e){if(null===r){n.current&&(n.current(),n.current=null);return}n.current=function(e,t="body > :not(script)"){let n=(0,es.k)(),r=Array.from(document.querySelectorAll(t)).map(t=>{if(t?.shadowRoot?.contains(e)||t.contains(e))return;let r=t.getAttribute("aria-hidden"),o=t.getAttribute("data-hidden"),a=t.getAttribute("data-focus-id");return t.setAttribute("data-focus-id",n),null===r||"false"===r?t.setAttribute("aria-hidden","true"):o||a||t.setAttribute("data-hidden",r),{node:t,ariaHidden:o||null}});return()=>{r.forEach(e=>{e&&n===e.node.getAttribute("data-focus-id")&&(null===e.ariaHidden?e.node.removeAttribute("aria-hidden"):e.node.setAttribute("aria-hidden",e.ariaHidden),e.node.removeAttribute("data-focus-id"),e.node.removeAttribute("data-hidden"))})}}(r),t.current!==r&&(r?(setTimeout(()=>{r.getRootNode()&&o(r)}),t.current=r):t.current=null)}},[e]);return(0,r.useEffect)(()=>{if(!e)return;t.current&&setTimeout(()=>o(t.current));let r=e=>{"Tab"===e.key&&t.current&&function(e,t){let n=Array.from(e.querySelectorAll(ed)).filter(em);if(!n.length){t.preventDefault();return}let r=n[t.shiftKey?0:n.length-1],o=e.getRootNode(),a=r===o.activeElement||e===o.activeElement,i=o.activeElement,l="INPUT"===i.tagName&&"radio"===i.getAttribute("type");if(l){let e=n.filter(e=>"radio"===e.getAttribute("type")&&e.getAttribute("name")===i.getAttribute("name"));a=e.includes(r)}if(!a)return;t.preventDefault();let c=n[t.shiftKey?n.length-1:0];c&&c.focus()}(t.current,e)};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r),n.current&&n.current()}},[e]),a}(t),a=(0,L.Yx)(o,e?.ref);return(0,eh.k)(e)?(0,r.cloneElement)(e,{[n]:a}):e}ev.displayName="@mantine/core/FocusTrap";var eg=n(825),ey=n(96),eb={dropdown:"m-38a85659",arrow:"m-a31dc6c1"};let ew={},eE=(0,O.d)((e,t)=>{let n=(0,D.w)("PopoverDropdown",ew,e),{className:i,style:l,vars:c,children:s,onKeyDownCapture:u,variant:d,classNames:f,styles:p,...m}=n,h=ea(),v=function({opened:e,shouldReturnFocus:t=!0}){let n=(0,r.useRef)(),o=()=>{n.current&&"focus"in n.current&&"function"==typeof n.current.focus&&n.current?.focus({preventScroll:!0})};return(0,ei.l)(()=>{let r=-1,a=e=>{"Tab"===e.key&&window.clearTimeout(r)};return document.addEventListener("keydown",a),e?n.current=document.activeElement:t&&(r=window.setTimeout(o,10)),()=>{window.clearTimeout(r),document.removeEventListener("keydown",a)}},[e,t]),o}({opened:h.opened,shouldReturnFocus:h.returnFocus}),g=h.withRoles?{"aria-labelledby":h.getTargetId(),id:h.getDropdownId(),role:"dialog",tabIndex:-1}:{},y=(0,L.Yx)(t,h.floating);return h.disabled?null:r.createElement(eg.q,{...h.portalProps,withinPortal:h.withinPortal},r.createElement(ey.u,{mounted:h.opened,...h.transitionProps,transition:h.transitionProps?.transition||"fade",duration:h.transitionProps?.duration??150,keepMounted:h.keepMounted,exitDuration:"number"==typeof h.transitionProps?.exitDuration?h.transitionProps.exitDuration:h.transitionProps?.duration},e=>r.createElement(ev,{active:h.trapFocus},r.createElement(o.x,{...g,...m,variant:d,ref:y,onKeyDownCapture:function(e,t={active:!0}){return"function"==typeof e&&t.active?n=>{"Escape"===n.key&&(e(n),t.onTrigger?.())}:t.onKeyDown||el}(h.onClose,{active:h.closeOnEscape,onTrigger:v,onKeyDown:u}),"data-position":h.placement,...h.getStyles("dropdown",{className:i,props:n,classNames:f,styles:p,style:[{...e,zIndex:h.zIndex,top:h.y??0,left:h.x??0,width:"target"===h.width?void 0:(0,a.h)(h.width)},l]})},s,r.createElement(ec.Y,{ref:h.arrowRef,arrowX:h.arrowX,arrowY:h.arrowY,visible:h.withArrow,position:h.placement,arrowSize:h.arrowSize,arrowRadius:h.arrowRadius,arrowOffset:h.arrowOffset,arrowPosition:h.arrowPosition,...h.getStyles("arrow",{props:n,classNames:f,styles:p})})))))});eE.classes=eb,eE.displayName="@mantine/core/PopoverDropdown";let ex={refProp:"ref",popupType:"dialog"},ek=(0,O.d)((e,t)=>{let{children:n,refProp:o,popupType:a,...i}=(0,D.w)("PopoverTarget",ex,e);if(!(0,eh.k)(n))throw Error("Popover.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let l=ea(),c=(0,L.Yx)(l.reference,n.ref,t),s=l.withRoles?{"aria-haspopup":a,"aria-expanded":l.opened,"aria-controls":l.getDropdownId(),id:l.getTargetId()}:{};return(0,r.cloneElement)(n,{...i,...s,...l.targetProps,className:(0,m.Z)(l.targetProps.className,i.className,n.props.className),[o]:c,...l.controlled?null:{onClick:l.onToggle}})});ek.displayName="@mantine/core/PopoverTarget";var eS=n(5288),eC=n(6350),eR=n(2216),eT=n(2966);let eM={position:"bottom",offset:8,positionDependencies:[],transitionProps:{transition:"fade",duration:150},middlewares:{flip:!0,shift:!0,inline:!1},arrowSize:7,arrowOffset:5,arrowRadius:0,arrowPosition:"side",closeOnClickOutside:!0,withinPortal:!0,closeOnEscape:!0,trapFocus:!1,withRoles:!0,returnFocus:!1,clickOutsideEvents:["mousedown","touchstart"],zIndex:(0,et.w)("popover"),__staticSelector:"Popover",width:"max-content"},eL=(0,z.Z)((e,{radius:t,shadow:n})=>({dropdown:{"--popover-radius":void 0===t?void 0:(0,P.H5)(t),"--popover-shadow":(0,P.Xj)(n)}}));function eP(e){let t=(0,D.w)("Popover",eM,e),{children:n,position:o,offset:a,onPositionChange:i,positionDependencies:l,opened:c,transitionProps:s,width:u,middlewares:d,withArrow:f,arrowSize:p,arrowOffset:m,arrowRadius:h,arrowPosition:v,unstyled:g,classNames:y,styles:b,closeOnClickOutside:w,withinPortal:E,portalProps:x,closeOnEscape:k,clickOutsideEvents:S,trapFocus:C,onClose:M,onOpen:L,onChange:P,zIndex:A,radius:z,shadow:N,id:I,defaultOpened:$,__staticSelector:O,withRoles:H,disabled:_,returnFocus:Z,variant:W,keepMounted:V,vars:Y,...j}=t,X=(0,F.y)({name:O,props:t,classes:eb,classNames:y,styles:b,unstyled:g,rootSelector:"dropdown",vars:Y,varsResolver:eL}),K=(0,r.useRef)(null),[G,q]=(0,r.useState)(null),[U,Q]=(0,r.useState)(null),{dir:J}=(0,B.gm)(),et=(0,T.M)(I),er=function(e){let[t,n]=(0,R.C)({value:e.opened,defaultValue:e.defaultOpened,finalValue:!1,onChange:e.onChange}),r=(0,eR.YF)({placement:e.position,middleware:function(e,t){let n=[(0,eS.cv)(e.offset)];return e.middlewares?.shift&&n.push((0,eS.uY)({limiter:(0,eS.dr)()})),e.middlewares?.flip&&n.push((0,eS.RR)()),e.middlewares?.inline&&n.push((0,eS.Qo)()),n.push((0,eC.x7)({element:e.arrowRef,padding:e.arrowOffset})),(e.middlewares?.size||"target"===e.width)&&n.push((0,eS.dp)({apply({rects:n,availableWidth:r,availableHeight:o}){let a=t(),i=a.refs.floating.current?.style??{};e.middlewares?.size&&Object.assign(i,{maxWidth:`${r}px`,maxHeight:`${o}px`}),"target"===e.width&&Object.assign(i,{width:`${n.reference.width}px`})}})),n}(e,()=>r)});return(0,eT.L)({opened:e.opened,position:e.position,positionDependencies:e.positionDependencies||[],floating:r}),(0,ei.l)(()=>{e.onPositionChange?.(r.placement)},[r.placement]),(0,ei.l)(()=>{e.opened?e.onOpen?.():e.onClose?.()},[e.opened]),{floating:r,controlled:"boolean"==typeof e.opened,opened:t,onClose:()=>{t&&(e.onClose?.(),n(!1))},onToggle:()=>{t?(e.onClose?.(),n(!1)):(e.onOpen?.(),n(!0))}}}({middlewares:d,width:u,position:(0,en._)(J,o),offset:"number"==typeof a?a+(f?p/2:0):a,arrowRef:K,arrowOffset:m,onPositionChange:i,positionDependencies:l,opened:c,defaultOpened:$,onChange:P,onOpen:L,onClose:M});!function(e,t,n){let o=(0,r.useRef)();(0,r.useEffect)(()=>{let r=t=>{let{target:r}=t??{};if(Array.isArray(n)){let o=r?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(r)&&"HTML"!==r.tagName,a=n.every(e=>!!e&&!t.composedPath().includes(e));a&&!o&&e()}else o.current&&!o.current.contains(r)&&e()};return(t||ee).forEach(e=>document.addEventListener(e,r)),()=>{(t||ee).forEach(e=>document.removeEventListener(e,r))}},[o,e,n])}(()=>w&&er.onClose(),S,[G,U]);let ea=(0,r.useCallback)(e=>{q(e),er.floating.refs.setReference(e)},[er.floating.refs.setReference]),el=(0,r.useCallback)(e=>{Q(e),er.floating.refs.setFloating(e)},[er.floating.refs.setFloating]);return r.createElement(eo,{value:{returnFocus:Z,disabled:_,controlled:er.controlled,reference:ea,floating:el,x:er.floating.x,y:er.floating.y,arrowX:er.floating?.middlewareData?.arrow?.x,arrowY:er.floating?.middlewareData?.arrow?.y,opened:er.opened,arrowRef:K,transitionProps:s,width:u,withArrow:f,arrowSize:p,arrowOffset:m,arrowRadius:h,arrowPosition:v,placement:er.floating.placement,trapFocus:C,withinPortal:E,portalProps:x,zIndex:A,radius:z,shadow:N,closeOnEscape:k,onClose:er.onClose,onToggle:er.onToggle,getTargetId:()=>`${et}-target`,getDropdownId:()=>`${et}-dropdown`,withRoles:H,targetProps:j,__staticSelector:O,classNames:y,styles:b,unstyled:g,variant:W,keepMounted:V,getStyles:X}},n)}eP.Target=ek,eP.Dropdown=eE,eP.displayName="@mantine/core/Popover",eP.extend=e=>e;var eA=n(7878);function ez(e,t,n){return void 0===t&&void 0===n?e:void 0!==t&&void 0===n?Math.max(e,t):void 0===t&&void 0!==n?Math.min(e,n):Math.min(Math.max(e,t),n)}function eN(e){return{x:ez(e.x,0,1),y:ez(e.y,0,1)}}function eI(e,t,n="ltr"){let o=(0,r.useRef)(null),a=(0,r.useRef)(!1),i=(0,r.useRef)(!1),l=(0,r.useRef)(0),[c,s]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{a.current=!0},[]),(0,r.useEffect)(()=>{let r=({x:t,y:r})=>{cancelAnimationFrame(l.current),l.current=requestAnimationFrame(()=>{if(a.current&&o.current){o.current.style.userSelect="none";let a=o.current.getBoundingClientRect();if(a.width&&a.height){let o=ez((t-a.left)/a.width,0,1);e({x:"ltr"===n?o:1-o,y:ez((r-a.top)/a.height,0,1)})}}})},c=()=>{document.addEventListener("mousemove",m),document.addEventListener("mouseup",f),document.addEventListener("touchmove",v),document.addEventListener("touchend",f)},u=()=>{document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",v),document.removeEventListener("touchend",f)},d=()=>{!i.current&&a.current&&(i.current=!0,"function"==typeof t?.onScrubStart&&t.onScrubStart(),s(!0),c())},f=()=>{i.current&&a.current&&(i.current=!1,s(!1),u(),setTimeout(()=>{"function"==typeof t?.onScrubEnd&&t.onScrubEnd()},0))},p=e=>{d(),e.preventDefault(),m(e)},m=e=>r({x:e.clientX,y:e.clientY}),h=e=>{e.cancelable&&e.preventDefault(),d(),v(e)},v=e=>{e.cancelable&&e.preventDefault(),r({x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY})};return o.current?.addEventListener("mousedown",p),o.current?.addEventListener("touchstart",h,{passive:!1}),()=>{o.current&&(o.current.removeEventListener("mousedown",p),o.current.removeEventListener("touchstart",h))}},[n,e]),{ref:o,active:c}}var e$=n(2740);let[eD,eF]=(0,e$.V)(null),eO=(0,r.forwardRef)(({position:e,...t},n)=>r.createElement(o.x,{ref:n,__vars:{"--_thumb-y-offset":`${100*e.y}%`,"--_thumb-x-offset":`${100*e.x}%`},...t}));eO.displayName="@mantine/core/ColorPickerThumb";var eB={wrapper:"m-fee9c77",preview:"m-9dddfbac",body:"m-bffecc3e",sliders:"m-3283bb96",thumb:"m-40d572ba",swatch:"m-d8ee6fd8",swatches:"m-5711e686",saturation:"m-202a296e",saturationOverlay:"m-11b3db02",slider:"m-d856d47d",sliderOverlay:"m-8f327113"};let eH={},e_=(0,O.d)((e,t)=>{let n=(0,D.w)("ColorSlider",eH,e),{classNames:i,className:l,style:c,styles:s,unstyled:u,vars:d,onChange:f,onChangeEnd:p,maxValue:m,round:h,size:v="md",focusable:g=!0,value:y,overlays:b,thumbColor:w="transparent",onScrubStart:E,onScrubEnd:x,__staticSelector:k="ColorPicker",...S}=n,C=(0,F.y)({name:k,classes:eB,props:n,className:l,style:c,classNames:i,styles:s,unstyled:u}),R=eF()?.getStyles,T=R||C,M=(0,$.rZ)(),[P,A]=(0,r.useState)({y:0,x:y/m}),z=(0,r.useRef)(P),N=e=>h?Math.round(e*m):e*m,{ref:I}=eI(({x:e,y:t})=>{z.current={x:e,y:t},f?.(N(e))},{onScrubEnd:()=>{let{x:e}=z.current;p?.(N(e)),x?.()},onScrubStart:E});(0,ei.l)(()=>{A({y:0,x:y/m})},[y]);let O=(e,t)=>{e.preventDefault();let n=eN(t);f?.(N(n.x)),p?.(N(n.x))},B=b.map((e,t)=>r.createElement("div",{...T("sliderOverlay"),style:e,key:t}));return r.createElement(o.x,{...S,ref:(0,L.Yx)(I,t),...T("slider"),role:"slider","aria-valuenow":y,"aria-valuemax":m,"aria-valuemin":0,tabIndex:g?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowRight":O(e,{x:P.x+.05,y:P.y});break;case"ArrowLeft":O(e,{x:P.x-.05,y:P.y})}},"data-focus-ring":M.focusRing,__vars:{"--_cp-thumb-size":`var(--cp-thumb-size-${v})`}},B,r.createElement(eO,{position:P,...T("thumb",{style:{top:(0,a.h)(1),background:w}})}))});function eZ(e,t=0,n=10**t){return Math.round(n*e)/n}e_.displayName="@mantine/core/ColorSlider";let eW={grad:.9,turn:360,rad:360/(2*Math.PI)},eV=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function eY(e){let t=eV.exec(e);return t?function({h:e,s:t,l:n,a:r}){let o=t*((n<50?n:100-n)/100);return{h:e,s:o>0?2*o/(n+o)*100:0,v:n+o,a:r}}({h:function(e,t="deg"){return Number(e)*(eW[t]||1)}(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}}function ej({r:e,g:t,b:n,a:r}){let o=Math.max(e,t,n),a=o-Math.min(e,t,n),i=a?o===e?(t-n)/a:o===t?2+(n-e)/a:4+(e-t)/a:0;return{h:eZ(60*(i<0?i+6:i),3),s:eZ(o?a/o*100:0,3),v:eZ(o/255*100,3),a:r}}function eX(e){let t="#"===e[0]?e.slice(1):e;return 3===t.length?ej({r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:1}):ej({r:parseInt(t.slice(0,2),16),g:parseInt(t.slice(2,4),16),b:parseInt(t.slice(4,6),16),a:1})}let eK=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i;function eG(e){let t=eK.exec(e);return t?ej({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}}let eq={hex:/^#?([0-9A-F]{3}){1,2}$/i,hexa:/^#?([0-9A-F]{4}){1,2}$/i,rgb:/^rgb\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,rgba:/^rgba\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/i,hsl:/hsl\(\s*(\d+)\s*,\s*(\d+(?:\.\d+)?%)\s*,\s*(\d+(?:\.\d+)?%)\)/i,hsla:/^hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*(\d*(?:\.\d+)?)\)$/i},eU={hex:eX,hexa:function(e){let t="#"===e[0]?e.slice(1):e,n=e=>eZ(parseInt(e,16)/255,3);if(4===t.length){let e=t.slice(0,3),r=n(t[3]+t[3]),o={...eX(e),a:r};return o}let r=t.slice(0,6),o=n(t.slice(6,8)),a={...eX(r),a:o};return a},rgb:eG,rgba:eG,hsl:eY,hsla:eY};function eQ(e){if("string"!=typeof e)return{h:0,s:0,v:0,a:1};if("transparent"===e)return{h:0,s:0,v:0,a:0};let t=e.trim();for(let[e,n]of Object.entries(eq))if(n.test(t))return eU[e](t);return{h:0,s:0,v:0,a:1}}let eJ={},e0=(0,r.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:i,color:l,...c}=(0,D.w)("AlphaSlider",eJ,e);return r.createElement(e_,{...c,ref:t,value:n,onChange:e=>o?.(eZ(e,2)),onChangeEnd:e=>i?.(eZ(e,2)),maxValue:1,round:!1,"data-alpha":!0,overlays:[{backgroundImage:"linear-gradient(45deg, var(--_slider-checkers) 25%, transparent 25%), linear-gradient(-45deg, var(--_slider-checkers) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, var(--_slider-checkers) 75%), linear-gradient(-45deg, var(--mantine-color-body) 75%, var(--_slider-checkers) 75%)",backgroundSize:`${(0,a.h)(8)} ${(0,a.h)(8)}`,backgroundPosition:`0 0, 0 ${(0,a.h)(4)}, ${(0,a.h)(4)} ${(0,a.h)(-4)}, ${(0,a.h)(-4)} 0`},{backgroundImage:`linear-gradient(90deg, transparent, ${l})`},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,a.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,a.h)(4)} inset`}]})});function e1({h:e,s:t,v:n,a:r}){let o=e/360*6,a=t/100,i=n/100,l=Math.floor(o),c=i*(1-a),s=i*(1-(o-l)*a),u=i*(1-(1-o+l)*a),d=l%6;return{r:eZ(255*[i,s,c,c,u,i][d]),g:eZ(255*[u,i,i,s,c,c][d]),b:eZ(255*[c,c,u,i,i,s][d]),a:eZ(r,2)}}function e2(e,t){let{r:n,g:r,b:o,a}=e1(e);return t?`rgba(${n}, ${r}, ${o}, ${eZ(a,2)})`:`rgb(${n}, ${r}, ${o})`}function e4({h:e,s:t,v:n,a:r},o){let a=(200-t)*n/100,i={h:Math.round(e),s:Math.round(a>0&&a<200?t*n/100/(a<=100?a:200-a)*100:0),l:Math.round(a/2)};return o?`hsla(${i.h}, ${i.s}%, ${i.l}%, ${eZ(r,2)})`:`hsl(${i.h}, ${i.s}%, ${i.l}%)`}function e3(e){let t=e.toString(16);return t.length<2?`0${t}`:t}function e6(e){let{r:t,g:n,b:r}=e1(e);return`#${e3(t)}${e3(n)}${e3(r)}`}e0.displayName="@mantine/core/AlphaSlider";let e9={hex:e6,hexa:e=>(function(e){let t=Math.round(255*e.a);return`${e6(e)}${e3(t)}`})(e),rgb:e=>e2(e,!1),rgba:e=>e2(e,!0),hsl:e=>e4(e,!1),hsla:e=>e4(e,!0)};function e8(e,t){return t?e in e9?e9[e](t):e9.hex(t):"#000000"}let e7=(0,r.forwardRef)((e,t)=>{let{value:n,onChange:o,onChangeEnd:i,color:l,...c}=(0,D.w)("HueSlider",{},e);return r.createElement(e_,{...c,ref:t,value:n,onChange:o,onChangeEnd:i,maxValue:360,thumbColor:`hsl(${n}, 100%, 50%)`,round:!0,"data-hue":!0,overlays:[{backgroundImage:"linear-gradient(to right,hsl(0,100%,50%),hsl(60,100%,50%),hsl(120,100%,50%),hsl(170,100%,50%),hsl(240,100%,50%),hsl(300,100%,50%),hsl(360,100%,50%))"},{boxShadow:`rgba(0, 0, 0, .1) 0 0 0 ${(0,a.h)(1)} inset, rgb(0, 0, 0, .15) 0 0 ${(0,a.h)(4)} inset`}]})});function e5({className:e,onChange:t,onChangeEnd:n,value:a,saturationLabel:i,focusable:l=!0,size:c,color:s,onScrubStart:u,onScrubEnd:d,...f}){let{getStyles:p}=eF(),[m,h]=(0,r.useState)({x:a.s/100,y:1-a.v/100}),v=(0,r.useRef)(m),{ref:g}=eI(({x:e,y:n})=>{v.current={x:e,y:n},t({s:Math.round(100*e),v:Math.round((1-n)*100)})},{onScrubEnd:()=>{let{x:e,y:t}=v.current;n({s:Math.round(100*e),v:Math.round((1-t)*100)}),d?.()},onScrubStart:u});(0,r.useEffect)(()=>{h({x:a.s/100,y:1-a.v/100})},[a.s,a.v]);let y=(e,r)=>{e.preventDefault();let o=eN(r);t({s:Math.round(100*o.x),v:Math.round((1-o.y)*100)}),n({s:Math.round(100*o.x),v:Math.round((1-o.y)*100)})};return r.createElement(o.x,{...p("saturation"),ref:g,...f,role:"slider","aria-label":i,"aria-valuenow":m.x,"aria-valuetext":e8("rgba",a),tabIndex:l?0:-1,onKeyDown:e=>{switch(e.key){case"ArrowUp":y(e,{y:m.y-.05,x:m.x});break;case"ArrowDown":y(e,{y:m.y+.05,x:m.x});break;case"ArrowRight":y(e,{x:m.x+.05,y:m.y});break;case"ArrowLeft":y(e,{x:m.x-.05,y:m.y})}}},r.createElement("div",{...p("saturationOverlay",{style:{backgroundColor:`hsl(${a.h}, 100%, 50%)`}})}),r.createElement("div",{...p("saturationOverlay",{style:{backgroundImage:"linear-gradient(90deg, #fff, transparent)"}})}),r.createElement("div",{...p("saturationOverlay",{style:{backgroundImage:"linear-gradient(0deg, #000, transparent)"}})}),r.createElement(eO,{position:m,...p("thumb",{style:{backgroundColor:s}})}))}e7.displayName="@mantine/core/HueSlider",e5.displayName="@mantine/core/Saturation";let te=(0,r.forwardRef)(({className:e,datatype:t,setValue:n,onChangeEnd:a,size:i,focusable:l,data:c,swatchesPerRow:s,...u},d)=>{let f=eF(),p=c.map((e,t)=>r.createElement(U,{...f.getStyles("swatch"),unstyled:f.unstyled,component:"button",type:"button",color:e,key:t,radius:"sm",onClick:()=>{n(e),a?.(e)},"aria-label":e,tabIndex:l?0:-1,"data-swatch":!0}));return r.createElement(o.x,{...f.getStyles("swatches"),ref:d,...u},p)});te.displayName="@mantine/core/Swatches";let tt={swatchesPerRow:7,withPicker:!0,focusable:!0,size:"md",__staticSelector:"ColorPicker"},tn=(0,z.Z)((e,{size:t,swatchesPerRow:n})=>({wrapper:{"--cp-preview-size":(0,P.ap)(t,"cp-preview-size"),"--cp-width":(0,P.ap)(t,"cp-width"),"--cp-body-spacing":(0,P.bG)(t),"--cp-swatch-size":`${100/n}%`,"--cp-thumb-size":(0,P.ap)(t,"cp-thumb-size"),"--cp-saturation-height":(0,P.ap)(t,"cp-saturation-height")}})),tr=(0,O.d)((e,t)=>{let n=(0,D.w)("ColorPicker",tt,e),{classNames:a,className:i,style:l,styles:c,unstyled:s,vars:u,format:d,value:f,defaultValue:p,onChange:m,onChangeEnd:h,withPicker:v,size:g,saturationLabel:y,hueLabel:b,alphaLabel:w,focusable:E,swatches:x,swatchesPerRow:k,fullWidth:S,onColorSwatchClick:C,__staticSelector:T,mod:M,...L}=n,P=(0,F.y)({name:T,props:n,classes:eB,className:i,style:l,classNames:a,styles:c,unstyled:s,rootSelector:"wrapper",vars:u,varsResolver:tn}),A=(0,r.useRef)(d),z=(0,r.useRef)(),N=(0,r.useRef)(-1),I=(0,r.useRef)(!1),$="hexa"===d||"rgba"===d||"hsla"===d,[O,B,H]=(0,R.C)({value:f,defaultValue:p,finalValue:"#FFFFFF",onChange:m}),[_,Z]=(0,r.useState)(eQ(O)),W=()=>{window.clearTimeout(N.current),I.current=!0},V=()=>{window.clearTimeout(N.current),N.current=window.setTimeout(()=>{I.current=!1},200)},Y=e=>{Z(t=>{let n={...t,...e};return z.current=e8(A.current,n),n}),B(z.current)};return(0,ei.l)(()=>{(function(e){for(let[,t]of Object.entries(eq))if(t.test(e))return!0;return!1})(f)&&!I.current&&Z(eQ(f))},[f]),(0,ei.l)(()=>{A.current=d,B(e8(d,_))},[d]),r.createElement(eD,{value:{getStyles:P,unstyled:s}},r.createElement(o.x,{ref:t,...P("wrapper"),size:g,mod:[{"full-width":S},M],...L},v&&r.createElement(r.Fragment,null,r.createElement(e5,{value:_,onChange:Y,onChangeEnd:({s:e,v:t})=>h?.(e8(A.current,{..._,s:e,v:t})),color:O,size:g,focusable:E,saturationLabel:y,onScrubStart:W,onScrubEnd:V}),r.createElement("div",{...P("body")},r.createElement("div",{...P("sliders")},r.createElement(e7,{value:_.h,onChange:e=>Y({h:e}),onChangeEnd:e=>h?.(e8(A.current,{..._,h:e})),size:g,focusable:E,"aria-label":b,onScrubStart:W,onScrubEnd:V}),$&&r.createElement(e0,{value:_.a,onChange:e=>Y({a:e}),onChangeEnd:e=>{h?.(e8(A.current,{..._,a:e}))},size:g,color:e8("hex",_),focusable:E,"aria-label":w,onScrubStart:W,onScrubEnd:V})),$&&r.createElement(U,{color:O,radius:"sm",size:"var(--cp-preview-size)",...P("preview")}))),Array.isArray(x)&&r.createElement(te,{data:x,swatchesPerRow:k,focusable:E,setValue:B,onChangeEnd:e=>{let t=e8(d,eQ(e));C?.(t),h?.(t),H||Z(eQ(e))}})))});tr.classes=eB,tr.displayName="@mantine/core/ColorPicker";var to=n(2033);function ta(){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 200 200",style:{width:(0,a.h)(18),height:(0,a.h)(18)}},r.createElement("path",{fill:"#FF5178",d:"M100 0a100 100 0 00-50 13.398l30 51.961A40 40 0 01100 60V0z"}),r.createElement("path",{fill:"#FF9259",d:"M49.982 13.408a99.999 99.999 0 00-36.595 36.61l51.968 29.99a40 40 0 0114.638-14.645l-30.01-51.955z"}),r.createElement("path",{fill:"#FFD23B",d:"M13.386 50.02A100 100 0 000 100.025l60-.014a40 40 0 015.354-20.002L13.386 50.021z"}),r.createElement("path",{fill:"#89C247",d:"M0 100a99.999 99.999 0 0013.398 50l51.961-30A40.001 40.001 0 0160 100H0z"}),r.createElement("path",{fill:"#49B296",d:"M13.39 149.989a100.001 100.001 0 0036.599 36.607l30.006-51.958a39.99 39.99 0 01-14.639-14.643l-51.965 29.994z"}),r.createElement("path",{fill:"#2897B1",d:"M49.989 186.596A99.995 99.995 0 0099.987 200l.008-60a39.996 39.996 0 01-20-5.362l-30.007 51.958z"}),r.createElement("path",{fill:"#3EC3FF",d:"M100 200c17.554 0 34.798-4.621 50-13.397l-30-51.962A40 40 0 01100 140v60z"}),r.createElement("path",{fill:"#09A1E5",d:"M150.003 186.601a100.001 100.001 0 0036.601-36.604l-51.962-29.998a40 40 0 01-14.641 14.641l30.002 51.961z"}),r.createElement("path",{fill:"#077CCC",d:"M186.607 149.992A99.993 99.993 0 00200 99.99l-60 .006a39.998 39.998 0 01-5.357 20.001l51.964 29.995z"}),r.createElement("path",{fill:"#622876",d:"M200 100c0-17.554-4.621-34.798-13.397-50l-51.962 30A39.997 39.997 0 01140 100h60z"}),r.createElement("path",{fill:"#962B7C",d:"M186.597 49.99a99.994 99.994 0 00-36.606-36.598l-29.995 51.965a40 40 0 0114.643 14.64l51.958-30.006z"}),r.createElement("path",{fill:"#CB2E81",d:"M149.976 13.384A99.999 99.999 0 0099.973 0l.016 60a40.001 40.001 0 0120.002 5.353l29.985-51.97z"}))}var ti={swatch:"m-5e1a038c",check:"m-f9decbb8",colorControl:"m-2f5f7bca"},tl={dropdown:"m-88b62a41",options:"m-b2821a6e",option:"m-92253aa5",search:"m-985517d8",empty:"m-2530cd1d",header:"m-858f94bd",footer:"m-82b967cb",group:"m-254f3e4f",groupLabel:"m-2bb2e9e5",chevron:"m-2943220b",optionsDropdownOption:"m-390b5f4",optionsDropdownCheckIcon:"m-8ee53fc2"};let tc={error:null},ts=(0,z.Z)((e,{size:t})=>({chevron:{"--combobox-chevron-size":(0,P.ap)(t,"combobox-chevron-size")}})),tu=(0,O.d)((e,t)=>{let n=(0,D.w)("ComboboxChevron",tc,e),{size:a,error:i,style:l,className:c,classNames:s,styles:u,unstyled:d,vars:f,mod:p,...m}=n,h=(0,F.y)({name:"ComboboxChevron",classes:tl,props:n,style:l,className:c,classNames:s,styles:u,unstyled:d,vars:f,varsResolver:ts,rootSelector:"chevron"});return r.createElement(o.x,{component:"svg",...m,...h("chevron"),size:a,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",mod:["combobox-chevron",{error:i},p],ref:t},r.createElement("path",{d:"M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))});tu.classes=tl,tu.displayName="@mantine/core/ComboboxChevron";var td=n(4749);function tf({data:e}){if("group"in e){let t=e.items.map(e=>r.createElement(tf,{key:e.value,data:e}));return r.createElement("optgroup",{label:e.group},t)}let{value:t,label:n,...o}=e;return r.createElement("option",{key:e.value,value:e.value,...o},e.label)}tf.displayName="@mantine/core/NativeSelectOption";let tp={rightSectionPointerEvents:"none"},tm=(0,O.d)((e,t)=>{let{data:n,children:o,size:a,error:i,rightSection:l,unstyled:c,...s}=(0,D.w)("NativeSelect",tp,e),u=(n?n.map(e=>(function e(t){return"string"==typeof t?{value:t,label:t}:"value"in t&&!("label"in t)?{value:t.value,label:t.value,disabled:t.disabled}:"number"==typeof t?{value:t.toString(),label:t.toString()}:"group"in t?{group:t.group,items:t.items.map(t=>e(t))}:t})(e)):[]).map((e,t)=>r.createElement(tf,{key:t,data:e}));return r.createElement(td.M,{component:"select",ref:t,...s,__staticSelector:"NativeSelect",size:a,pointer:!0,error:i,unstyled:c,rightSection:l||r.createElement(tu,{size:a,error:i,unstyled:c})},o||u)});tm.classes=td.M.classes,tm.displayName="@mantine/core/NativeSelect";let[th,tv]=(0,er.R)("SliderProvider was not found in tree"),tg=(0,r.forwardRef)(({size:e,disabled:t,variant:n,color:a,thumbSize:i,radius:l,...c},s)=>{let{getStyles:u}=tv();return r.createElement(o.x,{tabIndex:-1,variant:n,size:e,ref:s,...u("root"),...c})});tg.displayName="@mantine/core/SliderRoot";let ty=(0,r.forwardRef)(({max:e,min:t,value:n,position:a,label:i,dragging:l,onMouseDown:c,onKeyDownCapture:s,labelTransitionProps:u,labelAlwaysOn:d,thumbLabel:f,onFocus:p,onBlur:m,showLabelOnHover:h,isHovered:v,children:g=null,disabled:y},b)=>{let{getStyles:w}=tv(),[E,x]=(0,r.useState)(!1);return r.createElement(o.x,{tabIndex:0,role:"slider","aria-label":f,"aria-valuemax":e,"aria-valuemin":t,"aria-valuenow":n,ref:b,__vars:{"--slider-thumb-offset":`${a}%`},...w("thumb",{focusable:!0}),mod:{dragging:l,disabled:y},onFocus:()=>{x(!0),"function"==typeof p&&p()},onBlur:()=>{x(!1),"function"==typeof m&&m()},onTouchStart:c,onMouseDown:c,onKeyDownCapture:s,onClick:e=>e.stopPropagation()},g,r.createElement(ey.u,{mounted:null!=i&&!!(d||l||E||h&&v),transition:"fade",duration:0,...u},e=>r.createElement("div",{...w("label",{style:e})},i)))});function tb({value:e,min:t,max:n}){return Math.min(Math.max((e-t)/(n-t)*100,0),100)}function tw({marks:e,min:t,max:n,disabled:a,value:i,offset:l,inverted:c}){let{getStyles:s}=tv();if(!e)return null;let u=e.map((e,u)=>r.createElement(o.x,{...s("markWrapper"),__vars:{"--mark-offset":`${tb({value:e.value,min:t,max:n})}%`},key:u},r.createElement(o.x,{...s("mark"),mod:{filled:function({mark:e,offset:t,value:n,inverted:r=!1}){return r?"number"==typeof t&&e.value<=t||e.value>=n:"number"==typeof t?e.value>=t&&e.value<=n:e.value<=n}({mark:e,value:i,offset:l,inverted:c}),disabled:a}}),e.label&&r.createElement("div",{...s("markLabel")},e.label)));return r.createElement("div",null,u)}function tE({filled:e,children:t,offset:n,disabled:a,marksOffset:i,inverted:l,containerProps:c,...s}){let{getStyles:u}=tv();return r.createElement(r.Fragment,null,r.createElement(o.x,{...u("trackContainer"),mod:{disabled:a},...c},r.createElement(o.x,{...u("track"),mod:{inverted:l,disabled:a}},r.createElement(o.x,{mod:{inverted:l,disabled:a},__vars:{"--slider-bar-width":`calc(${e}% + var(--slider-size))`,"--slider-bar-offset":`calc(${n}% - var(--slider-size))`},...u("bar")}),t,r.createElement(tw,{...s,offset:i,disabled:a,inverted:l}))))}function tx(e,t){return parseFloat(e.toFixed(t))}ty.displayName="@mantine/core/SliderThumb",tw.displayName="@mantine/core/SliderMarks",tE.displayName="@mantine/core/SliderTrack";var tk={root:"m-dd36362e",label:"m-c9357328",thumb:"m-c9a9a60a",trackContainer:"m-a8645c2",track:"m-c9ade57f",bar:"m-38aeed47",markWrapper:"m-b7b0423a",mark:"m-dd33bc19",markLabel:"m-68c77a5b"};let tS={radius:"xl",min:0,max:100,step:1,marks:[],label:e=>e,labelTransitionProps:{transition:"fade",duration:0},labelAlwaysOn:!1,thumbLabel:"",showLabelOnHover:!0,disabled:!1,scale:e=>e},tC=(0,z.Z)((e,{size:t,color:n,thumbSize:r,radius:o})=>({root:{"--slider-size":(0,P.ap)(t,"slider-size"),"--slider-color":n?(0,N.p)(n,e):void 0,"--slider-radius":void 0===o?void 0:(0,P.H5)(o),"--slider-thumb-size":void 0!==r?(0,a.h)(r):"calc(var(--slider-size) * 2)"}})),tR=(0,O.d)((e,t)=>{let n=(0,D.w)("Slider",tS,e),{classNames:o,styles:a,value:i,onChange:l,onChangeEnd:c,size:s,min:u,max:d,step:f,precision:p,defaultValue:m,name:h,marks:v,label:g,labelTransitionProps:y,labelAlwaysOn:b,thumbLabel:w,showLabelOnHover:E,thumbChildren:x,disabled:k,unstyled:S,scale:C,inverted:T,className:M,style:P,vars:A,hiddenInputProps:z,...N}=n,I=(0,F.y)({name:"Slider",props:n,classes:tk,classNames:o,className:M,styles:a,style:P,vars:A,varsResolver:tC,unstyled:S}),{dir:$}=(0,B.gm)(),[O,H]=(0,r.useState)(!1),[_,Z]=(0,R.C)({value:"number"==typeof i?ez(i,u,d):i,defaultValue:"number"==typeof m?ez(m,u,d):m,finalValue:ez(0,u,d),onChange:l}),W=(0,r.useRef)(_),V=(0,r.useRef)(),Y=(0,r.useRef)(),j=tb({value:_,min:u,max:d}),X=C(_),K="function"==typeof g?g(X):g,G=p??function(e){if(!e)return 0;let t=e.toString().split(".");return t.length>1?t[1].length:0}(f),q=(0,r.useCallback)(({x:e})=>{if(!k){let t=function({value:e,containerWidth:t,min:n,max:r,step:o,precision:a}){let i=(t?Math.min(Math.max(e,0),t)/t:e)*(r-n),l=Math.max((0!==i?Math.round(i/o)*o:0)+n,n);return void 0!==a?Number(l.toFixed(a)):l}({value:e,min:u,max:d,step:f,precision:G});Z(t),W.current=t}},[k,u,d,f,G,Z]),{ref:U,active:Q}=eI(q,{onScrubEnd:()=>c?.(W.current)},$);return r.createElement(th,{value:{getStyles:I}},r.createElement(tg,{...N,ref:(0,L.Yx)(t,V),onKeyDownCapture:e=>{if(!k)switch(e.key){case"ArrowUp":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max(_+f,u),d),G);c?.(t),Z(t);break}case"ArrowRight":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max("rtl"===$?_-f:_+f,u),d),G);c?.(t),Z(t);break}case"ArrowDown":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max(_-f,u),d),G);c?.(t),Z(t);break}case"ArrowLeft":{e.preventDefault(),Y.current?.focus();let t=tx(Math.min(Math.max("rtl"===$?_+f:_-f,u),d),G);c?.(t),Z(t);break}case"Home":e.preventDefault(),Y.current?.focus(),c?.(u),Z(u);break;case"End":e.preventDefault(),Y.current?.focus(),c?.(d),Z(d)}},onMouseDownCapture:()=>V.current?.focus(),size:s,disabled:k},r.createElement(tE,{inverted:T,offset:0,filled:j,marks:v,min:u,max:d,value:X,disabled:k,containerProps:{ref:U,onMouseEnter:E?()=>H(!0):void 0,onMouseLeave:E?()=>H(!1):void 0}},r.createElement(ty,{max:d,min:u,value:X,position:j,dragging:Q,label:K,ref:Y,labelTransitionProps:y,labelAlwaysOn:b,thumbLabel:w,showLabelOnHover:E,isHovered:O,disabled:k},x)),r.createElement("input",{type:"hidden",name:h,value:X,...z})))});tR.classes=tk,tR.displayName="@mantine/core/Slider";let tT=[{value:0,label:"xs"},{value:25,label:"sm"},{value:50,label:"md"},{value:75,label:"lg"},{value:100,label:"xl"}];function tM(e,t){let n=e.reduce((e,t)=>(e[t.prop]=t.libraryValue,e),{});return Object.keys(t).reduce((e,r)=>(t[r]!==n[r]&&(e[r]=t[r]),e),{})}var tL={controls:"m-b14e0e0b"};let tP={boolean:function({value:e,onChange:t,prop:n,...o}){return r.createElement(x.r,{checked:e,onChange:e=>t(e.currentTarget.checked),label:S(n),...o})},segmented:function({data:e,value:t,onChange:n,prop:o,...a}){return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(o),...a},r.createElement(V,{data:Y(e),value:t,onChange:n,fullWidth:!0,transitionDuration:150}))},color:function({value:e,onChange:t,prop:n,...o}){let[a,i]=(0,r.useState)("#fff"),l=e=>{i(e),t(e)},c=Object.keys(j.t.colors).filter(e=>"dark"!==e).map(n=>r.createElement(U,{color:`var(--mantine-color-${n}-filled)`,component:"button",key:n,onClick:()=>t(n),radius:"sm",className:ti.swatch,"aria-label":n},e===n&&r.createElement(Q,{className:ti.check})));return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(n),...o},r.createElement(J.Z,{gap:2,mt:2,wrap:"wrap"},c,r.createElement(eP,{radius:"md",position:"bottom-end",shadow:"md"},r.createElement(eP.Target,null,r.createElement(eA.k,{className:ti.colorControl,"aria-label":"Pick color"},r.createElement(ta,null))),r.createElement(eP.Dropdown,{p:8},r.createElement(tr,{value:a,onChange:l,format:"rgba"}),r.createElement(to.o,{value:a,onChange:e=>l(e.currentTarget.value),placeholder:"Enter color",radius:"md",size:"xs",mt:"xs"})))))},string:function({value:e,onChange:t,prop:n,...o}){return r.createElement(to.o,{value:e,onChange:e=>t(e.currentTarget.value),label:S(n),placeholder:"Enter prop value",...o})},select:function({value:e,onChange:t,prop:n,data:o,...a}){return r.createElement(tm,{value:e,onChange:e=>t(e.currentTarget.value),label:S(n),placeholder:"Enter prop value",data:Y(o),...a})},size:function({value:e,onChange:t,prop:n,...o}){let a=tT.find(t=>t.label===e).value;return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(n),...o},r.createElement(tR,{value:a,onChange:e=>t(tT.find(t=>t.value===e).label),label:e=>tT.find(t=>t.value===e).label,step:25,marks:tT,styles:{markLabel:{display:"none"}},thumbLabel:"Size"}))},number:function({value:e,onChange:t,prop:n,step:o,min:a,max:i,...l}){return r.createElement(C.I.Wrapper,{labelElement:"div",label:S(n),...l},r.createElement(tR,{value:e,onChange:t,step:o,min:a,max:i,thumbLabel:"Size"}))}};function tA({code:e,controls:t,children:n,centered:o,maxWidth:a,minHeight:i,withPadding:l,dimmed:c,striped:s}){let u=t.reduce((e,t)=>(e[t.prop]=t.initialValue,e),{}),[d,f]=(0,r.useState)(u),m=(e,t)=>f(n=>({...n,[e]:t})),h=t.map(e=>{let t=tP[e.type],{initialValue:n,libraryValue:o,...a}=e;return r.createElement(t,{key:e.prop,value:d[e.prop],onChange:t=>m(e.prop,t),...a})});return r.createElement(v,null,r.createElement(E,{controls:r.createElement(y.K,{className:tL.controls,gap:"sm"},h),centered:o,withPadding:l,maxWidth:a,minHeight:i,dimmed:c,striped:s},r.cloneElement(n,d)),r.createElement(p,{code:[{fileName:"Demo.tsx",language:"tsx",code:"function"==typeof e?e(tM(t,d)):function(e,t){let n=[],r=function(e){let t=e.split("\n").find(e=>e.includes("{{props}}"));return t&&t.trim().startsWith("{{props}}")}(t),o=t.replace("{{children}}",e.children||"");for(let[t,r]of Object.entries(e))"children"!==t&&("string"==typeof r?n.push(`${t}="${r}"`):"number"==typeof r?n.push(`${t}={${r}}`):"boolean"==typeof r&&(r?n.push(t):n.push(`${t}={false}`)));if(!r){let e=n.join(" ");return e.length>0?o.replace("{{props}}",` ${e}`):o.replace("{{props}}","")}let a=o.replace(/^(\s*){{props}}(\s*)$/gm,(e,t,r)=>{let o=n.map((e,r)=>`${t}${e}${r!==n.length-1?"\n":""}`).join("");return`${o}${r}`});return a.trim().replace("\n\n","\n")}(tM(t,d),e)}]}))}var tz={selector:"m-22105db1"};function tN(e){return e?`.${e} { - outline: 2px solid #fe0d45; - outline-offset: -2px; -} -`:"/*\n * Hover over selectors to apply outline styles\n *\n */"}function tI({data:e,code:t,withPadding:n,maxWidth:o,centered:a,children:i,dimmed:l,striped:c}){let[s,u]=r.useState(null),d=Object.keys(e.selectors),f=d.map(t=>r.createElement(eA.k,{className:tz.selector,key:t,onMouseEnter:()=>u(t),onMouseLeave:()=>u(null)},r.createElement(b.x,{mb:2},t),r.createElement(b.x,{fz:11,c:"dimmed"},e.selectors[t]))),m=s?` classNames={{ ${s}: classes.${s} }}`:"";return r.createElement(r.Fragment,null,r.createElement("style",{dangerouslySetInnerHTML:{__html:tN(s)}}),r.createElement(v,null,r.createElement(E,{withPadding:n,maxWidth:o,centered:a,controls:f,dimmed:l,striped:c,title:"Component Styles API",description:"Hover over selectors to highlight corresponding elements"},r.cloneElement(i,{classNames:d.reduce((e,t)=>(e[t]=t,e),{})})),r.createElement(p,{code:[{fileName:"Demo.module.css",language:"scss",code:tN(s)},{fileName:"Demo.tsx",language:"tsx",code:t.replace("{{props}}",m)}]})))}function t$({data:e}){let{component:t}=e;switch(e.type){case"code":return r.createElement(g,{...e},r.createElement(t,null));case"configurator":return r.createElement(tA,{...e},r.createElement(t,null));case"styles-api":return r.createElement(tI,{...e},r.createElement(t,null));default:return null}}},1864:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(7378),o=n(1799),a=n(4485);function i({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],fill:"currentColor",...n},r.createElement("path",{fillRule:"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"}))}},2972:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(7378),o=n(1799),a=n(4485);function i({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",...n,preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",xmlns:"http://www.w3.org/2000/svg",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t]},r.createElement("path",{d:"M0 256V0h256v256z",fill:"#C12127"}),r.createElement("path",{d:"M48 48h160v160h-32V80h-48v128H48z",fill:"#FFF"}))}},8646:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(7378),o=n(1799),a=n(4485);function i({size:e,style:t,...n}){return r.createElement(o.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid",viewBox:"0 0 256 256",style:[{width:(0,a.h)(e),height:(0,a.h)(e)},t],...n},r.createElement("path",{fill:"#368FB9",d:"M128 0C57.328 0 0 57.328 0 128s57.328 128 128 128 128-57.328 128-128S198.672 0 128 0"}),r.createElement("path",{fill:"#FFF",d:"M203.317 174.06c-7.907 1.878-11.91 3.608-21.695 9.983-15.271 9.884-31.976 14.48-31.976 14.48s-1.383 2.076-5.387 3.015c-6.918 1.68-32.963 3.114-35.335 3.163-6.376.05-10.28-1.63-11.367-4.25-3.311-7.907 4.744-11.367 4.744-11.367s-1.779-1.087-2.817-2.076c-.939-.939-1.927-2.816-2.224-2.125-1.235 3.015-1.878 10.379-5.189 13.69-4.547 4.596-13.146 3.064-18.236.395-5.585-2.965.395-9.933.395-9.933s-3.015 1.779-5.436-1.878c-2.175-3.36-4.2-9.094-3.657-16.16.593-8.056 9.587-15.865 9.587-15.865s-1.581-11.91 3.608-24.117c4.695-11.12 17.347-20.065 17.347-20.065s-10.626-11.762-6.672-22.338c2.57-6.92 3.608-6.87 4.448-7.166 2.965-1.137 5.831-2.373 7.957-4.695 10.625-11.466 24.166-9.292 24.166-9.292s6.425-19.52 12.356-15.715c1.828 1.186 8.401 15.814 8.401 15.814s7.018-4.102 7.809-2.57c4.25 8.254 4.744 24.019 2.866 33.607-3.163 15.814-11.07 24.315-14.233 29.652-.741 1.236 8.5 5.14 14.332 21.3 5.387 14.777.593 27.182 1.433 28.566.148.247.198.346.198.346s6.177.494 18.582-7.166c6.622-4.102 14.48-8.698 23.425-8.797 8.65-.149 9.094 9.983 2.57 11.564zm11.763-7.265c-.89-7.017-6.82-11.86-14.431-11.762-11.367.148-20.905 6.03-27.231 9.934-2.471 1.532-4.596 2.669-6.425 3.509.395-5.733.05-13.245-2.916-21.498-3.608-9.885-8.45-15.963-11.91-19.472 4.003-5.832 9.489-14.332 12.058-27.478 2.224-11.219 1.533-28.664-3.558-38.45-1.038-1.976-2.767-3.41-4.942-4.003-.89-.247-2.57-.741-5.881.198-4.991-10.329-6.721-11.416-8.056-12.306-2.767-1.779-6.029-2.174-9.093-1.038-4.102 1.483-7.61 5.437-10.922 12.454a51.47 51.47 0 00-1.334 3.015c-6.277.445-16.161 2.718-24.513 11.762-1.038 1.137-3.064 1.977-5.19 2.768h.05c-4.349 1.532-6.326 5.09-8.747 11.515-3.361 8.994.098 17.84 3.508 23.574-4.645 4.151-10.823 10.773-14.084 18.532-4.053 9.588-4.498 18.978-4.35 24.068-3.459 3.658-8.796 10.527-9.39 18.237-.79 10.773 3.114 18.088 4.844 20.756.494.791 1.038 1.434 1.63 2.076-.197 1.334-.246 2.768.05 4.25.643 3.46 2.817 6.277 6.128 8.056 6.524 3.46 15.617 4.942 22.635 1.433 2.52 2.669 7.117 5.239 15.469 5.239h.494c2.125 0 29.109-1.433 36.967-3.36 3.509-.841 5.93-2.324 7.512-3.658 5.04-1.582 18.977-6.326 32.123-14.826 9.291-6.03 12.504-7.315 19.423-8.995 6.72-1.63 10.922-7.759 10.082-14.53z"}))}},2888:function(e,t,n){"use strict";n.d(t,{M:function(){return f}});var r=n(7378),o=n(624),a=n(805),i=n(5959),l=n(4764),c=(0,l.Z)("sun","IconSun",[["path",{d:"M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0",key:"svg-0"}],["path",{d:"M3 12h1m8 -9v1m8 8h1m-9 8v1m-6.4 -15.4l.7 .7m12.1 -.7l-.7 .7m0 11.4l.7 .7m-12.1 -.7l-.7 .7",key:"svg-1"}]]),s=(0,l.Z)("moon","IconMoon",[["path",{d:"M12 3c.132 0 .263 0 .393 0a7.5 7.5 0 0 0 7.92 12.446a9 9 0 1 1 -8.313 -12.454z",key:"svg-0"}]]),u=n(5639),d={icon:"m-83c3d5d1",dark:"m-83c188ce",light:"m-f4e3c6be"};function f(){let{setColorScheme:e}=(0,a.X)(),t=(0,i.l)("light",{getInitialValueInEffect:!0});return r.createElement(u.A,{onClick:()=>e("light"===t?"dark":"light"),tooltip:`${"dark"===t?"Light":"Dark"} mode`,"aria-label":"Toggle color scheme"},r.createElement(c,{className:(0,o.Z)(d.icon,d.light),stroke:1.5}),r.createElement(s,{className:(0,o.Z)(d.icon,d.dark),stroke:1.5}))}},5639:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var r=n(7378),o=n(624),a=n(401),i=n(7878),l=n(5841),c={control:"m-18a11a80"};let s=(0,l.F)(function({tooltip:e,className:t,"aria-label":n,...l}){return r.createElement(a.u,{label:e},r.createElement(i.k,{className:(0,o.Z)(c.control,t),"aria-label":n||e,...l}))})},7292:function(e,t,n){"use strict";n.d(t,{q:function(){return R}});var r=n(7378),o=n(401),a=n(1487),i=n(2888),l=n(892),c=n(4485),s=n(4764),u=(0,s.Z)("text-direction-ltr","IconTextDirectionLtr",[["path",{d:"M5 19h14",key:"svg-0"}],["path",{d:"M17 21l2 -2l-2 -2",key:"svg-1"}],["path",{d:"M16 4h-6.5a3.5 3.5 0 0 0 0 7h.5",key:"svg-2"}],["path",{d:"M14 15v-11",key:"svg-3"}],["path",{d:"M10 15v-11",key:"svg-4"}]]),d=(0,s.Z)("text-direction-rtl","IconTextDirectionRtl",[["path",{d:"M16 4h-6.5a3.5 3.5 0 0 0 0 7h.5",key:"svg-0"}],["path",{d:"M14 15v-11",key:"svg-1"}],["path",{d:"M10 15v-11",key:"svg-2"}],["path",{d:"M5 19h14",key:"svg-3"}],["path",{d:"M7 21l-2 -2l2 -2",key:"svg-4"}]]),f=n(5639);function p(){let{toggleDirection:e,dir:t}=(0,l.gm)();return r.createElement(f.A,{onClick:()=>e(),tooltip:`${"ltr"===t?"RTL":"LTR"} direction`},"rtl"===t?r.createElement(u,{style:{width:(0,c.h)(22),height:(0,c.h)(22),pointerEvents:"none"},stroke:1.5}):r.createElement(d,{style:{width:(0,c.h)(22),height:(0,c.h)(22),pointerEvents:"none"},stroke:1.5}))}var m=n(1864);function h({link:e}){return r.createElement(f.A,{tooltip:"Source code",component:"a",href:e},r.createElement(m.E,{size:22}))}var v=n(1799);function g({size:e,style:t,...n}){return r.createElement(v.x,{component:"svg",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 256 199",style:[{width:(0,c.h)(e),height:(0,c.h)(e)},t],...n},r.createElement("path",{fill:"currentColor",d:"M216.856 16.597A208.5 208.5 0 00164.042 0c-2.275 4.113-4.933 9.646-6.766 14.046-19.692-2.961-39.203-2.961-58.533 0-1.832-4.4-4.55-9.933-6.846-14.046a207.807 207.807 0 00-52.855 16.638C5.618 67.147-3.443 116.4 1.087 164.956c22.169 16.555 43.653 26.612 64.775 33.193A161.13 161.13 0 0079.735 175.3a136.374 136.374 0 01-21.846-10.632 108.542 108.542 0 005.356-4.237c42.122 19.702 87.89 19.702 129.51 0 1.751 1.46 3.543 2.88 5.355 4.237a136.011 136.011 0 01-21.886 10.653c4.006 8.02 8.638 15.671 13.873 22.848 21.142-6.581 42.646-16.637 64.815-33.213 5.316-56.288-9.081-105.09-38.056-148.36zM85.474 135.095c-12.645 0-23.015-11.805-23.015-26.18s10.149-26.2 23.015-26.2c12.867 0 23.236 11.804 23.015 26.2.02 14.375-10.148 26.18-23.015 26.18zm85.051 0c-12.645 0-23.014-11.805-23.014-26.18s10.148-26.2 23.014-26.2c12.867 0 23.236 11.804 23.015 26.2 0 14.375-10.148 26.18-23.015 26.18z"}))}var y={discord:"m-19df8210"};function b({link:e}){return r.createElement(f.A,{tooltip:"Discord",component:"a",href:e,className:y.discord},r.createElement(g,{size:20}))}var w=n(624),E=n(7854),x=n(7878),k=n(149),S={root:"m-6e98493a",shortcut:"m-602cb89e"};function C({className:e,...t}){return r.createElement(x.k,{...t,className:(0,w.Z)(S.root,e)},r.createElement(a.Z,{gap:"xs"},r.createElement(E.Z,{style:{width:(0,c.h)(15),height:(0,c.h)(15)},stroke:1.5}),r.createElement(k.x,{fz:"sm",c:"dimmed",pr:80},"Search"),r.createElement(k.x,{fw:700,className:S.shortcut},"Ctrl + K")))}function R({onSearch:e,githubLink:t,withDirectionToggle:n=!0,withSearch:l=!0,withGithub:c=!0,withDiscord:s=!0,withColorScheme:u=!0,discordLink:d,...f}){return r.createElement(o.u.Group,{openDelay:600,closeDelay:100},r.createElement(a.Z,{gap:"xs",...f},l&&r.createElement(C,{onClick:e}),s&&r.createElement(b,{link:d}),c&&r.createElement(h,{link:t}),n&&r.createElement(p,null),u&&r.createElement(i.M,null)))}},2905:function(e,t,n){"use strict";n.d(t,{D:function(){return f}});var r=n(7378),o=n(4485),a=n(7040),i=n(4710);function l({color:e,inverted:t}){let n=(0,a.rZ)(),r=(0,i.E)({color:e||"blue",theme:n}),o=r.isThemeColor?n.colors[r.color][5]:e;return{background:t?n.white:o,color:t?o:n.white}}function c({size:e,color:t,variant:n,inverted:a,style:i,...c}){let s=l({color:t,inverted:a});return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 163 163",style:{width:(0,o.h)(e),height:(0,o.h)(e),...i},...c},r.createElement("path",{fill:s.background,d:"M162.162 81.5c0-45.011-36.301-81.5-81.08-81.5C36.301 0 0 36.489 0 81.5 0 126.51 36.301 163 81.081 163s81.081-36.49 81.081-81.5z"}),r.createElement("path",{fill:s.color,d:"M65.983 43.049a6.234 6.234 0 00-.336 6.884 6.14 6.14 0 001.618 1.786c9.444 7.036 14.866 17.794 14.866 29.52 0 11.726-5.422 22.484-14.866 29.52a6.145 6.145 0 00-1.616 1.786 6.21 6.21 0 00-.694 4.693 6.21 6.21 0 001.028 2.186 6.151 6.151 0 006.457 2.319 6.154 6.154 0 002.177-1.035 50.083 50.083 0 007.947-7.39h17.493c3.406 0 6.174-2.772 6.174-6.194s-2.762-6.194-6.174-6.194h-9.655a49.165 49.165 0 004.071-19.69 49.167 49.167 0 00-4.07-19.692h9.66c3.406 0 6.173-2.771 6.173-6.194 0-3.422-2.762-6.193-6.173-6.193H82.574a50.112 50.112 0 00-7.952-7.397 6.15 6.15 0 00-4.578-1.153 6.189 6.189 0 00-4.055 2.438h-.006z"}),r.createElement("path",{fill:s.color,fillRule:"evenodd",d:"M56.236 79.391a9.342 9.342 0 01.632-3.608 9.262 9.262 0 011.967-3.077 9.143 9.143 0 012.994-2.063 9.06 9.06 0 017.103 0 9.145 9.145 0 012.995 2.063 9.262 9.262 0 011.967 3.077 9.339 9.339 0 01-2.125 10.003 9.094 9.094 0 01-6.388 2.63 9.094 9.094 0 01-6.39-2.63 9.3 9.3 0 01-2.755-6.395z",clipRule:"evenodd"}))}var s=n(624),u={logo:"m-2075ec07",mantineUILogo:"m-36ceca49"};function d({size:e,color:t,variant:n,inverted:a,style:i,className:c,...d}){let f=l({color:t,inverted:a});return r.createElement("svg",{...d,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 623 163",style:{height:(0,o.h)(e),...i},className:(0,s.Z)(u.logo,{[u.mantineUILogo]:"ui.mantine.dev"===n},c)},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{style:{fill:"ui.mantine.dev"===n?"var(--mantine-logo-fill)":void 0},fill:f.background,fillRule:"nonzero",d:"M162.162 81.5c0-45.011-36.301-81.5-81.08-81.5C36.301 0 0 36.489 0 81.5 0 126.51 36.301 163 81.081 163s81.081-36.49 81.081-81.5z"}),r.createElement("g",{fill:f.color,style:{fill:"ui.mantine.dev"===n?"var(--mantine-logo-color)":void 0}},r.createElement("path",{fillRule:"nonzero",d:"M65.983 43.049a6.234 6.234 0 00-.336 6.884 6.14 6.14 0 001.618 1.786c9.444 7.036 14.866 17.794 14.866 29.52 0 11.726-5.422 22.484-14.866 29.52a6.142 6.142 0 00-1.616 1.786 6.211 6.211 0 00-.694 4.693c.197.79.546 1.533 1.028 2.186a6.154 6.154 0 008.634 1.284 50.112 50.112 0 007.947-7.39h17.493c3.406 0 6.174-2.772 6.174-6.194s-2.762-6.194-6.174-6.194h-9.655a49.166 49.166 0 004.071-19.69 49.166 49.166 0 00-4.07-19.692h9.66c3.406 0 6.173-2.771 6.173-6.194 0-3.422-2.762-6.193-6.173-6.193H82.574a50.11 50.11 0 00-7.952-7.397 6.149 6.149 0 00-4.578-1.153 6.189 6.189 0 00-4.055 2.438h-.006z"}),r.createElement("path",{d:"M56.236 79.391a9.342 9.342 0 01.632-3.608 9.261 9.261 0 011.967-3.077 9.143 9.143 0 012.994-2.063 9.06 9.06 0 017.103 0 9.144 9.144 0 012.995 2.063 9.261 9.261 0 011.967 3.077 9.34 9.34 0 01.63 3.608 9.299 9.299 0 01-2.755 6.395 9.094 9.094 0 01-6.388 2.63 9.094 9.094 0 01-6.39-2.63 9.299 9.299 0 01-2.755-6.395z"})),r.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:"M291.736 126.644c1.984 0 3.823-.434 5.518-1.302 1.695-.868 2.542-2.129 2.542-3.782v-77.5c0-2.976-.827-5.063-2.48-6.262-1.653-1.199-3.513-1.798-5.58-1.798-1.901 0-3.555.207-4.96.62-1.405.413-2.666 1.24-3.782 2.48s-2.418 3.059-3.906 5.456l-15.252 27.776-15.128-27.776c-1.323-2.397-2.583-4.216-3.782-5.456-1.199-1.24-2.48-2.067-3.844-2.48-1.364-.413-3.038-.62-5.022-.62-1.984 0-3.823.6-5.518 1.798-1.695 1.199-2.542 3.286-2.542 6.262v77.5c0 1.653.847 2.914 2.542 3.782 1.695.868 3.534 1.302 5.518 1.302 2.067 0 3.927-.434 5.58-1.302 1.653-.868 2.48-2.129 2.48-3.782V67.248l14.26 26.784c.744 1.24 1.591 2.087 2.542 2.542.95.455 1.88.682 2.79.682.992 0 1.984-.248 2.976-.744s1.86-1.323 2.604-2.48l14.384-25.792v53.32c0 1.653.847 2.914 2.542 3.782 1.695.868 3.534 1.302 5.518 1.302zm34.375 1.116c4.298 0 7.956-.992 10.974-2.976 3.017-1.984 5.642-4.257 7.874-6.82v3.596c0 1.405.682 2.604 2.046 3.596 1.364.992 3.08 1.488 5.146 1.488 2.232 0 4.092-.496 5.58-1.488 1.488-.992 2.232-2.19 2.232-3.596V91.18c0-4.216-.889-8.143-2.666-11.78-1.778-3.637-4.609-6.613-8.494-8.928-3.886-2.315-9.052-3.472-15.5-3.472-2.894 0-5.87.372-8.928 1.116-3.059.744-5.642 1.798-7.75 3.162-2.108 1.364-3.162 2.914-3.162 4.65 0 1.819.475 3.596 1.426 5.332.95 1.736 2.294 2.604 4.03 2.604 1.074 0 2.066-.33 2.976-.992.91-.661 2.211-1.302 3.906-1.922 1.694-.62 4.112-.93 7.254-.93 2.81 0 4.98.579 6.51 1.736 1.53 1.157 2.645 2.604 3.348 4.34a14.092 14.092 0 011.054 5.332v1.612h-5.084c-5.704 0-10.726.537-15.066 1.612-4.34 1.075-7.73 2.935-10.168 5.58-2.439 2.645-3.658 6.324-3.658 11.036 0 5.621 1.591 9.775 4.774 12.462 3.182 2.687 6.964 4.03 11.346 4.03zm6.448-11.904c-1.819 0-3.369-.537-4.65-1.612-1.282-1.075-1.922-2.77-1.922-5.084 0-2.315.764-4.03 2.294-5.146 1.53-1.116 3.534-1.84 6.014-2.17 2.48-.33 5.084-.496 7.812-.496h1.86v2.604c0 1.984-.6 3.885-1.798 5.704-1.199 1.819-2.666 3.307-4.402 4.464-1.736 1.157-3.472 1.736-5.208 1.736zm84.169 10.788c2.067 0 3.927-.434 5.58-1.302 1.653-.868 2.48-2.129 2.48-3.782V92.172c0-4.63-.971-8.845-2.914-12.648-1.943-3.803-4.526-6.84-7.75-9.114C410.9 68.137 407.345 67 403.46 67c-4.133 0-7.626.971-10.478 2.914-2.852 1.943-4.898 4.113-6.138 6.51v-3.72c0-1.488-.682-2.687-2.046-3.596-1.364-.91-3.038-1.364-5.022-1.364-2.315 0-4.216.455-5.704 1.364-1.488.91-2.232 2.108-2.232 3.596v48.856c0 1.24.744 2.397 2.232 3.472 1.488 1.075 3.39 1.612 5.704 1.612 2.232 0 4.133-.537 5.704-1.612 1.57-1.075 2.356-2.232 2.356-3.472V92.172c0-2.315.496-4.299 1.488-5.952.992-1.653 2.273-2.935 3.844-3.844 1.57-.91 3.183-1.364 4.836-1.364 1.984 0 3.803.558 5.456 1.674 1.653 1.116 2.955 2.5 3.906 4.154a10.52 10.52 0 011.426 5.332v29.388c0 1.653.868 2.914 2.604 3.782 1.736.868 3.513 1.302 5.332 1.302zm47.432 0c2.315 0 4.03-.703 5.146-2.108 1.116-1.405 1.674-2.976 1.674-4.712 0-1.653-.558-3.183-1.674-4.588-1.116-1.405-2.831-2.108-5.146-2.108h-4.836c-2.563 0-4.36-.496-5.394-1.488-1.033-.992-1.55-2.687-1.55-5.084V79.4h14.632c1.323 0 2.335-.6 3.038-1.798.703-1.199 1.054-2.542 1.054-4.03 0-1.488-.351-2.831-1.054-4.03-.703-1.199-1.715-1.798-3.038-1.798H452.38V46.416c0-1.488-.847-2.687-2.542-3.596-1.695-.91-3.534-1.364-5.518-1.364-1.819 0-3.596.455-5.332 1.364-1.736.91-2.604 2.108-2.604 3.596v60.14c0 6.944 1.963 12.028 5.89 15.252 3.927 3.224 9.61 4.836 17.05 4.836h4.836zM487.232 54.6c2.397 0 4.443-.806 6.138-2.418 1.695-1.612 2.542-3.41 2.542-5.394 0-2.15-.847-3.989-2.542-5.518-1.695-1.53-3.74-2.294-6.138-2.294-2.397 0-4.464.765-6.2 2.294-1.736 1.53-2.604 3.369-2.604 5.518 0 1.984.868 3.782 2.604 5.394 1.736 1.612 3.803 2.418 6.2 2.418zm0 72.044c2.232 0 4.133-.537 5.704-1.612 1.57-1.075 2.356-2.232 2.356-3.472V72.704c0-1.488-.785-2.687-2.356-3.596-1.57-.91-3.472-1.364-5.704-1.364-2.315 0-4.216.455-5.704 1.364-1.488.91-2.232 2.108-2.232 3.596v48.856c0 1.24.744 2.397 2.232 3.472 1.488 1.075 3.39 1.612 5.704 1.612zm65.247 0c2.066 0 3.926-.434 5.58-1.302 1.653-.868 2.48-2.129 2.48-3.782V92.172c0-4.63-.972-8.845-2.914-12.648-1.943-3.803-4.526-6.84-7.75-9.114-3.224-2.273-6.779-3.41-10.664-3.41-4.134 0-7.626.971-10.478 2.914-2.852 1.943-4.898 4.113-6.138 6.51v-3.72c0-1.488-.682-2.687-2.046-3.596-1.364-.91-3.038-1.364-5.022-1.364-2.315 0-4.216.455-5.704 1.364-1.488.91-2.232 2.108-2.232 3.596v48.856c0 1.24.744 2.397 2.232 3.472 1.488 1.075 3.39 1.612 5.704 1.612 2.232 0 4.133-.537 5.704-1.612 1.57-1.075 2.356-2.232 2.356-3.472V92.172c0-2.315.496-4.299 1.488-5.952.992-1.653 2.273-2.935 3.844-3.844 1.57-.91 3.182-1.364 4.836-1.364 1.984 0 3.802.558 5.456 1.674 1.653 1.116 2.955 2.5 3.906 4.154a10.52 10.52 0 011.426 5.332v29.388c0 1.653.868 2.914 2.604 3.782 1.736.868 3.513 1.302 5.332 1.302zm47.68 1.116c4.464 0 8.328-.558 11.594-1.674 3.265-1.116 5.786-2.48 7.564-4.092 1.777-1.612 2.666-3.12 2.666-4.526 0-.827-.248-1.798-.744-2.914a8.641 8.641 0 00-2.108-2.914c-.91-.827-1.984-1.24-3.224-1.24-1.158 0-2.398.372-3.72 1.116-1.323.744-2.894 1.53-4.712 2.356-1.819.827-4.092 1.24-6.82 1.24-4.299 0-7.792-1.095-10.478-3.286-2.687-2.19-4.03-5.063-4.03-8.618v-1.86h25.172c1.901 0 3.74-.186 5.518-.558 1.777-.372 3.244-1.323 4.402-2.852 1.157-1.53 1.736-4.071 1.736-7.626 0-4.63-1.199-8.68-3.596-12.152-2.398-3.472-5.518-6.2-9.362-8.184-3.844-1.984-8.08-2.976-12.71-2.976-5.043 0-9.61 1.137-13.702 3.41-4.092 2.273-7.358 5.29-9.796 9.052-2.439 3.761-3.658 7.874-3.658 12.338v10.54c0 5.043 1.281 9.486 3.844 13.33 2.562 3.844 6.096 6.82 10.602 8.928 4.505 2.108 9.692 3.162 15.562 3.162zm4.092-35.836h-18.104v-3.472c0-1.984.516-3.7 1.55-5.146 1.033-1.447 2.376-2.563 4.03-3.348 1.653-.785 3.43-1.178 5.332-1.178 1.984 0 3.802.413 5.456 1.24 1.653.827 2.976 1.984 3.968 3.472s1.488 3.183 1.488 5.084c0 1.323-.269 2.211-.806 2.666-.538.455-1.509.682-2.914.682z"})))}function f({type:e,...t}){return"mark"===e?r.createElement(c,{...t}):r.createElement(d,{...t})}},5966:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});let r={docsLink:"https://mantine.dev",uiLink:"https://ui.mantine.dev/",discordLink:"https://discord.gg/wbH82zuWMN",twitterLink:"https://twitter.com/mantinedev",npmLink:"https://www.npmjs.com/org/mantine",discordColor:"#5865f2",twitterColor:"#1C8CD8",gitHubLinks:{mantine:"https://github.com/mantinedev/mantine",mantineUi:"https://github.com/mantinedev/ui.mantine.dev",discussions:"https://github.com/mantinedev/mantine/discussions",organization:"https://github.com/mantinedev",releases:"https://github.com/mantinedev/mantine/releases"}}},1363:function(e,t,n){"use strict";n.d(t,{P:function(){return v}});var r=n(7378),o=n(9662),a=n(7226),i=n(7208),l=n(1799),c=n(5348),s=n(401),u=n(5010),d=n(603),f=n(1020),p=n(5730),m=n(558);let h={copyLabel:"Copy code",copiedLabel:"Copied",language:"tsx",withCopyButton:!0},v=(0,o.d)((e,t)=>{let n=(0,a.w)("CodeHighlight",h,e),{classNames:o,className:v,style:g,styles:y,unstyled:b,vars:w,children:E,code:x,copiedLabel:k,copyLabel:S,language:C,withCopyButton:R,highlightOnClient:T,...M}=n,L=(0,i.y)({name:"CodeHighlight",props:n,classes:m.Z,className:v,style:g,classNames:o,styles:y,unstyled:b}),P=(0,f.Y)(),A=P(x.trim(),C||"tsx");return r.createElement(l.x,{...L("root"),ref:t,...M,dir:"ltr"},R&&r.createElement(c.q,{value:x.trim()},({copied:e,copy:t})=>r.createElement(s.u,{label:e?k:S,fz:"sm",position:"left"},r.createElement(u.A,{onClick:t,variant:"none",...L("copy")},r.createElement(p.T,{copied:e})))),r.createElement(d.x,{type:"hover",dir:"ltr",offsetScrollbars:!1},A.highlighted?r.createElement("div",{dangerouslySetInnerHTML:{__html:A.code}}):r.createElement("pre",{...L("pre")},r.createElement("code",{...L("code")},x.trim()))))});v.displayName="@mantine/core/CodeHighlight",v.classes=m.Z},3276:function(e,t,n){"use strict";n.d(t,{Q:function(){return k}});var r=n(7378),o=n(5006),a=n(4485),i=n(6415),l=n(9662),c=n(7226),s=n(7208),u=n(7878),d=n(1799),f=n(603),p=n(401),m=n(5010),h=n(5348),v=n(1020),g=n(5730);function y({fileIcon:e,fileName:t,getFileIcon:n,className:o,style:a}){return e?r.createElement("span",{className:o,style:a},e):n&&t?r.createElement("span",{className:o,style:a},n(t)):null}function b({expanded:e,style:t,...n}){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:(0,a.h)(18),height:(0,a.h)(18),...t},viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...n},e?r.createElement(r.Fragment,null,r.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{d:"M12 13v-8l-3 3m6 0l-3 -3"}),r.createElement("path",{d:"M9 17l1 0"}),r.createElement("path",{d:"M14 17l1 0"}),r.createElement("path",{d:"M19 17l1 0"}),r.createElement("path",{d:"M4 17l1 0"})):r.createElement(r.Fragment,null,r.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{d:"M12 11v8l3 -3m-6 0l3 3"}),r.createElement("path",{d:"M9 7l1 0"}),r.createElement("path",{d:"M14 7l1 0"}),r.createElement("path",{d:"M19 7l1 0"}),r.createElement("path",{d:"M4 7l1 0"})))}var w=n(558);let E={withHeader:!0,copyLabel:"Copy code",copiedLabel:"Copied",maxCollapsedHeight:(0,a.h)("8rem"),expandCodeLabel:"Expand code",collapseCodeLabel:"Collapse code"},x=(0,i.Z)((e,{maxCollapsedHeight:t})=>({root:{"--ch-max-collapsed-height":(0,a.h)(t)}})),k=(0,l.d)((e,t)=>{let n=(0,c.w)("CodeHighlightTabs",E,e),{classNames:a,className:i,style:l,styles:k,unstyled:S,vars:C,children:R,code:T,defaultActiveTab:M,activeTab:L,onTabChange:P,withHeader:A,copiedLabel:z,copyLabel:N,getFileIcon:I,maxCollapsedHeight:$,expanded:D,defaultExpanded:F,onExpandedChange:O,expandCodeLabel:B,collapseCodeLabel:H,withExpandButton:_,...Z}=n,W=(0,s.y)({name:"CodeHighlightTabs",props:n,classes:w.Z,className:i,style:l,classNames:a,styles:k,unstyled:S,vars:C,varsResolver:x}),[V,Y]=(0,o.C)({defaultValue:M,value:L,finalValue:0,onChange:P}),[j,X]=(0,o.C)({defaultValue:F,value:D,finalValue:!0,onChange:O}),K=Array.isArray(T)?T:[T],G=K[V],q=(0,v.Y)(),U=q(G.code.trim(),G.language||"tsx"),Q=K.map((e,t)=>r.createElement(u.k,{...W("file"),key:e.fileName,mod:{active:t===V},onClick:()=>Y(t)},r.createElement(y,{fileIcon:e.icon,getFileIcon:I,fileName:e.fileName,...W("fileIcon")}),r.createElement("span",null,e.fileName)));return r.createElement(d.x,{...W("root"),mod:{collapsed:!j},ref:t,...Z,dir:"ltr"},A&&r.createElement("div",{...W("header")},r.createElement(f.x,{type:"never",dir:"ltr",offsetScrollbars:!1},r.createElement("div",{...W("files")},Q)),r.createElement("div",{...W("controls")},_&&r.createElement(p.u,{label:j?H:B,fz:"sm",position:"left"},r.createElement(m.A,{onClick:()=>X(!j),variant:"none","aria-label":j?H:B,...W("control")},r.createElement(b,{expanded:j}))),r.createElement(h.q,{value:G.code.trim()},({copied:e,copy:t})=>r.createElement(p.u,{label:e?z:N,fz:"sm",position:"left"},r.createElement(m.A,{onClick:t,variant:"none",...W("control"),"aria-label":e?z:N},r.createElement(g.T,{copied:e})))))),r.createElement(f.x,{type:"auto",dir:"ltr",offsetScrollbars:!1},r.createElement(d.x,{...W("codeWrapper"),mod:{expanded:j}},U.highlighted?r.createElement("div",{dangerouslySetInnerHTML:{__html:U.code}}):r.createElement("pre",{...W("pre")},r.createElement("code",{...W("code")},U.code)))),r.createElement(u.k,{...W("showCodeButton"),mod:{hidden:j},onClick:()=>X(!0)},B))});k.displayName="@mantine/core/CodeHighlightTabs",k.classes=w.Z},5730:function(e,t,n){"use strict";n.d(t,{T:function(){return a}});var r=n(4485),o=n(7378);function a({copied:e,style:t,...n}){return o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:(0,r.h)(18),height:(0,r.h)(18),...t},viewBox:"0 0 24 24",strokeWidth:"2",stroke:"currentColor",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",...n},e?o.createElement(o.Fragment,null,o.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M5 12l5 5l10 -10"})):o.createElement(o.Fragment,null,o.createElement("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),o.createElement("path",{d:"M8 8m0 2a2 2 0 0 1 2 -2h8a2 2 0 0 1 2 2v8a2 2 0 0 1 -2 2h-8a2 2 0 0 1 -2 -2z"}),o.createElement("path",{d:"M16 8v-2a2 2 0 0 0 -2 -2h-8a2 2 0 0 0 -2 2v8a2 2 0 0 0 2 2h2"})))}a.displayName="@mantine/code-highlight/CopyIcon"},624:function(e,t,n){"use strict";t.Z=function(){for(var e,t,n=0,r="";nr[n].props[e].name.toLowerCase().includes(t.toLowerCase().trim())).map(e=>{let a=r[n].props[e];return(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsxs)(o.i.Td,{style:{whiteSpace:"nowrap"},children:[(0,i.jsx)(l.y,{highlight:t,component:"span",fz:"sm",children:a.name}),a.required&&(0,i.jsxs)(d.x,{component:"sup",c:"red",fz:"xs",children:[" ","*"]})]}),(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(u,{children:a.type.name})}),(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(d.x,{fz:"sm",dangerouslySetInnerHTML:{__html:a.description}})})]},e)});return 0===a.length?(0,i.jsx)(d.x,{c:"dimmed",mb:"xl",fz:"sm",children:"Nothing found"}):(0,i.jsx)(o.i.ScrollContainer,{minWidth:800,children:(0,i.jsxs)(o.i,{layout:"fixed",children:[(0,i.jsx)(o.i.Thead,{children:(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsx)(o.i.Th,{w:210,children:"Name"}),(0,i.jsx)(o.i.Th,{w:310,children:"Type"}),(0,i.jsx)(o.i.Th,{children:"Description"})]})}),(0,i.jsx)(o.i.Tbody,{children:a})]})})}var j=t(4046),g=t(2033),v=t(7854);function b(e){let{component:n,componentPrefix:t}=e;return t?t===n?n:"".concat(t,".").concat(n.replace(t,"")):n}var _=t(5628),y=t.n(_);function w(e){let{components:n,componentPrefix:t,data:a}=e,[s,o]=(0,r.useState)(""),l=n.map(e=>(0,i.jsxs)("div",{className:y().section,children:[(0,i.jsxs)(j.D,{order:2,className:y().title,children:[b({component:e,componentPrefix:t})," component props"]}),(0,i.jsx)(f,{component:e,query:s,data:a})]},e));return(0,i.jsxs)("div",{className:y().root,children:[(0,i.jsx)(g.o,{className:y().search,value:s,onChange:e=>o(e.currentTarget.value),leftSection:(0,i.jsx)(v.Z,{className:y().searchIcon}),placeholder:"Search props",radius:"md",size:"lg",autoFocus:!0}),l]})}var T=t(1799),F=t(4485),k=t(603),C=t(7261),N=t(1598),S=t.n(N);function B(e){if(0===e.length)return -1;let n=e.reduce((e,n,t)=>Math.abs(e.position)e.depth>1),u=()=>{a(B(c.current.map(e=>e.getNode().getBoundingClientRect())))};if((0,r.useEffect)(()=>{let e=function(){let e=document.getElementById("mdx");return e?function(e){let n=[];for(let t=0;tdocument.getElementById(i.id)})}return n}(Array.from(e.querySelectorAll("[data-heading]"))):[]}();return c.current=e,l(e),a(B(e.map(e=>e.getNode().getBoundingClientRect()))),window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),0===h.length)return null;let m=h.map((e,n)=>(0,i.jsx)(d.x,{component:"a",fz:"sm",className:S().link,mod:{active:t===n},href:"#".concat(e.id),__vars:{"--toc-link-offset":"".concat(e.depth-1)},onClick:n=>{n.preventDefault(),p.replace("".concat(p.pathname,"#").concat(e.id))},children:e.content},e.id));return(0,i.jsx)(T.x,{component:"nav",mod:{"with-tabs":n},className:S().wrapper,children:(0,i.jsx)("div",{className:S().inner,children:(0,i.jsxs)("div",{children:[(0,i.jsxs)("div",{className:S().header,children:[(0,i.jsx)(C.Z,{style:{width:(0,F.h)(20),height:(0,F.h)(20)},stroke:1.5}),(0,i.jsx)(d.x,{className:S().title,children:"Table of contents"})]}),(0,i.jsx)(k.x.Autosize,{mah:"calc(100vh - ".concat((0,F.h)(140),")"),type:"never",offsetScrollbars:!0,children:(0,i.jsx)("div",{className:S().items,children:m})})]})})})}var E=t(2752),D=t.n(E);function P(e){let{data:n,component:t,fixedLayout:r=!0,...a}=e,s=Object.keys(n.selectors).map(e=>(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsx)(o.i.Td,{children:e}),(0,i.jsx)(o.i.Td,{children:(0,i.jsxs)(u,{children:[".mantine-",t,"-",e]})}),(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(d.x,{fz:"sm",children:n.selectors[e]})})]},e));return(0,i.jsx)(o.i.ScrollContainer,{minWidth:600,children:(0,i.jsxs)(o.i,{layout:r?"fixed":void 0,...a,children:[(0,i.jsx)(o.i.Thead,{children:(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsx)(o.i.Th,{w:r?210:void 0,children:"Selector"}),(0,i.jsx)(o.i.Th,{w:r?310:void 0,children:"Static selector"}),(0,i.jsx)(o.i.Th,{children:"Description"})]})}),(0,i.jsx)(o.i.Tbody,{children:s})]})})}function I(e){let{data:n,fixedLayout:t=!0,...r}=e,a=Object.keys(n.vars).reduce((e,t)=>(Object.keys(n.vars[t]).forEach((r,a)=>{e.push((0,i.jsxs)(o.i.Tr,{children:[0===a&&(0,i.jsx)(o.i.Td,{rowSpan:Object.keys(n.vars[t]).length,children:t}),(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(u,{children:r})}),(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(d.x,{fz:"sm",children:n.vars[t][r]})})]},"".concat(t,"-").concat(r)))}),e),[]);return(0,i.jsx)(o.i.ScrollContainer,{minWidth:600,children:(0,i.jsxs)(o.i,{layout:t?"fixed":void 0,...r,children:[(0,i.jsx)(o.i.Thead,{children:(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsx)(o.i.Th,{w:t?210:void 0,children:"Selector"}),(0,i.jsx)(o.i.Th,{w:t?310:void 0,children:"Variable"}),(0,i.jsx)(o.i.Th,{children:"Description"})]})}),(0,i.jsx)(o.i.Tbody,{children:a})]})})}function A(e){var n,t,r;let{data:a,fixedLayout:s=!0,...l}=e,c=null===(n=a.modifiers)||void 0===n?void 0:n.some(e=>!!e.condition),p=null===(t=a.modifiers)||void 0===t?void 0:t.some(e=>!!e.value),h=(null===(r=a.modifiers)||void 0===r?void 0:r.map((e,n)=>(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsx)(o.i.Td,{children:Array.isArray(e.selector)?e.selector.join(", "):e.selector}),(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(u,{children:e.modifier})}),c&&(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(d.x,{fz:"sm",children:e.condition||"–"})}),p&&(0,i.jsx)(o.i.Td,{children:(0,i.jsx)(d.x,{fz:"sm",children:e.value||"–"})})]},n)))||[];return(0,i.jsx)(o.i.ScrollContainer,{minWidth:600,children:(0,i.jsxs)(o.i,{layout:s?"fixed":void 0,...l,children:[(0,i.jsx)(o.i.Thead,{children:(0,i.jsxs)(o.i.Tr,{children:[(0,i.jsx)(o.i.Th,{w:s?210:void 0,children:"Selector"}),(0,i.jsx)(o.i.Th,{w:s?310:void 0,children:"Attribute"}),c&&(0,i.jsx)(o.i.Th,{children:"Condition"}),p&&(0,i.jsx)(o.i.Th,{children:"Value"})]})}),(0,i.jsx)(o.i.Tbody,{children:h})]})})}var L=t(2118),M=t.n(L);function O(e){let{component:n,componentPrefix:t,data:r}=e;if(!r)return(0,i.jsx)(x,{errorOf:"Styles API"});let a=b({component:n,componentPrefix:t});return(0,i.jsxs)("div",{className:M().root,children:[(0,i.jsxs)("div",{className:M().section,children:[(0,i.jsxs)(j.D,{order:2,className:M().title,children:[a," selectors"]}),(0,i.jsx)(P,{component:n,data:r})]}),Object.keys(r.vars).length>0&&(0,i.jsxs)("div",{className:M().section,children:[(0,i.jsxs)(j.D,{order:2,className:M().title,children:[a," CSS variables"]}),(0,i.jsx)(I,{data:r})]}),Array.isArray(r.modifiers)&&r.modifiers.length>0&&(0,i.jsxs)("div",{className:M().section,children:[(0,i.jsxs)(j.D,{order:2,className:M().title,children:[a," data attributes"]}),(0,i.jsx)(A,{data:r})]})]})}var q=t(8970),V=t(531),W=t(9279),Z=t(1363),H=t(4675),G=t(7040),U=t(103),X=t(7923),R=t(6239),Y=t.n(R);function J(e){let{className:n,...t}=e,r=(0,G.rZ)();return(0,i.jsx)(U.V,{className:(0,c.Z)(Y().root,n),icon:(0,i.jsx)(H.Z,{className:Y().icon}),radius:"md",__vars:{"--docs-bq-code-bg-light":(0,X.m)(r.colors.blue[6],.2),"--docs-bq-code-bg-dark":(0,X.m)(r.colors.blue[4],.2)},...t})}var K=t(6938),$=t.n(K);function Q(e){let{id:n,children:t,order:r=2,...a}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("div",{id:n,"data-heading":t,"data-order":r,className:$().titleOffset}),(0,i.jsx)(j.D,{order:r,className:$().title,...a,children:(0,i.jsx)("a",{className:(0,c.Z)($().titleLink,"mantine-focus-auto"),href:"#".concat(n),children:t})})]})}let ee=e=>n=>(0,i.jsx)(Q,{order:e,...n});function en(e){let{children:n}=e;return(0,i.jsx)(Z.P,{className:$().code,code:n.props.children,language:function(e){let n=(e.props.className||"").match(RegExp("language-(?.*)"));return n&&n.groups&&n.groups.lang?n.groups.lang:"tsx"}(n)})}function et(e){return(0,i.jsx)("p",{className:$().paragraph,...e})}function ei(e){return(0,i.jsx)("ul",{className:$().ul,...e})}function er(e){return(0,i.jsx)("li",{className:$().li,...e})}function ea(e){let{href:n,...t}=e;return(0,i.jsx)(m.e,{className:$().link,href:n,...t})}function es(e){return{img:V.E,ul:ei,li:er,p:et,a:ea,blockquote:J,code:q.E,h1:ee(1),h2:ee(2),h3:ee(3),h4:ee(4),h5:ee(5),h6:ee(6),pre:en,Demo:W.B,...e}}function eo(e){let{components:n,data:t,componentPrefix:r}=e,a=n.map(e=>(0,i.jsx)("div",{className:M().group,children:(0,i.jsx)(O,{component:e,componentPrefix:r,data:t[e]})},e));return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("div",{className:M().groupsHeader,children:[(0,i.jsx)(Q,{style:{marginTop:0},children:"Styles API"}),(0,i.jsxs)(et,{style:{marginTop:0},children:[(0,i.jsx)(q.E,{children:n[0]})," component supports"," ",(0,i.jsx)(ea,{href:"https://mantine.dev/styles/styles-api",target:"_blank",children:"Styles API"}),". With Styles API, you can customize styles of any inner element. Follow"," ",(0,i.jsx)(ea,{href:"https://mantine.dev/styles/styles-api",target:"_blank",children:"the documentation"})," ","to learn how to use CSS modules, CSS variables and inline styles to get full control over component styles."]})]}),a]})}function el(e){let{children:n,docgen:t,componentsProps:o,componentsStyles:l,stylesApiData:d,componentPrefix:c}=e,p=(0,s.useRouter)(),[h,u]=(0,r.useState)("docs"),m=Array.isArray(o),x=Array.isArray(l);return((0,r.useEffect)(()=>{u(window.location.search.replace("?t=","")||"docs")},[]),m||x)?(0,i.jsxs)(a.m,{variant:"outline",value:h,classNames:{root:D().root,list:D().tabsList,tab:D().tab},keepMounted:!1,radius:"md",onChange:e=>{p.replace("docs"===e?p.pathname:"".concat(p.pathname,"?t=").concat(e)),u(e)},children:[(0,i.jsx)("div",{className:D().tabsWrapper,children:(0,i.jsxs)(a.m.List,{children:[(0,i.jsx)(a.m.Tab,{value:"docs",children:"Documentation"}),m&&(0,i.jsx)(a.m.Tab,{value:"props",children:"Props"}),x&&(0,i.jsx)(a.m.Tab,{value:"styles-api",children:"Styles API"})]})}),(0,i.jsx)(a.m.Panel,{value:"docs",children:(0,i.jsxs)("div",{className:D().tabContent,"data-main":!0,children:[(0,i.jsx)("div",{className:D().main,id:"mdx",children:n}),(0,i.jsx)("div",{className:D().tableOfContents,children:(0,i.jsx)(z,{withTabs:!0})})]})}),(0,i.jsx)(a.m.Panel,{value:"props",children:(0,i.jsx)("div",{className:D().tabContent,"data-secondary":!0,children:(0,i.jsx)(w,{components:o,data:t})})}),(0,i.jsx)(a.m.Panel,{value:"styles-api",children:(0,i.jsx)("div",{className:D().tabContent,"data-secondary":!0,children:d&&(0,i.jsx)(eo,{data:d,components:l,componentPrefix:c})})})]}):null}var ed=t(7653),ec=t(1864),ep=t(2972),eh=t(739),eu=t(1925),em=t(9258),ex=t(3266),ef=t.n(ex);function ej(e){let{label:n,icon:t,children:r,link:a}=e,s=a?(0,i.jsxs)("a",{href:a,target:"_blank",className:ef().body,rel:"noreferrer",children:[(0,i.jsx)("div",{className:ef().icon,children:t}),(0,i.jsx)("div",{className:ef().content,children:r})]}):(0,i.jsxs)("div",{className:ef().body,children:[(0,i.jsx)("div",{className:ef().icon,children:t}),(0,i.jsx)("div",{className:ef().content,children:r})]});return(0,i.jsxs)("div",{className:ef().root,children:[(0,i.jsx)("div",{className:ef().label,children:n}),s]})}var eg=t(4128),ev=t.n(eg);function eb(e){let{data:n}=e;return(0,i.jsx)("header",{className:ev().root,children:(0,i.jsxs)(ed.W,{size:"lg",children:[(0,i.jsx)(j.D,{className:ev().title,children:n.packageName}),(0,i.jsx)(d.x,{className:ev().description,children:n.packageDescription}),(0,i.jsxs)("div",{className:ev().links,children:[(0,i.jsx)(ej,{label:"Source",icon:(0,i.jsx)(ec.E,{size:16}),link:n.repositoryUrl,children:"View source code"}),(0,i.jsx)(ej,{label:"Package",icon:(0,i.jsx)(ep._,{size:16}),link:"https://npmjs.com/package/".concat(n.packageName),children:n.packageName}),(0,i.jsx)(ej,{label:"Docs",icon:(0,i.jsx)(eh.Z,{size:18,stroke:1.5}),link:n.mdxFileUrl,children:"Edit this page"}),(0,i.jsxs)(ej,{label:"Built by",icon:(0,i.jsx)(eu.Z,{size:18,stroke:1.5}),link:"https://github.com/".concat(n.author.githubUsername),children:[n.author.name," ",(0,i.jsxs)(d.x,{span:!0,c:"dimmed",inherit:!0,children:["(@",n.author.githubUsername,")"]})]}),(0,i.jsx)(ej,{label:"License",icon:(0,i.jsx)(em.Z,{size:18,stroke:1.5}),link:n.licenseUrl,children:"MIT"})]})]})})}var e_=t(633),ey=t(805),ew=t(2153),eT=t(8323),eF=t(1487),ek=t(2905),eC=t(7292),eN=t(2888),eS=t(5966);let eB={packageName:"@gfazioli/mantine-flip",packageDescription:"A Mantine component that flips the content of the component when hovered over.",mdxFileUrl:"https://github.com/gfazioli/mantine-flip/blob/master/docs/pages/index.mdx",repositoryUrl:"https://github.com/gfazioli/mantine-flip",licenseUrl:"https://github.com/gfazioli/mantine-flip/blob/master/LICENSE",author:{name:"Giovambattista Fazioli",githubUsername:"gfazioli"}};var ez=t(186),eE=t.n(ez);function eD(e){let{children:n}=e,{toggleColorScheme:t}=(0,ey.X)();return(0,e_.A)([["mod + J",t]]),(0,i.jsxs)(ew.V,{header:{height:60},children:[(0,i.jsx)(ew.V.Header,{className:eT.Z.classNames.zeroRight,children:(0,i.jsxs)(ed.W,{size:"lg",px:"md",className:eE().inner,children:[(0,i.jsx)("a",{href:"https://mantine.dev/",target:"_blank",className:(0,c.Z)("mantine-focus-auto",eE().logo),rel:"noreferrer",children:(0,i.jsx)(ek.D,{size:30})}),(0,i.jsx)(eC.q,{visibleFrom:"sm",githubLink:eB.repositoryUrl,withDirectionToggle:!1,withSearch:!1,discordLink:eS.$.discordLink}),(0,i.jsx)(eF.Z,{hiddenFrom:"sm",children:(0,i.jsx)(eN.M,{})})]})}),(0,i.jsx)(ew.V.Main,{children:(0,i.jsx)("div",{className:eE().main,children:n})})]})}var eP=JSON.parse('{"Flip":{"props":{"defaultFlipped":{"description":"Uncontrolled flip initial opened state","name":"defaultFlipped","required":false,"type":{"name":"boolean"}},"direction":{"description":"Flip direction to show the front and back side. Default horizontal","name":"direction","required":false,"type":{"name":"FlipDirection","raw":"FlipDirection","value":[{"value":"\\"horizontal\\""},{"value":"\\"vertical\\""}]}},"directionFlipIn":{"description":"Flip direction to show the back side. Default negative","name":"directionFlipIn","required":false,"type":{"name":"FlipIn","raw":"FlipIn","value":[{"value":"\\"positive\\""},{"value":"\\"negative\\""}]}},"directionFlipOut":{"description":"Flip direction to hide the back side. Default positive","name":"directionFlipOut","required":false,"type":{"name":"FlipIn","raw":"FlipIn","value":[{"value":"\\"positive\\""},{"value":"\\"negative\\""}]}},"duration":{"description":"Flip animation duration in seconds. Default .8","name":"duration","required":false,"type":{"name":"number"}},"easing":{"description":"Flip animation timing function. Default ease-in-out","name":"easing","required":false,"type":{"name":"TransitionTimingFunction"}},"flipped":{"description":"Controlled flip opened state","name":"flipped","required":false,"type":{"name":"boolean"}},"onBack":{"description":"Called when Flip is shown back side","name":"onBack","required":false,"type":{"name":"() => void"}},"onChange":{"description":"Called when flip flipped state changes","name":"onChange","required":false,"type":{"name":"(flipped: boolean) => void"}},"onFront":{"description":"Called when Flip is shown front side","name":"onFront","required":false,"type":{"name":"() => void"}},"perspective":{"description":"Perspective value for flip animation. Default 1000px","name":"perspective","required":false,"type":{"name":"string"}}}}}'),eI=t(8395),eA=t(3276),eL=t(8646),eM=t(1555),eO=t.n(eM);function eq(e){let{packages:n,dev:t}=e,[r,a]=(0,eI.I)({key:"script-tab",defaultValue:0});return(0,i.jsx)(eA.Q,{classNames:{root:eO().root},activeTab:r,onTabChange:a,code:[{fileName:"yarn",code:"yarn add ".concat(t?"--dev ":"").concat(n),language:"bash",icon:(0,i.jsx)(eL.z,{className:eO().icon,size:16})},{fileName:"npm",code:"npm install ".concat(t?"--save-dev ":"").concat(n),language:"bash",icon:(0,i.jsx)(ep._,{className:eO().icon,size:16})}]})}var eV=t(6415),eW=t(5427),eZ=t(7226),eH=t(7208),eG=t(5006),eU=t(6145),eX=t(673);let[eR,eY]=(0,eX.R)("Flip component was not found in the tree");var eJ={root:"me-51f1fe22","flip-inner":"me-ae362a36","flip-content":"me-bdaa9859"},eK=t(495),e$=t(2453);let eQ={refProp:"ref"},e0=(0,r.forwardRef)((e,n)=>{let{children:t,refProp:i,...a}=(0,eZ.w)("MenuTarget",eQ,e);if(!(0,eK.k)(t))throw Error("Flip.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let s=eY(),o=(0,e$.x)(t.props.onClick,()=>s.toggleFlip());return r.createElement("div",{ref:n,...a},(0,r.cloneElement)(t,{onClick:o,"data-flipped":!!s.flipped||void 0}))});e0.displayName="@mantine/core/FlipTarget";let e1={direction:"horizontal",directionFlipIn:"negative",directionFlipOut:"positive"},e2=(0,eV.Z)((e,{perspective:n,easing:t,duration:i})=>({root:{"--flip-perspective":void 0===n?"1000px":n,"--flip-transition-duration":void 0===i?".8s":`${i}s`,"--flip-transition-timing-function":void 0===t?"ease-in-out":t}})),e3=(0,eW.b)((e,n)=>{let t=(0,eZ.w)("Flip",e1,e),{perspective:i,duration:a,easing:s,classNames:o,style:l,styles:d,unstyled:c,vars:p,children:h,className:u,flipped:m,defaultFlipped:x,direction:f,directionFlipIn:j,directionFlipOut:g,onChange:v,onBack:b,onFront:_,...y}=t,w=(0,r.useRef)(null),[F,k]=(0,r.useState)(x?-180:0),[C,N]=(0,eG.C)({value:m,defaultValue:x,finalValue:!1,onChange:v}),S=(0,eH.y)({name:"Flip",props:t,classes:eJ,className:u,style:l,classNames:o,styles:d,unstyled:c,vars:p,varsResolver:e2});(0,eU.l)(()=>{k(0)},[j,g,f]),(0,eU.l)(()=>{"negative"===j&&"positive"===g&&k(e=>e?e+180:-180),"negative"===j&&"negative"===g&&k(e=>e-180),"positive"===j&&"negative"===g&&k(e=>e?e-180:180),"positive"===j&&"positive"===g&&k(e=>e+180)},[C]);let B=r.Children.toArray(h);if(2!==B.length)throw Error("Flip component must have exactly two children");let z=B[0],E=B[1],D=()=>{N(!1),C&&_?.()},P=()=>{N(!0),C||b?.()};return r.createElement(eR,{value:{toggleFlip:()=>C?D():P(),flipped:C}},r.createElement(T.x,{ref:n,...S("root"),...y},r.createElement("div",{ref:w,...S("flip-inner"),style:"horizontal"===f?{transform:`rotateY(${F}deg)`}:{transform:`rotateX(${F}deg)`}},r.createElement("div",{...S("flip-content"),style:{zIndex:0}},z),r.createElement("div",{...S("flip-content"),style:"horizontal"===f?{transform:"rotateY(180deg)"}:{transform:"rotateX(180deg)"}},E))))});e3.classes=eJ,e3.displayName="@mantine/core/Flip",e3.Target=e0;var e8=t(4022),e6=t(9756),e5=t(5083),e4=t(6030),e9=t(6900),e7=t(5405),ne=t(4134);let nn={type:"configurator",component:function(e){return(0,i.jsx)(e8.M,{children:(0,i.jsxs)(e3,{h:200,w:400,...e,children:[(0,i.jsxs)(e6.Z,{shadow:"sm",padding:"lg",radius:"md",withBorder:!0,children:[(0,i.jsx)(e6.Z.Section,{children:(0,i.jsx)(V.E,{src:"https://images.unsplash.com/photo-1527004013197-933c4bb611b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=720&q=80",height:160,alt:"Norway"})}),(0,i.jsxs)(eF.Z,{justify:"space-between",mt:"md",mb:"xs",children:[(0,i.jsx)(d.x,{fw:500,children:"Norway Fjord Adventures"}),(0,i.jsx)(e5.C,{color:"pink",variant:"light",children:"On Sale"})]}),(0,i.jsx)(d.x,{size:"sm",c:"dimmed",children:"With Fjord Tours you can explore more of the magical fjord landscapes with tours and activities on and around the fjords of Norway"}),(0,i.jsx)(eF.Z,{justify:"right",children:(0,i.jsx)(e3.Target,{children:(0,i.jsx)(e4.z,{color:"blue",mt:"md",radius:"md",children:"Edit Widget"})})})]}),(0,i.jsx)(e9.X,{bg:"dark",radius:"md",withBorder:!0,p:"lg",children:(0,i.jsxs)(e7.K,{children:[(0,i.jsx)(j.D,{order:4,c:"white",children:"Edit Widget"}),(0,i.jsx)(d.x,{c:"gray",size:"sm",children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum."}),(0,i.jsx)(ne.r,{c:"white",defaultChecked:!0,label:"Display image"}),(0,i.jsx)(ne.r,{c:"white",label:"Auto play"}),(0,i.jsx)(eF.Z,{justify:"left",children:(0,i.jsx)(e3.Target,{children:(0,i.jsx)(e4.z,{color:"red",mt:"md",radius:"md",children:"Close"})})})]})})]})})},code:'\nimport { Flip } from \'@gfazioli/mantine-flip\'\';\n\nfunction Demo() {\n return (\n
\n \n \n \n \n \n\n \n Norway Fjord Adventures\n \n On Sale\n \n \n\n \n With Fjord Tours you can explore more of the magical fjord landscapes with tours and\n activities on and around the fjords of Norway\n \n\n \n \n \n \n \n \n\n \n \n \n Edit Widget\n \n \n Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.\n \n \n \n \n \n \n \n \n \n \n \n
\n );\n}\n',controls:[{prop:"direction",type:"select",data:[{label:"Horizontal",value:"horizontal"},{label:"Vertical",value:"vertical"}],initialValue:"horizontal",libraryValue:"horizontal"},{prop:"directionFlipIn",type:"select",data:[{label:"Negative",value:"negative"},{label:"Positive",value:"positive"}],initialValue:"negative",libraryValue:"negative"},{prop:"directionFlipOut",type:"select",data:[{label:"Positive",value:"positive"},{label:"Negative",value:"negative"}],initialValue:"positive",libraryValue:"positive"},{prop:"easing",type:"select",data:[{label:"Ease",value:"ease"},{label:"Ease-in",value:"ease-in"},{label:"Ease-out",value:"ease-out"},{label:"Ease-in-out",value:"ease-in-out"},{label:"Linear",value:"linear"}],initialValue:"ease-in-out",libraryValue:"ease-in-out"},{prop:"perspective",type:"string",initialValue:"1000px",libraryValue:"1000px"},{prop:"duration",type:"number",initialValue:.8,libraryValue:.8,step:.1,min:0,max:10}]},nt={type:"code",code:'\nfunction Demo() {\n const [flipped, setFlipped] = useState(false);\n\n return (\n \n \n setFlipped(event.currentTarget.checked)}\n label="Show settings" />\n \n\n \n\n \n

Front Card

\n

The front card

\n \n \n \n
\n\n \n

Back Card

\n \n
\n\n
\n
\n );\n}\n',component:function(){let[e,n]=(0,r.useState)(!1);return(0,i.jsxs)(e7.K,{children:[(0,i.jsx)(eF.Z,{children:(0,i.jsx)(ne.r,{checked:e,onChange:e=>n(e.currentTarget.checked),label:"Show settings"})}),(0,i.jsxs)(e3,{h:200,w:400,flipped:e,children:[(0,i.jsxs)(e9.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,i.jsx)("h3",{children:"Front Card"}),(0,i.jsx)("p",{children:"The front card"}),(0,i.jsx)(eF.Z,{justify:"right",children:(0,i.jsx)(e4.z,{onClick:()=>n(!0),children:"Show Settings"})})]}),(0,i.jsxs)(e9.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,i.jsx)("h3",{children:"Back Card"}),(0,i.jsx)(e4.z,{onClick:()=>n(!1),variant:"outline",children:"Back to Front"})]})]})]})},centered:!0,maxWidth:400,dimmed:!0},ni={type:"code",code:'\nimport { Flip } from \'@gfazioli/mantine-flip\';\n\nfunction Demo() {\n return (\n \n\n \n

Front Card

\n

The front card

\n \n \n \n \n \n
\n\n \n

Back Card

\n

In this case the defaultFlipped prop is set to true, and the back card is visible

\n \n \n \n
\n\n
\n );\n}\n',component:function(){return(0,i.jsxs)(e3,{h:200,w:400,defaultFlipped:!0,children:[(0,i.jsxs)(e9.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,i.jsx)("h3",{children:"Front Card"}),(0,i.jsx)("p",{children:"The front card"}),(0,i.jsx)(eF.Z,{justify:"right",children:(0,i.jsx)(e3.Target,{children:(0,i.jsx)(e4.z,{children:"Flip to Back"})})})]}),(0,i.jsxs)(e9.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,i.jsx)("h3",{children:"Back Card"}),(0,i.jsxs)("p",{children:["In this case the ",(0,i.jsx)(q.E,{children:"defaultFlipped"})," prop is set to ",(0,i.jsx)(q.E,{children:"true"}),", and the back card is visible"]}),(0,i.jsx)(e3.Target,{children:(0,i.jsx)(e4.z,{variant:"outline",children:"Flip to Front"})})]})]})},centered:!0,maxWidth:400,minHeight:220,dimmed:!0},nr={type:"code",code:'\nimport { Flip } from \'@gfazioli/mantine-flip\';\n\nfunction Demo() {\n return (\n \n\n \n

Front Card

\n \n \n \n
\n\n \n

Back Card

\n \n \n \n
\n\n
\n );\n}\n',component:function(){return(0,i.jsxs)(e3,{h:200,w:400,defaultFlipped:!0,children:[(0,i.jsxs)(e9.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,i.jsx)("h3",{children:"Front Card"}),(0,i.jsx)("p",{children:"The front card"}),(0,i.jsx)(eF.Z,{justify:"right",children:(0,i.jsx)(e3.Target,{children:(0,i.jsx)(e4.z,{children:"Show Back"})})})]}),(0,i.jsxs)(e9.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,i.jsx)("h3",{children:"Back Card"}),(0,i.jsx)(e3.Target,{children:(0,i.jsx)(e4.z,{variant:"outline",children:"Back to Front"})})]})]})},centered:!0,maxWidth:400,dimmed:!0};function na(e){let n={blockquote:"blockquote",code:"code",h2:"h2",p:"p",strong:"strong",...es(),...e.components},{Demo:t}=n;return t||function(e,n){throw Error("Expected "+(n?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Demo",!0),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,i.jsx)(eq,{packages:"@gfazioli/mantine-flip"}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(t,{data:nn}),"\n",(0,i.jsx)(n.h2,{id:"uncontrollded",children:"Uncontrollded"}),"\n",(0,i.jsx)(t,{data:nr}),"\n",(0,i.jsx)(n.h2,{id:"controllded",children:"Controllded"}),"\n",(0,i.jsxs)(n.p,{children:["You may control the state of the card by setting the ",(0,i.jsx)(n.code,{children:"flipped"})," prop to ",(0,i.jsx)(n.code,{children:"true"})," or ",(0,i.jsx)(n.code,{children:"false"}),".\nThis is useful when you want to control the state of the card from the parent component."]}),"\n",(0,i.jsx)(t,{data:nt}),"\n",(0,i.jsxs)(n.blockquote,{children:["\n",(0,i.jsx)(n.p,{children:(0,i.jsx)(n.strong,{children:"Inital face and Flip.Target"})}),"\n",(0,i.jsxs)(n.p,{children:["For controlled Flip components, you will use ",(0,i.jsx)(n.code,{children:"useState"})," to determine which side of the component to initially show.\nAdditionally, you will not need to use ",(0,i.jsx)(n.code,{children:"Flip.Target"})," for buttons, but you can control them manually to keep the states synchronized."]}),"\n"]}),"\n",(0,i.jsx)(n.h2,{id:"default-flipped-face",children:"Default Flipped (face)"}),"\n",(0,i.jsxs)(n.p,{children:["You may display the initial face of the card by setting the ",(0,i.jsx)(n.code,{children:"defaultFlipped"})," prop to ",(0,i.jsx)(n.code,{children:"true"}),"."]}),"\n",(0,i.jsx)(t,{data:ni})]})}function ns(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:n}={...es(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(na,{...e})}):na(e)}let no={Flip:{selectors:{root:"Root element","flip-inner":"Inner element","flip-content":"Content element"},vars:{root:{"--flip-perspective":"Controls animation `perspective`","--flip-transition-duration":"Controls animation `duration`","--flip-transition-timing-function":"Controls animation `easing`"}},modifiers:[{modifier:"data-centered",selector:"root",condition:"`centered` prop is set"}]}};function nl(){return(0,i.jsxs)(eD,{children:[(0,i.jsx)(eb,{data:eB}),(0,i.jsx)(el,{docgen:eP,componentsProps:["Flip"],componentsStyles:["Flip"],stylesApiData:no,children:(0,i.jsx)(ns,{})})]})}},2752:function(e){e.exports={root:"DocsTabs_root__3_liq",tabsWrapper:"DocsTabs_tabsWrapper__IRW55",tabsList:"DocsTabs_tabsList__WAMMe",tab:"DocsTabs_tab__mfbTe",tabContent:"DocsTabs_tabContent__xZoIg",main:"DocsTabs_main__bXjjr",tableOfContents:"DocsTabs_tableOfContents__m_mWC"}},1555:function(e){e.exports={root:"InstallScript_root__C12dR",icon:"InstallScript_icon__2DGM0"}},6938:function(e){e.exports={paragraph:"MdxElements_paragraph__Y192O",link:"MdxElements_link__Lt3iC",ul:"MdxElements_ul__hdTt4",li:"MdxElements_li__KI_j2",title:"MdxElements_title__YHwzc",titleLink:"MdxElements_titleLink__MBV9J",titleOffset:"MdxElements_titleOffset__Vn_Uo",code:"MdxElements_code__C3Y34"}},6239:function(e){e.exports={root:"MdxInfo_root__m_cCs",icon:"MdxInfo_icon__hDmDv"}},4128:function(e){e.exports={root:"PageHeader_root__u_xWw",title:"PageHeader_title__gP726",description:"PageHeader_description__gCV5r",links:"PageHeader_links__3ws49"}},3266:function(e){e.exports={root:"PageHeaderLink_root__xmmCT",label:"PageHeaderLink_label__7Fad9",body:"PageHeaderLink_body__qvtDJ",icon:"PageHeaderLink_icon__d9jEr"}},5628:function(e){e.exports={root:"PropsTablesList_root__c_Say",searchIcon:"PropsTablesList_searchIcon__9N6KL",title:"PropsTablesList_title__RXbmG",section:"PropsTablesList_section__nwP7g",search:"PropsTablesList_search__uiqGP"}},186:function(e){e.exports={inner:"Shell_inner__vEmfO",main:"Shell_main__lcVaI",logo:"Shell_logo__4Ivhz"}},2118:function(e){e.exports={root:"StylesApiTable_root__obqpY",groupsHeader:"StylesApiTable_groupsHeader__GDU_x",group:"StylesApiTable_group__X_sw5",title:"StylesApiTable_title__inUP0",section:"StylesApiTable_section__nAJMp"}},1251:function(e){e.exports={code:"TableInlineCode_code__TNUKa"}},1598:function(e){e.exports={wrapper:"TableOfContents_wrapper__BAgli",inner:"TableOfContents_inner__au2gv",link:"TableOfContents_link__X__0J",header:"TableOfContents_header__5Tlsz",title:"TableOfContents_title__FWq20",items:"TableOfContents_items__s8ECn"}}},function(e){e.O(0,[7691,9774,2888,179],function(){return e(e.s=9536)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/pages/index-901b834f6cde1720.js b/_next/static/chunks/pages/index-901b834f6cde1720.js deleted file mode 100644 index 33dabfc..0000000 --- a/_next/static/chunks/pages/index-901b834f6cde1720.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{9536:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(5880)}])},5880:function(e,i,n){"use strict";n.r(i),n.d(i,{default:function(){return e7}});var t=n(4246),r=n(7378),a=n(7098),s=n(6677),l=n(2238),o=n(4366),c=n(149),d=n(624),p=n(1251),h=n.n(p);function u(e){let{className:i,...n}=e;return(0,t.jsx)(c.x,{component:"span",className:(0,d.Z)(h().code,i),...n})}var m=n(1996);function x(e){let{errorOf:i}=e;return(0,t.jsxs)(c.x,{children:[(0,t.jsxs)(c.x,{span:!0,c:"red",children:["Error loading component ",i," data."," "]}),"If you see this message please let us know by"," ",(0,t.jsx)(m.e,{href:"https://github.com/mantinedev/mantine/issues/new?assignees=&labels=&template=docs_report.yml",target:"_blank",children:"opening an issue on GitHub"}),"."]})}function f(e){let{component:i,query:n,data:r}=e;if(!r[i])return(0,t.jsx)(x,{errorOf:"props"});let a=Object.keys(r[i].props).filter(e=>r[i].props[e].name.toLowerCase().includes(n.toLowerCase().trim())).map(e=>{let a=r[i].props[e];return(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsxs)(l.i.Td,{style:{whiteSpace:"nowrap"},children:[(0,t.jsx)(o.y,{highlight:n,component:"span",fz:"sm",children:a.name}),a.required&&(0,t.jsxs)(c.x,{component:"sup",c:"red",fz:"xs",children:[" ","*"]})]}),(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(u,{children:a.type.name})}),(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(c.x,{fz:"sm",dangerouslySetInnerHTML:{__html:a.description}})})]},e)});return 0===a.length?(0,t.jsx)(c.x,{c:"dimmed",mb:"xl",fz:"sm",children:"Nothing found"}):(0,t.jsx)(l.i.ScrollContainer,{minWidth:800,children:(0,t.jsxs)(l.i,{layout:"fixed",children:[(0,t.jsx)(l.i.Thead,{children:(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsx)(l.i.Th,{w:210,children:"Name"}),(0,t.jsx)(l.i.Th,{w:310,children:"Type"}),(0,t.jsx)(l.i.Th,{children:"Description"})]})}),(0,t.jsx)(l.i.Tbody,{children:a})]})})}var j=n(4046),g=n(2033),v=n(7854);function b(e){let{component:i,componentPrefix:n}=e;return n?n===i?i:"".concat(n,".").concat(i.replace(n,"")):i}var _=n(5628),y=n.n(_);function T(e){let{components:i,componentPrefix:n,data:a}=e,[s,l]=(0,r.useState)(""),o=i.map(e=>(0,t.jsxs)("div",{className:y().section,children:[(0,t.jsxs)(j.D,{order:2,className:y().title,children:[b({component:e,componentPrefix:n})," component props"]}),(0,t.jsx)(f,{component:e,query:s,data:a})]},e));return(0,t.jsxs)("div",{className:y().root,children:[(0,t.jsx)(g.o,{className:y().search,value:s,onChange:e=>l(e.currentTarget.value),leftSection:(0,t.jsx)(v.Z,{className:y().searchIcon}),placeholder:"Search props",radius:"md",size:"lg",autoFocus:!0}),o]})}var w=n(1799),N=n(4485),k=n(603),F=n(7261),C=n(1598),S=n.n(C);function z(e){if(0===e.length)return -1;let i=e.reduce((e,i,n)=>Math.abs(e.position)e.depth>1),u=()=>{a(z(d.current.map(e=>e.getNode().getBoundingClientRect())))};if((0,r.useEffect)(()=>{let e=function(){let e=document.getElementById("mdx");return e?function(e){let i=[];for(let n=0;ndocument.getElementById(t.id)})}return i}(Array.from(e.querySelectorAll("[data-heading]"))):[]}();return d.current=e,o(e),a(z(e.map(e=>e.getNode().getBoundingClientRect()))),window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u)},[]),0===h.length)return null;let m=h.map((e,i)=>(0,t.jsx)(c.x,{component:"a",fz:"sm",className:S().link,mod:{active:n===i},href:"#".concat(e.id),__vars:{"--toc-link-offset":"".concat(e.depth-1)},onClick:i=>{i.preventDefault(),p.replace("".concat(p.pathname,"#").concat(e.id))},children:e.content},e.id));return(0,t.jsx)(w.x,{component:"nav",mod:{"with-tabs":i},className:S().wrapper,children:(0,t.jsx)("div",{className:S().inner,children:(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:S().header,children:[(0,t.jsx)(F.Z,{style:{width:(0,N.h)(20),height:(0,N.h)(20)},stroke:1.5}),(0,t.jsx)(c.x,{className:S().title,children:"Table of contents"})]}),(0,t.jsx)(k.x.Autosize,{mah:"calc(100vh - ".concat((0,N.h)(140),")"),type:"never",offsetScrollbars:!0,children:(0,t.jsx)("div",{className:S().items,children:m})})]})})})}var D=n(2752),P=n.n(D);function A(e){let{data:i,component:n,fixedLayout:r=!0,...a}=e,s=Object.keys(i.selectors).map(e=>(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsx)(l.i.Td,{children:e}),(0,t.jsx)(l.i.Td,{children:(0,t.jsxs)(u,{children:[".mantine-",n,"-",e]})}),(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(c.x,{fz:"sm",children:i.selectors[e]})})]},e));return(0,t.jsx)(l.i.ScrollContainer,{minWidth:600,children:(0,t.jsxs)(l.i,{layout:r?"fixed":void 0,...a,children:[(0,t.jsx)(l.i.Thead,{children:(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsx)(l.i.Th,{w:r?210:void 0,children:"Selector"}),(0,t.jsx)(l.i.Th,{w:r?310:void 0,children:"Static selector"}),(0,t.jsx)(l.i.Th,{children:"Description"})]})}),(0,t.jsx)(l.i.Tbody,{children:s})]})})}function B(e){let{data:i,fixedLayout:n=!0,...r}=e,a=Object.keys(i.vars).reduce((e,n)=>(Object.keys(i.vars[n]).forEach((r,a)=>{e.push((0,t.jsxs)(l.i.Tr,{children:[0===a&&(0,t.jsx)(l.i.Td,{rowSpan:Object.keys(i.vars[n]).length,children:n}),(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(u,{children:r})}),(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(c.x,{fz:"sm",children:i.vars[n][r]})})]},"".concat(n,"-").concat(r)))}),e),[]);return(0,t.jsx)(l.i.ScrollContainer,{minWidth:600,children:(0,t.jsxs)(l.i,{layout:n?"fixed":void 0,...r,children:[(0,t.jsx)(l.i.Thead,{children:(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsx)(l.i.Th,{w:n?210:void 0,children:"Selector"}),(0,t.jsx)(l.i.Th,{w:n?310:void 0,children:"Variable"}),(0,t.jsx)(l.i.Th,{children:"Description"})]})}),(0,t.jsx)(l.i.Tbody,{children:a})]})})}function I(e){var i,n,r;let{data:a,fixedLayout:s=!0,...o}=e,d=null===(i=a.modifiers)||void 0===i?void 0:i.some(e=>!!e.condition),p=null===(n=a.modifiers)||void 0===n?void 0:n.some(e=>!!e.value),h=(null===(r=a.modifiers)||void 0===r?void 0:r.map((e,i)=>(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsx)(l.i.Td,{children:Array.isArray(e.selector)?e.selector.join(", "):e.selector}),(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(u,{children:e.modifier})}),d&&(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(c.x,{fz:"sm",children:e.condition||"–"})}),p&&(0,t.jsx)(l.i.Td,{children:(0,t.jsx)(c.x,{fz:"sm",children:e.value||"–"})})]},i)))||[];return(0,t.jsx)(l.i.ScrollContainer,{minWidth:600,children:(0,t.jsxs)(l.i,{layout:s?"fixed":void 0,...o,children:[(0,t.jsx)(l.i.Thead,{children:(0,t.jsxs)(l.i.Tr,{children:[(0,t.jsx)(l.i.Th,{w:s?210:void 0,children:"Selector"}),(0,t.jsx)(l.i.Th,{w:s?310:void 0,children:"Attribute"}),d&&(0,t.jsx)(l.i.Th,{children:"Condition"}),p&&(0,t.jsx)(l.i.Th,{children:"Value"})]})}),(0,t.jsx)(l.i.Tbody,{children:h})]})})}var O=n(2118),L=n.n(O);function M(e){let{component:i,componentPrefix:n,data:r}=e;if(!r)return(0,t.jsx)(x,{errorOf:"Styles API"});let a=b({component:i,componentPrefix:n});return(0,t.jsxs)("div",{className:L().root,children:[(0,t.jsxs)("div",{className:L().section,children:[(0,t.jsxs)(j.D,{order:2,className:L().title,children:[a," selectors"]}),(0,t.jsx)(A,{component:i,data:r})]}),Object.keys(r.vars).length>0&&(0,t.jsxs)("div",{className:L().section,children:[(0,t.jsxs)(j.D,{order:2,className:L().title,children:[a," CSS variables"]}),(0,t.jsx)(B,{data:r})]}),Array.isArray(r.modifiers)&&r.modifiers.length>0&&(0,t.jsxs)("div",{className:L().section,children:[(0,t.jsxs)(j.D,{order:2,className:L().title,children:[a," data attributes"]}),(0,t.jsx)(I,{data:r})]})]})}var V=n(8970),q=n(531),W=n(9279),H=n(1363),Z=n(6938),G=n.n(Z);function R(e){let{id:i,children:n,order:r=2,...a}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{id:i,"data-heading":n,"data-order":r,className:G().titleOffset}),(0,t.jsx)(j.D,{order:r,className:G().title,...a,children:(0,t.jsx)("a",{className:(0,d.Z)(G().titleLink,"mantine-focus-auto"),href:"#".concat(i),children:n})})]})}let U=e=>i=>(0,t.jsx)(R,{order:e,...i});function X(e){let{children:i}=e;return(0,t.jsx)(H.P,{className:G().code,code:i.props.children,language:function(e){let i=(e.props.className||"").match(RegExp("language-(?.*)"));return i&&i.groups&&i.groups.lang?i.groups.lang:"tsx"}(i)})}function Y(e){return(0,t.jsx)("p",{className:G().paragraph,...e})}function J(e){return(0,t.jsx)("ul",{className:G().ul,...e})}function K(e){return(0,t.jsx)("li",{className:G().li,...e})}function $(e){let{href:i,...n}=e;return(0,t.jsx)(m.e,{className:G().link,href:i,...n})}function Q(e){return{img:q.E,ul:J,li:K,p:Y,a:$,code:V.E,h1:U(1),h2:U(2),h3:U(3),h4:U(4),h5:U(5),h6:U(6),pre:X,Demo:W.B,...e}}function ee(e){let{components:i,data:n,componentPrefix:r}=e,a=i.map(e=>(0,t.jsx)("div",{className:L().group,children:(0,t.jsx)(M,{component:e,componentPrefix:r,data:n[e]})},e));return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:L().groupsHeader,children:[(0,t.jsx)(R,{style:{marginTop:0},children:"Styles API"}),(0,t.jsxs)(Y,{style:{marginTop:0},children:[(0,t.jsx)(V.E,{children:i[0]})," component supports"," ",(0,t.jsx)($,{href:"https://mantine.dev/styles/styles-api",target:"_blank",children:"Styles API"}),". With Styles API, you can customize styles of any inner element. Follow"," ",(0,t.jsx)($,{href:"https://mantine.dev/styles/styles-api",target:"_blank",children:"the documentation"})," ","to learn how to use CSS modules, CSS variables and inline styles to get full control over component styles."]})]}),a]})}function ei(e){let{children:i,docgen:n,componentsProps:l,componentsStyles:o,stylesApiData:c,componentPrefix:d}=e,p=(0,s.useRouter)(),[h,u]=(0,r.useState)("docs"),m=Array.isArray(l),x=Array.isArray(o);return((0,r.useEffect)(()=>{u(window.location.search.replace("?t=","")||"docs")},[]),m||x)?(0,t.jsxs)(a.m,{variant:"outline",value:h,classNames:{root:P().root,list:P().tabsList,tab:P().tab},keepMounted:!1,radius:"md",onChange:e=>{p.replace("docs"===e?p.pathname:"".concat(p.pathname,"?t=").concat(e)),u(e)},children:[(0,t.jsx)("div",{className:P().tabsWrapper,children:(0,t.jsxs)(a.m.List,{children:[(0,t.jsx)(a.m.Tab,{value:"docs",children:"Documentation"}),m&&(0,t.jsx)(a.m.Tab,{value:"props",children:"Props"}),x&&(0,t.jsx)(a.m.Tab,{value:"styles-api",children:"Styles API"})]})}),(0,t.jsx)(a.m.Panel,{value:"docs",children:(0,t.jsxs)("div",{className:P().tabContent,"data-main":!0,children:[(0,t.jsx)("div",{className:P().main,id:"mdx",children:i}),(0,t.jsx)("div",{className:P().tableOfContents,children:(0,t.jsx)(E,{withTabs:!0})})]})}),(0,t.jsx)(a.m.Panel,{value:"props",children:(0,t.jsx)("div",{className:P().tabContent,"data-secondary":!0,children:(0,t.jsx)(T,{components:l,data:n})})}),(0,t.jsx)(a.m.Panel,{value:"styles-api",children:(0,t.jsx)("div",{className:P().tabContent,"data-secondary":!0,children:c&&(0,t.jsx)(ee,{data:c,components:o,componentPrefix:d})})})]}):null}var en=n(7653),et=n(1864),er=n(2972),ea=n(739),es=n(1925),el=n(9258),eo=n(3266),ec=n.n(eo);function ed(e){let{label:i,icon:n,children:r,link:a}=e,s=a?(0,t.jsxs)("a",{href:a,target:"_blank",className:ec().body,rel:"noreferrer",children:[(0,t.jsx)("div",{className:ec().icon,children:n}),(0,t.jsx)("div",{className:ec().content,children:r})]}):(0,t.jsxs)("div",{className:ec().body,children:[(0,t.jsx)("div",{className:ec().icon,children:n}),(0,t.jsx)("div",{className:ec().content,children:r})]});return(0,t.jsxs)("div",{className:ec().root,children:[(0,t.jsx)("div",{className:ec().label,children:i}),s]})}var ep=n(4128),eh=n.n(ep);function eu(e){let{data:i}=e;return(0,t.jsx)("header",{className:eh().root,children:(0,t.jsxs)(en.W,{size:"lg",children:[(0,t.jsx)(j.D,{className:eh().title,children:i.packageName}),(0,t.jsx)(c.x,{className:eh().description,children:i.packageDescription}),(0,t.jsxs)("div",{className:eh().links,children:[(0,t.jsx)(ed,{label:"Source",icon:(0,t.jsx)(et.E,{size:16}),link:i.repositoryUrl,children:"View source code"}),(0,t.jsx)(ed,{label:"Package",icon:(0,t.jsx)(er._,{size:16}),link:"https://npmjs.com/package/".concat(i.packageName),children:i.packageName}),(0,t.jsx)(ed,{label:"Docs",icon:(0,t.jsx)(ea.Z,{size:18,stroke:1.5}),link:i.mdxFileUrl,children:"Edit this page"}),(0,t.jsxs)(ed,{label:"Built by",icon:(0,t.jsx)(es.Z,{size:18,stroke:1.5}),link:"https://github.com/".concat(i.author.githubUsername),children:[i.author.name," ",(0,t.jsxs)(c.x,{span:!0,c:"dimmed",inherit:!0,children:["(@",i.author.githubUsername,")"]})]}),(0,t.jsx)(ed,{label:"License",icon:(0,t.jsx)(el.Z,{size:18,stroke:1.5}),link:i.licenseUrl,children:"MIT"})]})]})})}var em=n(633),ex=n(805),ef=n(2153),ej=n(8323),eg=n(1487),ev=n(2905),eb=n(7292),e_=n(2888),ey=n(5966);let eT={packageName:"@gfazioli/mantine-flip",packageDescription:"A Mantine component that flips the content of the component when hovered over.",mdxFileUrl:"https://github.com/gfazioli/mantine-flip/blob/master/docs/pages/index.mdx",repositoryUrl:"https://github.com/gfazioli/mantine-flip",licenseUrl:"https://github.com/gfazioli/mantine-flip/blob/master/LICENSE",author:{name:"Giovambattista Fazioli",githubUsername:"gfazioli"}};var ew=n(186),eN=n.n(ew);function ek(e){let{children:i}=e,{toggleColorScheme:n}=(0,ex.X)();return(0,em.A)([["mod + J",n]]),(0,t.jsxs)(ef.V,{header:{height:60},children:[(0,t.jsx)(ef.V.Header,{className:ej.Z.classNames.zeroRight,children:(0,t.jsxs)(en.W,{size:"lg",px:"md",className:eN().inner,children:[(0,t.jsx)("a",{href:"https://mantine.dev/",target:"_blank",className:(0,d.Z)("mantine-focus-auto",eN().logo),rel:"noreferrer",children:(0,t.jsx)(ev.D,{size:30})}),(0,t.jsx)(eb.q,{visibleFrom:"sm",githubLink:eT.repositoryUrl,withDirectionToggle:!1,withSearch:!1,discordLink:ey.$.discordLink}),(0,t.jsx)(eg.Z,{hiddenFrom:"sm",children:(0,t.jsx)(e_.M,{})})]})}),(0,t.jsx)(ef.V.Main,{children:(0,t.jsx)("div",{className:eN().main,children:i})})]})}var eF=JSON.parse('{"Flip":{"props":{"defaultFlipped":{"description":"Uncontrolled flip initial opened state","name":"defaultFlipped","required":false,"type":{"name":"boolean"}},"direction":{"description":"Flip direction to show the front and back side. Default horizontal","name":"direction","required":false,"type":{"name":"FlipDirection","raw":"FlipDirection","value":[{"value":"\\"horizontal\\""},{"value":"\\"vertical\\""}]}},"directionFlipIn":{"description":"Flip direction to show the back side. Default negative","name":"directionFlipIn","required":false,"type":{"name":"FlipIn","raw":"FlipIn","value":[{"value":"\\"positive\\""},{"value":"\\"negative\\""}]}},"directionFlipOut":{"description":"Flip direction to hide the back side. Default positive","name":"directionFlipOut","required":false,"type":{"name":"FlipIn","raw":"FlipIn","value":[{"value":"\\"positive\\""},{"value":"\\"negative\\""}]}},"duration":{"description":"Flip animation duration in seconds. Default .8","name":"duration","required":false,"type":{"name":"number"}},"easing":{"description":"Flip animation timing function. Default ease-in-out","name":"easing","required":false,"type":{"name":"TransitionTimingFunction"}},"flipped":{"description":"Controlled flip opened state","name":"flipped","required":false,"type":{"name":"boolean"}},"onBack":{"description":"Called when Flip is shown back side","name":"onBack","required":false,"type":{"name":"() => void"}},"onChange":{"description":"Called when flip flipped state changes","name":"onChange","required":false,"type":{"name":"(flipped: boolean) => void"}},"onFront":{"description":"Called when Flip is shown front side","name":"onFront","required":false,"type":{"name":"() => void"}},"perspective":{"description":"Perspective value for flip animation. Default 1000px","name":"perspective","required":false,"type":{"name":"string"}}}}}'),eC=n(8395),eS=n(3276),ez=n(8646),eE=n(1555),eD=n.n(eE);function eP(e){let{packages:i,dev:n}=e,[r,a]=(0,eC.I)({key:"script-tab",defaultValue:0});return(0,t.jsx)(eS.Q,{classNames:{root:eD().root},activeTab:r,onTabChange:a,code:[{fileName:"yarn",code:"yarn add ".concat(n?"--dev ":"").concat(i),language:"bash",icon:(0,t.jsx)(ez.z,{className:eD().icon,size:16})},{fileName:"npm",code:"npm install ".concat(n?"--save-dev ":"").concat(i),language:"bash",icon:(0,t.jsx)(er._,{className:eD().icon,size:16})}]})}var eA=n(6415),eB=n(5427),eI=n(7226),eO=n(7208),eL=n(5006),eM=n(6145),eV=n(673);let[eq,eW]=(0,eV.R)("Flip component was not found in the tree");var eH={root:"me-51f1fe22","flip-inner":"me-ae362a36","flip-content":"me-bdaa9859"},eZ=n(495),eG=n(2453);let eR={refProp:"ref"},eU=(0,r.forwardRef)((e,i)=>{let{children:n,refProp:t,...a}=(0,eI.w)("MenuTarget",eR,e);if(!(0,eZ.k)(n))throw Error("Flip.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let s=eW(),l=(0,eG.x)(n.props.onClick,()=>s.toggleFlip());return r.createElement("div",{ref:i,...a},(0,r.cloneElement)(n,{onClick:l,"data-flipped":!!s.flipped||void 0}))});eU.displayName="@mantine/core/FlipTarget";let eX={direction:"horizontal",directionFlipIn:"negative",directionFlipOut:"positive"},eY=(0,eA.Z)((e,{perspective:i,easing:n,duration:t})=>({root:{"--flip-perspective":void 0===i?"1000px":i,"--flip-transition-duration":void 0===t?".8s":`${t}s`,"--flip-transition-timing-function":void 0===n?"ease-in-out":n}})),eJ=(0,eB.b)((e,i)=>{let n=(0,eI.w)("Flip",eX,e),{perspective:t,duration:a,easing:s,classNames:l,style:o,styles:c,unstyled:d,vars:p,children:h,className:u,flipped:m,defaultFlipped:x,direction:f,directionFlipIn:j,directionFlipOut:g,onChange:v,onBack:b,onFront:_,...y}=n,T=(0,r.useRef)(null),[N,k]=(0,r.useState)(x?-180:0),[F,C]=(0,eL.C)({value:m,defaultValue:x,finalValue:!1,onChange:v}),S=(0,eO.y)({name:"Flip",props:n,classes:eH,className:u,style:o,classNames:l,styles:c,unstyled:d,vars:p,varsResolver:eY});(0,eM.l)(()=>{k(0)},[j,g,f]),(0,eM.l)(()=>{"negative"===j&&"positive"===g&&k(e=>e?e+180:-180),"negative"===j&&"negative"===g&&k(e=>e-180),"positive"===j&&"negative"===g&&k(e=>e?e-180:180),"positive"===j&&"positive"===g&&k(e=>e+180)},[F]);let z=r.Children.toArray(h);if(2!==z.length)throw Error("Flip component must have exactly two children");let E=z[0],D=z[1],P=()=>{C(!1),F&&_?.()},A=()=>{C(!0),F||b?.()};return r.createElement(eq,{value:{toggleFlip:()=>F?P():A(),flipped:F}},r.createElement(w.x,{ref:i,...S("root"),...y},r.createElement("div",{ref:T,...S("flip-inner"),style:"horizontal"===f?{transform:`rotateY(${N}deg)`}:{transform:`rotateX(${N}deg)`}},r.createElement("div",{...S("flip-content"),style:{zIndex:0}},E),r.createElement("div",{...S("flip-content"),style:"horizontal"===f?{transform:"rotateY(180deg)"}:{transform:"rotateX(180deg)"}},D))))});eJ.classes=eH,eJ.displayName="@mantine/core/Flip",eJ.Target=eU;var eK=n(4022),e$=n(9756),eQ=n(5083),e0=n(6030),e1=n(6900),e2=n(5405),e8=n(4134);let e3={type:"configurator",component:function(e){return(0,t.jsx)(eK.M,{children:(0,t.jsxs)(eJ,{h:200,w:400,...e,children:[(0,t.jsxs)(e$.Z,{shadow:"sm",padding:"lg",radius:"md",withBorder:!0,children:[(0,t.jsx)(e$.Z.Section,{children:(0,t.jsx)(q.E,{src:"https://images.unsplash.com/photo-1527004013197-933c4bb611b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=720&q=80",height:160,alt:"Norway"})}),(0,t.jsxs)(eg.Z,{justify:"space-between",mt:"md",mb:"xs",children:[(0,t.jsx)(c.x,{fw:500,children:"Norway Fjord Adventures"}),(0,t.jsx)(eQ.C,{color:"pink",variant:"light",children:"On Sale"})]}),(0,t.jsx)(c.x,{size:"sm",c:"dimmed",children:"With Fjord Tours you can explore more of the magical fjord landscapes with tours and activities on and around the fjords of Norway"}),(0,t.jsx)(eg.Z,{justify:"right",children:(0,t.jsx)(eJ.Target,{children:(0,t.jsx)(e0.z,{color:"blue",mt:"md",radius:"md",children:"Edit Widget"})})})]}),(0,t.jsx)(e1.X,{bg:"dark",radius:"md",withBorder:!0,p:"lg",children:(0,t.jsxs)(e2.K,{children:[(0,t.jsx)(j.D,{order:4,c:"white",children:"Edit Widget"}),(0,t.jsx)(c.x,{c:"gray",size:"sm",children:"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum."}),(0,t.jsx)(e8.r,{c:"white",defaultChecked:!0,label:"Display image"}),(0,t.jsx)(e8.r,{c:"white",label:"Auto play"}),(0,t.jsx)(eg.Z,{justify:"right",children:(0,t.jsx)(eJ.Target,{children:(0,t.jsx)(e0.z,{children:"Close"})})})]})})]})})},code:'\nimport { Flip } from \'@gfazioli/mantine-flip\'\';\n\nfunction Demo() {\n return (\n \n \n \n \n \n\n \n Norway Fjord Adventures\n \n On Sale\n \n \n\n \n With Fjord Tours you can explore more of the magical fjord landscapes with tours and\n activities on and around the fjords of Norway\n \n\n \n \n \n \n \n \n\n \n \n Edit Widget\n \n Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.\n \n \n \n \n \n \n \n \n \n \n \n );\n}\n',controls:[{prop:"direction",type:"select",data:[{label:"Horizontal",value:"horizontal"},{label:"Vertical",value:"vertical"}],initialValue:"horizontal",libraryValue:"horizontal"},{prop:"directionFlipIn",type:"select",data:[{label:"Negative",value:"negative"},{label:"Positive",value:"positive"}],initialValue:"negative",libraryValue:"negative"},{prop:"directionFlipOut",type:"select",data:[{label:"Positive",value:"positive"},{label:"Negative",value:"negative"}],initialValue:"positive",libraryValue:"positive"},{prop:"easing",type:"select",data:[{label:"Ease",value:"ease"},{label:"Ease-in",value:"ease-in"},{label:"Ease-out",value:"ease-out"},{label:"Ease-in-out",value:"ease-in-out"},{label:"Linear",value:"linear"}],initialValue:"ease-in-out",libraryValue:"ease-in-out"},{prop:"perspective",type:"string",initialValue:"1000px",libraryValue:"1000px"},{prop:"duration",type:"number",initialValue:.8,libraryValue:.8,step:.1,min:0,max:10}]},e5={type:"code",code:'\nimport { Flip } from \'@gfazioli/mantine-flip\';\n\nfunction Demo() {\n return (\n \n\n \n

Front Card

\n \n \n \n
\n\n \n

Back Card

\n \n \n \n
\n\n
\n );\n}\n',component:function(){return(0,t.jsxs)(eJ,{h:200,w:200,children:[(0,t.jsxs)(e1.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,t.jsx)("h3",{children:"Front Card"}),(0,t.jsx)(eJ.Target,{children:(0,t.jsx)(e0.z,{children:"Flip Back"})})]}),(0,t.jsxs)(e1.X,{radius:"md",withBorder:!0,p:"lg",shadow:"md",children:[(0,t.jsx)("h3",{children:"Back Card"}),(0,t.jsx)(eJ.Target,{children:(0,t.jsx)(e0.z,{children:"Flip Front"})})]})]})},centered:!0,maxWidth:340,dimmed:!0};function e6(e){let i={h2:"h2",p:"p",...Q(),...e.components},{Demo:n}=i;return n||function(e,i){throw Error("Expected "+(i?"component":"object")+" `"+e+"` to be defined: you likely forgot to import, pass, or provide it.")}("Demo",!0),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.h2,{id:"installation",children:"Installation"}),"\n",(0,t.jsx)(eP,{packages:"mantine-flip"}),"\n",(0,t.jsx)(i.h2,{id:"regular-demo",children:"Regular demo"}),"\n",(0,t.jsx)(n,{data:e5}),"\n",(0,t.jsx)(i.h2,{id:"configurator-demo",children:"Configurator demo"}),"\n",(0,t.jsx)(n,{data:e3}),"\n",(0,t.jsx)(i.h2,{id:"other-subtitle",children:"Other subtitle"}),"\n",(0,t.jsx)(i.p,{children:"Other content"})]})}function e9(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{wrapper:i}={...Q(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(e6,{...e})}):e6(e)}let e4={Flip:{selectors:{root:"Root element","flip-inner":"Inner element","flip-content":"Content element"},vars:{root:{"--flip-perspective":"Controls animation `perspective`","--flip-transition-duration":"Controls animation `duration`","--flip-transition-timing-function":"Controls animation `easing`"}},modifiers:[{modifier:"data-centered",selector:"root",condition:"`centered` prop is set"}]}};function e7(){return(0,t.jsxs)(ek,{children:[(0,t.jsx)(eu,{data:eT}),(0,t.jsx)(ei,{docgen:eF,componentsProps:["Flip"],componentsStyles:["Flip"],stylesApiData:e4,children:(0,t.jsx)(e9,{})})]})}},2752:function(e){e.exports={root:"DocsTabs_root__3_liq",tabsWrapper:"DocsTabs_tabsWrapper__IRW55",tabsList:"DocsTabs_tabsList__WAMMe",tab:"DocsTabs_tab__mfbTe",tabContent:"DocsTabs_tabContent__xZoIg",main:"DocsTabs_main__bXjjr",tableOfContents:"DocsTabs_tableOfContents__m_mWC"}},1555:function(e){e.exports={root:"InstallScript_root__C12dR",icon:"InstallScript_icon__2DGM0"}},6938:function(e){e.exports={paragraph:"MdxElements_paragraph__Y192O",link:"MdxElements_link__Lt3iC",ul:"MdxElements_ul__hdTt4",li:"MdxElements_li__KI_j2",title:"MdxElements_title__YHwzc",titleLink:"MdxElements_titleLink__MBV9J",titleOffset:"MdxElements_titleOffset__Vn_Uo",code:"MdxElements_code__C3Y34"}},4128:function(e){e.exports={root:"PageHeader_root__u_xWw",title:"PageHeader_title__gP726",description:"PageHeader_description__gCV5r",links:"PageHeader_links__3ws49"}},3266:function(e){e.exports={root:"PageHeaderLink_root__xmmCT",label:"PageHeaderLink_label__7Fad9",body:"PageHeaderLink_body__qvtDJ",icon:"PageHeaderLink_icon__d9jEr"}},5628:function(e){e.exports={root:"PropsTablesList_root__c_Say",searchIcon:"PropsTablesList_searchIcon__9N6KL",title:"PropsTablesList_title__RXbmG",section:"PropsTablesList_section__nwP7g",search:"PropsTablesList_search__uiqGP"}},186:function(e){e.exports={inner:"Shell_inner__vEmfO",main:"Shell_main__lcVaI",logo:"Shell_logo__4Ivhz"}},2118:function(e){e.exports={root:"StylesApiTable_root__obqpY",groupsHeader:"StylesApiTable_groupsHeader__GDU_x",group:"StylesApiTable_group__X_sw5",title:"StylesApiTable_title__inUP0",section:"StylesApiTable_section__nAJMp"}},1251:function(e){e.exports={code:"TableInlineCode_code__TNUKa"}},1598:function(e){e.exports={wrapper:"TableOfContents_wrapper__BAgli",inner:"TableOfContents_inner__au2gv",link:"TableOfContents_link__X__0J",header:"TableOfContents_header__5Tlsz",title:"TableOfContents_title__FWq20",items:"TableOfContents_items__s8ECn"}}},function(e){e.O(0,[9793,9774,2888,179],function(){return e(e.s=9536)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/_next/static/chunks/webpack-10c68ec502c441ef.js b/_next/static/chunks/webpack-32ef2ae8e6cbe071.js similarity index 99% rename from _next/static/chunks/webpack-10c68ec502c441ef.js rename to _next/static/chunks/webpack-32ef2ae8e6cbe071.js index 79cc202..935e4bd 100644 --- a/_next/static/chunks/webpack-10c68ec502c441ef.js +++ b/_next/static/chunks/webpack-32ef2ae8e6cbe071.js @@ -1 +1 @@ -!function(){"use strict";var e,f,c,a,d,b,t,n,r,o={},u={};function i(e){var f=u[e];if(void 0!==f)return f.exports;var c=u[e]={exports:{}},a=!0;try{o[e](c,c.exports,i),a=!1}finally{a&&delete u[e]}return c.exports}i.m=o,e=[],i.O=function(f,c,a,d){if(c){d=d||0;for(var b=e.length;b>0&&e[b-1][2]>d;b--)e[b]=e[b-1];e[b]=[c,a,d];return}for(var t=1/0,b=0;b=d&&Object.keys(i.O).every(function(e){return i.O[e](c[r])})?c.splice(r--,1):(n=!1,d0&&e[b-1][2]>d;b--)e[b]=e[b-1];e[b]=[c,a,d];return}for(var t=1/0,b=0;b=d&&Object.keys(i.O).every(function(e){return i.O[e](c[r])})?c.splice(r--,1):(n=!1,dp{line-height:1.65;font-size:calc(.9375rem * var(--mantine-scale))}.MdxInfo_root__m_cCs>p>strong:only-child{font-family:var(--docs-font-primary);font-size:var(--mantine-font-size-lg)}[data-mantine-color-scheme=light] .MdxInfo_root__m_cCs>p>strong:only-child{color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .MdxInfo_root__m_cCs>p>strong:only-child{color:var(--mantine-color-white)}.MdxInfo_root__m_cCs>p>strong:only-child>code{font-size:80%}.MdxInfo_root__m_cCs>p:first-of-type{margin-top:0}.MdxInfo_root__m_cCs>p:last-of-type{margin-bottom:0}[data-mantine-color-scheme=light] .MdxInfo_root__m_cCs .mantine-Code-root{background-color:var(--docs-bq-code-bg-light)}[data-mantine-color-scheme=dark] .MdxInfo_root__m_cCs .mantine-Code-root{background-color:var(--docs-bq-code-bg-dark)}.MdxInfo_root__m_cCs .mantine-CodeHighlight-root{margin-top:var(--mantine-spacing-md)}[data-mantine-color-scheme=light] .MdxInfo_root__m_cCs .mantine-CodeHighlight-root{background-color:var(--mantine-color-white)}[data-mantine-color-scheme=dark] .MdxInfo_root__m_cCs .mantine-CodeHighlight-root{background-color:var(--mantine-color-dark-7)}.MdxInfo_icon__hDmDv{width:calc(1.75rem * var(--mantine-scale));height:calc(1.75rem * var(--mantine-scale))}.MdxElements_paragraph__Y192O{line-height:1.65}.MdxElements_link__Lt3iC,.MdxElements_paragraph__Y192O,.MdxElements_ul__hdTt4{font-size:calc(.9375rem * var(--mantine-scale))}.MdxElements_ul__hdTt4{line-height:1.65;margin-bottom:calc(1.25rem * var(--mantine-scale));margin-top:calc(.625rem * var(--mantine-scale));padding-left:var(--mantine-spacing-xl)}.MdxElements_li__KI_j2{margin-top:calc(.25rem * var(--mantine-scale));font-size:calc(.9375rem * var(--mantine-scale))}.MdxElements_title__YHwzc{margin-top:calc(var(--mantine-spacing-xl) * 1.2);margin-bottom:var(--mantine-spacing-md);word-break:break-word;font-weight:700}[data-mantine-color-scheme=light] .MdxElements_title__YHwzc{color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .MdxElements_title__YHwzc{color:var(--mantine-color-white)}.MdxElements_title__YHwzc[data-order="1"]{font-size:calc(2.5rem * var(--mantine-scale));margin-top:0}.MdxElements_titleLink__MBV9J{text-decoration:none;color:inherit}.MdxElements_titleOffset__Vn_Uo{position:relative;top:calc(-3.875rem * var(--mantine-scale))}.MdxElements_code__C3Y34{border:calc(.0625rem * var(--mantine-scale)) solid;border-radius:var(--mantine-radius-md);margin-top:var(--mantine-spacing-md);margin-bottom:var(--mantine-spacing-md)}[data-mantine-color-scheme=light] .MdxElements_code__C3Y34{border-color:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .MdxElements_code__C3Y34{border-color:var(--mantine-color-dark-5)}.DocsTabs_root__3_liq{--docs-table-of-contents-width:calc(16.25rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .DocsTabs_tabsWrapper__IRW55{background-color:var(--mantine-color-gray-0);border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .DocsTabs_tabsWrapper__IRW55{background-color:var(--mantine-color-dark-8);border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-dark-6)}.DocsTabs_tabsList__WAMMe{max-width:calc(71.25rem * var(--mantine-scale));padding-left:var(--mantine-spacing-md);padding-right:var(--mantine-spacing-md);margin-left:auto;margin-right:auto;margin-bottom:calc(-.0625rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .DocsTabs_tabsList__WAMMe:before{border-color:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .DocsTabs_tabsList__WAMMe:before{border-color:var(--mantine-color-dark-6)}.DocsTabs_tab__mfbTe{font-size:var(--mantine-font-size-md);font-weight:500;height:calc(2.875rem * var(--mantine-scale));padding-left:var(--mantine-spacing-lg);padding-right:var(--mantine-spacing-lg);background-color:transparent}@media (max-width:67.5em){.DocsTabs_tab__mfbTe{font-size:var(--mantine-font-size-sm);padding-left:var(--mantine-spacing-md);padding-right:var(--mantine-spacing-md)}}.DocsTabs_tab__mfbTe[data-active]{background-color:var(--mantine-color-body)}[data-mantine-color-scheme=light] .DocsTabs_tab__mfbTe[data-active]{color:var(--mantine-color-black);border-color:var(--mantine-color-gray-2);border-bottom-color:transparent}[data-mantine-color-scheme=dark] .DocsTabs_tab__mfbTe[data-active]{color:var(--mantine-color-white);border-color:var(--mantine-color-dark-6);border-bottom-color:transparent}.DocsTabs_tabContent__xZoIg{max-width:calc(71.25rem * var(--mantine-scale));padding-left:var(--mantine-spacing-md);padding-right:var(--mantine-spacing-md);padding-top:var(--mantine-spacing-xs);margin-left:auto;margin-right:auto}.DocsTabs_tabContent__xZoIg[data-main]{display:flex;position:relative;justify-content:space-between}.DocsTabs_tabContent__xZoIg[data-secondary]{margin-top:calc(1.5rem * var(--mantine-scale))}.DocsTabs_main__bXjjr{width:calc(100% - var(--docs-table-of-contents-width));max-width:var(--docs-mdx-content-width);margin-left:auto;margin-right:auto}@media (max-width:67.5em){.DocsTabs_main__bXjjr{width:100%;padding-right:0}}.DocsTabs_tableOfContents__m_mWC{flex:0 0 var(--docs-table-of-contents-width);margin-top:var(--mantine-spacing-xl)}@media (max-width:67.5em){.DocsTabs_tableOfContents__m_mWC{display:none}}.PageHeaderLink_root__xmmCT{display:flex;align-items:center;font-size:var(--mantine-font-size-sm);gap:var(--mantine-spacing-md)}.PageHeaderLink_root__xmmCT+.PageHeaderLink_root__xmmCT{margin-top:var(--mantine-spacing-xs)}.PageHeaderLink_label__7Fad9{color:var(--mantine-color-dimmed);flex:0 0 calc(5rem * var(--mantine-scale))}@media (max-width:48em){.PageHeaderLink_label__7Fad9{display:none}}.PageHeaderLink_body__qvtDJ{display:flex;align-items:center;line-height:1;text-decoration:none;color:var(--mantine-color-text);gap:var(--mantine-spacing-xs)}@media (hover:hover){.PageHeaderLink_body__qvtDJ:hover{text-decoration:underline}}@media (hover:none){.PageHeaderLink_body__qvtDJ:active{text-decoration:underline}}@media (max-width:48em){.PageHeaderLink_body__qvtDJ{min-height:calc(1.5rem * var(--mantine-scale))}}.PageHeaderLink_icon__d9jEr{width:calc(1.125rem * var(--mantine-scale))}.PageHeaderLink_icon__d9jEr svg{display:block}.PageHeader_root__u_xWw{padding-top:calc(3.75rem * var(--mantine-scale));padding-bottom:calc(2.5rem * var(--mantine-scale));background-color:var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .PageHeader_root__u_xWw{background-color:var(--mantine-color-dark-8)}.PageHeader_title__gP726{color:var(--mantine-color-bright);font-size:calc(2rem * var(--mantine-scale));letter-spacing:calc(-.03125rem * var(--mantine-scale))}@media (max-width:48em){.PageHeader_title__gP726{font-size:calc(1.5rem * var(--mantine-scale))}}.PageHeader_description__gCV5r{margin-top:var(--mantine-spacing-md);max-width:calc(37.5rem * var(--mantine-scale));font-size:var(--mantine-font-size-lg);color:var(--mantine-color-dimmed)}@media (max-width:48em){.PageHeader_description__gCV5r{margin-top:var(--mantine-spacing-xs);font-size:var(--mantine-font-size-sm)}}.PageHeader_links__3ws49{margin-top:var(--mantine-spacing-lg)}.Shell_inner__vEmfO{display:flex;align-items:center;justify-content:space-between;height:100%}.Shell_main__lcVaI{padding-bottom:calc(7.5rem * var(--mantine-scale))}.Shell_logo__4Ivhz>svg{display:block}.InstallScript_root__C12dR{border:calc(.0625rem * var(--mantine-scale)) solid;border-radius:var(--mantine-radius-md);overflow:hidden;margin-bottom:var(--mantine-spacing-xl)}[data-mantine-color-scheme=light] .InstallScript_root__C12dR{border-color:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .InstallScript_root__C12dR{border-color:var(--mantine-color-dark-5)}.InstallScript_icon__2DGM0{margin-right:calc(.3125rem * var(--mantine-scale))}[dir=rtl] .InstallScript_icon__2DGM0{margin-right:0;margin-left:calc(.3125rem * var(--mantine-scale))} \ No newline at end of file diff --git a/_next/static/css/ee445a7f61bd9536.css b/_next/static/css/ee445a7f61bd9536.css deleted file mode 100644 index 1485eae..0000000 --- a/_next/static/css/ee445a7f61bd9536.css +++ /dev/null @@ -1 +0,0 @@ -.TableInlineCode_code__TNUKa{font-family:var(--mantine-font-family-monospace);font-size:var(--mantine-font-size-xs)}[data-mantine-color-scheme=light] .TableInlineCode_code__TNUKa{color:var(--mantine-color-indigo-filled)}[data-mantine-color-scheme=dark] .TableInlineCode_code__TNUKa{color:var(--mantine-color-red-filled)}.PropsTablesList_root__c_Say code{font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);padding:calc(.125rem * var(--mantine-scale)) calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);font-size:var(--mantine-font-size-xs);margin:0}[data-mantine-color-scheme=light] .PropsTablesList_root__c_Say code{background-color:var(--mantine-color-gray-1);color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .PropsTablesList_root__c_Say code{background-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.PropsTablesList_searchIcon__9N6KL{width:calc(1.375rem * var(--mantine-scale));height:calc(1.375rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .PropsTablesList_searchIcon__9N6KL{color:var(--mantine-color-gray-4)}[data-mantine-color-scheme=dark] .PropsTablesList_searchIcon__9N6KL{color:var(--mantine-color-dark-3)}.PropsTablesList_title__RXbmG{margin-bottom:var(--mantine-spacing-lg)}[data-mantine-color-scheme=light] .PropsTablesList_title__RXbmG{color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .PropsTablesList_title__RXbmG{color:var(--mantine-color-white)}.PropsTablesList_section__nwP7g+.PropsTablesList_section__nwP7g{margin-top:calc(3.125rem * var(--mantine-scale))}.PropsTablesList_search__uiqGP{margin-bottom:var(--mantine-spacing-xl)}.TableOfContents_wrapper__BAgli{padding-left:var(--mantine-spacing-md);position:sticky;top:var(--mantine-spacing-xl);right:0;padding-top:calc(3.4375rem * var(--mantine-scale));flex:0 0 calc(var(--docs-table-of-contents-width) - calc(1.25rem * var(--mantine-scale)))}@media (max-width:67.5em){.TableOfContents_wrapper__BAgli{display:none}}[dir=rtl] .TableOfContents_wrapper__BAgli{padding-left:0;padding-right:var(--mantine-spacing-md);right:auto;left:0}.TableOfContents_wrapper__BAgli[data-with-tabs]{padding-top:0;top:calc(var(--mantine-spacing-xl) + calc(3.75rem * var(--mantine-scale)))}.TableOfContents_inner__au2gv{padding-bottom:var(--mantine-spacing-xl);padding-left:var(--mantine-spacing-md);display:flex;flex-direction:column;justify-content:space-between}[dir=rtl] .TableOfContents_inner__au2gv{padding-left:0;padding-right:var(--mantine-spacing-md)}.TableOfContents_link__X__0J{display:block;border-left:calc(.0625rem * var(--mantine-scale)) solid transparent;padding:calc(.5rem * var(--mantine-scale)) var(--mantine-spacing-md);margin-left:calc(-.0625rem * var(--mantine-scale));padding-left:calc(var(--toc-link-offset) * var(--mantine-spacing-lg));border-top-right-radius:var(--mantine-radius-sm);border-bottom-right-radius:var(--mantine-radius-sm)}[data-mantine-color-scheme=light] .TableOfContents_link__X__0J{color:var(--mantine-color-gray-7)}[data-mantine-color-scheme=dark] .TableOfContents_link__X__0J{color:var(--mantine-color-dark-1)}[dir=rtl] .TableOfContents_link__X__0J{border-left:0;border-right:calc(.0625rem * var(--mantine-scale)) solid transparent;margin-left:0;margin-right:calc(-.0625rem * var(--mantine-scale));border-top-left-radius:var(--mantine-radius-sm);border-bottom-left-radius:var(--mantine-radius-sm);border-top-right-radius:0;border-bottom-right-radius:0}.TableOfContents_link__X__0J[data-active]{border-color:var(--mantine-color-blue-5)}[data-mantine-color-scheme=light] .TableOfContents_link__X__0J[data-active]{color:var(--mantine-color-blue-8);background-color:var(--mantine-color-blue-0)}[data-mantine-color-scheme=dark] .TableOfContents_link__X__0J[data-active]{color:var(--mantine-color-blue-1);background-color:rgba(24,100,171,.45)}.TableOfContents_header__5Tlsz{display:flex;align-items:center;margin-bottom:var(--mantine-spacing-md)}.TableOfContents_title__FWq20{margin-left:var(--mantine-spacing-md)}[dir=rtl] .TableOfContents_title__FWq20{margin-left:0;margin-right:var(--mantine-spacing-md)}.TableOfContents_items__s8ECn{border-left:calc(.0625rem * var(--mantine-scale)) solid}[data-mantine-color-scheme=light] .TableOfContents_items__s8ECn{border-color:var(--mantine-color-gray-3)!important}[data-mantine-color-scheme=dark] .TableOfContents_items__s8ECn{border-color:var(--mantine-color-dark-4)!important}[dir=rtl] .TableOfContents_items__s8ECn{border-left:0;border-right:calc(.0625rem * var(--mantine-scale)) solid}[data-mantine-color-scheme=light] [dir=rtl] .TableOfContents_items__s8ECn{border-color:var(--mantine-color-gray-3)!important}[data-mantine-color-scheme=dark] [dir=rtl] .TableOfContents_items__s8ECn{border-color:var(--mantine-color-dark-4)!important}.StylesApiTable_root__obqpY code{font-family:var(--mantine-font-family-monospace);line-height:var(--mantine-line-height);padding:calc(.125rem * var(--mantine-scale)) calc(var(--mantine-spacing-xs) / 2);border-radius:var(--mantine-radius-sm);font-size:var(--mantine-font-size-xs);margin:0}[data-mantine-color-scheme=light] .StylesApiTable_root__obqpY code{background-color:var(--mantine-color-gray-1);color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .StylesApiTable_root__obqpY code{background-color:var(--mantine-color-dark-5);color:var(--mantine-color-white)}.StylesApiTable_groupsHeader__GDU_x{margin-bottom:calc(1.875rem * var(--mantine-scale))}.StylesApiTable_group__X_sw5{--_group-spacing:calc(2.5rem * var(--mantine-scale))}.StylesApiTable_group__X_sw5+.StylesApiTable_group__X_sw5{margin-top:var(--_group-spacing);padding-top:var(--_group-spacing);border-top:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-gray-3)}[data-mantine-color-scheme=dark] .StylesApiTable_group__X_sw5+.StylesApiTable_group__X_sw5{border-top:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-dark-3)}.StylesApiTable_title__inUP0{font-family:var(--docs-font-primary);margin-bottom:var(--mantine-spacing-sm)}[data-mantine-color-scheme=light] .StylesApiTable_title__inUP0{color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .StylesApiTable_title__inUP0{color:var(--mantine-color-white)}.StylesApiTable_section__nAJMp+.StylesApiTable_section__nAJMp{margin-top:calc(2.5rem * var(--mantine-scale))}.MdxElements_paragraph__Y192O{line-height:1.65}.MdxElements_link__Lt3iC,.MdxElements_paragraph__Y192O,.MdxElements_ul__hdTt4{font-size:calc(.9375rem * var(--mantine-scale))}.MdxElements_ul__hdTt4{line-height:1.65;margin-bottom:calc(1.25rem * var(--mantine-scale));margin-top:calc(.625rem * var(--mantine-scale));padding-left:var(--mantine-spacing-xl)}.MdxElements_li__KI_j2{margin-top:calc(.25rem * var(--mantine-scale));font-size:calc(.9375rem * var(--mantine-scale))}.MdxElements_title__YHwzc{margin-top:calc(var(--mantine-spacing-xl) * 1.2);margin-bottom:var(--mantine-spacing-md);word-break:break-word;font-weight:700}[data-mantine-color-scheme=light] .MdxElements_title__YHwzc{color:var(--mantine-color-black)}[data-mantine-color-scheme=dark] .MdxElements_title__YHwzc{color:var(--mantine-color-white)}.MdxElements_title__YHwzc[data-order="1"]{font-size:calc(2.5rem * var(--mantine-scale));margin-top:0}.MdxElements_titleLink__MBV9J{text-decoration:none;color:inherit}.MdxElements_titleOffset__Vn_Uo{position:relative;top:calc(-3.875rem * var(--mantine-scale))}.MdxElements_code__C3Y34{border:calc(.0625rem * var(--mantine-scale)) solid;border-radius:var(--mantine-radius-md);margin-top:var(--mantine-spacing-md);margin-bottom:var(--mantine-spacing-md)}[data-mantine-color-scheme=light] .MdxElements_code__C3Y34{border-color:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .MdxElements_code__C3Y34{border-color:var(--mantine-color-dark-5)}.DocsTabs_root__3_liq{--docs-table-of-contents-width:calc(16.25rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .DocsTabs_tabsWrapper__IRW55{background-color:var(--mantine-color-gray-0);border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .DocsTabs_tabsWrapper__IRW55{background-color:var(--mantine-color-dark-8);border-bottom:calc(.0625rem * var(--mantine-scale)) solid var(--mantine-color-dark-6)}.DocsTabs_tabsList__WAMMe{max-width:calc(71.25rem * var(--mantine-scale));padding-left:var(--mantine-spacing-md);padding-right:var(--mantine-spacing-md);margin-left:auto;margin-right:auto;margin-bottom:calc(-.0625rem * var(--mantine-scale))}[data-mantine-color-scheme=light] .DocsTabs_tabsList__WAMMe:before{border-color:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .DocsTabs_tabsList__WAMMe:before{border-color:var(--mantine-color-dark-6)}.DocsTabs_tab__mfbTe{font-size:var(--mantine-font-size-md);font-weight:500;height:calc(2.875rem * var(--mantine-scale));padding-left:var(--mantine-spacing-lg);padding-right:var(--mantine-spacing-lg);background-color:transparent}@media (max-width:67.5em){.DocsTabs_tab__mfbTe{font-size:var(--mantine-font-size-sm);padding-left:var(--mantine-spacing-md);padding-right:var(--mantine-spacing-md)}}.DocsTabs_tab__mfbTe[data-active]{background-color:var(--mantine-color-body)}[data-mantine-color-scheme=light] .DocsTabs_tab__mfbTe[data-active]{color:var(--mantine-color-black);border-color:var(--mantine-color-gray-2);border-bottom-color:transparent}[data-mantine-color-scheme=dark] .DocsTabs_tab__mfbTe[data-active]{color:var(--mantine-color-white);border-color:var(--mantine-color-dark-6);border-bottom-color:transparent}.DocsTabs_tabContent__xZoIg{max-width:calc(71.25rem * var(--mantine-scale));padding-left:var(--mantine-spacing-md);padding-right:var(--mantine-spacing-md);padding-top:var(--mantine-spacing-xs);margin-left:auto;margin-right:auto}.DocsTabs_tabContent__xZoIg[data-main]{display:flex;position:relative;justify-content:space-between}.DocsTabs_tabContent__xZoIg[data-secondary]{margin-top:calc(1.5rem * var(--mantine-scale))}.DocsTabs_main__bXjjr{width:calc(100% - var(--docs-table-of-contents-width));max-width:var(--docs-mdx-content-width);margin-left:auto;margin-right:auto}@media (max-width:67.5em){.DocsTabs_main__bXjjr{width:100%;padding-right:0}}.DocsTabs_tableOfContents__m_mWC{flex:0 0 var(--docs-table-of-contents-width);margin-top:var(--mantine-spacing-xl)}@media (max-width:67.5em){.DocsTabs_tableOfContents__m_mWC{display:none}}.PageHeaderLink_root__xmmCT{display:flex;align-items:center;font-size:var(--mantine-font-size-sm);gap:var(--mantine-spacing-md)}.PageHeaderLink_root__xmmCT+.PageHeaderLink_root__xmmCT{margin-top:var(--mantine-spacing-xs)}.PageHeaderLink_label__7Fad9{color:var(--mantine-color-dimmed);flex:0 0 calc(5rem * var(--mantine-scale))}@media (max-width:48em){.PageHeaderLink_label__7Fad9{display:none}}.PageHeaderLink_body__qvtDJ{display:flex;align-items:center;line-height:1;text-decoration:none;color:var(--mantine-color-text);gap:var(--mantine-spacing-xs)}@media (hover:hover){.PageHeaderLink_body__qvtDJ:hover{text-decoration:underline}}@media (hover:none){.PageHeaderLink_body__qvtDJ:active{text-decoration:underline}}@media (max-width:48em){.PageHeaderLink_body__qvtDJ{min-height:calc(1.5rem * var(--mantine-scale))}}.PageHeaderLink_icon__d9jEr{width:calc(1.125rem * var(--mantine-scale))}.PageHeaderLink_icon__d9jEr svg{display:block}.PageHeader_root__u_xWw{padding-top:calc(3.75rem * var(--mantine-scale));padding-bottom:calc(2.5rem * var(--mantine-scale));background-color:var(--mantine-color-gray-0)}[data-mantine-color-scheme=dark] .PageHeader_root__u_xWw{background-color:var(--mantine-color-dark-8)}.PageHeader_title__gP726{color:var(--mantine-color-bright);font-size:calc(2rem * var(--mantine-scale));letter-spacing:calc(-.03125rem * var(--mantine-scale))}@media (max-width:48em){.PageHeader_title__gP726{font-size:calc(1.5rem * var(--mantine-scale))}}.PageHeader_description__gCV5r{margin-top:var(--mantine-spacing-md);max-width:calc(37.5rem * var(--mantine-scale));font-size:var(--mantine-font-size-lg);color:var(--mantine-color-dimmed)}@media (max-width:48em){.PageHeader_description__gCV5r{margin-top:var(--mantine-spacing-xs);font-size:var(--mantine-font-size-sm)}}.PageHeader_links__3ws49{margin-top:var(--mantine-spacing-lg)}.Shell_inner__vEmfO{display:flex;align-items:center;justify-content:space-between;height:100%}.Shell_main__lcVaI{padding-bottom:calc(7.5rem * var(--mantine-scale))}.Shell_logo__4Ivhz>svg{display:block}.InstallScript_root__C12dR{border:calc(.0625rem * var(--mantine-scale)) solid;border-radius:var(--mantine-radius-md);overflow:hidden;margin-bottom:var(--mantine-spacing-xl)}[data-mantine-color-scheme=light] .InstallScript_root__C12dR{border-color:var(--mantine-color-gray-2)}[data-mantine-color-scheme=dark] .InstallScript_root__C12dR{border-color:var(--mantine-color-dark-5)}.InstallScript_icon__2DGM0{margin-right:calc(.3125rem * var(--mantine-scale))}[dir=rtl] .InstallScript_icon__2DGM0{margin-right:0;margin-left:calc(.3125rem * var(--mantine-scale))} \ No newline at end of file diff --git a/index.html b/index.html index ee1094c..7cadab1 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,68 @@ var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"; document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme); } catch (e) {} -

@gfazioli/mantine-flip

A Mantine component that flips the content of the component when hovered over.

Installation

-
yarn add mantine-flip
-

Regular demo

-

Front Card

Back Card

import { Flip } from '@gfazioli/mantine-flip';
+

@gfazioli/mantine-flip

A Mantine component that flips the content of the component when hovered over.

Installation

+
yarn add @gfazioli/mantine-flip
+

Usage

+
Norway

Norway Fjord Adventures

On Sale

With Fjord Tours you can explore more of the magical fjord landscapes with tours and activities on and around the fjords of Norway

Edit Widget

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.

Duration
import { Flip } from '@gfazioli/mantine-flip'';
+
+function Demo() {
+  return (
+    <Center>
+      <Flip h={200} w={400} {...props}>
+        <Card shadow="sm" padding="lg" radius="md" withBorder>
+          <Card.Section>
+            <Image
+              src="https://images.unsplash.com/photo-1527004013197-933c4bb611b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=720&q=80"
+              height={160}
+              alt="Norway"
+            />
+          </Card.Section>
+
+          <Group justify="space-between" mt="md" mb="xs">
+            <Text fw={500}>Norway Fjord Adventures</Text>
+            <Badge color="pink" variant="light">
+              On Sale
+            </Badge>
+          </Group>
+
+          <Text size="sm" c="dimmed">
+            With Fjord Tours you can explore more of the magical fjord landscapes with tours and
+            activities on and around the fjords of Norway
+          </Text>
+
+          <Group justify="right">
+            <Flip.Target>
+              <Button color="blue" mt="md" radius="md">
+                Edit Widget
+              </Button>
+            </Flip.Target>
+          </Group>
+        </Card>
+
+        <Paper bg="dark" radius="md" withBorder p="lg">
+          <Stack>
+            <Title order={4} c="white">
+              Edit Widget
+            </Title>
+            <Text c="gray" size="sm">
+              Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.
+            </Text>
+            <Switch c="white" defaultChecked label="Display image" />
+            <Switch c="white" label="Auto play" />
+            <Group justify="left">
+              <Flip.Target>
+                <Button color="red" mt="md" radius="md">Close</Button>
+              </Flip.Target>
+            </Group>
+          </Stack>
+        </Paper>
+      </Flip>
+    </Center>
+  );
+}
+

Uncontrollded

+

Front Card

The front card

Back Card

import { Flip } from '@gfazioli/mantine-flip';
 
 function Demo() {
   return (
@@ -30,63 +88,70 @@
   </Flip>
   );
 }
-

Configurator demo

-
Norway

Norway Fjord Adventures

On Sale

With Fjord Tours you can explore more of the magical fjord landscapes with tours and activities on and around the fjords of Norway

Edit Widget

Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.

Duration
import { Flip } from '@gfazioli/mantine-flip'';
+

Controllded

+

You may control the state of the card by setting the flipped prop to true or false. +This is useful when you want to control the state of the card from the parent component.

+

Front Card

The front card

Back Card

function Demo() {
+  const [flipped, setFlipped] = useState(false);
 
-function Demo() {
   return (
-    <Flip h={200} w={400} >
-      <Card shadow="sm" padding="lg" radius="md" withBorder>
-        <Card.Section>
-          <Image
-            src="https://images.unsplash.com/photo-1527004013197-933c4bb611b3?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=720&q=80"
-            height={160}
-            alt="Norway"
-          />
-        </Card.Section>
-
-        <Group justify="space-between" mt="md" mb="xs">
-          <Text fw={500}>Norway Fjord Adventures</Text>
-          <Badge color="pink" variant="light">
-            On Sale
-          </Badge>
-        </Group>
+    <Stack>
+      <Group>
+        <Switch checked={flipped}
+                onChange={(event) => setFlipped(event.currentTarget.checked)}
+                label="Show settings" />
+      </Group>
 
-        <Text size="sm" c="dimmed">
-          With Fjord Tours you can explore more of the magical fjord landscapes with tours and
-          activities on and around the fjords of Norway
-        </Text>
+    <Flip h={200} w={400} flipped={flipped}>
 
-        <Group justify='right'>
-          <Flip.Target>
-            <Button color="blue" mt="md" radius="md">
-              Edit Widget
-            </Button>
-          </Flip.Target>
+      <Paper radius="md" withBorder p="lg" shadow="md">
+        <h3>Front Card</h3>
+        <p>The front card</p>
+        <Group justify="right">
+          <Button onClick={()=>setFlipped(true)}>Show Settings</Button>
         </Group>
-      </Card>
+      </Paper>
 
-      <Paper bg="dark" radius="md" withBorder p="lg">
-        <Stack>
-          <Title order={4} c="white">Edit Widget</Title>
-          <Text c="gray" size="sm">
-            Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam, voluptatum.
-          </Text>
-          <Switch
-              c="white"
-              defaultChecked
-              label="Display image"
-          />
-          <Switch c="white" label="Auto play" />
-          <Group justify='right'>
-            <Flip.Target>
-              <Button>Close</Button>
-            </Flip.Target>
-          </Group>
-        </Stack>
+      <Paper radius="md" withBorder p="lg" shadow="md">
+        <h3>Back Card</h3>
+        <Button onClick={()=>setFlipped(false)} variant="outline">Back to Front</Button>
       </Paper>
+
     </Flip>
+    </Stack>
   );
 }
-

Other subtitle

-

Other content

\ No newline at end of file +
+

Inital face and Flip.Target

+

For controlled Flip components, you will use useState to determine which side of the component to initially show. +Additionally, you will not need to use Flip.Target for buttons, but you can control them manually to keep the states synchronized.

+
+

Default Flipped (face)

+

You may display the initial face of the card by setting the defaultFlipped prop to true.

+

Front Card

The front card

Back Card

In this case the defaultFlipped prop is set to true, and the back card is visible

import { Flip } from '@gfazioli/mantine-flip';
+
+function Demo() {
+  return (
+    <Flip h={200} w={400} defaultFlipped={true}>
+
+      <Paper radius="md" withBorder p="lg" shadow="md">
+        <h3>Front Card</h3>
+            <p>The front card</p>
+            <Group justify="right">
+              <Flip.Target>
+                  <Button>Flip to Back</Button>
+              </Flip.Target>
+            </Group>
+      </Paper>
+
+      <Paper radius="md" withBorder p="lg" shadow="md">
+        <h3>Back Card</h3>
+        <p>In this case the <Code>defaultFlipped</Code> prop is set to <Code>true</Code>, and the back card is visible</p>
+          <Flip.Target>
+            <Button variant="outline">Flip to Front</Button>
+          </Flip.Target>
+      </Paper>
+
+    </Flip>
+  );
+}
\ No newline at end of file