@glycanage/web-components 1.27.0 → 1.28.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,16 +1,12 @@
1
- import{c as wt,S as Lt,i as zt,f as we,s as At,a as Tt,e as n,b as v,d as Xe,g as A,n as Je,h as T,o as Rt,t as g,j as i,k as d,l as e,m as G,p as E}from"./index2.js";import{s as se,m as ie,g as ne,a as le,b as re}from"./helpers.js";function Mt(a){Tt(a,"svelte-synmfx",".main.svelte-synmfx{width:450px;height:222px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-synmfx{width:500px;height:500px;border-radius:10px;display:flex;flex-direction:column}.summaryHeader.svelte-synmfx{width:100%;height:30%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-synmfx{width:95%;height:100%;padding:1.5rem 0 0 1.5rem}.row.svelte-synmfx{width:100%;height:23%;display:flex}.label.svelte-synmfx{width:14%;height:100%;margin-left:1.5rem;font-size:0.8rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-synmfx{width:86%;height:100%;position:relative}.min.svelte-synmfx{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-synmfx{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-synmfx{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-synmfx{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-synmfx{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-synmfx{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-synmfx{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-synmfx{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-synmfx{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-synmfx{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-synmfx{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-synmfx{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-synmfx{position:absolute;bottom:60%;display:flex;align-items:center;flex-direction:column}.message.svelte-synmfx{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-7px}.triangle-down.svelte-synmfx{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-synmfx{width:100%;height:100%;display:flex;align-items:center}")}function kt(a){let t,s,l,r,o,m,c,b,X,Z,N,I,x,y,$,H,D,C,R,M,h,u,j,k,J,B,O,w,L=se(a[4])+"",z,V,ae,Le,Oe,ee,me,Ye,Y,ce,ze,Ae,_e,ve,Te,Re,Ke,S,Me,Qe,ke,Ue,de,We,P,_,fe,U,Ge,et,Ne,$e,pe=se(a[8])+"",je,tt,st,He,it,te,ge,nt,K,xe,Ce,Ze,lt,be,Be,Se,rt,F,Pe,at,Fe,dt,oe,ot,q,Q,he,W,qe,mt,Ee,Ie,ye=se(a[12])+"",De,ct,vt,Ve,ft,ue;return{c(){t=n("div"),s=n("div"),l=n("div"),l.innerHTML="Glycan<br/><b>Mature</b>",r=v(),o=n("div"),m=n("div"),c=n("b"),b=g(a[1]),X=v(),Z=n("div"),N=n("b"),I=g(a[2]),x=v(),y=n("div"),$=n("div"),H=v(),D=n("div"),C=v(),R=n("div"),M=v(),h=n("div"),u=n("div"),j=n("div"),k=n("b"),J=g(a[3]),B=g(" ("),O=g(a[4]),w=n("sup"),z=g(L),V=g(" percentile)"),ae=v(),Le=n("div"),Oe=v(),ee=n("div"),me=n("div"),me.innerHTML="Glycan<br/> <b>Median</b>",Ye=v(),Y=n("div"),ce=n("div"),ze=n("b"),Ae=g(a[5]),_e=v(),ve=n("div"),Te=n("b"),Re=g(a[6]),Ke=v(),S=n("div"),Me=n("div"),Qe=v(),ke=n("div"),Ue=v(),de=n("div"),We=v(),P=n("div"),_=n("div"),fe=n("div"),U=n("b"),Ge=g(a[7]),et=g(" ("),Ne=g(a[8]),$e=n("sup"),je=g(pe),tt=g(" percentile)"),st=v(),He=n("div"),it=v(),te=n("div"),ge=n("div"),ge.innerHTML="Glycan<br/> <b>Youth</b>",nt=v(),K=n("div"),xe=n("div"),Ce=n("b"),Ze=g(a[9]),lt=v(),be=n("div"),Be=n("b"),Se=g(a[10]),rt=v(),F=n("div"),Pe=n("div"),at=v(),Fe=n("div"),dt=v(),oe=n("div"),ot=v(),q=n("div"),Q=n("div"),he=n("div"),W=n("b"),qe=g(a[11]),mt=g(" ("),Ee=g(a[12]),Ie=n("sup"),De=g(ye),ct=g(" percentile)"),vt=v(),Ve=n("div"),ft=v(),ue=n("div"),ue.innerHTML='<div class="dot1 svelte-synmfx"></div> <div style="font-size: 0.8rem;">Rheumatoid arthritis</div> <div class="dot2 svelte-synmfx"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(l,"class","label svelte-synmfx"),i(m,"class","min svelte-synmfx"),i(Z,"class","max svelte-synmfx"),i($,"class","xAxis svelte-synmfx"),i(D,"class","yAxis svelte-synmfx"),i(R,"class","diseaseArea svelte-synmfx"),d(R,"border-radius","0 6px 6px 0"),d(R,"left","50.3%"),i(j,"class","message svelte-synmfx"),i(Le,"class","triangle-down svelte-synmfx"),i(u,"class","resultDisplay svelte-synmfx"),d(u,"right",ie(a[4])),i(h,"class","result svelte-synmfx"),d(h,"padding",ne(a[4])),d(h,"margin",le(a[4])),d(h,"border-radius",re(a[4])),i(y,"class","middleParent svelte-synmfx"),i(o,"class","content svelte-synmfx"),i(s,"class","row svelte-synmfx"),i(me,"class","label svelte-synmfx"),i(ce,"class","min svelte-synmfx"),i(ve,"class","max svelte-synmfx"),i(Me,"class","xAxis svelte-synmfx"),i(ke,"class","yAxis svelte-synmfx"),i(de,"class","diseaseArea svelte-synmfx"),d(de,"border-radius","6px 0 0 6px"),d(de,"right","50.3%"),i(fe,"class","message svelte-synmfx"),i(He,"class","triangle-down svelte-synmfx"),i(_,"class","resultDisplay svelte-synmfx"),d(_,"right",ie(a[8])),i(P,"class","result2 svelte-synmfx"),d(P,"padding",ne(a[8])),d(P,"margin",le(a[8])),d(P,"border-radius",re(a[8])),i(S,"class","middleParent svelte-synmfx"),i(Y,"class","content svelte-synmfx"),i(ee,"class","row svelte-synmfx"),i(ge,"class","label svelte-synmfx"),i(xe,"class","min svelte-synmfx"),i(be,"class","max svelte-synmfx"),i(Pe,"class","xAxis svelte-synmfx"),i(Fe,"class","yAxis svelte-synmfx"),i(oe,"class","diseaseArea svelte-synmfx"),d(oe,"border-radius","6px 0 0 6px"),d(oe,"right","50.3%"),i(he,"class","message svelte-synmfx"),i(Ve,"class","triangle-down svelte-synmfx"),i(Q,"class","resultDisplay svelte-synmfx"),d(Q,"right",ie(a[12])),i(q,"class","result3 svelte-synmfx"),d(q,"padding",ne(a[12])),d(q,"margin",le(a[12])),d(q,"border-radius",re(a[12])),i(F,"class","middleParent svelte-synmfx"),i(K,"class","content svelte-synmfx"),i(te,"class","row svelte-synmfx"),i(ue,"class","lastRow svelte-synmfx"),i(t,"class","main svelte-synmfx")},m(f,p){A(f,t,p),e(t,s),e(s,l),e(s,r),e(s,o),e(o,m),e(m,c),e(c,b),e(o,X),e(o,Z),e(Z,N),e(N,I),e(o,x),e(o,y),e(y,$),e(y,H),e(y,D),e(y,C),e(y,R),e(y,M),e(y,h),e(h,u),e(u,j),e(j,k),e(k,J),e(k,B),e(k,O),e(k,w),e(w,z),e(k,V),e(u,ae),e(u,Le),e(t,Oe),e(t,ee),e(ee,me),e(ee,Ye),e(ee,Y),e(Y,ce),e(ce,ze),e(ze,Ae),e(Y,_e),e(Y,ve),e(ve,Te),e(Te,Re),e(Y,Ke),e(Y,S),e(S,Me),e(S,Qe),e(S,ke),e(S,Ue),e(S,de),e(S,We),e(S,P),e(P,_),e(_,fe),e(fe,U),e(U,Ge),e(U,et),e(U,Ne),e(U,$e),e($e,je),e(U,tt),e(_,st),e(_,He),e(t,it),e(t,te),e(te,ge),e(te,nt),e(te,K),e(K,xe),e(xe,Ce),e(Ce,Ze),e(K,lt),e(K,be),e(be,Be),e(Be,Se),e(K,rt),e(K,F),e(F,Pe),e(F,at),e(F,Fe),e(F,dt),e(F,oe),e(F,ot),e(F,q),e(q,Q),e(Q,he),e(he,W),e(W,qe),e(W,mt),e(W,Ee),e(W,Ie),e(Ie,De),e(W,ct),e(Q,vt),e(Q,Ve),e(t,ft),e(t,ue)},p(f,p){p&2&&G(b,f[1]),p&4&&G(I,f[2]),p&8&&G(J,f[3]),p&16&&G(O,f[4]),p&16&&L!==(L=se(f[4])+"")&&G(z,L),p&16&&d(u,"right",ie(f[4])),p&16&&d(h,"padding",ne(f[4])),p&16&&d(h,"margin",le(f[4])),p&16&&d(h,"border-radius",re(f[4])),p&32&&G(Ae,f[5]),p&64&&G(Re,f[6]),p&128&&G(Ge,f[7]),p&256&&G(Ne,f[8]),p&256&&pe!==(pe=se(f[8])+"")&&G(je,pe),p&256&&d(_,"right",ie(f[8])),p&256&&d(P,"padding",ne(f[8])),p&256&&d(P,"margin",le(f[8])),p&256&&d(P,"border-radius",re(f[8])),p&512&&G(Ze,f[9]),p&1024&&G(Se,f[10]),p&2048&&G(qe,f[11]),p&4096&&G(Ee,f[12]),p&4096&&ye!==(ye=se(f[12])+"")&&G(De,ye),p&4096&&d(Q,"right",ie(f[12])),p&4096&&d(q,"padding",ne(f[12])),p&4096&&d(q,"margin",le(f[12])),p&4096&&d(q,"border-radius",re(f[12]))},d(f){f&&T(t)}}}function Gt(a){let t,s=a[16]&&pt(a);return{c(){s&&s.c(),t=Xe()},m(l,r){s&&s.m(l,r),A(l,t,r)},p(l,r){l[16]?s?s.p(l,r):(s=pt(l),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(l){l&&T(t),s&&s.d(l)}}}function Nt(a){let t,s,l,r=a[13]&&bt(),o=a[14]&&ht(),m=a[15]&&yt();return{c(){t=n("div"),r&&r.c(),s=v(),o&&o.c(),l=v(),m&&m.c(),i(t,"class","header svelte-synmfx")},m(c,b){A(c,t,b),r&&r.m(t,null),e(t,s),o&&o.m(t,null),e(t,l),m&&m.m(t,null)},p(c,b){c[13]?r||(r=bt(),r.c(),r.m(t,s)):r&&(r.d(1),r=null),c[14]?o||(o=ht(),o.c(),o.m(t,l)):o&&(o.d(1),o=null),c[15]?m||(m=yt(),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},d(c){c&&T(t),r&&r.d(),o&&o.d(),m&&m.d()}}}function pt(a){let t;function s(o,m){return o[15]?jt:$t}let l=s(a),r=l(a);return{c(){r.c(),t=Xe()},m(o,m){r.m(o,m),A(o,t,m)},p(o,m){l===(l=s(o))&&r?r.p(o,m):(r.d(1),r=l(o),r&&(r.c(),r.m(t.parentNode,t)))},d(o){o&&T(t),r.d(o)}}}function $t(a){let t,s,l,r,o,m,c,b,X,Z,N,I,x,y,$,H,D,C,R,M,h,u,j,k,J,B,O,w,L=a[13]&&gt(),z=a[14]&&xt();return{c(){t=n("div"),s=n("div"),l=n("div"),L&&L.c(),r=v(),z&&z.c(),o=v(),m=n("div"),c=g("There is "),b=n("b"),b.textContent=`${a[20]()}`,X=g(" of glycan indexes between "),Z=n("br"),N=g(` your patient and rheumatoid
2
- arthritis patients.`),I=v(),x=n("div"),y=n("div"),y.textContent="Symptoms to check for:",$=v(),H=n("div"),H.innerHTML=`<b>Joint pain and stiffnes:</b> The immune attack on synovium leads to inflammation,
3
- <br/> causing pain and stiffness in the affected joints.`,D=v(),C=n("div"),C.innerHTML="<b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.",R=v(),M=n("div"),M.innerHTML=`<b>Symmetrical joint involvement:</b> RA often affects joints on both sides of the body
4
- <br/> simultaneously, indicating an autoimmune process.`,h=v(),u=n("div"),u.textContent="Possible follow-up tests:",j=v(),k=n("div"),k.innerHTML=`<b>Rheumatoid factor (RF) test:</b> This blood test detects the presence of <br/>RF
5
- antibodies, commonly found in RA patients.`,J=v(),B=n("div"),B.innerHTML=`<b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This blood test detects the
6
- <br/> presence of RF antibodies, commonly found in RA patients.`,O=v(),w=n("div"),w.innerHTML=`<b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and inflammation
7
- <br/> characteristic of RA.`,d(l,"width","10%"),d(l,"padding-left","1.5rem"),d(l,"padding-right","1rem"),d(m,"width","90%"),i(s,"class","summaryHeader svelte-synmfx"),d(s,"border-radius","8px 8px 0 0"),d(s,"background-color",a[18]()),d(s,"border-bottom","2px solid "+a[17]()),d(y,"font-size","1.2rem"),d(y,"padding-bottom","1rem"),d(H,"font-size","0.7rem"),d(H,"padding-bottom","0.4rem"),d(C,"font-size","0.7rem"),d(C,"padding-bottom","0.4rem"),d(M,"font-size","0.7rem"),d(M,"padding-bottom","0.4rem"),d(u,"font-size","1.2rem"),d(u,"padding-top","1.2rem"),d(u,"padding-bottom","1rem"),d(k,"font-size","0.7rem"),d(k,"padding-bottom","0.4rem"),d(B,"font-size","0.7rem"),d(B,"padding-bottom","0.4rem"),d(w,"font-size","0.7rem"),d(w,"padding-bottom","0.4rem"),i(x,"class","summaryBody svelte-synmfx"),d(x,"background-color",a[19]()),i(t,"class","summaryMain svelte-synmfx"),d(t,"border","2px solid "+a[17]())},m(V,ae){A(V,t,ae),e(t,s),e(s,l),L&&L.m(l,null),e(l,r),z&&z.m(l,null),e(s,o),e(s,m),e(m,c),e(m,b),e(m,X),e(m,Z),e(m,N),e(t,I),e(t,x),e(x,y),e(x,$),e(x,H),e(x,D),e(x,C),e(x,R),e(x,M),e(x,h),e(x,u),e(x,j),e(x,k),e(x,J),e(x,B),e(x,O),e(x,w)},p(V,ae){V[13]?L||(L=gt(),L.c(),L.m(l,r)):L&&(L.d(1),L=null),V[14]?z||(z=xt(),z.c(),z.m(l,null)):z&&(z.d(1),z=null)},d(V){V&&T(t),L&&L.d(),z&&z.d()}}}function jt(a){let t;return{c(){t=n("div"),t.innerHTML=`<div class="summaryHeader svelte-synmfx" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
8
- rheumatoid arthritis patients.</div></div> <div class="summaryBody svelte-synmfx" style="opacity: 0.35;"><div style="font-size: 1.2rem; padding-bottom: 1rem;">Symptoms to check for:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Joint pain and stiffnes:</b> The immune attack on synovium leads to inflammation,
9
- <br/> causing pain and stiffness in the affected joints.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symmetrical joint involvement:</b> RA often affects joints on both sides of the body
10
- <br/> simultaneously, indicating an autoimmune process.</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Rheumatoid factor (RF) test:</b> This blood test detects the presence of <br/>RF
11
- antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This blood test detects the
12
- <br/> presence of RF antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and inflammation
13
- <br/> characteristic of RA.</div></div>`,i(t,"class","summaryMain svelte-synmfx")},m(s,l){A(s,t,l)},p:Je,d(s){s&&T(t)}}}function gt(a){let t,s;return{c(){t=E("svg"),s=E("path"),i(s,"fill","#CC0000"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(l,r){A(l,t,r),e(t,s)},d(l){l&&T(t)}}}function xt(a){let t,s;return{c(){t=E("svg"),s=E("path"),i(s,"fill","#EE9933"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(l,r){A(l,t,r),e(t,s)},d(l){l&&T(t)}}}function bt(a){let t,s,l;return{c(){t=E("svg"),s=E("path"),l=g(`
14
- \xA0 Significant overlap`),i(s,"fill","#CC0000"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(r,o){A(r,t,o),e(t,s),A(r,l,o)},d(r){r&&(T(t),T(l))}}}function ht(a){let t,s,l;return{c(){t=E("svg"),s=E("path"),l=g(`
15
- \xA0 Some overlap`),i(s,"fill","#EE9933"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(r,o){A(r,t,o),e(t,s),A(r,l,o)},d(r){r&&(T(t),T(l))}}}function yt(a){let t,s,l;return{c(){t=E("svg"),s=E("path"),l=g(`
16
- \xA0 No overlap`),i(s,"fill","#00AA44"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(r,o){A(r,t,o),e(t,s),A(r,l,o)},d(r){r&&(T(t),T(l))}}}function Ht(a){let t,s,l;function r(c,b){return c[0]==="header"?Nt:c[0]==="summary"?Gt:kt}let o=r(a),m=o(a);return{c(){t=n("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=v(),m.c(),l=Xe()},m(c,b){A(c,t,b),A(c,s,b),m.m(c,b),A(c,l,b)},p(c,[b]){o===(o=r(c))&&m?m.p(c,b):(m.d(1),m=o(c),m&&(m.c(),m.m(l.parentNode,l)))},i:Je,o:Je,d(c){c&&(T(t),T(s),T(l)),m.d(c)}}}function Ct(a,t,s){let{language:l}=t,{report:r}=t,{type:o}=t,{service:m=window.GaReportService}=t,c,b=0,X=0,Z=0,N=0,I=0,x=0,y=0,$=0,H=0,D=0,C=0,R=0,M=!1,h=!1,u=!1,j=!1;function k(){return M?"#CC0000":h?"#EE9933":"#00AA44"}function J(){return M?"rgba(204,0,0,0.15)":h?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function B(){return M?"rgba(204,0,0,0.05)":h?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function O(){return M?"a significant overlap":h?"some overlap":"no significant overlap"}return Rt(async()=>{if(c=await m.getReport(r),s(1,b=Number(c.G0xmin)),s(2,X=Number(c.G0xmax)),s(3,Z=Number(c.G0yourscore)),s(4,N=Number(c.G0percentile)),s(5,I=Number(c.G1xmin)),s(6,x=Number(c.G1xmax)),s(7,y=Number(c.G1yourscore)),s(8,$=Number(c.G1percentile)),s(9,H=Number(c.G2xmin)),s(10,D=Number(c.G2xmax)),s(11,C=Number(c.G2yourscore)),s(12,R=Number(c.G2percentile)),N>50&&$<50&&R<50){s(13,M=!0),s(16,j=!0);return}if(N>50||$<50||R<50){if(N>50&&$<50||N>50&&R<50||$<50&&R<50){s(14,h=!0),s(16,j=!0);return}s(15,u=!0),s(16,j=!0);return}s(15,u=!0),s(16,j=!0)}),a.$$set=w=>{"language"in w&&s(21,l=w.language),"report"in w&&s(22,r=w.report),"type"in w&&s(0,o=w.type),"service"in w&&s(23,m=w.service)},[o,b,X,Z,N,I,x,y,$,H,D,C,R,M,h,u,j,k,J,B,O,l,r,m]}class ut extends Lt{constructor(t){super(),zt(this,t,Ct,Ht,At,{language:21,report:22,type:0,service:23},Mt)}get language(){return this.$$.ctx[21]}set language(t){this.$$set({language:t}),we()}get report(){return this.$$.ctx[22]}set report(t){this.$$set({report:t}),we()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),we()}get service(){return this.$$.ctx[23]}set service(t){this.$$set({service:t}),we()}}customElements.define("ga-arthritis",wt(ut,{language:{},report:{},type:{},service:{}},[],[],!0));export{ut as default};
1
+ import{c as ei,S as ti,i as ii,f as Se,s as si,a as li,e as s,b as g,d as pt,g as y,n as ut,h as w,o as ai,t as f,j as l,k as n,l as e,m as L,p as Y}from"./index2.js";import{s as se,m as le,g as ae,a as de,b as ne}from"./helpers.js";function di(d){li(d,"svelte-g0d3fa",".main.svelte-g0d3fa{width:450px;height:260px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-g0d3fa{width:500px;height:500px;border-radius:10px;display:flex;flex-direction:column}.summaryHeader.svelte-g0d3fa{width:100%;height:30%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-g0d3fa{width:95%;height:100%;padding:1.5rem 0 0 1.5rem}.row.svelte-g0d3fa{width:100%;height:14%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-g0d3fa{width:14%;height:100%;margin-left:1.5rem;font-size:0.8rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-g0d3fa{width:86%;height:100%;position:relative}.min.svelte-g0d3fa{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-g0d3fa{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-g0d3fa{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-g0d3fa{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-g0d3fa{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-g0d3fa{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-g0d3fa{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-g0d3fa{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-g0d3fa{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-g0d3fa{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-g0d3fa{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-g0d3fa{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-g0d3fa{position:absolute;bottom:60%;display:flex;align-items:center;flex-direction:column}.message.svelte-g0d3fa{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-7px}.triangle-down.svelte-g0d3fa{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-g0d3fa{width:100%;height:100%;display:flex;align-items:center}")}function ni(d){let t,i,o,c,m,a,r,u,h,b,R,O,x,T,j,P,Q,B,G,q,$,k,H,z,C,S,Z,M,A=se(d[4])+"",N,D,re,pe,E,ge,xe,ht,U,ye,Ze,Pe,bt,we,Be,qe,xt,I,De,yt,Ee,wt,ue,Lt,J,_,Le,oe,Ie,zt,Je,Ke,ze=se(d[8])+"",Ve,At,Tt,We,Mt,ve,Ae,Nt,F,Te,Xe,Ye,kt,Me,Oe,Qe,Gt,K,Ue,$t,_e,Ht,he,Rt,V,ee,Ne,me,Fe,jt,et,tt,ke=se(d[12])+"",it,Ct,St,st,Zt,fe,Ge,Pt,te,$e,lt,at,Bt,He,dt,nt,qt,W,rt,Dt,ot,Et,be,It,X,ie,Re,ce,mt,Jt,ct,gt,je=se(d[16])+"",vt,Kt,Vt,ft,Wt,Ce;return{c(){t=s("div"),i=s("div"),o=s("div"),o.innerHTML="Glycan<br/><b>Mature</b>",c=g(),m=s("div"),a=s("div"),r=s("b"),u=f(d[1]),h=g(),b=s("div"),R=s("b"),O=f(d[2]),x=g(),T=s("div"),j=s("div"),P=g(),Q=s("div"),B=g(),G=s("div"),q=g(),$=s("div"),k=s("div"),H=s("div"),z=s("b"),C=f(d[3]),S=f(" ("),Z=f(d[4]),M=s("sup"),N=f(A),D=f(" percentile)"),re=g(),pe=s("div"),E=g(),ge=s("div"),xe=s("div"),xe.innerHTML="Glycan<br/><b>Shield</b>",ht=g(),U=s("div"),ye=s("div"),Ze=s("b"),Pe=f(d[5]),bt=g(),we=s("div"),Be=s("b"),qe=f(d[6]),xt=g(),I=s("div"),De=s("div"),yt=g(),Ee=s("div"),wt=g(),ue=s("div"),Lt=g(),J=s("div"),_=s("div"),Le=s("div"),oe=s("b"),Ie=f(d[7]),zt=f(" ("),Je=f(d[8]),Ke=s("sup"),Ve=f(ze),At=f(" percentile)"),Tt=g(),We=s("div"),Mt=g(),ve=s("div"),Ae=s("div"),Ae.innerHTML="Glycan<br/> <b>Median</b>",Nt=g(),F=s("div"),Te=s("div"),Xe=s("b"),Ye=f(d[9]),kt=g(),Me=s("div"),Oe=s("b"),Qe=f(d[10]),Gt=g(),K=s("div"),Ue=s("div"),$t=g(),_e=s("div"),Ht=g(),he=s("div"),Rt=g(),V=s("div"),ee=s("div"),Ne=s("div"),me=s("b"),Fe=f(d[11]),jt=f(" ("),et=f(d[12]),tt=s("sup"),it=f(ke),Ct=f(" percentile)"),St=g(),st=s("div"),Zt=g(),fe=s("div"),Ge=s("div"),Ge.innerHTML="Glycan<br/> <b>Youth</b>",Pt=g(),te=s("div"),$e=s("div"),lt=s("b"),at=f(d[13]),Bt=g(),He=s("div"),dt=s("b"),nt=f(d[14]),qt=g(),W=s("div"),rt=s("div"),Dt=g(),ot=s("div"),Et=g(),be=s("div"),It=g(),X=s("div"),ie=s("div"),Re=s("div"),ce=s("b"),mt=f(d[15]),Jt=f(" ("),ct=f(d[16]),gt=s("sup"),vt=f(je),Kt=f(" percentile)"),Vt=g(),ft=s("div"),Wt=g(),Ce=s("div"),Ce.innerHTML='<div class="dot1 svelte-g0d3fa"></div> <div style="font-size: 0.8rem;">Rheumatoid arthritis</div> <div class="dot2 svelte-g0d3fa"></div> <div style="font-size: 0.8rem;">Your patient</div>',l(o,"class","label svelte-g0d3fa"),l(a,"class","min svelte-g0d3fa"),l(b,"class","max svelte-g0d3fa"),l(j,"class","xAxis svelte-g0d3fa"),l(Q,"class","yAxis svelte-g0d3fa"),l(G,"class","diseaseArea svelte-g0d3fa"),n(G,"border-radius","0 6px 6px 0"),n(G,"left","50.3%"),l(H,"class","message svelte-g0d3fa"),l(pe,"class","triangle-down svelte-g0d3fa"),l(k,"class","resultDisplay svelte-g0d3fa"),n(k,"right",le(d[4])),l($,"class","result svelte-g0d3fa"),n($,"padding",ae(d[4])),n($,"margin",de(d[4])),n($,"border-radius",ne(d[4])),l(T,"class","middleParent svelte-g0d3fa"),l(m,"class","content svelte-g0d3fa"),l(i,"class","row svelte-g0d3fa"),l(xe,"class","label svelte-g0d3fa"),l(ye,"class","min svelte-g0d3fa"),l(we,"class","max svelte-g0d3fa"),l(De,"class","xAxis svelte-g0d3fa"),l(Ee,"class","yAxis svelte-g0d3fa"),l(ue,"class","diseaseArea svelte-g0d3fa"),n(ue,"border-radius","6px 0 0 6px"),n(ue,"right","50.3%"),l(Le,"class","message svelte-g0d3fa"),l(We,"class","triangle-down svelte-g0d3fa"),l(_,"class","resultDisplay svelte-g0d3fa"),n(_,"right",le(d[8])),l(J,"class","result svelte-g0d3fa"),n(J,"padding",ae(d[8])),n(J,"margin",de(d[8])),n(J,"border-radius",ne(d[8])),l(I,"class","middleParent svelte-g0d3fa"),l(U,"class","content svelte-g0d3fa"),l(ge,"class","row svelte-g0d3fa"),l(Ae,"class","label svelte-g0d3fa"),l(Te,"class","min svelte-g0d3fa"),l(Me,"class","max svelte-g0d3fa"),l(Ue,"class","xAxis svelte-g0d3fa"),l(_e,"class","yAxis svelte-g0d3fa"),l(he,"class","diseaseArea svelte-g0d3fa"),n(he,"border-radius","6px 0 0 6px"),n(he,"right","50.3%"),l(Ne,"class","message svelte-g0d3fa"),l(st,"class","triangle-down svelte-g0d3fa"),l(ee,"class","resultDisplay svelte-g0d3fa"),n(ee,"right",le(d[12])),l(V,"class","result2 svelte-g0d3fa"),n(V,"padding",ae(d[12])),n(V,"margin",de(d[12])),n(V,"border-radius",ne(d[12])),l(K,"class","middleParent svelte-g0d3fa"),l(F,"class","content svelte-g0d3fa"),l(ve,"class","row svelte-g0d3fa"),l(Ge,"class","label svelte-g0d3fa"),l($e,"class","min svelte-g0d3fa"),l(He,"class","max svelte-g0d3fa"),l(rt,"class","xAxis svelte-g0d3fa"),l(ot,"class","yAxis svelte-g0d3fa"),l(be,"class","diseaseArea svelte-g0d3fa"),n(be,"border-radius","6px 0 0 6px"),n(be,"right","50.3%"),l(Re,"class","message svelte-g0d3fa"),l(ft,"class","triangle-down svelte-g0d3fa"),l(ie,"class","resultDisplay svelte-g0d3fa"),n(ie,"right",le(d[16])),l(X,"class","result3 svelte-g0d3fa"),n(X,"padding",ae(d[16])),n(X,"margin",de(d[16])),n(X,"border-radius",ne(d[16])),l(W,"class","middleParent svelte-g0d3fa"),l(te,"class","content svelte-g0d3fa"),l(fe,"class","row svelte-g0d3fa"),l(Ce,"class","lastRow svelte-g0d3fa"),l(t,"class","main svelte-g0d3fa")},m(v,p){y(v,t,p),e(t,i),e(i,o),e(i,c),e(i,m),e(m,a),e(a,r),e(r,u),e(m,h),e(m,b),e(b,R),e(R,O),e(m,x),e(m,T),e(T,j),e(T,P),e(T,Q),e(T,B),e(T,G),e(T,q),e(T,$),e($,k),e(k,H),e(H,z),e(z,C),e(z,S),e(z,Z),e(z,M),e(M,N),e(z,D),e(k,re),e(k,pe),e(t,E),e(t,ge),e(ge,xe),e(ge,ht),e(ge,U),e(U,ye),e(ye,Ze),e(Ze,Pe),e(U,bt),e(U,we),e(we,Be),e(Be,qe),e(U,xt),e(U,I),e(I,De),e(I,yt),e(I,Ee),e(I,wt),e(I,ue),e(I,Lt),e(I,J),e(J,_),e(_,Le),e(Le,oe),e(oe,Ie),e(oe,zt),e(oe,Je),e(oe,Ke),e(Ke,Ve),e(oe,At),e(_,Tt),e(_,We),e(t,Mt),e(t,ve),e(ve,Ae),e(ve,Nt),e(ve,F),e(F,Te),e(Te,Xe),e(Xe,Ye),e(F,kt),e(F,Me),e(Me,Oe),e(Oe,Qe),e(F,Gt),e(F,K),e(K,Ue),e(K,$t),e(K,_e),e(K,Ht),e(K,he),e(K,Rt),e(K,V),e(V,ee),e(ee,Ne),e(Ne,me),e(me,Fe),e(me,jt),e(me,et),e(me,tt),e(tt,it),e(me,Ct),e(ee,St),e(ee,st),e(t,Zt),e(t,fe),e(fe,Ge),e(fe,Pt),e(fe,te),e(te,$e),e($e,lt),e(lt,at),e(te,Bt),e(te,He),e(He,dt),e(dt,nt),e(te,qt),e(te,W),e(W,rt),e(W,Dt),e(W,ot),e(W,Et),e(W,be),e(W,It),e(W,X),e(X,ie),e(ie,Re),e(Re,ce),e(ce,mt),e(ce,Jt),e(ce,ct),e(ce,gt),e(gt,vt),e(ce,Kt),e(ie,Vt),e(ie,ft),e(t,Wt),e(t,Ce)},p(v,p){p&2&&L(u,v[1]),p&4&&L(O,v[2]),p&8&&L(C,v[3]),p&16&&L(Z,v[4]),p&16&&A!==(A=se(v[4])+"")&&L(N,A),p&16&&n(k,"right",le(v[4])),p&16&&n($,"padding",ae(v[4])),p&16&&n($,"margin",de(v[4])),p&16&&n($,"border-radius",ne(v[4])),p&32&&L(Pe,v[5]),p&64&&L(qe,v[6]),p&128&&L(Ie,v[7]),p&256&&L(Je,v[8]),p&256&&ze!==(ze=se(v[8])+"")&&L(Ve,ze),p&256&&n(_,"right",le(v[8])),p&256&&n(J,"padding",ae(v[8])),p&256&&n(J,"margin",de(v[8])),p&256&&n(J,"border-radius",ne(v[8])),p&512&&L(Ye,v[9]),p&1024&&L(Qe,v[10]),p&2048&&L(Fe,v[11]),p&4096&&L(et,v[12]),p&4096&&ke!==(ke=se(v[12])+"")&&L(it,ke),p&4096&&n(ee,"right",le(v[12])),p&4096&&n(V,"padding",ae(v[12])),p&4096&&n(V,"margin",de(v[12])),p&4096&&n(V,"border-radius",ne(v[12])),p&8192&&L(at,v[13]),p&16384&&L(nt,v[14]),p&32768&&L(mt,v[15]),p&65536&&L(ct,v[16]),p&65536&&je!==(je=se(v[16])+"")&&L(vt,je),p&65536&&n(ie,"right",le(v[16])),p&65536&&n(X,"padding",ae(v[16])),p&65536&&n(X,"margin",de(v[16])),p&65536&&n(X,"border-radius",ne(v[16]))},d(v){v&&w(t)}}}function ri(d){let t,i=d[20]&&Xt(d);return{c(){i&&i.c(),t=pt()},m(o,c){i&&i.m(o,c),y(o,t,c)},p(o,c){o[20]?i?i.p(o,c):(i=Xt(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(o){o&&w(t),i&&i.d(o)}}}function oi(d){let t,i,o,c=d[17]&&Qt(d),m=d[18]&&Ut(d),a=d[19]&&_t(d);return{c(){t=s("div"),c&&c.c(),i=g(),m&&m.c(),o=g(),a&&a.c(),l(t,"class","header svelte-g0d3fa")},m(r,u){y(r,t,u),c&&c.m(t,null),e(t,i),m&&m.m(t,null),e(t,o),a&&a.m(t,null)},p(r,u){r[17]?c?c.p(r,u):(c=Qt(r),c.c(),c.m(t,i)):c&&(c.d(1),c=null),r[18]?m?m.p(r,u):(m=Ut(r),m.c(),m.m(t,o)):m&&(m.d(1),m=null),r[19]?a?a.p(r,u):(a=_t(r),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(r){r&&w(t),c&&c.d(),m&&m.d(),a&&a.d()}}}function Xt(d){let t;function i(m,a){return m[19]?ci:mi}let o=i(d),c=o(d);return{c(){c.c(),t=pt()},m(m,a){c.m(m,a),y(m,t,a)},p(m,a){o===(o=i(m))&&c?c.p(m,a):(c.d(1),c=o(m),c&&(c.c(),c.m(t.parentNode,t)))},d(m){m&&w(t),c.d(m)}}}function mi(d){let t,i,o,c,m,a,r,u,h,b,R,O,x,T,j,P,Q,B,G,q,$,k,H,z,C,S,Z,M,A=d[17]&&Yt(),N=d[18]&&Ot();return{c(){t=s("div"),i=s("div"),o=s("div"),A&&A.c(),c=g(),N&&N.c(),m=g(),a=s("div"),r=f("There is "),u=s("b"),u.textContent=`${d[25]()}`,h=f(" of glycan indexes between "),b=s("br"),R=f(` your patient and rheumatoid
2
+ arthritis patients.`),O=g(),x=s("div"),T=s("div"),T.textContent="Symptoms to check for:",j=g(),P=s("div"),P.innerHTML=`<b>Joint pain and stiffnes:</b> The immune attack on synovium leads to inflammation,
3
+ <br/> causing pain and stiffness in the affected joints.`,Q=g(),B=s("div"),B.innerHTML="<b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.",G=g(),q=s("div"),q.innerHTML=`<b>Symmetrical joint involvement:</b> Rheumatoid arthritis often affects joints on <br/>
4
+ both sides of the body simultaneously, indicating an autoimmune process.`,$=g(),k=s("div"),k.textContent="Possible follow-up tests:",H=g(),z=s("div"),z.innerHTML=`<b>Rheumatoid factor blood test:</b> This blood test detects the presence of <br/>RF
5
+ antibodies, commonly found in RA patients.`,C=g(),S=s("div"),S.innerHTML="<b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This test identifies <br/> anti-CCP antibodies, offering more specific evidence of rheumatoid arthritis.",Z=g(),M=s("div"),M.innerHTML="<b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and <br/> associated changes characteristic of rheumatoid arthritis.",n(o,"width","10%"),n(o,"padding-left","1.5rem"),n(o,"padding-right","1rem"),n(a,"width","90%"),l(i,"class","summaryHeader svelte-g0d3fa"),n(i,"border-radius","8px 8px 0 0"),n(i,"background-color",d[23]()),n(i,"border-bottom","2px solid "+d[22]()),n(T,"font-size","1.2rem"),n(T,"padding-bottom","1rem"),n(P,"font-size","0.7rem"),n(P,"padding-bottom","0.4rem"),n(B,"font-size","0.7rem"),n(B,"padding-bottom","0.4rem"),n(q,"font-size","0.7rem"),n(q,"padding-bottom","0.4rem"),n(k,"font-size","1.2rem"),n(k,"padding-top","1.2rem"),n(k,"padding-bottom","1rem"),n(z,"font-size","0.7rem"),n(z,"padding-bottom","0.4rem"),n(S,"font-size","0.7rem"),n(S,"padding-bottom","0.4rem"),n(M,"font-size","0.7rem"),n(M,"padding-bottom","0.4rem"),l(x,"class","summaryBody svelte-g0d3fa"),n(x,"background-color",d[24]()),l(t,"class","summaryMain svelte-g0d3fa"),n(t,"border","2px solid "+d[22]())},m(D,re){y(D,t,re),e(t,i),e(i,o),A&&A.m(o,null),e(o,c),N&&N.m(o,null),e(i,m),e(i,a),e(a,r),e(a,u),e(a,h),e(a,b),e(a,R),e(t,O),e(t,x),e(x,T),e(x,j),e(x,P),e(x,Q),e(x,B),e(x,G),e(x,q),e(x,$),e(x,k),e(x,H),e(x,z),e(x,C),e(x,S),e(x,Z),e(x,M)},p(D,re){D[17]?A||(A=Yt(),A.c(),A.m(o,c)):A&&(A.d(1),A=null),D[18]?N||(N=Ot(),N.c(),N.m(o,null)):N&&(N.d(1),N=null)},d(D){D&&w(t),A&&A.d(),N&&N.d()}}}function ci(d){let t;return{c(){t=s("div"),t.innerHTML=`<div class="summaryHeader svelte-g0d3fa" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
6
+ rheumatoid arthritis patients.</div></div> <div class="summaryBody svelte-g0d3fa" style="opacity: 0.35;"><div style="font-size: 1.2rem; padding-bottom: 1rem;">Symptoms to check for:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Joint pain and stiffnes:</b> The immune attack on synovium leads to inflammation,
7
+ <br/> causing pain and stiffness in the affected joints.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Swelling:</b> Persistent inflammation can cause noticeable joint swelling.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symmetrical joint involvement:</b> Rheumatoid arthritis often affects joints on <br/>
8
+ both sides of the body simultaneously, indicating an autoimmune process.</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Rheumatoid factor blood test:</b> This blood test detects the presence of <br/>RF
9
+ antibodies, commonly found in RA patients.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Anti cyclic citrullinated peptide (anti-CCP) test:</b> : This test identifies <br/> anti-CCP antibodies, offering more specific evidence of rheumatoid arthritis.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Joint imaging (X-rays, MRI):</b> Imaging can reveal joint damage and <br/> associated changes characteristic of rheumatoid arthritis.</div></div>`,l(t,"class","summaryMain svelte-g0d3fa")},m(i,o){y(i,t,o)},p:ut,d(i){i&&w(t)}}}function Yt(d){let t,i;return{c(){t=Y("svg"),i=Y("path"),l(i,"fill","#CC0000"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),l(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","50"),l(t,"height","50"),l(t,"viewBox","0 0 24 24")},m(o,c){y(o,t,c),e(t,i)},d(o){o&&w(t)}}}function Ot(d){let t,i;return{c(){t=Y("svg"),i=Y("path"),l(i,"fill","#EE9933"),l(i,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","50"),l(t,"height","50"),l(t,"viewBox","0 0 24 24")},m(o,c){y(o,t,c),e(t,i)},d(o){o&&w(t)}}}function Qt(d){let t,i,o,c,m,a,r,u;return{c(){t=s("div"),i=s("b"),o=f(d[21]),c=f("/4"),m=g(),a=Y("svg"),r=Y("path"),u=f(`
10
+ \xA0 Some overlap`),n(t,"padding-right","10px"),l(r,"fill","#F2590D"),l(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"),l(a,"xmlns","http://www.w3.org/2000/svg"),l(a,"width","24"),l(a,"height","24"),l(a,"viewBox","0 0 24 24")},m(h,b){y(h,t,b),e(t,i),e(i,o),e(i,c),y(h,m,b),y(h,a,b),e(a,r),y(h,u,b)},p(h,b){b&2097152&&L(o,h[21])},d(h){h&&(w(t),w(m),w(a),w(u))}}}function Ut(d){let t,i,o,c,m,a,r,u;return{c(){t=s("div"),i=s("b"),o=f(d[21]),c=f("/4"),m=g(),a=Y("svg"),r=Y("path"),u=f(`
11
+ \xA0 Minor overlap`),n(t,"padding-right","10px"),l(r,"fill","#FFAA00"),l(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(a,"xmlns","http://www.w3.org/2000/svg"),l(a,"width","24"),l(a,"height","24"),l(a,"viewBox","0 0 24 24")},m(h,b){y(h,t,b),e(t,i),e(i,o),e(i,c),y(h,m,b),y(h,a,b),e(a,r),y(h,u,b)},p(h,b){b&2097152&&L(o,h[21])},d(h){h&&(w(t),w(m),w(a),w(u))}}}function _t(d){let t,i,o,c,m,a,r,u;return{c(){t=s("div"),i=s("b"),o=f(d[21]),c=f("/4"),m=g(),a=Y("svg"),r=Y("path"),u=f(`
12
+ \xA0 No significant overlap`),n(t,"padding-right","10px"),l(r,"fill","#12A195"),l(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(a,"xmlns","http://www.w3.org/2000/svg"),l(a,"width","24"),l(a,"height","24"),l(a,"viewBox","0 0 24 24")},m(h,b){y(h,t,b),e(t,i),e(i,o),e(i,c),y(h,m,b),y(h,a,b),e(a,r),y(h,u,b)},p(h,b){b&2097152&&L(o,h[21])},d(h){h&&(w(t),w(m),w(a),w(u))}}}function gi(d){let t,i,o;function c(r,u){return r[0]==="header"?oi:r[0]==="summary"?ri:ni}let m=c(d),a=m(d);return{c(){t=s("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',i=g(),a.c(),o=pt()},m(r,u){y(r,t,u),y(r,i,u),a.m(r,u),y(r,o,u)},p(r,[u]){m===(m=c(r))&&a?a.p(r,u):(a.d(1),a=m(r),a&&(a.c(),a.m(o.parentNode,o)))},i:ut,o:ut,d(r){r&&(w(t),w(i),w(o)),a.d(r)}}}function vi(d,t,i){let{language:o}=t,{report:c}=t,{type:m}=t,{service:a=window.GaReportService}=t,r,u=0,h=0,b=0,R=0,O=0,x=0,T=0,j=0,P=0,Q=0,B=0,G=0,q=0,$=0,k=0,H=0,z=!1,C=!1,S=!1,Z=!1,M=0;function A(){return z?"#CC0000":C?"#EE9933":"#00AA44"}function N(){return z?"rgba(204,0,0,0.15)":C?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function D(){return z?"rgba(204,0,0,0.05)":C?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function re(){return z?"some overlap":C?"a minor overlap":"no significant overlap"}function pe(){R>50&&i(21,M++,M),j<50&&i(21,M++,M),G<50&&i(21,M++,M),H<50&&i(21,M++,M)}return ai(async()=>{if(r=await a.getReport(c),i(1,u=Number(r.G0xmin)),i(2,h=Number(r.G0xmax)),i(3,b=Number(r.G0yourscore)),i(4,R=Number(r.G0percentile)),i(5,O=Number(r.Sxmin)),i(6,x=Number(r.Sxmax)),i(7,T=Number(r.Syourscore)),i(8,j=Number(r.Spercentile)),i(9,P=Number(r.G1xmin)),i(10,Q=Number(r.G1xmax)),i(11,B=Number(r.G1yourscore)),i(12,G=Number(r.G1percentile)),i(13,q=Number(r.G2xmin)),i(14,$=Number(r.G2xmax)),i(15,k=Number(r.G2yourscore)),i(16,H=Number(r.G2percentile)),pe(),R>50&&j<50&&G<50&&H<50){i(17,z=!0),i(20,Z=!0);return}if(R>50||j<50||G<50||H<50){if(R>50&&j<50&&G<50||R>50&&j<50&&H<50||j<50&&G<50&&H<50||R>50&&G<50&&H<50){i(18,C=!0),i(20,Z=!0);return}i(19,S=!0),i(20,Z=!0);return}i(19,S=!0),i(20,Z=!0)}),d.$$set=E=>{"language"in E&&i(26,o=E.language),"report"in E&&i(27,c=E.report),"type"in E&&i(0,m=E.type),"service"in E&&i(28,a=E.service)},[m,u,h,b,R,O,x,T,j,P,Q,B,G,q,$,k,H,z,C,S,Z,M,A,N,D,re,o,c,a]}class Ft extends ti{constructor(t){super(),ii(this,t,vi,gi,si,{language:26,report:27,type:0,service:28},di)}get language(){return this.$$.ctx[26]}set language(t){this.$$set({language:t}),Se()}get report(){return this.$$.ctx[27]}set report(t){this.$$set({report:t}),Se()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),Se()}get service(){return this.$$.ctx[28]}set service(t){this.$$set({service:t}),Se()}}customElements.define("ga-arthritis",ei(Ft,{language:{},report:{},type:{},service:{}},[],[],!0));export{Ft as default};
@@ -1,19 +1,16 @@
1
- import{c as Hl,S as Sl,i as Zl,f as _e,s as Pl,a as Dl,e as l,b as c,d as Et,g as z,n as Ct,h as T,o as El,t as h,j as i,k as o,l as e,m as f,p as F}from"./index2.js";import{s as J,m as K,g as Q,a as W,b as X}from"./helpers.js";function Cl(d){Dl(d,"svelte-2d7oqk",".main.svelte-2d7oqk{width:450px;height:300px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-2d7oqk{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-2d7oqk{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-2d7oqk{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-2d7oqk{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-2d7oqk{width:14%;height:100%;margin-left:1.5rem;font-size:0.7rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-2d7oqk{width:86%;height:100%;position:relative}.min.svelte-2d7oqk{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-2d7oqk{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-2d7oqk{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-2d7oqk{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-2d7oqk{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-2d7oqk{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-2d7oqk{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-2d7oqk{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-2d7oqk{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-2d7oqk{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-2d7oqk{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-2d7oqk{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-2d7oqk{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-2d7oqk{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-2d7oqk{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-2d7oqk{width:100%;height:100%;display:flex;align-items:center}")}function jl(d){let t,s,r,a,n,p,m,k,se,C,L,ee,u,q,N,Z,te,P,y,D,M,w,A,B,le,E,G,$,b=J(d[4])+"",x,H,pe,qe,ze,ie,S,jt,de,Te,Fe,Je,Rt,Ne,Ke,Qe,Vt,j,We,It,Xe,Ot,ye,Ut,R,oe,Me,ge,et,Yt,tt,lt,Be=J(d[8])+"",st,_t,Ft,it,Jt,fe,Ge,Kt,re,$e,dt,ot,Qt,He,rt,at,Wt,V,nt,Xt,ct,el,we,tl,I,ae,Se,he,mt,ll,vt,pt,Ze=J(d[12])+"",gt,sl,il,ht,dl,ke,Pe,ol,ne,De,ut,bt,rl,Ee,ft,kt,al,O,xt,nl,qt,cl,Le,ml,U,ce,Ce,ue,yt,vl,wt,Lt,je=J(d[16])+"",At,pl,gl,zt,hl,xe,Re,ul,me,Ve,Tt,Nt,bl,Ie,Mt,Bt,fl,Y,Gt,kl,$t,xl,Ae,ql,_,ve,Oe,be,Ht,yl,St,Zt,Ue=J(d[20])+"",Pt,wl,Ll,Dt,Al,Ye;return{c(){t=l("div"),s=l("div"),r=l("div"),r.innerHTML="Glycan<br/> <b>Mature</b>",a=c(),n=l("div"),p=l("div"),m=l("b"),k=h(d[1]),se=c(),C=l("div"),L=l("b"),ee=h(d[2]),u=c(),q=l("div"),N=l("div"),Z=c(),te=l("div"),P=c(),y=l("div"),D=c(),M=l("div"),w=l("div"),A=l("div"),B=l("b"),le=h(d[3]),E=h(" ("),G=h(d[4]),$=l("sup"),x=h(b),H=h(" percentile)"),pe=c(),qe=l("div"),ze=c(),ie=l("div"),S=l("div"),S.innerHTML="Glycan<br/> <b>Median</b>",jt=c(),de=l("div"),Te=l("div"),Fe=l("b"),Je=h(d[5]),Rt=c(),Ne=l("div"),Ke=l("b"),Qe=h(d[6]),Vt=c(),j=l("div"),We=l("div"),It=c(),Xe=l("div"),Ot=c(),ye=l("div"),Ut=c(),R=l("div"),oe=l("div"),Me=l("div"),ge=l("b"),et=h(d[7]),Yt=h(" ("),tt=h(d[8]),lt=l("sup"),st=h(Be),_t=h(" percentile)"),Ft=c(),it=l("div"),Jt=c(),fe=l("div"),Ge=l("div"),Ge.innerHTML="Glycan<br/> <b>Youth</b>",Kt=c(),re=l("div"),$e=l("div"),dt=l("b"),ot=h(d[9]),Qt=c(),He=l("div"),rt=l("b"),at=h(d[10]),Wt=c(),V=l("div"),nt=l("div"),Xt=c(),ct=l("div"),el=c(),we=l("div"),tl=c(),I=l("div"),ae=l("div"),Se=l("div"),he=l("b"),mt=h(d[11]),ll=h(" ("),vt=h(d[12]),pt=l("sup"),gt=h(Ze),sl=h(" percentile)"),il=c(),ht=l("div"),dl=c(),ke=l("div"),Pe=l("div"),Pe.innerHTML="Glycan<br/> <b>Shield</b>",ol=c(),ne=l("div"),De=l("div"),ut=l("b"),bt=h(d[13]),rl=c(),Ee=l("div"),ft=l("b"),kt=h(d[14]),al=c(),O=l("div"),xt=l("div"),nl=c(),qt=l("div"),cl=c(),Le=l("div"),ml=c(),U=l("div"),ce=l("div"),Ce=l("div"),ue=l("b"),yt=h(d[15]),vl=h(" ("),wt=h(d[16]),Lt=l("sup"),At=h(je),pl=h(" percentile)"),gl=c(),zt=l("div"),hl=c(),xe=l("div"),Re=l("div"),Re.innerHTML="Glycan<br/> <b>Lifestyle</b>",ul=c(),me=l("div"),Ve=l("div"),Tt=l("b"),Nt=h(d[17]),bl=c(),Ie=l("div"),Mt=l("b"),Bt=h(d[18]),fl=c(),Y=l("div"),Gt=l("div"),kl=c(),$t=l("div"),xl=c(),Ae=l("div"),ql=c(),_=l("div"),ve=l("div"),Oe=l("div"),be=l("b"),Ht=h(d[19]),yl=h(" ("),St=h(d[20]),Zt=l("sup"),Pt=h(Ue),wl=h(" percentile)"),Ll=c(),Dt=l("div"),Al=c(),Ye=l("div"),Ye.innerHTML='<div class="dot1 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Atherosclerosis</div> <div class="dot2 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(r,"class","label svelte-2d7oqk"),i(p,"class","min svelte-2d7oqk"),i(C,"class","max svelte-2d7oqk"),i(N,"class","xAxis svelte-2d7oqk"),i(te,"class","yAxis svelte-2d7oqk"),i(y,"class","diseaseArea svelte-2d7oqk"),o(y,"border-radius","0 6px 6px 0"),o(y,"left","50.3%"),i(A,"class","message svelte-2d7oqk"),i(qe,"class","triangle-down svelte-2d7oqk"),i(w,"class","resultDisplay svelte-2d7oqk"),o(w,"right",K(d[4])),i(M,"class","result svelte-2d7oqk"),o(M,"padding",Q(d[4])),o(M,"margin",W(d[4])),o(M,"border-radius",X(d[4])),i(q,"class","middleParent svelte-2d7oqk"),i(n,"class","content svelte-2d7oqk"),i(s,"class","row svelte-2d7oqk"),i(S,"class","label svelte-2d7oqk"),i(Te,"class","min svelte-2d7oqk"),i(Ne,"class","max svelte-2d7oqk"),i(We,"class","xAxis svelte-2d7oqk"),i(Xe,"class","yAxis svelte-2d7oqk"),i(ye,"class","diseaseArea svelte-2d7oqk"),o(ye,"border-radius","6px 0 0 6px"),o(ye,"right","50.3%"),i(Me,"class","message svelte-2d7oqk"),i(it,"class","triangle-down svelte-2d7oqk"),i(oe,"class","resultDisplay svelte-2d7oqk"),o(oe,"right",K(d[8])),i(R,"class","result2 svelte-2d7oqk"),o(R,"padding",Q(d[8])),o(R,"margin",W(d[8])),o(R,"border-radius",X(d[8])),i(j,"class","middleParent svelte-2d7oqk"),i(de,"class","content svelte-2d7oqk"),i(ie,"class","row svelte-2d7oqk"),i(Ge,"class","label svelte-2d7oqk"),i($e,"class","min svelte-2d7oqk"),i(He,"class","max svelte-2d7oqk"),i(nt,"class","xAxis svelte-2d7oqk"),i(ct,"class","yAxis svelte-2d7oqk"),i(we,"class","diseaseArea svelte-2d7oqk"),o(we,"border-radius","6px 0 0 6px"),o(we,"right","50.3%"),i(Se,"class","message svelte-2d7oqk"),i(ht,"class","triangle-down svelte-2d7oqk"),i(ae,"class","resultDisplay svelte-2d7oqk"),o(ae,"right",K(d[12])),i(I,"class","result3 svelte-2d7oqk"),o(I,"padding",Q(d[12])),o(I,"margin",W(d[12])),o(I,"border-radius",X(d[12])),i(V,"class","middleParent svelte-2d7oqk"),i(re,"class","content svelte-2d7oqk"),i(fe,"class","row svelte-2d7oqk"),i(Pe,"class","label svelte-2d7oqk"),i(De,"class","min svelte-2d7oqk"),i(Ee,"class","max svelte-2d7oqk"),i(xt,"class","xAxis svelte-2d7oqk"),i(qt,"class","yAxis svelte-2d7oqk"),i(Le,"class","diseaseArea svelte-2d7oqk"),o(Le,"border-radius","6px 0 0 6px"),o(Le,"right","50.3%"),i(Ce,"class","message svelte-2d7oqk"),i(zt,"class","triangle-down svelte-2d7oqk"),i(ce,"class","resultDisplay svelte-2d7oqk"),o(ce,"right",K(d[16])),i(U,"class","result3 svelte-2d7oqk"),o(U,"padding",Q(d[16])),o(U,"margin",W(d[16])),o(U,"border-radius",X(d[16])),i(O,"class","middleParent svelte-2d7oqk"),i(ne,"class","content svelte-2d7oqk"),i(ke,"class","row svelte-2d7oqk"),i(Re,"class","label svelte-2d7oqk"),i(Ve,"class","min svelte-2d7oqk"),i(Ie,"class","max svelte-2d7oqk"),i(Gt,"class","xAxis svelte-2d7oqk"),i($t,"class","yAxis svelte-2d7oqk"),i(Ae,"class","diseaseArea svelte-2d7oqk"),o(Ae,"border-radius","0 6px 6px 0"),o(Ae,"left","50.3%"),i(Oe,"class","message svelte-2d7oqk"),i(Dt,"class","triangle-down svelte-2d7oqk"),i(ve,"class","resultDisplay svelte-2d7oqk"),o(ve,"right",K(d[20])),i(_,"class","result3 svelte-2d7oqk"),o(_,"padding",Q(d[20])),o(_,"margin",W(d[20])),o(_,"border-radius",X(d[20])),i(Y,"class","middleParent svelte-2d7oqk"),i(me,"class","content svelte-2d7oqk"),i(xe,"class","row svelte-2d7oqk"),i(Ye,"class","lastRow svelte-2d7oqk"),i(t,"class","main svelte-2d7oqk")},m(v,g){z(v,t,g),e(t,s),e(s,r),e(s,a),e(s,n),e(n,p),e(p,m),e(m,k),e(n,se),e(n,C),e(C,L),e(L,ee),e(n,u),e(n,q),e(q,N),e(q,Z),e(q,te),e(q,P),e(q,y),e(q,D),e(q,M),e(M,w),e(w,A),e(A,B),e(B,le),e(B,E),e(B,G),e(B,$),e($,x),e(B,H),e(w,pe),e(w,qe),e(t,ze),e(t,ie),e(ie,S),e(ie,jt),e(ie,de),e(de,Te),e(Te,Fe),e(Fe,Je),e(de,Rt),e(de,Ne),e(Ne,Ke),e(Ke,Qe),e(de,Vt),e(de,j),e(j,We),e(j,It),e(j,Xe),e(j,Ot),e(j,ye),e(j,Ut),e(j,R),e(R,oe),e(oe,Me),e(Me,ge),e(ge,et),e(ge,Yt),e(ge,tt),e(ge,lt),e(lt,st),e(ge,_t),e(oe,Ft),e(oe,it),e(t,Jt),e(t,fe),e(fe,Ge),e(fe,Kt),e(fe,re),e(re,$e),e($e,dt),e(dt,ot),e(re,Qt),e(re,He),e(He,rt),e(rt,at),e(re,Wt),e(re,V),e(V,nt),e(V,Xt),e(V,ct),e(V,el),e(V,we),e(V,tl),e(V,I),e(I,ae),e(ae,Se),e(Se,he),e(he,mt),e(he,ll),e(he,vt),e(he,pt),e(pt,gt),e(he,sl),e(ae,il),e(ae,ht),e(t,dl),e(t,ke),e(ke,Pe),e(ke,ol),e(ke,ne),e(ne,De),e(De,ut),e(ut,bt),e(ne,rl),e(ne,Ee),e(Ee,ft),e(ft,kt),e(ne,al),e(ne,O),e(O,xt),e(O,nl),e(O,qt),e(O,cl),e(O,Le),e(O,ml),e(O,U),e(U,ce),e(ce,Ce),e(Ce,ue),e(ue,yt),e(ue,vl),e(ue,wt),e(ue,Lt),e(Lt,At),e(ue,pl),e(ce,gl),e(ce,zt),e(t,hl),e(t,xe),e(xe,Re),e(xe,ul),e(xe,me),e(me,Ve),e(Ve,Tt),e(Tt,Nt),e(me,bl),e(me,Ie),e(Ie,Mt),e(Mt,Bt),e(me,fl),e(me,Y),e(Y,Gt),e(Y,kl),e(Y,$t),e(Y,xl),e(Y,Ae),e(Y,ql),e(Y,_),e(_,ve),e(ve,Oe),e(Oe,be),e(be,Ht),e(be,yl),e(be,St),e(be,Zt),e(Zt,Pt),e(be,wl),e(ve,Ll),e(ve,Dt),e(t,Al),e(t,Ye)},p(v,g){g[0]&2&&f(k,v[1]),g[0]&4&&f(ee,v[2]),g[0]&8&&f(le,v[3]),g[0]&16&&f(G,v[4]),g[0]&16&&b!==(b=J(v[4])+"")&&f(x,b),g[0]&16&&o(w,"right",K(v[4])),g[0]&16&&o(M,"padding",Q(v[4])),g[0]&16&&o(M,"margin",W(v[4])),g[0]&16&&o(M,"border-radius",X(v[4])),g[0]&32&&f(Je,v[5]),g[0]&64&&f(Qe,v[6]),g[0]&128&&f(et,v[7]),g[0]&256&&f(tt,v[8]),g[0]&256&&Be!==(Be=J(v[8])+"")&&f(st,Be),g[0]&256&&o(oe,"right",K(v[8])),g[0]&256&&o(R,"padding",Q(v[8])),g[0]&256&&o(R,"margin",W(v[8])),g[0]&256&&o(R,"border-radius",X(v[8])),g[0]&512&&f(ot,v[9]),g[0]&1024&&f(at,v[10]),g[0]&2048&&f(mt,v[11]),g[0]&4096&&f(vt,v[12]),g[0]&4096&&Ze!==(Ze=J(v[12])+"")&&f(gt,Ze),g[0]&4096&&o(ae,"right",K(v[12])),g[0]&4096&&o(I,"padding",Q(v[12])),g[0]&4096&&o(I,"margin",W(v[12])),g[0]&4096&&o(I,"border-radius",X(v[12])),g[0]&8192&&f(bt,v[13]),g[0]&16384&&f(kt,v[14]),g[0]&32768&&f(yt,v[15]),g[0]&65536&&f(wt,v[16]),g[0]&65536&&je!==(je=J(v[16])+"")&&f(At,je),g[0]&65536&&o(ce,"right",K(v[16])),g[0]&65536&&o(U,"padding",Q(v[16])),g[0]&65536&&o(U,"margin",W(v[16])),g[0]&65536&&o(U,"border-radius",X(v[16])),g[0]&131072&&f(Nt,v[17]),g[0]&262144&&f(Bt,v[18]),g[0]&524288&&f(Ht,v[19]),g[0]&1048576&&f(St,v[20]),g[0]&1048576&&Ue!==(Ue=J(v[20])+"")&&f(Pt,Ue),g[0]&1048576&&o(ve,"right",K(v[20])),g[0]&1048576&&o(_,"padding",Q(v[20])),g[0]&1048576&&o(_,"margin",W(v[20])),g[0]&1048576&&o(_,"border-radius",X(v[20]))},d(v){v&&T(t)}}}function Rl(d){let t,s=d[24]&&zl(d);return{c(){s&&s.c(),t=Et()},m(r,a){s&&s.m(r,a),z(r,t,a)},p(r,a){r[24]?s?s.p(r,a):(s=zl(r),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(r){r&&T(t),s&&s.d(r)}}}function Vl(d){let t,s,r,a=d[21]&&Ml(),n=d[22]&&Bl(),p=d[23]&&Gl();return{c(){t=l("div"),a&&a.c(),s=c(),n&&n.c(),r=c(),p&&p.c(),i(t,"class","header svelte-2d7oqk")},m(m,k){z(m,t,k),a&&a.m(t,null),e(t,s),n&&n.m(t,null),e(t,r),p&&p.m(t,null)},p(m,k){m[21]?a||(a=Ml(),a.c(),a.m(t,s)):a&&(a.d(1),a=null),m[22]?n||(n=Bl(),n.c(),n.m(t,r)):n&&(n.d(1),n=null),m[23]?p||(p=Gl(),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},d(m){m&&T(t),a&&a.d(),n&&n.d(),p&&p.d()}}}function zl(d){let t;function s(n,p){return n[23]?Ol:Il}let r=s(d),a=r(d);return{c(){a.c(),t=Et()},m(n,p){a.m(n,p),z(n,t,p)},p(n,p){r===(r=s(n))&&a?a.p(n,p):(a.d(1),a=r(n),a&&(a.c(),a.m(t.parentNode,t)))},d(n){n&&T(t),a.d(n)}}}function Il(d){let t,s,r,a,n,p,m,k,se,C,L,ee,u,q,N,Z,te,P,y,D,M,w,A,B,le,E,G,$,b=d[21]&&Tl(),x=d[22]&&Nl();return{c(){t=l("div"),s=l("div"),r=l("div"),b&&b.c(),a=c(),x&&x.c(),n=c(),p=l("div"),m=h("There is "),k=l("b"),k.textContent=`${d[28]()}`,se=h(" of glycan indexes between "),C=l("br"),L=h(` your patient and atherosclerosis
2
- patients.`),ee=c(),u=l("div"),q=l("div"),q.textContent="Symptoms to check for:",N=c(),Z=l("div"),Z.innerHTML=`<b>Angina (Chest Pain):</b> Caused by reduced blood supply to the heart muscle <br/>
3
- due to narrowed arteries.`,te=c(),P=l("div"),P.innerHTML=`<b>Pain in Legs or Arms:</b> Occurs when the blood flow to limbs is restricted, <br/>
4
- leading to muscle pain or cramping.`,y=c(),D=l("div"),D.innerHTML=`<b>Shortness of Breath:</b> An indication that the heart is struggling to pump <br/>
5
- efficiently due to reduced arterial flow.`,M=c(),w=l("div"),w.textContent="Possible follow-up tests:",A=c(),B=l("div"),B.innerHTML=`<b>Blood Tests:</b> To identify high cholesterol levels and inflammatory markers <br/>
6
- that contribute to plaque buildup.`,le=c(),E=l("div"),E.innerHTML=`<b>Ankle Brachial Index:</b> These tests can detect blood or certain DNA mutations
7
- <br/>
8
- in the stool that may indicate cancer.`,G=c(),$=l("div"),$.innerHTML=`<b>Ultrasound or Angiography:</b> Visualizes the inside of arteries to detect <br/>
9
- areas of plaque accumulation and blockage.`,o(r,"width","10%"),o(r,"padding-left","1.5rem"),o(r,"padding-right","1rem"),o(p,"width","90%"),i(s,"class","summaryHeader svelte-2d7oqk"),o(s,"border-radius","8px 8px 0 0"),o(s,"background-color",d[26]()),o(s,"border-bottom","2px solid "+d[25]()),o(q,"font-size","1.2rem"),o(q,"padding-bottom","1rem"),o(Z,"font-size","0.7rem"),o(Z,"padding-bottom","0.4rem"),o(P,"font-size","0.7rem"),o(P,"padding-bottom","0.4rem"),o(D,"font-size","0.7rem"),o(D,"padding-bottom","0.4rem"),o(w,"font-size","1.2rem"),o(w,"padding-top","1.2rem"),o(w,"padding-bottom","1rem"),o(B,"font-size","0.7rem"),o(B,"padding-bottom","0.4rem"),o(E,"font-size","0.7rem"),o(E,"padding-bottom","0.4rem"),o($,"font-size","0.7rem"),o($,"padding-bottom","0.4rem"),i(u,"class","summaryBody svelte-2d7oqk"),o(u,"background-color",d[27]()),i(t,"class","summaryMain svelte-2d7oqk"),o(t,"border","2px solid "+d[25]())},m(H,pe){z(H,t,pe),e(t,s),e(s,r),b&&b.m(r,null),e(r,a),x&&x.m(r,null),e(s,n),e(s,p),e(p,m),e(p,k),e(p,se),e(p,C),e(p,L),e(t,ee),e(t,u),e(u,q),e(u,N),e(u,Z),e(u,te),e(u,P),e(u,y),e(u,D),e(u,M),e(u,w),e(u,A),e(u,B),e(u,le),e(u,E),e(u,G),e(u,$)},p(H,pe){H[21]?b||(b=Tl(),b.c(),b.m(r,a)):b&&(b.d(1),b=null),H[22]?x||(x=Nl(),x.c(),x.m(r,null)):x&&(x.d(1),x=null)},d(H){H&&T(t),b&&b.d(),x&&x.d()}}}function Ol(d){let t;return{c(){t=l("div"),t.innerHTML=`<div class="summaryHeader svelte-2d7oqk" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
10
- atherosclerosis patients.</div></div> <div class="summaryBody svelte-2d7oqk" style="opacity: 0.35;"><div style="font-size: 1.2rem; padding-bottom: 1rem;">Symptoms to check for:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Angina (Chest Pain):</b> Caused by reduced blood supply to the heart muscle <br/>
11
- due to narrowed arteries.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Pain in Legs or Arms:</b> Occurs when the blood flow to limbs is restricted, <br/>
12
- leading to muscle pain or cramping.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Shortness of Breath:</b> An indication that the heart is struggling to pump <br/>
13
- efficiently due to reduced arterial flow.</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blood Tests:</b> To identify high cholesterol levels and inflammatory markers <br/>
14
- that contribute to plaque buildup.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Ankle Brachial Index:</b> Compares blood pressure in the ankle with the arm <br/>
15
- to check for peripheral artery disease.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Ultrasound or Angiography:</b> Visualizes the inside of arteries to detect <br/>
16
- areas of plaque accumulation and blockage.</div></div>`,i(t,"class","summaryMain svelte-2d7oqk")},m(s,r){z(s,t,r)},p:Ct,d(s){s&&T(t)}}}function Tl(d){let t,s;return{c(){t=F("svg"),s=F("path"),i(s,"fill","#CC0000"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(r,a){z(r,t,a),e(t,s)},d(r){r&&T(t)}}}function Nl(d){let t,s;return{c(){t=F("svg"),s=F("path"),i(s,"fill","#EE9933"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(r,a){z(r,t,a),e(t,s)},d(r){r&&T(t)}}}function Ml(d){let t,s,r;return{c(){t=F("svg"),s=F("path"),r=h(`
17
- \xA0 Significant overlap`),i(s,"fill","#CC0000"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,n){z(a,t,n),e(t,s),z(a,r,n)},d(a){a&&(T(t),T(r))}}}function Bl(d){let t,s,r;return{c(){t=F("svg"),s=F("path"),r=h(`
18
- \xA0 Some overlap`),i(s,"fill","#EE9933"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,n){z(a,t,n),e(t,s),z(a,r,n)},d(a){a&&(T(t),T(r))}}}function Gl(d){let t,s,r;return{c(){t=F("svg"),s=F("path"),r=h(`
19
- \xA0 No overlap`),i(s,"fill","#00AA44"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,n){z(a,t,n),e(t,s),z(a,r,n)},d(a){a&&(T(t),T(r))}}}function Ul(d){let t,s,r;function a(m,k){return m[0]==="header"?Vl:m[0]==="summary"?Rl:jl}let n=a(d),p=n(d);return{c(){t=l("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=c(),p.c(),r=Et()},m(m,k){z(m,t,k),z(m,s,k),p.m(m,k),z(m,r,k)},p(m,k){n===(n=a(m))&&p?p.p(m,k):(p.d(1),p=n(m),p&&(p.c(),p.m(r.parentNode,r)))},i:Ct,o:Ct,d(m){m&&(T(t),T(s),T(r)),p.d(m)}}}function Yl(d,t,s){let{language:r}=t,{report:a}=t,{type:n}=t,{service:p=window.GaReportService}=t,m,k=0,se=0,C=0,L=0,ee=0,u=0,q=0,N=0,Z=0,te=0,P=0,y=0,D=0,M=0,w=0,A=0,B=0,le=0,E=0,G=0,$=!1,b=!1,x=!1,H=!1;function pe(){return $?"#CC0000":b?"#EE9933":"#00AA44"}function qe(){return $?"rgba(204,0,0,0.15)":b?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function ze(){return $?"rgba(204,0,0,0.05)":b?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function ie(){return $?"a significant overlap":b?"some overlap":"no significant overlap"}return El(async()=>{if(m=await p.getReport(a),s(1,k=Number(m.G0xmin)),s(2,se=Number(m.G0xmax)),s(3,C=Number(m.G0yourscore)),s(4,L=Number(m.G0percentile)),s(5,ee=Number(m.G1xmin)),s(6,u=Number(m.G1xmax)),s(7,q=Number(m.G1yourscore)),s(8,N=Number(m.G1percentile)),s(9,Z=Number(m.G2xmin)),s(10,te=Number(m.G2xmax)),s(11,P=Number(m.G2yourscore)),s(12,y=Number(m.G2percentile)),s(13,D=Number(m.Sxmin)),s(14,M=Number(m.Sxmax)),s(15,w=Number(m.Syourscore)),s(16,A=Number(m.Spercentile)),s(17,B=Number(m.Bxmin)),s(18,le=Number(m.Bxmax)),s(19,E=Number(m.Byourscore)),s(20,G=Number(m.Bpercentile)),L>50&&N<50&&y<50&&A<50&&G>50){s(21,$=!0),s(24,H=!0);return}if(L>50||N<50||y<50||A<50||G>50){if(L>50&&N<50&&y<50||L>50&&N<50&&A<50||L>50&&N<50&&G>50||L>50&&y<50&&A<50||L>50&&y<50&&G>50||L>50&&A<50&&G>50||N<50&&y<50&&A<50||N<50&&y<50&&G>50||y<50&&A<50&&G>50){s(22,b=!0),s(24,H=!0);return}s(23,x=!0),s(24,H=!0);return}s(23,x=!0),s(24,H=!0)}),d.$$set=S=>{"language"in S&&s(29,r=S.language),"report"in S&&s(30,a=S.report),"type"in S&&s(0,n=S.type),"service"in S&&s(31,p=S.service)},[n,k,se,C,L,ee,u,q,N,Z,te,P,y,D,M,w,A,B,le,E,G,$,b,x,H,pe,qe,ze,ie,r,a,p]}class $l extends Sl{constructor(t){super(),Zl(this,t,Yl,Ul,Pl,{language:29,report:30,type:0,service:31},Cl,[-1,-1])}get language(){return this.$$.ctx[29]}set language(t){this.$$set({language:t}),_e()}get report(){return this.$$.ctx[30]}set report(t){this.$$set({report:t}),_e()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),_e()}get service(){return this.$$.ctx[31]}set service(t){this.$$set({service:t}),_e()}}customElements.define("ga-atherosclerosis",Hl($l,{language:{},report:{},type:{},service:{}},[],[],!0));export{$l as default};
1
+ import{c as Gi,S as Pi,i as $i,f as Je,s as Si,a as Zi,e as t,b as v,d as Et,g as f,n as Rt,h as L,o as qi,t as u,j as l,k as a,l as e,m as y,p as U}from"./index2.js";import{s as W,m as X,g as ee,a as te,b as ie}from"./helpers.js";function Ei(r){Zi(r,"svelte-c6zpti",".main.svelte-c6zpti{width:450px;height:300px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-c6zpti{width:500px;height:555px;border-radius:10px}.summaryHeader.svelte-c6zpti{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-c6zpti{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-c6zpti{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-c6zpti{width:14%;height:100%;margin-left:1.5rem;font-size:0.7rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-c6zpti{width:86%;height:100%;position:relative}.min.svelte-c6zpti{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-c6zpti{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-c6zpti{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-c6zpti{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-c6zpti{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-c6zpti{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-c6zpti{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-c6zpti{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-c6zpti{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-c6zpti{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-c6zpti{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-c6zpti{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-c6zpti{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-c6zpti{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-c6zpti{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-c6zpti{width:100%;height:100%;display:flex;align-items:center}")}function Ri(r){let i,s,n,p,c,d,o,b,h,z,M,se,w,H,C,E,le,R,T,j,G,k,N,P,re,O,D,$,S=W(r[4])+"",Z,A,x,q,ge,ae,xe,Me,B,ke,Ke,Qe,jt,Ne,Ue,We,Ot,F,Xe,Ft,et,Vt,Le,Yt,V,de,Ce,ue,tt,It,it,st,De=W(r[8])+"",lt,_t,Jt,rt,Kt,ye,Be,Qt,oe,Ge,at,dt,Ut,Pe,ot,nt,Wt,Y,ct,Xt,pt,ei,Ae,ti,I,ne,$e,be,vt,ii,mt,gt,Se=W(r[12])+"",ut,si,li,bt,ri,we,Ze,ai,ce,qe,ht,zt,di,Ee,xt,yt,oi,_,wt,ni,ft,ci,Te,pi,J,pe,Re,he,Lt,vi,At,Tt,je=W(r[16])+"",Ht,mi,gi,Mt,ui,fe,Oe,bi,ve,Fe,kt,Nt,hi,Ve,Ct,Dt,zi,K,Bt,xi,Gt,yi,He,wi,Q,me,Ye,ze,Pt,fi,$t,St,Ie=W(r[20])+"",Zt,Li,Ai,qt,Ti,_e;return{c(){i=t("div"),s=t("div"),n=t("div"),n.innerHTML="Glycan<br/> <b>Mature</b>",p=v(),c=t("div"),d=t("div"),o=t("b"),b=u(r[1]),h=v(),z=t("div"),M=t("b"),se=u(r[2]),w=v(),H=t("div"),C=t("div"),E=v(),le=t("div"),R=v(),T=t("div"),j=v(),G=t("div"),k=t("div"),N=t("div"),P=t("b"),re=u(r[3]),O=u(" ("),D=u(r[4]),$=t("sup"),Z=u(S),A=u(" percentile)"),x=v(),q=t("div"),ge=v(),ae=t("div"),xe=t("div"),xe.innerHTML="Glycan<br/> <b>Median</b>",Me=v(),B=t("div"),ke=t("div"),Ke=t("b"),Qe=u(r[5]),jt=v(),Ne=t("div"),Ue=t("b"),We=u(r[6]),Ot=v(),F=t("div"),Xe=t("div"),Ft=v(),et=t("div"),Vt=v(),Le=t("div"),Yt=v(),V=t("div"),de=t("div"),Ce=t("div"),ue=t("b"),tt=u(r[7]),It=u(" ("),it=u(r[8]),st=t("sup"),lt=u(De),_t=u(" percentile)"),Jt=v(),rt=t("div"),Kt=v(),ye=t("div"),Be=t("div"),Be.innerHTML="Glycan<br/> <b>Youth</b>",Qt=v(),oe=t("div"),Ge=t("div"),at=t("b"),dt=u(r[9]),Ut=v(),Pe=t("div"),ot=t("b"),nt=u(r[10]),Wt=v(),Y=t("div"),ct=t("div"),Xt=v(),pt=t("div"),ei=v(),Ae=t("div"),ti=v(),I=t("div"),ne=t("div"),$e=t("div"),be=t("b"),vt=u(r[11]),ii=u(" ("),mt=u(r[12]),gt=t("sup"),ut=u(Se),si=u(" percentile)"),li=v(),bt=t("div"),ri=v(),we=t("div"),Ze=t("div"),Ze.innerHTML="Glycan<br/> <b>Shield</b>",ai=v(),ce=t("div"),qe=t("div"),ht=t("b"),zt=u(r[13]),di=v(),Ee=t("div"),xt=t("b"),yt=u(r[14]),oi=v(),_=t("div"),wt=t("div"),ni=v(),ft=t("div"),ci=v(),Te=t("div"),pi=v(),J=t("div"),pe=t("div"),Re=t("div"),he=t("b"),Lt=u(r[15]),vi=u(" ("),At=u(r[16]),Tt=t("sup"),Ht=u(je),mi=u(" percentile)"),gi=v(),Mt=t("div"),ui=v(),fe=t("div"),Oe=t("div"),Oe.innerHTML="Glycan<br/> <b>Lifestyle</b>",bi=v(),ve=t("div"),Fe=t("div"),kt=t("b"),Nt=u(r[17]),hi=v(),Ve=t("div"),Ct=t("b"),Dt=u(r[18]),zi=v(),K=t("div"),Bt=t("div"),xi=v(),Gt=t("div"),yi=v(),He=t("div"),wi=v(),Q=t("div"),me=t("div"),Ye=t("div"),ze=t("b"),Pt=u(r[19]),fi=u(" ("),$t=u(r[20]),St=t("sup"),Zt=u(Ie),Li=u(" percentile)"),Ai=v(),qt=t("div"),Ti=v(),_e=t("div"),_e.innerHTML='<div class="dot1 svelte-c6zpti"></div> <div style="font-size: 0.8rem;">Atherosclerosis</div> <div class="dot2 svelte-c6zpti"></div> <div style="font-size: 0.8rem;">Your patient</div>',l(n,"class","label svelte-c6zpti"),l(d,"class","min svelte-c6zpti"),l(z,"class","max svelte-c6zpti"),l(C,"class","xAxis svelte-c6zpti"),l(le,"class","yAxis svelte-c6zpti"),l(T,"class","diseaseArea svelte-c6zpti"),a(T,"border-radius","0 6px 6px 0"),a(T,"left","50.3%"),l(N,"class","message svelte-c6zpti"),l(q,"class","triangle-down svelte-c6zpti"),l(k,"class","resultDisplay svelte-c6zpti"),a(k,"right",X(r[4])),l(G,"class","result svelte-c6zpti"),a(G,"padding",ee(r[4])),a(G,"margin",te(r[4])),a(G,"border-radius",ie(r[4])),l(H,"class","middleParent svelte-c6zpti"),l(c,"class","content svelte-c6zpti"),l(s,"class","row svelte-c6zpti"),l(xe,"class","label svelte-c6zpti"),l(ke,"class","min svelte-c6zpti"),l(Ne,"class","max svelte-c6zpti"),l(Xe,"class","xAxis svelte-c6zpti"),l(et,"class","yAxis svelte-c6zpti"),l(Le,"class","diseaseArea svelte-c6zpti"),a(Le,"border-radius","6px 0 0 6px"),a(Le,"right","50.3%"),l(Ce,"class","message svelte-c6zpti"),l(rt,"class","triangle-down svelte-c6zpti"),l(de,"class","resultDisplay svelte-c6zpti"),a(de,"right",X(r[8])),l(V,"class","result2 svelte-c6zpti"),a(V,"padding",ee(r[8])),a(V,"margin",te(r[8])),a(V,"border-radius",ie(r[8])),l(F,"class","middleParent svelte-c6zpti"),l(B,"class","content svelte-c6zpti"),l(ae,"class","row svelte-c6zpti"),l(Be,"class","label svelte-c6zpti"),l(Ge,"class","min svelte-c6zpti"),l(Pe,"class","max svelte-c6zpti"),l(ct,"class","xAxis svelte-c6zpti"),l(pt,"class","yAxis svelte-c6zpti"),l(Ae,"class","diseaseArea svelte-c6zpti"),a(Ae,"border-radius","6px 0 0 6px"),a(Ae,"right","50.3%"),l($e,"class","message svelte-c6zpti"),l(bt,"class","triangle-down svelte-c6zpti"),l(ne,"class","resultDisplay svelte-c6zpti"),a(ne,"right",X(r[12])),l(I,"class","result3 svelte-c6zpti"),a(I,"padding",ee(r[12])),a(I,"margin",te(r[12])),a(I,"border-radius",ie(r[12])),l(Y,"class","middleParent svelte-c6zpti"),l(oe,"class","content svelte-c6zpti"),l(ye,"class","row svelte-c6zpti"),l(Ze,"class","label svelte-c6zpti"),l(qe,"class","min svelte-c6zpti"),l(Ee,"class","max svelte-c6zpti"),l(wt,"class","xAxis svelte-c6zpti"),l(ft,"class","yAxis svelte-c6zpti"),l(Te,"class","diseaseArea svelte-c6zpti"),a(Te,"border-radius","6px 0 0 6px"),a(Te,"right","50.3%"),l(Re,"class","message svelte-c6zpti"),l(Mt,"class","triangle-down svelte-c6zpti"),l(pe,"class","resultDisplay svelte-c6zpti"),a(pe,"right",X(r[16])),l(J,"class","result3 svelte-c6zpti"),a(J,"padding",ee(r[16])),a(J,"margin",te(r[16])),a(J,"border-radius",ie(r[16])),l(_,"class","middleParent svelte-c6zpti"),l(ce,"class","content svelte-c6zpti"),l(we,"class","row svelte-c6zpti"),l(Oe,"class","label svelte-c6zpti"),l(Fe,"class","min svelte-c6zpti"),l(Ve,"class","max svelte-c6zpti"),l(Bt,"class","xAxis svelte-c6zpti"),l(Gt,"class","yAxis svelte-c6zpti"),l(He,"class","diseaseArea svelte-c6zpti"),a(He,"border-radius","0 6px 6px 0"),a(He,"left","50.3%"),l(Ye,"class","message svelte-c6zpti"),l(qt,"class","triangle-down svelte-c6zpti"),l(me,"class","resultDisplay svelte-c6zpti"),a(me,"right",X(r[20])),l(Q,"class","result3 svelte-c6zpti"),a(Q,"padding",ee(r[20])),a(Q,"margin",te(r[20])),a(Q,"border-radius",ie(r[20])),l(K,"class","middleParent svelte-c6zpti"),l(ve,"class","content svelte-c6zpti"),l(fe,"class","row svelte-c6zpti"),l(_e,"class","lastRow svelte-c6zpti"),l(i,"class","main svelte-c6zpti")},m(m,g){f(m,i,g),e(i,s),e(s,n),e(s,p),e(s,c),e(c,d),e(d,o),e(o,b),e(c,h),e(c,z),e(z,M),e(M,se),e(c,w),e(c,H),e(H,C),e(H,E),e(H,le),e(H,R),e(H,T),e(H,j),e(H,G),e(G,k),e(k,N),e(N,P),e(P,re),e(P,O),e(P,D),e(P,$),e($,Z),e(P,A),e(k,x),e(k,q),e(i,ge),e(i,ae),e(ae,xe),e(ae,Me),e(ae,B),e(B,ke),e(ke,Ke),e(Ke,Qe),e(B,jt),e(B,Ne),e(Ne,Ue),e(Ue,We),e(B,Ot),e(B,F),e(F,Xe),e(F,Ft),e(F,et),e(F,Vt),e(F,Le),e(F,Yt),e(F,V),e(V,de),e(de,Ce),e(Ce,ue),e(ue,tt),e(ue,It),e(ue,it),e(ue,st),e(st,lt),e(ue,_t),e(de,Jt),e(de,rt),e(i,Kt),e(i,ye),e(ye,Be),e(ye,Qt),e(ye,oe),e(oe,Ge),e(Ge,at),e(at,dt),e(oe,Ut),e(oe,Pe),e(Pe,ot),e(ot,nt),e(oe,Wt),e(oe,Y),e(Y,ct),e(Y,Xt),e(Y,pt),e(Y,ei),e(Y,Ae),e(Y,ti),e(Y,I),e(I,ne),e(ne,$e),e($e,be),e(be,vt),e(be,ii),e(be,mt),e(be,gt),e(gt,ut),e(be,si),e(ne,li),e(ne,bt),e(i,ri),e(i,we),e(we,Ze),e(we,ai),e(we,ce),e(ce,qe),e(qe,ht),e(ht,zt),e(ce,di),e(ce,Ee),e(Ee,xt),e(xt,yt),e(ce,oi),e(ce,_),e(_,wt),e(_,ni),e(_,ft),e(_,ci),e(_,Te),e(_,pi),e(_,J),e(J,pe),e(pe,Re),e(Re,he),e(he,Lt),e(he,vi),e(he,At),e(he,Tt),e(Tt,Ht),e(he,mi),e(pe,gi),e(pe,Mt),e(i,ui),e(i,fe),e(fe,Oe),e(fe,bi),e(fe,ve),e(ve,Fe),e(Fe,kt),e(kt,Nt),e(ve,hi),e(ve,Ve),e(Ve,Ct),e(Ct,Dt),e(ve,zi),e(ve,K),e(K,Bt),e(K,xi),e(K,Gt),e(K,yi),e(K,He),e(K,wi),e(K,Q),e(Q,me),e(me,Ye),e(Ye,ze),e(ze,Pt),e(ze,fi),e(ze,$t),e(ze,St),e(St,Zt),e(ze,Li),e(me,Ai),e(me,qt),e(i,Ti),e(i,_e)},p(m,g){g[0]&2&&y(b,m[1]),g[0]&4&&y(se,m[2]),g[0]&8&&y(re,m[3]),g[0]&16&&y(D,m[4]),g[0]&16&&S!==(S=W(m[4])+"")&&y(Z,S),g[0]&16&&a(k,"right",X(m[4])),g[0]&16&&a(G,"padding",ee(m[4])),g[0]&16&&a(G,"margin",te(m[4])),g[0]&16&&a(G,"border-radius",ie(m[4])),g[0]&32&&y(Qe,m[5]),g[0]&64&&y(We,m[6]),g[0]&128&&y(tt,m[7]),g[0]&256&&y(it,m[8]),g[0]&256&&De!==(De=W(m[8])+"")&&y(lt,De),g[0]&256&&a(de,"right",X(m[8])),g[0]&256&&a(V,"padding",ee(m[8])),g[0]&256&&a(V,"margin",te(m[8])),g[0]&256&&a(V,"border-radius",ie(m[8])),g[0]&512&&y(dt,m[9]),g[0]&1024&&y(nt,m[10]),g[0]&2048&&y(vt,m[11]),g[0]&4096&&y(mt,m[12]),g[0]&4096&&Se!==(Se=W(m[12])+"")&&y(ut,Se),g[0]&4096&&a(ne,"right",X(m[12])),g[0]&4096&&a(I,"padding",ee(m[12])),g[0]&4096&&a(I,"margin",te(m[12])),g[0]&4096&&a(I,"border-radius",ie(m[12])),g[0]&8192&&y(zt,m[13]),g[0]&16384&&y(yt,m[14]),g[0]&32768&&y(Lt,m[15]),g[0]&65536&&y(At,m[16]),g[0]&65536&&je!==(je=W(m[16])+"")&&y(Ht,je),g[0]&65536&&a(pe,"right",X(m[16])),g[0]&65536&&a(J,"padding",ee(m[16])),g[0]&65536&&a(J,"margin",te(m[16])),g[0]&65536&&a(J,"border-radius",ie(m[16])),g[0]&131072&&y(Nt,m[17]),g[0]&262144&&y(Dt,m[18]),g[0]&524288&&y(Pt,m[19]),g[0]&1048576&&y($t,m[20]),g[0]&1048576&&Ie!==(Ie=W(m[20])+"")&&y(Zt,Ie),g[0]&1048576&&a(me,"right",X(m[20])),g[0]&1048576&&a(Q,"padding",ee(m[20])),g[0]&1048576&&a(Q,"margin",te(m[20])),g[0]&1048576&&a(Q,"border-radius",ie(m[20]))},d(m){m&&L(i)}}}function ji(r){let i,s=r[24]&&Hi(r);return{c(){s&&s.c(),i=Et()},m(n,p){s&&s.m(n,p),f(n,i,p)},p(n,p){n[24]?s?s.p(n,p):(s=Hi(n),s.c(),s.m(i.parentNode,i)):s&&(s.d(1),s=null)},d(n){n&&L(i),s&&s.d(n)}}}function Oi(r){let i,s,n,p=r[21]&&Ni(r),c=r[22]&&Ci(r),d=r[23]&&Di(r);return{c(){i=t("div"),p&&p.c(),s=v(),c&&c.c(),n=v(),d&&d.c(),l(i,"class","header svelte-c6zpti")},m(o,b){f(o,i,b),p&&p.m(i,null),e(i,s),c&&c.m(i,null),e(i,n),d&&d.m(i,null)},p(o,b){o[21]?p?p.p(o,b):(p=Ni(o),p.c(),p.m(i,s)):p&&(p.d(1),p=null),o[22]?c?c.p(o,b):(c=Ci(o),c.c(),c.m(i,n)):c&&(c.d(1),c=null),o[23]?d?d.p(o,b):(d=Di(o),d.c(),d.m(i,null)):d&&(d.d(1),d=null)},d(o){o&&L(i),p&&p.d(),c&&c.d(),d&&d.d()}}}function Hi(r){let i;function s(c,d){return c[23]?Vi:Fi}let n=s(r),p=n(r);return{c(){p.c(),i=Et()},m(c,d){p.m(c,d),f(c,i,d)},p(c,d){n===(n=s(c))&&p?p.p(c,d):(p.d(1),p=n(c),p&&(p.c(),p.m(i.parentNode,i)))},d(c){c&&L(i),p.d(c)}}}function Fi(r){let i,s,n,p,c,d,o,b,h,z,M,se,w,H,C,E,le,R,T,j,G,k,N,P,re,O,D,$,S,Z,A=r[21]&&Mi(),x=r[22]&&ki();return{c(){i=t("div"),s=t("div"),n=t("div"),A&&A.c(),p=v(),x&&x.c(),c=v(),d=t("div"),o=u("There is "),b=t("b"),b.textContent=`${r[29]()}`,h=u(" of glycan indexes between "),z=t("br"),M=u(` your patient and atherosclerosis
2
+ patients.`),se=v(),w=t("div"),H=t("div"),H.textContent="Symptoms to check for:",C=v(),E=t("div"),E.innerHTML="<b>Symptoms of coronary artery disease:</b> Occasional self-resolving chest pain, <br/> breathlessness.",le=v(),R=t("div"),R.innerHTML="<b>Symptoms of peripheral artery disease:</b> Pain in legs that worsens with <br/> physical activity and improves with rest.",T=v(),j=t("div"),j.innerHTML="<b>Chronic kidney disease:</b> Asymptomatic until later stages (when presents <br/> with fatigue, weight loss, nausea, skin changes).",G=v(),k=t("div"),k.textContent="Possible follow-up tests:",N=v(),P=t("div"),P.innerHTML=`<b>Blood Tests:</b> Basic (LDL-C, HDL-C, total cholesterol, total cholesterol:HDL-C <br/>
3
+ ratio, non-HDL-C, triglycerides) and extended lipid profile (e.g., oxLDL, <br/>
4
+ VLDL, LDL-P, Lp(a), ApoB, Lp-PLA2), hsCRP, homocysteine, renal and liver <br/>
5
+ function, glucose/HbA1c.`,re=v(),O=t("div"),O.innerHTML="<b>Blood pressure check.</b>",D=v(),$=t("div"),$.innerHTML="<b>ECG.</b>",S=v(),Z=t("div"),Z.innerHTML=`Referral to cardiologist for other diagnostics (e.g., cardiac echo, stress <br/>
6
+ echo, CT coronary artery calcium, coronary angiography, carotid artery <br/>
7
+ ultrasound, etc.).`,a(n,"width","10%"),a(n,"padding-left","1.5rem"),a(n,"padding-right","1rem"),a(d,"width","90%"),l(s,"class","summaryHeader svelte-c6zpti"),a(s,"border-radius","8px 8px 0 0"),a(s,"background-color",r[27]()),a(s,"border-bottom","2px solid "+r[26]()),a(H,"font-size","1.2rem"),a(H,"padding-bottom","1rem"),a(E,"font-size","0.7rem"),a(E,"padding-bottom","0.4rem"),a(R,"font-size","0.7rem"),a(R,"padding-bottom","0.4rem"),a(j,"font-size","0.7rem"),a(j,"padding-bottom","0.4rem"),a(k,"font-size","1.2rem"),a(k,"padding-top","1.2rem"),a(k,"padding-bottom","1rem"),a(P,"font-size","0.7rem"),a(P,"padding-bottom","0.4rem"),a(O,"font-size","0.7rem"),a(O,"padding-bottom","0.4rem"),a($,"font-size","0.7rem"),a($,"padding-bottom","0.4rem"),a(Z,"font-size","0.7rem"),a(Z,"padding-bottom","0.4rem"),l(w,"class","summaryBody svelte-c6zpti"),a(w,"background-color",r[28]()),l(i,"class","summaryMain svelte-c6zpti"),a(i,"border","2px solid "+r[26]())},m(q,ge){f(q,i,ge),e(i,s),e(s,n),A&&A.m(n,null),e(n,p),x&&x.m(n,null),e(s,c),e(s,d),e(d,o),e(d,b),e(d,h),e(d,z),e(d,M),e(i,se),e(i,w),e(w,H),e(w,C),e(w,E),e(w,le),e(w,R),e(w,T),e(w,j),e(w,G),e(w,k),e(w,N),e(w,P),e(w,re),e(w,O),e(w,D),e(w,$),e(w,S),e(w,Z)},p(q,ge){q[21]?A||(A=Mi(),A.c(),A.m(n,p)):A&&(A.d(1),A=null),q[22]?x||(x=ki(),x.c(),x.m(n,null)):x&&(x.d(1),x=null)},d(q){q&&L(i),A&&A.d(),x&&x.d()}}}function Vi(r){let i;return{c(){i=t("div"),i.innerHTML=`<div class="summaryHeader svelte-c6zpti" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
8
+ atherosclerosis patients.</div></div> <div class="summaryBody svelte-c6zpti" style="opacity: 0.35;"><div style="font-size: 1.2rem; padding-bottom: 1rem;">Symptoms to check for:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symptoms of coronary artery disease:</b> Occasional self-resolving chest pain, <br/> breathlessness.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Symptoms of peripheral artery disease:</b> Pain in legs that worsens with <br/> physical activity and improves with rest.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Chronic kidney disease:</b> Asymptomatic until later stages (when presents <br/> with fatigue, weight loss, nausea, skin changes).</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blood Tests:</b> Basic (LDL-C, HDL-C, total cholesterol, total cholesterol:HDL-C <br/>
9
+ ratio, non-HDL-C, triglycerides) and extended lipid profile (e.g., oxLDL, <br/>
10
+ VLDL, LDL-P, Lp(a), ApoB, Lp-PLA2), hsCRP, homocysteine, renal and liver <br/>
11
+ function, glucose/HbA1c.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blood pressure check.</b></div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>ECG.</b></div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;">Referral to cardiologist for other diagnostics (e.g., cardiac echo, stress <br/>
12
+ echo, CT coronary artery calcium, coronary angiography, carotid artery <br/>
13
+ ultrasound, etc.).</div></div>`,l(i,"class","summaryMain svelte-c6zpti")},m(s,n){f(s,i,n)},p:Rt,d(s){s&&L(i)}}}function Mi(r){let i,s;return{c(){i=U("svg"),s=U("path"),l(s,"fill","#CC0000"),l(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"),l(i,"xmlns","http://www.w3.org/2000/svg"),l(i,"width","50"),l(i,"height","50"),l(i,"viewBox","0 0 24 24")},m(n,p){f(n,i,p),e(i,s)},d(n){n&&L(i)}}}function ki(r){let i,s;return{c(){i=U("svg"),s=U("path"),l(s,"fill","#EE9933"),l(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(i,"xmlns","http://www.w3.org/2000/svg"),l(i,"width","50"),l(i,"height","50"),l(i,"viewBox","0 0 24 24")},m(n,p){f(n,i,p),e(i,s)},d(n){n&&L(i)}}}function Ni(r){let i,s,n,p,c,d,o,b;return{c(){i=t("div"),s=t("b"),n=u(r[25]),p=u("/5"),c=v(),d=U("svg"),o=U("path"),b=u(`
14
+ \xA0 Some overlap`),a(i,"padding-right","10px"),l(o,"fill","#F2590D"),l(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),l(d,"xmlns","http://www.w3.org/2000/svg"),l(d,"width","24"),l(d,"height","24"),l(d,"viewBox","0 0 24 24")},m(h,z){f(h,i,z),e(i,s),e(s,n),e(s,p),f(h,c,z),f(h,d,z),e(d,o),f(h,b,z)},p(h,z){z[0]&33554432&&y(n,h[25])},d(h){h&&(L(i),L(c),L(d),L(b))}}}function Ci(r){let i,s,n,p,c,d,o,b;return{c(){i=t("div"),s=t("b"),n=u(r[25]),p=u("/5"),c=v(),d=U("svg"),o=U("path"),b=u(`
15
+ \xA0 Minor overlap`),a(i,"padding-right","10px"),l(o,"fill","#FFAA00"),l(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(d,"xmlns","http://www.w3.org/2000/svg"),l(d,"width","24"),l(d,"height","24"),l(d,"viewBox","0 0 24 24")},m(h,z){f(h,i,z),e(i,s),e(s,n),e(s,p),f(h,c,z),f(h,d,z),e(d,o),f(h,b,z)},p(h,z){z[0]&33554432&&y(n,h[25])},d(h){h&&(L(i),L(c),L(d),L(b))}}}function Di(r){let i,s,n,p,c,d,o,b;return{c(){i=t("div"),s=t("b"),n=u(r[25]),p=u("/5"),c=v(),d=U("svg"),o=U("path"),b=u(`
16
+ \xA0 No significant overlap`),a(i,"padding-right","10px"),l(o,"fill","#12A195"),l(o,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(d,"xmlns","http://www.w3.org/2000/svg"),l(d,"width","24"),l(d,"height","24"),l(d,"viewBox","0 0 24 24")},m(h,z){f(h,i,z),e(i,s),e(s,n),e(s,p),f(h,c,z),f(h,d,z),e(d,o),f(h,b,z)},p(h,z){z[0]&33554432&&y(n,h[25])},d(h){h&&(L(i),L(c),L(d),L(b))}}}function Yi(r){let i,s,n;function p(o,b){return o[0]==="header"?Oi:o[0]==="summary"?ji:Ri}let c=p(r),d=c(r);return{c(){i=t("head"),i.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=v(),d.c(),n=Et()},m(o,b){f(o,i,b),f(o,s,b),d.m(o,b),f(o,n,b)},p(o,b){c===(c=p(o))&&d?d.p(o,b):(d.d(1),d=c(o),d&&(d.c(),d.m(n.parentNode,n)))},i:Rt,o:Rt,d(o){o&&(L(i),L(s),L(n)),d.d(o)}}}function Ii(r,i,s){let{language:n}=i,{report:p}=i,{type:c}=i,{service:d=window.GaReportService}=i,o,b=0,h=0,z=0,M=0,se=0,w=0,H=0,C=0,E=0,le=0,R=0,T=0,j=0,G=0,k=0,N=0,P=0,re=0,O=0,D=0,$=!1,S=!1,Z=!1,A=!1,x=0;function q(){return $?"#CC0000":S?"#EE9933":"#00AA44"}function ge(){return $?"rgba(204,0,0,0.15)":S?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function ae(){return $?"rgba(204,0,0,0.05)":S?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function xe(){return $?"some overlap":S?"a minor overlap":"no significant overlap"}function Me(){M>50&&s(25,x++,x),C<50&&s(25,x++,x),T<50&&s(25,x++,x),N<50&&s(25,x++,x),D>50&&s(25,x++,x)}return qi(async()=>{if(o=await d.getReport(p),s(1,b=Number(o.G0xmin)),s(2,h=Number(o.G0xmax)),s(3,z=Number(o.G0yourscore)),s(4,M=Number(o.G0percentile)),s(5,se=Number(o.G1xmin)),s(6,w=Number(o.G1xmax)),s(7,H=Number(o.G1yourscore)),s(8,C=Number(o.G1percentile)),s(9,E=Number(o.G2xmin)),s(10,le=Number(o.G2xmax)),s(11,R=Number(o.G2yourscore)),s(12,T=Number(o.G2percentile)),s(13,j=Number(o.Sxmin)),s(14,G=Number(o.Sxmax)),s(15,k=Number(o.Syourscore)),s(16,N=Number(o.Spercentile)),s(17,P=Number(o.Bxmin)),s(18,re=Number(o.Bxmax)),s(19,O=Number(o.Byourscore)),s(20,D=Number(o.Bpercentile)),Me(),M>50&&C<50&&T<50&&N<50&&D>50){s(21,$=!0),s(24,A=!0);return}if(M>50||C<50||T<50||N<50||D>50){if(M>50&&C<50&&T<50||M>50&&C<50&&N<50||M>50&&C<50&&D>50||M>50&&T<50&&N<50||M>50&&T<50&&D>50||M>50&&N<50&&D>50||C<50&&T<50&&N<50||C<50&&T<50&&D>50||T<50&&N<50&&D>50){s(22,S=!0),s(24,A=!0);return}s(23,Z=!0),s(24,A=!0);return}s(23,Z=!0),s(24,A=!0)}),r.$$set=B=>{"language"in B&&s(30,n=B.language),"report"in B&&s(31,p=B.report),"type"in B&&s(0,c=B.type),"service"in B&&s(32,d=B.service)},[c,b,h,z,M,se,w,H,C,E,le,R,T,j,G,k,N,P,re,O,D,$,S,Z,A,x,q,ge,ae,xe,n,p,d]}class Bi extends Pi{constructor(i){super(),$i(this,i,Ii,Yi,Si,{language:30,report:31,type:0,service:32},Ei,[-1,-1])}get language(){return this.$$.ctx[30]}set language(i){this.$$set({language:i}),Je()}get report(){return this.$$.ctx[31]}set report(i){this.$$set({report:i}),Je()}get type(){return this.$$.ctx[0]}set type(i){this.$$set({type:i}),Je()}get service(){return this.$$.ctx[32]}set service(i){this.$$set({service:i}),Je()}}customElements.define("ga-atherosclerosis",Gi(Bi,{language:{},report:{},type:{},service:{}},[],[],!0));export{Bi as default};
@@ -1,16 +1,14 @@
1
- import{c as er,S as tr,i as rr,f as Ze,s as ir,a as lr,e as l,b as m,d as pt,g as T,n as bt,h as A,o as sr,t as b,j as i,k as o,l as e,m as f,p as W}from"./index2.js";import{s as ie,m as le,g as se,a as oe,b as ne}from"./helpers.js";function or(s){lr(s,"svelte-1o9zg7r",".main.svelte-1o9zg7r{width:450px;height:260px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-1o9zg7r{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-1o9zg7r{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1o9zg7r{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-1o9zg7r{width:100%;height:14%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-1o9zg7r{width:14%;height:100%;margin-left:1.5rem;font-size:0.7rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-1o9zg7r{width:86%;height:100%;position:relative}.min.svelte-1o9zg7r{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-1o9zg7r{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-1o9zg7r{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-1o9zg7r{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-1o9zg7r{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-1o9zg7r{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-1o9zg7r{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-1o9zg7r{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-1o9zg7r{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-1o9zg7r{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-1o9zg7r{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-1o9zg7r{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-1o9zg7r{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-1o9zg7r{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-1o9zg7r{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-1o9zg7r{width:100%;height:100%;display:flex;align-items:center}")}function nr(s){let t,r,n,a,d,g,c,u,F,P,$,Y,h,y,H,D,_,G,M,E,k,L,N,z,C,Z,q,S,x=ie(s[4])+"",w,I,B,qe,ht,ce,ue,ut,O,ze,De,Ge,zt,xe,Ee,Se,xt,U,Ie,ft,Pe,yt,pe,wt,j,Q,fe,ae,Ue,Lt,je,Re,ye=ie(s[8])+"",Je,Tt,At,Ke,Mt,me,we,kt,X,Le,Ve,We,Nt,Te,Ye,_e,$t,R,Fe,Ht,Oe,Bt,be,Ct,J,ee,Ae,de,Qe,Zt,Xe,et,Me=ie(s[12])+"",tt,qt,Dt,rt,Gt,ve,ke,Et,te,Ne,it,lt,St,$e,st,ot,It,K,nt,Pt,at,Ut,he,jt,V,re,He,ge,dt,Rt,gt,ct,Be=ie(s[16])+"",mt,Jt,Kt,vt,Vt,Ce;return{c(){t=l("div"),r=l("div"),n=l("div"),n.innerHTML="Glycan<br/> <b>Mature</b>",a=m(),d=l("div"),g=l("div"),c=l("b"),u=b(s[1]),F=m(),P=l("div"),$=l("b"),Y=b(s[2]),h=m(),y=l("div"),H=l("div"),D=m(),_=l("div"),G=m(),M=l("div"),E=m(),k=l("div"),L=l("div"),N=l("div"),z=l("b"),C=b(s[3]),Z=b(" ("),q=b(s[4]),S=l("sup"),w=b(x),I=b(" percentile)"),B=m(),qe=l("div"),ht=m(),ce=l("div"),ue=l("div"),ue.innerHTML="Glycan<br/> <b>Median</b>",ut=m(),O=l("div"),ze=l("div"),De=l("b"),Ge=b(s[5]),zt=m(),xe=l("div"),Ee=l("b"),Se=b(s[6]),xt=m(),U=l("div"),Ie=l("div"),ft=m(),Pe=l("div"),yt=m(),pe=l("div"),wt=m(),j=l("div"),Q=l("div"),fe=l("div"),ae=l("b"),Ue=b(s[7]),Lt=b(" ("),je=b(s[8]),Re=l("sup"),Je=b(ye),Tt=b(" percentile)"),At=m(),Ke=l("div"),Mt=m(),me=l("div"),we=l("div"),we.innerHTML="Glycan<br/> <b>Youth</b>",kt=m(),X=l("div"),Le=l("div"),Ve=l("b"),We=b(s[9]),Nt=m(),Te=l("div"),Ye=l("b"),_e=b(s[10]),$t=m(),R=l("div"),Fe=l("div"),Ht=m(),Oe=l("div"),Bt=m(),be=l("div"),Ct=m(),J=l("div"),ee=l("div"),Ae=l("div"),de=l("b"),Qe=b(s[11]),Zt=b(" ("),Xe=b(s[12]),et=l("sup"),tt=b(Me),qt=b(" percentile)"),Dt=m(),rt=l("div"),Gt=m(),ve=l("div"),ke=l("div"),ke.innerHTML="Glycan<br/> <b>Lifestyle</b>",Et=m(),te=l("div"),Ne=l("div"),it=l("b"),lt=b(s[13]),St=m(),$e=l("div"),st=l("b"),ot=b(s[14]),It=m(),K=l("div"),nt=l("div"),Pt=m(),at=l("div"),Ut=m(),he=l("div"),jt=m(),V=l("div"),re=l("div"),He=l("div"),ge=l("b"),dt=b(s[15]),Rt=b(" ("),gt=b(s[16]),ct=l("sup"),mt=b(Be),Jt=b(" percentile)"),Kt=m(),vt=l("div"),Vt=m(),Ce=l("div"),Ce.innerHTML='<div class="dot1 svelte-1o9zg7r"></div> <div style="font-size: 0.8rem;">Ulcerative colitis</div> <div class="dot2 svelte-1o9zg7r"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(n,"class","label svelte-1o9zg7r"),i(g,"class","min svelte-1o9zg7r"),i(P,"class","max svelte-1o9zg7r"),i(H,"class","xAxis svelte-1o9zg7r"),i(_,"class","yAxis svelte-1o9zg7r"),i(M,"class","diseaseArea svelte-1o9zg7r"),o(M,"border-radius","0 6px 6px 0"),o(M,"left","50.3%"),i(N,"class","message svelte-1o9zg7r"),i(qe,"class","triangle-down svelte-1o9zg7r"),i(L,"class","resultDisplay svelte-1o9zg7r"),o(L,"right",le(s[4])),i(k,"class","result svelte-1o9zg7r"),o(k,"padding",se(s[4])),o(k,"margin",oe(s[4])),o(k,"border-radius",ne(s[4])),i(y,"class","middleParent svelte-1o9zg7r"),i(d,"class","content svelte-1o9zg7r"),i(r,"class","row svelte-1o9zg7r"),i(ue,"class","label svelte-1o9zg7r"),i(ze,"class","min svelte-1o9zg7r"),i(xe,"class","max svelte-1o9zg7r"),i(Ie,"class","xAxis svelte-1o9zg7r"),i(Pe,"class","yAxis svelte-1o9zg7r"),i(pe,"class","diseaseArea svelte-1o9zg7r"),o(pe,"border-radius","6px 0 0 6px"),o(pe,"right","50.3%"),i(fe,"class","message svelte-1o9zg7r"),i(Ke,"class","triangle-down svelte-1o9zg7r"),i(Q,"class","resultDisplay svelte-1o9zg7r"),o(Q,"right",le(s[8])),i(j,"class","result2 svelte-1o9zg7r"),o(j,"padding",se(s[8])),o(j,"margin",oe(s[8])),o(j,"border-radius",ne(s[8])),i(U,"class","middleParent svelte-1o9zg7r"),i(O,"class","content svelte-1o9zg7r"),i(ce,"class","row svelte-1o9zg7r"),i(we,"class","label svelte-1o9zg7r"),i(Le,"class","min svelte-1o9zg7r"),i(Te,"class","max svelte-1o9zg7r"),i(Fe,"class","xAxis svelte-1o9zg7r"),i(Oe,"class","yAxis svelte-1o9zg7r"),i(be,"class","diseaseArea svelte-1o9zg7r"),o(be,"border-radius","6px 0 0 6px"),o(be,"right","50.3%"),i(Ae,"class","message svelte-1o9zg7r"),i(rt,"class","triangle-down svelte-1o9zg7r"),i(ee,"class","resultDisplay svelte-1o9zg7r"),o(ee,"right",le(s[12])),i(J,"class","result3 svelte-1o9zg7r"),o(J,"padding",se(s[12])),o(J,"margin",oe(s[12])),o(J,"border-radius",ne(s[12])),i(R,"class","middleParent svelte-1o9zg7r"),i(X,"class","content svelte-1o9zg7r"),i(me,"class","row svelte-1o9zg7r"),i(ke,"class","label svelte-1o9zg7r"),i(Ne,"class","min svelte-1o9zg7r"),i($e,"class","max svelte-1o9zg7r"),i(nt,"class","xAxis svelte-1o9zg7r"),i(at,"class","yAxis svelte-1o9zg7r"),i(he,"class","diseaseArea svelte-1o9zg7r"),o(he,"border-radius","6px 0 0 6px"),o(he,"right","50.3%"),i(He,"class","message svelte-1o9zg7r"),i(vt,"class","triangle-down svelte-1o9zg7r"),i(re,"class","resultDisplay svelte-1o9zg7r"),o(re,"right",le(s[16])),i(V,"class","result3 svelte-1o9zg7r"),o(V,"padding",se(s[16])),o(V,"margin",oe(s[16])),o(V,"border-radius",ne(s[16])),i(K,"class","middleParent svelte-1o9zg7r"),i(te,"class","content svelte-1o9zg7r"),i(ve,"class","row svelte-1o9zg7r"),i(Ce,"class","lastRow svelte-1o9zg7r"),i(t,"class","main svelte-1o9zg7r")},m(v,p){T(v,t,p),e(t,r),e(r,n),e(r,a),e(r,d),e(d,g),e(g,c),e(c,u),e(d,F),e(d,P),e(P,$),e($,Y),e(d,h),e(d,y),e(y,H),e(y,D),e(y,_),e(y,G),e(y,M),e(y,E),e(y,k),e(k,L),e(L,N),e(N,z),e(z,C),e(z,Z),e(z,q),e(z,S),e(S,w),e(z,I),e(L,B),e(L,qe),e(t,ht),e(t,ce),e(ce,ue),e(ce,ut),e(ce,O),e(O,ze),e(ze,De),e(De,Ge),e(O,zt),e(O,xe),e(xe,Ee),e(Ee,Se),e(O,xt),e(O,U),e(U,Ie),e(U,ft),e(U,Pe),e(U,yt),e(U,pe),e(U,wt),e(U,j),e(j,Q),e(Q,fe),e(fe,ae),e(ae,Ue),e(ae,Lt),e(ae,je),e(ae,Re),e(Re,Je),e(ae,Tt),e(Q,At),e(Q,Ke),e(t,Mt),e(t,me),e(me,we),e(me,kt),e(me,X),e(X,Le),e(Le,Ve),e(Ve,We),e(X,Nt),e(X,Te),e(Te,Ye),e(Ye,_e),e(X,$t),e(X,R),e(R,Fe),e(R,Ht),e(R,Oe),e(R,Bt),e(R,be),e(R,Ct),e(R,J),e(J,ee),e(ee,Ae),e(Ae,de),e(de,Qe),e(de,Zt),e(de,Xe),e(de,et),e(et,tt),e(de,qt),e(ee,Dt),e(ee,rt),e(t,Gt),e(t,ve),e(ve,ke),e(ve,Et),e(ve,te),e(te,Ne),e(Ne,it),e(it,lt),e(te,St),e(te,$e),e($e,st),e(st,ot),e(te,It),e(te,K),e(K,nt),e(K,Pt),e(K,at),e(K,Ut),e(K,he),e(K,jt),e(K,V),e(V,re),e(re,He),e(He,ge),e(ge,dt),e(ge,Rt),e(ge,gt),e(ge,ct),e(ct,mt),e(ge,Jt),e(re,Kt),e(re,vt),e(t,Vt),e(t,Ce)},p(v,p){p&2&&f(u,v[1]),p&4&&f(Y,v[2]),p&8&&f(C,v[3]),p&16&&f(q,v[4]),p&16&&x!==(x=ie(v[4])+"")&&f(w,x),p&16&&o(L,"right",le(v[4])),p&16&&o(k,"padding",se(v[4])),p&16&&o(k,"margin",oe(v[4])),p&16&&o(k,"border-radius",ne(v[4])),p&32&&f(Ge,v[5]),p&64&&f(Se,v[6]),p&128&&f(Ue,v[7]),p&256&&f(je,v[8]),p&256&&ye!==(ye=ie(v[8])+"")&&f(Je,ye),p&256&&o(Q,"right",le(v[8])),p&256&&o(j,"padding",se(v[8])),p&256&&o(j,"margin",oe(v[8])),p&256&&o(j,"border-radius",ne(v[8])),p&512&&f(We,v[9]),p&1024&&f(_e,v[10]),p&2048&&f(Qe,v[11]),p&4096&&f(Xe,v[12]),p&4096&&Me!==(Me=ie(v[12])+"")&&f(tt,Me),p&4096&&o(ee,"right",le(v[12])),p&4096&&o(J,"padding",se(v[12])),p&4096&&o(J,"margin",oe(v[12])),p&4096&&o(J,"border-radius",ne(v[12])),p&8192&&f(lt,v[13]),p&16384&&f(ot,v[14]),p&32768&&f(dt,v[15]),p&65536&&f(gt,v[16]),p&65536&&Be!==(Be=ie(v[16])+"")&&f(mt,Be),p&65536&&o(re,"right",le(v[16])),p&65536&&o(V,"padding",se(v[16])),p&65536&&o(V,"margin",oe(v[16])),p&65536&&o(V,"border-radius",ne(v[16]))},d(v){v&&A(t)}}}function ar(s){let t,r=s[20]&&Wt(s);return{c(){r&&r.c(),t=pt()},m(n,a){r&&r.m(n,a),T(n,t,a)},p(n,a){n[20]?r?r.p(n,a):(r=Wt(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&A(t),r&&r.d(n)}}}function dr(s){let t,r,n,a=s[17]&&Ft(),d=s[18]&&Ot(),g=s[19]&&Qt();return{c(){t=l("div"),a&&a.c(),r=m(),d&&d.c(),n=m(),g&&g.c(),i(t,"class","header svelte-1o9zg7r")},m(c,u){T(c,t,u),a&&a.m(t,null),e(t,r),d&&d.m(t,null),e(t,n),g&&g.m(t,null)},p(c,u){c[17]?a||(a=Ft(),a.c(),a.m(t,r)):a&&(a.d(1),a=null),c[18]?d||(d=Ot(),d.c(),d.m(t,n)):d&&(d.d(1),d=null),c[19]?g||(g=Qt(),g.c(),g.m(t,null)):g&&(g.d(1),g=null)},d(c){c&&A(t),a&&a.d(),d&&d.d(),g&&g.d()}}}function Wt(s){let t;function r(d,g){return d[19]?cr:gr}let n=r(s),a=n(s);return{c(){a.c(),t=pt()},m(d,g){a.m(d,g),T(d,t,g)},p(d,g){n===(n=r(d))&&a?a.p(d,g):(a.d(1),a=n(d),a&&(a.c(),a.m(t.parentNode,t)))},d(d){d&&A(t),a.d(d)}}}function gr(s){let t,r,n,a,d,g,c,u,F,P,$,Y,h,y,H,D,_,G,M,E,k,L,N,z,C,Z,q,S,x=s[17]&&Yt(),w=s[18]&&_t();return{c(){t=l("div"),r=l("div"),n=l("div"),x&&x.c(),a=m(),w&&w.c(),d=m(),g=l("div"),c=b("There is "),u=l("b"),u.textContent=`${s[24]()}`,F=b(" of glycan indexes between "),P=l("br"),$=b(` your patient and ulcerative
2
- colitis patients.`),Y=m(),h=l("div"),y=l("div"),y.textContent="Symptoms to check for:",H=m(),D=l("div"),D.innerHTML=`<b>Diarrhea with blood or pus:</b> Inflammation in the colon and rectum leads to <br/>
3
- diarrhea, often accompanied by blood or pus.`,_=m(),G=l("div"),G.innerHTML=`<b>Abdominal pain and cramping:</b> Inflammation and ulcers in the colon cause <br/>
4
- abdominal discomfort and cramping.`,M=m(),E=l("div"),E.innerHTML=`<b>Urgency to Defecate:</b> Irritation of the rectal lining causes a frequent and urgent
5
- <br/> need to defecate.`,k=m(),L=l("div"),L.textContent="Possible follow-up tests:",N=m(),z=l("div"),z.innerHTML=`<b>Colonoscopy:</b> This allows direct visualization and biopsy of the colon to assess
6
- <br/> inflammation and confirm UC diagnosis.`,C=m(),Z=l("div"),Z.innerHTML="<b>Stool test:</b> Evaluating stool samples can help rule out infections or other disorders.",q=m(),S=l("div"),S.innerHTML=`<b>Blood tests:</b> These can assess inflammatory markers and other relevant <br/>
7
- indicators for UC.`,o(n,"width","10%"),o(n,"padding-left","1.5rem"),o(n,"padding-right","1rem"),o(g,"width","90%"),i(r,"class","summaryHeader svelte-1o9zg7r"),o(r,"border-radius","8px 8px 0 0"),o(r,"background-color",s[22]()),o(r,"border-bottom","2px solid "+s[21]()),o(y,"font-size","1.2rem"),o(y,"padding-bottom","1rem"),o(D,"font-size","0.7rem"),o(D,"padding-bottom","0.4rem"),o(G,"font-size","0.7rem"),o(G,"padding-bottom","0.4rem"),o(E,"font-size","0.7rem"),o(E,"padding-bottom","0.4rem"),o(L,"font-size","1.2rem"),o(L,"padding-top","1.2rem"),o(L,"padding-bottom","1rem"),o(z,"font-size","0.7rem"),o(z,"padding-bottom","0.4rem"),o(Z,"font-size","0.7rem"),o(Z,"padding-bottom","0.4rem"),o(S,"font-size","0.7rem"),o(S,"padding-bottom","0.4rem"),i(h,"class","summaryBody svelte-1o9zg7r"),o(h,"background-color",s[23]()),i(t,"class","summaryMain svelte-1o9zg7r"),o(t,"border","2px solid "+s[21]())},m(I,B){T(I,t,B),e(t,r),e(r,n),x&&x.m(n,null),e(n,a),w&&w.m(n,null),e(r,d),e(r,g),e(g,c),e(g,u),e(g,F),e(g,P),e(g,$),e(t,Y),e(t,h),e(h,y),e(h,H),e(h,D),e(h,_),e(h,G),e(h,M),e(h,E),e(h,k),e(h,L),e(h,N),e(h,z),e(h,C),e(h,Z),e(h,q),e(h,S)},p(I,B){I[17]?x||(x=Yt(),x.c(),x.m(n,a)):x&&(x.d(1),x=null),I[18]?w||(w=_t(),w.c(),w.m(n,null)):w&&(w.d(1),w=null)},d(I){I&&A(t),x&&x.d(),w&&w.d()}}}function cr(s){let t;return{c(){t=l("div"),t.innerHTML=`<div class="summaryHeader svelte-1o9zg7r" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
1
+ import{c as er,S as tr,i as rr,f as qe,s as ir,a as lr,e as i,b as m,d as ut,g as f,n as bt,h as y,o as sr,t as p,j as l,k as n,l as e,m as w,p as O}from"./index2.js";import{s as ie,m as le,g as se,a as oe,b as ne}from"./helpers.js";function or(o){lr(o,"svelte-1o9zg7r",".main.svelte-1o9zg7r{width:450px;height:260px;background-color:#f0f6f5;border:2px solid #c8dbd0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-1o9zg7r{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-1o9zg7r{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1o9zg7r{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-1o9zg7r{width:100%;height:14%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-1o9zg7r{width:14%;height:100%;margin-left:1.5rem;font-size:0.7rem;line-height:0.9rem;display:flex;align-items:start;justify-content:center;flex-direction:column}.content.svelte-1o9zg7r{width:86%;height:100%;position:relative}.min.svelte-1o9zg7r{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6b8678}.middleParent.svelte-1o9zg7r{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-1o9zg7r{position:absolute;left:0;top:48%;width:100%;height:0.1rem;background-color:#08341f;border-radius:10px;z-index:9999;max-height:1px}.diseaseArea.svelte-1o9zg7r{position:absolute;width:46%;top:10%;height:80%;background-color:#c8dbd0}.result.svelte-1o9zg7r{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result2.svelte-1o9zg7r{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.result3.svelte-1o9zg7r{width:1.5%;height:24%;background-color:#33664d;z-index:9998;position:relative}.yAxis.svelte-1o9zg7r{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341f;border-radius:10px}.max.svelte-1o9zg7r{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6b8678}.lastRow.svelte-1o9zg7r{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-1o9zg7r{height:10px;width:10px;border-radius:99px;background-color:#c8dbd0;border:1px solid black;margin-right:6px}.dot2.svelte-1o9zg7r{height:10px;width:10px;border-radius:99px;background-color:#33664d;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-1o9zg7r{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-1o9zg7r{color:#33664d;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-1o9zg7r{margin-top:0.6rem;margin-bottom:0.4rem;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:6px solid #33664d}.header.svelte-1o9zg7r{width:100%;height:100%;display:flex;align-items:center}")}function nr(o){let t,r,d,c,g,s,a,b,h,x,B,Q,z,T,Z,D,R,I,G,P,$,N,H,L,C,q,S,M,A=ie(o[4])+"",k,F,ae,ue,j,me,ze,ht,W,fe,Se,De,xt,ye,Ie,Pe,zt,E,Fe,ft,je,yt,be,wt,U,X,we,de,Ee,Lt,Ue,Je,Le=ie(o[8])+"",Ke,At,Tt,Ve,Mt,ve,Ae,kt,_,Te,Ye,Oe,Nt,Me,Qe,Re,Gt,J,We,$t,Xe,Ht,he,Bt,K,ee,ke,ge,_e,Zt,et,tt,Ne=ie(o[12])+"",rt,Ct,qt,it,St,pe,Ge,Dt,te,$e,lt,st,It,He,ot,nt,Pt,V,at,Ft,dt,jt,xe,Et,Y,re,Be,ce,gt,Ut,ct,mt,Ze=ie(o[16])+"",vt,Jt,Kt,pt,Vt,Ce;return{c(){t=i("div"),r=i("div"),d=i("div"),d.innerHTML="Glycan<br/> <b>Mature</b>",c=m(),g=i("div"),s=i("div"),a=i("b"),b=p(o[1]),h=m(),x=i("div"),B=i("b"),Q=p(o[2]),z=m(),T=i("div"),Z=i("div"),D=m(),R=i("div"),I=m(),G=i("div"),P=m(),$=i("div"),N=i("div"),H=i("div"),L=i("b"),C=p(o[3]),q=p(" ("),S=p(o[4]),M=i("sup"),k=p(A),F=p(" percentile)"),ae=m(),ue=i("div"),j=m(),me=i("div"),ze=i("div"),ze.innerHTML="Glycan<br/> <b>Median</b>",ht=m(),W=i("div"),fe=i("div"),Se=i("b"),De=p(o[5]),xt=m(),ye=i("div"),Ie=i("b"),Pe=p(o[6]),zt=m(),E=i("div"),Fe=i("div"),ft=m(),je=i("div"),yt=m(),be=i("div"),wt=m(),U=i("div"),X=i("div"),we=i("div"),de=i("b"),Ee=p(o[7]),Lt=p(" ("),Ue=p(o[8]),Je=i("sup"),Ke=p(Le),At=p(" percentile)"),Tt=m(),Ve=i("div"),Mt=m(),ve=i("div"),Ae=i("div"),Ae.innerHTML="Glycan<br/> <b>Youth</b>",kt=m(),_=i("div"),Te=i("div"),Ye=i("b"),Oe=p(o[9]),Nt=m(),Me=i("div"),Qe=i("b"),Re=p(o[10]),Gt=m(),J=i("div"),We=i("div"),$t=m(),Xe=i("div"),Ht=m(),he=i("div"),Bt=m(),K=i("div"),ee=i("div"),ke=i("div"),ge=i("b"),_e=p(o[11]),Zt=p(" ("),et=p(o[12]),tt=i("sup"),rt=p(Ne),Ct=p(" percentile)"),qt=m(),it=i("div"),St=m(),pe=i("div"),Ge=i("div"),Ge.innerHTML="Glycan<br/> <b>Lifestyle</b>",Dt=m(),te=i("div"),$e=i("div"),lt=i("b"),st=p(o[13]),It=m(),He=i("div"),ot=i("b"),nt=p(o[14]),Pt=m(),V=i("div"),at=i("div"),Ft=m(),dt=i("div"),jt=m(),xe=i("div"),Et=m(),Y=i("div"),re=i("div"),Be=i("div"),ce=i("b"),gt=p(o[15]),Ut=p(" ("),ct=p(o[16]),mt=i("sup"),vt=p(Ze),Jt=p(" percentile)"),Kt=m(),pt=i("div"),Vt=m(),Ce=i("div"),Ce.innerHTML='<div class="dot1 svelte-1o9zg7r"></div> <div style="font-size: 0.8rem;">Ulcerative colitis</div> <div class="dot2 svelte-1o9zg7r"></div> <div style="font-size: 0.8rem;">Your patient</div>',l(d,"class","label svelte-1o9zg7r"),l(s,"class","min svelte-1o9zg7r"),l(x,"class","max svelte-1o9zg7r"),l(Z,"class","xAxis svelte-1o9zg7r"),l(R,"class","yAxis svelte-1o9zg7r"),l(G,"class","diseaseArea svelte-1o9zg7r"),n(G,"border-radius","0 6px 6px 0"),n(G,"left","50.3%"),l(H,"class","message svelte-1o9zg7r"),l(ue,"class","triangle-down svelte-1o9zg7r"),l(N,"class","resultDisplay svelte-1o9zg7r"),n(N,"right",le(o[4])),l($,"class","result svelte-1o9zg7r"),n($,"padding",se(o[4])),n($,"margin",oe(o[4])),n($,"border-radius",ne(o[4])),l(T,"class","middleParent svelte-1o9zg7r"),l(g,"class","content svelte-1o9zg7r"),l(r,"class","row svelte-1o9zg7r"),l(ze,"class","label svelte-1o9zg7r"),l(fe,"class","min svelte-1o9zg7r"),l(ye,"class","max svelte-1o9zg7r"),l(Fe,"class","xAxis svelte-1o9zg7r"),l(je,"class","yAxis svelte-1o9zg7r"),l(be,"class","diseaseArea svelte-1o9zg7r"),n(be,"border-radius","6px 0 0 6px"),n(be,"right","50.3%"),l(we,"class","message svelte-1o9zg7r"),l(Ve,"class","triangle-down svelte-1o9zg7r"),l(X,"class","resultDisplay svelte-1o9zg7r"),n(X,"right",le(o[8])),l(U,"class","result2 svelte-1o9zg7r"),n(U,"padding",se(o[8])),n(U,"margin",oe(o[8])),n(U,"border-radius",ne(o[8])),l(E,"class","middleParent svelte-1o9zg7r"),l(W,"class","content svelte-1o9zg7r"),l(me,"class","row svelte-1o9zg7r"),l(Ae,"class","label svelte-1o9zg7r"),l(Te,"class","min svelte-1o9zg7r"),l(Me,"class","max svelte-1o9zg7r"),l(We,"class","xAxis svelte-1o9zg7r"),l(Xe,"class","yAxis svelte-1o9zg7r"),l(he,"class","diseaseArea svelte-1o9zg7r"),n(he,"border-radius","6px 0 0 6px"),n(he,"right","50.3%"),l(ke,"class","message svelte-1o9zg7r"),l(it,"class","triangle-down svelte-1o9zg7r"),l(ee,"class","resultDisplay svelte-1o9zg7r"),n(ee,"right",le(o[12])),l(K,"class","result3 svelte-1o9zg7r"),n(K,"padding",se(o[12])),n(K,"margin",oe(o[12])),n(K,"border-radius",ne(o[12])),l(J,"class","middleParent svelte-1o9zg7r"),l(_,"class","content svelte-1o9zg7r"),l(ve,"class","row svelte-1o9zg7r"),l(Ge,"class","label svelte-1o9zg7r"),l($e,"class","min svelte-1o9zg7r"),l(He,"class","max svelte-1o9zg7r"),l(at,"class","xAxis svelte-1o9zg7r"),l(dt,"class","yAxis svelte-1o9zg7r"),l(xe,"class","diseaseArea svelte-1o9zg7r"),n(xe,"border-radius","6px 0 0 6px"),n(xe,"right","50.3%"),l(Be,"class","message svelte-1o9zg7r"),l(pt,"class","triangle-down svelte-1o9zg7r"),l(re,"class","resultDisplay svelte-1o9zg7r"),n(re,"right",le(o[16])),l(Y,"class","result3 svelte-1o9zg7r"),n(Y,"padding",se(o[16])),n(Y,"margin",oe(o[16])),n(Y,"border-radius",ne(o[16])),l(V,"class","middleParent svelte-1o9zg7r"),l(te,"class","content svelte-1o9zg7r"),l(pe,"class","row svelte-1o9zg7r"),l(Ce,"class","lastRow svelte-1o9zg7r"),l(t,"class","main svelte-1o9zg7r")},m(v,u){f(v,t,u),e(t,r),e(r,d),e(r,c),e(r,g),e(g,s),e(s,a),e(a,b),e(g,h),e(g,x),e(x,B),e(B,Q),e(g,z),e(g,T),e(T,Z),e(T,D),e(T,R),e(T,I),e(T,G),e(T,P),e(T,$),e($,N),e(N,H),e(H,L),e(L,C),e(L,q),e(L,S),e(L,M),e(M,k),e(L,F),e(N,ae),e(N,ue),e(t,j),e(t,me),e(me,ze),e(me,ht),e(me,W),e(W,fe),e(fe,Se),e(Se,De),e(W,xt),e(W,ye),e(ye,Ie),e(Ie,Pe),e(W,zt),e(W,E),e(E,Fe),e(E,ft),e(E,je),e(E,yt),e(E,be),e(E,wt),e(E,U),e(U,X),e(X,we),e(we,de),e(de,Ee),e(de,Lt),e(de,Ue),e(de,Je),e(Je,Ke),e(de,At),e(X,Tt),e(X,Ve),e(t,Mt),e(t,ve),e(ve,Ae),e(ve,kt),e(ve,_),e(_,Te),e(Te,Ye),e(Ye,Oe),e(_,Nt),e(_,Me),e(Me,Qe),e(Qe,Re),e(_,Gt),e(_,J),e(J,We),e(J,$t),e(J,Xe),e(J,Ht),e(J,he),e(J,Bt),e(J,K),e(K,ee),e(ee,ke),e(ke,ge),e(ge,_e),e(ge,Zt),e(ge,et),e(ge,tt),e(tt,rt),e(ge,Ct),e(ee,qt),e(ee,it),e(t,St),e(t,pe),e(pe,Ge),e(pe,Dt),e(pe,te),e(te,$e),e($e,lt),e(lt,st),e(te,It),e(te,He),e(He,ot),e(ot,nt),e(te,Pt),e(te,V),e(V,at),e(V,Ft),e(V,dt),e(V,jt),e(V,xe),e(V,Et),e(V,Y),e(Y,re),e(re,Be),e(Be,ce),e(ce,gt),e(ce,Ut),e(ce,ct),e(ce,mt),e(mt,vt),e(ce,Jt),e(re,Kt),e(re,pt),e(t,Vt),e(t,Ce)},p(v,u){u&2&&w(b,v[1]),u&4&&w(Q,v[2]),u&8&&w(C,v[3]),u&16&&w(S,v[4]),u&16&&A!==(A=ie(v[4])+"")&&w(k,A),u&16&&n(N,"right",le(v[4])),u&16&&n($,"padding",se(v[4])),u&16&&n($,"margin",oe(v[4])),u&16&&n($,"border-radius",ne(v[4])),u&32&&w(De,v[5]),u&64&&w(Pe,v[6]),u&128&&w(Ee,v[7]),u&256&&w(Ue,v[8]),u&256&&Le!==(Le=ie(v[8])+"")&&w(Ke,Le),u&256&&n(X,"right",le(v[8])),u&256&&n(U,"padding",se(v[8])),u&256&&n(U,"margin",oe(v[8])),u&256&&n(U,"border-radius",ne(v[8])),u&512&&w(Oe,v[9]),u&1024&&w(Re,v[10]),u&2048&&w(_e,v[11]),u&4096&&w(et,v[12]),u&4096&&Ne!==(Ne=ie(v[12])+"")&&w(rt,Ne),u&4096&&n(ee,"right",le(v[12])),u&4096&&n(K,"padding",se(v[12])),u&4096&&n(K,"margin",oe(v[12])),u&4096&&n(K,"border-radius",ne(v[12])),u&8192&&w(st,v[13]),u&16384&&w(nt,v[14]),u&32768&&w(gt,v[15]),u&65536&&w(ct,v[16]),u&65536&&Ze!==(Ze=ie(v[16])+"")&&w(vt,Ze),u&65536&&n(re,"right",le(v[16])),u&65536&&n(Y,"padding",se(v[16])),u&65536&&n(Y,"margin",oe(v[16])),u&65536&&n(Y,"border-radius",ne(v[16]))},d(v){v&&y(t)}}}function ar(o){let t,r=o[20]&&Yt(o);return{c(){r&&r.c(),t=ut()},m(d,c){r&&r.m(d,c),f(d,t,c)},p(d,c){d[20]?r?r.p(d,c):(r=Yt(d),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(d){d&&y(t),r&&r.d(d)}}}function dr(o){let t,r,d,c=o[17]&&Rt(o),g=o[18]&&Wt(o),s=o[19]&&Xt(o);return{c(){t=i("div"),c&&c.c(),r=m(),g&&g.c(),d=m(),s&&s.c(),l(t,"class","header svelte-1o9zg7r")},m(a,b){f(a,t,b),c&&c.m(t,null),e(t,r),g&&g.m(t,null),e(t,d),s&&s.m(t,null)},p(a,b){a[17]?c?c.p(a,b):(c=Rt(a),c.c(),c.m(t,r)):c&&(c.d(1),c=null),a[18]?g?g.p(a,b):(g=Wt(a),g.c(),g.m(t,d)):g&&(g.d(1),g=null),a[19]?s?s.p(a,b):(s=Xt(a),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(a){a&&y(t),c&&c.d(),g&&g.d(),s&&s.d()}}}function Yt(o){let t;function r(g,s){return g[19]?cr:gr}let d=r(o),c=d(o);return{c(){c.c(),t=ut()},m(g,s){c.m(g,s),f(g,t,s)},p(g,s){d===(d=r(g))&&c?c.p(g,s):(c.d(1),c=d(g),c&&(c.c(),c.m(t.parentNode,t)))},d(g){g&&y(t),c.d(g)}}}function gr(o){let t,r,d,c,g,s,a,b,h,x,B,Q,z,T,Z,D,R,I,G,P,$,N,H,L,C,q,S,M,A=o[17]&&Ot(),k=o[18]&&Qt();return{c(){t=i("div"),r=i("div"),d=i("div"),A&&A.c(),c=m(),k&&k.c(),g=m(),s=i("div"),a=p("There is "),b=i("b"),b.textContent=`${o[25]()}`,h=p(" of glycan indexes between "),x=i("br"),B=p(` your patient and ulcerative
2
+ colitis patients.`),Q=m(),z=i("div"),T=i("div"),T.textContent="Symptoms to check for:",Z=m(),D=i("div"),D.innerHTML=`<b>Diarrhea with blood or pus:</b> Inflammation in the colon and rectum leads to <br/>
3
+ diarrhea, often accompanied by blood or pus.`,R=m(),I=i("div"),I.innerHTML=`<b>Abdominal pain and cramping:</b> Inflammation and ulcers in the colon cause <br/>
4
+ abdominal discomfort and cramping.`,G=m(),P=i("div"),P.innerHTML=`<b>Urgency to defecate:</b> Irritation of the rectal lining causes a frequent and urgent
5
+ <br/> need to defecate.`,$=m(),N=i("div"),N.textContent="Possible follow-up tests:",H=m(),L=i("div"),L.innerHTML="<b>Stool:</b> FIT (faecal immunochemical test), faecal calprotectin, stool MCS.",C=m(),q=i("div"),q.innerHTML=`<b>Basic blood tests:</b> Full blood count (checking for iron deficiency anaemia), <br/>
6
+ renal function, liver function, bone profile, CRP.`,S=m(),M=i("div"),M.innerHTML="<b>CT colonoscopy.</b>",n(d,"width","10%"),n(d,"padding-left","1.5rem"),n(d,"padding-right","1rem"),n(s,"width","90%"),l(r,"class","summaryHeader svelte-1o9zg7r"),n(r,"border-radius","8px 8px 0 0"),n(r,"background-color",o[23]()),n(r,"border-bottom","2px solid "+o[22]()),n(T,"font-size","1.2rem"),n(T,"padding-bottom","1rem"),n(D,"font-size","0.7rem"),n(D,"padding-bottom","0.4rem"),n(I,"font-size","0.7rem"),n(I,"padding-bottom","0.4rem"),n(P,"font-size","0.7rem"),n(P,"padding-bottom","0.4rem"),n(N,"font-size","1.2rem"),n(N,"padding-top","1.2rem"),n(N,"padding-bottom","1rem"),n(L,"font-size","0.7rem"),n(L,"padding-bottom","0.4rem"),n(q,"font-size","0.7rem"),n(q,"padding-bottom","0.4rem"),n(M,"font-size","0.7rem"),n(M,"padding-bottom","0.4rem"),l(z,"class","summaryBody svelte-1o9zg7r"),n(z,"background-color",o[24]()),l(t,"class","summaryMain svelte-1o9zg7r"),n(t,"border","2px solid "+o[22]())},m(F,ae){f(F,t,ae),e(t,r),e(r,d),A&&A.m(d,null),e(d,c),k&&k.m(d,null),e(r,g),e(r,s),e(s,a),e(s,b),e(s,h),e(s,x),e(s,B),e(t,Q),e(t,z),e(z,T),e(z,Z),e(z,D),e(z,R),e(z,I),e(z,G),e(z,P),e(z,$),e(z,N),e(z,H),e(z,L),e(z,C),e(z,q),e(z,S),e(z,M)},p(F,ae){F[17]?A||(A=Ot(),A.c(),A.m(d,c)):A&&(A.d(1),A=null),F[18]?k||(k=Qt(),k.c(),k.m(d,null)):k&&(k.d(1),k=null)},d(F){F&&y(t),A&&A.d(),k&&k.d()}}}function cr(o){let t;return{c(){t=i("div"),t.innerHTML=`<div class="summaryHeader svelte-1o9zg7r" style="border-radius: 8px; background-color: rgba(0,170,68,0.15); border: 2px solid #00AA44;"><div style="width: 10%; padding-left: 1.5rem; padding-right: 1rem;"><svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="0 0 24 24"><path fill="#00AA44" 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"></path></svg></div> <div style="width: 90%;">There is <b>no significant overlap</b> of glycan indexes between <br/> your patient and
8
7
  ulcerative colitis patients.</div></div> <div class="summaryBody svelte-1o9zg7r" style="opacity: 0.35;"><div style="font-size: 1.2rem; padding-bottom: 1rem;">Symptoms to check for:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Diarrhea with blood or pus:</b> Inflammation in the colon and rectum leads to <br/>
9
8
  diarrhea, often accompanied by blood or pus.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Abdominal pain and cramping:</b> Inflammation and ulcers in the colon cause <br/>
10
- abdominal discomfort and cramping.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Urgency to Defecate:</b> Irritation of the rectal lining causes a frequent and urgent
11
- <br/> need to defecate.</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Colonoscopy:</b> This allows direct visualization and biopsy of the colon to assess
12
- <br/> inflammation and confirm UC diagnosis.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Stool test:</b> Evaluating stool samples can help rule out infections or other disorders.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blood tests:</b> These can assess inflammatory markers and other relevant <br/>
13
- indicators for UC.</div></div>`,i(t,"class","summaryMain svelte-1o9zg7r")},m(r,n){T(r,t,n)},p:bt,d(r){r&&A(t)}}}function Yt(s){let t,r;return{c(){t=W("svg"),r=W("path"),i(r,"fill","#CC0000"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(n,a){T(n,t,a),e(t,r)},d(n){n&&A(t)}}}function _t(s){let t,r;return{c(){t=W("svg"),r=W("path"),i(r,"fill","#EE9933"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(n,a){T(n,t,a),e(t,r)},d(n){n&&A(t)}}}function Ft(s){let t,r,n;return{c(){t=W("svg"),r=W("path"),n=b(`
14
- \xA0 Significant overlap`),i(r,"fill","#CC0000"),i(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"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,d){T(a,t,d),e(t,r),T(a,n,d)},d(a){a&&(A(t),A(n))}}}function Ot(s){let t,r,n;return{c(){t=W("svg"),r=W("path"),n=b(`
15
- \xA0 Some overlap`),i(r,"fill","#EE9933"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,d){T(a,t,d),e(t,r),T(a,n,d)},d(a){a&&(A(t),A(n))}}}function Qt(s){let t,r,n;return{c(){t=W("svg"),r=W("path"),n=b(`
16
- \xA0 No overlap`),i(r,"fill","#00AA44"),i(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(a,d){T(a,t,d),e(t,r),T(a,n,d)},d(a){a&&(A(t),A(n))}}}function mr(s){let t,r,n;function a(c,u){return c[0]==="header"?dr:c[0]==="summary"?ar:nr}let d=a(s),g=d(s);return{c(){t=l("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',r=m(),g.c(),n=pt()},m(c,u){T(c,t,u),T(c,r,u),g.m(c,u),T(c,n,u)},p(c,[u]){d===(d=a(c))&&g?g.p(c,u):(g.d(1),g=d(c),g&&(g.c(),g.m(n.parentNode,n)))},i:bt,o:bt,d(c){c&&(A(t),A(r),A(n)),g.d(c)}}}function vr(s,t,r){let{language:n}=t,{report:a}=t,{type:d}=t,{service:g=window.GaReportService}=t,c,u=0,F=0,P=0,$=0,Y=0,h=0,y=0,H=0,D=0,_=0,G=0,M=0,E=0,k=0,L=0,N=0,z=!1,C=!1,Z=!1,q=!1;function S(){return z?"#CC0000":C?"#EE9933":"#00AA44"}function x(){return z?"rgba(204,0,0,0.15)":C?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function w(){return z?"rgba(204,0,0,0.05)":C?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function I(){return z?"a significant overlap":C?"some overlap":"no significant overlap"}return sr(async()=>{if(c=await g.getReport(a),r(1,u=Number(c.G0xmin)),r(2,F=Number(c.G0xmax)),r(3,P=Number(c.G0yourscore)),r(4,$=Number(c.G0percentile)),r(5,Y=Number(c.G1xmin)),r(6,h=Number(c.G1xmax)),r(7,y=Number(c.G1yourscore)),r(8,H=Number(c.G1percentile)),r(9,D=Number(c.G2xmin)),r(10,_=Number(c.G2xmax)),r(11,G=Number(c.G2yourscore)),r(12,M=Number(c.G2percentile)),r(13,E=Number(c.Bxmin)),r(14,k=Number(c.Bxmax)),r(15,L=Number(c.Byourscore)),r(16,N=Number(c.Bpercentile)),$>50&&H<50&&M<50&&N<50){r(17,z=!0),r(20,q=!0);return}if($>50||H<50||M<50||N<50){if($>50&&H<50&&M<50||$>50&&H<50&&N<50||H<50&&M<50&&N<50||$>50&&M<50&&N<50){r(18,C=!0),r(20,q=!0);return}r(19,Z=!0),r(20,q=!0);return}r(19,Z=!0),r(20,q=!0)}),s.$$set=B=>{"language"in B&&r(25,n=B.language),"report"in B&&r(26,a=B.report),"type"in B&&r(0,d=B.type),"service"in B&&r(27,g=B.service)},[d,u,F,P,$,Y,h,y,H,D,_,G,M,E,k,L,N,z,C,Z,q,S,x,w,I,n,a,g]}class Xt extends tr{constructor(t){super(),rr(this,t,vr,mr,ir,{language:25,report:26,type:0,service:27},or)}get language(){return this.$$.ctx[25]}set language(t){this.$$set({language:t}),Ze()}get report(){return this.$$.ctx[26]}set report(t){this.$$set({report:t}),Ze()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),Ze()}get service(){return this.$$.ctx[27]}set service(t){this.$$set({service:t}),Ze()}}customElements.define("ga-colitis",er(Xt,{language:{},report:{},type:{},service:{}},[],[],!0));export{Xt as default};
9
+ abdominal discomfort and cramping.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Urgency to defecate:</b> Irritation of the rectal lining causes a frequent and urgent
10
+ <br/> need to defecate.</div> <div style="font-size: 1.2rem; padding-top: 1.2rem;padding-bottom: 1rem;">Possible follow-up tests:</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Stool:</b> FIT (faecal immunochemical test), faecal calprotectin, stool MCS.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Basic blood tests:</b> Full blood count (checking for iron deficiency anaemia), <br/>
11
+ renal function, liver function, bone profile, CRP.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>CT colonoscopy.</b></div></div>`,l(t,"class","summaryMain svelte-1o9zg7r")},m(r,d){f(r,t,d)},p:bt,d(r){r&&y(t)}}}function Ot(o){let t,r;return{c(){t=O("svg"),r=O("path"),l(r,"fill","#CC0000"),l(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"),l(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","50"),l(t,"height","50"),l(t,"viewBox","0 0 24 24")},m(d,c){f(d,t,c),e(t,r)},d(d){d&&y(t)}}}function Qt(o){let t,r;return{c(){t=O("svg"),r=O("path"),l(r,"fill","#EE9933"),l(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.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(t,"xmlns","http://www.w3.org/2000/svg"),l(t,"width","50"),l(t,"height","50"),l(t,"viewBox","0 0 24 24")},m(d,c){f(d,t,c),e(t,r)},d(d){d&&y(t)}}}function Rt(o){let t,r,d,c,g,s,a,b;return{c(){t=i("div"),r=i("b"),d=p(o[21]),c=p("/4"),g=m(),s=O("svg"),a=O("path"),b=p(`
12
+ \xA0 Some overlap`),n(t,"padding-right","10px"),l(a,"fill","#F2590D"),l(a,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),l(s,"xmlns","http://www.w3.org/2000/svg"),l(s,"width","24"),l(s,"height","24"),l(s,"viewBox","0 0 24 24")},m(h,x){f(h,t,x),e(t,r),e(r,d),e(r,c),f(h,g,x),f(h,s,x),e(s,a),f(h,b,x)},p(h,x){x&2097152&&w(d,h[21])},d(h){h&&(y(t),y(g),y(s),y(b))}}}function Wt(o){let t,r,d,c,g,s,a,b;return{c(){t=i("div"),r=i("b"),d=p(o[21]),c=p("/4"),g=m(),s=O("svg"),a=O("path"),b=p(`
13
+ \xA0 Minor overlap`),n(t,"padding-right","10px"),l(a,"fill","#FFAA00"),l(a,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(s,"xmlns","http://www.w3.org/2000/svg"),l(s,"width","24"),l(s,"height","24"),l(s,"viewBox","0 0 24 24")},m(h,x){f(h,t,x),e(t,r),e(r,d),e(r,c),f(h,g,x),f(h,s,x),e(s,a),f(h,b,x)},p(h,x){x&2097152&&w(d,h[21])},d(h){h&&(y(t),y(g),y(s),y(b))}}}function Xt(o){let t,r,d,c,g,s,a,b;return{c(){t=i("div"),r=i("b"),d=p(o[21]),c=p("/4"),g=m(),s=O("svg"),a=O("path"),b=p(`
14
+ \xA0 No significant overlap`),n(t,"padding-right","10px"),l(a,"fill","#12A195"),l(a,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),l(s,"xmlns","http://www.w3.org/2000/svg"),l(s,"width","24"),l(s,"height","24"),l(s,"viewBox","0 0 24 24")},m(h,x){f(h,t,x),e(t,r),e(r,d),e(r,c),f(h,g,x),f(h,s,x),e(s,a),f(h,b,x)},p(h,x){x&2097152&&w(d,h[21])},d(h){h&&(y(t),y(g),y(s),y(b))}}}function mr(o){let t,r,d;function c(a,b){return a[0]==="header"?dr:a[0]==="summary"?ar:nr}let g=c(o),s=g(o);return{c(){t=i("head"),t.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',r=m(),s.c(),d=ut()},m(a,b){f(a,t,b),f(a,r,b),s.m(a,b),f(a,d,b)},p(a,[b]){g===(g=c(a))&&s?s.p(a,b):(s.d(1),s=g(a),s&&(s.c(),s.m(d.parentNode,d)))},i:bt,o:bt,d(a){a&&(y(t),y(r),y(d)),s.d(a)}}}function vr(o,t,r){let{language:d}=t,{report:c}=t,{type:g}=t,{service:s=window.GaReportService}=t,a,b=0,h=0,x=0,B=0,Q=0,z=0,T=0,Z=0,D=0,R=0,I=0,G=0,P=0,$=0,N=0,H=0,L=!1,C=!1,q=!1,S=!1,M=0;function A(){return L?"#CC0000":C?"#EE9933":"#00AA44"}function k(){return L?"rgba(204,0,0,0.15)":C?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function F(){return L?"rgba(204,0,0,0.05)":C?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function ae(){return L?"some overlap":C?"a minor overlap":"no significant overlap"}function ue(){B>50&&r(21,M++,M),Z<50&&r(21,M++,M),G<50&&r(21,M++,M),H<50&&r(21,M++,M)}return sr(async()=>{if(a=await s.getReport(c),r(1,b=Number(a.G0xmin)),r(2,h=Number(a.G0xmax)),r(3,x=Number(a.G0yourscore)),r(4,B=Number(a.G0percentile)),r(5,Q=Number(a.G1xmin)),r(6,z=Number(a.G1xmax)),r(7,T=Number(a.G1yourscore)),r(8,Z=Number(a.G1percentile)),r(9,D=Number(a.G2xmin)),r(10,R=Number(a.G2xmax)),r(11,I=Number(a.G2yourscore)),r(12,G=Number(a.G2percentile)),r(13,P=Number(a.Bxmin)),r(14,$=Number(a.Bxmax)),r(15,N=Number(a.Byourscore)),r(16,H=Number(a.Bpercentile)),ue(),B>50&&Z<50&&G<50&&H<50){r(17,L=!0),r(20,S=!0);return}if(B>50||Z<50||G<50||H<50){if(B>50&&Z<50&&G<50||B>50&&Z<50&&H<50||Z<50&&G<50&&H<50||B>50&&G<50&&H<50){r(18,C=!0),r(20,S=!0);return}r(19,q=!0),r(20,S=!0);return}r(19,q=!0),r(20,S=!0)}),o.$$set=j=>{"language"in j&&r(26,d=j.language),"report"in j&&r(27,c=j.report),"type"in j&&r(0,g=j.type),"service"in j&&r(28,s=j.service)},[g,b,h,x,B,Q,z,T,Z,D,R,I,G,P,$,N,H,L,C,q,S,M,A,k,F,ae,d,c,s]}class _t extends tr{constructor(t){super(),rr(this,t,vr,mr,ir,{language:26,report:27,type:0,service:28},or)}get language(){return this.$$.ctx[26]}set language(t){this.$$set({language:t}),qe()}get report(){return this.$$.ctx[27]}set report(t){this.$$set({report:t}),qe()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),qe()}get service(){return this.$$.ctx[28]}set service(t){this.$$set({service:t}),qe()}}customElements.define("ga-colitis",er(_t,{language:{},report:{},type:{},service:{}},[],[],!0));export{_t as default};