(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3366],{397:function(e,n,t){"use strict";t(7294);var a=t(4752),i=t.n(a),o=t(7352),r=t(1163),s=t(5893);n.Z=function(e){var n=e.fileAttachments,t=(0,r.useRouter)().locale;return n&&0!==n.length?(0,s.jsx)("div",{className:i().fileDownloads,children:n.map(function(e,n){return(0,s.jsx)("div",{className:i().fileDownload,children:(0,s.jsxs)("a",{href:"".concat(e.fileUrl,"?dl="),className:i().fileDownloadContent,children:[(0,s.jsx)("div",{className:i().fileDownloadIcon,children:(0,s.jsx)("img",{src:"/assets/images/download-icon.svg",alt:"download icon",width:24,height:24})}),(0,s.jsx)("div",{className:i().fileDownloadDescription,children:(0,o.Z)(e.fileLabel,t)})]})},n)})}):null}},5717:function(e,n,t){"use strict";var a=t(6010),i=t(1163);t(7294);var o=t(7352),r=t(9380),s=t.n(r),c=t(7129),l=t.n(c),d=t(4171),u=t(504),_=t(9630),p=t(5893);n.Z=function(e){var n,t=e.page,r=e.page,c=r.featureImage,f=r.text,m=e.parent,g=e.featureImageMode,h=(0,i.useRouter)().locale,v=t._type&&"whistleBlowing"===t._type,H=null,w=t.title,j=t.ingress;return v||(H=[{path:(0,o.sK)(t,h),label:v?t.title:(0,o.Z)(t.title,h)}],m&&H.unshift({path:(0,o.sK)(m,h),label:(0,o.Z)(m.title,h)}),w=(0,o.Z)(t.title,h),j=(0,o.Z)(t.ingress,h),n=(0,o.Z)(t.runningTitle,h)),(0,p.jsxs)("div",{className:(0,a.Z)(l().sectionHeader,c?l().sectionHeaderHasImage:""),children:[(0,p.jsx)("div",{className:(0,a.Z)(l().sectionHeaderTop,"constrain"===(void 0===g?"full":g)?s().pageHeaderConstrainImage:null),children:c&&(0,p.jsx)(_.Z,{image:c,title:w})}),(0,p.jsxs)("div",{className:l().sectionHeaderContent,children:[n&&(0,p.jsx)("div",{className:s().pageHeaderRunningTitle,children:n}),(0,p.jsx)("h1",{className:s().pageHeaderTitle,children:w}),H&&(0,p.jsx)(d.Z,{path:H}),j&&(0,p.jsx)("div",{className:l().sectionHeaderIngress,children:j})]}),f&&(0,p.jsx)("div",{className:l().sectionHeaderText,children:(0,p.jsx)(u.Z,{text:(0,o.sb)(f,h),type:"section"})})]})}},4171:function(e,n,t){"use strict";var a=t(7294),i=t(1664),o=t.n(i),r=t(5585),s=t.n(r),c=t(7352),l=t(1163),d=t(5893),u={en_GB:"Home",no:"Hjem"};n.Z=function(e){var n=e.path,t=(0,l.useRouter)();return(0,d.jsxs)("div",{className:s().breadCrumbs,children:[(0,d.jsx)(o(),{href:"no"===t.locale?"/":"/en",children:(0,c.Z)(u,t.locale)})," / ",n.map(function(e,t){return t<n.length-1?(0,d.jsxs)(a.Fragment,{children:[(0,d.jsx)(o(),{href:"/".concat(e.path),children:e.label})," / "]},t):(0,d.jsx)("span",{children:e.label},t)})]})}},9630:function(e,n,t){"use strict";t(7294);var a=t(5675),i=t.n(a),o=t(7352),r=t(1979),s=t(8880),c=t(5893),l={no:"Stemningsbilde",en_GB:"Ambience"};n.Z=function(e){var n=e.image,t=e.title,a=e.locale,d=(0,r.J)(s.i3,n);return d&&d.src?(0,c.jsx)(i(),{src:d.src,loader:d.loader,fill:!0,style:{objectFit:"cover"},blurDataURL:n.asset.metadata?n.asset.metadata.lqip:null,alt:t||(0,o.Z)(l,void 0===a?"no":a),sizes:"(max-width: 1280px) 150vw, 100vw",priority:!0}):null}},3372:function(e,n,t){"use strict";var a=t(7294);n.Z=function(e){var n=e.type,t=e.onHeightChange;return(0,a.useEffect)(function(){var e=function(){var e=[],a=window.innerHeight,i=window.innerWidth;switch(n){case"section":case"services":case"service":case"article":case"articles":e=[.5*a,Math.min(Math.max(.4*i,520),640)];break;case"frontpage":e=[a,a];break;case"employee":e=[i/4*5,600];break;default:e=[0,0]}t(e[window.matchMedia("(max-width: 767px)").matches?0:1])};window.addEventListener("resize",e),e()},[t,n]),null}},9704:function(e,n,t){"use strict";t.d(n,{E_:function(){return c},aP:function(){return s},mM:function(){return r}});var a=t(6486),i=t(7530),o=t(7352);function r(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];var n=(0,i.iQ)(e.image).width(96).height(96).url(),t="";return e.phone&&(t=0===e.phone.indexOf("+47")?e.phone:"+47".concat(e.phone)),"BEGIN:VCARD\nVERSION:3.0\nN:".concat(e.lastName,";").concat(e.firstName,";\nFN:Bull & Co\nORG:Bull & Co Advokatfirma AS\nTITLE:").concat((0,o.Z)(e.title),"\nPHOTO;TYPE=JPEG;VALUE=URI::").concat(n,"\n\nTEL;TYPE=cell:").concat(t,"\nEMAIL:").concat(e.email,"\nREV:").concat(new Date().toUTCString(),"\nEND:VCARD")}function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"no";if(!e)return null;switch(e){case"associate":return(0,o.Z)({en_GB:"associate",no:"advokatfullmektig"},n);case"partner":return(0,o.Z)({en_GB:"partner",no:"partner"},n);case"associatePartner":return(0,o.Z)({en_GB:"associate partner",no:"assosiert partner"},n);case"administration":return(0,o.Z)({en_GB:"business support",no:"forretningsst\xf8tte"},n);default:return(0,o.Z)({en_GB:"lawyer",no:"advokat"},n)}}function c(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"lastName",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"asc";return(0,a.orderBy)((0,a.uniqBy)(e,"slug"),[n],[t])}},4580:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return w},default:function(){return j}});var a=t(8307),i=t(7294),o=t(1163),r=t(9704),s=t(7352),c=t(3372),l=t(7852),d=t(6233),u=t(7018),_=t.n(u),p=t(2339),f=t(5717),m=t(397),g=t(5893),h={en_GB:"Contact us about %1",no:"Kontakt oss om %1"},v=function(e){var n=(0,o.useRouter)().locale,t=(0,i.useState)(void 0),a=t[0],u=t[1];if(!e.data||!e.data.service)return null;var v=e.data.service,H=!!v.featureImage;return(0,g.jsxs)(l.Z,{paths:{no:"/tjenester/".concat(e.data.service.slug.no),en:"/services/".concat(e.data.service.slug.en_GB)},globals:e.data.globals,topImageHeight:H?a:0,children:[(0,g.jsx)(c.Z,{type:"services",onHeightChange:function(e){return u(e)}}),(0,g.jsx)(p.Z,{title:e.data.service.title,description:e.data.service.ingress,image:v.featureImage?v.featureImage:null,seo:v.seo}),(0,g.jsx)(f.Z,{page:v,parent:e.data.parent}),(0,g.jsx)(m.Z,{fileAttachments:v.fileAttachments}),v.employees&&(0,g.jsxs)("section",{className:_().contacts,children:[(0,g.jsx)("h3",{className:_().sectionHeader,children:(0,s.Z)(h,n).replace("%1",(0,s.Z)(v.title,n).toLowerCase())}),(0,g.jsx)("div",{className:_().contactsList,children:(0,r.E_)(v.employees).map(function(e,n){return(0,g.jsx)(d.Z,{mode:"wide",employee:e,preferredContact:!0},n)})})]})]})};function H(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,a)}return t}var w=!0,j=function(e){return(0,g.jsx)(v,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?H(Object(t),!0).forEach(function(n){(0,a.Z)(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):H(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({},e))}},8830:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tjenester/[slug]",function(){return t(4580)}])},4752:function(e){e.exports={fileDownloads:"Common_fileDownloads__kkroQ",fileDownload:"Common_fileDownload__QqaU1",fileDownloadContent:"Common_fileDownloadContent__39mi7",fileDownloadIcon:"Common_fileDownloadIcon__NRaXI",fileDownloadDescription:"Common_fileDownloadDescription__1oPp2"}},7018:function(e){e.exports={contacts:"Competence_contacts__x5RHN",articles:"Competence_articles__zLTKi",sectionHeader:"Competence_sectionHeader__hGveI",contactsList:"Competence_contactsList__C2QDW",articlesList:"Competence_articlesList__Agd6A",teamWrapper:"Competence_teamWrapper__q1HOa",teamHeader:"Competence_teamHeader__vsUZl",pageDivider:"Competence_pageDivider__fFU_q"}},9380:function(e){e.exports={pageHeaderConstrainImage:"Page_pageHeaderConstrainImage__yVpHy",pageHeaderTitle:"Page_pageHeaderTitle__CXdr_",pageHeaderRunningTitle:"Page_pageHeaderRunningTitle__NSWX4"}},7129:function(e){e.exports={sectionHeader:"Section_sectionHeader__9XeVk","sectionHeader--menneskene":"Section_sectionHeader--menneskene__UuVRu","sectionHeader--people":"Section_sectionHeader--people__gCYUW","sectionHeader--kontakt":"Section_sectionHeader--kontakt__SoEqX","sectionHeader--contact":"Section_sectionHeader--contact__AMatD",sectionHeaderContent:"Section_sectionHeaderContent__V3n8V",sectionHeaderTop:"Section_sectionHeaderTop__fnUyM",sectionHeaderHasImage:"Section_sectionHeaderHasImage__XBZf3",overlay:"Section_overlay__sAwWX",sectionHeaderRunningTitle:"Section_sectionHeaderRunningTitle__oyZNg",sectionHeaderTitle:"Section_sectionHeaderTitle__f4lRX",sectionHeaderIngress:"Section_sectionHeaderIngress__wGfrX",section:"Section_section__1G3Af",sectionList:"Section_sectionList__Gyl82"}}},function(e){e.O(0,[903,9160,1832,504,2888,9774,179],function(){return e(e.s=8830)}),_N_E=e.O()}]);