1var jfmFlowplayerVideoBlocks;(()=>{"use strict";var e,t,n,r={2348(e,t,n){var r=n(3182),o=n.n(r),i=n(3370),a=(n.n(i))()(o());a.push([e.id,`@keyframes react-loading-skeleton { 2 100% { 3 transform: translateX(100%); 4 } 5} 6 7.react-loading-skeleton { 8 --base-color: #ebebeb; 9 --highlight-color: #f5f5f5; 10 --animation-duration: 1.5s; 11 --animation-direction: normal; 12 --pseudo-element-display: block; /* Enable animation */ 13 14 background-color: var(--base-color); 15 16 width: 100%; 17 border-radius: 0.25rem; 18 display: inline-flex; 19 line-height: 1; 20 21 position: relative; 22 user-select: none; 23 overflow: hidden; 24} 25 26.react-loading-skeleton::after { 27 content: ' '; 28 display: var(--pseudo-element-display); 29 position: absolute; 30 top: 0; 31 left: 0; 32 right: 0; 33 height: 100%; 34 background-repeat: no-repeat; 35 background-image: var( 36 --custom-highlight-background, 37 linear-gradient( 38 90deg, 39 var(--base-color) 0%, 40 var(--highlight-color) 50%, 41 var(--base-color) 100% 42 ) 43 ); 44 transform: translateX(-100%); 45 46 animation-name: react-loading-skeleton; 47 animation-direction: var(--animation-direction); 48 animation-duration: var(--animation-duration); 49 animation-timing-function: ease-in-out; 50 animation-iteration-count: infinite; 51} 52 53@media (prefers-reduced-motion) { 54 .react-loading-skeleton { 55 --pseudo-element-display: none; /* Disable animation */ 56 } 57} 58`,""]),n.d(t,{},{A:a})},5072(e){var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},i=[],a=0;a<e.length;a++){var l=e[a],c=r.base?l[0]+r.base:l[0],u=o[c]||0,s="".concat(c," ").concat(u);o[c]=u+1;var f=n(s),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)t[f].references++,t[f].updater(d);else{var _=function(e,t){var n=t.domAPI(t);return n.update(e),function(t){t?(t.css!==e.css||t.media!==e.media||t.sourceMap!==e.sourceMap||t.supports!==e.supports||t.layer!==e.layer)&&n.update(e=t):n.remove()}}(d,r);r.byIndex=a,t.splice(a,0,{identifier:s,updater:_,references:1})}i.push(s)}return i}e.exports=function(e,o){var i=r(e=e||[],o=o||{});return function(e){e=e||[];for(var a=0;a<i.length;a++){var l=n(i[a]);t[l].references--}for(var c=r(e,o),u=0;u<i.length;u++){var s=n(i[u]);0===t[s].references&&(t[s].updater(),t.splice(s,1))}i=c}}},7659(e){var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},540(e){e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},5056(e,t,n){e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},7825(e){e.exports=function(e){if("u"<typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){var r,o,i;r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {")),(o=void 0!==n.layer)&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}"),(i=n.sourceMap)&&"u">typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleTagTransform(r,t,e.options)},remove:function(){var e;null===(e=t).parentNode||e.parentNode.removeChild(e)}}}},1113(e){e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3370(e){e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var l=0;l<this.length;l++){var c=this[l][0];null!=c&&(a[c]=!0)}for(var u=0;u<e.length;u++){var s=[].concat(e[u]);r&&a[s[0]]||(void 0!==i&&(void 0===s[5]||(s[1]="@layer".concat(s[5].length>0?" ".concat(s[5]):""," {").concat(s[1],"}")),s[5]=i),n&&(s[2]&&(s[1]="@media ".concat(s[2]," {").concat(s[1],"}")),s[2]=n),o&&(s[4]?(s[1]="@supports (".concat(s[4],") {").concat(s[1],"}"),s[4]=o):s[4]="".concat(o)),t.push(s))}},t}},3182(e){e.exports=function(e){return e[1]}},7942(e,t,n){function r(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var o,i,a,l,c,u,s,f,d,_,p,h,v,m,g,b,y,w,k,S,C={},N=[],P=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,O=Array.isArray;function x(e,t){for(var n in t)e[n]=t[n];return e}function j(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function A(e,t,n){var r,o,i,a={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?u.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===a[i]&&(a[i]=e.defaultProps[i]);return I(e,a,r,o,null)}function I(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==o?++f:o,__i:-1,__u:0};return null==o&&null!=s.vnode&&s.vnode(i),i}function T(e){return e.children}function E(e,t){this.props=e,this.context=t}function D(e,t){if(null==t)return e.__?D(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?D(e):null}function U(e){(!e.__d&&(e.__d=!0)&&d.push(e)&&!L.__r++||_!=s.debounceRendering)&&((_
vendor: 4,073 bytes, line 58
58=s.debounceRendering)||p)(L)}function L(){try{for(var e,t=1;d.length;)d.length>t&&d.sort(h),e=d.shift(),t=d.length,function(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,r=[],o=[],i=x({},t);i.__v=t.__v+1,s.vnode&&s.vnode(i),z(e.__P,i,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,r,null==n?D(t):n,!!(32&t.__u),o),i.__v=t.__v,i.__.__k[i.__i]=i,B(r,i,o),t.__e=t.__=null,i.__e!=n&&function e(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some(function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e}),e(t)}(i)}}(e)}finally{d.length=L.__r=0}}function M(e,t,n,o,i,a,l,c,u,f,d){var _,p,h,v,m,g,b=o&&o.__k||N,y=t.length;for(u=function(e,t,n,o,i){var a,l,c,u,f,d=n.length,_=d,p=0;for(e.__k=Array(i),a=0;a<i;a++)null!=(l=t[a])&&"boolean"!=typeof l&&"function"!=typeof l?("string"==typeof l||"number"==typeof l||"bigint"==(void 0===l?"undefined":r(l))||l.constructor==String?l=e.__k[a]=I(null,l,null,null,null):O(l)?l=e.__k[a]=I(T,{children:l},null,null,null):void 0===l.constructor&&l.__b>0?l=e.__k[a]=I(l.type,l.props,l.key,l.ref?l.ref:null,l.__v):e.__k[a]=l,u=a+p,l.__=e,l.__b=e.__b+1,c=null,-1!=(f=l.__i=function(e,t,n,r){var o,i,a,l=e.key,c=e.type,u=t[n],s=null!=u&&0==(2&u.__u);if(null===u&&null==l||s&&l==u.key&&c==u.type)return n;if(r>+!!s){for(o=n-1,i=n+1;o>=0||i<t.length;)if(null!=(u=t[a=o>=0?o--:i++])&&0==(2&u.__u)&&l==u.key&&c==u.type)return a}return -1}(l,n,u,_))&&(_--,(c=n[f])&&(c.__u|=2)),null==c||null==c.__v?(-1==f&&(i>d?p--:i<d&&p++),"function"!=typeof l.type&&(l.__u|=4)):f!=u&&(f==u-1?p--:f==u+1?p++:(f>u?p--:p++,l.__u|=4))):e.__k[a]=null;if(_)for(a=0;a<d;a++)null!=(c=n[a])&&0==(2&c.__u)&&(c.__e==o&&(o=D(c)),function e(t,n,r){var o,i;if(s.unmount&&s.unmount(t),(o=t.ref)&&(o.current&&o.current!=t.__e||$(o,null,n)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){s.__e(e,n)}o.base=o.__P=o.__n=null}if(o=t.__k)for(i=0;i<o.length;i++)o[i]&&e(o[i],n,r||"function"!=typeof t.type);r||j(t.__e),t.__c=t.__=t.__e=void 0}(c,c));return o}(n,t,b,u,y),_=0;_<y;_++)null!=(h=n.__k[_])&&(p=-1!=h.__i&&b[h.__i]||C,h.__i=_,g=z(e,h,p,i,a,l,c,u,f,d),v=h.__e,h.ref&&p.ref!=h.ref&&(p.ref&&$(p.ref,null,h),d.push(h.ref,h.__c||v,h)),null==m&&null!=v&&(m=v),4&h.__u?(u=function e(t,n,r){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i<o.length;i++)o[i]&&(o[i].__=t,n=e(o[i],n,r));return n}t.__e!=n&&(n&&t.type&&!n.parentNode&&(n=D(t)),n=r.insertBefore(t.__e,n||null));do n=n&&n.nextSibling;while(null!=n&&8==n.nodeType);return n}(h,u,e),p.__e&&(p.__e=null)):"function"==typeof h.type&&void 0!==g?u=g:v&&(u=v.nextSibling),h.__u&=-7);return n.__e=m,u}function H(e,t){return t=t||[],null==e||"boolean"==typeof e||(O(e)?e.some(function(e){H(e,t)}):t.push(e)),t}function W(e,t,n){"-"==t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||P.test(t)?n:n+"px"}function F(e,t,n,r,o){var i,a;e:if("style"==t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||W(e.style,t,"");if(n)for(t in n)r&&n[t]==r[t]||W(e.style,t,n[t])}else if("o"==t[0]&&"n"==t[1])i=t!=(t=t.replace(b,"$1")),t=(a=t.toLowerCase())in e||"onFocusOut"==t||"onFocusIn"==t?a.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n[g]=r[g]:(n[g]=y,e.addEventListener(t,i?k:w,i)):e.removeEventListener(t,i?k:w,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&"popover"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!=t[4]?e.removeAttribute(t):e.setAttribute(t,"popover"==t&&1==n?"":n))}}function R(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t[m])t[m]=y++;else if(t[m]<n[g])return;return n(s.event?s.event(t):t)}}}function z(e,t,n,o,i,a,l,c,f,d){var _,p,h,v,m,g,b,y,w,k,S,P,A,I,U,L,H=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(f=!!(32&n.__u),a=[c=t.__e=n.__e]),(_=s.__b)&&_(t);e:if("function"==typeof H){p=l.length;
58try{if(w=t.props,k=H.prototype&&H.prototype.render,S=(_=H.contextType)&&o[_.__c],P=_?S?S.props.value:_.__:o,n.__c?y=(h=t.__c=n.__c).__=h.__E:(k?t.__c=h=new H(w,P):(t.__c=h=new E(w,P),h.constructor=H,h.render=V),S&&S.sub(h),h.state||(h.state={}),h.__n=o,v=h.__d=!0,h.__h=[],h._sb=[]),k&&null==h.__s&&(h.__s=h.state),k&&null!=H.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=x({},h.__s)),x(h.__s,H.getDerivedStateFromProps(w,h.__s))),m=h.props,g=h.state,h.__v=t,v)k&&null==H.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),k&&null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(k&&null==H.getDerivedStateFromProps&&w!==m&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(w,P),t.__v==n.__v||!h.__e&&null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(w,h.__s,P)){t.__v!=n.__v&&(h.props=w,h.state=h.__s,h.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(e){e&&(e.__=t)}),N.push.apply(h.__h,h._sb),h._sb=[],h.__h.length&&l.push(h),c=D(n);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(w,h.__s,P),k&&null!=h.componentDidUpdate&&h.__h.push(function(){h.componentDidUpdate(m,g,b)})}if(h.context=P,h.props=w,h.__P=e,h.__e=!1,A=s.__r,I=0,k)h.state=h.__s,h.__d=!1,A&&A(t),_=h.render(h.props,h.state,h.context),N.push.apply(h.__h,h._sb),h._sb=[];else do h.__d=!1,A&&A(t),_=h.render(h.props,h.state,h.context),h.state=h.__s;while(h.__d&&++I<25);h.state=h.__s,null!=h.getChildContext&&(o=x(x({},o),h.getChildContext())),k&&!v&&null!=h.getSnapshotBeforeUpdate&&(b=h.getSnapshotBeforeUpdate(m,g)),U=null!=_&&_.type===T&&null==_.key?function e(t){return"object"!=(void 0===t?"undefined":r(t))||null==t||t.__b>0?t:O(t)?t.map(e):void 0!==t.constructor?null:x({},t)}(_.props.children):_,c=M(e,O(U)?U:[U],t,n,o,i,a,l,c,f,d),h.base=t.__e,t.__u&=-161,h.__h.length&&l.push(h),y&&(h.__E=h.__=null)}catch(e){if(l.length=p,t.__v=null,f||null!=a){if(e.then){for(t.__u|=f?160:128;c&&8==c.nodeType&&c.nextSibling;)c=c.nextSibling;null!=a&&(a[a.indexOf(c)]=null),t.__e=c}else if(null!=a)for(L=a.length;L--;)j(a[L])}else t.__e=n.__e;null==t.__k&&(t.__k=n.__k||[]),e.then||function e(t){t&&(t.__c&&(t.__c.__e=!0),t.__k&&t.__k.some(e))}(t),s.__e(e,t,n)}}else null==a&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):c=t.__e=function(e,t,n,r,o,i,a,l,c){var f,d,_,p,h,v,m,g=n.props||C,b=t.props,y=t.type;if("svg"==y?o="http://www.w3.org/2000/svg":"math"==y?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),null!=i){for(f=0;f<i.length;f++)if((h=i[f])&&"setAttribute"in h==!!y&&(y?h.localName==y:3==h.nodeType)){e=h,i[f]=null;break}}if(null==e){if(null==y)return document.createTextNode(b);e=document.createElementNS(o,y,b.is&&b),l&&(s.__m&&s.__m(t,i),l=!1),i=null}if(null==y)g===b||l&&e.data==b||(e.data=b);else{if(i="textarea"==y&&null!=b.defaultValue?null:i&&u.call(e.childNodes),!l&&null!=i)for(g={},f=0;f<e.attributes.length;f++)g[(h=e.attributes[f]).name]=h.value;for(f in g)h=g[f],"dangerouslySetInnerHTML"==f?_=h:"children"==f||f in b||"value"==f&&"defaultValue"in b||"checked"==f&&"defaultChecked"in b||F(e,f,null,h,o);for(f in b)h=b[f],"children"==f?p=h:"dangerouslySetInnerHTML"==f?d=h:"value"==f?v=h:"checked"==f?m=h:l&&"function"!=typeof h||g[f]===h||F(e,f,h,g[f],o);if(d)l||_&&(d.__html==_.__html||d.__html==e.innerHTML)||(e.innerHTML=d.__html),t.__k=[];else if(_&&(e.innerHTML=""),M("template"==t.type?e.content:e,O(p)?p:[p],t,n,r,"foreignObject"==y?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&D(n,0),l,c),null!=i)for(f=i.length;f--;)j(i[f]);l&&"textarea"!=y||(f="value","progress"==y&&null==v?e.removeAttribute("value"):null==v||v===e[f]&&("progress"!=y||v)&&("option"!=y||v==g[f])||F(e,f,v,g[f],o),f="checked",null!=m&&m!=e[f]&&F(e,f,m,g[f],o))}return e}(n.__e,t,n,o,i,a,l,f,d);return(_=s.diffed)&&_(t),128&t.__u?void 0:c}function B(e,t,n){for(var r=0;r<n.length;r++)$(n[r],n[++r],n[++r]);s.__c&&s.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){s.__e(e,t.__v)}})}function $(e,t,n){try{if("function"==typeof e){var r="function"==typeof e.__u;r&&e.__u(),r&&null==t||(e.__u=e(t))}else e.current=t}catch(e){s.__e(e,n)}}
vendor: 1,071 bytes, line 58
58function V(e,t,n){return this.constructor(e,n)}function q(e,t,n){var r,o,i,a;t==document&&(t=document.documentElement),s.__&&s.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],a=[],z(t,e=(!r&&n||t).__k=A(T,null,[e]),o||C,C,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?u.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),B(i,e,a),e.props.children=null}u=N.slice,s={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(t){e=t}throw e}},f=0,E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=x({},this.state),"function"==typeof e&&(e=e(x({},n),this.props)),e&&x(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),U(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),U(this))},E.prototype.render=T,d=[],p="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 4,821 bytes, line 58
58ise.resolve()):setTimeout,h=function(e,t){return e.__v.__b-t.__v.__b},L.__r=0,m="__d"+(v=Math.random().toString(8)),g="__a"+v,b=/(PointerCapture)$|Capture$/i,y=0,w=R(!1),k=R(!0),S=0;var J,K,X,G,Q=0,Z=[],Y=s,ee=Y.__b,et=Y.__r,en=Y.diffed,er=Y.__c,eo=Y.unmount,ei=Y.__;function ea(e,t){Y.__h&&Y.__h(K,e,Q||t),Q=0;var n=K.__H||(K.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function el(e){return Q=1,ec(eb,e)}function ec(e,t,n){var r=ea(J++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):eb(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=K,!K.__f)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=!1,a=r.__c.props!==e;if(r.__c.__H.__.some(function(e){if(e.__N){o=!0;var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(a=!0)}}),i){var l=i.call(this,e,t,n);return o?l||a:l}return!o||a};K.__f=!0;var i=K.shouldComponentUpdate,a=K.componentWillUpdate;K.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}a&&a.call(this,e,t,n)},K.shouldComponentUpdate=o}return r.__N||r.__}function eu(e,t){var n=ea(J++,3);!Y.__s&&eg(n.__H,t)&&(n.__=e,n.u=t,K.__H.__h.push(n))}function es(e){return Q=5,ef(function(){return{current:e}},[])}function ef(e,t){var n=ea(J++,7);return eg(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ed(e,t){return Q=8,ef(function(){return e},t)}function e_(e){var t=K.context[e.__c],n=ea(J++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(K)),t.props.value):e.__}function ep(){for(var e;e=Z.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(ev),t.__h.some(em),t.__h=[]}catch(n){t.__h=[],Y.__e(n,e.__v)}}}Y.__b=function(e){K=null,ee&&ee(e)},Y.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),ei&&ei(e,t)},Y.__r=function(e){et&&et(e),J=0;var t=(K=e.__c).__H;t&&(X===K?(t.__h=[],K.__h=[],t.__.some(function(e){e.__N&&(e.__=e.__N),e.u=e.__N=void 0})):(t.__h.some(ev),t.__h.some(em),t.__h=[],J=0)),X=K},Y.diffed=function(e){en&&en(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Z.push(t)&&G===Y.requestAnimationFrame||((G=Y.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),eh&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,35);eh&&(t=requestAnimationFrame(n))})(ep)),t.__H.__.some(function(e){e.u&&(e.__H=e.u,e.u=void 0)})),X=K=null},Y.__c=function(e,t){t.some(function(e){try{e.__h.some(ev),e.__h=e.__h.filter(function(e){return!e.__||em(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],Y.__e(n,e.__v)}}),er&&er(e,t)},Y.unmount=function(e){eo&&eo(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(e){try{ev(e)}catch(e){t=e}}),n.__H=void 0,t&&Y.__e(t,n.__v))};var eh="function"==typeof requestAnimationFrame;function ev(e){var t=K,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),K=t}function em(e){var t=K;e.__c=e.__(),K=t}function eg(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function eb(e,t){return"function"==typeof t?t(e):t}function ey(e,t){for(var n in t)e[n]=t[n];return e}function ew(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ek(e,t){this.props=e,this.context=t}(ek.prototype=new E).isPureReactComponent=!0,ek.prototype.shouldComponentUpdate=function(e,t){return ew(this.props,e)||ew(this.state,t)};var eS=s.__b;s.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),eS&&eS(e)};var eC="u">typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911,eN=s.__e;s.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k||[]),o.__c(e,t)}eN(e,t,n,r)};var eP=s.unmount;function eO(){this.__u=0,this.o=null,this.__b=null}function ex(e){var t=e.__&&e.__.__c;return t&&t.__a&&t.__a(e)}function ej(){this.i=null,this.l=null}s.unmount=function(e){var t=e.__c;t&&(t.__z=!0),t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),eP&&eP(e)},(eO.prototype=new E).__c=function(e,t){var n=t.__c,r=this;null==r.o&&(r.o=[]),r.o.push(n);var o=ex(r.__v),i=!1,a=function(){i||r.__z||(i=!0,n.__R=null,o?o(c):c())};n.__R=a;var l=n.__P;n.__P=null;var c=function(){if(!--r.__u){if(r.state.__a){var e,t=r.state.__a;r.__v.__k[0]=function e(t,n,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)}),t.__c&&t.__c.__P===n&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}(t,t.__c.__P,t.__c.__O)}for(r.setState({__a:r.__b=null});e=r.o.pop();)e.__P=l,e.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},eO.prototype.componentWillUnmount=function(){this.o=[]},eO.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}
58),t.__c.__H=null),null!=(t=ey({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,r)})),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(T,null,e.fallback);return o&&(o.__u&=-33),[A(T,null,t.__a?null:e.children),o]};var eA=function(e,t,n){if(++n[1]===n[0]&&e.l.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.l.size))for(n=e.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.i=n=n[2]}};(ej.prototype=new E).__a=function(e){var t=this,n=ex(t.__v),r=t.l.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),eA(t,e,r)):o()};n?n(i):i()}},ej.prototype.render=function(e){this.i=null,this.l=new Map;var t=H(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.l.set(t[n],this.i=[1,0,this.i]);return e.children},ej.prototype.componentDidUpdate=ej.prototype.componentDidMount=function(){var e=this;this.l.forEach(function(t,n){eA(e,n,t)})};var eI="u">typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,eT=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,eE=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,eD=/[A-Z0-9]/g,eU="u">typeof document,eL=function(e){var t;return("u">typeof Symbol&&"symbol"==((t=Symbol())&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)?/fil|che|rad/:/fil|che|ra/).test(e)};E.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(E.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var eM=s.event;s.event=function(e){return eM&&(e=eM(e)),e.persist=function(){},e.isPropagationStopped=function(){return this.cancelBubble},e.isDefaultPrevented=function(){return this.defaultPrevented},e.nativeEvent=e};var eH,eW={configurable:!0,get:function(){return this.class}},eF=s.vnode;s.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={},o=-1==n.indexOf("-");for(var i in t){var a=t[i];if(!("value"===i&&"defaultValue"in t&&null==a||eU&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var l=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===a?a="":"translate"===l&&"no"===a?a=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?i="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||eL(t.type)?"onfocus"===l?i="onfocusin":"onblur"===l?i="onfocusout":eE.test(i)&&(i=l):l=i="oninput":o&&eT.test(i)?i=i.replace(eD,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===l&&r[i=l]&&(i="oninputCapture"),r[i]=a}}"select"==n&&(r.multiple&&Array.isArray(r.value)&&(r.value=H(t.children).forEach(function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)})),null!=r.defaultValue&&(r.value=H(t.children).forEach(function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",eW)):t.className&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=eI,eF&&eF(e)};var eR=s.__r;s.__r=function(e){eR&&eR(e),eH=e.__c};var ez=s.diffed;s.diffed=function(e){ez&&ez(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),eH=null};var eB=0;function e$(e,t,n,r,o,i){t||(t={});var a,l,c=t;if("ref"in c)for(l in c={},t)"ref"==l?a=t[l]:c[l]=t[l];var u={type:e,props:c,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--eB,__i:-1,__u:0,__source:o,__self:i};if("function"==typeof e&&(a=e.defaultProps))for(l in a)void 0===c[l]&&(c[l]=a[l]);return s.vnode&&s.vnode(u),u}var eV=((o={}).live="live",o.upcoming="upcoming",o.ended="ended",o),eq=((i={}).video="video-on-demand",i.livestream="livestream",i),eJ="da-DK",eK=function(e){return new Date(1e3*e).toLocaleTimeString(eJ,{hour:"2-digit",minute:"2-digit",hour12:!1}).replace(":",".")},eX=function(e){var t=new Date(1e3*e),n=t.toLocaleDateString(eJ,{day:"2-digit"}),r=t.toLocaleDateString(eJ,{month:"long"}),o=eK(e);return"".concat(n," ").concat(r,", kl. ").concat(o)},eG=function(e,t){var n=eK(e),r=eK(t);return"Fra kl. ".concat(n," - ").concat(r)};let eQ="Live",eZ=function(){var e=new Date;return e.setTime(e.getTime()+6048e5),e};var eY="da-DK",e0=function(e){var t;return null==(t=e.toLocaleTimeString(eY).split(/.\d{2}$/).shift())?void 0:t.replace(".",":")};let e1=function(e){var t=new Date(1e3*e),n=new Date;if(t<n)return null;var r=t.toLocaleDateString(eY),o=e0(t);if(r===n.toLocaleDateString(eY))return"".concat("I dag"," kl. ").concat(o);var i=new Date;if(i.setDate(n.getDate()+1),r===i.toLocaleDateString(eY))return"".concat("I morgen"," kl. ").concat(o);var a=eZ();if(t.getTime()>a.getTime())return new Date(1e3*e).toLocaleDateString(eJ,void 0).split(".").map(function(e){return e.padStart(2,"0")}).join(".");var l=t.toLocaleDateString(eY,{weekday:"long"}),c=l.charAt(0).toUpperCase()+l.slice(1);return"".concat(c," kl. ").concat(o)},e2=function(e){var t="";return null===e||(e===eV.live&&(t+=" video-state--live"),e===eV.live&&(t+=" video-state--play-icon")),t},e3=function(e){var t=e.label;return null!==t?e$("span",{className:"video-state__label",children:t}):null};function e5(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function e4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function e6(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
58)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var e8=function(e){function t(e){var n,r;return this.getChildContext||(n=new Set,(r={})[t.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(e){this.props.value!=e.value&&n.forEach(function(e){e.__e=!0,U(e)})},this.sub=function(e){n.add(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n&&n.delete(e),t&&t.call(e)}}),e.children}return t.__c="__cC"+S++,t.__=e,t.Provider=t.__l=(t.Consumer=function(e,t){return e.children(t)}).contextType=t,t}({});function e9(e){var t,n,r,o,i,a,l,c,u,s,f,d=e.count,_=void 0===d?1:d,p=e.wrapper,h=e.className,v=e.containerClassName,m=e.containerTestId,g=e.circle,b=e.style,y=function(e,t){if(null==e)return{};var n,r,o,i={};if("u">typeof Reflect&&Reflect.ownKeys){for(n=Reflect.ownKeys(Object(e)),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}if(i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.getOwnPropertyNames(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,t),Object.getOwnPropertySymbols)for(n=Object.getOwnPropertySymbols(e),o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}(e,["count","wrapper","className","containerClassName","containerTestId","circle","style"]),w=e_(e8),k=e4({},y),S=!0,C=!1,N=void 0;try{for(var P,O,x,j,I=Object.entries(y)[Symbol.iterator]();!(S=(j=I.next()).done);S=!0){var E,D=(E=j.value,function(e){if(Array.isArray(e))return e}(E)||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(E)||function(e){if(e){if("string"==typeof e)return e5(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return e5(e,2)}}(E)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),U=D[0],L=D[1];void 0===L&&delete k[U]}}catch(e){C=!0,N=e}finally{try{S||null==I.return||I.return()}finally{if(C)throw N}}var M=e6(e4({},w,k),{circle:void 0!==g&&g}),H=e4({},b,(t=M.baseColor,n=M.highlightColor,r=M.width,o=M.height,i=M.borderRadius,a=M.circle,l=M.direction,c=M.duration,u=M.enableAnimation,s=M.customHighlightBackgroun
58d,f={},"rtl"===l&&(f["--animation-direction"]="reverse"),"number"==typeof c&&(f["--animation-duration"]="".concat(c,"s")),void 0===u||u||(f["--pseudo-element-display"]="none"),("string"==typeof r||"number"==typeof r)&&(f.width=r),("string"==typeof o||"number"==typeof o)&&(f.height=o),("string"==typeof i||"number"==typeof i)&&(f.borderRadius=i),a&&(f.borderRadius="50%"),void 0!==t&&(f["--base-color"]=t),void 0!==n&&(f["--highlight-color"]=n),"string"==typeof s&&(f["--custom-highlight-background"]=s),f)),W="react-loading-skeleton";h&&(W+=" ".concat(h));for(var F=null!=(P=M.inline)&&P,R=[],z=Math.ceil(_),B=0;B<z;B++){var $=H;if(z>_&&B===z-1){var V=null!=(O=$.width)?O:"100%",q=_%1,J="number"==typeof V?V*q:"calc(".concat(V," * ").concat(q,")");$=e6(e4({},$),{width:J})}var K=A("span",{className:W,style:$,key:B},"â");F?R.push(K):R.push(A(T,{key:B},K,A("br",null)))}return A("span",{className:v,"data-testid":m,"aria-live":"polite","aria-busy":null==(x=M.enableAnimation)||x},p?R.map(function(e,t){return A(p,{key:t},e)}):R)}var e7=((a=e7||{})[a.mobile=0]="mobile",a[a.tablet=768]="tablet",a[a.widescreen=2048]="widescreen",a[a.ultraWide=3200]="ultraWide",a);let te=function(){return window.innerWidth<e7.tablet};var tt=te()||window.innerWidth>=e7.tablet;let tn=function(e){var t,n=document.querySelector("body .jfm-video-theme"),r=te()?318:350,o=te()?160:196;return("carousel"===e&&(r=te()?window.innerWidth:788,o=te()?300:442),"left-aligned"===e&&(r=tt?Math.round(.95*window.innerWidth):1600,o=te()?200:600,t=140),n)?{teaserWidth:r,teaserHeight:o,rightSideMobileHeight:t,videoHeight:te()?250:550,highlightColor:"#222224",baseColor:"#151516"}:{teaserWidth:r,teaserHeight:o,rightSideMobileHeight:t,videoHeight:te()?250:550}},tr=function(e){var t,n,r=e.url,o=e.animatedPreviews,i=e.className,a=e.maxWidth,l=e.fallbackImagePath,c=(t=o||[],n=a||640,0===t.length?{sizes:void 0,srcSet:void 0}:{sizes:"100vw",srcSet:t.sort(function(e,t){return Number(e.width)-Number(t.width)}).filter(function(e,t){return e.width<=n||0===t}).map(function(e){return"".concat(e.url," ").concat(e.width,"w")}).join(",")}),u=c.sizes,s=c.srcSet;return e$("img",{ref:ed(function(e){e&&(l&&(e.onerror=function(){e.onerror=null,e.src=l,e.srcset=""}),s&&e.setAttribute("srcset",s),e.setAttribute("src",r))},[l,r,s]),className:"".concat(i),alt:"video-thumbnail",loading:"lazy",sizes:u})},to=function(e,t){var n=e;return t?("/"===e.charAt(0)&&(n=e.slice(1)),"https://".concat(t,"/").concat(n)):e};var ti=tn();let ta=function(e){var t=e.state,n=e.link,r=e.publishedDate,o=e.imageUrl,i=e.headline,a=e.label,l=e.description,c=e.isPaid,u=e.modifiers,s=e.animatedPreviews,f=e.targetSiteId,d=e.fallbackImagePath;return e$("article",{className:"teaser ".concat(void 0===u?"":u," ").concat(t?e2(t):""),"aria-label":"Video Teaser","data-block-type":"video_teaser",children:e$("a",{className:"teaser__link",href:to(n||"",f),target:f?"_blank":"_self","aria-label":"Video link",rel:"noreferrer",children:[e$("picture",{className:"teaser__image video-state__image",children:[t===eV.upcoming&&r&&e$(e3,{label:e1(r)}),t===eV.live&&e$(e3,{label:eQ}),o&&e$(tr,{url:o,maxWidth:640,animatedPreviews:void 0===s?[]:s,fallbackImagePath:d})]}),e$("div",{className:"teaser__content",children:[e$("div",{className:"teaser__extra",children:[void 0===a?e$(e9,{width:100,baseColor:ti.baseColor,highlightColor:ti.highlightColor}):""===a?null:e$("span",{className:"label",children:a}),c&&i&&e$("span",{className:"plus",children:"For abonnenter"}),c&&!i&&e$(e9,{width:100,baseColor:ti.baseColor,highlightColor:ti.highlightColor})]}),e$("h3",{className:"teaser__title",children:null!=i?i:e$(e9,{count:1,baseColor:ti.baseColor,highlightColor:ti.highlightColor})}),void 0===l?e$("p",{className:"teaser__text teaser__text--crop",children:e$(e9,{count:2,baseColor:ti.baseColor,highlightColor:ti.highlightColor})}):""===l?e$("p",{className:"teaser__text teaser__text--crop"}):e$("p",{className:"teaser__text teaser__text--crop",dangerouslySetInnerHTML:{__html:l}})]})]})})};function tl(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){n(e);return}l.done?t(c):Promise.resolve(c).then(r,o)}var tc=function(e,t,n){var r;return(r=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:c(0)}),l(a,"throw",{value:c(1)}),l(a,"return",{value:c(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function c(l){return function(c){var u=[l,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,fetch(e,n
58)];case 1:return[2,r.sent()];case 2:return r.sent(),[2,new Promise(function(e){setTimeout(e,t)}).then(function(){return tc(e,t,n)})];case 3:return[2]}})},function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function a(e){tl(i,n,o,a,l,"next",e)}function l(e){tl(i,n,o,a,l,"throw",e)}a(void 0)})})()},tu="jfm.flowplayer.categories";let ts=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxLines,r=t.moreText,o=void 0===r?"L\xe6s mere":r,i=t.moreClassName,a=void 0===i?"read-more":i,l=t.ellipsis,c=void 0===l?"â¦":l,u=null!=(b=e.dataset.originalHtml)?b:e.innerHTML;e.dataset.originalHtml=u,e.innerHTML=u;var s=parseFloat(getComputedStyle(e).lineHeight||"0");if(!s)return!1;var f=Math.ceil(s*(void 0===n?3:n));if(e.scrollHeight<=f)return!1;for(var d=document.createTreeWalker(e,NodeFilter.SHOW_TEXT),_=[],p=d.nextNode();null!==p;)_.push(p),p=d.nextNode();for(var h=function(){var e=document.createDocumentFragment();e.appendChild(document.createTextNode("".concat(c," ")));var t=document.createElement("span");return t.className=a,t.textContent=o,t.setAttribute("data-clamp-more","1"),t.setAttribute("aria-hidden","true"),e.appendChild(t),e},v=function(){e.querySelectorAll('[data-clamp-more="1"]').forEach(function(e){return e.remove()})},m=function(e){Array.from(e.childNodes).forEach(function(e){var t;e.nodeType===Node.TEXT_NODE&&(null!=(t=e.nodeValue)?t:"")==="".concat(c," ")&&e.remove()})},g=_.length-1;g>=0;g--){var b,y,w=_[g],k=null!=(y=w.nodeValue)?y:"";if(k.trim()){for(;k.length>0;)if(w.nodeValue=(k=k.slice(0,-1)).trimEnd(),function(t){var n=t.parentNode;if(!n)return!1;v();var r=document.createComment("probe");n.insertBefore(r,t.nextSibling),n.insertBefore(h(),r);var o=e.scrollHeight<=f;return v(),m(n),r.remove(),o}(w))return!function(e){var t=e.parentNode;if(t){v();var n=e.nextSibling;t.insertBefore(document.createTextNode("".concat(c," ")),n);var r=document.createElement("span");r.className=a,r.textContent=o,r.setAttribute("data-clamp-more","1"),r.setAttribute("aria-hidden","true"),t.insertBefore(r,n)}}(w),!0;w.nodeValue=""}}return!0};var tf=function(e){var t=e.isPaid,n=e.children,r=e.large;return e$("div",{className:"video-extra ".concat(r?" video-extra--large":"").concat(void 0===n?" plus--display":""),children:[n,t&&e$("span",{className:"plus",children:"For abonnenter"})]})};tf.Label=function(e){var t=e.modifiers,n=e.children;return e$("span",{className:"label".concat(t?t.map(function(e){return" label--".concat(e)}):""),children:n})};var td=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.trim().toLowerCase()},t_={"amerikansk fodbold":"icon-sport-american-football",basketball:"icon-sport-basketball",floorball:"icon-sport-floorball",fodbold:"icon-sport-soccer",hÃ¥ndbold:"icon-sport-handball",ishockey:"icon-sport-ice-hockey",kampsport:"icon-sport-mma","padel & tennis":"icon-sport-padel",speedway:"icon-sport-speedway",volleyball:"icon-sport-volleyball","\xf8vrig sport":"icon-sport-other"};let tp=function(e){var t;return"icon ".concat(null!=(t=t_[td(e)])?t:"icon-sport-other"," icon-light-green")},th=function(e){var t=e.videoState,n=e.stateLabel,r=e.categoryName,o=e.showCategory,i=e.variant,a=e.paid,l=e.showStatus&&n?e$(tf.Label,{modifiers:[t===eV.live?"streaming":"upcoming"],children:n},"status"):null,c=o&&r?e$(tf.Label,{modifiers:["category"],children:[r,"slider"===i&&e$("span",{className:"video-extra__category-icon ".concat(tp(r))})]},"category"):null,u=(t===eV.live?[l,c]:[c,l]).filter(function(e){return!!e});return 0===u.length?null:e$(tf,{isPaid:a,children:u})},tv=function(e,t){if(!e||!t)return!0;var n=Math.floor(Date.now()/1e3);return n>=e&&n<t},tm=function(e){return ef(function(){return e?e.state===eV.live||e.state===eV.upcoming&&tv(e.broadcastStart,e.broadcastEnd)?eQ:e.state===eV.upcoming&&e.publishedDate?e1(e.publishedDate):null:null},[null==e?void 0:e.state,null==e?void 0:e.publishedDate])};var tg=tn(),tb=tg.baseColor,ty=tg.highlightColor;let tw=function(e){var t=e.blockClass;return e$("div",{className:t,children:[e$("div",{className:"".concat(t,"__background")}),e$("div",{className:"".concat(t,"__fader")}),e$("div",{className:"".concat(t,"__content"),children:[e$(e9,{containerClassName:"".concat(t,"__skeleton"),inline:!0,highlightColor:ty,baseColor:tb,height:te()?23:52,width:"80%"}),e$(e9,{containerClassName:"".concat(t,"__skeleton"),highlightColor:ty,baseColor:tb,height:te()?16:30,inline:!0,width:"100%"}),e$(e9,{containerClassName:"".concat(t,"__skeleton"),highlightColor:ty,baseColor:tb,height:te()?16:30,width:"90%",inline:!0})]})]})};function tk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tS(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){n(e);return}l.done?t(c):Promise.resolve(c).then(r,o)}function tC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function tN(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
58)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function tP(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tk(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tk(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var tO="single-video-teaser";let tx=function(e){var t,n=e.settings,r=n.apiEndpoint,o=n.apiSpecificEndpoint,i=n.expiryDate,a=n.specificMedia,l=n.specificType,c=n.type,u=n.videoLinkPattern,s=n.apiCategoriesUrl,f=n.teaserModifiers,d=n.showCategory,_=n.hideDescription,p=n.apiEndpointFallback,h=n.useFallback,v=n.compact,m=n.targetSiteId,g=n.fallbackImagePath,b=tP(el(!0),2),y=b[0],w=b[1],k=tP(el(void 0),2),S=k[0],C=k[1],N=tP(el(null),2),P=N[0],O=N[1],x=tP(el("#"),2),j=x[0],A=x[1],I=tP(el(void 0),2),T=I[0],E=I[1],D=(t=null==P?void 0:P.description)?null==t?void 0:t.replace(/(on\S+|style|target|class|id)=(?:(['"])([\s\S]*?)\2|([^\s>]+))/g,"").replace("<a",'<a target="_blank" '):"",U=es(null),L=ef(function(){if(P)return P.state===eV.upcoming&&tv(P.broadcastStart,P.broadcastEnd)?eV.live:null==P?void 0:P.state},[null==P?void 0:P.state,null==P?void 0:P.broadcastStart,null==P?void 0:P.broadcastEnd]),M=function(e,t){A(u.replace("[id]",e).replace("[type]",t))};eu(function(){var e=new Date().getTime(),t=i?Date.parse(i):0;if(t>e&&o){C({endPoint:o,isSpecific:!0}),setTimeout(function(){C({endPoint:r})},t-e);return}C({endPoint:r})},[]),eu(function(){var e;(e=function(){var e,t,n,o,i,u,s,f,d;return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:c(0)}),l(a,"throw",{value:c(1)}),l(a,"return",{value:c(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function c(l){return function(c){var u=[l,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(_){switch(_.label){case 0:if(!S)return[2];return e=S.endPoint,t=S.isSpecific,[4,tc(e,1e3)];case 1:if(n=_.sent(),t&&!n.ok)return C({endPoint:r}),[2];return[4,n.json()];case 2:if(!(o=_.sent()))return[2];if(null!==o&&t)return O(function(){return a?tN(tC({},o),{imageUrl:a}):o}),M(o.id,l),w(!1),[2];if((i=o.videos).length>0)return O(u=i.map(function(e){return tN(tC({},e),{date:e.publishedDate})})[0]),M(u.id,c),w(!1),[2];if(!h||!p)return w(!1),[2];return[4,tc(p,1e3)];case 3:if(!(s=_.sent()).ok)return w(!1),[2];return[4,s.json()];case 4:if((f=_.sent().videos).length>0)return O(d=f.map(function(e){return tN(tC({},e),{date:e.publishedDate})})[0]),M(d.id,c),w(!1),[2];return w(!1),[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){tS(i,r,o,a,l,"next",e)}function l(e){tS(i,r,o,a,l,"throw",e)}a(void 0)})})()},[S]),eu(function(){if(d||f)if(""===T&&P&&!P.categoryName){var e;(e=(null==P?void 0:P.categoryId)||"",new Promise(function(t){var n=sessionStorage.getItem(tu),r=n?JSON.parse(n):null,o=new Date().getTime()-3e5,i=new Date(null==r?void 0:r.date).getTime()<o;if(null===r||i)tc(s,1e3).then(function(n){n.json().then(function(n){var r=n.find(function(t){return t.id===e}),o={categories:n,date:new Date};sessionStorage.setItem(tu,JSON.stringify(o)),t(null==r?void 0:r.name)})});else{var a=r.categories.find(function(t){return t.id===e});t(null==a?void 0:a.name)}})).then(function(e){return E(null!=e?e:"")}
58)}else P&&P.categoryName?E(P.categoryName):E("")},[null==P?void 0:P.id]),eu(function(){var e=null,t=U.current;if(t){var n=function(){ts(t,{maxLines:3,moreText:"L\xe6s mere",moreClassName:"".concat(tO,"__read-more")})};n(),(e=new ResizeObserver(n)).observe(t)}return function(){null==e||e.disconnect()}},[D]);var H=tm(P);return y||P?f?e$(ta,{modifiers:f,publishedDate:null==P?void 0:P.publishedDate,headline:null==P?void 0:P.headline,imageUrl:null==P?void 0:P.imageUrl,label:T,link:j,state:L,description:D,isPaid:null==P?void 0:P.paid,animatedPreviews:null==P?void 0:P.animatedPreviews,targetSiteId:m,fallbackImagePath:g}):P?e$("a",{href:to(j,m),target:m?"_blank":"_self",rel:"noreferrer",children:e$("div",{className:"".concat(tO).concat(v?" ".concat(tO,"--compact"):""),children:[e$(tr,{url:(null==P?void 0:P.imageUrl)||"",animatedPreviews:null==P?void 0:P.animatedPreviews,className:"video-teaser__thumbnail ".concat(tO,"__background"),maxWidth:1300,fallbackImagePath:g}),e$("div",{className:"".concat(tO,"__fader")}),e$("div",{className:"".concat(tO,"__content"),children:[e$(th,{videoState:L,stateLabel:H,categoryName:T,showCategory:d,variant:null,paid:!!(null==P?void 0:P.paid),showStatus:!!H}),e$("h2",{className:"".concat(tO,"__title"),children:null==P?void 0:P.headline}),_?null:e$("p",{ref:U,className:"".concat(tO,"__description"),dangerouslySetInnerHTML:{__html:D}})]})]})}):e$(tw,{blockClass:tO}):e$("div",{class:"is-hidden",children:"Could not fetch video data."})},tj=function(e){var t=e.dataset,n=t.apiEndpoint,r=t.apiEndpointFallback,o=t.apiSpecificEndpoint,i=t.expiryDate,a=t.specificMedia,l=t.specificType,c=t.type,u=t.videoLinkPattern,s=t.apiCategoriesUrl,f=t.teaserModifiers,d=t.showCategory,_=t.currentSection,p=t.videoSection,h=t.targetSiteId,v=t.fallbackImagePath,m=e.hasAttribute("data-hide-description"),g=e.hasAttribute("data-compact");if(n)return{apiEndpoint:n,apiSpecificEndpoint:o,expiryDate:i,specificMedia:a,specificType:null!=l?l:"",type:null!=c?c:eq.livestream,videoLinkPattern:null!=u?u:"",apiCategoriesUrl:null!=s?s:"",teaserModifiers:f,showCategory:"1"===d,hideDescription:m,compact:g,apiEndpointFallback:r,useFallback:_===p,targetSiteId:h||null,fallbackImagePath:v}},tA=function(){var e=document.querySelectorAll(".flowplayer-teaser-block");if(!(e.length<=0)){var t=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){var n=tj(e.target);q(n?e$(tx,{settings:n}):e$("p",{className:"is-hidden",children:"Block settings not found"}),e.target),t.unobserve(e.target)}})});e.forEach(function(e){return t.observe(e)})}},tI=function(e){var t=e.getAttribute("data-content-type"),n=e.getAttribute("data-livestream-list-api"),r=e.getAttribute("data-vod-list-api"),o=e.getAttribute("data-video-url"),i=e.getAttribute("data-see-all-url"),a=e.getAttribute("data-list-title"),l="1"===e.getAttribute("data-show-categories"),c=e.getAttribute("data-api-categories-url"),u=e.getAttribute("data-target-site-id")||null,s=e.getAttribute("data-variant")||null,f=e.hasAttribute("data-show-description"),d=e.getAttribute("data-fallback-image-path")||null;if(t&&null!=i&&o&&c&&(t!==eq.video||r)&&(t!==eq.livestream||n))return{videoType:t,url:t===eq.video?r:n,seeAllPageUrl:(null==i?void 0:i.length)===0?null:i,blockTitle:a,videoUrl:o,showCategories:l,apiCategoriesUrl:c,targetSiteId:u,variant:s,showDescription:f,fallbackImagePath:d}};function tT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let tE=function(){var e,t=function(e){if(Array.isArray(e))return e}(e=el("u">typeof window&&window.matchMedia("(min-width: 1024px)").matches))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(e)||function(e){if(e){if("string"==typeof e)return tT(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tT(e,2)}}
58(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=t[0],r=t[1];return eu(function(){var e=window.matchMedia("(min-width: 1024px)"),t=function(e){return r(e.matches)};return e.addEventListener("change",t),function(){e.removeEventListener("change",t)}},[]),n},tD=function(e){var t=e.message,n=e.variant;return e$("div",{className:"video__inner-overlay ".concat("cancelled"===n&&"video__inner-overlay--cancelled"),children:t})},tU=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"".concat(e," ").concat(n.filter(Boolean).map(function(t){return"".concat(e,"--").concat(t)}).join(" "))},tL=function(e){var t=e.showLabel,n=e.image,r=e.label,o=e.animatedPreviews,i=e.variant,a=e.fallbackImagePath,l=e.isCancelled,c=tn(i),u=null===n;return e$("picture",{className:"".concat(tU("video-teaser__image",null!==n&&"shadow",u&&"skeleton")," video-state__image"),children:u?e$(e9,{width:c.teaserWidth,height:c.teaserHeight,baseColor:c.baseColor,highlightColor:c.highlightColor}):e$(T,{children:[e$("div",{class:"video-teaser__height"}),t&&!l?e$(e3,{label:r}):null,l&&e$(tD,{variant:"cancelled"}),e$(tr,{className:"video-teaser__thumbnail",url:n,animatedPreviews:o.length?o:void 0,fallbackImagePath:a})]})})};function tM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}let tH=function(e){var t,n=e.broadcastStart,r=e.broadcastEnd,o=function(e){if(Array.isArray(e))return e}(t=el(0))||function(e){var t,n,r=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o=[],i=!0,a=!1;try{for(r=r.call(e);!(i=(t=r.next()).done)&&(o.push(t.value),2!==o.length);i=!0);}catch(e){a=!0,n=e}finally{try{i||null==r.return||r.return()}finally{if(a)throw n}}return o}}(t)||function(e){if(e){if("string"==typeof e)return tM(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return tM(e,2)}}(t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],a=o[1];return eu(function(){var e=function(){if(null!==n&&null!==r){var e=Date.now()/1e3,t=r-n;a(Math.min(Math.max((e-n)/t*100,0),100))}};e();var t=setInterval(e,1e3);return function(){return clearInterval(t)}},[n,r]),e$("div",{class:"video-teaser-progress",children:e$("div",{className:"video-teaser-progress__bar",style:{width:"".concat(i,"%")}})})},tW=function(e){var t=e.type,n=e.title,r=e.image,o=e.date,i=e.state,a=e.url,l=e.broadcastStart,c=e.broadcastEnd,u=e.paid,s=e.categoryName,f=e.showCategory,d=e.animatedPreviews,_=e.targetSiteId,p=e.variant,h=e.description,v=e.showDescription,m=e.fallbackImagePath,g=e.tags,b="carousel"===p||"left-aligned"===p,y="carousel"===p||"left-aligned"===p?p:"slider",w="left-aligned"===p,k=tE(),S=!!(null==g?void 0:g.some(function(e){return e.toLowerCase().includes("aflyst")}
58))&&"slider"===p,C=i===eV.upcoming&&tv(l,c)?eV.live:i,N=function(){if(!l)return!0;var e=new Date(1e3*l),t=eZ();return e.getTime()<=t.getTime()}(),P=t===eq.livestream&&C!==eV.ended,O=t===eq.video||t===eq.livestream&&C===eV.ended,x=ef(function(){var e=null,t="";return O&&o?t=eX(o):eV.live===C&&P&&tv(l,c)?(e=eQ,t=eG(l,c)):eV.upcoming===C&&P&&o&&(e=e1(o),t=eX(o)),{stateLabel:e,formattedDateTime:t}},[C,o,O,P,l,c]),j=x.stateLabel,A=x.formattedDateTime,I=!!j&&b,T=tn(y);return e$("div",{className:"video-teaser ".concat(p,"--container"),children:[e$("a",{className:"video-teaser".concat(e2(C)," video-teaser--").concat(p," ").concat(S&&"video-teaser--cancelled"),href:to(a||"/",_),target:_?"_blank":"_self",rel:"noreferrer",children:[e$(tL,{image:r,label:j,showLabel:P&&!b&&N,animatedPreviews:d,variant:y,fallbackImagePath:m,isCancelled:S}),eV.live===C&&"carousel"!==y&&e$(tH,{broadcastStart:l,broadcastEnd:c}),e$("div",{className:"video-teaser__content",children:[S&&e$("span",{className:"video-teaser__cancelled-chip",children:"Aflyst"}),e$(th,{videoState:C,stateLabel:j,categoryName:s,showCategory:f,variant:p,paid:u,showStatus:I}),e$("h3",{className:"video-teaser__title",children:null!=n?n:e$(e9,{width:T.teaserWidth,count:3,baseColor:T.baseColor,highlightColor:T.highlightColor})}),!w&&e$("div",{children:[(O||P)&&o&&e$("div",{className:"video-teaser__date",children:A}),v&&e$("div",{className:"video-teaser__description",children:h})]})]})]}),w&&(n?e$("div",{className:"video-teaser-right-side__content",children:[s&&e$("div",{className:"video-teaser-right-side__category",children:[s," ",e$("span",{className:"video-extra__category-icon ".concat(tp(s))})]}),e$(k?"h1":"h4",{className:"video-teaser-right-side__title",children:n}),v&&h&&e$("p",{className:"video-teaser-right-side__description",children:h}),o&&e$("div",{className:"video-teaser-right-side__date",children:A})]}):e$("div",{className:"video-teaser-right-side__skeleton",children:e$(e9,{width:"100%",baseColor:T.baseColor,highlightColor:T.highlightColor,height:te()?T.rightSideMobileHeight:T.teaserHeight})}))]})};var tF={slider:{arrows:!1,pagination:!1,drag:"free",fixedWidth:te()?290:350},carousel:{arrows:!0,pagination:!0,type:"loop",autoplay:!1,keyboard:!0,snap:!0,focus:"center",gap:"12px",speed:600,fixedWidth:te()?window.innerWidth:window.innerWidth>=e7.ultraWide?1250:window.innerWidth>=e7.widescreen?1071:788,classes:{pagination:"splide__pagination video-teaser-list__pagination",arrows:"splide__arrows video-teaser-list__arrows",arrow:"splide__arrow video-teaser-list__arrow"}},"left-aligned":{arrows:!0,pagination:!0,type:"loop",autoplay:!1,keyboard:!0,snap:!0,focus:0,gap:"12px",speed:600,fixedWidth:te()?"97vw":"85%",classes:{pagination:"splide__pagination video-teaser-list__pagination",arrows:"splide__arrows video-teaser-list__arrows",arrow:"splide__arrow video-teaser-list__arrow"}}};function tR(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tz=((l={}).xxl="xxlarge",l.xl="xlarge",l.lg="large",l.md="medium",l.sm="small",l.xs="xsmall",l.xxs="xxsmall",l),tB=(tR(c={},"xxsmall",10),tR(c,"xsmall",16),tR(c,"small",20),tR(c,"medium",24),tR(c,"large",28),tR(c,"xlarge",32),tR(c,"xxlarge",36),c);let t$=function(e){var t=e.size,n=void 0===t?"medium":t,r=e.className,o=e.children,i=e.viewport,a=e.fill,l=e.onClick;return e$("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:i,height:tB[n],width:tB[n],style:"min-width: ".concat(tB[n],"px"),className:"icon--".concat(n).concat(r?" ".concat(r):""),fill:a||"currentColor",onClick:l,children:o})},tV=function(e){return e$(t$,{size:e.size,className:e.className,fill:"none",viewport:"0 0 24 24",children:e$("path",{d:"M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z",fill:"currentColor"})})},tq=function(e){return e$(t$,{size:e.size,className:e.className,fill:"none",viewport:"0 0 24 24",children:e$("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",fill:"currentColor"})})},tJ=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:tF.slider;if(e){var o=e.querySelector(".splide");o&&n.e(11).then(n.bind(n,5734)).then(function(e){var n=new e.Splide(o,r);n.on("arrows:mounted",function(e,t){e.innerHTML="",t.innerHTML="",q(e$(tV,{size:tz.xl}),e),q(e$(tq,{size:tz.xl}),t)}),t&&t(n),n.mount()})}};var tK=n(5072),tX=n.n(tK),tG=n(7825),tQ=n.n(tG),tZ=n(7659),tY=n.n(tZ),t0=n(5056),t1=n.n(t0),t2=n(540
58),t3=n.n(t2),t5=n(1113),t4=n.n(t5),t6=n(2348),t8={};function t9(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t7(e,t,n,r,o,i,a){try{var l=e[i](a),c=l.value}catch(e){n(e);return}l.done?t(c):Promise.resolve(c).then(r,o)}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function nt(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}function nn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return t9(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t9(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t8.styleTagTransform=t4(),t8.setAttributes=t1(),t8.insert=tY().bind(null,"head"),t8.domAPI=tQ(),t8.insertStyleElement=t3(),tX()(t6.A,t8),t6.A&&t6.A.locals&&t6.A.locals;let nr=function(e){var t,n=e.videoType,r=e.url,o=e.seeAllPageUrl,i=e.blockTitle,a=e.videoUrl,l=e.showCategories,c=e.apiCategoriesUrl,u=e.targetSiteId,s=e.variant,f=void 0===s?"slider":s,d=e.showDescription,_=e.fallbackImagePath,p=es(null),h=nn(el(!1),2),v=h[0],m=h[1],g=nn(el((t=f||"slider",Array(8).fill({type:n,date:null,duration:null,image:null,state:null,title:null,variant:t,categoryName:null}))),2),b=g[0],y=g[1],w=nn(el([]),2),k=w[0],S=w[1];eu(function(){new Promise(function(e){var t=sessionStorage.getItem(tu),n=t?JSON.parse(t):null,r=new Date().getTime()-3e5,o=new Date(null==n?void 0:n.date).getTime()<r;null===n||o||e(n.categories),tc(c,1e3).then(function(t){t.json().then(function(t){var n={categories:t,date:new Date};sessionStorage.setItem(tu,JSON.stringify(n)),e(t)})})}).then(function(e){return S(e)})},[]),eu(function(){var e;(e=function(){return function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),l=Object.defineProperty;return l(a,"next",{value:c(0)}),l(a,"throw",{value:c(1)}),l(a,"return",{value:c(2)}),"function"==typeof Symbol&&l(a,Symbol.iterator,{value:function(){return this}}),a;function c(l){return function(c){var u=[l,c];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=(o=i.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=t.call(e,i)}catch(e){u=[6,e],r=0}finally{n=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}(this,function(e){switch(e.label){case 0:return[4,tc(r,1e3)];case 1:return[4,e.sent().json()];case 2:return y(e.sent().videos.map(function(e){return nt(ne({},e),{image:e.imageUrl,date:e.publishedDate,title:e.headline,url:"".concat(a).concat(e.id),categoryName:void 0,showCategory:l,targetSiteId:u,variant:f,broadcastStart:e.broadcastStart||0,broadcastEnd:e.broadcastEnd||0,tags:e.tags})})),m(!0),[2]}})},function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(e){t7(i,r,o,a,l,"next",e)}function l(e){t7(i,r,o,a,l,"throw",e)}a(void 0)})})()},[r]),eu(function(){if(v){var e=f?tF[f]:tF.slider;tJ(p.current,null,e)}},[v]);
58var C=function(e){var t;return l?null==(t=k.find(function(t){return t.id===e}))?void 0:t.name:void 0};return e$("div",{className:"video-teaser-list".concat(f?" video-teaser-list--".concat(f):""),ref:p,children:[((null==i?void 0:i.trim())!==""||null!==o)&&e$("div",{class:"video-teaser-list__top",children:[e$("h2",{className:"video-teaser-list__title",children:i}),o&&e$("a",{href:to(o,u),target:u?"_blank":"_self",class:"video-teaser-list__link",rel:"noreferrer",children:"".concat("Se mere"," >")})]}),e$("div",{class:"splide",children:e$("div",{class:"splide__track",children:e$("ul",{class:"splide__list",children:b.map(function(e){return e$("li",{className:"video-teaser-list__item splide__slide",children:e$(tW,nt(ne({},e),{showDescription:d,targetSiteId:u,categoryName:C(e.categoryId),variant:f||"slider",fallbackImagePath:null!=_?_:void 0}))},e.url)})})})})]})},no=function(){var e=document.querySelectorAll(".jfm-video-list-block");if(!(e.length<=0)){var t=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){var n=tI(e.target);q(n?e$(nr,{videoType:n.videoType,url:n.url,seeAllPageUrl:n.seeAllPageUrl,blockTitle:n.blockTitle,videoUrl:n.videoUrl,showCategories:n.showCategories,apiCategoriesUrl:n.apiCategoriesUrl,targetSiteId:n.targetSiteId,variant:n.variant,showDescription:n.showDescription,fallbackImagePath:n.fallbackImagePath}):e$("p",{className:"is-hidden",children:"Block settings not found"}),e.target),t.unobserve(e.target)}})});e.forEach(function(e){return t.observe(e)})}};function ni(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function na(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ni(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ni(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var nl="single-video-teaser";let nc=function(e){var t=e.settings,n=t.apiEndpoint,r=t.videoLinkPattern,o=t.targetSiteId,i=t.fallbackImagePath,a=na(el(!0),2),l=a[0],c=a[1],u=na(el(null),2),s=u[0],f=u[1],d=na(el("#"),2),_=d[0],p=d[1],h=function(e,t){p(r.replace("[id]",e).replace("[type]",t))};eu(function(){tc(n,1e3).then(function(e){return e.json()}).then(function(e){if(e){var t=e.videos.filter(function(e){return e.state!==eV.ended});if(t.length>0){f(t[0]),h(t[0].id,eq.livestream),c(!1);return}c(!1)}})},[]);var v=tm(s);return l||s?s?e$("a",{href:to(_,o),target:o?"_blank":"_self",rel:"noreferrer",children:e$("div",{className:nl,children:[e$(tr,{url:(null==s?void 0:s.imageUrl)||"",className:"video-teaser__thumbnail ".concat(nl,"__background"),maxWidth:1300,fallbackImagePath:i}),e$("div",{className:"".concat(nl,"__fader")}),e$("div",{className:"".concat(nl,"__content"),children:[e$(th,{videoState:s.state,stateLabel:v,categoryName:null,showCategory:!1,variant:null,paid:!!s.paid,showStatus:!!v}),e$("h2",{className:"".concat(nl,"__title"),children:null==s?void 0:s.headline})]})]})}):e$(tw,{blockClass:nl}):e$("div",{class:"is-hidden",children:"Could not fetch video data."})},nu=function(){var e=document.querySelectorAll(".flowplayer-currently-live-or-upcoming-block");if(!(e.length<=0)){var t=new IntersectionObserver(function(e,t){e.forEach(function(e){if(e.isIntersecting){var n=tj(e.target);q(n?e$(nc,{settings:n}):e$("p",{className:"is-hidden",children:"Block settings not found"}),e.target),t.unobserve(e.target)}})});e.forEach(function(e){return t.observe(e)})}},ns=function(e){return e$(t$,{size:e.size,className:e.className,onClick:e.onClick,viewport:"0 0 24 24",children:e$("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",fill:"
58currentColor"})})};function nf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function nd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nf(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}let n_=function(e){var t=e.onInput,n=e.onSubmit,r=e.value,o=nd(el(!1),2),i=o[0],a=o[1],l=nd(el(null!=r?r:""),2),c=l[0],u=l[1],s=es(null);eu(function(){u(null!=r?r:"")},[r]);var f=function(e){u(e),t(e)},d=i&&c.length>0;return e$("form",{className:"search",onSubmit:function(e){e.preventDefault(),n()},children:[e$("input",{ref:s,className:"search__input",type:"search",placeholder:"Hvad leder du efter?",value:c,onInput:function(e){return f(e.currentTarget.value)},onFocus:function(){return a(!0)},onBlur:function(){return a(!1)}}),e$("button",{type:"button",className:"search__clear".concat(d?" search__clear--visible":""),onMouseDown:function(e){return e.preventDefault()},onClick:function(){var e;u(""),t(""),null==(e=s.current)||e.focus()},"aria-label":"Ryd s\xf8gefelt",children:e$(ns,{size:tz.md})}),!te()&&e$("button",{className:"search__button",name:"Search",type:"submit","aria-label":"S\xf8g",children:e$("span",{className:"icon icon-search"})})]})};var np=/&searchQuery=(.*?)(?=&|$)/,nh=function(e){var t;return(null==(t=e.match(np))?void 0:t[1].length)===0};let nv=function(){var e=document.querySelectorAll(".jfm-video-search-block");e.length<=0||e.forEach(function(e){var t=e.dataset,n=t.searchPageUrl,r=t.searchQueryPlaceholder;if(n&&r){var o=n;q(e$(n_,{onInput:function(e){o=n.replace(r,e)},onSubmit:function(){nh(o)||n!==o&&(window.location.href=o)}}),e)}})};window.addEventListener("DOMContentLoaded",function(){tA(),nv(),no(),nu()},{once:!0})}},o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var n=o[e]={id:e,exports:{}};return r[e](n,n.exports,i),n.exports}i.m=r,i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t,n)=>{var r=(t,n)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,[n]:t[r]})};r(t,"get"),r(n,"value")},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce((t,n)=>(i.f[n](e,t),t),[])),i.u=e=>""+e+".js",i.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},i.l=function(e,t,n,r){if(a[e])return void a[e].push(t);if(void 0!==n)for(var o,l,c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var s=c[u];if(s.getAttribute("src")==e||s.getAttribute("data-rspack")=="jfm-site:"+n){o=s;break}}o||(l=!0,(o=document.createElement("script")).timeout=120,i.nc&&o.setAttribute("nonce",i.nc),o.setAttribute("data-rspack","jfm-site:"+n),o.src=e),a[e]=[t];var f=function(t,n){o.onerror=o.onload=null,clearTimeout(d);var r=a[e];if(delete a[e],o.parentNode&&o.parentNode.removeChild(o),r&&r.forEach(function(e){return e(n)}),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=f.bind(null,o.onerror),o.onload=f.bind(null,o.onload),l&&document.head.appendChild(o)},i.nc=void 0,i.g.importScripts&&(l=i.g.location+"");var a,l,c=i.g.document;if(!l&&c&&(c.currentScript&&"SCRIPT"===c.currentScript.tagName.toUpperCase()&&(l=c.currentScript.src),!l)){var u=c.getElementsByTagName("script");if(u.length)for(var s=u.length-1;s>-1&&(!l||!/^http(s?):/.test(l));)l=u[s--].src}if(!l)throw Error("Automatic publicPath is not supported in this browser");i.p=l=l.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),e={759:0},i.f.j=function(t,n){var r=i.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise((n,o)=>
vendor: 640 bytes, line 58
58r=e[t]=[n,o]);n.push(r[2]=o);var a=i.p+i.u(t),l=Error();i.l(a,function(n){if(i.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,r[1](l)}},"chunk-"+t,t)}},t=(t,n)=>{var r,o,[a,l,c]=n,u=0;if(a.some(t=>0!==e[t])){for(r in l)i.o(l,r)&&(i.m[r]=l[r]);c&&c(i)}for(t&&t(n);u<a.length;u++)o=a[u],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(n=self.rspackChunkjfm_site=self.rspackChunkjfm_site||[]).forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n)),jfmFlowplayerVideoBlocks=i(7942)})();
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.