@glycanage/web-components 1.48.0 → 1.50.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 J,S as Q,i as _,f as V,s as ee,a as le,e as w,b,d as E,g as T,t as A,h as S,j as L,k as q,o as te,l as D,m as G,n as x,p as r,q as n,r as B,u as N,v as M,w as C,x as H,y as k}from"./index2.js";import{g as se,A as R}from"./Arrow.js";function ie(f){le(f,"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(f){let e,l,t,m,v,z,i=f[1]==="mature"&&j(f),p=f[1]==="median"&&O(f),u=f[1]==="youth"&&U(f),d=f[1]==="shield"&&K(f),c=f[1]==="lifestyle"&&W(f);return{c(){i&&i.c(),e=b(),p&&p.c(),l=b(),u&&u.c(),t=b(),d&&d.c(),m=b(),c&&c.c(),v=E()},m(a,s){i&&i.m(a,s),T(a,e,s),p&&p.m(a,s),T(a,l,s),u&&u.m(a,s),T(a,t,s),d&&d.m(a,s),T(a,m,s),c&&c.m(a,s),T(a,v,s),z=!0},p(a,s){a[1]==="mature"?i?(i.p(a,s),s&2&&L(i,1)):(i=j(a),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(D(),A(i,1,1,()=>{i=null}),S()),a[1]==="median"?p?(p.p(a,s),s&2&&L(p,1)):(p=O(a),p.c(),L(p,1),p.m(l.parentNode,l)):p&&(D(),A(p,1,1,()=>{p=null}),S()),a[1]==="youth"?u?(u.p(a,s),s&2&&L(u,1)):(u=U(a),u.c(),L(u,1),u.m(t.parentNode,t)):u&&(D(),A(u,1,1,()=>{u=null}),S()),a[1]==="shield"?d?(d.p(a,s),s&2&&L(d,1)):(d=K(a),d.c(),L(d,1),d.m(m.parentNode,m)):d&&(D(),A(d,1,1,()=>{d=null}),S()),a[1]==="lifestyle"?c?(c.p(a,s),s&2&&L(c,1)):(c=W(a),c.c(),L(c,1),c.m(v.parentNode,v)):c&&(D(),A(c,1,1,()=>{c=null}),S())},i(a){z||(L(i),L(p),L(u),L(d),L(c),z=!0)},o(a){A(i),A(p),A(u),A(d),A(c),z=!1},d(a){a&&(q(e),q(l),q(t),q(m),q(v)),i&&i.d(a),p&&p.d(a),u&&u.d(a),d&&d.d(a),c&&c.d(a)}}}function re(f){let e,l,t,m,v,z,i=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap",p,u,d,c,a,s;function h(g,$){return g[2]||g[3]?me:oe}let y=h(f),o=y(f);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),m=b(),v=w("div"),z=w("b"),p=G(i),u=G(" of glycan indexes between your patient and this condition."),d=b(),c=w("hr"),a=b(),s=w("div"),s.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li> <li class="svelte-1285zfm">Signs of coronary artery disease (e.g., self-resolving chest pain, bearthlessness)</li> <li class="svelte-1285zfm">Signs of peripheral artery disease (e.g., leg pain during activity)</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., coronary artery calcium score)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5970566/pdf/res-122-1555.pdf" class="svelte-1285zfm">Glycosylation Profile of Immunoglobulin G Is Cross-Sectionally Associated With Cardiovascular Disease Risk Score and Subclinical Atherosclerosis in Two Independent Cohorts</a> <p class="svelte-1285zfm">In a study involving 2970 women aged 40\u201379 from the TwinsUK cohort, IgG glycosylation was examined in relation to the estimated 10-year risk of atherosclerotic cardiovascular disease and the presence of carotid and femoral plaque. A decrease in G1, G2 and S was observed, alongside an increase in G0 and B. These findings were replicated in 967 women from the ORCADES cohort (Orkney Complex Disease Study). Additionally, some of these glycan changes were also associated with 845 men in the study.</p>',x(t,"transform","translate(-50%)"),x(z,"color",f[2]||f[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-1285zfm"),r(c,"class","svelte-1285zfm"),r(s,"class","summaryBody svelte-1285zfm"),r(e,"class","summaryMain svelte-1285zfm")},m(g,$){T(g,e,$),n(e,l),n(l,t),o.m(t,null),n(l,m),n(l,v),n(v,z),n(z,p),n(v,u),n(e,d),n(e,c),n(e,a),n(e,s)},p(g,$){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),$&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&B(p,i),$&12&&x(z,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:N,o:N,d(g){g&&q(e),o.d()}}}function ae(f){let e,l,t,m,v,z,i,p=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap",u;function d(s,h){return s[2]||s[3]?pe:de}let c=d(f),a=c(f);return{c(){e=w("div"),l=w("div"),t=w("b"),m=G(f[8]),v=G("/5"),z=b(),a.c(),i=G(`
1
+ import{c as J,S as Q,i as _,f as V,s as ee,a as le,e as w,b,d as E,g as T,t as A,h as S,j as L,k as q,o as te,l as D,m as G,n as x,p as r,q as n,r as B,u as N,v as M,w as C,x as H,y as k}from"./index2.js";import{g as se,A as R}from"./Arrow.js";function ie(f){le(f,"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(f){let e,l,t,m,v,z,i=f[1]==="mature"&&j(f),p=f[1]==="median"&&O(f),u=f[1]==="youth"&&U(f),d=f[1]==="shield"&&K(f),c=f[1]==="lifestyle"&&W(f);return{c(){i&&i.c(),e=b(),p&&p.c(),l=b(),u&&u.c(),t=b(),d&&d.c(),m=b(),c&&c.c(),v=E()},m(a,s){i&&i.m(a,s),T(a,e,s),p&&p.m(a,s),T(a,l,s),u&&u.m(a,s),T(a,t,s),d&&d.m(a,s),T(a,m,s),c&&c.m(a,s),T(a,v,s),z=!0},p(a,s){a[1]==="mature"?i?(i.p(a,s),s&2&&L(i,1)):(i=j(a),i.c(),L(i,1),i.m(e.parentNode,e)):i&&(D(),A(i,1,1,()=>{i=null}),S()),a[1]==="median"?p?(p.p(a,s),s&2&&L(p,1)):(p=O(a),p.c(),L(p,1),p.m(l.parentNode,l)):p&&(D(),A(p,1,1,()=>{p=null}),S()),a[1]==="youth"?u?(u.p(a,s),s&2&&L(u,1)):(u=U(a),u.c(),L(u,1),u.m(t.parentNode,t)):u&&(D(),A(u,1,1,()=>{u=null}),S()),a[1]==="shield"?d?(d.p(a,s),s&2&&L(d,1)):(d=K(a),d.c(),L(d,1),d.m(m.parentNode,m)):d&&(D(),A(d,1,1,()=>{d=null}),S()),a[1]==="lifestyle"?c?(c.p(a,s),s&2&&L(c,1)):(c=W(a),c.c(),L(c,1),c.m(v.parentNode,v)):c&&(D(),A(c,1,1,()=>{c=null}),S())},i(a){z||(L(i),L(p),L(u),L(d),L(c),z=!0)},o(a){A(i),A(p),A(u),A(d),A(c),z=!1},d(a){a&&(q(e),q(l),q(t),q(m),q(v)),i&&i.d(a),p&&p.d(a),u&&u.d(a),d&&d.d(a),c&&c.d(a)}}}function re(f){let e,l,t,m,v,z,i=f[2]?"Major overlap":f[3]?"Some overlap":"No significant overlap",p,u,d,c,a,s;function h(g,$){return g[2]||g[3]?me:oe}let y=h(f),o=y(f);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),m=b(),v=w("div"),z=w("b"),p=G(i),u=G(" of glycan indexes between your patient and this condition."),d=b(),c=w("hr"),a=b(),s=w("div"),s.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li> <li class="svelte-1285zfm">Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)</li> <li class="svelte-1285zfm">Signs of peripheral artery disease (e.g., leg pain during activity)</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., coronary artery calcium score)</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5970566/pdf/res-122-1555.pdf" class="svelte-1285zfm">Glycosylation Profile of Immunoglobulin G Is Cross-Sectionally Associated With Cardiovascular Disease Risk Score and Subclinical Atherosclerosis in Two Independent Cohorts</a> <p class="svelte-1285zfm">In a study involving 2970 women aged 40\u201379 from the TwinsUK cohort, IgG glycosylation was examined in relation to the estimated 10-year risk of atherosclerotic cardiovascular disease and the presence of carotid and femoral plaque. A decrease in G1, G2 and S was observed, alongside an increase in G0 and B. These findings were replicated in 967 women from the ORCADES cohort (Orkney Complex Disease Study). Additionally, some of these glycan changes were also associated with 845 men in the study.</p>',x(t,"transform","translate(-50%)"),x(z,"color",f[2]||f[3]?"#F2590D":"#12A195"),r(l,"class","summaryHeader svelte-1285zfm"),r(c,"class","svelte-1285zfm"),r(s,"class","summaryBody svelte-1285zfm"),r(e,"class","summaryMain svelte-1285zfm")},m(g,$){T(g,e,$),n(e,l),n(l,t),o.m(t,null),n(l,m),n(l,v),n(v,z),n(z,p),n(v,u),n(e,d),n(e,c),n(e,a),n(e,s)},p(g,$){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),$&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&B(p,i),$&12&&x(z,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:N,o:N,d(g){g&&q(e),o.d()}}}function ae(f){let e,l,t,m,v,z,i,p=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap",u;function d(s,h){return s[2]||s[3]?pe:de}let c=d(f),a=c(f);return{c(){e=w("div"),l=w("div"),t=w("b"),m=G(f[8]),v=G("/5"),z=b(),a.c(),i=G(`
2
2
  \xA0\xA0`),u=G(p),x(l,"padding-right","10px"),r(e,"class","header svelte-1285zfm")},m(s,h){T(s,e,h),n(e,l),n(l,t),n(t,m),n(t,v),n(e,z),a.m(e,null),n(e,i),n(e,u)},p(s,h){h&256&&B(m,s[8]),c===(c=d(s))&&a?a.p(s,h):(a.d(1),a=c(s),a&&(a.c(),a.m(e,i))),h&12&&p!==(p=s[2]?"Some overlap":s[3]?"Minor overlap":"No significant overlap")&&B(u,p)},i:N,o:N,d(s){s&&q(e),a.d()}}}function j(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"right",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Mature (G0)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]<=68?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function O(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Median (G1)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function U(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Youth (G2)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function K(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"left",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Shield (S)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]>=32?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function W(f){let e,l,t,m,v,z,i,p,u,d,c,a,s,h,y;return h=new R({props:{type:"right",percentile:f[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),m=M("path"),z=b(),i=w("div"),p=w("div"),p.innerHTML="Glycan <b>Lifestyle (B)</b>",u=b(),d=w("div"),c=G(f[6]),a=b(),s=w("div"),C(h.$$.fragment),r(m,"fill",v=f[7]<=68?"#12A195":"#F2590D"),r(m,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(t,"xmlns","http://www.w3.org/2000/svg"),r(t,"width","24"),r(t,"height","24"),r(t,"viewBox","0 0 24 24"),x(i,"display","flex"),x(i,"flex-direction","column"),x(i,"padding-left","0.3rem"),r(l,"class","label svelte-1285zfm"),x(l,"font-size","0.8rem"),x(s,"width","70%"),x(s,"display","flex"),x(s,"align-items","center"),r(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),n(e,l),n(l,t),n(t,m),n(l,z),n(l,i),n(i,p),n(i,u),n(i,d),n(d,c),n(e,a),n(e,s),H(h,s,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&r(m,"fill",v),(!y||g&64)&&B(c,o[6]);const $={};g&128&&($.percentile=o[7]),h.$set($)},i(o){y||(L(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),k(h)}}}function oe(f){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,m){T(t,e,m),n(e,l)},d(t){t&&q(e)}}}function me(f){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,m){T(t,e,m),n(e,l)},d(t){t&&q(e)}}}function de(f){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,m){T(t,e,m),n(e,l)},p:N,d(t){t&&q(e)}}}function pe(f){let e,l,t;return{c(){e=M("svg"),l=M("path"),r(l,"fill",t=f[3]?"#FFAA00":"#F2590D"),r(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(m,v){T(m,e,v),n(e,l)},p(m,v){v&8&&t!==(t=m[3]?"#FFAA00":"#F2590D")&&r(l,"fill",t)},d(m){m&&q(e)}}}function ce(f){let e,l,t,m,v,z;const i=[ae,re,ne],p=[];function u(d,c){return d[0]==="header"&&d[5]?0:d[0]==="summary"&&d[4]?1:2}return t=u(f),m=p[t]=i[t](f),{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=b(),m.c(),v=E()},m(d,c){T(d,e,c),T(d,l,c),p[t].m(d,c),T(d,v,c),z=!0},p(d,[c]){let a=t;t=u(d),t===a?p[t].p(d,c):(D(),A(p[a],1,1,()=>{p[a]=null}),S(),m=p[t],m?m.p(d,c):(m=p[t]=i[t](d),m.c()),L(m,1),m.m(v.parentNode,v))},i(d){z||(L(m),z=!0)},o(d){A(m),z=!1},d(d){d&&(q(e),q(l),q(v)),p[t].d(d)}}}function fe(f,e,l){let{report:t}=e,{type:m}=e,{subtype:v}=e,{service:z=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"},{name:"lifestyle",csvName:"Bpercentile"}],p,u=!1,d=!1,c=!1,a=!1,s="",h=0,y=0,o=0,g=0,$=0,I=0,Z=0;function Y(){h>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),o<32&&l(8,Z++,Z),g<32&&l(8,Z++,Z),$>68&&l(8,Z++,Z)}const P=i.find(F=>F.name===v);return te(async()=>{p=await z.getReport(t),P&&(l(7,I=Number(p[P.csvName])),l(6,s=se(I))),h=Number(p.G0percentile),y=Number(p.G1percentile),o=Number(p.G2percentile),g=Number(p.Spercentile),$=Number(p.Bpercentile),Y(),Z===5&&l(2,u=!0),Z>2&&Z<5&&l(3,d=!0),l(5,a=!0),l(4,c=!0)}),f.$$set=F=>{"report"in F&&l(9,t=F.report),"type"in F&&l(0,m=F.type),"subtype"in F&&l(1,v=F.subtype),"service"in F&&l(10,z=F.service)},[m,v,u,d,c,a,s,I,Z,t,z]}class X extends Q{constructor(e){super(),_(this,e,fe,ce,ee,{report:9,type:0,subtype:1,service:10},ie)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),V()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),V()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),V()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),V()}}customElements.define("ga-atherosclerosis",J(X,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{X as default};
@@ -1,2 +1,2 @@
1
- import{c as Y,S as J,i as K,f as S,s as Q,a as W,e as w,b as L,d as j,g as T,t as A,h as D,j as $,k as q,o as ee,l as N,m as F,n as z,p as n,q as a,r as G,u as H,v as M,w as V,x as C,y as P}from"./index2.js";import{g as le,A as R}from"./Arrow.js";function te(c){W(c,"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(c){let e,l,t,r,v,p=c[1]==="mature"&&k(c),i=c[1]==="median"&&I(c),m=c[1]==="youth"&&E(c),u=c[1]==="lifestyle"&&O(c);return{c(){p&&p.c(),e=L(),i&&i.c(),l=L(),m&&m.c(),t=L(),u&&u.c(),r=j()},m(s,d){p&&p.m(s,d),T(s,e,d),i&&i.m(s,d),T(s,l,d),m&&m.m(s,d),T(s,t,d),u&&u.m(s,d),T(s,r,d),v=!0},p(s,d){s[1]==="mature"?p?(p.p(s,d),d&2&&$(p,1)):(p=k(s),p.c(),$(p,1),p.m(e.parentNode,e)):p&&(N(),A(p,1,1,()=>{p=null}),D()),s[1]==="median"?i?(i.p(s,d),d&2&&$(i,1)):(i=I(s),i.c(),$(i,1),i.m(l.parentNode,l)):i&&(N(),A(i,1,1,()=>{i=null}),D()),s[1]==="youth"?m?(m.p(s,d),d&2&&$(m,1)):(m=E(s),m.c(),$(m,1),m.m(t.parentNode,t)):m&&(N(),A(m,1,1,()=>{m=null}),D()),s[1]==="lifestyle"?u?(u.p(s,d),d&2&&$(u,1)):(u=O(s),u.c(),$(u,1),u.m(r.parentNode,r)):u&&(N(),A(u,1,1,()=>{u=null}),D())},i(s){v||($(p),$(i),$(m),$(u),v=!0)},o(s){A(p),A(i),A(m),A(u),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),u&&u.d(s)}}}function ie(c){let e,l,t,r,v,p,i=c[2]?"Major overlap":c[3]?"Some overlap":"No significant overlap",m,u,s,d,x,f;function h(g,b){return g[2]||g[3]?re:ae}let y=h(c),o=y(c);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),r=L(),v=w("div"),p=w("b"),m=F(i),u=F(" of glycan indexes between your patient and this condition."),s=L(),d=w("hr"),x=L(),f=w("div"),f.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB)</li> <li class="svelte-1285zfm">Other blood tests: hsCRP, homocysteine, renal and liver function, HbA1c</li> <li class="svelte-1285zfm">BP check</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://translational-medicine.biomedcentral.com/articles/10.1186/s12967-018-1616-2" class="svelte-1285zfm">The changes of immunoglobulin G\xA0N-glycosylation in blood lipids and dyslipidaemia</a> <p class="svelte-1285zfm">In a study focusing on IgG glycome changes related to dyslipidemia, 598 participants (67% female participants) were selected from a larger observational cross-sectional study conducted in 2012, which initially involved 913 participants of Chinese Han ancestry from Beijing. The glycomic analysis revealed a decrease in G2 and S, coupled with an increase in G0 and B. A predictive model incorporating six specific glycan structures was developed from these findings, resulting in an AUC of 0.692.</p>',z(t,"transform","translate(-50%)"),z(p,"color",c[2]||c[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(d,"class","svelte-1285zfm"),n(f,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(g,b){T(g,e,b),a(e,l),a(l,t),o.m(t,null),a(l,r),a(l,v),a(v,p),a(p,m),a(v,u),a(e,s),a(e,d),a(e,x),a(e,f)},p(g,b){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&G(m,i),b&12&&z(p,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:H,o:H,d(g){g&&q(e),o.d()}}}function ne(c){let e,l,t,r,v,p,i,m=c[2]?"Some overlap":c[3]?"Minor overlap":"No significant overlap",u;function s(f,h){return f[2]||f[3]?oe:me}let d=s(c),x=d(c);return{c(){e=w("div"),l=w("div"),t=w("b"),r=F(c[8]),v=F("/4"),p=L(),x.c(),i=F(`
2
- \xA0\xA0`),u=F(m),z(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(f,h){T(f,e,h),a(e,l),a(l,t),a(t,r),a(t,v),a(e,p),x.m(e,null),a(e,i),a(e,u)},p(f,h){h&256&&G(r,f[8]),d===(d=s(f))&&x?x.p(f,h):(x.d(1),x=d(f),x&&(x.c(),x.m(e,i))),h&12&&m!==(m=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap")&&G(u,m)},i:H,o:H,d(f){f&&q(e),x.d()}}}function k(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function I(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Median (G1)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function E(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function O(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&G(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function ae(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function re(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#F2590D"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function me(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},p:H,d(t){t&&q(e)}}}function oe(c){let e,l,t;return{c(){e=M("svg"),l=M("path"),n(l,"fill",t=c[3]?"#FFAA00":"#F2590D"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(r,v){T(r,e,v),a(e,l)},p(r,v){v&8&&t!==(t=r[3]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(r){r&&q(e)}}}function de(c){let e,l,t,r,v,p;const i=[ne,ie,se],m=[];function u(s,d){return s[0]==="header"&&s[5]?0:s[0]==="summary"&&s[4]?1:2}return t=u(c),r=m[t]=i[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(),v=j()},m(s,d){T(s,e,d),T(s,l,d),m[t].m(s,d),T(s,v,d),p=!0},p(s,[d]){let x=t;t=u(s),t===x?m[t].p(s,d):(N(),A(m[x],1,1,()=>{m[x]=null}),D(),r=m[t],r?r.p(s,d):(r=m[t]=i[t](s),r.c()),$(r,1),r.m(v.parentNode,v))},i(s){p||($(r),p=!0)},o(s){A(r),p=!1},d(s){s&&(q(e),q(l),q(v)),m[t].d(s)}}}function ce(c,e,l){let{report:t}=e,{type:r}=e,{subtype:v}=e,{service:p=window.GaReportService}=e,i=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"lifestyle",csvName:"Bpercentile"}],m,u=!1,s=!1,d=!1,x=!1,f="",h=0,y=0,o=0,g=0,b=0,Z=0;function X(){h>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),o<32&&l(8,Z++,Z),g>68&&l(8,Z++,Z)}const _=i.find(B=>B.name===v);return ee(async()=>{m=await p.getReport(t),_&&(l(7,b=Number(m[_.csvName])),l(6,f=le(b))),h=Number(m.G0percentile),y=Number(m.G1percentile),o=Number(m.G2percentile),g=Number(m.Bpercentile),X(),Z===4&&l(2,u=!0),Z===3&&l(3,s=!0),l(5,x=!0),l(4,d=!0)}),c.$$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,d,x,f,b,Z,t,p]}class U extends J{constructor(e){super(),K(this,e,ce,de,Q,{report:9,type:0,subtype:1,service:10},te)}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-dyslipidemia",Y(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
1
+ import{c as Y,S as J,i as K,f as H,s as Q,a as W,e as w,b as L,d as j,g as T,t as A,h as G,j as $,k as q,o as ee,l as S,m as F,n as z,p as n,q as a,r as D,u as N,v as M,w as V,x as C,y as P}from"./index2.js";import{g as le,A as R}from"./Arrow.js";function te(c){W(c,"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(c){let e,l,t,r,v,p=c[1]==="mature"&&k(c),i=c[1]==="youth"&&I(c),m=c[1]==="shield"&&E(c),u=c[1]==="lifestyle"&&O(c);return{c(){p&&p.c(),e=L(),i&&i.c(),l=L(),m&&m.c(),t=L(),u&&u.c(),r=j()},m(s,d){p&&p.m(s,d),T(s,e,d),i&&i.m(s,d),T(s,l,d),m&&m.m(s,d),T(s,t,d),u&&u.m(s,d),T(s,r,d),v=!0},p(s,d){s[1]==="mature"?p?(p.p(s,d),d&2&&$(p,1)):(p=k(s),p.c(),$(p,1),p.m(e.parentNode,e)):p&&(S(),A(p,1,1,()=>{p=null}),G()),s[1]==="youth"?i?(i.p(s,d),d&2&&$(i,1)):(i=I(s),i.c(),$(i,1),i.m(l.parentNode,l)):i&&(S(),A(i,1,1,()=>{i=null}),G()),s[1]==="shield"?m?(m.p(s,d),d&2&&$(m,1)):(m=E(s),m.c(),$(m,1),m.m(t.parentNode,t)):m&&(S(),A(m,1,1,()=>{m=null}),G()),s[1]==="lifestyle"?u?(u.p(s,d),d&2&&$(u,1)):(u=O(s),u.c(),$(u,1),u.m(r.parentNode,r)):u&&(S(),A(u,1,1,()=>{u=null}),G())},i(s){v||($(p),$(i),$(m),$(u),v=!0)},o(s){A(p),A(i),A(m),A(u),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),u&&u.d(s)}}}function ie(c){let e,l,t,r,v,p,i=c[2]?"Major overlap":c[3]?"Some overlap":"No significant overlap",m,u,s,d,x,f;function h(g,b){return g[2]||g[3]?re:ae}let y=h(c),o=y(c);return{c(){e=w("div"),l=w("div"),t=w("div"),o.c(),r=L(),v=w("div"),p=w("b"),m=F(i),u=F(" of glycan indexes between your patient and this condition."),s=L(),d=w("hr"),x=L(),f=w("div"),f.innerHTML='<h5 class="svelte-1285zfm">Signs and symptoms</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Usually asymptomatic</li></ul> <h5 class="svelte-1285zfm">Possible follow-up</h5> <ul class="svelte-1285zfm"><li class="svelte-1285zfm">Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB)</li> <li class="svelte-1285zfm">Other blood tests: hsCRP, homocysteine, renal and liver function, HbA1c</li> <li class="svelte-1285zfm">BP check</li></ul> <h5 class="svelte-1285zfm">Related research papers</h5> <a href="https://translational-medicine.biomedcentral.com/articles/10.1186/s12967-018-1616-2" class="svelte-1285zfm">The changes of immunoglobulin G\xA0N-glycosylation in blood lipids and dyslipidaemia</a> <p class="svelte-1285zfm">In a study focusing on IgG glycome changes related to dyslipidemia, 598 participants (67% female participants) were selected from a larger observational cross-sectional study conducted in 2012, which initially involved 913 participants of Chinese Han ancestry from Beijing. The glycomic analysis revealed a decrease in G2 and S, coupled with an increase in G0 and B. A predictive model incorporating six specific glycan structures was developed from these findings, resulting in an AUC of 0.692.</p>',z(t,"transform","translate(-50%)"),z(p,"color",c[2]||c[3]?"#F2590D":"#12A195"),n(l,"class","summaryHeader svelte-1285zfm"),n(d,"class","svelte-1285zfm"),n(f,"class","summaryBody svelte-1285zfm"),n(e,"class","summaryMain svelte-1285zfm")},m(g,b){T(g,e,b),a(e,l),a(l,t),o.m(t,null),a(l,r),a(l,v),a(v,p),a(p,m),a(v,u),a(e,s),a(e,d),a(e,x),a(e,f)},p(g,b){y!==(y=h(g))&&(o.d(1),o=y(g),o&&(o.c(),o.m(t,null))),b&12&&i!==(i=g[2]?"Major overlap":g[3]?"Some overlap":"No significant overlap")&&D(m,i),b&12&&z(p,"color",g[2]||g[3]?"#F2590D":"#12A195")},i:N,o:N,d(g){g&&q(e),o.d()}}}function ne(c){let e,l,t,r,v,p,i,m=c[2]?"Some overlap":c[3]?"Minor overlap":"No significant overlap",u;function s(f,h){return f[2]||f[3]?oe:me}let d=s(c),x=d(c);return{c(){e=w("div"),l=w("div"),t=w("b"),r=F(c[8]),v=F("/4"),p=L(),x.c(),i=F(`
2
+ \xA0\xA0`),u=F(m),z(l,"padding-right","10px"),n(e,"class","header svelte-1285zfm")},m(f,h){T(f,e,h),a(e,l),a(l,t),a(t,r),a(t,v),a(e,p),x.m(e,null),a(e,i),a(e,u)},p(f,h){h&256&&D(r,f[8]),d===(d=s(f))&&x?x.p(f,h):(x.d(1),x=d(f),x&&(x.c(),x.m(e,i))),h&12&&m!==(m=f[2]?"Some overlap":f[3]?"Minor overlap":"No significant overlap")&&D(u,m)},i:N,o:N,d(f){f&&q(e),x.d()}}}function k(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Mature (G0)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&D(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function I(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Youth (G2)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&D(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function E(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"left",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Shield (S)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]>=32?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]>=32?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&D(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function O(c){let e,l,t,r,v,p,i,m,u,s,d,x,f,h,y;return h=new R({props:{type:"right",percentile:c[7]}}),{c(){e=w("div"),l=w("div"),t=M("svg"),r=M("path"),p=L(),i=w("div"),m=w("div"),m.innerHTML="Glycan <b>Lifestyle (B)</b>",u=L(),s=w("div"),d=F(c[6]),x=L(),f=w("div"),V(h.$$.fragment),n(r,"fill",v=c[7]<=68?"#12A195":"#F2590D"),n(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"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"width","24"),n(t,"height","24"),n(t,"viewBox","0 0 24 24"),z(i,"display","flex"),z(i,"flex-direction","column"),z(i,"padding-left","0.3rem"),n(l,"class","label svelte-1285zfm"),z(l,"font-size","0.8rem"),z(f,"width","70%"),z(f,"display","flex"),z(f,"align-items","center"),n(e,"class","main svelte-1285zfm")},m(o,g){T(o,e,g),a(e,l),a(l,t),a(t,r),a(l,p),a(l,i),a(i,m),a(i,u),a(i,s),a(s,d),a(e,x),a(e,f),C(h,f,null),y=!0},p(o,g){(!y||g&128&&v!==(v=o[7]<=68?"#12A195":"#F2590D"))&&n(r,"fill",v),(!y||g&64)&&D(d,o[6]);const b={};g&128&&(b.percentile=o[7]),h.$set(b)},i(o){y||($(h.$$.fragment,o),y=!0)},o(o){A(h.$$.fragment,o),y=!1},d(o){o&&q(e),P(h)}}}function ae(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function re(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#F2590D"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","50"),n(e,"height","50"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},d(t){t&&q(e)}}}function me(c){let e,l;return{c(){e=M("svg"),l=M("path"),n(l,"fill","#12A195"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(t,r){T(t,e,r),a(e,l)},p:N,d(t){t&&q(e)}}}function oe(c){let e,l,t;return{c(){e=M("svg"),l=M("path"),n(l,"fill",t=c[3]?"#FFAA00":"#F2590D"),n(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"),n(e,"xmlns","http://www.w3.org/2000/svg"),n(e,"width","24"),n(e,"height","24"),n(e,"viewBox","0 0 24 24")},m(r,v){T(r,e,v),a(e,l)},p(r,v){v&8&&t!==(t=r[3]?"#FFAA00":"#F2590D")&&n(l,"fill",t)},d(r){r&&q(e)}}}function de(c){let e,l,t,r,v,p;const i=[ne,ie,se],m=[];function u(s,d){return s[0]==="header"&&s[5]?0:s[0]==="summary"&&s[4]?1:2}return t=u(c),r=m[t]=i[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(),v=j()},m(s,d){T(s,e,d),T(s,l,d),m[t].m(s,d),T(s,v,d),p=!0},p(s,[d]){let x=t;t=u(s),t===x?m[t].p(s,d):(S(),A(m[x],1,1,()=>{m[x]=null}),G(),r=m[t],r?r.p(s,d):(r=m[t]=i[t](s),r.c()),$(r,1),r.m(v.parentNode,v))},i(s){p||($(r),p=!0)},o(s){A(r),p=!1},d(s){s&&(q(e),q(l),q(v)),m[t].d(s)}}}function ce(c,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"}],m,u=!1,s=!1,d=!1,x=!1,f="",h=0,y=0,o=0,g=0,b=0,Z=0;function X(){h>68&&l(8,Z++,Z),y<32&&l(8,Z++,Z),o<32&&l(8,Z++,Z),g>68&&l(8,Z++,Z)}const _=i.find(B=>B.name===v);return ee(async()=>{m=await p.getReport(t),_&&(l(7,b=Number(m[_.csvName])),l(6,f=le(b))),h=Number(m.G0percentile),y=Number(m.G2percentile),o=Number(m.Spercentile),g=Number(m.Bpercentile),X(),Z===4&&l(2,u=!0),Z===3&&l(3,s=!0),l(5,x=!0),l(4,d=!0)}),c.$$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,d,x,f,b,Z,t,p]}class U extends J{constructor(e){super(),K(this,e,ce,de,Q,{report:9,type:0,subtype:1,service:10},te)}get report(){return this.$$.ctx[9]}set report(e){this.$$set({report:e}),H()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),H()}get subtype(){return this.$$.ctx[1]}set subtype(e){this.$$set({subtype:e}),H()}get service(){return this.$$.ctx[10]}set service(e){this.$$set({service:e}),H()}}customElements.define("ga-dyslipidemia",Y(U,{report:{},type:{},subtype:{},service:{}},[],[],!0));export{U as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@glycanage/web-components",
3
3
  "description": "A collection of web-components",
4
- "version": "1.48.0",
4
+ "version": "1.50.0",
5
5
  "type": "module",
6
6
  "main": "dist/lib/@glycanage/web-components.js",
7
7
  "scripts": {