1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7379],{93559:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/smart-report/[slug]",function(){return a(4830)}])},4830:function(e,t,a){"use strict";a.r(t),a.d(t,{__N_SSP:function(){return b},default:function(){return N}});var i,n,l=a(34051),s=a.n(l),o=a(85893),r=a(9008),d=a.n(r),c=a(67294),u=a(86493),m=a(18176),v=a(11163),p=a(24686),h=a(42203),f=a(61213);function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}function _(e,t,a,i,n,l,s){try{var o=e[l](s),r=o.value}catch(d){return void a(d)}o.done?t(r):Promise.resolve(r).then(i,n)}function g(e){return function(){var t=this,a=arguments;return new Promise((function(i,n){var l=e.apply(t,a);function s(e){_(l,i,n,s,o,"next",e)}function o(e){_(l,i,n,s,o,"throw",e)}s(void 0)}))}}function j(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return x(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return x(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=!0;function N(e){var t,a,l,r,x,_,b,N,y,w,k,C,L,S,A,E,I,T,R,B,q,M,P,O,W,V,D,H,F,U,X,Y,z,Z,G,K,Q,$,J,ee,te,ae,ie,ne,le,se,oe,re=e.initialData,de=(e.slug,e.source),ce=function(e){document.querySelectorAll(e).forEach((function(e){if(!e.dataset.wheelBound){e.dataset.wheelBound="1";var t=null;e.addEventListener("wheel",(function(a){var i=e.scrollWidth-e.clientWidth;if(!(i<=0)){var n=Math.abs(a.deltaX)>=Math.abs(a.deltaY)?a.deltaX:a.deltaY;if(n){1===a.deltaMode?n*=40:2===a.deltaMode&&(n*=e.clientWidth);var l=e.scrollLeft<=0,s=e.scrollLeft>=i-1;n<0&&l||n>0&&s||(a.preventDefault(),e.style.scrollSnapType="none",e.scrollLeft+=n,t&&clearTimeout(t),t=setTimeout((function(){e.style.scrollSnapType=""}),140))}}}),{passive:!1})}}))},ue=function(e){document.querySelectorAll(e).forEach((function(e){if(!e.dataset.dragBound){e.dataset.dragBound="1";var t=!1,a=0,i=0,n=function(a){var i;t&&(t=!1,e.classList.remove("is-dragging"),null===(i=e.releasePointerCapture)||void 0===i||i.call(e,a.pointerId))};e.addEventListener("pointerdown",(function(n){var l;"mouse"===n.pointerType&&(t=!0,a=n.clientX,i=e.scrollLeft,e.classList.add("is-dragging"),null===(l=e.setPointerCapture)||void 0===l||l.call(e,n.pointerId))})),e.addEventListener("pointermove",(function(n){t&&(n.preventDefault(),e.scrollLeft=i-(n.clientX-a))})),e.addEventListener("pointerup",n),e.addEventListener("pointercancel",n)}}))},me="app"===de?"Customer App":"Customer Web",ve=((0,v.useRouter)(),(0,c.useState)(!0)),pe=ve[0],he=ve[1],fe=(encodeURIComponent("I want to book my follow-up tests."),(0,c.useState)(!1)),xe=fe[0],_e=fe[1],ge=(0,c.useState)([]),je=(ge[0],ge[1]),be=(0,c.useState)([]),Ne=be[0],ye=be[1],we=(0,c.useState)(!1),ke=we[0],Ce=we[1],Le=(0,c.useState)(!1),Se=Le[0],Ae=Le[1];(0,c.useEffect)((function(){var e=!1,t="/smart-report-data/style.css",a=document.createElement("div");a.className="app-main",a.style.cssText="position:absolute;visibility:hidden;pointer-events:none;left:-9999px;top:-9999px;",document.body.appendChild(a);var i=function(){e||requestAnimationFrame((function(){return requestAnimationFrame((function(){e||Ae(!0)}))}))},n=document.querySelector('link[href="'.concat(t,'"]')),l=n||document.createElement("link");n||(l.rel="stylesheet",l.href=t,document.head.appendChild(l)),l.addEventListener("load",i),l.addEventListener("error",i);var s=setInterval((function(){"grid"===getComputedStyle(a).display&&(clearInterval(s),i())}),30),o=setTimeout((function(){clearInterval(s),i()}),4e3);return function(){e=!0,l.removeEventListener("load",i),l.removeEventListener("error",i),clearInterval(s),clearTimeout(o),a.remove()}}),[]);var Ee=(0,c.useState)(re),Ie=Ee[0];Ee[1];(0,c.useEffect)((function(){var e=function(e,t){var a=e.closest("section"),i=e.querySelectorAll(".seg-btn"),n=a.querySelectorAll(".tab-panel, .ai-tab-panel");
1i.forEach((function(e){return e.classList.remove("active")})),n.forEach((function(e){e.classList.remove("active"),e.hidden=!0}));var l=e.querySelector('[data-tab="'.concat(t,'"], [data-target="').concat(t,'"]'));l&&l.classList.add("active");var s=document.getElementById(t);s&&(s.classList.add("active"),s.hidden=!1)};if(he(!1),Se){var t=(0,m.gN)(window.location.search);Ce(!t);var a=document.querySelector(".page-nav"),i=document.documentElement;if(a){i.style.setProperty("--quicknav-h","".concat(a.clientHeight,"px"));window.addEventListener("resize",(function(){i.style.setProperty("--quicknav-h","".concat(a.clientHeight,"px"))}))}var n=Array.from(document.querySelectorAll(".page-nav__chip"));n.forEach((function(e){e.addEventListener("click",(function(){n.forEach((function(e){return e.classList.remove("is-active")})),e.classList.add("is-active");var t=e.getAttribute("data-scrollto");if(t){var a=document.querySelector(t);if(a){var i=document.querySelector(".page-nav"),l=i?i.getBoundingClientRect().bottom:0,s=a.getBoundingClientRect().top+window.pageYOffset-l-14;window.scrollTo({top:Math.max(s,0),behavior:"smooth"})}}}))}));var l=document.querySelectorAll("section[id]"),s=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var t=e.target.getAttribute("id");n.forEach((function(e){e.classList.remove("is-active"),e.dataset.scrollto==="#".concat(t)&&(e.classList.add("is-active"),e.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}))}))}}))}),{rootMargin:"-40% 0px -50% 0px",threshold:0});l.forEach((function(e){return s.observe(e)}));var o=null;if(!t&&a){var r=document.querySelector(".app-main"),d=document.querySelector(".sticky-cta");o=function(){if(r){var e=a.getBoundingClientRect().bottom,t=r.getBoundingClientRect().bottom;a.classList.toggle("page-nav--hidden",t<=e),d&&d.classList.toggle("is-hidden",t<=window.innerHeight)}},window.addEventListener("scroll",o,{passive:!0}),o()}var c=document.querySelector('[data-segmented="clinical"]');c&&c.addEventListener("click",(function(t){if(t.target.classList.contains("seg-btn")){var a=t.target.getAttribute("data-tab");e(c,a)}}));var u=document.getElementById("key-concerns-tabs");u&&u.addEventListener("click",(function(t){if(t.target.classList.contains("seg-btn")){var a=t.target.getAttribute("data-target");e(u,a)}}));var v=document.querySelectorAll(".lifestyle-tab-btn"),p=document.querySelectorAll(".lifestyle-slide");v.forEach((function(e){e.addEventListener("click",(function(){var t=e.getAttribute("data-cat");v.forEach((function(e){return e.classList.remove("is-active")})),e.classList.add("is-active"),e.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"}),p.forEach((function(e){e.getAttribute("data-cat")===t&&e.scrollIntoView({behavior:"smooth",inline:"start",block:"nearest"})}))}))}));var h=document.querySelector(".lifestyle-track");if(h){var f=function(e){e&&v.forEach((function(t){var a=t.getAttribute("data-cat")===e;t.classList.toggle("is-active",a),a&&t.scrollIntoView({behavior:"smooth",inline:"center",block:"nearest"})}))};h.addEventListener("scroll",(function(){var e=h.getBoundingClientRect(),t=h.scrollWidth-h.clientWidth;if(t>0&&h.scrollLeft>=t-2){var a=p[p.length-1];f(null===a||void 0===a?void 0:a.getAttribute("data-cat"))}else{var i=null,n=1/0;p.forEach((function(t){var a=t.getBoundingClientRect(),l=Math.abs(a.left-e.left);l<n&&(n=l,i=t)})),f(null===i||void 0===i?void 0:i.getAttribute("data-cat"))}}),{passive:!0})}return window.scrollTo(0,0),v.length,setTimeout((function(){var e=document.querySelector(".app--report");null===e||void 0===e||e.scrollIntoView({behavior:"auto",block:"start"})}),100),function(){o&&window.removeEventListener("scroll",o)}}}),[Se]),(0,c.useEffect)((function(){var e,t,a;if(re&&(null===re||void 0===re||null===(e=re.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.management_plan)||void 0===a?void 0:a.follow_up_tests)){var i,n,l,s=[];null===re||void 0===re||null===(i=re.report_data)||void 0===i||null===(n=i.data)||void 0===n||null===(l=n.management_plan)||void 0===l||l.follow_up_tests.map((function(e,t){s.push(null===e||void 0===e?void 0:e.recommended_tests)})),je(s)}}),[re]);var Te=function(){_e(!1),ye([])};(0,c.useEffect)((function(){Se&&(ce(".med-track"),ce(".lifestyle-track"),ue(".med-track"),ue(".lifestyle-track"))}),[Se,Ie]),(0,c.useEffect)((function(){if(!pe){(0,m.gA)("Smart Report Open","smart_report_open",{"Customer ID":(null===Ie||void 0===Ie?void 0:Ie.customer_id)?"Customer-"+(null===Ie||void 0===Ie?void 0:Ie.customer_id):"-","Report Id":(null===Ie||void 0===Ie?void 0:Ie.smart_report_id)?null===Ie||void 0===Ie?void 0:Ie.smart_report_id:"-",Source:"app"===de?"App":"Web"}),(0,m.C3)("Smart Report Open","smart_report_open",{"Customer ID":(null===Ie||void 0===Ie?void 0:Ie.customer_id)?"Customer-"+(null===Ie||void 0===Ie?void 0:Ie.customer_id):"-","Report Id":(null===Ie||void 0===Ie?void 0:Ie.smart_report_id)?null===Ie||void 0===Ie?void 0:Ie.smart_report_id:"-",Source:"app"===de?"App":"Web"});try{var e=(null===Ie||void 0===Ie?void 0:Ie.mobile_number)||"";if(e){var t={LeadDetails:[{Attribute:"Phone",Value:e},{Attribute:"SearchBy",Value:"Phone"},{Attribute:"Source",Value:"Website_Organic"}],Activity:{ActivityEvent:237,ActivityNote:"Smart Report Open",Fields:[{SchemaName:"mx_Custom_1",Value:(null===Ie||void 0===Ie?void 0:Ie.customer_id)||"-"},{SchemaName:"mx_Custom_2",Value:(null===Ie||void 0===Ie?void 0:Ie.smart_report_id)||"-"},{SchemaName:"mx_Custom_3",Value:me}]}};h.Z.CreateCustomLsqLead(t)}}catch(a){}}}),[pe]);!function(){var e=g(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"",e.next=3,u.Z.SmartRepoerDetail();case 3:e.sent;case 4:case"end":return e.stop()}}),e)})))}();var Re=function(){var e=g(s().mark((function e(){var t,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:_e(!0),(0,m.gA)("Smart Report CTA Click","
1smart_report_cta_click",{"Customer ID":(null===Ie||void 0===Ie?void 0:Ie.customer_id)?"Customer-"+(null===Ie||void 0===Ie?void 0:Ie.customer_id):"-","Report Id":(null===Ie||void 0===Ie?void 0:Ie.smart_report_id)?null===Ie||void 0===Ie?void 0:Ie.smart_report_id:"-",Position:"Inline"}),(0,m.C3)("Smart Report CTA Click","smart_report_cta_click",{"Customer ID":(null===Ie||void 0===Ie?void 0:Ie.customer_id)?"Customer-"+(null===Ie||void 0===Ie?void 0:Ie.customer_id):"-","Report Id":(null===Ie||void 0===Ie?void 0:Ie.smart_report_id)?null===Ie||void 0===Ie?void 0:Ie.smart_report_id:"-",Position:"Inline"});try{(t=(null===Ie||void 0===Ie?void 0:Ie.mobile_number)||"")&&(a={LeadDetails:[{Attribute:"Phone",Value:t},{Attribute:"SearchBy",Value:"Phone"},{Attribute:"Source",Value:"Website_Organic"}],Activity:{ActivityEvent:235,ActivityNote:"Smart Report CTA Click",Fields:[{SchemaName:"mx_Custom_1",Value:(null===Ie||void 0===Ie?void 0:Ie.customer_id)||"-"},{SchemaName:"mx_Custom_2",Value:(null===Ie||void 0===Ie?void 0:Ie.smart_report_id)||"-"},{SchemaName:"mx_Custom_3",Value:me}]}}
1,h.Z.CreateCustomLsqLead(a))}catch(i){}ye([]);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(d(),{children:[(0,o.jsx)("title",{children:"Smart Report Details | Curelo Health AI"}),(0,o.jsx)("meta",{charSet:"UTF-8"}),(0,o.jsx)("meta",{name:"description",content:"AI-powered smart report with personalized analysis, risk context, and next steps."}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0, viewport-fit=cover"}),(0,o.jsx)("link",{rel:"icon",href:"https://curelohealth.com/assets/images/favicon.ico"}),(0,o.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,o.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:""}),(0,o.jsx)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap"}),(0,o.jsx)("link",{rel:"stylesheet",href:"/smart-report-data/style.css"}),(0,o.jsx)("style",{children:"\n /* When opened in a web browser, the fixed site header + sub-header (~135px) sit at the\n top. Push the page's fixed quick-nav and main content below them so nothing is hidden. */\n .smart-rep-dt-web { --site-chrome-h: 135px; }\n .app--report.smart-rep-dt-web .page-nav.page-nav--sticky { top: var(--site-chrome-h); }\n /* Hide the fixed quick-nav once the report scrolls into the site footer (web only). */\n .app--report.smart-rep-dt-web .page-nav.page-nav--sticky.page-nav--hidden {\n opacity: 0;\n pointer-events: none;\n transform: translateX(-50%) translateY(-140%);\n transition: opacity .2s ease, transform .2s ease;\n }\n .app--report.smart-rep-dt-web .app-main {\n padding-top: calc(var(--quicknav-h) + var(--site-chrome-h) + 14px);\n /* Reserve space for the fixed bottom CTA so it never covers the disclaimer. */\n padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));\n }\n .app--report.smart-rep-dt-web [id] {\n scroll-margin-top: calc(var(--quicknav-h) + var(--site-chrome-h) + 14px);\n }\n /* Card tracks hide their scrollbar, so signal + enable click-drag for mouse users. */\n .app--report.smart-rep-dt-web .med-track,\n .app--report.smart-rep-dt-web .lifestyle-track { cursor: grab; }\n .app--report.smart-rep-dt-web .med-track.is-dragging,\n .app--report.smart-rep-dt-web .lifestyle-track.is-dragging {\n cursor: grabbing;\n scroll-snap-type: none;\n user-select: none;\n }\n @media (max-width: 575px) {\n .smart-rep-dt-web { --site-chrome-h: 130px; }\n }\n"})]}),Se?(0,o.jsxs)("div",{className:"app app--report smart-page-box smart-rep-dt-box ".concat(ke?"smart-rep-dt-web":""),children:[(0,o.jsx)("header",{className:"app-header",children:(0,o.jsx)("div",{className:"app-header__inner app-header__inner--stacked"})}),(0,o.jsx)("nav",{className:"page-nav page-nav--sticky","aria-label":"Quick navigation",children:(0,o.jsxs)("div",{className:"page-nav__chips",role:"list",children:[(0,o.jsxs)("button",{className:"page-nav__chip",type:"button","data-scrollto":"#clinical-summary",role:"listitem",children:[(0,o.jsx)("span",{className:"page-nav__chip-dot"}),(0,o.jsx)("span",{className:"page-nav__chip-label",children:"Clinical Summary"})]}),(0,o.jsxs)("button",{className:"page-nav__chip",type:"button","data-scrollto":"#key-concerns-tabs",role:"listitem",children:[(0,o.jsx)("span",{className:"page-nav__chip-dot"}),(0,o.jsx)("span",{className:"page-nav__chip-label",children:"Key Concerns & Action Plan"})]}),(0,o.jsxs)("button",{className:"page-nav__chip",type:"button","data-scrollto":"#follow-up-tests",role:"listitem",children:[(0,o.jsx)("span",{className:"page-nav__chip-dot"}),(0,o.jsx)("span",{className:"page-nav__chip-label",children:"Follow-up Tests"})]}),(0,o.jsxs)("button",{className:"page-nav__chip",type:"button","data-scrollto":"#medication-section",role:"listitem",children:[(0,o.jsx)("span",{className:"page-nav__chip-dot"}),(0,o.jsx)("span",{className:"page-nav__chip-label",children:"Medication"})]}),(0,o.jsxs)("button",{className:"page-nav__chip",type:"button","data-scrollto":"#lifestyle-section",role:"listitem",children:[(0,o.jsx)("span",{className:"page-nav__chip-dot"}),(0,o.jsx)("span",{className:"page-nav__chip-label",children:"Lifestyle"})]})]})}),(0,o.jsxs)("main",{className:"app-main",children:[(0,o.jsxs)("section",{className:"panel report-hero",id:"ai-insights-card",children:[(0,o.jsx)("div",{className:"report-hero__head",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h1",{className:"report-hero__title",children:"Smart report insights"}),(0,o.jsx)("p",{className:"report-hero__subtitle",children:"Understand your results instantly\u2014what they mean, what to watch, and what to do next."})]})}),(0,o.jsxs)("div",{className:"patient-card",children:[(0,o.jsx)("h2",{className:"patient-card__name",id:"patient-name",children:null===Ie||void 0===Ie||null===(t=Ie.report_data)||void 0===t||null===(a=t.data)||void 0===a||null===(l=a.patient_info)||void 0===l?void 0:l.name}),(0,o.jsxs)("div",{className:"patient-card__meta",children:[(0,o.jsxs)("span",{id:"patient-age",children:["Age: ",null===Ie||void 0===Ie||null===(r=Ie.report_data)||void 0===r||null===(x=r.data)||void 0===x||null===(_=x.patient_info)||void 0===_?void 0:_.age]}),(0,o.jsxs)("span",{id:"patient-gender",children:["Gender: ",null===Ie||void 0===Ie||null===(b=Ie.report_data)||void 0===b||null===(N=b.data)||void 0===N||null===(y=N.patient_info)||void 0===y?void 0:y.gender]}),(0,o.jsxs)("span",{id:"report_date",children:["Report Date: ",null===Ie||void 0===Ie||null===(w=Ie.report_data)||void 0===w||null===(k=w.data)||void 0===k||null===(C=k.patient_info)||void 0===C?void 0:C.report_date]})]}),(0,o.jsxs)("div",{className:"patient-card__tests",children:[(0,o.jsx)("div",{className:"patient-card__tests-label",children:"Tests performed"}),(0,o.jsx)("div",{id:"tests-performed",className:"chip-row",children:(null===Ie||void 0===Ie||null===(L=Ie.report_data)||void 0===L||null===(S=L.data)||void 0===S||null===(A=S.patient_info)||void 0===A?void 0:A.test_package_name)?Array.isArray(Ie.report_data.data.patient_info.test_package_name)?Ie.report_data.data.patient_info.test_package_name.map((function(e,t){return(0,o.jsx)("span",{className:"data-chip ai-test-chip",children:e},t)})):(0,o.jsx)("span",{className:"data-chip ai-test-chip",children:Ie.report_data.data.patient_info.test_package_name}):(0,o.jsx)("span",{className:"data-chip ai-test-chip",children:"\u2014"})})]})]}),(0,o.jsxs)("div",{className:"summary-strip",children:[(0,o.jsxs)("div",{className:"summary-chip",id:"ai-tests-chip","aria-live":"polite",children:[(0,o.jsx)("span",{className:"summary-chip__icon",children:(0,o.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,o.jsx)("path",{d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})})}),(0,o.jsx)("span",{className:"summary-chip__text",id:"tests-analyzed-count",children:function(){var e,t,a,i,n,l,s,o,r=(null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.clinical_summary)||void 0===a||null===(i=a.abnormal_readings)||void 0===i?void 0:i.length)||0,d=(null===Ie||void 0===Ie||null===(n=Ie.report_data)||void 0===n||null===(l=n.data)||void 0===l||null===(s=l.clinical_summary)||void 0===s||null===(o=s.normal_readings)||void 0===o?void 0:o.length)||0;return"".concat(r+d," parameters analyzed")}()})]}),(0,o.jsxs)("span",{id:"ai-risk-badge",className:"risk-chip ".concat(function(){var e,t,a,i,n,l=(null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.clinical_summary)||void 0===a||null===(i=a.overall_health_status)||void 0===i||null===(n=i.risk_assessment)||void 0===n?void 0:n.toLowerCase())||"";return l.includes("high")?"risk-high":l.includes("moderate")?"risk-moderate":l.includes("low")?"risk-low":"risk-unknown"}()),children:["Risk Assessment: ",(null===Ie||void 0===Ie||null===(E=Ie.report_data)||void 0===E||null===(I=E.data)||void 0===I||null===(T=I.clinical_summary)||void 0===T||null===(R=T.overall_health_status)||void 0===R?void 0:R.risk_assessment)||"Pending"]})]})]}),(0,o.jsxs)("section",{className:"panel section-card",id:"clinical-summary",children:[(0,o.jsx)("div",{className:"section-head",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{className:"section-heading",children:"Clinical Summary"}),(0,o.jsx)("p",{className:"section-subheading",children:"Detailed analysis of your report parameters."})]})}),(0,o.jsxs)("div",{className:"segmented",role:"tablist","data-segmented":"clinical",children:[(0,o.jsx)("button",{className:"seg-btn active",type:"button","data-tab":"abnormal",id:"tab-btn-abnormal",children:"Abnormal readings"}),(0,o.jsx)("button",{className:"seg-btn",type:"button","data-tab":"normal",id:"tab-btn-normal",children:"Normal readings"})]}),(0,o.jsxs)("div",{className:"tab-content",children:[(0,o.jsx)("div",{className:"tab-panel active",id:"abnormal",children:(0,o.jsx)("div",{className:"findings-list",id:"findings-list",children:(null===Ie||void 0===Ie||null===(B=Ie.report_data)||void 0===B||null===(q=B.data)||void 0===q||null===(M=q.clinical_summary)||void 0===M||null===(P=M.abnormal_readings)||void 0===P?void 0:P.length)>0?Ie.report_data.data.clinical_summary.abnormal_readings.map((function(e,t){var a,i,n,l,s,r,d,c,u,m;return(0,o.jsxs)("div",{className:"finding-item finding-item--abnormal ".concat("high"===(null===e||void 0===e||null===(a=e.status)||void 0===a?void 0:a.toLowerCase())?"finding-item--high":""),children:[(0,o.jsx)("div",{className:"finding-top",children:(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:"finding-parameter-row align-items-start",children:[(0,o.jsxs)("div",{className:"left-box flex-grow-1 ",children:[(0,o.jsx)("h3",{className:"finding-parameter",children:(null===e||void 0===e?void 0:e.parameter_name)||""}),(0,o.jsxs)("div",{className:"finding-value-row",children:[(0,o.jsx)("span",{className:"finding-value",children:(null===e||void 0===e?void 0:e.value)||""}),(0,o.jsx)("span",{className:"finding-unit",children:(null===e||void 0===e?void 0:e.units)||""})]}),(0,o.jsxs)("p",{className:"normal-range",children:["Normal: ",(null===e||void 0===e?void 0:e.normal_range)||""]})]}),(0,o.jsxs)("div",{className:"status-box",children:[(0,o.jsxs)("svg",{className:"lucide finding-icon ".concat("high"===(null===e||void 0===e||null===(i=e.status)||void 0===i?void 0:i.toLowerCase())?"finding-icon--status-high":"finding-icon--status-low"),viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,o.jsx)("polyline",{points:"high"===(null===e||void 0===e||null===(n=e.status)||void 0===n?void 0:n.toLowerCase())?"23 6 13.5 15.5 8.5 10.5 1 18":"low"===(null===e||void 0===e||null===(l=e.status)||void 0===l?void 0:l.toLowerCase())?"23 18 13.5 8.5 8.5 13.5 1 6":"4 12 20 12"}),"high"===(null===e||void 0===e||null===(s=e.status)||void 0===s?void 0:s.toLowerCase())?(0,o.jsx)("polyline",{points:"17 6 23 6 23 12"}):"low"===(null===e||void 0===e||null===(r=e.status)||void 0===r?void 0:r.toLowerCase())?(0,o.jsx)("polyline",{points:"17 18 23 18 23 12"}):null]}),(0,o.jsx)("span",{className:"status-badge ".concat("high"===(null===e||void 0===e||null===(d=e.status)||void 0===d?void 0:d.toLowerCase())?"status-high":"status-low"),children:(null===e||void 0===e||null===(c=e.status)||void 0===c?void 0:c.toUpperCase())||"ABNORMAL"})]})]})})}),(0,o.jsxs)("div",{className:"finding-details",children:[(0,o.jsxs)("div",{className:"detail-group",children:[(0,o.jsxs)("h4",{children:[(0,o.jsx)("span",{className:"dot-orange"})," Clinical Interpretation"]}),(0,o.jsx)("ul",{className:"detail-list",children:(0,o.jsx)("li",{children:(null===e||void 0===e?void 0:e.clinical_note)||"Not available"})})]}),(0,o.jsxs)("div",{className:"detail-group",children:[(0,o.jsxs)("h4",{children:[(0,o.jsx)("span",{className:"dot-orange"})," Potential Causes"]}),(0,o.jsx)("ul",{className:"detail-list",children:(null===e||void 0===e||null===(u=e.causes)||void 0===u?void 0:u.length)>0?e.causes.map((function(e,t){return(0,o.jsx)("li",{children:e},t)})):(0,o.jsx)("li",{children:"Not available"})})]}),(0,o.jsxs)("div",{className:"detail-group",children:[(0,o.jsxs)("h4",{children:[(0,o.jsx)("span",{className:"dot-red"})," Health Impacts"]}),(0,o.jsx)("ul",{className:"detail-list",children:(null===e||void 0===e||null===(m=e.effects)||void 0===m?void 0:m.length)>0?e.effects.map((function(e,t){return(0,o.jsx)("li",{children:e},t)})):(0,o.jsx)("li",{children:"Not available"})})]})]})]},t)})):(0,o.jsx)("p",{className:"muted italic",children:"No abnormal readings available."})})}),(0,o.jsx)("div",{className:"tab-panel",id:"normal",hidden:!0,children:(0,o.jsx)("div",{className:"findings-list",id:"normal-readings-list",children:(null===Ie||void 0===Ie||null===(O=Ie.report_data)||void 0===O||null===(W=O.data)||void 0===W||null===(V=W.clinical_summary)||void 0===V||null===(D=V.normal_readings)||void 0===D?void 0:D.length)>0?Ie.report_data.data.clinical_summary.normal_readings.map((function(e,t){return(0,o.jsxs)("div",{className:"finding-item finding-item--normal",children:[(0,o.jsx)("div",{className:"finding-top",children:(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"finding-parameter-row",children:[(0,o.jsx)("h3",{className:"finding-parameter",children:(null===e||void 0===e?void 0:e.parameter_name)||""}),(0,o.jsx)("svg",{className:"lucide finding-icon finding-icon--status-normal",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,o.jsx)("polyline",{points:"22 4 12 14.01 9 11.01"})})]}),(0,o.jsxs)("div",{className:"finding-value-row",children:[(0,o.jsx)("span",{className:"finding-value",children:(null===e||void 0===e?void 0:e.value)||""}),(0,o.jsx)("span",{className:"finding-unit",children:(null===e||void 0===e?void 0:e.units)||""}),(0,o.jsx)("span",{className:"status-badge status-normal",children:"NORMAL"})]}),(0,o.jsxs)("p",{className:"normal-range",children:["Normal: ",(null===e||void 0===e?void 0:e.normal_range)||""]})]})}),(0,o.jsx)("div",{className:"finding-details",children:(0,o.jsxs)("div",{className:"detail-group",children:[(0,o.jsxs)("h4",{children:[(0,o.jsx)("span",{className:"dot-orange"})," Clinical Interpretation"]}),(0,o.jsx)("ul",{className:"detail-list",children:(0,o.jsx)("li",{children:(null===e||void 0===e?void 0:e.clinical_interpretation)||"Not available"})})]})})]},t)})):(0,o.jsx)("p",{className:"muted italic",children:"No normal readings available."})})})]})]}),(0,o.jsxs)("section",{className:"panel section-card",id:"key-concerns-tabs",children:[(0,o.jsx)("div",{className:"section-head",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{className:"section-heading",children:"Key Concerns & Action Plan"}),(0,o.jsx)("p",{className:"section-subheading",children:"Understand the priority concerns and what to do next."})]})}),(0,o.jsxs)("div",{className:"segmented",role:"tablist","aria-label":"AI insight tabs",id:"key-concerns-tabs",children:[(0,o.jsx)("button",{className:"seg-btn active",type:"button","data-target":"ai-panel-concerns",role:"tab",id:"tab-btn-ai-concerns",children:"Key concerns"}),(0,o.jsx)("button",{className:"seg-btn",type:"button","data-target":"ai-panel-actions",role:"tab",id:"tab-btn-ai-actions",children:"Action plan"})]}),(0,o.jsxs)("div",{className:"ai-tab-content",children:[(0,o.jsx)("div",{id:"ai-panel-concerns",className:"ai-tab-panel active",children:(0,o.jsx)("div",{id:"ai-concerns-content",className:"insight-list",children:(null===Ie||void 0===Ie||null===(H=Ie.report_data)||void 0===H||null===(F=H.data)||void 0===F||null===(U=F.clinical_summary)||void 0===U||null===(X=U.overall_health_status)||void 0===X||null===(Y=X.key_concerns)||void 0===Y?void 0:Y.length)>0?Ie.report_data.data.clinical_summary.overall_health_status.key_concerns.map((function(e,t){return(0,o.jsxs)("article",{className:"insight-item insight-item--concern",children:[(0,o.jsx)("span",{className:"insight-item__badge","aria-hidden":"true",children:"!"}),(0,o.jsx)("p",{children:e})]},t)})):(0,o.jsx)("p",{className:"muted ital
1ic",children:"No key concerns detected."})})}),(0,o.jsx)("div",{id:"ai-panel-actions",className:"ai-tab-panel",hidden:!0,children:(0,o.jsx)("div",{id:"ai-actions-content",className:"insight-list",children:function(){var e,t,a,i,n,l,s,r,d,c=(null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.clinical_summary)||void 0===a||null===(i=a.overall_health_status)||void 0===i||null===(n=i.immediate_action_items)||void 0===n?void 0:n.length)>0?Ie.report_data.data.clinical_summary.overall_health_status.immediate_action_items:(null===Ie||void 0===Ie||null===(l=Ie.report_data)||void 0===l||null===(s=l.data)||void 0===s||null===(r=s.clinical_summary)||void 0===r||null===(d=r.overall_health_status)||void 0===d?void 0:d.action_plan)||[];return c.length>0?c.map((function(e,t){return(0,o.jsxs)("article",{className:"insight-item insight-item--action",children:[(0,o.jsx)("span",{className:"insight-item__badge","aria-hidden":"true",children:t+1}),(0,o.jsx)("p",{children:e})]},t)})):(0,o.jsx)("p",{className:"muted italic",children:"Not available."})}()})})]})]}),(0,o.jsxs)("section",{className:"panel section-card",id:"follow-up-tests",children:[(0,o.jsxs)("div",{className:"section-head section-head--split",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{className:"section-heading",children:"Follow-up Tests"}),(0,o.jsx)("p",{className:"section-subheading",children:"Recommended tests and timing based on current findings."})]}),(0,o.jsx)("span",{className:"count-pill",id:"followup-count",children:function(){var e,t,a,i,n=(null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.management_plan)||void 0===a||null===(i=a.follow_up_tests)||void 0===i?void 0:i.length)||0;return n>0?"".concat(n," test").concat(1===n?"":"s"," suggested"):"No follow-ups"}()})]}),(0,o.jsxs)("div",{className:"followup-cta",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"followup-cta__title",children:"Book these tests with Curelo"}),(0,o.jsx)("div",{className:"followup-cta__sub",children:"Fast booking \u2022 Trusted labs \u2022 Home sample collection"})]}),(0,o.jsx)("a",{className:"btn btn--primary followup-cta__btn",target:"_blank",rel:"noopener noreferrer",onClick:Re,type:"button",children:"Book Lab Tests"})]}),(0,o.jsx)("div",{className:"followup-grid",id:"reco-list",children:(null===Ie||void 0===Ie||null===(z=Ie.report_data)||void 0===z||null===(Z=z.data)||void 0===Z||null===(G=Z.management_plan)||void 0===G||null===(K=G.follow_up_tests)||void 0===K?void 0:K.length)>0?Ie.report_data.data.management_plan.follow_up_tests.map((function(e,t){return(0,o.jsxs)("article",{className:"followup-item",children:[(0,o.jsxs)("div",{className:"followup-item__top",children:[(0,o.jsx)("h3",{className:"followup-item__name",children:(null===e||void 0===e?void 0:e.recommended_tests)||"Recommended test"}),(null===e||void 0===e?void 0:e.timeline)&&(0,o.jsx)("span",{className:"followup-item__timeline",children:e.timeline})]}),(0,o.jsxs)("p",{className:"followup-item__why",children:[(0,o.jsx)("strong",{children:"Why:"})," ",(null===e||void 0===e?void 0:e.rationale)||"Not available"]})]},t)})):(0,o.jsxs)("article",{className:"followup-item",children:[(0,o.jsx)("div",{className:"followup-item__top",children:(0,o.jsx)("h3",{className:"followup-item__name",children:"No follow-up tests recommended"})}),(0,o.jsx)("p",{className:"followup-item__why",children:"Your report does not indicate any immediate additional testing."})]})})]}),(0,o.jsxs)("section",{className:"panel section-card",id:"medication-section",children:[(0,o.jsx)("div",{className:"section-head",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{className:"section-heading",children:"Medication Considerations"}),(0,o.jsx)("p",{className:"section-subheading",children:"Potential supplement and interaction notes."})]})}),(0,o.jsx)("div",{className:"med-track",id:"medication-list","aria-label":"Medication cards",tabIndex:"0",children:(null===Ie||void 0===Ie||null===(Q=Ie.report_data)||void 0===Q||null===($=Q.data)||void 0===$||null===(J=$.management_plan)||void 0===J||null===(ee=J.medication_considerations)||void 0===ee?void 0:ee.length)>0?Ie.report_data.data.management_plan.medication_considerations.map((function(e,t){return(0,o.jsxs)("article",{className:"med-slide",children:[(0,o.jsx)("h3",{className:"med-slide__title",children:(null===e||void 0===e?void 0:e.condition)||"Medication Note ".concat(t+1)}),(0,o.jsxs)("div",{className:"med-kv",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"med-k",children:"Supplements"}),(0,o.jsx)("div",{className:"med-v",children:(null===e||void 0===e?void 0:e.supplements)?(0,o.jsx)("ul",{children:e.supplements.split("\n").map((function(e,t){return(0,o.jsx)("li",{children:e.trim().replace(/^[\u2022\-\u2022]\s*/,"").replace(/^\u2713\s*/,"")},t)}))}):(0,o.jsx)("span",{children:"Not available"})})]}),(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"med-k",children:"Interactions"}),(0,o.jsx)("div",{className:"med-v",children:(null===e||void 0===e?void 0:e.interactions)?(0,o.jsx)("ul",{children:e.interactions.split("\n").map((function(e,t){return(0,o.jsx)("li",{children:e.trim().replace(/^[\u2022\-\u2022]\s*/,"").replace(/^\u2713\s*/,"")},t)}))}):(0,o.jsx)("span",{children:"Not available"})})]})]})]},t)})):(0,o.jsx)("div",{className:"med-slide",children:(0,o.jsx)("div",{className:"med-slide__title",children:"No medication notes"})})})]}),(0,o.jsxs)("section",{className:"panel section-card",id:"lifestyle-section",children:[(0,o.jsx)("div",{className:"section-head",children:(0,o.jsxs)("div",{children:[(0,o.jsx)("h2",{className:"section-heading",children:"Lifestyle Modifications"}),(0,o.jsx)("p",{className:"section-subheading",children:"Actionable category-wise recommendations."})]})}),(0,o.jsx)("div",{className:"lifestyle-tabs",id:"lifestyle-tabs",role:"tablist","aria-label":"Lifestyle categories",children:function(){var e,t,a,n=((null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.management_plan)||void 0===a?void 0:a.lifestyle_modifications)||[]).reduce((function(e,t){var a=(t.category||"General").toUpperCase();return((i=e)[a]||(i[a]=[])).push(t),e}),{});return Object.keys(n).map((function(e,t){return(0,o.jsx)("button",{className:"lifestyle-tab-btn ".concat(0===t?"is-active":""),"data-cat":e,children:e},e)}))}()}),(0,o.jsx)("div",{className:"lifestyle-track",id:"lifestyle-list","aria-label":"Lifestyle category cards",tabIndex:"0",children:function(){var e,t,a,i=((null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.management_plan)||void 0===a?void 0:a.lifestyle_modifications)||[]).reduce((function(e,t){var a=(t.category||"General").toUpperCase();return((n=e)[a]||(n[a]=[])).push(t),e}),{}),l=Object.keys(i),s={DIET:'<svg class="lucide" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z"/></svg>',EXERCISE:'<svg class="lucide" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 8h1a4 4 0 0 1 0 8h-1"/><path d="M2 8h16v8H2z"/><path d="M6 12h1"/><path d="M15 12h1"/></svg>',LIFESTYLE:'<svg class="lucide" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><path d="M8 14s1.5 2 4 2 4-2 4-2"/><line x1="9" y1="9" x2="9.01" y2="9"/><line x1="15" y1="9" x2="15.01" y2="9"/></svg>',PRECAUTIONS:'<svg class="lucide" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m11.83 2.13 8.35 14a1.71 1.71 0 0 1-1.47 2.59H3.29a1.71 1.71 0 0 1-1.47-2.59l8.35-14a1.71 1.71 0 0 1 1.66-.87Z"/><line x1="12" y1="9" x2="12" y2="13"/>
1<line x1="12" y1="17" x2="12.01" y2="17"/></svg>',GENERAL:'<svg class="lucide" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="16" x2="12" y2="12"/><line x1="12" y1="8" x2="12.01" y2="8"/></svg>'};return l.map((function(e){var t=s[e]||s.GENERAL,a=i[e].map((function(e,t){return(0,o.jsxs)("div",{className:"lifestyle-item",children:[e.title&&(0,o.jsxs)("div",{className:"lifestyle-item__title",children:[e.title," ",e.badge&&(0,o.jsx)("span",{className:"lifestyle-badge",children:e.badge})]}),e.description&&(0,o.jsx)("div",{className:"lifestyle-item__desc",children:e.description}),(e.tips&&e.tips.length||e.recommendations)&&(0,o.jsxs)("ul",{className:"lifestyle-item__tips",children:[e.tips&&e.tips.map((function(e,t){return(0,o.jsx)("li",{children:e},t)})),e.recommendations&&e.recommendations.split("\n").map((function(e,t){return(0,o.jsx)("li",{children:e.trim().replace(/^[\u2022\-\u2022]\s*/,"").replace(/^\u2713\s*/,"")},"rec-".concat(t))}))]})]},t)}));return(0,o.jsxs)("div",{className:"lifestyle-slide","data-cat":e,children:[(0,o.jsxs)("div",{className:"lifestyle-slide__top justify-content-start fw-semibold",children:[(0,o.jsx)("h3",{className:"lifestyle-slide__title",dangerouslySetInnerHTML:{__html:t}}),e]}),a]},e)}))}()})]}),(0,o.jsx)("div",{className:"app-footer",children:(0,o.jsx)("p",{className:"mb-0",children:"This Smart Report is AI-generated and for informational purposes only. Always consult a qualified clinician for diagnosis and treatment."})})]}),(0,o.jsx)("div",{className:"sticky-cta",id:"sticky-cta",role:"region","aria-label":"Book Lab Tests",onClick:Re,children:(0,o.jsxs)("div",{className:"sticky-cta__inner",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"sticky-cta__title",children:"Book recommended tests"}),(0,o.jsx)("div",{className:"sticky-cta__sub",children:"Fast booking \u2022 Trusted labs \u2022 Home sample collection"})]}),(0,o.jsx)("a",{className:"btn btn--primary",target:"_blank",rel:"noopener noreferrer",type:"button",children:"Book Lab Tests"})]})}),(0,o.jsx)(p.Z,{title:(0,o.jsxs)("div",{className:"br-mdl-title-box",children:[(0,o.jsx)("h5",{className:"ask-emil-modal ",children:"BOOK RECOMMENDED TESTS ON WHATSAPP"}),(0,o.jsx)("p",{className:"ask-emil-modal ",children:"Select the tests you want to book for ".concat(null===Ie||void 0===Ie||null===(te=Ie.report_data)||void 0===te||null===(ae=te.data)||void 0===ae||null===(ie=ae.patient_info)||void 0===ie?void 0:ie.name,".")})]}),open:xe,footer:null,className:"booking-recommended-mdl",wrapClassName:"",bodyStyle:{padding:"0px"},style:{top:"5%"},onCancel:function(){return Te()},closeIcon:(0,o.jsx)("div",{className:"modal-dialog",children:(0,o.jsx)("div",{className:"modal-content close-btn-box",children:(0,o.jsx)("div",{className:"btn-close ant-modal-title"})})}),children:(0,o.jsx)("div",{className:"edit_form modal modal modal-dialog modal-content mt-0 pt-0 recommend-test",tabIndex:"-1","aria-labelledby":"exampleModalLabel","aria-hidden":"true",children:(0,o.jsxs)("div",{className:"modal-body",children:[(0,o.jsxs)("div",{className:"followup-grid",id:"reco-list",children:[(0,o.jsx)("div",{className:"infoWrapper",children:(0,o.jsxs)("div",{className:"infoRow",children:[(0,o.jsx)("div",{className:"infoIcon",children:"i"}),(0,o.jsx)("p",{className:"mb-0",children:"Select the test you want to book, and our representative will get in touch with you to assist with your follow-up tests."})]})}),(null===Ie||void 0===Ie||null===(ne=Ie.report_data)||void 0===ne||null===(le=ne.data)||void 0===le||null===(se=le.management_plan)||void 0===se||null===(oe=se.follow_up_tests)||void 0===oe?void 0:oe.length)>0?Ie.report_data.data.management_plan.follow_up_tests.map((function(e,t){return(0,o.jsxs)("div",{children:[(null===e||void 0===e?void 0:e.timeline)&&(0,o.jsx)("button",{className:"followup-badge",children:e.timeline}),(0,o.jsxs)("article",{className:"followup-item",children:[(0,o.jsx)("div",{className:"checkbox-content",children:(0,o.jsxs)("div",{className:"followup-item__top",children:[(0,o.jsx)("input",{type:"checkbox",id:"consent-".concat(t),name:"consent",className:"form-check-input checkbox",checked:Ne.includes(e),onChange:function(t){return function(e,t){e.target.checked?ye(j(Ne).concat([t])):ye(Ne.f
1ilter((function(e){return e!==t})))}(t,e)}}),(0,o.jsx)("h3",{className:"followup-item__name",children:(null===e||void 0===e?void 0:e.recommended_tests)||"Recommended test"})]})}),(0,o.jsxs)("div",{className:"followup-item__why",children:[(0,o.jsx)("span",{children:"WHY THIS TEST ?"})," ",(0,o.jsx)("br",{}),(0,o.jsx)("p",{children:(null===e||void 0===e?void 0:e.rationale)||"Not available"})]})]},t)]},t)})):(0,o.jsxs)("article",{className:"followup-item",children:[(0,o.jsx)("div",{className:"followup-item__top",children:(0,o.jsx)("h3",{className:"followup-item__name",children:"No follow-up tests recommended"})}),(0,o.jsx)("p",{className:"followup-item__why",children:"Your report does not indicate any immediate additional testing."})]})]}),(0,o.jsx)("div",{className:"flex-box flw-footer",children:(0,o.jsxs)("div",{className:"sticky-cta__inner",children:[(0,o.jsx)("button",{className:"btn btn--primary",rel:"noopener noreferrer",type:"button",onClick:function(){var e,t,a,i=(null===Ie||void 0===Ie||null===(e=Ie.report_data)||void 0===e||null===(t=e.data)||void 0===t||null===(a=t.patient_info)||void 0===a?void 0:a.name)||"",n=Ne.map((function(e){return null===e||void 0===e?void 0:e.recommended_tests})).join(", "),l="Hello, I would like to book these lab tests:\n\nPatient: ".concat(i,"\n\n").concat(n,"\n\nPlease help me with the booking."),s=encodeURIComponent(l),o="https://api.whatsapp.com/send?phone=".concat("919218102619","&text=").concat(s);window.open(o,"_blank"),Te()},disabled:0==(null===Ne||void 0===Ne?void 0:Ne.length),children:"Book Lab Tests"}),(0,o.jsxs)("div",{className:"br-mdl-counter-box",children:[(0,o.jsx)("span",{children:null===Ne||void 0===Ne?void 0:Ne.length}),(null===Ne||void 0===Ne?void 0:Ne.length)>0?"tests selected":"no tests selected"]})]})})]})})})]}):(0,o.jsx)(f.Z,{})]})}}},function(e){e.O(0,[9774,2888,179],(function(){return t=93559,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.