@glycanage/web-components 1.100.0 → 1.102.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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./menopause.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js"),import("./colorectal.wc.js"),import("./endometrial.wc.js"),import("./ovarian.wc.js"),import("./age-graph.wc.js"),import("./index-graph.wc.js"),import("./median-graph.wc.js"),import("./median-graph-japanese.wc.js"),import("./index-graph-japanese.wc.js"),import("./results-overview.wc.js"),import("./single-overview.wc.js"),import("./main-result.wc.js"),import("./insights-overview.wc.js"),import("./arrow-graph.wc.js"),import("./overlap-title.wc.js"),import("./scatter-plot.wc.js"),import("./results-overview-clp.wc.js"),import("./insights-overview-clp.wc.js"),import("./main-result-clp.wc.js"),import("./single-overview-clp.wc.js"),import("./arrow-graph-clp.wc.js")};export{t as default};
|
|
1
|
+
const t=()=>{import("./arthritis.wc.js"),import("./colitis.wc.js"),import("./crohn.wc.js"),import("./lupus.wc.js"),import("./diabetes.wc.js"),import("./myocardial.wc.js"),import("./menopause.wc.js"),import("./hypertension.wc.js"),import("./chronic.wc.js"),import("./dyslipidemia.wc.js"),import("./atherosclerosis.wc.js"),import("./coronary.wc.js"),import("./copd.wc.js"),import("./hypertension-risk.wc.js"),import("./pre-hypertension.wc.js"),import("./language.interface.js"),import("./colorectal.wc.js"),import("./endometrial.wc.js"),import("./ovarian.wc.js"),import("./age-graph.wc.js"),import("./index-graph.wc.js"),import("./median-graph.wc.js"),import("./median-graph-japanese.wc.js"),import("./index-graph-japanese.wc.js"),import("./results-overview.wc.js"),import("./single-overview.wc.js"),import("./main-result.wc.js"),import("./insights-overview.wc.js"),import("./arrow-graph.wc.js"),import("./overlap-title.wc.js"),import("./scatter-plot.wc.js"),import("./results-overview-clp.wc.js"),import("./insights-overview-clp.wc.js"),import("./main-result-clp.wc.js"),import("./single-overview-clp.wc.js"),import("./arrow-graph-clp.wc.js"),import("./overlap-title-clp.wc.js")};export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as
|
|
1
|
+
import{c as le,S as oe,i as re,f as X,s as ne,a as ae,d as ce,g as Y,u as _,k as ee,o as ue,e as n,m as y,b as u,v as te,p as s,n as c,q as e,r as B}from"./index2.js";import{a as N}from"./helpers.js";function de(o){ae(o,"svelte-u91iuw",`@font-face{font-family:"mercury";src:url("https://dev.back-office.ga-internals-91.com/assets/reports/b2b/clp/1.0/fonts/MercuryDisplay.otf") format("truetype");font-weight:400;font-display:swap}.main.svelte-u91iuw{height:100%;width:100%;display:flex;flex-direction:column}.graph-container.svelte-u91iuw{width:100%;height:30%;display:flex;align-items:center;justify-content:space-between;position:relative}.colorBox.svelte-u91iuw{height:7px;width:14.3%;border-radius:24px}.colorBoxShort.svelte-u91iuw{height:7px;width:5%;border-radius:24px}.slider.svelte-u91iuw{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -50%);width:24%;max-height:70px}.slider-glycanage.svelte-u91iuw{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, -140%);width:24%;color:white;font-weight:500}.fixed-chrono.svelte-u91iuw{display:flex;flex-direction:column;align-items:center;position:absolute;transform:translate(-50%, 150%);width:24%;color:#09341F80;font-weight:500;z-index:99}.text-left.svelte-u91iuw{position:absolute;height:15%;width:34.7%;border-left:1px solid #09341F33;border-right:1px solid #09341F33;top:62%;left:0;display:flex;align-items:center;justify-content:center;font-size:0.8rem;color:#09341F80}.text-middle.svelte-u91iuw{position:absolute;height:15%;width:29.5%;top:68%;left:35.3%;display:flex;align-items:center;justify-content:center;color:#09341F80}.text-right.svelte-u91iuw{position:absolute;height:15%;width:34.7%;border-left:1px solid #09341F33;border-right:1px solid #09341F33;top:62%;right:0;display:flex;align-items:center;justify-content:center;font-size:0.8rem;color:#09341F80}.glycanage.svelte-u91iuw{display:flex;font-size:15rem;justify-content:center;align-items:center;height:50%;margin-bottom:1rem;font-family:'mercury', serif}`)}function ie(o){let l,i,a,d,t,h,f,r,F,w,x,k,G,$,H,E,L,A,I,D,J,m,v,S,K,C,O,P,b,W,Q,M,R=N(o[0],"BETTER")+"",Z,U,j,V,T,z=N(o[0],"WORSE")+"",q;return{c(){l=n("div"),i=n("div"),a=y(o[2]),d=u(),t=n("div"),h=n("div"),f=u(),r=n("div"),F=u(),w=n("div"),x=u(),k=n("div"),G=u(),$=n("div"),H=u(),E=n("div"),L=u(),A=n("div"),I=u(),D=n("div"),J=u(),m=n("div"),v=te("svg"),S=te("path"),K=u(),C=n("div"),O=y(o[2]),P=u(),b=n("div"),W=y(o[1]),Q=u(),M=n("div"),Z=y(R),U=u(),j=n("div"),j.innerHTML='<svg width="44" height="52" viewBox="0 0 44 52" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.0002 0.133165C22.6224 0.133165 23.2446 0.244272 23.8668 0.466494C24.4891 0.688719 25.0446 1.02205 25.5335 1.46649C28.4224 4.13316 30.9779 6.73316 33.2002 9.2665C35.4224 11.7998 37.2779 14.2554 38.7668 16.6332C40.2557 19.0109 41.3891 21.2998 42.1668 23.4998C42.9446 25.6998 43.3335 27.7998 43.3335 29.7998C43.3335 36.4665 41.1891 41.7776 36.9002 45.7332C32.6113 49.6887 27.6446 51.6665 22.0002 51.6665C16.3557 51.6665 11.3891 49.6887 7.10016 45.7332C2.81128 41.7776 0.666833 36.4665 0.666834 29.7998C0.666834 27.7998 1.05572 25.6998 1.8335 23.4998C2.61128 21.2998 3.74461 19.0109 5.2335 16.6332C6.72239 14.2554 8.57795 11.7998 10.8002 9.2665C13.0224 6.73316 15.5779 4.13316 18.4668 1.46649C18.9557 1.02205 19.5113 0.688719 20.1335 0.466493C20.7557 0.244272 21.3779 0.133165 22.0002 0.133165Z" fill="#D7E4DE"></path></svg>',V=u(),T=n("div"),q=y(z),s(i,"class","glycanage svelte-u91iuw"),c(i,"color",o[4]()),s(h,"class","colorBoxShort svelte-u91iuw"),c(h,"background-color","#015566"),s(r,"class","colorBox svelte-u91iuw"),c(r,"background-color","#015566"),s(w,"class","colorBox svelte-u91iuw"),c(w,"background-color","#13A195"),s(k,"class","colorBox svelte-u91iuw"),c(k,"background-color","#66CCAA"),s($,"class","colorBox svelte-u91iuw"),c($,"background-color","#66CCAA"),s(E,"class","colorBox svelte-u91iuw"),c(E,"background-color","#F2800D"),s(A,"class","colorBox svelte-u91iuw"),c(A,"background-color","#DF2120"),s(D,"class","colorBoxShort svelte-u91iuw"),c(D,"background-color","#DF2120"),s(S,"d","M20.0001 35.5418C19.6112 35.5418 19.2223 35.4724 18.8334 35.3335C18.4445 35.1946 18.0973 34.9863 17.7917 34.7085C15.9862 33.0418 14.389 31.4168 13.0001 29.8335C11.6112 28.2502 10.4515 26.7154 9.52091 25.2293C8.59036 23.7432 7.88203 22.3127 7.39591 20.9377C6.9098 19.5627 6.66675 18.2502 6.66675 17.0002C6.66675 12.8335 8.00703 9.51405 10.6876 7.04183C13.3681 4.56961 16.4723 3.3335 20.0001 3.3335C23.5279 3.3335 26.632 4.56961 29.3126 7.04183C31.9931 9.51405 33.3334 12.8335 33.3334 17.0002C33.3334 18.2502 33.0904 19.5627 32.6042 20.9377C32.1181 22.3127 31.4098 23.7432 30.4792 25.2293C29.5487 26.7154 28.389 28.2502 27.0001 29.8335C25.6112 31.4168 24.014 33.0418 22.2084 34.7085C21.9029 34.9863 21.5556 35.1946 21.1667 35.3335C20.7779 35.4724 20.389 35.5418 20.0001 35.5418Z"),s(S,"fill",o[4]()),c(v,"position","relative"),s(v,"width","62"),s(v,"height","62"),s(v,"viewBox","0 0 40 40"),s(v,"fill","none"),s(v,"xmlns","http://www.w3.org/2000/svg"),s(m,"class","slider svelte-u91iuw"),c(m,"left",o[2]+"%"),s(C,"class","slider-glycanage svelte-u91iuw"),c(C,"left",o[2]+"%"),s(b,"class","fixed-chrono svelte-u91iuw"),c(b,"left","50%"),s(M,"class","text-left svelte-u91iuw"),s(j,"class","text-middle svelte-u91iuw"),s(T,"class","text-right svelte-u91iuw"),s(t,"class","graph-container svelte-u91iuw"),s(l,"class","main svelte-u91iuw")},m(g,p){Y(g,l,p),e(l,i),e(i,a),e(l,d),e(l,t),e(t,h),e(t,f),e(t,r),e(t,F),e(t,w),e(t,x),e(t,k),e(t,G),e(t,$),e(t,H),e(t,E),e(t,L),e(t,A),e(t,I),e(t,D),e(t,J),e(t,m),e(m,v),e(v,S),e(t,K),e(t,C),e(C,O),e(t,P),e(t,b),e(b,W),e(t,Q),e(t,M),e(M,Z),e(t,U),e(t,j),e(t,V),e(t,T),e(T,q)},p(g,p){p&4&&B(a,g[2]),p&4&&c(m,"left",g[2]+"%"),p&4&&B(O,g[2]),p&4&&c(C,"left",g[2]+"%"),p&2&&B(W,g[1]),p&1&&R!==(R=N(g[0],"BETTER")+"")&&B(Z,R),p&1&&z!==(z=N(g[0],"WORSE")+"")&&B(q,z)},d(g){g&&ee(l)}}}function fe(o){let l,i=o[3]&&ie(o);return{c(){i&&i.c(),l=ce()},m(a,d){i&&i.m(a,d),Y(a,l,d)},p(a,[d]){a[3]?i?i.p(a,d):(i=ie(a),i.c(),i.m(l.parentNode,l)):i&&(i.d(1),i=null)},i:_,o:_,d(a){a&&ee(l),i&&i.d(a)}}}function ge(o,l,i){let{lang:a}=l,{service:d=window.GaReportService}=l,t,h=0,f=0,r=0;function F(){if(r>=35&&r<=65)return"#66CCAA";if(r>19&&r<=34)return"#13A195";if(r<=19)return"#015566";if(r>=66&&r<=80)return"#F2800D";if(r>80)return"#DF2120"}let w=!1;return ue(async()=>{t=await d.getReport(),h=Number(t.glycanage),i(1,f=Number(t.chronologicalage)),h>f?i(2,r=Math.round(50+(h-f)/(80-f)*50)):h<f?i(2,r=Math.round(50-(f-h)/(f-20)*50)):i(2,r=50),i(3,w=!0)}),o.$$set=x=>{"lang"in x&&i(0,a=x.lang),"service"in x&&i(5,d=x.service)},[a,f,r,w,F,d]}class se extends oe{constructor(l){super(),re(this,l,ge,fe,ne,{lang:0,service:5},de)}get lang(){return this.$$.ctx[0]}set lang(l){this.$$set({lang:l}),X()}get service(){return this.$$.ctx[5]}set service(l){this.$$set({service:l}),X()}}customElements.define("ga-main-result-clp",le(se,{lang:{},service:{}},[],[],!0));export{se as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as U,S as W,i as X,f as P,s as Y,a as e0,d as r0,g as q,u as T,k as A,o as t0,e as E,m as M,b as n0,n as Z,p as a,q as m,r as a0,v as G}from"./index2.js";function s0(s){e0(s,"svelte-11vqnst",".main.svelte-11vqnst{height:100%;width:100%;display:flex;align-items:center;justify-content:center;font-size:1rem;border-radius:.75rem}.container.svelte-11vqnst{width:90%;height:80%;display:flex;align-items:center;justify-content:space-between}")}function O(s){let r,e,t,n,C,b,u,f,c,v;function L(i,p){return i[0]==="no significant overlap"?i0:o0}let o=L(s),l=o(s);return{c(){r=E("div"),e=E("div"),t=E("p"),n=M("There is "),C=E("b"),b=M(s[0]),u=M(" of glycan metrics "),f=E("br"),c=M(" between current results and this condition."),v=n0(),l.c(),Z(C,"color",s[1]),a(e,"class","container svelte-11vqnst"),a(r,"class","main svelte-11vqnst"),Z(r,"background-color",s[2])},m(i,p){q(i,r,p),m(r,e),m(e,t),m(t,n),m(t,C),m(C,b),m(t,u),m(t,f),m(t,c),m(e,v),l.m(e,null)},p(i,p){p[0]&1&&a0(b,i[0]),p[0]&2&&Z(C,"color",i[1]),o===(o=L(i))&&l?l.p(i,p):(l.d(1),l=o(i),l&&(l.c(),l.m(e,null))),p[0]&4&&Z(r,"background-color",i[2])},d(i){i&&A(r),l.d()}}}function o0(s){let r,e,t;return{c(){r=G("svg"),e=G("path"),a(e,"d","M14.2984 40.5002L11.3984 35.6002L5.89844 34.4002C5.39844 34.3002 4.99844 34.0419 4.69844 33.6252C4.39844 33.2086 4.28177 32.7502 4.34844 32.2502L4.89844 26.6002L1.14844 22.3002C0.815104 21.9336 0.648438 21.5002 0.648438 21.0002C0.648438 20.5002 0.815104 20.0669 1.14844 19.7002L4.89844 15.4002L4.34844 9.75024C4.28177 9.25024 4.39844 8.7919 4.69844 8.37524C4.99844 7.95857 5.39844 7.70024 5.89844 7.60024L11.3984 6.40024L14.2984 1.50024C14.5651 1.0669 14.9318 0.775237 15.3984 0.625237C15.8651 0.475237 16.3318 0.500237 16.7984 0.700237L21.9984 2.90024L27.1984 0.700237C27.6651 0.500237 28.1318 0.475237 28.5984 0.625237C29.0651 0.775237 29.4318 1.0669 29.6984 1.50024L32.5984 6.40024L38.0984 7.60024C38.5984 7.70024 38.9984 7.95857 39.2984 8.37524C39.5984 8.7919 39.7151 9.25024 39.6484 9.75024L39.0984 15.4002L42.8484 19.7002C43.1818 20.0669 43.3484 20.5002 43.3484 21.0002C43.3484 21.5002 43.1818 21.9336 42.8484 22.3002L39.0984 26.6002L39.6484 32.2502C39.7151 32.7502 39.5984 33.2086 39.2984 33.6252C38.9984 34.0419 38.5984 34.3002 38.0984 34.4002L32.5984 35.6002L29.6984 40.5002C29.4318 40.9336 29.0651 41.2252 28.5984 41.3752C28.1318 41.5252 27.6651 41.5002 27.1984 41.3002L21.9984 39.1002L16.7984 41.3002C16.3318 41.5002 15.8651 41.5252 15.3984 41.3752C14.9318 41.2252 14.5651 40.9336 14.2984 40.5002ZM21.9984 31.0002C22.5651 31.0002 23.0401 30.8086 23.4234 30.4252C23.8068 30.0419 23.9984 29.5669 23.9984 29.0002C23.9984 28.4336 23.8068 27.9586 23.4234 27.5752C23.0401 27.1919 22.5651 27.0002 21.9984 27.0002C21.4318 27.0002 20.9568 27.1919 20.5734 27.5752C20.1901 27.9586 19.9984 28.4336 19.9984 29.0002C19.9984 29.5669 20.1901 30.0419 20.5734 30.4252C20.9568 30.8086 21.4318 31.0002 21.9984 31.0002ZM21.9984 23.0002C22.5651 23.0002 23.0401 22.8086 23.4234 22.4252C23.8068 22.0419 23.9984 21.5669 23.9984 21.0002V13.0002C23.9984 12.4336 23.8068 11.9586 23.4234 11.5752C23.0401 11.1919 22.5651 11.0002 21.9984 11.0002C21.4318 11.0002 20.9568 11.1919 20.5734 11.5752C20.1901 11.9586 19.9984 12.4336 19.9984 13.0002V21.0002C19.9984 21.5669 20.1901 22.0419 20.5734 22.4252C20.9568 22.8086 21.4318 23.0002 21.9984 23.0002Z"),a(e,"fill",t=s[0]==="minor overlap"?"#FFAA00":"#EE6600"),a(r,"width","44"),a(r,"height","42"),a(r,"viewBox","0 0 44 42"),a(r,"fill","none"),a(r,"xmlns","http://www.w3.org/2000/svg")},m(n,C){q(n,r,C),m(r,e)},p(n,C){C[0]&1&&t!==(t=n[0]==="minor overlap"?"#FFAA00":"#EE6600")&&a(e,"fill",t)},d(n){n&&A(r)}}}function i0(s){let r,e;return{c(){r=G("svg"),e=G("path"),a(e,"d","M19.8984 22.4002L16.9984 19.5502C16.6318 19.1836 16.1734 19.0002 15.6234 19.0002C15.0734 19.0002 14.5984 19.2002 14.1984 19.6002C13.8318 19.9669 13.6484 20.4336 13.6484 21.0002C13.6484 21.5669 13.8318 22.0336 14.1984 22.4002L18.4984 26.7002C18.8984 27.1002 19.3651 27.3002 19.8984 27.3002C20.4318 27.3002 20.8984 27.1002 21.2984 26.7002L29.7984 18.2002C30.1984 17.8002 30.3901 17.3336 30.3734 16.8002C30.3568 16.2669 30.1651 15.8002 29.7984 15.4002C29.3984 15.0002 28.9234 14.7919 28.3734 14.7752C27.8234 14.7586 27.3484 14.9502 26.9484 15.3502L19.8984 22.4002ZM14.2984 40.5002L11.3984 35.6002L5.89844 34.4002C5.39844 34.3002 4.99844 34.0419 4.69844 33.6252C4.39844 33.2086 4.28177 32.7502 4.34844 32.2502L4.89844 26.6002L1.14844 22.3002C0.815104 21.9336 0.648438 21.5002 0.648438 21.0002C0.648438 20.5002 0.815104 20.0669 1.14844 19.7002L4.89844 15.4002L4.34844 9.75024C4.28177 9.25024 4.39844 8.7919 4.69844 8.37524C4.99844 7.95857 5.39844 7.70024 5.89844 7.60024L11.3984 6.40024L14.2984 1.50024C14.5651 1.0669 14.9318 0.775237 15.3984 0.625237C15.8651 0.475237 16.3318 0.500237 16.7984 0.700237L21.9984 2.90024L27.1984 0.700237C27.6651 0.500237 28.1318 0.475237 28.5984 0.625237C29.0651 0.775237 29.4318 1.0669 29.6984 1.50024L32.5984 6.40024L38.0984 7.60024C38.5984 7.70024 38.9984 7.95857 39.2984 8.37524C39.5984 8.7919 39.7151 9.25024 39.6484 9.75024L39.0984 15.4002L42.8484 19.7002C43.1818 20.0669 43.3484 20.5002 43.3484 21.0002C43.3484 21.5002 43.1818 21.9336 42.8484 22.3002L39.0984 26.6002L39.6484 32.2502C39.7151 32.7502 39.5984 33.2086 39.2984 33.6252C38.9984 34.0419 38.5984 34.3002 38.0984 34.4002L32.5984 35.6002L29.6984 40.5002C29.4318 40.9336 29.0651 41.2252 28.5984 41.3752C28.1318 41.5252 27.6651 41.5002 27.1984 41.3002L21.9984 39.1002L16.7984 41.3002C16.3318 41.5002 15.8651 41.5252 15.3984 41.3752C14.9318 41.2252 14.5651 40.9336 14.2984 40.5002Z"),a(e,"fill","#119999"),a(r,"width","44"),a(r,"height","42"),a(r,"viewBox","0 0 44 42"),a(r,"fill","none"),a(r,"xmlns","http://www.w3.org/2000/svg")},m(t,n){q(t,r,n),m(r,e)},p:T,d(t){t&&A(r)}}}function c0(s){let r,e=s[3]&&O(s);return{c(){e&&e.c(),r=r0()},m(t,n){e&&e.m(t,n),q(t,r,n)},p(t,n){t[3]?e?e.p(t,n):(e=O(t),e.c(),e.m(r.parentNode,r)):e&&(e.d(1),e=null)},i:T,o:T,d(t){t&&A(r),e&&e.d(t)}}}function C0(s,r,e){let{lang:t}=r,{disease:n}=r,{service:C=window.GaReportService}=r,b=[{name:"risk",counter:"riskCounter",max:1},{name:"pre",counter:"preCounter",max:1},{name:"hyper",counter:"hyperCounter",max:3},{name:"cva",counter:"cvaCounter",max:4},{name:"femalecva",counter:"cvaFCounter",max:1},{name:"atherosclerosis",counter:"atheroCounter",max:5},{name:"coronary",counter:"coronaryCounter",max:2},{name:"diabetes",counter:"diabetesCounter",max:5},{name:"dyslipidemia",counter:"dyslipidemiaCounter",max:4},{name:"arthritis",counter:"arthritisCounter",max:4},{name:"colitis",counter:"colitisCounter",max:4},{name:"crohn",counter:"crohnCounter",max:5},{name:"sle",counter:"sleCounter",max:4},{name:"copd",counter:"copdCounter",max:2},{name:"peri",counter:"periCounter",max:4}],u,f="",c="no significant overlap",v="",L="",o=0,l=0,i=0,p=0,N=0,w=0,_=0,h=0,B=0,g=0,F=0,y=0,k=0,x=0,S=0,j=0,$=0,R=0,D=0,H=0,I=0,J=0,V=0,K=!1;const z=b.find(d=>d.name===n);return t0(async()=>{switch(u=await C.getReport(),f=u.sex,R=Number(u.Bpercentile),D=Number(u.Spercentile),H=Number(u.G0percentile),I=Number(u.G1percentile),J=Number(u.G2percentile),V=Number(u.P22percentile),R>68&&(i++,w++,h++,g++,F++,y++,x++,j++,$++),R<32&&k++,D<32&&(w++,h++,B++,g++,F++,y++,x++,$++),H>68&&(N++,w++,h++,B++,g++,F++,k++,x++,$++),I<32&&(N++,h++,g++,y++,k++,x++,j++),J<32&&(p++,N++,w++,h++,g++,F++,y++,k++,x++,$++),V<32&&S++,S++,V<32&&f==="F"&&_++,z&&(o={riskCounter:i,preCounter:p,hyperCounter:N,cvaCounter:w,cvaFCounter:_,atheroCounter:h,coronaryCounter:B,diabetesCounter:g,dyslipidemiaCounter:F,arthritisCounter:y,colitisCounter:k,crohnCounter:x,sleCounter:S,copdCounter:j,periCounter:$}[z.counter],l=z.max),l){case 1:o===1&&e(0,c="some overlap");break;case 2:o===1&&e(0,c="minor overlap"),o===2&&e(0,c="some overlap");break;case 3:o===2&&e(0,c="minor overlap"),o===3&&e(0,c="some overlap");break;case 4:o===3&&e(0,c="minor overlap"),o===4&&e(0,c="some overlap");break;case 5:(o===3||o===4)&&e(0,c="minor overlap"),o===5&&e(0,c="some overlap");break}switch(c){case"no significant overlap":e(1,v="#119999"),e(2,L="#E7F5F5");break;case"minor overlap":e(1,v="#FFAA00"),e(2,L="#FFF7E4");break;case"some overlap":e(1,v="#EE6600"),e(2,L="#FCEFE4");break}e(3,K=!0)}),s.$$set=d=>{"lang"in d&&e(4,t=d.lang),"disease"in d&&e(5,n=d.disease),"service"in d&&e(6,C=d.service)},[c,v,L,K,t,n,C]}class Q extends W{constructor(r){super(),X(this,r,C0,c0,Y,{lang:4,disease:5,service:6},s0,[-1,-1])}get lang(){return this.$$.ctx[4]}set lang(r){this.$$set({lang:r}),P()}get disease(){return this.$$.ctx[5]}set disease(r){this.$$set({disease:r}),P()}get service(){return this.$$.ctx[6]}set service(r){this.$$set({service:r}),P()}}customElements.define("ga-overlap-title-clp",U(Q,{lang:{},disease:{},service:{}},[],[],!0));export{Q as default};
|