1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{63:(e,a,r)=>{"use strict";var t=r(7260);r.o(t,"useParams")&&r.d(a,{useParams:function(){return t.useParams}}),r.o(t,"usePathname")&&r.d(a,{usePathname:function(){return t.usePathname}}),r.o(t,"useRouter")&&r.d(a,{useRouter:function(){return t.useRouter}}),r.o(t,"useSearchParams")&&r.d(a,{useSearchParams:function(){return t.useSearchParams}})},2988:(e,a,r)=>{Promise.resolve().then(r.bind(r,8955)),Promise.resolve().then(r.t.bind(r,2619,23)),Promise.resolve().then(r.t.bind(r,3673,23)),Promise.resolve().then(r.bind(r,8505))},3673:()=>{},4294:(e,a,r)=>{"use strict";r.d(a,{A:()=>l});var t=r(2115);let s=function(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return a.filter((e,a,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===a).join(" ").trim()};var n={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let o=(0,t.forwardRef)((e,a)=>{let{color:r="currentColor",size:o=24,strokeWidth:l=2,absoluteStrokeWidth:c,className:i="",children:d,iconNode:u,...h}=e;return(0,t.createElement)("svg",{ref:a,...n,width:o,height:o,stroke:r,strokeWidth:c?24*Number(l)/Number(o):l,className:s("lucide",i),...h},[...u.map(e=>{let[a,r]=e;return(0,t.createElement)(a,r)}),...Array.isArray(d)?d:[d]])}),l=(e,a)=>{let r=(0,t.forwardRef)((r,n)=>{let{className:l,...c}=r;return(0,t.createElement)(o,{ref:n,iconNode:a,className:s("lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),l),...c})});return r.displayName="".concat(e),r}},6615:(e,a,r)=>{"use strict";r.d(a,{A:()=>t});let t=(0,r(4294).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},7314:(e,a,r)=>{"use strict";r.d(a,{A:()=>t});let t=(0,r(4294).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},8505:(e,a,r)=>{"use strict";r.d(a,{Navbar:()=>b});var t=r(5155),s=r(2619),n=r.n(s),o=r(5239),l=r(2115),c=r(4294);let i=(0,c.A)("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]),d=(0,c.A)("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);var u=r(1871),h=r(8772),m=r(1272),f=r(6615);let p=(0,c.A)("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);var x=r(7314);function b(){let[e,a]=(0,l.useState)(!1),[r,s]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>{s(document.documentElement.classList.contains("dark"))};e();let a=new MutationObserver(e);return a.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]}),()=>a.disconnect()},[]),(0,t.jsxs)("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-white/80 dark:bg-gray-950/80 backdrop-blur-2xl border-b border-gray-200/50 dark:border-gray-800/50 shadow-sm",children:[(0,t.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,t.jsx)(n(),{href:"/",className:"flex items-center gap-2.5 group",children:(0,t.jsx)(o.default,{src:r?"/logo-white.svg":"/logo-primary.svg",alt:"Lab Sage",width:160,height:40,className:"h-9 w-auto transition-opacity group-hover:opacity-80",priority:!0})}),(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-1",children:[(0,t.jsxs)(n(),{href:"/blog",className:"btn-ghost text-sm flex items-center gap-2",children:[(0,t.jsx)(i,{className:"w-4 h-4"}),"Blog"]}),(0,t.jsxs)(n(),{href:"/learn",className:"btn-ghost text-sm flex items-center gap-2",children:[(0,t.jsx)(d,{className:"w-4 h-4"}),"Learn"]}),(0,t.jsxs)(n(),{href:"/tools/homa-ir-calculator",className:"btn-ghost text-sm flex items-center gap-2",children:[(0,t.jsx)(u.A,{className:"w-4 h-4"}),"Tools"]}),(0,t.jsxs)(n(),{href:"/upload",className:"btn-ghost text-sm flex items-center gap-2",children:[(0,t.jsx)(h.A,{className:"w-4 h-4"}),"Upload Labs"]}),(0,t.jsxs)(n(),{href:"/dashboard",className:"btn-ghost text-sm flex items-center gap-2",children:[(0,t.jsx)(m.A,{className:"w-4 h-4"}),"Dashboard"]}),(0,t.jsx)(n(),{href:"/upload",className:"btn-primary text-sm ml-3",children:"Analyze Labs â"})]}),(0,t.jsx)("button",{className:"md:hidden p-2 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!e),children:e?(0,t.jsx)(f.A,{className:"w-5 h-5"}):(0,t.jsx)(p,{className:"w-5 h-5"})})]})}),e&&(0,t.jsx)("div",{className:"md:hidden border-t border-gray-200/50 dark:border-gray-800/50 bg-white/95 dar
1k:bg-gray-950/95 backdrop-blur-2xl animate-fade-in",children:(0,t.jsxs)("div",{className:"px-4 py-4 space-y-2",children:[(0,t.jsxs)(n(),{href:"/blog",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!1),children:[(0,t.jsx)(i,{className:"w-5 h-5 text-teal-500"}),(0,t.jsx)("span",{className:"font-medium",children:"Blog"})]}),(0,t.jsxs)(n(),{href:"/learn",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!1),children:[(0,t.jsx)(d,{className:"w-5 h-5 text-teal-500"}),(0,t.jsx)("span",{className:"font-medium",children:"Clinical Knowledge"})]}),(0,t.jsxs)(n(),{href:"/tools/homa-ir-calculator",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!1),children:[(0,t.jsx)(u.A,{className:"w-5 h-5 text-teal-500"}),(0,t.jsx)("span",{className:"font-medium",children:"Free Tools"})]}),(0,t.jsxs)(n(),{href:"/upload",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!1),children:[(0,t.jsx)(h.A,{className:"w-5 h-5 text-teal-500"}),(0,t.jsx)("span",{className:"font-medium",children:"Upload Labs"})]}),(0,t.jsxs)(n(),{href:"/dashboard",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!1),children:[(0,t.jsx)(m.A,{className:"w-5 h-5 text-teal-500"}),(0,t.jsx)("span",{className:"font-medium",children:"Dashboard"})]}),(0,t.jsxs)(n(),{href:"/account",className:"flex items-center gap-3 px-4 py-3 rounded-xl hover:bg-gray-100 dark:hover:bg-gray-800 transition-colors",onClick:()=>a(!1),children:[(0,t.jsx)(x.A,{className:"w-5 h-5 text-teal-500"}),(0,t.jsx)("span",{className:"font-medium",children:"Account"})]}),(0,t.jsx)("div",{className:"pt-2",children:(0,t.jsx)(n(),{href:"/upload",className:"btn-primary w-full text-center",onClick:()=>a(!1),children:"Analyze Labs â"})})]})})]})}},8955:(e,a,r)=>{"use strict";r.d(a,{Analytics:()=>h});var t=r(2115),s=r(63),n=r(5704);function o(){return"undefined"!=typeof window}function l(){return"production"}function c(){return"development"===((o()?window.vam:l())||"production")}function i(e){return new RegExp("/".concat(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"(?=[/?#]|$)"))}function d(e){return(0,t.useEffect)(()=>{var a;e.beforeSend&&(null==(a=window.va)||a.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,t.useEffect)(()=>{var a;!function(){var e;let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{debug:!0};if(!o())return;!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"auto";if("auto"===e){window.vam=l();return}window.vam=e}(a.mode),window.va||(window.va=function(){for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];(window.vaq=window.vaq||[]).push(a)}),a.beforeSend&&(null==(e=window.va)||e.call(window,"beforeSend",a.beforeSend));let r=a.scriptSrc?a.scriptSrc:c()?"https://va.vercel-scripts.com/v1/script.debug.js":a.basePath?"".concat(a.basePath,"/insights/script.js"):"/_vercel/insights/script.js";if(document.head.querySelector('script[src*="'.concat(r,'"]')))return;let t=document.createElement("script");t.src=r,t.defer=!0,t.dataset.sdkn="@vercel/analytics"+(a.framework?"/".concat(a.framework):""),t.dataset.sdkv="1.6.1",a.disableAutoTrack&&(t.dataset.disableAutoTrack="1"),a.endpoint?t.dataset.endpoint=a.endpoint:a.basePath&&(t.dataset.endpoint="".concat(a.basePath,"/insights")),a.dsn&&(t.dataset.dsn=a.dsn),t.onerror=()=>{let e=c()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log("[Vercel Web Analytics] Failed to load script from ".concat(r,". ").concat(e))},c()&&!1===a.debug&&(t.dataset.debug="false"),document.head.appendChild(t)}({framework:e.framework||"react",basePath:null!=(a=e.basePath)?a:function(){if(void 0!==n&&void 0!==n.env)return n.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e})},[]),(0,t.useEffect)(()=>{e.route&&e.path&&function(e){var a;let{route:r,path:t}=e;null==(a=window.va)||a.call(window,"pageview",{route:r,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}function u(e){let{route:a,path:r}=(()=>
1{let e=(0,s.useParams)(),a=(0,s.useSearchParams)(),r=(0,s.usePathname)();return e?{route:function(e,a){if(!e||!a)return e;let r=e;try{let e=Object.entries(a);for(let[a,t]of e)if(!Array.isArray(t)){let e=i(t);e.test(r)&&(r=r.replace(e,"/[".concat(a,"]")))}for(let[a,t]of e)if(Array.isArray(t)){let e=i(t.join("/"));e.test(r)&&(r=r.replace(e,"/[...".concat(a,"]")))}return r}catch(a){return e}}(r,Object.keys(e).length?e:Object.fromEntries(a.entries())),path:r}:{route:null,path:r}})();return t.createElement(d,{path:r,route:a,...e,basePath:function(){if(void 0!==n&&void 0!==n.env)return n.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}(),framework:"next"})}function h(e){return t.createElement(t.Suspense,{fallback:null},t.createElement(u,{...e}))}}},e=>{e.O(0,[978,619,907,441,255,358],()=>e(e.s=2988)),_N_E=e.O()}]);
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.