1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9520],{8300:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/rannsoknarsetur",function(){return n(20228)}])},20228:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSG:()=>w,default:()=>j});var r=n(6029),o=n(32988),s=n.n(o),i=n(5537),l=n(81278),a=n(90933),c=n(8151),u=n(76525),d=n(55729),p=n(27185),h=n(63170),f=n(78278),v=n.n(f);let m=e=>{let{title:t,placeholder:n,attribute:o}=e,{refine:s,items:i}=(0,p.J)({attribute:o}),[l,a]=(0,d.useState)();return(0,r.jsxs)("div",{className:v().container,children:[(0,r.jsx)("p",{className:v().facets__title,children:t}),(0,r.jsx)("div",{className:v().facets__select,children:(0,r.jsx)(h.Ay,{onChange:(e,t)=>{l&&s(l.value),"clear"===t.action?a(""):(a(e),s(e.value))},value:l,options:(null==i?void 0:i.map(e=>({label:e.label,value:e.value})))||[],isClearable:!0,placeholder:n,styles:{control:e=>({...e,backgroundColor:"#fafafa"}),container:e=>({...e,backgroundColor:"#fafafa"}),placeholder:e=>({...e,color:"#afafaf"}),option:(e,t)=>{let{isSelected:n}=t;return{...e,backgroundColor:"#fafafa",color:n?"#ff1900":"#404040",":hover":{color:"#ff1900"}}},dropdownIndicator:e=>({...e,color:"#ff1900",":hover":{color:"#ff1900"}}),clearIndicator:e=>({...e,color:"#ff1900",":hover":{color:"#ff1900"}})}})})]})};var g=n(90695),b=n(8996),x=n(87125),y=n.n(x);let _=()=>{let{searchClient:e}=(0,i.E)(),{locale:t}=(0,l.useRouter)();return(0,r.jsxs)(a.G,{searchClient:e,indexName:"hr_research_center",children:[(0,r.jsx)(c.Z,{hitsPerPage:250,facetFilters:["locale:".concat(t)]}),(0,r.jsxs)("div",{className:"container",children:[(0,r.jsxs)("div",{className:y().facets,children:[(0,r.jsx)(m,{attribute:"departments",placeholder:"is"===t?"Veldu deild":"Choose department",title:"is"===t?"Deild":"Department"}),(0,r.jsx)(m,{attribute:"sectors",placeholder:"is"===t?"Veldu svi\xf0":"Choose sector",title:"is"===t?"Svi\xf0":"Sector"})]}),(0,r.jsx)(g.Z,{})]})]})};var w=!0;let j=e=>{let{locale:t}=(0,l.useRouter)(),n="is"===t?"Ranns\xf3knarsetur vi\xf0 HR":"Research Center";return(0,r.jsxs)(b.Y,{...e,children:[(0,r.jsx)(u.PageHeader,{block:{attrs:{title:n,subtitle:"",showBreadcrumbs:!0}},postInfo:{breadcrumbs:[{title:n,link:"/rannsoknarsetur"}]}}),(0,r.jsx)("div",{className:s()(y().grid,"container"),children:(0,r.jsx)(_,{})})]})}},28369:(e,t,n)=>{"use strict";n.d(t,{j:()=>f});var r=n(55729),o=n(13112),s=n(40552),i=n(34284),l=n(23017),a=n(63854),c=n(16959),u=n(80932),d=n(95026),p=n(16833),h=["children"];function f(e){var t,n,f,v,m,g,b,x,y,_=e.children,w=(t=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,h),n=(0,a.r)(),v=null==(f=(0,c.m)())?void 0:f.initialResults,m=(0,l.R)(),g=(0,d.w)(t),x=(b=(0,r.useMemo)(function(){return(0,s.A)(g)},[g])).getHelper(),y=(0,i.C)(),(0,u.E)(function(){y()},[x,y]),(0,p.Q)({widget:b,parentIndex:m,props:g,shouldSsr:!!(n||v)}),b);return null===w.getHelper()?null:r.createElement(o.m.Provider,{value:w},_)}},48348:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r,o=n(55729),s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},i=(function(e){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var s=typeof o;if("string"===s||"number"===s)e.push(o);else if(Array.isArray(o)&&o.length){var i=n.apply(null,o);i&&e.push(i)}else if("object"===s)for(var l in o)t.call(o,l)&&o[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}(r={path:void 0,exports:{},require:function(e,t){throw null==t&&r.path,Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}},r.exports),r.exports);function l(e,t,n){function r(){var c=Date.now()-l;c<t&&c>=0?o=setTimeout(r,t-c):(o=null,n||(a=e.apply(i,s),i=s=null))}null==t&&(t=100);var o,s,i,l,a,c=function(){i=this,s=arguments,l=Date.now();var c=n&&!o;return o||(o=setTimeout(r,t)),c&&(a=e.apply(i,s),i=s=null),a};return c.clear=function(){o&&(clearTimeout(o),o=null)},c.flush=function(){o&&(a=e.apply(i,s),i=s=null,clearTimeout(o),o=null)},c}l.debounce=l,!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");
1o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".indiana-scroll-container {\n overflow: auto; }\n .indiana-scroll-container--dragging {\n scroll-behavior: auto !important; }\n .indiana-scroll-container--dragging > * {\n pointer-events: none;\n cursor: -webkit-grab;\n cursor: grab; }\n .indiana-scroll-container--hide-scrollbars {\n overflow: hidden;\n overflow: -moz-scrollbars-none;\n -ms-overflow-style: none;\n scrollbar-width: none; }\n .indiana-scroll-container--hide-scrollbars::-webkit-scrollbar {\n display: none !important;\n height: 0 !important;\n width: 0 !important;\n background: transparent !important;\n -webkit-appearance: none !important; }\n .indiana-scroll-container--native-scroll {\n overflow: auto; }\n\n.indiana-dragging {\n cursor: -webkit-grab;\n cursor: grab; }\n");var a,c=(a="indiana-scroll-container",function(e,t){if(!e)return a;"string"==typeof e?n=e:t=e;var n,r=a;return n&&(r+="__"+n),r+(t?Object.keys(t).reduce(function(e,n){var o=t[n];return o&&(e+=" "+("boolean"==typeof o?r+"--"+n:r+"--"+n+"_"+o)),e},""):"")});let u=function(e){function t(t){var n=e.call(this,t)||this;return n.onEndScroll=function(){n.scrolling=!1,!n.pressed&&n.started&&n.processEnd()},n.onScroll=function(e){var t=n.container.current;t.scrollLeft===n.scrollLeft&&t.scrollTop===n.scrollTop||(n.scrolling=!0,n.processScroll(e),n.onEndScroll())},n.onTouchStart=function(e){var t=n.props.nativeMobileScroll;if(n.isDraggable(e.target))if(n.internal=!0,t&&n.scrolling)n.pressed=!0;else{var r=e.touches[0];n.processClick(e,r.clientX,r.clientY),!t&&n.props.stopPropagation&&e.stopPropagation()}},n.onTouchEnd=function(e){var t=n.props.nativeMobileScroll;n.pressed&&(!n.started||n.scrolling&&t?n.pressed=!1:n.processEnd(),n.forceUpdate())},n.onTouchMove=function(e){var t=n.props.nativeMobileScroll;if(n.pressed&&(!t||!n.isMobile)){var r=e.touches[0];r&&n.processMove(e,r.clientX,r.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()}},n.onMouseDown=function(e){n.isDraggable(e.target)&&n.isScrollable()&&(n.internal=!0,-1!==n.props.buttons.indexOf(e.button)&&(n.processClick(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation()))},n.onMouseMove=function(e){n.pressed&&(n.processMove(e,e.clientX,e.clientY),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.onMouseUp=function(e){n.pressed&&(n.started?n.processEnd():(n.internal=!1,n.pressed=!1,n.forceUpdate(),n.props.onClick&&n.props.onClick(e)),e.preventDefault(),n.props.stopPropagation&&e.stopPropagation())},n.container=o.createRef(),n.onEndScroll=l(n.onEndScroll,300),n.scrolling=!1,n.started=!1,n.pressed=!1,n.internal=!1,n.getRef=n.getRef.bind(n),n}return function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.componentDidMount=function(){var e=this.props.nativeMobileScroll,t=this.container.current;window.addEventListener("mouseup",this.onMouseUp),window.addEventListener("mousemove",this.onMouseMove),window.addEventListener("touchmove",this.onTouchMove,{passive:!1}),window.addEventListener("touchend",this.onTouchEnd),t.addEventListener("touchstart",this.onTouchStart,{passive:!1}),t.addEventListener("mousedown",this.onMouseDown,{passive:!1}),e&&(this.isMobile=this.isMobileDevice(),this.isMobile&&this.forceUpdate())},t.prototype.componentWillUnmount=function(){window.removeEventListener("mouseup",this.onMouseUp),window.removeEventListener("mousemove",this.onMouseMove),window.removeEventListener("touchmove",this.onTouchMove),window.removeEventListener("touchend",this.onTouchEnd)},t.prototype.getElement=function(){return this.container.current},t.prototype.isMobileDevice=function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")},t.prototype.isDraggable=function(e){var t=this.props.ignoreElements;if(t){var n=e.closest(t);return null===n||n.contains(this.getElement())}return!0},t.prototype.isScrollable=function(){var e=this.container.current;return e&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight)},t.prototype.processClick=function(e,t,n){var r=this.container.current;this.scrollLeft=r.scrollLeft,this.scrollTop=r.scrollTop,this.clientX=t,this.clientY=n,this.pressed=!0},t.prototype.processStart=function(e){void 0===e&&(e=!0);var t=this.props.onStartScroll;this.started=!0,e&&document.body.classList.add("indiana-dragging"),t&&t({external:!this.internal}),this.forceUpdate()},t.prototype.processScroll=function(e){if(this.started){var t=this.props.onScroll;t&&t({external:!this.internal})}else this.processStart(!1)},t.prototype.processMove=function(e,t,n){var r=this.props,o=r.horizontal,s=r.vertical,i=r.activationDistance,l=r.onScroll,a=this.container.current;this.started?(o&&(a.scrollLeft-=t-this.clientX),s&&(a.scrollTop-=n-this.clientY),l&&l({external:!this.internal}),this.clientX=t,this.clientY=n,this.scrollLeft=a.scrollLeft,this.scrollTop=a.scrollTop):(o&&Math.abs(t-this.clientX)>i||s&&Math.abs(n-this.clientY)>i)&&(this.clientX=t,this.clientY=n,this.processStart())},t.prototype.processEnd=function(){var e=this.props.onEndScroll;this.container.current&&e&&e({external:!this.internal}),this.pressed=!1,this.started=!1,this.scrolling=!1,this.internal=!1,document.body.classList.remove("indiana-dragging"),this.forceUpdate()},t.prototype.getRef=function(e){[this.container,this.props.innerRef].forEach(function(t){t&&("function"==typeof t?t(e):t.current=e)})},t.prototype.render=function(){var e=this.props,t=e.children,n=e.draggingClassName,r=e.className,s=e.style,l=e.hideScrollbars,a=e.component;return o.createElement(a,{className:i(r,this.pressed&&n,c({dragging:this.pressed,"hide-scrollbars":l,"native-scroll":this.isMobile})),style:s,ref:this.getRef,onScroll:this.onScroll},t)},t.defaultProps={nativeMobileScroll:!0,hideScrollbars:!0,activationDistance:10,vertical:!0,horizontal:!0,stopPropagation:!1,style:{},component:"div",buttons:[0]},t}
1(o.PureComponent)},76525:(e,t,n)=>{"use strict";n.r(t),n.d(t,{PageHeader:()=>c});var r=n(6029),o=n(32988),s=n.n(o);n(55729);var i=n(57852),l=n(90639),a=n(71033);let c=e=>{var t;let n=(0,a.Zu)(),{block:o,postInfo:c,children:u,extraProps:d}=e,{attrs:p,innerBlocks:h}=o,{className:f,title:v,subtitle:m,showAnchorLinks:g,showBreadcrumbs:b,mediaUrl:x,focalPoint:y,brightness:_,colorClass:w,tagName:j,enableInnerBlocks:S}=p,N=(null==c||null==(t=c.meta)?void 0:t.subtitle)?c.meta.subtitle:m,{breadcrumbs:k}=c,E=(0,a.mS)("ANCHORS"),M="wp-block-kaktus-blocks-page-header",T=e=>"".concat(M,"__").concat(e),C=y?JSON.parse(y):null,P=x&&x.length?{backgroundImage:'url("'.concat(x,'")'),backgroundSize:"cover",backgroundPosition:C?"".concat(100*C.x,"% ").concat(100*C.y,"%"):"",filter:_?"brightness(".concat(_,"%)"):void 0}:{};return(0,r.jsxs)("div",{className:s()(M,f),children:[(0,r.jsx)("div",{className:T("background"),style:P}),(0,r.jsxs)("div",{className:"container",children:[k&&(null==k?void 0:k.length)>0&&b&&(0,r.jsx)("div",{className:T("breadcrumbs"),children:(0,r.jsx)(l.B,{breadcrumbs:k,colorClass:w})}),(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:s()(T("inner-container"),"col-12"),children:(0,r.jsxs)("div",{className:s()(T("inner"),"row"),children:[(0,r.jsxs)("div",{className:s()("col-12",{"col-lg-6":u}),children:[(0,r.jsx)(j||"h1",{className:w,dangerouslySetInnerHTML:{__html:v}}),(0,r.jsx)("h5",{className:w,dangerouslySetInnerHTML:{__html:N}})]}),(0,r.jsx)("div",{className:s()(T("children"),"col-12","col-lg-6",{"d-none":!u}),children:u}),S&&(0,r.jsx)("div",{className:s()(T("inner-blocks"),"col-12"),children:h.map((e,t)=>(0,r.jsx)(n,{postInfo:c,block:e,extraProps:d},t))})]})})})]}),g&&(0,r.jsx)("div",{className:T("anchor-links"),children:(0,r.jsx)(i.J,{anchors:E,colorSlug:"primary",colorClass:w,showArrows:!0,disableColorWhenScrolling:!0})})]})}},78278:e=>{e.exports={container:"research-center-facets_container__gebLH",facets__title:"research-center-facets_facets__title__KvDzm"}},87125:e=>{e.exports={grid:"research-center_grid__LoZg_",facets:"research-center_facets__YrDXO"}},90639:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(6029),o=n(32988),s=n.n(o),i=n(58633),l=n(81278);n(55729);var a=n(7658);let c=e=>{let{breadcrumbs:t,colorClass:n}=e,{locale:o}=(0,l.useRouter)();return(0,r.jsxs)("div",{className:"kaktus--block--breadcrumbs",children:[(0,r.jsx)("div",{className:"breadcrumb-link",children:(0,r.jsxs)(i.A,{href:"en"===o?"/en":"/",className:"breadcrumb-label",children:[(0,r.jsx)("span",{className:"icon",children:(0,r.jsx)(a.$,{slug:"home"})}),(0,r.jsx)("span",{className:s()("text",n),children:"en"===o?"Home":"Heim"})]})}),t.map((e,l)=>{let{title:a,link:c,slug:u}=e,d=l+1===t.length;return""===a&&""===u||u===o&&"is"!==o?null:(0,r.jsx)("div",{className:s()({"is-last":d},"breadcrumb-link"),children:d?(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("a",{className:"breadcrumb-label",disabled:!0,children:(0,r.jsx)("span",{className:s()("text",n),dangerouslySetInnerHTML:{__html:a}})})}):(0,r.jsx)(i.A,{href:c,className:"breadcrumb-label",children:(0,r.jsx)("span",{className:s()("text",n),dangerouslySetInnerHTML:{__html:a}})})},l)})]})}}},e=>{e.O(0,[8996,636,6593,8792],()=>e(e.s=8300)),_N_E=e.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.