@glycanage/web-components 1.57.0 → 1.59.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,3 +1,3 @@
1
- import{c as Ge,S as Re,i as Me,f as C,s as Se,a as Pe,e as f,b as x,d as ze,g as G,t as B,h as D,j as S,k as R,o as Ne,l as I,m as Ye,n as y,p as _,q as A,r as a,u as i,v as b,w as q,x as Y,y as ne,z as ae,A as re}from"./helpers.js";import{A as me}from"./Arrow.js";function Ze(r){Pe(r,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Be(r){let e,t,l,s,h,p=r[2]==="mature"&&Ae(r),m=r[2]==="median"&&Ee(r),d=r[2]==="youth"&&_e(r),c=r[2]==="shield"&&$e(r);return{c(){p&&p.c(),e=x(),m&&m.c(),t=x(),d&&d.c(),l=x(),c&&c.c(),s=ze()},m(n,u){p&&p.m(n,u),G(n,e,u),m&&m.m(n,u),G(n,t,u),d&&d.m(n,u),G(n,l,u),c&&c.m(n,u),G(n,s,u),h=!0},p(n,u){n[2]==="mature"?p?(p.p(n,u),u&4&&S(p,1)):(p=Ae(n),p.c(),S(p,1),p.m(e.parentNode,e)):p&&(I(),B(p,1,1,()=>{p=null}),D()),n[2]==="median"?m?(m.p(n,u),u&4&&S(m,1)):(m=Ee(n),m.c(),S(m,1),m.m(t.parentNode,t)):m&&(I(),B(m,1,1,()=>{m=null}),D()),n[2]==="youth"?d?(d.p(n,u),u&4&&S(d,1)):(d=_e(n),d.c(),S(d,1),d.m(l.parentNode,l)):d&&(I(),B(d,1,1,()=>{d=null}),D()),n[2]==="shield"?c?(c.p(n,u),u&4&&S(c,1)):(c=$e(n),c.c(),S(c,1),c.m(s.parentNode,s)):c&&(I(),B(c,1,1,()=>{c=null}),D())},i(n){h||(S(p),S(m),S(d),S(c),h=!0)},o(n){B(p),B(m),B(d),B(c),h=!1},d(n){n&&(R(e),R(t),R(l),R(s)),p&&p.d(n),m&&m.d(n),d&&d.d(n),c&&c.d(n)}}}function Ve(r){let e,t,l,s,h,p,m,d=y(r[0],"OVERLAP_TEXT")+"",c,n,u,E,w,g,z=y(r[0],"SYMPTOMS")+"",M,O,v,L,o=y(r[0],"SYMPTOM_TWENTY")+"",T,P,N,H=y(r[0],"SYMPTOM_TWENTYONE")+"",oe,ve,k,U=y(r[0],"SYMPTOM_TWENTYTWO")+"",de,ge,X,j=y(r[0],"POSSIBLE_FOLLOW_UP")+"",ce,we,F,J,K=y(r[0],"POSSIBLE_FOLLOW_UP_TWENTYTWO")+"",fe,Le,Q,ee=y(r[0],"POSSIBLE_FOLLOW_UP_TWENTYTHREE")+"",pe,ye,te,le=y(r[0],"RELATED_RESEARCH_PAPERS")+"",ue,Oe,he;function Te($,Z){return $[3]||$[4]?Ce:Fe}let ie=Te(r),W=ie(r);function xe($,Z){return $[3]?qe:$[4]?Ie:De}let se=xe(r),V=se(r);return{c(){e=f("div"),t=f("div"),l=f("div"),W.c(),s=x(),h=f("div"),p=f("b"),V.c(),m=x(),c=_(d),n=x(),u=f("hr"),E=x(),w=f("div"),g=f("h5"),M=_(z),O=x(),v=f("ul"),L=f("li"),T=_(o),P=x(),N=f("li"),oe=_(H),ve=x(),k=f("li"),de=_(U),ge=x(),X=f("h5"),ce=_(j),we=x(),F=f("ul"),J=f("li"),fe=_(K),Le=x(),Q=f("li"),pe=_(ee),ye=x(),te=f("h5"),ue=_(le),Oe=x(),he=f("div"),he.innerHTML='<a href="https://pubmed.ncbi.nlm.nih.gov/24016253/" class="svelte-1285zfm">Association between galactosylation of immunoglobulin G and improvement of rheumatoid arthritis during pregnancy is independent of sialylation</a> <p class="svelte-1285zfm">In an investigation focusing on IgG glycosylation in pregnant Caucasian women with an average age of 32 suffering from RA compared to a healthy control group, utilizing a cohort of 251 participants, the study identified an elevation in G0 and B, contrasted with a decrease in G1, G2, and S in the RA group. During the entire course of pregnancy and the postpartum period, a consistent reduction in galactosylation and sialylation was observed among the RA patients.</p> <a href="https://pubmed.ncbi.nlm.nih.gov/28793911/" class="svelte-1285zfm">IgG Fc galactosylation predicts response to methotrexate in early rheumatoid arthritis</a> <p class="svelte-1285zfm">In a study of Swedish patients with early rheumatoid arthritis (RA), 73% of whom were women with an average age of 53, compared to a control group comprising 72% women with an average age of 54, an increase in G0 was observed, while G1 and G2 were decreased. No changes were noted in B and S.</p> <a href="https://pubmed.ncbi.nlm.nih.gov/29572115/" class="svelte-1285zfm">Low galactosylation of IgG associates with higher risk for future diagnosis of rheumatoid arthritis during 10 years of follow-up</a> <p class="svelte-1285zfm">In an extensive study which encompassed two Finnish cohorts totaling 14,749 individuals, 179 subjects who developed rheumatoid arthritis (RA) were monitored over a 10-year period alongside 358 matched controls, 59% of whom were female. The analysis uncovered a reduction in G0 and an elevation in G1, with a nominally significant decrease observed in G2 and S; B was not assessed. Notably, the research identified a specific G0 glycan peak as a crucial pre-existing risk factor for the onset of RA.</p>',A(l,"transform","translate(-50%)"),A(p,"color",r[3]?"#F2590D":"#12A195"),a(t,"class","summaryHeader svelte-1285zfm"),a(u,"class","svelte-1285zfm"),a(g,"class","svelte-1285zfm"),a(L,"class","svelte-1285zfm"),a(N,"class","svelte-1285zfm"),a(k,"class","svelte-1285zfm"),a(v,"class","svelte-1285zfm"),a(X,"class","svelte-1285zfm"),a(J,"class","svelte-1285zfm"),a(Q,"class","svelte-1285zfm"),a(F,"class","svelte-1285zfm"),a(te,"class","svelte-1285zfm"),a(w,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m($,Z){G($,e,Z),i(e,t),i(t,l),W.m(l,null),i(t,s),i(t,h),i(h,p),V.m(p,null),i(h,m),i(h,c),i(e,n),i(e,u),i(e,E),i(e,w),i(w,g),i(g,M),i(w,O),i(w,v),i(v,L),i(L,T),i(v,P),i(v,N),i(N,oe),i(v,ve),i(v,k),i(k,de),i(w,ge),i(w,X),i(X,ce),i(w,we),i(w,F),i(F,J),i(J,fe),i(F,Le),i(F,Q),i(Q,pe),i(w,ye),i(w,te),i(te,ue),i(w,Oe),i(w,he)},p($,Z){ie!==(ie=Te($))&&(W.d(1),W=ie($),W&&(W.c(),W.m(l,null))),se===(se=xe($))&&V?V.p($,Z):(V.d(1),V=se($),V&&(V.c(),V.m(p,null))),Z&8&&A(p,"color",$[3]?"#F2590D":"#12A195"),Z&1&&d!==(d=y($[0],"OVERLAP_TEXT")+"")&&b(c,d),Z&1&&z!==(z=y($[0],"SYMPTOMS")+"")&&b(M,z),Z&1&&o!==(o=y($[0],"SYMPTOM_TWENTY")+"")&&b(T,o),Z&1&&H!==(H=y($[0],"SYMPTOM_TWENTYONE")+"")&&b(oe,H),Z&1&&U!==(U=y($[0],"SYMPTOM_TWENTYTWO")+"")&&b(de,U),Z&1&&j!==(j=y($[0],"POSSIBLE_FOLLOW_UP")+"")&&b(ce,j),Z&1&&K!==(K=y($[0],"POSSIBLE_FOLLOW_UP_TWENTYTWO")+"")&&b(fe,K),Z&1&&ee!==(ee=y($[0],"POSSIBLE_FOLLOW_UP_TWENTYTHREE")+"")&&b(pe,ee),Z&1&&le!==(le=y($[0],"RELATED_RESEARCH_PAPERS")+"")&&b(ue,le)},i:q,o:q,d($){$&&R(e),W.d(),V.d()}}}function We(r){let e,t,l,s,h,p,m;function d(g,z){return g[3]||g[4]?ke:He}let c=d(r),n=c(r);function u(g,z){return g[3]?je:g[4]?Xe:Ue}let E=u(r),w=E(r);return{c(){e=f("div"),t=f("div"),l=f("b"),s=_(r[9]),h=_("/4"),p=x(),n.c(),m=_(`
1
+ import{c as Ge,S as Re,i as Me,f as C,s as Se,a as Pe,e as f,b as x,d as Oe,g as G,t as B,h as D,j as S,k as R,o as Ne,l as I,m as Ye,n as z,p as _,q as O,r as a,u as i,v as b,w as q,x as Y,y as ne,z as ae,A as re}from"./helpers.js";import{A as me}from"./Arrow.js";function Ze(r){Pe(r,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Be(r){let e,t,l,s,h,p=r[2]==="mature"&&Ae(r),m=r[2]==="median"&&Ee(r),d=r[2]==="youth"&&_e(r),c=r[2]==="shield"&&$e(r);return{c(){p&&p.c(),e=x(),m&&m.c(),t=x(),d&&d.c(),l=x(),c&&c.c(),s=Oe()},m(n,u){p&&p.m(n,u),G(n,e,u),m&&m.m(n,u),G(n,t,u),d&&d.m(n,u),G(n,l,u),c&&c.m(n,u),G(n,s,u),h=!0},p(n,u){n[2]==="mature"?p?(p.p(n,u),u&4&&S(p,1)):(p=Ae(n),p.c(),S(p,1),p.m(e.parentNode,e)):p&&(I(),B(p,1,1,()=>{p=null}),D()),n[2]==="median"?m?(m.p(n,u),u&4&&S(m,1)):(m=Ee(n),m.c(),S(m,1),m.m(t.parentNode,t)):m&&(I(),B(m,1,1,()=>{m=null}),D()),n[2]==="youth"?d?(d.p(n,u),u&4&&S(d,1)):(d=_e(n),d.c(),S(d,1),d.m(l.parentNode,l)):d&&(I(),B(d,1,1,()=>{d=null}),D()),n[2]==="shield"?c?(c.p(n,u),u&4&&S(c,1)):(c=$e(n),c.c(),S(c,1),c.m(s.parentNode,s)):c&&(I(),B(c,1,1,()=>{c=null}),D())},i(n){h||(S(p),S(m),S(d),S(c),h=!0)},o(n){B(p),B(m),B(d),B(c),h=!1},d(n){n&&(R(e),R(t),R(l),R(s)),p&&p.d(n),m&&m.d(n),d&&d.d(n),c&&c.d(n)}}}function Ve(r){let e,t,l,s,h,p,m,d=z(r[0],"OVERLAP_TEXT")+"",c,n,u,E,w,g,A=z(r[0],"SYMPTOMS")+"",M,y,v,L,o=z(r[0],"SYMPTOM_TWENTY")+"",T,P,N,H=z(r[0],"SYMPTOM_TWENTYONE")+"",oe,ve,k,U=z(r[0],"SYMPTOM_TWENTYTWO")+"",de,ge,X,j=z(r[0],"POSSIBLE_FOLLOW_UP")+"",ce,we,F,J,K=z(r[0],"POSSIBLE_FOLLOW_UP_TWENTYTWO")+"",fe,Le,Q,ee=z(r[0],"POSSIBLE_FOLLOW_UP_TWENTYTHREE")+"",pe,ze,te,le=z(r[0],"RELATED_RESEARCH_PAPERS")+"",ue,ye,he;function Te($,Z){return $[3]||$[4]?Ce:Fe}let ie=Te(r),W=ie(r);function xe($,Z){return $[3]?qe:$[4]?Ie:De}let se=xe(r),V=se(r);return{c(){e=f("div"),t=f("div"),l=f("div"),W.c(),s=x(),h=f("div"),p=f("b"),V.c(),m=x(),c=_(d),n=x(),u=f("hr"),E=x(),w=f("div"),g=f("h5"),M=_(A),y=x(),v=f("ul"),L=f("li"),T=_(o),P=x(),N=f("li"),oe=_(H),ve=x(),k=f("li"),de=_(U),ge=x(),X=f("h5"),ce=_(j),we=x(),F=f("ul"),J=f("li"),fe=_(K),Le=x(),Q=f("li"),pe=_(ee),ze=x(),te=f("h5"),ue=_(le),ye=x(),he=f("div"),he.innerHTML='<a href="https://pubmed.ncbi.nlm.nih.gov/24016253/" class="svelte-1285zfm">Association between galactosylation of immunoglobulin G and improvement of rheumatoid arthritis during pregnancy is independent of sialylation</a> <p class="svelte-1285zfm">In an investigation focusing on IgG glycosylation in pregnant Caucasian women with an average age of 32 suffering from RA compared to a healthy control group, utilizing a cohort of 251 participants, the study identified an elevation in G0 and B, contrasted with a decrease in G1, G2, and S in the RA group. During the entire course of pregnancy and the postpartum period, a consistent reduction in galactosylation and sialylation was observed among the RA patients.</p> <a href="https://pubmed.ncbi.nlm.nih.gov/28793911/" class="svelte-1285zfm">IgG Fc galactosylation predicts response to methotrexate in early rheumatoid arthritis</a> <p class="svelte-1285zfm">In a study of Swedish patients with early rheumatoid arthritis (RA), 73% of whom were women with an average age of 53, compared to a control group comprising 72% women with an average age of 54, an increase in G0 was observed, while G1 and G2 were decreased. No changes were noted in B and S.</p> <a href="https://pubmed.ncbi.nlm.nih.gov/29572115/" class="svelte-1285zfm">Low galactosylation of IgG associates with higher risk for future diagnosis of rheumatoid arthritis during 10 years of follow-up</a> <p class="svelte-1285zfm">In an extensive study which encompassed two Finnish cohorts totaling 14,749 individuals, 179 subjects who developed rheumatoid arthritis (RA) were monitored over a 10-year period alongside 358 matched controls, 59% of whom were female. The analysis uncovered a reduction in G0 and an elevation in G1, with a nominally significant decrease observed in G2 and S; B was not assessed. Notably, the research identified a specific G0 glycan peak as a crucial pre-existing risk factor for the onset of RA.</p>',O(l,"transform","translate(-50%)"),O(p,"color",r[3]?"#F2590D":"#12A195"),a(t,"class","summaryHeader svelte-1285zfm"),a(u,"class","svelte-1285zfm"),a(g,"class","svelte-1285zfm"),a(L,"class","svelte-1285zfm"),a(N,"class","svelte-1285zfm"),a(k,"class","svelte-1285zfm"),a(v,"class","svelte-1285zfm"),a(X,"class","svelte-1285zfm"),a(J,"class","svelte-1285zfm"),a(Q,"class","svelte-1285zfm"),a(F,"class","svelte-1285zfm"),a(te,"class","svelte-1285zfm"),a(w,"class","summaryBody svelte-1285zfm"),a(e,"class","summaryMain svelte-1285zfm")},m($,Z){G($,e,Z),i(e,t),i(t,l),W.m(l,null),i(t,s),i(t,h),i(h,p),V.m(p,null),i(h,m),i(h,c),i(e,n),i(e,u),i(e,E),i(e,w),i(w,g),i(g,M),i(w,y),i(w,v),i(v,L),i(L,T),i(v,P),i(v,N),i(N,oe),i(v,ve),i(v,k),i(k,de),i(w,ge),i(w,X),i(X,ce),i(w,we),i(w,F),i(F,J),i(J,fe),i(F,Le),i(F,Q),i(Q,pe),i(w,ze),i(w,te),i(te,ue),i(w,ye),i(w,he)},p($,Z){ie!==(ie=Te($))&&(W.d(1),W=ie($),W&&(W.c(),W.m(l,null))),se===(se=xe($))&&V?V.p($,Z):(V.d(1),V=se($),V&&(V.c(),V.m(p,null))),Z&8&&O(p,"color",$[3]?"#F2590D":"#12A195"),Z&1&&d!==(d=z($[0],"OVERLAP_TEXT")+"")&&b(c,d),Z&1&&A!==(A=z($[0],"SYMPTOMS")+"")&&b(M,A),Z&1&&o!==(o=z($[0],"SYMPTOM_TWENTY")+"")&&b(T,o),Z&1&&H!==(H=z($[0],"SYMPTOM_TWENTYONE")+"")&&b(oe,H),Z&1&&U!==(U=z($[0],"SYMPTOM_TWENTYTWO")+"")&&b(de,U),Z&1&&j!==(j=z($[0],"POSSIBLE_FOLLOW_UP")+"")&&b(ce,j),Z&1&&K!==(K=z($[0],"POSSIBLE_FOLLOW_UP_TWENTYTWO")+"")&&b(fe,K),Z&1&&ee!==(ee=z($[0],"POSSIBLE_FOLLOW_UP_TWENTYTHREE")+"")&&b(pe,ee),Z&1&&le!==(le=z($[0],"RELATED_RESEARCH_PAPERS")+"")&&b(ue,le)},i:q,o:q,d($){$&&R(e),W.d(),V.d()}}}function We(r){let e,t,l,s,h,p,m;function d(g,A){return g[3]||g[4]?ke:He}let c=d(r),n=c(r);function u(g,A){return g[3]?je:g[4]?Xe:Ue}let E=u(r),w=E(r);return{c(){e=f("div"),t=f("div"),l=f("b"),s=_(r[9]),h=_("/4"),p=x(),n.c(),m=_(`
2
2
  \xA0\xA0
3
- `),w.c(),A(t,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(g,z){G(g,e,z),i(e,t),i(t,l),i(l,s),i(l,h),i(e,p),n.m(e,null),i(e,m),w.m(e,null)},p(g,z){z&512&&b(s,g[9]),c===(c=d(g))&&n?n.p(g,z):(n.d(1),n=c(g),n&&(n.c(),n.m(e,m))),E===(E=u(g))&&w?w.p(g,z):(w.d(1),w=E(g),w&&(w.c(),w.m(e,null)))},i:q,o:q,d(g){g&&R(e),n.d(),w.d()}}}function Ae(r){let e,t,l,s,h,p,m,d,c=y(r[0],"GLYCAN")+"",n,u,E,w,g,z,M,O,v,L;return v=new me({props:{type:"right",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Mature (G0)",w=x(),g=f("div"),z=_(r[7]),M=x(),O=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]<=68?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),A(m,"display","flex"),A(m,"flex-direction","column"),A(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),A(t,"font-size","0.8rem"),A(O,"width","70%"),A(O,"display","flex"),A(O,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,z),i(e,M),i(e,O),ae(v,O,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]<=68?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=y(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(z,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function Ee(r){let e,t,l,s,h,p,m,d,c=y(r[0],"GLYCAN")+"",n,u,E,w,g,z,M,O,v,L;return v=new me({props:{type:"left",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Median (G1)",w=x(),g=f("div"),z=_(r[7]),M=x(),O=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),A(m,"display","flex"),A(m,"flex-direction","column"),A(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),A(t,"font-size","0.8rem"),A(O,"width","70%"),A(O,"display","flex"),A(O,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,z),i(e,M),i(e,O),ae(v,O,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=y(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(z,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function _e(r){let e,t,l,s,h,p,m,d,c=y(r[0],"GLYCAN")+"",n,u,E,w,g,z,M,O,v,L;return v=new me({props:{type:"left",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Youth (G2)",w=x(),g=f("div"),z=_(r[7]),M=x(),O=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),A(m,"display","flex"),A(m,"flex-direction","column"),A(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),A(O,"width","70%"),A(O,"display","flex"),A(O,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,z),i(e,M),i(e,O),ae(v,O,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=y(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(z,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function $e(r){let e,t,l,s,h,p,m,d,c=y(r[0],"GLYCAN")+"",n,u,E,w,g,z,M,O,v,L;return v=new me({props:{type:"left",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Shield (S)",w=x(),g=f("div"),z=_(r[7]),M=x(),O=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),A(m,"display","flex"),A(m,"flex-direction","column"),A(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),A(t,"font-size","0.8rem"),A(O,"width","70%"),A(O,"display","flex"),A(O,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,z),i(e,M),i(e,O),ae(v,O,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=y(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(z,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function Fe(r){let e,t;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill","#12A195"),a(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"),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(l,s){G(l,e,s),i(e,t)},d(l){l&&R(e)}}}function Ce(r){let e,t;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill","#F2590D"),a(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"),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(l,s){G(l,e,s),i(e,t)},d(l){l&&R(e)}}}function De(r){let e=y(r[0],"NO_OVERLAP_LONG")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=y(l[0],"NO_OVERLAP_LONG")+"")&&b(t,e)},d(l){l&&R(t)}}}function Ie(r){let e=y(r[0],"MINOR_OVERLAP_LONG")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=y(l[0],"MINOR_OVERLAP_LONG")+"")&&b(t,e)},d(l){l&&R(t)}}}function qe(r){let e=y(r[0],"SOME_OVERLAP_LONG")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=y(l[0],"SOME_OVERLAP_LONG")+"")&&b(t,e)},d(l){l&&R(t)}}}function He(r){let e,t;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill","#12A195"),a(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"),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(l,s){G(l,e,s),i(e,t)},p:q,d(l){l&&R(e)}}}function ke(r){let e,t,l;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill",l=r[4]?"#FFAA00":"#F2590D"),a(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"),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(s,h){G(s,e,h),i(e,t)},p(s,h){h&16&&l!==(l=s[4]?"#FFAA00":"#F2590D")&&a(t,"fill",l)},d(s){s&&R(e)}}}function Ue(r){let e=y(r[0],"NO_OVERLAP")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=y(l[0],"NO_OVERLAP")+"")&&b(t,e)},d(l){l&&R(t)}}}function Xe(r){let e=y(r[0],"MINOR_OVERLAP")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=y(l[0],"MINOR_OVERLAP")+"")&&b(t,e)},d(l){l&&R(t)}}}function je(r){let e=y(r[0],"SOME_OVERLAP")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=y(l[0],"SOME_OVERLAP")+"")&&b(t,e)},d(l){l&&R(t)}}}function Je(r){let e,t,l,s,h,p;const m=[We,Ve,Be],d=[];function c(n,u){return n[1]==="header"&&n[6]?0:n[1]==="summary"&&n[5]?1:2}return l=c(r),s=d[l]=m[l](r),{c(){e=f("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=x(),s.c(),h=ze()},m(n,u){G(n,e,u),G(n,t,u),d[l].m(n,u),G(n,h,u),p=!0},p(n,[u]){let E=l;l=c(n),l===E?d[l].p(n,u):(I(),B(d[E],1,1,()=>{d[E]=null}),D(),s=d[l],s?s.p(n,u):(s=d[l]=m[l](n),s.c()),S(s,1),s.m(h.parentNode,h))},i(n){p||(S(s),p=!0)},o(n){B(s),p=!1},d(n){n&&(R(e),R(t),R(h)),d[l].d(n)}}}function Ke(r,e,t){let{lang:l}=e,{report:s}=e,{type:h}=e,{subtype:p}=e,{service:m=window.GaReportService}=e,d=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"}],c,n=!1,u=!1,E=!1,w=!1,g="",z=0,M=0,O=0,v=0,L=0,o=0;function T(){z>68&&t(9,o++,o),M<32&&t(9,o++,o),O<32&&t(9,o++,o),v<32&&t(9,o++,o)}const P=d.find(N=>N.name===p);return Ne(async()=>{c=await m.getReport(s),P&&(t(8,L=Number(c[P.csvName])),t(7,g=Ye(L,l))),z=Number(c.G0percentile),M=Number(c.G1percentile),O=Number(c.G2percentile),v=Number(c.Spercentile),T(),o===4&&t(3,n=!0),o===3&&t(4,u=!0),t(6,w=!0),t(5,E=!0)}),r.$$set=N=>{"lang"in N&&t(0,l=N.lang),"report"in N&&t(10,s=N.report),"type"in N&&t(1,h=N.type),"subtype"in N&&t(2,p=N.subtype),"service"in N&&t(11,m=N.service)},[l,h,p,n,u,E,w,g,L,o,s,m]}class be extends Re{constructor(e){super(),Me(this,e,Ke,Je,Se,{lang:0,report:10,type:1,subtype:2,service:11},Ze)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),C()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),C()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),C()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),C()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),C()}}customElements.define("ga-arthritis",Ge(be,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{be as default};
3
+ `),w.c(),O(t,"padding-right","10px"),a(e,"class","header svelte-1285zfm")},m(g,A){G(g,e,A),i(e,t),i(t,l),i(l,s),i(l,h),i(e,p),n.m(e,null),i(e,m),w.m(e,null)},p(g,A){A&512&&b(s,g[9]),c===(c=d(g))&&n?n.p(g,A):(n.d(1),n=c(g),n&&(n.c(),n.m(e,m))),E===(E=u(g))&&w?w.p(g,A):(w.d(1),w=E(g),w&&(w.c(),w.m(e,null)))},i:q,o:q,d(g){g&&R(e),n.d(),w.d()}}}function Ae(r){let e,t,l,s,h,p,m,d,c=z(r[0],"GLYCAN")+"",n,u,E,w,g,A,M,y,v,L;return v=new me({props:{type:"right",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Mature (G0)",w=x(),g=f("div"),A=_(r[7]),M=x(),y=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]<=68?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),O(m,"display","flex"),O(m,"flex-direction","column"),O(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),O(t,"font-size","0.8rem"),O(y,"width","70%"),O(y,"display","flex"),O(y,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,A),i(e,M),i(e,y),ae(v,y,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]<=68?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=z(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(A,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function Ee(r){let e,t,l,s,h,p,m,d,c=z(r[0],"GLYCAN")+"",n,u,E,w,g,A,M,y,v,L;return v=new me({props:{type:"left",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Median (G1)",w=x(),g=f("div"),A=_(r[7]),M=x(),y=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),O(m,"display","flex"),O(m,"flex-direction","column"),O(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),O(t,"font-size","0.8rem"),O(y,"width","70%"),O(y,"display","flex"),O(y,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,A),i(e,M),i(e,y),ae(v,y,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=z(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(A,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function _e(r){let e,t,l,s,h,p,m,d,c=z(r[0],"GLYCAN")+"",n,u,E,w,g,A,M,y,v,L;return v=new me({props:{type:"left",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Youth (G2)",w=x(),g=f("div"),A=_(r[7]),M=x(),y=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),O(m,"display","flex"),O(m,"flex-direction","column"),O(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),O(t,"font-size","0.8rem"),O(y,"width","70%"),O(y,"display","flex"),O(y,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,A),i(e,M),i(e,y),ae(v,y,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=z(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(A,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function $e(r){let e,t,l,s,h,p,m,d,c=z(r[0],"GLYCAN")+"",n,u,E,w,g,A,M,y,v,L;return v=new me({props:{type:"left",percentile:r[8]}}),{c(){e=f("div"),t=f("div"),l=Y("svg"),s=Y("path"),p=x(),m=f("div"),d=f("div"),n=_(c),u=x(),E=f("b"),E.textContent="Shield (S)",w=x(),g=f("div"),A=_(r[7]),M=x(),y=f("div"),ne(v.$$.fragment),a(s,"fill",h=r[8]>=32?"#12A195":"#F2590D"),a(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),a(l,"xmlns","http://www.w3.org/2000/svg"),a(l,"width","24"),a(l,"height","24"),a(l,"viewBox","0 0 24 24"),O(m,"display","flex"),O(m,"flex-direction","column"),O(m,"padding-left","0.3rem"),a(t,"class","label svelte-1285zfm"),O(t,"font-size","0.8rem"),O(y,"width","70%"),O(y,"display","flex"),O(y,"align-items","center"),a(e,"class","main svelte-1285zfm")},m(o,T){G(o,e,T),i(e,t),i(t,l),i(l,s),i(t,p),i(t,m),i(m,d),i(d,n),i(d,u),i(d,E),i(m,w),i(m,g),i(g,A),i(e,M),i(e,y),ae(v,y,null),L=!0},p(o,T){(!L||T&256&&h!==(h=o[8]>=32?"#12A195":"#F2590D"))&&a(s,"fill",h),(!L||T&1)&&c!==(c=z(o[0],"GLYCAN")+"")&&b(n,c),(!L||T&128)&&b(A,o[7]);const P={};T&256&&(P.percentile=o[8]),v.$set(P)},i(o){L||(S(v.$$.fragment,o),L=!0)},o(o){B(v.$$.fragment,o),L=!1},d(o){o&&R(e),re(v)}}}function Fe(r){let e,t;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill","#12A195"),a(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"),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(l,s){G(l,e,s),i(e,t)},d(l){l&&R(e)}}}function Ce(r){let e,t;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill","#F2590D"),a(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"),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(l,s){G(l,e,s),i(e,t)},d(l){l&&R(e)}}}function De(r){let e=z(r[0],"NO_OVERLAP_LONG")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=z(l[0],"NO_OVERLAP_LONG")+"")&&b(t,e)},d(l){l&&R(t)}}}function Ie(r){let e=z(r[0],"MINOR_OVERLAP_LONG")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=z(l[0],"MINOR_OVERLAP_LONG")+"")&&b(t,e)},d(l){l&&R(t)}}}function qe(r){let e=z(r[0],"SOME_OVERLAP_LONG")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=z(l[0],"SOME_OVERLAP_LONG")+"")&&b(t,e)},d(l){l&&R(t)}}}function He(r){let e,t;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill","#12A195"),a(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"),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(l,s){G(l,e,s),i(e,t)},p:q,d(l){l&&R(e)}}}function ke(r){let e,t,l;return{c(){e=Y("svg"),t=Y("path"),a(t,"fill",l=r[4]?"#FFAA00":"#F2590D"),a(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"),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(s,h){G(s,e,h),i(e,t)},p(s,h){h&16&&l!==(l=s[4]?"#FFAA00":"#F2590D")&&a(t,"fill",l)},d(s){s&&R(e)}}}function Ue(r){let e=z(r[0],"NO_OVERLAP")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=z(l[0],"NO_OVERLAP")+"")&&b(t,e)},d(l){l&&R(t)}}}function Xe(r){let e=z(r[0],"MINOR_OVERLAP")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=z(l[0],"MINOR_OVERLAP")+"")&&b(t,e)},d(l){l&&R(t)}}}function je(r){let e=z(r[0],"SOME_OVERLAP")+"",t;return{c(){t=_(e)},m(l,s){G(l,t,s)},p(l,s){s&1&&e!==(e=z(l[0],"SOME_OVERLAP")+"")&&b(t,e)},d(l){l&&R(t)}}}function Je(r){let e,t,l,s,h,p;const m=[We,Ve,Be],d=[];function c(n,u){return n[1]==="header"&&n[6]?0:n[1]==="summary"&&n[5]?1:2}return l=c(r),s=d[l]=m[l](r),{c(){e=f("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=x(),s.c(),h=Oe()},m(n,u){G(n,e,u),G(n,t,u),d[l].m(n,u),G(n,h,u),p=!0},p(n,[u]){let E=l;l=c(n),l===E?d[l].p(n,u):(I(),B(d[E],1,1,()=>{d[E]=null}),D(),s=d[l],s?s.p(n,u):(s=d[l]=m[l](n),s.c()),S(s,1),s.m(h.parentNode,h))},i(n){p||(S(s),p=!0)},o(n){B(s),p=!1},d(n){n&&(R(e),R(t),R(h)),d[l].d(n)}}}function Ke(r,e,t){let{lang:l}=e,{report:s}=e,{type:h}=e,{subtype:p}=e,{service:m=window.GaReportService}=e,d=[{name:"mature",csvName:"G0percentile"},{name:"median",csvName:"G1percentile"},{name:"youth",csvName:"G2percentile"},{name:"shield",csvName:"Spercentile"}],c,n=!1,u=!1,E=!1,w=!1,g="",A=0,M=0,y=0,v=0,L=0,o=0;function T(){A>68&&t(9,o++,o),M<32&&t(9,o++,o),y<32&&t(9,o++,o),v<32&&t(9,o++,o)}const P=d.find(N=>N.name===p);return Ne(async()=>{c=await m.getReport(s),P&&(t(8,L=Number(c[P.csvName])),t(7,g=Ye(L,l))),A=Number(c.G0percentile),M=Number(c.G1percentile),y=Number(c.G2percentile),v=Number(c.Spercentile),T(),o===4&&t(3,n=!0),o===3&&t(4,u=!0),t(6,w=!0),t(5,E=!0)}),r.$$set=N=>{"lang"in N&&t(0,l=N.lang),"report"in N&&t(10,s=N.report),"type"in N&&t(1,h=N.type),"subtype"in N&&t(2,p=N.subtype),"service"in N&&t(11,m=N.service)},[l,h,p,n,u,E,w,g,L,o,s,m]}class be extends Re{constructor(e){super(),Me(this,e,Ke,Je,Se,{lang:0,report:10,type:1,subtype:2,service:11},Ze)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),C()}get report(){return this.$$.ctx[10]}set report(e){this.$$set({report:e}),C()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),C()}get subtype(){return this.$$.ctx[2]}set subtype(e){this.$$set({subtype:e}),C()}get service(){return this.$$.ctx[11]}set service(e){this.$$set({service:e}),C()}}customElements.define("ga-arthritis",Ge(be,{lang:{},report:{},type:{},subtype:{},service:{}},[],[],!0));export{be as default};
package/dist/helpers.js CHANGED
@@ -1 +1 @@
1
- var K=Object.defineProperty,D=(e,t,n)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>(D(e,typeof t!="symbol"?t+"":t,n),n);function f(){}function z(e){return e()}function A(){return Object.create(null)}function p(e){e.forEach(z)}function B(e){return typeof e=="function"}function X(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function J(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function q(e,t,n){const o=Z(e);if(!o.getElementById(t)){const i=y("style");i.id=t,i.textContent=n,Q(o,i)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Q(e,t){return W(e.head||e,t),t.sheet}function F(e,t,n){e.insertBefore(t,n||null)}function T(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function ee(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function te(){return w(" ")}function ne(){return w("")}function Y(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function oe(e){return Array.from(e.childNodes)}function ie(e,t){t=""+t,e.data!==t&&(e.data=t)}function ae(e,t,n,o){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,o?"important":"")}function re(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let S;function L(e){S=e}function se(){if(!S)throw new Error("Function called outside component initialization");return S}function ce(e){se().$$.on_mount.push(e)}const _=[],U=[];let d=[];const v=[],le=Promise.resolve();let g=!1;function ue(){g||(g=!0,le.then(b))}function m(e){d.push(e)}const N=new Set;let h=0;function b(){if(h!==0)return;const e=S;do{try{for(;h<_.length;){const t=_[h];h++,L(t),Oe(t.$$)}}catch(t){throw _.length=0,h=0,t}for(L(null),_.length=0,h=0;U.length;)U.pop()();for(let t=0;t<d.length;t+=1){const n=d[t];N.has(n)||(N.add(n),n())}d.length=0}while(_.length);for(;v.length;)v.pop()();g=!1,N.clear(),L(e)}function Oe(e){if(e.fragment!==null){e.update(),p(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(m)}}function Ee(e){const t=[],n=[];d.forEach(o=>e.indexOf(o)===-1?t.push(o):n.push(o)),n.forEach(o=>o()),d=t}const P=new Set;let E;function _e(){E={r:0,c:[],p:E}}function de(){E.r||p(E.c),E=E.p}function H(e,t){e&&e.i&&(P.delete(e),e.i(t))}function he(e,t,n,o){if(e&&e.o){if(P.has(e))return;P.add(e),E.c.push(()=>{P.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}else o&&o()}function pe(e){e&&e.c()}function j(e,t,n){const{fragment:o,after_update:i}=e.$$;o&&o.m(t,n),m(()=>{const a=e.$$.on_mount.map(z).filter(B);e.$$.on_destroy?e.$$.on_destroy.push(...a):p(a),e.$$.on_mount=[]}),i.forEach(m)}function C(e,t){const n=e.$$;n.fragment!==null&&(Ee(n.after_update),p(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Se(e,t){e.$$.dirty[0]===-1&&(_.push(e),ue(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Le(e,t,n,o,i,a,c,s=[-1]){const l=S;L(e);const r=e.$$={fragment:null,ctx:[],props:a,update:f,not_equal:i,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:A(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};c&&c(r.root);let M=!1;if(r.ctx=n?n(e,t.props||{},(O,I,...k)=>{const R=k.length?k[0]:I;return r.ctx&&i(r.ctx[O],r.ctx[O]=R)&&(!r.skip_bound&&r.bound[O]&&r.bound[O](R),M&&Se(e,O)),I}):[],r.update(),M=!0,p(r.before_update),r.fragment=o?o(r.ctx):!1,t.target){if(t.hydrate){const O=oe(t.target);r.fragment&&r.fragment.l(O),O.forEach(T)}else r.fragment&&r.fragment.c();t.intro&&H(e.$$.fragment),j(e,t.target,t.anchor),b()}L(l)}let V;typeof HTMLElement=="function"&&(V=class extends HTMLElement{constructor(e,t,n){super(),u(this,"$$ctor"),u(this,"$$s"),u(this,"$$c"),u(this,"$$cn",!1),u(this,"$$d",{}),u(this,"$$r",!1),u(this,"$$p_d",{}),u(this,"$$l",{}),u(this,"$$l_u",new Map),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const o=this.$$c.$on(e,t);this.$$l_u.set(t,o)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const o=this.$$l_u.get(t);o&&(o(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let a;return{c:function(){a=y("slot"),i!=="default"&&Y(a,"name",i)},m:function(c,s){F(c,a,s)},d:function(c){c&&T(a)}}}};if(await Promise.resolve(),!this.$$cn)return;const t={},n=re(this);for(const i of this.$$s)i in n&&(t[i]=[e(i)]);for(const i of this.attributes){const a=this.$$g_p(i.name);a in this.$$d||(this.$$d[a]=$(a,i.value,this.$$p_d,"toProp"))}this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const a=$(i,this.$$d[i],this.$$p_d,"toAttribute");a==null?this.removeAttribute(i):this.setAttribute(this.$$p_d[i].attribute||i,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const i in this.$$l)for(const a of this.$$l[i]){const c=this.$$c.$on(i,a);this.$$l_u.set(a,c)}this.$$l={}}}attributeChangedCallback(e,t,n){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=$(e,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function $(e,t,n,o){var i;const a=(i=n[e])==null?void 0:i.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!n[e])return t;if(o==="toAttribute")switch(a){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fe(e,t,n,o,i,a){let c=class extends V{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(c.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var r;l=$(s,l,t),this.$$d[s]=l,(r=this.$$c)==null||r.$set({[s]:l})}})}),o.forEach(s=>{Object.defineProperty(c.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),a&&(c=a(c)),e.element=c,c}class Pe{constructor(){u(this,"$$"),u(this,"$$set")}$destroy(){C(this,1),this.$destroy=f}$on(t,n){if(!B(n))return f;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(n),()=>{const i=o.indexOf(n);i!==-1&&o.splice(i,1)}}$set(t){this.$$set&&!J(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const $e="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add($e);let G={BIOLOGICAL_AGE:"Biological age",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",SOME_OVERLAP_LONG:"Major overlap",MINOR_OVERLAP_LONG:"Some overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Major overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"CardiologyBlood pressure check referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RELATED_RESEARCH_PAPERS:"Related research papers"},x={BIOLOGICAL_AGE:"Wiek biologiczny",GLYCAN:"Glikan",PEAK:"Pik",LOWER_THAN_AVERAGE:"ni\u017Cszy od warto\u015Bci \u015Bredniej",AROUND_AVERAGE:"W okolicach warto\u015Bci \u015Bredniej",HIGHER_THAN_AVERAGE:"wy\u017Cszy od warto\u015Bci \u015Bredniej",SOME_OVERLAP_LONG:"Nieznaczna nak\u0142adka",MINOR_OVERLAP_LONG:"Brak znacz\u0105cego pokrywania si\u0119",NO_OVERLAP_LONG:"Znaczny stopie\u0144 pokrywania si\u0119",SOME_OVERLAP:"Cz\u0119\u015Bciowy",MINOR_OVERLAP:"Niewielki",NO_OVERLAP:"Brak",OVERLAP_TEXT:"indeks\xF3w glikanowych mi\u0119dzy pacjentem a badanymi z tym schorzeniem.",SYMPTOMS:"Sygna\u0142y i objawy",SYMPTOM_ONE:"Przewa\u017Cnie przebiega w spos\xF3b bezobjawowy",SYMPTOM_TWO:"Ci\u015Bnienie t\u0119tnicze stale >140/90 mmHg",SYMPTOM_THREE:"Objawy nadci\u015Bnienia z\u0142o\u015Bliwego (b\xF3l g\u0142owy, zawroty g\u0142owy, duszno\u015B\u0107 itp.)",SYMPTOM_FOUR:"Objawy choroby wie\u0144cowej (np. samoistnie ust\u0119puj\u0105cy b\xF3l w klatce piersiowej, bezdech)",SYMPTOM_FIVE:"Objawy choroby t\u0119tnic obwodowych (np. b\xF3l n\xF3g podczas aktywno\u015Bci)",SYMPTOM_SIX:"Samoograniczaj\u0105cy si\u0119 b\xF3l w klatce piersiowej \xB1 promieniuj\u0105cy do szcz\u0119ki/lewego ramienia/plec\xF3w",SYMPTOM_SEVEN:"Duszno\u015B\u0107",SYMPTOM_EIGHT:"Inne (omdlenia, ko\u0142atanie serca, obrz\u0119k n\xF3g, orhhopnoe itp.)",SYMPTOM_NINE:"B\xF3l brzucha i skurcze",SYMPTOM_TEN:"Nawracaj\u0105ca biegunka (\xB1 krew)",SYMPTOM_ELEVEN:"Utrata masy cia\u0142a",SYMPTOM_TWELVE:"Og\xF3lnoustrojowe (np. zm\u0119czenie, utrata masy cia\u0142a, owrzodzenia jamy ustnej, wysypka w kszta\u0142cie motyla w okolicy policzk\xF3w i nosa)",SYMPTOM_THIRTEEN:"Narz\u0105dowe (b\xF3l w klatce piersiowej, trudno\u015Bci w oddychaniu, obrz\u0119k n\xF3g, niedokrwisto\u015B\u0107 itp.)",SYMPTOM_FOURTEEN:"B\xF3l i obrz\u0119k staw\xF3w",SYMPTOM_FIFTEEN:"Zm\u0119czenie",SYMPTOM_SIXTEEN:"Zwi\u0119kszone pragnienie i cz\u0119ste oddawanie moczu",SYMPTOM_SEVENTEEN:"Powolne gojenie si\u0119 ran, niewyra\u017Ane widzenie, cz\u0119ste ple\u015Bniawki",SYMPTOM_EIGHTEEN:"Trudno\u015Bci w oddychaniu",SYMPTOM_NINETEEN:"Przewlek\u0142y kaszel (\xB1 produktywny)",SYMPTOM_TWENTY:"Nieregularny cykl menstruacyjny",SYMPTOM_TWENTYONE:"Objawy naczynioruchowe (np. uderzenia gor\u0105ca)",SYMPTOM_TWENTYTWO:"Inne (np. wahania nastroju, trudno\u015Bci poznawcze, zaburzenia snu)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Ewentualne dalsze dzia\u0142ania",POSSIBLE_FOLLOW_UP_ONE:"Seryjne pomiary ci\u015Bnienia t\u0119tniczego i/lub 24-godzinne monitorowanie ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_TWO:"BMI i/lub kontrola sk\u0142adu cia\u0142a",POSSIBLE_FOLLOW_UP_THREE:"Podstawowe badania krwi (profil lipidowy, czynno\u015B\u0107 nerek i w\u0105troby)",POSSIBLE_FOLLOW_UP_FOUR:"Badania krwi: podstawowy i rozszerzony profil lipidowy (np. Lp(a), ApoB), hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"Kontrola ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_SIX:"EKG",POSSIBLE_FOLLOW_UP_SEVEN:"Skierowanie do kardiologa na inne badania (np. echo serca, TK naczy\u0144 wie\u0144cowych)",POSSIBLE_FOLLOW_UP_EIGHT:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP",POSSIBLE_FOLLOW_UP_NINE:"Badania ka\u0142u: test na obecno\u015B\u0107 krwi utajonej (FIT), kalprotektyna w kale",POSSIBLE_FOLLOW_UP_TEN:"Skierowanie na kolonoskopi\u0119, TK",POSSIBLE_FOLLOW_UP_ELEVEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP, OB, autoprzeciwcia\u0142a (np. ANA, w tym anty-dsDNA).",POSSIBLE_FOLLOW_UP_TWELVE:"Badanie og\xF3lne moczu",POSSIBLE_FOLLOW_UP_THIRTEEN:"Badania obrazowe ukierunkowane na narz\u0105dy (np. TK klatki piersiowej, TK jamy brzusznej)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, st\u0119\u017Cenie glukozy i insuliny na czczo, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Badania profilu lipidowego krwi: podstawowe i rozszerzone (np. oxLDL, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Inne badania krwi hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Badania krwi: pe\u0142na morfologia krwi",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometria",POSSIBLE_FOLLOW_UP_NINETEEN:"EKG, RTG klatki piersiowej",POSSIBLE_FOLLOW_UP_TWENTY:"Badania krwi (w tym FSH, estradiol, progesteron, testosteron, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Skierowanie do specjalisty/ginekologa zajmuj\u0105cego si\u0119 (peri)menopauz\u0105",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Badania krwi: pe\u0142na morfologia krwi, czynnik reumatoidalny, przeciwcia\u0142a anty-CCP, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Obrazowanie staw\xF3w (zdj\u0119cia rentgenowskie, rezonans magnetyczny)",RISK_FACTORS:"Czynniki ryzyka",RISK_FACTOR_ONE:"Historia chor\xF3b (np. zesp\xF3\u0142 kardiometaboliczny, choroby autoimmunologiczne)",RISK_FACTOR_TWO:"Historia przyjmowania lek\xF3w (np. statyn, lek\xF3w przeciwzakrzepowych)",RISK_FACTOR_THREE:"Palenie tytoniu",RELATED_RESEARCH_PAPERS:"Publikacje naukowe"};function Te(e){if(e===11||e===12||e===13)return"th";switch(e.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function ye(e,t="english"){const n={english:G,polish:x};if(e<32)return n[t].LOWER_THAN_AVERAGE;if(e>=32&&e<=68)return n[t].AROUND_AVERAGE;if(e>68)return n[t].HIGHER_THAN_AVERAGE}function we(e="english",t){return{english:G,polish:x}[e][t]}export{C as A,Te as B,Pe as S,q as a,te as b,fe as c,ne as d,y as e,b as f,F as g,de as h,Le as i,H as j,T as k,_e as l,ye as m,we as n,ce as o,w as p,ae as q,Y as r,X as s,he as t,W as u,ie as v,f as w,ee as x,pe as y,j as z};
1
+ var K=Object.defineProperty,D=(e,t,n)=>t in e?K(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t,n)=>(D(e,typeof t!="symbol"?t+"":t,n),n);function f(){}function z(e){return e()}function A(){return Object.create(null)}function S(e){e.forEach(z)}function B(e){return typeof e=="function"}function X(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function J(e){return Object.keys(e).length===0}function W(e,t){e.appendChild(t)}function q(e,t,n){const o=Z(e);if(!o.getElementById(t)){const i=y("style");i.id=t,i.textContent=n,Q(o,i)}}function Z(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function Q(e,t){return W(e.head||e,t),t.sheet}function F(e,t,n){e.insertBefore(t,n||null)}function T(e){e.parentNode&&e.parentNode.removeChild(e)}function y(e){return document.createElement(e)}function ee(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function te(){return w(" ")}function ne(){return w("")}function Y(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function oe(e){return Array.from(e.childNodes)}function ie(e,t){t=""+t,e.data!==t&&(e.data=t)}function ae(e,t,n,o){n==null?e.style.removeProperty(t):e.style.setProperty(t,n,o?"important":"")}function re(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let p;function L(e){p=e}function se(){if(!p)throw new Error("Function called outside component initialization");return p}function ce(e){se().$$.on_mount.push(e)}const _=[],U=[];let d=[];const v=[],le=Promise.resolve();let g=!1;function ue(){g||(g=!0,le.then(b))}function m(e){d.push(e)}const N=new Set;let h=0;function b(){if(h!==0)return;const e=p;do{try{for(;h<_.length;){const t=_[h];h++,L(t),Oe(t.$$)}}catch(t){throw _.length=0,h=0,t}for(L(null),_.length=0,h=0;U.length;)U.pop()();for(let t=0;t<d.length;t+=1){const n=d[t];N.has(n)||(N.add(n),n())}d.length=0}while(_.length);for(;v.length;)v.pop()();g=!1,N.clear(),L(e)}function Oe(e){if(e.fragment!==null){e.update(),S(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(m)}}function Ee(e){const t=[],n=[];d.forEach(o=>e.indexOf(o)===-1?t.push(o):n.push(o)),n.forEach(o=>o()),d=t}const P=new Set;let E;function _e(){E={r:0,c:[],p:E}}function de(){E.r||S(E.c),E=E.p}function H(e,t){e&&e.i&&(P.delete(e),e.i(t))}function he(e,t,n,o){if(e&&e.o){if(P.has(e))return;P.add(e),E.c.push(()=>{P.delete(e),o&&(n&&e.d(1),o())}),e.o(t)}else o&&o()}function Se(e){e&&e.c()}function j(e,t,n){const{fragment:o,after_update:i}=e.$$;o&&o.m(t,n),m(()=>{const a=e.$$.on_mount.map(z).filter(B);e.$$.on_destroy?e.$$.on_destroy.push(...a):S(a),e.$$.on_mount=[]}),i.forEach(m)}function C(e,t){const n=e.$$;n.fragment!==null&&(Ee(n.after_update),S(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function pe(e,t){e.$$.dirty[0]===-1&&(_.push(e),ue(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function Le(e,t,n,o,i,a,c,s=[-1]){const l=p;L(e);const r=e.$$={fragment:null,ctx:[],props:a,update:f,not_equal:i,bound:A(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:A(),dirty:s,skip_bound:!1,root:t.target||l.$$.root};c&&c(r.root);let M=!1;if(r.ctx=n?n(e,t.props||{},(O,I,...k)=>{const R=k.length?k[0]:I;return r.ctx&&i(r.ctx[O],r.ctx[O]=R)&&(!r.skip_bound&&r.bound[O]&&r.bound[O](R),M&&pe(e,O)),I}):[],r.update(),M=!0,S(r.before_update),r.fragment=o?o(r.ctx):!1,t.target){if(t.hydrate){const O=oe(t.target);r.fragment&&r.fragment.l(O),O.forEach(T)}else r.fragment&&r.fragment.c();t.intro&&H(e.$$.fragment),j(e,t.target,t.anchor),b()}L(l)}let V;typeof HTMLElement=="function"&&(V=class extends HTMLElement{constructor(e,t,n){super(),u(this,"$$ctor"),u(this,"$$s"),u(this,"$$c"),u(this,"$$cn",!1),u(this,"$$d",{}),u(this,"$$r",!1),u(this,"$$p_d",{}),u(this,"$$l",{}),u(this,"$$l_u",new Map),this.$$ctor=e,this.$$s=t,n&&this.attachShadow({mode:"open"})}addEventListener(e,t,n){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const o=this.$$c.$on(e,t);this.$$l_u.set(t,o)}super.addEventListener(e,t,n)}removeEventListener(e,t,n){if(super.removeEventListener(e,t,n),this.$$c){const o=this.$$l_u.get(t);o&&(o(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let a;return{c:function(){a=y("slot"),i!=="default"&&Y(a,"name",i)},m:function(c,s){F(c,a,s)},d:function(c){c&&T(a)}}}};if(await Promise.resolve(),!this.$$cn)return;const t={},n=re(this);for(const i of this.$$s)i in n&&(t[i]=[e(i)]);for(const i of this.attributes){const a=this.$$g_p(i.name);a in this.$$d||(this.$$d[a]=$(a,i.value,this.$$p_d,"toProp"))}this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const a=$(i,this.$$d[i],this.$$p_d,"toAttribute");a==null?this.removeAttribute(i):this.setAttribute(this.$$p_d[i].attribute||i,a)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const i in this.$$l)for(const a of this.$$l[i]){const c=this.$$c.$on(i,a);this.$$l_u.set(a,c)}this.$$l={}}}attributeChangedCallback(e,t,n){var o;this.$$r||(e=this.$$g_p(e),this.$$d[e]=$(e,n,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e)||e}});function $(e,t,n,o){var i;const a=(i=n[e])==null?void 0:i.type;if(t=a==="Boolean"&&typeof t!="boolean"?t!=null:t,!o||!n[e])return t;if(o==="toAttribute")switch(a){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(a){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function fe(e,t,n,o,i,a){let c=class extends V{constructor(){super(e,n,i),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(s=>(t[s].attribute||s).toLowerCase())}};return Object.keys(t).forEach(s=>{Object.defineProperty(c.prototype,s,{get(){return this.$$c&&s in this.$$c?this.$$c[s]:this.$$d[s]},set(l){var r;l=$(s,l,t),this.$$d[s]=l,(r=this.$$c)==null||r.$set({[s]:l})}})}),o.forEach(s=>{Object.defineProperty(c.prototype,s,{get(){var l;return(l=this.$$c)==null?void 0:l[s]}})}),a&&(c=a(c)),e.element=c,c}class Pe{constructor(){u(this,"$$"),u(this,"$$set")}$destroy(){C(this,1),this.$destroy=f}$on(t,n){if(!B(n))return f;const o=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return o.push(n),()=>{const i=o.indexOf(n);i!==-1&&o.splice(i,1)}}$set(t){this.$$set&&!J(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const $e="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add($e);let G={BIOLOGICAL_AGE:"Biological age",GLYCAN:"Glycan",PEAK:"Peak",LOWER_THAN_AVERAGE:"Lower than average",AROUND_AVERAGE:"Around average",HIGHER_THAN_AVERAGE:"Higher than average",SOME_OVERLAP_LONG:"Major overlap",MINOR_OVERLAP_LONG:"Some overlap",NO_OVERLAP_LONG:"No significant overlap",SOME_OVERLAP:"Some overlap",MINOR_OVERLAP:"Major overlap",NO_OVERLAP:"No significant overlap",OVERLAP_TEXT:"of glycan indexes between your patient and this condition.",SYMPTOMS:"Signs and symptoms",SYMPTOM_ONE:"Usually asymptomatic",SYMPTOM_TWO:"BP consistently >140/90 mmHg",SYMPTOM_THREE:"Signs of malignant hypertension (headache, dizziness, breathlessness, etc.)",SYMPTOM_FOUR:"Signs of coronary artery disease (e.g., self-resolving chest pain, breathlessness)",SYMPTOM_FIVE:"Signs of peripheral artery disease (e.g., leg pain during activity)",SYMPTOM_SIX:"Self-limiting chest pain \xB1 radiation into jaw/left arm/back",SYMPTOM_SEVEN:"Breathlessness",SYMPTOM_EIGHT:"Other (syncope, palpitations, leg edema, orthopnea, etc.)",SYMPTOM_NINE:"Abdominal pain and cramping/left arm/back",SYMPTOM_TEN:"Recurring diarrhea (\xB1 blood)",SYMPTOM_ELEVEN:"Weight loss",SYMPTOM_TWELVE:"Systemic (e.g., fatigue, weight loss, mouth ulcers, butterfly skin rash)",SYMPTOM_THIRTEEN:"Organ-specific (chest pain, difficulty breathing, leg swelling, anaemia, etc.)",SYMPTOM_FOURTEEN:"Joint pain and swelling",SYMPTOM_FIFTEEN:"Fatigue",SYMPTOM_SIXTEEN:"Increased thirst and frequent urination",SYMPTOM_SEVENTEEN:"Slow wound healing, blurred vision, frequent thrush",SYMPTOM_EIGHTEEN:"Difficulty breathing",SYMPTOM_NINETEEN:"Chronic cough (\xB1 productive)",SYMPTOM_TWENTY:"Irregular menstrual cycle",SYMPTOM_TWENTYONE:"Vasomotor symptoms (e.g., hot flushes)",SYMPTOM_TWENTYTWO:"Other (e.g., mood swings, cognitive difficulties, sleep disturbance)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Possible follow-up",POSSIBLE_FOLLOW_UP_ONE:"Serial blood pressure (BP) measurements \xC2\xB1 24-hour BP monitoring",POSSIBLE_FOLLOW_UP_TWO:"BMI and/or body composition check",POSSIBLE_FOLLOW_UP_THREE:"Basic bloods (lipid profile, renal and liver function)",POSSIBLE_FOLLOW_UP_FOUR:"Blood tests: basic and extended lipid profile (e.g., Lp(a), ApoB), hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"BP check",POSSIBLE_FOLLOW_UP_SIX:"ECG",POSSIBLE_FOLLOW_UP_SEVEN:"CardiologyBlood pressure check referral for other tests (e.g., cardiac echo, coronary CT)",POSSIBLE_FOLLOW_UP_EIGHT:"Blood tests: full blood count, renal and liver function, CRP",POSSIBLE_FOLLOW_UP_NINE:"Stool tests: faecal immunochemical test (FIT), faecal calprotectin",POSSIBLE_FOLLOW_UP_TEN:"Referral for CT colonoscopy",POSSIBLE_FOLLOW_UP_ELEVEN:"Blood tests: full blood count, renal and liver function, CRP, ESR, autoantibodies (e.g., ANA, anti-dsDNA)",POSSIBLE_FOLLOW_UP_TWELVE:"Urinalysis",POSSIBLE_FOLLOW_UP_THIRTEEN:"Organ-targeted imaging (e.g., CT thorax, CT abdomen)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Blood tests: full blood count, renal and liver function, fasting glucose and insulin, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Lipid profile blood tests: basic and extended (incl. oxLDL, VLDL, LDL-P, Lp-PLA2, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Other blood tests hsCRP, homocysteine, renal and liver function, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Blood tests: full blood count",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometry",POSSIBLE_FOLLOW_UP_NINETEEN:"ECG, chest X-ray",POSSIBLE_FOLLOW_UP_TWENTY:"Blood tests (incl. FSH, oestradiol, progesterone, testosterone, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Referral to (peri)menopause specialist",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Blood tests: full blood count, rheumatoid factor, anti-CCP antibodies, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Joint imaging (X-rays, MRI)",RISK_FACTORS:"Risk factors",RISK_FACTOR_ONE:"Past medical history (cardiometabolic syndrome, autoimmune disease)",RISK_FACTOR_TWO:"Medication history (e.g., statins, blood thinners)",RISK_FACTOR_THREE:"Current/previous smoking history",RELATED_RESEARCH_PAPERS:"Related research papers"},x={BIOLOGICAL_AGE:"Wiek biologiczny",GLYCAN:"Glikan",PEAK:"Pik",LOWER_THAN_AVERAGE:"ni\u017Cszy od warto\u015Bci \u015Bredniej",AROUND_AVERAGE:"W okolicach warto\u015Bci \u015Bredniej",HIGHER_THAN_AVERAGE:"wy\u017Cszy od warto\u015Bci \u015Bredniej",SOME_OVERLAP_LONG:"Nieznaczne nak\u0142adanie si\u0119",MINOR_OVERLAP_LONG:"Nieznaczne nak\u0142adanie si\u0119",NO_OVERLAP_LONG:"Brak nak\u0142adania si\u0119",SOME_OVERLAP:"Cz\u0119\u015Bciowy",MINOR_OVERLAP:"Niewielki",NO_OVERLAP:"Brak",OVERLAP_TEXT:"indeks\xF3w glikanowych mi\u0119dzy pacjentem a badanymi z tym schorzeniem.",SYMPTOMS:"Sygna\u0142y i objawy",SYMPTOM_ONE:"Przewa\u017Cnie przebiega w spos\xF3b bezobjawowy",SYMPTOM_TWO:"Ci\u015Bnienie t\u0119tnicze stale >140/90 mmHg",SYMPTOM_THREE:"Objawy nadci\u015Bnienia z\u0142o\u015Bliwego (b\xF3l g\u0142owy, zawroty g\u0142owy, duszno\u015B\u0107 itp.)",SYMPTOM_FOUR:"Objawy choroby wie\u0144cowej (np. samoistnie ust\u0119puj\u0105cy b\xF3l w klatce piersiowej, bezdech)",SYMPTOM_FIVE:"Objawy choroby t\u0119tnic obwodowych (np. b\xF3l n\xF3g podczas aktywno\u015Bci)",SYMPTOM_SIX:"Samoograniczaj\u0105cy si\u0119 b\xF3l w klatce piersiowej \xB1 promieniuj\u0105cy do szcz\u0119ki/lewego ramienia/plec\xF3w",SYMPTOM_SEVEN:"Duszno\u015B\u0107",SYMPTOM_EIGHT:"Inne (omdlenia, ko\u0142atanie serca, obrz\u0119k n\xF3g, orhhopnoe itp.)",SYMPTOM_NINE:"B\xF3l brzucha i skurcze",SYMPTOM_TEN:"Nawracaj\u0105ca biegunka (\xB1 krew)",SYMPTOM_ELEVEN:"Utrata masy cia\u0142a",SYMPTOM_TWELVE:"Og\xF3lnoustrojowe (np. zm\u0119czenie, utrata masy cia\u0142a, owrzodzenia jamy ustnej, wysypka w kszta\u0142cie motyla w okolicy policzk\xF3w i nosa)",SYMPTOM_THIRTEEN:"Narz\u0105dowe (b\xF3l w klatce piersiowej, trudno\u015Bci w oddychaniu, obrz\u0119k n\xF3g, niedokrwisto\u015B\u0107 itp.)",SYMPTOM_FOURTEEN:"B\xF3l i obrz\u0119k staw\xF3w",SYMPTOM_FIFTEEN:"Zm\u0119czenie",SYMPTOM_SIXTEEN:"Zwi\u0119kszone pragnienie i cz\u0119ste oddawanie moczu",SYMPTOM_SEVENTEEN:"Powolne gojenie si\u0119 ran, niewyra\u017Ane widzenie, cz\u0119ste ple\u015Bniawki",SYMPTOM_EIGHTEEN:"Trudno\u015Bci w oddychaniu",SYMPTOM_NINETEEN:"Przewlek\u0142y kaszel (\xB1 produktywny)",SYMPTOM_TWENTY:"Nieregularny cykl menstruacyjny",SYMPTOM_TWENTYONE:"Objawy naczynioruchowe (np. uderzenia gor\u0105ca)",SYMPTOM_TWENTYTWO:"Inne (np. wahania nastroju, trudno\u015Bci poznawcze, zaburzenia snu)",SYMPTOM_TWENTYTHREE:"Joint pain, swelling, stiffness and erythema",SYMPTOM_TWENTYFOUR:"Smaller and distant joint involvement (fingers, toes), usually symmetrical",SYMPTOM_TWENTYFIVE:"Systemic (fatigue, weight loss, etc.)",POSSIBLE_FOLLOW_UP:"Ewentualne dalsze dzia\u0142ania",POSSIBLE_FOLLOW_UP_ONE:"Seryjne pomiary ci\u015Bnienia t\u0119tniczego i/lub 24-godzinne monitorowanie ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_TWO:"BMI i/lub kontrola sk\u0142adu cia\u0142a",POSSIBLE_FOLLOW_UP_THREE:"Podstawowe badania krwi (profil lipidowy, czynno\u015B\u0107 nerek i w\u0105troby)",POSSIBLE_FOLLOW_UP_FOUR:"Badania krwi: podstawowy i rozszerzony profil lipidowy (np. Lp(a), ApoB), hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_FIVE:"Kontrola ci\u015Bnienia t\u0119tniczego",POSSIBLE_FOLLOW_UP_SIX:"EKG",POSSIBLE_FOLLOW_UP_SEVEN:"Skierowanie do kardiologa na inne badania (np. echo serca, TK naczy\u0144 wie\u0144cowych)",POSSIBLE_FOLLOW_UP_EIGHT:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP",POSSIBLE_FOLLOW_UP_NINE:"Badania ka\u0142u: test na obecno\u015B\u0107 krwi utajonej (FIT), kalprotektyna w kale",POSSIBLE_FOLLOW_UP_TEN:"Skierowanie na kolonoskopi\u0119, TK",POSSIBLE_FOLLOW_UP_ELEVEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, CRP, OB, autoprzeciwcia\u0142a (np. ANA, w tym anty-dsDNA).",POSSIBLE_FOLLOW_UP_TWELVE:"Badanie og\xF3lne moczu",POSSIBLE_FOLLOW_UP_THIRTEEN:"Badania obrazowe ukierunkowane na narz\u0105dy (np. TK klatki piersiowej, TK jamy brzusznej)",POSSIBLE_FOLLOW_UP_FOURTEEN:"Badania krwi: pe\u0142na morfologia krwi, czynno\u015B\u0107 nerek i w\u0105troby, st\u0119\u017Cenie glukozy i insuliny na czczo, HbA1c, HOMA-IR",POSSIBLE_FOLLOW_UP_FIFTEEN:"Badania profilu lipidowego krwi: podstawowe i rozszerzone (np. oxLDL, Lp(a), ApoB))",POSSIBLE_FOLLOW_UP_SIXTEEN:"Inne badania krwi hsCRP, homocysteina, czynno\u015B\u0107 nerek i w\u0105troby, HbA1c",POSSIBLE_FOLLOW_UP_SEVENTEEN:"Badania krwi: pe\u0142na morfologia krwi",POSSIBLE_FOLLOW_UP_EIGHTEEN:"Spirometria",POSSIBLE_FOLLOW_UP_NINETEEN:"EKG, RTG klatki piersiowej",POSSIBLE_FOLLOW_UP_TWENTY:"Badania krwi (w tym FSH, estradiol, progesteron, testosteron, AMH)",POSSIBLE_FOLLOW_UP_TWENTYONE:"Skierowanie do specjalisty/ginekologa zajmuj\u0105cego si\u0119 (peri)menopauz\u0105",POSSIBLE_FOLLOW_UP_TWENTYTWO:"Badania krwi: pe\u0142na morfologia krwi, czynnik reumatoidalny, przeciwcia\u0142a anty-CCP, CRP",POSSIBLE_FOLLOW_UP_TWENTYTHREE:"Obrazowanie staw\xF3w (zdj\u0119cia rentgenowskie, rezonans magnetyczny)",RISK_FACTORS:"Czynniki ryzyka",RISK_FACTOR_ONE:"Historia chor\xF3b (np. zesp\xF3\u0142 kardiometaboliczny, choroby autoimmunologiczne)",RISK_FACTOR_TWO:"Historia przyjmowania lek\xF3w (np. statyn, lek\xF3w przeciwzakrzepowych)",RISK_FACTOR_THREE:"Palenie tytoniu",RELATED_RESEARCH_PAPERS:"Publikacje naukowe"};function Te(e){if(e===11||e===12||e===13)return"th";switch(e.toString().split("").pop()){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}}function ye(e,t="english"){const n={english:G,polish:x};if(e<32)return n[t].LOWER_THAN_AVERAGE;if(e>=32&&e<=68)return n[t].AROUND_AVERAGE;if(e>68)return n[t].HIGHER_THAN_AVERAGE}function we(e="english",t){return{english:G,polish:x}[e][t]}export{C as A,Te as B,Pe as S,q as a,te as b,fe as c,ne as d,y as e,b as f,F as g,de as h,Le as i,H as j,T as k,_e as l,ye as m,we as n,ce as o,w as p,ae as q,Y as r,X as s,he as t,W as u,ie as v,f as w,ee as x,Se as y,j as z};
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.57.0",
4
+ "version": "1.59.0",
5
5
  "type": "module",
6
6
  "main": "dist/lib/@glycanage/web-components.js",
7
7
  "scripts": {