1import{r as g,j as v}from"./components-dnxqU3tS.js";function D(r){return Object.keys(r)}function L(r){return r&&typeof r=="object"&&!Array.isArray(r)}function ir(r,e){const n={...r},t=e;return L(r)&&L(e)&&Object.keys(e).forEach(a=>{L(t[a])&&a in r?n[a]=ir(n[a],t[a]):n[a]=t[a]}),n}function Gr(r){return r.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}function X(r){return r==="0rem"?"0rem":`calc(${r} * var(--mantine-scale))`}function or(r,{shouldScale:e=!1}={}){function n(t){if(t===0||t==="0")return`0${r}`;if(typeof t=="number"){const a=`${t/16}${r}`;return e?X(a):a}if(typeof t=="string"){if(t===""||t.startsWith("calc(")||t.startsWith("clamp(")||t.includes("rgba("))return t;if(t.includes(","))return t.split(",").map(i=>n(i)).join(",");if(t.includes(" "))return t.split(" ").map(i=>n(i)).join(" ");const a=t.replace("px","");if(!Number.isNaN(Number(a))){const i=`${Number(a)/16}${r}`;return e?X(i):i}}return t}return n}const o=or("rem",{shouldScale:!0}),en=or("em");function G(r){return Object.keys(r).reduce((e,n)=>(r[n]!==void 0&&(e[n]=r[n]),e),{})}function sr(r){if(typeof r=="number")return!0;if(typeof r=="string"){if(r.startsWith("calc(")||r.startsWith("var(")||r.includes(" ")&&r.trim()!=="")return!0;const e=/^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;return r.trim().split(/\s+/).every(t=>e.test(t))}return!1}function N(r,e="size",n=!0){if(r!==void 0)return sr(r)?n?o(r):r:`var(--${e}-${r})`}function nn(r){return N(r,"mantine-spacing")}function tn(r){return r===void 0?"var(--mantine-radius-default)":N(r,"mantine-radius")}function an(r){return N(r,"mantine-font-size")}function on(r){return N(r,"mantine-line-height",!1)}function sn(r){if(r)return N(r,"mantine-shadow",!1)}function fr(r){var e,n,t="";if(typeof r=="string"||typeof r=="number")t+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(e=0;e<a;e++)r[e]&&(n=fr(r[e]))&&(t&&(t+=" "),t+=n)}else for(n in r)r[n]&&(t&&(t+=" "),t+=n);return t}function I(){for(var r,e,n=0,t="",a=arguments.length;n<a;n++)(r=arguments[n])&&(e=fr(r))&&(t&&(t+=" "),t+=e);return t}const qr={};function Ur(r){const e={};return r.forEach(n=>{Object.entries(n).forEach(([t,a])=>{e[t]?e[t]=I(e[t],a):e[t]=a})}),e}function q({theme:r,classNames:e,props:n,stylesCtx:t}){const i=(Array.isArray(e)?e:[e]).map(s=>typeof s=="function"?s(r,n,t):s||qr);return Ur(i)}function O({theme:r,styles:e,props:n,stylesCtx:t}){return(Array.isArray(e)?e:[e]).reduce((i,s)=>typeof s=="function"?{...i,...s(r,n,t)}:{...i,...s},{})}const Yr=g.createContext(null);function S(){const r=g.useContext(Yr);if(!r)throw new Error("[@mantine/core] MantineProvider was not found in tree");return r}function fn(){return S().cssVariablesResolver}function Kr(){return S().classNamesPrefix}function Xr(){return S().getStyleNonce}function Qr(){return S().withStaticClasses}function Jr(){return S().headless}function Zr(){var r;return(r=S().stylesTransform)==null?void 0:r.sx}function re(){var r;return(r=S().stylesTransform)==null?void 0:r.styles}function cn(){return S().env||"default"}function ee(r){return/^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(r)}function ne(r){let e=r.replace("#","");if(e.length===3){const s=e.split("");e=[s[0],s[0],s[1],s[1],s[2],s[2]].join("")}if(e.length===8){const s=parseInt(e.slice(6,8),16)/255;return{r:parseInt(e.slice(0,2),16),g:parseInt(e.slice(2,4),16),b:parseInt(e.slice(4,6),16),a:s}}const n=parseInt(e,16),t=n>>16&255,a=n>>8&255,i=n&255;return{r:t,g:a,b:i,a:1}}function te(r){const[e,n,t,a]=r.replace(/[^0-9,./]/g,"").split(/[/,]/).map(Number);return{r:e,g:n,b:t,a:a===void 0?1:a}}function ae(r){const e=/^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i,n=r.match(e);if(!n)return{r:0,g:0,b:0,a:1};const t=parseInt(n[1],10),a=parseInt(n[2],10)/100,i=parseInt(n[3],10)/100,s=n[5]?parseFloat(n[5]):void 0,f=(1-Math.abs(2*i-1))*a,c=t/60,d=f*(1-Math.abs(c%2-1)),l=i-f/2;let u,p,m;return c>=0&&c<1?(u=f,p=d,m=0):c>=1&&c<2?(u=d,p=f,m=0):c>=2&&c<3?(u=0,p=f,m=d):c>=3&&c<4?(u=0,p=d,m=f):c>=4&&c<5?(u=d,p=0,m=f):(u=f,p=0,m=d),{r:Math.round((u+l)*255),g:Math.round((p+l)*255),b:Math.round((m+l)*255),a:s||1}}function U(r){return ee(r)?ne(r):r.startsWith("rgb")?te(r):r.startsWith("hsl")?ae(r):{r:0,g:0,b:0,a:1}}function j(r,e){if(r.startsWith("var("))return`color-mix(in srgb, ${r}, black ${e*100}%)`;const{r:n,g:t,b:a,a:i}=U(r),s=1-e,f=c=>Math.round(c*s);return`rgba(${f(n)}, ${f(t)}, ${f(a)}, ${i})`}function ie(r,e){return typeof r.primaryShade=="number"?r.primaryShade:e==="dark"?r.primaryShade.dark:r.primaryShade.light}function F(r){return r<=.03928?r/12.92:((r+.055)/1.055)**2.4}function oe(r){const e=r.match(/oklch\((.*?)%\s/);return e?parseFloat(e[1]):null}function se(r){if(r.startsWith("oklch("))return(oe(r)||0)/100;const{r:e,g:n,b:t}=U(r),a=e/255,i=n/255,s=t/255,f=F(a),c=F(i),d=F(s);return .2126*f+.7152*c+.0722*d}function M(r,e=.179){return r.startsWith("var(")?!1:se(r)>e}function _({color:r,theme:e,colorScheme:n}){if(typeof r!="string")throw new Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof r}`);if(r==="bright")return{color:r,value:n==="dark"?e.white:e.black,shade:void 0,isThemeColor:!1,isLight:M(n==="dark"?e.white:e.black,e.luminanceThreshold),variable:"--mantine-color-bright"};if(r==="dimmed")return{color:r,value:n==="dark"?e.colors.dark[2]:e.colors.gray[7],shade:void 0,isThemeColor:!1,isLight:M(n==="dark"?e.colors.dark[2]:e.colors.gray[6],e.luminanceThreshold),variable:"--mantine-color-dimmed"};if(r==="white"||r==="black")return{color:r,value:r==="white"?e.white:e.black,shade:void 0,isThemeColor:!1,isLight:M(r==="white"?e.white:e.black,e.luminanceThreshold),variable:`--mantine-color-${r}`};const[t,a]=r.split("."),i=a?Number(a):void 0,s=t in e.colors;if(s){const f=i!==void 0?e.colors[t][i]:e.colors[t][ie(e,n||"light")];return{color:t,value:f,shade:i,isThemeColor:s,isLight:M(f,e.luminanceThreshold),variable:a?`--mantine-color-${t}-${i}`:`--mantine-color-${t}-filled`}}return{color:r,value:r,isThemeColor:s,isLight:M(r,e.luminanceThreshold),shade:i,variable:void 0}}function Q(r,e){const n=_({color:r||e.primaryColor,theme:e});return n.variable?`var(${n.variable})`:r}function J(r,e){const n={from:(r==null?void 0:r.from)||e.defaultGradient.from,to:(r==null?void 0:r.to)||e.defaultGradient.to,deg:(r==null?void 0:r.deg)??e.defaultGradient.deg??0},t=Q(n.from,e),a=Q(n.to,e);return`linear-gradient(${n.deg}deg, ${t} 0%, ${a} 100%)`}function h(r,e){if(typeof r!="string"||e>1||e<0)return"rgba(0, 0, 0, 1)";if(r.startsWith("var(")){const i=(1-e)*100;return`color-mix(in srgb, ${r}, transparent ${i}%)`}if(r.startsWith("oklch"))return r.includes("/")?r.replace(/\/\s*[\d.]+\s*\)/,`/ ${e})`):r.replace(")",` / ${e})`);const{r:n,g:t,b:a}=U(r);return`rgba(${n}, ${t}, ${a}, ${e})`}const dn=h,fe=({color:r,theme:e,variant:n,gradient:t,autoContrast:a})=>{const i=_({color:r,theme:e}),s=typeof a=="boolean"?a:e.autoContrast;if(n==="none")return{background:"transparent",hover:"transparent",color:"inherit",border:"none"};if(n==="filled"){const f=s&&i.isLight?"var(--mantine-color-black)":"var(--mantine-color-white)";return i.isThemeColor?i.shade===void 0?{background:`var(--mantine-color-${r}-filled)`,hover:`var(--mantine-color-${r}-filled-hover)`,color:f,border:`${o(1)} solid transparent`}
1:{background:`var(--mantine-color-${i.color}-${i.shade})`,hover:`var(--mantine-color-${i.color}-${i.shade===9?8:i.shade+1})`,color:f,border:`${o(1)} solid transparent`}:{background:r,hover:j(r,.1),color:f,border:`${o(1)} solid transparent`}}if(n==="light"){if(i.isThemeColor){if(i.shade===void 0)return{background:`var(--mantine-color-${r}-light)`,hover:`var(--mantine-color-${r}-light-hover)`,color:`var(--mantine-color-${r}-light-color)`,border:`${o(1)} solid transparent`};const f=e.colors[i.color][i.shade];return{background:h(f,.1),hover:h(f,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${o(1)} solid transparent`}}return{background:h(r,.1),hover:h(r,.12),color:r,border:`${o(1)} solid transparent`}}if(n==="outline")return i.isThemeColor?i.shade===void 0?{background:"transparent",hover:`var(--mantine-color-${r}-outline-hover)`,color:`var(--mantine-color-${r}-outline)`,border:`${o(1)} solid var(--mantine-color-${r}-outline)`}:{background:"transparent",hover:h(e.colors[i.color][i.shade],.05),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${o(1)} solid var(--mantine-color-${i.color}-${i.shade})`}:{background:"transparent",hover:h(r,.05),color:r,border:`${o(1)} solid ${r}`};if(n==="subtle"){if(i.isThemeColor){if(i.shade===void 0)return{background:"transparent",hover:`var(--mantine-color-${r}-light-hover)`,color:`var(--mantine-color-${r}-light-color)`,border:`${o(1)} solid transparent`};const f=e.colors[i.color][i.shade];return{background:"transparent",hover:h(f,.12),color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${o(1)} solid transparent`}}return{background:"transparent",hover:h(r,.12),color:r,border:`${o(1)} solid transparent`}}return n==="transparent"?i.isThemeColor?i.shade===void 0?{background:"transparent",hover:"transparent",color:`var(--mantine-color-${r}-light-color)`,border:`${o(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:`var(--mantine-color-${i.color}-${Math.min(i.shade,6)})`,border:`${o(1)} solid transparent`}:{background:"transparent",hover:"transparent",color:r,border:`${o(1)} solid transparent`}:n==="white"?i.isThemeColor?i.shade===void 0?{background:"var(--mantine-color-white)",hover:j(e.white,.01),color:`var(--mantine-color-${r}-filled)`,border:`${o(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:j(e.white,.01),color:`var(--mantine-color-${i.color}-${i.shade})`,border:`${o(1)} solid transparent`}:{background:"var(--mantine-color-white)",hover:j(e.white,.01),color:r,border:`${o(1)} solid transparent`}:n==="gradient"?{background:J(t,e),hover:J(t,e),color:"var(--mantine-color-white)",border:"none"}:n==="default"?{background:"var(--mantine-color-default)",hover:"var(--mantine-color-default-hover)",color:"var(--mantine-color-default-color)",border:`${o(1)} solid var(--mantine-color-default-border)`}:{}},ce={dark:["#C9C9C9","#b8b8b8","#828282","#696969","#424242","#3b3b3b","#2e2e2e","#242424","#1f1f1f","#141414"],gray:["#f8f9fa","#f1f3f5","#e9ecef","#dee2e6","#ced4da","#adb5bd","#868e96","#495057","#343a40","#212529"],red:["#fff5f5","#ffe3e3","#ffc9c9","#ffa8a8","#ff8787","#ff6b6b","#fa5252","#f03e3e","#e03131","#c92a2a"],pink:["#fff0f6","#ffdeeb","#fcc2d7","#faa2c1","#f783ac","#f06595","#e64980","#d6336c","#c2255c","#a61e4d"],grape:["#f8f0fc","#f3d9fa","#eebefa","#e599f7","#da77f2","#cc5de8","#be4bdb","#ae3ec9","#9c36b5","#862e9c"],violet:["#f3f0ff","#e5dbff","#d0bfff","#b197fc","#9775fa","#845ef7","#7950f2","#7048e8","#6741d9","#5f3dc4"],indigo:["#edf2ff","#dbe4ff","#bac8ff","#91a7ff","#748ffc","#5c7cfa","#4c6ef5","#4263eb","#3b5bdb","#364fc7"],blue:["#e7f5ff","#d0ebff","#a5d8ff","#74c0fc","#4dabf7","#339af0","#228be6","#1c7ed6","#1971c2","#1864ab"],cyan:["#e3fafc","#c5f6fa","#99e9f2","#66d9e8","#3bc9db","#22b8cf","#15aabf","#1098ad","#0c8599","#0b7285"],teal:["#e6fcf5","#c3fae8","#96f2d7","#63e6be","#38d9a9","#20c997","#12b886","#0ca678","#099268","#087f5b"],green:["#ebfbee","#d3f9d8","#b2f2bb","#8ce99a","#69db7c","#51cf66","#40c057","#37b24d","#2f9e44","#2b8a3e"],lime:["#f4fce3","#e9fac8","#d8f5a2","#c0eb75","#a9e34b","#94d82d","#82c91e","#74b816","#66a80f","#5c940d"],yellow:["#fff9db","#fff3bf","#ffec99","#ffe066","#ffd43b","#fcc419","#fab005","#f59f00","#f08c00","#e67700"],orange:["#fff4e6","#ffe8cc","#ffd8a8","#ffc078","#ffa94d","#ff922b","#fd7e14","#f76707","#e8590c","#d9480f"]},Z="-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji",cr={scale:1,fontSmoothing:!0,focusRing:"auto",white:"#fff",black:"#000",colors:ce,primaryShade:{light:6,dark:8},primaryColor:"blue",variantColorResolver:fe,autoContrast:!1,luminanceThreshold:.3,fontFamily:Z,fontFamilyMonospace:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",respectReducedMotion:!1,cursorType:"default",defaultGradient:{from:"blue",to:"cyan",deg:45},defaultRadius:"sm",activeClassName:"mantine-active",focusClassName:"",headings:{fontFamily:Z,fontWeight:"700",textWrap:"wrap",sizes:{h1:{fontSize:o(34),lineHeight:"1.3"},h2:{fontSize:o(26),lineHeight:"1.35"},h3:{fontSize:o(22),lineHeight:"1.4"},h4:{fontSize:o(18),lineHeight:"1.45"},h5:{fontSize:o(16),lineHeight:"1.5"},h6:{fontSize:o(14),lineHeight:"1.5"}}},fontSizes:{xs:o(12),sm:o(14),md:o(16),lg:o(18),xl:o(20)},lineHeights:{xs:"1.4",sm:"1.45",md:"1.55",lg:"1.6",xl:"1.65"},radius:{xs:o(2),sm:o(4),md:o(8),lg:o(16),xl:o(32)},spacing:{xs:o(10),sm:o(12),md:o(16),lg:o(20),xl:o(32)},breakpoints:{xs:"36em",sm:"48em",md:"62em",lg:"75em",xl:"88em"},shadows:{xs:`0 ${o(1)} ${o(3)} rgba(0, 0, 0, 0.05), 0 ${o(1)} ${o(2)} rgba(0, 0, 0, 0.1)`,sm:`0 ${o(1)} ${o(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${o(10)} ${o(15)} ${o(-5)}, rgba(0, 0, 0, 0.04) 0 ${o(7)} ${o(7)} ${o(-5)}`,md:`0 ${o(1)} ${o(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${o(20)} ${o(25)} ${o(-5)}, rgba(0, 0, 0, 0.04) 0 ${o(10)} ${o(10)} ${o(-5)}`,lg:`0 ${o(1)} ${o(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${o(28)} ${o(23)} ${o(-7)}, rgba(0, 0, 0, 0.04) 0 ${o(12)} ${o(12)} ${o(-7)}`,xl:`0 ${o(1)} ${o(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${o(36)} ${o(28)} ${o(-7)}, rgba(0, 0, 0, 0.04) 0 ${o(17)} ${o(17)} ${o(-7)}`},other:{},components:{}},de="[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more â https://mantine.dev/theming/colors/#primary-color",rr="[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";function H(r){return r<0||r>9?!1:parseInt(r.toString(),10)===r}function er(r){if(!(r.primaryColor in r.colors))throw new Error(de);
1if(typeof r.primaryShade=="object"&&(!H(r.primaryShade.dark)||!H(r.primaryShade.light)))throw new Error(rr);if(typeof r.primaryShade=="number"&&!H(r.primaryShade))throw new Error(rr)}function ue(r,e){var t;if(!e)return er(r),r;const n=ir(r,e);return e.fontFamily&&!((t=e.headings)!=null&&t.fontFamily)&&(n.headings.fontFamily=e.fontFamily),er(n),n}const Y=g.createContext(null),le=()=>g.useContext(Y)||cr;function z(){const r=g.useContext(Y);if(!r)throw new Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");return r}function pe({theme:r,children:e,inherit:n=!0}){const t=le(),a=g.useMemo(()=>ue(n?t:cr,r),[r,t,n]);return v.jsx(Y.Provider,{value:a,children:e})}pe.displayName="@mantine/core/MantineThemeProvider";const me={always:"mantine-focus-always",auto:"mantine-focus-auto",never:"mantine-focus-never"};function ge({theme:r,options:e,unstyled:n}){return I((e==null?void 0:e.focusable)&&!n&&(r.focusClassName||me[r.focusRing]),(e==null?void 0:e.active)&&!n&&r.activeClassName)}function ye({selector:r,stylesCtx:e,options:n,props:t,theme:a}){return q({theme:a,classNames:n==null?void 0:n.classNames,props:(n==null?void 0:n.props)||t,stylesCtx:e})[r]}function nr({selector:r,stylesCtx:e,theme:n,classNames:t,props:a}
1){return q({theme:n,classNames:t,props:a,stylesCtx:e})[r]}function be({rootSelector:r,selector:e,className:n}){return r===e?n:void 0}function he({selector:r,classes:e,unstyled:n}){return n?void 0:e[r]}function $e({themeName:r,classNamesPrefix:e,selector:n,withStaticClass:t}){return t===!1?[]:r.map(a=>`${e}-${a}-${n}`)}function ve({themeName:r,theme:e,selector:n,props:t,stylesCtx:a}){return r.map(i=>{var s,f;return(f=q({theme:e,classNames:(s=e.components[i])==null?void 0:s.classNames,props:t,stylesCtx:a}))==null?void 0:f[n]})}function Se({options:r,classes:e,selector:n,unstyled:t}){return r!=null&&r.variant&&!t?e[`${n}--${r.variant}`]:void 0}function xe({theme:r,options:e,themeName:n,selector:t,classNamesPrefix:a,classNames:i,classes:s,unstyled:f,className:c,rootSelector:d,props:l,stylesCtx:u,withStaticClasses:p,headless:m,transformedStyles:x}){return I(ge({theme:r,options:e,unstyled:f||m}),ve({theme:r,themeName:n,selector:t,props:l,stylesCtx:u}),Se({options:e,classes:s,selector:t,unstyled:f}),nr({selector:t,stylesCtx:u,theme:r,classNames:i,props:l}),nr({selector:t,stylesCtx:u,theme:r,classNames:x,props:l}),ye({selector:t,stylesCtx:u,options:e,props:l,theme:r}),be({rootSelector:d,selector:t,className:c}),he({selector:t,classes:s,unstyled:f||m}),p&&!m&&$e({themeName:n,classNamesPrefix:a,selector:t,withStaticClass:e==null?void 0:e.withStaticClass}),e==null?void 0:e.className)}function Ce({theme:r,themeName:e,props:n,stylesCtx:t,selector:a}){return e.map(i=>{var s;return O({theme:r,styles:(s=r.components[i])==null?void 0:s.styles,props:n,stylesCtx:t})[a]}).reduce((i,s)=>({...i,...s}),{})}function B({style:r,theme:e}){return Array.isArray(r)?[...r].reduce((n,t)=>({...n,...B({style:t,theme:e})}),{}):typeof r=="function"?r(e):r??{}}function we(r){return r.reduce((e,n)=>(n&&Object.keys(n).forEach(t=>{e[t]={...e[t],...G(n[t])}}),e),{})}function ke({vars:r,varsResolver:e,theme:n,props:t,stylesCtx:a,selector:i,themeName:s,headless:f}){var c;return(c=we([f?{}:e==null?void 0:e(n,t,a),...s.map(d=>{var l,u,p;return(p=(u=(l=n.components)==null?void 0:l[d])==null?void 0:u.vars)==null?void 0:p.call(u,n,t,a)}),r==null?void 0:r(n,t,a)]))==null?void 0:c[i]}function Re({theme:r,themeName:e,selector:n,options:t,props:a,stylesCtx:i,rootSelector:s,styles:f,style:c,vars:d,varsResolver:l,headless:u,withStylesTransform:p}){return{...!p&&Ce({theme:r,themeName:e,props:a,stylesCtx:i,selector:n}),...!p&&O({theme:r,styles:f,props:a,stylesCtx:i})[n],...!p&&O({theme:r,styles:t==null?void 0:t.styles,props:(t==null?void 0:t.props)||a,stylesCtx:i})[n],...ke({theme:r,props:a,stylesCtx:i,vars:d,varsResolver:l,selector:n,themeName:e,headless:u}),...s===n?B({style:c,theme:r}):null,...B({style:t==null?void 0:t.style,theme:r})}}function Te({props:r,stylesCtx:e,themeName:n}){var s;const t=z(),a=(s=re())==null?void 0:s();return{getTransformedStyles:f=>a?[...f.map(d=>a(d,{props:r,theme:t,ctx:e})),...n.map(d=>{var l;return a((l=t.components[d])==null?void 0:l.styles,{props:r,theme:t,ctx:e})})].filter(Boolean):[],withStylesTransform:!!a}}function un({name:r,classes:e,props:n,stylesCtx:t,className:a,style:i,rootSelector:s="root",unstyled:f,classNames:c,styles:d,vars:l,varsResolver:u,attributes:p}){const m=z(),x=Kr(),k=Qr(),R=Jr(),$=(Array.isArray(r)?r:[r]).filter(b=>b),{withStylesTransform:T,getTransformedStyles:C}=Te({props:n,stylesCtx:t,themeName:$});return(b,y)=>({className:xe({theme:m,options:y,themeName:$,selector:b,classNamesPrefix:x,classNames:c,classes:e,unstyled:f,className:a,rootSelector:s,props:n,stylesCtx:t,withStaticClasses:k,headless:R,transformedStyles:C([y==null?void 0:y.styles,d])}),style:Re({theme:m,themeName:$,selector:b,options:y,props:n,stylesCtx:t,rootSelector:s,styles:d,style:i,vars:l,varsResolver:u,headless:R,withStylesTransform:T}),...p==null?void 0:p[b]})}function ln(r,e,n){var s;const t=z(),a=(s=t.components[r])==null?void 0:s.defaultProps,i=typeof a=="function"?a(t):a;return{...e,...i,...G(n)}}function P(r){return D(r).reduce((e,n)=>r[n]!==void 0?`${e}${Gr(n)}:${r[n]};`:e,"").trim()}function Me({selector:r,styles:e,media:n,container:t}){const a=e?P(e):"",i=Array.isArray(n)?n.map(f=>`@media${f.query}{${r}{${P(f.styles)}}}`):[],s=Array.isArray(t)?t.map(f=>`@container ${f.query}{${r}{${P(f.styles)}}}`):[];return`${a?`${r}{${a}}`:""}${i.join("")}${s.join("")}`.trim()}
1function Ne(r){const e=Xr();return v.jsx("style",{"data-mantine-styles":"inline",nonce:e==null?void 0:e(),dangerouslySetInnerHTML:{__html:Me(r)}})}function Ae(r){const{m:e,mx:n,my:t,mt:a,mb:i,ml:s,mr:f,me:c,ms:d,p:l,px:u,py:p,pt:m,pb:x,pl:k,pr:R,pe:$,ps:T,bd:C,bdrs:b,bg:y,c:w,opacity:A,ff:E,fz:pr,fw:mr,lts:gr,ta:yr,lh:br,fs:hr,tt:$r,td:vr,w:Sr,miw:xr,maw:Cr,h:wr,mih:kr,mah:Rr,bgsz:Tr,bgp:Mr,bgr:Nr,bga:Ar,pos:Er,top:jr,left:Ir,bottom:_r,right:zr,inset:Lr,display:Fr,flex:Hr,hiddenFrom:Pr,visibleFrom:Wr,lightHidden:Or,darkHidden:Br,sx:Vr,...Dr}=r;return{styleProps:G({m:e,mx:n,my:t,mt:a,mb:i,ml:s,mr:f,me:c,ms:d,p:l,px:u,py:p,pt:m,pb:x,pl:k,pr:R,pe:$,ps:T,bd:C,bg:y,c:w,opacity:A,ff:E,fz:pr,fw:mr,lts:gr,ta:yr,lh:br,fs:hr,tt:$r,td:vr,w:Sr,miw:xr,maw:Cr,h:wr,mih:kr,mah:Rr,bgsz:Tr,bgp:Mr,bgr:Nr,bga:Ar,pos:Er,top:jr,left:Ir,bottom:_r,right:zr,inset:Lr,display:Fr,flex:Hr,bdrs:b,hiddenFrom:Pr,visibleFrom:Wr,lightHidden:Or,darkHidden:Br,sx:Vr}),rest:Dr}}const Ee={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"},ms:{type:"spacing",property:"marginInlineStart"},me:{type:"spacing",property:"marginInlineEnd"},mx:{type:"spacing",property:"marginInline"},my:{type:"spacing",property:"marginBlock"},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"},ps:{type:"spacing",property:"paddingInlineStart"},pe:{type:"spacing",property:"paddingInlineEnd"},px:{type:"spacing",property:"paddingInline"},py:{type:"spacing",property:"paddingBlock"},bd:{type:"border",property:"border"},bdrs:{type:"radius",property:"borderRadius"},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:"size",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"}};function K(r,e){const n=_({color:r,theme:e});return n.color==="dimmed"?"var(--mantine-color-dimmed)":n.color==="bright"?"var(--mantine-color-bright)":n.variable?`var(${n.variable})`:n.color}function je(r,e){const n=_({color:r,theme:e});return n.isThemeColor&&n.shade===void 0?`var(--mantine-color-${n.color}-text)`:K(r,e)}function Ie(r,e){if(typeof r=="number")return o(r);if(typeof r=="string"){const[n,t,...a]=r.split(" ").filter(s=>s.trim()!=="");let i=`${o(n)}`;return t&&(i+=` ${t}`),a.length>0&&(i+=` ${K(a.join(" "),e)}`),i.trim()}return r}const tr={text:"var(--mantine-font-family)",mono:"var(--mantine-font-family-monospace)",monospace:"var(--mantine-font-family-monospace)",heading:"var(--mantine-font-family-headings)",headings:"var(--mantine-font-family-headings)"};function _e(r){return typeof r=="string"&&r in tr?tr[r]:r}const ze=["h1","h2","h3","h4","h5","h6"];function Le(r,e){return typeof r=="string"&&r in e.fontSizes?`var(--mantine-font-size-${r})`:typeof r=="string"&&ze.includes(r)?`var(--mantine-${r}-font-size)`:typeof r=="number"||typeof r=="string"?o(r):r}function Fe(r){return r}const He=["h1","h2","h3","h4","h5","h6"];function Pe(r,e){return typeof r=="string"&&r in e.lineHeights?`var(--mantine-line-height-${r})`:typeof r=="string"&&He.includes(r)?`var(--mantine-${r}-line-height)`:r}function We(r,e){return typeof r=="string"&&r in e.radius?`var(--mantine-radius-${r})`:typeof r=="number"||typeof r=="string"?o(r):r}function Oe(r){return typeof r=="number"?o(r):r}function Be(r,e){if(typeof r=="number")return o(r);if(typeof r=="string"){const n=r.replace("-","");if(!(n in e.spacing))return o(r);const t=`--mantine-spacing-${n}`;return r.startsWith("-")?`calc(var(${t}) * -1)`:`var(${t})`}return r}const W={color:K,textColor:je,fontSize:Le,spacing:Be,radius:We,identity:Fe,size:Oe,lineHeight:Pe,fontFamily:_e,border:Ie};function ar(r){return r.replace("(min-width: ","").replace("em)","")}function Ve({media:r,...e}){const t=Object.keys(r).sort((a,i)=>Number(ar(a))-Number(ar(i))).map(a=>({query:a,styles:r[a]}));return{...e,media:t}}function De(r){if(typeof r!="object"||r===null)return!1;const e=Object.keys(r);return!(e.length===1&&e[0]==="base")}function Ge(r){return typeof r=="object"&&r!==null?"base"in r?r.base:void 0:r}function qe(r){return typeof r=="object"&&r!==null?D(r).filter(e=>e!=="base"):[]}function Ue(r,e){return typeof r=="object"&&r!==null&&e in r?r[e]:r}function Ye({styleProps:r,data:e,theme:n}){return Ve(D(r).reduce((t,a)=>{if(a==="hiddenFrom"||a==="visibleFrom"||a==="sx")return t;const i=e[a],s=Array.isArray(i.property)?i.property:[i.property],f=Ge(r[a]);
1if(!De(r[a]))return s.forEach(d=>{t.inlineStyles[d]=W[i.type](f,n)}),t;t.hasResponsiveStyles=!0;const c=qe(r[a]);return s.forEach(d=>{f!=null&&(t.styles[d]=W[i.type](f,n)),c.forEach(l=>{const u=`(min-width: ${n.breakpoints[l]})`;t.media[u]={...t.media[u],[d]:W[i.type](Ue(r[a],l),n)}})}),t},{hasResponsiveStyles:!1,styles:{},inlineStyles:{},media:{}}))}function Ke(){return`__m__-${g.useId().replace(/:/g,"")}`}function pn(r){return r}function dr(r){return r.startsWith("data-")?r:`data-${r}`}function Xe(r){return Object.keys(r).reduce((e,n)=>{const t=r[n];return t===void 0||t===""||t===!1||t===null||(e[dr(n)]=r[n]),e},{})}function ur(r){return r?typeof r=="string"?{[dr(r)]:!0}:Array.isArray(r)?[...r].reduce((e,n)=>({...e,...ur(n)}),{}):Xe(r):null}function V(r,e){return Array.isArray(r)?[...r].reduce((n,t)=>({...n,...V(t,e)}),{}):typeof r=="function"?r(e):r??{}}function Qe({theme:r,style:e,vars:n,styleProps:t}){const a=V(e,r),i=V(n,r);return{...a,...i,...t}}const lr=g.forwardRef(({component:r,style:e,__vars:n,className:t,variant:a,mod:i,size:s,hiddenFrom:f,visibleFrom:c,lightHidden:d,darkHidden:l,renderRoot:u,__size:p,...m},x)=>{var E;const k=z(),R=r||"div",{styleProps:$,rest:T}=Ae(m),C=Zr(),b=(E=C==null?void 0:C())==null?void 0:E($.sx),y=Ke(),w=Ye({styleProps:$,theme:k,data:Ee}
1),A={ref:x,style:Qe({theme:k,style:e,vars:n,styleProps:w.inlineStyles}),className:I(t,b,{[y]:w.hasResponsiveStyles,"mantine-light-hidden":d,"mantine-dark-hidden":l,[`mantine-hidden-from-${f}`]:f,[`mantine-visible-from-${c}`]:c}),"data-variant":a,"data-size":sr(s)?void 0:s||void 0,size:p,...ur(i),...T};return v.jsxs(v.Fragment,{children:[w.hasResponsiveStyles&&v.jsx(Ne,{selector:`.${y}`,styles:w.styles,media:w.media}),typeof u=="function"?u(A):v.jsx(R,{...A})]})});lr.displayName="@mantine/core/Box";const mn=lr;function Je(r){return r}function gn(r){const e=r;return n=>{const t=g.forwardRef((a,i)=>v.jsx(e,{...n,...a,ref:i}));return t.extend=e.extend,t.displayName=`WithProps(${e.displayName})`,t}}function yn(r){const e=g.forwardRef(r);return e.extend=Je,e.withProps=n=>{const t=g.forwardRef((a,i)=>v.jsx(e,{...n,...a,ref:i}));return t.extend=e.extend,t.displayName=`WithProps(${e.displayName})`,t},e}export{G as A,mn as B,Ae as C,cr as D,O as E,q as F,h as G,J as H,Ne as I,on as J,Je as K,Yr as M,Xr as a,dn as b,fn as c,ir as d,en as e,pe as f,ie as g,yn as h,ln as i,un as j,D as k,N as l,Q as m,tn as n,I as o,cn as p,sn as q,o as r,an as s,_ as t,z as u,gn as v,pn as w,nn as x,Ke as y,Ye as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.