@rcsb/rcsb-statistics 0.3.4-dev.0 → 0.3.4-dev.1
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/build/index.html +1 -1
- package/build/static/js/944.85a29646.chunk.js +86 -0
- package/build/static/js/{main.46a92736.js → main.db64444e.js} +3 -3
- package/package.json +1 -1
- package/build/static/js/944.bdde317b.chunk.js +0 -86
- /package/build/static/js/{main.46a92736.js.LICENSE.txt → main.db64444e.js.LICENSE.txt} +0 -0
package/build/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="RCSB Protein Data Bank: A Resource for Studying Biological Macromolecules"/><title>RCSB Statistics</title><script defer="defer" src="/static/js/main.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="RCSB Protein Data Bank: A Resource for Studying Biological Macromolecules"/><title>RCSB Statistics</title><script defer="defer" src="/static/js/main.db64444e.js"></script><link href="/static/css/main.861341d0.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript sto run this app.</noscript><div id="statsroot"></div></body></html>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[944],{1559:(e,t,i)=>{i.d(t,{A:()=>T});var a=i(6540),o=i(4731),r=i(6118),n=i(3839),l=i(7581),s=i(1105),c=i(3048),d=i(4479),p=i(1376),u=i(7767),g=i(8027),b=i(2756);r.t1.register(r.PP,r.kc,r.E8,r.hE,r.m_,r.s$,n.Ay);const m=l.Ay.div`
|
|
2
|
+
padding-left: 7px;
|
|
3
|
+
margin-top: 40px;
|
|
4
|
+
`,y=(0,l.Ay)(s.A)`
|
|
5
|
+
margin-top: 40px;
|
|
6
|
+
`,f=l.Ay.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
gap: 5px;
|
|
12
|
+
`,h=l.Ay.div`
|
|
13
|
+
background-color: #f0f0f0;
|
|
14
|
+
border: 1px solid #fff;
|
|
15
|
+
padding: 5px;
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
color: ${e=>{let{disabled:t}=e;return t?"#e0e0e0":"#a0a0a0"}};
|
|
20
|
+
pointer-events: ${e=>{let{disabled:t}=e;return t?"none":"auto"}};
|
|
21
|
+
|
|
22
|
+
${e=>{let{disabled:t}=e;return!t&&"\n &:hover {\n background-color: #fff;\n border: 1px solid #c0c0c0;\n cursor: pointer;\n }\n "}}
|
|
23
|
+
`,x=l.Ay.div`
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
margin-bottom: 5px;
|
|
27
|
+
`,v=l.Ay.input`
|
|
28
|
+
margin-right: 20px;
|
|
29
|
+
`,z=l.Ay.label`
|
|
30
|
+
font-size: 12px;
|
|
31
|
+
margin-left: 5px;
|
|
32
|
+
font-weight: normal;
|
|
33
|
+
margin-bottom: 0 !important;
|
|
34
|
+
`,A=l.Ay.div`
|
|
35
|
+
font-weight: bold;
|
|
36
|
+
font-size: 1.2em;
|
|
37
|
+
margin-bottom: 15px;
|
|
38
|
+
`,k=l.Ay.div`
|
|
39
|
+
width: auto;
|
|
40
|
+
height: 550px;
|
|
41
|
+
`,w=l.Ay.div`
|
|
42
|
+
margin-top: 20px;
|
|
43
|
+
label {
|
|
44
|
+
font-size: 12px;
|
|
45
|
+
font-weight: normal;
|
|
46
|
+
margin-left: 5px;
|
|
47
|
+
margin-bottom: 0 !important;
|
|
48
|
+
margin-top: 4px !important;
|
|
49
|
+
}
|
|
50
|
+
.form-check {
|
|
51
|
+
display: flex;
|
|
52
|
+
align-items: center;
|
|
53
|
+
}
|
|
54
|
+
`,R=l.Ay.div`
|
|
55
|
+
margin-bottom: 35px;
|
|
56
|
+
`,S=l.Ay.div`
|
|
57
|
+
font-weight: bold;
|
|
58
|
+
margin-bottom: 5px;
|
|
59
|
+
`,C=e=>{const t=e.datasets.map((e=>{const t=[];let i=0;return e.data.forEach((e=>{i+=e,t.push(i)})),{...e,data:t}}));return{...e,datasets:t}},T=e=>{let{data:t,options:i,isOverallPlot:r,isDistPlot:n}=e;const l=(0,a.useRef)(null),T=(0,u.zy)(),E=(0,u.Zp)(),{handleOpenModal:D}=(0,b.h)(),[$,_]=(0,a.useState)((()=>{const e=new URLSearchParams(T.search);return t.datasets.map((t=>{const i=t.label||"";return{label:i,visible:"false"!==e.get(i)}}))})),[P,N]=(0,a.useState)((()=>{const e=new URLSearchParams(T.search);return n?"Annual":e.get("view")||"Cumulative"})),[I,F]=(0,a.useState)((()=>{const e=new URLSearchParams(T.search);return"Cumulative"===(n?"Annual":e.get("view")||"Cumulative")?C(t):t}));(0,a.useEffect)((()=>{const e=new URLSearchParams(T.search);$.forEach((t=>{e.set(t.label,String(t.visible))})),e.set("view",P),E(`${T.pathname}?${e.toString()}`,{replace:!0})}),[$,P,T.pathname,E]),(0,a.useEffect)((()=>{r&&_((e=>e.map((e=>"Cumulative"===e.label?{...e,visible:!1}:e))))}),[r]),(0,a.useEffect)((()=>{if("Cumulative"===P){const e=C(t);F({labels:t.labels,datasets:e.datasets.map((e=>({...e,hidden:!$.find((t=>t.label===e.label))?.visible})))})}else F({labels:t.labels,datasets:t.datasets.map((e=>({...e,hidden:!$.find((t=>t.label===e.label))?.visible})))})}),[P,t,$]);const H=e=>{_((t=>t.map((t=>t.label===e?{...t,visible:!t.visible}:t))))},W=e=>{N(e)},B={...i,plugins:{...i.plugins,legend:{...i.plugins?.legend,onClick:(e,t,i)=>((e,t)=>{const i=t.datasetIndex,a=e.data.datasets[i].label;a&&H(a)})(i.chart,t)}}};return a.createElement(c.A,null,a.createElement(d.A,null,a.createElement(s.A,{md:10},a.createElement(k,null,a.createElement(o.yP,{ref:l,data:I,options:B,onClick:e=>{if(l.current){const t=(0,o.CK)(l.current,e);if(t.length>0){const{index:e}=t[0];let i="";for(const t of l.current.data.datasets){const a=t;if(a.objectConfig&&a.objectConfig[e]){i=a.objectConfig[e].url;break}}i&&(window.location.href=i)}}}}))),a.createElement(s.A,{md:2},a.createElement(d.A,null,a.createElement(y,{md:2},a.createElement(f,null,a.createElement(h,{onClick:()=>D("settings")},a.createElement(g.Pcn,{size:15})),a.createElement(h,{disabled:!1,onClick:()=>D("information")},a.createElement(g.__w,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.kxO,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.ist,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.YYR,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.$TP,{size:15})),a.createElement(h,{disabled:!0},a.createElement(g.DIg,{size:15})))),a.createElement(s.A,{md:10},a.createElement(m,null,n?a.createElement(R,null,a.createElement(S,null)):a.createElement(a.Fragment,null,a.createElement(A,null,"Data Options"),!r&&a.createElement(R,null,a.createElement(S,null,"Data Shown"),$.map((e=>a.createElement(x,{key:e.label},a.createElement(v,{type:"checkbox",id:e.label,checked:e.visible,onChange:()=>H(e.label)}),a.createElement(z,{htmlFor:e.label},e.label))))),a.createElement(w,null,a.createElement(S,null,"Data Set"),a.createElement(p.A.Check,{type:"radio",id:"view-annual",label:"Annual",name:"view-switch",value:"Annual",checked:"Annual"===P,onChange:()=>W("Annual")}),a.createElement(p.A.Check,{type:"radio",id:"view-cumulative",label:"Cumulative",name:"view-switch",value:"Cumulative",checked:"Cumulative"===P,onChange:()=>W("Cumulative")})))))))))}},2137:(e,t,i)=>{i.d(t,{A:()=>o});const a={responsive:!0,maintainAspectRatio:!0,plugins:{title:{display:!0,font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!0,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!0,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:1e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:11,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},o={"overall-structures":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth of Overall Structures"},legend:{display:!1},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){const t=e.datasetIndex;return 0===t?`Structures Released Annually: ${e.raw}`:1===t?`Entries Available: ${e.raw}`:`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e4,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}}},"overall-small-molecules":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth of Released Small Small Molecules"},legend:{display:!1},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){const t=e.datasetIndex;return 0===t?`Small Molecules Released Annually: ${e.raw}`:1===t?`Small Molecules Available: ${e.raw}`:`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}}},"experimental-method":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Experimental Method"},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Year",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:1e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}}},"molecular-composition":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Molecular Composition"},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}}},"assembly-symmetry":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Assembly Symmetry"},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}}},"number-of-domains":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Number of Domains"},tooltip:{...a.plugins?.tooltip,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}}}},"unique-protein-sequences":{...a,plugins:{...a.plugins,title:{...a.plugins?.title,text:"PDB Statistics: Growth by Unique Protein Sequences"},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},legend:{display:!1}}},"distribution-resolution":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Resolution",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Resolution (Angstrom)",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-r-free":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by R-free",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"x"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"x"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"R-free (%)",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-molecular-weight-structure":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Molecular Weight Structure",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Molecular Weight (Daltons)",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-atom-count":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Atom Count",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Atom count Range",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-residue-count":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Residue Count",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Residue Count Range",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-source-organism-natural":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Natural Source Organism",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Natural Source Organism",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},taxonomy:{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Taxonomy",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Taxonomy",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-software":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Processing Software",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:1e4,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!1,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Software Used",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-space-group":{responsive:!0,maintainAspectRatio:!1,indexAxis:"x",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Space Group",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Space Group",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-journal":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Journal",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Journal",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"distribution-structural-genomics-centers":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Structural Genomics Centers",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Structural Genomics Center",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"enzyme-classification-name":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Enzyme Classification Name",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Enzyme Classification",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"assembly-symmetry-dist":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by Assembly Symmetry Type",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"Assembly Symmetry Type",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}},"scop-classification":{responsive:!0,maintainAspectRatio:!1,indexAxis:"y",plugins:{title:{display:!0,text:"PDB Statistics: PDB Data Distribution by SCOP Classification",font:{size:18,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",weight:"bold"},color:"#333",padding:{top:0,bottom:40},align:"start"},legend:{display:!1,position:"bottom",align:"start",labels:{boxWidth:40,padding:20,font:{size:14,family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",style:"normal"},color:"#333",usePointStyle:!1,pointStyle:"circle"}},tooltip:{enabled:!1,mode:"index",intersect:!1,backgroundColor:"rgba(0,0,0,0.8)",titleFont:{size:16,weight:"bold"},bodyFont:{size:14},footerFont:{size:12},padding:10,displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:1,callbacks:{label:function(e){return`${e.dataset.label}: ${e.raw}`},title:function(e){return`${e[0].label}`},footer:function(e){return e.length>1?`Total: ${e.reduce(((e,t)=>e+Number(t.raw)),0)}`:""}}},filler:{propagate:!0},zoom:{pan:{enabled:!0,mode:"y"},zoom:{wheel:{enabled:!0},pinch:{enabled:!0},mode:"y"}}},scales:{x:{type:"linear",display:!0,stacked:!0,beginAtZero:!0,grid:{display:!0,color:"#e4e4e4",lineWidth:1},ticks:{stepSize:5e3,font:{size:12},color:"#333",callback:e=>`${e}`},title:{display:!0,text:"Number of Entries",font:{size:14,weight:"normal"},color:"#333"}},y:{type:"category",display:!0,stacked:!0,grid:{display:!1},ticks:{autoSkip:!0,maxRotation:45,minRotation:0,font:{size:12},color:"#333"},title:{display:!0,text:"SCOP Classification",font:{size:14,weight:"normal"},color:"#333"}}},elements:{bar:{borderWidth:1,borderRadius:2,hoverBackgroundColor:"rgba(0,0,0,0.2)",hoverBorderColor:"#333"}},animation:{duration:600,easing:"easeInOutQuart"},layout:{padding:{left:0,right:0,top:0,bottom:0}}}}},6073:(e,t,i)=>{i.d(t,{A:()=>f});var a=i(176),o=i(8132),r=i(7231),n=i(7704),l=i(8154),s=i(2543),c=i(7638),d=i(6061),p=i(637),u=i(8422);const g={"overall-structures":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:1},returnType:r.ReturnType.Entry}},"overall-small-molecules":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbChemCompInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:1},returnType:r.ReturnType.MolDefinition}},"experimental-method":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:1},secondDim:{name:`FACET/${o.e.Exptl.Method.path}`,aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntryInfo.ExperimentalMethod.path,min_interval_population:1},returnType:r.ReturnType.Entry}},"molecular-composition":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${o.e.Exptl.Method.path}`,aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntryInfo.SelectedPolymerEntityTypes.path},returnType:r.ReturnType.Entry}},"assembly-symmetry":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{name:`FACET/${o.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}`,aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbStructSymmetry.Type.path},returnType:r.ReturnType.Entry}},"number-of-domains":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:r.Operator.ExactMatch,value:o.e.RcsbPolymerEntityGroupMembership.AggregationMethod.enum.sequence_identity}},facets:[{name:"Similarity Cutoff",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPolymerEntityGroupMembership.SimilarityCutoff.path,min_interval_population:1,facets:[{name:"Unique Protein Sequences",aggregation_type:r.AggregationType.Cardinality,attribute:o.e.RcsbPolymerEntityGroupMembership.GroupId.path}]}]},returnType:r.ReturnType.Entry}},"unique-protein-sequences":{query:{firstDim:{name:`FACET/${o.e.RcsbAccessionInfo.InitialReleaseDate.path}`,aggregation_type:r.AggregationType.DateHistogram,attribute:o.e.RcsbAccessionInfo.InitialReleaseDate.path,interval:r.Interval.Year,min_interval_population:0},secondDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerEntityGroupMembership.AggregationMethod.path,operator:r.Operator.ExactMatch,value:r.AggregationMethod.MatchingUniprotAccession}},facets:[{name:"Unique UniProtKB Entries",aggregation_type:r.AggregationType.Cardinality,attribute:o.e.RcsbPolymerEntityGroupMembership.GroupId.path}]},returnType:r.ReturnType.Entry}},"distribution-resolution":{query:{firstDim:{name:"Resolution Combined",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.ResolutionCombined.path,ranges:(0,u.Y$)(1,.2,4.6)},returnType:r.ReturnType.Entry}},"distribution-r-free":{query:{firstDim:{name:"R-free",aggregation_type:r.AggregationType.Range,attribute:o.e.Refine.LsRFactorRFree.path,ranges:(0,u.Y$)(.14,.01,.32)},returnType:r.ReturnType.Entry}},"distribution-molecular-weight-structure":{query:{firstDim:{name:"Molecular Weight",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.MolecularWeight.path,ranges:(0,u.Y$)(20,20,380)},returnType:r.ReturnType.Entry}},"distribution-atom-count":{query:{firstDim:{name:"Atom Count",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.DepositedAtomCount.path,ranges:(0,u.Y$)(1e3,1e3,19e3)},returnType:r.ReturnType.Entry}},"distribution-residue-count":{query:{firstDim:{name:"Residue Count",aggregation_type:r.AggregationType.Range,attribute:o.e.RcsbEntryInfo.DepositedPolymerMonomerCount.path,ranges:(0,u.Y$)(100,100,1900)},returnType:r.ReturnType.Entry}},"distribution-source-organism-natural":{query:{firstDim:{name:"Source Type",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntitySourceOrganism.SourceType.path,min_interval_population:1,facets:[{name:"Source Organism",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntitySourceOrganism.NcbiScientificName.path,min_interval_population:1,max_num_intervals:20}]},returnType:r.ReturnType.Entry}},taxonomy:{query:{firstDim:{name:"Taxonomy",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntitySourceOrganism.NcbiParentScientificName.path,min_interval_population:1,max_num_intervals:20},returnType:r.ReturnType.PolymerEntity}},"distribution-software":{query:{firstDim:{name:"Processing Software",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbEntryInfo.SoftwareProgramsCombined.path,min_interval_population:1,max_num_intervals:30},returnType:r.ReturnType.Entry}},"distribution-space-group":{query:{firstDim:{name:"Space Groups",aggregation_type:r.AggregationType.Terms,attribute:o.e.Symmetry.SpaceGroupNameHM.path,min_interval_population:1,max_num_intervals:20},returnType:r.ReturnType.Entry}},"distribution-journal":{query:{firstDim:{name:"Publication Journal",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPrimaryCitation.RcsbJournalAbbrev.path,min_interval_population:1,max_num_intervals:25},returnType:r.ReturnType.Entry}},"distribution-structural-genomics-centers":{query:{firstDim:{name:"Structural Genomics Centers",aggregation_type:r.AggregationType.Terms,attribute:o.e.PdbxSgProject.FullNameOfCenter.path,min_interval_population:1,max_num_intervals:25},returnType:r.ReturnType.Entry}},"enzyme-classification-name":{query:{firstDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerEntity.RcsbEcLineage.Depth.path,operator:r.Operator.Equals,value:1}},facets:[{name:"Enzyme Classification",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPolymerEntity.RcsbEcLineage.Name.path,min_interval_population:1,max_num_intervals:20}]},returnType:r.ReturnType.PolymerEntity}},"assembly-symmetry-dist":{query:{firstDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbStructSymmetry.Kind.path,operator:r.Operator.ExactMatch,value:o.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"]}},facets:[{name:o.e.RcsbStructSymmetry.Kind.enum["Global Symmetry"],aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbStructSymmetry.Type.path,min_interval_population:1}]},returnType:r.ReturnType.Assembly}},"scop-classification":{query:{firstDim:{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerInstanceAnnotation.Type.path,operator:r.Operator.ExactMatch,value:"SCOP"}},facets:[{filter:{type:r.Type.Terminal,service:r.Service.Text,parameters:{attribute:o.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Depth.path,operator:r.Operator.Equals,value:1}},facets:[{name:"SCOP Classification",aggregation_type:r.AggregationType.Terms,attribute:o.e.RcsbPolymerInstanceAnnotation.AnnotationLineage.Name.path,min_interval_population:1,max_num_intervals:20}]}]},returnType:r.ReturnType.PolymerEntity}}},b=e=>{const t=p.Tb.getStatisticsChartObject(e),i=t?.ref_url,a=t?.stats_notes;return{ref_url:i,stats_notes:a}},m=(e,t,i)=>{const a=new Set,o=[],r=new Map;e.forEach((e=>{o.push(e.labelPath[0]),e.data.forEach((t=>{a.add(t.label.toString()),r.has(e.labelPath[0])||r.set(e.labelPath[0],new Map),r.get(e.labelPath[0])?.set(t.label.toString(),t.population)}))}));const n=Array.from(a),l=[];return n.forEach(((e,a)=>{const n=[];o.forEach((o=>{if(void 0!==r.get(o)?.get(e)){const l=(0,p.F3)(i,e,"Entry");n.push({label:o,population:r.get(o)?.get(e)??0,objectConfig:{objectId:[o,e,r.get(o)?.get(e)??0],color:t[a%t.length],url:l}})}})),l.push(n)})),l},y=e=>{if("name"in e)return e.name;if(!e.facets||1!==e.facets.length)throw new Error("Multiple facets are not allowed");return y(e.facets[0])},f=(e,t)=>{const{settings:i}=(0,c.t)(),{setProperty:f}=(0,d.R)(),h=i.colorScheme.join("");return(0,a.I)({queryKey:[e,t,h],queryFn:()=>(async(e,t,i,a)=>{const c=g[e];if(!c)throw new Error(`Unknown chart key: ${e}`);const{query:d}=c,{ref_url:f}=b(e),{stats_notes:h}=b(e);return async function(e,t,i){let a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],c=arguments.length>4?arguments[4]:void 0,d=arguments.length>5?arguments[5]:void 0,g=arguments.length>6?arguments[6]:void 0,b=arguments.length>7?arguments[7]:void 0;const f=i.searchQuery??(0,l.XY)({attribute:o.e.RcsbEntryInfo.StructureDeterminationMethodology.path,value:o.e.RcsbEntryInfo.StructureDeterminationMethodology.enum.experimental,operator:o.e.RcsbEntryInfo.StructureDeterminationMethodology.operator.ExactMatch,service:r.Service.Text}),h=(0,s.cloneDeep)(i.firstDim);i.secondDim&&(0,l.vw)(i.secondDim,h);const x=(0,l.G2)(f,i.returnType,{facets:[h]});g("searchRequest",x),g("stats_notes",d);const v=await(async(e,t)=>{const i=`${t.searchApiUrl}/rcsbsearch/v2/query`;return fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>{if(!e.ok)throw new Error(e.statusText);return e.json()})).catch((e=>{throw console.error("Error:",e),e}))})(x,b);if(!v)return[[]];const z=(0,n.z)(v);let A=z[0].data;const k={"distribution-resolution":u.$Z,"distribution-r-free":u.$Z,"distribution-molecular-weight-structure":u.bl,"distribution-atom-count":u.pF,"distribution-residue-count":u.pF},w=k[e]?k[e](A):A;if(k[e]&&(A=w),a&&A.length>0){let e=0;return[A.map((e=>{const a=(0,p.F3)(c,e.label,i.returnType);return{...e,objectConfig:{...e.objectConfig,color:t[0%t.length],label:"Annual",url:a}}})),A.map((a=>{e+=a.population;const o=(0,p.F3)(c,a.label,i.returnType);return{...a,population:e,objectConfig:{objectId:[a.label,e],color:t[1%t.length],label:"Cumulative",url:o}}}))]}return i.secondDim?m(z.filter((e=>e.name===y(i.secondDim))),t,c):[A.map((e=>{const a=(0,p.F3)(c,e.label,i.returnType);return{...e,objectConfig:{objectId:[e.label,e.population],color:t[0%t.length],url:a}}}))]}(e,t,d,!1,f,h,i,a)})(e,i.colorScheme,f,i.config),enabled:!!e})}},2390:(e,t,i)=>{i.d(t,{Kb:()=>n,OV:()=>l,tt:()=>r});var a=i(7581);const o=a.i7`
|
|
60
|
+
from {
|
|
61
|
+
opacity: .5;
|
|
62
|
+
transform: translateZ(0) scale(0.999);
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
opacity: 1;
|
|
66
|
+
transform: translateZ(0) scale(1);
|
|
67
|
+
}
|
|
68
|
+
`,r=a.Ay.div`
|
|
69
|
+
animation: ${o} .5s ease-in;
|
|
70
|
+
will-change: opacity, transform;
|
|
71
|
+
`,n=a.Ay.div`
|
|
72
|
+
display: flex;
|
|
73
|
+
justify-content: flex-end;
|
|
74
|
+
margin-top: -10px;
|
|
75
|
+
`,l=a.Ay.button`
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
border: 1px solid #e7e7e7;
|
|
80
|
+
border-radius: 3px;
|
|
81
|
+
padding: 3px 5px;
|
|
82
|
+
|
|
83
|
+
& svg {
|
|
84
|
+
margin-right: 5px;
|
|
85
|
+
}
|
|
86
|
+
`}}]);
|