PageSourceSearch

https://www.uniprot.org/modern.taxonomy-entry.86c7d8.js

js uniprot.org collected 2026-09-24 08:33:41 UTC 4,618 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkuniprot_website=self.webpackChunkuniprot_website||[]).push([[3981],{81496(e,t,n){n.r(t),n.d(t,{default:()=>M}),n(98660),n(68907),n(20206);var r=n(36371),s=n(80416),a=n(54738),o=n(10778),i=Object.prototype.hasOwnProperty;const c=function(e,t,n){var r=e[t];i.call(e,t)&&(0,o.A)(r,n)&&(void 0!==n||t in e)||(0,a.A)(e,t,n)};var l=n(69627),d=n(21143),u=n(80115),m=n(73019);const x=function(e,t,n,r){if(!(0,u.A)(e))return e;for(var s=-1,a=(t=(0,l.A)(t,e)).length,o=a-1,i=e;null!=i&&++s<a;){var x=(0,m.A)(t[s]),h=n;if("__proto__"===x||"constructor"===x||"prototype"===x)return e;if(s!=o){var j=i[x];void 0===(h=r?r(j,x,i):void 0)&&(h=(0,u.A)(j)?j:(0,d.A)(t[s+1])?[]:{})}c(i,x,h),i=i[x]}return e};var h=n(18669);const j=function(e,t){return function(e,t,n){for(var r=-1,a=t.length,o={};++r<a;){var i=t[r],c=(0,s.A)(e,i);n(c,i)&&x(o,(0,l.A)(i,e),c)}return o}(e,t,function(t,n){return(0,h.A)(e,n)})};var f=n(47664),g=n(72035),p=n(33444);const A=(v=function(e,t){return null==e?{}:j(e,t)},(0,p.A)((0,g.A)(v,void 0,f.A),v+""));var v,y=n(71763),R=n(66532),N=n(91981),Y=n(87912),b=n(80291),$=n(83174),w=n(21105),C=n(42011),I=n(78375),_=n(68823),T=n(18088),P=n(67801),k=n(15422),z=n(34821),q=n(52871),E=n(55441),B=n(69429),K=n(40531);const S=e=>{let t;const n=e.scientificName,r=e.commonName;return t=n&&r?`${n} (${r})`:n||r||e.taxonId,t};n.dn(S);var Z=n(95722),O=(n(67622),n(38660),n(97500)),D=n.n(O),G=n(85399),U=n(65297);var W=n(91987);const F=({taxonId:e,childTaxons:t,total:n})=>(0,W.jsxs)("ul",{className:"no-bullet",children:[t.map(e=>(0,W.jsx)("li",{children:(0,W.jsx)(U.Ay,{data:e})},e.taxonId)),(0,W.jsx)("li",{children:(0,W.jsxs)(G.N_,{to:{pathname:Y.qg[Y.aZ.TaxonomyResults],search:`query=parent:${e}`},className:D()("button","tertiary","ej1fi"),children:["Browse all direct children (",(0,W.jsx)(r.Ig,{children:n}),")"]})}),(0,W.jsx)("li",{children:(0,W.jsx)(G.N_,{to:{pathname:Y.qg[Y.aZ.TaxonomyResults],search:`query=ancestor:${e}`},className:"button tertiary",children:"Browse all descendants"})})]}),H=[Z.YR.mnemonic,Z.YR.id,Z.YR.scientificName,Z.YR.parent],L=[Z.YR.commonName,Z.YR.synonyms,Z.YR.otherNames,Z.YR.rank,Z.YR.lineage,Z.YR.hosts,Z.YR.strains,Z.YR.links],M=e=>{const t=(0,E.A)(),n=(0,R.W6)(),[s,a]=(0,y.useState)(!1),o=e.match?.params.accession,i=(0,q.A)(z.A.entry.entry(o,B.g$.taxonomy)),c=(0,q.A)(z.A.search.search({namespace:B.g$.taxonomy,query:`parent:${o}`,columns:[Z.YR.scientificName,Z.YR.commonName],facets:null,size:5}));if((0,y.useEffect)(()=>{if(i.redirectedTo){const e=new URL(i.redirectedTo).pathname.split("/"),r=e[e.length-1];t((0,b.tj)({id:"accession-merge",content:(0,W.jsxs)(W.Fragment,{children:[o," has been merged into ",r,". You have automatically been redirected."]}),format:$.B$.IN_PAGE,level:$.Wf.SUCCESS,tag:$.Mv.REDIRECT})),(0,N.Gt)().then(()=>n.replace((0,Y.u3)(B.g$.taxonomy,r)))}},[t,i.redirectedTo]),i.error||!o||!i.loading&&!i.data)return(0,W.jsx)(I.A,{status:i.status,error:i.error,fullPage:!0});if(c.error||!c.loading&&!c.data)return(0,W.jsx)(I.A,{status:c.status,error:c.error,fullPage:!0});const{data:l}=i;if(!l||!c.data)return(0,W.jsx)(r.aH,{progress:i.progress||c.progress});if(l.inactiveReason)return(0,W.jsxs)(T.j,{children:[(0,W.jsx)(_.A,{title:[l.taxonId,B.zK[B.g$.taxonomy]],children:(0,W.jsx)("meta",{name:"robots",content:"noindex"})}),(0,W.jsxs)("h1",{children:[B.zK[B.g$.taxonomy]," - ",l.taxonId," ","(obsolete)"]})]});const d=A(l.statistics,["reviewedProteinCount","unreviewedProteinCount"]),u=A(l.statistics,["proteomeCount","referenceProteomeCount"]),m=e=>{const t=Z.Ay.get(e);return{title:t?.label,content:t?.render(l)}},x=[...H.map(m),{title:"Children",content:c.data.results.length?(0,W.jsx)(F,{childTaxons:c.data.results,total:+(c.headers?.["x-total-results"]||0),taxonId:l.taxonId}):null},...L.map(m)],h=Boolean(l.statistics?.reviewedProteinCount||l.statistics?.unreviewedProteinCount),j=`(taxonomy_id:${o})`,f=()=>a(!s);return(0,W.jsxs)(T.j,{children:[(0,W.jsx)(_.A,{title:[S(l),B.zK[B.g$.taxonomy]]}),(0,W.jsxs)("h1",{children:[B.zK[B.g$.taxonomy]," -"," ",l.scientificName||l.taxonId," ",(0,W.jsxs)("small",{children:["(",l.rank,")"]})]}),(0,W.jsxs)(r.Zp,{className:K.A.card,children:[s&&(0,W.jsx)(C.A,{handleToggle:f}),(0,W.jsxs)("div",{className:"button-group",children:[(0,W.jsx)(w.A,{handleToggle:f}),(0,W.jsx)(P.j9,{statistics:d}),(0,W.jsx)(P.j9,{statistics:u,fieldNameOverride:"organism_id",children:"View proteomes"})]}),(0,W.jsx)(r.f9,{infoData:x,columns:!0})]}),h&&(0,W.jsx)(k.A,{relatedQuery:j})]})}}
1,40531(e,t,n){n.d(t,["A",0,{card:"nz0gZ"}])}}]);
2//# sourceMappingURL=modern.taxonomy-entry.86c7d8.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.