@glycanage/web-components 1.80.0 → 1.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- import{c as _,S as ee,i as le,f as N,s as te,a as ie,e as q,b as x,d as I,g as j,t as M,h as G,j as $,k as L,o as se,l as D,m as ne,p as F,q as w,r,u as U,v as n,w as B,x as S,y as T,z,A as H,B as C}from"./helpers.js";import{A as V}from"./Arrow.js";function re(h){ie(h,"svelte-1hbkqij",".summaryMain.svelte-1hbkqij.svelte-1hbkqij{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1hbkqij hr.svelte-1hbkqij{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1hbkqij h5.svelte-1hbkqij{font-size:16px;margin:0}.summaryMain.svelte-1hbkqij ul.svelte-1hbkqij{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1hbkqij ul li.svelte-1hbkqij:not(:first-child){margin-top:4px}.summaryHeader.svelte-1hbkqij.svelte-1hbkqij{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1hbkqij.svelte-1hbkqij{width:100%;height:100%;margin:auto}.summaryBody.svelte-1hbkqij a.svelte-1hbkqij{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.clp.svelte-1hbkqij a.svelte-1hbkqij{color:#0086A1}.summaryBody.svelte-1hbkqij p.svelte-1hbkqij{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1hbkqij.svelte-1hbkqij{height:100%;width:100%;display:flex}.label.svelte-1hbkqij.svelte-1hbkqij{width:30%;display:flex;align-items:center}.header.svelte-1hbkqij.svelte-1hbkqij{width:100%;height:100%;display:flex;align-items:center}")}function ae(h){let e,l,t,d,v,y,s=h[2]==="mature"&&O(h),m=h[2]==="median"&&X(h),f=h[2]==="youth"&&Y(h),p=h[2]==="shield"&&J(h),c=h[2]==="lifestyle"&&K(h);return{c(){s&&s.c(),e=x(),m&&m.c(),l=x(),f&&f.c(),t=x(),p&&p.c(),d=x(),c&&c.c(),v=I()},m(a,i){s&&s.m(a,i),j(a,e,i),m&&m.m(a,i),j(a,l,i),f&&f.m(a,i),j(a,t,i),p&&p.m(a,i),j(a,d,i),c&&c.m(a,i),j(a,v,i),y=!0},p(a,i){a[2]==="mature"?s?(s.p(a,i),i&4&&$(s,1)):(s=O(a),s.c(),$(s,1),s.m(e.parentNode,e)):s&&(D(),M(s,1,1,()=>{s=null}),G()),a[2]==="median"?m?(m.p(a,i),i&4&&$(m,1)):(m=X(a),m.c(),$(m,1),m.m(l.parentNode,l)):m&&(D(),M(m,1,1,()=>{m=null}),G()),a[2]==="youth"?f?(f.p(a,i),i&4&&$(f,1)):(f=Y(a),f.c(),$(f,1),f.m(t.parentNode,t)):f&&(D(),M(f,1,1,()=>{f=null}),G()),a[2]==="shield"?p?(p.p(a,i),i&4&&$(p,1)):(p=J(a),p.c(),$(p,1),p.m(d.parentNode,d)):p&&(D(),M(p,1,1,()=>{p=null}),G()),a[2]==="lifestyle"?c?(c.p(a,i),i&4&&$(c,1)):(c=K(a),c.c(),$(c,1),c.m(v.parentNode,v)):c&&(D(),M(c,1,1,()=>{c=null}),G())},i(a){y||($(s),$(m),$(f),$(p),$(c),y=!0)},o(a){M(s),M(m),M(f),M(p),M(c),y=!1},d(a){a&&(L(e),L(l),L(t),L(d),L(v)),s&&s.d(a),m&&m.d(a),f&&f.d(a),p&&p.d(a),c&&c.d(a)}}}function oe(h){let e,l,t,d,v,y,s=h[3]?"Some overlap":h[4]?"Minor overlap":"No significant overlap",m,f,p,c,a,i;function u(g,k){return g[3]||g[4]?ce:pe}let b=u(h),o=b(h);return{c(){e=q("div"),l=q("div"),t=q("div"),o.c(),d=x(),v=q("div"),y=q("b"),m=F(s),f=F(" of glycan indexes between your patient and this condition."),p=x(),c=q("hr"),a=x(),i=q("div"),i.innerHTML='<h5 class="svelte-1hbkqij">Signs and symptoms</h5> <ul class="svelte-1hbkqij"><li class="svelte-1hbkqij">Abnormal vaginal bleeding</li> <li class="svelte-1hbkqij">Pelvic pain</li> <li class="svelte-1hbkqij">Unintended weight loss</li></ul> <h5 class="svelte-1hbkqij">Possible follow-up</h5> <ul class="svelte-1hbkqij"><li class="svelte-1hbkqij">Transvaginal ultrasound</li> <li class="svelte-1hbkqij">Endometrial biopsy</li> <li class="svelte-1hbkqij">Computed tomography (CT) scan</li></ul> <h5 class="svelte-1hbkqij">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7333120/" class="svelte-1hbkqij">Serum immunoglobulin G N-glycome: a potential biomarker in endometrial cancer</a> <p class="svelte-1hbkqij">A total of 94 EC patients and 112 healthy females were recruited and sorted into an EC cohort and a control cohort. Serum samples were obtained from every participant, and IgG N-glycome profiling was conducted using ultra-performance liquid chromatography (UPLC).</p>',w(t,"transform","translate(-50%)"),w(y,"color",h[3]||h[4]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-1hbkqij"),r(c,"class","svelte-1hbkqij"),r(i,"class","summaryBody svelte-1hbkqij"),U(i,"clp",h[0]==="clp"),r(e,"class","summaryMain svelte-1hbkqij")},m(g,k){j(g,e,k),n(e,l),n(l,t),o.m(t,null),n(l,d),n(l,v),n(v,y),n(y,m),n(v,f),n(e,p),n(e,c),n(e,a),n(e,i)},p(g,k){b!==(b=u(g))&&(o.d(1),o=b(g),o&&(o.c(),o.m(t,null))),k&24&&s!==(s=g[3]?"Some overlap":g[4]?"Minor overlap":"No significant overlap")&&B(m,s),k&24&&w(y,"color",g[3]||g[4]?"#F2590D":"#12A195"),k&1&&U(i,"clp",g[0]==="clp")},i:S,o:S,d(g){g&&L(e),o.d()}}}function de(h){let e,l,t,d,v,y,s,m=h[3]?"Some overlap":h[4]?"Minor overlap":"No significant overlap",f;function p(i,u){return i[3]||i[4]?he:me}let c=p(h),a=c(h);return{c(){e=q("div"),l=q("div"),t=q("b"),d=F(h[9]),v=F("/5"),y=x(),a.c(),s=F(`
2
- \xA0\xA0`),f=F(m),w(l,"padding-right","10px"),r(e,"class","header svelte-1hbkqij")},m(i,u){j(i,e,u),n(e,l),n(l,t),n(t,d),n(t,v),n(e,y),a.m(e,null),n(e,s),n(e,f)},p(i,u){u&512&&B(d,i[9]),c===(c=p(i))&&a?a.p(i,u):(a.d(1),a=c(i),a&&(a.c(),a.m(e,s))),u&24&&m!==(m=i[3]?"Some overlap":i[4]?"Minor overlap":"No significant overlap")&&B(f,m)},i:S,o:S,d(i){i&&L(e),a.d()}}}function O(h){let e,l,t,d,v,y,s,m,f,p,c,a,i,u,b;return u=new V({props:{type:"right",percentile:h[8]}}),{c(){e=q("div"),l=q("div"),t=T("svg"),d=T("path"),y=x(),s=q("div"),m=q("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",f=x(),p=q("div"),c=F(h[7]),a=x(),i=q("div"),z(u.$$.fragment),r(d,"fill",v=h[8]<=68?"#12A195":"#F2590D"),r(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),w(s,"display","flex"),w(s,"flex-direction","column"),w(s,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),w(l,"font-size","0.8rem"),w(i,"width","70%"),w(i,"display","flex"),w(i,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(o,g){j(o,e,g),n(e,l),n(l,t),n(t,d),n(l,y),n(l,s),n(s,m),n(s,f),n(s,p),n(p,c),n(e,a),n(e,i),H(u,i,null),b=!0},p(o,g){(!b||g&256&&v!==(v=o[8]<=68?"#12A195":"#F2590D"))&&r(d,"fill",v),(!b||g&128)&&B(c,o[7]);const k={};g&256&&(k.percentile=o[8]),u.$set(k)},i(o){b||($(u.$$.fragment,o),b=!0)},o(o){M(u.$$.fragment,o),b=!1},d(o){o&&L(e),C(u)}}}function X(h){let e,l,t,d,v,y,s,m,f,p,c,a,i,u,b;return u=new V({props:{type:"left",percentile:h[8]}}),{c(){e=q("div"),l=q("div"),t=T("svg"),d=T("path"),y=x(),s=q("div"),m=q("div"),m.innerHTML="Glycan <b>Median (G1)</b>",f=x(),p=q("div"),c=F(h[7]),a=x(),i=q("div"),z(u.$$.fragment),r(d,"fill",v=h[8]>=32?"#12A195":"#F2590D"),r(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),w(s,"display","flex"),w(s,"flex-direction","column"),w(s,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),w(l,"font-size","0.8rem"),w(i,"width","70%"),w(i,"display","flex"),w(i,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(o,g){j(o,e,g),n(e,l),n(l,t),n(t,d),n(l,y),n(l,s),n(s,m),n(s,f),n(s,p),n(p,c),n(e,a),n(e,i),H(u,i,null),b=!0},p(o,g){(!b||g&256&&v!==(v=o[8]>=32?"#12A195":"#F2590D"))&&r(d,"fill",v),(!b||g&128)&&B(c,o[7]);const k={};g&256&&(k.percentile=o[8]),u.$set(k)},i(o){b||($(u.$$.fragment,o),b=!0)},o(o){M(u.$$.fragment,o),b=!1},d(o){o&&L(e),C(u)}}}function Y(h){let e,l,t,d,v,y,s,m,f,p,c,a,i,u,b;return u=new V({props:{type:"left",percentile:h[8]}}),{c(){e=q("div"),l=q("div"),t=T("svg"),d=T("path"),y=x(),s=q("div"),m=q("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",f=x(),p=q("div"),c=F(h[7]),a=x(),i=q("div"),z(u.$$.fragment),r(d,"fill",v=h[8]>=32?"#12A195":"#F2590D"),r(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),w(s,"display","flex"),w(s,"flex-direction","column"),w(s,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),w(l,"font-size","0.8rem"),w(i,"width","70%"),w(i,"display","flex"),w(i,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(o,g){j(o,e,g),n(e,l),n(l,t),n(t,d),n(l,y),n(l,s),n(s,m),n(s,f),n(s,p),n(p,c),n(e,a),n(e,i),H(u,i,null),b=!0},p(o,g){(!b||g&256&&v!==(v=o[8]>=32?"#12A195":"#F2590D"))&&r(d,"fill",v),(!b||g&128)&&B(c,o[7]);const k={};g&256&&(k.percentile=o[8]),u.$set(k)},i(o){b||($(u.$$.fragment,o),b=!0)},o(o){M(u.$$.fragment,o),b=!1},d(o){o&&L(e),C(u)}}}function J(h){let e,l,t,d,v,y,s,m,f,p,c,a,i,u,b;return u=new V({props:{type:"left",percentile:h[8]}}),{c(){e=q("div"),l=q("div"),t=T("svg"),d=T("path"),y=x(),s=q("div"),m=q("div"),m.innerHTML="Glycan <b>Shield (S)</b>",f=x(),p=q("div"),c=F(h[7]),a=x(),i=q("div"),z(u.$$.fragment),r(d,"fill",v=h[8]>=32?"#12A195":"#F2590D"),r(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),w(s,"display","flex"),w(s,"flex-direction","column"),w(s,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),w(l,"font-size","0.8rem"),w(i,"width","70%"),w(i,"display","flex"),w(i,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(o,g){j(o,e,g),n(e,l),n(l,t),n(t,d),n(l,y),n(l,s),n(s,m),n(s,f),n(s,p),n(p,c),n(e,a),n(e,i),H(u,i,null),b=!0},p(o,g){(!b||g&256&&v!==(v=o[8]>=32?"#12A195":"#F2590D"))&&r(d,"fill",v),(!b||g&128)&&B(c,o[7]);const k={};g&256&&(k.percentile=o[8]),u.$set(k)},i(o){b||($(u.$$.fragment,o),b=!0)},o(o){M(u.$$.fragment,o),b=!1},d(o){o&&L(e),C(u)}}}function K(h){let e,l,t,d,v,y,s,m,f,p,c,a,i,u,b;return u=new V({props:{type:"right",percentile:h[8]}}),{c(){e=q("div"),l=q("div"),t=T("svg"),d=T("path"),y=x(),s=q("div"),m=q("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",f=x(),p=q("div"),c=F(h[7]),a=x(),i=q("div"),z(u.$$.fragment),r(d,"fill",v=h[8]<=68?"#12A195":"#F2590D"),r(d,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),w(s,"display","flex"),w(s,"flex-direction","column"),w(s,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),w(l,"font-size","0.8rem"),w(i,"width","70%"),w(i,"display","flex"),w(i,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(o,g){j(o,e,g),n(e,l),n(l,t),n(t,d),n(l,y),n(l,s),n(s,m),n(s,f),n(s,p),n(p,c),n(e,a),n(e,i),H(u,i,null),b=!0},p(o,g){(!b||g&256&&v!==(v=o[8]<=68?"#12A195":"#F2590D"))&&r(d,"fill",v),(!b||g&128)&&B(c,o[7]);const k={};g&256&&(k.percentile=o[8]),u.$set(k)},i(o){b||($(u.$$.fragment,o),b=!0)},o(o){M(u.$$.fragment,o),b=!1},d(o){o&&L(e),C(u)}}}function pe(h){let e,l;return{c(){e=T("svg"),l=T("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,d){j(t,e,d),n(e,l)},d(t){t&&L(e)}}}function ce(h){let e,l;return{c(){e=T("svg"),l=T("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,d){j(t,e,d),n(e,l)},d(t){t&&L(e)}}}function me(h){let e,l;return{c(){e=T("svg"),l=T("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,d){j(t,e,d),n(e,l)},p:S,d(t){t&&L(e)}}}function he(h){let e,l,t;return{c(){e=T("svg"),l=T("path"),r(l,"fill",t=h[4]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(d,v){j(d,e,v),n(e,l)},p(d,v){v&16&&t!==(t=d[4]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(d){d&&L(e)}}}function ue(h){let e,l,t,d,v,y;const s=[de,oe,ae],m=[];function f(p,c){return p[1]==="header"&&p[6]?0:p[1]==="summary"&&p[5]?1:2}return t=f(h),d=m[t]=s[t](h),{c(){e=q("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=x(),d.c(),v=I()},m(p,c){j(p,e,c),j(p,l,c),m[t].m(p,c),j(p,v,c),y=!0},p(p,[c]){let a=t;t=f(p),t===a?m[t].p(p,c):(D(),M(m[a],1,1,()=>{m[a]=null}),G(),d=m[t],d?d.p(p,c):(d=m[t]=s[t](p),d.c()),$(d,1),d.m(v.parentNode,v))},i(p){y||($(d),y=!0)},o(p){M(d),y=!1},d(p){p&&(L(e),L(l),L(v)),m[t].d(p)}}}function ve(h,e,l){let{brand:t}=e,{report:d}=e,{type:v}=e,{subtype:y}=e,{service:s=window.GaReportService}=e,m=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],f,p=!1,c=!1,a=!1,i=!1,u="",b=0,o=0,g=0,k=0,P=0,E=0,Z=0;function W(){b>68&&l(9,Z++,Z),o<32&&l(9,Z++,Z),g<32&&l(9,Z++,Z),k<32&&l(9,Z++,Z),P>68&&l(9,Z++,Z)}const R=m.find(A=>A.name===y);return se(async()=>{f=await s.getReport(d),R&&(l(8,E=Number(f[R.csvName])),l(7,u=ne(E))),b=Number(f.G0percentile),o=Number(f.G1percentile),g=Number(f.G2percentile),k=Number(f.Spercentile),P=Number(f.Bpercentile),W(),Z===5&&l(3,p=!0),Z>2&&Z<5&&l(4,c=!0),l(6,i=!0),l(5,a=!0)}),h.$$set=A=>{"brand"in A&&l(0,t=A.brand),"report"in A&&l(10,d=A.report),"type"in A&&l(1,v=A.type),"subtype"in A&&l(2,y=A.subtype),"service"in A&&l(11,s=A.service)},[t,v,y,p,c,a,i,u,E,Z,d,s]}class Q extends ee{constructor(e){super(),le(this,e,ve,ue,te,{brand:0,report:10,type:1,subtype:2,service:11},re)}get brand(){return this.$$.ctx[0]}set brand(e){this.$$set({brand:e}),N()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),N()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),N()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),N()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),N()}}customElements.define("ga-endometrial",_(Q,{brand:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Q as default};
1
+ import{c as K,S as Q,i as W,f as E,s as ee,a as le,e as w,b as $,d as R,g as T,t as Z,h as D,j as L,k as q,o as te,l as S,m as se,p as A,q as x,r,u as n,v as B,w as F,x as M,y as H,z as C,A as V}from"./helpers.js";import{A as _}from"./Arrow.js";function ie(v){le(v,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function ne(v){let e,l,t,o,d,z,i=v[1]==="mature"&&I(v),c=v[1]==="median"&&U(v),u=v[1]==="youth"&&j(v),p=v[1]==="shield"&&O(v),f=v[1]==="lifestyle"&&X(v);return{c(){i&&i.c(),e=$(),c&&c.c(),l=$(),u&&u.c(),t=$(),p&&p.c(),o=$(),f&&f.c(),d=R()},m(a,s){i&&i.m(a,s),T(a,e,s),c&&c.m(a,s),T(a,l,s),u&&u.m(a,s),T(a,t,s),p&&p.m(a,s),T(a,o,s),f&&f.m(a,s),T(a,d,s),z=!0},p(a,s){a[1]==="mature"?i?(i.p(a,s),s&2&&L(i,1)):(i=I(a),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(S(),Z(i,1,1,()=>{i=null}),D()),a[1]==="median"?c?(c.p(a,s),s&2&&L(c,1)):(c=U(a),c.c(),L(c,1),c.m(l.parentNode,l)):c&&(S(),Z(c,1,1,()=>{c=null}),D()),a[1]==="youth"?u?(u.p(a,s),s&2&&L(u,1)):(u=j(a),u.c(),L(u,1),u.m(t.parentNode,t)):u&&(S(),Z(u,1,1,()=>{u=null}),D()),a[1]==="shield"?p?(p.p(a,s),s&2&&L(p,1)):(p=O(a),p.c(),L(p,1),p.m(o.parentNode,o)):p&&(S(),Z(p,1,1,()=>{p=null}),D()),a[1]==="lifestyle"?f?(f.p(a,s),s&2&&L(f,1)):(f=X(a),f.c(),L(f,1),f.m(d.parentNode,d)):f&&(S(),Z(f,1,1,()=>{f=null}),D())},i(a){z||(L(i),L(c),L(u),L(p),L(f),z=!0)},o(a){Z(i),Z(c),Z(u),Z(p),Z(f),z=!1},d(a){a&&(q(e),q(l),q(t),q(o),q(d)),i&&i.d(a),c&&c.d(a),u&&u.d(a),p&&p.d(a),f&&f.d(a)}}}function re(v){let e,l,t,o,d,z,i=v[2]?"Some overlap":v[3]?"Minor overlap":"No significant overlap",c,u,p,f,a,s;function h(g,b){return g[2]||g[3]?oe:me}let y=h(v),m=y(v);return{c(){e=w("div"),l=w("div"),t=w("div"),m.c(),o=$(),d=w("div"),z=w("b"),c=A(i),u=A(" of glycan indexes between your patient and this condition."),p=$(),f=w("hr"),a=$(),s=w("div"),s.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Abnormal vaginal bleeding</li> <li class="svelte-1285zfm">Pelvic pain</li> <li class="svelte-1285zfm">Unintended weight loss</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Transvaginal ultrasound</li> <li class="svelte-1285zfm">Endometrial biopsy</li> <li class="svelte-1285zfm">Computed tomography (CT) scan</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7333120/" class="svelte-1285zfm">Serum immunoglobulin G N-glycome: a potential biomarker in endometrial cancer</a> <p class="svelte-1285zfm">A total of 94 EC patients and 112 healthy females were recruited and sorted into an EC cohort and a control cohort. Serum samples were obtained from every participant, and IgG N-glycome profiling was conducted using ultra-performance liquid chromatography (UPLC).</p>',x(t,"transform","translate(-50%)"),x(z,"color",v[2]||v[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-1285zfm"),r(f,"class","svelte-1285zfm"),r(s,"class","summaryBody svelte-1285zfm"),r(e,"class","summaryMain svelte-1285zfm")},m(g,b){T(g,e,b),n(e,l),n(l,t),m.m(t,null),n(l,o),n(l,d),n(d,z),n(z,c),n(d,u),n(e,p),n(e,f),n(e,a),n(e,s)},p(g,b){y!==(y=h(g))&&(m.d(1),m=y(g),m&&(m.c(),m.m(t,null))),b&12&&i!==(i=g[2]?"Some overlap":g[3]?"Minor overlap":"No significant overlap")&&B(c,i),b&12&&x(z,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:F,o:F,d(g){g&&q(e),m.d()}}}function ae(v){let e,l,t,o,d,z,i,c=v[2]?"Some overlap":v[3]?"Minor overlap":"No significant overlap",u;function p(s,h){return s[2]||s[3]?ce:pe}let f=p(v),a=f(v);return{c(){e=w("div"),l=w("div"),t=w("b"),o=A(v[8]),d=A("/5"),z=$(),a.c(),i=A(`
2
+ \xA0\xA0`),u=A(c),x(l,"padding-right","10px"),r(e,"class","header svelte-1285zfm")},m(s,h){T(s,e,h),n(e,l),n(l,t),n(t,o),n(t,d),n(e,z),a.m(e,null),n(e,i),n(e,u)},p(s,h){h&256&&B(o,s[8]),f===(f=p(s))&&a?a.p(s,h):(a.d(1),a=f(s),a&&(a.c(),a.m(e,i))),h&12&&c!==(c=s[2]?"Some overlap":s[3]?"Minor overlap":"No significant overlap")&&B(u,c)},i:F,o:F,d(s){s&&q(e),a.d()}}}function I(v){let e,l,t,o,d,z,i,c,u,p,f,a,s,h,y;return h=new _({props:{type:"right",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),z=$(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Mature (G0)</b>",u=$(),p=w("div"),f=A(v[6]),a=$(),s=w("div"),H(h.$$.fragment),r(o,"fill",d=v[7]<=68?"#12A195":"#F2590D"),r(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),n(e,l),n(l,t),n(t,o),n(l,z),n(l,i),n(i,c),n(i,u),n(i,p),n(p,f),n(e,a),n(e,s),C(h,s,null),y=!0},p(m,g){(!y||g&128&&d!==(d=m[7]<=68?"#12A195":"#F2590D"))&&r(o,"fill",d),(!y||g&64)&&B(f,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){Z(h.$$.fragment,m),y=!1},d(m){m&&q(e),V(h)}}}function U(v){let e,l,t,o,d,z,i,c,u,p,f,a,s,h,y;return h=new _({props:{type:"left",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),z=$(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Median (G1)</b>",u=$(),p=w("div"),f=A(v[6]),a=$(),s=w("div"),H(h.$$.fragment),r(o,"fill",d=v[7]>=32?"#12A195":"#F2590D"),r(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),n(e,l),n(l,t),n(t,o),n(l,z),n(l,i),n(i,c),n(i,u),n(i,p),n(p,f),n(e,a),n(e,s),C(h,s,null),y=!0},p(m,g){(!y||g&128&&d!==(d=m[7]>=32?"#12A195":"#F2590D"))&&r(o,"fill",d),(!y||g&64)&&B(f,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){Z(h.$$.fragment,m),y=!1},d(m){m&&q(e),V(h)}}}function j(v){let e,l,t,o,d,z,i,c,u,p,f,a,s,h,y;return h=new _({props:{type:"left",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),z=$(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Youth (G2)</b>",u=$(),p=w("div"),f=A(v[6]),a=$(),s=w("div"),H(h.$$.fragment),r(o,"fill",d=v[7]>=32?"#12A195":"#F2590D"),r(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),n(e,l),n(l,t),n(t,o),n(l,z),n(l,i),n(i,c),n(i,u),n(i,p),n(p,f),n(e,a),n(e,s),C(h,s,null),y=!0},p(m,g){(!y||g&128&&d!==(d=m[7]>=32?"#12A195":"#F2590D"))&&r(o,"fill",d),(!y||g&64)&&B(f,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){Z(h.$$.fragment,m),y=!1},d(m){m&&q(e),V(h)}}}function O(v){let e,l,t,o,d,z,i,c,u,p,f,a,s,h,y;return h=new _({props:{type:"left",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),z=$(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Shield (S)</b>",u=$(),p=w("div"),f=A(v[6]),a=$(),s=w("div"),H(h.$$.fragment),r(o,"fill",d=v[7]>=32?"#12A195":"#F2590D"),r(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),n(e,l),n(l,t),n(t,o),n(l,z),n(l,i),n(i,c),n(i,u),n(i,p),n(p,f),n(e,a),n(e,s),C(h,s,null),y=!0},p(m,g){(!y||g&128&&d!==(d=m[7]>=32?"#12A195":"#F2590D"))&&r(o,"fill",d),(!y||g&64)&&B(f,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){Z(h.$$.fragment,m),y=!1},d(m){m&&q(e),V(h)}}}function X(v){let e,l,t,o,d,z,i,c,u,p,f,a,s,h,y;return h=new _({props:{type:"right",percentile:v[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),z=$(),i=w("div"),c=w("div"),c.innerHTML="Glycan <b>Lifestyle (B)</b>",u=$(),p=w("div"),f=A(v[6]),a=$(),s=w("div"),H(h.$$.fragment),r(o,"fill",d=v[7]<=68?"#12A195":"#F2590D"),r(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(m,g){T(m,e,g),n(e,l),n(l,t),n(t,o),n(l,z),n(l,i),n(i,c),n(i,u),n(i,p),n(p,f),n(e,a),n(e,s),C(h,s,null),y=!0},p(m,g){(!y||g&128&&d!==(d=m[7]<=68?"#12A195":"#F2590D"))&&r(o,"fill",d),(!y||g&64)&&B(f,m[6]);const b={};g&128&&(b.percentile=m[7]),h.$set(b)},i(m){y||(L(h.$$.fragment,m),y=!0)},o(m){Z(h.$$.fragment,m),y=!1},d(m){m&&q(e),V(h)}}}function me(v){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),n(e,l)},d(t){t&&q(e)}}}function oe(v){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),n(e,l)},d(t){t&&q(e)}}}function pe(v){let e,l;return{c(){e=M("svg"),l=M("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),n(e,l)},p:F,d(t){t&&q(e)}}}function ce(v){let e,l,t;return{c(){e=M("svg"),l=M("path"),r(l,"fill",t=v[3]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(o,d){T(o,e,d),n(e,l)},p(o,d){d&8&&t!==(t=o[3]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(o){o&&q(e)}}}function fe(v){let e,l,t,o,d,z;const i=[ae,re,ne],c=[];function u(p,f){return p[0]==="header"&&p[5]?0:p[0]==="summary"&&p[4]?1:2}return t=u(v),o=c[t]=i[t](v),{c(){e=w("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=$(),o.c(),d=R()},m(p,f){T(p,e,f),T(p,l,f),c[t].m(p,f),T(p,d,f),z=!0},p(p,[f]){let a=t;t=u(p),t===a?c[t].p(p,f):(S(),Z(c[a],1,1,()=>{c[a]=null}),D(),o=c[t],o?o.p(p,f):(o=c[t]=i[t](p),o.c()),L(o,1),o.m(d.parentNode,d))},i(p){z||(L(o),z=!0)},o(p){Z(o),z=!1},d(p){p&&(q(e),q(l),q(d)),c[t].d(p)}}}function ve(v,e,l){let{report:t}=e,{type:o}=e,{subtype:d}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],c,u=!1,p=!1,f=!1,a=!1,s="",h=0,y=0,m=0,g=0,b=0,k=0,N=0;function J(){h>68&&l(8,N++,N),y<32&&l(8,N++,N),m<32&&l(8,N++,N),g<32&&l(8,N++,N),b>68&&l(8,N++,N)}const P=i.find(G=>G.name===d);return te(async()=>{c=await z.getReport(t),P&&(l(7,k=Number(c[P.csvName])),l(6,s=se(k))),h=Number(c.G0percentile),y=Number(c.G1percentile),m=Number(c.G2percentile),g=Number(c.Spercentile),b=Number(c.Bpercentile),J(),N===5&&l(2,u=!0),N>2&&N<5&&l(3,p=!0),l(5,a=!0),l(4,f=!0)}),v.$$set=G=>{"report"in G&&l(9,t=G.report),"type"in G&&l(0,o=G.type),"subtype"in G&&l(1,d=G.subtype),"service"in G&&l(10,z=G.service)},[o,d,u,p,f,a,s,k,N,t,z]}class Y extends Q{constructor(e){super(),W(this,e,ve,fe,ee,{report:9,type:0,subtype:1,service:10},ie)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),E()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),E()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),E()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),E()}}customElements.define("ga-endometrial",K(Y,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{Y as default};
package/dist/helpers.js CHANGED
@@ -1 +1 @@
1
- var q=Object.defineProperty,Z=(e,t,n)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,E=(e,t,n)=>(Z(e,typeof t!="symbol"?t+"":t,n),n);function f(){}function z(e){return e()}function B(){return Object.create(null)}function S(e){e.forEach(z)}function F(e){return typeof e=="function"}function Q(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ee(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function te(e,t,n){const i=ne(e);if(!i.getElementById(t)){const o=w("style");o.id=t,o.textContent=n,oe(i,o)}}function ne(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function oe(e,t){return W(e.head||e,t),t.sheet}function Y(e,t,n){e.insertBefore(t,n||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function w(e){return document.createElement(e)}function ie(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function g(e){return document.createTextNode(e)}function re(){return g(" ")}function ae(){return g("")}function C(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function se(e){return Array.from(e.childNodes)}function ce(e,t){t=""+t,e.data!==t&&(e.data=t)}function le(e,t,n,i){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function Ee(e,t,n){e.classList.toggle(t,!!n)}function Oe(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let h;function p(e){h=e}function ue(){if(!h)throw new Error("Function called outside component initialization");return h}function _e(e){ue().$$.on_mount.push(e)}const _=[],U=[];let d=[];const v=[],de=Promise.resolve();let N=!1;function Le(){N||(N=!0,de.then(b))}function m(e){d.push(e)}const I=new Set;let L=0;function b(){if(L!==0)return;const e=h;do{try{for(;L<_.length;){const t=_[L];L++,p(t),Se(t.$$)}}catch(t){throw _.length=0,L=0,t}for(p(null),_.length=0,L=0;U.length;)U.pop()();for(let t=0;t<d.length;t+=1){const n=d[t];I.has(n)||(I.add(n),n())}d.length=0}while(_.length);for(;v.length;)v.pop()();N=!1,I.clear(),p(e)}function Se(e){if(e.fragment!==null){e.update(),S(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(m)}}function he(e){const t=[],n=[];d.forEach(i=>e.indexOf(i)===-1?t.push(i):n.push(i)),n.forEach(i=>i()),d=t}const P=new Set;let u;function pe(){u={r:0,c:[],p:u}}function fe(){u.r||S(u.c),u=u.p}function j(e,t){e&&e.i&&(P.delete(e),e.i(t))}function Pe(e,t,n,i){if(e&&e.o){if(P.has(e))return;P.add(e),u.c.push(()=>{P.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function Te(e){e&&e.c()}function H(e,t,n){const{fragment:i,after_update:o}=e.$$;i&&i.m(t,n),m(()=>{const r=e.$$.on_mount.map(z).filter(F);e.$$.on_destroy?e.$$.on_destroy.push(...r):S(r),e.$$.on_mount=[]}),o.forEach(m)}function G(e,t){const n=e.$$;n.fragment!==null&&(he(n.after_update),S(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function $e(e,t){e.$$.dirty[0]===-1&&(_.push(e),Le(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ye(e,t,n,i,o,r,c,s=[-1]){const l=h;p(e);const a=e.$$={fragment:null,ctx:[],props:r,update:f,not_equal:o,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:B(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};c&&c(a.root);let M=!1;if(a.ctx=n?n(e,t.props||{},(O,k,...R)=>{const A=R.length?R[0]:k;return a.ctx&&o(a.ctx[O],a.ctx[O]=A)&&(!a.skip_bound&&a.bound[O]&&a.bound[O](A),M&&$e(e,O)),k}):[],a.update(),M=!0,S(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){const O=se(t.target);a.fragment&&a.fragment.l(O),O.forEach(y)}else a.fragment&&a.fragment.c();t.intro&&j(e.$$.fragment),H(e,t.target,t.anchor),b()}p(l)}let V;typeof HTMLElement=="function"&&(V=class extends HTMLElement{constructor(e,t,n){super(),E(this,"$$ctor"),E(this,"$$s"),E(this,"$$c"),E(this,"$$cn",!1),E(this,"$$d",{}),E(this,"$$r",!1),E(this,"$$p_d",{}),E(this,"$$l",{}),E(this,"$$l_u",new Map),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const i=this.$$l_u.get(t);i&&(i(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(o){return()=>{let r;return{c:function(){r=w("slot"),o!=="default"&&C(r,"name",o)},m:function(c,s){Y(c,r,s)},d:function(c){c&&y(r)}}}};if(await Promise.resolve(),!this.$$cn)return;const t={},n=Oe(this);for(const o of this.$$s)o in n&&(t[o]=[e(o)]);for(const o of this.attributes){const r=this.$$g_p(o.name);r in this.$$d||(this.$$d[r]=T(r,o.value,this.$$p_d,"toProp"))}this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const i=()=>{this.$$r=!0;for(const o in this.$$p_d)if(this.$$d[o]=this.$$c.$$.ctx[this.$$c.$$.props[o]],this.$$p_d[o].reflect){const r=T(o,this.$$d[o],this.$$p_d,"toAttribute");r==null?this.removeAttribute(o):this.setAttribute(this.$$p_d[o].attribute||o,r)}this.$$r=!1};this.$$c.$$.after_update.push(i),i();for(const o in this.$$l)for(const r of this.$$l[o]){const c=this.$$c.$on(o,r);this.$$l_u.set(r,c)}this.$$l={}}}attributeChangedCallback(e,t,n){var i;this.$$r||(e=this.$$g_p(e),this.$$d[e]=T(e,n,this.$$p_d,"toProp"),(i=this.$$c)==null||i.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function T(e,t,n,i){var o;const r=(o=n[e])==null?void 0:o.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!i||!n[e])return t;if(i==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function we(e,t,n,i,o,r){let c=class extends V{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(c.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var a;l=T(s,l,t),this.$$d[s]=l,(a=this.$$c)==null||a.$set({[s]:l})}})}),i.forEach(s=>{Object.defineProperty(c.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),r&&(c=r(c)),e.element=c,c}class ge{constructor(){E(this,"$$"),E(this,"$$set")}$destroy(){G(this,1),this.$destroy=f}$on(t,n){if(!F(n))return f;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const o=i.indexOf(n);o!==-1&&i.splice(o,1)}}$set(t){this.$$set&&!ee(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ne="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ne);let x={BIOLOGICAL_AGE:"Biological age",CHRONOLOGICAL_AGE:"Chronological age",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",SOME_OVERLAP_LONG:"Some overlap",MINOR_OVERLAP_LONG:"Minor overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Minor overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_TEN_B:"Urgency to defecate",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes, night sweats)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"Cardiology referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Cardiology referral for other tests (e.g., coronary artery calcium score)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Cardiology referral for other tests (e.g., stress echocardiogram)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist/gynaecologist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",PERCENTILE:"percentile",SINGLE_PERCENTILE:"percentile",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RANKS_YOU:"This result ranks you in the",RELATED_RESEARCH_PAPERS:"Related research papers",YOUR_RESULT:"Your result"},D={BIOLOGICAL_AGE:"Wiek biologiczny",CHRONOLOGICAL_AGE:"Wiek Kalendarzowy",GLYCAN:"Glikan",PEAK:"Pik",LOWER_THAN_AVERAGE:"ni\u017Cszy od warto\u015Bci \u015Bredniej",AROUND_AVERAGE:"W okolicach warto\u015Bci \u015Bredniej",HIGHER_THAN_AVERAGE:"wy\u017Cszy od warto\u015Bci \u015Bredniej",SOME_OVERLAP_LONG:"Znaczny stopie\u0144 pokrywania si\u0119",MINOR_OVERLAP_LONG:"Nieznaczne stopie\u0144 pokrywania si\u0119",NO_OVERLAP_LONG:"Brak znacz\u0105cego pokrywania si\u0119",SOME_OVERLAP:"Cz\u0119\u015Bciowy",MINOR_OVERLAP:"Niewielki",NO_OVERLAP:"Brak",OVERLAP_TEXT:"indeks\xF3w glikanowych mi\u0119dzy pacjentem a badanymi z tym schorzeniem.",SYMPTOMS:"Sygna\u0142y i objawy",SYMPTOM_ONE:"Przewa\u017Cnie przebiega w spos\xF3b bezobjawowy",SYMPTOM_TWO:"Ci\u015Bnienie t\u0119tnicze stale >140/90 mmHg",SYMPTOM_THREE:"Objawy nadci\u015Bnienia z\u0142o\u015Bliwego (b\xF3l g\u0142owy, zawroty g\u0142owy, duszno\u015B\u0107 itp.)",SYMPTOM_FOUR:"Objawy choroby wie\u0144cowej (np. samoistnie ust\u0119puj\u0105cy b\xF3l w klatce piersiowej, bezdech)",SYMPTOM_FIVE:"Objawy choroby t\u0119tnic obwodowych (np. b\xF3l n\xF3g podczas aktywno\u015Bci)",SYMPTOM_SIX:"Samoograniczaj\u0105cy si\u0119 b\xF3l w klatce piersiowej \xB1 promieniuj\u0105cy do szcz\u0119ki/lewego ramienia/plec\xF3w",SYMPTOM_SEVEN:"Duszno\u015B\u0107",SYMPTOM_EIGHT:"Inne (omdlenia, ko\u0142atanie serca, obrz\u0119k n\xF3g, orhhopnoe itp.)",SYMPTOM_NINE:"B\xF3l brzucha i skurcze",SYMPTOM_TEN:"Nawracaj\u0105ca biegunka (\xB1 krew)",SYMPTOM_TEN_B:"Nag\u0142a potrzeba wypr\xF3\u017Cnienia",SYMPTOM_ELEVEN:"Utrata masy cia\u0142a",SYMPTOM_TWELVE:"Og\xF3lnoustrojowe (np. zm\u0119czenie, utrata masy cia\u0142a, owrzodzenia jamy ustnej, wysypka w kszta\u0142cie motyla w okolicy policzk\xF3w i nosa)",SYMPTOM_THIRTEEN:"Narz\u0105dowe (b\xF3l w klatce piersiowej, trudno\u015Bci w oddychaniu, obrz\u0119k n\xF3g, niedokrwisto\u015B\u0107 itp.)",SYMPTOM_FOURTEEN:"B\xF3l i obrz\u0119k staw\xF3w",SYMPTOM_FIFTEEN:"Zm\u0119czenie",SYMPTOM_SIXTEEN:"Zwi\u0119kszone pragnienie i cz\u0119ste oddawanie moczu",SYMPTOM_SEVENTEEN:"Powolne gojenie si\u0119 ran, niewyra\u017Ane widzenie, cz\u0119ste ple\u015Bniawki",SYMPTOM_EIGHTEEN:"Trudno\u015Bci w oddychaniu",SYMPTOM_NINETEEN:"Przewlek\u0142y kaszel (\xB1 produktywny)",SYMPTOM_TWENTY:"Nieregularny cykl menstruacyjny",SYMPTOM_TWENTYONE:"Objawy naczynioruchowe (np. uderzenia gor\u0105ca)",SYMPTOM_TWENTYTWO:"Inne (np. wahania nastroju, trudno\u015Bci poznawcze, zaburzenia snu)",SYMPTOM_TWENTYTHREE:"B\xF3l staw\xF3w, obrz\u0119k, sztywno\u015B\u0107 i rumie\u0144",SYMPTOM_TWENTYFOUR:"Zaj\u0119cie mniejszych staw\xF3w dystalnych (palce r\u0105k i n\xF3g), zwykle symetryczne",SYMPTOM_TWENTYFIVE:"Og\xF3lnoustrojowe (zm\u0119czenie, utrata masy cia\u0142a itp.)",POSSIBLE_FOLLOW_UP:"Ewentualne dalsze dzia\u0142ania",POSSIBLE_FOLLOW_UP_ONE:"Seryjne pomiary ci\u015Bnienia t\u0119tniczego i/lub 24-godzinne monitorowanie ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_TWO:"BMI i/lub kontrola sk\u0142adu cia\u0142a",POSSIBLE_FOLLOW_UP_THREE:"Podstawowe badania krwi (profil lipidowy, czynno\u015B\u0107 nerek i w\u0105troby)",POSSIBLE_FOLLOW_UP_FOUR:"Badania krwi: podstawowy i rozszerzony profil lipidowy (np. Lp(a), ApoB), hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"Kontrola ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_SIX:"EKG",POSSIBLE_FOLLOW_UP_SEVEN:"Skierowanie do kardiologa na inne badania (np. echo serca, TK naczy\u0144 wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Skierowanie do kardiologa na inne badania (np. wska\u017Anik uwapnienia t\u0119tnic wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Skierowanie do kardiologa na inne badania (np. echokardiogram wysi\u0142kowy)",POSSIBLE_FOLLOW_UP_EIGHT:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP",POSSIBLE_FOLLOW_UP_NINE:"Badania ka\u0142u: test na obecno\u015B\u0107 krwi utajonej (FIT), kalprotektyna w kale",POSSIBLE_FOLLOW_UP_TEN:"Skierowanie na kolonoskopi\u0119, TK",POSSIBLE_FOLLOW_UP_ELEVEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP, OB, autoprzeciwcia\u0142a (np. ANA, w tym anty-dsDNA).",POSSIBLE_FOLLOW_UP_TWELVE:"Badanie og\xF3lne moczu",POSSIBLE_FOLLOW_UP_THIRTEEN:"Badania obrazowe ukierunkowane na narz\u0105dy (np. TK klatki piersiowej, TK jamy brzusznej)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, st\u0119\u017Cenie glukozy i insuliny na czczo, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Badania profilu lipidowego krwi: podstawowe i rozszerzone (np. oxLDL, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Inne badania krwi hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Badania krwi: pe\u0142na morfologia krwi",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometria",POSSIBLE_FOLLOW_UP_NINETEEN:"EKG, RTG klatki piersiowej",POSSIBLE_FOLLOW_UP_TWENTY:"Badania krwi (w tym FSH, estradiol, progesteron, testosteron, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Skierowanie do specjalisty/ginekologa zajmuj\u0105cego si\u0119 (peri)menopauz\u0105",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Badania krwi: pe\u0142na morfologia krwi, czynnik reumatoidalny, przeciwcia\u0142a anty-CCP, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Obrazowanie staw\xF3w (zdj\u0119cia rentgenowskie, rezonans magnetyczny)",PERCENTILE:"percentylu",SINGLE_PERCENTILE:"percentyl",RISK_FACTORS:"Czynniki ryzyka",RISK_FACTOR_ONE:"Historia chor\xF3b (np. zesp\xF3\u0142 kardiometaboliczny, choroby autoimmunologiczne)",RISK_FACTOR_TWO:"Historia przyjmowania lek\xF3w (np. statyn, lek\xF3w przeciwzakrzepowych)",RISK_FACTOR_THREE:"Palenie tytoniu",RANKS_YOU:"Twoj wynik klasyfikuje Ci\u0119 w",RELATED_RESEARCH_PAPERS:"Publikacje naukowe",YOUR_RESULT:"Tw\xF3j wynik"},K={BIOLOGICAL_AGE:"Biolo\u0161ka starost",CHRONOLOGICAL_AGE:"Kronolo\u0161ka starost",RANKS_YOU:"Ta rezultat vas uvr\u0161\u010Da med",PERCENTILE:"percentilov",SINGLE_PERCENTILE:"percentil",YOUR_RESULT:"Va\u0161 rezultat"},X={BIOLOGICAL_AGE:"\u751F\u7269\u5B66\u7684\u5E74\u9F62",CHRONOLOGICAL_AGE:"\u66A6\u5E74\u9F62"};function me(e,t="english"){if(t!=="english")return"";if(e===11||e===12||e===13)return"th";switch(e.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function Ie(e,t="english"){const n={english:x,polish:D,slovenian:K,japanese:X};if(e<32)return n[t].LOWER_THAN_AVERAGE;if(e>=32&&e<=68)return n[t].AROUND_AVERAGE;if(e>68)return n[t].HIGHER_THAN_AVERAGE}function be(e="english",t){return{english:x,polish:D,slovenian:K,japanese:X}[e][t]}function J(e,t,n,i,o){const r=(e-t)*(o-i)/(n-t)+i;return r<i?i:r>o?o:r}function $(e,t,n,i){return i===t?50:i===e?9.5:i===n?90.5:i<e?5:i>n?95:i>e&&i<t?J(i,e,t,10,50):i>t&&i<n?J(i,t,n,50,90):0}function Me(e,t,n,i){const o=$(e,t,n,i);if(o<23)return"#DF2120";if(o>=23&&o<=36)return"#F2800D";if(o>36&&o<64)return"#66CCAA";if(o>=64&&o<=77)return"#13A195";if(o>77)return"#015566"}function ke(e,t,n,i){const o=$(e,t,n,i);if(o<23)return"#015566";if(o>=23&&o<=36)return"#13A195";if(o>36&&o<64)return"#66CCAA";if(o>=64&&o<=77)return"#F2800D";if(o>77)return"#DF2120"}function Re(e,t,n,i){const o=$(e,t,n,i);if(o<9.5)return"#DF2120";if(o>=9.5&&o<=23)return"#F2800D";if(o>23&&o<37)return"#13A195";if(o>=37&&o<=63)return"#66CCAA";if(o>63&&o<77)return"#13A195";if(o>=77&&o<=90.5)return"#F2800D";if(o>90.5)return"#DF2120"}export{H as A,G as B,me as C,$ as D,Me as E,ke as F,Re as G,ge as S,te as a,re as b,we as c,ae as d,w as e,b as f,Y as g,fe as h,ye as i,j,y as k,pe as l,Ie as m,be as n,_e as o,g as p,le as q,C as r,Q as s,Pe as t,Ee as u,W as v,ce as w,f as x,ie as y,Te as z};
1
+ var q=Object.defineProperty,Z=(e,t,n)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>(Z(e,typeof t!="symbol"?t+"":t,n),n);function p(){}function z(e){return e()}function B(){return Object.create(null)}function f(e){e.forEach(z)}function Y(e){return typeof e=="function"}function Q(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ee(e){return Object.keys(e).length===0}function C(e,t){e.appendChild(t)}function te(e,t,n){const o=ne(e);if(!o.getElementById(t)){const i=w("style");i.id=t,i.textContent=n,ie(o,i)}}function ne(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ie(e,t){return C(e.head||e,t),t.sheet}function W(e,t,n){e.insertBefore(t,n||null)}function N(e){e.parentNode&&e.parentNode.removeChild(e)}function w(e){return document.createElement(e)}function oe(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function g(e){return document.createTextNode(e)}function re(){return g(" ")}function ae(){return g("")}function U(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function se(e){return Array.from(e.childNodes)}function ce(e,t){t=""+t,e.data!==t&&(e.data=t)}function le(e,t,n,o){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,o?"important":"")}function ue(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let S;function T(e){S=e}function Ee(){if(!S)throw new Error("Function called outside component initialization");return S}function Oe(e){Ee().$$.on_mount.push(e)}const _=[],G=[];let d=[];const H=[],_e=Promise.resolve();let m=!1;function de(){m||(m=!0,_e.then(M))}function A(e){d.push(e)}const I=new Set;let L=0;function M(){if(L!==0)return;const e=S;do{try{for(;L<_.length;){const t=_[L];L++,T(t),Le(t.$$)}}catch(t){throw _.length=0,L=0,t}for(T(null),_.length=0,L=0;G.length;)G.pop()();for(let t=0;t<d.length;t+=1){const n=d[t];I.has(n)||(I.add(n),n())}d.length=0}while(_.length);for(;H.length;)H.pop()();m=!1,I.clear(),T(e)}function Le(e){if(e.fragment!==null){e.update(),f(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(A)}}function fe(e){const t=[],n=[];d.forEach(o=>e.indexOf(o)===-1?t.push(o):n.push(o)),n.forEach(o=>o()),d=t}const h=new Set;let O;function Se(){O={r:0,c:[],p:O}}function Te(){O.r||f(O.c),O=O.p}function v(e,t){e&&e.i&&(h.delete(e),e.i(t))}function pe(e,t,n,o){if(e&&e.o){if(h.has(e))return;h.add(e),O.c.push(()=>{h.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}else o&&o()}function he(e){e&&e.c()}function j(e,t,n){const{fragment:o,after_update:i}=e.$$;o&&o.m(t,n),A(()=>{const r=e.$$.on_mount.map(z).filter(Y);e.$$.on_destroy?e.$$.on_destroy.push(...r):f(r),e.$$.on_mount=[]}),i.forEach(A)}function V(e,t){const n=e.$$;n.fragment!==null&&(fe(n.after_update),f(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Pe(e,t){e.$$.dirty[0]===-1&&(_.push(e),de(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function ye(e,t,n,o,i,r,c,s=[-1]){const l=S;T(e);const a=e.$$={fragment:null,ctx:[],props:r,update:p,not_equal:i,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:B(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};c&&c(a.root);let R=!1;if(a.ctx=n?n(e,t.props||{},(E,b,...k)=>{const F=k.length?k[0]:b;return a.ctx&&i(a.ctx[E],a.ctx[E]=F)&&(!a.skip_bound&&a.bound[E]&&a.bound[E](F),R&&Pe(e,E)),b}):[],a.update(),R=!0,f(a.before_update),a.fragment=o?o(a.ctx):!1,t.target){if(t.hydrate){const E=se(t.target);a.fragment&&a.fragment.l(E),E.forEach(N)}else a.fragment&&a.fragment.c();t.intro&&v(e.$$.fragment),j(e,t.target,t.anchor),M()}T(l)}let x;typeof HTMLElement=="function"&&(x=class extends HTMLElement{constructor(e,t,n){super(),u(this,"$$ctor"),u(this,"$$s"),u(this,"$$c"),u(this,"$$cn",!1),u(this,"$$d",{}),u(this,"$$r",!1),u(this,"$$p_d",{}),u(this,"$$l",{}),u(this,"$$l_u",new Map),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const o=this.$$c.$on(e,t);this.$$l_u.set(t,o)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const o=this.$$l_u.get(t);o&&(o(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let r;return{c:function(){r=w("slot"),i!=="default"&&U(r,"name",i)},m:function(c,s){W(c,r,s)},d:function(c){c&&N(r)}}}};if(await Promise.resolve(),!this.$$cn)return;const t={},n=ue(this);for(const i of this.$$s)i in n&&(t[i]=[e(i)]);for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=P(r,i.value,this.$$p_d,"toProp"))}this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const r=P(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const i in this.$$l)for(const r of this.$$l[i]){const c=this.$$c.$on(i,r);this.$$l_u.set(r,c)}this.$$l={}}}attributeChangedCallback(e,t,n){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=P(e,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function P(e,t,n,o){var i;const r=(i=n[e])==null?void 0:i.type;if(t=r==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!n[e])return t;if(o==="toAttribute")switch(r){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(r){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function $e(e,t,n,o,i,r){let c=class extends x{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(c.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var a;l=P(s,l,t),this.$$d[s]=l,(a=this.$$c)==null||a.$set({[s]:l})}})}),o.forEach(s=>{Object.defineProperty(c.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),r&&(c=r(c)),e.element=c,c}class Ne{constructor(){u(this,"$$"),u(this,"$$set")}$destroy(){V(this,1),this.$destroy=p}$on(t,n){if(!Y(n))return p;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(n),()=>{const i=o.indexOf(n);i!==-1&&o.splice(i,1)}}$set(t){this.$$set&&!ee(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const we="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(we);let D={BIOLOGICAL_AGE:"Biological age",CHRONOLOGICAL_AGE:"Chronological age",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",SOME_OVERLAP_LONG:"Some overlap",MINOR_OVERLAP_LONG:"Minor overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Minor overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_TEN_B:"Urgency to defecate",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes, night sweats)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"Cardiology referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Cardiology referral for other tests (e.g., coronary artery calcium score)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Cardiology referral for other tests (e.g., stress echocardiogram)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist/gynaecologist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",PERCENTILE:"percentile",SINGLE_PERCENTILE:"percentile",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RANKS_YOU:"This result ranks you in the",RELATED_RESEARCH_PAPERS:"Related research papers",YOUR_RESULT:"Your result",CHRONIC_INFLAMMATION:"Chronic inflammation",ANTI_INFLAMMATORY:"Anti-inflammatory",PRO_INFLAMMATORY:"Pro-inflammatory",SUPPORTIVE_INDEX:"Supportive index",GLYCAN_SHIELD:"Glycan Shield (S)",GLYCAN_YOUTH:"Glycan Youth (G2)",GLYCAN_MATURE:"Glycan Mature (G0)",GLYCAN_MEDIAN:"Glycan Median (G1)",GLYCAN_LIFESTYLE:"Glycan Lifestyle (B)",WORSE:"Worse",BETTER:"Better",AVERAGE:"Average"},K={BIOLOGICAL_AGE:"Wiek biologiczny",CHRONOLOGICAL_AGE:"Wiek Kalendarzowy",GLYCAN:"Glikan",PEAK:"Pik",LOWER_THAN_AVERAGE:"ni\u017Cszy od warto\u015Bci \u015Bredniej",AROUND_AVERAGE:"W okolicach warto\u015Bci \u015Bredniej",HIGHER_THAN_AVERAGE:"wy\u017Cszy od warto\u015Bci \u015Bredniej",SOME_OVERLAP_LONG:"Znaczny stopie\u0144 pokrywania si\u0119",MINOR_OVERLAP_LONG:"Nieznaczne stopie\u0144 pokrywania si\u0119",NO_OVERLAP_LONG:"Brak znacz\u0105cego pokrywania si\u0119",SOME_OVERLAP:"Cz\u0119\u015Bciowy",MINOR_OVERLAP:"Niewielki",NO_OVERLAP:"Brak",OVERLAP_TEXT:"indeks\xF3w glikanowych mi\u0119dzy pacjentem a badanymi z tym schorzeniem.",SYMPTOMS:"Sygna\u0142y i objawy",SYMPTOM_ONE:"Przewa\u017Cnie przebiega w spos\xF3b bezobjawowy",SYMPTOM_TWO:"Ci\u015Bnienie t\u0119tnicze stale >140/90 mmHg",SYMPTOM_THREE:"Objawy nadci\u015Bnienia z\u0142o\u015Bliwego (b\xF3l g\u0142owy, zawroty g\u0142owy, duszno\u015B\u0107 itp.)",SYMPTOM_FOUR:"Objawy choroby wie\u0144cowej (np. samoistnie ust\u0119puj\u0105cy b\xF3l w klatce piersiowej, bezdech)",SYMPTOM_FIVE:"Objawy choroby t\u0119tnic obwodowych (np. b\xF3l n\xF3g podczas aktywno\u015Bci)",SYMPTOM_SIX:"Samoograniczaj\u0105cy si\u0119 b\xF3l w klatce piersiowej \xB1 promieniuj\u0105cy do szcz\u0119ki/lewego ramienia/plec\xF3w",SYMPTOM_SEVEN:"Duszno\u015B\u0107",SYMPTOM_EIGHT:"Inne (omdlenia, ko\u0142atanie serca, obrz\u0119k n\xF3g, orhhopnoe itp.)",SYMPTOM_NINE:"B\xF3l brzucha i skurcze",SYMPTOM_TEN:"Nawracaj\u0105ca biegunka (\xB1 krew)",SYMPTOM_TEN_B:"Nag\u0142a potrzeba wypr\xF3\u017Cnienia",SYMPTOM_ELEVEN:"Utrata masy cia\u0142a",SYMPTOM_TWELVE:"Og\xF3lnoustrojowe (np. zm\u0119czenie, utrata masy cia\u0142a, owrzodzenia jamy ustnej, wysypka w kszta\u0142cie motyla w okolicy policzk\xF3w i nosa)",SYMPTOM_THIRTEEN:"Narz\u0105dowe (b\xF3l w klatce piersiowej, trudno\u015Bci w oddychaniu, obrz\u0119k n\xF3g, niedokrwisto\u015B\u0107 itp.)",SYMPTOM_FOURTEEN:"B\xF3l i obrz\u0119k staw\xF3w",SYMPTOM_FIFTEEN:"Zm\u0119czenie",SYMPTOM_SIXTEEN:"Zwi\u0119kszone pragnienie i cz\u0119ste oddawanie moczu",SYMPTOM_SEVENTEEN:"Powolne gojenie si\u0119 ran, niewyra\u017Ane widzenie, cz\u0119ste ple\u015Bniawki",SYMPTOM_EIGHTEEN:"Trudno\u015Bci w oddychaniu",SYMPTOM_NINETEEN:"Przewlek\u0142y kaszel (\xB1 produktywny)",SYMPTOM_TWENTY:"Nieregularny cykl menstruacyjny",SYMPTOM_TWENTYONE:"Objawy naczynioruchowe (np. uderzenia gor\u0105ca)",SYMPTOM_TWENTYTWO:"Inne (np. wahania nastroju, trudno\u015Bci poznawcze, zaburzenia snu)",SYMPTOM_TWENTYTHREE:"B\xF3l staw\xF3w, obrz\u0119k, sztywno\u015B\u0107 i rumie\u0144",SYMPTOM_TWENTYFOUR:"Zaj\u0119cie mniejszych staw\xF3w dystalnych (palce r\u0105k i n\xF3g), zwykle symetryczne",SYMPTOM_TWENTYFIVE:"Og\xF3lnoustrojowe (zm\u0119czenie, utrata masy cia\u0142a itp.)",POSSIBLE_FOLLOW_UP:"Ewentualne dalsze dzia\u0142ania",POSSIBLE_FOLLOW_UP_ONE:"Seryjne pomiary ci\u015Bnienia t\u0119tniczego i/lub 24-godzinne monitorowanie ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_TWO:"BMI i/lub kontrola sk\u0142adu cia\u0142a",POSSIBLE_FOLLOW_UP_THREE:"Podstawowe badania krwi (profil lipidowy, czynno\u015B\u0107 nerek i w\u0105troby)",POSSIBLE_FOLLOW_UP_FOUR:"Badania krwi: podstawowy i rozszerzony profil lipidowy (np. Lp(a), ApoB), hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"Kontrola ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_SIX:"EKG",POSSIBLE_FOLLOW_UP_SEVEN:"Skierowanie do kardiologa na inne badania (np. echo serca, TK naczy\u0144 wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_B:"Skierowanie do kardiologa na inne badania (np. wska\u017Anik uwapnienia t\u0119tnic wie\u0144cowych)",POSSIBLE_FOLLOW_UP_SEVEN_C:"Skierowanie do kardiologa na inne badania (np. echokardiogram wysi\u0142kowy)",POSSIBLE_FOLLOW_UP_EIGHT:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP",POSSIBLE_FOLLOW_UP_NINE:"Badania ka\u0142u: test na obecno\u015B\u0107 krwi utajonej (FIT), kalprotektyna w kale",POSSIBLE_FOLLOW_UP_TEN:"Skierowanie na kolonoskopi\u0119, TK",POSSIBLE_FOLLOW_UP_ELEVEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP, OB, autoprzeciwcia\u0142a (np. ANA, w tym anty-dsDNA).",POSSIBLE_FOLLOW_UP_TWELVE:"Badanie og\xF3lne moczu",POSSIBLE_FOLLOW_UP_THIRTEEN:"Badania obrazowe ukierunkowane na narz\u0105dy (np. TK klatki piersiowej, TK jamy brzusznej)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, st\u0119\u017Cenie glukozy i insuliny na czczo, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Badania profilu lipidowego krwi: podstawowe i rozszerzone (np. oxLDL, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Inne badania krwi hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Badania krwi: pe\u0142na morfologia krwi",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometria",POSSIBLE_FOLLOW_UP_NINETEEN:"EKG, RTG klatki piersiowej",POSSIBLE_FOLLOW_UP_TWENTY:"Badania krwi (w tym FSH, estradiol, progesteron, testosteron, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Skierowanie do specjalisty/ginekologa zajmuj\u0105cego si\u0119 (peri)menopauz\u0105",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Badania krwi: pe\u0142na morfologia krwi, czynnik reumatoidalny, przeciwcia\u0142a anty-CCP, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Obrazowanie staw\xF3w (zdj\u0119cia rentgenowskie, rezonans magnetyczny)",PERCENTILE:"percentylu",SINGLE_PERCENTILE:"percentyl",RISK_FACTORS:"Czynniki ryzyka",RISK_FACTOR_ONE:"Historia chor\xF3b (np. zesp\xF3\u0142 kardiometaboliczny, choroby autoimmunologiczne)",RISK_FACTOR_TWO:"Historia przyjmowania lek\xF3w (np. statyn, lek\xF3w przeciwzakrzepowych)",RISK_FACTOR_THREE:"Palenie tytoniu",RANKS_YOU:"Twoj wynik klasyfikuje Ci\u0119 w",RELATED_RESEARCH_PAPERS:"Publikacje naukowe",YOUR_RESULT:"Tw\xF3j wynik",CHRONIC_INFLAMMATION:"TempText POLISH1",ANTI_INFLAMMATORY:"TempText POLISH2",PRO_INFLAMMATORY:"TempText POLISH3",SUPPORTIVE_INDEX:"TempText POLISH4",GLYCAN_SHIELD:"TempText Shield (S)",GLYCAN_YOUTH:"TempText Youth (G2)",GLYCAN_MATURE:"TempText Mature (G0)",GLYCAN_MEDIAN:"TempText Median (G1)",GLYCAN_LIFESTYLE:"TempText Lifestyle (B)",WORSE:"TempText Worse",BETTER:"TempText Better",AVERAGE:"TempText Average"},X={BIOLOGICAL_AGE:"Biolo\u0161ka starost",CHRONOLOGICAL_AGE:"Kronolo\u0161ka starost",RANKS_YOU:"Ta rezultat vas uvr\u0161\u010Da med",PERCENTILE:"percentilov",SINGLE_PERCENTILE:"percentil",YOUR_RESULT:"Va\u0161 rezultat"},J={BIOLOGICAL_AGE:"\u751F\u7269\u5B66\u7684\u5E74\u9F62",CHRONOLOGICAL_AGE:"\u66A6\u5E74\u9F62"};function ge(e,t="english"){if(t!=="english")return"";if(e===11||e===12||e===13)return"th";switch(e.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function me(e,t="english"){const n={english:D,polish:K,slovenian:X,japanese:J};if(e<32)return n[t].LOWER_THAN_AVERAGE;if(e>=32&&e<=68)return n[t].AROUND_AVERAGE;if(e>68)return n[t].HIGHER_THAN_AVERAGE}function Ae(e="english",t){return{english:D,polish:K,slovenian:X,japanese:J}[e][t]}function y(e,t,n,o,i){const r=(e-t)*(i-o)/(n-t)+o;return r<o?o:r>i?i:r}function $(e,t,n,o){return o===t?50:o===e?9.5:o===n?90.5:o<e?5:o>n?95:o>e&&o<t?y(o,e,t,10,50):o>t&&o<n?y(o,t,n,50,90):0}function Ie(e,t,n,o){const i=$(e,t,n,o);if(i<23)return"#DF2120";if(i>=23&&i<=36)return"#F2800D";if(i>36&&i<64)return"#66CCAA";if(i>=64&&i<=77)return"#13A195";if(i>77)return"#015566"}function Me(e,t,n,o){const i=$(e,t,n,o);if(i<23)return"#015566";if(i>=23&&i<=36)return"#13A195";if(i>36&&i<64)return"#66CCAA";if(i>=64&&i<=77)return"#F2800D";if(i>77)return"#DF2120"}function Re(e,t,n,o){const i=$(e,t,n,o);if(i<9.5)return"#DF2120";if(i>=9.5&&i<=23)return"#F2800D";if(i>23&&i<37)return"#13A195";if(i>=37&&i<=63)return"#66CCAA";if(i>63&&i<77)return"#13A195";if(i>=77&&i<=90.5)return"#F2800D";if(i>90.5)return"#DF2120"}function be(e){if(e===50)return 50;if(e<2)return 2.8;if(e>98)return 97.2;if(e>=2&&e<50)return y(e,3,50,7,50);if(e>50&&e<=98)return y(e,50,97,50,93)}function ke(e){if(e<18)return"#DF2120";if(e>=18&&e<34)return"#F2800D";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#13A195";if(e>82)return"#015566"}function Fe(e){if(e<18)return"#015566";if(e>=18&&e<34)return"#13A195";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#F2800D";if(e>82)return"#DF2120"}function ze(e){if(e<2)return"#DF2120";if(e>=2&&e<18)return"#F2800D";if(e>=18&&e<34)return"#13A195";if(e>=34&&e<67)return"#66CCAA";if(e>=67&&e<=82)return"#13A195";if(e>82&&e<=98)return"#F2800D";if(e>98)return"#DF2120"}export{V as A,ge as B,$ as C,Ie as D,Me as E,Re as F,ke as G,Fe as H,ze as I,be as J,Ne as S,te as a,re as b,$e as c,ae as d,w as e,M as f,W as g,Te as h,ye as i,v as j,N as k,Se as l,me as m,Ae as n,Oe as o,g as p,le as q,U as r,Q as s,pe as t,C as u,ce as v,p as w,oe as x,he as y,j as z};
@@ -1,3 +1,3 @@
1
- import{c as be,S as fe,i as Le,f as V,s as qe,a as Oe,d as ye,g as S,t as re,h as _e,j as ae,k as T,o as xe,l as Ee,n as h,e as d,y as R,b as O,p as _,z as je,r as s,q as A,v as t,A as ke,w as E,B as we,u as ge,x as J}from"./helpers.js";import{A as Ae}from"./Arrow.js";function Pe(r){Oe(r,"svelte-1hbkqij",".summaryMain.svelte-1hbkqij.svelte-1hbkqij{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1hbkqij hr.svelte-1hbkqij{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1hbkqij h5.svelte-1hbkqij{font-size:16px;margin:0}.summaryMain.svelte-1hbkqij ul.svelte-1hbkqij{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1hbkqij ul li.svelte-1hbkqij:not(:first-child){margin-top:4px}.summaryHeader.svelte-1hbkqij.svelte-1hbkqij{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1hbkqij.svelte-1hbkqij{width:100%;height:100%;margin:auto}.summaryBody.svelte-1hbkqij a.svelte-1hbkqij{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.clp.svelte-1hbkqij a.svelte-1hbkqij{color:#0086A1}.summaryBody.svelte-1hbkqij p.svelte-1hbkqij{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1hbkqij.svelte-1hbkqij{height:100%;width:100%;display:flex}.label.svelte-1hbkqij.svelte-1hbkqij{width:30%;display:flex;align-items:center}.header.svelte-1hbkqij.svelte-1hbkqij{width:100%;height:100%;display:flex;align-items:center}")}function Se(r){let e,l,i,a,f,m,p,n,c=h(r[1],"GLYCAN")+"",L,y,g,o,v,u,N,k,w,P;return w=new Ae({props:{type:"right",percentile:r[7],lang:r[1]}}),{c(){e=d("div"),l=d("div"),i=R("svg"),a=R("path"),m=O(),p=d("div"),n=d("div"),L=_(c),y=O(),g=d("b"),g.textContent="Lifestyle (B)",o=O(),v=d("div"),u=_(r[6]),N=O(),k=d("div"),je(w.$$.fragment),s(a,"fill",f=r[7]<=68?"#12A195":"#F2590D"),s(a,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),s(i,"xmlns","http://www.w3.org/2000/svg"),s(i,"width","24"),s(i,"height","24"),s(i,"viewBox","0 0 24 24"),A(p,"display","flex"),A(p,"flex-direction","column"),A(p,"padding-left","0.3rem"),s(l,"class","label svelte-1hbkqij"),A(l,"font-size","0.8rem"),A(k,"width","70%"),A(k,"display","flex"),A(k,"align-items","center"),s(e,"class","main svelte-1hbkqij")},m(q,j){S(q,e,j),t(e,l),t(l,i),t(i,a),t(l,m),t(l,p),t(p,n),t(n,L),t(n,y),t(n,g),t(p,o),t(p,v),t(v,u),t(e,N),t(e,k),ke(w,k,null),P=!0},p(q,j){(!P||j&128&&f!==(f=q[7]<=68?"#12A195":"#F2590D"))&&s(a,"fill",f),(!P||j&2)&&c!==(c=h(q[1],"GLYCAN")+"")&&E(L,c),(!P||j&64)&&E(u,q[6]);const $={};j&128&&($.percentile=q[7]),j&2&&($.lang=q[1]),w.$set($)},i(q){P||(ae(w.$$.fragment,q),P=!0)},o(q){re(w.$$.fragment,q),P=!1},d(q){q&&T(e),we(w)}}}function Te(r){let e,l,i,a,f,m,p=(r[7]>68?h(r[1],"SOME_OVERLAP_LONG"):h(r[1],"NO_OVERLAP_LONG"))+"",n,c,L=h(r[1],"OVERLAP_TEXT")+"",y,g,o,v,u,N,k=h(r[1],"SYMPTOMS")+"",w,P,q,j,$=h(r[1],"SYMPTOM_ONE")+"",Q,ne,G,Z=h(r[1],"POSSIBLE_FOLLOW_UP")+"",ee,he,B,I,C=h(r[1],"POSSIBLE_FOLLOW_UP_ONE")+"",le,oe,U,W=h(r[1],"POSSIBLE_FOLLOW_UP_TWO")+"",te,de,D,H=h(r[1],"POSSIBLE_FOLLOW_UP_THREE")+"",ie,ce,z,Y=h(r[1],"RELATED_RESEARCH_PAPERS")+"",se,me,F,ve,X;function pe(b,x){return b[3]?Be:$e}let K=pe(r),M=K(r);return{c(){e=d("div"),l=d("div"),i=d("div"),M.c(),a=O(),f=d("div"),m=d("b"),n=_(p),c=O(),y=_(L),g=O(),o=d("hr"),v=O(),u=d("div"),N=d("h5"),w=_(k),P=O(),q=d("ul"),j=d("li"),Q=_($),ne=O(),G=d("h5"),ee=_(Z),he=O(),B=d("ul"),I=d("li"),le=_(C),oe=O(),U=d("li"),te=_(W),de=O(),D=d("li"),ie=_(H),ce=O(),z=d("h5"),se=_(Y),me=O(),F=d("a"),F.textContent="N-glycosylation of immunoglobulin G predicts incident hypertension",ve=O(),X=d("p"),X.textContent='In a study investigating the relationship between IgG glycosylation and hypertension, 989 unrelated incident hypertension cases and 1628 controls from the TwinsUK cohort, with a mean follow-up of 6.3 years, were examined. The average age of the participants was 56. The findings, which included an observed increase in B, were validated in additional cohorts from the "10 001 Dalmatians" (106 individuals) and KORA S4 (729 individuals). A predictive model incorporating age, BMI, mean arterial pressure (MAP), and specific glycan peaks with B modifications demonstrated robust predictive accuracy, achieving a very high AUC of 0.923.',A(i,"transform","translate(-50%)"),A(m,"color",r[3]?"#F2590D":"#12A195"),s(l,"class","summaryHeader svelte-1hbkqij"),s(o,"class","svelte-1hbkqij"),s(N,"class","svelte-1hbkqij"),s(j,"class","svelte-1hbkqij"),s(q,"class","svelte-1hbkqij"),s(G,"class","svelte-1hbkqij"),s(I,"class","svelte-1hbkqij"),s(U,"class","svelte-1hbkqij"),s(D,"class","svelte-1hbkqij"),s(B,"class","svelte-1hbkqij"),s(z,"class","svelte-1hbkqij"),s(F,"href","https://pubmed.ncbi.nlm.nih.gov/34285147/"),s(F,"class","svelte-1hbkqij"),s(X,"class","svelte-1hbkqij"),s(u,"class","summaryBody svelte-1hbkqij"),ge(u,"clp",r[0]==="clp"),s(e,"class","summaryMain svelte-1hbkqij")},m(b,x){S(b,e,x),t(e,l),t(l,i),M.m(i,null),t(l,a),t(l,f),t(f,m),t(m,n),t(f,c),t(f,y),t(e,g),t(e,o),t(e,v),t(e,u),t(u,N),t(N,w),t(u,P),t(u,q),t(q,j),t(j,Q),t(u,ne),t(u,G),t(G,ee),t(u,he),t(u,B),t(B,I),t(I,le),t(B,oe),t(B,U),t(U,te),t(B,de),t(B,D),t(D,ie),t(u,ce),t(u,z),t(z,se),t(u,me),t(u,F),t(u,ve),t(u,X)},p(b,x){K!==(K=pe(b))&&(M.d(1),M=K(b),M&&(M.c(),M.m(i,null))),x&130&&p!==(p=(b[7]>68?h(b[1],"SOME_OVERLAP_LONG"):h(b[1],"NO_OVERLAP_LONG"))+"")&&E(n,p),x&8&&A(m,"color",b[3]?"#F2590D":"#12A195"),x&2&&L!==(L=h(b[1],"OVERLAP_TEXT")+"")&&E(y,L),x&2&&k!==(k=h(b[1],"SYMPTOMS")+"")&&E(w,k),x&2&&$!==($=h(b[1],"SYMPTOM_ONE")+"")&&E(Q,$),x&2&&Z!==(Z=h(b[1],"POSSIBLE_FOLLOW_UP")+"")&&E(ee,Z),x&2&&C!==(C=h(b[1],"POSSIBLE_FOLLOW_UP_ONE")+"")&&E(le,C),x&2&&W!==(W=h(b[1],"POSSIBLE_FOLLOW_UP_TWO")+"")&&E(te,W),x&2&&H!==(H=h(b[1],"POSSIBLE_FOLLOW_UP_THREE")+"")&&E(ie,H),x&2&&Y!==(Y=h(b[1],"RELATED_RESEARCH_PAPERS")+"")&&E(se,Y),x&1&&ge(u,"clp",b[0]==="clp")},i:J,o:J,d(b){b&&T(e),M.d()}}}function Re(r){let e,l,i,a,f,m;function p(o,v){return o[3]?Ne:Me}let n=p(r),c=n(r);function L(o,v){return o[3]?Ve:Fe}let y=L(r),g=y(r);return{c(){e=d("div"),l=d("div"),i=d("b"),a=_(r[5]),f=O(),c.c(),m=_(`
1
+ import{c as ge,S as he,i as Le,f as j,s as Oe,a as we,d as ze,g as $,t as re,h as Ee,j as ae,k as M,o as ye,l as xe,n as o,e as d,x as B,b as w,p as E,y as _e,r as i,q as T,u as t,z as Pe,v as y,A as Ae,w as J}from"./helpers.js";import{A as Se}from"./Arrow.js";function Te(r){we(r,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Re(r){let e,l,s,a,L,f,v,n,c=o(r[0],"GLYCAN")+"",u,z,p,m,x,g,q,A,S,R;return S=new Se({props:{type:"right",percentile:r[6],lang:r[0]}}),{c(){e=d("div"),l=d("div"),s=B("svg"),a=B("path"),f=w(),v=d("div"),n=d("div"),u=E(c),z=w(),p=d("b"),p.textContent="Lifestyle (B)",m=w(),x=d("div"),g=E(r[5]),q=w(),A=d("div"),_e(S.$$.fragment),i(a,"fill",L=r[6]<=68?"#12A195":"#F2590D"),i(a,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(s,"xmlns","http://www.w3.org/2000/svg"),i(s,"width","24"),i(s,"height","24"),i(s,"viewBox","0 0 24 24"),T(v,"display","flex"),T(v,"flex-direction","column"),T(v,"padding-left","0.3rem"),i(l,"class","label svelte-1285zfm"),T(l,"font-size","0.8rem"),T(A,"width","70%"),T(A,"display","flex"),T(A,"align-items","center"),i(e,"class","main svelte-1285zfm")},m(O,P){$(O,e,P),t(e,l),t(l,s),t(s,a),t(l,f),t(l,v),t(v,n),t(n,u),t(n,z),t(n,p),t(v,m),t(v,x),t(x,g),t(e,q),t(e,A),Pe(S,A,null),R=!0},p(O,P){(!R||P&64&&L!==(L=O[6]<=68?"#12A195":"#F2590D"))&&i(a,"fill",L),(!R||P&1)&&c!==(c=o(O[0],"GLYCAN")+"")&&y(u,c),(!R||P&32)&&y(g,O[5]);const N={};P&64&&(N.percentile=O[6]),P&1&&(N.lang=O[0]),S.$set(N)},i(O){R||(ae(S.$$.fragment,O),R=!0)},o(O){re(S.$$.fragment,O),R=!1},d(O){O&&M(e),Ae(S)}}}function $e(r){let e,l,s,a,L,f,v=(r[6]>68?o(r[0],"SOME_OVERLAP_LONG"):o(r[0],"NO_OVERLAP_LONG"))+"",n,c,u=o(r[0],"OVERLAP_TEXT")+"",z,p,m,x,g,q,A=o(r[0],"SYMPTOMS")+"",S,R,O,P,N=o(r[0],"SYMPTOM_ONE")+"",Q,ne,Z,I=o(r[0],"POSSIBLE_FOLLOW_UP")+"",ee,me,V,b,U=o(r[0],"POSSIBLE_FOLLOW_UP_ONE")+"",le,oe,W,C=o(r[0],"POSSIBLE_FOLLOW_UP_TWO")+"",te,ce,D,H=o(r[0],"POSSIBLE_FOLLOW_UP_THREE")+"",se,de,k,Y=o(r[0],"RELATED_RESEARCH_PAPERS")+"",ie,fe,G,pe,X;function ve(h,_){return h[2]?Ne:Be}let K=ve(r),F=K(r);return{c(){e=d("div"),l=d("div"),s=d("div"),F.c(),a=w(),L=d("div"),f=d("b"),n=E(v),c=w(),z=E(u),p=w(),m=d("hr"),x=w(),g=d("div"),q=d("h5"),S=E(A),R=w(),O=d("ul"),P=d("li"),Q=E(N),ne=w(),Z=d("h5"),ee=E(I),me=w(),V=d("ul"),b=d("li"),le=E(U),oe=w(),W=d("li"),te=E(C),ce=w(),D=d("li"),se=E(H),de=w(),k=d("h5"),ie=E(Y),fe=w(),G=d("a"),G.textContent="N-glycosylation of immunoglobulin G predicts incident hypertension",pe=w(),X=d("p"),X.textContent='In a study investigating the relationship between IgG glycosylation and hypertension, 989 unrelated incident hypertension cases and 1628 controls from the TwinsUK cohort, with a mean follow-up of 6.3 years, were examined. The average age of the participants was 56. The findings, which included an observed increase in B, were validated in additional cohorts from the "10 001 Dalmatians" (106 individuals) and KORA S4 (729 individuals). A predictive model incorporating age, BMI, mean arterial pressure (MAP), and specific glycan peaks with B modifications demonstrated robust predictive accuracy, achieving a very high AUC of 0.923.',T(s,"transform","translate(-50%)"),T(f,"color",r[2]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1285zfm"),i(m,"class","svelte-1285zfm"),i(q,"class","svelte-1285zfm"),i(P,"class","svelte-1285zfm"),i(O,"class","svelte-1285zfm"),i(Z,"class","svelte-1285zfm"),i(b,"class","svelte-1285zfm"),i(W,"class","svelte-1285zfm"),i(D,"class","svelte-1285zfm"),i(V,"class","svelte-1285zfm"),i(k,"class","svelte-1285zfm"),i(G,"href","https://pubmed.ncbi.nlm.nih.gov/34285147/"),i(G,"class","svelte-1285zfm"),i(X,"class","svelte-1285zfm"),i(g,"class","summaryBody svelte-1285zfm"),i(e,"class","summaryMain svelte-1285zfm")},m(h,_){$(h,e,_),t(e,l),t(l,s),F.m(s,null),t(l,a),t(l,L),t(L,f),t(f,n),t(L,c),t(L,z),t(e,p),t(e,m),t(e,x),t(e,g),t(g,q),t(q,S),t(g,R),t(g,O),t(O,P),t(P,Q),t(g,ne),t(g,Z),t(Z,ee),t(g,me),t(g,V),t(V,b),t(b,le),t(V,oe),t(V,W),t(W,te),t(V,ce),t(V,D),t(D,se),t(g,de),t(g,k),t(k,ie),t(g,fe),t(g,G),t(g,pe),t(g,X)},p(h,_){K!==(K=ve(h))&&(F.d(1),F=K(h),F&&(F.c(),F.m(s,null))),_&65&&v!==(v=(h[6]>68?o(h[0],"SOME_OVERLAP_LONG"):o(h[0],"NO_OVERLAP_LONG"))+"")&&y(n,v),_&4&&T(f,"color",h[2]?"#F2590D":"#12A195"),_&1&&u!==(u=o(h[0],"OVERLAP_TEXT")+"")&&y(z,u),_&1&&A!==(A=o(h[0],"SYMPTOMS")+"")&&y(S,A),_&1&&N!==(N=o(h[0],"SYMPTOM_ONE")+"")&&y(Q,N),_&1&&I!==(I=o(h[0],"POSSIBLE_FOLLOW_UP")+"")&&y(ee,I),_&1&&U!==(U=o(h[0],"POSSIBLE_FOLLOW_UP_ONE")+"")&&y(le,U),_&1&&C!==(C=o(h[0],"POSSIBLE_FOLLOW_UP_TWO")+"")&&y(te,C),_&1&&H!==(H=o(h[0],"POSSIBLE_FOLLOW_UP_THREE")+"")&&y(se,H),_&1&&Y!==(Y=o(h[0],"RELATED_RESEARCH_PAPERS")+"")&&y(ie,Y)},i:J,o:J,d(h){h&&M(e),F.d()}}}function Me(r){let e,l,s,a,L,f;function v(m,x){return m[2]?Fe:Ve}let n=v(r),c=n(r);function u(m,x){return m[2]?Ge:qe}let z=u(r),p=z(r);return{c(){e=d("div"),l=d("div"),s=d("b"),a=E(r[4]),L=w(),c.c(),f=E(`
2
2
  \xA0\xA0
3
- `),g.c(),A(l,"padding-right","10px"),s(e,"class","header svelte-1hbkqij")},m(o,v){S(o,e,v),t(e,l),t(l,i),t(i,a),t(e,f),c.m(e,null),t(e,m),g.m(e,null)},p(o,v){v&32&&E(a,o[5]),n!==(n=p(o))&&(c.d(1),c=n(o),c&&(c.c(),c.m(e,m))),y===(y=L(o))&&g?g.p(o,v):(g.d(1),g=y(o),g&&(g.c(),g.m(e,null)))},i:J,o:J,d(o){o&&T(e),c.d(),g.d()}}}function $e(r){let e,l;return{c(){e=R("svg"),l=R("path"),s(l,"fill","#12A195"),s(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","50"),s(e,"height","50"),s(e,"viewBox","0 0 24 24")},m(i,a){S(i,e,a),t(e,l)},d(i){i&&T(e)}}}function Be(r){let e,l;return{c(){e=R("svg"),l=R("path"),s(l,"fill","#F2590D"),s(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","50"),s(e,"height","50"),s(e,"viewBox","0 0 24 24")},m(i,a){S(i,e,a),t(e,l)},d(i){i&&T(e)}}}function Me(r){let e,l;return{c(){e=R("svg"),l=R("path"),s(l,"fill","#12A195"),s(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(i,a){S(i,e,a),t(e,l)},d(i){i&&T(e)}}}function Ne(r){let e,l;return{c(){e=R("svg"),l=R("path"),s(l,"fill","#F2590D"),s(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(i,a){S(i,e,a),t(e,l)},d(i){i&&T(e)}}}function Fe(r){let e=h(r[1],"NO_OVERLAP")+"",l;return{c(){l=_(e)},m(i,a){S(i,l,a)},p(i,a){a&2&&e!==(e=h(i[1],"NO_OVERLAP")+"")&&E(l,e)},d(i){i&&T(l)}}}function Ve(r){let e=h(r[1],"SOME_OVERLAP")+"",l;return{c(){l=_(e)},m(i,a){S(i,l,a)},p(i,a){a&2&&e!==(e=h(i[1],"SOME_OVERLAP")+"")&&E(l,e)},d(i){i&&T(l)}}}function Ge(r){let e,l,i,a;const f=[Re,Te,Se],m=[];function p(n,c){return n[2]==="header"?0:n[2]==="summary"&&n[4]?1:2}return e=p(r),l=m[e]=f[e](r),{c(){l.c(),i=ye()},m(n,c){m[e].m(n,c),S(n,i,c),a=!0},p(n,[c]){let L=e;e=p(n),e===L?m[e].p(n,c):(Ee(),re(m[L],1,1,()=>{m[L]=null}),_e(),l=m[e],l?l.p(n,c):(l=m[e]=f[e](n),l.c()),ae(l,1),l.m(i.parentNode,i))},i(n){a||(ae(l),a=!0)},o(n){re(l),a=!1},d(n){n&&T(i),m[e].d(n)}}}function Ze(r,e,l){let{brand:i}=e,{lang:a}=e,{report:f}=e,{type:m}=e,{service:p=window.GaReportService}=e,n,c=!1,L=!1,y="",g="",o=0;return xe(async()=>{if(n=await p.getReport(f),l(7,o=Number(n.Bpercentile)),o<32){l(5,y="0/1"),l(6,g=h(a,"LOWER_THAN_AVERAGE")),l(4,L=!0);return}if(o>=32&&o<=68){l(5,y="0/1"),l(6,g=h(a,"AROUND_AVERAGE")),l(4,L=!0);return}if(o>68){l(5,y="1/1"),l(6,g=h(a,"HIGHER_THAN_AVERAGE")),l(3,c=!0),l(4,L=!0);return}}),r.$$set=v=>{"brand"in v&&l(0,i=v.brand),"lang"in v&&l(1,a=v.lang),"report"in v&&l(8,f=v.report),"type"in v&&l(2,m=v.type),"service"in v&&l(9,p=v.service)},[i,a,m,c,L,y,g,o,f,p]}class ue extends fe{constructor(e){super(),Le(this,e,Ze,Ge,qe,{brand:0,lang:1,report:8,type:2,service:9},Pe)}get brand(){return this.$$.ctx[0]}set brand(e){this.$$set({brand:e}),V()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),V()}get report(){return this.$$.ctx[8]}set report(e){this.$$set({report:e}),V()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),V()}get service(){return this.$$.ctx[9]}set service(e){this.$$set({service:e}),V()}}customElements.define("ga-hypertension-risk",be(ue,{brand:{},lang:{},report:{},type:{},service:{}},[],[],!0));export{ue as default};
3
+ `),p.c(),T(l,"padding-right","10px"),i(e,"class","header svelte-1285zfm")},m(m,x){$(m,e,x),t(e,l),t(l,s),t(s,a),t(e,L),c.m(e,null),t(e,f),p.m(e,null)},p(m,x){x&16&&y(a,m[4]),n!==(n=v(m))&&(c.d(1),c=n(m),c&&(c.c(),c.m(e,f))),z===(z=u(m))&&p?p.p(m,x):(p.d(1),p=z(m),p&&(p.c(),p.m(e,null)))},i:J,o:J,d(m){m&&M(e),c.d(),p.d()}}}function Be(r){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#12A195"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(s,a){$(s,e,a),t(e,l)},d(s){s&&M(e)}}}function Ne(r){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#F2590D"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(s,a){$(s,e,a),t(e,l)},d(s){s&&M(e)}}}function Ve(r){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#12A195"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(s,a){$(s,e,a),t(e,l)},d(s){s&&M(e)}}}function Fe(r){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#F2590D"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(s,a){$(s,e,a),t(e,l)},d(s){s&&M(e)}}}function qe(r){let e=o(r[0],"NO_OVERLAP")+"",l;return{c(){l=E(e)},m(s,a){$(s,l,a)},p(s,a){a&1&&e!==(e=o(s[0],"NO_OVERLAP")+"")&&y(l,e)},d(s){s&&M(l)}}}function Ge(r){let e=o(r[0],"SOME_OVERLAP")+"",l;return{c(){l=E(e)},m(s,a){$(s,l,a)},p(s,a){a&1&&e!==(e=o(s[0],"SOME_OVERLAP")+"")&&y(l,e)},d(s){s&&M(l)}}}function Ze(r){let e,l,s,a;const L=[Me,$e,Re],f=[];function v(n,c){return n[1]==="header"?0:n[1]==="summary"&&n[3]?1:2}return e=v(r),l=f[e]=L[e](r),{c(){l.c(),s=ze()},m(n,c){f[e].m(n,c),$(n,s,c),a=!0},p(n,[c]){let u=e;e=v(n),e===u?f[e].p(n,c):(xe(),re(f[u],1,1,()=>{f[u]=null}),Ee(),l=f[e],l?l.p(n,c):(l=f[e]=L[e](n),l.c()),ae(l,1),l.m(s.parentNode,s))},i(n){a||(ae(l),a=!0)},o(n){re(l),a=!1},d(n){n&&M(s),f[e].d(n)}}}function Ie(r,e,l){let{lang:s}=e,{report:a}=e,{type:L}=e,{service:f=window.GaReportService}=e,v,n=!1,c=!1,u="",z="",p=0;return ye(async()=>{if(v=await f.getReport(a),l(6,p=Number(v.Bpercentile)),p<32){l(4,u="0/1"),l(5,z=o(s,"LOWER_THAN_AVERAGE")),l(3,c=!0);return}if(p>=32&&p<=68){l(4,u="0/1"),l(5,z=o(s,"AROUND_AVERAGE")),l(3,c=!0);return}if(p>68){l(4,u="1/1"),l(5,z=o(s,"HIGHER_THAN_AVERAGE")),l(2,n=!0),l(3,c=!0);return}}),r.$$set=m=>{"lang"in m&&l(0,s=m.lang),"report"in m&&l(7,a=m.report),"type"in m&&l(1,L=m.type),"service"in m&&l(8,f=m.service)},[s,L,n,c,u,z,p,a,f]}class ue extends he{constructor(e){super(),Le(this,e,Ie,Ze,Oe,{lang:0,report:7,type:1,service:8},Te)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),j()}get report(){return this.$$.ctx[7]}set report(e){this.$$set({report:e}),j()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),j()}get service(){return this.$$.ctx[8]}set service(e){this.$$set({service:e}),j()}}customElements.define("ga-hypertension-risk",ge(ue,{lang:{},report:{},type:{},service:{}},[],[],!0));export{ue as default};
@@ -1,3 +1,3 @@
1
- import{c as Pe,S as Ge,i as Ne,f as Z,s as Be,a as Ve,e as d,b as q,d as $e,g as $,t as N,h as ae,j as P,k as T,o as Ce,l as oe,m as Ze,n as g,p as E,q as O,r,u as Te,v as i,w as _,x as I,y as G,z as ge,A as fe,B as be}from"./helpers.js";import{A as ye}from"./Arrow.js";function Ie(n){Ve(n,"svelte-1hbkqij",".summaryMain.svelte-1hbkqij.svelte-1hbkqij{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1hbkqij hr.svelte-1hbkqij{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1hbkqij h5.svelte-1hbkqij{font-size:16px;margin:0}.summaryMain.svelte-1hbkqij ul.svelte-1hbkqij{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1hbkqij ul li.svelte-1hbkqij:not(:first-child){margin-top:4px}.summaryHeader.svelte-1hbkqij.svelte-1hbkqij{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1hbkqij.svelte-1hbkqij{width:100%;height:100%;margin:auto}.summaryBody.svelte-1hbkqij a.svelte-1hbkqij{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.clp.svelte-1hbkqij a.svelte-1hbkqij{color:#0086A1}.summaryBody.svelte-1hbkqij p.svelte-1hbkqij{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1hbkqij.svelte-1hbkqij{height:100%;width:100%;display:flex}.label.svelte-1hbkqij.svelte-1hbkqij{width:30%;display:flex;align-items:center}.header.svelte-1hbkqij.svelte-1hbkqij{width:100%;height:100%;display:flex;align-items:center}")}function De(n){let e,l,t,s,o=n[3]==="mature"&&Se(n),p=n[3]==="median"&&Me(n),h=n[3]==="youth"&&Fe(n);return{c(){o&&o.c(),e=q(),p&&p.c(),l=q(),h&&h.c(),t=$e()},m(a,v){o&&o.m(a,v),$(a,e,v),p&&p.m(a,v),$(a,l,v),h&&h.m(a,v),$(a,t,v),s=!0},p(a,v){a[3]==="mature"?o?(o.p(a,v),v&8&&P(o,1)):(o=Se(a),o.c(),P(o,1),o.m(e.parentNode,e)):o&&(oe(),N(o,1,1,()=>{o=null}),ae()),a[3]==="median"?p?(p.p(a,v),v&8&&P(p,1)):(p=Me(a),p.c(),P(p,1),p.m(l.parentNode,l)):p&&(oe(),N(p,1,1,()=>{p=null}),ae()),a[3]==="youth"?h?(h.p(a,v),v&8&&P(h,1)):(h=Fe(a),h.c(),P(h,1),h.m(t.parentNode,t)):h&&(oe(),N(h,1,1,()=>{h=null}),ae())},i(a){s||(P(o),P(p),P(h),s=!0)},o(a){N(o),N(p),N(h),s=!1},d(a){a&&(T(e),T(l),T(t)),o&&o.d(a),p&&p.d(a),h&&h.d(a)}}}function Ye(n){let e,l,t,s,o,p,h,a=g(n[1],"OVERLAP_TEXT")+"",v,m,x,k,u,f,A=g(n[1],"SYMPTOMS")+"",R,j,b,y,c=g(n[1],"SYMPTOM_ONE")+"",L,F,S,Y=g(n[1],"SYMPTOM_TWO")+"",he,qe,W,H=g(n[1],"SYMPTOM_THREE")+"",ce,Le,z,U=g(n[1],"POSSIBLE_FOLLOW_UP")+"",me,we,C,X,K=g(n[1],"POSSIBLE_FOLLOW_UP_ONE")+"",pe,xe,J,Q=g(n[1],"POSSIBLE_FOLLOW_UP_TWO")+"",de,Ae,ee,le=g(n[1],"POSSIBLE_FOLLOW_UP_THREE")+"",ve,ke,te,ie=g(n[1],"RELATED_RESEARCH_PAPERS")+"",ue,je,D,Ee,se;function Oe(w,M){return w[4]||w[5]?ze:He}let ne=Oe(n),B=ne(n);function _e(w,M){return w[4]?Ke:w[5]?Xe:Ue}let re=_e(n),V=re(n);return{c(){e=d("div"),l=d("div"),t=d("div"),B.c(),s=q(),o=d("div"),p=d("b"),V.c(),h=q(),v=E(a),m=q(),x=d("hr"),k=q(),u=d("div"),f=d("h5"),R=E(A),j=q(),b=d("ul"),y=d("li"),L=E(c),F=q(),S=d("li"),he=E(Y),qe=q(),W=d("li"),ce=E(H),Le=q(),z=d("h5"),me=E(U),we=q(),C=d("ul"),X=d("li"),pe=E(K),xe=q(),J=d("li"),de=E(Q),Ae=q(),ee=d("li"),ve=E(le),ke=q(),te=d("h5"),ue=E(ie),je=q(),D=d("a"),D.textContent="The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study",Ee=q(),se=d("p"),se.textContent="In an extensive study with 4,757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. Among hypertension patients, there was a noted decrease in G2 and S, alongside an increase in G0.",O(t,"transform","translate(-50%)"),O(p,"color",n[4]?"#F2590D":n[5]?"#FFAA00":"#12A195"),r(l,"class","summaryHeader svelte-1hbkqij"),r(x,"class","svelte-1hbkqij"),r(f,"class","svelte-1hbkqij"),r(y,"class","svelte-1hbkqij"),r(S,"class","svelte-1hbkqij"),r(W,"class","svelte-1hbkqij"),r(b,"class","svelte-1hbkqij"),r(z,"class","svelte-1hbkqij"),r(X,"class","svelte-1hbkqij"),r(J,"class","svelte-1hbkqij"),r(ee,"class","svelte-1hbkqij"),r(C,"class","svelte-1hbkqij"),r(te,"class","svelte-1hbkqij"),r(D,"href","https://pubmed.ncbi.nlm.nih.gov/27124023/"),r(D,"class","svelte-1hbkqij"),r(se,"class","svelte-1hbkqij"),r(u,"class","summaryBody svelte-1hbkqij"),Te(u,"clp",n[0]==="clp"),r(e,"class","summaryMain svelte-1hbkqij")},m(w,M){$(w,e,M),i(e,l),i(l,t),B.m(t,null),i(l,s),i(l,o),i(o,p),V.m(p,null),i(o,h),i(o,v),i(e,m),i(e,x),i(e,k),i(e,u),i(u,f),i(f,R),i(u,j),i(u,b),i(b,y),i(y,L),i(b,F),i(b,S),i(S,he),i(b,qe),i(b,W),i(W,ce),i(u,Le),i(u,z),i(z,me),i(u,we),i(u,C),i(C,X),i(X,pe),i(C,xe),i(C,J),i(J,de),i(C,Ae),i(C,ee),i(ee,ve),i(u,ke),i(u,te),i(te,ue),i(u,je),i(u,D),i(u,Ee),i(u,se)},p(w,M){ne===(ne=Oe(w))&&B?B.p(w,M):(B.d(1),B=ne(w),B&&(B.c(),B.m(t,null))),re===(re=_e(w))&&V?V.p(w,M):(V.d(1),V=re(w),V&&(V.c(),V.m(p,null))),M&48&&O(p,"color",w[4]?"#F2590D":w[5]?"#FFAA00":"#12A195"),M&2&&a!==(a=g(w[1],"OVERLAP_TEXT")+"")&&_(v,a),M&2&&A!==(A=g(w[1],"SYMPTOMS")+"")&&_(R,A),M&2&&c!==(c=g(w[1],"SYMPTOM_ONE")+"")&&_(L,c),M&2&&Y!==(Y=g(w[1],"SYMPTOM_TWO")+"")&&_(he,Y),M&2&&H!==(H=g(w[1],"SYMPTOM_THREE")+"")&&_(ce,H),M&2&&U!==(U=g(w[1],"POSSIBLE_FOLLOW_UP")+"")&&_(me,U),M&2&&K!==(K=g(w[1],"POSSIBLE_FOLLOW_UP_ONE")+"")&&_(pe,K),M&2&&Q!==(Q=g(w[1],"POSSIBLE_FOLLOW_UP_TWO")+"")&&_(de,Q),M&2&&le!==(le=g(w[1],"POSSIBLE_FOLLOW_UP_THREE")+"")&&_(ve,le),M&2&&ie!==(ie=g(w[1],"RELATED_RESEARCH_PAPERS")+"")&&_(ue,ie),M&1&&Te(u,"clp",w[0]==="clp")},i:I,o:I,d(w){w&&T(e),B.d(),V.d()}}}function We(n){let e,l,t,s,o,p,h;function a(f,A){return f[4]||f[5]?Qe:Je}let v=a(n),m=v(n);function x(f,A){return f[4]?tl:f[5]?ll:el}let k=x(n),u=k(n);return{c(){e=d("div"),l=d("div"),t=d("b"),s=E(n[10]),o=E("/3"),p=q(),m.c(),h=E(`
1
+ import{c as Fe,S as be,i as qe,f as D,s as Be,a as Ve,e as h,b as x,d as Se,g as M,t as q,h as ae,j as F,k as R,o as Ce,l as me,m as Ze,n as g,p as $,q as P,r,u as s,v as S,w as Z,x as b,y as ue,z as ge,A as Le}from"./helpers.js";import{A as Oe}from"./Arrow.js";function Ie(n){Ve(n,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function De(n){let e,l,t,i,m=n[2]==="mature"&&Me(n),d=n[2]==="median"&&Re(n),o=n[2]==="youth"&&Ne(n);return{c(){m&&m.c(),e=x(),d&&d.c(),l=x(),o&&o.c(),t=Se()},m(a,f){m&&m.m(a,f),M(a,e,f),d&&d.m(a,f),M(a,l,f),o&&o.m(a,f),M(a,t,f),i=!0},p(a,f){a[2]==="mature"?m?(m.p(a,f),f&4&&F(m,1)):(m=Me(a),m.c(),F(m,1),m.m(e.parentNode,e)):m&&(me(),q(m,1,1,()=>{m=null}),ae()),a[2]==="median"?d?(d.p(a,f),f&4&&F(d,1)):(d=Re(a),d.c(),F(d,1),d.m(l.parentNode,l)):d&&(me(),q(d,1,1,()=>{d=null}),ae()),a[2]==="youth"?o?(o.p(a,f),f&4&&F(o,1)):(o=Ne(a),o.c(),F(o,1),o.m(t.parentNode,t)):o&&(me(),q(o,1,1,()=>{o=null}),ae())},i(a){i||(F(m),F(d),F(o),i=!0)},o(a){q(m),q(d),q(o),i=!1},d(a){a&&(R(e),R(l),R(t)),m&&m.d(a),d&&d.d(a),o&&o.d(a)}}}function Ye(n){let e,l,t,i,m,d,o,a=g(n[0],"OVERLAP_TEXT")+"",f,c,E,A,v,L,_=g(n[0],"SYMPTOMS")+"",G,w,O,u,p=g(n[0],"SYMPTOM_ONE")+"",y,T,Y,W=g(n[0],"SYMPTOM_TWO")+"",oe,ye,H,U=g(n[0],"SYMPTOM_THREE")+"",ce,xe,k,X=g(n[0],"POSSIBLE_FOLLOW_UP")+"",pe,ze,C,j,K=g(n[0],"POSSIBLE_FOLLOW_UP_ONE")+"",de,Ee,J,Q=g(n[0],"POSSIBLE_FOLLOW_UP_TWO")+"",fe,_e,ee,le=g(n[0],"POSSIBLE_FOLLOW_UP_THREE")+"",he,Te,te,se=g(n[0],"RELATED_RESEARCH_PAPERS")+"",ve,Ae,I,we,ie;function $e(z,N){return z[3]||z[4]?Ue:He}let ne=$e(n),B=ne(n);function Pe(z,N){return z[3]?je:z[4]?Xe:ke}let re=Pe(n),V=re(n);return{c(){e=h("div"),l=h("div"),t=h("div"),B.c(),i=x(),m=h("div"),d=h("b"),V.c(),o=x(),f=$(a),c=x(),E=h("hr"),A=x(),v=h("div"),L=h("h5"),G=$(_),w=x(),O=h("ul"),u=h("li"),y=$(p),T=x(),Y=h("li"),oe=$(W),ye=x(),H=h("li"),ce=$(U),xe=x(),k=h("h5"),pe=$(X),ze=x(),C=h("ul"),j=h("li"),de=$(K),Ee=x(),J=h("li"),fe=$(Q),_e=x(),ee=h("li"),he=$(le),Te=x(),te=h("h5"),ve=$(se),Ae=x(),I=h("a"),I.textContent="The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study",we=x(),ie=h("p"),ie.textContent="In an extensive study with 4,757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. Among hypertension patients, there was a noted decrease in G2 and S, alongside an increase in G0.",P(t,"transform","translate(-50%)"),P(d,"color",n[3]?"#F2590D":n[4]?"#FFAA00":"#12A195"),r(l,"class","summaryHeader svelte-1285zfm"),r(E,"class","svelte-1285zfm"),r(L,"class","svelte-1285zfm"),r(u,"class","svelte-1285zfm"),r(Y,"class","svelte-1285zfm"),r(H,"class","svelte-1285zfm"),r(O,"class","svelte-1285zfm"),r(k,"class","svelte-1285zfm"),r(j,"class","svelte-1285zfm"),r(J,"class","svelte-1285zfm"),r(ee,"class","svelte-1285zfm"),r(C,"class","svelte-1285zfm"),r(te,"class","svelte-1285zfm"),r(I,"href","https://pubmed.ncbi.nlm.nih.gov/27124023/"),r(I,"class","svelte-1285zfm"),r(ie,"class","svelte-1285zfm"),r(v,"class","summaryBody svelte-1285zfm"),r(e,"class","summaryMain svelte-1285zfm")},m(z,N){M(z,e,N),s(e,l),s(l,t),B.m(t,null),s(l,i),s(l,m),s(m,d),V.m(d,null),s(m,o),s(m,f),s(e,c),s(e,E),s(e,A),s(e,v),s(v,L),s(L,G),s(v,w),s(v,O),s(O,u),s(u,y),s(O,T),s(O,Y),s(Y,oe),s(O,ye),s(O,H),s(H,ce),s(v,xe),s(v,k),s(k,pe),s(v,ze),s(v,C),s(C,j),s(j,de),s(C,Ee),s(C,J),s(J,fe),s(C,_e),s(C,ee),s(ee,he),s(v,Te),s(v,te),s(te,ve),s(v,Ae),s(v,I),s(v,we),s(v,ie)},p(z,N){ne===(ne=$e(z))&&B?B.p(z,N):(B.d(1),B=ne(z),B&&(B.c(),B.m(t,null))),re===(re=Pe(z))&&V?V.p(z,N):(V.d(1),V=re(z),V&&(V.c(),V.m(d,null))),N&24&&P(d,"color",z[3]?"#F2590D":z[4]?"#FFAA00":"#12A195"),N&1&&a!==(a=g(z[0],"OVERLAP_TEXT")+"")&&S(f,a),N&1&&_!==(_=g(z[0],"SYMPTOMS")+"")&&S(G,_),N&1&&p!==(p=g(z[0],"SYMPTOM_ONE")+"")&&S(y,p),N&1&&W!==(W=g(z[0],"SYMPTOM_TWO")+"")&&S(oe,W),N&1&&U!==(U=g(z[0],"SYMPTOM_THREE")+"")&&S(ce,U),N&1&&X!==(X=g(z[0],"POSSIBLE_FOLLOW_UP")+"")&&S(pe,X),N&1&&K!==(K=g(z[0],"POSSIBLE_FOLLOW_UP_ONE")+"")&&S(de,K),N&1&&Q!==(Q=g(z[0],"POSSIBLE_FOLLOW_UP_TWO")+"")&&S(fe,Q),N&1&&le!==(le=g(z[0],"POSSIBLE_FOLLOW_UP_THREE")+"")&&S(he,le),N&1&&se!==(se=g(z[0],"RELATED_RESEARCH_PAPERS")+"")&&S(ve,se)},i:Z,o:Z,d(z){z&&R(e),B.d(),V.d()}}}function We(n){let e,l,t,i,m,d,o;function a(L,_){return L[3]||L[4]?Je:Ke}let f=a(n),c=f(n);function E(L,_){return L[3]?ll:L[4]?el:Qe}let A=E(n),v=A(n);return{c(){e=h("div"),l=h("div"),t=h("b"),i=$(n[9]),m=$("/3"),d=x(),c.c(),o=$(`
2
2
  \xA0\xA0
3
- `),u.c(),O(l,"padding-right","10px"),r(e,"class","header svelte-1hbkqij")},m(f,A){$(f,e,A),i(e,l),i(l,t),i(t,s),i(t,o),i(e,p),m.m(e,null),i(e,h),u.m(e,null)},p(f,A){A&1024&&_(s,f[10]),v===(v=a(f))&&m?m.p(f,A):(m.d(1),m=v(f),m&&(m.c(),m.m(e,h))),k===(k=x(f))&&u?u.p(f,A):(u.d(1),u=k(f),u&&(u.c(),u.m(e,null)))},i:I,o:I,d(f){f&&T(e),m.d(),u.d()}}}function Se(n){let e,l,t,s,o,p,h,a,v=g(n[1],"GLYCAN")+"",m,x,k,u,f,A,R,j,b,y;return b=new ye({props:{type:"right",percentile:n[9],lang:n[1]}}),{c(){e=d("div"),l=d("div"),t=G("svg"),s=G("path"),p=q(),h=d("div"),a=d("div"),m=E(v),x=q(),k=d("b"),k.textContent="Mature (G0)",u=q(),f=d("div"),A=E(n[8]),R=q(),j=d("div"),ge(b.$$.fragment),r(s,"fill",o=n[9]<=68?"#12A195":"#F2590D"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),O(h,"display","flex"),O(h,"flex-direction","column"),O(h,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),O(l,"font-size","0.8rem"),O(j,"width","70%"),O(j,"display","flex"),O(j,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(c,L){$(c,e,L),i(e,l),i(l,t),i(t,s),i(l,p),i(l,h),i(h,a),i(a,m),i(a,x),i(a,k),i(h,u),i(h,f),i(f,A),i(e,R),i(e,j),fe(b,j,null),y=!0},p(c,L){(!y||L&512&&o!==(o=c[9]<=68?"#12A195":"#F2590D"))&&r(s,"fill",o),(!y||L&2)&&v!==(v=g(c[1],"GLYCAN")+"")&&_(m,v),(!y||L&256)&&_(A,c[8]);const F={};L&512&&(F.percentile=c[9]),L&2&&(F.lang=c[1]),b.$set(F)},i(c){y||(P(b.$$.fragment,c),y=!0)},o(c){N(b.$$.fragment,c),y=!1},d(c){c&&T(e),be(b)}}}function Me(n){let e,l,t,s,o,p,h,a,v=g(n[1],"GLYCAN")+"",m,x,k,u,f,A,R,j,b,y;return b=new ye({props:{type:"left",percentile:n[9],lang:n[1]}}),{c(){e=d("div"),l=d("div"),t=G("svg"),s=G("path"),p=q(),h=d("div"),a=d("div"),m=E(v),x=q(),k=d("b"),k.textContent="Median (G1)",u=q(),f=d("div"),A=E(n[8]),R=q(),j=d("div"),ge(b.$$.fragment),r(s,"fill",o=n[9]>=32?"#12A195":"#F2590D"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),O(h,"display","flex"),O(h,"flex-direction","column"),O(h,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),O(l,"font-size","0.8rem"),O(j,"width","70%"),O(j,"display","flex"),O(j,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(c,L){$(c,e,L),i(e,l),i(l,t),i(t,s),i(l,p),i(l,h),i(h,a),i(a,m),i(a,x),i(a,k),i(h,u),i(h,f),i(f,A),i(e,R),i(e,j),fe(b,j,null),y=!0},p(c,L){(!y||L&512&&o!==(o=c[9]>=32?"#12A195":"#F2590D"))&&r(s,"fill",o),(!y||L&2)&&v!==(v=g(c[1],"GLYCAN")+"")&&_(m,v),(!y||L&256)&&_(A,c[8]);const F={};L&512&&(F.percentile=c[9]),L&2&&(F.lang=c[1]),b.$set(F)},i(c){y||(P(b.$$.fragment,c),y=!0)},o(c){N(b.$$.fragment,c),y=!1},d(c){c&&T(e),be(b)}}}function Fe(n){let e,l,t,s,o,p,h,a,v=g(n[1],"GLYCAN")+"",m,x,k,u,f,A,R,j,b,y;return b=new ye({props:{type:"left",percentile:n[9],lang:n[1]}}),{c(){e=d("div"),l=d("div"),t=G("svg"),s=G("path"),p=q(),h=d("div"),a=d("div"),m=E(v),x=q(),k=d("b"),k.textContent="Youth (G2)",u=q(),f=d("div"),A=E(n[8]),R=q(),j=d("div"),ge(b.$$.fragment),r(s,"fill",o=n[9]>=32?"#12A195":"#F2590D"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),O(h,"display","flex"),O(h,"flex-direction","column"),O(h,"padding-left","0.3rem"),r(l,"class","label svelte-1hbkqij"),O(l,"font-size","0.8rem"),O(j,"width","70%"),O(j,"display","flex"),O(j,"align-items","center"),r(e,"class","main svelte-1hbkqij")},m(c,L){$(c,e,L),i(e,l),i(l,t),i(t,s),i(l,p),i(l,h),i(h,a),i(a,m),i(a,x),i(a,k),i(h,u),i(h,f),i(f,A),i(e,R),i(e,j),fe(b,j,null),y=!0},p(c,L){(!y||L&512&&o!==(o=c[9]>=32?"#12A195":"#F2590D"))&&r(s,"fill",o),(!y||L&2)&&v!==(v=g(c[1],"GLYCAN")+"")&&_(m,v),(!y||L&256)&&_(A,c[8]);const F={};L&512&&(F.percentile=c[9]),L&2&&(F.lang=c[1]),b.$set(F)},i(c){y||(P(b.$$.fragment,c),y=!0)},o(c){N(b.$$.fragment,c),y=!1},d(c){c&&T(e),be(b)}}}function He(n){let e,l;return{c(){e=G("svg"),l=G("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),i(e,l)},p:I,d(t){t&&T(e)}}}function ze(n){let e,l,t;return{c(){e=G("svg"),l=G("path"),r(l,"fill",t=n[5]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(s,o){$(s,e,o),i(e,l)},p(s,o){o&32&&t!==(t=s[5]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(s){s&&T(e)}}}function Ue(n){let e=g(n[1],"NO_OVERLAP_LONG")+"",l;return{c(){l=E(e)},m(t,s){$(t,l,s)},p(t,s){s&2&&e!==(e=g(t[1],"NO_OVERLAP_LONG")+"")&&_(l,e)},d(t){t&&T(l)}}}function Xe(n){let e=g(n[1],"MINOR_OVERLAP_LONG")+"",l;return{c(){l=E(e)},m(t,s){$(t,l,s)},p(t,s){s&2&&e!==(e=g(t[1],"MINOR_OVERLAP_LONG")+"")&&_(l,e)},d(t){t&&T(l)}}}function Ke(n){let e=g(n[1],"SOME_OVERLAP_LONG")+"",l;return{c(){l=E(e)},m(t,s){$(t,l,s)},p(t,s){s&2&&e!==(e=g(t[1],"SOME_OVERLAP_LONG")+"")&&_(l,e)},d(t){t&&T(l)}}}function Je(n){let e,l;return{c(){e=G("svg"),l=G("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,s){$(t,e,s),i(e,l)},p:I,d(t){t&&T(e)}}}function Qe(n){let e,l,t;return{c(){e=G("svg"),l=G("path"),r(l,"fill",t=n[5]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(s,o){$(s,e,o),i(e,l)},p(s,o){o&32&&t!==(t=s[5]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(s){s&&T(e)}}}function el(n){let e=g(n[1],"NO_OVERLAP")+"",l;return{c(){l=E(e)},m(t,s){$(t,l,s)},p(t,s){s&2&&e!==(e=g(t[1],"NO_OVERLAP")+"")&&_(l,e)},d(t){t&&T(l)}}}function ll(n){let e=g(n[1],"MINOR_OVERLAP")+"",l;return{c(){l=E(e)},m(t,s){$(t,l,s)},p(t,s){s&2&&e!==(e=g(t[1],"MINOR_OVERLAP")+"")&&_(l,e)},d(t){t&&T(l)}}}function tl(n){let e=g(n[1],"SOME_OVERLAP")+"",l;return{c(){l=E(e)},m(t,s){$(t,l,s)},p(t,s){s&2&&e!==(e=g(t[1],"SOME_OVERLAP")+"")&&_(l,e)},d(t){t&&T(l)}}}function il(n){let e,l,t,s,o,p;const h=[We,Ye,De],a=[];function v(m,x){return m[2]==="header"&&m[7]?0:m[2]==="summary"&&m[6]?1:2}return t=v(n),s=a[t]=h[t](n),{c(){e=d("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=q(),s.c(),o=$e()},m(m,x){$(m,e,x),$(m,l,x),a[t].m(m,x),$(m,o,x),p=!0},p(m,[x]){let k=t;t=v(m),t===k?a[t].p(m,x):(oe(),N(a[k],1,1,()=>{a[k]=null}),ae(),s=a[t],s?s.p(m,x):(s=a[t]=h[t](m),s.c()),P(s,1),s.m(o.parentNode,o))},i(m){p||(P(s),p=!0)},o(m){N(s),p=!1},d(m){m&&(T(e),T(l),T(o)),a[t].d(m)}}}function sl(n,e,l){let{brand:t}=e,{lang:s}=e,{report:o}=e,{type:p}=e,{subtype:h}=e,{service:a=window.GaReportService}=e,v=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"}],m,x=!1,k=!1,u=!1,f=!1,A="",R=0,j=0,b=0,y=0,c=0;function L(){R>68&&l(10,c++,c),j<32&&l(10,c++,c),b<32&&l(10,c++,c)}const F=v.find(S=>S.name===h);return Ce(async()=>{m=await a.getReport(o),F&&(l(9,y=Number(m[F.csvName])),l(8,A=Ze(y,s))),R=Number(m.G0percentile),j=Number(m.G1percentile),b=Number(m.G2percentile),L(),c===3&&l(4,x=!0),c===2&&l(5,k=!0),l(7,f=!0),l(6,u=!0)}),n.$$set=S=>{"brand"in S&&l(0,t=S.brand),"lang"in S&&l(1,s=S.lang),"report"in S&&l(11,o=S.report),"type"in S&&l(2,p=S.type),"subtype"in S&&l(3,h=S.subtype),"service"in S&&l(12,a=S.service)},[t,s,p,h,x,k,u,f,A,y,c,o,a]}class Re extends Ge{constructor(e){super(),Ne(this,e,sl,il,Be,{brand:0,lang:1,report:11,type:2,subtype:3,service:12},Ie)}get brand(){return this.$$.ctx[0]}set brand(e){this.$$set({brand:e}),Z()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),Z()}get report(){return this.$$.ctx[11]}set report(e){this.$$set({report:e}),Z()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),Z()}get subtype(){return this.$$.ctx[3]}set subtype(e){this.$$set({subtype:e}),Z()}get service(){return this.$$.ctx[12]}set service(e){this.$$set({service:e}),Z()}}customElements.define("ga-hypertension",Pe(Re,{brand:{},lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Re as default};
3
+ `),v.c(),P(l,"padding-right","10px"),r(e,"class","header svelte-1285zfm")},m(L,_){M(L,e,_),s(e,l),s(l,t),s(t,i),s(t,m),s(e,d),c.m(e,null),s(e,o),v.m(e,null)},p(L,_){_&512&&S(i,L[9]),f===(f=a(L))&&c?c.p(L,_):(c.d(1),c=f(L),c&&(c.c(),c.m(e,o))),A===(A=E(L))&&v?v.p(L,_):(v.d(1),v=A(L),v&&(v.c(),v.m(e,null)))},i:Z,o:Z,d(L){L&&R(e),c.d(),v.d()}}}function Me(n){let e,l,t,i,m,d,o,a,f=g(n[0],"GLYCAN")+"",c,E,A,v,L,_,G,w,O,u;return O=new Oe({props:{type:"right",percentile:n[8],lang:n[0]}}),{c(){e=h("div"),l=h("div"),t=b("svg"),i=b("path"),d=x(),o=h("div"),a=h("div"),c=$(f),E=x(),A=h("b"),A.textContent="Mature (G0)",v=x(),L=h("div"),_=$(n[7]),G=x(),w=h("div"),ue(O.$$.fragment),r(i,"fill",m=n[8]<=68?"#12A195":"#F2590D"),r(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),P(o,"display","flex"),P(o,"flex-direction","column"),P(o,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),P(l,"font-size","0.8rem"),P(w,"width","70%"),P(w,"display","flex"),P(w,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(p,y){M(p,e,y),s(e,l),s(l,t),s(t,i),s(l,d),s(l,o),s(o,a),s(a,c),s(a,E),s(a,A),s(o,v),s(o,L),s(L,_),s(e,G),s(e,w),ge(O,w,null),u=!0},p(p,y){(!u||y&256&&m!==(m=p[8]<=68?"#12A195":"#F2590D"))&&r(i,"fill",m),(!u||y&1)&&f!==(f=g(p[0],"GLYCAN")+"")&&S(c,f),(!u||y&128)&&S(_,p[7]);const T={};y&256&&(T.percentile=p[8]),y&1&&(T.lang=p[0]),O.$set(T)},i(p){u||(F(O.$$.fragment,p),u=!0)},o(p){q(O.$$.fragment,p),u=!1},d(p){p&&R(e),Le(O)}}}function Re(n){let e,l,t,i,m,d,o,a,f=g(n[0],"GLYCAN")+"",c,E,A,v,L,_,G,w,O,u;return O=new Oe({props:{type:"left",percentile:n[8],lang:n[0]}}),{c(){e=h("div"),l=h("div"),t=b("svg"),i=b("path"),d=x(),o=h("div"),a=h("div"),c=$(f),E=x(),A=h("b"),A.textContent="Median (G1)",v=x(),L=h("div"),_=$(n[7]),G=x(),w=h("div"),ue(O.$$.fragment),r(i,"fill",m=n[8]>=32?"#12A195":"#F2590D"),r(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),P(o,"display","flex"),P(o,"flex-direction","column"),P(o,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),P(l,"font-size","0.8rem"),P(w,"width","70%"),P(w,"display","flex"),P(w,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(p,y){M(p,e,y),s(e,l),s(l,t),s(t,i),s(l,d),s(l,o),s(o,a),s(a,c),s(a,E),s(a,A),s(o,v),s(o,L),s(L,_),s(e,G),s(e,w),ge(O,w,null),u=!0},p(p,y){(!u||y&256&&m!==(m=p[8]>=32?"#12A195":"#F2590D"))&&r(i,"fill",m),(!u||y&1)&&f!==(f=g(p[0],"GLYCAN")+"")&&S(c,f),(!u||y&128)&&S(_,p[7]);const T={};y&256&&(T.percentile=p[8]),y&1&&(T.lang=p[0]),O.$set(T)},i(p){u||(F(O.$$.fragment,p),u=!0)},o(p){q(O.$$.fragment,p),u=!1},d(p){p&&R(e),Le(O)}}}function Ne(n){let e,l,t,i,m,d,o,a,f=g(n[0],"GLYCAN")+"",c,E,A,v,L,_,G,w,O,u;return O=new Oe({props:{type:"left",percentile:n[8],lang:n[0]}}),{c(){e=h("div"),l=h("div"),t=b("svg"),i=b("path"),d=x(),o=h("div"),a=h("div"),c=$(f),E=x(),A=h("b"),A.textContent="Youth (G2)",v=x(),L=h("div"),_=$(n[7]),G=x(),w=h("div"),ue(O.$$.fragment),r(i,"fill",m=n[8]>=32?"#12A195":"#F2590D"),r(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),P(o,"display","flex"),P(o,"flex-direction","column"),P(o,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),P(l,"font-size","0.8rem"),P(w,"width","70%"),P(w,"display","flex"),P(w,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(p,y){M(p,e,y),s(e,l),s(l,t),s(t,i),s(l,d),s(l,o),s(o,a),s(a,c),s(a,E),s(a,A),s(o,v),s(o,L),s(L,_),s(e,G),s(e,w),ge(O,w,null),u=!0},p(p,y){(!u||y&256&&m!==(m=p[8]>=32?"#12A195":"#F2590D"))&&r(i,"fill",m),(!u||y&1)&&f!==(f=g(p[0],"GLYCAN")+"")&&S(c,f),(!u||y&128)&&S(_,p[7]);const T={};y&256&&(T.percentile=p[8]),y&1&&(T.lang=p[0]),O.$set(T)},i(p){u||(F(O.$$.fragment,p),u=!0)},o(p){q(O.$$.fragment,p),u=!1},d(p){p&&R(e),Le(O)}}}function He(n){let e,l;return{c(){e=b("svg"),l=b("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(t,i){M(t,e,i),s(e,l)},p:Z,d(t){t&&R(e)}}}function Ue(n){let e,l,t;return{c(){e=b("svg"),l=b("path"),r(l,"fill",t=n[4]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(i,m){M(i,e,m),s(e,l)},p(i,m){m&16&&t!==(t=i[4]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(i){i&&R(e)}}}function ke(n){let e=g(n[0],"NO_OVERLAP_LONG")+"",l;return{c(){l=$(e)},m(t,i){M(t,l,i)},p(t,i){i&1&&e!==(e=g(t[0],"NO_OVERLAP_LONG")+"")&&S(l,e)},d(t){t&&R(l)}}}function Xe(n){let e=g(n[0],"MINOR_OVERLAP_LONG")+"",l;return{c(){l=$(e)},m(t,i){M(t,l,i)},p(t,i){i&1&&e!==(e=g(t[0],"MINOR_OVERLAP_LONG")+"")&&S(l,e)},d(t){t&&R(l)}}}function je(n){let e=g(n[0],"SOME_OVERLAP_LONG")+"",l;return{c(){l=$(e)},m(t,i){M(t,l,i)},p(t,i){i&1&&e!==(e=g(t[0],"SOME_OVERLAP_LONG")+"")&&S(l,e)},d(t){t&&R(l)}}}function Ke(n){let e,l;return{c(){e=b("svg"),l=b("path"),r(l,"fill","#12A195"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,i){M(t,e,i),s(e,l)},p:Z,d(t){t&&R(e)}}}function Je(n){let e,l,t;return{c(){e=b("svg"),l=b("path"),r(l,"fill",t=n[4]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(i,m){M(i,e,m),s(e,l)},p(i,m){m&16&&t!==(t=i[4]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(i){i&&R(e)}}}function Qe(n){let e=g(n[0],"NO_OVERLAP")+"",l;return{c(){l=$(e)},m(t,i){M(t,l,i)},p(t,i){i&1&&e!==(e=g(t[0],"NO_OVERLAP")+"")&&S(l,e)},d(t){t&&R(l)}}}function el(n){let e=g(n[0],"MINOR_OVERLAP")+"",l;return{c(){l=$(e)},m(t,i){M(t,l,i)},p(t,i){i&1&&e!==(e=g(t[0],"MINOR_OVERLAP")+"")&&S(l,e)},d(t){t&&R(l)}}}function ll(n){let e=g(n[0],"SOME_OVERLAP")+"",l;return{c(){l=$(e)},m(t,i){M(t,l,i)},p(t,i){i&1&&e!==(e=g(t[0],"SOME_OVERLAP")+"")&&S(l,e)},d(t){t&&R(l)}}}function tl(n){let e,l,t,i,m,d;const o=[We,Ye,De],a=[];function f(c,E){return c[1]==="header"&&c[6]?0:c[1]==="summary"&&c[5]?1:2}return t=f(n),i=a[t]=o[t](n),{c(){e=h("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',l=x(),i.c(),m=Se()},m(c,E){M(c,e,E),M(c,l,E),a[t].m(c,E),M(c,m,E),d=!0},p(c,[E]){let A=t;t=f(c),t===A?a[t].p(c,E):(me(),q(a[A],1,1,()=>{a[A]=null}),ae(),i=a[t],i?i.p(c,E):(i=a[t]=o[t](c),i.c()),F(i,1),i.m(m.parentNode,m))},i(c){d||(F(i),d=!0)},o(c){q(i),d=!1},d(c){c&&(R(e),R(l),R(m)),a[t].d(c)}}}function sl(n,e,l){let{lang:t}=e,{report:i}=e,{type:m}=e,{subtype:d}=e,{service:o=window.GaReportService}=e,a=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"}],f,c=!1,E=!1,A=!1,v=!1,L="",_=0,G=0,w=0,O=0,u=0;function p(){_>68&&l(9,u++,u),G<32&&l(9,u++,u),w<32&&l(9,u++,u)}const y=a.find(T=>T.name===d);return Ce(async()=>{f=await o.getReport(i),y&&(l(8,O=Number(f[y.csvName])),l(7,L=Ze(O,t))),_=Number(f.G0percentile),G=Number(f.G1percentile),w=Number(f.G2percentile),p(),u===3&&l(3,c=!0),u===2&&l(4,E=!0),l(6,v=!0),l(5,A=!0)}),n.$$set=T=>{"lang"in T&&l(0,t=T.lang),"report"in T&&l(10,i=T.report),"type"in T&&l(1,m=T.type),"subtype"in T&&l(2,d=T.subtype),"service"in T&&l(11,o=T.service)},[t,m,d,c,E,A,v,L,O,u,i,o]}class Ge extends be{constructor(e){super(),qe(this,e,sl,tl,Be,{lang:0,report:10,type:1,subtype:2,service:11},Ie)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),D()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),D()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),D()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),D()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),D()}}customElements.define("ga-hypertension",Fe(Ge,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{Ge as default};
@@ -1 +1 @@
1
- import{c as ue,S as ge,i as xe,f as X,s as ye,a as he,d as be,g as m,x as ce,k as n,o as fe,e as c,b as u,p as Z,y as A,q as g,r as e,D as me,E as ne,F as pe,v as s,w as _}from"./helpers.js";function je(p){he(p,"svelte-1jvtypm",".parent.svelte-1jvtypm{display:flex;width:100%;height:10px;position:relative;font-family:'Sen', 'Noto Sans JP', sans-serif}.slider.svelte-1jvtypm{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -110%);width:24%;max-height:70px}.bottom-triangle.svelte-1jvtypm{position:absolute;top:100%;transform:translate(-50%, 2%);width:8%;max-height:36px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#6B8779}.message.svelte-1jvtypm{position:absolute;top:4rem;width:90%;height:3rem;transform:translate(-50%, 0%);left:50%;max-height:40px;display:flex;align-items:center;justify-content:center;font-size:0.95rem;gap:.25rem;color:#36614B}.colored-percentile.svelte-1jvtypm{height:90%;width:27%;min-width:145px;color:white;display:flex;align-items:center;justify-content:center;border-radius:8px;padding:0 0.2rem 0 0.2rem}.colorBox.svelte-1jvtypm{width:14%;border-radius:24px;margin-left:0.2%;margin-right:0.2%}.colorBoxShort.svelte-1jvtypm{width:10%;border-radius:24px}.rotateImg.svelte-1jvtypm{transform:rotate(180deg)}p.svelte-1jvtypm{margin:0}")}function ve(p){let r,t,l,y,j,i,b,w,f,x,h,N,d,B,k,o,a,P,H,Y,F,S,z,ee,K,O,Q,te,D,$,E,re,T,U,V,se,L,I,oe,M,R,W,le,ie,q;function ae(v,C){return v[0]==="shield"||v[0]==="youth"?Be:we}let J=ae(p),G=J(p);return{c(){r=c("div"),G.c(),t=u(),l=c("div"),y=c("p"),y.textContent="\u3042\u306A\u305F\u306E\u7D50\u679C",j=u(),i=c("p"),b=c("b"),w=Z(p[4]),f=u(),x=A("svg"),h=A("path"),N=u(),d=c("div"),B=A("svg"),k=A("path"),o=u(),a=c("div"),P=c("b"),H=Z(p[1]),Y=u(),F=c("div"),S=A("svg"),z=A("path"),ee=u(),K=c("div"),O=c("b"),Q=Z(p[2]),te=u(),D=c("div"),$=A("svg"),E=A("path"),re=u(),T=c("div"),U=c("b"),V=Z(p[3]),se=u(),L=c("div"),I=c("p"),I.textContent="\u3053\u306E\u7D50\u679C\u306B\u3088\u308A\u3001\u3042\u306A\u305F\u306F",oe=u(),M=c("div"),R=c("b"),W=Z(p[5]),le=Z(" \u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB"),ie=u(),q=c("p"),q.textContent="* \u306B\u30E9\u30F3\u30AF\u4ED8\u3051\u3055\u308C\u307E\u3057\u305F\u3002",g(y,"font-size","1rem"),e(y,"class","svelte-1jvtypm"),g(i,"font-size","1.2rem"),e(i,"class","svelte-1jvtypm"),e(h,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(h,"fill","#09371F"),e(x,"class","rotateImg svelte-1jvtypm"),e(x,"width","14%"),e(x,"height","14%"),e(x,"viewBox","0 0 42 37"),e(x,"fill","none"),e(x,"xmlns","http://www.w3.org/2000/svg"),e(l,"class","slider svelte-1jvtypm"),g(l,"left",me(p[1],p[2],p[3],p[4])+"%"),e(k,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(k,"fill","#6B8779"),e(B,"width","30%"),e(B,"height","30%"),e(B,"viewBox","0 0 42 37"),e(B,"fill","none"),e(B,"xmlns","http://www.w3.org/2000/svg"),e(d,"class","bottom-triangle svelte-1jvtypm"),g(d,"left","9.5%"),e(z,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(z,"fill","#6B8779"),e(S,"width","30%"),e(S,"height","30%"),e(S,"viewBox","0 0 42 37"),e(S,"fill","none"),e(S,"xmlns","http://www.w3.org/2000/svg"),e(F,"class","bottom-triangle svelte-1jvtypm"),g(F,"left","50%"),e(E,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(E,"fill","#6B8779"),e($,"width","30%"),e($,"height","30%"),e($,"viewBox","0 0 42 37"),e($,"fill","none"),e($,"xmlns","http://www.w3.org/2000/svg"),e(D,"class","bottom-triangle svelte-1jvtypm"),g(D,"left","90.5%"),e(I,"class","svelte-1jvtypm"),e(M,"class","colored-percentile svelte-1jvtypm"),g(M,"background-color",p[0]==="shield"||p[0]==="youth"?ne(p[1],p[2],p[3],p[4]):pe(p[1],p[2],p[3],p[4])),e(q,"class","svelte-1jvtypm"),e(L,"class","message svelte-1jvtypm"),e(r,"class","parent svelte-1jvtypm")},m(v,C){m(v,r,C),G.m(r,null),s(r,t),s(r,l),s(l,y),s(l,j),s(l,i),s(i,b),s(b,w),s(l,f),s(l,x),s(x,h),s(r,N),s(r,d),s(d,B),s(B,k),s(d,o),s(d,a),s(a,P),s(P,H),s(r,Y),s(r,F),s(F,S),s(S,z),s(F,ee),s(F,K),s(K,O),s(O,Q),s(r,te),s(r,D),s(D,$),s($,E),s(D,re),s(D,T),s(T,U),s(U,V),s(r,se),s(r,L),s(L,I),s(L,oe),s(L,M),s(M,R),s(R,W),s(R,le),s(L,ie),s(L,q)},p(v,C){J!==(J=ae(v))&&(G.d(1),G=J(v),G&&(G.c(),G.m(r,t))),C&16&&_(w,v[4]),C&30&&g(l,"left",me(v[1],v[2],v[3],v[4])+"%"),C&2&&_(H,v[1]),C&4&&_(Q,v[2]),C&8&&_(V,v[3]),C&32&&_(W,v[5]),C&31&&g(M,"background-color",v[0]==="shield"||v[0]==="youth"?ne(v[1],v[2],v[3],v[4]):pe(v[1],v[2],v[3],v[4]))},d(v){v&&n(r),G.d()}}}function we(p){let r,t,l,y,j,i,b,w,f,x,h,N,d,B,k;return{c(){r=c("div"),t=u(),l=c("div"),y=u(),j=c("div"),i=u(),b=c("div"),w=u(),f=c("div"),x=u(),h=c("div"),N=u(),d=c("div"),B=u(),k=c("div"),e(r,"class","colorBoxShort svelte-1jvtypm"),g(r,"background-color","#015566"),e(l,"class","colorBox svelte-1jvtypm"),g(l,"background-color","#015566"),e(j,"class","colorBox svelte-1jvtypm"),g(j,"background-color","#13A195"),e(b,"class","colorBox svelte-1jvtypm"),g(b,"background-color","#66CCAA"),e(f,"class","colorBox svelte-1jvtypm"),g(f,"background-color","#66CCAA"),e(h,"class","colorBox svelte-1jvtypm"),g(h,"background-color","#F2800D"),e(d,"class","colorBox svelte-1jvtypm"),g(d,"background-color","#DF2120"),e(k,"class","colorBoxShort svelte-1jvtypm"),g(k,"background-color","#DF2120")},m(o,a){m(o,r,a),m(o,t,a),m(o,l,a),m(o,y,a),m(o,j,a),m(o,i,a),m(o,b,a),m(o,w,a),m(o,f,a),m(o,x,a),m(o,h,a),m(o,N,a),m(o,d,a),m(o,B,a),m(o,k,a)},d(o){o&&(n(r),n(t),n(l),n(y),n(j),n(i),n(b),n(w),n(f),n(x),n(h),n(N),n(d),n(B),n(k))}}}function Be(p){let r,t,l,y,j,i,b,w,f,x,h,N,d,B,k;return{c(){r=c("div"),t=u(),l=c("div"),y=u(),j=c("div"),i=u(),b=c("div"),w=u(),f=c("div"),x=u(),h=c("div"),N=u(),d=c("div"),B=u(),k=c("div"),e(r,"class","colorBoxShort svelte-1jvtypm"),g(r,"background-color","#DF2120"),e(l,"class","colorBox svelte-1jvtypm"),g(l,"background-color","#DF2120"),e(j,"class","colorBox svelte-1jvtypm"),g(j,"background-color","#F2800D"),e(b,"class","colorBox svelte-1jvtypm"),g(b,"background-color","#66CCAA"),e(f,"class","colorBox svelte-1jvtypm"),g(f,"background-color","#66CCAA"),e(h,"class","colorBox svelte-1jvtypm"),g(h,"background-color","#13A195"),e(d,"class","colorBox svelte-1jvtypm"),g(d,"background-color","#015566"),e(k,"class","colorBoxShort svelte-1jvtypm"),g(k,"background-color","#015566")},m(o,a){m(o,r,a),m(o,t,a),m(o,l,a),m(o,y,a),m(o,j,a),m(o,i,a),m(o,b,a),m(o,w,a),m(o,f,a),m(o,x,a),m(o,h,a),m(o,N,a),m(o,d,a),m(o,B,a),m(o,k,a)},d(o){o&&(n(r),n(t),n(l),n(y),n(j),n(i),n(b),n(w),n(f),n(x),n(h),n(N),n(d),n(B),n(k))}}}function ke(p){let r,t=p[6]&&ve(p);return{c(){t&&t.c(),r=be()},m(l,y){t&&t.m(l,y),m(l,r,y)},p(l,[y]){l[6]?t?t.p(l,y):(t=ve(l),t.c(),t.m(r.parentNode,r)):t&&(t.d(1),t=null)},i:ce,o:ce,d(l){l&&n(r),t&&t.d(l)}}}function Ne(p,r,t){let{report:l}=r,{type:y}=r,{service:j=window.GaReportService}=r,i,b=0,w=0,f=0,x=0,h=0,N=!1;return fe(async()=>{switch(i=await j.getReport(l),y){case"shield":t(1,b=Number(i.Sxmin)),t(2,w=Number(i.Sxaverage)),t(3,f=Number(i.Sxmax)),t(4,x=Number(i.Syourscore)),t(5,h=Number(i.Spercentile));break;case"youth":t(1,b=Number(i.G2xmin)),t(2,w=Number(i.G2xaverage)),t(3,f=Number(i.G2xmax)),t(4,x=Number(i.G2yourscore)),t(5,h=Number(i.G2percentile));break;case"mature":t(1,b=Number(i.G0xmin)),t(2,w=Number(i.G0xaverage)),t(3,f=Number(i.G0xmax)),t(4,x=Number(i.G0yourscore)),t(5,h=Number(i.G0percentile));break;case"lifestyle":t(1,b=Number(i.Bxmin)),t(2,w=Number(i.Bxaverage)),t(3,f=Number(i.Bxmax)),t(4,x=Number(i.Byourscore)),t(5,h=Number(i.Bpercentile))}t(6,N=!0)}),p.$$set=d=>{"report"in d&&t(7,l=d.report),"type"in d&&t(0,y=d.type),"service"in d&&t(8,j=d.service)},[y,b,w,f,x,h,N,l,j]}class de extends ge{constructor(r){super(),xe(this,r,Ne,ke,ye,{report:7,type:0,service:8},je)}get report(){return this.$$.ctx[7]}set report(r){this.$$set({report:r}),X()}get type(){return this.$$.ctx[0]}set type(r){this.$$set({type:r}),X()}get service(){return this.$$.ctx[8]}set service(r){this.$$set({service:r}),X()}}customElements.define("ga-index-graph-japanese",ue(de,{report:{},type:{},service:{}},[],[],!0));export{de as default};
1
+ import{c as ue,S as ge,i as xe,f as X,s as he,a as ye,d as be,g as m,w as ce,k as n,o as fe,e as c,b as u,p as Z,x as A,q as g,r as e,C as me,D as ne,E as pe,u as s,v as _}from"./helpers.js";function je(p){ye(p,"svelte-1jvtypm",".parent.svelte-1jvtypm{display:flex;width:100%;height:10px;position:relative;font-family:'Sen', 'Noto Sans JP', sans-serif}.slider.svelte-1jvtypm{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -110%);width:24%;max-height:70px}.bottom-triangle.svelte-1jvtypm{position:absolute;top:100%;transform:translate(-50%, 2%);width:8%;max-height:36px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#6B8779}.message.svelte-1jvtypm{position:absolute;top:4rem;width:90%;height:3rem;transform:translate(-50%, 0%);left:50%;max-height:40px;display:flex;align-items:center;justify-content:center;font-size:0.95rem;gap:.25rem;color:#36614B}.colored-percentile.svelte-1jvtypm{height:90%;width:27%;min-width:145px;color:white;display:flex;align-items:center;justify-content:center;border-radius:8px;padding:0 0.2rem 0 0.2rem}.colorBox.svelte-1jvtypm{width:14%;border-radius:24px;margin-left:0.2%;margin-right:0.2%}.colorBoxShort.svelte-1jvtypm{width:10%;border-radius:24px}.rotateImg.svelte-1jvtypm{transform:rotate(180deg)}p.svelte-1jvtypm{margin:0}")}function ve(p){let r,t,l,h,j,i,b,w,f,x,y,N,d,B,k,o,a,P,H,Y,D,S,z,ee,K,O,Q,te,F,$,E,re,T,U,V,se,L,I,oe,M,R,W,le,ie,q;function ae(v,C){return v[0]==="shield"||v[0]==="youth"?Be:we}let J=ae(p),G=J(p);return{c(){r=c("div"),G.c(),t=u(),l=c("div"),h=c("p"),h.textContent="\u3042\u306A\u305F\u306E\u7D50\u679C",j=u(),i=c("p"),b=c("b"),w=Z(p[4]),f=u(),x=A("svg"),y=A("path"),N=u(),d=c("div"),B=A("svg"),k=A("path"),o=u(),a=c("div"),P=c("b"),H=Z(p[1]),Y=u(),D=c("div"),S=A("svg"),z=A("path"),ee=u(),K=c("div"),O=c("b"),Q=Z(p[2]),te=u(),F=c("div"),$=A("svg"),E=A("path"),re=u(),T=c("div"),U=c("b"),V=Z(p[3]),se=u(),L=c("div"),I=c("p"),I.textContent="\u3053\u306E\u7D50\u679C\u306B\u3088\u308A\u3001\u3042\u306A\u305F\u306F",oe=u(),M=c("div"),R=c("b"),W=Z(p[5]),le=Z(" \u30D1\u30FC\u30BB\u30F3\u30BF\u30A4\u30EB"),ie=u(),q=c("p"),q.textContent="* \u306B\u30E9\u30F3\u30AF\u4ED8\u3051\u3055\u308C\u307E\u3057\u305F\u3002",g(h,"font-size","1rem"),e(h,"class","svelte-1jvtypm"),g(i,"font-size","1.2rem"),e(i,"class","svelte-1jvtypm"),e(y,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(y,"fill","#09371F"),e(x,"class","rotateImg svelte-1jvtypm"),e(x,"width","14%"),e(x,"height","14%"),e(x,"viewBox","0 0 42 37"),e(x,"fill","none"),e(x,"xmlns","http://www.w3.org/2000/svg"),e(l,"class","slider svelte-1jvtypm"),g(l,"left",me(p[1],p[2],p[3],p[4])+"%"),e(k,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(k,"fill","#6B8779"),e(B,"width","30%"),e(B,"height","30%"),e(B,"viewBox","0 0 42 37"),e(B,"fill","none"),e(B,"xmlns","http://www.w3.org/2000/svg"),e(d,"class","bottom-triangle svelte-1jvtypm"),g(d,"left","9.5%"),e(z,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(z,"fill","#6B8779"),e(S,"width","30%"),e(S,"height","30%"),e(S,"viewBox","0 0 42 37"),e(S,"fill","none"),e(S,"xmlns","http://www.w3.org/2000/svg"),e(D,"class","bottom-triangle svelte-1jvtypm"),g(D,"left","50%"),e(E,"d","M14.0718 4C17.151 -1.33334 24.849 -1.33333 27.9282 4.00001L40.0525 25C43.1317 30.3333 39.2827 37 33.1243 37L8.87563 37C2.71722 37 -1.13177 30.3333 1.94743 25L14.0718 4Z"),e(E,"fill","#6B8779"),e($,"width","30%"),e($,"height","30%"),e($,"viewBox","0 0 42 37"),e($,"fill","none"),e($,"xmlns","http://www.w3.org/2000/svg"),e(F,"class","bottom-triangle svelte-1jvtypm"),g(F,"left","90.5%"),e(I,"class","svelte-1jvtypm"),e(M,"class","colored-percentile svelte-1jvtypm"),g(M,"background-color",p[0]==="shield"||p[0]==="youth"?ne(p[1],p[2],p[3],p[4]):pe(p[1],p[2],p[3],p[4])),e(q,"class","svelte-1jvtypm"),e(L,"class","message svelte-1jvtypm"),e(r,"class","parent svelte-1jvtypm")},m(v,C){m(v,r,C),G.m(r,null),s(r,t),s(r,l),s(l,h),s(l,j),s(l,i),s(i,b),s(b,w),s(l,f),s(l,x),s(x,y),s(r,N),s(r,d),s(d,B),s(B,k),s(d,o),s(d,a),s(a,P),s(P,H),s(r,Y),s(r,D),s(D,S),s(S,z),s(D,ee),s(D,K),s(K,O),s(O,Q),s(r,te),s(r,F),s(F,$),s($,E),s(F,re),s(F,T),s(T,U),s(U,V),s(r,se),s(r,L),s(L,I),s(L,oe),s(L,M),s(M,R),s(R,W),s(R,le),s(L,ie),s(L,q)},p(v,C){J!==(J=ae(v))&&(G.d(1),G=J(v),G&&(G.c(),G.m(r,t))),C&16&&_(w,v[4]),C&30&&g(l,"left",me(v[1],v[2],v[3],v[4])+"%"),C&2&&_(H,v[1]),C&4&&_(Q,v[2]),C&8&&_(V,v[3]),C&32&&_(W,v[5]),C&31&&g(M,"background-color",v[0]==="shield"||v[0]==="youth"?ne(v[1],v[2],v[3],v[4]):pe(v[1],v[2],v[3],v[4]))},d(v){v&&n(r),G.d()}}}function we(p){let r,t,l,h,j,i,b,w,f,x,y,N,d,B,k;return{c(){r=c("div"),t=u(),l=c("div"),h=u(),j=c("div"),i=u(),b=c("div"),w=u(),f=c("div"),x=u(),y=c("div"),N=u(),d=c("div"),B=u(),k=c("div"),e(r,"class","colorBoxShort svelte-1jvtypm"),g(r,"background-color","#015566"),e(l,"class","colorBox svelte-1jvtypm"),g(l,"background-color","#015566"),e(j,"class","colorBox svelte-1jvtypm"),g(j,"background-color","#13A195"),e(b,"class","colorBox svelte-1jvtypm"),g(b,"background-color","#66CCAA"),e(f,"class","colorBox svelte-1jvtypm"),g(f,"background-color","#66CCAA"),e(y,"class","colorBox svelte-1jvtypm"),g(y,"background-color","#F2800D"),e(d,"class","colorBox svelte-1jvtypm"),g(d,"background-color","#DF2120"),e(k,"class","colorBoxShort svelte-1jvtypm"),g(k,"background-color","#DF2120")},m(o,a){m(o,r,a),m(o,t,a),m(o,l,a),m(o,h,a),m(o,j,a),m(o,i,a),m(o,b,a),m(o,w,a),m(o,f,a),m(o,x,a),m(o,y,a),m(o,N,a),m(o,d,a),m(o,B,a),m(o,k,a)},d(o){o&&(n(r),n(t),n(l),n(h),n(j),n(i),n(b),n(w),n(f),n(x),n(y),n(N),n(d),n(B),n(k))}}}function Be(p){let r,t,l,h,j,i,b,w,f,x,y,N,d,B,k;return{c(){r=c("div"),t=u(),l=c("div"),h=u(),j=c("div"),i=u(),b=c("div"),w=u(),f=c("div"),x=u(),y=c("div"),N=u(),d=c("div"),B=u(),k=c("div"),e(r,"class","colorBoxShort svelte-1jvtypm"),g(r,"background-color","#DF2120"),e(l,"class","colorBox svelte-1jvtypm"),g(l,"background-color","#DF2120"),e(j,"class","colorBox svelte-1jvtypm"),g(j,"background-color","#F2800D"),e(b,"class","colorBox svelte-1jvtypm"),g(b,"background-color","#66CCAA"),e(f,"class","colorBox svelte-1jvtypm"),g(f,"background-color","#66CCAA"),e(y,"class","colorBox svelte-1jvtypm"),g(y,"background-color","#13A195"),e(d,"class","colorBox svelte-1jvtypm"),g(d,"background-color","#015566"),e(k,"class","colorBoxShort svelte-1jvtypm"),g(k,"background-color","#015566")},m(o,a){m(o,r,a),m(o,t,a),m(o,l,a),m(o,h,a),m(o,j,a),m(o,i,a),m(o,b,a),m(o,w,a),m(o,f,a),m(o,x,a),m(o,y,a),m(o,N,a),m(o,d,a),m(o,B,a),m(o,k,a)},d(o){o&&(n(r),n(t),n(l),n(h),n(j),n(i),n(b),n(w),n(f),n(x),n(y),n(N),n(d),n(B),n(k))}}}function ke(p){let r,t=p[6]&&ve(p);return{c(){t&&t.c(),r=be()},m(l,h){t&&t.m(l,h),m(l,r,h)},p(l,[h]){l[6]?t?t.p(l,h):(t=ve(l),t.c(),t.m(r.parentNode,r)):t&&(t.d(1),t=null)},i:ce,o:ce,d(l){l&&n(r),t&&t.d(l)}}}function Ne(p,r,t){let{report:l}=r,{type:h}=r,{service:j=window.GaReportService}=r,i,b=0,w=0,f=0,x=0,y=0,N=!1;return fe(async()=>{switch(i=await j.getReport(l),h){case"shield":t(1,b=Number(i.Sxmin)),t(2,w=Number(i.Sxaverage)),t(3,f=Number(i.Sxmax)),t(4,x=Number(i.Syourscore)),t(5,y=Number(i.Spercentile));break;case"youth":t(1,b=Number(i.G2xmin)),t(2,w=Number(i.G2xaverage)),t(3,f=Number(i.G2xmax)),t(4,x=Number(i.G2yourscore)),t(5,y=Number(i.G2percentile));break;case"mature":t(1,b=Number(i.G0xmin)),t(2,w=Number(i.G0xaverage)),t(3,f=Number(i.G0xmax)),t(4,x=Number(i.G0yourscore)),t(5,y=Number(i.G0percentile));break;case"lifestyle":t(1,b=Number(i.Bxmin)),t(2,w=Number(i.Bxaverage)),t(3,f=Number(i.Bxmax)),t(4,x=Number(i.Byourscore)),t(5,y=Number(i.Bpercentile))}t(6,N=!0)}),p.$$set=d=>{"report"in d&&t(7,l=d.report),"type"in d&&t(0,h=d.type),"service"in d&&t(8,j=d.service)},[h,b,w,f,x,y,N,l,j]}class de extends ge{constructor(r){super(),xe(this,r,Ne,ke,he,{report:7,type:0,service:8},je)}get report(){return this.$$.ctx[7]}set report(r){this.$$set({report:r}),X()}get type(){return this.$$.ctx[0]}set type(r){this.$$set({type:r}),X()}get service(){return this.$$.ctx[8]}set service(r){this.$$set({service:r}),X()}}customElements.define("ga-index-graph-japanese",ue(de,{report:{},type:{},service:{}},[],[],!0));export{de as default};