1import{r as e,u as m,b as u,j as l,L as t,a as r,R as w,E}from"./index-zL53F1Eo.js";const M=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 127.5 37.4",...c},e.createElement("defs",null),e.createElement("g",{fill:"#fff"},e.createElement("path",{d:"M4.7 7.5c-.7 0-1.2.2-1.4.3v5.7c.5.1 1 .2 1.5.2 2 0 2.6-.8 2.6-3.1 0-2.1-.6-3.1-2.7-3.1M.4.6h2.9v4.5c.6-.2 1.2-.3 1.8-.3 3.3 0 5.2 2.1 5.2 5.8 0 3.4-1.8 5.8-5.6 5.8-.8 0-2.9-.1-4.3-.7V.6zM12.6 5.1h2.9v11.1h-2.9V5.1zM14 0c1 0 1.7.8 1.7 1.7 0 .9-.8 1.7-1.7 1.7-1 0-1.7-.8-1.7-1.7 0-.9.8-1.7 1.7-1.7M19.7 0c1 0 1.7.8 1.7 1.7 0 .9-.8 1.7-1.7 1.7-1 0-1.7-.8-1.7-1.7-.1-.9.7-1.7 1.7-1.7m1.4 17.1c0 3.1-1.7 4.2-3.8 4.2-.6 0-1.1-.1-1.6-.2l.4-2.7c.2.1.6.2 1 .2.7 0 1.1-.4 1.1-1.5v-12h2.9v12zM28 12.5l2.2-7.4h3l2.3 7.4 2.2-7.4h3L37 16.2h-3l-2.3-6.7-2.2 6.7h-3L22.7 5.1h3zM44.7 9.3h4.1v-.1c0-1.2-.7-1.9-2.1-1.9-1.3 0-2 .6-2 1.9v.1zm6.6 2.4h-6.6v.1c0 1.1.8 1.9 2.7 1.9 1.1 0 2.6-.3 3.3-.6l.4 2.7c-1.1.4-2.5.6-3.8.6-3.8 0-5.7-1.8-5.7-5.8 0-3.3 1.3-5.9 5.1-5.9 3.1 0 4.8 1.7 4.8 5 0 .5 0 1.4-.2 2M54.1 5.5c1.2-.5 2.8-.7 4.2-.7 1 0 1.6.1 2.3.3l-.4 2.7c-.4-.1-.9-.2-1.7-.2-.8 0-1.1 0-1.5.2v8.5h-2.9V5.5zM69.8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V22.1zM95.7 31.9h-2.1c-2.2 0-3.5.5-3.5 2.2 0 1.6 1.1 2.1 2.9 2.1.8 0 1.9-.1 2.7-.4v-3.9zm1.3 4.8c-.9.3-2.4.6-3.9.6-2.4 0-4.2-.8-4.2-3.2 0-2.4 1.7-3.2 4.7-3.2h2.2v-1.2c0-1.6-1.1-2.1-2.9-2.1-1.2 0-2.2.2-2.9.5l-.2-1.2c.8-.2 1.9-.4 3.1-.4 2.4 0 4.1.9 4.1 3.4v6.8zM100.2 27c.6-.3 1.8-.6 3.2-.6.8 0 1.5.1 2.1.3l-.3 1.2c-.3-.1-1-.2-1.8-.2-1 0-1.5.1-1.9.3v9.2h-1.3V27zM108.3 31.2h6.4v-.1c0-2.6-1.3-3.6-3.2-3.6-1.9 0-3.2 1-3.2 3.6v.1zm7.5 1.2h-7.5v.1c0 2.6 1.4 3.6 3.7 3.6 1.3 0 2.6-.3 3.4-.8l.2 1.2c-1 .5-2.2.8-3.6.8-3.3 0-5-1.7-5-5.5 0-3 1.1-5.5 4.5-5.5 2.8 0 4.4 1.6 4.4 4.6.1.5 0 1-.1 1.5M122.5 27.6c-1.2 0-2 .3-2.3.5v7.7c.7.2 1.6.4 2.4.4 2.6 0 3.7-1.1 3.7-4.3-.1-2.6-.8-4.3-3.8-4.3m-3.6-5.5h1.3v4.7c.6-.3 1.5-.4 2.5-.4 3.6 0 4.9 2.2 4.9 5.5 0 3.5-1.5 5.5-5 5.5-1 0-2.5-.2-3.7-.6V22.1z"})))),p=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#f6635b"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),f=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#00b185"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),j=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#8767a9"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),z=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#17ac68"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),b=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#ec7007"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),k=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#068462"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),L=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#d14600"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),N=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#238080"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),A=c=>e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 188.4 246.6",...c},e.createElement("defs",null),e.createElement("g",{fill:"#80485b"},e.createElement("circle",{cx:94.2,cy:53.3,r:53.3}),e.createElement("path",{d:"M184.3 227.4c2.6-1.2 4.2-3.7 4.1-6.6-2.1-60.2-43.4-108.3-94.2-108.3-50.7 0-92.1 48-94.2 108.2-.1 2.8 1.6 5.4 4.2 6.6l1 .5c57.1 25.2 122.1 25.1 179.1-.4z"}))),y=c=>e.createElement("svg",{fill:"#FFFFFF",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",width:"25px",height:"25px",...c},e.createElement("path",{d:"M 3 8 A 2.0002 2.0002 0 1 0 3 12 L 47 12 A 2.0002 2.0002 0 1 0 47 8 L 3 8 z M 3 23 A 2.0002 2.0002 0 1 0 3 27 L 47 27 A 2.0002 2.0002 0 1 0 47 23 L 3 23 z M 3 38 A 2.0002 2.0002 0 1 0 3 42 L 47 42 A 2.0002 2.0002 0 1 0 47 38 L 3 38 z"})),I=()=>{const c=m(i=>i.authentication.user),d=u(),s=m(i=>i.study.culture),n=m(i=>i.study.theme),[o,a]=e.useState(!1),[v,g]=e.useState(0);function h(){a(!1),d(E())}const x=()=>{typeof window<"u"&&(window.scrollY>v&&a(!1),g(window.scrollY))};return e.useEffect(()=>{typeof window<"u"&&window.addEventListener("scroll",x)},[v]),l.jsx("header",{className:`navbar fixed-top navbar-${n}`,children:l.jsxs("div",{className:"container",children:[l.jsx(t,{className:"navbar-brand",to:"/",children:n!=="darkgreen"&&n!=="lightergreen"&&n!=="darkorange"&&n!=="darkergreen"&&n!=="darkpurple"&&l.jsx(M,{})}),!c&&l.jsxs(t,{className:`navbar-login btn-icon-small btn-light btn-lg text-${n} btn`,to:"/login",children:[l.jsxs("span",{children:[n=="red"&&l.jsx(p,{}),n=="green"&&l.jsx(f,{}),n=="purple"&&l.jsx(j,{}),n=="neongreen"&&l.jsx(z,{}),n=="orange"&&l.jsx(b,{}),(n=="darkgreen"||n=="darkergreen")&&l.jsx(k,{}),n=="darkorange"&&l.jsx(L,{}),n=="lightergreen"&&l.jsx(N,{}),n=="darkpurple"&&l.jsx(A,{})]}),r(s,"Login")]}),c&&l.jsxs(w.Fragment,{children:[l.jsxs("ul",{className:"nav simple-menu",children:[c&&c.userRole!="FlexLIMAdmin"&&l.jsx("li",{className:"nav-item",children:l.jsx(t,{className:"nav-link",to:"/questionnaires",children:r(s,"MyQuestionnaires")})}),c&&c.userRole!="FlexLIMAdmin"&&l.jsx("li",{className:"nav-item",children:l.jsx(t,{className:"nav-link",to:"/changepassword",children:r(s,"ChangePassword")})}),c&&c.userRole!="FlexLIMAdmin"&&l.jsx("li",{className:"nav-item",children:l.jsx(t,{className:"nav-link",to:"/myprofile",children:r(s,"MyProfile")})}),l.jsx("li",{className:"nav-item",children:l.jsx(t,{className:"nav-link",to:"/",onClick:h,children:r(s,"LogOut")})})]}),l.jsx("nav",{className:"navbar navbar-dark bg-dark mobile-short-menu",children:l.jsx("div",{className:"container-fluid",children:l.jsx("button",{className:"navbar-toggler",type:"button",onClick:()=>a(!o),children:l.jsx("span",{children:l.jsx(y,{})})})})}),l.jsxs("div",{className:o?"collapse mobile-short-menu show mobile-menu":"collapse mobile-short-menu mobile-menu",id:"navMobileMenu",children:[c&&c.userRole!="FlexLIMAdmin"&&l.jsx(t,{className:"nav-link",to:"/questionnaires",onClick:()=>a(!o),children:r(s,"MyQuestionnaires")}),c&&c.userRole!="FlexLIMAdmin"&&l.jsx(t,{className:"nav-link",to:"/changepassword",onClick:()=>a(!o),children:r(s,"ChangePassword")}),c&&c.userRole!="FlexLIMAdmin"&&l.jsx(t,{className:"nav-link",to:"/myprofile",onClick:()=>a(!o),children:r(s,"MyProfile")}),l.jsx(t,{className:"nav-link",to:"/",onClick:h,children:r(s,"LogOut")})]})]})]})})};export{I as default};
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.