PageSourceSearch

https://stlgears.com/_next/static/chunks/1v7kjzxi9jf9m.js

js stlgears.com collected 2026-10-06 00:22:44 UTC 66,417 bytes, 19 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,72213,73651,e=>{"use strict";let[t,r]=(0,e.i(84660).createSafeContext)("AppShell was not found in tree");e.s(["AppShellProvider",0,t,"useAppShellContext",0,r],72213),e.s(["default",0,{root:"m_89ab340",navbar:"m_45252eee",aside:"m_9cdde9a",header:"m_3b16f56b",main:"m_8983817",footer:"m_3840c879",section:"m_6dcfc7c7"}],73651)},77193,e=>{"use strict";var t=e.i(98526),r=e.i(43798),o=e.i(89549),n=e.i(14037),a=e.i(21879),l=e.i(44662),i=e.i(72213),s=e.i(73651),c=e.i(85369),d=e.i(7670),u=e.i(43476);let m=(0,a.factory)(e=>{let{classNames:t,className:r,style:n,styles:a,unstyled:s,vars:m,withBorder:p,zIndex:h,mod:f,...v}=(0,o.useProps)("AppShellAside",null,e),g=(0,i.useAppShellContext)();return g.disabled?null:(0,u.jsx)(l.Box,{component:"aside",mod:[{"with-border":p??g.withBorder},f],...g.getStyles("aside",{className:(0,d.default)({[c.RemoveScroll.classNames.zeroRight]:g.offsetScrollbars},r),classNames:t,styles:a,style:n}),...v,__vars:{"--app-shell-aside-z-index":`calc(${h??g.zIndex} + 1)`}})});m.classes=s.default,m.displayName="@mantine/core/AppShellAside";let p=(0,a.factory)(e=>{let{classNames:t,className:r,style:n,styles:a,unstyled:s,vars:m,withBorder:p,zIndex:h,mod:f,...v}=(0,o.useProps)("AppShellFooter",null,e),g=(0,i.useAppShellContext)();return g.disabled?null:(0,u.jsx)(l.Box,{component:"footer",mod:[{"with-border":p??g.withBorder},f],...g.getStyles("footer",{className:(0,d.default)({[c.RemoveScroll.classNames.zeroRight]:g.offsetScrollbars},r),classNames:t,styles:a,style:n}),...v,__vars:{"--app-shell-footer-z-index":(h??g.zIndex)?.toString()}})});p.classes=s.default,p.displayName="@mantine/core/AppShellFooter";var h=e.i(49859),f=e.i(54673),v=e.i(90098),g=e.i(22442),b=e.i(99818),y=e.i(45981),x=e.i(82451),w=e.i(85675),k=e.i(9718);function S(e){return"object"==typeof e?e.base:e}function j(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 C(e){return"object"==typeof e&&null!==e&&(1!==Object.keys(e).length||!("base"in e))}var M=e.i(24848);function I(e){return 0===Number(e)?"0px":(0,M.getSpacing)(e)}function E({navbar:e,header:t,aside:r,footer:o,padding:n,mode:a,selector:l}){let i=(0,g.useMantineTheme)(),s=(0,v.useMantineContext)(),{media:c,baseStyles:d}=function({navbar:e,header:t,footer:r,aside:o,padding:n,theme:a,mode:l}){let i={},s={},c={};return"static"===l&&(c["--app-shell-main-grid-column"]="1 / -1",c["--app-shell-main-grid-row"]="2"),function({baseStyles:e,minMediaStyles:t,maxMediaStyles:r,navbar:o,theme:n,mode:a}){let l=o?.width,i="translateX(calc(var(--app-shell-navbar-width) * -1))",s="translateX(var(--app-shell-navbar-width))";if(o?.breakpoint&&!o?.collapsed?.mobile&&(r[o?.breakpoint]=r[o?.breakpoint]||{},r[o?.breakpoint]["--app-shell-navbar-offset"]="0px",r[o?.breakpoint]["--app-shell-navbar-width"]="100%","static"===a&&(r[o?.breakpoint]["--app-shell-navbar-grid-width"]="0px")),j(l)){let t=(0,x.rem)(S(l));e["--app-shell-navbar-width"]=t,e["--app-shell-navbar-offset"]=t,"static"===a&&(e["--app-shell-navbar-grid-width"]=t)}if(C(l)&&(void 0!==l.base&&(e["--app-shell-navbar-width"]=(0,x.rem)(l.base),e["--app-shell-navbar-offset"]=(0,x.rem)(l.base),"static"===a&&(e["--app-shell-navbar-grid-width"]=(0,x.rem)(l.base))),(0,y.keys)(l).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-navbar-width"]=(0,x.rem)(l[e]),t[e]["--app-shell-navbar-offset"]=(0,x.rem)(l[e]),"static"===a&&(t[e]["--app-shell-navbar-grid-width"]=(0,x.rem)(l[e])))})),o?.breakpoint&&"static"===a&&(t[o.breakpoint]=t[o.breakpoint]||{},t[o.breakpoint]["--app-shell-navbar-position"]="sticky",t[o.breakpoint]["--app-shell-navbar-grid-row"]="2",t[o.breakpoint]["--app-shell-navbar-grid-column"]="1",t[o.breakpoint]["--app-shell-main-column-start"]="2"),o?.collapsed?.desktop){let e=o.breakpoint;t[e]=t[e]||{},t[e]["--app-shell-navbar-transform"]=i,t[e]["--app-shell-navbar-transform-rtl"]=s,"fixed"===a?t[e]["--app-shell-navbar-offset"]="0px !important":(t[e]["--app-shell-navbar-width"]="0px",t[e]["--app-shell-navbar-display"]="none",t[e]["--app-shell-main-column-start"]="1")}
1if(o?.collapsed?.mobile){let e=(0,k.getBreakpointValue)(o.breakpoint,n.breakpoints)-.1;r[e]=r[e]||{},r[e]["--app-shell-navbar-width"]="100%",r[e]["--app-shell-navbar-offset"]="0px","static"===a&&(r[e]["--app-shell-navbar-grid-width"]="0px"),r[e]["--app-shell-navbar-transform"]=i,r[e]["--app-shell-navbar-transform-rtl"]=s}}({baseStyles:c,minMediaStyles:i,maxMediaStyles:s,navbar:e,theme:a,mode:l}),function({baseStyles:e,minMediaStyles:t,maxMediaStyles:r,aside:o,theme:n,mode:a}){let l=o?.width,i="translateX(var(--app-shell-aside-width))",s="translateX(calc(var(--app-shell-aside-width) * -1))";if(o?.breakpoint&&!o?.collapsed?.mobile&&(r[o?.breakpoint]=r[o?.breakpoint]||{},"fixed"===a?r[o?.breakpoint]["--app-shell-aside-width"]="100%":r[o?.breakpoint]["--app-shell-aside-width"]="0px",r[o?.breakpoint]["--app-shell-aside-offset"]="0px"),j(l)){let t=(0,x.rem)(S(l));e["--app-shell-aside-width"]=t,e["--app-shell-aside-offset"]=t}if(C(l)&&(void 0!==l.base&&(e["--app-shell-aside-width"]=(0,x.rem)(l.base),e["--app-shell-aside-offset"]=(0,x.rem)(l.base)),(0,y.keys)(l).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-aside-width"]=(0,x.rem)(l[e]),t[e]["--app-shell-aside-offset"]=(0,x.rem)(l[e]))})),o?.breakpoint&&"static"===a&&(t[o.breakpoint]=t[o.breakpoint]||{},t[o.breakpoint]["--app-shell-aside-position"]="sticky",t[o.breakpoint]["--app-shell-aside-grid-row"]="2",t[o.breakpoint]["--app-shell-aside-grid-column"]="3",t[o.breakpoint]["--app-shell-main-column-end"]="3"),o?.collapsed?.desktop){let e=o.breakpoint;t[e]=t[e]||{},t[e]["--app-shell-aside-transform"]=i,t[e]["--app-shell-aside-transform-rtl"]=s,"fixed"===a?t[e]["--app-shell-aside-offset"]="0px !important":(t[e]["--app-shell-aside-width"]="0px",t[e]["--app-shell-aside-display"]="none",t[e]["--app-shell-main-column-end"]="-1"),t[e]["--app-shell-aside-scroll-locked-visibility"]="hidden"}if(o?.collapsed?.mobile){let e=(0,k.getBreakpointValue)(o.breakpoint,n.breakpoints)-.1;r[e]=r[e]||{},"fixed"===a?(r[e]["--app-shell-aside-width"]="100%",r[e]["--app-shell-aside-offset"]="0px"):r[e]["--app-shell-aside-width"]="0px",r[e]["--app-shell-aside-transform"]=i,r[e]["--app-shell-aside-transform-rtl"]=s,r[e]["--app-shell-aside-scroll-locked-visibility"]="hidden"}}({baseStyles:c,minMediaStyles:i,maxMediaStyles:s,aside:o,theme:a,mode:l}),function({baseStyles:e,minMediaStyles:t,header:r,mode:o}){let n=r?.height,a="static"===o||(r?.offset??!0);if("static"===o&&r&&(e["--app-shell-header-position"]="sticky",e["--app-shell-header-grid-column"]="1 / -1",e["--app-shell-header-grid-row"]="1"),j(n)){let t=(0,x.rem)(S(n));e["--app-shell-header-height"]=t,a&&(e["--app-shell-header-offset"]=t)}C(n)&&(void 0!==n.base&&(e["--app-shell-header-height"]=(0,x.rem)(n.base),a&&(e["--app-shell-header-offset"]=(0,x.rem)(n.base))),(0,y.keys)(n).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-header-height"]=(0,x.rem)(n[e]),a&&(t[e]["--app-shell-header-offset"]=(0,x.rem)(n[e])))})),r?.collapsed&&(e["--app-shell-header-transform"]="translateY(calc(var(--app-shell-header-height) * -1))","fixed"===o&&(e["--app-shell-header-offset"]="0px !important"))}({baseStyles:c,minMediaStyles:i,header:t,mode:l}
1),function({baseStyles:e,minMediaStyles:t,footer:r,mode:o}){let n=r?.height,a="static"===o||(r?.offset??!0);if("static"===o&&r&&(e["--app-shell-footer-position"]="sticky",e["--app-shell-footer-grid-column"]="1 / -1",e["--app-shell-footer-grid-row"]="3"),j(n)){let t=(0,x.rem)(S(n));e["--app-shell-footer-height"]=t,a&&(e["--app-shell-footer-offset"]=t)}C(n)&&(void 0!==n.base&&(e["--app-shell-footer-height"]=(0,x.rem)(n.base),a&&(e["--app-shell-footer-offset"]=(0,x.rem)(n.base))),(0,y.keys)(n).forEach(e=>{"base"!==e&&(t[e]=t[e]||{},t[e]["--app-shell-footer-height"]=(0,x.rem)(n[e]),a&&(t[e]["--app-shell-footer-offset"]=(0,x.rem)(n[e])))})),r?.collapsed&&(e["--app-shell-footer-transform"]="translateY(var(--app-shell-footer-height))","fixed"===o&&(e["--app-shell-footer-offset"]="0px !important"))}({baseStyles:c,minMediaStyles:i,footer:r,mode:l}),function({padding:e,baseStyles:t,minMediaStyles:r}){j(e)&&(t["--app-shell-padding"]=I(S(e))),C(e)&&(e.base&&(t["--app-shell-padding"]=I(e.base)),(0,y.keys)(e).forEach(t=>{"base"!==t&&(r[t]=r[t]||{},r[t]["--app-shell-padding"]=I(e[t]))}))}({baseStyles:c,minMediaStyles:i,padding:n}),{baseStyles:c,media:[...(0,w.getSortedBreakpoints)((0,y.keys)(i),a.breakpoints).map(e=>({query:`(min-width: ${(0,x.em)(e.px)})`,styles:i[e.value]})),...(0,w.getSortedBreakpoints)((0,y.keys)(s),a.breakpoints).map(e=>({query:`(max-width: ${(0,x.em)(e.px)})`,styles:s[e.value]}))]}}({navbar:e,header:t,footer:o,aside:r,padding:n,theme:i,mode:a});return(0,u.jsx)(b.InlineStyles,{media:c,styles:d,selector:l||s.cssVariablesSelector})}var $=e.i(71645);let D=(0,a.factory)(e=>{let{classNames:t,className:r,style:n,styles:a,unstyled:s,vars:c,withBorder:d,zIndex:m,mod:p,...h}=(0,o.useProps)("AppShellNavbar",null,e),f=(0,i.useAppShellContext)();return f.disabled?null:(0,u.jsx)(l.Box,{component:"nav",mod:[{"with-border":d??f.withBorder},p],...f.getStyles("navbar",{className:r,classNames:t,styles:a,style:n}),...h,__vars:{"--app-shell-navbar-z-index":`calc(${m??f.zIndex} + 1)`}})});D.classes=s.default,D.displayName="@mantine/core/AppShellNavbar";let A=(0,e.i(57942).polymorphicFactory)(e=>{let{classNames:t,className:r,style:n,styles:a,vars:s,grow:c,mod:d,...m}=(0,o.useProps)("AppShellSection",null,e),p=(0,i.useAppShellContext)();return(0,u.jsx)(l.Box,{mod:[{grow:c},d],...p.getStyles("section",{className:r,style:n,classNames:t,styles:a}),...m})});A.classes=s.default,A.displayName="@mantine/core/AppShellSection";var T=e.i(31141),_=e.i(7881),P=e.i(51937);let N={withBorder:!0,padding:0,transitionDuration:200,transitionTimingFunction:"ease",zIndex:(0,t.getDefaultZIndex)("app"),mode:"fixed"},R=(0,r.createVarsResolver)((e,{transitionDuration:t,transitionTimingFunction:r})=>({root:{"--app-shell-transition-duration":`${t}ms`,"--app-shell-transition-timing-function":r}})),B=(0,a.factory)(e=>{let t=(0,o.useProps)("AppShell",N,e),{classNames:r,className:a,style:c,styles:d,unstyled:m,vars:p,navbar:h,withBorder:f,padding:v,transitionDuration:g,transitionTimingFunction:b,header:y,zIndex:x,layout:w,disabled:k,aside:S,footer:j,offsetScrollbars:C=!0,mode:M,mod:I,attributes:D,id:A,...B}=t,F=(0,n.useStyles)({name:"AppShell",classes:s.default,props:t,className:a,style:c,classNames:r,styles:d,unstyled:m,attributes:D,vars:p,varsResolver:R}),z=function({transitionDuration:e,disabled:t}){let[r,o]=(0,$.useState)(!0),n=(0,$.useRef)(-1),a=(0,$.useRef)(-1);return(0,_.useWindowEvent)("resize",()=>{o(!0),clearTimeout(n.current),n.current=window.setTimeout(()=>(0,$.startTransition)(()=>{o(!1)}),200)}),(0,T.useIsomorphicEffect)(()=>{o(!0),clearTimeout(a.current),a.current=window.setTimeout(()=>(0,$.startTransition)(()=>{o(!1)}),e||0)},[t,e]),r}({disabled:k,transitionDuration:g}),H=(0,P.useId)(A);return(0,u.jsxs)(i.AppShellProvider,{value:{getStyles:F,withBorder:f,zIndex:x,disabled:k,offsetScrollbars:C,mode:M},children:[(0,u.jsx)(E,{navbar:h,header:y,aside:S,footer:j,padding:v,mode:M,selector:"static"===M?`#${H}`:void 0}),(0,u.jsx)(l.Box,{...F("root"),id:H,mod:[{resizing:z,layout:w,disabled:k,mode:M},I],...B})]})});B.classes=s.default,B.varsResolver=R,B.displayName="@mantine/core/AppShell",B.Navbar=D,B.Header=h.AppShellHeader,B.Main=f.AppShellMain,B.Aside=m,B.Footer=p,B.Section=A,e.s(["AppShell",0,B],77193)},49859,e=>{"use strict";var t=e.i(89549),r=e.i(21879),o=e.i(44662),n=e.i(72213),a=e.i(73651),l=e.i(85369),i=e.i(7670),s=e.i(43476);let c=(0,r.factory)(e=>{let{classNames:r,className:a,style:c,styles:d,unstyled:u,vars:m,withBorder:p,zIndex:h,mod:f,...v}=(0,t.useProps)("AppShellHeader",null,e),g=(0,n.useAppShellContext)();return g.disabled?null:(0,s.jsx)(o.Box,{component:"header",mod:[{"with-border":p??g.withBorder},f],...g.getStyles("header",{className:(0,i.default)({[l.RemoveScroll.classNames.zeroRight]:g.offsetScrollbars},a),classNames:r,styles:d,style:c}
1),...v,__vars:{"--app-shell-header-z-index":(h??g.zIndex)?.toString()}})});c.classes=a.default,c.displayName="@mantine/core/AppShellHeader",e.s(["AppShellHeader",0,c])},54673,e=>{"use strict";var t=e.i(89549),r=e.i(21879),o=e.i(44662),n=e.i(72213),a=e.i(73651),l=e.i(43476);let i=(0,r.factory)(e=>{let{classNames:r,className:a,style:i,styles:s,vars:c,...d}=(0,t.useProps)("AppShellMain",null,e);return(0,l.jsx)(o.Box,{component:"main",...(0,n.useAppShellContext)().getStyles("main",{className:a,style:i,classNames:r,styles:s}),...d})});i.classes=a.default,i.displayName="@mantine/core/AppShellMain",e.s(["AppShellMain",0,i])},85417,e=>{"use strict";var t=e.i(43476);e.s(["ColorSchemeScript",0,function({defaultColorScheme:e="light",localStorageKey:r="mantine-color-scheme-value",forceColorScheme:o,...n}){let a=["light","dark","auto"].includes(e)?e:"light";return(0,t.jsx)("script",{...n,"data-mantine-script":!0,dangerouslySetInnerHTML:{__html:(({defaultColorScheme:e,localStorageKey:t,forceColorScheme:r})=>r?`document.documentElement.setAttribute("data-mantine-color-scheme", '${r}');`:`try {
2  var _colorScheme = window.localStorage.getItem("${t}");
3  var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "${e}";
4  var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
5  document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);
6} catch (e) {}
7`)({defaultColorScheme:a,localStorageKey:r,forceColorScheme:o})}})}])},29765,e=>{"use strict";function t(e){return"auto"===e||"dark"===e||"light"===e}var r=e.i(90098),o=e.i(71645),n=e.i(31141);function a(e,t){let r="u">typeof window&&"matchMedia"in window&&window.matchMedia("(prefers-color-scheme: dark)")?.matches;t()?.setAttribute("data-mantine-color-scheme","auto"!==e?e:r?"dark":"light")}var l=e.i(22442),i=e.i(45981),s=e.i(71033),c=e.i(82451),d=e.i(43476);function u(){let e=(0,l.useMantineTheme)(),t=(0,r.useMantineStyleNonce)(),o=(0,i.keys)(e.breakpoints).reduce((t,r)=>{let o=e.breakpoints[r].includes("px"),n=(0,s.px)(e.breakpoints[r]);return`${t}@media (max-width: ${o?`${n-.1}px`:(0,c.em)(n-.1)}) {.mantine-visible-from-${r} {display: none !important;}}@media (min-width: ${o?`${n}px`:(0,c.em)(n)}) {.mantine-hidden-from-${r} {display: none !important;}}`},"");return(0,d.jsx)("style",{"data-mantine-styles":"classes",nonce:t?.(),dangerouslySetInnerHTML:{__html:o}})}function m(e){return Object.entries(e).map(([e,t])=>`${e}: ${t};`).join("")}function p(e,t){let r=t?[t]:[":root",":host"],o=m(e.variables),n=o?`${r.join(", ")}{${o}}`:"",a=m(e.dark),l=m(e.light),i=e=>r.map(t=>":host"===t?`${t}([data-mantine-color-scheme="${e}"])`:`${t}[data-mantine-color-scheme="${e}"]`).join(", ");return`${n}
8
9${a?`${i("dark")}{${a}}`:""}
10
11${l?`${i("light")}{${l}}`:""}`}var h=e.i(95335),f=e.i(55634),v=e.i(35783),g=e.i(93738),b=e.i(71255);function y({theme:e,color:t,colorScheme:r,name:o=t,withColorValues:n=!0}){if(!e.colors[t])return{};if("light"===r){let r=(0,f.getPrimaryShade)(e,"light"),a={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-filled)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${r})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${9===r?8:r+1})`,[`--mantine-color-${o}-light`]:`var(--mantine-color-${o}-1)`,[`--mantine-color-${o}-light-hover`]:`var(--mantine-color-${o}-2)`,[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-9)`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${r})`,[`--mantine-color-${o}-outline-hover`]:(0,b.alpha)(e.colors[t][r],.05)};return n?{[`--mantine-color-${o}-0`]:e.colors[t][0],[`--mantine-color-${o}-1`]:e.colors[t][1],[`--mantine-color-${o}-2`]:e.colors[t][2],[`--mantine-color-${o}-3`]:e.colors[t][3],[`--mantine-color-${o}-4`]:e.colors[t][4],[`--mantine-color-${o}-5`]:e.colors[t][5],[`--mantine-color-${o}-6`]:e.colors[t][6],[`--mantine-color-${o}-7`]:e.colors[t][7],[`--mantine-color-${o}-8`]:e.colors[t][8],[`--mantine-color-${o}-9`]:e.colors[t][9],...a}:a}let a=(0,f.getPrimaryShade)(e,"dark"),l={[`--mantine-color-${o}-text`]:`var(--mantine-color-${o}-4)`,[`--mantine-color-${o}-filled`]:`var(--mantine-color-${o}-${a})`,[`--mantine-color-${o}-filled-hover`]:`var(--mantine-color-${o}-${9===a?8:a+1})`,[`--mantine-color-${o}-light`]:(0,g.darken)(e.colors[t][9],.5),[`--mantine-color-${o}-light-hover`]:(0,g.darken)(e.colors[t][9],.3),[`--mantine-color-${o}-light-color`]:`var(--mantine-color-${o}-0)`,[`--mantine-color-${o}-outline`]:`var(--mantine-color-${o}-${Math.max(a-4,0)})`,[`--mantine-color-${o}-outline-hover`]:(0,b.alpha)(e.colors[t][Math.max(a-4,0)],.05)};return n?{[`--mantine-color-${o}-0`]:e.colors[t][0],[`--mantine-color-${o}-1`]:e.colors[t][1],[`--mantine-color-${o}-2`]:e.colors[t][2],[`--mantine-color-${o}-3`]:e.colors[t][3],[`--mantine-color-${o}-4`]:e.colors[t][4],[`--mantine-color-${o}-5`]:e.colors[t][5],[`--mantine-color-${o}-6`]:e.colors[t][6],[`--mantine-color-${o}-7`]:e.colors[t][7],[`--mantine-color-${o}-8`]:e.colors[t][8],[`--mantine-color-${o}-9`]:e.colors[t][9],...l}:l}function x(e,t,r){(0,i.keys)(t).forEach(o=>Object.assign(e,{[`--mantine-${r}-${o}`]:t[o]}))}let w=e=>{let t=(0,f.getPrimaryShade)(e,"light"),r=e.defaultRadius in e.radius?e.radius[e.defaultRadius]:(0,c.rem)(e.defaultRadius),o={variables:{"--mantine-z-index-app":"100","--mantine-z-index-modal":"200","--mantine-z-index-popover":"300","--mantine-z-index-overlay":"400","--mantine-z-index-max":"9999","--mantine-scale":e.scale.toString(),"--mantine-cursor-type":e.cursorType,"--mantine-webkit-font-smoothing":e.fontSmoothing?"antialiased":"unset","--mantine-moz-font-smoothing":e.fontSmoothing?"grayscale":"unset","--mantine-color-white":e.white,"--mantine-color-black":e.black,"--mantine-line-height":e.lineHeights.md,"--mantine-font-family":e.fontFamily,"--mantine-font-family-monospace":e.fontFamilyMonospace,"--mantine-font-family-headings":e.headings.fontFamily,"--mantine-heading-font-we
11ight":e.headings.fontWeight,"--mantine-heading-text-wrap":e.headings.textWrap,"--mantine-radius-default":r,"--mantine-primary-color-filled":`var(--mantine-color-${e.primaryColor}-filled)`,"--mantine-primary-color-filled-hover":`var(--mantine-color-${e.primaryColor}-filled-hover)`,"--mantine-primary-color-light":`var(--mantine-color-${e.primaryColor}-light)`,"--mantine-primary-color-light-hover":`var(--mantine-color-${e.primaryColor}-light-hover)`,"--mantine-primary-color-light-color":`var(--mantine-color-${e.primaryColor}-light-color)`},light:{"--mantine-color-scheme":"light","--mantine-primary-color-contrast":(0,v.getPrimaryContrastColor)(e,"light"),"--mantine-color-bright":"var(--mantine-color-black)","--mantine-color-text":e.black,"--mantine-color-body":e.white,"--mantine-color-error":"var(--mantine-color-red-6)","--mantine-color-placeholder":"var(--mantine-color-gray-5)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-${t})`,"--mantine-color-default":"var(--mantine-color-white)","--mantine-color-default-hover":"var(--mantine-color-gray-0)","--mantine-color-default-color":"var(--mantine-color-black)","--mantine-color-default-border":"var(--mantine-color-gray-4)","--mantine-color-dimmed":"var(--mantine-color-gray-6)","--mantine-color-disabled":"var(--mantine-color-gray-2)","--mantine-color-disabled-color":"var(--mantine-color-gray-5)","--mantine-color-disabled-border":"var(--mantine-color-gray-3)"},dark:{"--mantine-color-scheme":"dark","--mantine-primary-color-contrast":(0,v.getPrimaryContrastColor)(e,"dark"),"--mantine-color-bright":"var(--mantine-color-white)","--mantine-color-text":"var(--mantine-color-dark-0)","--mantine-color-body":"var(--mantine-color-dark-7)","--mantine-color-error":"var(--mantine-color-red-8)","--mantine-color-placeholder":"var(--mantine-color-dark-3)","--mantine-color-anchor":`var(--mantine-color-${e.primaryColor}-4)`,"--mantine-color-default":"var(--mantine-color-dark-6)","--mantine-color-default-hover":"var(--mantine-color-dark-5)","--mantine-color-default-color":"var(--mantine-color-white)","--mantine-color-default-border":"var(--mantine-color-dark-4)","--mantine-color-dimmed":"var(--mantine-color-dark-2)","--mantine-color-disabled":"var(--mantine-color-dark-6)","--mantine-color-disabled-color":"var(--mantine-color-dark-3)","--mantine-color-disabled-border":"var(--mantine-color-dark-4)"}};x(o.variables,e.breakpoints,"breakpoint"),x(o.variables,e.spacing,"spacing"),x(o.variables,e.fontSizes,"font-size"),x(o.variables,e.lineHeights,"line-height"),x(o.variables,e.shadows,"shadow"),x(o.variables,e.radius,"radius"),x(o.variables,e.fontWeights,"font-weight"),e.colors[e.primaryColor].forEach((t,r)=>{o.variables[`--mantine-primary-color-${r}`]=`var(--mantine-color-${e.primaryColor}-${r})`}),(0,i.keys)(e.colors).forEach(t=>{let r=e.colors[t];if(r&&"object"==typeof r&&"mantine-virtual-color"in r){Object.assign(o.light,y({theme:e,name:r.name,color:r.light,colorScheme:"light",withColorValues:!0})),Object.assign(o.dark,y({theme:e,name:r.name,color:r.dark,colorScheme:"dark",withColorValues:!0}));return}r.forEach((e,r)=>{o.variables[`--mantine-color-${t}-${r}`]=e}),Object.assign(o.light,y({theme:e,color:t,colorScheme:"light",withColorValues:!1})),Object.assign(o.dark,y({theme:e,color:t,colorScheme:"dark",withColorValues:!1}))});let n=e.headings.sizes;return(0,i.keys)(n).forEach(t=>{o.variables[`--mantine-${t}-font-size`]=n[t].fontSize,o.variables[`--mantine-${t}-line-height`]=n[t].lineHeight,o.variables[`--mantine-${t}-font-weight`]=n[t].fontWeight||e.headings.fontWeight}),o},k=w(e.i(38944).DEFAULT_THEME);function S({cssVariablesSelector:e,deduplicateCssVariables:t}){let o,n=(0,l.useMantineTheme)(),a=(0,r.useMantineStyleNonce)(),s=function({theme:e,generator:t}){let r=w(e),o=t?.(e);return o?(0,h.deepMerge)(r,o):r}({theme:n,generator:(0,r.useMantineCssVariablesResolver)()}),c=(void 0===e||":root"===e||":host"===e)&&t,u=p(c?(o={variables:{},light:{},dark:{}},(0,i.keys)(s.variables).forEach(e=>{k.variables[e]!==s.variables[e]&&(o.variables[e]=s.variables[e])}),(0,i.keys)(s.light).forEach(e=>{k.light[e]!==s.light[e]&&(o.light[e]=s.light[e])}
11),(0,i.keys)(s.dark).forEach(e=>{k.dark[e]!==s.dark[e]&&(o.dark[e]=s.dark[e])}),o):s,e);return u?(0,d.jsx)("style",{"data-mantine-styles":!0,nonce:a?.(),dangerouslySetInnerHTML:{__html:`${u}${c?"":p({variables:{},dark:{"--mantine-color-scheme":"dark"},light:{"--mantine-color-scheme":"light"}},e)}`}}):null}function j({theme:e,children:i,getStyleNonce:s,withStaticClasses:c=!0,withGlobalClasses:m=!0,deduplicateCssVariables:p=!0,withCssVariables:h=!0,cssVariablesSelector:f,classNamesPrefix:v="mantine",colorSchemeManager:g=function({key:e="mantine-color-scheme-value"}={}){let r;return{get:r=>{if("u"<typeof window)return r;try{let o=window.localStorage.getItem(e);return t(o)?o:r}catch{return r}},set:t=>{try{window.localStorage.setItem(e,t)}catch(e){console.warn("[@mantine/core] Local storage color scheme manager was unable to save color scheme.",e)}},subscribe:o=>{r=r=>{r.storageArea===window.localStorage&&r.key===e&&t(r.newValue)&&o(r.newValue)},window.addEventListener("storage",r)},unsubscribe:()=>{window.removeEventListener("storage",r)},clear:()=>{window.localStorage.removeItem(e)}}}(),defaultColorScheme:b="light",getRootElement:y=()=>document.documentElement,cssVariablesResolver:x,forceColorScheme:w,stylesTransform:k,env:C,deduplicateInlineStyles:M=!1}){let{colorScheme:I,setColorScheme:E,clearColorScheme:$}=function({manager:e,defaultColorScheme:t,getRootElement:r,forceColorScheme:l}){let i=(0,o.useRef)(null),[s,c]=(0,o.useState)(()=>e.get(t)),d=l||s,u=(0,o.useCallback)(t=>{l||(a(t,r),c(t),e.set(t))},[e.set,d,l]),m=(0,o.useCallback)(()=>{c(t),a(t,r),e.clear()},[e.clear,t]);return(0,o.useEffect)(()=>(e.subscribe(u),e.unsubscribe),[e.subscribe,e.unsubscribe]),(0,n.useIsomorphicEffect)(()=>{a(e.get(t),r)},[]),(0,o.useEffect)(()=>{if(l)return a(l,r),()=>{};void 0===l&&a(s,r),"u">typeof window&&"matchMedia"in window&&(i.current=window.matchMedia("(prefers-color-scheme: dark)"));let e=e=>{"auto"===s&&a(e.matches?"dark":"light",r)};return i.current?.addEventListener("change",e),()=>i.current?.removeEventListener("change",e)},[s,l]),{colorScheme:d,setColorScheme:u,clearColorScheme:m}}({defaultColorScheme:b,forceColorScheme:w,manager:g,getRootElement:y});return!function({respectReducedMotion:e,getRootElement:t}){(0,n.useIsomorphicEffect)(()=>{e&&t()?.setAttribute("data-respect-reduced-motion","true")},[e])}({respectReducedMotion:e?.respectReducedMotion||!1,getRootElement:y}),(0,d.jsx)(r.MantineContext,{value:{colorScheme:I,setColorScheme:E,clearColorScheme:$,getRootElement:y,classNamesPrefix:v,getStyleNonce:s,cssVariablesResolver:x,cssVariablesSelector:f??":root",withStaticClasses:c,stylesTransform:k,env:C,deduplicateInlineStyles:M},children:(0,d.jsxs)(l.MantineThemeProvider,{theme:e,children:[h&&(0,d.jsx)(S,{cssVariablesSelector:f,deduplicateCssVariables:p}),m&&(0,d.jsx)(u,{}),i]})})}function C({children:e,theme:t,env:o}){return(0,d.jsx)(r.MantineContext,{value:{colorScheme:"auto",setColorScheme:()=>{},clearColorScheme:()=>{},getRootElement:()=>document.documentElement,classNamesPrefix:"mantine",cssVariablesSelector:":root",withStaticClasses:!1,headless:!0,env:o},children:(0,d.jsx)(l.MantineThemeProvider,{theme:t,children:e})})}S.displayName="@mantine/CssVariables",j.displayName="@mantine/core/MantineProvider",C.displayName="@mantine/core/HeadlessMantineProvider",e.s(["HeadlessMantineProvider",0,C,"MantineProvider",0,j],29765)},18566,(e,t,r)=>{t.exports=e.r(76562)},16240,e=>{"use strict";var t=e.i(71645),r=e.i(18566);e.s(["GaPageViews",0,function(){let e=(0,r.usePathname)(),o=(0,t.useRef)(!0);return(0,t.useEffect)(()=>{if(o.current){o.current=!1;return}window.gtag?.("event","page_view",{page_path:e,page_title:document.title})},[e]),null}])},6121,e=>{e.v({blogNavLink:"Header-module__ldgnoG__blogNavLink",link:"Header-module__ldgnoG__link",mobileAccordionItem:"Header-module__ldgnoG__mobileAccordionItem",mobileAccordionLabel:"Header-module__ldgnoG__mobileAccordionLabel",mobileNavLink:"Header-module__ldgnoG__mobileNavLink"})},16371,e=>{"use strict";var t=e.i(43476),r=e.i(6121),o=e.i(22016),n=e.i(71645),a=e.i(80926),l=e.i(44662),i=e.i(33372),s=e.i(82451),c=e.i(24848),d=e.i(43798),u=e.i(15259),m=e.i(89549),p=e.i(14037),h=e.i(21879),f=e.i(25436),v={root:"m_fea6bf1a",burger:"m_d4fb9cad"};let g=(0,d.createVarsResolver)((e,{color:t,size:r,lineSize:o,transitionDuration:n,transitionTimingFunction:a})=>({root:{"--burger-color":t?(0,u.getThemeColor)(t,e):void 0,"--burger-size":(0,c.getSize)(r,"burger-size"),"--burger-line-size":o?(0,s.rem)(o):void 0,"--burger-transition-duration":void 0===n?void 0:`${n}ms`,"--burger-transition-timing-function":a}})),b=(0,h.factory)(e=>{let r=(0,m.useProps)("Burger",null,e),{classNames:o,className:n,style:a,styles:i,unstyled:s,vars:c,opened:d,children:u,transitionDuration:h,transitionTimingFunction:b,lineSize:y,attributes:x,...w}=r,k=(0,p.useStyles)({name:"Burger",classes:v,props:r,className:n,style:a,classNames:o,styles:i,unstyled:s,attributes:x,vars:c,varsResolver:g});return(0,t.jsxs)(f.UnstyledButton,{...k("root"),...w,children:[(0,t.jsx)(l.Box,{mod:["reduce-motion",{opened:d}],...k("burger")}),u]})});b.classes=v,b.varsResolver=g,b.displayName="@mantine/core/Burger";var y=e.i(41710),x=e.i(98526),w={root:"m_f11b401e",header:"m_5a7c2c9",content:"m_b8a05bbd",inner:"m_31cd769a"},k=e.i(76728),S=e.i(84660);let[j,C]=(0,S.createSafeContext)("Drawer component was not found in tree"),M=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:l,...i}=(0,m.useProps)("DrawerBody",null,e);
11return(0,t.jsx)(k.ModalBaseBody,{...C().getStyles("body",{classNames:r,style:n,styles:a,className:o}),...i})});M.classes=w,M.displayName="@mantine/core/DrawerBody";var I=e.i(27318);let E=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:l,...i}=(0,m.useProps)("DrawerCloseButton",null,e);return(0,t.jsx)(I.ModalBaseCloseButton,{...C().getStyles("close",{classNames:r,style:n,styles:a,className:o}),...i})});E.classes=w,E.displayName="@mantine/core/DrawerCloseButton";var $=e.i(36002),D=e.i(26160);let A=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:l,children:i,radius:s,__hidden:c,...d}=(0,m.useProps)("DrawerContent",null,e),u=C(),p=u.scrollAreaComponent||D.NativeScrollArea;return(0,t.jsx)($.ModalBaseContent,{...u.getStyles("content",{className:o,style:n,styles:a,classNames:r}),innerProps:u.getStyles("inner",{className:o,style:n,styles:a,classNames:r}),...d,radius:s||u.radius||0,"data-hidden":c||void 0,children:(0,t.jsx)(p,{style:{height:"calc(100vh - var(--drawer-offset) * 2)"},children:i})})});A.classes=w,A.displayName="@mantine/core/DrawerContent";var T=e.i(39986);let _=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:l,...i}=(0,m.useProps)("DrawerHeader",null,e);return(0,t.jsx)(T.ModalBaseHeader,{...C().getStyles("header",{classNames:r,style:n,styles:a,className:o}),...i})});_.classes=w,_.displayName="@mantine/core/DrawerHeader";var P=e.i(6809);let N=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:l,...i}=(0,m.useProps)("DrawerOverlay",null,e);return(0,t.jsx)(P.ModalBaseOverlay,{...C().getStyles("overlay",{classNames:r,style:n,styles:a,className:o}),...i})});N.classes=w,N.displayName="@mantine/core/DrawerOverlay";var R=e.i(17303),B=e.i(47596),F=e.i(19060);let z={top:"slide-down",bottom:"slide-up",left:"slide-right",right:"slide-left"},H={top:"slide-down",bottom:"slide-up",right:"slide-right",left:"slide-left"},O={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,x.getDefaultZIndex)("modal"),position:"left"},L=(0,d.createVarsResolver)((e,{position:t,size:r,offset:o})=>({root:{"--drawer-size":(0,c.getSize)(r,"drawer-size"),"--drawer-flex":function(e){if("top"===e||"bottom"===e)return"0 0 calc(100% - var(--drawer-offset, 0rem) * 2)"}(t),"--drawer-height":"left"===t||"right"===t?void 0:"var(--drawer-size)","--drawer-align":function(e){switch(e){case"top":return"flex-start";case"bottom":return"flex-end";default:return}}(t),"--drawer-justify":"right"===t?"flex-end":void 0,"--drawer-offset":(0,s.rem)(o)}})),G=(0,h.factory)(e=>{let r=(0,m.useProps)("DrawerRoot",O,e),{classNames:o,className:n,style:a,styles:l,unstyled:i,vars:s,scrollAreaComponent:c,position:d,transitionProps:u,radius:h,attributes:f,...v}=r,{dir:g}=(0,R.useDirection)(),b=(0,p.useStyles)({name:"Drawer",classes:w,props:r,className:n,style:a,classNames:o,styles:l,unstyled:i,attributes:f,vars:s,varsResolver:L}),y=("rtl"===g?H:z)[d];return(0,t.jsx)(j,{value:{scrollAreaComponent:c,getStyles:b,radius:h},children:(0,t.jsx)(F.ModalBase,{...b("root"),transitionProps:{transition:y,...u},"data-offset-scrollbars":c===B.ScrollArea.Autosize||void 0,unstyled:i,...v})})});G.classes=w,G.varsResolver=L,G.displayName="@mantine/core/DrawerRoot";let V=(0,n.createContext)(null);function K({children:e}
11){let[r,o]=(0,n.useState)([]),[a,l]=(0,n.useState)((0,x.getDefaultZIndex)("modal"));return(0,t.jsx)(V,{value:{stack:r,addModal:(e,t)=>{o(t=>[...new Set([...t,e])]),l(e=>"number"==typeof t&&"number"==typeof e?Math.max(e,t):e)},removeModal:e=>o(t=>t.filter(t=>t!==e)),getZIndex:e=>`calc(${a} + ${r.indexOf(e)} + 1)`,currentId:r[r.length-1],maxZIndex:a},children:e})}K.displayName="@mantine/core/DrawerStack";var U=e.i(87471);let q=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:l,...i}=(0,m.useProps)("DrawerTitle",null,e);return(0,t.jsx)(U.ModalBaseTitle,{...C().getStyles("title",{classNames:r,style:n,styles:a,className:o}),...i})});q.classes=w,q.displayName="@mantine/core/DrawerTitle";let W={closeOnClickOutside:!0,withinPortal:!0,lockScroll:!0,trapFocus:!0,returnFocus:!0,closeOnEscape:!0,keepMounted:!1,zIndex:(0,x.getDefaultZIndex)("modal"),withOverlay:!0,withCloseButton:!0},Z=(0,h.factory)(e=>{let{title:r,withOverlay:o,overlayProps:a,withCloseButton:l,closeButtonProps:i,children:s,opened:c,stackId:d,zIndex:u,...p}=(0,m.useProps)("Drawer",W,e),h=(0,n.use)(V),f=!!r||l,v=h&&d?{closeOnEscape:h.currentId===d,trapFocus:h.currentId===d,zIndex:h.getZIndex(d)}:{},g=!1!==o&&(d&&h?h.currentId===d:c);return(0,n.useEffect)(()=>{h&&d&&(c?h.addModal(d,u||(0,x.getDefaultZIndex)("modal")):h.removeModal(d))},[c,d,u]),(0,t.jsxs)(G,{opened:c,zIndex:h&&d?h.getZIndex(d):u,...p,...v,children:[o&&(0,t.jsx)(N,{visible:g,transitionProps:h&&d?{duration:0}:void 0,...a}),(0,t.jsxs)(A,{__hidden:!!h&&!!d&&!!c&&d!==h.currentId,children:[f&&(0,t.jsxs)(_,{children:[r&&(0,t.jsx)(q,{children:r}),l&&(0,t.jsx)(E,{...i})]}),(0,t.jsx)(M,{children:s})]})]})});Z.classes=w,Z.displayName="@mantine/core/Drawer",Z.Root=G,Z.Overlay=N,Z.Content=A,Z.Body=M,Z.Header=_,Z.Title=q,Z.CloseButton=E,Z.Stack=K;var X=e.i(26200),Y=e.i(73990),Q=e.i(95082),J=e.i(8954),ee=e.i(57142);let[et,er]=(0,S.createSafeContext)("Menu component was not found in the tree"),eo=(0,n.createContext)(null);var en=e.i(46614);function ea(e){let{value:r,defaultValue:o,onChange:a,children:l}=(0,m.useProps)("MenuCheckboxGroup",null,e),[i,s]=(0,en.useUncontrolled)({value:r,defaultValue:o,finalValue:[],onChange:a});return(0,t.jsx)(eo,{value:{values:i,onChange:(0,n.useCallback)(e=>{s(i.includes(e)?i.filter(t=>t!==e):[...i,e])},[i,s])},children:l})}ea.displayName="@mantine/core/MenuCheckboxGroup";var el={dropdown:"m_dc9b7c9f",label:"m_9bfac126",divider:"m_efdf90cb",item:"m_99ac2aa1",search:"m_ef8769b6",itemLabel:"m_5476e0d3",itemIndicator:"m_8395186e",itemSection:"m_8b75e504",chevron:"m_b85b0bed"},ei=e.i(94681),es=e.i(28410),ec=e.i(8350),ed=e.i(82360),eu=e.i(22442);let em=(0,n.createContext)(null);var ep=e.i(31316);function eh({role:e,checked:r,indicator:o,onSelect:a,color:l,closeMenuOnClick:i,rightSection:s,children:c,disabled:d,dataDisabled:u,className:m,style:p,styles:h,classNames:v,buttonRef:g,others:b}){let y=er(),x=(0,n.use)(em),w=(0,eu.useMantineTheme)(),{dir:k}=(0,R.useDirection)(),S=(0,n.useRef)(null),j=(0,ec.createEventHandler)(b.onClick,()=>{!u&&(a(),i&&y.closeDropdownImmediately())}),C=(0,ec.createEventHandler)(b.onMouseMove,()=>{if(!y.hasSearch)return;let e=S.current?.closest("[data-menu-dropdown]");e&&e.querySelectorAll("[data-menu-active]").forEach(t=>{t!==S.current&&t.closest("[data-menu-dropdown]")===e&&t.removeAttribute("data-menu-active")})}),M=(0,ec.createEventHandler)(b.onKeyDown,e=>{"ArrowLeft"===e.key&&x&&(x.close(),x.focusParentItem())}),I=l?w.variantColorResolver({color:l,theme:w,variant:"light"}):void 0,E=l?(0,ed.parseThemeColor)({color:l,theme:w}):null,$="none"!==y.alignItemsLabels||r;return(0,t.jsxs)(f.UnstyledButton,{onMouseDown:e=>e.preventDefault(),...b,unstyled:y.unstyled,tabIndex:y.menuItemTabIndex,...y.getStyles("item",{className:m,style:p,styles:h,classNames:v}),ref:(0,ep.useMergedRef)(S,g),role:e,"aria-checked":r,disabled:d,"data-menu-item":!0,"data-checked":r||void 0,"data-disabled":d||u||void 0,"data-mantine-stop-propagation":!0,onClick:j,onMouseMove:C,onKeyDown:(0,es.createScopedKeydownHandler)({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:y.loop,dir:k,orientation:"vertical",onKeyDown:M}),__vars:{"--menu-item-color":E?.isThemeColor&&E?.shade===void 0?`var(--mantine-color-${E.color}-6)`:I?.color,"--menu-item-hover":I?.hover},children:[$&&(0,t.jsx)("div",{...y.getStyles("itemIndicator",{styles:h,classNames:v}),"data-checked":r||void 0,children:r?o:null}),c&&(0,t.jsx)("div",{...y.getStyles("itemLabel",{styles:h,classNames:v}),"data-menu-item-label":!0,children:c}),s&&(0,t.jsx)("div",{...y.getStyles("itemSection",{styles:h,classNames:v}),"data-position":"right",children:s})]})}let ef=(0,h.factory)(e=>{let{classNames:r,className:o,style:a,styles:l,vars:i,color:s,closeMenuOnClick:c,rightSection:d,children:u,disabled:p,"data-disabled":h,value:f,checked:v,defaultChecked:g,onChange:b,checkIcon:y,ref:x,...w}=(0,m.useProps)("MenuCheckboxItem",null,e),k=er(),S=(0,n.use)(eo),j=S&&void 0!==f?S.values.includes(f):void 0,[C,M]=(0,en.useUncontrolled)({value:v??j,defaultValue:g,finalValue:!1,onChange:b});return(0,t.jsx)(eh,{role:"menuitemcheckbox",checked:C,indicator:y??k.checkIcon??(0,t.jsx)(ei.CheckIcon,{size:10}),onSelect:()=>{b?M(!C):S&&void 0!==f?S.onChange(f):M(!C)},color:s,closeMenuOnClick:c,rightSection:d,disabled:p,dataDisabled:h,className:o,style:a,styles:l,classNames:r,buttonRef:x,others:w,children:u})});ef.classes=el,ef.displayName="@mantine/core/MenuCheckboxItem";var ev=e.i(67775),eg=e.i(65739),eb=e.i(87332);function ey(e){let{children:t,disabled:r}=(0,m.useProps)("MenuContextMenu",null,e),o=(0,ev.getSingleElementChild)(t);if(!o)throw Error("Menu.ContextMenu component children should be an element or a component that accepts ref. Fragments, str
11ings, numbers and other primitive values are not supported");let a=er(),l=(0,eg.usePopoverContext)();return(0,n.cloneElement)(o,(0,eb.createContextMenuHandlers)({childProps:o.props,disabled:r||l.disabled,opened:a.opened,setReference:l.reference,open:()=>a.openDropdown()}))}ey.displayName="@mantine/core/MenuContextMenu";let ex=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:i,...s}=(0,m.useProps)("MenuDivider",null,e);return(0,t.jsx)(l.Box,{...er().getStyles("divider",{className:o,style:n,styles:a,classNames:r}),...s})});function ew(e){return((e.querySelector("[data-menu-item-label]")??e).textContent??"").trim().toLowerCase()}function ek({enabled:e,opened:t,getDropdown:r}){let o=(0,n.useRef)({buffer:"",timeoutId:null});return(0,n.useEffect)(()=>{if(t&&e)return;let r=o.current;null!==r.timeoutId&&(window.clearTimeout(r.timeoutId),r.timeoutId=null),r.buffer=""},[t,e]),(0,n.useEffect)(()=>()=>{let{timeoutId:e}=o.current;null!==e&&window.clearTimeout(e)},[]),t=>{var n;if(!e||t.defaultPrevented||t.ctrlKey||t.metaKey||t.altKey||1!==t.key.length||" "===t.key)return;let a=t.target;if(a&&("INPUT"===a.tagName||"TEXTAREA"===a.tagName||"SELECT"===a.tagName||a.isContentEditable))return;let l=r();if(!l)return;let i=Array.from(l.querySelectorAll("[data-menu-item]:not([data-disabled])")).filter(e=>e.closest("[data-menu-dropdown]")===l);if(0===i.length)return;let s=o.current;s.buffer=(s.buffer+t.key).toLowerCase(),null!==s.timeoutId&&window.clearTimeout(s.timeoutId),s.timeoutId=window.setTimeout(()=>{s.buffer="",s.timeoutId=null},500);let c=document.activeElement,d=c?i.indexOf(c):-1,u=null;if(1===s.buffer.length||(n=s.buffer).length>1&&n.split("").every(e=>e===n[0])){let e=s.buffer[0],t=d+1;for(let r=0;r<i.length;r+=1){let o=(t+r)%i.length;if(ew(i[o]).startsWith(e)){u=i[o];break}}}else for(let e=0;e<i.length;e+=1)if(ew(i[e]).startsWith(s.buffer)){u=i[e];break}u&&(t.preventDefault(),u.focus())}}ex.classes=el,ex.displayName="@mantine/core/MenuDivider";let eS=(0,h.factory)(e=>{let{classNames:r,className:o,style:a,styles:l,vars:i,onMouseEnter:s,onMouseLeave:c,onKeyDown:d,children:u,ref:p,...h}=(0,m.useProps)("MenuDropdown",null,e),f=(0,n.useRef)(null),v=er(),g=ek({enabled:!v.hasSearch,opened:v.opened,getDropdown:()=>f.current}),b=(0,ec.createEventHandler)(d,e=>{g(e),e.defaultPrevented||v.hasSearch||("ArrowUp"===e.key||"ArrowDown"===e.key)&&(e.preventDefault(),f.current?.querySelectorAll("[data-menu-item]:not(:disabled)")[0]?.focus())}),y=(0,ec.createEventHandler)(s,()=>("hover"===v.trigger||"click-hover"===v.trigger)&&v.openDropdown()),x=(0,ec.createEventHandler)(c,()=>("hover"===v.trigger||"click-hover"===v.trigger)&&v.closeDropdown());return(0,t.jsxs)(ee.Popover.Dropdown,{...h,onMouseEnter:y,onMouseLeave:x,role:"menu","aria-orientation":"vertical",ref:(0,ep.useMergedRef)(p,f),...v.getStyles("dropdown",{className:o,style:a,styles:l,classNames:r,withStaticClass:!1}),tabIndex:-1,"data-menu-dropdown":!0,onKeyDown:b,children:[v.withInitialFocusPlaceholder&&!v.hasSearch&&(0,t.jsx)("div",{tabIndex:-1,"data-autofocus":!0,"data-mantine-stop-propagation":!0,style:{outline:0}}),u]})});eS.classes=el,eS.displayName="@mantine/core/MenuDropdown";var ej=e.i(57942);let eC=(0,ej.polymorphicFactory)(e=>{let{classNames:r,className:o,style:a,styles:l,vars:i,color:s,closeMenuOnClick:c,leftSection:d,rightSection:u,children:p,disabled:h,"data-disabled":v,ref:g,...b}=(0,m.useProps)("MenuItem",null,e),y=er(),x=(0,n.use)(em),w=(0,eu.useMantineTheme)(),{dir:k}=(0,R.useDirection)(),S=(0,n.useRef)(null),j=(0,ec.createEventHandler)(b.onClick,()=>{!v&&("boolean"==typeof c?c&&y.closeDropdownImmediately():y.closeOnItemClick&&y.closeDropdownImmediately())}),C=(0,ec.createEventHandler)(b.onMouseMove,()=>{if(!y.hasSearch)return;let e=S.current?.closest("[data-menu-dropdown]");e&&e.querySelectorAll("[data-menu-active]").forEach(t=>{t!==S.current&&t.closest("[data-menu-dropdown]")===e&&t.removeAttribute("data-menu-active")})}),M=s?w.variantColorResolver({color:s,theme:w,variant:"light"}):void 0,I=s?(0,ed.parseThemeColor)({color:s,theme:w}):null,E=(0,ec.createEventHandler)(b.onKeyDown,e=>{"ArrowLeft"===e.key&&x&&(x.close(),x.focusParentItem())});return(0,t.jsxs)(f.UnstyledButton,{onMouseDown:e=>e.preventDefault(),...b,unstyled:y.unstyled,tabIndex:y.menuItemTabIndex,...y.getStyles("item",{className:o,style:a,styles:l,classNames:r}),ref:(0,ep.useMergedRef)(S,g),role:"menuitem",disabled:h,"data-menu-item":!0,"data-disabled":h||v||void 0,"data-mantine-stop-propagation":!0,onClick:j,onMouseMove:C,onKeyDown:(0,es.createScopedKeydownHandler)({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:y.loop,dir:k,orientation:"vertical",onKeyDown:E}),__vars:{"--menu-item-color":I?.isThemeColor&&I?.shade===void 0?`var(--mantine-color-${I.color}-6)`:M?.color,"--menu-item-hover":M?.hover},children:["all"===y.alignItemsLabels&&(0,t.jsx)("div",{...y.getStyles("itemIndicator",{styles:l,classNames:r}),"data-placeholder":!0}),d&&(0,t.jsx)("div",{...y.getStyles("itemSection",{styles:l,classNames:r}),"data-position":"left",children:d}),p&&(0,t.jsx)("div",{...y.getStyles("itemLabel",{styles:l,classNames:r}),"data-menu-item-label":!0,children:p}),u&&(0,t.jsx)("div",{...y.getStyles("itemSection",{styles:l,classNames:r}),"data-position":"right",children:u})]})});eC.classes=el,eC.displayName="@mantine/core/MenuItem";let eM=(0,h.factory)(e=>{let{classNames:r,className:o,style:n,styles:a,vars:i,...s}=(0,m.useProps)("MenuLabel",null,e);return(0,t.jsx)(l.Box,{...er().getStyles("label",{className:o,style:n,styles:a,classNames:r}),...s})});eM.classes=el,eM.displayName="@mantine/core/MenuLabel";let eI=(0,n.createContext)(null);function eE(e){let{value:r,defaultValue:o,onChange:n,children:a}=(0,m.useProps)("MenuRadioGroup",null,e),[l,i]=(0,en.useUncontrolled)({value:r,defaultValue:o,finalValue:null,onChange:n});
11return(0,t.jsx)(eI,{value:{value:l,onChange:e=>i(e)},children:a})}function e$({size:e,style:r,...o}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 5 5",style:{width:(0,s.rem)(e),height:(0,s.rem)(e),...r},"aria-hidden":!0,...o,children:(0,t.jsx)("circle",{cx:"2.5",cy:"2.5",r:"2.5",fill:"currentColor"})})}eE.displayName="@mantine/core/MenuRadioGroup";let eD=(0,h.factory)(e=>{let{classNames:r,className:o,style:a,styles:l,vars:i,color:s,closeMenuOnClick:c,rightSection:d,children:u,disabled:p,"data-disabled":h,value:f,checked:v,onChange:g,checkIcon:b,ref:y,...x}=(0,m.useProps)("MenuRadioItem",null,e),w=er(),k=(0,n.use)(eI),S=v??(!!k&&k.value===f);return(0,t.jsx)(eh,{role:"menuitemradio",checked:S,indicator:b??w.checkIcon??(0,t.jsx)(e$,{size:5}),onSelect:()=>{!S&&(g?g(f):k&&k.onChange(f))},color:s,closeMenuOnClick:c,rightSection:d,disabled:p,dataDisabled:h,className:o,style:a,styles:l,classNames:r,buttonRef:y,others:x,children:u})});eD.classes=el,eD.displayName="@mantine/core/MenuRadioItem";var eA=e.i(22084);function eT(e){return e?.closest("[data-menu-dropdown]")}function e_(e){e&&e.querySelectorAll("[data-menu-active]").forEach(t=>{t.closest("[data-menu-dropdown]")===e&&t.removeAttribute("data-menu-active")})}function eP(e,t){e_(t),e&&(e.setAttribute("data-menu-active","true"),e.scrollIntoView({block:"nearest"}))}function eN(e){return e.findIndex(e=>e.hasAttribute("data-menu-active"))}let eR={clearSearchOnClose:!0},eB=(0,h.factory)(e=>{let{classNames:r,styles:o,onKeyDown:a,onChange:l,size:i,clearSearchOnClose:s,ref:c,...d}=(0,m.useProps)("MenuSearch",eR,e),u=er(),p=(0,n.useRef)(null),h=(0,ep.useMergedRef)(c,p),f=(0,n.useRef)(l);f.current=l,(0,n.useEffect)(()=>u.registerSearch(),[u.registerSearch]),(0,n.useEffect)(()=>{s?u.searchExitClearRef.current=()=>{f.current?.({currentTarget:{value:""}})}:u.searchExitClearRef.current=null},[s,u.searchExitClearRef]),(0,n.useEffect)(()=>{u.opened||e_(eT(p.current))},[u.opened]);let v=(0,ec.createEventHandler)(l,e=>{e_(eT(e.currentTarget))}),g=(0,ec.createEventHandler)(a,e=>{if(e.defaultPrevented)return;let t=eT(e.currentTarget),r=t?Array.from(t.querySelectorAll("[data-menu-item]:not([data-disabled])")).filter(e=>e.closest("[data-menu-dropdown]")===t):[];if("ArrowDown"===e.key){if(e.preventDefault(),0===r.length)return;let o=eN(r);eP(r[o>=r.length-1?u.loop?0:o:o+1]??null,t)}else if("ArrowUp"===e.key){if(e.preventDefault(),0===r.length)return;let o=eN(r);eP(r[o<=0?-1===o||u.loop?r.length-1:0:o-1]??null,t)}else if("Home"===e.key)e.preventDefault(),r.length>0&&eP(r[0],t);else if("End"===e.key)e.preventDefault(),r.length>0&&eP(r[r.length-1],t);else if("Enter"===e.key){if(e.nativeEvent.isComposing||229===e.nativeEvent.keyCode)return;let t=r[eN(r)];t&&(e.preventDefault(),t.hasAttribute("data-sub-menu-item")?(t.focus(),t.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowRight",bubbles:!0}))):t.click())}}),b=u.getStyles("search");return(0,t.jsx)(eA.Input,{"data-autofocus":!0,"data-mantine-stop-propagation":!0,type:"search",size:i,...d,ref:h,classNames:[{input:b.className},r],styles:[{input:b.style},o],onKeyDown:g,onChange:v,__staticSelector:"Menu"})});eB.classes=el,eB.displayName="@mantine/core/MenuSearch";var eF=e.i(68598);let ez=(0,h.factory)(e=>{let{classNames:r,className:o,style:a,styles:l,vars:i,onMouseEnter:s,onMouseLeave:c,onPointerEnter:d,onPointerLeave:u,onKeyDown:p,children:h,ref:f,...v}=(0,m.useProps)("MenuSubDropdown",null,e),g=(0,n.useRef)(null),b=er(),y=(0,n.use)(em),x=ek({enabled:!b.hasSearch,opened:y?.opened??!1,getDropdown:()=>g.current}),w=(0,ec.createEventHandler)(p,e=>{x(e),e.ctrlKey||e.metaKey||e.altKey||1!==e.key.length||" "===e.key||e.stopPropagation()}),k=y?.getFloatingProps({onMouseEnter:s,onMouseLeave:c,onPointerEnter:d,onPointerLeave:u});return(0,t.jsx)(ee.Popover.Dropdown,{...v,...k,role:"menu","aria-orientation":"vertical",ref:(0,ep.useMergedRef)(f,g,y?.setFloating),...b.getStyles("dropdown",{className:o,style:a,styles:l,classNames:r,withStaticClass:!1}),tabIndex:-1,"data-menu-dropdown":!0,onKeyDown:w,children:h})});ez.classes=el,ez.displayName="@mantine/core/MenuSubDropdown";var eH=e.i(62881);let eO=(0,ej.polymorphicFactory)(e=>{let{classNames:r,className:o,style:a,styles:l,vars:i,color:s,leftSection:c,rightSection:d,children:u,disabled:p,"data-disabled":h,closeMenuOnClick:v,ref:g,...b}=(0,m.useProps)("MenuSubItem",null,e),y=er(),x=(0,n.use)(em),w=(0,eu.useMantineTheme)(),{dir:k}=(0,R.useDirection)(),S=(0,n.useRef)(null),j=s?w.variantColorResolver({color:s,theme:w,variant:"light"}):void 0,C=s?(0,ed.parseThemeColor)({color:s,theme:w}):null,M=(0,ec.createEventHandler)(b.onKeyDown,e=>{"ArrowRight"===e.key&&(x?.open(),x?.focusFirstItem()),"ArrowLeft"===e.key&&x?.parentContext&&(x.parentContext.close(),x.parentContext.focusParentItem())}),I=(0,ec.createEventHandler)(b.onClick,()=>{!h&&v&&y.closeDropdownImmediately()}),E=(0,ec.createEventHandler)(b.onMouseMove,()=>{if(!y.hasSearch)return;let e=S.current?.closest("[data-menu-dropdown]");e&&e.querySelectorAll("[data-menu-active]").forEach(t=>{t!==S.current&&t.closest("[data-menu-dropdown]")===e&&t.removeAttribute("data-menu-active")})}),$=x?.getReferenceProps({onMouseEnter:b.onMouseEnter,onMouseLeave:b.onMouseLeave,onPointerEnter:b.onPointerEnter,onPointerLeave:b.onPointerLeave});return(0,t.jsxs)(f.UnstyledButton,{onMouseDown:e=>e.preventDefault(),...b,...$,unstyled:y.unstyled,tabIndex:y.menuItemTabIndex,...y.getStyles("item",{className:o,style:a,styles:l,classNames:r}),ref:(0,ep.useMergedRef)(S,g,x?.setReference),role:"menuitem",disabled:p,"data-menu-item":!0,"data-sub-menu-item":!0,"data-disabled":p||h||void 0,"data-mantine-stop-propagation":!0,onClick:I,onMouseMove:E,onKeyDown:(0,es.createScopedKeydownHandler)({siblingSelector:"[data-menu-item]:not([data-disabled])",parentSelector:"[data-menu-dropdown]",activateOnFocus:!1,loop:y.loop,dir:k,orientation:"vertical",onKeyDown:M}),__vars:{"--menu-item-color":C?.isThemeColor&&C?.shade===void 0?`var(--mantine-color-${C.color}-6)`:j?.color,"--menu-item-hover":j?.hover},children:["all"===y.alignItemsLabels&&(0,t.jsx)("div",{...y.getStyles("itemIndicator",{styles:l,classNames:r}),"data-placeholder":!0}),c&&(0,t.jsx)("div",{...y.getStyles("itemSection",{styles:l,classNames:r}),"data-position":"left",children:c}),u&&(0,t.jsx)("div",{...y.getStyles("itemLabel",{styles:l,classNames:r}),"data-menu-item-label":!0,children:u}),(0,t.jsx)("div",{...y.getStyles("itemSection",{styles:l,classNames:r}),"data-position":"right",children:d||(0,t.jsx)(eH.AccordionChevron,{...y.getStyles("chevron"),size:14})})]})});eO.classes=el,eO.displayName="@mantine/core/MenuSubItem";var eL=e.i(95991);function eG({children:e,refProp:r}){if(!(0,eL.isElement)(e))throw Error("Menu.Sub.Target component children should be an element or a component that accepts ref. Fragments, str
11ings, numbers and other primitive values are not supported");return er(),(0,t.jsx)(ee.Popover.Target,{refProp:r,popupType:"menu",children:e})}eG.displayName="@mantine/core/MenuSubTarget";var eV=e.i(5142),eK=e.i(51937),eU=e.i(43489);let eq={offset:0,position:"right-start",safeAreaPolygon:!0,transitionProps:{duration:0},openDelay:0,middlewares:{shift:{crossAxis:!0}}};function eW(e){let{children:r,closeDelay:o,openDelay:a,position:l,safeAreaPolygon:i,...s}=(0,m.useProps)("MenuSub",eq,e),c=(0,eK.useId)(),[d,{open:u,close:p}]=(0,eV.useDisclosure)(!1),h=(0,n.use)(em),f=er(),{dir:v}=(0,R.useDirection)(),g=(0,eF.getFloatingPosition)(v,l),b=h?.registerOpenSub??f.registerOpenSub,y=(0,n.useRef)(null),x=(0,n.useRef)(null),w=(0,n.useCallback)(e=>{let t=x.current;return t&&t!==e&&t(),x.current=e,()=>{x.current===e&&(x.current=null)}},[]),k=(0,n.useCallback)(()=>{y.current=b(p),u()},[p,b,u]),S=(0,n.useCallback)(()=>{y.current?.(),y.current=null,p()},[p]),{context:j,refs:C}=(0,eU.useFloating)({placement:g,open:d,onOpenChange:e=>{e?k():S()}}),{getReferenceProps:M,getFloatingProps:I}=(0,eU.useInteractions)([(0,eU.useHover)(j,{handleClose:i?(0,eU.safePolygon)("object"==typeof i?i:void 0):void 0,delay:{open:a,close:o}})]);return(0,t.jsx)(em,{value:{opened:d,close:S,open:k,focusFirstItem:()=>window.setTimeout(()=>{document.getElementById(`${c}-dropdown`)?.querySelectorAll("[data-menu-item]:not([data-disabled])")[0]?.focus()},16),focusParentItem:()=>window.setTimeout(()=>{document.getElementById(`${c}-target`)?.focus()},16),parentContext:h,setReference:C.setReference,setFloating:C.setFloating,getReferenceProps:M,getFloatingProps:I,registerOpenSub:w},children:(0,t.jsx)(ee.Popover,{opened:d,withinPortal:!1,withArrow:!1,id:c,position:l,...s,children:r})})}eW.extend=e=>e,eW.displayName="@mantine/core/MenuSub",eW.Target=eG,eW.Dropdown=ez,eW.Item=eO;let eZ={refProp:"ref"};function eX(e){let{children:r,refProp:o,...a}=(0,m.useProps)("MenuTarget",eZ,e),l=(0,ev.getSingleElementChild)(r);if(!l)throw Error("Menu.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported");let i=er(),s=l.props,c=(0,ec.createEventHandler)(s.onClick,()=>{"click"===i.trigger?i.toggleDropdown():"click-hover"===i.trigger&&(i.setOpenedViaClick(!0),i.opened||i.openDropdown())}),d=(0,ec.createEventHandler)(s.onMouseEnter,()=>("hover"===i.trigger||"click-hover"===i.trigger)&&i.openDropdown()),u=(0,ec.createEventHandler)(s.onMouseLeave,()=>{"hover"===i.trigger?i.closeDropdown():"click-hover"!==i.trigger||i.openedViaClick||i.closeDropdown()});return(0,t.jsx)(ee.Popover.Target,{refProp:o,popupType:"menu",...a,children:(0,n.cloneElement)(l,{onClick:c,onMouseEnter:d,onMouseLeave:u,"data-expanded":!!i.opened||void 0})})}eX.displayName="@mantine/core/MenuTarget";let eY={trapFocus:!0,closeOnItemClick:!0,withInitialFocusPlaceholder:!0,clickOutsideEvents:["mousedown","touchstart","keydown"],loop:!0,trigger:"click",openDelay:0,closeDelay:100,menuItemTabIndex:-1,alignItemsLabels:"with-indicators"},eQ=(0,h.factory)(e=>{let r=(0,m.useProps)("Menu",eY,e),{children:o,onOpen:a,onClose:l,opened:i,defaultOpened:s,trapFocus:c,onChange:d,closeOnItemClick:u,loop:h,closeOnEscape:f,trigger:v,openDelay:g,closeDelay:b,classNames:y,styles:x,unstyled:w,variant:k,vars:S,menuItemTabIndex:j,keepMounted:C,withInitialFocusPlaceholder:M,attributes:I,onExitTransitionEnd:E,alignItemsLabels:$,checkIcon:D,...A}=r,T=(0,p.useStyles)({name:"Menu",classes:el,props:r,classNames:y,styles:x,unstyled:w,attributes:I}),[_,P]=(0,en.useUncontrolled)({value:i,defaultValue:s,finalValue:!1,onChange:d}),[N,R]=(0,n.useState)(!1),B=()=>{P(!1),R(!1),_&&l?.()},F=()=>{P(!0),_||a?.()},z=()=>{_?B():F()},{openDropdown:H,closeDropdown:O}=function({open:e,close:t,openDelay:r,closeDelay:o}){let a=(0,n.useRef)(-1),l=(0,n.useRef)(-1),i=()=>{window.clearTimeout(a.current),window.clearTimeout(l.current)};return(0,n.useEffect)(()=>i,[]),{openDropdown:()=>{i(),0===r||void 0===r?e():a.current=window.setTimeout(e,r)},closeDropdown:()=>{i(),0===o||void 0===o?t():l.current=window.setTimeout(t,o)}}}({open:F,close:B,closeDelay:b,openDelay:g}),L=(0,n.useRef)(null),G=(0,n.useCallback)(e=>{let t=L.current;return t&&t!==e&&t(),L.current=e,()=>{L.current===e&&(L.current=null)}}
11,[]),V=(0,n.useRef)(0),[K,U]=(0,n.useState)(!1),q=(0,n.useCallback)(()=>(V.current+=1,1===V.current&&U(!0),()=>{V.current-=1,0===V.current&&U(!1)}),[]),W=(0,n.useRef)(null),{resolvedClassNames:Z,resolvedStyles:X}=(0,J.useResolvedStylesApi)({classNames:y,styles:x,props:r});return(0,t.jsx)(et,{value:{getStyles:T,opened:_,toggleDropdown:z,getItemIndex:e=>e?Array.from((0,Q.findElementAncestor)(e,"[data-menu-dropdown]")?.querySelectorAll("[data-menu-item]")||[]).findIndex(t=>t===e):null,openedViaClick:N,setOpenedViaClick:R,closeOnItemClick:u,closeDropdown:"click"===v?B:O,openDropdown:"click"===v?F:H,closeDropdownImmediately:B,loop:h,trigger:v,unstyled:w,menuItemTabIndex:j,withInitialFocusPlaceholder:M,registerOpenSub:G,hasSearch:K,registerSearch:q,searchExitClearRef:W,alignItemsLabels:$,checkIcon:D},children:(0,t.jsx)(ee.Popover,{returnFocus:!0,...A,opened:_,onChange:z,defaultOpened:s,trapFocus:!C&&c,closeOnEscape:f,__staticSelector:"Menu",classNames:Z,styles:X,unstyled:w,variant:k,keepMounted:C,onExitTransitionEnd:()=>{W.current?.(),E?.()},children:o})})});eQ.displayName="@mantine/core/Menu",eQ.classes=el,eQ.Item=eC,eQ.Label=eM,eQ.Dropdown=eS,eQ.Target=eX,eQ.Divider=ex,eQ.Search=eB,eQ.Sub=eW,eQ.CheckboxItem=ef,eQ.CheckboxGroup=ea,eQ.RadioItem=eD,eQ.RadioGroup=eE,eQ.ContextMenu=ey;var eJ=e.i(48184),e0={root:"m_f0824112",description:"m_57492dcc",section:"m_690090b5",label:"m_1f6ac4c4",body:"m_f07af9d2",children:"m_e17b862f",chevron:"m_1fd8a00b"};let e1=(0,d.createVarsResolver)((e,{variant:t,color:r,childrenOffset:o,autoContrast:n})=>{let a=e.variantColorResolver({color:r||e.primaryColor,theme:e,variant:t||"light",autoContrast:n});return{root:{"--nl-bg":r||t?a.background:void 0,"--nl-hover":r||t?a.hover:void 0,"--nl-color":r||t?a.color:void 0},children:{"--nl-offset":(0,c.getSpacing)(o)}}}),e2=(0,ej.polymorphicFactory)(e=>{let r=(0,m.useProps)("NavLink",null,e),{classNames:o,className:n,style:a,styles:i,unstyled:s,vars:c,opened:d,defaultOpened:u,onChange:h,children:v,active:g,disabled:b,leftSection:y,rightSection:x,label:w,description:k,disableRightSectionRotation:S,noWrap:j,childrenOffset:C,autoContrast:M,mod:I,attributes:E,onClick:$,onKeyDown:D,keepMounted:A,...T}=r,_=(0,p.useStyles)({name:"NavLink",props:r,classes:e0,className:n,style:a,classNames:o,styles:i,unstyled:s,attributes:E,vars:c,varsResolver:e1}),[P,N]=(0,en.useUncontrolled)({value:d,defaultValue:u,finalValue:!1,onChange:h}),R=!!v;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(f.UnstyledButton,{..._("root"),component:"a",onClick:e=>{$?.(e),R&&(e.preventDefault(),N(!P))},onKeyDown:e=>{D?.(e),"Space"===e.nativeEvent.code&&R&&(e.preventDefault(),N(!P))},unstyled:s,mod:[{disabled:b,active:g,expanded:P},I],...T,children:[y&&(0,t.jsx)(l.Box,{component:"span",..._("section"),mod:{position:"left"},children:y}),(0,t.jsxs)(l.Box,{..._("body"),mod:{"no-wrap":j},children:[(0,t.jsx)(l.Box,{component:"span",..._("label"),children:w}),(0,t.jsx)(l.Box,{component:"span",mod:{active:g},..._("description"),children:k})]}),(R||void 0!==x)&&(0,t.jsx)(l.Box,{..._("section"),component:"span",mod:{rotate:P&&!S,position:"right"},children:R?void 0!==x?x:(0,t.jsx)(eH.AccordionChevron,{..._("chevron")}):x})]}),R&&(0,t.jsx)(eJ.Collapse,{expanded:P,keepMounted:A,..._("collapse"),children:(0,t.jsx)("div",{..._("children"),children:v})})]})});e2.classes=e0,e2.varsResolver=e1,e2.displayName="@mantine/core/NavLink";var e4=e.i(94229),e9=e.i(73404),e5=e.i(44762),e6=e.i(90098),e3=e.i(67228);function e7(e,t){return(0,e3.useMediaQuery)("(prefers-color-scheme: dark)","dark"===e,t)?"dark":"light"}function e8(e){let t=document.createElement("style");return t.setAttribute("data-mantine-styles","inline"),t.innerHTML="*, *::before, *::after {transition: none !important;}",t.setAttribute("data-mantine-disable-transition","true"),e&&t.setAttribute("nonce",e),document.head.appendChild(t),()=>document.querySelectorAll("[data-mantine-disable-transition]").forEach(e=>e.remove())}function te({keepTransitions:e}={}){let t=(0,n.useRef)(e5.noop),r=(0,n.useRef)(-1),o=(0,n.use)(e6.MantineContext),a=(0,n.useRef)((0,e6.useMantineStyleNonce)()?.());if(!o)throw Error("[@mantine/core] MantineProvider was not found in tree");let l=n=>{o.setColorScheme(n),t.current=e?()=>{}:e8(a.current),window.clearTimeout(r.current),r.current=window.setTimeout(()=>{t.current?.()},10)},i=e7("light",{getInitialValueInEffect:!1}),s="auto"===o.colorScheme?i:o.colorScheme,c=(0,n.useCallback)(()=>l("light"===s?"dark":"light"),[l,s]);return(0,n.useEffect)(()=>()=>{t.current?.(),window.clearTimeout(r.current)},[]),{colorScheme:o.colorScheme,setColorScheme:l,clearColorScheme:()=>{o.clearColorScheme(),t.current=e?()=>{}:e8(a.current),window.clearTimeout(r.current),r.current=window.setTimeout(()=>{t.current?.()},10)},toggleColorScheme:c}}var tt=e.i(653),tr=e.i(33550);let to=(0,tr.default)("outline","chevron-down","ChevronDown",[["path",{d:"M6 9l6 6l6 -6",key:"svg-0"}]]),tn=(0,tr.default)("outline","home","Home",[["path",{d:"M5 12l-2 0l9 -9l9 9l-2 0",key:"svg-0"}],["path",{d:"M5 12v7a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-7",key:"svg-1"}],["path",{d:"M9 21v-6a2 2 0 0 1 2 -2h2a2 2 0 0 1 2 2v6",key:"svg-2"}]]),ta=(0,tr.default)("outline","tools","Tools",[["path",{d:"M3 21h4l13 -13a1.5 1.5 0 0 0 -4 -4l-13 13v4",key:"svg-0"}],["path",{d:"M14.5 5.5l4 4",key:"svg-1"}],["path",{d:"M12 8l-5 -5l-4 4l5 5",key:"svg-2"}],["path",{d:"M7 8l-1.5 1.5",key:"svg-3"}],["path",{d:"M16 12l5 5l-4 4l-5 -5",key:"svg-4"}],["path",{d:"M16 17l-1.5 1.5",key:"svg-5"}]]),tl=(0,tr.default)("outline","book","Book",[["path",{d:"M3 19a9 9 0 0 1 9 0a9 9 0 0 1 9 0",key:"svg-0"}],["path",{d:"M3 6a9 9 0 0 1 9 0a9 9 0 0 1 9 0",key:"svg-1"}],["path",{d:"M3 6l0 13",key:"svg-2"}],["path",{d:"M12 6l0 13",key:"svg-3"}],["path",{d:"M21 6l0 13",key:"svg-4"}]]),ti=(0,tr.default)("outline","info-circle","InfoCircle",[["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"}]]),ts=(0,tr.default)("outline","news","News",[["path",{d:"M16 6h3a1 1 0 0 1 1 1v11a2 2 0 0 1 -4 0v-13a1 1 0 0 0 -1 -1h-10a1 1 0 0 0 -1 1v12a3 3 0 0 0 3 3h11",key:"svg-0"}],["path",{d:"M8 8l4 0",key:"svg-1"}],["path",{d:"M8 12l4 0",key:"svg-2"}],["path",{d:"M8 16l4 0",key:"svg-3"}]]),tc=(0,tr.default)("outline","moon","Moon",[["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.454l0 .008",key:"svg-0"}]]),td=(0,tr.default)("outline","sun","Sun",[["path",{d:"M8 12a4 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"}]]);e.s(["Header",0,function({theoryLinks:e=[]}){let[c,{toggle:d}]=(0,eV.useDisclosure)(!1),{setColorScheme:u}=te(),m=function(e,t={getInitialValueInEffect:!0}){let r=e7(e,t),{colorScheme:o}=te();return"auto"===o?r:o}("light",{getInitialValueInEffect:!0}
11),[p,h]=(0,n.useState)(!1);(0,n.useEffect)(()=>{h(!0)},[]);let v=()=>{u("light"===m?"dark":"light")},g=()=>p&&"dark"===m?(0,t.jsx)(td,{size:18}):(0,t.jsx)(tc,{size:18});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(y.Container,{size:"lg",h:"100%",children:(0,t.jsxs)(X.Group,{justify:"space-between",h:"100%",children:[(0,t.jsx)(o.default,{href:"/",style:{textDecoration:"none",color:"inherit"},children:(0,t.jsxs)(X.Group,{gap:"xs",children:[(0,t.jsx)(l.Box,{w:50,h:50,style:{overflow:"hidden"},children:(0,t.jsx)(Y.Image,{src:"/logo.svg",alt:"Logo",width:50,height:50})}),(0,t.jsx)(e4.Text,{fw:700,size:"xl",children:a.SITE_CONFIG.name})]})}),(0,t.jsxs)(X.Group,{gap:5,visibleFrom:"sm",children:[(0,t.jsx)(f.UnstyledButton,{component:o.default,href:"/",className:r.default.link,children:"Home"}),(0,t.jsxs)(eQ,{trigger:"hover",openDelay:100,closeDelay:400,children:[(0,t.jsx)(eQ.Target,{children:(0,t.jsx)(f.UnstyledButton,{className:r.default.link,children:(0,t.jsxs)(X.Group,{gap:5,children:[(0,t.jsx)("span",{children:"Generators"}),(0,t.jsx)(to,{size:14})]})})}),(0,t.jsxs)(eQ.Dropdown,{children:[(0,t.jsx)(eQ.Item,{component:o.default,href:a.SITE_CONFIG.routes.generators.items.stl,children:"STL Generator"}),(0,t.jsx)(eQ.Item,{component:o.default,href:a.SITE_CONFIG.routes.generators.items.dxf,children:"DXF Generator"})]})]}),(0,t.jsxs)(eQ,{trigger:"hover",openDelay:100,closeDelay:400,children:[(0,t.jsx)(eQ.Target,{children:(0,t.jsx)(f.UnstyledButton,{component:o.default,href:a.SITE_CONFIG.routes.theory,className:r.default.link,children:(0,t.jsxs)(X.Group,{gap:5,children:[(0,t.jsx)("span",{children:"Theory"}),(0,t.jsx)(to,{size:14})]})})}),(0,t.jsxs)(eQ.Dropdown,{children:[(0,t.jsx)(eQ.Item,{component:o.default,href:"/theory/all",children:"All"}),(0,t.jsx)(eQ.Item,{component:o.default,href:"/theory/equations",children:"Equations"}),(0,t.jsx)(eQ.Item,{component:o.default,href:"/theory/figures",children:"Figures"}),(0,t.jsx)(eQ.Divider,{}),e.length>0?e.map(e=>(0,t.jsx)(eQ.Item,{component:o.default,href:e.href,children:e.label},e.href)):(0,t.jsx)(eQ.Item,{disabled:!0,children:"No theories yet"})]})]}),(0,t.jsx)(f.UnstyledButton,{component:o.default,href:a.SITE_CONFIG.routes.about,className:r.default.link,children:"About"})]}),(0,t.jsxs)(X.Group,{children:[(0,t.jsx)(e9.ActionIcon,{onClick:v,variant:"outline",color:"logoBlue","aria-label":"Toggle theme",visibleFrom:"sm",children:g()}),(0,t.jsx)(i.Button,{component:"a",leftSection:(0,t.jsx)(ts,{style:{width:(0,s.rem)(20),height:(0,s.rem)(20)}}),href:a.SITE_CONFIG.socials.blog,target:"_blank",variant:"outline",visibleFrom:"sm",children:"Blog"}),(0,t.jsx)(e9.ActionIcon,{onClick:v,variant:"outline",color:"logoBlue","aria-label":"Toggle theme",hiddenFrom:"sm",children:g()}),(0,t.jsx)(b,{opened:c,onClick:d,hiddenFrom:"sm",size:"sm"})]})]})}),(0,t.jsxs)(Z,{opened:c,onClose:d,padding:"md",title:(0,t.jsx)(o.default,{href:"/",style:{textDecoration:"none",color:"inherit"},onClick:e=>{d()},children:(0,t.jsxs)(X.Group,{gap:"xs",children:[(0,t.jsx)(l.Box,{w:40,h:40,style:{borderRadius:"4px",overflow:"hidden",backgroundColor:"white"},children:(0,t.jsx)(Y.Image,{src:"/logo.svg",alt:"Logo",width:40,height:40})}),(0,t.jsx)(e4.Text,{fw:700,size:"lg",children:a.SITE_CONFIG.name})]})}),children:[(0,t.jsx)(e2,{href:"/",label:"Home",component:o.default,onClick:d,leftSection:(0,t.jsx)(tn,{size:20})}),(0,t.jsxs)(e2,{label:"Generators",leftSection:(0,t.jsx)(ta,{size:20}),childrenOffset:28,defaultOpened:!0,children:[(0,t.jsx)(e2,{component:o.default,href:a.SITE_CONFIG.routes.generators.items.stl,label:"STL Generator",onClick:d}),(0,t.jsx)(e2,{component:o.default,href:a.SITE_CONFIG.routes.generators.items.dxf,label:"DXF Generator",onClick:d})]}),(0,t.jsxs)(e2,{label:"Theory",leftSection:(0,t.jsx)(tl,{size:20}),childrenOffset:28,children:[(0,t.jsx)(e2,{component:o.default,href:"/theory/all",label:"All",onClick:d}),(0,t.jsx)(e2,{component:o.default,href:"/theory/equations",label:"Equations",onClick:d}),(0,t.jsx)(e2,{component:o.default,href:"/theory/figures",label:"Figures",onClick:d}),(0,t.jsx)(tt.Divider,{my:"xs"}),e.map(e=>(0,t.jsx)(e2,{component:o.default,href:e.href,label:e.label,onClick:d},e.href))]}),(0,t.jsx)(e2,{href:"/about",label:"About",component:o.default,onClick:d,leftSection:(0,t.jsx)(ti,{size:20})}),(0,t.jsx)(e2,{href:a.SITE_CONFIG.socials.blog,target:"_blank",label:"Blog",leftSection:(0,t.jsx)(ts,{size:20}),className:r.default.blogNavLink,description:"See what's new!"})]})]})}],16371)},70236,e=>{"use strict";var t=e.i(43476),r=e.i(71645);let o="https://storage.ko-fi.com/cdn/scripts/overlay-widget.js",n={type:"floating-chat","floating-chat.donateButton.text":"Buy me a coffee","floating-chat.donateButton.background-color":"#ecdcb0","floating-chat.donateButton.text-color":"#021222ff"};e.s(["KoFiWidget",0,function(){return(0,r.useEffect)(()=>{let e=()=>{document.querySelector(".floatingchat-container")||window.kofiWidgetOverlay?.draw("juangras",n)};if(document.querySelector(`script[src="${o}"]`)){window.kofiWidgetOverlay&&e();return}let t=document.createElement("script");t.src=o,t.async=!0,t.onload=e,t.onerror=()=>console.warn("Ko-fi widget script failed to load (blocked?)"),document.body.appendChild(t)},[]),(0,t.jsx)("style",{children:`
12      .floatingchat-container {
13        width: 250px !important;
14      }
15      
16      .floatingchat-container-wrap {
17        max-width: 250px !important;
18      }
19    `})}])}]);

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.