PageSourceSearch

https://palestra.pl/pl/810-es5.9fb33b7fb54a18bea257.js

js palestra.pl collected 2026-10-02 07:44:25 UTC 174,864 bytes, 1 lines download raw bytes

1!function(){var t,e,n,i;function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&o(t,e)}function o(t,e){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},o(t,e)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}();return function(){var n,i=c(t);if(e){var r=c(this).constructor;n=Reflect.construct(i,arguments,r)}else n=i.apply(this,arguments);return u(this,n)}}function u(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function s(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t,e,n){return e&&f(t.prototype,e),n&&f(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(self.webpackChunkpalestra_pl_ui=self.webpackChunkpalestra_pl_ui||[]).push([[810],{35532:function(t,e,n){"use strict";n.d(e,{j:function(){return c}});var i=n(88720),r=n(38583),o=n(68307),a=n(56481);String.prototype.splitFirstOccurance=function(t){var e=new Array;return e[0]=this.substring(0,this.indexOf(t)),e[1]=this.substring(this.indexOf(t)),e};var u,c=((u=function(){function t(e,n,i){var a=this;l(this,t),this.elref=e,this.certificatesLogger=n,this.platformId=i,(0,r.NF)(this.platformId)&&(this.certificatesSub=this.certificatesLogger.canLoadFields.pipe((0,o.b)(function(){return a.generateButtons()})).subscribe())}return d(t,[{key:"generateButtons",value:function(){this.addButtonsToText(this.elref.nativeElement.firstChild),this.certificatesLogger.contentLoaded()}},{key:"addButtonsToText",value:function(t){for(var e=t.querySelectorAll("p"),n=1,i=e.length;n<=i;n+=2){var r=e[n];r&&(r=this.generateButtonPerParagraph(r,n))}}},{key:"filterForbiddenWords",value:function(t){return"<strong>"!==t&&"</strong>"!==t&&"<a>"!==t||"</a>"!==t||"&nbsp;"!==t||"<span>"!==t||"</span>"!==t}},{key:"generateButtonPerParagraph",value:function(t,e){e=0===e?1:e;var n=t;if(n){var i=n.querySelector(".footnote");i&&i.remove();var r=n.innerText.split(" "),o=r.length-1,a=Math.floor(Math.random()*(o-0))+0,u=r[a];a=0===a?1:a;var c=(new Date).getTime()/e*a;return u.length>3&&(t.innerHTML=t.innerHTML.splitFirstOccurance(u).join('<span class="certification-button" data-certification="'.concat(c,'"></span>'))),t}}},{key:"ngOnDestroy",value:function(){this.certificatesSub&&this.certificatesSub.unsubscribe()}}]),t}()).\u0275fac=function(t){return new(t||u)(i.Y36(i.SBq),i.Y36(a.X),i.Y36(i.Lbi))},u.\u0275dir=i.lG2({type:u,selectors:[["","certificationButtons",""]]}),u)},59458:function(){"undefined"!=typeof window&&(window.jwplayer=function(t){function e(e){for(var n,r,o=e[0],a=e[1],u=0,s=[];u<o.length;u++)i[r=o[u]]&&s.push(i[r][0]),i[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(c&&c(e);s.length;)s.shift()()}var n={},i={0:0};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.e=function(t){var e,n=[],o=i[t];if(0!==o)if(o)n.push(o[2]);else{var a=new Promise(function(e,n){o=i[t]=[e,n]});n.push(o[2]=a);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=55,r.nc&&c.setAttribute("nonce",r.nc),c.src=r.p+""+({1:"jwplayer.amp",2:"jwplayer.controls",3:"jwplayer.controls.tizen",4:"jwplayer.core",5:"jwplayer.core.controls",6:"jwplayer.core.controls.html5",7:"jwplayer.core.controls.polyfills",8:"jwplayer.core.controls.polyfills.html5",9:"polyfills.intersection-observer",10:"polyfills.webvtt",11:"provider.airplay",12:"provider.cast",13:"provider.flash",14:"provider.hlsjs",15:"provider.hlsjs-progressive",16:"provider.html5",17:"provider.shaka",18:"related",19:"vttparser"}[e=t]||e)+".js",u=function(e){c.onerror=c.onload=null,clearTimeout(s);var n=i[t];if(0!==n){if(n){var r=e&&("load"===e.type?"missing":e.type),o=e&&e.target&&e.target.src,a=new Error("Loading chunk "+t+" failed.\n("+r+": "+o+")");a.type=r,a.request=o,n[1](a)}i[t]=void 0}};var s=setTimeout(function(){u({type:"timeout",target:c})},55e3);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(n)},r.m=t,r.c=n,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e||4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,(function(e){return t[e]}).bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r.oe=function(t){throw console.error(t),t};var o=window.webpackJsonpjwplayer=window.webpackJsonpjwplayer||[],a=o.push.bind(o);o.push=e,o=o.slice();for(var u=0;u<o.length;u++)e(o[u]);var c=a;return r(r.s=51)}([function(t,e,n){"use strict";n.d(e,"i",function(){return j}),n.d(e,"A",function(){return x}),n.d(e,"F",function(){return T}),n.d(e,"l",function(){return S}),n.d(e,"k",function(){return M}),n.d(e,"a",function(){return q}),n.d(e,"b",function(){return F}),n.d(e,"G",function(){return N}),n.d(e,"n",function(){return B}),n.d(e,"H",function(){return V}),n.d(e,"e",function(){return J}),n.d(e,"J",function(){return U}),n.d(e,"m",function(){return W}),n.d(e,"h",function(){return H}),n.d(e,"p",function(){return X}),n.d(e,"c",function(){return $}),n.d(e,"C",function(){return et}),n.d(e,"I",function(){return rt}),n.d(e,"q",function(){return ut}),n.d(e,"g",function(){return ct}),n.d(e,"j",function(){return st}),n.d(e,"D",function(){return lt}),n.d(e,"w",function(){return dt}),n.d(e,"t",function(){return ht}),n.d(e,"v",function(){return gt}),n.d(e,"x",function(){return vt}),n.d(e,"s",function(){return bt}),n.d(e,"u",function(){return mt}),n.d(e,"r",function(){return yt}),n.d(e,"y",function(){return wt}),n.d(e,"o",function(){return jt}),n.d(e,"d",function(){return kt}),n.d(e,"E",function(){return xt}),n.d(e,"B",function(){return Ct}),n.d(e,"z",function(){return Tt});var i=n(18),r={},o=Array.prototype,a=Object.prototype,u=o.slice,c=o.concat,s=a.toString,l=a.hasOwnProperty,f=o.map,d=o.reduce,p=o.forEach,h=o.filter,g=o.every,v=o.some,b=o.indexOf,m=Array.isArray,y=Object.keys,w=Function.prototype.bind,O=window.isFinite,j=function(t,e,n){var i,o;if(null==t)return t;if(p&&t.forEach===p)t.forEach(e,n);else if(t.length===+t.length){for(i=0,o=t.length;i<o;i++)if(e.call(n,t[i],i,t)===r)return}else{var a=ot(t);for(i=0,o=a.length;i<o;i++)if(e.call(n,t[a[i]],a[i],t)===r)return}return t},k=j,x=function(t,e,n){var i=[];return null==t?i:f&&t.map===f?t.map(e,n):(j(t,function(t,r,o){i.push(e.call(n,t,r,o))}),i)},C=x,P="Reduce of empty array with no initial value",T=function(t,e,n,i){var r=arguments.length>2;if(null==t&&(t=[]),d&&t.reduce===d)return i&&(e=$(e,i)),r?t.reduce(e,n):t.reduce(e);if(j(t,function(t,o,a){r?n=e.call(i,n,t,o,a):(n=t,r=!0)}),!r)throw new TypeError(P);return n},I=T,A=T,S=function(t,e,n){var i;return F(t,function(t,r,o){if(e.call(n,t,r,o))return i=t,!0}),i},_=S,M=function(t,e,n){var i=[];return null==t?i:h&&t.filter===h?t.filter(e,n):(j(t,function(t,r,o){e.call(n,t,r,o)&&i.push(t)}),i)},E=M,q=function(t,e,n){e||(e=jt);var i=!0;return null==t?i:g&&t.every===g?t.every(e,n):(j(t,function(t,o,a){if(!(i=i&&e.call(n,t,o,a)))return r}),!!i)},Z=q,F=function(t,e,n){e||(e=jt);var i=!1;return null==t?i:v&&t.some===v?t.some(e,n):(j(t,function(t,o,a){if(i||(i=e.call(n,t,o,a)))return r}),!!i)},Q=F,N=function(t){return null==t?0:t.length===+t.length?t.length:ot(t).length},L=function(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},z=function(t){return null==t?jt:ht(t)?t:xt(t)},R=function(t){return function(e,n,i){var r={};return n=z(n),j(e,function(o,a){var u=n.call(i,o,a,e);t(r,u,o)}),r}},B=R(function(t,e,n){Ot(t,e)?t[e].push(n):t[e]=[n]}),Y=R(function(t,e,n){t[e]=n}),V=function(t,e,n,i){for(var r=(n=z(n)).call(i,e),o=0,a=t.length;o<a;){var u=o+a>>>1;n.call(i,t[u])<r?o=u+1:a=u}return o},J=function(t,e){return null!=t&&(t.length!==+t.length&&(t=at(t)),X(t,e)>=0)},D=J,U=function(t,e){return M(t,Ct(e))},W=function(t,e){return S(t,Ct(e))},H=function(t){var e=c.apply(o,u.call(arguments,1));return M(t,function(t){return!J(e,t)})},X=function(t,e,n){if(null==t)return-1;var i=0,r=t.length;if(n){if("number"!=typeof n)return t[i=V(t,e)]===e?i:-1;i=n<0?Math.max(0,r+n):n}if(b&&t.indexOf===b)return t.indexOf(e,n);for(;i<r;i++)if(t[i]===e)return i;return-1},K=function(){},$=function(t,e){var n,i;
1if(w&&t.bind===w)return w.apply(t,u.call(arguments,1));if(!ht(t))throw new TypeError;return n=u.call(arguments,2),i=function(){if(!(this instanceof i))return t.apply(e,n.concat(u.call(arguments)));K.prototype=t.prototype;var r=new K;K.prototype=null;var o=t.apply(r,n.concat(u.call(arguments)));return Object(o)===o?o:r}},G=function(t){var e=u.call(arguments,1);return function(){for(var n=0,i=e.slice(),r=0,o=i.length;r<o;r++)Ot(i[r],"partial")&&(i[r]=arguments[n++]);for(;n<arguments.length;)i.push(arguments[n++]);return t.apply(this,i)}},tt=G(L,2),et=function(t,e){var n={};return e||(e=jt),function(){var i=e.apply(this,arguments);return Ot(n,i)?n[i]:n[i]=t.apply(this,arguments)}},nt=function(t,e){var n=u.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},it=G(nt,{partial:G},1),rt=function(t,e,n){var i,r,o,a=null,u=0;n||(n={});var c=function(){u=!1===n.leading?0:Pt(),a=null,o=t.apply(i,r),i=r=null};return function(){u||!1!==n.leading||(u=Pt);var s=e-(Pt-u);return i=this,r=arguments,s<=0?(clearTimeout(a),a=null,u=Pt,o=t.apply(i,r),i=r=null):a||!1===n.trailing||(a=setTimeout(c,s)),o}},ot=function(t){if(!dt(t))return[];if(y)return y(t);var e=[];for(var n in t)Ot(t,n)&&e.push(n);return e},at=function(t){for(var e=ot(t),n=ot.length,i=Array(n),r=0;r<n;r++)i[r]=t[e[r]];return i},ut=function(t){for(var e={},n=ot(t),i=0,r=n.length;i<r;i++)e[t[n[i]]]=n[i];return e},ct=function(t){return j(u.call(arguments,1),function(e){if(e)for(var n in e)void 0===t[n]&&(t[n]=e[n])}),t},st=Object.assign||function(t){return j(u.call(arguments,1),function(e){if(e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])}),t},lt=function(t){var e={},n=c.apply(o,u.call(arguments,1));return j(n,function(n){n in t&&(e[n]=t[n])}),e},ft=m||function(t){return"[object Array]"==s.call(t)},dt=function(t){return t===Object(t)},pt=[];j(["Function","String","Number","Date","RegExp"],function(t){pt[t]=function(e){return s.call(e)=="[object "+t+"]"}}),pt.Function=function(t){return"function"==typeof t};var ht=pt.Function,gt=pt.Number,vt=pt.String,bt=function(t){return O(t)&&!mt(parseFloat(t))},mt=function(t){return gt(t)&&t!=+t},yt=function(t){return!0===t||!1===t||"[object Boolean]"==s.call(t)},wt=function(t){return void 0===t},Ot=function(t,e){return l.call(t,e)},jt=function(t){return t},kt=function(t){return function(){return t}},xt=function(t){return function(e){return e[t]}},Ct=function(t){return function(e){if(e===t)return!0;for(var n in t)if(t[n]!==e[n])return!1;return!0}},Pt=i.a,Tt=function(t){return gt(t)&&!mt(t)};e.f={after:function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},all:q,any:F,before:L,bind:$,clone:function(t){return dt(t)?ft(t)?t.slice():st({},t):t},collect:C,compact:function(t){return M(t,jt)},constant:kt,contains:J,debounce:function(t,e){var n;return void 0===e&&(e=100),function(){for(var i=this,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout(function(){t.apply(i,o)},e)}},defaults:ct,defer:it,delay:nt,detect:_,difference:H,each:j,every:Z,extend:st,filter:M,find:S,findWhere:W,foldl:I,forEach:k,groupBy:B,has:Ot,identity:jt,include:D,indexBy:Y,indexOf:X,inject:A,invert:ut,isArray:ft,isBoolean:yt,isDate:pt.Date,isFinite:bt,isFunction:ht,isNaN:mt,isNull:function(t){return null===t},isNumber:gt,isObject:dt,isRegExp:pt.RegExp,isString:vt,isUndefined:wt,isValidNumber:Tt,keys:ot,last:function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:u.call(t,Math.max(t.length-e,0))},map:x,matches:Ct,max:function(t,e,n){if(!e&&ft(t)&&t[0]===+t[0]&&t.length<65535)return Math.max.apply(Math,t);var i=-1/0,r=-1/0;return j(t,function(t,o,a){var u=e?e.call(n,t,o,a):t;u>r&&(i=t,r=u)}),i},memoize:et,now:Pt,omit:function(t){var e={},n=c.apply(o,u.call(arguments,1));for(var i in t)J(n,i)||(e[i]=t[i]);return e},once:tt,partial:G,pick:lt,pluck:function(t,e){return x(t,xt(e))},property:xt,propertyOf:function(t){return null==t?function(){}:function(e){return t[e]}},reduce:T,reject:function(t,e,n){return M(t,function(t,i,r){return!e.call(n,t,i,r)},n)},result:function(t,e){if(null!=t){var n=t[e];return ht(n)?n.call(t):n}},select:E,size:N,some:Q,sortedIndex:V,throttle:rt,where:U,without:function(t){return H(t,u.call(arguments,1
1))}}},function(t,e,n){"use strict";n.d(e,"A",function(){return r}),n.d(e,"z",function(){return o}),n.d(e,"y",function(){return a}),n.d(e,"v",function(){return u}),n.d(e,"w",function(){return c}),n.d(e,"u",function(){return s}),n.d(e,"b",function(){return l}),n.d(e,"d",function(){return f}),n.d(e,"x",function(){return d}),n.d(e,"e",function(){return p}),n.d(e,"i",function(){return h}),n.d(e,"a",function(){return g}),n.d(e,"f",function(){return v}),n.d(e,"l",function(){return b}),n.d(e,"j",function(){return m}),n.d(e,"k",function(){return y}),n.d(e,"c",function(){return w}),n.d(e,"g",function(){return O}),n.d(e,"h",function(){return j}),n.d(e,"p",function(){return k}),n.d(e,"m",function(){return x}),n.d(e,"n",function(){return C}),n.d(e,"o",function(){return P}),n.d(e,"q",function(){return T}),n.d(e,"r",function(){return I}),n.d(e,"s",function(){return A}),n.d(e,"t",function(){return S}),n.d(e,"C",function(){return _}),n.d(e,"B",function(){return M}),n.d(e,"D",function(){return E});var i=n(0),r=1e5,o=100001,a=100002,u=101e3,c=102e3,s=102700,l=200001,f=202e3,d=104e3,p=203e3,h=203640,g=203700,v=204e3,b=210001,m=21e4,y=214e3,w=306e3,O=308e3,j=308640,k="cantPlayVideo",x="badConnection",C="cantLoadPlayer",P="cantPlayInBrowser",T="liveStreamDown",I="protectedContent",A="technicalError",S=function(){function t(t,e,n){this.co
1de=Object(i.z)(e)?e:0,this.sourceError=n||null,t&&(this.key=t)}return t.logMessage=function(t){var e=t%1e3,n=Math.floor((t-e)/1e3),i=t.toString();return e>=400&&e<600&&(i=n+"400-"+n+"599"),"JW Player "+(t>299999&&t<4e5?"Warning":"Error")+" "+t+". For more information see https://developer.jwplayer.com/jw-player/docs/developer-guide/api/errors-reference#"+i},t}();function _(t,e,n){return n instanceof S&&n.code?n:new S(t,e,n)}function M(t,e){var n=_(A,e,t);return n.code=(t&&t instanceof S&&t.code||0)+e,n}function E(t){var e=t.message;switch(t.name){case"AbortError":return/pause/.test(e)?303213:/load/.test(e)?303212:303210;case"NotAllowedError":return 303220;case"NotSupportedError":return 303230;default:return 303200}}},function(t,e,n){"use strict";n.d(e,"i",function(){return o}),n.d(e,"e",function(){return a}),n.d(e,"j",function(){return u}),n.d(e,"a",function(){return c}),n.d(e,"b",function(){return s}),n.d(e,"g",function(){return l}),n.d(e,"d",function(){return f}),n.d(e,"f",function(){return d}),n.d(e,"h",function(){return p}),n.d(e,"c",function(){return h});var i=n(0),r=window.parseFloat;function o(t){return t.replace(/^\s+|\s+$/g,"")}function a(t,e,n){for(t=""+t,n=n||"0";t.length<e;)t=n+t;return t}function u(t,e){for(var n=t.attributes,i=0;i<n.length;i++)if(n[i].name&&n[i].name.toLowerCase()===e.toLowerCase())return n[i].value.toString();return""}function c(t){if(!t||"rtmp"===t.substr(0,4))return"";var e=/[(,]format=(m3u8|mpd)-/i.exec(t);return e?e[1]:(t=t.split("?")[0].split("#")[0]).lastIndexOf(".")>-1?t.substr(t.lastIndexOf(".")+1,t.length).toLowerCase():""}function s(t){var e=(t/60|0)%60,n=t%60;return a((t/3600|0).toString(),2)+":"+a(e.toString(),2)+":"+a(n.toFixed(3),6)}function l(t,e){if(!t)return 0;if(Object(i.z)(t))return t;var n=t.replace(",","."),o=n.slice(-1),a=n.split(":"),u=a.length,c=0;if("s"===o)c=r(n);else if("m"===o)c=60*r(n);else if("h"===o)c=3600*r(n);else if(u>1){var s=u-1;4===u&&(e&&(c=r(a[s])/e),s-=1),c+=r(a[s]),c+=60*r(a[s-1]),u>=3&&(c+=3600*r(a[s-2]))}else c=r(n);return Object(i.z)(c)?c:0}function f(t,e,n){if(Object(i.x)(t)&&"%"===t.slice(-1)){var o=r(t);return e&&Object(i.z)(e)&&Object(i.z)(o)?e*o/100:null}return l(t,n)}function d(t,e){return t.map(function(t){return e+t})}function p(t,e){return t.map(function(t){return t+e})}function h(t){return!!t&&Object(i.x)(t)&&"%"===t.slice(-1)}},function(t,e,n){"use strict";n.d(e,"kb",function(){return i}),n.d(e,"nb",function(){return r}),n.d(e,"lb",function(){return o}),n.d(e,"pb",function(){return a}),n.d(e,"qb",function(){return u}),n.d(e,"mb",function(){return c}),n.d(e,"ob",function(){return s}),n.d(e,"rb",function(){return l}),n.d(e,"s",function(){return f}),n.d(e,"u",function(){return d}),n.d(e,"t",function(){return p}),n.d(e,"n",function(){return h}),n.d(e,"q",function(){return g}),n.d(e,"ub",function(){return v}),n.d(e,"r",function(){return b}),n.d(e,"Z",function(){return m}),n.d(e,"W",function(){return y}),n.d(e,"v",function(){return w}),n.d(e,"Y",function(){return O}),n.d(e,"w",function(){return j}),n.d(e,"wb",function(){return k}),n.d(e,"a",function(){return x}),n.d(e,"b",function(){return C}),n.d(e,"c",function(){return P}),n.d(e,"d",function(){return T}),n.d(e,"e",function(){return I}),n.d(e,"h",function(){return A}),n.d(e,"F",function(){return S}),n.d(e,"hb",function(){return _}),n.d(e,"Q",function(){return M}),n.d(e,"C",function(){return E}),n.d(e,"B",function(){return q}),n.d(e,"E",function(){return Z}),n.d(e,"p",function(){return F}),n.d(e,"cb",function(){return Q}),n.d(e,"m",function(){return N}),n.d(e,"G",function(){return L}),n.d(e,"H",function(){return z}),n.d(e,"N",function(){return R}),n.d(e,"O",function(){return B}),n.d(e,"R",function(){return Y}),n.d(e,"jb",function(){return V}),n.d(e,"bb",function(){return J}),n.d(e,"D",function(){return D}),n.d(e,"S",function(){return U}),n.d(e,"P",function(){return W}),n.d(e,"T",function(){return H}),n.d(e,"V",function(){return X}),n.d(e,"M",function(){return K}),n.d(e,"L",function(){return $}),n.d(e,"K",function(){return G}),n.d(e,"I",function(){return tt}),n.d(e,"J",function(){return et}),n.d(e,"U",function(){return nt}),n.d(e,"o",function(){return it}),n.d(e,"y",function(){return rt}),n.d(e,"ib",function(){return ot}),n.d(e,"db",function(){return at}),n.d(e,"eb",function(){return ut}),n.d(e,"f",function(){return ct}),n.d(e,"g",function(){return st}),n.d(e,"sb",function(){return lt}),n.d(e,"tb",function(){return ft}),n.d(e,"ab",function(){return dt}),n.d(e,"A",function(){return pt}),n.d(e,"l",function(){return ht}),n.d(e,"k",function(){return gt}),n.d(e,"fb",function(){return vt}),n.d(e,"gb",function(){return bt}),n.d(e,"vb",function(){return mt}),n.d(e,"z",function(){return yt}),n.d(e,"j",function(){return wt}),n.d(e,"X",function(){return Ot}),n.d(e,"i",function(){return jt}),n.d(e,"x",function(){return kt});var i="buffering",r="idle",o="complete",a="paused",u="playing",c="error",s="loading",l="stalled",f="drag",d="dragStart",p="dragEnd",h="click",g="doubleClick",v="tap",b="doubleTap",m="over",y="move",w="enter",O="out",j=c,k="warning",x="adClick",C="adPause",P="adPlay",T="adSkipped",I="adTime",A="autostartNotAllowed",S=o,_="ready",M="seek",E="beforePlay",q="beforeComplete",Z="bufferFull",F="displayClick",Q="playlistComplete",N="cast",L="mediaError",z="firstFrame",R="playAttempt",B="playAttemptFailed",Y="seeked",V="setupError",J="state",D="bufferChange",U="time",W="ratechange",H="mediaType",X="volume",K="mute",$="metadataCueParsed",G="meta",tt="levels",et="levelsChanged",nt="visualQuality",it="controls",rt="fullscreen",ot="resize",at="playlistItem",ut="playlist",ct="audioTracks",st="audioTrackChanged",lt="subtitlesTracks",ft="subtitlesTrackChanged",dt="playbackRateChanged",pt="logoCl
1ick",ht="captionsList",gt="captionsChanged",vt="providerChanged",bt="providerFirstFrame",mt="userAction",yt="instreamClick",wt="breakpoint",Ot="fullscreenchange",jt="bandwidthEstimate",kt="float"},function(t,e,n){"use strict";n.r(e);var i=n(7);function r(t,e){var n;return t&&t.length>e&&(n=t[e]),n}var o=n(0);n.d(e,"Browser",function(){return c}),n.d(e,"OS",function(){return s}),n.d(e,"Features",function(){return l});var a=navigator.userAgent,u=function(){},c={},s={},l={};Object.defineProperties(c,{androidNative:{get:Object(o.C)(i.c),enumerable:!0},chrome:{get:Object(o.C)(i.d),enumerable:!0},edge:{get:Object(o.C)(i.e),enumerable:!0},facebook:{get:Object(o.C)(i.g),enumerable:!0},firefox:{get:Object(o.C)(i.f),enumerable:!0},ie:{get:Object(o.C)(i.i),enumerable:!0},msie:{get:Object(o.C)(i.n),enumerable:!0},safari:{get:Object(o.C)(i.q),enumerable:!0},version:{get:Object(o.C)((function(t,e){var n,i,r,o;return t.chrome?n=-1!==e.indexOf("Chrome")?e.substring(e.indexOf("Chrome")+7):e.substring(e.indexOf("CriOS")+6):t.safari?n=e.substring(e.indexOf("Version")+8):t.firefox?n=e.substring(e.indexOf("Firefox")+8):t.edge?n=e.substring(e.indexOf("Edge")+5):t.ie&&(-1!==e.indexOf("rv:")?n=e.substring(e.indexOf("rv:")+3):-1!==e.indexOf("MSIE")&&(n=e.substring(e.indexOf("MSIE")+5))),n&&(-1!==(o=n.indexOf(";"))&&(n=n.substring(0,o)),-1!==(o=n.indexOf(" "))&&(n=n.substring(0,o)),-1!==(o=n.indexOf(")"))&&(n=n.substring(0,o)),i=parseInt(n,10),r=parseInt(n.split(".")[1],10)),{version:n,major:i,minor:r}}).bind(void 0,c,a)),enumerable:!0}}),Object.defineProperties(s,{android:{get:Object(o.C)(i.b),enumerable:!0},iOS:{get:Object(o.C)(i.j),enumerable:!0},mobile:{get:Object(o.C)(i.o),enumerable:!0},mac:{get:Object(o.C)(i.p),enumerable:!0},iPad:{get:Object(o.C)(i.k),enumerable:!0},iPhone:{get:Object(o.C)(i.l),enumerable:!0},windows:{get:Object(o.C)(function(){return a.indexOf("Windows")>-1}),enumerable:!0},tizen:{get:Object(o.C)(i.r),enumerable:!0},tizenApp:{get:Object(o.C)(i.s),enumerable:!0},version:{get:Object(o.C)((function(t,e){var n,i,o;if(t.windows)switch(n=r(/Windows(?: NT|)? ([._\d]+)/.exec(e),1)){case"6.1":n="7.0";break;case"6.2":n="8.0";break;case"6.3":n="8.1"}else t.android?n=r(/Android ([._\d]+)/.exec(e),1):t.iOS?n=r(/OS ([._\d]+)/.exec(e),1):t.mac?n=r(/M
1ac OS X (10[._\d]+)/.exec(e),1):t.tizen&&(n=r(/Tizen ([._\d]+)/.exec(e),1));if(n){i=parseInt(n,10);var a=n.split(/[._]/);a&&(o=parseInt(a[1],10))}return{version:n,major:i,minor:o}}).bind(void 0,s,a)),enumerable:!0}}),Object.defineProperties(l,{flash:{get:Object(o.C)(i.h),enumerable:!0},flashVersion:{get:Object(o.C)(i.a),enumerable:!0},iframe:{get:Object(o.C)(i.m),enumerable:!0},passiveEvents:{get:Object(o.C)(function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0}});window.addEventListener("testPassive",u,e),window.removeEventListener("testPassive",u,e)}catch(n){}return t}),enumerable:!0},backgroundLoading:{get:Object(o.C)(function(){return!(s.iOS||c.safari||s.tizen)}),enumerable:!0}})},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"a",function(){return a}),n.d(e,"c",function(){return u});var i=n(2);function r(t){var e="";return t&&(t.localName?e=t.localName:t.baseName&&(e=t.baseName)),e}function o(t){var e="";return t&&(t.textContent?e=Object(i.i)(t.textContent):t.text&&(e=Object(i.i)(t.text))),e}function a(t,e){return t.childNodes[e]}function u(t){return t.childNodes?t.childNodes.length:0}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return a}),n.d(e,"d",function(){return u});var i=n(1),r={};function o(t,e){return function(){throw new i.t(i.n,t,e)}}function a(t,e){return function(){throw new i.t(null,t,e)}}function u(){return n.e(4).then((function(t){return n(71).default}).bind(null,n)).catch(o(i.v+101))}},function(t,e,n){"use strict";n.d(e,"h",function(){return a}),n.d(e,"f",function(){return c}),n.d(e,"l",function(){return l}),n.d(e,"k",function(){return f}),n.d(e,"p",function(){return d}),n.d(e,"g",function(){return p}),n.d(e,"e",function(){return h}),n.d(e,"n",function(){return g}),n.d(e,"r",function(){return v}),n.d(e,"s",function(){return b}),n.d(e,"d",function(){return m}),n.d(e,"i",function(){return y}),n.d(e,"q",function(){return w}),n.d(e,"j",function(){return O}),n.d(e,"c",function(){return j}),n.d(e,"b",function(){return k}),n.d(e,"o",function(){return x}),n.d(e,"m",function(){return C}),n.d(e,"a",function(){return P});var i=navigator.userAgent;function r(t){return null!==i.match(t)}function o(t){return function(){return r(t)}}function a(){var t=P();return!!(t&&t>=18)}var u=function(){return"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1},c=o(/gecko\//i),s=o(/trident\/.+rv:\s*11/i),l=o(/iP(hone|od)/i),f=function(){return r(/iPad/i)||u()},d=function(){return r(/Macintosh/i)&&!u()},p=o(/FBAV/i);function h(){return r(/\sEdge\/\d+/i)}function g(){return r(/msie/i)}function v(){return r(/SMART-TV/)}function b(){return v()&&!r(/SamsungBrowser/)}function m(){return r(/\s(?:(?:Headless)?Chrome|CriOS)\//i)&&!h()&&!r(/UCBrowser/i)&&!v()}function y(){return h()||s()||g()}function w(){return r(/safari/i)&&!r(/(?:Chrome|CriOS|chromium|android|phantom)/i)||v()}function O(){return r(/iP(hone|ad|od)/i)||u()}function j(){return!(r(/chrome\/[123456789]/i)&&!r(/chrome\/18/i)&&!c())&&k()}function k(){return r(/Android/i)&&!r(/Windows Phone/i)}function x(){return O()||k()||r(/Windows Phone/i)}function C(){try{return window.self!==window.top}catch(t){return!0}}function P(){if(k())return 0;var t,e=navigator.plugins;if(e&&(t=e.namedItem("Shockwave Flash"))&&t.description)return parseFloat(t.description.replace(/\D+(\d+\.?\d*).*/,"$1"));if(void 0!==window.ActiveXObject){try{if(t=new window.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseFloat(t.GetVariable("$version").split(" ")[1].replace(/\s*,\s*/,"."))}catch(n){return 0}return t}return 0}},function(t,e,n){"use strict";n.d(e,"i",function(){return s}),n.d(e,"e",function(){return l}),n.d(e,"q",function(){return f}),n.d(e,"j",function(){return d}),n.d(e,"s",function(){return p}),n.d(e,"r",function(){return h}),n.d(e,"u",function(){return g}),n.d(e,"d",function(){return m}),n.d(e,"a",function(){return y}),n.d(e,"o",function(){return w}),n.d(e,"p",function(){return O}),n.d(e,"v",function(){return j}),n.d(e,"t",function(){return k}),n.d(e,"h",function(){return x}),n.d(e,"b",function(){return C}),n.d(e,"g",function(){return P}),n.d(e,"c",function(){return T}),n.d(e,"m",function(){return I}),n.d(e,"k",function(){return A}),n.d(e,"n",function(){return S}),n.d(e,"l",function(){return _}),n.d(e,"f",function(){return M});var i,r=n(0),o=n(2),a=n(4),u=window.DOMParser,c=!0;function s(t,e){return t.classList.contains(e)}function l(t){return d(t).firstChild}function f(t,e){x(t),function(t,e){if(e){for(var n=document.createDocumentFragment(),i=d(e).childNodes,r=0;r<i.length;r++)n.appendChild(i[r].cloneNode(!0));t.appendChild(n)}}(t,e)}function d(t){var e=function(t){if(i||(i=new u,c=function(){try{if(i.parseFromString("","text/html"))return!0}catch(t){}return!1}()),c)return i.parseFromString(t,"text/html").body;var e=document.implementation.createHTMLDocument("");return t.toLowerCase().indexOf("<!doctype")>-1?e.documentElement.innerHTML=t:e.body.innerHTML=t,e.body}(t);p(e);for(var n=e.querySelectorAll("*"),r=n.length;r--;)h(n[r]);return e}function p(t){for(var e=t.querySelectorAll("script,object,iframe,meta"),n=e.length;n--;){var i=e[n];i.parentNode.removeChild(i)}return t}function h(t){for(var e=t.attributes,n=e.length;n--;){var i=e[n].name;/^on/.test(i)&&t.removeAttribute(i),/href/.test(i)&&/javascript:|javascript&colon;/.test(e[n].value)&&t.removeAttribute(i)}return t}function g(t){return t+(t.toString().indexOf("%")>0?"":"px")}function v(t){return Object(r.x)(t.className)?t.className.split(" "):[]}function b(t,e){e=Object(o.i)(e),t.className!==e&&(t.className=e)}function m(t){return t.classList?t.classList:v(t)}function y(t,e){var n=v(t);
1(Array.isArray(e)?e:e.split(" ")).forEach(function(t){Object(r.e)(n,t)||n.push(t)}),b(t,n.join(" "))}function w(t,e){var n=v(t),i=Array.isArray(e)?e:e.split(" ");b(t,Object(r.h)(n,i).join(" "))}function O(t,e,n){var i=t.className||"";e.test(i)?i=i.replace(e,n):n&&(i+=" "+n),b(t,i)}function j(t,e,n){var i=s(t,e);(n=Object(r.r)(n)?n:!i)!==i&&(n?y(t,e):w(t,e))}function k(t,e,n){t.setAttribute(e,n)}function x(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function C(t){var e=document.createElement("link");e.rel="stylesheet",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)}function P(t){t&&x(t)}function T(t){var e={left:0,right:0,width:0,height:0,top:0,bottom:0};if(!t||!document.body.contains(t))return e;var n=t.getBoundingClientRect(),i=window.pageYOffset,r=window.pageXOffset;return(n.width||n.height||n.left||n.top)&&(e.left=n.left+r,e.right=n.right+r,e.top=n.top+i,e.bottom=n.bottom+i,e.width=n.right-n.left,e.height=n.bottom-n.top),e}function I(t,e){t.insertBefore(e,t.firstChild)}function A(t){return t.nextElementSibling}function S(t){return t.previousElementSibling}function _(t,e,n){void 0===n&&(n={});var i=document.createElement("a");i.href=t,i.target=e,i=Object(r.j)(i,n),a.Browser.firefox?i.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})):i.click()}function M(){var t=window.screen.orientation;return!!t&&("landscape-primary"===t.type||"landscape-secondary"===t.type)||90===window.orientation||-90===window.orientation}},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"c",function(){return r}),n.d(e,"d",function(){return o}),n.d(e,"b",function(){return a}),n.d(e,"e",function(){return u}),n.d(e,"f",function(){return c});var i=function(){function t(){}var e=t.prototype;return e.on=function(t,e,n){if(!l(this,"on",t,[e,n])||!e)return this;var i=this._events||(this._events={});return(i[t]||(i[t]=[])).push({callback:e,context:n}),this},e.once=function(t,e,n){if(!l(this,"once",t,[e,n])||!e)return this;var i=0,r=this,o=function n(){i++||(r.off(t,n),e.apply(this,arguments))};return o._callback=e,this.on(t,o,n)},e.off=function(t,e,n){if(!this._events||!l(this,"off",t,[e,n]))return this;if(!t&&!e&&!n)return delete this._events,this;for(var i=t?[t]:Object.keys(this._events),r=0,o=i.length;r<o;r++){var a=this._events[t=i[r]];if(a){var u=this._events[t]=[];if(e||n)for(var c=0,s=a.length;c<s;c++){var f=a[c];(e&&e!==f.callback&&e!==f.callback._callback||n&&n!==f.context)&&u.push(f)}u.length||delete this._events[t]}}return this},e.trigger=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!this._events)return this;if(!l(this,"trigger",t,n))return this;var r=this._events[t],o=this._events.all;return r&&f(r,n,this),o&&f(o,arguments,this),this},e.triggerSafe=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(!this._events)return this;if(!l(this,"trigger",t,n))return this;var r=this._events[t],o=this._events.all;return r&&f(r,n,this,t),o&&f(o,arguments,this,t),this},t}(),r=i.prototype.on,o=i.prototype.once,a=i.prototype.off,u=i.prototype.trigger,c=i.prototype.triggerSafe;i.on=r,i.once=o,i.off=a,i.trigger=u;var s=/\s+/;function l(t,e,n,i){if(!n)return!0;if("object"==typeof n){for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&t[e].apply(t,[r,n[r]].concat(i));return!1}if(s.test(n)){for(var o=n.split(s),a=0,u=o.length;a<u;a++)t[e].apply(t,[o[a]].concat(i));return!1}return!0}function f(t,e,n,i){for(var r=-1,o=t.length;++r<o;){var a=t[r];if(i)try{a.callback.apply(a.context||n,e)}catch(u){console.log('Error in "'+i+'" event handler:',u)}else a.callback.apply(a.context||n,e)}}},function(t,e,n){"use strict";n.r(e),n.d(e,"exists",function(){return r}),n.d(e,"isHTTPS",function(){return o}),n.d(e,"isFileProtocol",function(){return a}),n.d(e,"isRtmp",function(){return u}),n.d(e,"isYouTube",function(){return c}),n.d(e,"typeOf",function(){return s}),n.d(e,"isDeepKeyCompliant",function(){return l});var i=window.location.protocol;function r(t){switch(typeof t){case"string":return t.length>0;case"object":return null!==t;case"undefined":return!1;default:return!0}}function o(){return"https:"===i}function a(){return"file:"===i}function u(t,e){return 0===t.indexOf("rtmp:")||"rtmp"===e}function c(t,e){return"youtube"===e||/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(t)}function s(t){if(null===t)return"null";var e=typeof t;return"object"===e&&Array.isArray(t)?"array":e}function l(t,e,n){var i=Object.keys(t);return Object.keys(e).length>=i.length&&i.every(function(i){var r=t[i],o=e[i];return r&&"object"==typeof r?!(!o||"object"!=typeof o)&&l(r,o,n):n(i,t)})}},function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c}),n.d(e,"d",function(){return s}),n.d(e,"e",function(){return d}),n.d(e,"c",function(){return p});var i,r=n(2),o=n(40),a=n.n(o),u=a.a.clear;function c(t,e,n,i){n=n||"all-players";var r="";if("object"==typeof e){var o=document.createElement("div");s(o,e);var u=o.style.cssText;
1Object.prototype.hasOwnProperty.call(e,"content")&&u&&(u=u+' content: "'+e.content+'";'),i&&u&&(u=u.replace(/;/g," !important;")),r="{"+u+"}"}else"string"==typeof e&&(r=e);""!==r&&"{}"!==r?a.a.style([[t,t+r]],n):a.a.clear(n,t)}function s(t,e){if(null!=t){var n;void 0===t.length&&(t=[t]);var i={};for(n in e)Object.prototype.hasOwnProperty.call(e,n)&&(i[n]=f(n,e[n]));for(var r=0;r<t.length;r++){var o=t[r],a=void 0;if(null!=o)for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(a=l(n),o.style[a]!==i[n]&&(o.style[a]=i[n]))}}}function l(t){t=t.split("-");for(var e=1;e<t.length;e++)t[e]=t[e].charAt(0).toUpperCase()+t[e].slice(1);return t.join("")}function f(t,e){return""===e||null==e?"":"string"==typeof e&&isNaN(e)?/png|gif|jpe?g/i.test(e)&&e.indexOf("url")<0?"url("+e+")":e:0===e||"z-index"===t||"opacity"===t?""+e:/color/i.test(t)?"#"+Object(r.e)(e.toString(16).replace(/^0x/i,""),6):Math.ceil(e)+"px"}function d(t,e){s(t,{transform:e,webkitTransform:e,msTransform:e,mozTransform:e,oTransform:e})}function p(t,e){var n="rgb",r=void 0!==e&&100!==e;if(r&&(n+="a"),!i){var o=document.createElement("canvas");o.height=1,o.width=1,i=o.getContext("2d")}t?isNaN(parseInt(t,16))||(t="#"+t):t="#000000",i.clearRect(0,0,1,1),i.fillStyle=t,i.fillRect(0,0,1,1);var a=i.getImageData(0,0,1,1).data;return n+="("+a[0]+", "+a[1]+", "+a[2],r&&(n+=", "+e/100),n+")"}},function(t,e,n){"use strict";n.r(e),n.d(e,"getAbsolutePath",function(){return o}),n.d(e,"isAbsolutePath",function(){return a}),n.d(e,"parseXML",function(){return u}),n.d(e,"serialize",function(){return c}),n.d(e,"parseDimension",function(){return s}),n.d(e,"timeFormat",function(){return l});var i=n(10),r=n(0);function o(t,e){if(e&&Object(i.exists)(e)||(e=document.location.href),!Object(i.exists)(t))return"";if(a(t))return t;var n,r=e.substring(0,e.indexOf("://")+3),o=e.substring(r.length,e.indexOf("/",r.length+1));if(0===t.indexOf("/"))n=t.split("/");else{var u=e.split("?")[0];n=(u=u.substring(r.length+o.length+1,u.lastIndexOf("/"))).split("/").concat(t.split("/"))}for(var c=[],s=0;s<n.length;s++)n[s]&&Object(i.exists)(n[s])&&"."!==n[s]&&(".."===n[s]?c.pop():c.push(n[s]));return r+o+"/"+c.join("/")}function a(t){return/^(?:(?:https?|file):)?\/\//.test(t)}function u(t){var e=null;try{(e=(new window.DOMParser).parseFromString(t,"text/xml")).querySelector("parsererror")&&(e=null)}catch(n){}return e}function c(t){if(void 0===t)return null;if("string"==typeof t&&t.length<6){var e=t.toLowerCase();if("true"===e)return!0;if("false"===e)return!1;if(!Object(r.u)(Number(t))&&!Object(r.u)(parseFloat(t)))return Number(t)}return t}function s(t){return Object(r.z)(t)?t:""===t?0:t.lastIndexOf("%")>-1?t:parseInt(t.replace("px",""),10)}function l(t,e){if(Object(r.u)(t)&&(t=parseInt(t.toString())),Object(r.u)(t)||!isFinite(t)||t<=0&&!e)return"00:00";var n=t<0?"-":"";t=Math.abs(t);var i=Math.floor(t/3600),o=Math.floor((t-3600*i)/60),a=Math.floor(t%60);return n+(i?i+":":"")+(o<10?"0":"")+o+":"+(a<10?"0":"")+a}},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(32),r=n(17),o=n(57),a=n(0);function u(t){var e=t.getName().name;if(!i.a[e]){if(!Object(a.l)(r.a,Object(a.B)({name:e}))){if(!Object(a.t)(t.supports))throw new Error("Tried to register a provider with an invalid object");r.a.unshift({name:e,supports:t.supports})}Object(a.g)(t.prototype,o.a),i.a[e]=t}}n(9)},function(t,e,n){"use strict";n.d(e,"j",function(){return p}),n.d(e,"d",function(){return h}),n.d(e,"b",function(){return g}),n.d(e,"e",function(){return b}),n.d(e,"g",function(){return y}),n.d(e,"h",function(){return w}),n.d(e,"c",function(){return O}),n.d(e,"f",function(){return k}),n.d(e,"i",function(){return x}),n.d(e,"a",function(){return C});var i=n(0),r=n(7),o=n(27),a=n(10),u=n(39),c={},s={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish",el:"Greek",fi:"Finnish",id:"Indonesian",ko:"Korean",th:"Thai",vi:"Vietnamese"},l=Object(i.q)(s);function f(t){var e=d(t),n=e.indexOf("_");return-1===n?e:e.substring(0,n)}function d(t){return t.toLowerCase().replace("-","_")}function p(t){return t?Object.keys(t).reduce(function(e,n){return e[d(n)]=t[n],e},{}):{}}function h(t){if(t)return 3===t.length?t:s[f(t)]||t}function g(t){return l[t]||""}function v(t){var e=t.querySelector("html");return e?e.getAttribute("lang"):null}function b(){var t=v(document);if(!t&&Object(r.m)())try{t=v(window.top.document)}catch(e){}return t||navigator.language||"en"}var m=["ar","da","de","el","es","fi","fr","he","id","it","ja","ko","nl","no","oc","pt","ro","ru","sl","sv","th","tr","vi","zh"];function y(t){return 8207===t.charCodeAt(0)||/^[\u0591-\u07FF\uFB1D-\uFDFD\uFE
170-\uFEFC]/.test(t)}function w(t){return m.indexOf(f(t))>=0}function O(t,e,n){return Object(i.j)({},function(t){var e=t.advertising,n=t.related,r=t.sharing,o=t.abouttext,a=Object(i.j)({},t.localization);e&&(a.advertising=a.advertising||{},j(a.advertising,e,"admessage"),j(a.advertising,e,"cuetext"),j(a.advertising,e,"loadingAd"),j(a.advertising,e,"podmessage"),j(a.advertising,e,"skipmessage"),j(a.advertising,e,"skiptext")),a.related="string"==typeof a.related?{heading:a.related}:a.related||{},n&&j(a.related,n,"autoplaymessage"),r&&(a.sharing=a.sharing||{},j(a.sharing,r,"heading"),j(a.sharing,r,"copied")),o&&j(a,t,"abouttext");var u=a.close||a.nextUpClose;return u&&(a.close=u),a}(t),e[f(n)],e[d(n)])}function j(t,e,n){var i=t[n]||e[n];i&&(t[n]=i)}function k(t){return Object(a.isDeepKeyCompliant)(u.a,t,function(t,e){return"string"==typeof e[t]})}function x(t,e){var n=c[e];if(!n){var i=t+"translations/"+f(e)+".json";c[e]=n=new Promise(function(t,n){Object(o.b)({url:i,oncomplete:t,onerror:function(t,i,r,o){c[e]=null,n(o)},responseType:"json"})})}return n}function C(t,e){var n=Object(i.j)({},t,e);return P(n,"errors",t,e),P(n,"related",t,e),P(n,"sharing",t,e),P(n,"advertising",t,e),P(n,"shortcuts",t,e),P(n,"captionsStyles",t,e),n}function P(t,e,n,r){t[e]=Object(i.j)({},n[e],r[e])}},function(t,e,n){"use strict";e.a=[]},function(t,e,n){"use strict";e.a={debug:!1}},function(t,e,n){"use strict";n.d(e,"a",function(){return p});var i=n(26),r=n(4),o=n(21),a=n(0),u=n(10),c=n(36),s=Object(a.l)(i.a,Object(a.B)({name:"html5"})),l=s.supports;function f(t){var e=window.MediaSource;return Object(a.a)(t,function(t){return!!e&&!!e.isTypeSupported&&e.isTypeSupported(t)})}function d(t){if(t.drm)return!1;if(!(t.file.indexOf(".m3u8")>-1)&&"hls"!==t.type&&"m3u8"!==t.type)return!1;var e=r.Browser.chrome||r.Browser.firefox||r.Browser.edge||r.Browser.ie&&11===r.Browser.version.major||r.OS.tizen,n=r.OS.android&&!1===t.hlsjsdefault,i=r.Browser.safari&&!!t.safarihlsjs;return f(t.mediaTypes||['video/mp4;codecs="avc1.4d400d,mp4a.40.2"'])&&(e||i)&&!n}s.supports=function(t,e){var n=l.apply(this,arguments);if(n&&t.drm&&"hls"===t.type){var i=Object(o.a)(e),r=i("drm");if(r&&t.drm.fairplay){var a=window.WebKitMediaKeys;return a&&a.isTypeSupported&&a.isTypeSupported("com.apple.fps.1_0","video/mp4")}return r}return n},i.a.push({name:"shaka",supports:function(t){return!(t.drm&&!Object(c.a)(t.drm))&&!(!window.HTMLVideoElement||!window.MediaSource)&&f(t.mediaTypes)&&("dash"===t.type||"mpd"===t.type||(t.file||"").indexOf("mpd-time-csf")>-1)}}),i.a.unshift({name:"hlsjs",supports:function(t){return d(t)}}),i.a.unshift({name:"hlsjsProgressive",supports:function(t){return t._hlsjsProgressive&&d(t)}}),i.a.push({name:"flash",supports:function(t){if(!r.Features.flash||t.drm)return!1;var e=t.type;return"hls"===e||"m3u8"===e||!Object(u.isRtmp)(t.file,e)&&["flv","f4v","mov","m4a","m4v","mp4","aac","f4a","mp3","mpeg","smil"].indexOf(e)>-1}});var p=i.a},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=Date.now||function(){return(new Date).getTime()}},function(t,e,n){"use strict";n.r(e),n.d(e,"getScriptPath",function(){return o}),n.d(e,"repo",function(){return a}),n.d(e,"versionCheck",function(){return u}),n.d(e,"loadFrom",function(){return c});var i=n(29),r=n(10),o=function(t){for(var e=document.getElementsByTagName("script"),n=0;n<e.length;n++){var i=e[n].src;if(i){var r=i.lastIndexOf("/"+t);if(r>=0)return i.substr(0,r+1)}}return""},a=function(){return(Object(r.isFileProtocol)()?"https:":"")+"//ssl.p.jwpcdn.com/player/v/8.18.2/"},u=function(t){var e=("0"+t).split(/\W/),n=i.a.split(/\W/),r=parseFloat(e[0]),o=parseFloat(n[0]);return!(r>o||r===o&&parseFloat("0"+e[1])>parseFloat(n[1]))},c=function(){return a()}},function(t,e,n){"use strict";n.d(e,"a",function(){return r}),n.d(e,"c",function(){return o}),n.d(e,"b",function(){return a});var i=n(37),r=i.a,o=i.c;function a(t){var e=Object(i.b)(t);if(!t)return e;switch(Object(i.c)(t)){case"jwpsrv":e=305001;break;case"googima":e=305002;break;case"vast":e=305003;break;case"freewheel":e=305004;break;case"dai":e=305005;break;case"gapro":e=305006;break;case"bidding":e=305007}return e}},function(t,e,n){"use strict";function i(t){var e={setup:["free","starter","business","premium","enterprise","developer","ads","unlimited","trial","platinum"],drm:["enterprise","developer","ads","unlimited","trial"],ads:["ads","unlimited","trial","platinum","enterprise","developer","business"],jwpsrv:["free","starter","business","premium","enterprise","developer","ads","trial","platinum","
1invalid"],discovery:["ads","enterprise","developer","trial","unlimited"]};return function(n){return e[n]&&e[n].indexOf(t)>-1}}n.d(e,"a",function(){return i})},function(t,e,n){"use strict";var i=n(0),r={none:!0,metadata:!0,auto:!0};function o(t,e){return r[t]?t:r[e]?e:"metadata"}var a=n(28),u=n(33),c=n(41),s=n(1);function l(t,e,n){var r=Object(i.j)({},n);return delete r.playlist,t.map(function(t){return d(e,t,r)}).filter(function(t){return!!t})}function f(t){if(!Array.isArray(t)||0===t.length)throw new s.t(s.p,630)}function d(t,e,n){var r,a=t.getProviders(),u=t.get("preload"),c=Object(i.j)({},e);if(c.preload=o(e.preload,u),c.allSources=g(c,t),c.sources=v(c.allSources,a),c.sources.length)return c.file=c.sources[0].file,c.feedData=n,(r=c).dvrSeekLimit=r.liveSyncDuration=r.sources[0].liveSyncDuration,r}function p(t,e){var n=(parseInt(t,10)||0)%e;return n<0&&(n+=e),n}n.d(e,"b",function(){return l}),n.d(e,"e",function(){return f}),n.d(e,"d",function(){return d}),n.d(e,"f",function(){return p}),n.d(e,"c",function(){return h});var h=function(t,e){return v(g(t,e),e.getProviders())};function g(t,e){var n=e.attributes,i=t.sources,r=t.allSources,a=t.preload,c=t.drm,s=b(t.withCredentials,n.withCredentials);return(r||i).map(function(e){if(e!==Object(e))return null;var i,r;m(e,n,"androidhls"),m(e,n,"hlsjsdefault"),m(e,n,"safarihlsjs"),r=t,(i=e).liveSyncDuration||m(i,r.liveSyncDuration?r:n,"liveSyncDuration"),m(e,n,"_hlsjsProgressive"),e.preload=o(e.preload,a);var l=e.drm||c||n.drm;l&&(e.drm=l);var f=b(e.withCredentials,s);return void 0!==f&&(e.withCredentials=f),Object(u.a)(e)}).filter(function(t){return!!t})}function v(t,e){e&&e.choose||(e=new c.a);var n=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e.choose(i).providerToCheck;if(r)return{type:i.type,provider:r}}return null}(t,e);if(!n)return[];var i=n.provider,r=n.type;return t.filter(function(t){return t.type===r&&e.providerSupports(i,t)})}function b(t,e){return void 0===t?e:t}function m(t,e,n){n in e&&(t[n]=e[n])}e.a=function(t){return(Array.isArray(t)?t:[t]).map(a.a)}},function(t,e,n){"use strict";var i=n(0),r=n(9),o=n(3),a={};function u(t){var e=document.createElement("link");return e.type="text/css",e.rel="stylesheet",e.href=t,e}function c(t,e){var n=document.createElement("script");return n.type="text/javascript",n.charset="utf-8",n.async=!0,n.timeout=e||45e3,n.src=t,n}var s=function(t,e,n){var i=this,r=0;function s(t){r=2,i.trigger(o.w,t).off()}function l(t){r=3,i.trigger(o.lb,t).off()}this.getStatus=function(){return r},this.load=function(){var i=a[t];return 0!==r||(i&&i.then(l).catch(s),r=1,i=new Promise(function(i,r){var o=(e?u:c)(t,n),a=function(){o.onerror=o.onload=null,clearTimeout(d)},f=function(t){a(),s(t),r(t)},d=setTimeout(function(){f(new Error("Network timeout "+t))},45e3);o.onerror=function(){f(new Error("Failed to load "+t))},o.onload=function(t){a(),l(t),i(t)};var p=document.getElementsByTagName("head")[0]||document.documentElement;p.insertBefore(o,p.firstChild)}),a[t]=i),i}};Object(i.j)(s.prototype,r.a),e.a=s},function(t,e,n){"use strict";var i=n(1),r=n(20),o=function(){this.load=function(t,e,n,o){return n&&"object"==typeof n?Promise.all(Object.keys(n).filter(function(t){return t}).map(function(a){var u=n[a];return e.setupPlugin(a).then(function(e){if(!o.attributes._destroyed)return Object(r.a)(e,u,t)}).catch(function(t){return e.removePlugin(a),t.code?t:new i.t(null,Object(r.b)(a),t)})})):Promise.resolve()}},a=n(58),u=n(46),c={},s=function(){function t(){}var e=t.prototype;return e.setupPlugin=function(t){var e=this.getPlugin(t);return e?(e.url!==t&&Object(u.a)('JW Plugin "'+Object(r.c)(t)+'" already loaded from "'+e.url+'". Ignoring "'+t+'."'),e.promise):this.addPlugin(t).load()},e.addPlugin=function(t){var e=Object(r.c)(t),n=c[e];return n||(n=new a.a(t),c[e]=n),n},e.getPlugin=function(t){return c[Object(r.c)(t)]},e.removePlugin=function(t){delete c[Object(r.c)(t)]},e.getPlugins=function(){return c},t}();n.d(e,"b",function(){return f}),n.d(e,"a",function(){return d});var l=new s,f=function(t,e,n){var i=l.addPlugin(t);i.js||i.registerPlugin(t,e,n)};function d(t,e){var n=t.get("plugins");return window.jwplayerPluginJsonp=f,(t.pluginLoader=t.pluginLoader||new o).load(e,l,n,t).then(function(e){if(!t.attributes._destroyed)return delete window.jwplayerPluginJsonp,e})}},function(t,e,n){"use strict";n.d(e,"a",function(){return u});var i=n(47),r=n(21),o=n(44),a=n(1),u=100013;e.b=function(t){var e,n,c;try{var s=Object(i.a)(t||"",Object(o.a)("NDh2aU1Cb0NHRG5hcDFRZQ==")).split("/");if("pro"===(e=s[0])&&(e="premium"),Object(r.a)(e)("setup")||(e="invalid"),s.length>2){n=s[1];var l=parseInt(s[2]);l>0&&(c=new Date).setTime(l)}}catch(f){e="invalid"}this.edition=function(){return e},this.token=function(){return n},this.expiration=function(){return c},this.duration=function(){return c?c.getTime()-(new Date).getTime():0},this.error=function(){var i;return void 0===t?i=100011:"invalid"!==e&&n?this.duration()<0&&(i=u):i=100012,i?new a.t(a.n,i):null}}},function(t,e,n){"use strict";n.d(e,"a",function(){return u}),n.d(e,"b",function(){return c});var i=n(65),r=n(10),o=n(31),a={aac:"audio/mp4",mp4:"video/mp4",f4v:"video/mp4",m4v:"video/mp4",mov:"video/mp4",mp3:"audio/mpeg",mpeg:"audio/mpeg",ogv:"video/ogg",ogg:"video/ogg",oga:"video/ogg",vorbis:"video/ogg",webm:"video/webm",f4a:"video/aac",m3u8:"application/vnd.apple.mpegurl",m3u:"application/vnd.apple.mpegurl",hls:"application/vnd.apple.mpegurl"}
1,u=[{name:"html5",supports:c}];function c(t){if(!o.a||!o.a.canPlayType||!1===Object(i.a)(t))return!1;var e=t.file,n=t.type;if(Object(r.isRtmp)(e,n))return!1;var u=t.mimeType||a[n];if(!u)return!1;var c=t.mediaTypes;return c&&c.length&&(u=[u].concat(c.slice()).join("; ")),!!o.a.canPlayType(u)}},function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"a",function(){return s});var i=n(0),r=n(12),o=n(10),a=n(1),u=function(){};function c(t,e,n,f){var d;t===Object(t)&&(t=(f=t).url);var p,h,g=Object(i.j)({xhr:null,url:t,withCredentials:!1,retryWithoutCredentials:!1,timeout:6e4,timeoutId:-1,oncomplete:e||u,onerror:n||u,mimeType:f&&!f.responseType?"text/xml":"",requireValidXML:!1,responseType:f&&f.plainText?"text":"",useDomParser:!1,requestFilter:null},f),v=(p=g,function(t,e){var n=t.currentTarget||p.xhr;if(clearTimeout(p.timeoutId),p.retryWithoutCredentials&&p.xhr.withCredentials)return s(n),void c(Object(i.j)({},p,{xhr:null,withCredentials:!1,retryWithoutCredentials:!1}));!e&&n.status>=400&&n.status<600&&(e=n.status),l(p,e?a.p:a.s,e||6,t)});if("XMLHttpRequest"in window){if(d=g.xhr=g.xhr||new window.XMLHttpRequest,"function"==typeof g.requestFilter){var b;try{b=g.requestFilter({url:t,xhr:d})}catch(h){return v(h,5),d}b&&"open"in b&&"send"in b&&(d=g.xhr=b)}d.onreadystatechange=(h=g,function(t){var e,n=t.currentTarget||h.xhr;if(4===n.readyState){clearTimeout(h.timeoutId);var u=n.status;if(u>=400)return void l(h,a.p,u<600?u:6);if(200===u)return(e=h,function(t){var n=t.currentTarget||e.xhr;if(clearTimeout(e.timeoutId),e.responseType){if("json"===e.responseType)return function(t,e){if(!t.response||"string"==typeof t.response&&'"'!==t.responseText.substr(1))try{t=Object(i.j)({},t,{response:JSON.parse(t.responseText)})}catch(n){return void l(e,a.p,611,n)}return e.oncomplete(t)}(n,e)}else{var o,u=n.responseXML;if(u)try{o=u.firstChild}catch(c){}if(u&&o||e.useDomParser&&n.responseText&&!u&&(u=Object(r.parseXML)(n.responseText))&&u.firstChild)return function(t,e,n){var r=e.documentElement;if(!n.requireValidXML||"parsererror"!==r.nodeName&&!r.getElementsByTagName("parsererror").length)return t.responseXML||(t=Object(i.j)({},t,{responseXML:e})),n.oncomplete(t);l(n,a.p,601)}(n,u,e);if(e.requireValidXML)return void l(e,a.p,602)}e.oncomplete(n)})(t);0===u&&Object(o.isFileProtocol)()&&!/^[a-z][a-z0-9+.-]*:/.test(h.url)&&l(h,a.p,7)}}),d.onerror=v,"overrideMimeType"in d?g.mimeType&&d.overrideMimeType(g.mimeType):g.useDomParser=!0;try{t=t.replace(/#.*$/,""),d.open("GET",t,!0)}catch(h){return v(h,3),d}if(g.responseType)try{d.responseType=g.responseType}catch(h){}g.timeout&&(g.timeoutId=setTimeout(function(){s(d),l(g,a.s,1)},g.timeout),d.onabort=function(){clearTimeout(g.timeoutId)});try{g.withCredentials&&"withCredentials"in d&&(d.withCredentials=!0),d.send()}catch(h){v(h,4)}return d}l(g,a.s,2)}function s(t){t.onload=null,t.onprogress=null,t.onreadystatechange=null,t.onerror=null,"abort"in t&&t.abort()}function l(t,e,n,i){t.onerror(e,t.url,t.xhr,new a.t(e,n,i))}},function(t,e,n){"use strict";var i=n(0),r=n(33),o=["captions","metadata","thumbnails","chapters"],a=function(t){if(t&&t.file){var e=Object(i.j)({},{kind:"captions",default:!1},t);return e.kind=-1!==o.indexOf(e.kind)?e.kind:"captions",e.default=!!e.default,e}},u=Array.isArray;e.a=function(t){u((t=t||{}).tracks)||delete t.tracks;var e=Object(i.j)({},{sources:[],tracks:[],minDvrWindow:120,dvrSeekLimit:25},t);e.sources!==Object(e.sources)||u(e.sources)||(e.sources=[Object(r.a)(e.sources)]),u(e.sources)&&0!==e.sources.length||(e.sources=t.levels?t.levels:[Object(r.a)(t)]);for(var n=0;n<e.sources.length;n++){var o=e.sources[n];if(o){var c=o.default;o.default=!!c&&"true"===c.toString(),e.sources[n].label||(e.sources[n].label=n.toString()),e.sources[n]=Object(r.a)(e.sources[n])}}return e.sources=e.sources.filter(function(t){return!!t}),u(e.tracks)||(e.tracks=[]),u(e.captions)&&(e.tracks=e.tracks.concat(e.captions),delete e.captions),e.tracks=e.tracks.map(a).filter(function(t){return!!t}),e}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="8.18.2+commercial_v8-18-2.441.commercial.8dc86af.hlsjs..hlsjsprogressive..jwplayer.98a2a32.dai.07e1a38.freewheel.af0c077.googima.3fa90f0.googimanvmp.106f6b4.headerbidding.62dbb07.vast.1572b33.analytics.bd0e655.gapro.141397a"},function(t,e,n){"use strict";var i=n(0),r=n(18),o=window.performance||{timing:{}}
1,a=o.timing.navigationStart||Object(r.a)();function u(){return a+o.now()}"now"in o||(o.now=function(){return Object(r.a)()-a});var c=function(){function t(){this.startTimes={},this.sum={},this.counts={},this.ticks={}}var e=t.prototype;return e.start=function(t){this.startTimes[t]=u(),this.counts[t]=this.counts[t]+1||1},e.end=function(t){if(this.startTimes[t]){var e=u()-this.startTimes[t];delete this.startTimes[t],this.sum[t]=this.sum[t]+e||e}},e.dump=function(){var t=Object(i.j)({},this.sum);for(var e in this.startTimes)if(Object.prototype.hasOwnProperty.call(this.startTimes,e)){var n=u()-this.startTimes[e];t[e]=t[e]+n||n}return{counts:Object(i.j)({},this.counts),sums:t,events:Object(i.j)({},this.ticks)}},e.tick=function(t){this.ticks[t]=u()},e.clear=function(t){delete this.ticks[t]},e.between=function(t,e){return this.ticks[e]&&this.ticks[t]?this.ticks[e]-this.ticks[t]:null},t}();e.a=c},function(t,e,n){"use strict";var i=document.createElement("video");e.a=i},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i={}},function(t,e,n){"use strict";var i=n(0),r=n(10),o=n(2);e.a=function(t){if(t&&t.file){var e=Object(i.j)({},{default:!1,type:""},t);e.file=Object(o.i)(""+e.file);var n=/^[^/]+\/(?:x-)?([^/]+)$/,a=e.type;if(n.test(a)&&(e.mimeType=a,e.type=a.replace(n,"$1")),Object(r.isYouTube)(e.file)?e.type="youtube":Object(r.isRtmp)(e.file)?e.type="rtmp":e.type||(e.type=Object(o.a)(e.file)),e.type){switch(e.type){case"m3u8":case"vnd.apple.mpegurl":e.type="hls";break;case"dash+xml":e.type="dash";break;case"m4a":e.type="aac";break;case"smil":e.type="rtmp"}return Object.keys(e).forEach(function(t){""===e[t]&&delete e[t]}),e}}}},function(t,e,n){"use strict";n.d(e,"a",function(){return g}),n.d(e,"b",function(){return w});var i,r,o=n(4),a=n(3),u=n(9),c=n(18),s=n(8),l="ontouchstart"in window,f="PointerEvent"in window&&!o.OS.android,d=!(f||l&&o.OS.mobile),p=o.Features.passiveEvents,h=!!p&&{passive:!0},g=function(t){var e,n;function i(e,n){var i;i=t.call(this)||this;var r=!(n=n||{}).preventScrolling;return i.directSelect=!!n.directSelect,i.dragged=!1,i.enableDoubleTap=!1,i.el=e,i.handlers={},i.options={},i.lastClick=0,i.lastStart=0,i.passive=r,i.pointerId=null,i.startX=0,i.startY=0,i.event=null,i}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=i.prototype;return r.on=function(e,n,i){return b(e)&&(this.handlers[e]||y[e](this)),t.prototype.on.call(this,e,n,i)},r.off=function(e,n,i){var r=this;return b(e)?j(this,e):e||Object.keys(this.handlers).forEach(function(t){j(r,t)}),t.prototype.off.call(this,e,n,i)},r.destroy=function(){this.el&&(this.off(),f&&k(this),this.el=null)},i}(u.a),v=/\s+/;function b(t){return t&&!(v.test(t)||"object"==typeof t)}function m(t){if(!t.handlers.init){var e=t.el,n=t.passive,o=!!p&&{passive:n},u=function(i){if(Object(s.o)(e,"jw-tab-focus"),!("which"in(p=i)?3===p.which:"button"in p&&2===p.button)){var r=i.type;if(!t.directSelect||i.target===e){var a=P(i),u=a.pageX,f=a.pageY;if(t.dragged=!1,t.lastStart=Object(c.a)(),t.startX=u,t.startY=f,j(t,"window"),"pointerdown"===r&&i.isPrimary){if(!n){var d=i.pointerId;t.pointerId=d,e.setPointerCapture(d)}O(t,"window","pointermove",l,o),O(t,"window","pointercancel",h),O(t,"window","pointerup",h),"BUTTON"===e.tagName&&e.focus()}else"mousedown"===r?(O(t,"window","mousemove",l,o),O(t,"window","mouseup",h)):"touchstart"===r&&(O(t,"window","touchmove",l,o),O(t,"window","touchcancel",h),O(t,"window","touchend",h),n||T(i))}}var p},l=function(e){if(t.dragged)C(t,a.s,e);else{var i=P(e),r=i.pageX-t.startX,o=i.pageY-t.startY;r*r+o*o>36&&(C(t,a.u,e),t.dragged=!0,C(t,a.s,e))}n||"touchmove"!==e.type||T(e)},h=function(n){if(clearTimeout(i),t.el)if(k(t),j(t,"window"),t.dragged)t.dragged=!1,C(t,a.t,n);else if(-1===n.type.indexOf("cancel")&&e.contains(n.target)){if(Object(c.a)()-t.lastStart>500)return;var r="mouseup"===n.type||("pointerup"===n.type||"pointercancel"===n.type)&&"mouse"===n.pointerType;u=n,s=r,(o=t).enableDoubleTap&&(Object(c.a)()-o.lastClick<300?(C(o,s?a.q:a.r,u),o.lastClick=0):o.lastClick=Object(c.a)()),r?C(t,a.n,n):(C(t,a.ub,n),"touchend"!==n.type||p||T(n))}var o,u,s};f?O(t,"init","pointerdown",u,o):(d&&O(t,"init","mousedown",u,o),O(t,"init","touchstart",u,o)),r||(r=new g(document).on("interaction")),O(t,"init","blur",function(){Object(s.o)(e,"jw-tab-focus")}),O(t,"init","focus",function(){r.event&&"keydown"===r.event.type&&Object(s.a)(e,"jw-tab-focus")})}}var y={drag:function(t){m(t)},dragStart:function(t){m(t)},dragEnd:function(t){m(t)},click:function(t){m(t)},tap:function(t){if(o.OS.iOS&&o.OS.version.major<11){var e=document.body;e&&(e.ontouchstart=e.ontouchstart||function(){})}m(t)},doubleTap:function(t){t.enableDoubleTap=!0,m(t)}
1,doubleClick:function(t){t.enableDoubleTap=!0,m(t)},longPress:function(t){if(o.OS.iOS){var e=function(){clearTimeout(i)};O(t,"longPress","touchstart",function(n){e(),i=setTimeout(function(){C(t,"longPress",n)},500)}),O(t,"longPress","touchmove",e),O(t,"longPress","touchcancel",e),O(t,"longPress","touchend",e)}else t.el.oncontextmenu=function(e){return C(t,"longPress",e),!1}},focus:function(t){O(t,"focus","focus",function(e){x(t,"focus",e)})},blur:function(t){O(t,"blur","blur",function(e){x(t,"blur",e)})},over:function(t){(f||d)&&O(t,a.Z,f?"pointerover":"mouseover",function(e){"touch"!==e.pointerType&&C(t,a.Z,e)})},out:function(t){if(f){var e=t.el;O(t,a.Y,"pointerout",function(n){if("touch"!==n.pointerType&&"clientX"in n){var i=document.elementFromPoint(n.clientX,n.clientY);e.contains(i)||C(t,a.Y,n)}})}else d&&O(t,a.Y,"mouseout",function(e){C(t,a.Y,e)})},move:function(t){(f||d)&&O(t,a.W,f?"pointermove":"mousemove",function(e){"touch"!==e.pointerType&&C(t,a.W,e)})},enter:function(t){O(t,a.v,"keydown",function(e){"Enter"!==e.key&&13!==e.keyCode||(e.stopPropagation(),x(t,a.v,e))})},keydown:function(t){O(t,"keydown","keydown",function(e){x(t,"keydown",e)},!1)},gesture:function(t){var e=function(e){return C(t,"gesture",e)};O(t,"gesture","click",e),O(t,"gesture","keydown",e)},interaction:function(t){var e=function(e){t.event=e};O(t,"interaction","mousedown",e,!0),O(t,"interaction","keydown",e,!0)}};function w(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||window}function O(t,e,n,i,r){void 0===r&&(r=h);var o=t.handlers[e],a=t.options[e];if(o||(o=t.handlers[e]={},a=t.options[e]={}),o[n])throw new Error(e+" "+n+" already registered");o[n]=i,a[n]=r;var u=t.el;("window"===e?w(u):u).addEventListener(n,i,r)}function j(t,e){var n=t.el,i=t.handlers,r=t.options,o="window"===e?w(n):n,a=i[e],u=r[e];a&&(Object.keys(a).forEach(function(t){var e=u[t];"boolean"==typeof e?o.removeEventListener(t,a[t],e):o.removeEventListener(t,a[t])}),i[e]=null,r[e]=null)}function k(t){null!==t.pointerId&&(t.el.releasePointerCapture(t.pointerId),t.pointerId=null)}function x(t,e,n){t.trigger(e,{type:e,sourceEvent:n,currentTarget:t.el,target:n.target})}function C(t,e,n){var i,r,o,a,u,c=(a=(i=n).changedTouches,u=i.pointerType,(o=i.touches)||a?(r=o&&o.length?o[0]:a[0],u=u||"touch"):(r=i,u=u||"mouse"),{type:e,pointerType:u,pageX:r.pageX,pageY:r.pageY,sourceEvent:i,currentTarget:t.el,target:i.target});t.trigger(e,c)}function P(t){return 0===t.type.indexOf("touch")?(t.originalEvent||t).changedTouches[0]:t}function T(t){t.preventDefault&&t.preventDefault()}},function(t,e,n){"use strict";var i=n(0),r=n(19),o=n(10),a=n(12),u=n(2),c=n(30),s=n(16);function l(t,e){this.name=t,this.message=e.message||e.toString(),this.error=e}var f=n(7),d=n(8),p=n(11),h=n(27),g=n(52),v=n(46),b=n(53),m=Object(i.j)({},a,o,r,{addClass:d.a,hasClass:d.i,removeClass:d.o,replaceClass:d.p,toggleClass:d.v,classList:d.d,styleDimension:d.u,createElement:d.e,emptyElement:d.h,addStyleSheet:d.b,bounds:d.c,openLink:d.l,replaceInnerHtml:d.q,css:p.b,clearCss:p.a,style:p.d,transform:p.e,getRgba:p.c,ajax:h.b,crossdomain:function(t){var e=document.createElement("a"),n=document.createElement("a");e.href=location.href;try{return n.href=t,n.href=n.href,e.protocol+"//"+e.host!=n.protocol+"//"+n.host}catch(i){}return!0},tryCatch:function(t,e,n){if(void 0===n&&(n=[]),s.a.debug)return t.apply(e||this,n);try{return t.apply(e||this,n)}catch(i){return new l(t.name,i)}},Error:l,Timer:c.a,log:v.a,genId:b.b,between:g.a,foreach:function(t,e){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e(n,t[n])},flashVersion:f.a,isIframe:f.m,indexOf:i.p,trim:u.i,pad:u.e,extension:u.a,hms:u.b,seconds:u.g,prefix:u.f,suffix:u.h,noop:function(){}});e.a=m},function(t,e,n){"use strict";n.d(e,"b",function(){return c}),n.d(e,"d",function(){return s}),n.d(e,"c",function(){return l}),n.d(e,"a",function(){return f});var i,r=n(21),o=[{configName:"clearkey",keyName:"org.w3.clearkey"},{configName:"widevine",keyName:"com.widevine.alpha"},{configName:"playready",keyName:"com.microsoft.playready"}],a=[],u={};function c(t){return t.some(function(t){return!!t.drm||t.sources.some(function(t){return!!t.drm})})}
1function s(t){return i||((navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration||window.MSMediaKeys)&&Object(r.a)(t)("drm")?(o.forEach(function(t){var e,n,i=(e=t.keyName,n=[{initDataTypes:["cenc"],videoCapabilities:[{contentType:'video/mp4;codecs="avc1.4d401e"'}],audioCapabilities:[{contentType:'audio/mp4;codecs="mp4a.40.2"'}]}],navigator.requestMediaKeySystemAccess?navigator.requestMediaKeySystemAccess(e,n):new Promise(function(t,n){var i;try{i=new window.MSMediaKeys(e)}catch(r){return void n(r)}t(i)})).then(function(){u[t.configName]=!0}).catch(function(){u[t.configName]=!1});a.push(i)}),i=Promise.all(a)):Promise.resolve())}function l(t){return u[t]}function f(t){if(i)return Object.keys(t).some(function(t){return l(t)})}},function(t,e,n){"use strict";n.d(e,"c",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"a",function(){return a});var i=n(0),r=function(t){return t.replace(/^(.*\/)?([^-]*)-?.*\.(js)$/,"$2")};function o(t){return 305e3}function a(t,e,n){var r=t.name,o=Object(i.j)({},e),a=document.createElement("div");a.id=n.id+"_"+r,a.className="jw-plugin jw-reset";var u=t.getNewInstance(n,o,a);return n.addPlugin(r,u),u}},function(t,e,n){"use strict";n.d(e,"a",function(){return a}),n.d(e,"b",function(){return u});var i=n(6),r=n(4),o=null,a={};function u(){return o||(o=r.OS.tizenApp?n.e(3).then((function(t){var e=n(72).default;return a.controls=e,e}).bind(null,n)).catch(function(){o=null,Object(i.c)(301133)()}):n.e(2).then((function(t){var e=n(69).default;return a.controls=e,e}).bind(null,n)).catch(function(){o=null,Object(i.c)(301130)()})),o}},function(t,e,n){"use strict";e.a={advertising:{admessage:"This ad will end in xx",cuetext:"Advertisement",displayHeading:"Advertisement",loadingAd:"Loading ad",podmessage:"Ad __AD_POD_CURRENT__ of __AD_POD_LENGTH__.",skipmessage:"Skip ad in xx",skiptext:"Skip"},airplay:"AirPlay",audioTracks:"Audio Tracks",auto:"Auto",buffer:"Loading",cast:"Chromecast",cc:"Closed Captions",close:"Close",errors:{badConnection:"This video cannot be played because of a problem with your internet connection.",cantLoadPlayer:"Sorry, the video player failed to load.",cantPlayInBrowser:"The video cannot be played in this browser.",cantPlayVideo:"This video file cannot be played.",errorCode:"Error Code",liveStreamDown:"The live stream is either down or has ended.",protectedContent:"There was a problem providing access to protected content.",technicalError:"This video cannot be played because of a technical error."},exitFullscreen:"Exit Fullscreen",fullscreen:"Fullscreen",hd:"Quality",liveBroadcast:"Live",logo:"Logo",mute:"Mute",next:"Next",nextUp:"Next Up",notLive:"Not Live",off:"Off",pause:"Pause",play:"Play",playback:"Play",playbackRates:"Playback Rates",player:"Video Player",poweredBy:"Powered by",prev:"Previous",related:{autoplaymessage:"Next up in xx",heading:"More Videos"},replay:"Replay",rewind:"Rewind 10 Seconds",settings:"Settings",sharing:{copied:"Copied",email:"Email",embed:"Embed",heading:"Share",link:"Link"},slider:"Seek",stop:"Stop",unmute:"Unmute",videoInfo:"About This Video",volume:"Volume",volumeSlider:"Volume",shortcuts:{playPause:"Play/Pause",volumeToggle:"Mute/Unmute",fullscreenToggle:"Fullscreen/Exit Fullscreen",seekPercent:"Seek %",keyboardShortcuts:"Keyboard Shortcuts",increaseVolume:"Increase Volume",decreaseVolume:"Decrease Volume",seekForward:"Seek Forward",seekBackward:"Seek Backward",spacebar:"SPACE",captionsToggle:"Captions On/Off"},captionsStyles:{subtitleSettings:"Subtitle Settings",color:"Font Color",fontOpacity:"Font Opacity",userFontScale:"Font Size",fontFamily:"Font Family",edgeStyle:"Character Edge",backgroundColor:"Background Color",backgroundOpacity:"Backgroun
1d Opacity",windowColor:"Window Color",windowOpacity:"Window Opacity",white:"White",black:"Black",red:"Red",green:"Green",blue:"Blue",yellow:"Yellow",magenta:"Magenta",cyan:"Cyan",none:"None",raised:"Raised",depressed:"Depressed",uniform:"Uniform",dropShadow:"Drop Shadow"},disabled:"Disabled",enabled:"Enabled",reset:"Reset"}},function(t,e){var n,i,r={},o={},a=(n=function(){return document.head||document.getElementsByTagName("head")[0]},function(){return void 0===i&&(i=n.apply(this,arguments)),i});function u(t){var e,n=document.createElement("style");return n.type="text/css",n.setAttribute("data-jwplayer-id",t),e=n,a().appendChild(e),n}function c(t,e){var n,i,r,a=o[t];a||(a=o[t]={element:u(t),counter:0});var c=a.counter++;return n=a.element,r=function(){f(n,c,"")},(i=function(t){f(n,c,t)})(e.css),function(t){if(t){if(t.css===e.css&&t.media===e.media)return;i((e=t).css)}else r()}}t.exports={style:function(t,e){!function(t,e){for(var n=0;n<e.length;n++){var i=e[n],o=(r[t]||{})[i.id];if(o){for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(c(t,i.parts[a]))}else{var u=[];for(a=0;a<i.parts.length;a++)u.push(c(t,i.parts[a]));r[t]=r[t]||{},r[t][i.id]={id:i.id,parts:u}}}}(e,function(t){for(var e=[],n={},i=0;i<t.length;i++){var r=t[i],o=r[0],a={css:r[1],media:r[2]};n[o]?n[o].parts.push(a):e.push(n[o]={id:o,parts:[a]})}return e}(t))},clear:function(t,e){var n=r[t];if(n){if(e){var i=n[e];if(i)for(var o=0;o<i.parts.length;o+=1)i.parts[o]();return}for(var a=Object.keys(n),u=0;u<a.length;u+=1)for(var c=n[a[u]],s=0;s<c.parts.length;s+=1)c.parts[s]();delete r[t]}}};var s,l=(s=[],function(t,e){return s[t]=e,s.filter(Boolean).join("\n")});function f(t,e,n){if(t.styleSheet)t.styleSheet.cssText=l(e,n);else{var i=document.createTextNode(n),r=t.childNodes[e];r?t.replaceChild(i,r):t.appendChild(i)}}},function(t,e,n){"use strict";var i=n(0),r=n(17),o=n(32),a=n(13),u=n(6),c={html5:function(){return n.e(16).then((function(t){var e=n(166).default;return Object(a.a)(e),e}).bind(null,n)).catch(Object(u.b)(152))}};Object(i.j)(c,{shaka:function(){return n.e(17).then((function(t){var e=n(180).default;return Object(a.a)(e),e}).bind(null,n)).catch(Object(u.b)(154))},hlsjs:function(){return n.e(14).then((function(t){var e=n(175).default;return Object(a.a)(e),e}).bind(null,n)).catch(Object(u.b)(153))},flash:function(){return n.e(13).then((function(t){var e=n(182).default;return Object(a.a)(e),e}).bind(null,n)).catch(Object(u.b)(151))},hlsjsProgressive:function(){return n.e(15).then((function(t){var e=n(176).default;return Object(a.a)(e),e}).bind(null,n)).catch(Object(u.b)(155))}});var s=c;function l(t){this.config=t||{}}Object(i.j)(l.prototype,{load:function(t){var e=s[t],n=function(){return Promise.reject(new Error("Failed to load media"))};return e?e().then(function(){return o.a[t]||n()}):n()},providerSupports:function(t,e){return t.supports(e)},choose:function(t){if(t===Object(t))for(var e=r.a.length,n=0;n<e;n++){var i=r.a[n];if(this.providerSupports(i,t))return{priority:e-n-1,name:i.name,type:t.type,providerToCheck:i,provider:o.a[i.name]}}return{}}});var f=l;f.prototype.providerSupports=function(t,e){return t.supports(e,this.config.edition)},e.a=f},function(t,e,n){"use strict";var i=n(8),r=n(11);function o(t,e){var n,o,a,u,c=e.message,s=e.code,l=(n=t.get("id"),o=c,a=t.get("localization").errors.errorCode,'<div id="'+n+'" class="jw-error jw-reset"><div class="jw-error-msg jw-info-overlay jw-reset"><style>[id="'+n+'"].jw-error{background:#000;overflow:hidden;position:relative}[id="'+n+'"] .jw-error-msg{top:50%;left:50%;position:absolute;transform:translate(-50%,-50%)}[id="'+n+'"] .jw-error-text{text-align:start;color:#FFF;font:14px/1.35 Arial,Helvetica,sans-serif}</style><div class="jw-icon jw-reset"></div><div class="jw-info-container jw-reset"><div class="jw-error-text jw-reset-text" dir="auto">'+(o||"")+'<span class="jw-break jw-reset"></span>'+((u=s.toString())?("("+a+": "+u+")").replace(/\s+/g,"&nbsp;"):"")+"</div></div></div></div>"),f=t.get("width"),d=t.get("height"),p=Object(i.e)(l);return Object(r.d)(p,{width:f.toString().indexOf("%")>0?f:f+"px",height:d.toString().indexOf("%")>0?d:d+"px"}),p}n.d(e,"a",function(){return o}
1)},function(t,e,n){"use strict";function i(t){return t.slice&&"px"===t.slice(-2)&&(t=t.slice(0,-2)),t}function r(t,e){if(-1===e.toString().indexOf("%")||"string"!=typeof t||!t)return 0;if(/^\d*\.?\d+%$/.test(t))return t;var n=t.indexOf(":");if(-1===n)return 0;var i=parseFloat(t.substr(0,n)),r=parseFloat(t.substr(n+1));return i<=0||r<=0?0:r/i*100+"%"}n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=window.atob},function(t,e,n){"use strict";var i=n(5),r=n(2);function o(t){var e={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"};return e[t]?e[t]:t}function a(t){for(var e=[],n=0;n<Object(i.c)(t);n++){var r=t.childNodes[n];"jwplayer"===r.prefix&&"mediatypes"===Object(i.b)(r).toLowerCase()&&e.push(Object(i.d)(r))}return e}var u=function t(e,n){for(var u=[],c=0;c<Object(i.c)(e);c++){var s=e.childNodes[c];if("media"===s.prefix){if(!Object(i.b)(s))continue;switch(Object(i.b)(s).toLowerCase()){case"content":if(Object(r.j)(s,"duration")&&(n.duration=Object(r.g)(Object(r.j)(s,"duration"))),Object(r.j)(s,"url")){n.sources||(n.sources=[]);var l={file:Object(r.j)(s,"url"),type:Object(r.j)(s,"type"),width:Object(r.j)(s,"width"),label:Object(r.j)(s,"label")},f=a(s);f.length&&(l.mediaTypes=f),n.sources.push(l)}Object(i.c)(s)>0&&(n=t(s,n));break;case"title":n.title=Object(i.d)(s);break;case"description":n.description=Object(i.d)(s);break;case"guid":n.mediaid=Object(i.d)(s);break;case"thumbnail":n.image||(n.image=Object(r.j)(s,"url"));break;case"group":t(s,n);break;case"subtitle":var d={file:Object(r.j)(s,"url"),kind:"captions"};Object(r.j)(s,"lang").length>0&&(d.label=o(Object(r.j)(s,"lang"))),u.push(d)}}}n.tracks||(n.tracks=[]);for(var p=0;p<u.length;p++)n.tracks.push(u[p]);return n},c=n(12),s=n(28);function l(t){var e=[];e.feedData={};for(var n=0;n<Object(i.c)(t);n++){var r=Object(i.a)(t,n);if("channel"===Object(i.b)(r).toLowerCase())for(var o=0;o<Object(i.c)(r);o++){var a=Object(i.a)(r,o),u=Object(i.b)(a).toLowerCase();"item"===u?e.push(f(a)):u&&(e.feedData[u]=Object(i.d)(a))}}return e}function f(t){for(var e={},n=0;n<t.childNodes.length;n++){var o=t.childNodes[n],a=Object(i.b)(o);if(a)switch(a.toLowerCase()){case"enclosure":e.file=Object(r.j)(o,"url");break;case"title":e.title=Object(i.d)(o);break;case"guid":e.mediaid=Object(i.d)(o);break;case"pubdate":e.date=Object(i.d)(o);break;case"description":e.description=Object(i.d)(o);break;case"link":e.link=Object(i.d)(o);break;case"category":e.tags?e.tags+=Object(i.d)(o):e.tags=Object(i.d)(o)}}return new s.a(function(t,e){for(var n="default",o=[],a=[],u=0;u<t.childNodes.length;u++){var s=t.childNodes[u];if("jwplayer"===s.prefix){var l=Object(i.b)(s);"source"===l?(delete e.sources,o.push({file:Object(r.j)(s,"file"),default:Object(r.j)(s,n),label:Object(r.j)(s,"label"),type:Object(r.j)(s,"type")})):"track"===l?(delete e.tracks,a.push({file:Object(r.j)(s,"file"),default:Object(r.j)(s,n),kind:Object(r.j)(s,"kind"),label:Object(r.j)(s,"label")})):(e[l]=Object(c.serialize)(Object(i.d)(s)),"file"===l&&e.sources&&delete e.sources)}e.file||(e.file=e.link)}if(o.length){e.sources=[];for(var f=0;f<o.length;f++){var d=o[f];d.file.length>0&&(d[n]="true"===o[f][n],d.label||delete d.label,e.sources.push(d))}}if(a.length){e.tracks=[];for(var p=0;p<a.length;p++){var h=a[p];h.file&&h.file.length>0&&(h[n]="true"===a[p][n],h.kind=a[p].kind.length?a[p].kind:"captions",h.label||delete h.label,e.tracks.push(h))}}return e}(t,u(t,e)))}n.d(e,"a",function(){return l})},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i="function"==typeof console.log?console.log.bind(console):function(){}},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var i=n(44);function r(t){for(var e=new Array(Math.ceil(t.length/4)),n=0;n<e.length;n++)e[n]=t.charCodeAt(4*n)+(t.charCodeAt(4*n+1)<<8)+(t.charCodeAt(4*n+2)<<16)+(t.charCodeAt(4*n+3)<<24);return e}function o(t,e){if(t=String(t),e=String(e),0===t.length)return"";for(var n,o,a,u=r(Object(i.a)(t)),c=r((n=e,unescape(encodeURIComponent(n))).slice(0,16)),s=u.length,l=u[s-1],f=u[0],d=2654435769*Math.floor(6+52/s);d;){a=d>>>2&3;for(var p=s-1;p>=0;p--)o=((l=u[p>0?p-1:s-1])>>>5^f<<2)+(f>>>3^l<<4)^(d^f)+(c[3&p^a]^l),f=u[p]-=o;d-=2654435769}return function(t){try{return decodeURIComponent(escape(t))}catch(e){return t}}(function(t){for(var e=new Array(t.length),n=0;n<t.length;n++)e[n]=String.fromCharCode(255&t[n],t[n]>>>8&255,t[n]>>>16&255,t[n]>>>24&255);return e.join("")}(u).replace(/\0+$/,""))}},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i=window.requestAnimationFrame||function(t){return setTimeout(t,17)},r=window.cancelAnimationFrame||clearTimeout},function(t,e,n){"use strict";n.d(e,"b",function(){return i}),n.d(e,"a",function(){return r});var i={audioMode:!1,flashBlocked:!1,itemMeta:{},playbackRate:1,playRejected:!1,state:n(3).nb,itemReady:!1,controlsEnabled:!1},r={position:0,duration:0,buffer:0,currentTime:0}},function(t,e,n){"use strict";n.d(e,"a",function(){return l}),n.d(e,"c",function(){return f});var i=n(0),r=n(43),o=n(19),a=n(12),u=n(4),c=n(39),s=n(14),l={autoPause:{view
1ability:!1,pauseAds:!1},autostart:!1,bandwidthEstimate:null,bitrateSelection:null,castAvailable:!1,controls:!0,cues:[],defaultPlaybackRate:1,displaydescription:!0,displaytitle:!0,displayPlaybackLabel:!1,enableShortcuts:!0,height:360,intl:{},item:0,language:"en",liveTimeout:null,localization:c.a,mute:!1,nextUpDisplay:!0,playbackRateControls:!1,playbackRates:[.5,1,1.25,1.5,2],renderCaptionsNatively:!1,repeat:!1,stretching:"uniform",volume:90,width:640};function f(t){return t?t<5?5:t>30?30:t:25}e.b=function(t,e){var d,p=Object(i.j)({},(window.jwplayer||{}).defaults,e,t);d=p,Object.keys(d).forEach(function(t){"id"!==t&&(d[t]=Object(a.serialize)(d[t]))});var h=p.forceLocalizationDefaults?l.language:Object(s.e)(),g=Object(s.j)(p.intl);p.localization=Object(s.a)(c.a,Object(s.c)(p,g,h));var v=Object(i.j)({},l,p);"."===v.base&&(v.base=Object(o.getScriptPath)("jwplayer.js")),v.base=(v.base||Object(o.loadFrom)()).replace(/\/?$/,"/"),n.p=v.base,v.width=Object(r.b)(v.width),v.height=Object(r.b)(v.height),v.aspectratio=Object(r.a)(v.aspectratio,v.width),v.volume=Object(i.z)(v.volume)?Math.min(Math.max(0,v.volume),100):l.volume,v.mute=!!v.mute,v.language=h,v.intl=g;var b=v.playlistIndex;b&&(v.item=b),Object(i.v)(v.item)||(v.item=0);var m=p.autoPause;m&&(v.autoPause.viewability=!("viewability"in m)||!!m.viewability);var y=v.playbackRateControls;if(y){var w=v.playbackRates;Array.isArray(y)&&(w=y),(w=w.filter(function(t){return Object(i.v)(t)&&t>=.25&&t<=4}).map(function(t){return Math.round(100*t)/100})).indexOf(1)<0&&w.push(1),w.sort(),v.playbackRateControls=!0,v.playbackRates=w}(!v.playbackRateControls||v.playbackRates.indexOf(v.defaultPlaybackRate)<0)&&(v.defaultPlaybackRate=1),v.playbackRate=v.defaultPlaybackRate,v.aspectratio||delete v.aspectratio;var O=v.playlist;if(O)Array.isArray(O.playlist)&&(v.feedData=O,v.playlist=O.playlist);else{var j=Object(i.D)(v,["title","description","type","mediaid","image","images","file","sources","tracks","preload","duration"]);v.playlist=[j]}v.qualityLabels=v.qualityLabels||v.hlslabels,delete v.duration;var k=v.liveTimeout;null!==k&&(Object(i.z)(k)?0!==k&&(k=Math.max(30,k)):k=null,v.liveTimeout=k);var x,C=parseFloat(v.bandwidthEstimate),P=parseFloat(v.bitrateSelection);return v.bandwidthEstimate=Object(i.z)(C)?C:(x=parseFloat(v.defaultBandwidthEstimate),Object(i.z)(x)?Math.max(x,1):l.bandwidthEstimate),v.bitrateSelection=Object(i.z)(P)?P:l.bitrateSelection,v.liveSyncDuration=f(v.liveSyncDuration),v.backgroundLoading=Object(i.r)(v.backgroundLoading)?v.backgroundLoading:u.Features.backgroundLoading,v}},function(t,e,n){"use strict";n.r(e);var i=n(0),r=setTimeout;function o(){}function a(t){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(t,this)}function u(t,e){for(;3===t._state;)t=t._value;0!==t._state?(t._handled=!0,a._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(r){return void s(e.promise,r)}c(e.promise,i)}else(1===t._state?c:s)(e.promise,t._value)})):t._deferreds.push(e)}function c(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof a)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void d((i=n,r=e,function(){i.apply(r,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(o){s(t,o)}var i,r}function s(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&a._immediateFn(function(){t._handled||a._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)u(t,t._deferreds[e]);t._deferreds=null}function f(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function d(t,e){var n=!1;try{t(function(t){n||(n=!0,c(e,t))},function(t){n||(n=!0,s(e,t))})}catch(i){if(n)return;n=!0,s(e,i)}}a.prototype.catch=function(t){return this.then(null,t)},a.prototype.then=function(t,e){var n=new this.constructor(o);return u(this,new f(t,e,n)),n},a.prototype.finally=function(t){var e=this.constructor;return this.then(function(n){return e.resolve(t()).then(function(){return n})},function(n){return e.resolve(t()).then(function(){return e.reject(n)})})},a.all=function(t){return new a(function(e,n){if(!t||void 0===t.length)throw new TypeError("Promise.all accepts an array");var i=Array.prototype.slice.call(t);if(0===i.length)return e([]);var r=i.length;
1function o(t,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var u=a.then;if("function"==typeof u)return void u.call(a,function(e){o(t,e)},n)}i[t]=a,0==--r&&e(i)}catch(c){n(c)}}for(var a=0;a<i.length;a++)o(a,i[a])})},a.resolve=function(t){return t&&"object"==typeof t&&t.constructor===a?t:new a(function(e){e(t)})},a.reject=function(t){return new a(function(e,n){n(t)})},a.race=function(t){return new a(function(e,n){for(var i=0,r=t.length;i<r;i++)t[i].then(e,n)})},a._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){r(t,0)},a._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},window.Promise||(window.Promise=a);var p=n(19),h=n(15),g=n(17),v=n(13),b={availableProviders:g.a,registerProvider:v.a},m=n(24);b.registerPlugin=function(t,e,n){"jwpsrv"!==t&&Object(m.b)(t,e,n)};var y=b,w=n(29),O=n(16),j=n(4),k=n(64),x=n(3),C=n(30),P=n(9),T=n(35),I=0;function A(t,e){var n=new k.a(e);return n.on(x.hb,function(e){t._qoe.tick("ready"),e.setupTime=t._qoe.between("setup","ready")}),n.on("all",function(e,n){t.trigger(e,n)}),n}function S(t,e){var n=t.plugins;Object.keys(n).forEach(function(t){delete n[t]}),e.get("setupConfig")&&t.trigger("remove"),t.off(),e.playerDestroy(),e.getContainer().removeAttribute("data-jwplayer-id")}function _(t){var e=++I,n=t.id||"player-"+e,r=new C.a,o={},a=A(this,t);r.tick("init"),t.setAttribute("data-jwplayer-id",n),Object.defineProperties(this,{id:{enumerable:!0,get:function(){return n}},uniqueId:{enumerable:!0,get:function(){return e}},plugins:{enumerable:!0,get:function(){return o}},_qoe:{enumerable:!0,get:function(){return r}},version:{enumerable:!0,get:function(){return w.a}},Events:{enumerable:!0,get:function(){return P.a}},utils:{enumerable:!0,get:function(){return T.a}},_:{enumerable:!0,get:function(){return i.f}}}),Object(i.j)(this,{_events:{},setup:function(e){return r.clear("ready"),r.tick("setup"),S(this,a),(a=A(this,t)).init(e,this),this.on(e.events,null,this)},remove:function(){return function(t){for(var e=h.a.length;e--;)if(h.a[e].uniqueId===t.uniqueId){h.a.splice(e,1);break}}(this),S(this,a),this},qoe:function(){var t=a.getItemQoe();return{setupTime:this._qoe.between("setup","ready"),firstFrame:t.getFirstFrame?t.getFirstFrame():null,player:this._qoe.dump(),item:t.dump()}},addCues:function(t){return Array.isArray(t)&&a.addCues(t),this},getAudioTracks:function(){return a.getAudioTracks()},getBuffer:function(){return a.get("buffer")},getCaptions:function(){return a.get("captions")},getCaptionsList:function(){return a.getCaptionsList()},getConfig:function(){return a.getConfig()},getContainer:function(){return a.getContainer()},getControls:function(){return a.get("controls")},getCues:function(){return a.get("cues")},getCurrentAudioTrack:function(){return a.getCurrentAudioTrack()},getCurrentCaptions:function(){return a.getCurrentCaptions()},getCurrentQuality:function(){return a.getCurrentQuality()},getCurrentTime:function(){return a.get("currentTime")},getDuration:function(){return a.get("duration")},getEnvironment:function(){return j},getFullscreen:function(){return a.get("fullscreen")},getHeight:function(){return a.getHeight()},getItemMeta:function(){return a.get("itemMeta")||{}},getMute:function(){return a.getMute()},getPercentViewable:function(){return a.get("visibility")},getPlaybackRate:function(){return a.get("playbackRate")},getPlaylist:function(){return a.get("playlist")},getPlaylistIndex:function(){return a.get("item")},getPlaylistItem:function(t){if(!T.a.exists(t))return a.get("playlistItem");var e=this.getPlaylist();return e?e[t]:null},getPosition:function(){return a.get("position")},getProvider:function(){return a.getProvider()},getQualityLevels:function(){return a.getQualityLevels()},getSafeRegion:function(t){return void 0===t&&(t=!0),a.getSafeRegion(t)},getState:function(){return a.getState()},getStretching:function(){return a.get("stretching")},getViewable:function(){return a.get("viewable")},getVisualQuality:function(){return a.getVisualQuality()},getVolume:function(){return a.get("volume")},getWidth:function(){return a.getWidth()},setCaptions:function(t){return a.setCaptions(t),this},setConfig:function(t){return a.setConfig(t),this},setControls:function(t){return a.setControls(t),this},setCurrentAudioTrack:function(t){a.setCurrentAudioTrack(t)},setCurrentCaptions:function(t){a.setCurrentCaptions(t)},setCurrentQuality:function(t){a.setCurrentQuality(t)},setFullscreen:function(t){return a.setFullscreen(t),this},setMute:function(t){return a.setMute(t),this},setPlaybackRate:function(t){return a.setPlaybackRate(t),this},setPlaylistItem:function(t,e){return a.setPlaylistItem(t,e),this},setCues:function(t){return Array.isArray(t)&&a.setCues(t),this},setVolume:function(t){return a.setVolume(t),this},load:function(t,e){return a.load(t,e),this},play:function(t){return a.play(t),this},pause:function(t){return a.pause(t),this},playToggle:function(t){switch(this.getState()){case x.qb:case x.kb:return this.pause(t);default:return this.play(t)}},seek:function(t,e){return a.seek(t,e),this},playlistItem:function(t,e){return a.playlistItem(t,e),this},playlistNext:function(t){return a.playlistNext(t),this},playlistPrev:function(t){return a.playlistPrev(t),this},next:function(t){return a.next(t),this},castToggle:function(){return a.castToggle(),this},stopCasting:function(){return a.stopCasting(),this},createInstream:function(){return a.createInstream()},stop:function(){return a.stop(),this},resize:function(t,e){return a.resize(t,e),this},addButton:function(t,e,n,i,r){return a.addButton(t,e,n,i,r),this},removeButton:function(t){return a.removeButton(t),this},attachMedia:function(){return a.attachMedia(),this},detachMedia:function(){return a.detachMedia(),this},isBeforeComplete:function(){return a.isBeforeComplete()},isBeforePlay:function(){return a.isBeforePlay()},setPlaylistItemCallback:function(t,e){a.setItemCallback(t,e)},removePlaylistItemCallback:function(){a.setItemCallback(null)},getPlaylistItemPromise:function(t){return a.getItemPromise(t)},getFloating:function(){return!!a.get("isFloating")},setFloating:function(t){a.setConfig({floating:{mode:t?"always":"never"}})}})}Object(i.j)(_.prototype,{on:function(t,e,n){return P.c.call(this,t,e,n)},once:function(t,e,n){return P.d.call(this,t,e,n)},off:function(t,e,n){return P.b.call(this,t,e,n)},trigger:function(t,e){return(e=i.f.isObject(e)?Object(i.j)({},e):{}).type=t,O.a.debug?P.e.call(this,t,e):P.f.call(this,t,e)},getPlugin:function(t){return this.plugins[t]},addPlugin:function(t,e){this.plugins[t]=e,this.on("ready",e.addToPlayer),e.resize&&this.on("resize",e.resizeHandler)},registerPlugin:function(t,e,n){Object(m.b)(t,e,n)},getAdBlock:function(){return!1},playAd:function(t){},pauseAd:function(t){},skipAd:function(){}}),n.p=Object(p.loadFrom)();var M=function(t){var e,n;if(t?"string"==typeof t?(e=E(t))||(n=document.getElementById(t)):"number"==typeof t?e=h.a[t]:t.nodeType&&(e=E((n=t).id||n.getAttribute("data-jwplayer-id"))):e=h.a[0],e)return e;if(n){var i=new _(n);return h.a.push(i),i}return{registerPlugin:m.b}};function E(t){for(var e=0;e<h.a.length;e++)if(h.a[e].id===t)return h.a[e];return null}function q(t){Object.defineProperties(t,{api:{get:function(){return y},set:function(){}},version:{get:function(){return w.a},set:function(){}},debug:{get:function(){return O.a.debug},set:function(t){O.a.debug=!!t}}})}q(M);var Z=M,F=n(34),Q=n(25),N=n(23),L=n(47),z=n(45),R=n(31),B=i.f.extend,Y={};Y._=i.f,Y.utils=Object(i.j)(T.a,{key:Q.b,extend:B,scriptloader:N.a,rssparser:{parse:z.a},tea:L.a,UI:F.a}),Y.utils.css.style=Y.utils.style,Y.vid=R.a;var V=Y,J=n(63),D=/^(?:on(?:ce)?|off|trigger)$/;function U(t){var e={};W(this,t,t,e),W(this,t,_.prototype,e)}function W(t,e,n,i){var r=Object.keys(n);r.forEach(function(o){"function"==typeof n[o]&&"Events"!==o?t[o]=function t(e,n,i,r,o){return function(){var a=Array.prototype.slice.call(arguments),u=a[0],c=n._trackCallQueue||(n._trackCallQueue=[]),s=D.test(i),l=s&&a[1]&&a[1]._callback,f=o.edition||H(n,o,"edition"),d="free"===f;if(d){var p=["addButton","addCues","detachMedia","load","next","pause","play","playlistItem","playlistNext","playlistPrev","playToggle","resize","seek","setCaptions","setConfig","setControls","setCues","setFullscreen","setMute","setPlaybackRate","setPlaylistItem","setVolume","stop"];
1if(p.indexOf(i)>-1)return X(i),e;var h=["createInstream","setCurrentAudioTrack","setCurrentCaptions","setCurrentQuality"];if(h.indexOf(i)>-1)return X(i),null}if(l||c.push([i,u]),s)return $(n,c),n[i].apply(e,a);K(i,a);var g=n[i].apply(n,a);return"remove"===i?n.off.call(e):"setup"===i&&(n.off.call(e),n.off(u.events,null,n),n.on.call(e,u.events,null,e),n.on("all",function(i,a){if("ready"===i){var u=Object.keys(n).filter(function(t){return"_"!==t[0]&&-1===r.indexOf(t)&&"function"==typeof n[t]}),s=r.concat(u);u.forEach(function(i){e[i]=t(e,n,i,s,o)})}n.trigger.call(e,i,a),$(n,c)})),$(n,c),g===n?e:g}}(t,e,o,r,i):"_events"===o?t._events={}:Object.defineProperty(t,o,{enumerable:!0,get:function(){return n[o]}})})}function H(t,e,n){var i=t.getConfig()[n];return e[n]=i,i}function X(t){console.warn("The API method jwplayer()."+t+"() is disabled in the free edition of JW Player.")}function K(t,e){var n={reason:Object(J.a)()?"interaction":"external"};switch(t){case"play":case"pause":case"playToggle":case"playlistNext":case"playlistPrev":case"next":e[0]=n;break;case"seek":case"playlistItem":e[1]=n}}function $(t,e){if(e.length){var n=t.getPlugin("jwpsrv");n&&n.trackExternalAPIUsage&&(e.forEach(function(t){!function(t,e,n){try{var i=function(t,e){switch(t){case"setup":return!!e;case"getSafeRegion":case"pauseAd":case"setControls":case"setFullscreen":case"setMute":return!!e===e?e:void 0;case"setPlaylistItem":case"getPlaylistItem":return(0|e)===e?e:void 0;case"setPlaybackRate":case"setVolume":return Number(e);case"setConfig":return Object.keys(Object(e)).join(",");case"on":case"once":case"off":case"trigger":case"getPlugin":case"addPlugin":case"registerPlugin":return""+e}return null}(e,n);t.trackExternalAPIUsage(e,i)}catch(r){O.a.debug&&console.warn(r)}}(n,t[0],t[1])}),e.length=0)}}var G=window;Object(i.j)(Z,V);var tt=function(t){var e=Z(t);return e.uniqueId?e._publicApi||(e._publicApi=new U(e)):e};Object(i.j)(tt,V),q(tt),"function"==typeof G.define&&G.define.amd&&G.define([],function(){return tt});var et=tt;G.jwplayer&&(et=G.jwplayer),e.default=et},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t,e,n){return Math.max(Math.min(t,n),e)}},function(t,e,n){"use strict";n.d(e,"a",function(){return i}),n.d(e,"b",function(){return o});var i=12;function r(){try{var t=window.crypto||window.msCrypto;if(t&&t.getRandomValues)return t.getRandomValues(new Uint32Array(1))[0].toString(36)}catch(e){}return Math.random().toString(36).slice(2,9)}function o(t){for(var e="";e.length<t;)e+=r();return e.slice(0,t)}},function(t,e,n){"use strict";n.d(e,"a",function(){return i});var i=function(t){var e,n;function i(){var e;return(e=t.call(this)||this).attributes=Object.create(null),e}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var r=i.prototype;return r.addAttributes=function(t){var e=this;Object.keys(t).forEach(function(n){e.add(n,t[n])})},r.add=function(t,e){var n=this;Object.defineProperty(this,t,{get:function(){return n.attributes[t]},set:function(e){return n.set(t,e)},enumerable:!1}),this.attributes[t]=e},r.get=function(t){return this.attributes[t]},r.set=function(t,e){if(this.attributes[t]!==e){var n=this.attributes[t];this.attributes[t]=e,this.trigger("change:"+t,this,e,n)}},r.clone=function(){var t={},e=this.attributes;if(e)for(var n in e)t[n]=e[n];return t},r.change=function(t,e,n){this.on("change:"+t,e,n);var i=this.get(t);return e.call(n,this,i,i),this},i}(n(9).a)},function(t,e,n){"use strict";function i(t,e,n){var i=[],r={};function o(){for(;i.length>0;){var e=i.shift(),n=e.command;(r[n]||t[n]).apply(t,e.args)}}e.forEach(function(e){var a=t[e];r[e]=a,t[e]=function(){for(var t=arguments.length,r=new Array(t),u=0;u<t;u++)r[u]=arguments[u];n()?i.push({command:e,args:r}):(o(),a&&a.apply(this,r))}}),Object.defineProperty(this,"queue",{enumerable:!0,get:function(){return i}}),this.flush=o,this.empty=function(){i.length=0},this.off=function(){e.forEach(function(e){var n=r[e];n&&(t[e]=n,delete r[e])})},this.destroy=function(){this.off(),this.empty()}}n.d(e,"a",function(){return i})},function(t,e,n){"use strict";n.d(e,"c",function(){return i}),n.d(e,"b",function(){return r}),n.d(e,"a",function(){return o}
1);var i=4,r=5,o=1},function(t,e,n){"use strict";var i=n(3),r=function(){},o=function(){return!1},a={name:"default"};e.a={supports:o,play:r,pause:r,preload:r,load:r,stop:r,volume:r,mute:r,seek:r,resize:r,remove:r,destroy:r,setVisibility:r,setFullscreen:r,getFullscreen:o,supportsFullscreen:o,getContainer:r,setContainer:r,getName:function(){return a},getQualityLevels:r,getCurrentQuality:r,setCurrentQuality:r,getAudioTracks:r,getCurrentAudioTrack:r,setCurrentAudioTrack:r,getSeekRange:function(){return{start:0,end:this.getDuration()}},setPlaybackRate:r,getPlaybackRate:function(){return 1},getBandwidthEstimate:function(){return null},getLiveLatency:function(){return null},setControls:r,attachMedia:r,detachMedia:r,init:r,setState:function(t){this.state=t,this.trigger(i.bb,{newstate:t})},sendMediaType:function(t){var e=t[0],n=e.type,r=e.mimeType,o="aac"===n||"mp3"===n||"mpeg"===n||r&&0===r.indexOf("audio/");this.trigger(i.T,{mediaType:o?"audio":"video"})},getDuration:function(){return 0},trigger:r}},function(t,e,n){"use strict";var i=n(0),r=n(23),o=n(12),a=n(2),u=n(1),c=n(20),s=function(t){if("string"==typeof t){var e=(t=t.split("?")[0]).indexOf("://");if(e>0)return 0;var n=t.indexOf("/"),i=Object(a.a)(t);return!(e<0&&n<0)||i&&isNaN(i)?1:2}},l=function(t){this.url=t,this.promise_=null};Object.defineProperties(l.prototype,{promise:{get:function(){return this.promise_||this.load()},set:function(){}}}),Object(i.j)(l.prototype,{load:function(){var t=this,e=this.promise_;if(!e){if(2===s(this.url))e=Promise.resolve(this);else{var n=new r.a(function(t){switch(s(t)){case 0:return t;case 1:return Object(o.getAbsolutePath)(t,window.location.href)}}(this.url));this.loader=n,e=n.load().then(function(){return t})}this.promise_=e}return e},registerPlugin:function(t,e,n){this.name=t,this.target=e,this.js=n},getNewInstance:function(t,e,n){var i=this.js;if("function"!=typeof i)throw new u.t(null,Object(c.b)(this.url)+100);var r=new i(t,e,n);return r.addToPlayer=function(){var e=t.getContainer().querySelector(".jw-overlays");e&&(n.left=e.style.left,n.top=e.style.top,e.appendChild(n),r.displayArea=e)},r.resizeHandler=function(){var t=r.displayArea;t&&r.resize(t.clientWidth,t.clientHeight)},r}}),e.a=l},function(t,e,n){"use strict";var i=n(0),r=n(3),o=n(5),a=n(45),u=n(27),c=n(9),s=n(1);e.a=function(){var t=Object(i.j)(this,c.a);function e(e){try{var u,c=e.responseXML?e.responseXML.childNodes:null,l=null;if(c){for(var f=0;f<c.length&&8===(l=c[f]).nodeType;f++);if(l&&"xml"===Object(o.b)(l)&&(l=l.nextSibling),l&&"rss"===Object(o.b)(l)){var d=Object(a.a)(l);u=Object(i.j)({playlist:d},d.feedData)}}if(!u)try{var p=JSON.parse(e.responseText);if(Array.isArray(p))u={playlist:p};else{if(!Array.isArray(p.playlist))throw Error("Playlist is not an array");u=p}}catch(h){throw new s.t(s.p,621,h)}t.trigger(r.eb,u)}catch(h){n(h)}}function n(e){e instanceof s.t&&!e.code&&(e=new s.t(s.p,0)),t.trigger(r.w,e)}this.load=function(t){Object(u.b)(t,e,function(t,e,i,r){n(r)})},this.destroy=function(){this.off()}}},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return a});var i=n(56);function r(){for(var t=i.c,e=[],n=[],r=0;r<t;r++){var u=a();e.push(u),n.push(u),o(u)}var c=n.shift(),s=n.shift(),l=!1;return{primed:function(){return l},prime:function(){e.forEach(o),l=!0},played:function(){l=!0},getPrimedElement:function(){return n.shift()||null},getAdElement:function(){return c},getTestElement:function(){return s},clean:function(t){if(t.src){t.removeAttribute("src");try{t.load()}catch(e){}}},recycle:function(t){t&&!n.some(function(e){return e===t})&&(this.clean(t),n.push(t))},syncVolume:function(t){var n=Math.min(Math.max(0,t/100),1);e.forEach(function(t){t.volume=n})},syncMute:function(t){e.forEach(function(e){e.muted=t})}}}function o(t){t.src||t.load()}function a(t){var e=document.createElement("video");return e.className="jw-video jw-reset",e.setAttribute("tabindex","-1"),e.setAttribute("disableRemotePlayback",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("playsinline",""),t&&Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])}),e}},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(0);function r(t,e){return Object(i.j)({},e,{prime:function(){t.src||t.load()},getPrimedElement:function(){return t},clean:function(){e.clean(t)},recycle:function(){e.clean(t)}})}},function(t,e,n){"use strict";e.a="hidden"in document?function(){return!document.hidden}:"webkitHidden"in document?function(){return!document.webkitHidden}:function(){return!0}},function(t,e,n){"use strict";function i(t){return!!(t=t||window.event)&&/^(?:mouse|pointer|touch|gesture|click|key)/.test(t.type)}n.d(e,"a",function(){return i})},function(t,e,n){"use strict";var i=n(0),r=n(55),o=n(50),a=n(19),u=n(10),c=n(51),s=n(25),l=n(21);function f(t,e){var n=t.querySelector(e);
1if(n)return n.getAttribute("content")}var d=n(67),p=n.n(d),h=n(66);function g(t){return"string"==typeof t&&/^\/\/(?:content\.jwplatform|cdn\.jwplayer)\.com\//.test(t)}function v(t){return"https:"+t}function b(t,e){var n="file:"===window.location.protocol?"https:":"",i={bidding:"//ssl.p.jwpcdn.com/player/v/8.18.2/bidding.js",jwpsrv:"//ssl.p.jwpcdn.com/player/v/8.18.2/jwpsrv.js",dai:"//ssl.p.jwpcdn.com/player/plugins/dai/v/0.4.13/dai.js",vast:"//ssl.p.jwpcdn.com/player/plugins/vast/v/8.8.6/vast.js",googima:e?"//ssl.p.jwpcdn.com/player/v/8.18.2/googimanvmp.js":"//ssl.p.jwpcdn.com/player/plugins/googima/v/8.8.8/googima.js",freewheel:"//ssl.p.jwpcdn.com/player/plugins/freewheel/v/2.2.11/freewheel.js",gapro:"//ssl.p.jwpcdn.com/player/plugins/gapro/v/2.1.5/gapro.js"}[t];return i?n+i:""}function m(t,e,n){e&&(t[e.client||b(n)]=e,delete e.client)}var y=n(6),w=n(28),O=n(22),j=n(17),k=n(13),x=n(38),C=n(1),P=n(4),T=null;function I(t){return T||(o=(e=t).get("controls"),a=A(),u=function(t,e){var n=t.get("playlist");if(Array.isArray(n)&&n.length)for(var i=Object(O.f)(t.get("item"),n.length),r=Object(O.c)(Object(w.a)(n[i]),t),o=0;o<r.length;o++)for(var a=r[o],u=t.getProviders(),c=0;c<j.a.length;c++){var s=j.a[c];if(u.providerSupports(s,a))return"html5"===s.name}return!1}(e),T=P.OS.tizen?S():o&&a&&u?(i=n.e(8).then((function(t){n(162);var e=n(71).default;return x.a.controls=n(69).default,Object(k.a)(n(166).default),e}).bind(null,n)).catch(Object(y.b)(C.v+105)),y.a.html5=i,i):o&&u?(r=n.e(6).then((function(t){var e=n(71).default;return x.a.controls=n(69).default,Object(k.a)(n(166).default),e}).bind(null,n)).catch(Object(y.b)(C.v+104)),y.a.html5=r,r):o&&a?n.e(7).then((function(t){n(162);var e=n(71).default;return x.a.controls=n(69).default,e}).bind(null,n)).catch(Object(y.b)(C.v+103)):o?n.e(5).then((function(t){var e=n(71).default;return x.a.controls=n(69).default,e}).bind(null,n)).catch(Object(y.b)(C.v+102)):S()),T;var e,i,r,o,a,u}function A(){var t=window.IntersectionObserverEntry;return!t||!("IntersectionObserver"in window)||!("intersectionRatio"in t.prototype)}function S(){return(A()?n.e(9).then((function(t){return n(162)}).bind(null,n)).catch(Object(y.b)(C.v+120)):Promise.resolve()).then(y.d)}var _=n(24),M=n(3),E=n(59),q=n(23),Z=n(14);function F(t){var e=t.get("playlist");return new Promise(function(n,i){if("string"!=typeof e){var r=t.get("feedData")||{};return Q(t,e,r),n()}var o=new E.a;o.on(M.eb,function(e){var i=e.playlist;delete e.playlist,Q(t,i,e),n()}),o.on(M.w,function(e){Q(t,[],{}),i(Object(C.B)(e,C.w))}),o.load(e)})}function Q(t,e,n){var i=t.attributes;i.playlist=Object(O.a)(e),i.feedData=n}function N(t){return t.attributes._destroyed}var L=n(36),z=function(t,e){return/isAMP/.test(document.location.search)?n.e(1).then((function(i){var r=new(n(177).default)(e);return t.attributes.ampController=r,Promise.resolve()}).bind(null,n)).catch(Object(y.b)(C.v+130)):Promise.resolve()};function R(t){return V(t)?Promise.resolve():F(t).then(function(){if(t.get("drm")||Object(L.b)(t.get("playlist")))return Object(L.d)(t.get("edition"))}).then(function(){return F(e=t).then(function(){if(!N(e)){var t=Object(O.b)(e.get("playlist"),e);e.attributes.playlist=t;try{Object(O.e)(t)}catch(u){throw u.code+=C.w,u}var n=e.getProviders(),i=Object(O.f)(e.get("item"),t.length),r=n.choose(t[i].sources[0]),o=r.provider,a=r.name;return"function"==typeof o?o:y.a.html5&&"html5"===a?y.a.html5:n.load(a).catch(function(t){throw Object(C.B)(t,C.x)})}});var e})}function B(t,e){var n=[Y(t),z(t,e)];return V(t)||n.push(Promise.resolve()),Promise.all(n)}function Y(t){var e=t.attributes,n=e.error;if(n&&n.code===s.a){var i=e.pid,r=e.ph,o=new s.b(e.key);if(r>0&&r<4&&i&&o.duration()>-7776e6)return new q.a("//content.jwplatform.com/libraries/"+i+".js").load().then(function(){var t=window.jwplayer.defaults.key,n=new s.b(t);n.error()||n.token()!==o.token()||(e.key=t,e.edition=n.edition(),e.error=n.error())}).catch(function(){})}return Promise.resolve()}function V(t){var e=t.get("advertising");return!(!e||!e.outstream)}var J=function(t){var e=t.get("skin")?t.get("skin").url:void 0;return"string"!=typeof e||function(t){for(var e=document.styleSheets,n=0,i=e.length;n<i;n++)if(e[n].href===t)return!0;return!1}(e)?Promise.resolve():new q.a(e,!0).load().catch(function(t){return t})},D=function(t){var e=t.attributes,n=e.language,i=e.base,r=e.setupConfig,o=e.intl,a=Object(Z.c)(r,o,n);return!Object(Z.h)(n)||Object(Z.f)(a)?Promise.resolve():new Promise(function(r){return Object(Z.i)(i,n).then(function(n){var i=n.response;if(!N(t)){if(!i)throw new C.t(null,C.h);e.localization=Object(Z.a)(i,a),r()}}).catch(function(t){r(t.code===C.h?t:Object(C.B)(t,C.g))})})},U=function(t){var e;this.start=function(n){var i=Object(_.a)(t,n),r=Promise.all([I(t),i,R(t),B(t,n),J(t),D(t)]),o=new Promise(function(t,n){e=setTimeout(function(){n(new C.t(C.n,C.z))},6e4);var i=function(){clearTimeout(e),setTimeout(t,6e4)};r.then(i).catch(i)});return Promise.race([r,o]).catch(function(t){var e=function(){throw t};return i.then(e).catch(e)}).then(function(t){return function(t){if(!t||!t.length)return{core:null,warnings:[]};var e=t.reduce(function(t,e){return t.concat(e)},[]).filter(function(t){return t&&t.code});return{core:t[0],warnings:e}}(t)})},this.destroy=function(){clearTimeout(e),t.set("_destroyed",!0),t=null}},W=n(41),H=n(30),X=n(12),K=n(16),$={removeItem:function(t){}}
1;try{$=window.localStorage||$}catch(ft){}var G=function(){function t(t,e){this.namespace=t,this.items=e}var e=t.prototype;return e.getAllItems=function(){var t=this;return this.items.reduce(function(e,n){var i=$[t.namespace+"."+n];return i&&(e[n]="captions"!==n?Object(X.serialize)(i):JSON.parse(i)),e},{})},e.track=function(t){var e=this;this.items.forEach(function(n){t.on("change:"+n,function(t,i){try{"captions"===n&&(i=JSON.stringify(i)),$[e.namespace+"."+n]=i}catch(r){K.a.debug&&console.error(r)}})})},e.clear=function(){var t=this;this.items.forEach(function(e){$.removeItem(t.namespace+"."+e)})},t}(),tt=n(54),et=n(49),nt=n(9),it=n(42),rt=n(60),ot=n(61),at=n(34);n(68),n(70),n.d(e,"b",function(){return lt});var ut=function(t){this._events={},this.modelShim=new tt.a,this.modelShim._qoeItem=new H.a,this.mediaShim={},this.setup=new U(this.modelShim),this.currentContainer=this.originalContainer=t,this.apiQueue=new r.a(this,["load","play","pause","seek","stop","playlistItem","playlistNext","playlistPrev","next","preload","setConfig","setCurrentAudioTrack","setCurrentCaptions","setCurrentQuality","setFullscreen","addButton","removeButton","castToggle","setMute","setVolume","setPlaybackRate","addCues","setCues","setPlaylistItem","stopCasting","resize","setCaptions","setControls"],function(){return!0})};function ct(t,e){e&&e.code&&(e.sourceError&&console.error(e.sourceError),console.error(C.t.logMessage(e.code)))}function st(t){t&&t.code&&console.warn(C.t.logMessage(t.code))}function lt(t,e){if(!document.body.contains(t.currentContainer)){var n=document.getElementById(t.get("id"));n&&(t.currentContainer=n)}t.currentContainer.parentElement&&t.currentContainer.parentElement.replaceChild(e,t.currentContainer),t.currentContainer=e}Object(i.j)(ut.prototype,{on:nt.a.on,once:nt.a.once,off:nt.a.off,trigger:nt.a.trigger,init:function(t,e){var r=this,d=this.modelShim,y=new G("jwplayer",["volume","mute","captionLabel","captions","bandwidthEstimate","bitrateSelection","qualityLabel","enableShortcuts"]),w=y&&y.getAllItems();d.attributes=d.attributes||{},Object(i.j)(this.mediaShim,et.a);var O=t,j=function(t,e){var r,d,y,w,O=Object(o.b)(t,e),j=O.key||c.default.key,k=new s.b(j),x=k.edition();if("free"===k.edition()&&(O=Object(i.j)({skin:{active:"#ff0046",timeslider:{progress:"none"}},logo:{position:"control-bar",file:p.a}},o.a,Object(i.D)(O,["analytics","aspectratio","base","file","height","playlist","sources","width"]))),O.key=j,O.edition=x,O.error=k.error(),O.generateSEOMetadata=O.generateSEOMetadata||!1,"unlimited"===x){var C=Object(a.getScriptPath)("jwplayer.js");if(!C)throw new Error("Error setting up player: Could not locate jwplayer.js script tag");n.p=C}if(O.flashplayer=((w=(y=O).flashplayer)||(w=(Object(a.getScriptPath)("jwplayer.js")||y.base)+"jwplayer.flash.swf"),"http:"===window.location.protocol&&(w=w.replace(/^https/,"http")),w),O.related=function(t){var e=Object(l.a)(t.edition),n=t.related,r=!e("discovery")||n!==Object(n),o=!n||"none"!==n.displayMode,a=n||{},u=void 0===a.oncomplete?"none":a.oncomplete,c=a.autoplaytimer;!1===u||t.repeat?u="hide":"none"===u&&(c=0);var s="autoplay"===u&&c<=0||"none"===u;return Object(i.j)({},n,{disableRelated:r,showButton:o,oncomplete:u,autoplaytimer:c,shouldAutoAdvance:s})}(O),O.ab&&(O.ab=function(t){var e=t.ab;return e.clone&&(e=e.clone()),Object.keys(e.tests).forEach(function(n){e.tests[n].forEac
1h(function(e){e.addConfig&&e.addConfig(t,e.selection)})}),e}(O)),O.plugins=function(t){var e=Object(i.j)({},t.plugins),n=Object(l.a)(t.edition);if(n("ads")){var r=Object(i.j)({},t.advertising),o=r.client;o&&(e[b(o,t.__ab_jwIMA)||o]=r,delete r.client),r.bids&&m(e,r.bids,"bidding")}if(n("jwpsrv")){var a=t.analytics;a!==Object(a)&&(a={}),m(e,a,"jwpsrv")}return m(e,t.ga,"gapro"),e}(O),r=O.playlist,Object(i.x)(r)&&r.indexOf("__CONTEXTUAL__")>-1&&(O.playlist=function(t,e){var n=(t.querySelector("title")||{}).textContent,i=f(t,'meta[property="og:title"]'),r=encodeURIComponent(i||n||""),o=f(t,'meta[property="og:description"]')||f(t,'meta[name="description"]');return o&&(r+="&page_description="+encodeURIComponent(o)),e.replace("__CONTEXTUAL__",r)}(document,O.playlist),O.contextual=!0),Object(u.isFileProtocol)()){var P=O.playlist,T=O.related;g(P)&&(O.playlist=v(P)),T&&g(T.file)&&(T.file=v(T.file))}return O.__abSendDomainToFeeds&&/\.jwplatform.com|\.jwplayer.com/.test(O.playlist)&&(O.playlist=(d=O.playlist,d+=(-1!==d.indexOf("?")?"&":"?")+"page_domain="+encodeURIComponent(Object(h.a)()))),O}(Object(i.j)({},t),w);j.id=e.id,j.setupConfig=O,Object(i.j)(d.attributes,j,et.b),d.getProviders=function(){return new W.a(j)},d.setProvider=function(){};var k=Object(rt.b)();d.get("backgroundLoading")||(k=Object(ot.a)(k.getPrimedElement(),k));var x=new at.a(Object(at.b)(this.originalContainer)).once("gesture",function(){k.prime(),r.preload(),x.destroy()});return d.on("change:errorEvent",ct),this.setup.start(e).then(function(t){var n=t.core;if(!n)throw Object(C.B)(null,C.y);
1if(r.setup){r.on(M.wb,st),t.warnings.forEach(function(t){r.trigger(M.wb,t)});var o=r.modelShim.clone();if(o.error)throw o.error;var a=r.apiQueue.queue.slice(0);r.apiQueue.destroy(),Object(i.j)(r,n.prototype),r.setup(o,e,r.originalContainer,r._events,a,k);var u=r._model;return d.off("change:errorEvent",ct),u.on("change:errorEvent",ct),y.track(u),r.updatePlaylist(u.get("playlist"),u.get("feedData")).catch(function(t){var e=t.code===C.a?C.u:C.w;throw Object(C.B)(t,e)})}}).then(function(){r.setup&&r.playerReady()}).catch(function(t){var n,i,o;r.setup&&(n=r,i=e,o=t,Promise.resolve().then(function(){var t=Object(C.C)(C.s,C.A,o),e=n._model||n.modelShim;t.message=t.message||e.get("localization").errors[t.key],delete t.key;var r=e.get("contextual");if(!r){var a=Object(it.a)(n,t);it.a.cloneIcon&&a.querySelector(".jw-icon").appendChild(it.a.cloneIcon("error")),lt(n,a)}e.set("errorEvent",t),e.set("state",M.mb),n.trigger(M.jb,t),r&&i.remove()}))})},playerDestroy:function(){this.apiQueue&&this.apiQueue.destroy(),this.setup&&this.setup.destroy(),this.currentContainer!==this.originalContainer&&lt(this,this.originalContainer),this.off(),this._events=this._model=this.modelShim=this.apiQueue=this.setup=null},getContainer:function(){return this.currentContainer},get:function(t){if(this.modelShim)return t in this.mediaShim?this.mediaShim[t]:this.modelShim.get(t)},getItemQoe:function(){return this.modelShim._qoeItem},getItemPromise:function(){return null},setItemCallback:function(t){this.modelShim&&(this.modelShim.attributes.playlistItemCallback=t)},getConfig:function(){return Object(i.j)({},this.modelShim.attributes,this.mediaShim)},getCurrentCaptions:function(){return this.get("captionsIndex")},getWidth:function(){return this.get("containerWidth")},getHeight:function(){return this.get("containerHeight")},getMute:function(){return this.get("mute")},getProvider:function(){return this.get("provider")},getState:function(){return this.get("state")},getAudioTracks:function(){return null},getCaptionsList:function(){return null},getQualityLevels:function(){return null},getVisualQuality:function(){return null},getCurrentQuality:function(){return-1},getCurrentAudioTrack:function(){return-1},getSafeRegion:function(){return{x:0,y:0,width:0,height:0}},isBeforeComplete:function(){return!1},isBeforePlay:function(){return!1},createInstream:function(){return null},skipAd:function(){},attachMedia:function(){},detachMedia:function(){}}),e.a=ut},function(t,e,n){"use strict";n.d(e,"a",function(){return r});var i=n(4);function r(t){return"hls"===t.type&&i.OS.android?!1!==t.androidhls&&!i.Browser.firefox&&parseFloat(i.OS.version.version)>=4.4:null}},function(t,e,n){"use strict";function i(){var t,e,n=window.location.host;if(window.top!==window.self){n=(document.referrer?(t=document.referrer,(e=document.createElement("a")).href=t,e):{}).host;try{n=n||window.top.location.host}catch(i){}}return n}n.d(e,"a",function(){return i})},function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 150 29.3" class="jw-svg-icon jw-svg-icon-watermark" focusable="false"><path d="M37,16.68c0,2.4-.59,3.43-2.4,3.43a5.75,5.75,0,0,1-3.38-1.23v3.58a7.39,7.39,0,0,0,3.67,1c3.67,0,5.73-1.91,5.73-6.32V5.86H37Z"></path><polygon points="58.33 17.61 55.39 6.01 52.55 6.01 49.52 17.61 46.73 6.01 43.06 6.01 47.56 23.29 50.89 23.29 53.92 11.88 56.96 23.29 60.24 23.29 64.74 6.01 61.17 6.01 58.33 17.61"></polygon><path d="M73.84,6H67.47V23.29h2.2v-6.9h4.17c3.47,0,5.77-1.77,5.77-5.19S77.31,6,73.84,6Zm0,8.47H69.72V8h4.12c2.3,0,3.57,1.22,3.62,3.28C77.46,13.21,76.19,14.48,73.84,14.48Z"></path><path d="M99.2,6l-6,15.27H85V6H82.8V23.29H94.7l2-5.19h7.09l2,5.19H108L101.26,6ZM97.39,16.14l2.84-7.39L103,16.14Z"></path><polygon points="113.98 14.18 108.99 6.01 106.59 6.01 112.81 16.14 112.81 23.29 115.01 23.29 115.01 16.14 121.33 6.01 118.98 6.01 113.98 14.18"></polygon><polygon points="123.14 23.29 134.1 23.29 134.1 21.28 125.29 21.28 125.29 15.41 133.32 15.41 133.32 13.45 125.29 13.45 125.29 7.97 134.1 7.97 134.1 6.01 123.14 6.01 123.14 23.29"></polygon><path d="M144.86,15.85c2.74-.39,4.41-2,4.41-4.85,0-3.23-2.26-5-5.73-5h-6.32V23.29h2.22V16h3.08l4.94,7.29H150Zm-5.42-1.71V8h4.06c2.3,0,3.62,1.17,3.62,3.08s-1.32,3.09-3.62,3.09Z"></path>
1<path d="M27.63.09a1,1,0,0,0-1.32.48c-.24.51-6.35,15.3-6.35,15.3-.2.46-.33.41-.33-.07,0,0,0-5.15,0-9.39,0-2.31-1.12-3.61-2.73-3.88A3.12,3.12,0,0,0,14.83,3a4.57,4.57,0,0,0-1.5,1.79c-.48.94-3.47,9.66-3.47,9.66-.16.46-.31.44-.31,0,0,0-.09-3.76-.18-4.64-.13-1.36-.44-3.59-2.2-3.7S4.77,8,4.36,9.24c-.29.84-1.65,5.35-1.65,5.35l-.2.46h0c-.06.24-.17.24-.24,0l-.11-.42Q2,14,1.74,13.31a1.71,1.71,0,0,0-.33-.66.83.83,0,0,0-.88-.22.82.82,0,0,0-.53.69,4.22,4.22,0,0,0,.07.79,29,29,0,0,0,1,4.6,1.31,1.31,0,0,0,1.8.66,3.43,3.43,0,0,0,1.24-1.81c.33-.81,2-5.48,2-5.48.18-.46.31-.44.29,0,0,0-.09,4.57-.09,6.64a13.11,13.11,0,0,0,.28,2.93,2.41,2.41,0,0,0,.82,1.27,2,2,0,0,0,1.41.4,2,2,0,0,0,.7-.24,3.15,3.15,0,0,0,.79-.71,12.52,12.52,0,0,0,1.26-2.11c.81-1.6,2.92-6.58,2.92-6.58.2-.46.33-.41.33.07,0,0-.26,8.36-.26,11.55a6.39,6.39,0,0,0,.44,2.33,2.8,2.8,0,0,0,1.45,1.61A2.57,2.57,0,0,0,18.79,29a3.76,3.76,0,0,0,1.28-1.32,15.12,15.12,0,0,0,1.07-2.31c.64-1.65,1.17-3.33,1.7-5s5-17.65,5.28-19a1.79,1.79,0,0,0,0-.46A1,1,0,0,0,27.63.09Z"></path></svg>'},function(t,e,n){"use strict";var i,r=n(62),o=n(4),a=n(8),u=[],c=[],s=[],l={},f="screen"in window&&"orientation"in window.screen,d=o.OS.android&&o.Browser.chrome,p=!1;function h(t,e){for(var n=e.length;n--;){var i=e[n];if(t.target===i.getContainer()){i.setIntersection(t);break}}}function g(){u.forEach(function(t){var e=t.model;if(!(e.get("audioMode")||!e.get("controls")||e.get("visibility")<.75)){var n=e.get("state"),i=Object(a.f)();!i&&"paused"===n&&t.api.getFullscreen()?t.api.setFullscreen(!1):"playing"===n&&t.api.setFullscreen(i)}})}function v(){u.forEach(function(t){t.model.set("activeTab",Object(r.a)())})}function b(t,e){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}function m(t){s.forEach(function(e){e(t)})}document.addEventListener("visibilitychange",v),document.addEventListener("webkitvisibilitychange",v),d&&f&&window.screen.orientation.addEventListener("change",g),window.addEventListener("beforeunload",function(){document.removeEventListener("visibilitychange",v),document.removeEventListener("webkitvisibilitychange",v),window.removeEventListener("scroll",m),d&&f&&window.screen.orientation.removeEventListener("change",g)}),e.a={add:function(t){u.push(t)},remove:function(t){b(t,u)},addScrollHandler:function(t){p||(p=!0,window.addEventListener("scroll",m)),s.push(t)},removeScrollHandler:function(t){var e=s.indexOf(t);-1!==e&&s.splice(e,1)},addWidget:function(t){c.push(t)},removeWidget:function(t){b(t,c)},size:function(){return u.length},observe:function(t){var e;e=window.IntersectionObserver,i||(i=new e(function(t){if(t&&t.length)for(var e=t.length;e--;){var n=t[e];h(n,u),h(n,c)}},{threshold:[0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1]})),l[t.id]||(l[t.id]=!0,i.observe(t))},unobserve:function(t){i&&l[t.id]&&(delete l[t.id],i.unobserve(t))}}},,function(t,e,n){"use strict";n.d(e,"a",function(){return l});var i=n(0),r=n(48),o=n(8),a=n(11),u=[],c=-1;function s(){Object(r.a)(c),c=Object(r.b)(function(){u.forEach(function(t){t.view.updateBounds();var e=t.view.model.get("containerWidth");t.resized=t.width!==e,t.width=e}),u.forEach(function(t){t.contractElement.scrollLeft=2*t.width}),u.forEach(function(t){Object(a.d)(t.expandChild,{width:t.width+1}),t.resized&&t.view.model.get("visibility")&&t.view.updateStyles()}),u.forEach(function(t){t.expandElement.scrollLeft=t.width+1}),u.forEach(function(t){t.resized&&t.view.checkResized()})})}var l=function(){function t(t,e,n){var r={display:"block",position:"absolute",top:0,left:0},c={width:"100%",height:"100%"},l=Object(o.e)('<div style="opacity:0;visibility:hidden;overflow:hidden;"><div><div style="height:1px;"></div></div><div class="jw-contract-trigger"></div></div>'),f=l.firstChild,d=f.firstChild,p=f.nextSibling;Object(a.d)([f,p],Object(i.j)({overflow:"auto"},r,c)),Object(a.d)(l,Object(i.j)({},r,c)),this.expandElement=f,this.expandChild=d,this.contractElement=p,this.hiddenElement=l,this.element=t,this.view=e,this.model=n,this.width=0,this.resized=!1,t.firstChild?t.insertBefore(l,t.firstChild):t.appendChild(l),t.addEventListener("scroll",s,!0),u.push(this),s()}return t.prototype.destroy=function(){if(this.view){var t=u.indexOf(this);-1!==t&&u.splice(t,1),this.element.removeEventListener("scroll",s,!0),this.element.removeChild(this.hiddenElement),this.view=this.model=null}},t}()}]).default)},14179:function(n,i,r){"use strict";r.d(i,{y:function(){return St}});var o,a=r(88002),u=r(45435),c=r(19773),f=r(68307),p=r(66849),h=r(88720),g=r(62252),v=((o=function(){function n(i){l(this,n),this.apollo=i,this.CanObtainPointsForContentQuery=p.ZP(t||(t=s(["\n        query CanObtainPointsForContent($contentId: Int!) {\n            learningPoints {\n                canObtainPointsForContent(contentId:$contentId) {\n                    success\n                    message\n                    validationErrors {\n                        property\n                        messages\n                    }\n                }\n            }\n        }\n    "]))),this.obtainPointsForContentQuery=p.ZP(e||(e=s(["\n        mutation ObtainPointsForContentMutation ($contentId: Int!) {\n            learningPoints {\n                obtainPointsForContent(contentId:$contentId) {\n                    success\n                    message\n                    validationErrors {\n                        property\n                        messages\n                    }\n                }\n            }\n        }\n    "])))}return d(n,[{key:"canObtainPoints",value:function(t){return this.apollo.watchQuery({query:this.CanObtainPointsForContentQuery,variables:{contentId:t}}).valueChanges.pipe((0,a.U)(function(t){return t.data.learningPoints.canObtainPointsForContent}))}},{key:"obtainPoints",value:function(t){return this.apollo.mutate({mutation:this.obtainPointsForContentQuery,variables:{contentId:t}}).pipe((0,a.U)(function(t){return t.data.learningPoints.obtainPointsForContent}))}}]),n}()).\u0275fac=function(t){return new(t||o)(h.LFG(g._M))},o.\u0275prov=h.Yz7({token:o,factory:o.\u0275fac}),o),b=r(18611),m=r(56481),y=r(58031),w=r(48594),O=r(38583),j=r(79765),k=function(t,e){return Math.floor(Math.random()*(t-e))+e},x=((x||(x={})).SKIPPED="skipped",x),C=r(45863);function P(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",1),h.TgZ(1,"div",2),h.TgZ(2,"p"),h._uU(3,"Aby otrzyma\u0107 punkty szkoleniowe potwierd\u017a\xa0ogl\u0105danie materia\u0142u wideo zanim to okno zniknie."),h.qZA(),h.TgZ(4,"button",3),h.NdJ("click",function(){return h.CHM(n),h.oxw().c
1onfirmWatching()}),h._uU(5,"Potwierdzam"),h.qZA(),h.TgZ(6,"p"),h._uU(7,"To okienko zniknie za "),h.TgZ(8,"strong"),h._uU(9),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=h.oxw();h.xp6(9),h.hij("",i.windowWillCloseIn,"s.")}}function T(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",1),h.TgZ(1,"div",2),h.TgZ(2,"p"),h._uU(3,"Omin\u0105\u0142e\u015b potwierdzenie ogl\u0105dania materia\u0142u video. Wyczerpa\u0142e\u015b mo\u017cliwo\u015b\u0107 omini\u0119cia okna. Kolejne ominiecie wy\u0142\u0105czy mo\u017cliwo\u015b\u0107 otrzymania punkt\xf3w szkoleniowych."),h.qZA(),h.TgZ(4,"button",3),h.NdJ("click",function(){return h.CHM(n),h.oxw().continueWatching()}),h._uU(5,"Zrozumia\u0142em"),h.qZA(),h.qZA(),h.qZA()}}function I(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div",1),h.TgZ(1,"div",2),h.TgZ(2,"p"),h._uU(3,"Kolejny raz omin\u0105\u0142e\u015b potwierdzenie ogl\u0105dania materia\u0142u video. Utraci\u0142e\u015b mo\u017cliwo\u015b\u0107 otrzymania punkt\xf3w szkoleniowych. Aby otrzyma\u0107 punkty prze\u0142aduj stron\u0119 i rozpocznij ogl\u0105danie od pocz\u0105tku."),h.qZA(),h.TgZ(4,"button",3),h.NdJ("click",function(){return h.CHM(n),h.oxw().reloadPage()}),h._uU(5,"Prze\u0142aduj stron\u0119"),h.qZA(),h.qZA(),h.qZA()}}var A=function(){var t=function(){function t(e){var n=this;l(this,t),this.chRef=e,this.playerAdapter=null,this.duration=0,this.currentTime=0,this.videoStartedAt=null,this.currentTimeInterval=null,this.windowCloseInInterval=null,this.questionIntervalTimeout=null,this.popupWasSkippedOnce=!1,this.videoVerifiedSubject=new j.xQ,this.showQuestionPopup=!1,this.showVideoSkippedWarning=!1,this.windowWillCloseIn=0,this.testFailed=!1,this.nextPopupIntervalCallback=function(){n.checkVideoTimeAgainstPopupsMap()}}return d(t,[{key:"setAdapter",set:function(t){var e=this;this.playerAdapter=t,this.playerAdapter.onReady(function(){return setTimeout(function(){return e.init()},100)})}},{key:"init",value:function(){var t=this;this.duration=this.playerAdapter.duration,this.calculatePopupSteps(),this.playerAdapter.onPlay(function(){return t.onPlay(t.playerAdapter.currentTime)}),this.playerAdapter.onPause(function(){return t.onPause(t.playerAdapter.currentTime)}),this.playerAdapter.onComplete(function(){return t.onComplete()})}},{key:"calculatePopupSteps",value:function(){var t=new(function(){function t(e){l(this,t),this.videoDuration=e,this.calculatePopups()}return d(t,[{key:"calculatePopups",value:function(){var t=this.videoDuration/60;t<60?(this.popupsFloor=3,this.popupsCeil=5):t>120?(this.popupsFloor=7,this.popupsCeil=9):(this.popupsFloor=5,this.popupsCeil=7)}},{key:"ceil",get:function(){return this.popupsCeil}},{key:"floor",get:function(){return this.popupsFloor}}]),t}())(this.duration),e=k(t.ceil,t.floor);this.createPopupStepsMap(e)}},{key:"createPopupStepsMap",value:function(t){this.popupsManager=new(function(){function t(e,n){l(this,t),this.popupsMap={},this.duration=e,this.popupsCount=n,this.createMap()}return d(t,[{key:"createMap",value:function(){for(var t=Math.floor(this.duration/this.popupsCount),e=0,n=t,i=1;i<=this.popupsCount;i++){var r=k(e,n);this.popupsMap[r]=!0,n=(e=n)+t}}},{key:"isInMapAndValid",value:function(t){return this.popupsMap[t]}},{key:"updatePopupValue",value:function(t,e){this.popupsMap[t]=e}},{key:"skippedPopupsKeysList",get:function(){var t=this;return Object.keys(this.popupsMap).filter(function(e){return!0===t.popupsMap[+e]})}}]),t}())(this.duration,t)}},{key:"startTimeMeasurement",value:function(){null===this.videoStartedAt&&(this.videoStartedAt=(new Date).getTime())}},{key:"startClockUntilNextPopup",value:function(){this.currentTimeInterval=setInterval(this.nextPopupIntervalCallback,1e3)}},{key:"checkVideoTimeAgainstPopupsMap",value:function(){if(!this.testFailed){var t=this.popupsManager.isInMapAndValid(this.playerAdapter.currentTime);t&&t!==x.SKIPPED&&this.pollUser()}}},{key:"pollUser",value:function(){this.playerAdapter.pause(),this.openPopup(),this.clearCurrentTimeInterval(),this.clearClosingModalTimeout(),this.runCountdownUntilPopupCloses()}},{key:"runCountdownUntilPopupCloses",value:function(){var e=this;this.questionIntervalTimeout=setTimeout(function(){e.showQuestionPopup&&(e.closePopup(),e.checkIfVideoWasSkippedOrTestFailed(),clearInterval(e.windowCloseInInterval))},t.config.questionDuration)}},{key:"checkIfVideoWasSkippedOrTestFailed",value:function(){this.popupWasSkippedOnce?this.notifyAndSetTestFailed():this.notifyThatPopupWasSkipped()}},{key:"calculateModalClosingTime",value:function(){var e=this;this.windowWillCloseIn=t.config.questionDuration/1e3,this.windowCloseInInterval=setInterval(function(){e.windowWillCloseIn>=0&&e.windowWillCloseIn--,e.chRef.detectChanges()},1e3)}},{key:"closePopup",value:function(){this.showQuestionPopup=!1,this.chRef.detectChanges()}},{key:"openPopup",value:function(){this.showQuestionPopup=!0,this.calculateModalClosingTime(),this.chRef.detectChanges()}},{key:"notifyAndSetTestFailed",value:function(){var t=this;setTimeout(function(){t.testFailed=!0,t.chRef.detectChanges()},500)}},{key:"notifyThatPopupWasSkipped",value:function(){var t=this;setTimeout(function(){t.showVideoSkippedWarning=!0,t.chRef.detectChanges()},500)}},{key:"clearCurrentTimeInterval",value:function(){clearTimeout(this.currentTimeInterval)}},{key:"clearClosingModalTimeout",value:function(){clearTimeout(this.questionIntervalTimeout)}},{key:"onPlay",value:function(t){this.currentTime=t,this.startTimeMeasurement(),this.startClockUntilNextPopup()}},{key:"onPause",value:function(t){this.currentTime=t}},{key:"isVideoVerificationSuccessful",value:function(){if(!this.testFailed){var e=(new Date).getTime(),n=this.playerAdapter.getPlaybackRate();return(e-this.videoStartedAt)/1e3/(this.duration/n)*100>t.config.timePercentageSpentRequired&&!this.popupsManager.skippedPopupsKeysList.length}}},{key:"confirmWatching",value:function(){this.showQuestionPopup=!1,this.popupsManager.updatePopupValue(this.playerAdapter.currentTime,!1),this.playerAdapter.play(),this.isVideoVerificationSuccessful(),clearInterval(this.windowCloseInInterval),this.chRef.detectChanges()}},{key:"continueWatching",value:function(){this.playerAdapter.play(),this.popupsManager.updatePopupValue(this.playerAdapter.currentTime,x.SKIPPED),this.showVideoSkippedWarning=!1,this.popupWasSkippedOnce=!0,this.chRef.detectChanges()}},{key:"reloadPage",value:function(){"undefined"!=typeof window&&window.location.reload()}},{key:"onComplete",value:function(){this.videoVerifiedSubject.next(this.isVideoVerificationSuccessful())}},{key:"ngOnDestroy",value:function(){this.playerAdapter.destroy()}}]),t}();return t.config={questionDuration:6e4,timePercentageSpentRequired:90},t.\u0275fac=function(e){return new(e||t)(h.Y36(h.sBO))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-video-verifier-component"]],decls:3,vars:3,consts:[["class","video-player-overlay",4,"ngIf"],[1,"video-player-overlay"],[1,"video-player-box"],["btn","","color","green",3,"click"]],template:function(t,e){1&t&&(h.YNc(0,P,10,1,"div",0),h.YNc(1,T,6,0,"div",0),h.YNc(2,I,6,0,"div",0)),2&t&&(h.Q6J("ngIf",e.showQuestionPopup),h.xp6(1),h.Q6J("ngIf",e.showVideoSkippedWarning),h.xp6(1),h.Q6J("ngIf",e.testFailed))},directives:[O.O5,C.r],styles:[".video-player-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;bottom:0;right:0;background-color:#0006;z-index:10000}.video-player-box[_ngcontent-%COMP%]{position:absolute;top:50%;margin:0 auto;left:0;right:0;width:300px;min-height:100px;background-color:#fff;padding:20px;text-align:center}.video-player-box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:first-child{margin:0 0 15px;font-size:1.4rem;font-weight:500}.video-player-box[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin:15px 0 0;font-size:1.2rem}.video-player-box[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0;padding:10px}"],changeDetection:0}),t}();r(59458);var S=function(){var t=function(){function t(e,n,i){l(this,t),this.player=null,i?(this.player=jwplayer(e).setup(n),this.init()):this.runAccessRestrictedWarning()}return d(t,[{key:"init",value:function(){this.addEventListeners()}},{key:"runAccessRestrictedWarning",value:function(){var e=document.querySelector(".jw-player"),n=document.querySelector(".jw-player-video");e.classList.remove(t.playerConfig.loading),e.classList.add(t.playerConfig.isRestricted),n.innerHTML='<p>Materia\u0142 dost\u0119pny tylko dla zalogowanych u\u017cytkownik\xf3w.</p><a data-href="/zaloguj">Zaloguj si\u0119 aby obejrze\u0107 nagranie</a></div>'}},{key:"addEventListeners",value:function(){this.player.on("setupError",this.onPlayerSetupError.bind(this)),this.player.on("error",this.onError.bind(this))}},{key:"onPlayerSetupError",value:function(t){console.warn("There was an issue with setup process. ",t.message,"Error c
1ode: ",t.code)}},{key:"onError",value:function(t){console.warn("An error occurred. ",t.message,"Error code: ",t.code)}},{key:"onReady",value:function(e){this.player.getContainer().parentElement.classList.remove(t.playerConfig.loading),this.player.on("playlist",e)}},{key:"onPlay",value:function(t){this.player.on("play",t)}},{key:"onPause",value:function(t){this.player.on("play",t)}},{key:"onComplete",value:function(t){this.player.on("complete",t)}},{key:"duration",get:function(){return this.player.getDuration()}},{key:"currentTime",get:function(){return this.player.getPosition().toFixed()}},{key:"play",value:function(){this.player.play()}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.stop()}},{key:"getPlaybackRate",value:function(){return this.player.getPlaybackRate()}},{key:"destroy",value:function(){this.player=null}}]),t}();return t.playerConfig={loading:"loading",isRestricted:"is-restricted"},t}(),_=function(){return(t=_||(_={}))[t.COMPLETE=0]="COMPLETE",t[t.PLAY=1]="PLAY",t[t.PAUSE=2]="PAUSE",_;var t}(),M=r(74815),E=r(5727),q=["videoVerifierContainer"],Z=function(){return(t=Z||(Z={})).RESTRICTED="restricted",t.FREE="free",Z;var t}(),F=function(){var t=function(){function t(e,n,i,r,o,a,u){l(this,t),this.renderer=e,this.modal=n,this.videoVerification=i,this.cfr=r,this.platformId=o,this.auth=a,this.router=u,this.config={aspectratio:"16:9",mute:!1,primary:"html5",key:"KxM3JU5y+y6OE4Ksul+gzgDj+vKQ6coP2LCzFk9byb0="},this.certificationVideoPlayer=null}return d(t,[{key:"ngOnInit",value:function(){var t=this;this.userSubscription=this.auth.user.pipe((0,f.b)(function(e){return t.isLoggedIn=!!e})).subscribe()}},{key:"ngAfterViewInit",value:function(){var t=this;(0,O.NF)(this.platformId)&&setTimeout(function(){return t.init()},400)}},{key:"init",value:function(){var e=document.querySelector(t.selectors.jwPlayerConfig),n=document.querySelector(t.selectors.youtubePlayer);e?this.initialiseJWPlayer(e):n&&this.initialiseYoutubePlayer(n)}},{key:"createVideoVerifierComponent",value:function(t){this.videoVerifierContainer.clear();var e=this.cfr.resolveComponentFactory(A);return this.componentRef=this.videoVerifierContainer.createComponent(e),this.componentRef.instance.setAdapter=t,this.componentRef.instance}},{key:"initialiseJWPlayer",value:function(e){var n=this,i=e.dataset.access!==Z.RESTRICTED||this.isLoggedIn,r=JSON.parse(e.innerHTML),o="".concat((new Date).getTime()),a=e.parentElement.querySelector(t.selectors.jwPlayerVideo);if(a||"undefined"==typeof window){a.id=o;var u=Object.assign(Object.assign({},this.config),r),c=new S(o,u,i);i?(this.certificationVideoPlayer=this.createVideoVerifierComponent(c),this.createSubscriptionOnVideoEnd()):e.parentElement.addEventListener("click",function(t){t.preventDefault();var e=t.target.dataset.href;""!==e&&n.router.navigate([e])})}else window.location.reload()}},{key:"initialiseYoutubePlayer",value:function(t){var e=t.dataset.link.split(".be/")[1],n=this.renderer.createElement("div");this.renderer.setAttribute(n,"id",e),this.renderer.appendChild(t,n);var i=new(function(){function t(e){l(this,t),this.videoID="",this.player=null,this.initialiseSubject=new j.xQ,this.videoID=e,this.init()}return d(t,[{key:"init",value:function(){this.addScript(),this.initialisePlayer()}},{key:"addScript",value:function(){var t=document.querySelector("head"),e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("src","https://www.youtube.com/iframe_api"),t.appendChild(e)}},{key:"initialisePlayer",value:function(){var t=this;if("undefined"!=typeof window){if(window.YT&&1===window.YT.loaded)return void this.createPlayer();window.onYouTubeIframeAPIReady=function(){t.createPlayer()}}}},{key:"createPlayer",value:function(){var t=window.YT;this.player=new t.Player(this.videoID,{height:"100%",width:"100%",videoId:this.videoID,events:{onError:this.onError.bind(this)},rel:0}),this.initialiseSubject.next(!0)}},{key:"onError",value:function(t){console.warn("There was an issue with the YouTube Player, please contact the administrator. Error code: ",t.data)}},{key:"runCallbackOnEvent",value:function(t,e,n){t.data===e&&n()}},{key:"onReady",value:function(t){var e=this;this.initialiseSubject.subscribe(function(){return e.player.addEventListener("onReady",t)})}},{key:"onPlay",value:function(t){var e=this;this.player.addEventListener("onStateChange",function(n){return e.runCallbackOnEvent(n,_.PLAY,t)})}},{key:"onPause",value:function(t){var e=this;this.player.addEventListener("onStateChange",function(n){return e.runCallbackOnEvent(n,_.PAUSE,t)})}},{key:"onComplete",value:function(t){var e=this;this.player.addEventListener("onStateChange",function(n){n.data===_.COMPLETE&&(t(),e.initialiseSubject.unsubscribe())})}},{key:"duration",get:function(){return this.player.getDuration()}},{key:"currentTime",get:function(){return this.player.getCurrentTime().toFixed()}},{key:"play",value:function(){this.player.playVideo()}},{key:"pause",value:function(){this.player.pauseVideo()}},{key:"stop",value:function(){this.player.stopVideo()}},{key:"getPlaybackRate",value:function(){return this.player.getPlaybackRate()}},{key:"destroy",value:function(){this.player=null,this.initialiseSubject.unsubscribe()}}]),t}())(e);this.certificationVideoPlayer=this.createVideoVerifierComponent(i),this.createSubscriptionOnVideoEnd()}},{key:"createSubscriptionOnVideoEnd",value:function(){var t=this;this.videoCompleteSubscription=this.certificationVideoPlayer.videoVerifiedSubject.pipe((0,f.b)(function(e){return t.videoVerification.wasContentWatched(e)})).subscribe()}},{key:"ngOnDestroy",value:function(){this.videoCompleteSubscription&&this.videoCompleteSubscription.unsubscribe(),void 0!==this.componentRef&&this.componentRef.destroy(),this.certificationVideoPlayer&&(this.certificationVideoPlayer=null),this.userSubscription&&this.userSubscription.unsubscribe()}}]),t}();return t.selectors={jwPlayerConfig:".jw-player-config",jwPlayerVideo:".jw-player-video",youtubePlayer:".yt-player"},t.\u0275fac=function(e){return new(e||t)(h.Y36(h.Qsj),h.Y36(M.Z),h.Y36(y.c),h.Y36(h._Vd),h.Y36(h.Lbi),h.Y36(b.e),h.Y36(E.F0))}
1,t.\u0275cmp=h.Xpm({type:t,selectors:[["app-certification-video"]],viewQuery:function(t,e){var n;(1&t&&h.Gf(q,5,h.s_b),2&t)&&(h.iGM(n=h.CRH())&&(e.videoVerifierContainer=n.first))},inputs:{testable:"testable"},decls:2,vars:0,consts:[["videoVerifierContainer",""]],template:function(t,e){1&t&&h._UZ(0,"template",null,0)},encapsulation:2,changeDetection:0}),t}(),Q=r(91004),N=r(90665),L=r(80728),z=r(78682);function R(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",8),h.NdJ("click",function(){return h.CHM(n),h.oxw(3).startTest()}),h._uU(1,"Rozpocznij test"),h.qZA()}}function B(t,e){if(1&t&&(h.ynx(0),h.YNc(1,R,2,0,"button",7),h.BQk()),2&t){var n=h.oxw(2);h.xp6(1),h.Q6J("ngIf",n.canCertificate)}}function Y(t,e){1&t&&(h.TgZ(0,"p",9),h._uU(1,"Na ka\u017cde pytanie jest tylko jedna prawid\u0142owa odpowied\u017a. Pami\u0119taj, aby odpowiedzie\u0107 na wszystkie pytania znajduj\u0105ce si\u0119\xa0w formularzu."),h.qZA())}function V(t,e){1&t&&(h.ynx(0),h.TgZ(1,"p",16),h._uU(2,"Trwa \u0142adowanie pyta\u0144..."),h.qZA(),h.BQk())}function J(t,e){if(1&t&&(h.ynx(0),h.ynx(1,20),h.TgZ(2,"div",21),h._UZ(3,"input",22),h.TgZ(4,"label",23),h._UZ(5,"span",24),h.TgZ(6,"span",25),h._uU(7),h.qZA(),h.qZA(),h.qZA(),h.BQk(),h.BQk()),2&t){var n=e.$implicit,i=h.oxw().$implicit;h.xp6(1),h.Q6J("formGroupName",i.id),h.xp6(2),h.s9C("value",n.id),h.Q6J("formControlName",i.id),h.uIk("id",n.id)("name",i.id),h.xp6(1),h.uIk("for",n.id),h.xp6(3),h.Oqu(n.text)}}function D(t,e){if(1&t&&(h.ynx(0),h.TgZ(1,"div",18),h.TgZ(2,"p",19),h._uU(3),h.qZA(),h.YNc(4,J,8,7,"ng-container",17),h.qZA(),h.BQk()),2&t){var n=e.$implicit;h.xp6(3),h.Oqu(n.text),h.xp6(1),h.Q6J("ngForOf",n.group)}}function U(t,e){if(1&t&&h.YNc(0,D,5,2,"ng-container",17),2&t){var n=h.oxw(3);h.Q6J("ngForOf",n.formattedQuestions)}}function W(t,e){if(1&t&&(h.TgZ(0,"p",26),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.Oqu(n.formMessage)}}var H=function(t){return{"questions-submitting":t}};function X(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"div"),h.TgZ(1,"form",10),h.NdJ("ngSubmit",function(){return h.CHM(n),h.oxw(2).onFormSubmit()}),h.TgZ(2,"div",11),h.YNc(3,V,3,0,"ng-container",4),h.YNc(4,U,1,1,"ng-template",null,12,h.W1O),h.qZA(),h.TgZ(6,"div",13),h.YNc(7,W,2,1,"p",14),h.TgZ(8,"button",15),h._uU(9,"Gotowe"),h.qZA(),h.qZA(),h.qZA(),h.qZA()}if(2&t){var i=h.MAs(5),r=h.oxw(2);h.Q6J("@fadeInOut",void 0),h.xp6(1),h.Q6J("formGroup",r.form),h.xp6(1),h.Q6J("ngClass",h.VKq(7,H,r.formSubmitting)),h.xp6(1),h.Q6J("ngIf",r.loading)("ngIfElse",i),h.xp6(4),h.Q6J("ngIf",r.formIsInvalid&&!r.formSubmitting),h.xp6(1),h.Q6J("pending",r.formSubmitting)}}var K=function(t){return{"tests-opened":t}};function $(t,e){if(1&t&&(h.TgZ(0,"div",2),h.TgZ(1,"div",3),h.TgZ(2,"p"),h._uU(3,"Aby uzyska\u0107 punkty szkoleniowe za przeczytanie tej publikacji, odpowiedz poprawnie na wszystkie poni\u017csze pytania"),h.qZA(),h.YNc(4,B,2,1,"ng-container",4),h.YNc(5,Y,2,0,"ng-template",null,5,h.W1O),h.qZA(),h.YNc(7,X,10,9,"div",6),h.qZA()),2&t){var n=h.MAs(6),i=h.oxw();h.xp6(1),h.Q6J("ngClass",h.VKq(4,K,i.testStart)),h.xp6(3),h.Q6J("ngIf",!i.testStart)("ngIfElse",n),h.xp6(3),h.Q6J("ngIf",i.testStart)}}function G(t,e){if(1&t&&(h.TgZ(0,"div",27),h.TgZ(1,"p",28),h._uU(2),h.qZA(),h.qZA()),2&t){var n=h.oxw();h.xp6(2),h.hij("Odpowiedzi na wszystkie pytania s\u0105 poprawne. ",n.formMessage,".")}}var tt=function(){var t=function(){function t(e,n,i,r){l(this,t),this.fb=e,this.chref=n,this.certificationMutation=i,this.certificationQuestions=r,this.canFetchQuestions=!1,this.canCertificate=!0,this.testStart=!1,this.loginMessageText=null,this.formIsInvalid=!1,this.formMessage="",this.formSubmitting=!1,this.formattedQuestions=[],this.loading=!0,this.testFinished=!1}return d(t,[{key:"ngOnInit",value:function(){var t=this;this.form=this.fb.group({}),this.certificationSubscription=this.certificationQuestions.fetchQuestions.pipe((0,u.h)(function(t){return!0===t})).subscribe(function(){return t.canFetchQuestions=!0})}},{key:"startTest",value:function(){var t=this;this.testStart=!0,this.loading=!0,this.certificationQuestions.getOne({contentId:this.contentId}).pipe((0,f.b)(function(e){return t.formatDataToFormQuestions(e)})).subscribe(function(){t.loading=!1,t.chref.detectChanges()})}},{key:"formatDataToFormQuestions",value:function(t){var e=this;this.formattedQuestions=t.questions.map(function(t){e.form.addControl(t.id,e.fb.group({}));var n=t.answers;e.form.get(t.id).addControl(t.id,e.fb.control(null));var i=n.map(function(e){return{id:e.id,name:t.id,text:e.text}});return{id:t.id,text:t.text,group:i}})}},{key:"onFormSubmit",value:function(){var t=this;if(this.form.valid){var e=this.form.value,n={contentId:this.contentId,answers:[]};Object.keys(e).forEach(function(t){n.answers.push({questionId:t,answerId:e[t][t]})}),this.form.disable(),this.formSubmitting=!0,this.certificationMutation.mutate(n).pipe().subscribe(function(e){t.formIsInvalid=!e.success,t.formMessage=e.message,t.formSubmitting=!1,e.success?t.testFinished=!0:t.form.enable(),t.chref.detectChanges()})}else this.formIsInvalid=!0}},{key:"ngOnDestroy",value:function(){this.certificationSubscription.unsubscribe(),this.chref.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Y36(N.qu),h.Y36(h.sBO),h.Y36(L.f),h.Y36(w.p))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-certification-questions"]],inputs:{contentId:"contentId"},decls:2,vars:2,consts:[["class","certification-questions",4,"ngIf"],["class","test-success",4,"ngIf"],[1,"certification-questions"],[1,"certification-panel",3,"ngClass"],[4,"ngIf","ngIfElse"],["showQuestions",""],[4,"ngIf"],["btn","","color","green",3,"click",4,"ngIf"],["btn","","color","green",3,"click"],[1,"certification-note"],["action","",3,"formGroup","ngSubmit"],[1,"questions-list",3,"ngClass"],["questions",""],[1,"button-box"],["class","form-error",4,"ngIf"],["btn","","type","submit","color","green",3,"pending"],[1,"loading-questions"],[4,"ngFor","ngForOf"],[1,"question-box"],[1,"question-text"],[3,"formGroupName"],[1,"form-field","checkbox"],["type","radio",1,"form-control",3,"value","formControlName"],[1,"form-control-checkbox-label"],[1,"form-control-checkbox-box"],[1,"form-control-checkbox-label-text"],[1,"form-error"],[1,"test-success"],[1,"form-success"]],template:function(t,e){1&t&&(h.YNc(0,$,8,6,"div",0),h.YNc(1,G,3,1,"div",1)),2&t&&(h.Q6J("ngIf",!e.testFinished),h.xp6(1),h.Q6J("ngIf",e.testFinished))},directives:[O.O5,O.mk,C.r,z.Y,N._Y,N.JL,N.sg,O.sg,N.x0,N._,N.Fj,N.JJ,N.u],styles:[".certification-questions[_ngcontent-%COMP%]{margin:45px 25px 25px;box-shadow:1px 3px 5px #0000004d}.certification-questions[_ngcontent-%COMP%]   .certification-panel[_ngcontent-%COMP%]{padding:35px;background:#faf8f0;border-radius:5px;text-align:center;color:#52453b;font-size:1.8rem;transition:all .2s ease-in}.certification-questions[_ngcontent-%COMP%]   .certification-panel.tests-opened[_ngcontent-%COMP%]{border-radius:5px 5px 0 0}.certification-questions[_ngcontent-%COMP%]   .certification-panel[_ngcontent-%COMP%]   .certification-note[_ngcontent-%COMP%]{margin:25px 0 0;font-size:1.4rem}.certification-questions[_ngcontent-%COMP%]   .certification-panel[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:240px;margin:15px 0 0}.certification-questions[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin-top:0}.certification-questions[_ngcontent-%COMP%]   .questions-list.questions-submitting[_ngcontent-%COMP%]{opacity:.3}.certification-questions[_ngcontent-%COMP%]   .questions-list[_ngcontent-%COMP%]   .question-box[_ngcontent-%COMP%]{padding:25px 20px;border-bottom:1px solid #E1E1E1}.certification-questions[_ngcontent-%COMP%]   .questions-list[_ngcontent-%COMP%]   .question-box[_ngcontent-%COMP%]:last-child{border-bottom:0}.certification-questions[_ngcontent-%COMP%]   .questions-list[_ngcontent-%COMP%]   .question-box[_ngcontent-%COMP%]   .question-text[_ngcontent-%COMP%]{margin:0 0 25px;font-size:1.8rem;font-weight:600;line-height:1.15}.certification-questions[_ngcontent-%COMP%]   .questions-list[_ngcontent-%COMP%]   .question-box[_ngcontent-%COMP%]   .checkbox[_ngcontent-%COMP%]{margin:0 0 15px}.certification-questions[_ngcontent-%COMP%]   .button-box[_ngcontent-%COMP%]{border-top:1px solid #e1e1e1;padding:15px;text-align:center}.certification-questions[_ngcontent-%COMP%]   .form-error[_ngcontent-%COMP%]{margin:5px 0 20px;font-weight:500;color:#bd2727}.certification-questions[_ngcontent-%COMP%]   .form-success[_ngcontent-%COMP%]{margin:25px 0;font-weight:700;color:#2f593a}
1.loading-questions[_ngcontent-%COMP%]{margin:35px 0;text-align:center}.test-success[_ngcontent-%COMP%]{padding:35px;background:#faf8f0;border-radius:5px;text-align:center;font-size:1.8rem;box-shadow:1px 3px 5px #0000004d}"],data:{animation:[Q.H5]},changeDetection:0}),t}(),et=r(1195),nt=r(71289);function it(t,e){if(1&t&&(h.ynx(0),h._uU(1),h.BQk()),2&t){var n=h.oxw(3);h.xp6(1),h.AsE(" Klikni\u0119tych potwierdze\u0144: ",n.buttonsClicked," / ",n.clicksRequired," ")}}function rt(t,e){1&t&&h._uU(0," Nie up\u0142yn\u0105\u0142 minimalny czas na przeczytanie artyku\u0142u. ")}function ot(t,e){if(1&t&&(h.TgZ(0,"span",2),h.YNc(1,it,2,2,"ng-container",3),h.YNc(2,rt,1,0,"ng-template",null,4,h.W1O),h.qZA()),2&t){var n=h.MAs(3),i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",!i.allButtonsClicked)("ngIfElse",n)}}function at(t,e){if(1&t&&(h.ynx(0),h.YNc(1,ot,4,2,"span",1),h.BQk()),2&t){var n=h.oxw();h.xp6(1),h.Q6J("ngIf",!n.contentRead)}}var ut=function(){var t=function(){function t(e,n){l(this,t),this.buttonLogger=e,this.platformId=n,this.clicks=[],this.clicksRequired=0,this.buttonsClicked=0,this.startedReadingTextAt=null,this.contentRead=!1,this.allButtonsClicked=!1}return d(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this;(0,O.NF)(this.platformId)&&(this.sub=this.buttonLogger.isLoaded.pipe((0,u.h)(function(t){return!0===t}),(0,nt.g)(50),(0,f.b)(function(){return t.run()})).subscribe(),this.startedReadingTextAt||(this.startedReadingTextAt=(new Date).getTime()),!this.contentRead)&&setTimeout(function(){t.checkIfArticleRead()},6e4*this.minReadTime+2e4)}},{key:"run",value:function(){var t=this;this.certificationButtons=document.querySelectorAll("[data-certification]"),this.clicksRequired=this.certificationButtons.length,this.certificationButtons.forEach(function(e){return t.addEvents(e)})}},{key:"addEvents",value:function(t){var e=this;t.addEventListener("click",function(){return e.calculateClicks(t)})}},{key:"calculateClicks",value:function(t){var e=+t.dataset.certification;t.style.opacity="0.3",-1===this.clicks.indexOf(e)&&(this.clicks.push(e),this.buttonsClicked=this.clicks.length),this.checkIfArticleRead()}},{key:"checkIfArticleRead",value:function(){var t=(((new Date).getTime()-this.startedReadingTextAt)/6e4).toFixed(1),e=this.minReadTime<=+t;this.allButtonsClicked=this.clicksRequired===this.clicks.length,this.allButtonsClicked&&e&&(this.contentRead=!0,this.buttonLogger.isContentRead())}},{key:"ngOnDestroy",value:function(){this.sub&&this.sub.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Y36(m.X),h.Y36(h.Lbi))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-certification-buttons"]],inputs:{minReadTime:"minReadTime",canCertificate:"canCertificate"},decls:1,vars:1,consts:[[4,"ngIf"],["class","buttons-counter",4,"ngIf"],[1,"buttons-counter"],[4,"ngIf","ngIfElse"],["timeNotElapsed",""]],template:function(t,e){1&t&&h.YNc(0,at,2,1,"ng-container",0),2&t&&h.Q6J("ngIf",e.canCertificate)},directives:[O.O5],encapsulation:2}),t}();function ct(t,e){if(1&t&&h._UZ(0,"app-certification-questions",4),2&t){var n=h.oxw();h.Q6J("contentId",n.contentId)}}function st(t,e){if(1&t&&(h.TgZ(0,"p"),h._uU(1),h.qZA()),2&t){var n=h.oxw(2);h.Gre("certification-alert ",n.certificationFailure?"error-message":"",""),h.xp6(1),h.Oqu(n.alertText)}}function lt(t,e){if(1&t&&(h.TgZ(0,"p"),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.Oqu(n.messageText)}}function ft(t,e){if(1&t&&(h.ynx(0),h.YNc(1,lt,2,1,"p",11),h.BQk()),2&t){var n=h.oxw(2);h.xp6(1),h.Q6J("ngIf",n.certificationMessage)}}function dt(t,e){if(1&t&&(h.TgZ(0,"a",13),h._uU(1),h.qZA()),2&t){var n=h.oxw(3);h.xp6(1),h.Oqu(n.messageText)}}function pt(t,e){if(1&t&&h.YNc(0,dt,2,1,"a",12),2&t){var n=h.oxw(2);h.Q6J("ngIf",n.certificationMessage)}}function ht(t,e){}function gt(t,e){if(1&t&&(h.ynx(0),h.YNc(1,ht,0,0,"ng-template",15),h.BQk()),2&t){h.oxw(3);var n=h.MAs(5);h.xp6(1),h.Q6J("ngTemplateOutlet",n)}}function vt(t,e){1&t&&(h.ynx(0),h.TgZ(1,"p",17),h._uU(2,' Przeczytaj ca\u0142y artyku\u0142 i potwierd\u017a ten fakt klikaj\u0105c w przycisk "Kliknij aby otrzyma\u0107 punkty szkoleniowe" aby uzyska\u0107 punkty szkoleniowe. '),h.qZA(),h.TgZ(3,"p",17),h.TgZ(4,"a",18),h._uU(5,"Wi\u0119cej informacji w FAQ."),h.qZA(),h.qZA(),h.BQk())}function bt(t,e){if(1&t&&(h._UZ(0,"app-certification-buttons",16),h.YNc(1,vt,6,0,"ng-container",11)),2&t){var n=h.oxw(3);h.Q6J("canCertificate",n.canCertificate)("minReadTime",n.minReadTime),h.xp6(1),h.Q6J("ngIf",!n.certificationMessage)}}function mt(t,e){if(1&t&&(h.ynx(0),h.YNc(1,gt,2,1,"ng-container",7),h.YNc(2,bt,2,3,"ng-template",null,14,h.W1O),h.BQk()),2&t){var n=h.MAs(3),i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",i.canCertificate&&i.articleIsRead)("ngIfElse",n)}}function yt(t,e){}function wt(t,e){if(1&t&&(h.ynx(0),h.YNc(1,yt,0,0,"ng-template",15),h.BQk()),2&t){h.oxw(3);var n=h.MAs(5);h.xp6(1),h.Q6J("ngTemplateOutlet",n)}}function Ot(t,e){1&t&&(h.ynx(0),h.TgZ(1,"p",17),h._uU(2," Obejrzyj ca\u0142e nagranie i zatwierdzaj wy\u015bwietlane komunikaty aby m\xf3c uzyska\u0107 punkty szkoleniowe. "),h.qZA(),h.TgZ(3,"p",17),h.TgZ(4,"a",18),h._uU(5,"Wi\u0119cej informacji w FAQ."),h.qZA(),h.qZA(),h.BQk())}
1function jt(t,e){if(1&t&&(h._UZ(0,"app-certification-video",0),h.YNc(1,Ot,6,0,"ng-container",11)),2&t){var n=h.oxw(3);h.Q6J("testable",n.canCertificate),h.xp6(1),h.Q6J("ngIf",!n.certificationMessage)}}function kt(t,e){if(1&t&&(h.ynx(0),h.YNc(1,wt,2,1,"ng-container",7),h.YNc(2,jt,2,2,"ng-template",null,19,h.W1O),h.BQk()),2&t){var n=h.MAs(3),i=h.oxw(2);h.xp6(1),h.Q6J("ngIf",i.canCertificate&&i.videoIsWatched)("ngIfElse",n)}}function xt(t,e){}function Ct(t,e){if(1&t&&(h.ynx(0),h.YNc(1,xt,0,0,"ng-template",15),h.BQk()),2&t){h.oxw(3);var n=h.MAs(5);h.xp6(1),h.Q6J("ngTemplateOutlet",n)}}function Pt(t,e){if(1&t&&(h.ynx(0),h.YNc(1,Ct,2,1,"ng-container",11),h.BQk()),2&t){var n=h.oxw(2);h.xp6(1),h.Q6J("ngIf",n.canCertificate)}}function Tt(t,e){if(1&t&&(h.TgZ(0,"div",5),h.YNc(1,st,2,4,"p",6),h.YNc(2,ft,2,1,"ng-container",7),h.YNc(3,pt,1,1,"ng-template",null,8,h.W1O),h.ynx(5,9),h.YNc(6,mt,4,2,"ng-container",10),h.YNc(7,kt,4,2,"ng-container",10),h.YNc(8,Pt,2,1,"ng-container",10),h.BQk(),h.qZA()),2&t){var n=h.MAs(4),i=h.oxw();h.xp6(1),h.Q6J("ngIf",i.certificationAlert),h.xp6(1),h.Q6J("ngIf",i.isLoggedIn)("ngIfElse",n),h.xp6(3),h.Q6J("ngSwitch",i.verificationMethod.code),h.xp6(1),h.Q6J("ngSwitchCase",i.verificationMethodIs.fields),h.xp6(1),h.Q6J("ngSwitchCase",i.verificationMethodIs.youtube),h.xp6(1),h.Q6J("ngSwitchCase",i.verificationMethodIs.no_verification)}}function It(t,e){if(1&t){var n=h.EpF();h.TgZ(0,"button",20),h.NdJ("click",function(){return h.CHM(n),h.oxw().obtainPoints()}),h._uU(1,"Kliknij aby otrzyma\u0107 punkty szkoleniowe"),h.qZA(),h.TgZ(2,"p",17),h._uU(3,"Certyfikat zostanie wys\u0142any na adres mailowy wykorzystywany przy logowaniu"),h.qZA()}if(2&t){var i=h.oxw();h.Q6J("pending",i.certificationPending)}}var At={no_verification:0,questions:1,fields:2,youtube:3},St=function(){var t=function(){function t(e,n,i,r,o,a){l(this,t),this.auth=e,this.certificationService=n,this.chref=i,this.buttonLogger=r,this.videoVerification=o,this.certificationQuestionsService=a,this.contentId=null,this.verificationMethodIs=At,this.isLoggedIn=!1,this.canCertificate=!1,this.certificationMessage=!0,this.messageText="",this.certificationAlert=!1,this.alertText="",this.certificationFailure=!1,this.certificationPending=!1,this.articleIsRead=!1,this.videoIsWatched=!1}return d(t,[{key:"ngOnInit",value:function(){var t=this;this.certificationSubscription=this.auth.user.pipe((0,a.U)(function(e){return t.checkIfUserIsLoggedIn(e)}),(0,u.h)(function(t){return t}),(0,c.zg)(function(){return t.certificationService.canObtainPoints(t.contentId)}),(0,a.U)(function(e){return t.manageAlertsStates(e)}),(0,a.U)(function(e){return t.checkIfCanFetchQuestions(e)}),(0,a.U)(function(e){return t.checkIfCanRunFields(e)})).subscribe(function(){return t.chref.detectChanges()}),this.buttonsSub=this.buttonLogger.isRead.pipe((0,u.h)(function(t){return!0===t}),(0,f.b)(function(){return t.articleIsRead=!0})).subscribe(function(){t.chref.detectChanges()}),this.videoSub=this.videoVerification.watched.pipe((0,u.h)(function(t){return!0===t}),(0,f.b)(function(){return t.videoIsWatched=!0})).subscribe(function(){t.chref.detectChanges()})}},{key:"manageAlertsStates",value:function(t){return this.messageText=t.message,this.canCertificate=t.success,this.certificationMessage=!t.success,t}},{key:"checkIfUserIsLoggedIn",value:function(t){return t?(this.isLoggedIn=!0,this.canCertificate=!1,!0):(this.messageText="Zaloguj si\u0119/utw\xf3rz konto, aby zdoby\u0107 punkty szkoleniowe",this.chref.detectChanges(),void(this.isLoggedIn=!1))}},{key:"checkIfCanFetchQuestions",value:function(t){return t.success&&this.verificationMethod.code===this.verificationMethodIs.questions&&this.certificationQuestionsService.canFetchQuestions(!0),t}},{key:"checkIfCanRunFields",value:function(t){return t.success&&this.verificationMethod.code===this.verificationMethodIs.fields&&this.buttonLogger.loadFields(),t}},{key:"obtainPoints",value:function(){var t=this;this.certificationPending=!0,this.certificationService.obtainPoints(this.contentId).subscribe(function(e){if(t.certificationAlert=!0,t.alertText=e.message,!e.success)return t.certificationFailure=!0,void(t.certificationPending=!1);t.canCertificate=!1,t.chref.detectChanges()})}},{key:"ngOnDestroy",value:function(){this.certificationSubscription&&this.certificationSubscription.unsubscribe(),this.buttonsSub&&this.buttonsSub.unsubscribe(),this.videoSub&&this.videoSub.unsubscribe(),this.chref.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(h.Y36(b.e),h.Y36(v),h.Y36(h.sBO),h.Y36(m.X),h.Y36(y.c),h.Y36(w.p))},t.\u0275cmp=h.Xpm({type:t,selectors:[["app-certification"]],inputs:{contentId:"contentId",verificationMethod:"verificationMethod",minReadTime:"minReadTime"},features:[h._Bn([v])],decls:6,vars:3,consts:[[3,"testable"],[3,"contentId",4,"ngIf","ngIfElse"],["otherMethods",""],["obtainPointsBox",""],[3,"contentId"],[1,"certification-panel"],[3,"class",4,"ngIf"],[4,"ngIf","ngIfElse"],["notLoggedIn",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngIf"],["routerLink","/zaloguj",4,"ngIf"],["routerLink","/zaloguj"],["needToReadArticle",""],[3,"ngTemplateOutlet"],[3,"canCertificate","minReadTime"],[1,"certification-info"],["routerLink","/faq","fragment","6-w-jaki-sposb-mog-uzyska-punkty-szkoleniowe-w-serwisie-palestra"],["needToWatchVideo",""],["btn","","color","green",3,"pending","click"]],template:function(t,e){if(1&t&&(h._UZ(0,"app-certification-vi
1deo",0),h.YNc(1,ct,1,1,"app-certification-questions",1),h.YNc(2,Tt,9,7,"ng-template",null,2,h.W1O),h.YNc(4,It,4,1,"ng-template",null,3,h.W1O)),2&t){var n=h.MAs(3);h.Q6J("testable",!1),h.xp6(1),h.Q6J("ngIf",e.verificationMethodIs.questions===e.verificationMethod.code&&e.canCertificate)("ngIfElse",n)}},directives:[F,O.O5,tt,O.RF,O.n9,E.yS,et.j,O.tP,ut,C.r],styles:[".certification-panel[_ngcontent-%COMP%]{margin:50px auto 25px;max-width:600px;padding:35px;background:#faf8f0;border-radius:5px;box-shadow:1px 3px 5px -3px #0000004d;text-align:center;color:#52453b;font-size:1.8rem;transition:all .2s ease-in}.certification-panel[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{min-width:240px;margin:0;padding:16px 45px}.certification-panel.certification-questions[_ngcontent-%COMP%]{max-width:unset}.certification-alert[_ngcontent-%COMP%]{color:#2f593a}.error-message[_ngcontent-%COMP%]{margin-bottom:25px;color:#b45252}.certification-info[_ngcontent-%COMP%]{margin-top:20px}.certification-info[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#2f593a}"]}),t}()},10962:function(t,e,n){"use strict";n.d(e,{a:function(){return v}});var i,r=n(38583),o=n(35353),a=n(90665),u=n(5727),c=n(91004),s=n(56481),f=n(48594),p=n(80728),h=n(58031),g=n(88720),v=((i=d(function t(){l(this,t)})).\u0275fac=function(t){return new(t||i)},i.\u0275mod=g.oAB({type:i}),i.\u0275inj=g.cJS({providers:[c.Z7,s.X,p.f,f.p,h.c],imports:[[r.ez,o.m,a.UX,u.Bz]]}),i)},56481:function(t,e,n){"use strict";n.d(e,{X:function(){return r}});var i=n(79765),r=function(){function t(){l(this,t),this.canLoadFields=new i.xQ,this.isLoaded=new i.xQ,this.isRead=new i.xQ}return d(t,[{key:"loadFields",value:function(){this.canLoadFields.next(!0)}},{key:"contentLoaded",value:function(){this.isLoaded.next(!0)}},{key:"isContentRead",value:function(){this.isRead.next(!0)}}]),t}()},80728:function(t,e,i){"use strict";i.d(e,{f:function(){return h}});var o,u=i(66849),c=i(91004),f=i(88720),p=i(62252),h=((o=function(t){r(i,t);var e=a(i);function i(t){var r;return l(this,i),(r=e.call(this)).apollo=t,r.mutationQuery=u.ZP(n||(n=s(["\n        mutation CertificationQuestionsMutation($contentId: Int!, $answers: [TestQuestionUserAnswer]) {\n            testQuestions {\n                checkAnswersAndObtainPoints(contentId: $contentId, answers: $answers) {\n                    success\n                    message\n                    validationErrors {\n                        property\n                        messages\n                    }\n                }\n            }\n        }\n    "]))),r}return d(i,[{key:"unwrapMutationResponse",value:function(t){return t.data.testQuestions.checkAnswersAndObtainPoints}}]),i}(c.DC)).\u0275fac=function(t){return new(t||o)(f.LFG(p._M))},o.\u0275prov=f.Yz7({token:o,factory:o.\u0275fac}),o)},48594:function(t,e,n){"use strict";n.d(e,{p:function(){return v}});var o,u=n(66849),c=n(91004),f=n(79765),p=n(88720),h=n(62252),g=n(5727),v=((o=function(t){r(n,t);var e=a(n);function n(t,r){var o;return l(this,n),(o=e.call(this,r)).apollo=t,o.router=r,o.getOneAllowedParams=["contentId"],o.fetchQuestions=new f.xQ,o.getOneQuery=u.ZP(i||(i=s(["\n        query TestingQuestionsQuery($contentId: Int!) {\n            testQuestions {\n                questions (contentId: $contentId) {\n                    id\n                    text\n                    answers {\n                        id\n                        text\n                    }\n                }\n            }\n        }\n    "]))),o}return d(n,[{key:"canFetchQuestions",value:function(t){this.fetchQuestions.next(t)}},{key:"unwrapGetOneResponse",value:function(t){return t.data.testQuestions}},{key:"unwrapListResponse",value:function(t){}}]),n}(c.ti)).\u0275fac=function(t){return new(t||o)(p.LFG(h._M),p.LFG(g.F0))},o.\u0275prov=p.Yz7({token:o,factory:o.\u0275fac}),o)},58031:function(t,e,n){"use strict";n.d(e,{c:function(){return r}});var i=n(79765),r=function(){function t(){l(this,t),this.watched=new i.xQ}return d(t,[{key:"wasContentWatched",value:function(t){this.watched.next(t)}}]),t}()},82273:function(t,e,n){"use strict";n.d(e,{L:function(){return Y}});var i=n(88720),r=n(38583),o=n(45863),a=n(5727),u=n(1195),c=function(t){return{record:t}};function s(t,e){if(1&t&&(i.TgZ(0,"div",10),i.GkF(1,11),i.qZA()),2&t){var n=i.oxw().$implicit;i.oxw(2);var r=i.MAs(6);i.xp6(1),i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.VKq(2,c,n))}}var f=function(t){return{"expand-panel":t}};function p(t,e){if(1&t&&(i.TgZ(0,"div",12),i.GkF(1,11),i.qZA()),2&t){var n=i.oxw().$implicit,r=i.oxw(2),o=i.MAs(6);i.Q6J("ngClass",i.VKq(3,f,r.showFullBibliography)),i.xp6(1),i.Q6J("ngTemplateOutlet",o)("ngTemplateOutletContext",i.VKq(5,c,n))}}function h(t,e){if(1&t&&(i.TgZ(0,"div",7),i.YNc(1,s,2,4,"div",8),i.YNc(2,p,2,7,"div",9),i.qZA()),2&t){var n=e.index;i.xp6(1),i.Q6J("ngIf",n<5),i.xp6(1),i.Q6J("ngIf",n>5)}}function g(t,e){if(1&t){var n=i.EpF();i.ynx(0),i.YNc(1,h,3,2,"div",4),i.TgZ(2,"div",5),i.TgZ(3,"button",6),i.NdJ("
1click",function(){return i.CHM(n),i.oxw().toggleBibliography()}),i._uU(4),i.qZA(),i.qZA(),i.BQk()}if(2&t){var r=i.oxw();i.xp6(1),i.Q6J("ngForOf",r.data),i.xp6(3),i.Oqu(r.showFullBibliography?"Zwi\u0144 bibliografi\u0119":"Rozwi\u0144 pe\u0142n\u0105 bibliografi\u0119")}}function v(t,e){if(1&t&&(i.TgZ(0,"div",7),i.GkF(1,11),i.qZA()),2&t){var n=e.$implicit;i.oxw(2);var r=i.MAs(6);i.xp6(1),i.Q6J("ngTemplateOutlet",r)("ngTemplateOutletContext",i.VKq(2,c,n))}}function b(t,e){if(1&t&&i.YNc(0,v,2,4,"div",4),2&t){var n=i.oxw();i.Q6J("ngForOf",n.data)}}function m(t,e){if(1&t&&(i.TgZ(0,"span",17),i._uU(1),i.qZA()),2&t){var n=i.oxw(2).record;i.xp6(1),i.Oqu(n.author)}}function y(t,e){if(1&t&&(i.ynx(0),i.YNc(1,m,2,1,"span",16),i.BQk()),2&t){var n=i.oxw().record;i.xp6(1),i.Q6J("ngIf",n.author)}}var w=function(t){return["/autorzy",t]};function O(t,e){if(1&t&&(i.TgZ(0,"span",17),i.TgZ(1,"a",20),i._uU(2),i.qZA(),i.qZA()),2&t){var n=e.$implicit;i.xp6(1),i.Q6J("routerLink",i.VKq(3,w,n.slug)),i.xp6(1),i.AsE("",n.firstName," ",n.lastName,"")}}function j(t,e){if(1&t&&(i.ynx(0),i.YNc(1,O,3,5,"span",19),i.BQk()),2&t){var n=e.ngIf;i.xp6(1),i.Q6J("ngForOf",n)}}function k(t,e){if(1&t&&(i.ynx(0),i.YNc(1,j,2,1,"ng-container",18),i.BQk()),2&t){var n=i.oxw(2).record;i.xp6(1),i.Q6J("ngIf",n.relatedContent.authors)}}function x(t,e){if(1&t&&i.YNc(0,k,2,1,"ng-container",18),2&t){var n=i.oxw().record;i.Q6J("ngIf",n.relatedContent)}}function C(t,e){if(1&t&&(i.TgZ(0,"span",22),i._uU(1),i.qZA()),2&t){var n=i.oxw(2).record;i.xp6(1),i.hij("",n.title,",")}}function P(t,e){if(1&t&&(i.ynx(0),i.YNc(1,C,2,1,"span",21),i.BQk()),2&t){var n=i.oxw().record;i.xp6(1),i.Q6J("ngIf",n.title)}}var T=function(t,e){return["/czasopismo/wydanie",t,"artykul",e]};function I(t,e){if(1&t&&(i.TgZ(0,"a",26),i._uU(1),i.qZA()),2&t){var n=i.oxw(2).$implicit,r=i.oxw(2).ngIf,o=i.oxw(2).record;i.Q6J("routerLink",i.WLB(2,T,n.value,r.slug)),i.xp6(1),i.Oqu(o.relatedContent.title)}}function A(t,e){if(1&t&&(i.ynx(0),i.YNc(1,I,2,5,"a",25),i.BQk()),2&t){var n=i.oxw(5).record;i.xp6(1),i.Q6J("ngIf",n.relatedContent.title)}}function S(t,e){if(1&t&&(i.ynx(0),i.YNc(1,A,2,1,"ng-container",18),i.BQk()),2&t){var n=e.$implicit;i.xp6(1),i.Q6J("ngIf","journalIssueSlug"===n.key)}}function _(t,e){if(1&t&&(i.ynx(0),i.YNc(1,S,2,1,"ng-container",24),i.BQk()),2&t){var n=i.oxw().ngIf;i.xp6(1),i.Q6J("ngForOf",n.extraData)}}function M(t,e){if(1&t&&(i.TgZ(0,"span",22),i._uU(1),i.qZA()),2&t){var n=i.oxw(4).record;i.xp6(1),i.hij("",n.relatedContent.title,",")}}function E(t,e){if(1&t&&i.YNc(0,M,2,1,"span",21),2&t){var n=i.oxw(3).record;i.Q6J("ngIf",n.relatedContent.title)}}function q(t,e){if(1&t&&(i.ynx(0),i.YNc(1,_,2,1,"ng-container",1),i.YNc(2,E,1,1,"ng-template",null,23,i.W1O),i.BQk()),2&t){var n=e.ngIf,r=i.MAs(3);i.xp6(1),i.Q6J("ngIf",n.extraData&&n.title)("ngIfElse",r)}}function Z(t,e){if(1&t&&i.YNc(0,q,4,2,"ng-container",18),2&t){var n=i.oxw().record;i.Q6J("ngIf",n.relatedContent)}}function F(t,e){if(1&t&&(i.TgZ(0,"span",28),i._uU(1),i.qZA()),2&t){var n=i.oxw(2).record;i.xp6(1),i.AsE(" ",n.publishingInfo," ",n.pageNumber,"")}}function Q(t,e){if(1&t&&(i.ynx(0),i.YNc(1,F,2,2,"span",27),i.BQk()),2&t){var n=i.oxw().record;i.xp6(1),i.Q6J("ngIf",n.publishingInfo)}}function N(t,e){if(1&t&&(i.TgZ(0,"span",28),i._uU(1),i.qZA()),2&t){var n=i.oxw(3).record;i.xp6(1),i.AsE(" ",n.relatedContent.publishingInfo," ",n.relatedContent.pageNumber,"")}}function L(t,e){if(1&t&&(i.ynx(0),i.YNc(1,N,2,2,"span",27),i.BQk()),2&t){var n=i.oxw(2).record;i.xp6(1),i.Q6J("ngIf",n.relatedContent.publishingInfo)}}function z(t,e){if(1&t&&i.YNc(0,L,2,1,"ng-container",18),2&t){var n=i.oxw().record;i.Q6J("ngIf",n.relatedContent)}}function R(t,e){if(1&t&&(i.YNc(0,y,2,1,"ng-container",1),i.YNc(1,x,1,1,"ng-template",null,13,i.W1O),i.YNc(3,P,2,1,"ng-container",1),i.YNc(4,Z,1,1,"ng-template",null,14,i.W1O),i.YNc(6,Q,2,1,"ng-container",1),i.YNc(7,z,1,1,"ng-template",null,15,i.W1O)),2&t){var n=e.record,r=i.MAs(2),o=i.MAs(5),a=i.MAs(8);i.Q6J("ngIf",n.author)("ngIfElse",r),i.xp6(3),i.Q6J("ngIf",n.title)("ngIfElse",o),i.xp6(3),i.Q6J("ngIf",n.publishingInfo)("ngIfElse",a)}}
1var B,Y=((B=function(){function t(){l(this,t),this.showFullBibliography=!1}return d(t,[{key:"ngOnInit",value:function(){}},{key:"isPolishLocale",get:function(){return"PL"===this.locale.toUpperCase()}},{key:"toggleBibliography",value:function(){this.showFullBibliography=!this.showFullBibliography}}]),t}()).\u0275fac=function(t){return new(t||B)},B.\u0275cmp=i.Xpm({type:B,selectors:[["app-bibliography"]],inputs:{locale:"locale",data:"data"},decls:7,vars:2,consts:[[1,"heading","heading-big"],[4,"ngIf","ngIfElse"],["shortBiblio",""],["bibliographyTemplate",""],["class","bibliography-record",4,"ngFor","ngForOf"],[1,"bibliography-see-more-actions"],["aria-label","rozwi\u0144 pe\u0142n\u0105 bibliografi\u0119","btn-with-icon","","color","grey","icon","palestra-arrow",3,"click"],[1,"bibliography-record"],["class","bibliography-panel-visible",4,"ngIf"],["class","bibliography-panel-hidden",3,"ngClass",4,"ngIf"],[1,"bibliography-panel-visible"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"bibliography-panel-hidden",3,"ngClass"],["relatedAuthor",""],["recordTitle",""],["publishingInfo",""],["class","bibliography-record-author",4,"ngIf"],[1,"bibliography-record-author"],[4,"ngIf"],["class","bibliography-record-author",4,"ngFor","ngForOf"],[1,"emphasized",3,"routerLink"],["class","bibliography-record-title",4,"ngIf"],[1,"bibliography-record-title"],["notALinkTitle",""],[4,"ngFor","ngForOf"],["class","bibliography-record-title emphasized",3,"routerLink",4,"ngIf"],[1,"bibliography-record-title","emphasized",3,"routerLink"],["class","bibliography-record-info",4,"ngIf"],[1,"bibliography-record-info"]],template:function(t,e){if(1&t&&(i.TgZ(0,"h4",0),i._uU(1,"Bibliografia"),i.qZA(),i.YNc(2,g,5,2,"ng-container",1),i.YNc(3,b,1,1,"ng-template",null,2,i.W1O),i.YNc(5,R,9,6,"ng-template",null,3,i.W1O)),2&t){var n=i.MAs(4);i.xp6(2),i.Q6J("ngIf",e.data.length>5)("ngIfElse",n)}},directives:[r.O5,r.sg,o.r,r.tP,r.mk,a.yS,u.j],styles:[""]}),B)},10105:function(t,e,n){"use strict";n.d(e,{L:function(){return g}});var i=n(88720),r=n(38583),o=n(5727),a=n(1195);function u(t,e){if(1&t&&(i.ynx(0),i._UZ(1,"img",12),i.BQk()),2&t){var n=i.oxw().$implicit;i.xp6(1),i.Q6J("src",n.profilePicture,i.LSH)}}function c(t,e){1&t&&i._UZ(0,"img",13)}function s(t,e){if(1&t&&(i.TgZ(0,"p",14),i._uU(1),i.qZA()),2&t){var n=i.oxw().$implicit;i.xp6(1),i.Oqu(n.titles)}}var f=function(t,e){return[t,e]};function p(t,e){if(1&t&&(i.ynx(0),i.TgZ(1,"a",2),i.TgZ(2,"div",3),i.TgZ(3,"div",4),i.TgZ(4,"div",5),i.YNc(5,u,2,1,"ng-container",6),i.YNc(6,c,1,0,"ng-template",null,7,i.W1O),i.qZA(),i.TgZ(8,"div",8),i.TgZ(9,"p",9),i._uU(10),i.qZA(),i.YNc(11,s,2,1,"p",10),i.qZA(),i.qZA(),i._UZ(12,"div",11),i.qZA(),i.qZA(),i.BQk()),2&t){var n=e.$implicit,r=i.MAs(7),o=i.oxw();i.xp6(1),i.Q6J("routerLink",i.WLB(6,f,o.builUrl,n.slug)),i.xp6(4),i.Q6J("ngIf",n.profilePicture)("ngIfElse",r),i.xp6(5),i.AsE("",n.firstName," ",n.lastName,""),i.xp6(1),i.Q6J("ngIf",n.titles)}}var h,g=((h=function(){function t(){l(this,t)}return d(t,[{key:"ngOnInit",value:function(){this.builUrl="PL"===this.authorRedirectLocale.toUpperCase()?"/autorzy":"/authors"}}]),t}()).\u0275fac=function(t){return new(t||h)},h.\u0275cmp=i.Xpm({type:h,selectors:[["app-publication-authors"]],inputs:{authors:"authors",authorRedirectLocale:"authorRedirectLocale"},decls:2,vars:1,consts:[[1,"publication-authors"],[4,"ngFor","ngForOf"],[3,"routerLink"],[1,"publication-author"],[1,"publication-author-introduction"],[1,"publication-authors-avatar-wrapper"],[4,"ngIf","ngIfElse"],["stockPicture",""],[1,"publication-author-details"],[1,"publication-author-name"],["class","publication-author-title",4,"ngIf"],[1,"publication-author-description"],["alt","",3,"src"],["src","assets/img/default-avatar.jpg","alt",""],[1,"publication-author-title"]],template:function(t,e){1&t&&(i.TgZ(0,"div",0),i.YNc(1,p,13,9,"ng-container",1),i.qZA()),2&t&&(i.xp6(1),i.Q6J("ngForOf",e.authors))},directives:[r.sg,o.yS,a.j,r.O5],styles:[".publication-authors[_ngcontent-%COMP%]{padding:0 15px;display:flex;overflow-x:scroll;-webkit-overflow-scrolling:touch}.publication-authors-avatar-wrapper[_ngcontent-%COMP%]{flex-shrink:0;width:66px;height:66px;overflow:hidden;border-radius:50%}.publication-authors-avatar-wrapper[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.publication-author[_ngcontent-%COMP%]{min-width:250px;margin:10px 15px}.publication-author-introduction[_ngcontent-%COMP%]{display:flex;align-items:center}.publication-author-description[_ngcontent-%COMP%]{display:none;text-align:justify}.publication-author-details[_ngcontent-%COMP%]{margin-left:15px}
1.publication-author-name[_ngcontent-%COMP%]{font-size:1.8rem;font-weight:700;margin:8px 0}.publication-author-title[_ngcontent-%COMP%]{font-size:1.3rem;margin:8px 0;font-weight:400}@media screen and (min-width: 768px){.publication-author[_ngcontent-%COMP%]{margin:20px 15px}}@media screen and (min-width: 1024px){.publication-authors[_ngcontent-%COMP%]{flex-direction:column;justify-content:flex-start;overflow:hidden;margin-right:20px;padding:0}.publication-author[_ngcontent-%COMP%]{margin:15px 0}.publication-author-introduction[_ngcontent-%COMP%]{align-items:center}.publication-author-description[_ngcontent-%COMP%]{display:block}.publication-author-description-content[_ngcontent-%COMP%]{margin-top:25px;font-size:1.3rem;line-height:2rem}}@media screen and (min-width: 1440px){.publication-authors[_ngcontent-%COMP%]{flex-direction:column;margin-right:35px}.publication-author[_ngcontent-%COMP%]{max-width:unset;margin:20px 0}.publication-author[_ngcontent-%COMP%]:first-child{margin-top:0}}"],changeDetection:0}),h)},24519:function(t,e,n){"use strict";n.d(e,{T:function(){return x}});var i=n(88720),r=n(38583),o=n(5727),a=n(1195);function u(t,e){if(1&t&&(i.TgZ(0,"p",8),i._uU(1),i.qZA()),2&t){var n=i.oxw();i.xp6(1),i.Oqu(n.publicationRoot)}}function c(t,e){if(1&t&&(i.TgZ(0,"div",9),i.TgZ(1,"p",10),i._uU(2),i.qZA(),i.TgZ(3,"div",11),i.TgZ(4,"span",12),i.TgZ(5,"strong"),i._uU(6),i.qZA(),i.qZA(),i.qZA(),i.qZA()),2&t){var n=i.oxw();i.xp6(2),i.hij(" ",n.englishVersion?"DOI nr":"Nr DOI"," "),i.xp6(4),i.Oqu(n.doi)}}function s(t,e){if(1&t&&(i.ynx(0),i.TgZ(1,"span",15),i._uU(2),i.qZA(),i.BQk()),2&t){var n=i.oxw(2);i.xp6(2),i.Oqu(n.category.name)}}var f=function(t){return["/search/category/",t,"1"]},p=function(t){return["/wyszukaj/kategoria/",t,"1"]};function h(t,e){if(1&t&&(i.TgZ(0,"a",16),i.TgZ(1,"span",15),i._uU(2),i.qZA(),i.qZA()),2&t){var n=i.oxw(2);i.Q6J("routerLink",n.englishVersion?i.VKq(3,f,n.category.slug):i.VKq(5,p,n.category.slug)),i.uIk("aria-label",n.category.name),i.xp6(2),i.Oqu(n.category.name)}}function g(t,e){if(1&t&&(i.TgZ(0,"div",9),i.TgZ(1,"p",10),i._uU(2),i.qZA(),i.TgZ(3,"div",11),i.YNc(4,s,3,1,"ng-container",13),i.YNc(5,h,3,7,"ng-template",null,14,i.W1O),i.qZA(),i.qZA()),2&t){var n=i.MAs(6),r=i.oxw();i.xp6(2),i.hij(" ",r.englishVersion?"Category":"Kategoria"," "),i.xp6(2),i.Q6J("ngIf",r.disableCategorySearch)("ngIfElse",n)}}var v=function(t,e){return["/search/keyword/",t,e,"1"]},b=function(t,e){return["/wyszukaj/slowo-kluczowe/",t,e,"1"]};function m(t,e){if(1&t&&(i.ynx(0),i.TgZ(1,"a",16),i.TgZ(2,"span",19),i._uU(3),i.qZA(),i.qZA(),i.BQk()),2&t){var n=e.$implicit,r=i.oxw(3);i.xp6(1),i.Q6J("routerLink",r.englishVersion?i.WLB(3,v,n.slug,r.keywordTab):i.WLB(6,b,n.slug,r.keywordTab)),i.uIk("aria-label",n.name),i.xp6(2),i.Oqu(n.name)}}function y(t,e){if(1&t&&(i.TgZ(0,"div",9),i.TgZ(1,"p",10),i._uU(2),i.qZA(),i.TgZ(3,"div",11),i.TgZ(4,"div",17),i.YNc(5,m,4,9,"ng-container",18),i.qZA(),i.qZA(),i.qZA()),2&t){var n=i.oxw(2);i.xp6(2),i.hij(" ",n.englishVersion?"Tags":"Poj\u0119cia kluczowe"," "),i.xp6(3),i.Q6J("ngForOf",n.keywords)}}function w(t,e){if(1&t&&(i.ynx(0),i.YNc(1,y,6,2,"div",5),i.BQk()),2&t){var n=i.oxw();i.xp6(1),i.Q6J("ngIf",n.keywords.length>0)}}function O(t,e){if(1&t&&(i.TgZ(0,"div",9),i.TgZ(1,"p",10),i._uU(2),i.qZA(),i.TgZ(3,"div",11),i.TgZ(4,"span"),i._uU(5),i.qZA(),i.qZA(),i.qZA()),2&t){var n=i.oxw();i.xp6(2),i.hij(" ",n.englishVersion?"Publication date":"Data publikacji"," "),i.xp6(3),i.Oqu(n.date)}}function j(t,e){if(1&t&&(i.TgZ(0,"div",20),i.TgZ(1,"p",21),i._uU(2),i.qZA(),i.TgZ(3,"div",22),i.TgZ(4,"div",23),i.TgZ(5,"a",24),i._UZ(6,"i",25),i.qZA(),i.qZA(),i.TgZ(7,"a",26),i._UZ(8,"i",27),i.qZA(),i.TgZ(9,"a",28),i._UZ(10,"i",29),i.qZA(),i.qZA(),i.qZA()),2&t){var n=i.oxw();i.xp6(2),i.hij(" ",n.englishVersion?"Share":"Udost\u0119pnij"," "),i.xp6(3),i.uIk("href",n.socials.fb,i.LSH),i.xp6(2),i.uIk("href",n.socials.linkedin,i.LSH),i.xp6(2),i.uIk("href",n.socials.twitter,i.LSH)}}var k,x=((k=d(function t(){l(this,t),this.englishVersion=!1})).\u0275fac=function(t){return new(t||k)},k.\u0275cmp=i.Xpm({type:k,selectors:[["app-publication-header"]],inputs:{header:"header",category:"category",keywords:"keywords",date:"date",doi:"doi",englishVersion:"englishVersion",socials:"socials",disableCategorySearch:"disableCategorySearch",keywordTab:"keywordTab",publicationRoot:"publicationRoot"},decls:11,vars:7,consts:[[1,"publication-header"],["class","publication-root-info",4,"ngIf"],[1,"publication-header-text"],[1,"publication-header-details-container"],[1,"publication-header-details"],["class","publication-header-details-row",4,"ngIf"],[4,"ngIf"],["class","publication-header-icons-container",4,"ngIf"],[1,"publication-root-info"],[1,"publication-header-details-row"],[1,"publication-header-detail-label"],[1,"publication-header-detail-value"],[1,"doi-number"],[4,"ngIf","ngIfElse"],["redirectToSearchByCategory",""],[1,"category"],[3,"routerLink"],[1,"publication-header-tags-wrapper"],[4,"ngFor","ngForOf"],[1,"tag"],[1,"publication-header-icons-container"],[1,"publication-header-icons-label"],[1,"publication-header-icons-wrapper"],["data-href","http://palestra.pl/","data-layout","button","data-size","small"],["aria-label","palestra facebook - share/udost\u0119pnij","target","_blank",1,"publication-header-icon"],[1,"palestra-facebook"],["aria-label","palestra linkedin - share/udost\u0119pnij",1,"publication-header-icon"],[1,"palestra-linkedin"],["aria-label","palestra twitter - share/udost\u0119pnij",1,"publication-header-icon"],[1,"palestra-twitter"]],template:function(t,e){1&t&&(i.TgZ(0,"section",0),i.YNc(1,u,2,1,"p",1),i.TgZ(2,"h2",2),i._uU(3),i.qZA(),i.TgZ(4,"div",3),i.TgZ(5,"div",4),i.YNc(6,c,7,2,"div",5),i.YNc(7,g,7,3,"div",5),i.YNc(8,w,2,1,"ng-container",6),i.YNc(9,O,6,2,"div",5),i.qZA(),i.YNc(10,j,11,4,"div",7),i.qZA(),i.qZA()),2&t&&(i.xp6(1),i.Q6J("ngIf",e.publicationRoot),i.xp6(2),i.Oqu(e.header),i.xp6(3),i.Q6J("ngIf",e.doi),i.xp6(1),i.Q6J("ngIf",e.category),i.xp6(1),i.Q6J("ngIf",e.keywords),i.xp6(1),i.Q6J("ngIf",e.date),i.xp6(1),i.Q6J("ngIf",e.socials))},directives:[r.O5,o.yS,a.j,r.sg],styles:[".publication-header[_ngcontent-%COMP%]{padding-top:15px}.publication-root-info[_ngcontent-%COMP%]{margin-top:25px;font-size:1.4rem;font-weight:600}.publication-header-text[_ngcontent-%COMP%]{margin:40px 0;font-size:3rem;text-transform:uppercase;text-align:center}.publication-header-details[_ngcontent-%COMP%]{display:table}.publication-header-details-row[_ngcontent-%COMP%]{display:table-row;width:100%}.publication-header-details-row[_ngcontent-%COMP%]:not(:first-child)   .publication-header-detail-label[_ngcontent-%COMP%], .publication-header-details-row[_ngcontent-%COMP%]:not(:first-child)   .publication-header-detail-value[_ngcontent-%COMP%]{padding-top:10px}.publication-header-detail-label[_ngcontent-%COMP%], .publication-header-detail-value[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.publication-header-detail-label[_ngcontent-%COMP%]{padding-right:20px;font-size:1.4rem;font-weight:700}.publication-header-tags-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:-5px}.publication-header-icons-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:16px -30px 0;padding:0 30px;border-top:1px solid #e1e1e1;border-bottom:1px solid #e1e1e1}.publication-header-icons-label[_ngcontent-%COMP%]{font-size:1.4rem;font-weight:700}.publication-header-icons-wrapper[_ngcontent-%COMP%]{display:flex}.publication-header-icon[_ngcontent-%COMP%]{margin:20px 8px;display:block;width:35px;height:35px;border-radius:50%;background-color:#d9d9d9;transition:background-color .2s ease-in;text-align:center;font-size:1.8rem;color:#fff}.publication-header-icon[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:block;line-height:35px;transition:transform .55s ease-in}.publication-header-icon[_ngcontent-%COMP%]:hover{background-color:#e4d9b2}.doi-number[_ngcontent-%COMP%]{font-size:2rem}@media screen and (min-width: 768px){.publication-header[_ngcontent-%COMP%]{padding-top:0}.publication-header-text[_ngcontent-%COMP%]{margin:25px 0 45px;text-align:left}.publication-header-details-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.publication-header-icons-container[_ngcontent-%COMP%]{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;margin:0;border:none}.publication-header-icons-label[_ngcontent-%COMP%]{margin:0;font-size:1.8rem}.publication-header-icon[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.publication-header-detail-label[_ngcontent-%COMP%]{padding-right:40px;font-size:1.8rem}.publication-header-icons-container[_ngcontent-%COMP%]{padding-right:0}}@media screen and (min-width: 1024px){.publication-header-text[_ngcontent-%COMP%]{font-size:4rem}}@media screen and (min-width: 1440px){.publication-header-text[_ngcontent-%COMP%]{font-size:6rem;margin:45px 0 55px}}"]}),k)}}])}();

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.