@glycanage/web-components 1.11.0 → 1.13.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.
- package/dist/arthritis.wc.js +1 -1
- package/package.json +1 -1
package/dist/arthritis.wc.js
CHANGED
|
@@ -6,4 +6,4 @@ import{c as kl,S as wl,i as yl,f as Le,s as Ll,a as Al,e as r,b as m,d as zl,g a
|
|
|
6
6
|
inflammation <br/> characteristic of RA.`,d(n,"width","10%"),d(n,"padding-left","1.5rem"),d(n,"padding-right","1rem"),d(o,"width","90%"),t(s,"class","summaryHeader svelte-lkui48"),d(s,"background-color",i[20]()),d(s,"border-bottom","2px solid "+i[19]()),d(x,"font-size","1.2rem"),d(x,"padding-bottom","1rem"),d(Z,"font-size","0.7rem"),d(Z,"padding-bottom","0.4rem"),d(R,"font-size","0.7rem"),d(R,"padding-bottom","0.4rem"),d(p,"font-size","0.7rem"),d(p,"padding-bottom","0.4rem"),d(C,"font-size","1.2rem"),d(C,"padding-top","1.2rem"),d(C,"padding-bottom","1rem"),d(B,"font-size","0.7rem"),d(B,"padding-bottom","0.4rem"),d(P,"font-size","0.7rem"),d(P,"padding-bottom","0.4rem"),d(j,"font-size","0.7rem"),d(j,"padding-bottom","0.4rem"),t(g,"class","summaryBody svelte-lkui48"),d(g,"background-color",i[21]()),t(l,"class","summaryMain svelte-lkui48"),d(l,"border","2px solid "+i[19]())},m(S,oe){$(S,l,oe),e(l,s),e(s,n),b&&b.m(n,null),e(n,u),z&&z.m(n,null),e(n,c),G&&G.m(n,null),e(s,v),e(s,o),e(o,A),e(o,X),e(o,k),e(o,w),e(o,_),e(l,J),e(l,g),e(g,x),e(g,y),e(g,Z),e(g,K),e(g,R),e(g,L),e(g,p),e(g,T),e(g,C),e(g,H),e(g,B),e(g,V),e(g,P),e(g,W),e(g,j)},p(S,oe){S[16]?b||(b=vl(),b.c(),b.m(n,u)):b&&(b.d(1),b=null),S[17]?z||(z=pl(),z.c(),z.m(n,c)):z&&(z.d(1),z=null),S[18]?G||(G=gl(),G.c(),G.m(n,null)):G&&(G.d(1),G=null)},d(S){S&&D(l),b&&b.d(),z&&z.d(),G&&G.d()}}}function Rl(i){let l,s,n,u=i[16]&&hl(),c=i[17]&&xl(),v=i[18]&&fl();return{c(){l=r("div"),u&&u.c(),s=m(),c&&c.c(),n=m(),v&&v.c(),t(l,"class","header svelte-lkui48")},m(o,A){$(o,l,A),u&&u.m(l,null),e(l,s),c&&c.m(l,null),e(l,n),v&&v.m(l,null)},p(o,A){o[16]?u||(u=hl(),u.c(),u.m(l,s)):u&&(u.d(1),u=null),o[17]?c||(c=xl(),c.c(),c.m(l,n)):c&&(c.d(1),c=null),o[18]?v||(v=fl(),v.c(),v.m(l,null)):v&&(v.d(1),v=null)},d(o){o&&D(l),u&&u.d(),c&&c.d(),v&&v.d()}}}function vl(i){let l,s;return{c(){l=F("svg"),s=F("path"),t(s,"fill","#CC0000"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","50"),t(l,"height","50"),t(l,"viewBox","0 0 24 24")},m(n,u){$(n,l,u),e(l,s)},d(n){n&&D(l)}}}function pl(i){let l,s;return{c(){l=F("svg"),s=F("path"),t(s,"fill","#EE9933"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","50"),t(l,"height","50"),t(l,"viewBox","0 0 24 24")},m(n,u){$(n,l,u),e(l,s)},d(n){n&&D(l)}}}function gl(i){let l,s;return{c(){l=F("svg"),s=F("path"),t(s,"fill","#00AA44"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","50"),t(l,"height","50"),t(l,"viewBox","0 0 24 24")},m(n,u){$(n,l,u),e(l,s)},d(n){n&&D(l)}}}function hl(i){let l,s,n;return{c(){l=F("svg"),s=F("path"),n=f(`
|
|
7
7
|
\xA0 Significant overlap`),t(s,"fill","#CC0000"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","24"),t(l,"height","24"),t(l,"viewBox","0 0 24 24")},m(u,c){$(u,l,c),e(l,s),$(u,n,c)},d(u){u&&(D(l),D(n))}}}function xl(i){let l,s,n;return{c(){l=F("svg"),s=F("path"),n=f(`
|
|
8
8
|
\xA0 Some overlap`),t(s,"fill","#EE9933"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","24"),t(l,"height","24"),t(l,"viewBox","0 0 24 24")},m(u,c){$(u,l,c),e(l,s),$(u,n,c)},d(u){u&&(D(l),D(n))}}}function fl(i){let l,s,n;return{c(){l=F("svg"),s=F("path"),n=f(`
|
|
9
|
-
\xA0 No overlap`),t(s,"fill","#00AA44"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","24"),t(l,"height","24"),t(l,"viewBox","0 0 24 24")},m(u,c){$(u,l,c),e(l,s),$(u,n,c)},d(u){u&&(D(l),D(n))}}}function Tl(i){let l,s,n;function u(o,A){return o[0]==="header"?Rl:o[0]==="summary"?Ml:Dl}let c=u(i),v=c(i);return{c(){l=r("head"),l.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=m(),v.c(),n=zl()},m(o,A){$(o,l,A),$(o,s,A),v.m(o,A),$(o,n,A)},p(o,[A]){c===(c=u(o))&&v?v.p(o,A):(v.d(1),v=c(o),v&&(v.c(),v.m(n.parentNode,n)))},i:ml,o:ml,d(o){o&&(D(l),D(s),D(n)),v.d(o)}}}function Cl(i,l,s){let{language:n}=l,{report:u}=l,{type:c}=l,{service:v=window.GaReportService}=l,o,A=0,X=0,k=0,w=0,_=0,J=0,g=0,x=0,y=0,Z=0,K=0,R=0,L=0,p=0,T=0,C=!1,H=!1,B=!1;function V(){return w>k&&y<x&&p<L?"#CC0000":w>k||y<x||p<L?"#EE9933":(w<k&&y>x&&p>L,"#00AA44")}function P(){return w>k&&y<x&&p<L?"rgba(204,0,0,0.15)":w>k||y<x||p<L?"rgba(238,153,51,0.15)":(w<k&&y>x&&p>L,"rgba(0,170,68,0.15)")}function W(){return w>k&&y<x&&p<L?"rgba(204,0,0,0.05)":w>k||y<x||p<L?"rgba(238,153,51,0.05)":(w<k&&y>x&&p>L,"rgba(0,170,68,0.05)")}function j(){return w>k&&y<x&&p<L?"a significant overlap":w>k||y<x||p<L?"some overlap":(w<k&&y>x&&p>L,"no significant overlap")}return Gl(
|
|
9
|
+
\xA0 No overlap`),t(s,"fill","#00AA44"),t(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"),t(l,"xmlns","http://www.w3.org/2000/svg"),t(l,"width","24"),t(l,"height","24"),t(l,"viewBox","0 0 24 24")},m(u,c){$(u,l,c),e(l,s),$(u,n,c)},d(u){u&&(D(l),D(n))}}}function Tl(i){let l,s,n;function u(o,A){return o[0]==="header"?Rl:o[0]==="summary"?Ml:Dl}let c=u(i),v=c(i);return{c(){l=r("head"),l.innerHTML='<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,1,0"/>',s=m(),v.c(),n=zl()},m(o,A){$(o,l,A),$(o,s,A),v.m(o,A),$(o,n,A)},p(o,[A]){c===(c=u(o))&&v?v.p(o,A):(v.d(1),v=c(o),v&&(v.c(),v.m(n.parentNode,n)))},i:ml,o:ml,d(o){o&&(D(l),D(s),D(n)),v.d(o)}}}function Cl(i,l,s){let{language:n}=l,{report:u}=l,{type:c}=l,{service:v=window.GaReportService}=l,o,A=0,X=0,k=0,w=0,_=0,J=0,g=0,x=0,y=0,Z=0,K=0,R=0,L=0,p=0,T=0,C=!1,H=!1,B=!1;function V(){return w>k&&y<x&&p<L?"#CC0000":w>k||y<x||p<L?"#EE9933":(w<k&&y>x&&p>L,"#00AA44")}function P(){return w>k&&y<x&&p<L?"rgba(204,0,0,0.15)":w>k||y<x||p<L?"rgba(238,153,51,0.15)":(w<k&&y>x&&p>L,"rgba(0,170,68,0.15)")}function W(){return w>k&&y<x&&p<L?"rgba(204,0,0,0.05)":w>k||y<x||p<L?"rgba(238,153,51,0.05)":(w<k&&y>x&&p>L,"rgba(0,170,68,0.05)")}function j(){return w>k&&y<x&&p<L?"a significant overlap":w>k||y<x||p<L?"some overlap":(w<k&&y>x&&p>L,"no significant overlap")}return Gl(()=>{if(o=v.getReport(void 0),s(1,A=o.G0xmin),s(2,X=o.G0xmax),s(3,k=o.G0xaverage),s(4,w=o.G0yourscore),s(5,_=o.G0percentile),s(6,J=o.G1xmin),s(7,g=o.G1xmax),s(8,x=o.G1xaverage),s(9,y=o.G1yourscore),s(10,Z=o.G1percentile),s(11,K=o.G2xmin),s(12,R=o.G2xmax),s(13,L=o.G2xaverage),s(14,p=o.G2yourscore),s(15,T=o.G2percentile),console.log(o),w>k&&y<x&&p<L){s(16,C=!0);return}if(w>k||y<x||p<L){s(17,H=!0);return}if(w<k&&y>x&&p>L){s(18,B=!0);return}s(18,B=!0)}),i.$$set=b=>{"language"in b&&s(23,n=b.language),"report"in b&&s(24,u=b.report),"type"in b&&s(0,c=b.type),"service"in b&&s(25,v=b.service)},[c,A,X,k,w,_,J,g,x,y,Z,K,R,L,p,T,C,H,B,V,P,W,j,n,u,v]}class bl extends wl{constructor(l){super(),yl(this,l,Cl,Tl,Ll,{language:23,report:24,type:0,service:25},$l)}get language(){return this.$$.ctx[23]}set language(l){this.$$set({language:l}),Le()}get report(){return this.$$.ctx[24]}set report(l){this.$$set({report:l}),Le()}get type(){return this.$$.ctx[0]}set type(l){this.$$set({type:l}),Le()}get service(){return this.$$.ctx[25]}set service(l){this.$$set({service:l}),Le()}}customElements.define("ga-arthritis",kl(bl,{language:{},report:{},type:{},service:{}},[],[],!0));export{bl as default};
|