@glycanage/web-components 1.25.0 → 1.27.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,22 @@
1
- import{c as Pe,S as Oe,i as Ie,f as se,s as Ke,a as Ve,e as o,b as c,d as we,g as j,n as je,h as L,o as We,t as f,j as s,k as p,l as t,m as Z,p as E}from"./index2.js";import{s as le,m as de,g as oe,a as ne,b as ae}from"./helpers.js";function Ye(n){Ve(n,"svelte-d7pztj",".main.svelte-d7pztj{width:450px;height:222px;background-color:#F0F6F5;border:2px solid #C8DBD0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-d7pztj{width:500px;height:500px;border-radius:10px;display:flex;flex-direction:column}.summaryHeader.svelte-d7pztj{width:100%;height:30%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-d7pztj{width:95%;height:100%;padding:1.5rem 0 0 1.5rem}.row.svelte-d7pztj{width:100%;height:23%;display:flex}.label.svelte-d7pztj{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-d7pztj{width:86%;height:100%;position:relative}.min.svelte-d7pztj{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6B8678}.middleParent.svelte-d7pztj{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-d7pztj{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-d7pztj{position:absolute;width:46%;top:10%;height:80%;background-color:#C8DBD0}.result.svelte-d7pztj{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result2.svelte-d7pztj{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.yAxis.svelte-d7pztj{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341F;border-radius:10px}.max.svelte-d7pztj{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6B8678}.lastRow.svelte-d7pztj{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-d7pztj{height:10px;width:10px;border-radius:99px;background-color:#C8DBD0;border:1px solid black;margin-right:6px}.dot2.svelte-d7pztj{height:10px;width:10px;border-radius:99px;background-color:#33664D;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-d7pztj{position:absolute;bottom:60%;display:flex;align-items:center;flex-direction:column}.message.svelte-d7pztj{color:#33664D;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-7px}.triangle-down.svelte-d7pztj{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-d7pztj{width:100%;height:100%;display:flex;align-items:center}")}function Qe(n){let e,i,r,l,d,a,m,g,P,B,C,G,v,y,M,A,D,$,k,S,T,z,q,h,W,O,Y,F,x=le(n[4])+"",w,R,_,pe,Le,Q,U,Ae,I,X,me,ce,Te,ee,ve,he,De,H,be,ke,ge,Ce,J,Me,N,K,te,V,ue,$e,fe,ye,ie=le(n[8])+"",xe,Be,Se,ze,He,re;return{c(){e=o("div"),i=o("div"),r=o("div"),r.innerHTML="Glycan<br/><b>Mature</b>",l=c(),d=o("div"),a=o("div"),m=o("b"),g=f(n[1]),P=c(),B=o("div"),C=o("b"),G=f(n[2]),v=c(),y=o("div"),M=o("div"),A=c(),D=o("div"),$=c(),k=o("div"),S=c(),T=o("div"),z=o("div"),q=o("div"),h=o("b"),W=f(n[3]),O=f(" ("),Y=f(n[4]),F=o("sup"),w=f(x),R=f(" percentile)"),_=c(),pe=o("div"),Le=c(),Q=o("div"),U=o("div"),U.innerHTML="Glycan<br/> <b>Shield</b>",Ae=c(),I=o("div"),X=o("div"),me=o("b"),ce=f(n[5]),Te=c(),ee=o("div"),ve=o("b"),he=f(n[6]),De=c(),H=o("div"),be=o("div"),ke=c(),ge=o("div"),Ce=c(),J=o("div"),Me=c(),N=o("div"),K=o("div"),te=o("div"),V=o("b"),ue=f(n[7]),$e=f(" ("),fe=f(n[8]),ye=o("sup"),xe=f(ie),Be=f(" percentile)"),Se=c(),ze=o("div"),He=c(),re=o("div"),re.innerHTML='<div class="dot1 svelte-d7pztj"></div> <div style="font-size: 0.8rem;">Coronary artery disease</div> <div class="dot2 svelte-d7pztj"></div> <div style="font-size: 0.8rem;">Your patient</div>',s(r,"class","label svelte-d7pztj"),s(a,"class","min svelte-d7pztj"),s(B,"class","max svelte-d7pztj"),s(M,"class","xAxis svelte-d7pztj"),s(D,"class","yAxis svelte-d7pztj"),s(k,"class","diseaseArea svelte-d7pztj"),p(k,"border-radius","0 6px 6px 0"),p(k,"left","50.3%"),s(q,"class","message svelte-d7pztj"),s(pe,"class","triangle-down svelte-d7pztj"),s(z,"class","resultDisplay svelte-d7pztj"),p(z,"right",de(n[4])),s(T,"class","result svelte-d7pztj"),p(T,"padding",oe(n[4])),p(T,"margin",ne(n[4])),p(T,"border-radius",ae(n[4])),s(y,"class","middleParent svelte-d7pztj"),s(d,"class","content svelte-d7pztj"),s(i,"class","row svelte-d7pztj"),s(U,"class","label svelte-d7pztj"),s(X,"class","min svelte-d7pztj"),s(ee,"class","max svelte-d7pztj"),s(be,"class","xAxis svelte-d7pztj"),s(ge,"class","yAxis svelte-d7pztj"),s(J,"class","diseaseArea svelte-d7pztj"),p(J,"border-radius","6px 0 0 6px"),p(J,"right","50.3%"),s(te,"class","message svelte-d7pztj"),s(ze,"class","triangle-down svelte-d7pztj"),s(K,"class","resultDisplay svelte-d7pztj"),p(K,"right",de(n[8])),s(N,"class","result2 svelte-d7pztj"),p(N,"padding",oe(n[8])),p(N,"margin",ne(n[8])),p(N,"border-radius",ae(n[8])),s(H,"class","middleParent svelte-d7pztj"),s(I,"class","content svelte-d7pztj"),s(Q,"class","row svelte-d7pztj"),s(re,"class","lastRow svelte-d7pztj"),s(e,"class","main svelte-d7pztj")},m(b,u){j(b,e,u),t(e,i),t(i,r),t(i,l),t(i,d),t(d,a),t(a,m),t(m,g),t(d,P),t(d,B),t(B,C),t(C,G),t(d,v),t(d,y),t(y,M),t(y,A),t(y,D),t(y,$),t(y,k),t(y,S),t(y,T),t(T,z),t(z,q),t(q,h),t(h,W),t(h,O),t(h,Y),t(h,F),t(F,w),t(h,R),t(z,_),t(z,pe),t(e,Le),t(e,Q),t(Q,U),t(Q,Ae),t(Q,I),t(I,X),t(X,me),t(me,ce),t(I,Te),t(I,ee),t(ee,ve),t(ve,he),t(I,De),t(I,H),t(H,be),t(H,ke),t(H,ge),t(H,Ce),t(H,J),t(H,Me),t(H,N),t(N,K),t(K,te),t(te,V),t(V,ue),t(V,$e),t(V,fe),t(V,ye),t(ye,xe),t(V,Be),t(K,Se),t(K,ze),t(e,He),t(e,re)},p(b,u){u&2&&Z(g,b[1]),u&4&&Z(G,b[2]),u&8&&Z(W,b[3]),u&16&&Z(Y,b[4]),u&16&&x!==(x=le(b[4])+"")&&Z(w,x),u&16&&p(z,"right",de(b[4])),u&16&&p(T,"padding",oe(b[4])),u&16&&p(T,"margin",ne(b[4])),u&16&&p(T,"border-radius",ae(b[4])),u&32&&Z(ce,b[5]),u&64&&Z(he,b[6]),u&128&&Z(ue,b[7]),u&256&&Z(fe,b[8]),u&256&&ie!==(ie=le(b[8])+"")&&Z(xe,ie),u&256&&p(K,"right",de(b[8])),u&256&&p(N,"padding",oe(b[8])),u&256&&p(N,"margin",ne(b[8])),u&256&&p(N,"border-radius",ae(b[8]))},d(b){b&&L(e)}}}function _e(n){let e,i=n[12]&&Ne(n);return{c(){i&&i.c(),e=we()},m(r,l){i&&i.m(r,l),j(r,e,l)},p(r,l){r[12]?i?i.p(r,l):(i=Ne(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},d(r){r&&L(e),i&&i.d(r)}}}function Je(n){let e,i,r,l=n[9]&&Ge(),d=n[10]&&qe(),a=n[11]&&Fe();return{c(){e=o("div"),l&&l.c(),i=c(),d&&d.c(),r=c(),a&&a.c(),s(e,"class","header svelte-d7pztj")},m(m,g){j(m,e,g),l&&l.m(e,null),t(e,i),d&&d.m(e,null),t(e,r),a&&a.m(e,null)},p(m,g){m[9]?l||(l=Ge(),l.c(),l.m(e,i)):l&&(l.d(1),l=null),m[10]?d||(d=qe(),d.c(),d.m(e,r)):d&&(d.d(1),d=null),m[11]?a||(a=Fe(),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},d(m){m&&L(e),l&&l.d(),d&&d.d(),a&&a.d()}}}function Ne(n){let e;function i(d,a){return d[11]?Xe:Ue}let r=i(n),l=r(n);return{c(){l.c(),e=we()},m(d,a){l.m(d,a),j(d,e,a)},p(d,a){r===(r=i(d))&&l?l.p(d,a):(l.d(1),l=r(d),l&&(l.c(),l.m(e.parentNode,e)))},d(d){d&&L(e),l.d(d)}}}function Ue(n){let e,i,r,l,d,a,m,g,P,B,C,G,v,y,M,A,D,$,k,S,T,z,q,h,W,O,Y,F,x=n[9]&&Ze(),w=n[10]&&Ee();return{c(){e=o("div"),i=o("div"),r=o("div"),x&&x.c(),l=c(),w&&w.c(),d=c(),a=o("div"),m=f("There is "),g=o("b"),g.textContent=`${n[16]()}`,P=f(" of glycan indexes between "),B=o("br"),C=f(" your patient and coronary artery disease patients."),G=c(),v=o("div"),y=o("div"),y.textContent="Symptoms to check for:",M=c(),A=o("div"),A.innerHTML=`<b>Chest Discomfort or Pain:</b> Often more subtle in women, can indicate <br/>
2
- reduced blood flow to the heart.`,D=c(),$=o("div"),$.innerHTML=`<b>Nausea or Fatigue:</b> Women may experience these symptoms more often <br/>
3
- than men due to heart strain.`,k=c(),S=o("div"),S.innerHTML=`<b>Shortness of Breath:</b> A sign of heart struggling to pump effectively, not <br/>
4
- necessarily accompanied by chest pain.`,T=c(),z=o("div"),z.textContent="Possible follow-up tests:",q=c(),h=o("div"),h.innerHTML=`<b>EKG/ECG:</b> Detects electrical abnormalities in the heart that can arise from <br/>
5
- reduced coronary blood flow.`,W=c(),O=o("div"),O.innerHTML=`<b>Stress Test:</b> Assesses how the heart functions under stress, can reveal hidden <br/>
6
- problems with blood flow.`,Y=c(),F=o("div"),F.innerHTML=`<b>Coronary Angiography:</b> Directly visualizes the coronary arteries to identify <br/>
7
- any blockages or narrowing.`,p(r,"width","10%"),p(r,"padding-left","1.5rem"),p(r,"padding-right","1rem"),p(a,"width","90%"),s(i,"class","summaryHeader svelte-d7pztj"),p(i,"border-radius","8px 8px 0 0"),p(i,"background-color",n[14]()),p(i,"border-bottom","2px solid "+n[13]()),p(y,"font-size","1.2rem"),p(y,"padding-bottom","1rem"),p(A,"font-size","0.7rem"),p(A,"padding-bottom","0.4rem"),p($,"font-size","0.7rem"),p($,"padding-bottom","0.4rem"),p(S,"font-size","0.7rem"),p(S,"padding-bottom","0.4rem"),p(z,"font-size","1.2rem"),p(z,"padding-top","1.2rem"),p(z,"padding-bottom","1rem"),p(h,"font-size","0.7rem"),p(h,"padding-bottom","0.4rem"),p(O,"font-size","0.7rem"),p(O,"padding-bottom","0.4rem"),p(F,"font-size","0.7rem"),p(F,"padding-bottom","0.4rem"),s(v,"class","summaryBody svelte-d7pztj"),p(v,"background-color",n[15]()),s(e,"class","summaryMain svelte-d7pztj"),p(e,"border","2px solid "+n[13]())},m(R,_){j(R,e,_),t(e,i),t(i,r),x&&x.m(r,null),t(r,l),w&&w.m(r,null),t(i,d),t(i,a),t(a,m),t(a,g),t(a,P),t(a,B),t(a,C),t(e,G),t(e,v),t(v,y),t(v,M),t(v,A),t(v,D),t(v,$),t(v,k),t(v,S),t(v,T),t(v,z),t(v,q),t(v,h),t(v,W),t(v,O),t(v,Y),t(v,F)},p(R,_){R[9]?x||(x=Ze(),x.c(),x.m(r,l)):x&&(x.d(1),x=null),R[10]?w||(w=Ee(),w.c(),w.m(r,null)):w&&(w.d(1),w=null)},d(R){R&&L(e),x&&x.d(),w&&w.d()}}}function Xe(n){let e;return{c(){e=o("div"),e.innerHTML=`<div class="summaryHeader svelte-d7pztj" 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 coronary artery disease patients.</div></div> <div class="summaryBody svelte-d7pztj" 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>Chest Discomfort or Pain:</b> Often more subtle in women, can indicate <br/>
8
- reduced blood flow to the heart.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Nausea or Fatigue:</b> Women may experience these symptoms more often <br/>
9
- than men due to heart strain.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Shortness of Breath:</b> A sign of heart struggling to pump effectively, not <br/>
10
- necessarily accompanied by chest pain.</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>EKG/ECG:</b> Detects electrical abnormalities in the heart that can arise from <br/>
11
- reduced coronary blood flow.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Stress Test:</b> Assesses how the heart functions under stress, can reveal hidden <br/>
12
- problems with blood flow.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Coronary Angiography:</b> Directly visualizes the coronary arteries to identify <br/>
13
- any blockages or narrowing.</div></div>`,s(e,"class","summaryMain svelte-d7pztj")},m(i,r){j(i,e,r)},p:je,d(i){i&&L(e)}}}function Ze(n){let e,i;return{c(){e=E("svg"),i=E("path"),s(i,"fill","#CC0000"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","50"),s(e,"height","50"),s(e,"viewBox","0 0 24 24")},m(r,l){j(r,e,l),t(e,i)},d(r){r&&L(e)}}}function Ee(n){let e,i;return{c(){e=E("svg"),i=E("path"),s(i,"fill","#EE9933"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","50"),s(e,"height","50"),s(e,"viewBox","0 0 24 24")},m(r,l){j(r,e,l),t(e,i)},d(r){r&&L(e)}}}function Ge(n){let e,i,r;return{c(){e=E("svg"),i=E("path"),r=f(`
14
- \xA0 Significant overlap`),s(i,"fill","#CC0000"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(l,d){j(l,e,d),t(e,i),j(l,r,d)},d(l){l&&(L(e),L(r))}}}function qe(n){let e,i,r;return{c(){e=E("svg"),i=E("path"),r=f(`
15
- \xA0 Some overlap`),s(i,"fill","#EE9933"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(l,d){j(l,e,d),t(e,i),j(l,r,d)},d(l){l&&(L(e),L(r))}}}function Fe(n){let e,i,r;return{c(){e=E("svg"),i=E("path"),r=f(`
16
- \xA0 No overlap`),s(i,"fill","#00AA44"),s(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"),s(e,"xmlns","http://www.w3.org/2000/svg"),s(e,"width","24"),s(e,"height","24"),s(e,"viewBox","0 0 24 24")},m(l,d){j(l,e,d),t(e,i),j(l,r,d)},d(l){l&&(L(e),L(r))}}}function et(n){let e,i,r;function l(m,g){return m[0]==="header"?Je:m[0]==="summary"?_e:Qe}let d=l(n),a=d(n);return{c(){e=o("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',i=c(),a.c(),r=we()},m(m,g){j(m,e,g),j(m,i,g),a.m(m,g),j(m,r,g)},p(m,[g]){d===(d=l(m))&&a?a.p(m,g):(a.d(1),a=d(m),a&&(a.c(),a.m(r.parentNode,r)))},i:je,o:je,d(m){m&&(L(e),L(i),L(r)),a.d(m)}}}function tt(n,e,i){let{language:r}=e,{report:l}=e,{type:d}=e,{service:a=window.GaReportService}=e,m,g=0,P=0,B=0,C=0,G=0,v=0,y=0,M=0,A=!1,D=!1,$=!1,k=!1;function S(){return A?"#CC0000":D?"#EE9933":"#00AA44"}function T(){return A?"rgba(204,0,0,0.15)":D?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function z(){return A?"rgba(204,0,0,0.05)":D?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function q(){return A?"a significant overlap":D?"some overlap":"no significant overlap"}return We(async()=>{if(m=await a.getReport(void 0),i(1,g=Number(m.G0xmin)),i(2,P=Number(m.G0xmax)),i(3,B=Number(m.G0yourscore)),i(4,C=Number(m.G0percentile)),i(5,G=Number(m.Sxmin)),i(6,v=Number(m.Sxmax)),i(7,y=Number(m.Syourscore)),i(8,M=Number(m.Spercentile)),C>50&&M<50){i(9,A=!0),i(12,k=!0);return}if(C>50||M<50){i(10,D=!0),i(12,k=!0);return}i(11,$=!0),i(12,k=!0)}),n.$$set=h=>{"language"in h&&i(17,r=h.language),"report"in h&&i(18,l=h.report),"type"in h&&i(0,d=h.type),"service"in h&&i(19,a=h.service)},[d,g,P,B,C,G,v,y,M,A,D,$,k,S,T,z,q,r,l,a]}class Re extends Oe{constructor(e){super(),Ie(this,e,tt,et,Ke,{language:17,report:18,type:0,service:19},Ye)}get language(){return this.$$.ctx[17]}set language(e){this.$$set({language:e}),se()}get report(){return this.$$.ctx[18]}set report(e){this.$$set({report:e}),se()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),se()}get service(){return this.$$.ctx[19]}set service(e){this.$$set({service:e}),se()}}customElements.define("ga-coronary",Pe(Re,{language:{},report:{},type:{},service:{}},[],[],!0));export{Re as default};
1
+ import{c as je,S as Fe,i as Ie,f as re,s as Ke,a as Ve,e as o,b as p,d as Le,g as z,n as ze,h as A,o as We,t as x,j as r,k as m,l as t,m as E,p as q}from"./index2.js";import{s as le,m as ne,g as oe,a as ae,b as de}from"./helpers.js";function Ye(a){Ve(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}.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 Qe(a){let e,s,i,l,n,d,c,u,j,N,C,D,v,g,S,T,k,H,$,Z,M,w,P,f,W,F,Y,R,b=le(a[4])+"",L,O,_,me,Ae,Q,U,Te,I,X,ce,pe,Me,ee,ve,fe,ke,B,he,$e,ue,Ce,J,Se,G,K,te,V,ye,He,xe,ge,se=le(a[8])+"",be,Ne,Ze,we,Be,ie;return{c(){e=o("div"),s=o("div"),i=o("div"),i.innerHTML="Glycan<br/><b>Mature</b>",l=p(),n=o("div"),d=o("div"),c=o("b"),u=x(a[1]),j=p(),N=o("div"),C=o("b"),D=x(a[2]),v=p(),g=o("div"),S=o("div"),T=p(),k=o("div"),H=p(),$=o("div"),Z=p(),M=o("div"),w=o("div"),P=o("div"),f=o("b"),W=x(a[3]),F=x(" ("),Y=x(a[4]),R=o("sup"),L=x(b),O=x(" percentile)"),_=p(),me=o("div"),Ae=p(),Q=o("div"),U=o("div"),U.innerHTML="Glycan<br/> <b>Shield</b>",Te=p(),I=o("div"),X=o("div"),ce=o("b"),pe=x(a[5]),Me=p(),ee=o("div"),ve=o("b"),fe=x(a[6]),ke=p(),B=o("div"),he=o("div"),$e=p(),ue=o("div"),Ce=p(),J=o("div"),Se=p(),G=o("div"),K=o("div"),te=o("div"),V=o("b"),ye=x(a[7]),He=x(" ("),xe=x(a[8]),ge=o("sup"),be=x(se),Ne=x(" percentile)"),Ze=p(),we=o("div"),Be=p(),ie=o("div"),ie.innerHTML='<div class="dot1 svelte-synmfx"></div> <div style="font-size: 0.8rem;">Coronary artery disease</div> <div class="dot2 svelte-synmfx"></div> <div style="font-size: 0.8rem;">Your patient</div>',r(i,"class","label svelte-synmfx"),r(d,"class","min svelte-synmfx"),r(N,"class","max svelte-synmfx"),r(S,"class","xAxis svelte-synmfx"),r(k,"class","yAxis svelte-synmfx"),r($,"class","diseaseArea svelte-synmfx"),m($,"border-radius","0 6px 6px 0"),m($,"left","50.3%"),r(P,"class","message svelte-synmfx"),r(me,"class","triangle-down svelte-synmfx"),r(w,"class","resultDisplay svelte-synmfx"),m(w,"right",ne(a[4])),r(M,"class","result svelte-synmfx"),m(M,"padding",oe(a[4])),m(M,"margin",ae(a[4])),m(M,"border-radius",de(a[4])),r(g,"class","middleParent svelte-synmfx"),r(n,"class","content svelte-synmfx"),r(s,"class","row svelte-synmfx"),r(U,"class","label svelte-synmfx"),r(X,"class","min svelte-synmfx"),r(ee,"class","max svelte-synmfx"),r(he,"class","xAxis svelte-synmfx"),r(ue,"class","yAxis svelte-synmfx"),r(J,"class","diseaseArea svelte-synmfx"),m(J,"border-radius","6px 0 0 6px"),m(J,"right","50.3%"),r(te,"class","message svelte-synmfx"),r(we,"class","triangle-down svelte-synmfx"),r(K,"class","resultDisplay svelte-synmfx"),m(K,"right",ne(a[8])),r(G,"class","result2 svelte-synmfx"),m(G,"padding",oe(a[8])),m(G,"margin",ae(a[8])),m(G,"border-radius",de(a[8])),r(B,"class","middleParent svelte-synmfx"),r(I,"class","content svelte-synmfx"),r(Q,"class","row svelte-synmfx"),r(ie,"class","lastRow svelte-synmfx"),r(e,"class","main svelte-synmfx")},m(h,y){z(h,e,y),t(e,s),t(s,i),t(s,l),t(s,n),t(n,d),t(d,c),t(c,u),t(n,j),t(n,N),t(N,C),t(C,D),t(n,v),t(n,g),t(g,S),t(g,T),t(g,k),t(g,H),t(g,$),t(g,Z),t(g,M),t(M,w),t(w,P),t(P,f),t(f,W),t(f,F),t(f,Y),t(f,R),t(R,L),t(f,O),t(w,_),t(w,me),t(e,Ae),t(e,Q),t(Q,U),t(Q,Te),t(Q,I),t(I,X),t(X,ce),t(ce,pe),t(I,Me),t(I,ee),t(ee,ve),t(ve,fe),t(I,ke),t(I,B),t(B,he),t(B,$e),t(B,ue),t(B,Ce),t(B,J),t(B,Se),t(B,G),t(G,K),t(K,te),t(te,V),t(V,ye),t(V,He),t(V,xe),t(V,ge),t(ge,be),t(V,Ne),t(K,Ze),t(K,we),t(e,Be),t(e,ie)},p(h,y){y&2&&E(u,h[1]),y&4&&E(D,h[2]),y&8&&E(W,h[3]),y&16&&E(Y,h[4]),y&16&&b!==(b=le(h[4])+"")&&E(L,b),y&16&&m(w,"right",ne(h[4])),y&16&&m(M,"padding",oe(h[4])),y&16&&m(M,"margin",ae(h[4])),y&16&&m(M,"border-radius",de(h[4])),y&32&&E(pe,h[5]),y&64&&E(fe,h[6]),y&128&&E(ye,h[7]),y&256&&E(xe,h[8]),y&256&&se!==(se=le(h[8])+"")&&E(be,se),y&256&&m(K,"right",ne(h[8])),y&256&&m(G,"padding",oe(h[8])),y&256&&m(G,"margin",ae(h[8])),y&256&&m(G,"border-radius",de(h[8]))},d(h){h&&A(e)}}}function _e(a){let e,s=a[12]&&Ge(a);return{c(){s&&s.c(),e=Le()},m(i,l){s&&s.m(i,l),z(i,e,l)},p(i,l){i[12]?s?s.p(i,l):(s=Ge(i),s.c(),s.m(e.parentNode,e)):s&&(s.d(1),s=null)},d(i){i&&A(e),s&&s.d(i)}}}function Je(a){let e,s,i,l=a[9]&&De(),n=a[10]&&Pe(),d=a[11]&&Re();return{c(){e=o("div"),l&&l.c(),s=p(),n&&n.c(),i=p(),d&&d.c(),r(e,"class","header svelte-synmfx")},m(c,u){z(c,e,u),l&&l.m(e,null),t(e,s),n&&n.m(e,null),t(e,i),d&&d.m(e,null)},p(c,u){c[9]?l||(l=De(),l.c(),l.m(e,s)):l&&(l.d(1),l=null),c[10]?n||(n=Pe(),n.c(),n.m(e,i)):n&&(n.d(1),n=null),c[11]?d||(d=Re(),d.c(),d.m(e,null)):d&&(d.d(1),d=null)},d(c){c&&A(e),l&&l.d(),n&&n.d(),d&&d.d()}}}function Ge(a){let e;function s(n,d){return n[11]?Xe:Ue}let i=s(a),l=i(a);return{c(){l.c(),e=Le()},m(n,d){l.m(n,d),z(n,e,d)},p(n,d){i===(i=s(n))&&l?l.p(n,d):(l.d(1),l=i(n),l&&(l.c(),l.m(e.parentNode,e)))},d(n){n&&A(e),l.d(n)}}}function Ue(a){let e,s,i,l,n,d,c,u,j,N,C,D,v,g,S,T,k,H,$,Z,M,w,P,f,W,F,Y,R,b=a[9]&&Ee(),L=a[10]&&qe();return{c(){e=o("div"),s=o("div"),i=o("div"),b&&b.c(),l=p(),L&&L.c(),n=p(),d=o("div"),c=x("There is "),u=o("b"),u.textContent=`${a[16]()}`,j=x(" of glycan indexes between "),N=o("br"),C=x(` your patient and coronary
2
+ artery disease patients.`),D=p(),v=o("div"),g=o("div"),g.textContent="Symptoms to check for:",S=p(),T=o("div"),T.innerHTML=`<b>Chest Discomfort or Pain:</b> Often more subtle in women, can indicate <br/>
3
+ reduced blood flow to the heart.`,k=p(),H=o("div"),H.innerHTML=`<b>Nausea or Fatigue:</b> Women may experience these symptoms more often <br/>
4
+ than men due to heart strain.`,$=p(),Z=o("div"),Z.innerHTML=`<b>Shortness of Breath:</b> A sign of heart struggling to pump effectively, not <br/>
5
+ necessarily accompanied by chest pain.`,M=p(),w=o("div"),w.textContent="Possible follow-up tests:",P=p(),f=o("div"),f.innerHTML=`<b>EKG/ECG:</b> Detects electrical abnormalities in the heart that can arise from <br/>
6
+ reduced coronary blood flow.`,W=p(),F=o("div"),F.innerHTML=`<b>Stress Test:</b> Assesses how the heart functions under stress, can reveal hidden
7
+ <br/>
8
+ problems with blood flow.`,Y=p(),R=o("div"),R.innerHTML=`<b>Coronary Angiography:</b> Directly visualizes the coronary arteries to identify
9
+ <br/>
10
+ any blockages or narrowing.`,m(i,"width","10%"),m(i,"padding-left","1.5rem"),m(i,"padding-right","1rem"),m(d,"width","90%"),r(s,"class","summaryHeader svelte-synmfx"),m(s,"border-radius","8px 8px 0 0"),m(s,"background-color",a[14]()),m(s,"border-bottom","2px solid "+a[13]()),m(g,"font-size","1.2rem"),m(g,"padding-bottom","1rem"),m(T,"font-size","0.7rem"),m(T,"padding-bottom","0.4rem"),m(H,"font-size","0.7rem"),m(H,"padding-bottom","0.4rem"),m(Z,"font-size","0.7rem"),m(Z,"padding-bottom","0.4rem"),m(w,"font-size","1.2rem"),m(w,"padding-top","1.2rem"),m(w,"padding-bottom","1rem"),m(f,"font-size","0.7rem"),m(f,"padding-bottom","0.4rem"),m(F,"font-size","0.7rem"),m(F,"padding-bottom","0.4rem"),m(R,"font-size","0.7rem"),m(R,"padding-bottom","0.4rem"),r(v,"class","summaryBody svelte-synmfx"),m(v,"background-color",a[15]()),r(e,"class","summaryMain svelte-synmfx"),m(e,"border","2px solid "+a[13]())},m(O,_){z(O,e,_),t(e,s),t(s,i),b&&b.m(i,null),t(i,l),L&&L.m(i,null),t(s,n),t(s,d),t(d,c),t(d,u),t(d,j),t(d,N),t(d,C),t(e,D),t(e,v),t(v,g),t(v,S),t(v,T),t(v,k),t(v,H),t(v,$),t(v,Z),t(v,M),t(v,w),t(v,P),t(v,f),t(v,W),t(v,F),t(v,Y),t(v,R)},p(O,_){O[9]?b||(b=Ee(),b.c(),b.m(i,l)):b&&(b.d(1),b=null),O[10]?L||(L=qe(),L.c(),L.m(i,null)):L&&(L.d(1),L=null)},d(O){O&&A(e),b&&b.d(),L&&L.d()}}}function Xe(a){let e;return{c(){e=o("div"),e.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
11
+ coronary artery disease 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>Chest Discomfort or Pain:</b> Often more subtle in women, can indicate <br/>
12
+ reduced blood flow to the heart.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Nausea or Fatigue:</b> Women may experience these symptoms more often <br/>
13
+ than men due to heart strain.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Shortness of Breath:</b> A sign of heart struggling to pump effectively, not <br/>
14
+ necessarily accompanied by chest pain.</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>EKG/ECG:</b> Detects electrical abnormalities in the heart that can arise from <br/>
15
+ reduced coronary blood flow.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Stress Test:</b> Assesses how the heart functions under stress, can reveal hidden
16
+ <br/>
17
+ problems with blood flow.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Coronary Angiography:</b> Directly visualizes the coronary arteries to identify
18
+ <br/>
19
+ any blockages or narrowing.</div></div>`,r(e,"class","summaryMain svelte-synmfx")},m(s,i){z(s,e,i)},p:ze,d(s){s&&A(e)}}}function Ee(a){let e,s;return{c(){e=q("svg"),s=q("path"),r(s,"fill","#CC0000"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(i,l){z(i,e,l),t(e,s)},d(i){i&&A(e)}}}function qe(a){let e,s;return{c(){e=q("svg"),s=q("path"),r(s,"fill","#EE9933"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","50"),r(e,"height","50"),r(e,"viewBox","0 0 24 24")},m(i,l){z(i,e,l),t(e,s)},d(i){i&&A(e)}}}function De(a){let e,s,i;return{c(){e=q("svg"),s=q("path"),i=x(`
20
+ \xA0 Significant overlap`),r(s,"fill","#CC0000"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(l,n){z(l,e,n),t(e,s),z(l,i,n)},d(l){l&&(A(e),A(i))}}}function Pe(a){let e,s,i;return{c(){e=q("svg"),s=q("path"),i=x(`
21
+ \xA0 Some overlap`),r(s,"fill","#EE9933"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(l,n){z(l,e,n),t(e,s),z(l,i,n)},d(l){l&&(A(e),A(i))}}}function Re(a){let e,s,i;return{c(){e=q("svg"),s=q("path"),i=x(`
22
+ \xA0 No overlap`),r(s,"fill","#00AA44"),r(s,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),r(e,"xmlns","http://www.w3.org/2000/svg"),r(e,"width","24"),r(e,"height","24"),r(e,"viewBox","0 0 24 24")},m(l,n){z(l,e,n),t(e,s),z(l,i,n)},d(l){l&&(A(e),A(i))}}}function et(a){let e,s,i;function l(c,u){return c[0]==="header"?Je:c[0]==="summary"?_e:Qe}let n=l(a),d=n(a);return{c(){e=o("head"),e.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=p(),d.c(),i=Le()},m(c,u){z(c,e,u),z(c,s,u),d.m(c,u),z(c,i,u)},p(c,[u]){n===(n=l(c))&&d?d.p(c,u):(d.d(1),d=n(c),d&&(d.c(),d.m(i.parentNode,i)))},i:ze,o:ze,d(c){c&&(A(e),A(s),A(i)),d.d(c)}}}function tt(a,e,s){let{language:i}=e,{report:l}=e,{type:n}=e,{service:d=window.GaReportService}=e,c,u=0,j=0,N=0,C=0,D=0,v=0,g=0,S=0,T=!1,k=!1,H=!1,$=!1;function Z(){return T?"#CC0000":k?"#EE9933":"#00AA44"}function M(){return T?"rgba(204,0,0,0.15)":k?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function w(){return T?"rgba(204,0,0,0.05)":k?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function P(){return T?"a significant overlap":k?"some overlap":"no significant overlap"}return We(async()=>{if(c=await d.getReport(l),s(1,u=Number(c.G0xmin)),s(2,j=Number(c.G0xmax)),s(3,N=Number(c.G0yourscore)),s(4,C=Number(c.G0percentile)),s(5,D=Number(c.Sxmin)),s(6,v=Number(c.Sxmax)),s(7,g=Number(c.Syourscore)),s(8,S=Number(c.Spercentile)),C>50&&S<50){s(9,T=!0),s(12,$=!0);return}if(C>50||S<50){s(10,k=!0),s(12,$=!0);return}s(11,H=!0),s(12,$=!0)}),a.$$set=f=>{"language"in f&&s(17,i=f.language),"report"in f&&s(18,l=f.report),"type"in f&&s(0,n=f.type),"service"in f&&s(19,d=f.service)},[n,u,j,N,C,D,v,g,S,T,k,H,$,Z,M,w,P,i,l,d]}class Oe extends Fe{constructor(e){super(),Ie(this,e,tt,et,Ke,{language:17,report:18,type:0,service:19},Ye)}get language(){return this.$$.ctx[17]}set language(e){this.$$set({language:e}),re()}get report(){return this.$$.ctx[18]}set report(e){this.$$set({report:e}),re()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),re()}get service(){return this.$$.ctx[19]}set service(e){this.$$set({service:e}),re()}}customElements.define("ga-coronary",je(Oe,{language:{},report:{},type:{},service:{}},[],[],!0));export{Oe as default};
package/dist/crohn.wc.js CHANGED
@@ -1,16 +1,18 @@
1
- import{c as $l,S as Zl,i as Sl,f as Ye,s as ql,a as Pl,e as l,b,d as Ht,g as N,n as Rt,h as M,o as Hl,t as p,j as i,k as a,l as e,m as w,p as _}from"./index2.js";import{s as J,m as K,g as Q,a as U,b as X}from"./helpers.js";function Rl(r){Pl(r,"svelte-1w80bh2",".main.svelte-1w80bh2{width:450px;height:300px;background-color:#F0F6F5;border:2px solid #C8DBD0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-1w80bh2{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-1w80bh2{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1w80bh2{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-1w80bh2{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-1w80bh2{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-1w80bh2{width:86%;height:100%;position:relative}.min.svelte-1w80bh2{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6B8678}.middleParent.svelte-1w80bh2{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-1w80bh2{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-1w80bh2{position:absolute;width:46%;top:10%;height:80%;background-color:#C8DBD0}.result.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result2.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result3.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.yAxis.svelte-1w80bh2{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341F;border-radius:10px}.max.svelte-1w80bh2{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6B8678}.lastRow.svelte-1w80bh2{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-1w80bh2{height:10px;width:10px;border-radius:99px;background-color:#C8DBD0;border:1px solid black;margin-right:6px}.dot2.svelte-1w80bh2{height:10px;width:10px;border-radius:99px;background-color:#33664D;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-1w80bh2{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-1w80bh2{color:#33664D;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-1w80bh2{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-1w80bh2{width:100%;height:100%;display:flex;align-items:center}")}function El(r){let t,s,n,d,o,v,h,x,se,R,T,ee,g,f,D,S,te,q,L,P,k,A,z,B,le,H,C,G,u=J(r[4])+"",y,$,ve,fe,Ne,ie,Z,Et,re,Me,_e,Je,Ft,De,Ke,Qe,jt,E,Ue,It,Xe,Vt,Le,Wt,F,ae,ke,me,et,Ot,tt,lt,Be=J(r[8])+"",st,Yt,_t,it,Jt,we,Ce,Kt,ne,Ge,rt,at,Qt,$e,nt,dt,Ut,j,ot,Xt,bt,el,Ae,tl,I,de,Ze,pe,ht,ll,ct,vt,Se=J(r[12])+"",mt,sl,il,pt,rl,xe,qe,al,oe,Pe,gt,ut,nl,He,wt,xt,dl,V,yt,ol,ft,bl,Te,hl,W,be,Re,ge,Lt,cl,At,Tt,Ee=J(r[16])+"",zt,vl,ml,Nt,pl,ye,Fe,gl,he,je,Mt,Dt,ul,Ie,kt,Bt,wl,O,Ct,xl,Gt,yl,ze,fl,Y,ce,Ve,ue,$t,Ll,Zt,St,We=J(r[20])+"",qt,Al,Tl,Pt,zl,Oe;return{c(){t=l("div"),s=l("div"),n=l("div"),n.innerHTML="Glycan<br/> <b>Mature</b>",d=b(),o=l("div"),v=l("div"),h=l("b"),x=p(r[1]),se=b(),R=l("div"),T=l("b"),ee=p(r[2]),g=b(),f=l("div"),D=l("div"),S=b(),te=l("div"),q=b(),L=l("div"),P=b(),k=l("div"),A=l("div"),z=l("div"),B=l("b"),le=p(r[3]),H=p(" ("),C=p(r[4]),G=l("sup"),y=p(u),$=p(" percentile)"),ve=b(),fe=l("div"),Ne=b(),ie=l("div"),Z=l("div"),Z.innerHTML="Glycan<br/> <b>Median</b>",Et=b(),re=l("div"),Me=l("div"),_e=l("b"),Je=p(r[5]),Ft=b(),De=l("div"),Ke=l("b"),Qe=p(r[6]),jt=b(),E=l("div"),Ue=l("div"),It=b(),Xe=l("div"),Vt=b(),Le=l("div"),Wt=b(),F=l("div"),ae=l("div"),ke=l("div"),me=l("b"),et=p(r[7]),Ot=p(" ("),tt=p(r[8]),lt=l("sup"),st=p(Be),Yt=p(" percentile)"),_t=b(),it=l("div"),Jt=b(),we=l("div"),Ce=l("div"),Ce.innerHTML="Glycan<br/> <b>Youth</b>",Kt=b(),ne=l("div"),Ge=l("div"),rt=l("b"),at=p(r[9]),Qt=b(),$e=l("div"),nt=l("b"),dt=p(r[10]),Ut=b(),j=l("div"),ot=l("div"),Xt=b(),bt=l("div"),el=b(),Ae=l("div"),tl=b(),I=l("div"),de=l("div"),Ze=l("div"),pe=l("b"),ht=p(r[11]),ll=p(" ("),ct=p(r[12]),vt=l("sup"),mt=p(Se),sl=p(" percentile)"),il=b(),pt=l("div"),rl=b(),xe=l("div"),qe=l("div"),qe.innerHTML="Glycan<br/> <b>Shield</b>",al=b(),oe=l("div"),Pe=l("div"),gt=l("b"),ut=p(r[13]),nl=b(),He=l("div"),wt=l("b"),xt=p(r[14]),dl=b(),V=l("div"),yt=l("div"),ol=b(),ft=l("div"),bl=b(),Te=l("div"),hl=b(),W=l("div"),be=l("div"),Re=l("div"),ge=l("b"),Lt=p(r[15]),cl=p(" ("),At=p(r[16]),Tt=l("sup"),zt=p(Ee),vl=p(" percentile)"),ml=b(),Nt=l("div"),pl=b(),ye=l("div"),Fe=l("div"),Fe.innerHTML="Glycan<br/> <b>Lifestyle</b>",gl=b(),he=l("div"),je=l("div"),Mt=l("b"),Dt=p(r[17]),ul=b(),Ie=l("div"),kt=l("b"),Bt=p(r[18]),wl=b(),O=l("div"),Ct=l("div"),xl=b(),Gt=l("div"),yl=b(),ze=l("div"),fl=b(),Y=l("div"),ce=l("div"),Ve=l("div"),ue=l("b"),$t=p(r[19]),Ll=p(" ("),Zt=p(r[20]),St=l("sup"),qt=p(We),Al=p(" percentile)"),Tl=b(),Pt=l("div"),zl=b(),Oe=l("div"),Oe.innerHTML='<div class="dot1 svelte-1w80bh2"></div> <div style="font-size: 0.8rem;">Crohn&#39;s Disease</div> <div class="dot2 svelte-1w80bh2"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(n,"class","label svelte-1w80bh2"),i(v,"class","min svelte-1w80bh2"),i(R,"class","max svelte-1w80bh2"),i(D,"class","xAxis svelte-1w80bh2"),i(te,"class","yAxis svelte-1w80bh2"),i(L,"class","diseaseArea svelte-1w80bh2"),a(L,"border-radius","0 6px 6px 0"),a(L,"left","50.3%"),i(z,"class","message svelte-1w80bh2"),i(fe,"class","triangle-down svelte-1w80bh2"),i(A,"class","resultDisplay svelte-1w80bh2"),a(A,"right",K(r[4])),i(k,"class","result svelte-1w80bh2"),a(k,"padding",Q(r[4])),a(k,"margin",U(r[4])),a(k,"border-radius",X(r[4])),i(f,"class","middleParent svelte-1w80bh2"),i(o,"class","content svelte-1w80bh2"),i(s,"class","row svelte-1w80bh2"),i(Z,"class","label svelte-1w80bh2"),i(Me,"class","min svelte-1w80bh2"),i(De,"class","max svelte-1w80bh2"),i(Ue,"class","xAxis svelte-1w80bh2"),i(Xe,"class","yAxis svelte-1w80bh2"),i(Le,"class","diseaseArea svelte-1w80bh2"),a(Le,"border-radius","6px 0 0 6px"),a(Le,"right","50.3%"),i(ke,"class","message svelte-1w80bh2"),i(it,"class","triangle-down svelte-1w80bh2"),i(ae,"class","resultDisplay svelte-1w80bh2"),a(ae,"right",K(r[8])),i(F,"class","result2 svelte-1w80bh2"),a(F,"padding",Q(r[8])),a(F,"margin",U(r[8])),a(F,"border-radius",X(r[8])),i(E,"class","middleParent svelte-1w80bh2"),i(re,"class","content svelte-1w80bh2"),i(ie,"class","row svelte-1w80bh2"),i(Ce,"class","label svelte-1w80bh2"),i(Ge,"class","min svelte-1w80bh2"),i($e,"class","max svelte-1w80bh2"),i(ot,"class","xAxis svelte-1w80bh2"),i(bt,"class","yAxis svelte-1w80bh2"),i(Ae,"class","diseaseArea svelte-1w80bh2"),a(Ae,"border-radius","6px 0 0 6px"),a(Ae,"right","50.3%"),i(Ze,"class","message svelte-1w80bh2"),i(pt,"class","triangle-down svelte-1w80bh2"),i(de,"class","resultDisplay svelte-1w80bh2"),a(de,"right",K(r[12])),i(I,"class","result3 svelte-1w80bh2"),a(I,"padding",Q(r[12])),a(I,"margin",U(r[12])),a(I,"border-radius",X(r[12])),i(j,"class","middleParent svelte-1w80bh2"),i(ne,"class","content svelte-1w80bh2"),i(we,"class","row svelte-1w80bh2"),i(qe,"class","label svelte-1w80bh2"),i(Pe,"class","min svelte-1w80bh2"),i(He,"class","max svelte-1w80bh2"),i(yt,"class","xAxis svelte-1w80bh2"),i(ft,"class","yAxis svelte-1w80bh2"),i(Te,"class","diseaseArea svelte-1w80bh2"),a(Te,"border-radius","6px 0 0 6px"),a(Te,"right","50.3%"),i(Re,"class","message svelte-1w80bh2"),i(Nt,"class","triangle-down svelte-1w80bh2"),i(be,"class","resultDisplay svelte-1w80bh2"),a(be,"right",K(r[16])),i(W,"class","result3 svelte-1w80bh2"),a(W,"padding",Q(r[16])),a(W,"margin",U(r[16])),a(W,"border-radius",X(r[16])),i(V,"class","middleParent svelte-1w80bh2"),i(oe,"class","content svelte-1w80bh2"),i(xe,"class","row svelte-1w80bh2"),i(Fe,"class","label svelte-1w80bh2"),i(je,"class","min svelte-1w80bh2"),i(Ie,"class","max svelte-1w80bh2"),i(Ct,"class","xAxis svelte-1w80bh2"),i(Gt,"class","yAxis svelte-1w80bh2"),i(ze,"class","diseaseArea svelte-1w80bh2"),a(ze,"border-radius","0 6px 6px 0"),a(ze,"left","50.3%"),i(Ve,"class","message svelte-1w80bh2"),i(Pt,"class","triangle-down svelte-1w80bh2"),i(ce,"class","resultDisplay svelte-1w80bh2"),a(ce,"right",K(r[20])),i(Y,"class","result3 svelte-1w80bh2"),a(Y,"padding",Q(r[20])),a(Y,"margin",U(r[20])),a(Y,"border-radius",X(r[20])),i(O,"class","middleParent svelte-1w80bh2"),i(he,"class","content svelte-1w80bh2"),i(ye,"class","row svelte-1w80bh2"),i(Oe,"class","lastRow svelte-1w80bh2"),i(t,"class","main svelte-1w80bh2")},m(c,m){N(c,t,m),e(t,s),e(s,n),e(s,d),e(s,o),e(o,v),e(v,h),e(h,x),e(o,se),e(o,R),e(R,T),e(T,ee),e(o,g),e(o,f),e(f,D),e(f,S),e(f,te),e(f,q),e(f,L),e(f,P),e(f,k),e(k,A),e(A,z),e(z,B),e(B,le),e(B,H),e(B,C),e(B,G),e(G,y),e(B,$),e(A,ve),e(A,fe),e(t,Ne),e(t,ie),e(ie,Z),e(ie,Et),e(ie,re),e(re,Me),e(Me,_e),e(_e,Je),e(re,Ft),e(re,De),e(De,Ke),e(Ke,Qe),e(re,jt),e(re,E),e(E,Ue),e(E,It),e(E,Xe),e(E,Vt),e(E,Le),e(E,Wt),e(E,F),e(F,ae),e(ae,ke),e(ke,me),e(me,et),e(me,Ot),e(me,tt),e(me,lt),e(lt,st),e(me,Yt),e(ae,_t),e(ae,it),e(t,Jt),e(t,we),e(we,Ce),e(we,Kt),e(we,ne),e(ne,Ge),e(Ge,rt),e(rt,at),e(ne,Qt),e(ne,$e),e($e,nt),e(nt,dt),e(ne,Ut),e(ne,j),e(j,ot),e(j,Xt),e(j,bt),e(j,el),e(j,Ae),e(j,tl),e(j,I),e(I,de),e(de,Ze),e(Ze,pe),e(pe,ht),e(pe,ll),e(pe,ct),e(pe,vt),e(vt,mt),e(pe,sl),e(de,il),e(de,pt),e(t,rl),e(t,xe),e(xe,qe),e(xe,al),e(xe,oe),e(oe,Pe),e(Pe,gt),e(gt,ut),e(oe,nl),e(oe,He),e(He,wt),e(wt,xt),e(oe,dl),e(oe,V),e(V,yt),e(V,ol),e(V,ft),e(V,bl),e(V,Te),e(V,hl),e(V,W),e(W,be),e(be,Re),e(Re,ge),e(ge,Lt),e(ge,cl),e(ge,At),e(ge,Tt),e(Tt,zt),e(ge,vl),e(be,ml),e(be,Nt),e(t,pl),e(t,ye),e(ye,Fe),e(ye,gl),e(ye,he),e(he,je),e(je,Mt),e(Mt,Dt),e(he,ul),e(he,Ie),e(Ie,kt),e(kt,Bt),e(he,wl),e(he,O),e(O,Ct),e(O,xl),e(O,Gt),e(O,yl),e(O,ze),e(O,fl),e(O,Y),e(Y,ce),e(ce,Ve),e(Ve,ue),e(ue,$t),e(ue,Ll),e(ue,Zt),e(ue,St),e(St,qt),e(ue,Al),e(ce,Tl),e(ce,Pt),e(t,zl),e(t,Oe)},p(c,m){m[0]&2&&w(x,c[1]),m[0]&4&&w(ee,c[2]),m[0]&8&&w(le,c[3]),m[0]&16&&w(C,c[4]),m[0]&16&&u!==(u=J(c[4])+"")&&w(y,u),m[0]&16&&a(A,"right",K(c[4])),m[0]&16&&a(k,"padding",Q(c[4])),m[0]&16&&a(k,"margin",U(c[4])),m[0]&16&&a(k,"border-radius",X(c[4])),m[0]&32&&w(Je,c[5]),m[0]&64&&w(Qe,c[6]),m[0]&128&&w(et,c[7]),m[0]&256&&w(tt,c[8]),m[0]&256&&Be!==(Be=J(c[8])+"")&&w(st,Be),m[0]&256&&a(ae,"right",K(c[8])),m[0]&256&&a(F,"padding",Q(c[8])),m[0]&256&&a(F,"margin",U(c[8])),m[0]&256&&a(F,"border-radius",X(c[8])),m[0]&512&&w(at,c[9]),m[0]&1024&&w(dt,c[10]),m[0]&2048&&w(ht,c[11]),m[0]&4096&&w(ct,c[12]),m[0]&4096&&Se!==(Se=J(c[12])+"")&&w(mt,Se),m[0]&4096&&a(de,"right",K(c[12])),m[0]&4096&&a(I,"padding",Q(c[12])),m[0]&4096&&a(I,"margin",U(c[12])),m[0]&4096&&a(I,"border-radius",X(c[12])),m[0]&8192&&w(ut,c[13]),m[0]&16384&&w(xt,c[14]),m[0]&32768&&w(Lt,c[15]),m[0]&65536&&w(At,c[16]),m[0]&65536&&Ee!==(Ee=J(c[16])+"")&&w(zt,Ee),m[0]&65536&&a(be,"right",K(c[16])),m[0]&65536&&a(W,"padding",Q(c[16])),m[0]&65536&&a(W,"margin",U(c[16])),m[0]&65536&&a(W,"border-radius",X(c[16])),m[0]&131072&&w(Dt,c[17]),m[0]&262144&&w(Bt,c[18]),m[0]&524288&&w($t,c[19]),m[0]&1048576&&w(Zt,c[20]),m[0]&1048576&&We!==(We=J(c[20])+"")&&w(qt,We),m[0]&1048576&&a(ce,"right",K(c[20])),m[0]&1048576&&a(Y,"padding",Q(c[20])),m[0]&1048576&&a(Y,"margin",U(c[20])),m[0]&1048576&&a(Y,"border-radius",X(c[20]))},d(c){c&&M(t)}}}function Fl(r){let t,s=r[24]&&Nl(r);return{c(){s&&s.c(),t=Ht()},m(n,d){s&&s.m(n,d),N(n,t,d)},p(n,d){n[24]?s?s.p(n,d):(s=Nl(n),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(n){n&&M(t),s&&s.d(n)}}}function jl(r){let t,s,n,d=r[21]&&kl(),o=r[22]&&Bl(),v=r[23]&&Cl();return{c(){t=l("div"),d&&d.c(),s=b(),o&&o.c(),n=b(),v&&v.c(),i(t,"class","header svelte-1w80bh2")},m(h,x){N(h,t,x),d&&d.m(t,null),e(t,s),o&&o.m(t,null),e(t,n),v&&v.m(t,null)},p(h,x){h[21]?d||(d=kl(),d.c(),d.m(t,s)):d&&(d.d(1),d=null),h[22]?o||(o=Bl(),o.c(),o.m(t,n)):o&&(o.d(1),o=null),h[23]?v||(v=Cl(),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},d(h){h&&M(t),d&&d.d(),o&&o.d(),v&&v.d()}}}function Nl(r){let t;function s(o,v){return o[23]?Vl:Il}let n=s(r),d=n(r);return{c(){d.c(),t=Ht()},m(o,v){d.m(o,v),N(o,t,v)},p(o,v){n===(n=s(o))&&d?d.p(o,v):(d.d(1),d=n(o),d&&(d.c(),d.m(t.parentNode,t)))},d(o){o&&M(t),d.d(o)}}}function Il(r){let t,s,n,d,o,v,h,x,se,R,T,ee,g,f,D,S,te,q,L,P,k,A,z,B,le,H,C,G,u=r[21]&&Ml(),y=r[22]&&Dl();return{c(){t=l("div"),s=l("div"),n=l("div"),u&&u.c(),d=b(),y&&y.c(),o=b(),v=l("div"),h=p("There is "),x=l("b"),x.textContent=`${r[28]()}`,se=p(" of glycan indexes between "),R=l("br"),T=p(" your patient and Crohn\u2019s disease patients."),ee=b(),g=l("div"),f=l("div"),f.textContent="Symptoms to check for:",D=b(),S=l("div"),S.innerHTML=`<b>Diarrhea:</b> Persistent inflammation in the digestive tract often leads to
2
- frequent <br/> diarrhea.`,te=b(),q=l("div"),q.innerHTML=`<b>Abdominal pain and cramping:</b> Inflammation and ulcers may cause
3
- significant <br/> abdominal discomfort.`,L=b(),P=l("div"),P.innerHTML=`<b>Weight loss:</b> Nutrient malabsorption due to inflammation can result in
4
- unintended <br/> weight loss.`,k=b(),A=l("div"),A.textContent="Possible follow-up tests:",z=b(),B=l("div"),B.innerHTML=`<b>Colonoscopy:</b> A colonoscopy allows for a detailed examination of the entire <br/>
5
- colon and the terminal ileum.`,le=b(),H=l("div"),H.innerHTML=`<b>CT or MRI scan:</b> These imaging studies can provide detailed images of the
6
- digestive <br/> system.`,C=b(),G=l("div"),G.innerHTML=`<b>Biopsy:</b> Tissue samples can be taken to confirm the diagnosis and assess <br/>
7
- inflammation.`,a(n,"width","10%"),a(n,"padding-left","1.5rem"),a(n,"padding-right","1rem"),a(v,"width","90%"),i(s,"class","summaryHeader svelte-1w80bh2"),a(s,"border-radius","8px 8px 0 0"),a(s,"background-color",r[26]()),a(s,"border-bottom","2px solid "+r[25]()),a(f,"font-size","1.2rem"),a(f,"padding-bottom","1rem"),a(S,"font-size","0.7rem"),a(S,"padding-bottom","0.4rem"),a(q,"font-size","0.7rem"),a(q,"padding-bottom","0.4rem"),a(P,"font-size","0.7rem"),a(P,"padding-bottom","0.4rem"),a(A,"font-size","1.2rem"),a(A,"padding-top","1.2rem"),a(A,"padding-bottom","1rem"),a(B,"font-size","0.7rem"),a(B,"padding-bottom","0.4rem"),a(H,"font-size","0.7rem"),a(H,"padding-bottom","0.4rem"),a(G,"font-size","0.7rem"),a(G,"padding-bottom","0.4rem"),i(g,"class","summaryBody svelte-1w80bh2"),a(g,"background-color",r[27]()),i(t,"class","summaryMain svelte-1w80bh2"),a(t,"border","2px solid "+r[25]())},m($,ve){N($,t,ve),e(t,s),e(s,n),u&&u.m(n,null),e(n,d),y&&y.m(n,null),e(s,o),e(s,v),e(v,h),e(v,x),e(v,se),e(v,R),e(v,T),e(t,ee),e(t,g),e(g,f),e(g,D),e(g,S),e(g,te),e(g,q),e(g,L),e(g,P),e(g,k),e(g,A),e(g,z),e(g,B),e(g,le),e(g,H),e(g,C),e(g,G)},p($,ve){$[21]?u||(u=Ml(),u.c(),u.m(n,d)):u&&(u.d(1),u=null),$[22]?y||(y=Dl(),y.c(),y.m(n,null)):y&&(y.d(1),y=null)},d($){$&&M(t),u&&u.d(),y&&y.d()}}}function Vl(r){let t;return{c(){t=l("div"),t.innerHTML=`<div class="summaryHeader svelte-1w80bh2" 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 Crohn\u2019s disease patients.</div></div> <div class="summaryBody svelte-1w80bh2" 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:</b> Persistent inflammation in the digestive tract often leads to
8
- frequent <br/> diarrhea.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Abdominal pain and cramping:</b> Inflammation and ulcers may cause
9
- significant <br/> abdominal discomfort.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Weight loss:</b> Nutrient malabsorption due to inflammation can result in
10
- unintended <br/> weight loss.</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> A colonoscopy allows for a detailed examination of the entire <br/>
11
- colon and the terminal ileum.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>CT or MRI scan:</b> These imaging studies can provide detailed images of the
12
- digestive <br/> system.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Biopsy:</b> Tissue samples can be taken to confirm the diagnosis and assess <br/>
13
- inflammation.</div></div>`,i(t,"class","summaryMain svelte-1w80bh2")},m(s,n){N(s,t,n)},p:Rt,d(s){s&&M(t)}}}function Ml(r){let t,s;return{c(){t=_("svg"),s=_("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(n,d){N(n,t,d),e(t,s)},d(n){n&&M(t)}}}function Dl(r){let t,s;return{c(){t=_("svg"),s=_("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(n,d){N(n,t,d),e(t,s)},d(n){n&&M(t)}}}function kl(r){let t,s,n;return{c(){t=_("svg"),s=_("path"),n=p(`
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(d,o){N(d,t,o),e(t,s),N(d,n,o)},d(d){d&&(M(t),M(n))}}}function Bl(r){let t,s,n;return{c(){t=_("svg"),s=_("path"),n=p(`
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(d,o){N(d,t,o),e(t,s),N(d,n,o)},d(d){d&&(M(t),M(n))}}}function Cl(r){let t,s,n;return{c(){t=_("svg"),s=_("path"),n=p(`
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(d,o){N(d,t,o),e(t,s),N(d,n,o)},d(d){d&&(M(t),M(n))}}}function Wl(r){let t,s,n;function d(h,x){return h[0]==="header"?jl:h[0]==="summary"?Fl:El}let o=d(r),v=o(r);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=b(),v.c(),n=Ht()},m(h,x){N(h,t,x),N(h,s,x),v.m(h,x),N(h,n,x)},p(h,x){o===(o=d(h))&&v?v.p(h,x):(v.d(1),v=o(h),v&&(v.c(),v.m(n.parentNode,n)))},i:Rt,o:Rt,d(h){h&&(M(t),M(s),M(n)),v.d(h)}}}function Ol(r,t,s){let{language:n}=t,{report:d}=t,{type:o}=t,{service:v=window.GaReportService}=t,h,x=0,se=0,R=0,T=0,ee=0,g=0,f=0,D=0,S=0,te=0,q=0,L=0,P=0,k=0,A=0,z=0,B=0,le=0,H=0,C=0,G=!1,u=!1,y=!1,$=!1;function ve(){return G?"#CC0000":u?"#EE9933":"#00AA44"}function fe(){return G?"rgba(204,0,0,0.15)":u?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function Ne(){return G?"rgba(204,0,0,0.05)":u?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function ie(){return G?"a significant overlap":u?"some overlap":"no significant overlap"}return Hl(async()=>{if(h=await v.getReport(void 0),s(1,x=Number(h.G0xmin)),s(2,se=Number(h.G0xmax)),s(3,R=Number(h.G0yourscore)),s(4,T=Number(h.G0percentile)),s(5,ee=Number(h.G1xmin)),s(6,g=Number(h.G1xmax)),s(7,f=Number(h.G1yourscore)),s(8,D=Number(h.G1percentile)),s(9,S=Number(h.G2xmin)),s(10,te=Number(h.G2xmax)),s(11,q=Number(h.G2yourscore)),s(12,L=Number(h.G2percentile)),s(13,P=Number(h.Sxmin)),s(14,k=Number(h.Sxmax)),s(15,A=Number(h.Syourscore)),s(16,z=Number(h.Spercentile)),s(17,B=Number(h.Bxmin)),s(18,le=Number(h.Bxmax)),s(19,H=Number(h.Byourscore)),s(20,C=Number(h.Bpercentile)),T>50&&D<50&&L<50&&z<50&&C>50){s(21,G=!0),s(24,$=!0);return}if(T>50||D<50||L<50||z<50||C>50){if(T>50&&D<50&&L<50||T>50&&D<50&&z<50||T>50&&D<50&&C>50||T>50&&L<50&&z<50||T>50&&L<50&&C>50||T>50&&z<50&&C>50||D<50&&L<50&&z<50||D<50&&L<50&&C>50||L<50&&z<50&&C>50){s(22,u=!0),s(24,$=!0);return}s(23,y=!0),s(24,$=!0);return}s(23,y=!0),s(24,$=!0)}),r.$$set=Z=>{"language"in Z&&s(29,n=Z.language),"report"in Z&&s(30,d=Z.report),"type"in Z&&s(0,o=Z.type),"service"in Z&&s(31,v=Z.service)},[o,x,se,R,T,ee,g,f,D,S,te,q,L,P,k,A,z,B,le,H,C,G,u,y,$,ve,fe,Ne,ie,n,d,v]}class Gl extends Zl{constructor(t){super(),Sl(this,t,Ol,Wl,ql,{language:29,report:30,type:0,service:31},Rl,[-1,-1])}get language(){return this.$$.ctx[29]}set language(t){this.$$set({language:t}),Ye()}get report(){return this.$$.ctx[30]}set report(t){this.$$set({report:t}),Ye()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),Ye()}get service(){return this.$$.ctx[31]}set service(t){this.$$set({service:t}),Ye()}}customElements.define("ga-crohn",$l(Gl,{language:{},report:{},type:{},service:{}},[],[],!0));export{Gl as default};
1
+ import{c as Bl,S as Zl,i as Sl,f as Oe,s as Dl,a as Pl,e as l,b as m,d as Ht,g as z,n as Rt,h as T,o as Hl,t as g,j as i,k as o,l as e,m as x,p as F}from"./index2.js";import{s as J,m as K,g as Q,a as U,b as X}from"./helpers.js";function Rl(r){Pl(r,"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 El(r){let t,s,d,a,n,p,c,k,se,R,L,ee,h,y,N,S,te,D,w,P,M,f,A,G,le,H,C,$,b=J(r[4])+"",q,B,pe,ye,ze,ie,Z,Et,re,Te,Fe,Je,jt,Ne,Ke,Qe,It,E,Ue,Vt,Xe,Wt,we,Yt,j,oe,Me,ue,et,_t,tt,lt,Ge=J(r[8])+"",st,Ot,Ft,it,Jt,xe,Ce,Kt,de,$e,rt,ot,Qt,Be,dt,at,Ut,I,nt,Xt,mt,el,fe,tl,V,ae,Ze,ge,ct,ll,vt,pt,Se=J(r[12])+"",ut,sl,il,gt,rl,ke,De,ol,ne,Pe,ht,bt,dl,He,xt,kt,al,W,qt,nl,yt,ml,Le,cl,Y,me,Re,he,wt,vl,ft,Lt,Ee=J(r[16])+"",At,pl,ul,zt,gl,qe,je,hl,ce,Ie,Tt,Nt,bl,Ve,Mt,Gt,xl,_,Ct,kl,$t,ql,Ae,yl,O,ve,We,be,Bt,wl,Zt,St,Ye=J(r[20])+"",Dt,fl,Ll,Pt,Al,_e;return{c(){t=l("div"),s=l("div"),d=l("div"),d.innerHTML="Glycan<br/> <b>Mature</b>",a=m(),n=l("div"),p=l("div"),c=l("b"),k=g(r[1]),se=m(),R=l("div"),L=l("b"),ee=g(r[2]),h=m(),y=l("div"),N=l("div"),S=m(),te=l("div"),D=m(),w=l("div"),P=m(),M=l("div"),f=l("div"),A=l("div"),G=l("b"),le=g(r[3]),H=g(" ("),C=g(r[4]),$=l("sup"),q=g(b),B=g(" percentile)"),pe=m(),ye=l("div"),ze=m(),ie=l("div"),Z=l("div"),Z.innerHTML="Glycan<br/> <b>Median</b>",Et=m(),re=l("div"),Te=l("div"),Fe=l("b"),Je=g(r[5]),jt=m(),Ne=l("div"),Ke=l("b"),Qe=g(r[6]),It=m(),E=l("div"),Ue=l("div"),Vt=m(),Xe=l("div"),Wt=m(),we=l("div"),Yt=m(),j=l("div"),oe=l("div"),Me=l("div"),ue=l("b"),et=g(r[7]),_t=g(" ("),tt=g(r[8]),lt=l("sup"),st=g(Ge),Ot=g(" percentile)"),Ft=m(),it=l("div"),Jt=m(),xe=l("div"),Ce=l("div"),Ce.innerHTML="Glycan<br/> <b>Youth</b>",Kt=m(),de=l("div"),$e=l("div"),rt=l("b"),ot=g(r[9]),Qt=m(),Be=l("div"),dt=l("b"),at=g(r[10]),Ut=m(),I=l("div"),nt=l("div"),Xt=m(),mt=l("div"),el=m(),fe=l("div"),tl=m(),V=l("div"),ae=l("div"),Ze=l("div"),ge=l("b"),ct=g(r[11]),ll=g(" ("),vt=g(r[12]),pt=l("sup"),ut=g(Se),sl=g(" percentile)"),il=m(),gt=l("div"),rl=m(),ke=l("div"),De=l("div"),De.innerHTML="Glycan<br/> <b>Shield</b>",ol=m(),ne=l("div"),Pe=l("div"),ht=l("b"),bt=g(r[13]),dl=m(),He=l("div"),xt=l("b"),kt=g(r[14]),al=m(),W=l("div"),qt=l("div"),nl=m(),yt=l("div"),ml=m(),Le=l("div"),cl=m(),Y=l("div"),me=l("div"),Re=l("div"),he=l("b"),wt=g(r[15]),vl=g(" ("),ft=g(r[16]),Lt=l("sup"),At=g(Ee),pl=g(" percentile)"),ul=m(),zt=l("div"),gl=m(),qe=l("div"),je=l("div"),je.innerHTML="Glycan<br/> <b>Lifestyle</b>",hl=m(),ce=l("div"),Ie=l("div"),Tt=l("b"),Nt=g(r[17]),bl=m(),Ve=l("div"),Mt=l("b"),Gt=g(r[18]),xl=m(),_=l("div"),Ct=l("div"),kl=m(),$t=l("div"),ql=m(),Ae=l("div"),yl=m(),O=l("div"),ve=l("div"),We=l("div"),be=l("b"),Bt=g(r[19]),wl=g(" ("),Zt=g(r[20]),St=l("sup"),Dt=g(Ye),fl=g(" percentile)"),Ll=m(),Pt=l("div"),Al=m(),_e=l("div"),_e.innerHTML='<div class="dot1 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Crohn&#39;s Disease</div> <div class="dot2 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(d,"class","label svelte-2d7oqk"),i(p,"class","min svelte-2d7oqk"),i(R,"class","max svelte-2d7oqk"),i(N,"class","xAxis svelte-2d7oqk"),i(te,"class","yAxis svelte-2d7oqk"),i(w,"class","diseaseArea svelte-2d7oqk"),o(w,"border-radius","0 6px 6px 0"),o(w,"left","50.3%"),i(A,"class","message svelte-2d7oqk"),i(ye,"class","triangle-down svelte-2d7oqk"),i(f,"class","resultDisplay svelte-2d7oqk"),o(f,"right",K(r[4])),i(M,"class","result svelte-2d7oqk"),o(M,"padding",Q(r[4])),o(M,"margin",U(r[4])),o(M,"border-radius",X(r[4])),i(y,"class","middleParent svelte-2d7oqk"),i(n,"class","content svelte-2d7oqk"),i(s,"class","row svelte-2d7oqk"),i(Z,"class","label svelte-2d7oqk"),i(Te,"class","min svelte-2d7oqk"),i(Ne,"class","max svelte-2d7oqk"),i(Ue,"class","xAxis svelte-2d7oqk"),i(Xe,"class","yAxis svelte-2d7oqk"),i(we,"class","diseaseArea svelte-2d7oqk"),o(we,"border-radius","6px 0 0 6px"),o(we,"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(r[8])),i(j,"class","result2 svelte-2d7oqk"),o(j,"padding",Q(r[8])),o(j,"margin",U(r[8])),o(j,"border-radius",X(r[8])),i(E,"class","middleParent svelte-2d7oqk"),i(re,"class","content svelte-2d7oqk"),i(ie,"class","row svelte-2d7oqk"),i(Ce,"class","label svelte-2d7oqk"),i($e,"class","min svelte-2d7oqk"),i(Be,"class","max svelte-2d7oqk"),i(nt,"class","xAxis svelte-2d7oqk"),i(mt,"class","yAxis svelte-2d7oqk"),i(fe,"class","diseaseArea svelte-2d7oqk"),o(fe,"border-radius","6px 0 0 6px"),o(fe,"right","50.3%"),i(Ze,"class","message svelte-2d7oqk"),i(gt,"class","triangle-down svelte-2d7oqk"),i(ae,"class","resultDisplay svelte-2d7oqk"),o(ae,"right",K(r[12])),i(V,"class","result3 svelte-2d7oqk"),o(V,"padding",Q(r[12])),o(V,"margin",U(r[12])),o(V,"border-radius",X(r[12])),i(I,"class","middleParent svelte-2d7oqk"),i(de,"class","content svelte-2d7oqk"),i(xe,"class","row svelte-2d7oqk"),i(De,"class","label svelte-2d7oqk"),i(Pe,"class","min svelte-2d7oqk"),i(He,"class","max svelte-2d7oqk"),i(qt,"class","xAxis svelte-2d7oqk"),i(yt,"class","yAxis svelte-2d7oqk"),i(Le,"class","diseaseArea svelte-2d7oqk"),o(Le,"border-radius","6px 0 0 6px"),o(Le,"right","50.3%"),i(Re,"class","message svelte-2d7oqk"),i(zt,"class","triangle-down svelte-2d7oqk"),i(me,"class","resultDisplay svelte-2d7oqk"),o(me,"right",K(r[16])),i(Y,"class","result3 svelte-2d7oqk"),o(Y,"padding",Q(r[16])),o(Y,"margin",U(r[16])),o(Y,"border-radius",X(r[16])),i(W,"class","middleParent svelte-2d7oqk"),i(ne,"class","content svelte-2d7oqk"),i(ke,"class","row svelte-2d7oqk"),i(je,"class","label svelte-2d7oqk"),i(Ie,"class","min svelte-2d7oqk"),i(Ve,"class","max svelte-2d7oqk"),i(Ct,"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(We,"class","message svelte-2d7oqk"),i(Pt,"class","triangle-down svelte-2d7oqk"),i(ve,"class","resultDisplay svelte-2d7oqk"),o(ve,"right",K(r[20])),i(O,"class","result3 svelte-2d7oqk"),o(O,"padding",Q(r[20])),o(O,"margin",U(r[20])),o(O,"border-radius",X(r[20])),i(_,"class","middleParent svelte-2d7oqk"),i(ce,"class","content svelte-2d7oqk"),i(qe,"class","row svelte-2d7oqk"),i(_e,"class","lastRow svelte-2d7oqk"),i(t,"class","main svelte-2d7oqk")},m(v,u){z(v,t,u),e(t,s),e(s,d),e(s,a),e(s,n),e(n,p),e(p,c),e(c,k),e(n,se),e(n,R),e(R,L),e(L,ee),e(n,h),e(n,y),e(y,N),e(y,S),e(y,te),e(y,D),e(y,w),e(y,P),e(y,M),e(M,f),e(f,A),e(A,G),e(G,le),e(G,H),e(G,C),e(G,$),e($,q),e(G,B),e(f,pe),e(f,ye),e(t,ze),e(t,ie),e(ie,Z),e(ie,Et),e(ie,re),e(re,Te),e(Te,Fe),e(Fe,Je),e(re,jt),e(re,Ne),e(Ne,Ke),e(Ke,Qe),e(re,It),e(re,E),e(E,Ue),e(E,Vt),e(E,Xe),e(E,Wt),e(E,we),e(E,Yt),e(E,j),e(j,oe),e(oe,Me),e(Me,ue),e(ue,et),e(ue,_t),e(ue,tt),e(ue,lt),e(lt,st),e(ue,Ot),e(oe,Ft),e(oe,it),e(t,Jt),e(t,xe),e(xe,Ce),e(xe,Kt),e(xe,de),e(de,$e),e($e,rt),e(rt,ot),e(de,Qt),e(de,Be),e(Be,dt),e(dt,at),e(de,Ut),e(de,I),e(I,nt),e(I,Xt),e(I,mt),e(I,el),e(I,fe),e(I,tl),e(I,V),e(V,ae),e(ae,Ze),e(Ze,ge),e(ge,ct),e(ge,ll),e(ge,vt),e(ge,pt),e(pt,ut),e(ge,sl),e(ae,il),e(ae,gt),e(t,rl),e(t,ke),e(ke,De),e(ke,ol),e(ke,ne),e(ne,Pe),e(Pe,ht),e(ht,bt),e(ne,dl),e(ne,He),e(He,xt),e(xt,kt),e(ne,al),e(ne,W),e(W,qt),e(W,nl),e(W,yt),e(W,ml),e(W,Le),e(W,cl),e(W,Y),e(Y,me),e(me,Re),e(Re,he),e(he,wt),e(he,vl),e(he,ft),e(he,Lt),e(Lt,At),e(he,pl),e(me,ul),e(me,zt),e(t,gl),e(t,qe),e(qe,je),e(qe,hl),e(qe,ce),e(ce,Ie),e(Ie,Tt),e(Tt,Nt),e(ce,bl),e(ce,Ve),e(Ve,Mt),e(Mt,Gt),e(ce,xl),e(ce,_),e(_,Ct),e(_,kl),e(_,$t),e(_,ql),e(_,Ae),e(_,yl),e(_,O),e(O,ve),e(ve,We),e(We,be),e(be,Bt),e(be,wl),e(be,Zt),e(be,St),e(St,Dt),e(be,fl),e(ve,Ll),e(ve,Pt),e(t,Al),e(t,_e)},p(v,u){u[0]&2&&x(k,v[1]),u[0]&4&&x(ee,v[2]),u[0]&8&&x(le,v[3]),u[0]&16&&x(C,v[4]),u[0]&16&&b!==(b=J(v[4])+"")&&x(q,b),u[0]&16&&o(f,"right",K(v[4])),u[0]&16&&o(M,"padding",Q(v[4])),u[0]&16&&o(M,"margin",U(v[4])),u[0]&16&&o(M,"border-radius",X(v[4])),u[0]&32&&x(Je,v[5]),u[0]&64&&x(Qe,v[6]),u[0]&128&&x(et,v[7]),u[0]&256&&x(tt,v[8]),u[0]&256&&Ge!==(Ge=J(v[8])+"")&&x(st,Ge),u[0]&256&&o(oe,"right",K(v[8])),u[0]&256&&o(j,"padding",Q(v[8])),u[0]&256&&o(j,"margin",U(v[8])),u[0]&256&&o(j,"border-radius",X(v[8])),u[0]&512&&x(ot,v[9]),u[0]&1024&&x(at,v[10]),u[0]&2048&&x(ct,v[11]),u[0]&4096&&x(vt,v[12]),u[0]&4096&&Se!==(Se=J(v[12])+"")&&x(ut,Se),u[0]&4096&&o(ae,"right",K(v[12])),u[0]&4096&&o(V,"padding",Q(v[12])),u[0]&4096&&o(V,"margin",U(v[12])),u[0]&4096&&o(V,"border-radius",X(v[12])),u[0]&8192&&x(bt,v[13]),u[0]&16384&&x(kt,v[14]),u[0]&32768&&x(wt,v[15]),u[0]&65536&&x(ft,v[16]),u[0]&65536&&Ee!==(Ee=J(v[16])+"")&&x(At,Ee),u[0]&65536&&o(me,"right",K(v[16])),u[0]&65536&&o(Y,"padding",Q(v[16])),u[0]&65536&&o(Y,"margin",U(v[16])),u[0]&65536&&o(Y,"border-radius",X(v[16])),u[0]&131072&&x(Nt,v[17]),u[0]&262144&&x(Gt,v[18]),u[0]&524288&&x(Bt,v[19]),u[0]&1048576&&x(Zt,v[20]),u[0]&1048576&&Ye!==(Ye=J(v[20])+"")&&x(Dt,Ye),u[0]&1048576&&o(ve,"right",K(v[20])),u[0]&1048576&&o(O,"padding",Q(v[20])),u[0]&1048576&&o(O,"margin",U(v[20])),u[0]&1048576&&o(O,"border-radius",X(v[20]))},d(v){v&&T(t)}}}function jl(r){let t,s=r[24]&&zl(r);return{c(){s&&s.c(),t=Ht()},m(d,a){s&&s.m(d,a),z(d,t,a)},p(d,a){d[24]?s?s.p(d,a):(s=zl(d),s.c(),s.m(t.parentNode,t)):s&&(s.d(1),s=null)},d(d){d&&T(t),s&&s.d(d)}}}function Il(r){let t,s,d,a=r[21]&&Ml(),n=r[22]&&Gl(),p=r[23]&&Cl();return{c(){t=l("div"),a&&a.c(),s=m(),n&&n.c(),d=m(),p&&p.c(),i(t,"class","header svelte-2d7oqk")},m(c,k){z(c,t,k),a&&a.m(t,null),e(t,s),n&&n.m(t,null),e(t,d),p&&p.m(t,null)},p(c,k){c[21]?a||(a=Ml(),a.c(),a.m(t,s)):a&&(a.d(1),a=null),c[22]?n||(n=Gl(),n.c(),n.m(t,d)):n&&(n.d(1),n=null),c[23]?p||(p=Cl(),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},d(c){c&&T(t),a&&a.d(),n&&n.d(),p&&p.d()}}}function zl(r){let t;function s(n,p){return n[23]?Wl:Vl}let d=s(r),a=d(r);return{c(){a.c(),t=Ht()},m(n,p){a.m(n,p),z(n,t,p)},p(n,p){d===(d=s(n))&&a?a.p(n,p):(a.d(1),a=d(n),a&&(a.c(),a.m(t.parentNode,t)))},d(n){n&&T(t),a.d(n)}}}function Vl(r){let t,s,d,a,n,p,c,k,se,R,L,ee,h,y,N,S,te,D,w,P,M,f,A,G,le,H,C,$,b=r[21]&&Tl(),q=r[22]&&Nl();return{c(){t=l("div"),s=l("div"),d=l("div"),b&&b.c(),a=m(),q&&q.c(),n=m(),p=l("div"),c=g("There is "),k=l("b"),k.textContent=`${r[28]()}`,se=g(" of glycan indexes between "),R=l("br"),L=g(` your patient and Crohn\u2019s
2
+ disease patients.`),ee=m(),h=l("div"),y=l("div"),y.textContent="Symptoms to check for:",N=m(),S=l("div"),S.innerHTML=`<b>Diarrhea:</b> Persistent inflammation in the digestive tract often leads to frequent
3
+ <br/> diarrhea.`,te=m(),D=l("div"),D.innerHTML=`<b>Abdominal pain and cramping:</b> Inflammation and ulcers may cause significant <br/>
4
+ abdominal discomfort.`,w=m(),P=l("div"),P.innerHTML=`<b>Weight loss:</b> Nutrient malabsorption due to inflammation can result in unintended
5
+ <br/> weight loss.`,M=m(),f=l("div"),f.textContent="Possible follow-up tests:",A=m(),G=l("div"),G.innerHTML=`<b>Colonoscopy:</b> A colonoscopy allows for a detailed examination of the entire <br/>
6
+ colon and the terminal ileum.`,le=m(),H=l("div"),H.innerHTML=`<b>CT or MRI scan:</b> These imaging studies can provide detailed images of the
7
+ digestive <br/> system.`,C=m(),$=l("div"),$.innerHTML=`<b>Biopsy:</b> Tissue samples can be taken to confirm the diagnosis and assess <br/>
8
+ inflammation.`,o(d,"width","10%"),o(d,"padding-left","1.5rem"),o(d,"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",r[26]()),o(s,"border-bottom","2px solid "+r[25]()),o(y,"font-size","1.2rem"),o(y,"padding-bottom","1rem"),o(S,"font-size","0.7rem"),o(S,"padding-bottom","0.4rem"),o(D,"font-size","0.7rem"),o(D,"padding-bottom","0.4rem"),o(P,"font-size","0.7rem"),o(P,"padding-bottom","0.4rem"),o(f,"font-size","1.2rem"),o(f,"padding-top","1.2rem"),o(f,"padding-bottom","1rem"),o(G,"font-size","0.7rem"),o(G,"padding-bottom","0.4rem"),o(H,"font-size","0.7rem"),o(H,"padding-bottom","0.4rem"),o($,"font-size","0.7rem"),o($,"padding-bottom","0.4rem"),i(h,"class","summaryBody svelte-2d7oqk"),o(h,"background-color",r[27]()),i(t,"class","summaryMain svelte-2d7oqk"),o(t,"border","2px solid "+r[25]())},m(B,pe){z(B,t,pe),e(t,s),e(s,d),b&&b.m(d,null),e(d,a),q&&q.m(d,null),e(s,n),e(s,p),e(p,c),e(p,k),e(p,se),e(p,R),e(p,L),e(t,ee),e(t,h),e(h,y),e(h,N),e(h,S),e(h,te),e(h,D),e(h,w),e(h,P),e(h,M),e(h,f),e(h,A),e(h,G),e(h,le),e(h,H),e(h,C),e(h,$)},p(B,pe){B[21]?b||(b=Tl(),b.c(),b.m(d,a)):b&&(b.d(1),b=null),B[22]?q||(q=Nl(),q.c(),q.m(d,null)):q&&(q.d(1),q=null)},d(B){B&&T(t),b&&b.d(),q&&q.d()}}}function Wl(r){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
9
+ Crohn\u2019s disease 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>Diarrhea:</b> Persistent inflammation in the digestive tract often leads to frequent
10
+ <br/> diarrhea.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Abdominal pain and cramping:</b> Inflammation and ulcers may cause significant <br/>
11
+ abdominal discomfort.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Weight loss:</b> Nutrient malabsorption due to inflammation can result in unintended
12
+ <br/> weight loss.</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> A colonoscopy allows for a detailed examination of the entire <br/>
13
+ colon and the terminal ileum.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>CT or MRI scan:</b> These imaging studies can provide detailed images of the
14
+ digestive <br/> system.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Biopsy:</b> Tissue samples can be taken to confirm the diagnosis and assess <br/>
15
+ inflammation.</div></div>`,i(t,"class","summaryMain svelte-2d7oqk")},m(s,d){z(s,t,d)},p:Rt,d(s){s&&T(t)}}}function Tl(r){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(d,a){z(d,t,a),e(t,s)},d(d){d&&T(t)}}}function Nl(r){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(d,a){z(d,t,a),e(t,s)},d(d){d&&T(t)}}}function Ml(r){let t,s,d;return{c(){t=F("svg"),s=F("path"),d=g(`
16
+ \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,d,n)},d(a){a&&(T(t),T(d))}}}function Gl(r){let t,s,d;return{c(){t=F("svg"),s=F("path"),d=g(`
17
+ \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,d,n)},d(a){a&&(T(t),T(d))}}}function Cl(r){let t,s,d;return{c(){t=F("svg"),s=F("path"),d=g(`
18
+ \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,d,n)},d(a){a&&(T(t),T(d))}}}function Yl(r){let t,s,d;function a(c,k){return c[0]==="header"?Il:c[0]==="summary"?jl:El}let n=a(r),p=n(r);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=m(),p.c(),d=Ht()},m(c,k){z(c,t,k),z(c,s,k),p.m(c,k),z(c,d,k)},p(c,k){n===(n=a(c))&&p?p.p(c,k):(p.d(1),p=n(c),p&&(p.c(),p.m(d.parentNode,d)))},i:Rt,o:Rt,d(c){c&&(T(t),T(s),T(d)),p.d(c)}}}function _l(r,t,s){let{language:d}=t,{report:a}=t,{type:n}=t,{service:p=window.GaReportService}=t,c,k=0,se=0,R=0,L=0,ee=0,h=0,y=0,N=0,S=0,te=0,D=0,w=0,P=0,M=0,f=0,A=0,G=0,le=0,H=0,C=0,$=!1,b=!1,q=!1,B=!1;function pe(){return $?"#CC0000":b?"#EE9933":"#00AA44"}function ye(){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 Hl(async()=>{if(c=await p.getReport(a),s(1,k=Number(c.G0xmin)),s(2,se=Number(c.G0xmax)),s(3,R=Number(c.G0yourscore)),s(4,L=Number(c.G0percentile)),s(5,ee=Number(c.G1xmin)),s(6,h=Number(c.G1xmax)),s(7,y=Number(c.G1yourscore)),s(8,N=Number(c.G1percentile)),s(9,S=Number(c.G2xmin)),s(10,te=Number(c.G2xmax)),s(11,D=Number(c.G2yourscore)),s(12,w=Number(c.G2percentile)),s(13,P=Number(c.Sxmin)),s(14,M=Number(c.Sxmax)),s(15,f=Number(c.Syourscore)),s(16,A=Number(c.Spercentile)),s(17,G=Number(c.Bxmin)),s(18,le=Number(c.Bxmax)),s(19,H=Number(c.Byourscore)),s(20,C=Number(c.Bpercentile)),L>50&&N<50&&w<50&&A<50&&C>50){s(21,$=!0),s(24,B=!0);return}if(L>50||N<50||w<50||A<50||C>50){if(L>50&&N<50&&w<50||L>50&&N<50&&A<50||L>50&&N<50&&C>50||L>50&&w<50&&A<50||L>50&&w<50&&C>50||L>50&&A<50&&C>50||N<50&&w<50&&A<50||N<50&&w<50&&C>50||w<50&&A<50&&C>50){s(22,b=!0),s(24,B=!0);return}s(23,q=!0),s(24,B=!0);return}s(23,q=!0),s(24,B=!0)}),r.$$set=Z=>{"language"in Z&&s(29,d=Z.language),"report"in Z&&s(30,a=Z.report),"type"in Z&&s(0,n=Z.type),"service"in Z&&s(31,p=Z.service)},[n,k,se,R,L,ee,h,y,N,S,te,D,w,P,M,f,A,G,le,H,C,$,b,q,B,pe,ye,ze,ie,d,a,p]}class $l extends Zl{constructor(t){super(),Sl(this,t,_l,Yl,Dl,{language:29,report:30,type:0,service:31},Rl,[-1,-1])}get language(){return this.$$.ctx[29]}set language(t){this.$$set({language:t}),Oe()}get report(){return this.$$.ctx[30]}set report(t){this.$$set({report:t}),Oe()}get type(){return this.$$.ctx[0]}set type(t){this.$$set({type:t}),Oe()}get service(){return this.$$.ctx[31]}set service(t){this.$$set({service:t}),Oe()}}customElements.define("ga-crohn",Bl($l,{language:{},report:{},type:{},service:{}},[],[],!0));export{$l as default};
@@ -1,14 +1,16 @@
1
- import{c as $s,S as Zs,i as Ss,f as _e,s as qs,a as Fs,e as s,b,d as Et,g as N,n as Pt,h as M,o as Es,t as g,j as i,k as a,l as e,m as w,p as J}from"./index2.js";import{s as K,m as Q,g as U,a as W,b as X}from"./helpers.js";function Ps(r){Fs(r,"svelte-1w80bh2",".main.svelte-1w80bh2{width:450px;height:300px;background-color:#F0F6F5;border:2px solid #C8DBD0;border-radius:12px;display:flex;flex-direction:column;justify-content:center}.summaryMain.svelte-1w80bh2{width:500px;height:500px;border-radius:10px}.summaryHeader.svelte-1w80bh2{width:100%;height:20%;font-size:0.9rem;display:flex;align-items:center}.summaryBody.svelte-1w80bh2{width:95%;height:75%;padding:1.5rem 0 0 1.5rem}.row.svelte-1w80bh2{width:100%;height:12%;display:flex;margin:0.2rem 0 0.2rem 0}.label.svelte-1w80bh2{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-1w80bh2{width:86%;height:100%;position:relative}.min.svelte-1w80bh2{position:absolute;top:34%;left:1.6%;font-size:0.6rem;color:#6B8678}.middleParent.svelte-1w80bh2{position:absolute;width:76%;height:80%;left:10%;top:10%;display:flex;align-items:center;justify-content:center;flex-direction:column}.xAxis.svelte-1w80bh2{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-1w80bh2{position:absolute;width:46%;top:10%;height:80%;background-color:#C8DBD0}.result.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result2.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.result3.svelte-1w80bh2{width:1.5%;height:24%;background-color:#33664D;z-index:9998;position:relative}.yAxis.svelte-1w80bh2{position:absolute;left:49.72%;width:0.1rem;height:88%;background-color:#08341F;border-radius:10px}.max.svelte-1w80bh2{position:absolute;top:34%;right:5.5%;font-size:0.6rem;color:#6B8678}.lastRow.svelte-1w80bh2{width:100%;height:11%;display:flex;align-items:center;justify-content:center;margin-top:12px}.dot1.svelte-1w80bh2{height:10px;width:10px;border-radius:99px;background-color:#C8DBD0;border:1px solid black;margin-right:6px}.dot2.svelte-1w80bh2{height:10px;width:10px;border-radius:99px;background-color:#33664D;border:1px solid black;margin:0 6px 0 36px}.resultDisplay.svelte-1w80bh2{position:absolute;bottom:50%;display:flex;align-items:center;flex-direction:column}.message.svelte-1w80bh2{color:#33664D;z-index:99999;min-width:100px;font-size:0.48rem;margin-bottom:-8px}.triangle-down.svelte-1w80bh2{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-1w80bh2{width:100%;height:100%;display:flex;align-items:center}")}function js(r){let t,l,d,n,o,m,c,x,le,P,A,ee,p,y,G,S,te,q,L,F,k,T,z,B,se,E,D,H,u=K(r[4])+"",f,$,me,ye,Ne,ie,Z,jt,re,Me,Je,Ke,Ct,Ge,Qe,Ue,It,j,We,Ot,Xe,Rt,Le,Vt,C,ae,ke,he,et,Yt,tt,st,Be=K(r[8])+"",lt,_t,Jt,it,Kt,we,De,Qt,de,He,rt,at,Ut,$e,dt,nt,Wt,I,ot,Xt,bt,es,Te,ts,O,ne,Ze,ge,ct,ss,vt,mt,Se=K(r[12])+"",ht,ls,is,gt,rs,xe,qe,as,oe,Fe,pt,ut,ds,Ee,wt,xt,ns,R,ft,os,yt,bs,Ae,cs,V,be,Pe,pe,Lt,vs,Tt,At,je=K(r[16])+"",zt,ms,hs,Nt,gs,fe,Ce,ps,ce,Ie,Mt,Gt,us,Oe,kt,Bt,ws,Y,Dt,xs,Ht,fs,ze,ys,_,ve,Re,ue,$t,Ls,Zt,St,Ve=K(r[20])+"",qt,Ts,As,Ft,zs,Ye;return{c(){t=s("div"),l=s("div"),d=s("div"),d.innerHTML="Glycan<br/> <b>Mature</b>",n=b(),o=s("div"),m=s("div"),c=s("b"),x=g(r[1]),le=b(),P=s("div"),A=s("b"),ee=g(r[2]),p=b(),y=s("div"),G=s("div"),S=b(),te=s("div"),q=b(),L=s("div"),F=b(),k=s("div"),T=s("div"),z=s("div"),B=s("b"),se=g(r[3]),E=g(" ("),D=g(r[4]),H=s("sup"),f=g(u),$=g(" percentile)"),me=b(),ye=s("div"),Ne=b(),ie=s("div"),Z=s("div"),Z.innerHTML="Glycan<br/> <b>Median</b>",jt=b(),re=s("div"),Me=s("div"),Je=s("b"),Ke=g(r[5]),Ct=b(),Ge=s("div"),Qe=s("b"),Ue=g(r[6]),It=b(),j=s("div"),We=s("div"),Ot=b(),Xe=s("div"),Rt=b(),Le=s("div"),Vt=b(),C=s("div"),ae=s("div"),ke=s("div"),he=s("b"),et=g(r[7]),Yt=g(" ("),tt=g(r[8]),st=s("sup"),lt=g(Be),_t=g(" percentile)"),Jt=b(),it=s("div"),Kt=b(),we=s("div"),De=s("div"),De.innerHTML="Glycan<br/> <b>Youth</b>",Qt=b(),de=s("div"),He=s("div"),rt=s("b"),at=g(r[9]),Ut=b(),$e=s("div"),dt=s("b"),nt=g(r[10]),Wt=b(),I=s("div"),ot=s("div"),Xt=b(),bt=s("div"),es=b(),Te=s("div"),ts=b(),O=s("div"),ne=s("div"),Ze=s("div"),ge=s("b"),ct=g(r[11]),ss=g(" ("),vt=g(r[12]),mt=s("sup"),ht=g(Se),ls=g(" percentile)"),is=b(),gt=s("div"),rs=b(),xe=s("div"),qe=s("div"),qe.innerHTML="Glycan<br/> <b>Shield</b>",as=b(),oe=s("div"),Fe=s("div"),pt=s("b"),ut=g(r[13]),ds=b(),Ee=s("div"),wt=s("b"),xt=g(r[14]),ns=b(),R=s("div"),ft=s("div"),os=b(),yt=s("div"),bs=b(),Ae=s("div"),cs=b(),V=s("div"),be=s("div"),Pe=s("div"),pe=s("b"),Lt=g(r[15]),vs=g(" ("),Tt=g(r[16]),At=s("sup"),zt=g(je),ms=g(" percentile)"),hs=b(),Nt=s("div"),gs=b(),fe=s("div"),Ce=s("div"),Ce.innerHTML="Glycan<br/> <b>Lifestyle</b>",ps=b(),ce=s("div"),Ie=s("div"),Mt=s("b"),Gt=g(r[17]),us=b(),Oe=s("div"),kt=s("b"),Bt=g(r[18]),ws=b(),Y=s("div"),Dt=s("div"),xs=b(),Ht=s("div"),fs=b(),ze=s("div"),ys=b(),_=s("div"),ve=s("div"),Re=s("div"),ue=s("b"),$t=g(r[19]),Ls=g(" ("),Zt=g(r[20]),St=s("sup"),qt=g(Ve),Ts=g(" percentile)"),As=b(),Ft=s("div"),zs=b(),Ye=s("div"),Ye.innerHTML='<div class="dot1 svelte-1w80bh2"></div> <div style="font-size: 0.8rem;">Type 2 diabetes</div> <div class="dot2 svelte-1w80bh2"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(d,"class","label svelte-1w80bh2"),i(m,"class","min svelte-1w80bh2"),i(P,"class","max svelte-1w80bh2"),i(G,"class","xAxis svelte-1w80bh2"),i(te,"class","yAxis svelte-1w80bh2"),i(L,"class","diseaseArea svelte-1w80bh2"),a(L,"border-radius","0 6px 6px 0"),a(L,"left","50.3%"),i(z,"class","message svelte-1w80bh2"),i(ye,"class","triangle-down svelte-1w80bh2"),i(T,"class","resultDisplay svelte-1w80bh2"),a(T,"right",Q(r[4])),i(k,"class","result svelte-1w80bh2"),a(k,"padding",U(r[4])),a(k,"margin",W(r[4])),a(k,"border-radius",X(r[4])),i(y,"class","middleParent svelte-1w80bh2"),i(o,"class","content svelte-1w80bh2"),i(l,"class","row svelte-1w80bh2"),i(Z,"class","label svelte-1w80bh2"),i(Me,"class","min svelte-1w80bh2"),i(Ge,"class","max svelte-1w80bh2"),i(We,"class","xAxis svelte-1w80bh2"),i(Xe,"class","yAxis svelte-1w80bh2"),i(Le,"class","diseaseArea svelte-1w80bh2"),a(Le,"border-radius","6px 0 0 6px"),a(Le,"right","50.3%"),i(ke,"class","message svelte-1w80bh2"),i(it,"class","triangle-down svelte-1w80bh2"),i(ae,"class","resultDisplay svelte-1w80bh2"),a(ae,"right",Q(r[8])),i(C,"class","result2 svelte-1w80bh2"),a(C,"padding",U(r[8])),a(C,"margin",W(r[8])),a(C,"border-radius",X(r[8])),i(j,"class","middleParent svelte-1w80bh2"),i(re,"class","content svelte-1w80bh2"),i(ie,"class","row svelte-1w80bh2"),i(De,"class","label svelte-1w80bh2"),i(He,"class","min svelte-1w80bh2"),i($e,"class","max svelte-1w80bh2"),i(ot,"class","xAxis svelte-1w80bh2"),i(bt,"class","yAxis svelte-1w80bh2"),i(Te,"class","diseaseArea svelte-1w80bh2"),a(Te,"border-radius","6px 0 0 6px"),a(Te,"right","50.3%"),i(Ze,"class","message svelte-1w80bh2"),i(gt,"class","triangle-down svelte-1w80bh2"),i(ne,"class","resultDisplay svelte-1w80bh2"),a(ne,"right",Q(r[12])),i(O,"class","result3 svelte-1w80bh2"),a(O,"padding",U(r[12])),a(O,"margin",W(r[12])),a(O,"border-radius",X(r[12])),i(I,"class","middleParent svelte-1w80bh2"),i(de,"class","content svelte-1w80bh2"),i(we,"class","row svelte-1w80bh2"),i(qe,"class","label svelte-1w80bh2"),i(Fe,"class","min svelte-1w80bh2"),i(Ee,"class","max svelte-1w80bh2"),i(ft,"class","xAxis svelte-1w80bh2"),i(yt,"class","yAxis svelte-1w80bh2"),i(Ae,"class","diseaseArea svelte-1w80bh2"),a(Ae,"border-radius","6px 0 0 6px"),a(Ae,"right","50.3%"),i(Pe,"class","message svelte-1w80bh2"),i(Nt,"class","triangle-down svelte-1w80bh2"),i(be,"class","resultDisplay svelte-1w80bh2"),a(be,"right",Q(r[16])),i(V,"class","result3 svelte-1w80bh2"),a(V,"padding",U(r[16])),a(V,"margin",W(r[16])),a(V,"border-radius",X(r[16])),i(R,"class","middleParent svelte-1w80bh2"),i(oe,"class","content svelte-1w80bh2"),i(xe,"class","row svelte-1w80bh2"),i(Ce,"class","label svelte-1w80bh2"),i(Ie,"class","min svelte-1w80bh2"),i(Oe,"class","max svelte-1w80bh2"),i(Dt,"class","xAxis svelte-1w80bh2"),i(Ht,"class","yAxis svelte-1w80bh2"),i(ze,"class","diseaseArea svelte-1w80bh2"),a(ze,"border-radius","0 6px 6px 0"),a(ze,"left","50.3%"),i(Re,"class","message svelte-1w80bh2"),i(Ft,"class","triangle-down svelte-1w80bh2"),i(ve,"class","resultDisplay svelte-1w80bh2"),a(ve,"right",Q(r[20])),i(_,"class","result3 svelte-1w80bh2"),a(_,"padding",U(r[20])),a(_,"margin",W(r[20])),a(_,"border-radius",X(r[20])),i(Y,"class","middleParent svelte-1w80bh2"),i(ce,"class","content svelte-1w80bh2"),i(fe,"class","row svelte-1w80bh2"),i(Ye,"class","lastRow svelte-1w80bh2"),i(t,"class","main svelte-1w80bh2")},m(v,h){N(v,t,h),e(t,l),e(l,d),e(l,n),e(l,o),e(o,m),e(m,c),e(c,x),e(o,le),e(o,P),e(P,A),e(A,ee),e(o,p),e(o,y),e(y,G),e(y,S),e(y,te),e(y,q),e(y,L),e(y,F),e(y,k),e(k,T),e(T,z),e(z,B),e(B,se),e(B,E),e(B,D),e(B,H),e(H,f),e(B,$),e(T,me),e(T,ye),e(t,Ne),e(t,ie),e(ie,Z),e(ie,jt),e(ie,re),e(re,Me),e(Me,Je),e(Je,Ke),e(re,Ct),e(re,Ge),e(Ge,Qe),e(Qe,Ue),e(re,It),e(re,j),e(j,We),e(j,Ot),e(j,Xe),e(j,Rt),e(j,Le),e(j,Vt),e(j,C),e(C,ae),e(ae,ke),e(ke,he),e(he,et),e(he,Yt),e(he,tt),e(he,st),e(st,lt),e(he,_t),e(ae,Jt),e(ae,it),e(t,Kt),e(t,we),e(we,De),e(we,Qt),e(we,de),e(de,He),e(He,rt),e(rt,at),e(de,Ut),e(de,$e),e($e,dt),e(dt,nt),e(de,Wt),e(de,I),e(I,ot),e(I,Xt),e(I,bt),e(I,es),e(I,Te),e(I,ts),e(I,O),e(O,ne),e(ne,Ze),e(Ze,ge),e(ge,ct),e(ge,ss),e(ge,vt),e(ge,mt),e(mt,ht),e(ge,ls),e(ne,is),e(ne,gt),e(t,rs),e(t,xe),e(xe,qe),e(xe,as),e(xe,oe),e(oe,Fe),e(Fe,pt),e(pt,ut),e(oe,ds),e(oe,Ee),e(Ee,wt),e(wt,xt),e(oe,ns),e(oe,R),e(R,ft),e(R,os),e(R,yt),e(R,bs),e(R,Ae),e(R,cs),e(R,V),e(V,be),e(be,Pe),e(Pe,pe),e(pe,Lt),e(pe,vs),e(pe,Tt),e(pe,At),e(At,zt),e(pe,ms),e(be,hs),e(be,Nt),e(t,gs),e(t,fe),e(fe,Ce),e(fe,ps),e(fe,ce),e(ce,Ie),e(Ie,Mt),e(Mt,Gt),e(ce,us),e(ce,Oe),e(Oe,kt),e(kt,Bt),e(ce,ws),e(ce,Y),e(Y,Dt),e(Y,xs),e(Y,Ht),e(Y,fs),e(Y,ze),e(Y,ys),e(Y,_),e(_,ve),e(ve,Re),e(Re,ue),e(ue,$t),e(ue,Ls),e(ue,Zt),e(ue,St),e(St,qt),e(ue,Ts),e(ve,As),e(ve,Ft),e(t,zs),e(t,Ye)},p(v,h){h[0]&2&&w(x,v[1]),h[0]&4&&w(ee,v[2]),h[0]&8&&w(se,v[3]),h[0]&16&&w(D,v[4]),h[0]&16&&u!==(u=K(v[4])+"")&&w(f,u),h[0]&16&&a(T,"right",Q(v[4])),h[0]&16&&a(k,"padding",U(v[4])),h[0]&16&&a(k,"margin",W(v[4])),h[0]&16&&a(k,"border-radius",X(v[4])),h[0]&32&&w(Ke,v[5]),h[0]&64&&w(Ue,v[6]),h[0]&128&&w(et,v[7]),h[0]&256&&w(tt,v[8]),h[0]&256&&Be!==(Be=K(v[8])+"")&&w(lt,Be),h[0]&256&&a(ae,"right",Q(v[8])),h[0]&256&&a(C,"padding",U(v[8])),h[0]&256&&a(C,"margin",W(v[8])),h[0]&256&&a(C,"border-radius",X(v[8])),h[0]&512&&w(at,v[9]),h[0]&1024&&w(nt,v[10]),h[0]&2048&&w(ct,v[11]),h[0]&4096&&w(vt,v[12]),h[0]&4096&&Se!==(Se=K(v[12])+"")&&w(ht,Se),h[0]&4096&&a(ne,"right",Q(v[12])),h[0]&4096&&a(O,"padding",U(v[12])),h[0]&4096&&a(O,"margin",W(v[12])),h[0]&4096&&a(O,"border-radius",X(v[12])),h[0]&8192&&w(ut,v[13]),h[0]&16384&&w(xt,v[14]),h[0]&32768&&w(Lt,v[15]),h[0]&65536&&w(Tt,v[16]),h[0]&65536&&je!==(je=K(v[16])+"")&&w(zt,je),h[0]&65536&&a(be,"right",Q(v[16])),h[0]&65536&&a(V,"padding",U(v[16])),h[0]&65536&&a(V,"margin",W(v[16])),h[0]&65536&&a(V,"border-radius",X(v[16])),h[0]&131072&&w(Gt,v[17]),h[0]&262144&&w(Bt,v[18]),h[0]&524288&&w($t,v[19]),h[0]&1048576&&w(Zt,v[20]),h[0]&1048576&&Ve!==(Ve=K(v[20])+"")&&w(qt,Ve),h[0]&1048576&&a(ve,"right",Q(v[20])),h[0]&1048576&&a(_,"padding",U(v[20])),h[0]&1048576&&a(_,"margin",W(v[20])),h[0]&1048576&&a(_,"border-radius",X(v[20]))},d(v){v&&M(t)}}}function Cs(r){let t,l=r[24]&&Ns(r);return{c(){l&&l.c(),t=Et()},m(d,n){l&&l.m(d,n),N(d,t,n)},p(d,n){d[24]?l?l.p(d,n):(l=Ns(d),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(d){d&&M(t),l&&l.d(d)}}}function Is(r){let t,l,d,n=r[21]&&ks(),o=r[22]&&Bs(),m=r[23]&&Ds();return{c(){t=s("div"),n&&n.c(),l=b(),o&&o.c(),d=b(),m&&m.c(),i(t,"class","header svelte-1w80bh2")},m(c,x){N(c,t,x),n&&n.m(t,null),e(t,l),o&&o.m(t,null),e(t,d),m&&m.m(t,null)},p(c,x){c[21]?n||(n=ks(),n.c(),n.m(t,l)):n&&(n.d(1),n=null),c[22]?o||(o=Bs(),o.c(),o.m(t,d)):o&&(o.d(1),o=null),c[23]?m||(m=Ds(),m.c(),m.m(t,null)):m&&(m.d(1),m=null)},d(c){c&&M(t),n&&n.d(),o&&o.d(),m&&m.d()}}}function Ns(r){let t;function l(o,m){return o[23]?Rs:Os}let d=l(r),n=d(r);return{c(){n.c(),t=Et()},m(o,m){n.m(o,m),N(o,t,m)},p(o,m){d===(d=l(o))&&n?n.p(o,m):(n.d(1),n=d(o),n&&(n.c(),n.m(t.parentNode,t)))},d(o){o&&M(t),n.d(o)}}}function Os(r){let t,l,d,n,o,m,c,x,le,P,A,ee,p,y,G,S,te,q,L,F,k,T,z,B,se,E,D,H,u=r[21]&&Ms(),f=r[22]&&Gs();return{c(){t=s("div"),l=s("div"),d=s("div"),u&&u.c(),n=b(),f&&f.c(),o=b(),m=s("div"),c=g("There is "),x=s("b"),x.textContent=`${r[28]()}`,le=g(" of glycan indexes between "),P=s("br"),A=g(" your patient and type 2 diabetes disease patients."),ee=b(),p=s("div"),y=s("div"),y.textContent="Symptoms to check for:",G=b(),S=s("div"),S.innerHTML=`<b>Increased thirst and frequent urination:</b> Elevated blood sugar levels lead
2
- to <br/> increased fluid loss through urination, causing thirst and dehydration.`,te=b(),q=s("div"),q.innerHTML="<b>Fatigue:</b> Lack of sufficient energy from glucose can cause tiredness and fatigue.",L=b(),F=s("div"),F.innerHTML=`<b>Blurred vision:</b> High blood glucose levels can affect the eyes, leading to
3
- blurry <br/> vision.`,k=b(),T=s("div"),T.textContent="Possible follow-up tests:",z=b(),B=s("div"),B.innerHTML=`<b>HbA1c test:</b> This blood test provides information about average blood
4
- glucose <br/> levels over the past 3 months.`,se=b(),E=s("div"),E.innerHTML=`<b>Fasting blood sugar test:</b> It measures the blood glucose levels after an
5
- overnight <br/> fast to assess the body s glucose regulation.`,D=b(),H=s("div"),H.innerHTML=`<b>Oral glucose tolerance test (OGTT):</b> This assesses the body s response to <br/>
6
- glucose to determine insulin resistance and diabetes.`,a(d,"width","10%"),a(d,"padding-left","1.5rem"),a(d,"padding-right","1rem"),a(m,"width","90%"),i(l,"class","summaryHeader svelte-1w80bh2"),a(l,"border-radius","8px 8px 0 0"),a(l,"background-color",r[26]()),a(l,"border-bottom","2px solid "+r[25]()),a(y,"font-size","1.2rem"),a(y,"padding-bottom","1rem"),a(S,"font-size","0.7rem"),a(S,"padding-bottom","0.4rem"),a(q,"font-size","0.7rem"),a(q,"padding-bottom","0.4rem"),a(F,"font-size","0.7rem"),a(F,"padding-bottom","0.4rem"),a(T,"font-size","1.2rem"),a(T,"padding-top","1.2rem"),a(T,"padding-bottom","1rem"),a(B,"font-size","0.7rem"),a(B,"padding-bottom","0.4rem"),a(E,"font-size","0.7rem"),a(E,"padding-bottom","0.4rem"),a(H,"font-size","0.7rem"),a(H,"padding-bottom","0.4rem"),i(p,"class","summaryBody svelte-1w80bh2"),a(p,"background-color",r[27]()),i(t,"class","summaryMain svelte-1w80bh2"),a(t,"border","2px solid "+r[25]())},m($,me){N($,t,me),e(t,l),e(l,d),u&&u.m(d,null),e(d,n),f&&f.m(d,null),e(l,o),e(l,m),e(m,c),e(m,x),e(m,le),e(m,P),e(m,A),e(t,ee),e(t,p),e(p,y),e(p,G),e(p,S),e(p,te),e(p,q),e(p,L),e(p,F),e(p,k),e(p,T),e(p,z),e(p,B),e(p,se),e(p,E),e(p,D),e(p,H)},p($,me){$[21]?u||(u=Ms(),u.c(),u.m(d,n)):u&&(u.d(1),u=null),$[22]?f||(f=Gs(),f.c(),f.m(d,null)):f&&(f.d(1),f=null)},d($){$&&M(t),u&&u.d(),f&&f.d()}}}function Rs(r){let t;return{c(){t=s("div"),t.innerHTML=`<div class="summaryHeader svelte-1w80bh2" 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 type 2 diabetes disease patients.</div></div> <div class="summaryBody svelte-1w80bh2" 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>Increased thirst and frequent urination:</b> Elevated blood sugar levels lead
7
- to <br/> increased fluid loss through urination, causing thirst and dehydration.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Fatigue:</b> Lack of sufficient energy from glucose can cause tiredness and fatigue.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blurred vision:</b> High blood glucose levels can affect the eyes, leading to
8
- blurry <br/> vision.</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>HbA1c test:</b> This blood test provides information about average blood
9
- glucose <br/> levels over the past 3 months.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Fasting blood sugar test:</b> It measures the blood glucose levels after an
10
- overnight <br/> fast to assess the body s glucose regulation.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Oral glucose tolerance test (OGTT):</b> This assesses the body s response to <br/>
11
- glucose to determine insulin resistance and diabetes.</div></div>`,i(t,"class","summaryMain svelte-1w80bh2")},m(l,d){N(l,t,d)},p:Pt,d(l){l&&M(t)}}}function Ms(r){let t,l;return{c(){t=J("svg"),l=J("path"),i(l,"fill","#CC0000"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(d,n){N(d,t,n),e(t,l)},d(d){d&&M(t)}}}function Gs(r){let t,l;return{c(){t=J("svg"),l=J("path"),i(l,"fill","#EE9933"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(d,n){N(d,t,n),e(t,l)},d(d){d&&M(t)}}}function ks(r){let t,l,d;return{c(){t=J("svg"),l=J("path"),d=g(`
12
- \xA0 Significant overlap`),i(l,"fill","#CC0000"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(n,o){N(n,t,o),e(t,l),N(n,d,o)},d(n){n&&(M(t),M(d))}}}function Bs(r){let t,l,d;return{c(){t=J("svg"),l=J("path"),d=g(`
13
- \xA0 Some overlap`),i(l,"fill","#EE9933"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(n,o){N(n,t,o),e(t,l),N(n,d,o)},d(n){n&&(M(t),M(d))}}}function Ds(r){let t,l,d;return{c(){t=J("svg"),l=J("path"),d=g(`
14
- \xA0 No overlap`),i(l,"fill","#00AA44"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","24"),i(t,"height","24"),i(t,"viewBox","0 0 24 24")},m(n,o){N(n,t,o),e(t,l),N(n,d,o)},d(n){n&&(M(t),M(d))}}}function Vs(r){let t,l,d;function n(c,x){return c[0]==="header"?Is:c[0]==="summary"?Cs:js}let o=n(r),m=o(r);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"/>',l=b(),m.c(),d=Et()},m(c,x){N(c,t,x),N(c,l,x),m.m(c,x),N(c,d,x)},p(c,x){o===(o=n(c))&&m?m.p(c,x):(m.d(1),m=o(c),m&&(m.c(),m.m(d.parentNode,d)))},i:Pt,o:Pt,d(c){c&&(M(t),M(l),M(d)),m.d(c)}}}function Ys(r,t,l){let{language:d}=t,{report:n}=t,{type:o}=t,{service:m=window.GaReportService}=t,c,x=0,le=0,P=0,A=0,ee=0,p=0,y=0,G=0,S=0,te=0,q=0,L=0,F=0,k=0,T=0,z=0,B=0,se=0,E=0,D=0,H=!1,u=!1,f=!1,$=!1;function me(){return H?"#CC0000":u?"#EE9933":"#00AA44"}function ye(){return H?"rgba(204,0,0,0.15)":u?"rgba(238,153,51,0.15)":"rgba(0,170,68,0.15)"}function Ne(){return H?"rgba(204,0,0,0.05)":u?"rgba(238,153,51,0.05)":"rgba(0,170,68,0.05)"}function ie(){return H?"a significant overlap":u?"some overlap":"no significant overlap"}return Es(async()=>{if(c=await m.getReport(void 0),l(1,x=Number(c.G0xmin)),l(2,le=Number(c.G0xmax)),l(3,P=Number(c.G0yourscore)),l(4,A=Number(c.G0percentile)),l(5,ee=Number(c.G1xmin)),l(6,p=Number(c.G1xmax)),l(7,y=Number(c.G1yourscore)),l(8,G=Number(c.G1percentile)),l(9,S=Number(c.G2xmin)),l(10,te=Number(c.G2xmax)),l(11,q=Number(c.G2yourscore)),l(12,L=Number(c.G2percentile)),l(13,F=Number(c.Sxmin)),l(14,k=Number(c.Sxmax)),l(15,T=Number(c.Syourscore)),l(16,z=Number(c.Spercentile)),l(17,B=Number(c.Bxmin)),l(18,se=Number(c.Bxmax)),l(19,E=Number(c.Byourscore)),l(20,D=Number(c.Bpercentile)),A>50&&G<50&&L<50&&z<50&&D>50){l(21,H=!0),l(24,$=!0);return}if(A>50||G<50||L<50||z<50||D>50){if(A>50&&G<50&&L<50||A>50&&G<50&&z<50||A>50&&G<50&&D>50||A>50&&L<50&&z<50||A>50&&L<50&&D>50||A>50&&z<50&&D>50||G<50&&L<50&&z<50||G<50&&L<50&&D>50||L<50&&z<50&&D>50){l(22,u=!0),l(24,$=!0);return}l(23,f=!0),l(24,$=!0);return}l(23,f=!0),l(24,$=!0)}),r.$$set=Z=>{"language"in Z&&l(29,d=Z.language),"report"in Z&&l(30,n=Z.report),"type"in Z&&l(0,o=Z.type),"service"in Z&&l(31,m=Z.service)},[o,x,le,P,A,ee,p,y,G,S,te,q,L,F,k,T,z,B,se,E,D,H,u,f,$,me,ye,Ne,ie,d,n,m]}class Hs extends Zs{constructor(t){super(),Ss(this,t,Ys,Vs,qs,{language:29,report:30,type:0,service:31},Ps,[-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-diabetes",$s(Hs,{language:{},report:{},type:{},service:{}},[],[],!0));export{Hs as default};
1
+ import{c as Zs,S as Bs,i as Cs,f as _e,s as Es,a as Ps,e as s,b as v,d as Dt,g as A,n as jt,h as z,o as Ds,t as p,j as i,k as o,l as e,m as f,p as J}from"./index2.js";import{s as K,m as Q,g as U,a as W,b as X}from"./helpers.js";function js(r){Ps(r,"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 Fs(r){let t,l,d,a,n,g,c,x,le,j,L,ee,h,q,N,C,te,E,y,P,M,w,T,G,se,D,H,$,b=K(r[4])+"",k,Z,ge,qe,Ae,ie,B,Ft,re,ze,Je,Ke,It,Ne,Qe,Ue,Ot,F,We,Rt,Xe,St,ye,Vt,I,oe,Me,me,et,Yt,tt,st,Ge=K(r[8])+"",lt,_t,Jt,it,Kt,fe,He,Qt,de,$e,rt,ot,Ut,Ze,dt,at,Wt,O,nt,Xt,vt,es,we,ts,R,ae,Be,pe,ct,ss,ut,gt,Ce=K(r[12])+"",mt,ls,is,pt,rs,xe,Ee,os,ne,Pe,ht,bt,ds,De,ft,xt,as,S,kt,ns,qt,vs,Le,cs,V,ve,je,he,yt,us,wt,Lt,Fe=K(r[16])+"",Tt,gs,ms,At,ps,ke,Ie,hs,ce,Oe,zt,Nt,bs,Re,Mt,Gt,fs,Y,Ht,xs,$t,ks,Te,qs,_,ue,Se,be,Zt,ys,Bt,Ct,Ve=K(r[20])+"",Et,ws,Ls,Pt,Ts,Ye;return{c(){t=s("div"),l=s("div"),d=s("div"),d.innerHTML="Glycan<br/> <b>Mature</b>",a=v(),n=s("div"),g=s("div"),c=s("b"),x=p(r[1]),le=v(),j=s("div"),L=s("b"),ee=p(r[2]),h=v(),q=s("div"),N=s("div"),C=v(),te=s("div"),E=v(),y=s("div"),P=v(),M=s("div"),w=s("div"),T=s("div"),G=s("b"),se=p(r[3]),D=p(" ("),H=p(r[4]),$=s("sup"),k=p(b),Z=p(" percentile)"),ge=v(),qe=s("div"),Ae=v(),ie=s("div"),B=s("div"),B.innerHTML="Glycan<br/> <b>Median</b>",Ft=v(),re=s("div"),ze=s("div"),Je=s("b"),Ke=p(r[5]),It=v(),Ne=s("div"),Qe=s("b"),Ue=p(r[6]),Ot=v(),F=s("div"),We=s("div"),Rt=v(),Xe=s("div"),St=v(),ye=s("div"),Vt=v(),I=s("div"),oe=s("div"),Me=s("div"),me=s("b"),et=p(r[7]),Yt=p(" ("),tt=p(r[8]),st=s("sup"),lt=p(Ge),_t=p(" percentile)"),Jt=v(),it=s("div"),Kt=v(),fe=s("div"),He=s("div"),He.innerHTML="Glycan<br/> <b>Youth</b>",Qt=v(),de=s("div"),$e=s("div"),rt=s("b"),ot=p(r[9]),Ut=v(),Ze=s("div"),dt=s("b"),at=p(r[10]),Wt=v(),O=s("div"),nt=s("div"),Xt=v(),vt=s("div"),es=v(),we=s("div"),ts=v(),R=s("div"),ae=s("div"),Be=s("div"),pe=s("b"),ct=p(r[11]),ss=p(" ("),ut=p(r[12]),gt=s("sup"),mt=p(Ce),ls=p(" percentile)"),is=v(),pt=s("div"),rs=v(),xe=s("div"),Ee=s("div"),Ee.innerHTML="Glycan<br/> <b>Shield</b>",os=v(),ne=s("div"),Pe=s("div"),ht=s("b"),bt=p(r[13]),ds=v(),De=s("div"),ft=s("b"),xt=p(r[14]),as=v(),S=s("div"),kt=s("div"),ns=v(),qt=s("div"),vs=v(),Le=s("div"),cs=v(),V=s("div"),ve=s("div"),je=s("div"),he=s("b"),yt=p(r[15]),us=p(" ("),wt=p(r[16]),Lt=s("sup"),Tt=p(Fe),gs=p(" percentile)"),ms=v(),At=s("div"),ps=v(),ke=s("div"),Ie=s("div"),Ie.innerHTML="Glycan<br/> <b>Lifestyle</b>",hs=v(),ce=s("div"),Oe=s("div"),zt=s("b"),Nt=p(r[17]),bs=v(),Re=s("div"),Mt=s("b"),Gt=p(r[18]),fs=v(),Y=s("div"),Ht=s("div"),xs=v(),$t=s("div"),ks=v(),Te=s("div"),qs=v(),_=s("div"),ue=s("div"),Se=s("div"),be=s("b"),Zt=p(r[19]),ys=p(" ("),Bt=p(r[20]),Ct=s("sup"),Et=p(Ve),ws=p(" percentile)"),Ls=v(),Pt=s("div"),Ts=v(),Ye=s("div"),Ye.innerHTML='<div class="dot1 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Type 2 diabetes</div> <div class="dot2 svelte-2d7oqk"></div> <div style="font-size: 0.8rem;">Your patient</div>',i(d,"class","label svelte-2d7oqk"),i(g,"class","min svelte-2d7oqk"),i(j,"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(T,"class","message svelte-2d7oqk"),i(qe,"class","triangle-down svelte-2d7oqk"),i(w,"class","resultDisplay svelte-2d7oqk"),o(w,"right",Q(r[4])),i(M,"class","result svelte-2d7oqk"),o(M,"padding",U(r[4])),o(M,"margin",W(r[4])),o(M,"border-radius",X(r[4])),i(q,"class","middleParent svelte-2d7oqk"),i(n,"class","content svelte-2d7oqk"),i(l,"class","row svelte-2d7oqk"),i(B,"class","label svelte-2d7oqk"),i(ze,"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",Q(r[8])),i(I,"class","result2 svelte-2d7oqk"),o(I,"padding",U(r[8])),o(I,"margin",W(r[8])),o(I,"border-radius",X(r[8])),i(F,"class","middleParent svelte-2d7oqk"),i(re,"class","content svelte-2d7oqk"),i(ie,"class","row svelte-2d7oqk"),i(He,"class","label svelte-2d7oqk"),i($e,"class","min svelte-2d7oqk"),i(Ze,"class","max svelte-2d7oqk"),i(nt,"class","xAxis svelte-2d7oqk"),i(vt,"class","yAxis svelte-2d7oqk"),i(we,"class","diseaseArea svelte-2d7oqk"),o(we,"border-radius","6px 0 0 6px"),o(we,"right","50.3%"),i(Be,"class","message svelte-2d7oqk"),i(pt,"class","triangle-down svelte-2d7oqk"),i(ae,"class","resultDisplay svelte-2d7oqk"),o(ae,"right",Q(r[12])),i(R,"class","result3 svelte-2d7oqk"),o(R,"padding",U(r[12])),o(R,"margin",W(r[12])),o(R,"border-radius",X(r[12])),i(O,"class","middleParent svelte-2d7oqk"),i(de,"class","content svelte-2d7oqk"),i(fe,"class","row svelte-2d7oqk"),i(Ee,"class","label svelte-2d7oqk"),i(Pe,"class","min svelte-2d7oqk"),i(De,"class","max svelte-2d7oqk"),i(kt,"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(je,"class","message svelte-2d7oqk"),i(At,"class","triangle-down svelte-2d7oqk"),i(ve,"class","resultDisplay svelte-2d7oqk"),o(ve,"right",Q(r[16])),i(V,"class","result3 svelte-2d7oqk"),o(V,"padding",U(r[16])),o(V,"margin",W(r[16])),o(V,"border-radius",X(r[16])),i(S,"class","middleParent svelte-2d7oqk"),i(ne,"class","content svelte-2d7oqk"),i(xe,"class","row svelte-2d7oqk"),i(Ie,"class","label svelte-2d7oqk"),i(Oe,"class","min svelte-2d7oqk"),i(Re,"class","max svelte-2d7oqk"),i(Ht,"class","xAxis svelte-2d7oqk"),i($t,"class","yAxis svelte-2d7oqk"),i(Te,"class","diseaseArea svelte-2d7oqk"),o(Te,"border-radius","0 6px 6px 0"),o(Te,"left","50.3%"),i(Se,"class","message svelte-2d7oqk"),i(Pt,"class","triangle-down svelte-2d7oqk"),i(ue,"class","resultDisplay svelte-2d7oqk"),o(ue,"right",Q(r[20])),i(_,"class","result3 svelte-2d7oqk"),o(_,"padding",U(r[20])),o(_,"margin",W(r[20])),o(_,"border-radius",X(r[20])),i(Y,"class","middleParent svelte-2d7oqk"),i(ce,"class","content svelte-2d7oqk"),i(ke,"class","row svelte-2d7oqk"),i(Ye,"class","lastRow svelte-2d7oqk"),i(t,"class","main svelte-2d7oqk")},m(u,m){A(u,t,m),e(t,l),e(l,d),e(l,a),e(l,n),e(n,g),e(g,c),e(c,x),e(n,le),e(n,j),e(j,L),e(L,ee),e(n,h),e(n,q),e(q,N),e(q,C),e(q,te),e(q,E),e(q,y),e(q,P),e(q,M),e(M,w),e(w,T),e(T,G),e(G,se),e(G,D),e(G,H),e(G,$),e($,k),e(G,Z),e(w,ge),e(w,qe),e(t,Ae),e(t,ie),e(ie,B),e(ie,Ft),e(ie,re),e(re,ze),e(ze,Je),e(Je,Ke),e(re,It),e(re,Ne),e(Ne,Qe),e(Qe,Ue),e(re,Ot),e(re,F),e(F,We),e(F,Rt),e(F,Xe),e(F,St),e(F,ye),e(F,Vt),e(F,I),e(I,oe),e(oe,Me),e(Me,me),e(me,et),e(me,Yt),e(me,tt),e(me,st),e(st,lt),e(me,_t),e(oe,Jt),e(oe,it),e(t,Kt),e(t,fe),e(fe,He),e(fe,Qt),e(fe,de),e(de,$e),e($e,rt),e(rt,ot),e(de,Ut),e(de,Ze),e(Ze,dt),e(dt,at),e(de,Wt),e(de,O),e(O,nt),e(O,Xt),e(O,vt),e(O,es),e(O,we),e(O,ts),e(O,R),e(R,ae),e(ae,Be),e(Be,pe),e(pe,ct),e(pe,ss),e(pe,ut),e(pe,gt),e(gt,mt),e(pe,ls),e(ae,is),e(ae,pt),e(t,rs),e(t,xe),e(xe,Ee),e(xe,os),e(xe,ne),e(ne,Pe),e(Pe,ht),e(ht,bt),e(ne,ds),e(ne,De),e(De,ft),e(ft,xt),e(ne,as),e(ne,S),e(S,kt),e(S,ns),e(S,qt),e(S,vs),e(S,Le),e(S,cs),e(S,V),e(V,ve),e(ve,je),e(je,he),e(he,yt),e(he,us),e(he,wt),e(he,Lt),e(Lt,Tt),e(he,gs),e(ve,ms),e(ve,At),e(t,ps),e(t,ke),e(ke,Ie),e(ke,hs),e(ke,ce),e(ce,Oe),e(Oe,zt),e(zt,Nt),e(ce,bs),e(ce,Re),e(Re,Mt),e(Mt,Gt),e(ce,fs),e(ce,Y),e(Y,Ht),e(Y,xs),e(Y,$t),e(Y,ks),e(Y,Te),e(Y,qs),e(Y,_),e(_,ue),e(ue,Se),e(Se,be),e(be,Zt),e(be,ys),e(be,Bt),e(be,Ct),e(Ct,Et),e(be,ws),e(ue,Ls),e(ue,Pt),e(t,Ts),e(t,Ye)},p(u,m){m[0]&2&&f(x,u[1]),m[0]&4&&f(ee,u[2]),m[0]&8&&f(se,u[3]),m[0]&16&&f(H,u[4]),m[0]&16&&b!==(b=K(u[4])+"")&&f(k,b),m[0]&16&&o(w,"right",Q(u[4])),m[0]&16&&o(M,"padding",U(u[4])),m[0]&16&&o(M,"margin",W(u[4])),m[0]&16&&o(M,"border-radius",X(u[4])),m[0]&32&&f(Ke,u[5]),m[0]&64&&f(Ue,u[6]),m[0]&128&&f(et,u[7]),m[0]&256&&f(tt,u[8]),m[0]&256&&Ge!==(Ge=K(u[8])+"")&&f(lt,Ge),m[0]&256&&o(oe,"right",Q(u[8])),m[0]&256&&o(I,"padding",U(u[8])),m[0]&256&&o(I,"margin",W(u[8])),m[0]&256&&o(I,"border-radius",X(u[8])),m[0]&512&&f(ot,u[9]),m[0]&1024&&f(at,u[10]),m[0]&2048&&f(ct,u[11]),m[0]&4096&&f(ut,u[12]),m[0]&4096&&Ce!==(Ce=K(u[12])+"")&&f(mt,Ce),m[0]&4096&&o(ae,"right",Q(u[12])),m[0]&4096&&o(R,"padding",U(u[12])),m[0]&4096&&o(R,"margin",W(u[12])),m[0]&4096&&o(R,"border-radius",X(u[12])),m[0]&8192&&f(bt,u[13]),m[0]&16384&&f(xt,u[14]),m[0]&32768&&f(yt,u[15]),m[0]&65536&&f(wt,u[16]),m[0]&65536&&Fe!==(Fe=K(u[16])+"")&&f(Tt,Fe),m[0]&65536&&o(ve,"right",Q(u[16])),m[0]&65536&&o(V,"padding",U(u[16])),m[0]&65536&&o(V,"margin",W(u[16])),m[0]&65536&&o(V,"border-radius",X(u[16])),m[0]&131072&&f(Nt,u[17]),m[0]&262144&&f(Gt,u[18]),m[0]&524288&&f(Zt,u[19]),m[0]&1048576&&f(Bt,u[20]),m[0]&1048576&&Ve!==(Ve=K(u[20])+"")&&f(Et,Ve),m[0]&1048576&&o(ue,"right",Q(u[20])),m[0]&1048576&&o(_,"padding",U(u[20])),m[0]&1048576&&o(_,"margin",W(u[20])),m[0]&1048576&&o(_,"border-radius",X(u[20]))},d(u){u&&z(t)}}}function Is(r){let t,l=r[24]&&As(r);return{c(){l&&l.c(),t=Dt()},m(d,a){l&&l.m(d,a),A(d,t,a)},p(d,a){d[24]?l?l.p(d,a):(l=As(d),l.c(),l.m(t.parentNode,t)):l&&(l.d(1),l=null)},d(d){d&&z(t),l&&l.d(d)}}}function Os(r){let t,l,d,a=r[21]&&Ms(),n=r[22]&&Gs(),g=r[23]&&Hs();return{c(){t=s("div"),a&&a.c(),l=v(),n&&n.c(),d=v(),g&&g.c(),i(t,"class","header svelte-2d7oqk")},m(c,x){A(c,t,x),a&&a.m(t,null),e(t,l),n&&n.m(t,null),e(t,d),g&&g.m(t,null)},p(c,x){c[21]?a||(a=Ms(),a.c(),a.m(t,l)):a&&(a.d(1),a=null),c[22]?n||(n=Gs(),n.c(),n.m(t,d)):n&&(n.d(1),n=null),c[23]?g||(g=Hs(),g.c(),g.m(t,null)):g&&(g.d(1),g=null)},d(c){c&&z(t),a&&a.d(),n&&n.d(),g&&g.d()}}}function As(r){let t;function l(n,g){return n[23]?Ss:Rs}let d=l(r),a=d(r);return{c(){a.c(),t=Dt()},m(n,g){a.m(n,g),A(n,t,g)},p(n,g){d===(d=l(n))&&a?a.p(n,g):(a.d(1),a=d(n),a&&(a.c(),a.m(t.parentNode,t)))},d(n){n&&z(t),a.d(n)}}}function Rs(r){let t,l,d,a,n,g,c,x,le,j,L,ee,h,q,N,C,te,E,y,P,M,w,T,G,se,D,H,$,b=r[21]&&zs(),k=r[22]&&Ns();return{c(){t=s("div"),l=s("div"),d=s("div"),b&&b.c(),a=v(),k&&k.c(),n=v(),g=s("div"),c=p("There is "),x=s("b"),x.textContent=`${r[28]()}`,le=p(" of glycan indexes between "),j=s("br"),L=p(` your patient and type 2 diabetes
2
+ disease patients.`),ee=v(),h=s("div"),q=s("div"),q.textContent="Symptoms to check for:",N=v(),C=s("div"),C.innerHTML=`<b>Increased thirst and frequent urination:</b> Elevated blood sugar levels lead to
3
+ <br/> increased fluid loss through urination, causing thirst and dehydration.`,te=v(),E=s("div"),E.innerHTML="<b>Fatigue:</b> Lack of sufficient energy from glucose can cause tiredness and fatigue.",y=v(),P=s("div"),P.innerHTML=`<b>Blurred vision:</b> High blood glucose levels can affect the eyes, leading to blurry
4
+ <br/> vision.`,M=v(),w=s("div"),w.textContent="Possible follow-up tests:",T=v(),G=s("div"),G.innerHTML=`<b>HbA1c test:</b> This blood test provides information about average blood glucose
5
+ <br/> levels over the past 3 months.`,se=v(),D=s("div"),D.innerHTML=`<b>Fasting blood sugar test:</b> It measures the blood glucose levels after an overnight
6
+ <br/> fast to assess the body s glucose regulation.`,H=v(),$=s("div"),$.innerHTML=`<b>Oral glucose tolerance test (OGTT):</b> This assesses the body s response to <br/>
7
+ glucose to determine insulin resistance and diabetes.`,o(d,"width","10%"),o(d,"padding-left","1.5rem"),o(d,"padding-right","1rem"),o(g,"width","90%"),i(l,"class","summaryHeader svelte-2d7oqk"),o(l,"border-radius","8px 8px 0 0"),o(l,"background-color",r[26]()),o(l,"border-bottom","2px solid "+r[25]()),o(q,"font-size","1.2rem"),o(q,"padding-bottom","1rem"),o(C,"font-size","0.7rem"),o(C,"padding-bottom","0.4rem"),o(E,"font-size","0.7rem"),o(E,"padding-bottom","0.4rem"),o(P,"font-size","0.7rem"),o(P,"padding-bottom","0.4rem"),o(w,"font-size","1.2rem"),o(w,"padding-top","1.2rem"),o(w,"padding-bottom","1rem"),o(G,"font-size","0.7rem"),o(G,"padding-bottom","0.4rem"),o(D,"font-size","0.7rem"),o(D,"padding-bottom","0.4rem"),o($,"font-size","0.7rem"),o($,"padding-bottom","0.4rem"),i(h,"class","summaryBody svelte-2d7oqk"),o(h,"background-color",r[27]()),i(t,"class","summaryMain svelte-2d7oqk"),o(t,"border","2px solid "+r[25]())},m(Z,ge){A(Z,t,ge),e(t,l),e(l,d),b&&b.m(d,null),e(d,a),k&&k.m(d,null),e(l,n),e(l,g),e(g,c),e(g,x),e(g,le),e(g,j),e(g,L),e(t,ee),e(t,h),e(h,q),e(h,N),e(h,C),e(h,te),e(h,E),e(h,y),e(h,P),e(h,M),e(h,w),e(h,T),e(h,G),e(h,se),e(h,D),e(h,H),e(h,$)},p(Z,ge){Z[21]?b||(b=zs(),b.c(),b.m(d,a)):b&&(b.d(1),b=null),Z[22]?k||(k=Ns(),k.c(),k.m(d,null)):k&&(k.d(1),k=null)},d(Z){Z&&z(t),b&&b.d(),k&&k.d()}}}function Ss(r){let t;return{c(){t=s("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
8
+ type 2 diabetes disease 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>Increased thirst and frequent urination:</b> Elevated blood sugar levels lead to
9
+ <br/> increased fluid loss through urination, causing thirst and dehydration.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Fatigue:</b> Lack of sufficient energy from glucose can cause tiredness and fatigue.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Blurred vision:</b> High blood glucose levels can affect the eyes, leading to blurry
10
+ <br/> vision.</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>HbA1c test:</b> This blood test provides information about average blood glucose
11
+ <br/> levels over the past 3 months.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Fasting blood sugar test:</b> It measures the blood glucose levels after an overnight
12
+ <br/> fast to assess the body s glucose regulation.</div> <div style="font-size: 0.7rem; padding-bottom: 0.4rem;"><b>Oral glucose tolerance test (OGTT):</b> This assesses the body s response to <br/>
13
+ glucose to determine insulin resistance and diabetes.</div></div>`,i(t,"class","summaryMain svelte-2d7oqk")},m(l,d){A(l,t,d)},p:jt,d(l){l&&z(t)}}}function zs(r){let t,l;return{c(){t=J("svg"),l=J("path"),i(l,"fill","#CC0000"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(d,a){A(d,t,a),e(t,l)},d(d){d&&z(t)}}}function Ns(r){let t,l;return{c(){t=J("svg"),l=J("path"),i(l,"fill","#EE9933"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(t,"xmlns","http://www.w3.org/2000/svg"),i(t,"width","50"),i(t,"height","50"),i(t,"viewBox","0 0 24 24")},m(d,a){A(d,t,a),e(t,l)},d(d){d&&z(t)}}}function Ms(r){let t,l,d;return{c(){t=J("svg"),l=J("path"),d=p(`
14
+ \xA0 Significant overlap`),i(l,"fill","#CC0000"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45ZM12 17q.425 0 .713-.288T13 16q0-.425-.288-.713T12 15q-.425 0-.713.288T11 16q0 .425.288.713T12 17Zm-1-4h2V7h-2v6Z"),i(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){A(a,t,n),e(t,l),A(a,d,n)},d(a){a&&(z(t),z(d))}}}function Gs(r){let t,l,d;return{c(){t=J("svg"),l=J("path"),d=p(`
15
+ \xA0 Some overlap`),i(l,"fill","#EE9933"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(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){A(a,t,n),e(t,l),A(a,d,n)},d(a){a&&(z(t),z(d))}}}function Hs(r){let t,l,d;return{c(){t=J("svg"),l=J("path"),d=p(`
16
+ \xA0 No overlap`),i(l,"fill","#00AA44"),i(l,"d","m8.6 22.5l-1.9-3.2l-3.6-.8l.35-3.7L1 12l2.45-2.8l-.35-3.7l3.6-.8l1.9-3.2L12 2.95l3.4-1.45l1.9 3.2l3.6.8l-.35 3.7L23 12l-2.45 2.8l.35 3.7l-3.6.8l-1.9 3.2l-3.4-1.45l-3.4 1.45Zm2.35-6.95L16.6 9.9l-1.4-1.45l-4.25 4.25l-2.15-2.1L7.4 12l3.55 3.55Z"),i(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){A(a,t,n),e(t,l),A(a,d,n)},d(a){a&&(z(t),z(d))}}}function Vs(r){let t,l,d;function a(c,x){return c[0]==="header"?Os:c[0]==="summary"?Is:Fs}let n=a(r),g=n(r);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"/>',l=v(),g.c(),d=Dt()},m(c,x){A(c,t,x),A(c,l,x),g.m(c,x),A(c,d,x)},p(c,x){n===(n=a(c))&&g?g.p(c,x):(g.d(1),g=n(c),g&&(g.c(),g.m(d.parentNode,d)))},i:jt,o:jt,d(c){c&&(z(t),z(l),z(d)),g.d(c)}}}function Ys(r,t,l){let{language:d}=t,{report:a}=t,{type:n}=t,{service:g=window.GaReportService}=t,c,x=0,le=0,j=0,L=0,ee=0,h=0,q=0,N=0,C=0,te=0,E=0,y=0,P=0,M=0,w=0,T=0,G=0,se=0,D=0,H=0,$=!1,b=!1,k=!1,Z=!1;function ge(){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 Ae(){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 Ds(async()=>{if(c=await g.getReport(a),l(1,x=Number(c.G0xmin)),l(2,le=Number(c.G0xmax)),l(3,j=Number(c.G0yourscore)),l(4,L=Number(c.G0percentile)),l(5,ee=Number(c.G1xmin)),l(6,h=Number(c.G1xmax)),l(7,q=Number(c.G1yourscore)),l(8,N=Number(c.G1percentile)),l(9,C=Number(c.G2xmin)),l(10,te=Number(c.G2xmax)),l(11,E=Number(c.G2yourscore)),l(12,y=Number(c.G2percentile)),l(13,P=Number(c.Sxmin)),l(14,M=Number(c.Sxmax)),l(15,w=Number(c.Syourscore)),l(16,T=Number(c.Spercentile)),l(17,G=Number(c.Bxmin)),l(18,se=Number(c.Bxmax)),l(19,D=Number(c.Byourscore)),l(20,H=Number(c.Bpercentile)),L>50&&N<50&&y<50&&T<50&&H>50){l(21,$=!0),l(24,Z=!0);return}if(L>50||N<50||y<50||T<50||H>50){if(L>50&&N<50&&y<50||L>50&&N<50&&T<50||L>50&&N<50&&H>50||L>50&&y<50&&T<50||L>50&&y<50&&H>50||L>50&&T<50&&H>50||N<50&&y<50&&T<50||N<50&&y<50&&H>50||y<50&&T<50&&H>50){l(22,b=!0),l(24,Z=!0);return}l(23,k=!0),l(24,Z=!0);return}l(23,k=!0),l(24,Z=!0)}),r.$$set=B=>{"language"in B&&l(29,d=B.language),"report"in B&&l(30,a=B.report),"type"in B&&l(0,n=B.type),"service"in B&&l(31,g=B.service)},[n,x,le,j,L,ee,h,q,N,C,te,E,y,P,M,w,T,G,se,D,H,$,b,k,Z,ge,qe,Ae,ie,d,a,g]}class $s extends Bs{constructor(t){super(),Cs(this,t,Ys,Vs,Es,{language:29,report:30,type:0,service:31},js,[-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-diabetes",Zs($s,{language:{},report:{},type:{},service:{}},[],[],!0));export{$s as default};