@glycanage/web-components 1.54.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
- import{c as ue,S as ge,i as Oe,f as K,s as Ee,a as ze,e as o,b as z,d as Le,g as A,t as ne,h as _e,j as ae,k as S,o as we,l as ye,v as B,m as _,w as xe,p as i,n as M,q as s,x as Ae,r as w,y as Se,u as J}from"./index2.js";import{a as p,A as Pe}from"./Arrow.js";function Te(a){ze(a,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Re(a){let e,l,t,n,v,g,u,f,h=p(a[0],"GLYCAN")+"",r,d,c,m,y,O,V,P,T,$;return T=new Pe({props:{type:"left",percentile:a[6]}}),{c(){e=o("div"),l=o("div"),t=B("svg"),n=B("path"),g=z(),u=o("div"),f=o("div"),r=_(h),d=z(),c=o("b"),c.textContent="Youth (G2)",m=z(),y=o("div"),O=_(a[5]),V=z(),P=o("div"),xe(T.$$.fragment),i(n,"fill",v=a[6]>=32?"#12A195":"#F2590D"),i(n,"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(u,"display","flex"),M(u,"flex-direction","column"),M(u,"padding-left","0.3rem"),i(l,"class","label svelte-1285zfm"),M(l,"font-size","0.8rem"),M(P,"width","70%"),M(P,"display","flex"),M(P,"align-items","center"),i(e,"class","main svelte-1285zfm")},m(L,R){A(L,e,R),s(e,l),s(l,t),s(t,n),s(l,g),s(l,u),s(u,f),s(f,r),s(f,d),s(f,c),s(u,m),s(u,y),s(y,O),s(e,V),s(e,P),Ae(T,P,null),$=!0},p(L,R){(!$||R&64&&v!==(v=L[6]>=32?"#12A195":"#F2590D"))&&i(n,"fill",v),(!$||R&1)&&h!==(h=p(L[0],"GLYCAN")+"")&&w(r,h),(!$||R&32)&&w(O,L[5]);const F={};R&64&&(F.percentile=L[6]),T.$set(F)},i(L){$||(ae(T.$$.fragment,L),$=!0)},o(L){ne(T.$$.fragment,L),$=!1},d(L){L&&S(e),Se(T)}}}function Me(a){let e,l,t,n,v,g,u=(a[6]<32?p(a[0],"SOME_OVERLAP_LONG"):p(a[0],"NO_OVERLAP_LONG"))+"",f,h,r=p(a[0],"OVERLAP_TEXT")+"",d,c,m,y,O,V,P=p(a[0],"SYMPTOMS")+"",T,$,L,R,F=p(a[0],"SYMPTOM_ONE")+"",Q,re,C,H=p(a[0],"POSSIBLE_FOLLOW_UP")+"",ee,me,N,I,Z=p(a[0],"POSSIBLE_FOLLOW_UP_ONE")+"",le,oe,b,W=p(a[0],"POSSIBLE_FOLLOW_UP_TWO")+"",te,pe,D,U=p(a[0],"POSSIBLE_FOLLOW_UP_THREE")+"",se,ce,Y,X=p(a[0],"RELATED_RESEARCH_PAPERS")+"",ie,fe,q,de,j;function he(E,x){return E[2]?Ne:Be}let k=he(a),G=k(a);return{c(){e=o("div"),l=o("div"),t=o("div"),G.c(),n=z(),v=o("div"),g=o("b"),f=_(u),h=z(),d=_(r),c=z(),m=o("hr"),y=z(),O=o("div"),V=o("h5"),T=_(P),$=z(),L=o("ul"),R=o("li"),Q=_(F),re=z(),C=o("h5"),ee=_(H),me=z(),N=o("ul"),I=o("li"),le=_(Z),oe=z(),b=o("li"),te=_(W),pe=z(),D=o("li"),se=_(U),ce=z(),Y=o("h5"),ie=_(X),fe=z(),q=o("a"),q.textContent="The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study",de=z(),j=o("p"),j.textContent="In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. A notable observation was the decrease in G2 in the cohort with prehypertension.",M(t,"transform","translate(-50%)"),M(g,"color",a[2]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1285zfm"),i(m,"class","svelte-1285zfm"),i(V,"class","svelte-1285zfm"),i(R,"class","svelte-1285zfm"),i(L,"class","svelte-1285zfm"),i(C,"class","svelte-1285zfm"),i(I,"class","svelte-1285zfm"),i(b,"class","svelte-1285zfm"),i(D,"class","svelte-1285zfm"),i(N,"class","svelte-1285zfm"),i(Y,"class","svelte-1285zfm"),i(q,"href","https://pubmed.ncbi.nlm.nih.gov/27124023/"),i(q,"class","svelte-1285zfm"),i(j,"class","svelte-1285zfm"),i(O,"class","summaryBody svelte-1285zfm"),i(e,"class","summaryMain svelte-1285zfm")},m(E,x){A(E,e,x),s(e,l),s(l,t),G.m(t,null),s(l,n),s(l,v),s(v,g),s(g,f),s(v,h),s(v,d),s(e,c),s(e,m),s(e,y),s(e,O),s(O,V),s(V,T),s(O,$),s(O,L),s(L,R),s(R,Q),s(O,re),s(O,C),s(C,ee),s(O,me),s(O,N),s(N,I),s(I,le),s(N,oe),s(N,b),s(b,te),s(N,pe),s(N,D),s(D,se),s(O,ce),s(O,Y),s(Y,ie),s(O,fe),s(O,q),s(O,de),s(O,j)},p(E,x){k!==(k=he(E))&&(G.d(1),G=k(E),G&&(G.c(),G.m(t,null))),x&65&&u!==(u=(E[6]<32?p(E[0],"SOME_OVERLAP_LONG"):p(E[0],"NO_OVERLAP_LONG"))+"")&&w(f,u),x&4&&M(g,"color",E[2]?"#F2590D":"#12A195"),x&1&&r!==(r=p(E[0],"OVERLAP_TEXT")+"")&&w(d,r),x&1&&P!==(P=p(E[0],"SYMPTOMS")+"")&&w(T,P),x&1&&F!==(F=p(E[0],"SYMPTOM_ONE")+"")&&w(Q,F),x&1&&H!==(H=p(E[0],"POSSIBLE_FOLLOW_UP")+"")&&w(ee,H),x&1&&Z!==(Z=p(E[0],"POSSIBLE_FOLLOW_UP_ONE")+"")&&w(le,Z),x&1&&W!==(W=p(E[0],"POSSIBLE_FOLLOW_UP_TWO")+"")&&w(te,W),x&1&&U!==(U=p(E[0],"POSSIBLE_FOLLOW_UP_THREE")+"")&&w(se,U),x&1&&X!==(X=p(E[0],"RELATED_RESEARCH_PAPERS")+"")&&w(ie,X)},i:J,o:J,d(E){E&&S(e),G.d()}}}function $e(a){let e,l,t,n,v,g;function u(m,y){return m[2]?Ve:Ge}let f=u(a),h=f(a);function r(m,y){return m[2]?qe:Fe}let d=r(a),c=d(a);return{c(){e=o("div"),l=o("div"),t=o("b"),n=_(a[4]),v=z(),h.c(),g=_(`
1
+ import{c as ue,S as ge,i as Oe,f as K,s as ze,a as Ee,e as o,b as E,d as Le,g as A,t as ne,h as _e,j as ae,k as S,o as we,l as ye,n as p,x as B,p as _,y as xe,r as i,q as M,u as s,z as Ae,v as w,A as Se,w as J}from"./helpers.js";import{A as Pe}from"./Arrow.js";function Te(a){Ee(a,"svelte-1285zfm",".summaryMain.svelte-1285zfm.svelte-1285zfm{padding:0 48px;height:100%;display:flex;flex-direction:column;color:#09341FCC}.summaryMain.svelte-1285zfm hr.svelte-1285zfm{border:2px solid rgba(201, 219, 210, 1);border-radius:2px;margin:18px 0}.summaryMain.svelte-1285zfm h5.svelte-1285zfm{font-size:16px;margin:0}.summaryMain.svelte-1285zfm ul.svelte-1285zfm{margin-top:4px;margin-bottom:24px;font-size:14px;padding-left:20px}.summaryMain.svelte-1285zfm ul li.svelte-1285zfm:not(:first-child){margin-top:4px}.summaryHeader.svelte-1285zfm.svelte-1285zfm{width:100%;font-size:16px;line-height:115%;padding-top:32px;display:flex;align-items:center;transform:translateX(-48px)}.summaryBody.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;margin:auto}.summaryBody.svelte-1285zfm a.svelte-1285zfm{display:block;color:#E66439;font-weight:bold;font-size:12px;margin-top:12px}.summaryBody.svelte-1285zfm p.svelte-1285zfm{color:rgba(9, 52, 31, 0.80);font-size:10px;margin-top:6px}.main.svelte-1285zfm.svelte-1285zfm{height:100%;width:100%;display:flex}.label.svelte-1285zfm.svelte-1285zfm{width:30%;display:flex;align-items:center}.header.svelte-1285zfm.svelte-1285zfm{width:100%;height:100%;display:flex;align-items:center}")}function Re(a){let e,l,t,n,v,g,u,f,h=p(a[0],"GLYCAN")+"",r,d,c,m,y,O,V,P,T,$;return T=new Pe({props:{type:"left",percentile:a[6]}}),{c(){e=o("div"),l=o("div"),t=B("svg"),n=B("path"),g=E(),u=o("div"),f=o("div"),r=_(h),d=E(),c=o("b"),c.textContent="Youth (G2)",m=E(),y=o("div"),O=_(a[5]),V=E(),P=o("div"),xe(T.$$.fragment),i(n,"fill",v=a[6]>=32?"#12A195":"#F2590D"),i(n,"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(u,"display","flex"),M(u,"flex-direction","column"),M(u,"padding-left","0.3rem"),i(l,"class","label svelte-1285zfm"),M(l,"font-size","0.8rem"),M(P,"width","70%"),M(P,"display","flex"),M(P,"align-items","center"),i(e,"class","main svelte-1285zfm")},m(L,R){A(L,e,R),s(e,l),s(l,t),s(t,n),s(l,g),s(l,u),s(u,f),s(f,r),s(f,d),s(f,c),s(u,m),s(u,y),s(y,O),s(e,V),s(e,P),Ae(T,P,null),$=!0},p(L,R){(!$||R&64&&v!==(v=L[6]>=32?"#12A195":"#F2590D"))&&i(n,"fill",v),(!$||R&1)&&h!==(h=p(L[0],"GLYCAN")+"")&&w(r,h),(!$||R&32)&&w(O,L[5]);const F={};R&64&&(F.percentile=L[6]),T.$set(F)},i(L){$||(ae(T.$$.fragment,L),$=!0)},o(L){ne(T.$$.fragment,L),$=!1},d(L){L&&S(e),Se(T)}}}function Me(a){let e,l,t,n,v,g,u=(a[6]<32?p(a[0],"SOME_OVERLAP_LONG"):p(a[0],"NO_OVERLAP_LONG"))+"",f,h,r=p(a[0],"OVERLAP_TEXT")+"",d,c,m,y,O,V,P=p(a[0],"SYMPTOMS")+"",T,$,L,R,F=p(a[0],"SYMPTOM_ONE")+"",Q,re,C,H=p(a[0],"POSSIBLE_FOLLOW_UP")+"",ee,me,N,I,Z=p(a[0],"POSSIBLE_FOLLOW_UP_ONE")+"",le,oe,b,W=p(a[0],"POSSIBLE_FOLLOW_UP_TWO")+"",te,pe,D,U=p(a[0],"POSSIBLE_FOLLOW_UP_THREE")+"",se,ce,Y,X=p(a[0],"RELATED_RESEARCH_PAPERS")+"",ie,fe,q,de,j;function he(z,x){return z[2]?Ne:Be}let k=he(a),G=k(a);return{c(){e=o("div"),l=o("div"),t=o("div"),G.c(),n=E(),v=o("div"),g=o("b"),f=_(u),h=E(),d=_(r),c=E(),m=o("hr"),y=E(),O=o("div"),V=o("h5"),T=_(P),$=E(),L=o("ul"),R=o("li"),Q=_(F),re=E(),C=o("h5"),ee=_(H),me=E(),N=o("ul"),I=o("li"),le=_(Z),oe=E(),b=o("li"),te=_(W),pe=E(),D=o("li"),se=_(U),ce=E(),Y=o("h5"),ie=_(X),fe=E(),q=o("a"),q.textContent="The Association Between Glycosylation of Immunoglobulin G and Hypertension: A Multiple Ethnic Cross-Sectional Study",de=E(),j=o("p"),j.textContent="In an extensive study with 4757 participants, including 913 from the Chinese Han Beijing population, 985 from Croatian Kor\u010Dula, 896 from Croatian Vis, and 1963 from Scottish Orkney, researchers investigated changes in IgG glycans associated with prehypertension and hypertension. The demographic composition of the study was approximately 40% female and 60% male participants. A notable observation was the decrease in G2 in the cohort with prehypertension.",M(t,"transform","translate(-50%)"),M(g,"color",a[2]?"#F2590D":"#12A195"),i(l,"class","summaryHeader svelte-1285zfm"),i(m,"class","svelte-1285zfm"),i(V,"class","svelte-1285zfm"),i(R,"class","svelte-1285zfm"),i(L,"class","svelte-1285zfm"),i(C,"class","svelte-1285zfm"),i(I,"class","svelte-1285zfm"),i(b,"class","svelte-1285zfm"),i(D,"class","svelte-1285zfm"),i(N,"class","svelte-1285zfm"),i(Y,"class","svelte-1285zfm"),i(q,"href","https://pubmed.ncbi.nlm.nih.gov/27124023/"),i(q,"class","svelte-1285zfm"),i(j,"class","svelte-1285zfm"),i(O,"class","summaryBody svelte-1285zfm"),i(e,"class","summaryMain svelte-1285zfm")},m(z,x){A(z,e,x),s(e,l),s(l,t),G.m(t,null),s(l,n),s(l,v),s(v,g),s(g,f),s(v,h),s(v,d),s(e,c),s(e,m),s(e,y),s(e,O),s(O,V),s(V,T),s(O,$),s(O,L),s(L,R),s(R,Q),s(O,re),s(O,C),s(C,ee),s(O,me),s(O,N),s(N,I),s(I,le),s(N,oe),s(N,b),s(b,te),s(N,pe),s(N,D),s(D,se),s(O,ce),s(O,Y),s(Y,ie),s(O,fe),s(O,q),s(O,de),s(O,j)},p(z,x){k!==(k=he(z))&&(G.d(1),G=k(z),G&&(G.c(),G.m(t,null))),x&65&&u!==(u=(z[6]<32?p(z[0],"SOME_OVERLAP_LONG"):p(z[0],"NO_OVERLAP_LONG"))+"")&&w(f,u),x&4&&M(g,"color",z[2]?"#F2590D":"#12A195"),x&1&&r!==(r=p(z[0],"OVERLAP_TEXT")+"")&&w(d,r),x&1&&P!==(P=p(z[0],"SYMPTOMS")+"")&&w(T,P),x&1&&F!==(F=p(z[0],"SYMPTOM_ONE")+"")&&w(Q,F),x&1&&H!==(H=p(z[0],"POSSIBLE_FOLLOW_UP")+"")&&w(ee,H),x&1&&Z!==(Z=p(z[0],"POSSIBLE_FOLLOW_UP_ONE")+"")&&w(le,Z),x&1&&W!==(W=p(z[0],"POSSIBLE_FOLLOW_UP_TWO")+"")&&w(te,W),x&1&&U!==(U=p(z[0],"POSSIBLE_FOLLOW_UP_THREE")+"")&&w(se,U),x&1&&X!==(X=p(z[0],"RELATED_RESEARCH_PAPERS")+"")&&w(ie,X)},i:J,o:J,d(z){z&&S(e),G.d()}}}function $e(a){let e,l,t,n,v,g;function u(m,y){return m[2]?Ve:Ge}let f=u(a),h=f(a);function r(m,y){return m[2]?qe:Fe}let d=r(a),c=d(a);return{c(){e=o("div"),l=o("div"),t=o("b"),n=_(a[4]),v=E(),h.c(),g=_(`
2
2
  \xA0\xA0
3
- `),c.c(),M(l,"padding-right","10px"),i(e,"class","header svelte-1285zfm")},m(m,y){A(m,e,y),s(e,l),s(l,t),s(t,n),s(e,v),h.m(e,null),s(e,g),c.m(e,null)},p(m,y){y&16&&w(n,m[4]),f!==(f=u(m))&&(h.d(1),h=f(m),h&&(h.c(),h.m(e,g))),d===(d=r(m))&&c?c.p(m,y):(c.d(1),c=d(m),c&&(c.c(),c.m(e,null)))},i:J,o:J,d(m){m&&S(e),h.d(),c.d()}}}function Be(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#12A195"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Ne(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#F2590D"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Ge(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#12A195"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Ve(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#F2590D"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Fe(a){let e=p(a[0],"NO_OVERLAP")+"",l;return{c(){l=_(e)},m(t,n){A(t,l,n)},p(t,n){n&1&&e!==(e=p(t[0],"NO_OVERLAP")+"")&&w(l,e)},d(t){t&&S(l)}}}function qe(a){let e=p(a[0],"SOME_OVERLAP")+"",l;return{c(){l=_(e)},m(t,n){A(t,l,n)},p(t,n){n&1&&e!==(e=p(t[0],"SOME_OVERLAP")+"")&&w(l,e)},d(t){t&&S(l)}}}function Ce(a){let e,l,t,n,v,g;const u=[$e,Me,Re],f=[];function h(r,d){return r[1]==="header"?0:r[1]==="summary"&&r[3]?1:2}return t=h(a),n=f[t]=u[t](a),{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"/>',l=z(),n.c(),v=Le()},m(r,d){A(r,e,d),A(r,l,d),f[t].m(r,d),A(r,v,d),g=!0},p(r,[d]){let c=t;t=h(r),t===c?f[t].p(r,d):(ye(),ne(f[c],1,1,()=>{f[c]=null}),_e(),n=f[t],n?n.p(r,d):(n=f[t]=u[t](r),n.c()),ae(n,1),n.m(v.parentNode,v))},i(r){g||(ae(n),g=!0)},o(r){ne(n),g=!1},d(r){r&&(S(e),S(l),S(v)),f[t].d(r)}}}function He(a,e,l){let{lang:t}=e,{report:n}=e,{type:v}=e,{service:g=window.GaReportService}=e,u,f=!1,h=!1,r="",d="",c=0;return we(async()=>{if(u=await g.getReport(n),l(6,c=Number(u.G2percentile)),c<32){l(4,r="1/1"),l(5,d=p(t,"LOWER_THAN_AVERAGE")),l(2,f=!0),l(3,h=!0);return}if(c>=32&&c<=68){l(4,r="0/1"),l(5,d=p(t,"AROUND_AVERAGE")),l(3,h=!0);return}if(c>68){l(4,r="0/1"),l(5,d=p(t,"HIGHER_THAN_AVERAGE")),l(3,h=!0);return}}),a.$$set=m=>{"lang"in m&&l(0,t=m.lang),"report"in m&&l(7,n=m.report),"type"in m&&l(1,v=m.type),"service"in m&&l(8,g=m.service)},[t,v,f,h,r,d,c,n,g]}class ve extends ge{constructor(e){super(),Oe(this,e,He,Ce,Ee,{lang:0,report:7,type:1,service:8},Te)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),K()}get report(){return this.$$.ctx[7]}set report(e){this.$$set({report:e}),K()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),K()}get service(){return this.$$.ctx[8]}set service(e){this.$$set({service:e}),K()}}customElements.define("ga-pre-hypertension",ue(ve,{lang:{},report:{},type:{},service:{}},[],[],!0));export{ve as default};
3
+ `),c.c(),M(l,"padding-right","10px"),i(e,"class","header svelte-1285zfm")},m(m,y){A(m,e,y),s(e,l),s(l,t),s(t,n),s(e,v),h.m(e,null),s(e,g),c.m(e,null)},p(m,y){y&16&&w(n,m[4]),f!==(f=u(m))&&(h.d(1),h=f(m),h&&(h.c(),h.m(e,g))),d===(d=r(m))&&c?c.p(m,y):(c.d(1),c=d(m),c&&(c.c(),c.m(e,null)))},i:J,o:J,d(m){m&&S(e),h.d(),c.d()}}}function Be(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#12A195"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Ne(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#F2590D"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","50"),i(e,"height","50"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Ge(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#12A195"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Ve(a){let e,l;return{c(){e=B("svg"),l=B("path"),i(l,"fill","#F2590D"),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(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"width","24"),i(e,"height","24"),i(e,"viewBox","0 0 24 24")},m(t,n){A(t,e,n),s(e,l)},d(t){t&&S(e)}}}function Fe(a){let e=p(a[0],"NO_OVERLAP")+"",l;return{c(){l=_(e)},m(t,n){A(t,l,n)},p(t,n){n&1&&e!==(e=p(t[0],"NO_OVERLAP")+"")&&w(l,e)},d(t){t&&S(l)}}}function qe(a){let e=p(a[0],"SOME_OVERLAP")+"",l;return{c(){l=_(e)},m(t,n){A(t,l,n)},p(t,n){n&1&&e!==(e=p(t[0],"SOME_OVERLAP")+"")&&w(l,e)},d(t){t&&S(l)}}}function Ce(a){let e,l,t,n,v,g;const u=[$e,Me,Re],f=[];function h(r,d){return r[1]==="header"?0:r[1]==="summary"&&r[3]?1:2}return t=h(a),n=f[t]=u[t](a),{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"/>',l=E(),n.c(),v=Le()},m(r,d){A(r,e,d),A(r,l,d),f[t].m(r,d),A(r,v,d),g=!0},p(r,[d]){let c=t;t=h(r),t===c?f[t].p(r,d):(ye(),ne(f[c],1,1,()=>{f[c]=null}),_e(),n=f[t],n?n.p(r,d):(n=f[t]=u[t](r),n.c()),ae(n,1),n.m(v.parentNode,v))},i(r){g||(ae(n),g=!0)},o(r){ne(n),g=!1},d(r){r&&(S(e),S(l),S(v)),f[t].d(r)}}}function He(a,e,l){let{lang:t}=e,{report:n}=e,{type:v}=e,{service:g=window.GaReportService}=e,u,f=!1,h=!1,r="",d="",c=0;return we(async()=>{if(u=await g.getReport(n),l(6,c=Number(u.G2percentile)),c<32){l(4,r="1/1"),l(5,d=p(t,"LOWER_THAN_AVERAGE")),l(2,f=!0),l(3,h=!0);return}if(c>=32&&c<=68){l(4,r="0/1"),l(5,d=p(t,"AROUND_AVERAGE")),l(3,h=!0);return}if(c>68){l(4,r="0/1"),l(5,d=p(t,"HIGHER_THAN_AVERAGE")),l(3,h=!0);return}}),a.$$set=m=>{"lang"in m&&l(0,t=m.lang),"report"in m&&l(7,n=m.report),"type"in m&&l(1,v=m.type),"service"in m&&l(8,g=m.service)},[t,v,f,h,r,d,c,n,g]}class ve extends ge{constructor(e){super(),Oe(this,e,He,Ce,ze,{lang:0,report:7,type:1,service:8},Te)}get lang(){return this.$$.ctx[0]}set lang(e){this.$$set({lang:e}),K()}get report(){return this.$$.ctx[7]}set report(e){this.$$set({report:e}),K()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),K()}get service(){return this.$$.ctx[8]}set service(e){this.$$set({service:e}),K()}}customElements.define("ga-pre-hypertension",ue(ve,{lang:{},report:{},type:{},service:{}},[],[],!0));export{ve as default};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@glycanage/web-components",
3
3
  "description": "A collection of web-components",
4
- "version": "1.54.0",
4
+ "version": "1.56.0",
5
5
  "type": "module",
6
6
  "main": "dist/lib/@glycanage/web-components.js",
7
7
  "scripts": {
package/dist/index2.js DELETED
@@ -1 +0,0 @@
1
- var G=Object.defineProperty,K=(t,n,e)=>n in t?G(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e,a=(t,n,e)=>(K(t,typeof n!="symbol"?n+"":n,e),e);function y(){}function S(t){return t()}function B(){return Object.create(null)}function m(t){t.forEach(S)}function M(t){return typeof t=="function"}function Q(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}function U(t){return Object.keys(t).length===0}function R(t,n){t.appendChild(n)}function V(t,n,e){const o=W(t);if(!o.getElementById(n)){const s=x("style");s.id=n,s.textContent=e,X(o,s)}}function W(t){if(!t)return document;const n=t.getRootNode?t.getRootNode():t.ownerDocument;return n&&n.host?n:t.ownerDocument}function X(t,n){return R(t.head||t,n),n.sheet}function T(t,n,e){t.insertBefore(n,e||null)}function w(t){t.parentNode&&t.parentNode.removeChild(t)}function x(t){return document.createElement(t)}function Y(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function E(t){return document.createTextNode(t)}function Z(){return E(" ")}function tt(){return E("")}function q(t,n,e){e==null?t.removeAttribute(n):t.getAttribute(n)!==e&&t.setAttribute(n,e)}function nt(t){return Array.from(t.childNodes)}function et(t,n){n=""+n,t.data!==n&&(t.data=n)}function ot(t,n,e,o){e==null?t.style.removeProperty(n):t.style.setProperty(n,e,o?"important":"")}function st(t){const n={};return t.childNodes.forEach(e=>{n[e.slot||"default"]=!0}),n}let b;function g(t){b=t}function rt(){if(!b)throw new Error("Function called outside component initialization");return b}function it(t){rt().$$.on_mount.push(t)}const f=[],D=[];let d=[];const H=[],ct=Promise.resolve();let k=!1;function $t(){k||(k=!0,ct.then(N))}function O(t){d.push(t)}const j=new Set;let p=0;function N(){if(p!==0)return;const t=b;do{try{for(;p<f.length;){const n=f[p];p++,g(n),ut(n.$$)}}catch(n){throw f.length=0,p=0,n}for(g(null),f.length=0,p=0;D.length;)D.pop()();for(let n=0;n<d.length;n+=1){const e=d[n];j.has(e)||(j.add(e),e())}d.length=0}while(f.length);for(;H.length;)H.pop()();k=!1,j.clear(),g(t)}function ut(t){if(t.fragment!==null){t.update(),m(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(O)}}function at(t){const n=[],e=[];d.forEach(o=>t.indexOf(o)===-1?n.push(o):e.push(o)),e.forEach(o=>o()),d=n}const _=new Set;let h;function lt(){h={r:0,c:[],p:h}}function ht(){h.r||m(h.c),h=h.p}function J(t,n){t&&t.i&&(_.delete(t),t.i(n))}function ft(t,n,e,o){if(t&&t.o){if(_.has(t))return;_.add(t),h.c.push(()=>{_.delete(t),o&&(e&&t.d(1),o())}),t.o(n)}else o&&o()}function dt(t){t&&t.c()}function z(t,n,e){const{fragment:o,after_update:s}=t.$$;o&&o.m(n,e),O(()=>{const r=t.$$.on_mount.map(S).filter(M);t.$$.on_destroy?t.$$.on_destroy.push(...r):m(r),t.$$.on_mount=[]}),s.forEach(O)}function F(t,n){const e=t.$$;e.fragment!==null&&(at(e.after_update),m(e.on_destroy),e.fragment&&e.fragment.d(n),e.on_destroy=e.fragment=null,e.ctx=[])}function pt(t,n){t.$$.dirty[0]===-1&&(f.push(t),$t(),t.$$.dirty.fill(0)),t.$$.dirty[n/31|0]|=1<<n%31}function mt(t,n,e,o,s,r,$,c=[-1]){const u=b;g(t);const i=t.$$={fragment:null,ctx:[],props:r,update:y,not_equal:s,bound:B(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(n.context||(u?u.$$.context:[])),callbacks:B(),dirty:c,skip_bound:!1,root:n.target||u.$$.root};$&&$(i.root);let P=!1;if(i.ctx=e?e(t,n.props||{},(l,A,...C)=>{const L=C.length?C[0]:A;return i.ctx&&s(i.ctx[l],i.ctx[l]=L)&&(!i.skip_bound&&i.bound[l]&&i.bound[l](L),P&&pt(t,l)),A}):[],i.update(),P=!0,m(i.before_update),i.fragment=o?o(i.ctx):!1,n.target){if(n.hydrate){const l=nt(n.target);i.fragment&&i.fragment.l(l),l.forEach(w)}else i.fragment&&i.fragment.c();n.intro&&J(t.$$.fragment),z(t,n.target,n.anchor),N()}g(u)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(t,n,e){super(),a(this,"$$ctor"),a(this,"$$s"),a(this,"$$c"),a(this,"$$cn",!1),a(this,"$$d",{}),a(this,"$$r",!1),a(this,"$$p_d",{}),a(this,"$$l",{}),a(this,"$$l_u",new Map),this.$$ctor=t,this.$$s=n,e&&this.attachShadow({mode:"open"})}addEventListener(t,n,e){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,e)}removeEventListener(t,n,e){if(super.removeEventListener(t,n,e),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let t=function(s){return()=>{let r;return{c:function(){r=x("slot"),s!=="default"&&q(r,"name",s)},m:function($,c){T($,r,c)},d:function($){$&&w(r)}}}};if(await Promise.resolve(),!this.$$cn)return;const n={},e=st(this);for(const s of this.$$s)s in e&&(n[s]=[t(s)]);for(const s of this.attributes){const r=this.$$g_p(s.name);r in this.$$d||(this.$$d[r]=v(r,s.value,this.$$p_d,"toProp"))}this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$scope:{ctx:[]}}});const o=()=>{this.$$r=!0;for(const s in this.$$p_d)if(this.$$d[s]=this.$$c.$$.ctx[this.$$c.$$.props[s]],this.$$p_d[s].reflect){const r=v(s,this.$$d[s],this.$$p_d,"toAttribute");r==null?this.removeAttribute(s):this.setAttribute(this.$$p_d[s].attribute||s,r)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const s in this.$$l)for(const r of this.$$l[s]){const $=this.$$c.$on(s,r);this.$$l_u.set(r,$)}this.$$l={}}}attributeChangedCallback(t,n,e){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=v(t,e,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{this.$$cn||(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function v(t,n,e,o){var s;const r=(s=e[t])==null?void 0:s.type;if(n=r==="Boolean"&&typeof n!="boolean"?n!=null:n,!o||!e[t])return n;if(o==="toAttribute")switch(r){case"Object":case"Array":return n==null?null:JSON.stringify(n);case"Boolean":return n?"":null;case"Number":return n??null;default:return n}else switch(r){case"Object":case"Array":return n&&JSON.parse(n);case"Boolean":return n;case"Number":return n!=null?+n:n;default:return n}}function bt(t,n,e,o,s,r){let $=class extends I{constructor(){super(t,e,s),this.$$p_d=n}static get observedAttributes(){return Object.keys(n).map(c=>(n[c].attribute||c).toLowerCase())}};return Object.keys(n).forEach(c=>{Object.defineProperty($.prototype,c,{get(){return this.$$c&&c in this.$$c?this.$$c[c]:this.$$d[c]},set(u){var i;u=v(c,u,n),this.$$d[c]=u,(i=this.$$c)==null||i.$set({[c]:u})}})}),o.forEach(c=>{Object.defineProperty($.prototype,c,{get(){var u;return(u=this.$$c)==null?void 0:u[c]}})}),r&&($=r($)),t.element=$,$}class gt{constructor(){a(this,"$$"),a(this,"$$set")}$destroy(){F(this,1),this.$destroy=y}$on(n,e){if(!M(e))return y;const o=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return o.push(e),()=>{const s=o.indexOf(e);s!==-1&&o.splice(s,1)}}$set(n){this.$$set&&!U(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}}const yt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(yt);export{gt as S,V as a,Z as b,bt as c,tt as d,x as e,N as f,T as g,ht as h,mt as i,J as j,w as k,lt as l,E as m,ot as n,it as o,q as p,R as q,et as r,Q as s,ft as t,y as u,Y as v,dt as w,z as x,F as y};