(window.webpackJsonp=window.webpackJsonp||[]).push([[33,13],{1e3:function(t,e,n){var r=n(6)((function(i){return i[1]}));r.push([t.i,".v-carousel{overflow:hidden;position:relative;width:100%}.v-carousel__controls{align-items:center;background:rgba(0,0,0,.3);bottom:0;display:flex;height:50px;justify-content:center;list-style-type:none;position:absolute;width:100%;z-index:1}.v-carousel__controls>.v-item-group{flex:0 1 auto}.v-carousel__controls__item{margin:0 8px}.v-carousel__controls__item .v-icon{opacity:.5}.v-carousel__controls__item--active .v-icon{opacity:1;vertical-align:middle}.v-carousel__controls__item:hover{background:none}.v-carousel__controls__item:hover .v-icon{opacity:.8}.v-carousel__progress{bottom:0;left:0;margin:0;position:absolute;right:0}.v-carousel .v-window-item{display:block;height:inherit;-webkit-text-decoration:none;text-decoration:none}.v-carousel--hide-delimiter-background .v-carousel__controls{background:transparent}.v-carousel--vertical-delimiters .v-carousel__controls{height:100%!important;width:50px}",""]),r.locals={},t.exports=r},1011:function(t,e,n){"use strict";n(16),n(10),n(9),n(4),n(20),n(12),n(21);var r=n(2),o=(n(34),n(53),n(999),n(340)),l=n(38),c=n(23),d=n(339),h=n(87),m=h.a.extend({name:"button-group",provide:function(){return{btnToggle:this}},computed:{classes:function(){return h.a.options.computed.classes.call(this)}},methods:{genData:h.a.options.methods.genData}}),w=n(1),f=n(22);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.a=o.a.extend({name:"v-carousel",props:{continuous:{type:Boolean,default:!0},cycle:Boolean,delimiterIcon:{type:String,default:"$delimiter"},height:{type:[Number,String],default:500},hideDelimiters:Boolean,hideDelimiterBackground:Boolean,interval:{type:[Number,String],default:6e3,validator:function(t){return t>0}},mandatory:{type:Boolean,default:!0},progress:Boolean,progressColor:String,showArrows:{type:Boolean,default:!0},verticalDelimiters:{type:String,default:void 0}},provide:function(){return{parentTheme:this.theme}},data:function(){return{internalHeight:this.height,slideTimeout:void 0}},computed:{classes:function(){return _(_({},o.a.options.computed.classes.call(this)),{},{"v-carousel":!0,"v-carousel--hide-delimiter-background":this.hideDelimiterBackground,"v-carousel--vertical-delimiters":this.isVertical})},isDark:function(){return this.dark||!this.light},isVertical:function(){return null!=this.verticalDelimiters}},watch:{internalValue:"restartTimeout",interval:"restartTimeout",height:function(t,e){t!==e&&t&&(this.internalHeight=t)},cycle:function(t){t?this.restartTimeout():(clearTimeout(this.slideTimeout),this.slideTimeout=void 0)}},created:function(){this.$attrs.hasOwnProperty("hide-controls")&&Object(f.a)("hide-controls",':show-arrows="false"',this)},mounted:function(){this.startTimeout()},methods:{genControlIcons:function(){return this.isVertical?null:o.a.options.methods.genControlIcons.call(this)},genDelimiters:function(){return this.$createElement("div",{staticClass:"v-carousel__controls",style:{left:"left"===this.verticalDelimiters&&this.isVertical?0:"auto",right:"right"===this.verticalDelimiters?0:"auto"}},[this.genItems()])},genItems:function(){for(var t=this,e=this.items.length,n=[],i=0;i<e;i++){var r=this.$createElement(l.a,{staticClass:"v-carousel__controls__item",attrs:{"aria-label":this.$vuetify.lang.t("$vuetify.carousel.ariaLabel.delimiter",i+1,e)},props:{icon:!0,small:!0,value:this.getValue(this.items[i],i)},key:i},[this.$createElement(c.a,{props:{size:18}},this.delimiterIcon)]);n.push(r)}return this.$createElement(m,{props:{value:this.internalValue,mandatory:this.mandatory},on:{change:function(e){t.internalValue=e}}},n)},genProgress:function(){return this.$createElement(d.a,{staticClass:"v-carousel__progress",props:{color:this.progressColor,value:(this.internalIndex+1)/this.items.length*100}})},restartTimeout:function(){this.slideTimeout&&clearTimeout(this.slideTimeout),this.slideTimeout=void 0,window.requestAnimationFrame(this.startTimeout)},startTimeout:function(){this.cycle&&(this.slideTimeout=window.setTimeout(this.next,+this.interval>0?+this.interval:6e3))}},render:function(t){var e=o.a.options.render.call(this,t);return e.data.style="height: ".concat(Object(w.g)(this.height),";"),this.hideDelimiters||e.children.push(this.genDelimiters()),(this.progress||this.progressColor)&&e.children.push(this.genProgress()),e}})},1012:function(t,e,n){"use strict";n(16),n(10),n(9),n(4),n(20),n(12),n(21);var r=n(2),o=n(228),l=n(93),c=n(161),d=n(1),h=n(8),m=Object(h.a)(o.a,Object(l.a)("windowGroup","v-window-item","v-window")).extend().extend().extend({name:"v-window-item",directives:{Touch:c.a},props:{disabled:Boolean,reverseTransition:{type:[Boolean,String],default:void 0},transition:{type:[Boolean,String],default:void 0},value:{required:!1}},data:function(){return{isActive:!1,inTransition:!1}},computed:{classes:function(){return this.groupClasses},computedTransition:function(){return this.windowGroup.internalReverse?void 0!==this.reverseTransition?this.reverseTransition||"":this.windowGroup.computedTransition:void 0!==this.transition?this.transition||"":this.windowGroup.computedTransition}},methods:{genDefaultSlot:function(){return this.$slots.default},genWindowItem:function(){return this.$createElement("div",{staticClass:"v-window-item",class:this.classes,directives:[{name:"show",value:this.isActive}],on:this.$listeners},this.genDefaultSlot())},onAfterTransition:function(){this.inTransition&&(this.inTransition=!1,this.windowGroup.transitionCount>0&&(this.windowGroup.transitionCount--,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=void 0)))},onBeforeTransition:function(){this.inTransition||(this.inTransition=!0,0===this.windowGroup.transitionCount&&(this.windowGroup.transitionHeight=Object(d.g)(this.windowGroup.$el.clientHeight)),this.windowGroup.transitionCount++)},onTransitionCancelled:function(){this.onAfterTransition()},onEnter:function(t){var e=this;this.inTransition&&this.$nextTick((function(){e.computedTransition&&e.inTransition&&(e.windowGroup.transitionHeight=Object(d.g)(t.clientHeight))}))}},render:function(t){var e=this;return t("transition",{props:{name:this.computedTransition},on:{beforeEnter:this.onBeforeTransition,afterEnter:this.onAfterTransition,enterCancelled:this.onTransitionCancelled,beforeLeave:this.onBeforeTransition,afterLeave:this.onAfterTransition,leaveCancelled:this.onTransitionCancelled,enter:this.onEnter}},this.showLazyContent((function(){return[e.genWindowItem()]})))}}),w=n(570),f=n(77);function v(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?v(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var y=Object(h.a)(m,f.a);e.a=y.extend().extend({name:"v-carousel-item",inject:{parentTheme:{default:{isDark:!1}}},provide:function(){return{theme:this.parentTheme}},inheritAttrs:!1,methods:{genDefaultSlot:function(){return[this.$createElement(w.a,{staticClass:"v-carousel__item",props:_(_({},this.$attrs),{},{height:this.windowGroup.internalHeight}),on:this.$listeners,scopedSlots:{placeholder:this.$scopedSlots.placeholder}},Object(d.o)(this))]},genWindowItem:function(){var t=this.generateRouteLink(),e=t.tag,data=t.data;return data.staticClass="v-window-item",data.directives.push({name:"show",value:this.isActive}),this.$createElement(e,data,this.genDefaultSlot())}}})},1039:function(t,e,n){var content=n(1065);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(7).default)("4a4aa2bb",content,!0,{sourceMap:!1})},1064:function(t,e,n){"use strict";n(1039)},1065:function(t,e,n){var r=n(6)((function(i){return i[1]}));r.push([t.i,".news-slider__carousel .v-window__next,.news-slider__carousel .v-window__prev{background:transparent!important}",""]),r.locals={},t.exports=r},1072:function(t,e,n){"use strict";n.r(e);var r=n(405),o=n(1011),l=n(1012),c=n(982),d=n(570),h=n(984),m=n(224),w=n(994),f=(n(13),n(27),n(434),n(226),n(35),{components:{FIcon:n(227).a},props:{news:{type:Array,default:null}},data:function(){return{isMounted:!1}},mounted:function(){this.isMounted=!0},methods:{getImage:function(t){return null==t||null==t.imgUrl||void 0===t.imgUrl?null:(void 0===String.prototype.replaceAll&&(String.prototype.replaceAll=function(t,e){return this.replace(new RegExp(t,"g"),(function(){return e}))}),t.imgUrl.replaceAll('"',""))}}}),v=(n(1064),n(3)),component=Object(v.a)(f,(function(){var t=this,e=t._self._c;return e("div",[t.isMounted&&t.$vuetify.breakpoint.smAndUp?e(m.b,{staticClass:"news-slide-group",attrs:{"show-arrows":"always"}},t._l(t.news,(function(n,o){return e(w.a,{key:o,staticClass:"mx-3 hover-zoom news-slide-item"},[e(r.a,{staticClass:"item-card",attrs:{id:"news-card-button",to:"/news/"+n.id,hover:"",width:"215",tile:""}},[e(d.a,{staticClass:"card-image",attrs:{src:t.getImage(n)}}),t._v(" "),e("div",{staticClass:"card-description pa-3"},[e("h4",{staticClass:"card-title font-weight-bold secondary-font"},[t._v("\n                        "+t._s(n.title)+"\n                    ")])])],1)],1)})),1):t._e(),t._v(" "),t.isMounted&&t.$vuetify.breakpoint.xs?e(o.a,{staticClass:"news-slider__carousel",attrs:{height:"100%","hide-delimiters":""},scopedSlots:t._u([{key:"prev",fn:function(n){var r=n.on,o=n.attrs;return[e("div",t._g(t._b({attrs:{id:"slider-button1"}},"div",o,!1),r),[e("f-icon",{attrs:{icon:"icon-chevron-left"}})],1)]}},{key:"next",fn:function(n){var r=n.on,o=n.attrs;return[e("div",t._g(t._b({attrs:{id:"slider-button2"}},"div",o,!1),r),[e("f-icon",{staticStyle:{"background-color":"transparent"},attrs:{icon:"icon-chevron-right"}})],1)]}}],null,!1,2778981530)},[t._v(" "),t._v(" "),t._l(t.news,(function(n,o){return e(l.a,{key:o},[e(c.a,[e(h.a,{staticClass:"py-6",attrs:{justify:"center"}},[e(r.a,{staticClass:"item-card",attrs:{id:"news-card-button",to:"/news/"+n.id,hover:"",width:"215",tile:""}},[e(d.a,{staticClass:"card-image",attrs:{src:t.getImage(n)}}),t._v(" "),e("div",{staticClass:"card-description pa-3"},[e("h4",{staticClass:"card-title font-weight-bold"},[t._v("\n                                "+t._s(n.title)+"\n                            ")])])],1)],1)],1)],1)}))],2):t._e()],1)}),[],!1,null,null,null);e.default=component.exports},1103:function(t,e,n){var content=n(1179);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(7).default)("3eeb6016",content,!0,{sourceMap:!1})},1178:function(t,e,n){"use strict";n(1103)},1179:function(t,e,n){var r=n(6)((function(i){return i[1]}));r.push([t.i,".news-single{max-width:700px;padding:0}@media screen and (max-width:740px){.news-single__main-content{padding:0 20px}}.news-single__main-content__breadcrumbs--text{font-size:16px;font-weight:700;line-height:20px}.news-single__main-content__top{padding-top:12px}.news-single__main-content__top-title{font-size:40px;font-weight:400;margin-bottom:20px}.news-single__main-content__top-date{font-weight:400;line-height:25px}.news-single__main-content__img{max-height:400px}.news-single__main-content__content-body{font-size:20px;font-weight:400;line-height:25px;margin-top:30px}.news-single__main-content__content-news-btn{border:2px solid;font-size:16px;font-weight:700;line-height:16px;margin:15px 0 0;text-transform:none}.news-single .other-news-container .v-slide-group__next--disabled,.news-single .other-news-container .v-slide-group__prev--disabled{opacity:0}.news-single .other-news-container__title{font-size:30px;font-weight:400}.news-single .other-news-container>h2{padding-bottom:20px}@media(max-width:1280px){.news-single .other-news-container>h2{padding:0 0 20px}}.news-single .other-news-container .v-slide-group__wrapper{padding-bottom:19px}.news-single .other-news-container .news-slide-group{max-width:100vw;padding-bottom:10px;width:100%}@media(min-width:1280px){.news-single .other-news-container .news-slide-group{margin:0 -62px;width:calc(100% + 124px)}}.news-single .other-news-container .news-slide-group .item-card .card-image{height:155px;width:100%}.news-single .other-news-container .news-slide-group .item-card .card-description{font-size:16px}.news-single .other-news-container .news-slide-group .item-card .card-description .card-title{min-height:40px}.news-single .other-news-container .news-slide-group .item-card .card-description .content{background:linear-gradient(#000 30%,hsla(0,0%,100%,0));-webkit-background-clip:text;height:40px;max-height:50px;overflow:hidden;-webkit-text-fill-color:transparent}.news-single .other-news-container .news-slide-group .item-card .card-bottom{min-height:38px}.news-single .other-news-container .news-slide-group .item-card .card-bottom>div{line-height:16px}@media only screen and (min-width:900px){.news-single .other-news-container .news-slide-group .item-card .read-more-btn{display:none}}.v-breadcrumbs__item--disabled{color:var(--v-primary-base)!important}",""]),r.locals={},t.exports=r},1224:function(t,e,n){"use strict";n.r(e);var r=n(403),o=n(982),l=n(570),c=n(0),d=(n(17),n(10),n(49),n(9),n(4),n(13),n(27),n(434),n(226),n(35),n(1072)),h=n(227),m=n(607),w={head:function(){var t="%s | ".concat(this.$store.getters["cmsConfigHomepage/getChainName"]);return{title:this.news.metaTags.title,titleTemplate:t,meta:[{hid:"title",name:"title",template:t,content:this.news.metaTags.title},{hid:"description",name:"description",content:this.news.metaTags.description},{hid:"keywords",name:"keywords",content:this.news.metaTags.keywords},{hid:"og:type",name:"og:type",content:this.news.metaTags.ogType},{hid:"og:url",name:"og:url",content:this.news.metaTags.ogUrl},{hid:"og:title",name:"og:title",template:t,content:this.news.metaTags.ogTitle},{hid:"og:description",name:"og:description",content:this.news.metaTags.ogDescription}]}},layout:"HomepageLayout",name:"newsSingle",components:{NewsSlider:d.default,FIcon:h.a,Breadcrumbs:m.default},asyncData:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.store.dispatch("news/getNewsById",parseInt(t.route.params.id));case 2:return n=e.sent,e.abrupt("return",{news:n});case 4:case"end":return e.stop()}}),e)})))()},data:function(){return{isMounted:!1}},computed:{breadcrumbs:function(){return[{name:"Hjem",disabled:!1,href:"/"},{name:"Artikler",disabled:!1,href:"/news"},{name:this.news.title,disabled:!0,href:this.$route.params.id,isEndpoint:!0}]},otherNews:function(){var t=this.$store.getters["news/getNews"],e=parseInt(this.$route.params.id);return t.filter((function(t){return t.id!=e}))},allNews:function(){return this.$store.getters["news/getNews"]},isDraft:function(){return this.$store.getters["cmsConfigHomepage/isDraftMode"]}},mounted:function(){this.isMounted=!0},methods:{scrollToTop:function(){window.scrollTo(0,0)},getImage:function(t){return null==t||null==t.imgUrl||void 0===t.imgUrl?null:(void 0===String.prototype.replaceAll&&(String.prototype.replaceAll=function(t,e){return this.replace(new RegExp(t,"g"),(function(){return e}))}),t.imgUrl.replaceAll('"',""))},formatBody:function(t){return void 0===String.prototype.replaceAll&&(String.prototype.replaceAll=function(t,e){return this.replace(new RegExp(t,"g"),(function(){return e}))}),t.body.replaceAll("\n","</br>")},redirect:function(t){window.open(t,"_self")}},watch:{$route:function(){this.scrollToTop()}}},f=(n(1178),n(3)),component=Object(f.a)(w,(function(){var t=this,e=t._self._c;return e(o.a,{staticClass:"news-single"},[e("div",{staticClass:"news-single__main-content"},[e("breadcrumbs",{staticClass:"py-5",attrs:{breadcrumbs:t.breadcrumbs}}),t._v(" "),e(l.a,{staticClass:"news-single__main-content__img",attrs:{src:t.getImage(t.news),cover:""}}),t._v(" "),e("div",{staticClass:"news-single__main-content__top"},[e("span",{staticClass:"news-single__main-content__top-title primary-font"},[t._v(t._s(t.news.title))]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"news-single__main-content__top-date secondary-font"},[t._v("Publisert "+t._s(t.$moment(t.news.updatedTime).format("DD/MM/YYYY")))])]),t._v(" "),e("div",{staticClass:"news-single__main-content__content secondary-font"},[e("p",{staticClass:"news-single__main-content__content-body",domProps:{innerHTML:t._s(t.formatBody(t.news))}}),t._v(" "),""!=t.news.linkButtonText&&2===t.news.linkButtonType?e(r.a,{staticClass:"news-single__main-content__content-news-btn",attrs:{id:"article-button",target:"_blank",rounded:"",outlined:"",color:"primary"},on:{click:function(e){!t.isDraft&&t.redirect(t.news.url)}}},[t._v(t._s(t.news.linkButtonText))]):t._e()],1)],1),t._v(" "),t.otherNews.length?e("div",{staticClass:"other-news-container pt-12"},[e("h2",{staticClass:"other-news-container__title primary-font",class:{"pl-16":t.isMounted&&(t.$vuetify.breakpoint.md||t.$vuetify.breakpoint.sm)},style:{"text-align":t.isMounted&&t.$vuetify.breakpoint.smAndUp?"left":"center"}},[t._v("Flere artikler")]),t._v(" "),e("news-slider",{attrs:{news:t.otherNews}})],1):t._e()])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{Breadcrumbs:n(607).default,NewsSlider:n(1072).default})},999:function(t,e,n){var content=n(1e3);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(7).default)("80471596",content,!0,{sourceMap:!1})}}]);
//# sourceMappingURL=9e5dcd0.js.map