1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[560],{5297:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/jobs/[slug]",function(){return t(261)}])},4203:function(n,e,t){"use strict";t.r(e),t.d(e,{LRDotsContainer:function(){return c}});var r=t(7297),i=t(5893),a=t(2976),l=t(6720);function s(){let n=(0,r.Z)(['\n overflow: hidden;\n display: flex;\n .dots {\n flex: 1 0;\n float: right;\n position: relative;\n overflow: hidden;\n margin: 0 0.25em;\n /* text-overflow: ellipsis; */\n white-space: nowrap;\n letter-spacing: 2px;\n &:before {\n content: "','"; \n }\n }\n img {\n display: inline;\n width: auto;\n max-height: 1em;\n }\n']);return s=function(){return n},n}let c=a.ZP.p.withConfig({componentId:"sc-4a677265-0"})(s(),Array(128).fill(".").join("")),o=n=>{let{left:e,right:t,markdown:r=!1}=n;return(0,i.jsxs)(c,{children:[(0,i.jsx)("span",{children:r?(0,l.FW)(e):e}),(0,i.jsx)("span",{className:"dots",children:"..."}),(0,i.jsx)("span",{children:r?(0,l.FW)(t):t})]})};e.default=o},7334:function(n,e,t){"use strict";t.r(e),t.d(e,{LRSpaceContainer:function(){return c}});var r=t(7297),i=t(5893),a=t(2976),l=t(6720);function s(){let n=(0,r.Z)(["\n display: flex;\n .space {\n flex: 1 0;\n margin: 0 0.25em;\n white-space: nowrap;\n }\n img {\n display: inline;\n width: auto;\n max-height: 1em;\n }\n"]);return s=function(){return n},n}let c=a.ZP.p.withConfig({componentId:"sc-cdec93aa-0"})(s()),o=n=>{let{left:e,right:t,markdown:r=!1}=n;return(0,i.jsxs)(c,{children:[(0,i.jsx)("span",{children:r?(0,l.FW)(e):e}),(0,i.jsx)("span",{className:"space",children:" "}),(0,i.jsx)("span",{children:r?(0,l.FW)(t):t})]})};e.default=o},7024:function(n,e,t){"use strict";t.r(e),t.d(e,{MdHtmlComponent:function(){return m},getIdFromText:function(){return p}});var r=t(5893),i=t(7294),a=t(9252),l=t(5935),s=t(8181),c=t(8987),o=t(4203),d=t(7334),u=t(3635),h=t(9782);function p(n){return null==n?void 0:n.toLowerCase().replace(/\W+/g,"-")}function f(n){let e=n.indexOf(" ");if(e<1)return n;let t=n.slice(0,e),r=n.slice(e);return'\n <span role="text" class="f-drcp">
1\n <span aria-hidden="true">\n <span>'.concat(t[0],"</span>").concat(t.slice(1),"\n </span>\n <span>").concat(t,"</span>\n </span>\n ").concat(r,"\n ").replace(/(?:\s\s)+/g,"")}let m=n=>{let{content:e,disableMd:t=!1,wrapP:m=!0,headingsIds:x=!1,components:g=null,dropcap:v=!1}=n;if(!e)return null;let j=m?e.split(/\n+<!--\s+-->\n+/gm).map(n=>n.trim().replace(/\r/g,"\n").replace(/(\n\n+|^\n*)(---+)(\n\n+|$)/gm,'\n<hr str="$2" />\n').replace(/(\n\n+|^\n*)(===+)(\n\n+|$)/gm,'\n<hr str="$2" />\n').split(/\n+/).filter(n=>!!n&&n.length>0).map((n,e,r)=>n.match(/^(\s|\t)*<\/?(ul|ol|li|h\d).*?>/)||!t&&(n.match(/^(#{1,7}|-|\*|\+|\d\.|\s|\t)\s.+/)||n.match(/^=+$/)||n.match(/^<hr .+ \/>$/)||e<r.length-1&&r[e+1].match(/^=+$/))?n:"<p".concat(v&&!e?' class="p-drcp"':"",">").concat(0===e&&v?f(n):n,"</p>")).join("\n")).join("\n"):v?e.split(/\n+<!--\s+-->\n+/gm).map(n=>"asd...\n"+f(n)).join("\n"):e,b=t?j:(0,a.Z)(j),y=Object.keys(g||{}),w={replace:n=>{for(let e of[N,_]){let t=e(n);if(t)return t}}},N=n=>{if(y.some(e=>n.name===e)){var e,t;let i=g[n.name],a=null===(e=n.children)||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.data;return(0,r.jsx)(i,{children:a})}},_=n=>{var e,t,i,a;if("a"===n.name&&(null===(e=n.attribs)||void 0===e?void 0:e.href)){let e=null===(t=n.children)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.data,c=(null===(a=n.attribs)||void 0===a?void 0:a.target)||void 0;return e?(0,r.jsx)(s.Z,{href:n.attribs.href,target:c,children:e}):n.children?(0,r.jsx)(s.Z,{href:n.attribs.href,target:c,children:(0,l.du)(n.children,w)}):n}},Z=n=>{var e;if("hr"===n.name&&(null===(e=n.attribs)||void 0===e?void 0:e.str)){let e=(n.attribs.str.length-2)*5;return"-"===n.attribs.str[0]?(0,r.jsx)(c.LZ,{h:e}):(0,r.jsx)(u.Z,{marginBottom:e,marginTop:e,border:!0})}},$=n=>{if("h5"===n.name){var e,t;let i=null===(e=n.children)||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.data;return i?(0,r.jsx)(h._,{children:i}):(0,r.jsx)(h._,{children:(0,l.du)(n.children,w)})}},C=n=>{if(x&&/^h\d$/.test(n.name)){var e,t,r;let a=null===(e=n.children)||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:t.data;if(!a)return;let l=p(a),s=(null===(r=n.attribs)||void 0===r?void 0:r.class)||"";return s?(0,i.createElement)(n.name,{id:l,className:s},a):(0,i.createElement)(n.name,{id:l},a)}},F=n=>{var e,t,r;if(null===(e=n.children)||void 0===e?void 0:null===(t=e[0])||void 0===t?void 0:null===(r=t.data)||void 0===r?void 0:r.replace)return n.children[0].data=n.children[0].data.replace(/\\([\*_])/,"$1"),n},I=n=>{var e;if("p"===n.name&&(null===(e=n.children)||void 0===e?void 0:e.some(n=>n.data&&(-1!==n.data.indexOf(".....")||-1!==n.data.indexOf(" "))))){let e=n.children.some(n=>n.data&&-1!==n.data.indexOf(".....")),t=e?".....":" ",i=e?o.default:d.default;if(1===n.children.length){let[e,a]=n.children[0].data.split(t);return(0,r.jsx)(i,{left:e,right:a})}{let e=n.children.findIndex(n=>n.data&&-1!==n.data.indexOf(t)),a=n.children[e].data,s=0;if(a===t)s=0,n.children[e].data="";else if(a.startsWith(t))s=0,n.children[e].data=a.slice(5);else if(a.endsWith(t))s=1,n.children[e].data=a.slice(0,-5);else{s=1;let[r,i]=a.split(t);n.children[e].data=r;let l=n.children[e].cloneNode(!0);l.data=i,n.children.splice(e+1,0,l)}let c=[];for(let t=0;t<e+s;t++)c.push(n.children[t]);let o=[];for(let t=e+s;t<n.children.length;t++)o.push(n.children[t]);return(0,r.jsx)(i,{left:(0,l.du)(c,w),right:(0,l.du)(o,w)})}}},P=(0,l.ZP)(b,{replace:n=>{for(let e of[N,_,$,I,Z,C,F]){let t=e(n);if(t)return t}}});return P},x=(0,i.memo)(m);e.default=x},9782:function(n,e,t){"use strict";t.d(e,{_:function(){return i}});var r=t(5893);t(7294);let i=n=>{let{children:e}=n;return(0,r.jsx)("p",{className:"label",children:e})}},3635:function(n,e,t){"use strict";t.d(e,{Z:function(){return d}});var r,i,a=t(7297),l=t(5893);t(7294);var s=t(2976);function c(){let n=(0,a.Z)(["\n width: 100%;\n margin-top: ","px;\n margin-bottom: ","px;\n border-top: ",";\n"]);return c=function(){return n},n}let o=s.ZP.div.withConfig({componentId:"sc-2edddf9c-0"})(c(),n=>null!==(r=n.marginTop)&&void 0!==r?r:10,n=>null!==(i=n.marginBottom)&&void 0!==i?i:10,n=>n.border?"1px solid #ccc":"none"),d=n=>(0,l.jsx)(o,{...n})},2911:function(n,e,t){"use strict";var r=t(7297),i=t(5893),a=t(2976);function l(){let n=(0,r.Z)(["\n from {\n transform: scale3d(",", ",", 1);\n }\n 35% {\n transform: scale3d(",", ",", 1);\n }\n to {\n transform: scale3d(1, 1, 1);\n }\n"]);return l=function(){return n},n}function s(){let n=(0,r.Z)(["\n background-color: ",";\n "]);return s=function(){return n},n}function c(){let n=(0,r.Z)(["\n display: block;\n height: 30px;\n span {\n display: inline-block;\n width: 10px;\n height: 10px;\n margin: 10px 5px;\n border-radius: 5px;\n color: #0000;\n animation: "," ","ms ease-out infinite;\n animation-direction: alternate;\n transform: scale3d(",", ",", 1);\n &.d1 {\n animation-delay: ","ms;\n }\n &.d2 {\n animation-delay: ","ms;\n }\n ","\n }\n"]);return c=function(){return n},n}let o=(0,a.F4)(l(),.65,.65,.65,.65),d=a.ZP.span.withConfig({componentId:"sc-26acb63e-0"})(c(),o,800,.65,.65,280,560,n=>n.color&&(0,a.iv)(s(),n.color)),u=n=>{let{color:e="#000"}=n;return(0,i.jsxs)(d,{color:e,children:[(0,i.jsx)("span",{className:"d0",children:"."}),(0,i.jsx)("span",{className:"d1",children:"."}),(0,i.jsx)("span",{className:"d2",children:"."})]})};e.Z=u},3485:function(n,e,t){"use strict";t.d(e,{$:function(){return a}});var r=t(7032);let i={};function a(n){if(!n)return;r.PS||(window._invitationRefCache=i);let e=i[n];if(!e&&document.location.search){let e=document.location.search.match(/\^?ref=([A-Za-z0-9]+)$/),t=e&&e[1];t&&(i[n]=t)}return i[n]}},304:function(n,e,t){"use strict";t.d(e,{c:function(){return r}});class r{static init(n,e,t){!this.t&&(console.log("init",t),this.t=new Date().getTime(),this.label="".concat(n,"/").concat(e),t&&(this.label+="/".concat(t)))}static sendEvent(n,e){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Irix";"undefined"!=typeof gtag&>ag("event",n,{event_category:t,value:null!=e?e:new Date().getTime()-this.t,event_label:this.label})}}r.label="(not set)"},261:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return I},default:function(){return P}});
1var r=t(5893),i=t(7294),a=t(9008),l=t.n(a),s=t(6348),c=t(889),o=t(8315),d=t(6720),u=t(7297),h=t(2976),p=t(5906),f=t(8987);function m(){let n=(0,u.Z)(["\n ","\n background-color: #f3f3f3;\n border-radius: 4px;\n padding: 20px;\n padding-bottom: 4px;\n p {\n text-align: center;\n }\n .btn {\n width: 100%;\n max-width: 240px;\n text-align: center;\n }\n .bounty {\n font-family: ",", sans-serif;\n font-size: 21px;\n font-weight: 500;\n }\n"]);return m=function(){return n},n}let x=h.ZP.div.withConfig({componentId:"sc-839d8080-0"})(m(),(0,f.nq)(null,null,(n,e,t)=>"\n position: absolute;\n width: ".concat(t/4).concat(e,";\n margin: 0 -").concat(n).concat(e,";\n ")),p.FP.style.fontFamily);var g=t(3485),v=t(1664),j=t.n(v),b=t(2911);let y=n=>{let{slug:e,searchId:t,bounty:a,preview:l}=n,[s,c]=(0,i.useState)("loading"),o=(0,g.$)(t);(0,i.useEffect)(()=>{setTimeout(()=>{c(o)},Math.round(750*Math.random())+250)},[]);let d="loading"!==s?s:"",u=d?"?ref=".concat(d):"";return(0,r.jsxs)(x,{children:[(0,r.jsx)("p",{children:"Are you interested in this position?"}),(0,r.jsx)("p",{children:"loading"===s?(0,r.jsx)("span",{className:"btn",children:(0,r.jsx)(b.Z,{})}):(0,r.jsx)(j(),{href:{pathname:"/careers/apply/[slug]",query:{slug:e}},as:"/careers/apply/".concat(e,"/").concat(u),className:"btn primary",children:"Apply"})}),"loading"!==s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{children:"If you know someone who could help, pass the search on and get up to"}),(0,r.jsxs)("p",{className:"bounty",children:["\xa3",a]}),(0,r.jsx)("p",{children:(0,r.jsx)(j(),{href:{pathname:"/careers/share/[slug]",query:{slug:e}},as:"/careers/share/".concat(e,"/").concat(u),className:"btn",children:"Pass it on"})})]})]})};var w=t(304),N=t(2381),_=t(7675);let Z=n=>{let{slug:e,title:t,heading:a,titlegraph:o,info:u,children:h,irixSearchId:p,bounty:f,shortTitle:m,description:x,imageSrc:v,lqip:j,isOpen:b,prefetch:Z=!0}=n,$=(0,g.$)(p);return(0,i.useEffect)(()=>{p&&(w.c.init(e,p,$),w.c.sendEvent("job_page_mount"))},[]),(0,r.jsxs)(r.Fragment,{children:[p&&(0,r.jsxs)(l(),{children:[(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:url",content:(0,N.ls)("/careers/".concat(e,"/"))}),(0,r.jsx)("meta",{property:"og:image",content:(0,N.ls)("/wp-content/themes/lims/images/logo.png")}),(0,r.jsx)("meta",{property:"og:title",content:m||a||t}),(0,r.jsx)("meta",{property:"og:description",content:x||o&&(0,d.FW)(o,!0)||"The London Institute for Mathematical Sciences is hiring!"})]}),(0,r.jsxs)(c.aT,{oneLineMargins:!0,m:"10px 0 0",children:[(0,r.jsxs)(s.X2,{className:s.B$,mbb:-2,children:[(0,r.jsxs)(s.Oc,{children:[a&&(0,r.jsx)("h1",{className:u?"l-n":null,children:a}),u&&(0,r.jsx)("h2",{className:"h3 label",children:u})]}),(0,r.jsx)(s.JX,{s0:0,s2:4})]}),(0,r.jsxs)(s.X2,{className:s.B$,mbb:-2,mt:"20px",children:[(0,r.jsx)(s.Oc,{children:(0,r.jsx)("p",{className:"h2",children:(0,d.FW)(o)})}),(0,r.jsx)(s.JX,{s0:p?1:0,s2:4,children:p&&(0,r.jsx)(y,{slug:e,searchId:p,bounty:f,preview:!Z})})]}),(0,r.jsxs)(s.X2,{className:s.B$,mt:"24px",children:[(0,r.jsx)(s.Oc,{children:(0,r.jsx)(s.X2,{children:(0,r.jsx)(s.JX,{s1:2,children:(0,r.jsx)(d.AW,{style:{...b?null:{opacity:.5}},children:h})})})}),(0,r.jsx)(s.JX,{s1:2,order:[-1,0],children:(0,r.jsx)(_.default,{src:v,lqip:j,sizes:(0,s.f0)([1,2,2]),imgix:{sizes:(0,s.RB)([1,2,2])},ratio:1,alt:a||t,transitionPath:"MAIN",overlayStyle:{...b?null:{opacity:.5}},lcp:!0})})]})]})]})},$=(0,o.qn)(Z);(0,o.V0)($);var C=t(7024);let F=n=>{let{children:e,...t}=n;return(0,r.jsx)(Z,{...t,children:(0,r.jsx)(C.default,{content:e})})};var I=!0,P=F}},function(n){n.O(0,[7083,7169,9774,2888,179],function(){return n(n.s=5297)}),_N_E=n.O()}]);
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.