1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1011:function(t,e,n){"use strict";var r=n(0),o=(n(7),n(9),n(34),n(33),n(65),n(163),n(48),n(14),n(19),n(56),n(11),n(13),n(1),n(164),n(5),n(20),n(93),n(35),n(120),n(25),n(8),n(998)),l=n(3);function c(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof l?r:l,u=Object.create(c.prototype);return d(u,"_invoke",function(n,r,o){var i,l,u,c=0,p=o||[],d=!1,f={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(e,n){return i=e,l=0,u=t,f.n=n,a}};function v(n,r){for(l=n,u=r,e=0;!d&&c&&!o&&e<p.length;e++){var o,i=p[e],v=f.p,h=i[2];n>3?(o=h===r)&&(u=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=n<2&&v<i[1])?(l=0,f.v=r,f.n=i[1]):v<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw d=!0,r}return function(o,p,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===p&&v(p,h),l=p,u=h;(e=l<2?t:u)||!d;){i||(l?l<3?(l>1&&(f.n=-1),v(l,u)):f.n=u:f.v=u);try{if(c=2,i){if(l||(o="next"),e=i[o]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,l<2&&(l=0)}else 1===l&&(e=i.return)&&e.call(i),l<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=t}else if((e=(d=f.n<0)?u:n.call(r,f))!==a)break}catch(e){i=t,l=1,u=e}finally{c=1}}return{value:e,done:d}}}(n,o,i),!0),u}var a={};function l(){}function f(){}function v(){}e=Object.getPrototypeOf;var h=[][r]?e(e([][r]())):(d(e={},r,(function(){return this})),e),u=v.prototype=l.prototype=Object.create(h);function m(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,v):(t.__proto__=v,d(t,o,"GeneratorFunction")),t.prototype=Object.create(u),t}return f.prototype=v,d(u,"constructor",v),d(v,"constructor",f),f.displayName="GeneratorFunction",d(v,o,"GeneratorFunction"),d(u),d(u,o,"Generator"),d(u,r,(function(){return this})),d(u,"toString",(function(){return"[object Generator]"})),(c=function(){return{w:i,m:m}})()}function d(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}d=function(t,e,n,r){function o(e,n){d(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},d(t,e,n,r)}e.a={data:function(){return{adCount:0}},methods:{injectAds:function(t){var e,n;if(null==(e=this.adflow)||!e.length||void 0===this.adIndex)return t;if(!this.adflow[this.adIndex+this.adCount])return t;for(var r=(null==(n=this.items)?void 0:n.length)||0,i=0;i<t.length;i++){var o=r+i;if(this.adFrequency[this.adCount]===o){var l=this.adflow[this.adIndex+this.adCount++];l&&t.splice(i-(this.pinnedEntry?1:0),0,{id:l,blockType:"ad",isAd:!0})}}return t},parseEntry:function(t){var e,n,r;void 0===t&&(t={});var o=t,l=o.id,c=o.createdAt,content=o.content,d=o.journalistName,f=o.journalistAvatarUrl,title=o.title,v=o.entryType,meta=o.meta,h=o.minutesTotal,m=o.structuredContent,y=(void 0===m?{}:m).components,w=void 0===y?[]:y;if("sport"===v)return Object.assign(t,{isSport:!0});var j=w.reduce((function(t,component){return Object.prototype.hasOwnProperty.call(t,component.type)&&(t[component.type]=!0),t}),{chat:!1,text:!1,tweet:/twitter-tweet/.test(content)}),S=j.chat?w.find((function(t){return"answer"===t.subtype})):void 0,E=void 0!==(null==S||null==(e=S.components)?void 0:e.find((function(t){return"object"==typeof t&&"string"==typeof t.value&&t.value.length>0}))),html=content;html=null==(n=html)?void 0:n.replace(/<(\w+)>(\s+)?<\/\1>/g,""),j.text&&w.filter((function(t){return"image"===t.type})).forEach((function(t){var e,n,r,o,l,c=null==(e=t.imageAsset)?void 0:e.id;if(c){var d=100*(null==(n=t.cropRatio)?void 0:n.height)/(null==(r=t.cropRatio)?void 0:r.width),f="data-img-template.*"+c+".*";html=null==(l=html=null==(o=html)?void 0:o.replace(new RegExp(f+'(?: style=\\")'),(function(t){return t+"padding-bottom:"+d+"%;"})))?void 0:l.replace(new RegExp(f+"</div>"),(function(e){var n,r;return e+"<small>"+(null==(n=t.caption)?void 0:n.value)+(null!=(r=t.byline)&&r.title?" Foto: <b>"+t.byline.title+"</b>":"")+"</small>"}))}}));var video=w.find((function(component){return"video"===component.type}));j.tweet&&(this.addScript("https://platform.twitter.com/widgets.js"),this.$nextTick((function(){var t;return null==(t=window.twttr)?void 0:t.widgets.load()})));for(var O=[],i=0;i<w.length;i++)if("image"===w[i].type){var I=w[i],x=new RegExp("(<div.+"+I.imageAsset.id+".+</small>)"),k=html.match(x),T=k&&k.length&&k[0];if(!T){O=[{type:"full-content",html:html}];break}O.push({type:"image",html:T})}else if("embed-code"===w[i].type)O.push({type:"embed-code",content:w[i].embedCode});else{if("chat"===w[i].type){var P=new RegExp("(<blockquote(?:\n|.)+$)"),U=html.match(P),$=U&&U.length&&U[0];if(!$){O=[{type:"chat",html:html}];break}O.push({type:"chat",html:$});break}var D;"text"===w[i].type?(null==(D=w[i].value)?void 0:D.trim())&&O.push(w[i]):O.push(w[i])}var C={id:l,title:title,date:c,html:html,author:{fullname:d,imageUrl:f},isChat:j.chat,hasChatAnswer:E,video:video,components:O},A="";if(this.isPenalties)A=120;else if(this.isPlaying){var F;A=null!=(F=null!=h?h:null==meta?void 0:meta.minutes)?F:new Date(c).toLocaleTimeString().substring(0,5)}else A=new Date(c).toLocaleTimeString().substring(0,5);return null!=(r=this.meta)&&r.sportType&&Object.assign(C,{sportTime:A,createdAt:c}),C},parseEntries:function(t){void 0===t&&(t=[]);for(var e=this.items.slice(0),n=[],i=t.length-1;i>=0;i--){var r=t[i],o=r.type,l=r.subtype,c=r.id;"eventStart"===o||"periodStart"===o?(this.$store.commit("liveblog/setMatchState",{liveblogId:this.liveblogUniqueId,matchState:"playing"}),"penaltyShootout"===l&&this.$store.commit("liveblog/setMatchState",{liveblogId:this.liveblogUniqueId,matchState:"penaltyShootout"})):"eventEnd"!==o&&"pauseStart"!==o||this.$store.commit("liveblog/setMatchState",{liveblogId:this.liveblogUniqueId,matchState:"notPlaying"});var d=this.$store.getters["liveblog/getFilteredEntries"](this.liveblogUniqueId);c&&d.indexOf(c)>-1||n.unshift(this.parseEntry(t[i]))}var f=this.injectAds(e.concat(n));this.$store.commit("liveblog/setItems",{liveblogId:this.liveblogUniqueId,items:f})},parseMeta:function(meta){void 0===meta&&(meta={});var t=meta,e=t.eventId,n=t.meta,r=void 0===n?{}:n,l=r.closed,c=r.pinnedEntryId,d=r.sportType,f=r.isUserMessagesLoginRequired,v=r.
2isSeeMoreFeatureLoginRequired,h=t.feeds,m=(void 0===h?[]:h)[0],y=void 0===m?{}:m,title=y.title,w=y.description,j=void 0===w?"":w,S=y.actionText,E=y.theme,O=y.allowUserMessages,I=y.structuredSummary,x=(void 0===I?{}:I).components,k=void 0===x?[]:x,T="";null==j||(T=null==j?void 0:j.replace(/\$1/g,"?"));var P=function(component){return"<li>"+Object(o.a)(component.value,component.markup)+"</li>"},U=k.find((function(t){var e,n;return(null==(e=t.items)?void 0:e.map((function(t){var e;return null==(e=t.value)?void 0:e.trim()})).join(""))||(null==(n=t.value)?void 0:n.trim())}))&&k.map((function(component){var t="ordered"===component.subtype?"ol":"ul";return"<"+t+">"+(component.items?component.items.map(P).join(""):P(component))+"</"+t+">"})).join(""),$=Object.assign({},this.meta,{title:title,closed:l,pinnedEntryId:c,type:d?"sport":"default",theme:E.toLowerCase(),sportType:d,eventId:e,leadText:U,hasForm:!l&&O,isUserMessagesLoginRequired:f,isSeeMoreFeatureLoginRequired:v,form:{label:S,description:T}});this.$store.commit("liveblog/setMeta",{liveblogId:this.liveblogUniqueId,meta:$})},setPinnedEntry:function(t){var e=this;return Object(r.a)(c().m((function n(){var r,o;return c().w((function(n){for(;;)switch(n.n){case 0:if(void 0===(r=e.$route.query.pinnedEntry)){n.n=2;break}return n.n=1,e.handlePinnedEntry(t,r,!0);case 1:n.n=3;break;case 2:if(void 0===(o=e.meta.pinnedEntryId)){n.n=3;break}return n.n=3,e.handlePinnedEntry(t,o,!1);case 3:return n.a(2)}}),n)})))()},handlePinnedEntry:function(t,e,n){var o=this;return Object(r.a)(c().m((function r(){var d,f,v,h,m;return c().w((function(r){for(;;)switch(r.p=r.n){case 0:if(!(o.$store.getters["liveblog/getFilteredEntries"](o.liveblogUniqueId).indexOf(e)>-1)){r.n=1;break}return r.a(2);case 1:if(e){r.n=2;break}return r.a(2);case 2:if(!((d=function(e){return t.findIndex((function(t){var n;return(null==(n=t.id)?void 0:n.toString())===(null==e?void 0:e.toString())}))}(e))<0)){r.n=7;break}if(!(parseInt(e,10)>0)){r.n=6;break}return r.p=3,f=o.baseApiUrl+"/entries/"+e,l.a.debug("Liveblog: fetching pinned entry from API: %s",f),r.n=4,o.$store.$axios({method:"GET",url:f},false);case 4:v=r.v,o.liveblogId===v.data.liveblogId&&o.$store.commit("liveblog/setPinnedEntry",{liveblogId:o.liveblogUniqueId,pinnedEntry:o.parseEntry(v.data),pinnedByUrl:n}),r.n=6;break;case 5:r.p=5,m=r.v,l.a.error("Error fetching pinned entry %s on liveblog %s %s",e,o.liveblogUniqueId,m);case 6:r.n=8;break;case 7:h=t[d],o.$store.commit("liveblog/setPinnedEntry",{liveblogId:o.liveblogUniqueId,pinnedEntry:h,pinnedByUrl:n});case 8:return r.a(2)}}),r,null,[[3,5]])})))()},parseResult:function(data){var t,e,n;void 0===data&&(data={});var r=null==(t=data.entries)?void 0:t.slice(this.loadMoreQuery?1:0);if(r){this.meta.type||this.parseMeta(data.liveblog),this.parseEntries(r);var o=(null==(e=data.meta)?void 0:e.count)||(null==(n=data.liveblog)?void 0:n.entriesCount);this.$store.commit("liveblog/setEntriesCount",{liveblogId:this.liveblogUniqueId,entriesCount:o}),this.updateLoadMoreButton(data.entries)}else l.a.warn("problems fetching liveblog")}}}},576:function(t,e,n){"use strict";n.r(e);var r=n(0),o=(n(7),n(9),n(28),n(11),n(32),n(13),n(1),n(42),n(66)),l=n(220),c=n(39),d=n(3),f=n(1011),v=n(26);n(221),n(311);var h=function(t){var e=t.team,n=t.participants,r=t.tournaments,o=t.tournamentSeasons,l=n[e.id].countryCode,c=[];for(var d in o){var f=o[d];if("cup"!==f.seasonType)r[f.tournamentId].countryCode===l&&c.push(f)}for(var v=0,h=c;v<h.length;v++){var m=h[v];if(new Date(m.startDate)<=new Date&&new Date(m.endDate)>=new Date)return m}return c.length>0?c.sort((function(a,b){return new Date(b.startDate)-new Date(a.startDate)}))[0]:Object.values(o).sort((function(a,b){return new Date(b.startDate)-new Date(a.startDate)}))[0]};function m(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof l?r:l,u=Object.create(c.prototype);return y(u,"_invoke",function(n,r,o){var i,l,u,c=0,p=o||[],d=!1,f={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(e,n){return i=e,l=0,u=t,f.n=n,a}};function v(n,r){for(l=n,u=r,e=0;!d&&c&&!o&&e<p.length;e++){var o,i=p[e],v=f.p,h=i[2];n>3?(o=h===r)&&(u=i[(l=i[4])?5:(l=3,3)],i[4]=i[5]=t):i[0]<=v&&((o=n<2&&v<i[1])?(l=0,f.v=r,f.n=i[1]):v<h&&(o=n<3||i[0]>r||r>h)&&(i[4]=n,i[5]=r,f.n=h,l=0))}if(o||n>1)return a;throw d=!0,r}return function(o,p,h){if(c>1)throw TypeError("Generator is already running");for(d&&1===p&&v(p,h),l=p,u=h;(e=l<2?t:u)||!d;){i||(l?l<3?(l>1&&(f.n=-1),v(l,u)):f.n=u:f.v=u);
2try{if(c=2,i){if(l||(o="next"),e=i[o]){if(!(e=e.call(i,u)))throw TypeError("iterator result is not an object");if(!e.done)return e;u=e.value,l<2&&(l=0)}else 1===l&&(e=i.return)&&e.call(i),l<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),l=1);i=t}else if((e=(d=f.n<0)?u:n.call(r,f))!==a)break}catch(e){i=t,l=1,u=e}finally{c=1}}return{value:e,done:d}}}(n,o,i),!0),u}var a={};function l(){}function c(){}function d(){}e=Object.getPrototypeOf;var f=[][r]?e(e([][r]())):(y(e={},r,(function(){return this})),e),u=d.prototype=l.prototype=Object.create(f);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,d):(t.__proto__=d,y(t,o,"GeneratorFunction")),t.prototype=Object.create(u),t}return c.prototype=d,y(u,"constructor",d),y(d,"constructor",c),c.displayName="GeneratorFunction",y(d,o,"GeneratorFunction"),y(u),y(u,o,"Generator"),y(u,r,(function(){return this})),y(u,"toString",(function(){return"[object Generator]"})),(m=function(){return{w:i,m:v}})()}function y(t,e,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(t){i=0}y=function(t,e,n,r){function o(e,n){y(t,e,(function(t){return this._invoke(e,n,t)}))}e?i?i(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(o("next",0),o("throw",1),o("return",2))},y(t,e,n,r)}e.default={mixins:[o.default,l.default,f.a],components:c.a,computed:Object.assign({},Object(v.d)({publicationName:function(t){return t.config.publication.publicationName},context:function(t){return t.context},articles:function(t){return t.bundles.teasers},tagsWithSeoHeader:function(t){var e;return null==(e=t.config.meta)?void 0:e.tagsWithSeoHeader},shouldHaveSeoHeader:function(t){var e;return Object.keys((null==(e=t.config.meta)?void 0:e.tagsWithSeoHeader)||{}).includes(t.context.tagName||t.context.sectionName)}}
2)),data:function(){return{data:null,team:null,primarySeason:null}},methods:{fetchTeamData:function(t){var e=this;return Object(r.a)(m().m((function n(){var r,o,l,c,f,v,y;return m().w((function(n){for(;;)switch(n.p=n.n){case 0:return n.p=0,r=function(t){return e.$store.$axios.get(t,{},true)},n.n=1,r("https://api.sportsnext.schibsted.io/v1/nor/participants/teams/"+t);case 1:return o=n.v,l=o.data,c=h(l),n.n=2,r("https://api.sportsnext.schibsted.io/v1/nor/tournaments/seasons/"+c.id+"/standings");case 2:f=n.v,v=f.data,e.data=v,e.team=l,e.primarySeason=c,n.n=4;break;case 3:n.p=3,y=n.v,d.a.info("fetch failed: %o",y);case 4:return n.a(2)}}),n,null,[[0,3]])})))()}}}},998:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));n(48),n(19),n(221),n(56),n(1),n(5),n(35),n(25);var r={link:"a",explanation:"span"},o={highlight:"mark"},l=function(text,t,e){for(var n=text.split(""),l=function(t,e){return t.slice().sort((function(a,b){return a.offset-b.offset})).reduce((function(t,n){var l=n.type,c=n.offset,d=n.uri,symbol=n.symbol,f=n.length,v=l.split(":"),h=v[0],m=v[1],y=r[h]||o[m]||m,w=function(t,e,n,symbol,r){var o;if("explanation"===t)return' data-tooltip="'+(null==symbol||null==(o=symbol.replace(/'/g,"'"))?void 0:o.replace(/"/g,"""))+'"';if("internal"===e){var l=null==n?void 0:n.split(":").pop();return l?' href="/i/'+l+'"':""}if("commercial"===e){var c=null==n?void 0:n.split(":").pop();return c?' href="/annonsorinnhold/i/'+c+'"':""}return"external"===e?' href="'+n+'" rel="noopener"':n?' href="'+n+'"':r?' class="'+r+'"':""}(h,m,d,symbol,e);t[c]=t[c]||[],t[c].unshift("<"+y+w+">");var j=c+f;return t[j]=t[j]||[],t[j].push("</"+y+">"),t}),[])}(t,e),c=function(t){l[t]&&l[t].forEach((function(e){return n.splice(t,0,e)}))},d=l.length;d>=0;d--)c(d);return n.join("")};function c(text,t,e){return text?Array.isArray(t)&&0!==t.length?l(text,t,e):text:""}}}]);
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.