@glycanage/web-components 1.40.0 → 1.42.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 K,S as U,i as Y,f as S,s as J,a as Q,e as v,b as L,d as I,g as T,t as G,h as D,j as q,k,o as W,l as F,m as N,n as $,p as s,q as r,r as A,u as z,v as M,w as H,x as B,y as C}from"./index2.js";import{A as j}from"./Arrow.js";import{g as X}from"./helpers.js";function ee(p){Q(p,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function te(p){let e,t,l,o,a=p[1]==="mature"&&P(p),c=p[1]==="median"&&R(p),i=p[1]==="youth"&&_(p);return{c(){a&&a.c(),e=L(),c&&c.c(),t=L(),i&&i.c(),l=I()},m(n,u){a&&a.m(n,u),T(n,e,u),c&&c.m(n,u),T(n,t,u),i&&i.m(n,u),T(n,l,u),o=!0},p(n,u){n[1]==="mature"?a?(a.p(n,u),u&2&&q(a,1)):(a=P(n),a.c(),q(a,1),a.m(e.parentNode,e)):a&&(F(),G(a,1,1,()=>{a=null}),D()),n[1]==="median"?c?(c.p(n,u),u&2&&q(c,1)):(c=R(n),c.c(),q(c,1),c.m(t.parentNode,t)):c&&(F(),G(c,1,1,()=>{c=null}),D()),n[1]==="youth"?i?(i.p(n,u),u&2&&q(i,1)):(i=_(n),i.c(),q(i,1),i.m(l.parentNode,l)):i&&(F(),G(i,1,1,()=>{i=null}),D())},i(n){o||(q(a),q(c),q(i),o=!0)},o(n){G(a),G(c),G(i),o=!1},d(n){n&&(k(e),k(t),k(l)),a&&a.d(n),c&&c.d(n),i&&i.d(n)}}}function le(p){let e,t,l,o,a,c,i=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",n,u,h,f,x,m;function y(g,b){return g[2]||g[3]?se:ne}let w=y(p),d=w(p);return{c(){e=v("div"),t=v("div"),l=v("div"),d.c(),o=L(),a=v("div"),c=v("b"),n=N(i),u=N(" of glycan indexes between "),h=v("br"),f=N(" your patient and this condition."),x=L(),m=v("div"),m.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Usually asymptomatic</li> <li>BP consistently &gt;140/90 mmHg</li> <li>Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Serial BP measurements and/or 24-hour BP monitoring</li> <li>BMI and/or body composition check</li> <li>Basic blood tests (lipid profile, renal and liver function)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/27124023/">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">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>',$(l,"transform","translate(-50%)"),$(c,"color",p[2]||p[3]?"#F2590D":"#12A195"),s(t,"class","summaryHeader svelte-yt1d5k"),s(m,"class","summaryBody svelte-yt1d5k"),s(e,"class","summaryMain svelte-yt1d5k")},m(g,b){T(g,e,b),r(e,t),r(t,l),d.m(l,null),r(t,o),r(t,a),r(a,c),r(c,n),r(a,u),r(a,h),r(a,f),r(e,x),r(e,m)},p(g,b){w!==(w=y(g))&&(d.d(1),d=w(g),d&&(d.c(),d.m(l,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&A(n,i),b&12&&$(c,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:z,o:z,d(g){g&&k(e),d.d()}}}function ie(p){let e,t,l,o,a,c,i,n=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",u;function h(m,y){return m[2]||m[3]?ae:re}let f=h(p),x=f(p);return{c(){e=v("div"),t=v("div"),l=v("b"),o=N(p[8]),a=N("/3"),c=L(),x.c(),i=N(`
2
- \xA0\xA0`),u=N(n),$(t,"padding-right","10px"),s(e,"class","header svelte-yt1d5k")},m(m,y){T(m,e,y),r(e,t),r(t,l),r(l,o),r(l,a),r(e,c),x.m(e,null),r(e,i),r(e,u)},p(m,y){y&256&&A(o,m[8]),f!==(f=h(m))&&(x.d(1),x=f(m),x&&(x.c(),x.m(e,i))),y&12&&n!==(n=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap")&&A(u,n)},i:z,o:z,d(m){m&&k(e),x.d()}}}function P(p){let e,t,l,o,a,c,i,n,u,h,f,x,m,y,w;return y=new j({props:{type:"right",percentile:p[7]}}),{c(){e=v("div"),t=v("div"),l=M("svg"),o=M("path"),c=L(),i=v("div"),n=v("div"),n.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),h=v("div"),f=N(p[6]),x=L(),m=v("div"),H(y.$$.fragment),s(o,"fill",a=p[7]<=68?"#12A195":"#F2590D"),s(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"),s(l,"xmlns","http://www.w3.org/2000/svg"),s(l,"width","24"),s(l,"height","24"),s(l,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),s(t,"class","label svelte-yt1d5k"),$(t,"font-size","0.8rem"),$(m,"width","70%"),$(m,"display","flex"),$(m,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),r(e,t),r(t,l),r(l,o),r(t,c),r(t,i),r(i,n),r(i,u),r(i,h),r(h,f),r(e,x),r(e,m),B(y,m,null),w=!0},p(d,g){(!w||g&128&&a!==(a=d[7]<=68?"#12A195":"#F2590D"))&&s(o,"fill",a),(!w||g&64)&&A(f,d[6]);const b={};g&128&&(b.percentile=d[7]),y.$set(b)},i(d){w||(q(y.$$.fragment,d),w=!0)},o(d){G(y.$$.fragment,d),w=!1},d(d){d&&k(e),C(y)}}}function R(p){let e,t,l,o,a,c,i,n,u,h,f,x,m,y,w;return y=new j({props:{type:"left",percentile:p[7]}}),{c(){e=v("div"),t=v("div"),l=M("svg"),o=M("path"),c=L(),i=v("div"),n=v("div"),n.innerHTML="Glycan <b>Median (G1)</b>",u=L(),h=v("div"),f=N(p[6]),x=L(),m=v("div"),H(y.$$.fragment),s(o,"fill",a=p[7]>=32?"#12A195":"#F2590D"),s(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"),s(l,"xmlns","http://www.w3.org/2000/svg"),s(l,"width","24"),s(l,"height","24"),s(l,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),s(t,"class","label svelte-yt1d5k"),$(t,"font-size","0.8rem"),$(m,"width","70%"),$(m,"display","flex"),$(m,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),r(e,t),r(t,l),r(l,o),r(t,c),r(t,i),r(i,n),r(i,u),r(i,h),r(h,f),r(e,x),r(e,m),B(y,m,null),w=!0},p(d,g){(!w||g&128&&a!==(a=d[7]>=32?"#12A195":"#F2590D"))&&s(o,"fill",a),(!w||g&64)&&A(f,d[6]);const b={};g&128&&(b.percentile=d[7]),y.$set(b)},i(d){w||(q(y.$$.fragment,d),w=!0)},o(d){G(y.$$.fragment,d),w=!1},d(d){d&&k(e),C(y)}}}function _(p){let e,t,l,o,a,c,i,n,u,h,f,x,m,y,w;return y=new j({props:{type:"left",percentile:p[7]}}),{c(){e=v("div"),t=v("div"),l=M("svg"),o=M("path"),c=L(),i=v("div"),n=v("div"),n.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),h=v("div"),f=N(p[6]),x=L(),m=v("div"),H(y.$$.fragment),s(o,"fill",a=p[7]>=32?"#12A195":"#F2590D"),s(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"),s(l,"xmlns","http://www.w3.org/2000/svg"),s(l,"width","24"),s(l,"height","24"),s(l,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),s(t,"class","label svelte-yt1d5k"),$(t,"font-size","0.8rem"),$(m,"width","70%"),$(m,"display","flex"),$(m,"align-items","center"),s(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),r(e,t),r(t,l),r(l,o),r(t,c),r(t,i),r(i,n),r(i,u),r(i,h),r(h,f),r(e,x),r(e,m),B(y,m,null),w=!0},p(d,g){(!w||g&128&&a!==(a=d[7]>=32?"#12A195":"#F2590D"))&&s(o,"fill",a),(!w||g&64)&&A(f,d[6]);const b={};g&128&&(b.percentile=d[7]),y.$set(b)},i(d){w||(q(y.$$.fragment,d),w=!0)},o(d){G(y.$$.fragment,d),w=!1},d(d){d&&k(e),C(y)}}}function ne(p){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#12A195"),s(t,"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(l,o){T(l,e,o),r(e,t)},d(l){l&&k(e)}}}function se(p){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#F2590D"),s(t,"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(l,o){T(l,e,o),r(e,t)},d(l){l&&k(e)}}}function re(p){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#12A195"),s(t,"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(l,o){T(l,e,o),r(e,t)},d(l){l&&k(e)}}}function ae(p){let e,t;return{c(){e=M("svg"),t=M("path"),s(t,"fill","#F2590D"),s(t,"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(l,o){T(l,e,o),r(e,t)},d(l){l&&k(e)}}}function oe(p){let e,t,l,o,a,c;const i=[ie,le,te],n=[];function u(h,f){return h[0]==="header"&&h[5]?0:h[0]==="summary"&&h[4]?1:2}return l=u(p),o=n[l]=i[l](p),{c(){e=v("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',t=L(),o.c(),a=I()},m(h,f){T(h,e,f),T(h,t,f),n[l].m(h,f),T(h,a,f),c=!0},p(h,[f]){let x=l;l=u(h),l===x?n[l].p(h,f):(F(),G(n[x],1,1,()=>{n[x]=null}),D(),o=n[l],o?o.p(h,f):(o=n[l]=i[l](h),o.c()),q(o,1),o.m(a.parentNode,a))},i(h){c||(q(o),c=!0)},o(h){G(o),c=!1},d(h){h&&(k(e),k(t),k(a)),n[l].d(h)}}}function de(p,e,t){let{report:l}=e,{type:o}=e,{subtype:a}=e,{service:c=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"}],n,u=!1,h=!1,f=!1,x=!1,m="",y=0,w=0,d=0,g=0,b=0;function O(){y>68&&t(8,b++,b),w<32&&t(8,b++,b),d<32&&t(8,b++,b)}const V=i.find(Z=>Z.name===a);return W(async()=>{n=await c.getReport(l),V&&(t(7,g=Number(n[V.csvName])),t(6,m=X(g))),y=Number(n.G0percentile),w=Number(n.G1percentile),d=Number(n.G2percentile),O(),b===3&&t(2,u=!0),b===2&&t(3,h=!0),t(5,x=!0),t(4,f=!0)}),p.$$set=Z=>{"report"in Z&&t(9,l=Z.report),"type"in Z&&t(0,o=Z.type),"subtype"in Z&&t(1,a=Z.subtype),"service"in Z&&t(10,c=Z.service)},[o,a,u,h,f,x,m,g,b,l,c]}class E extends U{constructor(e){super(),Y(this,e,de,oe,J,{report:9,type:0,subtype:1,service:10},ee)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),S()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),S()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),S()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),S()}}customElements.define("ga-hypertension",K(E,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{E as default};
1
+ import{c as K,S as U,i as X,f as D,s as Y,a as J,e as g,b,d as P,g as L,t as Z,h as B,j as q,k as M,o as Q,l as H,m as A,n as $,p as a,q as n,r as F,u as j,v as G,w as C,x as V,y as k}from"./index2.js";import{g as W,A as I}from"./Arrow.js";function ee(p){J(p,"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 le(p){let e,l,t,o,r=p[1]==="mature"&&R(p),m=p[1]==="median"&&_(p),i=p[1]==="youth"&&E(p);return{c(){r&&r.c(),e=b(),m&&m.c(),l=b(),i&&i.c(),t=P()},m(s,v){r&&r.m(s,v),L(s,e,v),m&&m.m(s,v),L(s,l,v),i&&i.m(s,v),L(s,t,v),o=!0},p(s,v){s[1]==="mature"?r?(r.p(s,v),v&2&&q(r,1)):(r=R(s),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(H(),Z(r,1,1,()=>{r=null}),B()),s[1]==="median"?m?(m.p(s,v),v&2&&q(m,1)):(m=_(s),m.c(),q(m,1),m.m(l.parentNode,l)):m&&(H(),Z(m,1,1,()=>{m=null}),B()),s[1]==="youth"?i?(i.p(s,v),v&2&&q(i,1)):(i=E(s),i.c(),q(i,1),i.m(t.parentNode,t)):i&&(H(),Z(i,1,1,()=>{i=null}),B())},i(s){o||(q(r),q(m),q(i),o=!0)},o(s){Z(r),Z(m),Z(i),o=!1},d(s){s&&(M(e),M(l),M(t)),r&&r.d(s),m&&m.d(s),i&&i.d(s)}}}function te(p){let e,l,t,o,r,m,i=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",s,v,d,u,w,f,h,y;function c(T,S){return T[2]||T[3]?ne:se}let x=c(p),z=x(p);return{c(){e=g("div"),l=g("div"),t=g("div"),z.c(),o=b(),r=g("div"),m=g("b"),s=A(i),v=A(" of glycan indexes between "),d=g("br"),u=A(" your patient and this condition."),w=b(),f=g("hr"),h=b(),y=g("div"),y.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li> <li class="svelte-1285zfm">BP consistently &gt;140/90 mmHg</li> <li class="svelte-1285zfm">Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Serial BP measurements and/or 24-hour BP monitoring</li> <li class="svelte-1285zfm">BMI and/or body composition check</li> <li class="svelte-1285zfm">Basic blood tests (lipid profile, renal and liver function)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/27124023/" class="svelte-1285zfm">The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study</a> <p class="svelte-1285zfm">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%)"),$(m,"color",p[2]||p[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-1285zfm"),a(f,"class","svelte-1285zfm"),a(y,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m(T,S){L(T,e,S),n(e,l),n(l,t),z.m(t,null),n(l,o),n(l,r),n(r,m),n(m,s),n(r,v),n(r,d),n(r,u),n(e,w),n(e,f),n(e,h),n(e,y)},p(T,S){x!==(x=c(T))&&(z.d(1),z=x(T),z&&(z.c(),z.m(t,null))),S&12&&i!==(i=T[2]?"Major overlap":T[3]?"Some overlap":"No significant overlap")&&F(s,i),S&12&&$(m,"color",T[2]||T[3]?"#F2590D":"#12A195")},i:j,o:j,d(T){T&&M(e),z.d()}}}function ie(p){let e,l,t,o,r,m,i,s=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",v;function d(f,h){return f[2]||f[3]?re:ae}let u=d(p),w=u(p);return{c(){e=g("div"),l=g("div"),t=g("b"),o=A(p[8]),r=A("/3"),m=b(),w.c(),i=A(`
2
+ \xA0\xA0`),v=A(s),$(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(f,h){L(f,e,h),n(e,l),n(l,t),n(t,o),n(t,r),n(e,m),w.m(e,null),n(e,i),n(e,v)},p(f,h){h&256&&F(o,f[8]),u!==(u=d(f))&&(w.d(1),w=u(f),w&&(w.c(),w.m(e,i))),h&12&&s!==(s=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&F(v,s)},i:j,o:j,d(f){f&&M(e),w.d()}}}function R(p){let e,l,t,o,r,m,i,s,v,d,u,w,f,h,y;return h=new I({props:{type:"right",percentile:p[7]}}),{c(){e=g("div"),l=g("div"),t=G("svg"),o=G("path"),m=b(),i=g("div"),s=g("div"),s.innerHTML="Glycan <b>Mature (G0)</b>",v=b(),d=g("div"),u=A(p[6]),w=b(),f=g("div"),C(h.$$.fragment),a(o,"fill",r=p[7]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),$(l,"font-size","0.8rem"),$(f,"width","70%"),$(f,"display","flex"),$(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){L(c,e,x),n(e,l),n(l,t),n(t,o),n(l,m),n(l,i),n(i,s),n(i,v),n(i,d),n(d,u),n(e,w),n(e,f),V(h,f,null),y=!0},p(c,x){(!y||x&128&&r!==(r=c[7]<=68?"#12A195":"#F2590D"))&&a(o,"fill",r),(!y||x&64)&&F(u,c[6]);const z={};x&128&&(z.percentile=c[7]),h.$set(z)},i(c){y||(q(h.$$.fragment,c),y=!0)},o(c){Z(h.$$.fragment,c),y=!1},d(c){c&&M(e),k(h)}}}function _(p){let e,l,t,o,r,m,i,s,v,d,u,w,f,h,y;return h=new I({props:{type:"left",percentile:p[7]}}),{c(){e=g("div"),l=g("div"),t=G("svg"),o=G("path"),m=b(),i=g("div"),s=g("div"),s.innerHTML="Glycan <b>Median (G1)</b>",v=b(),d=g("div"),u=A(p[6]),w=b(),f=g("div"),C(h.$$.fragment),a(o,"fill",r=p[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),$(l,"font-size","0.8rem"),$(f,"width","70%"),$(f,"display","flex"),$(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){L(c,e,x),n(e,l),n(l,t),n(t,o),n(l,m),n(l,i),n(i,s),n(i,v),n(i,d),n(d,u),n(e,w),n(e,f),V(h,f,null),y=!0},p(c,x){(!y||x&128&&r!==(r=c[7]>=32?"#12A195":"#F2590D"))&&a(o,"fill",r),(!y||x&64)&&F(u,c[6]);const z={};x&128&&(z.percentile=c[7]),h.$set(z)},i(c){y||(q(h.$$.fragment,c),y=!0)},o(c){Z(h.$$.fragment,c),y=!1},d(c){c&&M(e),k(h)}}}function E(p){let e,l,t,o,r,m,i,s,v,d,u,w,f,h,y;return h=new I({props:{type:"left",percentile:p[7]}}),{c(){e=g("div"),l=g("div"),t=G("svg"),o=G("path"),m=b(),i=g("div"),s=g("div"),s.innerHTML="Glycan <b>Youth (G2)</b>",v=b(),d=g("div"),u=A(p[6]),w=b(),f=g("div"),C(h.$$.fragment),a(o,"fill",r=p[7]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),$(i,"display","flex"),$(i,"flex-direction","column"),$(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),$(l,"font-size","0.8rem"),$(f,"width","70%"),$(f,"display","flex"),$(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){L(c,e,x),n(e,l),n(l,t),n(t,o),n(l,m),n(l,i),n(i,s),n(i,v),n(i,d),n(d,u),n(e,w),n(e,f),V(h,f,null),y=!0},p(c,x){(!y||x&128&&r!==(r=c[7]>=32?"#12A195":"#F2590D"))&&a(o,"fill",r),(!y||x&64)&&F(u,c[6]);const z={};x&128&&(z.percentile=c[7]),h.$set(z)},i(c){y||(q(h.$$.fragment,c),y=!0)},o(c){Z(h.$$.fragment,c),y=!1},d(c){c&&M(e),k(h)}}}function se(p){let e,l;return{c(){e=G("svg"),l=G("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,o){L(t,e,o),n(e,l)},d(t){t&&M(e)}}}function ne(p){let e,l;return{c(){e=G("svg"),l=G("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,o){L(t,e,o),n(e,l)},d(t){t&&M(e)}}}function ae(p){let e,l;return{c(){e=G("svg"),l=G("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,o){L(t,e,o),n(e,l)},d(t){t&&M(e)}}}function re(p){let e,l;return{c(){e=G("svg"),l=G("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,o){L(t,e,o),n(e,l)},d(t){t&&M(e)}}}function oe(p){let e,l,t,o,r,m;const i=[ie,te,le],s=[];function v(d,u){return d[0]==="header"&&d[5]?0:d[0]==="summary"&&d[4]?1:2}return t=v(p),o=s[t]=i[t](p),{c(){e=g("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=b(),o.c(),r=P()},m(d,u){L(d,e,u),L(d,l,u),s[t].m(d,u),L(d,r,u),m=!0},p(d,[u]){let w=t;t=v(d),t===w?s[t].p(d,u):(H(),Z(s[w],1,1,()=>{s[w]=null}),B(),o=s[t],o?o.p(d,u):(o=s[t]=i[t](d),o.c()),q(o,1),o.m(r.parentNode,r))},i(d){m||(q(o),m=!0)},o(d){Z(o),m=!1},d(d){d&&(M(e),M(l),M(r)),s[t].d(d)}}}function me(p,e,l){let{report:t}=e,{type:o}=e,{subtype:r}=e,{service:m=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"}],s,v=!1,d=!1,u=!1,w=!1,f="",h=0,y=0,c=0,x=0,z=0;function T(){h>68&&l(8,z++,z),y<32&&l(8,z++,z),c<32&&l(8,z++,z)}const S=i.find(N=>N.name===r);return Q(async()=>{s=await m.getReport(t),S&&(l(7,x=Number(s[S.csvName])),l(6,f=W(x))),h=Number(s.G0percentile),y=Number(s.G1percentile),c=Number(s.G2percentile),T(),z===3&&l(2,v=!0),z===2&&l(3,d=!0),l(5,w=!0),l(4,u=!0)}),p.$$set=N=>{"report"in N&&l(9,t=N.report),"type"in N&&l(0,o=N.type),"subtype"in N&&l(1,r=N.subtype),"service"in N&&l(10,m=N.service)},[o,r,v,d,u,w,f,x,z,t,m]}class O extends U{constructor(e){super(),X(this,e,me,oe,Y,{report:9,type:0,subtype:1,service:10},ee)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),D()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),D()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),D()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),D()}}customElements.define("ga-hypertension",K(O,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{O as default};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./colorectal.wc.js"),import("./menopause.wc.js"),import("./endometrial.wc.js"),import("./ovarian.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js")};export{t as default};
1
+ const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./menopause.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js")};export{t as default};
package/dist/lupus.wc.js CHANGED
@@ -1,2 +1,2 @@
1
- import{c as W,S as K,i as Q,f as z,s as X,a as Y,e as w,b as x,d as V,g as T,t as N,h as F,j as L,k as q,o as ee,l as B,m as M,n as b,p as a,q as s,r as S,u as C,v as Z,w as D,x as E,y as H}from"./index2.js";import{A as G}from"./Arrow.js";import{g as le}from"./helpers.js";function te(m){Y(m,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function ie(m){let e,l,t,r,v,p=m[1]==="peak18"&&j(m),n=m[1]==="peak22"&&I(m),o=m[1]==="peak23"&&_(m),u=m[1]==="peak26"&&O(m);return{c(){p&&p.c(),e=x(),n&&n.c(),l=x(),o&&o.c(),t=x(),u&&u.c(),r=V()},m(i,c){p&&p.m(i,c),T(i,e,c),n&&n.m(i,c),T(i,l,c),o&&o.m(i,c),T(i,t,c),u&&u.m(i,c),T(i,r,c),v=!0},p(i,c){i[1]==="peak18"?p?(p.p(i,c),c&2&&L(p,1)):(p=j(i),p.c(),L(p,1),p.m(e.parentNode,e)):p&&(B(),N(p,1,1,()=>{p=null}),F()),i[1]==="peak22"?n?(n.p(i,c),c&2&&L(n,1)):(n=I(i),n.c(),L(n,1),n.m(l.parentNode,l)):n&&(B(),N(n,1,1,()=>{n=null}),F()),i[1]==="peak23"?o?(o.p(i,c),c&2&&L(o,1)):(o=_(i),o.c(),L(o,1),o.m(t.parentNode,t)):o&&(B(),N(o,1,1,()=>{o=null}),F()),i[1]==="peak26"?u?(u.p(i,c),c&2&&L(u,1)):(u=O(i),u.c(),L(u,1),u.m(r.parentNode,r)):u&&(B(),N(u,1,1,()=>{u=null}),F())},i(i){v||(L(p),L(n),L(o),L(u),v=!0)},o(i){N(p),N(n),N(o),N(u),v=!1},d(i){i&&(q(e),q(l),q(t),q(r)),p&&p.d(i),n&&n.d(i),o&&o.d(i),u&&u.d(i)}}}function ne(m){let e,l,t,r,v,p,n=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",o,u,i,c,k,h;function f(g,$){return g[2]||g[3]?re:ae}let y=f(m),d=y(m);return{c(){e=w("div"),l=w("div"),t=w("div"),d.c(),r=x(),v=w("div"),p=w("b"),o=M(n),u=M(" of glycan indexes between "),i=w("br"),c=M(" your patient and this condition."),k=x(),h=w("div"),h.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)</li> <li>Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)</li> <li>Joint pain and swelling</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)</li> <li>Urinalysis</li> <li>Organ-targeted imaging (e.g., CT thorax, CT abdomen)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://pubmed.ncbi.nlm.nih.gov/26200652/">Association of Systemic Lupus Erythematosus With Decreased Immunosuppressive Potential of the IgG Glycome</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In an analysis focusing on SLE, a discovery cohort consisting of 261 predominantly female SLE patients and 247 matched controls of Latin American Mestizo origin was studied for changes in IgG glycome, alongside two independent replication cohorts from Trinidad (108 SLE patients and 193 controls) and China (106 SLE patients and 105 controls). The study identified specific alterations in glycan traits, including a decrease in G2 and S, and notable changes in glycan peaks, with increases in peaks 18 and 23 and decreases in peaks 22 and 26. Utilizing these peak variations, a predictive model was developed, achieving an AUC of up to 0.882.</p>',b(t,"transform","translate(-50%)"),b(p,"color",m[2]||m[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-yt1d5k"),a(h,"class","summaryBody svelte-yt1d5k"),a(e,"class","summaryMain svelte-yt1d5k")},m(g,$){T(g,e,$),s(e,l),s(l,t),d.m(t,null),s(l,r),s(l,v),s(v,p),s(p,o),s(v,u),s(v,i),s(v,c),s(e,k),s(e,h)},p(g,$){y!==(y=f(g))&&(d.d(1),d=y(g),d&&(d.c(),d.m(t,null))),$&12&&n!==(n=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&S(o,n),$&12&&b(p,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:C,o:C,d(g){g&&q(e),d.d()}}}function se(m){let e,l,t,r,v,p,n,o=m[2]?"Major overlap":m[3]?"Some overlap":"No significant overlap",u;function i(h,f){return h[2]||h[3]?de:oe}let c=i(m),k=c(m);return{c(){e=w("div"),l=w("div"),t=w("b"),r=M(m[8]),v=M("/4"),p=x(),k.c(),n=M(`
2
- \xA0\xA0`),u=M(o),b(l,"padding-right","10px"),a(e,"class","header svelte-yt1d5k")},m(h,f){T(h,e,f),s(e,l),s(l,t),s(t,r),s(t,v),s(e,p),k.m(e,null),s(e,n),s(e,u)},p(h,f){f&256&&S(r,h[8]),c!==(c=i(h))&&(k.d(1),k=c(h),k&&(k.c(),k.m(e,n))),f&12&&o!==(o=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap")&&S(u,o)},i:C,o:C,d(h){h&&q(e),k.d()}}}function j(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>18 (P18)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function I(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"left",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>22 (P22)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function _(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"right",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>23 (P23)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function O(m){let e,l,t,r,v,p,n,o,u,i,c,k,h,f,y;return f=new G({props:{type:"left",percentile:m[7]}}),{c(){e=w("div"),l=w("div"),t=Z("svg"),r=Z("path"),p=x(),n=w("div"),o=w("div"),o.innerHTML="Peak <b>26 (P26)</b>",u=x(),i=w("div"),c=M(m[6]),k=x(),h=w("div"),D(f.$$.fragment),a(r,"fill",v=m[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){T(d,e,g),s(e,l),s(l,t),s(t,r),s(l,p),s(l,n),s(n,o),s(n,u),s(n,i),s(i,c),s(e,k),s(e,h),E(f,h,null),y=!0},p(d,g){(!y||g&128&&v!==(v=d[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||g&64)&&S(c,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(L(f.$$.fragment,d),y=!0)},o(d){N(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function ae(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function re(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function oe(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function de(m){let e,l;return{c(){e=Z("svg"),l=Z("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),s(e,l)},d(t){t&&q(e)}}}function ce(m){let e,l,t,r,v,p;const n=[se,ne,ie],o=[];function u(i,c){return i[0]==="header"&&i[5]?0:i[0]==="summary"&&i[4]?1:2}return t=u(m),r=o[t]=n[t](m),{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=x(),r.c(),v=V()},m(i,c){T(i,e,c),T(i,l,c),o[t].m(i,c),T(i,v,c),p=!0},p(i,[c]){let k=t;t=u(i),t===k?o[t].p(i,c):(B(),N(o[k],1,1,()=>{o[k]=null}),F(),r=o[t],r?r.p(i,c):(r=o[t]=n[t](i),r.c()),L(r,1),r.m(v.parentNode,v))},i(i){p||(L(r),p=!0)},o(i){N(r),p=!1},d(i){i&&(q(e),q(l),q(v)),o[t].d(i)}}}function me(m,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:p=window.GaReportService}=e,n=[{name:"peak18",csvName:"P18percentile"},{name:"peak22",csvName:"P22percentile"},{name:"peak23",csvName:"P23percentile"},{name:"peak26",csvName:"P26percentile"}],o,u=!1,i=!1,c=!1,k=!1,h="",f=0,y=0,d=0,g=0,$=0,A=0;function J(){f>68&&l(8,A++,A),y<32&&l(8,A++,A),d>68&&l(8,A++,A),g<32&&l(8,A++,A)}const R=n.find(P=>P.name===v);return ee(async()=>{o=await p.getReport(t),R&&(l(7,$=Number(o[R.csvName])),l(6,h=le($))),f=Number(o.P18percentile),y=Number(o.P22percentile),d=Number(o.P23percentile),g=Number(o.P26percentile),J(),A===4&&l(2,u=!0),A===3&&l(3,i=!0),l(5,k=!0),l(4,c=!0)}),m.$$set=P=>{"report"in P&&l(9,t=P.report),"type"in P&&l(0,r=P.type),"subtype"in P&&l(1,v=P.subtype),"service"in P&&l(10,p=P.service)},[r,v,u,i,c,k,h,$,A,t,p]}class U extends K{constructor(e){super(),Q(this,e,me,ce,X,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),z()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),z()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),z()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),z()}}customElements.define("ga-lupus",W(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
1
+ import{c as W,S as X,i as K,f as P,s as Q,a as Y,e as g,b,d as j,g as k,t as Z,h as F,j as T,k as q,o as ee,l as B,m as N,n as w,p as a,q as n,r as D,u as E,v as M,w as H,x as C,y as G}from"./index2.js";import{g as le,A as R}from"./Arrow.js";function te(d){Y(d,"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 se(d){let e,l,t,r,v,p=d[1]==="peak18"&&I(d),i=d[1]==="peak22"&&_(d),m=d[1]==="peak23"&&O(d),h=d[1]==="peak26"&&U(d);return{c(){p&&p.c(),e=b(),i&&i.c(),l=b(),m&&m.c(),t=b(),h&&h.c(),r=j()},m(s,o){p&&p.m(s,o),k(s,e,o),i&&i.m(s,o),k(s,l,o),m&&m.m(s,o),k(s,t,o),h&&h.m(s,o),k(s,r,o),v=!0},p(s,o){s[1]==="peak18"?p?(p.p(s,o),o&2&&T(p,1)):(p=I(s),p.c(),T(p,1),p.m(e.parentNode,e)):p&&(B(),Z(p,1,1,()=>{p=null}),F()),s[1]==="peak22"?i?(i.p(s,o),o&2&&T(i,1)):(i=_(s),i.c(),T(i,1),i.m(l.parentNode,l)):i&&(B(),Z(i,1,1,()=>{i=null}),F()),s[1]==="peak23"?m?(m.p(s,o),o&2&&T(m,1)):(m=O(s),m.c(),T(m,1),m.m(t.parentNode,t)):m&&(B(),Z(m,1,1,()=>{m=null}),F()),s[1]==="peak26"?h?(h.p(s,o),o&2&&T(h,1)):(h=U(s),h.c(),T(h,1),h.m(r.parentNode,r)):h&&(B(),Z(h,1,1,()=>{h=null}),F())},i(s){v||(T(p),T(i),T(m),T(h),v=!0)},o(s){Z(p),Z(i),Z(m),Z(h),v=!1},d(s){s&&(q(e),q(l),q(t),q(r)),p&&p.d(s),i&&i.d(s),m&&m.d(s),h&&h.d(s)}}}function ie(d){let e,l,t,r,v,p,i=d[2]?"Major overlap":d[3]?"Some overlap":"No significant overlap",m,h,s,o,z,f,u,y;function c($,S){return $[2]||$[3]?re:ae}let x=c(d),L=x(d);return{c(){e=g("div"),l=g("div"),t=g("div"),L.c(),r=b(),v=g("div"),p=g("b"),m=N(i),h=N(" of glycan indexes between "),s=g("br"),o=N(" your patient and this condition."),z=b(),f=g("hr"),u=b(),y=g("div"),y.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)</li> <li class="svelte-1285zfm">Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)</li> <li class="svelte-1285zfm">Joint pain and swelling</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)</li> <li class="svelte-1285zfm">Urinalysis</li> <li class="svelte-1285zfm">Organ-targeted imaging (e.g., CT thorax, CT abdomen)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://pubmed.ncbi.nlm.nih.gov/26200652/" class="svelte-1285zfm">Association of Systemic Lupus Erythematosus With Decreased Immunosuppressive Potential of the IgG Glycome</a> <p class="svelte-1285zfm">In an analysis focusing on SLE, a discovery cohort consisting of 261 predominantly female SLE patients and 247 matched controls of Latin American Mestizo origin was studied for changes in IgG glycome, alongside two independent replication cohorts from Trinidad (108 SLE patients and 193 controls) and China (106 SLE patients and 105 controls). The study identified specific alterations in glycan traits, including a decrease in G2 and S, and notable changes in glycan peaks, with increases in peaks 18 and 23 and decreases in peaks 22 and 26. Utilizing these peak variations, a predictive model was developed, achieving an AUC of up to 0.882.</p>',w(t,"transform","translate(-50%)"),w(p,"color",d[2]||d[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-1285zfm"),a(f,"class","svelte-1285zfm"),a(y,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m($,S){k($,e,S),n(e,l),n(l,t),L.m(t,null),n(l,r),n(l,v),n(v,p),n(p,m),n(v,h),n(v,s),n(v,o),n(e,z),n(e,f),n(e,u),n(e,y)},p($,S){x!==(x=c($))&&(L.d(1),L=x($),L&&(L.c(),L.m(t,null))),S&12&&i!==(i=$[2]?"Major overlap":$[3]?"Some overlap":"No significant overlap")&&D(m,i),S&12&&w(p,"color",$[2]||$[3]?"#F2590D":"#12A195")},i:E,o:E,d($){$&&q(e),L.d()}}}function ne(d){let e,l,t,r,v,p,i,m=d[2]?"Major overlap":d[3]?"Some overlap":"No significant overlap",h;function s(f,u){return f[2]||f[3]?oe:me}let o=s(d),z=o(d);return{c(){e=g("div"),l=g("div"),t=g("b"),r=N(d[8]),v=N("/4"),p=b(),z.c(),i=N(`
2
+ \xA0\xA0`),h=N(m),w(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(f,u){k(f,e,u),n(e,l),n(l,t),n(t,r),n(t,v),n(e,p),z.m(e,null),n(e,i),n(e,h)},p(f,u){u&256&&D(r,f[8]),o!==(o=s(f))&&(z.d(1),z=o(f),z&&(z.c(),z.m(e,i))),u&12&&m!==(m=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&D(h,m)},i:E,o:E,d(f){f&&q(e),z.d()}}}function I(d){let e,l,t,r,v,p,i,m,h,s,o,z,f,u,y;return u=new R({props:{type:"right",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=M("svg"),r=M("path"),p=b(),i=g("div"),m=g("div"),m.innerHTML="Peak <b>18 (P18)</b>",h=b(),s=g("div"),o=N(d[6]),z=b(),f=g("div"),H(u.$$.fragment),a(r,"fill",v=d[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),w(i,"display","flex"),w(i,"flex-direction","column"),w(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),w(l,"font-size","0.8rem"),w(f,"width","70%"),w(f,"display","flex"),w(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){k(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,m),n(i,h),n(i,s),n(s,o),n(e,z),n(e,f),C(u,f,null),y=!0},p(c,x){(!y||x&128&&v!==(v=c[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||x&64)&&D(o,c[6]);const L={};x&128&&(L.percentile=c[7]),u.$set(L)},i(c){y||(T(u.$$.fragment,c),y=!0)},o(c){Z(u.$$.fragment,c),y=!1},d(c){c&&q(e),G(u)}}}function _(d){let e,l,t,r,v,p,i,m,h,s,o,z,f,u,y;return u=new R({props:{type:"left",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=M("svg"),r=M("path"),p=b(),i=g("div"),m=g("div"),m.innerHTML="Peak <b>22 (P22)</b>",h=b(),s=g("div"),o=N(d[6]),z=b(),f=g("div"),H(u.$$.fragment),a(r,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),w(i,"display","flex"),w(i,"flex-direction","column"),w(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),w(l,"font-size","0.8rem"),w(f,"width","70%"),w(f,"display","flex"),w(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){k(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,m),n(i,h),n(i,s),n(s,o),n(e,z),n(e,f),C(u,f,null),y=!0},p(c,x){(!y||x&128&&v!==(v=c[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||x&64)&&D(o,c[6]);const L={};x&128&&(L.percentile=c[7]),u.$set(L)},i(c){y||(T(u.$$.fragment,c),y=!0)},o(c){Z(u.$$.fragment,c),y=!1},d(c){c&&q(e),G(u)}}}function O(d){let e,l,t,r,v,p,i,m,h,s,o,z,f,u,y;return u=new R({props:{type:"right",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=M("svg"),r=M("path"),p=b(),i=g("div"),m=g("div"),m.innerHTML="Peak <b>23 (P23)</b>",h=b(),s=g("div"),o=N(d[6]),z=b(),f=g("div"),H(u.$$.fragment),a(r,"fill",v=d[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),w(i,"display","flex"),w(i,"flex-direction","column"),w(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),w(l,"font-size","0.8rem"),w(f,"width","70%"),w(f,"display","flex"),w(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){k(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,m),n(i,h),n(i,s),n(s,o),n(e,z),n(e,f),C(u,f,null),y=!0},p(c,x){(!y||x&128&&v!==(v=c[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||x&64)&&D(o,c[6]);const L={};x&128&&(L.percentile=c[7]),u.$set(L)},i(c){y||(T(u.$$.fragment,c),y=!0)},o(c){Z(u.$$.fragment,c),y=!1},d(c){c&&q(e),G(u)}}}function U(d){let e,l,t,r,v,p,i,m,h,s,o,z,f,u,y;return u=new R({props:{type:"left",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=M("svg"),r=M("path"),p=b(),i=g("div"),m=g("div"),m.innerHTML="Peak <b>26 (P26)</b>",h=b(),s=g("div"),o=N(d[6]),z=b(),f=g("div"),H(u.$$.fragment),a(r,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),w(i,"display","flex"),w(i,"flex-direction","column"),w(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),w(l,"font-size","0.8rem"),w(f,"width","70%"),w(f,"display","flex"),w(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){k(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,m),n(i,h),n(i,s),n(s,o),n(e,z),n(e,f),C(u,f,null),y=!0},p(c,x){(!y||x&128&&v!==(v=c[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!y||x&64)&&D(o,c[6]);const L={};x&128&&(L.percentile=c[7]),u.$set(L)},i(c){y||(T(u.$$.fragment,c),y=!0)},o(c){Z(u.$$.fragment,c),y=!1},d(c){c&&q(e),G(u)}}}function ae(d){let e,l;return{c(){e=M("svg"),l=M("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),n(e,l)},d(t){t&&q(e)}}}function re(d){let e,l;return{c(){e=M("svg"),l=M("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),n(e,l)},d(t){t&&q(e)}}}function me(d){let e,l;return{c(){e=M("svg"),l=M("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),n(e,l)},d(t){t&&q(e)}}}function oe(d){let e,l;return{c(){e=M("svg"),l=M("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),n(e,l)},d(t){t&&q(e)}}}function ce(d){let e,l,t,r,v,p;const i=[ne,ie,se],m=[];function h(s,o){return s[0]==="header"&&s[5]?0:s[0]==="summary"&&s[4]?1:2}return t=h(d),r=m[t]=i[t](d),{c(){e=g("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=b(),r.c(),v=j()},m(s,o){k(s,e,o),k(s,l,o),m[t].m(s,o),k(s,v,o),p=!0},p(s,[o]){let z=t;t=h(s),t===z?m[t].p(s,o):(B(),Z(m[z],1,1,()=>{m[z]=null}),F(),r=m[t],r?r.p(s,o):(r=m[t]=i[t](s),r.c()),T(r,1),r.m(v.parentNode,v))},i(s){p||(T(r),p=!0)},o(s){Z(r),p=!1},d(s){s&&(q(e),q(l),q(v)),m[t].d(s)}}}function de(d,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:p=window.GaReportService}=e,i=[{name:"peak18",csvName:"P18percentile"},{name:"peak22",csvName:"P22percentile"},{name:"peak23",csvName:"P23percentile"},{name:"peak26",csvName:"P26percentile"}],m,h=!1,s=!1,o=!1,z=!1,f="",u=0,y=0,c=0,x=0,L=0,$=0;function S(){u>68&&l(8,$++,$),y<32&&l(8,$++,$),c>68&&l(8,$++,$),x<32&&l(8,$++,$)}const V=i.find(A=>A.name===v);return ee(async()=>{m=await p.getReport(t),V&&(l(7,L=Number(m[V.csvName])),l(6,f=le(L))),u=Number(m.P18percentile),y=Number(m.P22percentile),c=Number(m.P23percentile),x=Number(m.P26percentile),S(),$===4&&l(2,h=!0),$===3&&l(3,s=!0),l(5,z=!0),l(4,o=!0)}),d.$$set=A=>{"report"in A&&l(9,t=A.report),"type"in A&&l(0,r=A.type),"subtype"in A&&l(1,v=A.subtype),"service"in A&&l(10,p=A.service)},[r,v,h,s,o,z,f,L,$,t,p]}class J extends X{constructor(e){super(),K(this,e,de,ce,Q,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),P()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),P()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),P()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),P()}}customElements.define("ga-lupus",W(J,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{J as default};
@@ -1,2 +1,2 @@
1
- import{c as Y,S as J,i as Q,f as z,s as X,a as _,e as w,b as L,d as R,g as k,t as G,h as D,j as T,k as q,o as ee,l as S,m as Z,n as b,p as a,q as s,r as B,u as C,v as A,w as I,x as N,y as H}from"./index2.js";import{A as V}from"./Arrow.js";import{g as le}from"./helpers.js";function te(c){_(c,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function ie(c){let e,l,t,r,u,m=c[1]==="mature"&&E(c),n=c[1]==="youth"&&O(c),o=c[1]==="shield"&&P(c),v=c[1]==="lifestyle"&&K(c);return{c(){m&&m.c(),e=L(),n&&n.c(),l=L(),o&&o.c(),t=L(),v&&v.c(),r=R()},m(i,p){m&&m.m(i,p),k(i,e,p),n&&n.m(i,p),k(i,l,p),o&&o.m(i,p),k(i,t,p),v&&v.m(i,p),k(i,r,p),u=!0},p(i,p){i[1]==="mature"?m?(m.p(i,p),p&2&&T(m,1)):(m=E(i),m.c(),T(m,1),m.m(e.parentNode,e)):m&&(S(),G(m,1,1,()=>{m=null}),D()),i[1]==="youth"?n?(n.p(i,p),p&2&&T(n,1)):(n=O(i),n.c(),T(n,1),n.m(l.parentNode,l)):n&&(S(),G(n,1,1,()=>{n=null}),D()),i[1]==="shield"?o?(o.p(i,p),p&2&&T(o,1)):(o=P(i),o.c(),T(o,1),o.m(t.parentNode,t)):o&&(S(),G(o,1,1,()=>{o=null}),D()),i[1]==="lifestyle"?v?(v.p(i,p),p&2&&T(v,1)):(v=K(i),v.c(),T(v,1),v.m(r.parentNode,r)):v&&(S(),G(v,1,1,()=>{v=null}),D())},i(i){u||(T(m),T(n),T(o),T(v),u=!0)},o(i){G(m),G(n),G(o),G(v),u=!1},d(i){i&&(q(e),q(l),q(t),q(r)),m&&m.d(i),n&&n.d(i),o&&o.d(i),v&&v.d(i)}}}function ne(c){let e,l,t,r,u,m,n=c[2]?"Major overlap":c[3]?"Some overlap":"No significant overlap",o,v,i,p,x,h;function f(g,$){return g[2]||g[3]?re:ae}let y=f(c),d=y(c);return{c(){e=w("div"),l=w("div"),t=w("div"),d.c(),r=L(),u=w("div"),m=w("b"),o=Z(n),v=Z(" of glycan indexes between "),i=w("br"),p=Z(" your patient and this condition."),x=L(),h=w("div"),h.innerHTML='<h5>Signs and symptoms</h5> <ul style="font-size: 0.8rem;"><li>Irregular menstrual cycle</li> <li>Vasomotor symptoms (e.g., hot flushes)</li> <li>Other (e.g., mood swings, cognitive difficulties, sleep disturbance)</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)</li> <li>Blood pressure check</li> <li>Referral to (peri)menopause specialist/gynaecologist</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5313059/">Estrogens regulate glycosylation of IgG in women and men</a> <p style="margin: 0; font-size: 0.65rem; color: #09341FCC;">In a comprehensive study examining IgG galactosylation only, 713 healthy adults from two cohorts representing White, Hispanic, and African American back grounds, along with 159 subjects from four randomized controlled trials on endocrine manipulation, were assessed, totaling 872 participants with an equal gender distribution. The study found that menopause was linked to an increase in agalactosylated IgG glycans, particularly the fucosylated nonbisected (G0F) glycoform. Treatment effects were noted, where conjugated estrogens and raloxifene reduced G0F glycans in postmenopausal women, and in premenopausal women, leuprolide increased G0F glycans, an effect that was reversed by estradiol.</p> <a style="color: #E66439;" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8881712/">Immunoglobulin G glycome composition in transition from premenopause to postmenopause</a> <p style="margin: 0; font-size: 0.65rem; color: #09341FCC;">In an extensive analysis, IgG glycome composition was studied in 5,080 samples from 1,940 women categorized as pre-, peri-, and postmenopausal, drawn from the TwinsUK registry. The study further included a validation cohort from two different population studies, CROATIA-Vis and CROATIA-Korcula. The participants were predominantly of White origin with an average age of 57. Notable glycan changes were observed in the transition from pre- to perimenopause, marked by an increase in G0 and B, and a decrease in G2 and S. A predictive model using age and IgG glycome to determine the onset of perimenopause was developed, achieving an AUC of 0.853 for a single time point measurement. Detailed differences in the glycan changes from peri- to post-menopause are also elaborated in the full paper.</p>',b(t,"transform","translate(-50%)"),b(m,"color",c[2]||c[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-yt1d5k"),a(h,"class","summaryBody svelte-yt1d5k"),a(e,"class","summaryMain svelte-yt1d5k")},m(g,$){k(g,e,$),s(e,l),s(l,t),d.m(t,null),s(l,r),s(l,u),s(u,m),s(m,o),s(u,v),s(u,i),s(u,p),s(e,x),s(e,h)},p(g,$){y!==(y=f(g))&&(d.d(1),d=y(g),d&&(d.c(),d.m(t,null))),$&12&&n!==(n=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&B(o,n),$&12&&b(m,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:C,o:C,d(g){g&&q(e),d.d()}}}function se(c){let e,l,t,r,u,m,n,o=c[2]?"Major overlap":c[3]?"Some overlap":"No significant overlap",v;function i(h,f){return h[2]||h[3]?de:oe}let p=i(c),x=p(c);return{c(){e=w("div"),l=w("div"),t=w("b"),r=Z(c[8]),u=Z("/4"),m=L(),x.c(),n=Z(`
2
- \xA0\xA0`),v=Z(o),b(l,"padding-right","10px"),a(e,"class","header svelte-yt1d5k")},m(h,f){k(h,e,f),s(e,l),s(l,t),s(t,r),s(t,u),s(e,m),x.m(e,null),s(e,n),s(e,v)},p(h,f){f&256&&B(r,h[8]),p!==(p=i(h))&&(x.d(1),x=p(h),x&&(x.c(),x.m(e,n))),f&12&&o!==(o=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap")&&B(v,o)},i:C,o:C,d(h){h&&q(e),x.d()}}}function E(c){let e,l,t,r,u,m,n,o,v,i,p,x,h,f,y;return f=new V({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),n=w("div"),o=w("div"),o.innerHTML="Glycan <b>Mature (G0)</b>",v=L(),i=w("div"),p=Z(c[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=c[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){k(d,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,n),s(n,o),s(n,v),s(n,i),s(i,p),s(e,x),s(e,h),N(f,h,null),y=!0},p(d,g){(!y||g&128&&u!==(u=d[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(p,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(T(f.$$.fragment,d),y=!0)},o(d){G(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function O(c){let e,l,t,r,u,m,n,o,v,i,p,x,h,f,y;return f=new V({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),n=w("div"),o=w("div"),o.innerHTML="Glycan <b>Youth (G2)</b>",v=L(),i=w("div"),p=Z(c[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=c[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){k(d,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,n),s(n,o),s(n,v),s(n,i),s(i,p),s(e,x),s(e,h),N(f,h,null),y=!0},p(d,g){(!y||g&128&&u!==(u=d[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(p,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(T(f.$$.fragment,d),y=!0)},o(d){G(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function P(c){let e,l,t,r,u,m,n,o,v,i,p,x,h,f,y;return f=new V({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),n=w("div"),o=w("div"),o.innerHTML="Glycan <b>Shield (S)</b>",v=L(),i=w("div"),p=Z(c[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=c[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){k(d,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,n),s(n,o),s(n,v),s(n,i),s(i,p),s(e,x),s(e,h),N(f,h,null),y=!0},p(d,g){(!y||g&128&&u!==(u=d[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(p,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(T(f.$$.fragment,d),y=!0)},o(d){G(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function K(c){let e,l,t,r,u,m,n,o,v,i,p,x,h,f,y;return f=new V({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=A("svg"),r=A("path"),m=L(),n=w("div"),o=w("div"),o.innerHTML="Glycan <b>Lifestyle (B)</b>",v=L(),i=w("div"),p=Z(c[6]),x=L(),h=w("div"),I(f.$$.fragment),a(r,"fill",u=c[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),b(n,"display","flex"),b(n,"flex-direction","column"),b(n,"padding-left","0.3rem"),a(l,"class","label svelte-yt1d5k"),b(l,"font-size","0.8rem"),b(h,"width","70%"),b(h,"display","flex"),b(h,"align-items","center"),a(e,"class","main svelte-yt1d5k")},m(d,g){k(d,e,g),s(e,l),s(l,t),s(t,r),s(l,m),s(l,n),s(n,o),s(n,v),s(n,i),s(i,p),s(e,x),s(e,h),N(f,h,null),y=!0},p(d,g){(!y||g&128&&u!==(u=d[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",u),(!y||g&64)&&B(p,d[6]);const $={};g&128&&($.percentile=d[7]),f.$set($)},i(d){y||(T(f.$$.fragment,d),y=!0)},o(d){G(f.$$.fragment,d),y=!1},d(d){d&&q(e),H(f)}}}function ae(c){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function re(c){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function oe(c){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function de(c){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){k(t,e,r),s(e,l)},d(t){t&&q(e)}}}function pe(c){let e,l,t,r,u,m;const n=[se,ne,ie],o=[];function v(i,p){return i[0]==="header"&&i[5]?0:i[0]==="summary"&&i[4]?1:2}return t=v(c),r=o[t]=n[t](c),{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=L(),r.c(),u=R()},m(i,p){k(i,e,p),k(i,l,p),o[t].m(i,p),k(i,u,p),m=!0},p(i,[p]){let x=t;t=v(i),t===x?o[t].p(i,p):(S(),G(o[x],1,1,()=>{o[x]=null}),D(),r=o[t],r?r.p(i,p):(r=o[t]=n[t](i),r.c()),T(r,1),r.m(u.parentNode,u))},i(i){m||(T(r),m=!0)},o(i){G(r),m=!1},d(i){i&&(q(e),q(l),q(u)),o[t].d(i)}}}function ce(c,e,l){let{report:t}=e,{type:r}=e,{subtype:u}=e,{service:m=window.GaReportService}=e,n=[{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],o,v=!1,i=!1,p=!1,x=!1,h="",f=0,y=0,d=0,g=0,$=0,M=0;function W(){f>68&&l(8,M++,M),y<32&&l(8,M++,M),d<32&&l(8,M++,M),g>68&&l(8,M++,M)}const j=n.find(F=>F.name===u);return ee(async()=>{o=await m.getReport(t),j&&(l(7,$=Number(o[j.csvName])),l(6,h=le($))),f=Number(o.G0percentile),y=Number(o.G2percentile),d=Number(o.Spercentile),g=Number(o.Bpercentile),W(),M===4&&l(2,v=!0),M===3&&l(3,i=!0),l(5,x=!0),l(4,p=!0)}),c.$$set=F=>{"report"in F&&l(9,t=F.report),"type"in F&&l(0,r=F.type),"subtype"in F&&l(1,u=F.subtype),"service"in F&&l(10,m=F.service)},[r,u,v,i,p,x,h,$,M,t,m]}class U extends J{constructor(e){super(),Q(this,e,ce,pe,X,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),z()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),z()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),z()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),z()}}customElements.define("ga-menopause",Y(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
1
+ import{c as X,S as Y,i as J,f as I,s as Q,a as _,e as g,b as L,d as O,g as M,t as G,h as S,j as T,k as q,o as ee,l as k,m as Z,n as y,p as a,q as n,r as D,u as N,v as A,w as H,x as V,y as j}from"./index2.js";import{g as le,A as C}from"./Arrow.js";function te(d){_(d,"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 se(d){let e,l,t,r,v,p=d[1]==="mature"&&E(d),i=d[1]==="youth"&&P(d),o=d[1]==="shield"&&K(d),u=d[1]==="lifestyle"&&U(d);return{c(){p&&p.c(),e=L(),i&&i.c(),l=L(),o&&o.c(),t=L(),u&&u.c(),r=O()},m(s,m){p&&p.m(s,m),M(s,e,m),i&&i.m(s,m),M(s,l,m),o&&o.m(s,m),M(s,t,m),u&&u.m(s,m),M(s,r,m),v=!0},p(s,m){s[1]==="mature"?p?(p.p(s,m),m&2&&T(p,1)):(p=E(s),p.c(),T(p,1),p.m(e.parentNode,e)):p&&(k(),G(p,1,1,()=>{p=null}),S()),s[1]==="youth"?i?(i.p(s,m),m&2&&T(i,1)):(i=P(s),i.c(),T(i,1),i.m(l.parentNode,l)):i&&(k(),G(i,1,1,()=>{i=null}),S()),s[1]==="shield"?o?(o.p(s,m),m&2&&T(o,1)):(o=K(s),o.c(),T(o,1),o.m(t.parentNode,t)):o&&(k(),G(o,1,1,()=>{o=null}),S()),s[1]==="lifestyle"?u?(u.p(s,m),m&2&&T(u,1)):(u=U(s),u.c(),T(u,1),u.m(r.parentNode,r)):u&&(k(),G(u,1,1,()=>{u=null}),S())},i(s){v||(T(p),T(i),T(o),T(u),v=!0)},o(s){G(p),G(i),G(o),G(u),v=!1},d(s){s&&(q(e),q(l),q(t),q(r)),p&&p.d(s),i&&i.d(s),o&&o.d(s),u&&u.d(s)}}}function ie(d){let e,l,t,r,v,p,i=d[2]?"Major overlap":d[3]?"Some overlap":"No significant overlap",o,u,s,m,b,f,h,w;function c(z,F){return z[2]||z[3]?re:ae}let x=c(d),$=x(d);return{c(){e=g("div"),l=g("div"),t=g("div"),$.c(),r=L(),v=g("div"),p=g("b"),o=Z(i),u=Z(" of glycan indexes between "),s=g("br"),m=Z(" your patient and this condition."),b=L(),f=g("hr"),h=L(),w=g("div"),w.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Irregular menstrual cycle</li> <li class="svelte-1285zfm">Vasomotor symptoms (e.g., hot flushes)</li> <li class="svelte-1285zfm">Other (e.g., mood swings, cognitive difficulties, sleep disturbance)</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)</li> <li class="svelte-1285zfm">Blood pressure check</li> <li class="svelte-1285zfm">Referral to (peri)menopause specialist/gynaecologist</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5313059/" class="svelte-1285zfm">Estrogens regulate glycosylation of IgG in women and men</a> <p class="svelte-1285zfm">In a comprehensive study examining IgG galactosylation only, 713 healthy adults from two cohorts representing White, Hispanic, and African American back grounds, along with 159 subjects from four randomized controlled trials on endocrine manipulation, were assessed, totaling 872 participants with an equal gender distribution. The study found that menopause was linked to an increase in agalactosylated IgG glycans, particularly the fucosylated nonbisected (G0F) glycoform. Treatment effects were noted, where conjugated estrogens and raloxifene reduced G0F glycans in postmenopausal women, and in premenopausal women, leuprolide increased G0F glycans, an effect that was reversed by estradiol.</p> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8881712/" class="svelte-1285zfm">Immunoglobulin G glycome composition in transition from premenopause to postmenopause</a> <p class="svelte-1285zfm">In an extensive analysis, IgG glycome composition was studied in 5,080 samples from 1,940 women categorized as pre-, peri-, and postmenopausal, drawn from the TwinsUK registry. The study further included a validation cohort from two different population studies, CROATIA-Vis and CROATIA-Korcula. The participants were predominantly of White origin with an average age of 57. Notable glycan changes were observed in the transition from pre- to perimenopause, marked by an increase in G0 and B, and a decrease in G2 and S. A predictive model using age and IgG glycome to determine the onset of perimenopause was developed, achieving an AUC of 0.853 for a single time point measurement. Detailed differences in the glycan changes from peri- to post-menopause are also elaborated in the full paper.</p>',y(t,"transform","translate(-50%)"),y(p,"color",d[2]||d[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-1285zfm"),a(f,"class","svelte-1285zfm"),a(w,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m(z,F){M(z,e,F),n(e,l),n(l,t),$.m(t,null),n(l,r),n(l,v),n(v,p),n(p,o),n(v,u),n(v,s),n(v,m),n(e,b),n(e,f),n(e,h),n(e,w)},p(z,F){x!==(x=c(z))&&($.d(1),$=x(z),$&&($.c(),$.m(t,null))),F&12&&i!==(i=z[2]?"Major overlap":z[3]?"Some overlap":"No significant overlap")&&D(o,i),F&12&&y(p,"color",z[2]||z[3]?"#F2590D":"#12A195")},i:N,o:N,d(z){z&&q(e),$.d()}}}function ne(d){let e,l,t,r,v,p,i,o=d[2]?"Major overlap":d[3]?"Some overlap":"No significant overlap",u;function s(f,h){return f[2]||f[3]?me:oe}let m=s(d),b=m(d);return{c(){e=g("div"),l=g("div"),t=g("b"),r=Z(d[8]),v=Z("/4"),p=L(),b.c(),i=Z(`
2
+ \xA0\xA0`),u=Z(o),y(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(f,h){M(f,e,h),n(e,l),n(l,t),n(t,r),n(t,v),n(e,p),b.m(e,null),n(e,i),n(e,u)},p(f,h){h&256&&D(r,f[8]),m!==(m=s(f))&&(b.d(1),b=m(f),b&&(b.c(),b.m(e,i))),h&12&&o!==(o=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&D(u,o)},i:N,o:N,d(f){f&&q(e),b.d()}}}function E(d){let e,l,t,r,v,p,i,o,u,s,m,b,f,h,w;return h=new C({props:{type:"right",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=A("svg"),r=A("path"),p=L(),i=g("div"),o=g("div"),o.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),s=g("div"),m=Z(d[6]),b=L(),f=g("div"),H(h.$$.fragment),a(r,"fill",v=d[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),y(i,"display","flex"),y(i,"flex-direction","column"),y(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),y(l,"font-size","0.8rem"),y(f,"width","70%"),y(f,"display","flex"),y(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){M(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,o),n(i,u),n(i,s),n(s,m),n(e,b),n(e,f),V(h,f,null),w=!0},p(c,x){(!w||x&128&&v!==(v=c[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!w||x&64)&&D(m,c[6]);const $={};x&128&&($.percentile=c[7]),h.$set($)},i(c){w||(T(h.$$.fragment,c),w=!0)},o(c){G(h.$$.fragment,c),w=!1},d(c){c&&q(e),j(h)}}}function P(d){let e,l,t,r,v,p,i,o,u,s,m,b,f,h,w;return h=new C({props:{type:"left",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=A("svg"),r=A("path"),p=L(),i=g("div"),o=g("div"),o.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),s=g("div"),m=Z(d[6]),b=L(),f=g("div"),H(h.$$.fragment),a(r,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),y(i,"display","flex"),y(i,"flex-direction","column"),y(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),y(l,"font-size","0.8rem"),y(f,"width","70%"),y(f,"display","flex"),y(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){M(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,o),n(i,u),n(i,s),n(s,m),n(e,b),n(e,f),V(h,f,null),w=!0},p(c,x){(!w||x&128&&v!==(v=c[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!w||x&64)&&D(m,c[6]);const $={};x&128&&($.percentile=c[7]),h.$set($)},i(c){w||(T(h.$$.fragment,c),w=!0)},o(c){G(h.$$.fragment,c),w=!1},d(c){c&&q(e),j(h)}}}function K(d){let e,l,t,r,v,p,i,o,u,s,m,b,f,h,w;return h=new C({props:{type:"left",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=A("svg"),r=A("path"),p=L(),i=g("div"),o=g("div"),o.innerHTML="Glycan <b>Shield (S)</b>",u=L(),s=g("div"),m=Z(d[6]),b=L(),f=g("div"),H(h.$$.fragment),a(r,"fill",v=d[7]>=32?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),y(i,"display","flex"),y(i,"flex-direction","column"),y(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),y(l,"font-size","0.8rem"),y(f,"width","70%"),y(f,"display","flex"),y(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){M(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,o),n(i,u),n(i,s),n(s,m),n(e,b),n(e,f),V(h,f,null),w=!0},p(c,x){(!w||x&128&&v!==(v=c[7]>=32?"#12A195":"#F2590D"))&&a(r,"fill",v),(!w||x&64)&&D(m,c[6]);const $={};x&128&&($.percentile=c[7]),h.$set($)},i(c){w||(T(h.$$.fragment,c),w=!0)},o(c){G(h.$$.fragment,c),w=!1},d(c){c&&q(e),j(h)}}}function U(d){let e,l,t,r,v,p,i,o,u,s,m,b,f,h,w;return h=new C({props:{type:"right",percentile:d[7]}}),{c(){e=g("div"),l=g("div"),t=A("svg"),r=A("path"),p=L(),i=g("div"),o=g("div"),o.innerHTML="Glycan <b>Lifestyle (B)</b>",u=L(),s=g("div"),m=Z(d[6]),b=L(),f=g("div"),H(h.$$.fragment),a(r,"fill",v=d[7]<=68?"#12A195":"#F2590D"),a(r,"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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),y(i,"display","flex"),y(i,"flex-direction","column"),y(i,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),y(l,"font-size","0.8rem"),y(f,"width","70%"),y(f,"display","flex"),y(f,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(c,x){M(c,e,x),n(e,l),n(l,t),n(t,r),n(l,p),n(l,i),n(i,o),n(i,u),n(i,s),n(s,m),n(e,b),n(e,f),V(h,f,null),w=!0},p(c,x){(!w||x&128&&v!==(v=c[7]<=68?"#12A195":"#F2590D"))&&a(r,"fill",v),(!w||x&64)&&D(m,c[6]);const $={};x&128&&($.percentile=c[7]),h.$set($)},i(c){w||(T(h.$$.fragment,c),w=!0)},o(c){G(h.$$.fragment,c),w=!1},d(c){c&&q(e),j(h)}}}function ae(d){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){M(t,e,r),n(e,l)},d(t){t&&q(e)}}}function re(d){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,r){M(t,e,r),n(e,l)},d(t){t&&q(e)}}}function oe(d){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){M(t,e,r),n(e,l)},d(t){t&&q(e)}}}function me(d){let e,l;return{c(){e=A("svg"),l=A("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,r){M(t,e,r),n(e,l)},d(t){t&&q(e)}}}function ce(d){let e,l,t,r,v,p;const i=[ne,ie,se],o=[];function u(s,m){return s[0]==="header"&&s[5]?0:s[0]==="summary"&&s[4]?1:2}return t=u(d),r=o[t]=i[t](d),{c(){e=g("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=L(),r.c(),v=O()},m(s,m){M(s,e,m),M(s,l,m),o[t].m(s,m),M(s,v,m),p=!0},p(s,[m]){let b=t;t=u(s),t===b?o[t].p(s,m):(k(),G(o[b],1,1,()=>{o[b]=null}),S(),r=o[t],r?r.p(s,m):(r=o[t]=i[t](s),r.c()),T(r,1),r.m(v.parentNode,v))},i(s){p||(T(r),p=!0)},o(s){G(r),p=!1},d(s){s&&(q(e),q(l),q(v)),o[t].d(s)}}}function de(d,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:p=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],o,u=!1,s=!1,m=!1,b=!1,f="",h=0,w=0,c=0,x=0,$=0,z=0;function F(){h>68&&l(8,z++,z),w<32&&l(8,z++,z),c<32&&l(8,z++,z),x>68&&l(8,z++,z)}const R=i.find(B=>B.name===v);return ee(async()=>{o=await p.getReport(t),R&&(l(7,$=Number(o[R.csvName])),l(6,f=le($))),h=Number(o.G0percentile),w=Number(o.G2percentile),c=Number(o.Spercentile),x=Number(o.Bpercentile),F(),z===4&&l(2,u=!0),z===3&&l(3,s=!0),l(5,b=!0),l(4,m=!0)}),d.$$set=B=>{"report"in B&&l(9,t=B.report),"type"in B&&l(0,r=B.type),"subtype"in B&&l(1,v=B.subtype),"service"in B&&l(10,p=B.service)},[r,v,u,s,m,b,f,$,z,t,p]}class W extends Y{constructor(e){super(),J(this,e,de,ce,Q,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),I()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),I()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),I()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),I()}}customElements.define("ga-menopause",X(W,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{W as default};
@@ -1,2 +1,2 @@
1
- import{c as X,S as _,i as ee,f as P,s as le,a as te,e as w,b as L,d as E,g as k,t as Z,h as G,j as T,k as q,o as ie,l as C,m as A,n as x,p as r,q as n,r as B,u as V,v as M,w as S,x as z,y as F}from"./index2.js";import{A as H}from"./Arrow.js";import{g as ne}from"./helpers.js";function se(p){te(p,"svelte-yt1d5k",".summaryMain.svelte-yt1d5k{width:100%;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryHeader.svelte-yt1d5k{width:100%;height:16%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-yt1d5k{width:80%;height:100%;margin:auto;border-top:2px solid #C9DBD2}.main.svelte-yt1d5k{height:100%;width:100%;display:flex}.label.svelte-yt1d5k{width:30%;display:flex;align-items:center}.header.svelte-yt1d5k{width:100%;height:100%;display:flex;align-items:center}")}function re(p){let e,l,t,o,u,$,s=p[1]==="mature"&&O(p),m=p[1]==="youth"&&Y(p),g=p[1]==="shield"&&J(p),a=p[1]==="lifestyle"&&K(p),h=p[1]==="peak"&&Q(p);return{c(){s&&s.c(),e=L(),m&&m.c(),l=L(),g&&g.c(),t=L(),a&&a.c(),o=L(),h&&h.c(),u=E()},m(c,d){s&&s.m(c,d),k(c,e,d),m&&m.m(c,d),k(c,l,d),g&&g.m(c,d),k(c,t,d),a&&a.m(c,d),k(c,o,d),h&&h.m(c,d),k(c,u,d),$=!0},p(c,d){c[1]==="mature"?s?(s.p(c,d),d&2&&T(s,1)):(s=O(c),s.c(),T(s,1),s.m(e.parentNode,e)):s&&(C(),Z(s,1,1,()=>{s=null}),G()),c[1]==="youth"?m?(m.p(c,d),d&2&&T(m,1)):(m=Y(c),m.c(),T(m,1),m.m(l.parentNode,l)):m&&(C(),Z(m,1,1,()=>{m=null}),G()),c[1]==="shield"?g?(g.p(c,d),d&2&&T(g,1)):(g=J(c),g.c(),T(g,1),g.m(t.parentNode,t)):g&&(C(),Z(g,1,1,()=>{g=null}),G()),c[1]==="lifestyle"?a?(a.p(c,d),d&2&&T(a,1)):(a=K(c),a.c(),T(a,1),a.m(o.parentNode,o)):a&&(C(),Z(a,1,1,()=>{a=null}),G()),c[1]==="peak"?h?(h.p(c,d),d&2&&T(h,1)):(h=Q(c),h.c(),T(h,1),h.m(u.parentNode,u)):h&&(C(),Z(h,1,1,()=>{h=null}),G())},i(c){$||(T(s),T(m),T(g),T(a),T(h),$=!0)},o(c){Z(s),Z(m),Z(g),Z(a),Z(h),$=!1},d(c){c&&(q(e),q(l),q(t),q(o),q(u)),s&&s.d(c),m&&m.d(c),g&&g.d(c),a&&a.d(c),h&&h.d(c)}}}function ae(p){let e,l,t,o,u,$,s=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",m,g,a,h,c,d;function v(y,b){return y[2]||y[3]?me:oe}let f=v(p),i=f(p);return{c(){e=w("div"),l=w("div"),t=w("div"),i.c(),o=L(),u=w("div"),$=w("b"),m=A(s),g=A(" of glycan indexes between "),a=w("br"),h=A(" your patient and this condition."),c=L(),d=w("div"),d.innerHTML='<h5>Risk factors</h5> <ul style="font-size: 0.8rem;"><li>Past medical history (cardiometabolic syndrome, autoimmune disease)</li> <li>Medication history (e.g., statins, blood thinners)</li> <li>Current/previous smoking history</li></ul> <h5>Possible follow-up</h5> <ul style="font-size: 0.8rem;"><li>Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c</li> <li>BP check</li> <li>ECG</li> <li>Cardiology referral for other tests (e.g., cardiac echo, coronary CT)</li></ul> <h5>Related research papers</h5> <a style="color: #E66439;" href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9679264/">Immunoglobulin G N-Glycosylation Signatures in Incident Type 2 Diabetes and Cardiovascular Disease</a> <p style="margin: 0; font-size: 0.8rem; color: #09341FCC;">In the EPIC-Potsdam cohort, involving 2,175 participants in the cardiovascular disease (CVD) subcohort, which includes 417 cases of MI and CVA, changes in IgG glycosylation were analysed. This cohort comprised 61% females and 39% males, with an average age of 49. In male participants, an increase in G0 and B was observed, along with a decrease in G2 and S. A predictive model employing 2 specific glycan peaks was developed, demonstrating a hazard ratio (HR) of 1.60.</p>',x(t,"transform","translate(-50%)"),x($,"color",p[2]||p[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-yt1d5k"),r(d,"class","summaryBody svelte-yt1d5k"),r(e,"class","summaryMain svelte-yt1d5k")},m(y,b){k(y,e,b),n(e,l),n(l,t),i.m(t,null),n(l,o),n(l,u),n(u,$),n($,m),n(u,g),n(u,a),n(u,h),n(e,c),n(e,d)},p(y,b){f!==(f=v(y))&&(i.d(1),i=f(y),i&&(i.c(),i.m(t,null))),b&12&&s!==(s=y[2]?"Major overlap":y[3]?"Some overlap":"No significant overlap")&&B(m,s),b&12&&x($,"color",y[2]||y[3]?"#F2590D":"#12A195")},i:V,o:V,d(y){y&&q(e),i.d()}}}function de(p){let e,l,t,o,u,$=p[7]==="M"?"4":"1",s,m,g,a=p[2]?"Major overlap":p[3]?"Some overlap":"No significant overlap",h;function c(f,i){return f[2]||f[3]?he:ce}let d=c(p),v=d(p);return{c(){e=w("div"),l=w("div"),t=w("b"),o=A(p[9]),u=A("/"),s=A($),m=L(),v.c(),g=A(`
2
- \xA0\xA0`),h=A(a),x(l,"padding-right","10px"),r(e,"class","header svelte-yt1d5k")},m(f,i){k(f,e,i),n(e,l),n(l,t),n(t,o),n(t,u),n(t,s),n(e,m),v.m(e,null),n(e,g),n(e,h)},p(f,i){i&512&&B(o,f[9]),i&128&&$!==($=f[7]==="M"?"4":"1")&&B(s,$),d!==(d=c(f))&&(v.d(1),v=d(f),v&&(v.c(),v.m(e,g))),i&12&&a!==(a=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap")&&B(h,a)},i:V,o:V,d(f){f&&q(e),v.d()}}}function O(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"right",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]<=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(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]<=68?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function Y(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"left",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]>=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(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function J(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"left",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Shield (S)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]>=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(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function K(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"right",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]<=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(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]<=68?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function Q(p){let e,l,t,o,u,$,s,m,g,a,h,c,d,v,f;return v=new H({props:{type:"left",percentile:p[8]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),o=M("path"),$=L(),s=w("div"),m=w("div"),m.innerHTML="Peak <b>22 (P22)</b>",g=L(),a=w("div"),h=A(p[6]),c=L(),d=w("div"),S(v.$$.fragment),r(o,"fill",u=p[8]>=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(s,"display","flex"),x(s,"flex-direction","column"),x(s,"padding-left","0.3rem"),r(l,"class","label svelte-yt1d5k"),x(l,"font-size","0.8rem"),x(d,"width","70%"),x(d,"display","flex"),x(d,"align-items","center"),r(e,"class","main svelte-yt1d5k")},m(i,y){k(i,e,y),n(e,l),n(l,t),n(t,o),n(l,$),n(l,s),n(s,m),n(s,g),n(s,a),n(a,h),n(e,c),n(e,d),z(v,d,null),f=!0},p(i,y){(!f||y&256&&u!==(u=i[8]>=32?"#12A195":"#F2590D"))&&r(o,"fill",u),(!f||y&64)&&B(h,i[6]);const b={};y&256&&(b.percentile=i[8]),v.$set(b)},i(i){f||(T(v.$$.fragment,i),f=!0)},o(i){Z(v.$$.fragment,i),f=!1},d(i){i&&q(e),F(v)}}}function oe(p){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){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function me(p){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){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function ce(p){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){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function he(p){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","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(t,o){k(t,e,o),n(e,l)},d(t){t&&q(e)}}}function pe(p){let e,l,t,o,u,$;const s=[de,ae,re],m=[];function g(a,h){return a[0]==="header"&&a[5]?0:a[0]==="summary"&&a[4]?1:2}return t=g(p),o=m[t]=s[t](p),{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=L(),o.c(),u=E()},m(a,h){k(a,e,h),k(a,l,h),m[t].m(a,h),k(a,u,h),$=!0},p(a,[h]){let c=t;t=g(a),t===c?m[t].p(a,h):(C(),Z(m[c],1,1,()=>{m[c]=null}),G(),o=m[t],o?o.p(a,h):(o=m[t]=s[t](a),o.c()),T(o,1),o.m(u.parentNode,u))},i(a){$||(T(o),$=!0)},o(a){Z(o),$=!1},d(a){a&&(q(e),q(l),q(u)),m[t].d(a)}}}function ve(p,e,l){let{report:t}=e,{type:o}=e,{subtype:u}=e,{service:$=window.GaReportService}=e,s=[{name:"peak",csvName:"P22percentile"},{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],m,g=!1,a=!1,h=!1,c=!1,d="",v="",f=0,i=0,y=0,b=0,R=0,I=0,N=0;function W(){if(v==="F"){f<32&&l(9,N++,N);return}i>68&&l(9,N++,N),y<32&&l(9,N++,N),b<32&&l(9,N++,N),R>68&&l(9,N++,N)}const j=s.find(D=>D.name===u);return ie(async()=>{m=await $.getReport(t),l(7,v=m.sex),j&&(l(8,I=Number(m[j.csvName])),l(6,d=ne(I))),f=Number(m.P22percentile),i=Number(m.G0percentile),y=Number(m.G2percentile),b=Number(m.Spercentile),R=Number(m.Bpercentile),W(),v==="F"?N===1&&l(2,g=!0):(N===4&&l(2,g=!0),N===3&&l(3,a=!0)),l(5,c=!0),l(4,h=!0)}),p.$$set=D=>{"report"in D&&l(10,t=D.report),"type"in D&&l(0,o=D.type),"subtype"in D&&l(1,u=D.subtype),"service"in D&&l(11,$=D.service)},[o,u,g,a,h,c,d,v,I,N,t,$]}class U extends _{constructor(e){super(),ee(this,e,ve,pe,le,{report:10,type:0,subtype:1,service:11},se)}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),P()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),P()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),P()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),P()}}customElements.define("ga-myocardial",X(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
1
+ import{c as W,S as _,i as ee,f as I,s as le,a as te,e as w,b as $,d as E,g as T,t as Z,h as C,j as L,k as M,o as ie,l as k,m as F,n as z,p as a,q as i,r as S,u as R,v as q,w as H,x as P,y as D}from"./index2.js";import{g as se,A as V}from"./Arrow.js";function ae(v){te(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,g,y,s=v[1]==="mature"&&O(v),c=v[1]==="youth"&&X(v),u=v[1]==="shield"&&Y(v),r=v[1]==="lifestyle"&&J(v),d=v[1]==="peak"&&K(v);return{c(){s&&s.c(),e=$(),c&&c.c(),l=$(),u&&u.c(),t=$(),r&&r.c(),o=$(),d&&d.c(),g=E()},m(p,m){s&&s.m(p,m),T(p,e,m),c&&c.m(p,m),T(p,l,m),u&&u.m(p,m),T(p,t,m),r&&r.m(p,m),T(p,o,m),d&&d.m(p,m),T(p,g,m),y=!0},p(p,m){p[1]==="mature"?s?(s.p(p,m),m&2&&L(s,1)):(s=O(p),s.c(),L(s,1),s.m(e.parentNode,e)):s&&(k(),Z(s,1,1,()=>{s=null}),C()),p[1]==="youth"?c?(c.p(p,m),m&2&&L(c,1)):(c=X(p),c.c(),L(c,1),c.m(l.parentNode,l)):c&&(k(),Z(c,1,1,()=>{c=null}),C()),p[1]==="shield"?u?(u.p(p,m),m&2&&L(u,1)):(u=Y(p),u.c(),L(u,1),u.m(t.parentNode,t)):u&&(k(),Z(u,1,1,()=>{u=null}),C()),p[1]==="lifestyle"?r?(r.p(p,m),m&2&&L(r,1)):(r=J(p),r.c(),L(r,1),r.m(o.parentNode,o)):r&&(k(),Z(r,1,1,()=>{r=null}),C()),p[1]==="peak"?d?(d.p(p,m),m&2&&L(d,1)):(d=K(p),d.c(),L(d,1),d.m(g.parentNode,g)):d&&(k(),Z(d,1,1,()=>{d=null}),C())},i(p){y||(L(s),L(c),L(u),L(r),L(d),y=!0)},o(p){Z(s),Z(c),Z(u),Z(r),Z(d),y=!1},d(p){p&&(M(e),M(l),M(t),M(o),M(g)),s&&s.d(p),c&&c.d(p),u&&u.d(p),r&&r.d(p),d&&d.d(p)}}}function re(v){let e,l,t,o,g,y,s=v[2]?"Major overlap":v[3]?"Some overlap":"No significant overlap",c,u,r,d,p,m,f,h;function n(A,N){return A[2]||A[3]?ce:oe}let x=n(v),b=x(v);return{c(){e=w("div"),l=w("div"),t=w("div"),b.c(),o=$(),g=w("div"),y=w("b"),c=F(s),u=F(" of glycan indexes between "),r=w("br"),d=F(" your patient and this condition."),p=$(),m=w("hr"),f=$(),h=w("div"),h.innerHTML='<h5 class="svelte-1285zfm">Risk factors</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Past medical history (cardiometabolic syndrome, autoimmune disease)</li> <li class="svelte-1285zfm">Medication history (e.g., statins, blood thinners)</li> <li class="svelte-1285zfm">Current/previous smoking history</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c</li> <li class="svelte-1285zfm">BP check</li> <li class="svelte-1285zfm">ECG</li> <li class="svelte-1285zfm">Cardiology referral for other tests (e.g., cardiac echo, coronary CT)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9679264/" class="svelte-1285zfm">Immunoglobulin G N-Glycosylation Signatures in Incident Type 2 Diabetes and Cardiovascular Disease</a> <p class="svelte-1285zfm">In the EPIC-Potsdam cohort, involving 2,175 participants in the cardiovascular disease (CVD) subcohort, which includes 417 cases of MI and CVA, changes in IgG glycosylation were analysed. This cohort comprised 61% females and 39% males, with an average age of 49. In male participants, an increase in G0 and B was observed, along with a decrease in G2 and S. A predictive model employing 2 specific glycan peaks was developed, demonstrating a hazard ratio (HR) of 1.60.</p>',z(t,"transform","translate(-50%)"),z(y,"color",v[2]||v[3]?"#F2590D":"#12A195"),a(l,"class","summaryHeader svelte-1285zfm"),a(m,"class","svelte-1285zfm"),a(h,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m(A,N){T(A,e,N),i(e,l),i(l,t),b.m(t,null),i(l,o),i(l,g),i(g,y),i(y,c),i(g,u),i(g,r),i(g,d),i(e,p),i(e,m),i(e,f),i(e,h)},p(A,N){x!==(x=n(A))&&(b.d(1),b=x(A),b&&(b.c(),b.m(t,null))),N&12&&s!==(s=A[2]?"Major overlap":A[3]?"Some overlap":"No significant overlap")&&S(c,s),N&12&&z(y,"color",A[2]||A[3]?"#F2590D":"#12A195")},i:R,o:R,d(A){A&&M(e),b.d()}}}function me(v){let e,l,t,o,g,y=v[7]==="M"?"4":"1",s,c,u,r=v[2]?"Major overlap":v[3]?"Some overlap":"No significant overlap",d;function p(h,n){return h[2]||h[3]?de:pe}let m=p(v),f=m(v);return{c(){e=w("div"),l=w("div"),t=w("b"),o=F(v[9]),g=F("/"),s=F(y),c=$(),f.c(),u=F(`
2
+ \xA0\xA0`),d=F(r),z(l,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(h,n){T(h,e,n),i(e,l),i(l,t),i(t,o),i(t,g),i(t,s),i(e,c),f.m(e,null),i(e,u),i(e,d)},p(h,n){n&512&&S(o,h[9]),n&128&&y!==(y=h[7]==="M"?"4":"1")&&S(s,y),m!==(m=p(h))&&(f.d(1),f=m(h),f&&(f.c(),f.m(e,u))),n&12&&r!==(r=h[2]?"Major overlap":h[3]?"Some overlap":"No significant overlap")&&S(d,r)},i:R,o:R,d(h){h&&M(e),f.d()}}}function O(v){let e,l,t,o,g,y,s,c,u,r,d,p,m,f,h;return f=new V({props:{type:"right",percentile:v[8]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),o=q("path"),y=$(),s=w("div"),c=w("div"),c.innerHTML="Glycan <b>Mature (G0)</b>",u=$(),r=w("div"),d=F(v[6]),p=$(),m=w("div"),H(f.$$.fragment),a(o,"fill",g=v[8]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),z(s,"display","flex"),z(s,"flex-direction","column"),z(s,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(m,"width","70%"),z(m,"display","flex"),z(m,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(n,x){T(n,e,x),i(e,l),i(l,t),i(t,o),i(l,y),i(l,s),i(s,c),i(s,u),i(s,r),i(r,d),i(e,p),i(e,m),P(f,m,null),h=!0},p(n,x){(!h||x&256&&g!==(g=n[8]<=68?"#12A195":"#F2590D"))&&a(o,"fill",g),(!h||x&64)&&S(d,n[6]);const b={};x&256&&(b.percentile=n[8]),f.$set(b)},i(n){h||(L(f.$$.fragment,n),h=!0)},o(n){Z(f.$$.fragment,n),h=!1},d(n){n&&M(e),D(f)}}}function X(v){let e,l,t,o,g,y,s,c,u,r,d,p,m,f,h;return f=new V({props:{type:"left",percentile:v[8]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),o=q("path"),y=$(),s=w("div"),c=w("div"),c.innerHTML="Glycan <b>Youth (G2)</b>",u=$(),r=w("div"),d=F(v[6]),p=$(),m=w("div"),H(f.$$.fragment),a(o,"fill",g=v[8]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),z(s,"display","flex"),z(s,"flex-direction","column"),z(s,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(m,"width","70%"),z(m,"display","flex"),z(m,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(n,x){T(n,e,x),i(e,l),i(l,t),i(t,o),i(l,y),i(l,s),i(s,c),i(s,u),i(s,r),i(r,d),i(e,p),i(e,m),P(f,m,null),h=!0},p(n,x){(!h||x&256&&g!==(g=n[8]>=32?"#12A195":"#F2590D"))&&a(o,"fill",g),(!h||x&64)&&S(d,n[6]);const b={};x&256&&(b.percentile=n[8]),f.$set(b)},i(n){h||(L(f.$$.fragment,n),h=!0)},o(n){Z(f.$$.fragment,n),h=!1},d(n){n&&M(e),D(f)}}}function Y(v){let e,l,t,o,g,y,s,c,u,r,d,p,m,f,h;return f=new V({props:{type:"left",percentile:v[8]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),o=q("path"),y=$(),s=w("div"),c=w("div"),c.innerHTML="Glycan <b>Shield (S)</b>",u=$(),r=w("div"),d=F(v[6]),p=$(),m=w("div"),H(f.$$.fragment),a(o,"fill",g=v[8]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),z(s,"display","flex"),z(s,"flex-direction","column"),z(s,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(m,"width","70%"),z(m,"display","flex"),z(m,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(n,x){T(n,e,x),i(e,l),i(l,t),i(t,o),i(l,y),i(l,s),i(s,c),i(s,u),i(s,r),i(r,d),i(e,p),i(e,m),P(f,m,null),h=!0},p(n,x){(!h||x&256&&g!==(g=n[8]>=32?"#12A195":"#F2590D"))&&a(o,"fill",g),(!h||x&64)&&S(d,n[6]);const b={};x&256&&(b.percentile=n[8]),f.$set(b)},i(n){h||(L(f.$$.fragment,n),h=!0)},o(n){Z(f.$$.fragment,n),h=!1},d(n){n&&M(e),D(f)}}}function J(v){let e,l,t,o,g,y,s,c,u,r,d,p,m,f,h;return f=new V({props:{type:"right",percentile:v[8]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),o=q("path"),y=$(),s=w("div"),c=w("div"),c.innerHTML="Glycan <b>Lifestyle (B)</b>",u=$(),r=w("div"),d=F(v[6]),p=$(),m=w("div"),H(f.$$.fragment),a(o,"fill",g=v[8]<=68?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),z(s,"display","flex"),z(s,"flex-direction","column"),z(s,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(m,"width","70%"),z(m,"display","flex"),z(m,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(n,x){T(n,e,x),i(e,l),i(l,t),i(t,o),i(l,y),i(l,s),i(s,c),i(s,u),i(s,r),i(r,d),i(e,p),i(e,m),P(f,m,null),h=!0},p(n,x){(!h||x&256&&g!==(g=n[8]<=68?"#12A195":"#F2590D"))&&a(o,"fill",g),(!h||x&64)&&S(d,n[6]);const b={};x&256&&(b.percentile=n[8]),f.$set(b)},i(n){h||(L(f.$$.fragment,n),h=!0)},o(n){Z(f.$$.fragment,n),h=!1},d(n){n&&M(e),D(f)}}}function K(v){let e,l,t,o,g,y,s,c,u,r,d,p,m,f,h;return f=new V({props:{type:"left",percentile:v[8]}}),{c(){e=w("div"),l=w("div"),t=q("svg"),o=q("path"),y=$(),s=w("div"),c=w("div"),c.innerHTML="Peak <b>22 (P22)</b>",u=$(),r=w("div"),d=F(v[6]),p=$(),m=w("div"),H(f.$$.fragment),a(o,"fill",g=v[8]>=32?"#12A195":"#F2590D"),a(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"),a(t,"xmlns","http://www.w3.org/2000/svg"),a(t,"width","24"),a(t,"height","24"),a(t,"viewBox","0 0 24 24"),z(s,"display","flex"),z(s,"flex-direction","column"),z(s,"padding-left","0.3rem"),a(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(m,"width","70%"),z(m,"display","flex"),z(m,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(n,x){T(n,e,x),i(e,l),i(l,t),i(t,o),i(l,y),i(l,s),i(s,c),i(s,u),i(s,r),i(r,d),i(e,p),i(e,m),P(f,m,null),h=!0},p(n,x){(!h||x&256&&g!==(g=n[8]>=32?"#12A195":"#F2590D"))&&a(o,"fill",g),(!h||x&64)&&S(d,n[6]);const b={};x&256&&(b.percentile=n[8]),f.$set(b)},i(n){h||(L(f.$$.fragment,n),h=!0)},o(n){Z(f.$$.fragment,n),h=!1},d(n){n&&M(e),D(f)}}}function oe(v){let e,l;return{c(){e=q("svg"),l=q("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),i(e,l)},d(t){t&&M(e)}}}function ce(v){let e,l;return{c(){e=q("svg"),l=q("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","50"),a(e,"height","50"),a(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),i(e,l)},d(t){t&&M(e)}}}function pe(v){let e,l;return{c(){e=q("svg"),l=q("path"),a(l,"fill","#12A195"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),i(e,l)},d(t){t&&M(e)}}}function de(v){let e,l;return{c(){e=q("svg"),l=q("path"),a(l,"fill","#F2590D"),a(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"),a(e,"xmlns","http://www.w3.org/2000/svg"),a(e,"width","24"),a(e,"height","24"),a(e,"viewBox","0 0 24 24")},m(t,o){T(t,e,o),i(e,l)},d(t){t&&M(e)}}}function ve(v){let e,l,t,o,g,y;const s=[me,re,ne],c=[];function u(r,d){return r[0]==="header"&&r[5]?0:r[0]==="summary"&&r[4]?1:2}return t=u(v),o=c[t]=s[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(),g=E()},m(r,d){T(r,e,d),T(r,l,d),c[t].m(r,d),T(r,g,d),y=!0},p(r,[d]){let p=t;t=u(r),t===p?c[t].p(r,d):(k(),Z(c[p],1,1,()=>{c[p]=null}),C(),o=c[t],o?o.p(r,d):(o=c[t]=s[t](r),o.c()),L(o,1),o.m(g.parentNode,g))},i(r){y||(L(o),y=!0)},o(r){Z(o),y=!1},d(r){r&&(M(e),M(l),M(g)),c[t].d(r)}}}function fe(v,e,l){let{report:t}=e,{type:o}=e,{subtype:g}=e,{service:y=window.GaReportService}=e,s=[{name:"peak",csvName:"P22percentile"},{name:"mature",csvName:"G0percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],c,u=!1,r=!1,d=!1,p=!1,m="",f="",h=0,n=0,x=0,b=0,A=0,N=0,B=0;function U(){if(f==="F"){h<32&&l(9,B++,B);return}n>68&&l(9,B++,B),x<32&&l(9,B++,B),b<32&&l(9,B++,B),A>68&&l(9,B++,B)}const j=s.find(G=>G.name===g);return ie(async()=>{c=await y.getReport(t),l(7,f=c.sex),j&&(l(8,N=Number(c[j.csvName])),l(6,m=se(N))),h=Number(c.P22percentile),n=Number(c.G0percentile),x=Number(c.G2percentile),b=Number(c.Spercentile),A=Number(c.Bpercentile),U(),f==="F"?B===1&&l(2,u=!0):(B===4&&l(2,u=!0),B===3&&l(3,r=!0)),l(5,p=!0),l(4,d=!0)}),v.$$set=G=>{"report"in G&&l(10,t=G.report),"type"in G&&l(0,o=G.type),"subtype"in G&&l(1,g=G.subtype),"service"in G&&l(11,y=G.service)},[o,g,u,r,d,p,m,f,N,B,t,y]}class Q extends _{constructor(e){super(),ee(this,e,fe,ve,le,{report:10,type:0,subtype:1,service:11},ae)}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),I()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),I()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),I()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),I()}}customElements.define("ga-myocardial",W(Q,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{Q as default};