1import{D as f,S as h,a as w,C as u}from"./LKyze9GD.js";import{b as x}from"./GymLTR-r.js";import{r as R}from"./5CeSZlry.js";import"./B0XwC4Ot.js";import{c as d,b as C,d as T}from"./UpcuHWsf.js";import{b}from"./DFhX39dV.js";import{R as L,P as G,g as D}from"./BubnZ1_o.js";const E="";function _(...r){if(!r[0].startsWith("/"))throw new Error(`Cannot use \`resolve(...)\` with a non-absolute pathname or route ID (got "${r[0]}"). \`resolve\` is only for internal pathnames and route IDs; external URLs should be used directly.`);return x+E+R(r[0],r[1])}const U="global";var c=(r=>(r.Publisher="publisher",r.Institution="institution",r.Collection="collection",r.ResearchGroup="research-group",r.System="system",r))(c||{});class v{constructor(e,o){this.type=e,this.id=o}static forGlobalShowcase(){return new v("system",U)}static fromShowcaseKey(e){const o=e.split("/");if(o.length!==2)throw new TypeError(`Invalid showcase key: ${e}, required format: {showcaseType}/{showcaseID}`);const n=(l=>{switch(l){case"collection":return"collection";case"research-group":return"research-group";case"institution":return"institution";case"publisher":return"publisher";default:throw new TypeError(`Invalid showcase key, unknown type: ${l}`)}})(o[0]),s=o[1];return new v(n,s)}toShowcaseKey(){return`${this.type}/${this.id}`}toURL(){if(this.type==="system"){if(this.id!==U)throw new Error(`Invalid system showcase ID ${this.id}`);return _("/showcase/(showcase)")}let e,o=!1;switch(this.type){case"collection":e="collections";break;case"publisher":e="publishers";break;case"institution":e="institutions";break;case"research-group":e="groups",o=!0;break}return _("/showcase/(showcase)/[type=showcasetype]/[[by_id=byid]]/[id]",{type:e,by_id:o?"by_id":void 0,id:encodeURIComponent(this.id)})}}class y{title;logo;url;constructor(e){this.title=e.listingTitle?e.listingTitle:e.bannerTitle,this.logo=e.bannerLogo?new f(e.bannerLogo):null,this.url=this.buildShowcaseURL(e.showcaseType,e.showcaseID)}buildShowcaseURL(e,o){return new v(e,o).toURL()}static fromAPIResponse(e){const{type:o,id:n}=v.fromShowcaseKey(e.showcaseKey);return new y({showcaseType:o,showcaseID:n,bannerTitle:e.bannerTitle,listingTitle:e.listingTitle,bannerLogo:e.bannerLogo})}}class A{bannerTitle;bannerText;bannerLogo;bannerImage;bannerImageAttributionText;bannerImageAttributionUrl;bannerInfoHtml;listingTitle;partnerConfig;theme=null;promoSection=null;featuredPeopleSection=null;complianceDisclaimer=null;constructor(e){this.bannerTitle=e.bannerTitle||"",this.bannerText=e.bannerText||"",this.bannerLogo=e.bannerLogo?new f(e.bannerLogo):null,this.bannerImage=e.bannerImage?new f(e.bannerImage):null,this.bannerImageAttributionText=e.bannerImageAttributionText||"",this.bannerImageAttributionUrl=e.bannerImageAttributionUrl||"",this.partnerConfig=e.partnerConfig??null,this.theme=e.theme??null,this.listingTitle=e.listingTitle?e.listingTitle:e.bannerTitle,this.bannerInfoHtml=new h(e.bannerInfoHtml??"",{style:w.SimpleFormatting}),e.promoSection&&(this.promoSection=this.buildPromoSection(e.promoSection)),e.featuredPeopleSection&&(this.featuredPeopleSection=this.buildFeaturedPeopleSection(e.featuredPeopleSection)),e.complianceDisclaimer&&(this.complianceDisclaimer=this.buildComplianceDisclaimer(e.complianceDisclaimer))}buildFeaturedPeopleSection(e){return{title:e.title,text:new h(e.text,{style:w.SimpleFormatting}),items:e.items.map(o=>({...o,profilePicture:o.profilePicture?new f(o.profilePicture):null})),useThemeColor:e.useThemeColor}}buildPromoSection(e){return{title:e.title,text:new h(e.text,{style:w.SimpleFormatting}),items:e.items.map(o=>({...o,image:new f(o.image)}))}}buildComplianceDisclaimer(e){return{id:e.id,title:e.title,consentRequestText:new h(e.consentRequestText,{style:w.SimpleFormatting}),question:e.question,consentRefusalText:new h(e.consentRefusalText,{style:w.SimpleFormatting})}}}const B=new Intl.Collator("en"),O={title:"Sponsors",message:"We are grateful to our sponsors for making the Sustainable Development Knowledge Cooperative possible, and for their commitment to helping us all understand what changes we can make to help bring about a more equitable, sustainable, and prosperous future for all."},K=[{name:"Kudos",logo:"sdg-knowledge-cooperative-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"sdg-knowledge-cooperative-sponsor-impactscience.svg",externalUrl:"https://www.impact.science/"}
1],N=[{name:"ASCE",logo:"sdg-knowledge-cooperative-sponsor-asce.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-asce"},{name:"BMJ",logo:"sdg-knowledge-cooperative-sponsor-bmj.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-bmj"},{name:"Brill",logo:"sdg-knowledge-cooperative-sponsor-brill.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-brill"},{name:"Royal Society of Chemistry",logo:"sdg-knowledge-cooperative-sponsor-rsc.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-rsc"},{name:"SAGE",logo:"sdg-knowledge-cooperative-sponsor-sage.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-sage"},{name:"Springer Nature",logo:"sdg-knowledge-cooperative-sponsor-springer-nature.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-springer-nature"}],m={name:"ACS",logo:"sdg-knowledge-cooperative-sponsor-acs.png",internalUrl:"/showcase/collections/sdg-knowledge-cooperative-acs"},W=new Map([["sdg-knowledge-cooperative",[m]],["sdg-knowledge-cooperative-sdg-2-zero-hunger",[m]],["sdg-knowledge-cooperative-sdg-3-good-health-wellbeing",[m]],["sdg-knowledge-cooperative-sdg-6-clean-water-sanitation",[m]],["sdg-knowledge-cooperative-sdg-7-affordable-clean-energy",[m]],["sdg-knowledge-cooperative-sdg-9-industry-innovation-infrastructure",[m]],["sdg-knowledge-cooperative-sdg-12-responsible-consumption-production",[m]],["sdg-knowledge-cooperative-sdg-13-climate-action",[m]]]);function i(r){const e=W.get(r)||[],o=[...N,...e].sort((n,s)=>B.compare(n.name,s.name));return[r,{...O,partners:[...K,...o]}]}const F=new Map([["tsinghua",{title:"Partners",message:"As a publishing platform of Tsinghua University Press, SciOpen provides free access to an online collection of journals across diverse academic disciplines and serves to meet the research needs of scientific communities.",partners:[{name:"SciOpen",logo:"tsinghua-sponsor-sciopen.jpg",externalUrl:"https://www.sciopen.com/home"},{name:"Tsinghua University Press",logo:"tsinghua-sponsor-tup.png",externalUrl:"https://www.tsinghuajournals.com/en/home"},{name:"Kudos",logo:"tsinghua-sponsor-kudos.svg",internalUrl:"/"}]}]]),j=new Map([["artificial-intelligence",{title:"Sponsors",message:"We are grateful to our sponsors for making the Artificial Intelligence Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of Artificial Intelligence.",partners:[{name:"Kudos",logo:"ai-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"ai-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"Association for Computing Machinery",logo:"ai-sponsor-acm.svg",internalUrl:"/showcase/collections/artificial-intelligence-acm"},{name:"American Institute of Physics",logo:"ai-sponsor-aip.png",internalUrl:"/showcase/collections/artificial-intelligence-aip"},{name:"ASTM International",logo:"ai-sponsor-astm.png",externalUrl:"https://www.astm.org/products-services/standards-and-publications.html"},{name:"IOP Publishing",logo:"ai-sponsor-iopp.png",externalUrl:"https://ioppublishing.org/"}]}],["causes-of-climate-change-human-activities",{title:"Sponsors",message:"We are grateful to our sponsors for making the Climate Change Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of climate change and the difference we can all make.",partners:[{name:"Kudos",logo:"climate-change-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"climate-change-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Chemical Society",logo:"climate-change-sponsor-acs.png",internalUrl:"/showcase/collections/climate-change-acs"},{name:"American Institute of Physics",logo:"climate-change-sponsor-aip.png",internalUrl:"/showcase/collections/climate-change-aip"},{name:"American Meteorological Society",logo:"climate-change-sponsor-ametsoc.png",externalUrl:"https://www.ametsoc.org/"},{name:"Annual Reviews",logo:"climate-change-sponsor-annualreviews.png",internalUrl:"/showcase/groups/by_id/4894736422797312"},{name:"ASCE",logo:"climate-change-sponsor-asce.png",internalUrl:"/showcase/collections/climate-change-asce"},{name:"BioOne",logo:"climate-change-sponsor-bioone.png",internalUrl:"/showcase/collections/climate-change-bioone"},{name:"Brill",logo:"climate-change-sponsor-brill.png",internalUrl:"/showcase/collections/climate-change-brill"},{name:"Cambridge University Press",logo:"climate-change-sponsor-cup.png",externalUrl:"https://www.cambridge.org"},{name:"Copyright Clearance Center",logo:"climate-change-sponsor-ccc.png",externalUrl:"https://www.copyright.com/blog/ccc-joins-two-publishing-industry-collaborations-to-help-promote-a-more-sustainable-future/"},{name:"De Gruyter",logo:"climate-change-sponsor-degruyter.png",internalUrl:"/showcase/collections/climate-change-degruyter"},{name:"Delta Think",logo:"climate-change-sponsor-deltathink.png",externalUrl:"https://deltathink.com"},{name:"Elsevier",logo:"climate-change-sponsor-elsevier.png",internalUrl:"/showcase/collections/climate-change-elsevier"},{name:"Frontiers",logo:"climate-change-sponsor-frontiers.png",externalUrl:"https://www.frontiersin.org"},{name:"Geological Society",logo:"climate-change-sponsor-geologicals
1ociety.png",externalUrl:"https://www.geolsoc.org.uk"},{name:"IOP Publishing",logo:"climate-change-sponsor-iopp.png",externalUrl:"https://ioppublishing.org"},{name:"IOS Press",logo:"climate-change-sponsor-ios.png",internalUrl:"/showcase/collections/climate-change-iospress"},{name:"Researcher.Life",logo:"climate-change-sponsor-researcherlife.png",externalUrl:"https://researcher.life"},{name:"Royal Society of Chemistry",logo:"climate-change-sponsor-rsc.png",internalUrl:"/showcase/collections/climate-change-rsc"},{name:"Springer Nature",logo:"climate-change-sponsor-springernature.png",internalUrl:"/showcase/collections/climate-change-springernature"},{name:"Wiley",logo:"climate-change-sponsor-wiley.png",internalUrl:"/showcase/collections/climate-change-wiley"}]}],["climate-change",{title:"Sponsors",message:"We are grateful to our sponsors for making the Climate Change Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of climate change and the difference we can all make.",partners:[{name:"Kudos",logo:"climate-change-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"climate-change-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Chemical Society",logo:"climate-change-sponsor-acs.png",internalUrl:"/showcase/collections/climate-change-acs"},{name:"American Institute of Physics",logo:"climate-change-sponsor-aip.png",internalUrl:"/showcase/collections/climate-change-aip"},{name:"American Meteorological Society",logo:"climate-change-sponsor-ametsoc.png",internalUrl:"/showcase/collections/climate-change-ametsoc"},{name:"Annual Reviews",logo:"climate-change-sponsor-annualreviews.png",internalUrl:"/showcase/groups/by_id/4894736422797312"},{name:"ASCE",logo:"climate-change-sponsor-asce.png",internalUrl:"/showcase/collections/climate-change-asce"},{name:"BioOne",logo:"climate-change-sponsor-bioone.png",internalUrl:"/showcase/collections/climate-change-bioone"},{name:"Brill",logo:"climate-change-sponsor-brill.png",internalUrl:"/showcase/collections/climate-change-brill"},{name:"Cambridge University Press",logo:"climate-change-sponsor-cup.png",externalUrl:"https://www.cambridge.org"},{name:"Copyright Clearance Center",logo:"climate-change-sponsor-ccc.png",externalUrl:"https://www.copyright.com/blog/ccc-joins-two-publishing-industry-collaborations-to-help-promote-a-more-sustainable-future/"},{name:"De Gruyter",logo:"climate-change-sponsor-degruyter.png",internalUrl:"/showcase/collections/climate-change-degruyter"},{name:"Delta Think",logo:"climate-change-sponsor-deltathink.png",externalUrl:"https://deltathink.com"},{name:"Elsevier",logo:"climate-change-sponsor-elsevier.png",internalUrl:"/showcase/collections/climate-change-elsevier"},{name:"Frontiers",logo:"climate-change-sponsor-frontiers.png",externalUrl:"https://www.frontiersin.org"},{name:"Geological Society",logo:"climate-change-sponsor-geologicalsociety.png",externalUrl:"https://www.geolsoc.org.uk"},{name:"IntechOpen",logo:"climate-change-sponsor-intechopen.png",internalUrl:"/showcase/collections/climate-change-intechopen"},{name:"IMF",logo:"climate-change-sponsor-imf.png",internalUrl:"/showcase/collections/climate-change-imf"},{name:"IOP Publishing",logo:"climate-change-sponsor-iopp.png",externalUrl:"https://ioppublishing.org"},{name:"IOS Press",logo:"climate-change-sponsor-ios.png",internalUrl:"/showcase/collections/climate-change-iospress"},{name:"Researcher.Life",logo:"climate-change-sponsor-researcherlife.png",externalUrl:"https://researcher.life"},{name:"Royal Society of Chemistry",logo:"climate-change-sponsor-rsc.png",internalUrl:"/showcase/collections/climate-change-rsc"},{name:"Springer Nature",logo:"climate-change-sponsor-springernature.png",internalUrl:"/showcase/collections/climate-change-springernature"},{name:"Wiley",logo:"climate-change-sponsor-wiley.png",internalUrl:"/showcase/collections/climate-change-wiley"}]}],["coronavirus",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supp
1orting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"coronavirus-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"coronavirus-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"coronavirus-sponsor-aacr.png",internalUrl:"/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"coronavirus-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"coronavirus-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"coronavirus-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"coronavirus-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"coronavirus-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"coronavirus-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"coronavirus-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["covid-19-public-inquiry-faq",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"coronavirus-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"coronavirus-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"coronavirus-sponsor-aacr.png",internalUrl:"/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"coronavirus-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"coronavirus-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"coronavirus-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"coronavirus-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"coronavirus-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"coronavirus-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"coronavirus-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["faq-covid-19-symptoms",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"coronavirus-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"coronavirus-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"coronavirus-sponsor-aacr.png",internalUrl:"/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"coronavirus-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"coronavirus-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"coronavirus-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"coronavirus-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"coronavirus-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"coronavirus-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"coronavirus-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["faq-does-the-covid-vaccine-have-side-effects",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supp
1orting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"coronavirus-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"coronavirus-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"coronavirus-sponsor-aacr.png",internalUrl:"/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"coronavirus-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"coronavirus-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"coronavirus-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"coronavirus-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"coronavirus-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"coronavirus-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"coronavirus-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["how-effective-are-masks-against-covid",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"how-effective-are-masks-against-covid-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"how-effective-are-masks-against-covid-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"how-effective-are-masks-against-covid-sponsor-aacr.png",internalUrl:"/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"how-effective-are-masks-against-covid-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"how-effective-are-masks-against-covid-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"how-effective-are-masks-against-covid-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"how-effective-are-masks-against-covid-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"how-effective-are-masks-against-covid-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"how-effective-are-masks-against-covid-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"how-effective-are-masks-against-covid-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["long-covid",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"long-covid-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"long-covid-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"long-covid-sponsor-aacr.png",internalUrl:"/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"long-covid-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"long-covid-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"long-covid-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"long-covid-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"long-covid-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"long-covid-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"long-covid-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["covid-is-another-wave-coming",{title:"Sponsors",message:"We are grateful to our sponsors for making the COVID and Beyond: Living with Pandemics Knowledge Cooperative possible, and for their commitment to supp
1orting research that helps develop our understanding of infectious diseases.",partners:[{name:"Kudos",logo:"covid-is-another-wave-coming-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"covid-is-another-wave-coming-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Association for Cancer Research",logo:"covid-is-another-wave-coming-sponsor-aacr.png",internalUrl:"/showcase/showcase/collections/coronavirus-aacr"},{name:"American Chemical Society",logo:"covid-is-another-wave-coming-sponsor-acs.png",internalUrl:"/showcase/collections/coronavirus-acs"},{name:"American Institute of Physics",logo:"covid-is-another-wave-coming-sponsor-aip.png",internalUrl:"/showcase/collections/coronavirus-aip"},{name:"De Gruyter",logo:"covid-is-another-wave-coming-sponsor-degruyter.png",internalUrl:"/showcase/collections/coronavirus-degruyter"},{name:"Hindawi",logo:"covid-is-another-wave-coming-sponsor-hindawi.png",internalUrl:"/showcase/collections/coronavirus-hindawi"},{name:"SAGE",logo:"covid-is-another-wave-coming-sponsor-sage.png",externalUrl:"http://www.sagepub.com"},{name:"University of Toronto Press",logo:"covid-is-another-wave-coming-sponsor-university-of-toronto-press.png",internalUrl:"/showcase/collections/coronavirus-utpress"},{name:"Wolters Kluwer",logo:"covid-is-another-wave-coming-sponsor-wolters-kluwer.png",internalUrl:"/showcase/collections/coronavirus-wolters-kluwer"}]}],["how-to-help-the-environment",{title:"Sponsors",message:"We are grateful to our sponsors for making the Climate Change Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of climate change and the difference we can all make.",partners:[{name:"Kudos",logo:"climate-change-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"climate-change-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Chemical Society",logo:"climate-change-sponsor-acs.png",internalUrl:"/showcase/collections/climate-change-acs"},{name:"American Institute of Physics",logo:"climate-change-sponsor-aip.png",internalUrl:"/showcase/collections/climate-change-aip"},{name:"American Meteorological Society",logo:"climate-change-sponsor-ametsoc.png",externalUrl:"https://www.ametsoc.org/"},{name:"Annual Reviews",logo:"climate-change-sponsor-annualreviews.png",internalUrl:"/showcase/groups/by_id/4894736422797312"},{name:"ASCE",logo:"climate-change-sponsor-asce.png",internalUrl:"/showcase/collections/climate-change-asce"},{name:"BioOne",logo:"climate-change-sponsor-bioone.png",internalUrl:"/showcase/collections/climate-change-bioone"},{name:"Brill",logo:"climate-change-sponsor-brill.png",internalUrl:"/showcase/collections/climate-change-brill"},{name:"Cambridge University Press",logo:"climate-change-sponsor-cup.png",externalUrl:"https://www.cambridge.org"},{name:"Copyright Clearance Center",logo:"climate-change-sponsor-ccc.png",externalUrl:"https://www.copyright.com/blog/ccc-joins-two-publishing-industry-collaborations-to-help-promote-a-more-sustainable-future/"},{name:"De Gruyter",logo:"climate-change-sponsor-degruyter.png",internalUrl:"/showcase/collections/climate-change-degruyter"},{name:"Delta Think",logo:"climate-change-sponsor-deltathink.png",externalUrl:"https://deltathink.com"},{name:"Elsevier",logo:"climate-change-sponsor-elsevier.png",internalUrl:"/showcase/collections/climate-change-elsevier"},{name:"Frontiers",logo:"climate-change-sponsor-frontiers.png",externalUrl:"https://www.frontiersin.org"},{name:"Geological Society",logo:"climate-change-sponsor-geologicalsociety.png",externalUrl:"https://www.geolsoc.org.uk"},{name:"IOP Publishing",logo:"climate-change-sponsor-iopp.png",externalUrl:"https://ioppublishing.org"},{name:"IOS Press",logo:"climate-change-sponsor-ios.png",internalUrl:"/showcase/collections/climate-change-iospress"},{name:"Researcher.Life",logo:"climate-change-sponsor-researcherlife.png",externalUrl:"https://researcher.life"},{name:"Royal Society of Chemistry",logo:"climate-change-sponsor-rsc.png",internalUrl:"/showcase/collections/climate-change-rsc"},{name:"Springer Nature",logo:"climate-change-sponsor-springernature.png",internalUrl:"/showcase/collections/climate-change-springernature"},{name:"Wiley",logo:"climate-change-sponsor-wiley.png",internalUrl:"/showcase/collections/climate-change-wiley"}]}],["microplastics-plastics-and-pollution-of-our-oceans",{title:"Sponsors",message:"We are grateful to our sponsors for making the Climate Change Knowledge Cooperative possible, and for their commitment to supp
1orting research that helps develop our understanding of climate change and the difference we can all make.",partners:[{name:"Kudos",logo:"climate-change-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"climate-change-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Chemical Society",logo:"climate-change-sponsor-acs.png",internalUrl:"/showcase/collections/climate-change-acs"},{name:"American Institute of Physics",logo:"climate-change-sponsor-aip.png",internalUrl:"/showcase/collections/climate-change-aip"},{name:"American Meteorological Society",logo:"climate-change-sponsor-ametsoc.png",externalUrl:"https://www.ametsoc.org/"},{name:"Annual Reviews",logo:"climate-change-sponsor-annualreviews.png",internalUrl:"/showcase/groups/by_id/4894736422797312"},{name:"ASCE",logo:"climate-change-sponsor-asce.png",internalUrl:"/showcase/collections/climate-change-asce"},{name:"BioOne",logo:"climate-change-sponsor-bioone.png",internalUrl:"/showcase/collections/climate-change-bioone"},{name:"Brill",logo:"climate-change-sponsor-brill.png",internalUrl:"/showcase/collections/climate-change-brill"},{name:"Cambridge University Press",logo:"climate-change-sponsor-cup.png",externalUrl:"https://www.cambridge.org"},{name:"Copyright Clearance Center",logo:"climate-change-sponsor-ccc.png",externalUrl:"https://www.copyright.com/blog/ccc-joins-two-publishing-industry-collaborations-to-help-promote-a-more-sustainable-future/"},{name:"De Gruyter",logo:"climate-change-sponsor-degruyter.png",internalUrl:"/showcase/collections/climate-change-degruyter"},{name:"Delta Think",logo:"climate-change-sponsor-deltathink.png",externalUrl:"https://deltathink.com"},{name:"Elsevier",logo:"climate-change-sponsor-elsevier.png",internalUrl:"/showcase/collections/climate-change-elsevier"},{name:"Frontiers",logo:"climate-change-sponsor-frontiers.png",externalUrl:"https://www.frontiersin.org"},{name:"Geological Society",logo:"climate-change-sponsor-geologicalsociety.png",externalUrl:"https://www.geolsoc.org.uk"},{name:"IOP Publishing",logo:"climate-change-sponsor-iopp.png",externalUrl:"https://ioppublishing.org"},{name:"IOS Press",logo:"climate-change-sponsor-ios.png",internalUrl:"/showcase/collections/climate-change-iospress"},{name:"Researcher.Life",logo:"climate-change-sponsor-researcherlife.png",externalUrl:"https://researcher.life"},{name:"Royal Society of Chemistry",logo:"climate-change-sponsor-rsc.png",internalUrl:"/showcase/collections/climate-change-rsc"},{name:"Springer Nature",logo:"climate-change-sponsor-springernature.png",internalUrl:"/showcase/collections/climate-change-springernature"},{name:"Wiley",logo:"climate-change-sponsor-wiley.png",internalUrl:"/showcase/collections/climate-change-wiley"}]}],["what-causes-wildfires",{title:"Sponsors",message:"We are grateful to our sponsors for making the Climate Change Knowledge Cooperative possible, and for their commitment to supporting research that helps develop our understanding of climate change and the difference we can all make.",partners:[{name:"Kudos",logo:"climate-change-sponsor-kudos.svg",internalUrl:"/"},{name:"Impact Science",logo:"climate-change-sponsor-impactscience.svg",externalUrl:"https://cactusglobal.com/brands/impact-science/"},{name:"American Chemical Society",logo:"climate-change-sponsor-acs.png",internalUrl:"/showcase/collections/climate-change-acs"},{name:"American Institute of Physics",logo:"climate-change-sponsor-aip.png",internalUrl:"/showcase/collections/climate-change-aip"},{name:"American Meteorological Society",logo:"climate-change-sponsor-ametsoc.png",externalUrl:"https://www.ametsoc.org/"},{name:"Annual Reviews",logo:"climate-change-sponsor-annualreviews.png",internalUrl:"/showcase/groups/by_id/4894736422797312"},{name:"ASCE",logo:"climate-change-sponsor-asce.png",internalUrl:"/showcase/collections/climate-change-asce"},{name:"BioOne",logo:"climate-change-sponsor-bioone.png",internalUrl:"/showcase/collections/climate-change-bioone"},{name:"Brill",logo:"climate-change-sponsor-brill.png",internalUrl:"/showcase/collections/climate-change-brill"},{name:"Cambridge University Press",logo:"climate-change-sponsor-cup.png",externalUrl:"https://www.cambridge.org"},{name:"Copyright Clearance Center",logo:"climate-change-sponsor-ccc.png",externalUrl:"https://www.copyright.com/blog/ccc-joins-two-publishing-industry-collaborations-to-help-promote-a-more-sustainable-future/"},{name:"De Gruyter",logo:"climate-change-sponsor-degruyter.png",internalUrl:"/showcase/collections/climate-change-degruyter"},{name:"Delta Think",logo:"climate-change-sponsor-deltathink.png",externalUrl:"https://deltathink.com"},{name:"Elsevier",logo:"climate-change-sponsor-elsevier.png",internalUrl:"/showcase/collections/climate-change-elsevier"},{name:"Frontiers",logo:"climate-change-sponsor-frontiers.png",externalUrl:"https://www.frontiersin.org"},{name:"Geological Society",logo:"climate-change-sponsor-geologicals
1ociety.png",externalUrl:"https://www.geolsoc.org.uk"},{name:"IOP Publishing",logo:"climate-change-sponsor-iopp.png",externalUrl:"https://ioppublishing.org"},{name:"IOS Press",logo:"climate-change-sponsor-ios.png",internalUrl:"/showcase/collections/climate-change-iospress"},{name:"Researcher.Life",logo:"climate-change-sponsor-researcherlife.png",externalUrl:"https://researcher.life"},{name:"Royal Society of Chemistry",logo:"climate-change-sponsor-rsc.png",internalUrl:"/showcase/collections/climate-change-rsc"},{name:"Springer Nature",logo:"climate-change-sponsor-springernature.png",internalUrl:"/showcase/collections/climate-change-springernature"},{name:"Wiley",logo:"climate-change-sponsor-wiley.png",internalUrl:"/showcase/collections/climate-change-wiley"}]}],["tsinghua-nano-research",{title:"Partners",message:"As a publishing platform of Nano Research, SciOpen provides free access to an online collection of journals across diverse academic disciplines and serves to meet the research needs of scientific communities.",partners:[{name:"SciOpen",logo:"tsinghua-nano-research-sponsor-sciopen.jpg",externalUrl:"https://www.sciopen.com/home"},{name:"Tsinghua University Press",logo:"tsinghua-nano-research-sponsor-tup.png",externalUrl:"https://www.tsinghuajournals.com/en/home"},{name:"Kudos",logo:"tsinghua-nano-research-sponsor-kudos.svg",internalUrl:"/"}]}],i("sdg-knowledge-cooperative"),i("sdg-knowledge-cooperative-sdg-1-no-poverty"),i("sdg-knowledge-cooperative-sdg-2-zero-hunger"),i("sdg-knowledge-cooperative-sdg-3-good-health-wellbeing"),i("sdg-knowledge-cooperative-sdg-4-quality-education"),i("sdg-knowledge-cooperative-sdg-5-gender-equality"),i("sdg-knowledge-cooperative-sdg-6-clean-water-sanitation"),i("sdg-knowledge-cooperative-sdg-7-affordable-clean-energy"),i("sdg-knowledge-cooperative-sdg-8-decent-work-economic-growth"),i("sdg-knowledge-cooperative-sdg-9-industry-innovation-infrastructure"),i("sdg-knowledge-cooperative-sdg-10-reduced-inequalities"),i("sdg-knowledge-cooperative-sdg-11-sustainable-cities-communities"),i("sdg-knowledge-cooperative-sdg-12-responsible-consumption-production"),i("sdg-knowledge-cooperative-sdg-13-climate-action"),i("sdg-knowledge-cooperative-sdg-14-life-below-water"),i("sdg-knowledge-cooperative-sdg-15-life-on-land"),i("sdg-knowledge-cooperative-sdg-16-peace-justice-strong-institutions")]),H=new Map([[c.Collection,j],[c.Publisher,F]]);class g{title;image;url;doi;logo=null;containerName;whatsItAbout;type;constructor(e){this.title=new h(e.title??""),this.doi=e.doi,this.type=e.type,this.containerName=e.containerName,this.whatsItAbout=e.whatsItAbout;const o=new L;e.image?this.image=o.buildFromURL(e.image):this.image=new G(e.doi),e.logo&&(this.logo=o.buildFromURL(e.logo)),this.url=this.buildURL(e.publicWebUrl)}buildURL(e){if(e)return new URL(e).href;const o=encodeURIComponent(encodeURIComponent(encodeURIComponent(this.doi)));return new URL(`publications/${o}/reader`,"https://growkudos.com").href}get displayType(){return D(this.type)}static fromAPIResponse(e){return new g({title:e.title||e.article_title||"",image:e.image,doi:e.doi||"",publicWebUrl:e.public_web_url,type:e.type||"publication",logo:e.logo,containerName:"",whatsItAbout:""})}static fromAPIResponseV2(e){return new g({title:e.title,image:e.image,doi:e.doi,publicWebUrl:e.public_web_url,type:e.type,logo:e.logo,containerName:e.container_name,whatsItAbout:e.whats_it_about})}}class q{constructor(e){this.fetch=e}async search(e){const o=new URL("/search",d),n=new URLSearchParams;if(e.searchText&&n.set("q",e.searchText),e.publisherShortCode&&n.set("publisher",e.publisherShortCode),e.institutionShortCode&&n.set("institution",e.institutionShortCode),e.collectionTag&&n.set("tag",e.collectionTag),e.rgid&&n.set("rgid",e.rgid),e.dois)for(const p of e.dois)n.append("doi",p);o.search=n.toString();const l=await(await this.doFetch(o,{apiVersion:"v2"})).json();return{items:l.items.map(g.fromAPIResponseV2),totalHits:l.total_hits,showcases:l.showcases.map(g.fromAPIResponseV2)}}async getGlobalShowcaseItems(){const e=new URL("/global",d);return(await(await this.doFetch(e,{apiVersion:"v2"})).json()).items.map(g.fromAPIResponseV2)}async getPublicationShowcaseItems(e,o){const n=new URL("/publications",d);let s;switch(e){case c.Publisher:s="publisher";break;case c.Institution:s="institution";break;default:throw new Error(`getPublicationHomepageItems got unexpected type param ${e}`)}const l={};return l[s]=o,n.search=new URLSearchParams(l).toString(),(await(await this.doFetch(n,{})).json()).map(g.fromAPIResponse)}async getCollectionShowcaseItems(e){const o=b(d,"collections",e);return(await(await this.doFetch(o,{apiVersion:"v2"})).json()).sections[0].items.map(g.fromAPIResponseV2)}async getResearchGroupShowcaseItems(e){const o=b(d,"research-groups",e);return(await(await this.doFetch(o,{apiVersion:"v2"})).json()).items.map(g.fromAPIResponseV2)}async doFetch(e,o){const n=new Headers;o?.apiVersion==="v2"&&n.append("X-Growkudos-API-Version",o.apiVersion);const s=await this.fetch(e.href,{headers:n});if(s.status!==200)throw new Error(`Got ${s.status} response when getting showcase items`);return s}}const V="1ef562c5-c1a3-4ad9-9687-7409070da796";class ${constructor(e,o){this.brandingAPIClient=e,this.researchGroupAPIClient=o}async getListedShowcases(){return(await this.brandingAPIClient.getListedShowcases()).sort((e,o)=>{const n=e.title.toUpperCase(),s=o.title.toUpperCase();return n<s?-1:n>s?1:0})}async getShowcaseBranding(e,o){let n;try{n=await this.brandingAPIClient.getShowcaseBranding(e,o)}catch(s){if(!(s instanceof u&&s.reason==="not_found"))throw s;n=await this.getFallbackBranding(e,o)}
1return n.partnerConfig=H.get(e)?.get(o)??null,n}async getFallbackBranding(e,o){if(e!==c.ResearchGroup)throw new u("not_found");const n=await this.researchGroupAPIClient.getResearchGroupInfo(o);return new A({bannerTitle:`Research Showcase from ${n.name}`,bannerText:`Welcome to the research showcase from ${n.name}, telling the story of research to a global audience.`,bannerLogo:null,bannerImage:V,bannerImageAttributionText:"",bannerImageAttributionUrl:"",bannerInfoHtml:"",listingTitle:n.name})}}class M{constructor(e,o){this.logger=e,this.fetch=o}async getShowcaseBranding(e,o){let n=this.logger.child({showcaseType:e,showcaseID:o});const s=new URL("/items/showcase_branding",C);s.search=new URLSearchParams({filter:JSON.stringify({showcase_key:{_eq:`${e}/${o}`}}),fields:["*","promo_section_items.showcase_promo_section_items_id.*","featured_people_section_items.showcase_featured_people_section_items_id.*","compliance_disclaimer.*"].join(",")}).toString();let l;try{l=await this.fetch(s.href)}catch(t){throw n.error(t,"Could not fetch showcase branding"),t}let p;try{p=await l.json()}catch(t){throw n.error(t,"Could not parse branding response as JSON"),t}if(n=n.child({responseBody:p}),!p.data)throw n.error("Branding response data attribute was falsy"),new u("unknown");if(!p.data[0])throw n.warn("Branding not found for showcase"),new u("not_found");const a=p.data[0];let S=null;a.promo_section_title&&(S={title:a.promo_section_title,text:a.promo_section_text??"",items:a.promo_section_items.map(t=>t.showcase_promo_section_items_id)});let I=null;a.featured_people_section_title&&(I={title:a.featured_people_section_title,text:a.featured_people_section_text??"",items:a.featured_people_section_items.map(({showcase_featured_people_section_items_id:t})=>({title:t.title??"",givenName:t.given_name,middleName:t.middle_name??"",familyName:t.family_name??"",profilePicture:t.profile_picture,subjectName:t.subject_name??"",institutionName:t.institution_name??"",countryName:t.country_name??"",username:t.username})),useThemeColor:a.featured_people_section_use_theme_color});let k=null;return a.compliance_disclaimer&&(k={id:a.compliance_disclaimer.id.toString(),title:a.compliance_disclaimer.title,consentRequestText:a.compliance_disclaimer.request_text,question:a.compliance_disclaimer.question,consentRefusalText:a.compliance_disclaimer.refusal_text}),new A({bannerTitle:a.banner_title,bannerText:a.banner_text,bannerLogo:a.banner_logo,bannerImage:a.banner_image,bannerImageAttributionText:a.banner_image_attribution_text,bannerImageAttributionUrl:a.banner_image_attribution_url,listingTitle:a.listing_title,bannerInfoHtml:a.info_html,theme:this.getTheme(a),promoSection:S,featuredPeopleSection:I,complianceDisclaimer:k})}async getListedShowcases(){const o=new URL("/items/showcase_branding",C);o.search=new URLSearchParams({filter:JSON.stringify({listed:{_eq:!0}}),fields:["showcase_key","banner_title","banner_logo","listing_title"].join(","),limit:"300"}).toString();const n=await this.fetch(o.href).then(s=>s.json());if(!n.data)throw new u("unknown");return n.data.length===300&&this.logger.warn("Total number of listed showcases matches specified API item limit, increase limit to ensure all listed showcases are present"),n.data.map(s=>y.fromAPIResponse({showcaseKey:s.showcase_key,bannerTitle:s.banner_title,bannerLogo:s.banner_logo,listingTitle:s.listing_title}))}getTheme(e){return e.theme_color?e.text_color==="light"||e.text_color==="dark"?{color:e.theme_color,textColor:e.text_color}:(this.logger.warn(`Invalid text color ${e.text_color} for showcase ${e.showcase_key}`),null):null}}class z{constructor(e){this.fetch=e}async getResearchGroupInfo(e){const o=b(T,"research-groups-info",e);return await(await this.doFetch(o)).json()}async doFetch(e){const o=await this.fetch(e.href);if(o.status!==200)throw o.status===404?new u("not_found"):new Error(`Got ${o.status} response when getting research group info`);return o}}class P{constructor(e,o){this.showcaseAPIClient=e,this.brandingService=o}async getHomepageItems(e){let o;switch(e.type){case c.System:if(e.id!==U)throw new Error(`Unsupported system showcase ID ${e.id}`);o=await this.showcaseAPIClient.getGlobalShowcaseItems();break;case c.Publisher:case c.Institution:o=await this.showcaseAPIClient.getPublicationShowcaseItems(e.type,e.id);break;case c.Collection:o=await this.showcaseAPIClient.getCollectionShowcaseItems(e.id);break;case c.ResearchGroup:o=await this.showcaseAPIClient.getResearchGroupShowcaseItems(e.id);break;default:throw new Error(`Unsupported showcase type ${e.type}`)}return o=o.slice(0,e.maxItems),o}async search(e){return this.showcaseAPIClient.search(e)}async getBranding(e,o){return this.brandingService.getShowcaseBranding(e,o)}async getListedShowcases(){return this.brandingService.getListedShowcases()}static withDefaultDependencies(e,o){return new P(new q(o),new $(new M(e,o),new z(o)))}}export{V as B,U as G,c as S,P as a,v as b,_ as r};
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.