PageSourceSearch

https://citius.gal/component---src-pages-team-otherstaff-collab-fellowship-jsx-5684b9c636578cb6c642.js

js citius.gal collected 2026-10-01 11:49:45 UTC 9,120 bytes, 2 lines download raw bytes

1(self.webpackChunkgatsby_citius=self.webpackChunkgatsby_citius||[]).push([[3279],{15265:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var a=n(96540),r=n(9889),s=n(61607);let l=[{name:"others.tabs.other",link:r.ow},{name:"others.tabs.starting",link:r.Wb},{name:"others.tabs.collab-fellowship",link:r.nI},{name:"others.tabs.summer-fellowship",link:r.d3}];var i=e=>{let{t:t,num_summer:n,num_starting:r,num_collab:i}=e;return 0===n&&(l=l.filter(e=>"others.tabs.summer-fellowship"!==e.name)),0===r&&(l=l.filter(e=>"others.tabs.starting"!==e.name)),0===i&&(l=l.filter(e=>"others.tabs.collab-fellowship"!==e.name)),a.createElement(s.A,{title:t("others.title"),tabs:l})}},29450:function(e,t,n){"use strict";n.d(t,{E:function(){return i},A:function(){return m}});var a=n(96540),r="teamGrid-module--TeamMember_photo--c21b6",s=n(5588),l=n(59889);const i=e=>{let{link:t,photo:n,name:i}=e;return a.createElement(l.A,{to:t,className:"teamGrid-module--TeamMember--7d9eb"},a.createElement("p",{className:"teamGrid-module--TeamMember_name--93648"},i),n?a.createElement(s.G,{image:n,alt:i,className:r}):a.createElement("img",{src:"/img/person_avatar.png",alt:i,className:r}))};i.displayName="TeamMember";const o=e=>{let{members:t}=e;return a.createElement("section",{className:"teamGrid-module--TeamGrid--431fc"},t)};var m=o;o.displayName="TeamGrid"},53159:function(e,t,n){"use strict";n.r(t);var a=n(58156),r=n.n(a),s=n(96540),l=n(33829),i=n(24755),o=n(5588),m=n(25753),u=n(55735),c=n(15265),d=n(29450),g=n(53752),b=n(67694);t.default=e=>{let{data:t}=e;const{t:n}=(0,i.useTranslation)(),{language:a,defaultLanguage:f}=(0,i.useI18next)();return s.createElement(m.A,{seoTitle:n("others.title")},s.createElement(u.A,{img:(0,o.c)(t.headerImg)}),s.createElement(c.A,{t:n,num_summer:t.otherInternSummerInvestigator.edges.length,num_starting:t.otherStartingInvestigator.edges.length}),s.createElement(d.A,{members:s.createElement(s.Fragment,null,t.otherInternCollabInvestigator.edges.map(e=>{let{node:t}=e;return s.createElement(d.E,{link:(0,b.C)("/team/"+t.slug,a,f),name:t.preferred_name.given_name+" "+t.preferred_name.family_name,photo:(0,o.c)(r()(t,"account.picture_website.localFile.childImageSharp")),key:(0,l.A)()})}))}),0===t.otherInternCollabInvestigator.edges.length&&s.createElement("div",{className:g.f3},n("others.noStaff")))}},53752:function(e,t,n){"use strict";n.d(t,{f3:function(){return a}});var a="team-module--NotFoundText--d837e"},55735:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var a=n(98587),r=n(96540),s=n(5588);const l=["img","staticImg","alt","heading","spacingTop","spacingBottom","spacingLeft","spacingInline"],i=e=>{let{img:t,staticImg:n,alt:i,heading:o,spacingTop:m,spacingBottom:u,spacingLeft:c,spacingInline:d}=e,g=(0,a.A)(e,l);return r.createElement("section",Object.assign({className:("\n        imgSection-module--ImgSection--8c8bc\n        "+(o?"imgSection-module--ImgSection___heading--b50d8":"")+"\n        "+(m?"imgSection-module--ImgSection___spacingTop--1144f":"")+"\n        "+(u?"imgSection-module--ImgSection___spacingBottom--d9f0c":"")+"\n        "+(c?"imgSection-module--ImgSection___spacingLeft--0c2c1":"")+"\n        "+(d?"imgSection-module--ImgSection___spacingInline--50b14":"")+"\n      ").trim()},g),t&&r.createElement(s.G,{image:t,alt:i,className:"imgSection-module--ImgSection_img--60c0e"}),n&&r.createElement("img",{src:n,alt:i}))};var o=i;i.defaultProps={alt:""},i.displayName="ImgSection"},61607:function(e,t,n){"use strict";n.d(t,{A:function(){return p}});var a=n(96540),r=n(86462),s="tabsMenu-module--TabsMenu_link--181ff",l="tabsMenu-module--TabsMenu_link___active--03f65",i="tabsMenu-module--TabsMenu_menu--5b129",o=n(24755),m=n(16290),u=n(74848),c=(0,m.A)((0,u.jsx)("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"}),"KeyboardArrowRight"),d=(0,m.A)((0,u.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"}),"MoreHoriz"),g=n(67694),b=n(7622),f=n(84896);const h=e=>{var t,n;let{title:m,tabs:u,currentTabDescription:h,goToHistoryLink:p}=e;const{t:v}=(0,o.useTranslation)(),{language:_}=(0,o.useI18next)(),{pathname:E}=(0,r.useLocation)(),M=a.useRef(null),T=a.useRef(null),k=a.useRef(null),w=a.useRef(null),[y,N]=a.useState(()=>(null==u?void 0:u.map((e,t)=>t))||[]),[I,S]=a.useState(null),L=(0,b.removeLanguageFromPath)(E).replace(/\/$/,"")||"/",A=null!==(t=null==u?void 0:u.findIndex(e=>e.link.replace(/\/$/,"")===L))&&void 0!==t?t:-1,C=null==u||null===(n=u[0])||void 0===n?void 0:n.name,R="string"==typeof C&&(/\.(all|everything)$/.test(C)||C===v("videos.all"));a.useEffect(()=>{var e;const t=T.current,n=k.current;if(!t||!n||null==u||!u.length)return;let a=!0;const r=()=>{const e=Array.from(n.children,e=>e.getBoundingClientRect().width),a=t.getBoundingClientRect().width,r=parseFloat(window.getComputedStyle(n).columnGap
1)||0,s=(0,f.getVisibleTabIndices)(e,a,r,44,A,R);N(e=>e.length===s.length&&e.every((e,t)=>e===s[t])?e:s)};r();const s="undefined"!=typeof ResizeObserver?new ResizeObserver(r):null;return s?s.observe(t):window.addEventListener("resize",r),null===(e=document.fonts)||void 0===e||e.ready.then(()=>{a&&r()}),()=>{a=!1,null==s||s.disconnect(),s||window.removeEventListener("resize",r)}},[A,_,R,u]),a.useEffect(()=>{var e;const t=M.current;if(!t)return;const n=()=>{const e=t.querySelector("."+l);if(!e||t.scrollWidth<=t.clientWidth)return;const n=t.getBoundingClientRect(),a=e.getBoundingClientRect();a.left>=n.left&&a.right<=n.right||(t.scrollLeft+=a.left-n.left-(t.clientWidth-a.width)/2)},a=window.requestAnimationFrame(n);return null===(e=document.fonts)||void 0===e||e.ready.then(n),()=>window.cancelAnimationFrame(a)},[_,u]),a.useEffect(()=>{S(null)},[E,_,y]),a.useEffect(()=>{if(null===I)return;const e=e=>{var t;null!==(t=w.current)&&void 0!==t&&t.contains(e.target)||S(null)},t=e=>{var t,n;"Escape"===e.key&&(S(null),null===(t=w.current)||void 0===t||null===(n=t.querySelector("button"))||void 0===n||n.focus())};return document.addEventListener("pointerdown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("pointerdown",e),document.removeEventListener("keydown",t)}},[I]);const x=function(e,t){return void 0===t&&(t=""),a.createElement(o.Link,{to:e.link,key:e.link,className:s+" "+t,activeClassName:l,onClick:t=>{S(null),function(e,t){const n=new URLSearchParams(window.location.search).get("search")||"";""!==n&&(e.preventDefault(),t=(0,g.C)(t,_),window.location.href=t+"?search="+n)}(t,e.link)}},v(e.name))},F=new Set(y),G=[];return null==u||u.forEach((e,t)=>{const n=F.has(t),a=G[G.length-1];(null==a?void 0:a.visible)===n?a.tabs.push(e):G.push({visible:n,start:t,tabs:[e]})}),a.createElement(a.Fragment,null,a.createElement("section",{className:"tabsMenu-module--TabsMenu--a8fbe"},m&&a.createElement("h1",{className:"tabsMenu-module--TabsMenu_title--9a23a"},m),u&&a.createElement(a.Fragment,null,a.createElement("ul",{ref:M,className:i+" tabsMenu-module--TabsMenu_mobileMenu--30081"},u.map(e=>x(e))),a.createElement("div",{ref:T,className:"tabsMenu-module--TabsMenu_desktopMenu--44ea5"},G.map(e=>e.visible?a.createElement("ul",{key:e.start,className:i},e.tabs.map(e=>x(e))):a.createElement("div",{key:e.start,ref:I===e.start?w:null,className:"tabsMenu-module--TabsMenu_more--f8677"},a.createElement("button",{type:"button",className:"tabsMenu-module--TabsMenu_moreButton--b7434","aria-label":v("tabs.more"),title:v("tabs.more"),"aria-expanded":I===e.start,"aria-controls":"tabs-menu-more-"+e.start,onClick:()=>S(t=>t===e.start?null:e.start)},a.createElement(d,null)),I===e.start&&a.createElement("div",{id:"tabs-menu-more-"+e.start,className:"tabsMenu-module--TabsMenu_moreList--299f3 "+(e.start<=1?"tabsMenu-module--TabsMenu_moreList___left--91fd7":"")},e.tabs.map(e=>x(e,"tabsMenu-module--TabsMenu_moreLink--02287"))))),a.createElement("div",{ref:k,className:"tabsMenu-module--TabsMenu_measure--a8812","aria-hidden":"true"},u.map(e=>a.createElement("span",{key:e.link,className:s},v(e.name)))))),p&&a.createElement("div",{className:"tabsMenu-module--TabsMenu_goToHistory--e846d"},a.createElement(o.Link,{to:p},v("global.goToHistory"),a.createElement(c,null)))),h&&a.createElement("p",{className:"tabsMenu-module--TabsMenu_currentTabDescription--fbb6d"},h))};var p=h;h.displayName="TabsMenu"},84896:function(e,t,n){var a=n(41132);e.exports={getVisibleTabIndices:(e,t,n,r,s,l)=>{const i=e.length;if(!i)return[];const o=s>=0&&s<i?s:0;let m=l?1:0,u=i-1;const c=function(e,t){return void 0===e&&(e=m),void 0===t&&(t=u),[].concat(a(l?[0]:[]),a(Array.from({length:Math.max(0,t-e+1)},(t,n)=>e+n)))},d=function(t,a){void 0===t&&(t=m),void 0===a&&(a=u);const s=c(t,a),o=t>a?Number(i>1):Number(t>(l?1:0))+Number(a<i-1),d=s.length+o;return s.reduce((t,n)=>t+e[n],0)+o*r+Math.max(0,d-1)*n};for(;m<=u&&d()>t;){const e=m!==o,t=u!==o;if(!e&&!t)break;e?t?Math.abs(o-m)>Math.abs(o-u)?m+=1:Math.abs(o-m)<Math.abs(o-u)?u-=1:d(m+1,u)<=d(m,u-1)?m+=1:u-=1:m+=1:u-=1}return c()}}}}]);
2//# sourceMappingURL=component---src-pages-team-otherstaff-collab-fellowship-jsx-5684b9c636578cb6c642.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.