1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7973],{23678:function(e,t,i){"use strict";i.d(t,{Au:function(){return o},G3:function(){return g},Ki:function(){return l},d3:function(){return p},hL:function(){return h},lx:function(){return f},qX:function(){return m},tm:function(){return d}});var r,n,a=i(36655),s=i.n(a),o=function(e){return"function"===ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer},l=function(e){return e instanceof Uint8Array?e:(Array.isArray(e)||o(e)||e instanceof ArrayBuffer||(e="number"!=typeof e||"number"==typeof e&&e!=e?0:[e]),new Uint8Array(e&&e.buffer||e,e&&e.byteOffset||0,e&&e.byteLength||0))},u=s().BigInt||Number,c=[u("0x1"),u("0x100"),u("0x10000"),u("0x1000000"),u("0x100000000"),u("0x10000000000"),u("0x1000000000000"),u("0x100000000000000"),u("0x10000000000000000")];255===(n=new Uint8Array((r=new Uint16Array([65484])).buffer,r.byteOffset,r.byteLength))[0]||n[0];var d=function(e,t){var i=void 0===t?{}:t,r=i.signed,n=i.le,a=void 0!==n&&n;e=l(e);var s=a?"reduce":"reduceRight",o=(e[s]?e[s]:Array.prototype[s]).call(e,function(t,i,r){var n=a?r:Math.abs(r+1-e.length);return t+u(i)*c[n]},u(0));if(void 0!==r&&r){var d=c[e.length]/u(2)-u(1);(o=u(o))>d&&(o-=d,o-=d,o-=u(2))}return Number(o)},h=function(e,t){var i=(void 0===t?{}:t).le,r=void 0!==i&&i;("bigint"!=typeof e&&"number"!=typeof e||"number"==typeof e&&e!=e)&&(e=0);for(var n=Math.ceil((e=u(e)).toString(2).length/8),a=new Uint8Array(new ArrayBuffer(n)),s=0;s<n;s++){var o=r?s:Math.abs(s+1-a.length);a[o]=Number(e/c[s]&u(255)),e<0&&(a[o]=Math.abs(~a[o]),a[o]-=0===s?1:2)}return a},p=function(e){if(!e)return"";e=Array.prototype.slice.call(e);var t=String.fromCharCode.apply(null,l(e));try{return decodeURIComponent(escape(t))}catch(e){}return t},m=function(e,t){if("string"!=typeof e&&e&&"function"==typeof e.toString&&(e=e.toString()),"string"!=typeof e)return new Uint8Array;t||(e=unescape(encodeURIComponent(e)));for(var i=new Uint8Array(e.length),r=0;r<e.length;r++)i[r]=e.charCodeAt(r);return i},f=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];if((t=t.filter(function(e){return e&&(e.byteLength||e.length)&&"string"!=typeof e})).length<=1)return l(t[0]);var r=new Uint8Array(t.reduce(function(e,t,i){return e+(t.byteLength||t.length)},0)),n=0;return t.forEach(function(e){e=l(e),r.set(e,n),n+=e.byteLength}),r},g=function(e,t,i){var r=void 0===i?{}:i,n=r.offset,a=void 0===n?0:n,s=r.mask,o=void 0===s?[]:s;e=l(e);var u=(t=l(t)).every?t.every:Array.prototype.every;return t.length&&e.length-a>=t.length&&u.call(t,function(t,i){return t===(o[i]?o[i]&e[a+i]:e[a+i])})}},5714:function(e,t,i){"use strict";i.d(t,{Hi:function(){return m},Jg:function(){return c},KL:function(){return d},_5:function(){return h},kS:function(){return u},lA:function(){return f},p7:function(){return p},ws:function(){return l},xz:function(){return g}});var r=i(36655),n=i.n(r),a={mp4:/^(av0?1|avc0?[1234]|vp0?9|flac|opus|mp3|mp4a|mp4v|stpp.ttml.im1t)/,webm:/^(vp0?[89]|av0?1|opus|vorbis)/,ogg:/^(vp0?[89]|theora|flac|opus|vorbis)/,video:/^(av0?1|avc0?[1234]|vp0?[89]|hvc1|hev1|theora|mp4v)/,audio:/^(mp4a|flac|vorbis|opus|ac-[34]|ec-3|alac|mp3|speex|aac)/,text:/^(stpp.ttml.im1t)/,muxerVideo:/^(avc0?1)/,muxerAudio:/^(mp4a)/,muxerText:/a^/},s=["video","audio","text"],o=["Video","Audio","Text"],l=function(e){return e?e.replace(/avc1\.(\d+)\.(\d+)/i,function(e,t,i){return"avc1."+("00"+Number(t).toString(16)).slice(-2)+"00"+("00"+Number(i).toString(16)).slice(-2)}):e},u=function(e){void 0===e&&(e="");var t=e.split(","),i=[];return t.forEach(function(e){var t;e=e.trim(),s.forEach(function(r){var n=a[r].exec(e.toLowerCase());if(n&&!(n.length<=1)){t=r;var s=e.substring(0,n[1].length),o=e.replace(s,"");i.push({type:s,details:o,mediaType:r})}}),t||i.push({type:e,details:"",mediaType:"unknown"})}),i},c=function(e,t){if(!e.mediaGroups.AUDIO||!t)return null;var i=e.mediaGroups.AUDIO[t];if(!i)return null;for(var r in i){var n=i[r];if(n.default&&n.playlists)return u(n.playlists[0].attributes.CODECS)}return null},d=function(e){return void 0===e&&(e=""),a.audio.test(e.trim().toLowerCase())},h=function(e){if(e&&"string"==typeof e){var t,i=e.toLowerCase().split(",").map(function(e){return l(e.trim())}),r="video";1===i.length&&d(i[0])?r="audio":1===i.length&&(void 0===(t=i[0])&&(t=""),a.text.test(t.trim().toLowerCase()))&&
1(r="application");var n="mp4";return i.every(function(e){return a.mp4.test(e)})?n="mp4":i.every(function(e){return a.webm.test(e)})?n="webm":i.every(function(e){return a.ogg.test(e)})&&(n="ogg"),r+"/"+n+';codecs="'+e+'"'}},p=function(e){return void 0===e&&(e=""),n().MediaSource&&n().MediaSource.isTypeSupported&&n().MediaSource.isTypeSupported(h(e))||!1},m=function(e){return void 0===e&&(e=""),e.toLowerCase().split(",").every(function(e){e=e.trim();for(var t=0;t<o.length;t++)if(a["muxer"+o[t]].test(e))return!0;return!1})},f="mp4a.40.2",g="avc1.4d400d"},81582:function(e,t,i){"use strict";i.d(t,{Xm:function(){return S},cz:function(){return A}});var r,n=i(23678);new Uint8Array([79,112,117,115,72,101,97,100]);var a=function(e){return"string"==typeof e?(0,n.qX)(e):e},s=function(e){e=(0,n.Ki)(e);for(var t=[],i=0;e.length>i;){var a=e[i],s=0,o=0,l=e[++o];for(o++;128&l;)s=(127&l)<<7,l=e[o],o++;s+=127&l;for(var u=0;u<r.length;u++){var c=r[u],d=c.id,h=c.parser;if(a===d){t.push(h(e.subarray(o,o+s)));break}}i+=s+o}return t};r=[{id:3,parser:function(e){var t={tag:3,id:e[0]<<8|e[1],flags:e[2],size:3,dependsOnEsId:0,ocrEsId:0,descriptors:[],url:""};if(128&t.flags&&(t.dependsOnEsId=e[t.size]<<8|e[t.size+1],t.size+=2),64&t.flags){var i=e[t.size];t.url=(0,n.d3)(e.subarray(t.size+1,t.size+1+i)),t.size+=i}return 32&t.flags&&(t.ocrEsId=e[t.size]<<8|e[t.size+1],t.size+=2),t.descriptors=s(e.subarray(t.size))||[],t}},{id:4,parser:function(e){return{tag:4,oti:e[0],streamType:e[1],bufferSize:e[2]<<16|e[3]<<8|e[4],maxBitrate:e[5]<<24|e[6]<<16|e[7]<<8|e[8],avgBitrate:e[9]<<24|e[10]<<16|e[11]<<8|e[12],descriptors:s(e.subarray(13))}}},{id:5,parser:function(e){return{tag:5,bytes:e}}},{id:6,parser:function(e){return{tag:6,bytes:e}}}];var o=function e(t,i,r){void 0===r&&(r=!1),i=Array.isArray(s=i)?s.map(function(e){return a(e)}):[a(s)],t=(0,n.Ki)(t);var s,o=[];if(!i.length)return o;for(var l=0;l<t.length;){var u=(t[l]<<24|t[l+1]<<16|t[l+2]<<8|t[l+3])>>>0,c=t.subarray(l+4,l+8);if(0===u)break;var d=l+u;if(d>t.length){if(r)break;d=t.length}var h=t.subarray(l+8,d);(0,n.G3)(c,i[0])&&(1===i.length?o.push(h):o.push.apply(o,e(h,i.slice(1),r))),l=d}return o},l={EBML:(0,n.Ki)([26,69,223,163]),DocType:(0,n.Ki)([66,130]),Segment:(0,n.Ki)([24,83,128,103]),SegmentInfo:(0,n.Ki)([21,73,169,102]),Tracks:(0,n.Ki)([22,84,174,107]),Track:(0,n.Ki)([174]),TrackNumber:(0,n.Ki)([215]),DefaultDuration:(0,n.Ki)([35,227,131]),TrackEntry:(0,n.Ki)([174]),TrackType:(0,n.Ki)([131]),FlagDefault:(0,n.Ki)([136]),CodecID:(0,n.Ki)([134]),CodecPrivate:(0,n.Ki)([99,162]),VideoTrack:(0,n.Ki)([224]),AudioTrack:(0,n.Ki)([225]),Cluster:(0,n.Ki)([31,67,182,117]),Timestamp:(0,n.Ki)([231]),TimestampScale:(0,n.Ki)([42,215,177]),BlockGroup:(0,n.Ki)([160]),BlockDuration:(0,n.Ki)([155]),Block:(0,n.Ki)([161]),SimpleBlock:(0,n.Ki)([163])},u=[128,64,32,16,8,4,2,1],c=function(e){for(var t=1,i=0;i<u.length&&!(e&u[i]);i++)t++;return t},d=function(e,t,i,r){void 0===i&&(i=!0),void 0===r&&(r=!1);var a=c(e[t]),s=e.subarray(t,t+a);return i&&(s=Array.prototype.slice.call(e,t,t+a),s[0]^=u[a-1]),{length:a,value:(0,n.tm)(s,{signed:r}),bytes:s}},h=function e(t){return"string"==typeof t?t.match(/.{1,2}/g).map(function(t){return e(t)}):"number"==typeof t?(0,n.hL)(t):t},p=function e(t,i,r){if(r>=i.length)return i.length;var a=d(i,r,!1);if((0,n.G3)(t.bytes,a.bytes))return r;var s=d(i,r+a.length);return e(t,i,r+s.length+s.value+a.length)},m=function e(t,i){i=Array.isArray(r=i)?r.map(function(e){return h(e)}):[h(r)],t=(0,n.Ki)(t);var r,a=[];if(!i.length)return a;for(var s=0;s<t.length;){var o=d(t,s,!1),l=d(t,s+o.length),u=s+o.length+l.length;127===l.value&&(l.value=p(o,t,u),l.value!==t.length&&(l.value-=u));var c=u+l.value>t.length?t.length:u+l.value,m=t.subarray(u,c);(0,n.G3)(i[0],o.bytes)&&(1===i.length?a.push(m):a=a.concat(e(m,i.slice(1)))),s+=o.length+l.length+m.length}return a},f=i(87106),g=(0,n.Ki)([0,0,0,1]),b=(0,n.Ki)([0,0,1]),y=(0,n.Ki)([0,0,3]),v=function(e){for(var t=[],i=1;i<e.length-2;)(0,n.G3)(e.subarray(i,i+3),y)&&(t.push(i+2),i++),i++;if(0===t.length)return e;var r=e.length-t.length,a=new Uint8Array(r),s=0;for(i=0;i<r;s++,i++)s===t[0]&&(s++,t.shift()),a[i]=e[s];return a},w=function(e,t,i,r){void 0===r&&(r=1/0),e=(0,n.Ki)(e),i=[].concat(i);for(var a,s=0,o=0;s<e.length&&(o<r||a);){var l=void 0;if((0,n.G3)(e.subarray(s),g)?l=4:(0,n.G3)(e.subarray(s),b)&&(l=3),!l){s++;continue}if(o++,a)return v(e.subarray(a,s));var u=void 0;"h264"===t?u=31&e[s+l]:"h265"===t&&(u=e[s+l]>>1&63),-1!==i.indexOf(u)&&(a=s+l),s+=l+("h264"===t?1:2)}return e.subarray(0,0)},T={webm:(0,n.Ki)([119,101,98,109]),matroska:(0,n.Ki)([109,97,116,114,111,115,107,97]),flac:(0,n.Ki)([102,76,97,67]),ogg:(0,n.Ki)([79,103,103,83]),ac3:(0,n.Ki)([11,119]),riff:(0,n.Ki)([82,73,70,70]),avi:(0,n.Ki)([65,86,73]),wav:(0,n.Ki)([87,65,86,69]),"3gp":(0,n.Ki)([102,116,121,112,51,103]),mp4:(0,n.Ki)([102,116,121,112]),fmp4:(0,n.Ki)([115,116,121,112]),mov:(0,n.Ki)([102,116,121,112,113,116]),moov:(0,n.Ki)([109,111,111,118]),moof:(0,n.Ki)([109,111,111,102])},E={aac:function(e){var t=(0,f.c)(e);return(0,n.G3)(e,[255,16],{offset:t,mask:[255,22]})},mp3:function(e){var t=(0,f.c)(e);return(0,n.G3)(e,[255,2],{offset:t,mask:[255,6]})},webm:function(e){var t=m(e,[l.EBML,l.DocType])[0];return(0,n.G3)(t,T.webm)},mkv:function(e){var t=m(e,[l.EBML,l.DocType])[0];return(0,n.G3)(t,T.matroska)},mp4:function(e){return!(E["3gp"](e)||E.mov(e))&&(!!((0,n.G3)(e,T.mp4,{offset:4})||(0,n.G3)(e,T.fmp4,{offset:4})||(0,n.G3)(e,T.moof,{offset:4})||(0,n.G3)(e,T.moov,{offset:4}))||void 0)},mov:function(e){return(0,n.G3)(e,T.mov,{offset:4})},"3gp":function(e){return(0,n.G3)(e,T["3gp"],{offset:4})},ac3:function(e){var t=(0,f.c)(e);return(0,n.G3)(e,T.ac3,{offset:t})},ts:function(e){if(e.length<189&&e.length>=1)return 71===e[0];for(var t=0;t+188<e.length&&t<188;){if(71===e[t]&&71===e[t+188])return!0;t+=1}return!1},flac:function(e){var t=(0,f.c)(e);return(0,n.G3)(e,T.flac,{offset:t})},ogg:function(e){return(0,n.G3)(e,T.ogg)},avi:function(e){return(0,n.G3)(e,T.riff)&&(0,n.G3)(e,T.avi,{offset:8})},wav:function(e){return(0,n.G3)(e,T.riff)&&(0,n.G3)(e,T.wav,{offset:8})},h264:function(e){return w(e,"h264",7,3).length},h265:function(e){return w(e,"h265",[32,33],3).length}},D=Object.keys(E).filter(function(e){return"ts"!==e&&"h264"!==e&&"h265"!==e}).concat(["ts","h264","h265"]);D.forEach(function(e){var t=E[e];E[e]=function(e){return t((0,n.Ki)(e))}});var S=function(e){e=(0,n.Ki)(e);for(var t=0;t<D.length;t++){var i=D[t];if(E[i](e))return i}return""},A=function(e){return o(e,["moof"]).length>0}},49745:function(e,t,i){"use strict";i.d(t,{Z:function(){return s}});var r=i(36655),n=i.n(r),a=i(96434).Buffer;function s(e){for(var t=n().atob?n().atob(e):a.from(e,"base64").toString("binary"),i=new Uint8Array(t.length),r=0;r<t.length;r++)i[r]=t.charCodeAt(r);return i}},87106:function(e,t,i){"use strict";i.d(t,{c:function(){return s}});var r=i(23678),n=(0,r.Ki)([73,68,51]),a=function(e,t){void 0===t&&(t=0);var i=(e=(0,r.Ki)(e))[t+5],n=e[t+6]<<21|e[t+7]<<14|e[t+8]<<7|e[t+9];return(16&i)>>4?n+20:n+10},s=function e(t,i){return(void 0===i&&(i=0),(t=(0,r.Ki)(t)).length-i<10||!(0,r.G3)(t,n,{offset:i}))?i:(i+=a(t,i),e(t,i))}},60239:function(e,t,i){"use strict";i.d(t,{t:function(){return a}});var r=/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i,n=/^application\/dash\+xml/i,a=function(e){return r.test(e)?"hls":n.test(e)?"dash":"application/vnd.videojs.vhs+json"===e?"vhs-json":null}},22284:function(e,t,i){"use strict";var r=i(68596),n=i.n(r),a=i(36655),s=i.n(a),o="http://example.com";t.Z=function(e,t){if(/^[a-z]+:/i.test(t))return t;/^data:/.test(e)&&(e=s().location&&s().location.href||"");var i="function"==typeof s().URL,r=/^\/\//.test(e),a=!s().location&&!/\/\//i.test(e);
1if(i?e=new(s()).URL(e,s().location||o):/\/\//i.test(e)||(e=n().buildAbsoluteURL(s().location&&s().location.href||"",e)),i){var l=new URL(t,e);return a?l.href.slice(o.length):r?l.href.slice(l.protocol.length):l.href}return n().buildAbsoluteURL(e,t)}},41134:function(e,t,i){"use strict";var r=i(36655);e.exports=function(e,t){return void 0===t&&(t=!1),function(i,n,a){if(i){e(i);return}if(n.statusCode>=400&&n.statusCode<=599){var s=a;if(t){if(r.TextDecoder){var o,l=(void 0===(o=n.headers&&n.headers["content-type"])&&(o=""),o.toLowerCase().split(";").reduce(function(e,t){var i=t.split("="),r=i[0],n=i[1];return"charset"===r.trim()?n.trim():e},"utf-8"));try{s=new TextDecoder(l).decode(a)}catch(e){}}else s=String.fromCharCode.apply(null,new Uint8Array(a))}e({cause:s});return}e(null,a)}}},14558:function(e,t,i){"use strict";var r=i(36655),n=i(12722),a=i(52492);l.httpHandler=i(41134);var s=function(e){var t={};return e&&e.trim().split("\n").forEach(function(e){var i=e.indexOf(":"),r=e.slice(0,i).trim().toLowerCase(),n=e.slice(i+1).trim();void 0===t[r]?t[r]=n:Array.isArray(t[r])?t[r].push(n):t[r]=[t[r],n]}),t};function o(e,t,i){var r=e;return a(t)?(i=t,"string"==typeof e&&(r={uri:e})):r=n({},t,{uri:e}),r.callback=i,r}function l(e,t,i){return u(t=o(e,t,i))}function u(e){if(void 0===e.callback)throw Error("callback argument missing");var t,i,r,n=!1,a=function(t,i,r){n||(n=!0,e.callback(t,i,r))};function o(e){return clearTimeout(r),e instanceof Error||(e=Error(""+(e||"Unknown XMLHttpRequest Error"))),e.statusCode=0,a(e,b)}function u(){if(!i){clearTimeout(r);var t,n=b,o=null;return 0!==(t=e.useXDR&&void 0===c.status?200:1223===c.status?204:c.status)?(n={body:function(){var e=void 0;if(e=c.response?c.response:c.responseText||function(e){try{if("document"===e.responseType)return e.responseXML;var t=e.responseXML&&"parsererror"===e.responseXML.documentElement.nodeName;if(""===e.responseType&&!t)return e.responseXML}catch(e){}return null}(c),g)try{e=JSON.parse(e)}catch(e){}return e}(),statusCode:t,method:h,headers:{},url:d,rawRequest:c},c.getAllResponseHeaders&&(n.headers=s(c.getAllResponseHeaders()))):o=Error("Internal XMLHttpRequest Error"),a(o,n,n.body)}}var c=e.xhr||null;c||(c=e.cors||e.useXDR?new l.XDomainRequest:new l.XMLHttpRequest);var d=c.url=e.uri||e.url,h=c.method=e.method||"GET",p=e.body||e.data,m=c.headers=e.headers||{},f=!!e.sync,g=!1,b={body:void 0,headers:{},statusCode:0,method:h,url:d,rawRequest:c};if("json"in e&&!1!==e.json&&(g=!0,m.accept||m.Accept||(m.Accept="application/json"),"GET"!==h&&"HEAD"!==h&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),p=JSON.stringify(!0===e.json?p:e.json))),c.onreadystatechange=function(){4===c.readyState&&setTimeout(u,0)},c.onload=u,c.onerror=o,c.onprogress=function(){},c.onabort=function(){i=!0},c.ontimeout=o,c.open(h,d,!f,e.username,e.password),f||(c.withCredentials=!!e.withCredentials),!f&&e.timeout>0&&(r=setTimeout(function(){if(!i){i=!0,c.abort("timeout");var e=Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",o(e)}},e.timeout)),c.setRequestHeader)for(t in m)m.hasOwnProperty(t)&&c.setRequestHeader(t,m[t]);else if(e.headers&&!function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}(e.headers))throw Error("Headers cannot be set on an XDomainRequest object");return"responseType"in e&&(c.responseType=e.responseType),"beforeSend"in e&&"function"==typeof e.beforeSend&&e.beforeSend(c),c.send(p||null),c}e.exports=l,e.exports.default=l,l.XMLHttpRequest=r.XMLHttpRequest||function(){},l.XDomainRequest="withCredentials"in new l.XMLHttpRequest?l.XMLHttpRequest:r.XDomainRequest,function(e,t){for(var i=0;i<e.length;i++)t(e[i])}(["get","put","post","patch","head","delete"],function(e){l["delete"===e?"del":e]=function(t,i,r){return(i=o(t,i,r)).method=e.toUpperCase(),u(i)}})},455:function(e,t){"use strict";function i(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.freeze?t.freeze(e):e}var r=i({HTML:"text/html",isHTML:function(e){return e===r.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),n=i({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===n.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.find=function(e,t,i){if(void 0===i&&(i=Array.prototype),e&&"function"==typeof i.find)return i.find.call(e,t);for(var r=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){var n=e[r];if(t.call(void 0,n,r,e))return n}},t.freeze=i,t.MIME_TYPE=r,t.NAMESPACE=n}
1,52547:function(e,t,i){var r=i(455),n=i(73359),a=i(11670),s=i(38357),o=n.DOMImplementation,l=r.NAMESPACE,u=s.ParseError,c=s.XMLReader;function d(e){this.options=e||{locator:{}}}function h(){this.cdata=!1}function p(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function m(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function f(e,t,i){return"string"==typeof e?e.substr(t,i):e.length>=t+i||t?new java.lang.String(e,t,i)+"":e}function g(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}d.prototype.parseFromString=function(e,t){var i=this.options,r=new c,n=i.domBuilder||new h,s=i.errorHandler,o=i.locator,u=i.xmlns||{},d=/\/x?html?$/.test(t),p=d?a.HTML_ENTITIES:a.XML_ENTITIES;return o&&n.setDocumentLocator(o),r.errorHandler=function(e,t,i){if(!e){if(t instanceof h)return t;e=t}var r={},n=e instanceof Function;function a(t){var a=e[t];!a&&n&&(a=2==e.length?function(i){e(t,i)}:e),r[t]=a&&function(e){a("[xmldom "+t+"] "+e+m(i))}||function(){}}return i=i||{},a("warning"),a("error"),a("fatalError"),r}(s,n,o),r.domBuilder=i.domBuilder||n,d&&(u[""]=l.HTML),u.xml=u.xml||l.XML,e&&"string"==typeof e?r.parse(e,u,p):r.errorHandler.error("invalid doc source"),n.doc},h.prototype={startDocument:function(){this.doc=new o().createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,i,r){var n=this.doc,a=n.createElementNS(e,i||t),s=r.length;g(this,a),this.currentElement=a,this.locator&&p(this.locator,a);for(var o=0;o<s;o++){var e=r.getURI(o),l=r.getValue(o),i=r.getQName(o),u=n.createAttributeNS(e,i);this.locator&&p(r.getLocator(o),u),u.value=u.nodeValue=l,a.setAttributeNode(u)}},endElement:function(e,t,i){var r=this.currentElement;r.tagName,this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var i=this.doc.createProcessingInstruction(e,t);this.locator&&p(this.locator,i),g(this,i)},ignorableWhitespace:function(e,t,i){},characters:function(e,t,i){if(e=f.apply(this,arguments)){if(this.cdata)var r=this.doc.createCDATASection(e);else var r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&p(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,i){e=f.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&p(this.locator,r),g(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,i){var r=this.doc.implementation;if(r&&r.createDocumentType){var n=r.createDocumentType(e,t,i);this.locator&&p(this.locator,n),g(this,n),this.doc.doctype=n}},warning:function(e){console.warn("[xmldom warning] "+e,m(this.locator))},error:function(e){console.error("[xmldom error] "+e,m(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){h.prototype[e]=function(){return null}}),t.DOMParser=d,n.DOMImplementation,n.XMLSerializer},73359:function(e,t,i){var r=i(455),n=r.find,a=r.NAMESPACE;function s(e){return""!==e}function o(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){return e?Object.keys((e?e.split(/[\t\n\f\r ]+/).filter(s):[]).reduce(o,{})):[]}function u(e,t){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}function c(e,t){var i=e.prototype;if(!(i instanceof t)){function r(){}r.prototype=t.prototype,u(i,r=new r),e.prototype=i=r}i.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),i.constructor=e)}var d={},h=d.ELEMENT_NODE=1,p=d.ATTRIBUTE_NODE=2,m=d.TEXT_NODE=3,f=d.CDATA_SECTION_NODE=4,g=d.ENTITY_REFERENCE_NODE=5,b=d.ENTITY_NODE=6,y=d.PROCESSING_INSTRUCTION_NODE=7,v=d.COMMENT_NODE=8,w=d.DOCUMENT_NODE=9,T=d.DOCUMENT_TYPE_NODE=10,E=d.DOCUMENT_FRAGMENT_NODE=11,D=d.NOTATION_NODE=12,S={},A={};S.INDEX_SIZE_ERR=(A[1]="Index size error",1),S.DOMSTRING_SIZE_ERR=(A[2]="DOMString size error",2);var N=S.HIERARCHY_REQUEST_ERR=(A[3]="Hierarchy request error",3);S.WRONG_DOCUMENT_ERR=(A[4]="Wrong document",4),S.INVALID_CHARACTER_ERR=(A[5]="Invalid character",5),S.NO_DATA_ALLOWED_ER
1R=(A[6]="No data allowed",6),S.NO_MODIFICATION_ALLOWED_ERR=(A[7]="No modification allowed",7);var k=S.NOT_FOUND_ERR=(A[8]="Not found",8);S.NOT_SUPPORTED_ERR=(A[9]="Not supported",9);var C=S.INUSE_ATTRIBUTE_ERR=(A[10]="Attribute in use",10);function x(e,t){if(t instanceof Error)var i=t;else i=this,Error.call(this,A[e]),this.message=A[e],Error.captureStackTrace&&Error.captureStackTrace(this,x);return i.code=e,t&&(this.message=this.message+": "+t),i}function I(){}function L(e,t){this._node=e,this._refresh=t,O(this)}function O(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var i=e._refresh(e._node);if(ef(e,"length",i.length),!e.$$length||i.length<e.$$length)for(var r=i.length;(r in e);r++)Object.prototype.hasOwnProperty.call(e,r)&&delete e[r];u(i,e),e._inc=t}}function R(){}function P(e,t){for(var i=e.length;i--;)if(e[i]===t)return i}function M(e,t,i,r){if(r?t[P(t,r)]=i:t[t.length++]=i,e){i.ownerElement=e;var n=e.ownerDocument;n&&(r&&j(n,e,r),n&&n._inc++,i.namespaceURI===a.XMLNS&&(e._nsMap[i.prefix?i.localName:""]=i.value))}}function q(e,t,i){var r=P(t,i);if(r>=0){for(var n=t.length-1;r<n;)t[r]=t[++r];if(t.length=n,e){var a=e.ownerDocument;a&&(j(a,e,i),i.ownerElement=null)}}else throw new x(k,Error(e.tagName+"@"+i))}function _(){}function U(){}function B(e){return"<"==e&&"<"||">"==e&&">"||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function H(e,t){if(t(e))return!0;if(e=e.firstChild)do if(H(e,t))return!0;while(e=e.nextSibling)}function V(){this.ownerDocument=this}function j(e,t,i,r){e&&e._inc++,i.namespaceURI===a.XMLNS&&delete t._nsMap[i.prefix?i.localName:""]}function F(e,t,i){if(e&&e._inc){e._inc++;var r=t.childNodes;if(i)r[r.length++]=i;else{for(var n=t.firstChild,a=0;n;)r[a++]=n,n=n.nextSibling;r.length=a,delete r[r.length]}}}function $(e,t){var i=t.previousSibling,r=t.nextSibling;return i?i.nextSibling=r:e.firstChild=r,r?r.previousSibling=i:e.lastChild=i,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,F(e.ownerDocument,e),t}function G(e){return e&&e.nodeType===U.DOCUMENT_TYPE_NODE}function X(e){return e&&e.nodeType===U.ELEMENT_NODE}function z(e){return e&&e.nodeType===U.TEXT_NODE}function K(e,t){var i=e.childNodes||[];if(n(i,X)||G(t))return!1;var r=n(i,G);return!(t&&r&&i.indexOf(r)>i.indexOf(t))}function W(e,t){var i=e.childNodes||[];if(n(i,function(e){return X(e)&&e!==t}))return!1;var r=n(i,G);return!(t&&r&&i.indexOf(r)>i.indexOf(t))}function Y(e,t,i){var r=e.childNodes||[],a=t.childNodes||[];
1if(t.nodeType===U.DOCUMENT_FRAGMENT_NODE){var s=a.filter(X);if(s.length>1||n(a,z))throw new x(N,"More than one element or text in fragment");if(1===s.length&&!W(e,i))throw new x(N,"Element in fragment can not be inserted before doctype")}if(X(t)&&!W(e,i))throw new x(N,"Only one element can be added and only after doctype");if(G(t)){if(n(r,function(e){return G(e)&&e!==i}))throw new x(N,"Only one doctype is allowed");var o=n(r,X);if(i&&r.indexOf(o)<r.indexOf(i))throw new x(N,"Doctype can only be inserted before an element")}}function Q(e,t,i,r){!function(e,t,i){if(!(e&&(e.nodeType===U.DOCUMENT_NODE||e.nodeType===U.DOCUMENT_FRAGMENT_NODE||e.nodeType===U.ELEMENT_NODE)))throw new x(N,"Unexpected parent node type "+e.nodeType);if(i&&i.parentNode!==e)throw new x(k,"child not in parent");if(!(t&&(X(t)||z(t)||G(t)||t.nodeType===U.DOCUMENT_FRAGMENT_NODE||t.nodeType===U.COMMENT_NODE||t.nodeType===U.PROCESSING_INSTRUCTION_NODE))||G(t)&&e.nodeType!==U.DOCUMENT_NODE)throw new x(N,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}(e,t,i),e.nodeType===U.DOCUMENT_NODE&&(r||function(e,t,i){var r=e.childNodes||[],a=t.childNodes||[];
vendor: 6,520 bytes, line 1
1if(t.nodeType===U.DOCUMENT_FRAGMENT_NODE){var s=a.filter(X);if(s.length>1||n(a,z))throw new x(N,"More than one element or text in fragment");if(1===s.length&&!K(e,i))throw new x(N,"Element in fragment can not be inserted before doctype")}if(X(t)&&!K(e,i))throw new x(N,"Only one element can be added and only after doctype");if(G(t)){if(n(r,G))throw new x(N,"Only one doctype is allowed");var o=n(r,X);if(i&&r.indexOf(o)<r.indexOf(i))throw new x(N,"Doctype can only be inserted before an element");if(!i&&o)throw new x(N,"Doctype can not be appended since element is present")}})(e,t,i);var a=t.parentNode;if(a&&a.removeChild(t),t.nodeType===E){var s=t.firstChild;if(null==s)return t;var o=t.lastChild}else s=o=t;var l=i?i.previousSibling:e.lastChild;s.previousSibling=l,o.nextSibling=i,l?l.nextSibling=s:e.firstChild=s,null==i?e.lastChild=o:i.previousSibling=o;do s.parentNode=e;while(s!==o&&(s=s.nextSibling));return F(e.ownerDocument||e,e),t.nodeType==E&&(t.firstChild=t.lastChild=null),t}function Z(){this._nsMap={}}function J(){}function ee(){}function et(){}function ei(){}function er(){}function en(){}function ea(){}function es(){}function eo(){}function el(){}function eu(){}function ec(){}function ed(e,t){var i=[],r=9==this.nodeType&&this.documentElement||this,n=r.prefix,a=r.namespaceURI;if(a&&null==n){var n=r.lookupPrefix(a);if(null==n)var s=[{namespace:a,prefix:null}]}return em(this,i,e,t,s),i.join("")}function eh(e,t,i){var r=e.prefix||"",n=e.namespaceURI;if(!n||"xml"===r&&n===a.XML||n===a.XMLNS)return!1;for(var s=i.length;s--;){var o=i[s];if(o.prefix===r)return o.namespace!==n}return!0}function ep(e,t,i){e.push(" ",t,'="',i.replace(/[<&"]/g,B),'"')}function em(e,t,i,r,n){if(n||(n=[]),r){if(!(e=r(e)))return;if("string"==typeof e){t.push(e);return}}switch(e.nodeType){case h:var s,o=e.attributes,l=o.length,u=e.firstChild,c=e.tagName;i=a.isHTML(e.namespaceURI)||i;var d=c;if(!i&&!e.prefix&&e.namespaceURI){for(var b=0;b<o.length;b++)if("xmlns"===o.item(b).name){s=o.item(b).value;break}if(!s)for(var D=n.length-1;D>=0;D--){var S=n[D];if(""===S.prefix&&S.namespace===e.namespaceURI){s=S.namespace;break}}if(s!==e.namespaceURI)for(var D=n.length-1;D>=0;D--){var S=n[D];if(S.namespace===e.namespaceURI){S.prefix&&(d=S.prefix+":"+c);break}}}t.push("<",d);for(var A=0;A<l;A++){var N=o.item(A);"xmlns"==N.prefix?n.push({prefix:N.localName,namespace:N.value}):"xmlns"==N.nodeName&&n.push({prefix:"",namespace:N.value})}for(var A=0;A<l;A++){var N=o.item(A);if(eh(N,i,n)){var k=N.prefix||"",C=N.namespaceURI;ep(t,k?"xmlns:"+k:"xmlns",C),n.push({prefix:k,namespace:C})}em(N,t,i,r,n)}if(c===d&&eh(e,i,n)){var k=e.prefix||"",C=e.namespaceURI;ep(t,k?"xmlns:"+k:"xmlns",C),n.push({prefix:k,namespace:C})}if(u||i&&!/^(?:meta|link|img|br|hr|input)$/i.test(c)){if(t.push(">"),i&&/^script$/i.test(c))for(;u;)u.data?t.push(u.data):em(u,t,i,r,n.slice()),u=u.nextSibling;else for(;u;)em(u,t,i,r,n.slice()),u=u.nextSibling;t.push("</",d,">")}else t.push("/>");return;case w:case E:for(var u=e.firstChild;u;)em(u,t,i,r,n.slice()),u=u.nextSibling;return;case p:return ep(t,e.name,e.value);case m:return t.push(e.data.replace(/[<&]/g,B).replace(/]]>/g,"]]>"));case f:return t.push("<![CDATA[",e.data,"]]>");case v:return t.push("<!--",e.data,"-->");case T:var x=e.publicId,I=e.systemId;if(t.push("<!DOCTYPE ",e.name),x)t.push(" PUBLIC ",x),I&&"."!=I&&t.push(" ",I),t.push(">");else if(I&&"."!=I)t.push(" SYSTEM ",I,">");else{var L=e.internalSubset;L&&t.push(" [",L,"]"),t.push(">")}return;case y:return t.push("<?",e.target," ",e.data,"?>");case g:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ef(e,t,i){e[t]=i}S.INVALID_STATE_ERR=(A[11]="Invalid state",11),S.SYNTAX_ERR=(A[12]="Syntax error",12),S.INVALID_MODIFICATION_ERR=(A[13]="Invalid modification",13),S.NAMESPACE_ERR=(A[14]="Invalid namespace",14),S.INVALID_ACCESS_ERR=(A[15]="Invalid access",15),x.prototype=Error.prototype,u(S,x),I.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e,t){for(var i=[],r=0;r<this.length;r++)em(this[r],i,e,t);return i.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},L.prototype.item=function(e){return O(this),this[e]||null},c(L,I),R.prototype={length:0,item:I.prototype.item,getNamedItem:function(e){for(var t=this.length;t--;){var i=this[t];if(i.nodeName==e)return i}},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!=this._ownerElement)throw new x(C);var i=this.getNamedItem(e.nodeName);return M(this._ownerElement,this,e,i),i},setNamedItemNS:function(e){var t,i=e.ownerElement;if(i&&i!=this._ownerElement)throw new x(C);return t=this.getNamedItemNS(e.namespaceURI,e.localName),M(this._ownerElement,this,e,t),t},removeNamedItem:function(e){var t=this.getNamedItem(e);return q(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var i=this.getNamedItemNS(e,t);return q(this._ownerElement,this,i),i},getNamedItemNS:function(e,t){for(var i=this.length;i--;){var r=this[i];if(r.localName==t&&r.namespaceURI==e)return r}return null}},_.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,i){var r=new V;if(r.implementation=this,r.childNodes=new I,r.doctype=i||null,i&&r.appendChild(i),t){var n=r.createElementNS(e,t);r.appendChild(n)}return r},createDocumentType:function(e,t,i){var r=new en;return r.name=e,r.nodeName=e,r.publicId=t||"",r.systemId=i||"",r}},U.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,attributes:null,parentNode:null,childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,insertBefore:function(e,t){return Q(this,e,t)},replaceChild:function(e,t){Q(this,e,t,Y),t&&this.removeChild(t)},removeChild:function(e){return $(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return function e(t,i,r){var n=new i.constructor;for(var a in i)if(Object.prototype.hasOwnProperty.call(i,a)){var s=i[a];"object"!=typeof s&&s!=n[a]&&(n[a]=s)}switch(i.childNodes&&(n.childNodes=new I),n.ownerDocument=t,n.nodeType){case h:var o=i.attributes,l=n.attributes=new R,u=o.length;l._ownerElement=n;for(var c=0;c<u;c++)n.setAttributeNode(e(t,o.item(c),!0));break;case p:r=!0}if(r)for(var d=i.firstChild;d;)n.appendChild(e(t,d,r)),d=d.nextSibling;return n}(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;
1t&&t.nodeType==m&&e.nodeType==m?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},hasAttributes:function(){return this.attributes.length>0},lookupPrefix:function(e){for(var t=this;t;){var i=t._nsMap;if(i){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)&&i[r]===e)return r}t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var i=t._nsMap;if(i&&e in i&&Object.prototype.hasOwnProperty.call(i,e))return i[e];t=t.nodeType==p?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)}},u(d,U),u(d,U.prototype),V.prototype={nodeName:"#document",nodeType:w,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType==E){for(var i=e.firstChild;i;){var r=i.nextSibling;this.insertBefore(i,t),i=r}return e}return Q(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===h&&(this.documentElement=e),e},removeChild:function(e){return this.documentElement==e&&(this.documentElement=null),$(this,e)},replaceChild:function(e,t){Q(this,e,t,Y),e.ownerDocument=this,t&&this.removeChild(t),X(e)&&(this.documentElement=e)},importNode:function(e,t){return function e(t,i,r){var n;switch(i.nodeType){case h:(n=i.cloneNode(!1)).ownerDocument=t;case E:break;case p:r=!0}if(n||(n=i.cloneNode(!1)),n.ownerDocument=t,n.parentNode=null,r)for(var a=i.firstChild;a;)n.appendChild(e(t,a,r)),a=a.nextSibling;return n}(this,e,t)},getElementById:function(e){var t=null;return H(this.documentElement,function(i){if(i.nodeType==h&&i.getAttribute("id")==e)return t=i,!0}),t},getElementsByClassName:function(e){var t=l(e);return new L(this,function(i){var r=[];return t.length>0&&H(i.documentElement,function(n){if(n!==i&&n.nodeType===h){var a=n.getAttribute("class");if(a){var s=e===a;if(!s){var o=l(a);s=t.every(function(e){return o&&-1!==o.indexOf(e)})}s&&r.push(n)}}}),r})},createElement:function(e){var t=new Z;return t.ownerDocument=this,t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new I,(t.attributes=new R)._ownerElement=t,t},createDocumentFragment:function(){var e=new el;return e.ownerDocument=this,e.childNodes=new I,e},createTextNode:function(e){var t=new et;return t.ownerDocument=this,t.appendData(e),t},createComment:function(e){var t=new ei;return t.ownerDocument=this,t.appendData(e),t},createCDATASection:function(e){var t=new er;return t.ownerDocument=this,t.appendData(e),t},createProcessingInstruction:function(e,t){var i=new eu;return i.ownerDocument=this,i.tagName=i.nodeName=i.target=e,i.nodeValue=i.data=t,i},createAttribute:function(e){var t=new J;return t.ownerDocument=this,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){var t=new eo;return t.ownerDocument=this,t.nodeName=e,t},createElementNS:function(e,t){var i=new Z,r=t.split(":"),n=i.attributes=new R;return i.childNodes=new I,i.ownerDocument=this,i.nodeName=t,i.tagName=t,i.namespaceURI=e,2==r.length?(i.prefix=r[0],i.localName=r[1]):i.localName=t,n._ownerElement=i,i},createAttributeNS:function(e,t){var i=new J,r=t.split(":");return i.ownerDocument=this,i.nodeName=t,i.name=t,i.namespaceURI=e,i.specified=!0,2==r.length?(i.prefix=r[0],i.localName=r[1]):i.localName=t,i}},c(V,U),Z.prototype={nodeType:h,hasAttribute:function(e){return null!=this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t&&t.value||""},getAttributeNode:function(e){return this.attributes.getNamedItem(e)},setAttribute:function(e,t){var i=this.ownerDocument.createAttribute(e);i.value=i.nodeValue=""+t,this.setAttributeNode(i)},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},appendChild:function(e){return e.nodeType===E?this.insertBefore(e,null):(e.parentNode&&e.parentNode.removeChild(e),e.parentNode=this,e.previousSibling=this.lastChild,e.nextSibling=null,e.previousSibling?e.previousSibling.nextSibling=e:this.firstChild=e,this.lastChild=e,F(this.ownerDocument,this,e),e)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var i=this.getAttributeNodeNS(e,t);i&&this.removeAttributeNode(i)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var i=this.getAttributeNodeNS(e,t);return i&&i.value||""},setAttributeNS:function(e,t,i){var r=this.ownerDocument.createAttributeNS(e,t);r.value=r.nodeValue=""+i,this.setAttributeNode(r)},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByTagName:function(e){return new L(this,function(t){var i=[];return H(t,function(r){r!==t&&r.nodeType==h&&("*"===e||r.tagName==e)&&i.push(r)}),i})},getElementsByTagNameNS:function(e,t){return new L(this,function(i){var r=[];return H(i,function(n){n!==i&&n.nodeType===h&&("*"===e||n.namespaceURI===e)&&("*"===t||n.localName==t)&&r.push(n)}),r})}},V.prototype.getElementsByTagName=Z.prototype.getElementsByTagName,V.prototype.getElementsByTagNameNS=Z.prototype.getElementsByTagNameNS,c(Z,U),J.prototype.nodeType=p,c(J,U),ee.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},appendChild:function(e){throw Error(A[N])},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,i){i=this.data.substring(0,e)+i+this.data.substring(e+t),this.nodeValue=this.data=i,this.length=i.length}},c(ee,U),et.prototype={nodeName:"#text",nodeType:m,splitText:function(e){var t=this.data,i=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(i);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},c(et,ee),ei.prototype={nodeName:"#comment",nodeType:v},c(ei,ee),er.prototype={nodeName:"#cdata-section",nodeType:f},c(er,ee),en.prototype.nodeType=T,c(en,U),ea.prototype.nodeType=D,c(ea,U),es.prototype.nodeType=b,c(es,U),eo.prototype.nodeType=g,c(eo,U),el.prototype.nodeName="#document-fragment",el.prototype.nodeType=E,c(el,U),eu.prototype.nodeType=y,c(eu,U),ec.prototype.serializeToString=function(e,t,i){return ed.call(e,t,i)},U.prototype.toString=ed;try{Object.defineProperty&&(Object.defineProperty(L.prototype,"length",{get:function(){return O(this),this.$$length}}),Object.defineProperty(U.prototype,"textContent",{get:function(){return function e(t){switch(t.nodeType){case h:case E:var i=[];for(t=t.firstChild;t;)7!==t.nodeType&&8!==t.nodeType&&i.push(e(t)),t=t.nextSibling;return i.join("");default:return t.nodeValue}}(this)},set:function(e){switch(this.nodeType){case h:case E:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),ef=function(e,t,i){e["$$"+t]=i})}catch(e){}t.DocumentType=en,t.DOMException=x,t.DOMImplementation=_,t.Element=Z,t.No
1de=U,t.NodeList=I,t.XMLSerializer=ec},11670:function(e,t,i){"use strict";var r=i(455).freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({Aacute:"\xc1",aacute:"\xe1",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"\xc2",acirc:"\xe2",acute:"\xb4",Acy:"Ð",acy:"а",AElig:"\xc6",aelig:"\xe6",af:"â¡",Afr:"\uD835\uDD04",afr:"\uD835\uDD1E",Agrave:"\xc0",agrave:"\xe0",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"\xc5",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"\uD835\uDD38",aopf:"\uD835\uDD52",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"\xc5",aring:"\xe5",Ascr:"\uD835\uDC9C",ascr:"\uD835\uDCB6",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"\xc3",atilde:"\xe3",Auml:"\xc4",auml:"\xe4",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",Barwed:"â",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",Bcy:"Ð",bcy:"б",bdquo:"â",becaus:"âµ",Because:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",Beta:"Î",beta:"β",beth:"â¶",between:"â¬",Bfr:"\uD835\uDD05",bfr:"\uD835\uDD1F",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bNot:"â«",bnot:"â",Bopf:"\uD835\uDD39",bopf:"\uD835\uDD53",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxDL:"â",boxDl:"â",boxdL:"â",boxdl:"â",boxDR:"â",boxDr:"â",boxdR:"â",boxdr:"â",boxH:"â",boxh:"â",boxHD:"â¦",boxHd:"â¤",boxhD:"â¥",boxhd:"â¬",boxHU:"â©",boxHu:"â§",boxhU:"â¨",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxUL:"â",boxUl:"â",boxuL:"â",boxul:"â",boxUR:"â",boxUr:"â",boxuR:"â",boxur:"â",boxV:"â",boxv:"â",boxVH:"â¬",boxVh:"â«",boxvH:"âª",boxvh:"â¼",boxVL:"â£",boxVl:"â¢",boxvL:"â¡",boxvl:"â¤",boxVR:"â ",boxVr:"â",boxvR:"â",boxvr:"â",bprime:"âµ",Breve:"Ë",breve:"Ë",brvbar:"\xa6",Bscr:"â¬",bscr:"\uD835\uDCB7",bsemi:"â",bsim:"â½",b
1sime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",Bumpeq:"â",bumpeq:"â",Cacute:"Ä",cacute:"Ä",Cap:"â",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",Ccaron:"Ä",ccaron:"Ä",Ccedil:"\xc7",ccedil:"\xe7",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",CenterDot:"\xb7",centerdot:"\xb7",Cfr:"â",cfr:"\uD835\uDD20",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"\xae",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cirE:"â§",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",Colon:"â·",colon:":",Colone:"â©´",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",Conint:"â¯",conint:"â®",ContourIntegral:"â®",Copf:"â",copf:"\uD835\uDD54",coprod:"â",Coproduct:"â",COPY:"\xa9",copy:"\xa9",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"\uD835\uDC9E",cscr:"\uD835\uDCB8",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",Cup:"â",cup:"âª",cupbrcap:"â©",CupCap:"â",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"\xa4",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",Dagger:"â¡",dagger:"â ",daleth:"â¸",Darr:"â¡",dArr:"â",darr:"â",dash:"â",Dashv:"⫤",dashv:"â£",dbkarow:"â¤",dblac:"Ë",Dcaron:"Ä",dcaron:"Ä",Dcy:"Ð",dcy:"д",DD:"â
",dd:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"\xb0",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"\uD835\uDD07",dfr:"\uD835\uDD21",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"\xb4",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"\xa8",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"\xf7",divide:"\xf7",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"\uD835\uDD3B",dopf:"\uD835\uDD55",Dot:"\xa8",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"\xa8",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",Downarrow:"â",downarrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",Dscr:"\uD835\uDC9F",dscr:"\uD835\uDCB9",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"\xc9",eacute:"\xe9",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"\xca",ecirc:"\xea",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"\uD835\uDD08",efr:"\uD835\uDD22",eg:"âª",Egrave:"\xc8",egrave:"\xe8",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"\uD835\uDD3C",eopf:"\uD835\uDD56",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",Epsilon:"Î",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",Escr:"â°",escr:"â¯",esdot:"â",Esim:"⩳",esim:"â",Eta:"Î",eta:"η",ETH:"\xd0",eth:"\xf0",Euml:"\xcb",euml:"\xeb",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"\uD835\uDD09",ffr:"\uD835\uDD23",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"\uD835\uDD3D",fopf:"\uD835\uDD57",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"\xbd",frac13:"â
",frac14:"\xbc",frac15:"â
",frac16:"â
",frac18
1:"â
",frac23:"â
",frac25:"â
",frac34:"\xbe",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"\uD835\uDCBB",gacute:"ǵ",Gamma:"Î",gamma:"γ",Gammad:"Ï",gammad:"Ï",gap:"âª",Gbreve:"Ä",gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",gcirc:"Ä",Gcy:"Ð",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",gE:"â§",ge:"â¥",gEl:"âª",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",Gfr:"\uD835\uDD0A",gfr:"\uD835\uDD24",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"\uD835\uDD3E",gopf:"\uD835\uDD58",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"\uD835\uDCA2",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"\xbd",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",Hfr:"â",hfr:"\uD835\uDD25",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",Hopf:"â",hopf:"\uD835\uDD59",horbar:"â",HorizontalLine:"â",Hscr:"â",hscr:"\uD835\uDCBD",hslash:"â",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",Iacute:"\xcd",iacute:"\xed",ic:"â£",Icirc:"\xce",icirc:"\xee",Icy:"Ð",icy:"и",Idot:"İ",IEcy:"Ð",iecy:"е",iexcl:"\xa1",iff:"â",Ifr:"â",ifr:"\uD835\uDD26",Igrave:"\xcc",igrave:"\xec",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",IJlig:"IJ",ijlig:"ij",Im:"â",Imacr:"Ī",imacr:"Ä«",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",Int:"â¬",int:"â«",intcal:"âº",integers:"â¤",Integral:"â«",intercal:"âº",Intersection:"â",intlarhk:"â¨",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ",Iogon:"Ä®",iogon:"į",Iopf:"\uD835\uDD40",iopf:"\uD835\uDD5A",Iota:"Î",iota:"ι",iprod:"⨼",iquest:"\xbf",Iscr:"â",iscr:"\uD835\uDCBE",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"Ð",iukcy:"Ñ",Iuml:"\xcf",iuml:"\xef",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Ð",jcy:"й",Jfr:"\uD835\uDD0D",jfr:"\uD835\uDD27",jmath:"È·",Jopf:"\uD835\uDD41",jopf:"\uD835\uDD5B",Jscr:"\uD835\uDCA5",jscr:"\uD835\uDCBF",Jsercy:"Ð",jsercy:"Ñ",Jukcy:"Ð",jukcy:"Ñ",Kappa:"Î",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"Ð",kcy:"к",Kfr:"\uD835\uDD0E",kfr:"\uD835\uDD28",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ
",KJcy:"Ð",kjcy:"Ñ",Kopf:"\uD835\uDD42",kopf:"\uD835\uDD5C",Kscr:"\uD835\uDCA6",kscr:"\uD835\uDCC0",lAarr:"â",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â",Lambda:"Î",lambda:"λ",Lang:"âª",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"\xab",Larr:"â",lArr:"â",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",lAtail:"â¤",latail:"â¤",late:"âª",lates:"âªï¸",lBarr:"â¤",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"â",lcub:"{",Lcy:"Ð",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",lE:"â¦",le:"â¤",LeftAngleBracket:"â¨",LeftArrow:"â",Leftarrow:"â",leftarrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",LeftRightArrow:"â",Leftrightarrow:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",lEg:"âª",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â
1",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",Lfr:"\uD835\uDD0F",lfr:"\uD835\uDD29",lg:"â¶",lgE:"âª",lHar:"⥢",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",LJcy:"Ð",ljcy:"Ñ",Ll:"â",ll:"âª",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",Lmidot:"Ä¿",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnap:"âª",lnapprox:"âª",lnE:"â¨",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",LongLeftArrow:"âµ",Longleftarrow:"â¸",longleftarrow:"âµ",LongLeftRightArrow:"â·",Longleftrightarrow:"âº",longleftrightarrow:"â·",longmapsto:"â¼",LongRightArrow:"â¶",Longrightarrow:"â¹",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",Lopf:"\uD835\uDD43",lopf:"\uD835\uDD5D",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",Lscr:"â",lscr:"\uD835\uDCC1",Lsh:"â°",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",Lstrok:"Å",lstrok:"Å",Lt:"âª",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltri:"â",ltrie:"â´",ltrif:"â",ltrPar:"â¦",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",macr:"\xaf",male:"â",malt:"â ",maltese:"â ",Map:"â¤
",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",Mcy:"Ð",mcy:"м",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",Mfr:"\uD835\uDD10",mfr:"\uD835\uDD2A",mho:"â§",micro:"\xb5",mid:"â£",midast:"*",midcir:"â«°",middot:"\xb7",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",Mopf:"\uD835\uDD44",mopf:"\uD835\uDD5E",mp:"â",Mscr:"â³",mscr:"\uD835\uDCC2",mstpos:"â¾",Mu:"Î",mu:"μ",multimap:"â¸",mumap:"â¸",nabla:"â",Nacute:"Å",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:"\xa0",nbump:"â̸",nbumpe:"â̸",ncap:"â©",Ncaron:"Å",ncaron:"Å",Ncedil:"Å
",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",Ncy:"Ð",ncy:"н",ndash:"â",ne:"â ",nearhk:"⤤",neArr:"â",nearr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:"\n",nexist:"â",nexists:"â",Nfr:"\uD835\uDD11",nfr:"\uD835\uDD2B",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"â̸",ngsim:"âµ",nGt:"â«â",ngt:"â¯",ngtr:"â¯",nGtv:"â«Ì¸",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",NJcy:"Ð",njcy:"Ñ",nlArr:"â",nlarr:"â",nldr:"â¥",nlE:"â¦Ì¸",nle:"â°",nLeftarrow:"â",nleftarrow:"â",nLeftrightarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nLl:"â̸",nlsim:"â´",nLt:"âªâ",nlt:"â®",nltri:"âª",nltrie:"â¬",nLtv:"âªÌ¸",nmid:"â¤",NoBreak:"â ",NonBreakingSpace:"\xa0",Nopf:"â",nopf:"\uD835\uDD5F",Not:"⫬",not:"\xac",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",notin:"â",notindot:"âµÌ¸",notinE:"â¹Ì¸",notinva:"â",notinvb:"â·",notinvc:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â
1 ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nRightarrow:"â",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",Nscr:"\uD835\uDCA9",nscr:"\uD835\uDCC3",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",Ntilde:"\xd1",ntilde:"\xf1",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",Nu:"Î",nu:"ν",num:"#",numero:"â",numsp:"â",nvap:"ââ",nVDash:"â¯",nVdash:"â®",nvDash:"â",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvHarr:"â¤",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwarhk:"⤣",nwArr:"â",nwarr:"â",nwarrow:"â",nwnear:"⤧",Oacute:"\xd3",oacute:"\xf3",oast:"â",ocir:"â",Ocirc:"\xd4",ocirc:"\xf4",Ocy:"Ð",ocy:"о",odash:"â",Odblac:"Å",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",OElig:"Å",oelig:"Å",ofcir:"⦿",Ofr:"\uD835\uDD12",ofr:"\uD835\uDD2C",ogon:"Ë",Ograve:"\xd2",ograve:"\xf2",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",Omacr:"Å",omacr:"Å",Omega:"Ω",omega:"Ï",Omicron:"Î",omicron:"ο",omid:"⦶",ominus:"â",Oopf:"\uD835\uDD46",oopf:"\uD835\uDD60",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"\xaa",ordm:"\xba",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"\uD835\uDCAA",oscr:"â´",Oslash:"\xd8",oslash:"\xf8",osol:"â",Otilde:"\xd5",otilde:"\xf5",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"\xd6",ouml:"\xf6",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"\xb6",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",Pcy:"Ð",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",Pfr:"\uD835\uDD13",pfr:"\uD835\uDD2D",Phi:"Φ",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",Pi:"Î ",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"\uD835\uDD61",pound:"\xa3",Pr:"⪻",pr:"âº",prap:"⪷",prcue:"â¼",prE:"⪳",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",Prime:"â³",prime:"â²",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",propto:"â",prsim:"â¾",prurel:"â°",Pscr:"\uD835\uDCAB",pscr:"\uD835\uDCC5",Psi:"Ψ",psi:"Ï",puncsp:"â",Qfr:"\uD835\uDD14",qfr:"\uD835\uDD2E",qint:"â¨",Qopf:"â",qopf:"\uD835\uDD62",qprime:"â",Qscr:"\uD835\uDCAC",qscr:"\uD835\uDCC6",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",QUOT:'"',quot:'"',rAarr:"â",race:"â½Ì±",Racute:"Å",racute:"Å",radic:"â",raemptyv:"⦳",Rang:"â«",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"\xbb",Rarr:"â ",rArr:"â",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",Rarrtl:"â¤",rarrtl:"â£",rarrw:"â",rAtail:"â¤",ratail:"â¤",ratio:"â¶",rationals:"â",RBarr:"â¤",rBarr:"â¤",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",Rcaron:"Å",rcaron:"Å",Rcedil:"Å",rcedil:"Å",rceil:"â",rcub:"}",Rcy:"Ð ",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",REG:"\xae",reg:"\xae",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rf
1isht:"⥽",rfloor:"â",Rfr:"â",rfr:"\uD835\uDD2F",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"â©",RightArrow:"â",Rightarrow:"â",rightarrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",Ropf:"â",ropf:"\uD835\uDD63",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",Rscr:"â",rscr:"\uD835\uDCC7",Rsh:"â±",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",RuleDelayed:"â§´",ruluhar:"⥨",rx:"â",Sacute:"Å",sacute:"Å",sbquo:"â",Sc:"⪼",sc:"â»",scap:"⪸",Scaron:"Å ",scaron:"Å¡",sccue:"â½",scE:"⪴",sce:"⪰",Scedil:"Å",scedil:"Å",Scirc:"Å",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",Scy:"С",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",searhk:"⤥",seArr:"â",searr:"â",searrow:"â",sect:"\xa7",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",Sfr:"\uD835\uDD16",sfr:"\uD835\uDD30",sfrown:"â¢",sharp:"â¯",SHCHcy:"Щ",shchcy:"Ñ",SHcy:"Ш",shcy:"Ñ",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"\xad",Sigma:"Σ",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",SmallCircle:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",SOFTcy:"Ь",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",Sopf:"\uD835\uDD4A",sopf:"\uD835\uDD64",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",Square:"â¡",square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",squf:"âª",srarr:"â",Sscr:"\uD835\uDCAE",sscr:"\uD835\uDCC8",ssetmn:"â",ssmile:"â£",sstarf:"â",Star:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"\xaf",Sub:"â",sub:"â",subdot:"⪽",subE:"â«
",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",Subset:"â",subset:"â",subseteq:"â",subseteqq:"â«
",SubsetEqual:"â",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",Sum:"â",sum:"â",sung:"âª",Sup:"â",sup:"â",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"â«",supE:"â«",supe:"â",supedot:"â«",Superset:"â",SupersetEqual:"â",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",Supset:"â",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swarhk:"⤦",swArr:"â",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"\uD835\uDD17",tfr:"\uD835\uDD31",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickS
1pace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"\xde",thorn:"\xfe",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"\xd7",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",Topf:"\uD835\uDD4B",topf:"\uD835\uDD65",topfork:"â«",tosa:"⤩",tprime:"â´",TRADE:"â¢",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"\uD835\uDCAF",tscr:"\uD835\uDCC9",TScy:"Ц",tscy:"Ñ",TSHcy:"Ð",tshcy:"Ñ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",Uacute:"\xda",uacute:"\xfa",Uarr:"â",uArr:"â",uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",ubrcy:"Ñ",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"\xdb",ucirc:"\xfb",Ucy:"У",ucy:"Ñ",udarr:"â
",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"\uD835\uDD18",ufr:"\uD835\uDD32",Ugrave:"\xd9",ugrave:"\xf9",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",Umacr:"Ū",umacr:"Å«",uml:"\xa8",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",uogon:"ų",Uopf:"\uD835\uDD4C",uopf:"\uD835\uDD66",UpArrow:"â",Uparrow:"â",uparrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",Updownarrow:"â",updownarrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",upsi:"Ï
",upsih:"Ï",Upsilon:"Î¥",upsilon:"Ï
",UpTee:"â¥",UpTeeArrow:"â¥",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",Uring:"Å®",uring:"ů",urtri:"â¹",Uscr:"\uD835\uDCB0",uscr:"\uD835\uDCCA",utdot:"â°",Utilde:"Ũ",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",Uuml:"\xdc",uuml:"\xfc",uwangle:"⦧",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",vArr:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",Vbar:"â««",vBar:"⫨",vBarv:"â«©",Vcy:"Ð",vcy:"в",VDash:"â«",Vdash:"â©",vDash:"â¨",vdash:"â¢",Vdashl:"⫦",Vee:"â",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",Verbar:"â",verbar:"|",Vert:"â",vert:"|",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"\uD835\uDD19",vfr:"\uD835\uDD33",vltri:"â²",vnsub:"ââ",vnsup:"ââ",Vopf:"\uD835\uDD4D",vopf:"\uD835\uDD67",vprop:"â",vrtri:"â³",Vscr:"\uD835\uDCB1",vscr:"\uD835\uDCCB",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",Vvdash:"âª",vzigzag:"â¦",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©",Wedge:"â",wedge:"â§",wedgeq:"â",weierp:"â",Wfr:"\uD835\uDD1A",wfr:"\uD835\uDD34",Wopf:"\uD835\uDD4E",wopf:"\uD835\uDD68",wp:"â",wr:"â",wreath:"â",Wscr:"\uD835\uDCB2",wscr:"\uD835\uDCCC",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",Xfr:"\uD835\uDD1B",xfr:"\uD835\uDD35",xhArr:"âº",xharr:"â·",Xi:"Î",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",Xopf:"\uD835\uDD4F",xopf:"\uD835\uDD69",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",Xscr:"\uD835\uDCB3",xscr:"\uD835\uDCCD",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",Yacute:"\xdd",yacute:"\xfd",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ",yen:"\xa5",Yfr:"\uD835\uDD1C",yfr:"\uD835\uDD36",YIcy:"Ð",yicy:"Ñ",Yopf:"\uD835\uDD50",yopf:"\uD835\uDD6A",Yscr:"\uD835\uDCB4",yscr:"\uD835\uDCCE",YUcy:"Ю",yucy:"Ñ",Yuml:"Ÿ",yuml:"\xff",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"Ð",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"â¨",ZeroWidthSpace:"â",Zeta:"Î",zeta:"ζ",Zfr:"â¨",zfr:"\uD835\uDD37",ZHcy:"Ð",zhcy:"ж",zigrarr:"â",Zopf:"â¤",zopf:"\uD835\uDD6B",Zscr:"\uD835\uDCB5",zscr:"\uD835\uDCCF",zwj:"â",zwnj:"â"}),t.entityMap=t.HTML_ENTITIES},2974:function(e,t,i){var r=i(73359);r.DOMImplementation,r.XMLSerializer,t.DOMParser=i(52547).DOMParser}
1,38357:function(e,t,i){var r=i(455).NAMESPACE,n=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,a=RegExp("[\\-\\.0-9"+n.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),s=RegExp("^"+n.source+a.source+"*(?::"+n.source+a.source+"*)?$");function o(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,o)}function l(){}function u(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function c(e,t,i){for(var n=e.tagName,a=null,s=e.length;s--;){var o=e[s],l=o.qName,u=o.value,c=l.indexOf(":");if(c>0)var h=o.prefix=l.slice(0,c),p=l.slice(c+1),m="xmlns"===h&&p;else p=l,h=null,m="xmlns"===l&&"";o.localName=p,!1!==m&&(null==a&&(a={},d(i,i={})),i[m]=a[m]=u,o.uri=r.XMLNS,t.startPrefixMapping(m,u))}for(var s=e.length;s--;){var h=(o=e[s]).prefix;h&&("xml"===h&&(o.uri=r.XML),"xmlns"!==h&&(o.uri=i[h||""]))}var c=n.indexOf(":");c>0?(h=e.prefix=n.slice(0,c),p=e.localName=n.slice(c+1)):(h=null,p=e.localName=n);var f=e.uri=i[h||""];if(t.startElement(f,p,n,e),!e.closed)return e.currentNSMap=i,e.localNSMap=a,!0;if(t.endElement(f,p,n),a)for(h in a)Object.prototype.hasOwnProperty.call(a,h)&&t.endPrefixMapping(h)}function d(e,t){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}function h(){this.attributeNames={}}o.prototype=Error(),o.prototype.name=o.name,l.prototype={parse:function(e,t,i){var n=this.domBuilder;n.startDocument(),d(t,t={}),function(e,t,i,n,a){function s(e){var t,r=e.slice(1,-1);return r in i?i[r]:"#"!==r.charAt(0)?(a.error("entity not found:"+e),e):(t=parseInt(r.substr(1).replace("x","0x")))>65535?String.fromCharCode(55296+((t-=65536)>>10),56320+(1023&t)):String.fromCharCode(t)}function l(t){if(t>v){var i=e.substring(v,t).replace(/&#?\w+;/g,s);g&&d(v),n.characters(i,0,t-v),v=t}}function d(t,i){for(;t>=m&&(i=f.exec(e));)m=(p=i.index)+i[0].length,g.lineNumber++;g.columnNumber=t-p+1}for(var p=0,m=0,f=/.*(?:\r\n?|\n)|.*$/g,g=n.locator,b=[{currentNSMap:t}],y={},v=0;;){try{var w=e.indexOf("<",v);if(w<0){if(!e.substr(v).match(/^\s*$/)){var T=n.doc,E=T.createTextNode(e.substr(v));T.appendChild(E),n.currentElement=E}return}switch(w>v&&l(w),e.charAt(w+1)){case"/":var D=e.indexOf(">",w+3),S=e.substring(w+2,D).replace(/[ \t\n\r]+$/g,""),A=b.pop();D<0?(S=e.substring(w+2).replace(/[\s<].*/,""),a.error("end tag name: "+S+" is not complete:"+A.tagName),D=w+1+S.length):S.match(/\s</)&&(S=S.replace(/[\s<].*/,""),a.error("end tag name: "+S+" maybe not complete"),D=w+1+S.length);var N=A.localNSMap,k=A.tagName==S;if(k||A.tagName&&A.tagName.toLowerCase()==S.toLowerCase()){if(n.endElement(A.uri,A.localName,S),N)for(var C in N)Object.prototype.hasOwnProperty.call(N,C)&&n.endPrefixMapping(C);k||a.fatalError("end tag name: "+S+" is not match the current start tagName:"+A.tagName)}else b.push(A);D++;break;case"?":g&&d(w),D=function(e,t,i){var r=e.indexOf("?>",t);if(r){var n=e.substring(t,r).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);if(n)return n[0].length,i.processingInstruction(n[1],n[2]),r+2}return -1}(e,w,n);break;case"!":g&&d(w),D=function(e,t,i,r){if("-"===e.charAt(t+2)){if("-"===e.charAt(t+3)){var n=e.indexOf("-->",t+4);if(n>t)return i.comment(e,t+4,n-t-4),n+3;r.error("Unclosed comment")}}else{if("CDATA["==e.substr(t+3,6)){var n=e.indexOf("]]>",t+9);return i.startCDATA(),i.characters(e,t+9,n-t-9),i.endCDATA(),n+3}var a=function(e,t){var i,r=[],n=/'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;for(n.lastIndex=t,n.exec(e);i=n.exec(e);)if(r.push(i),i[1])return r}(e,t),s=a.length;if(s>1&&/!doctype/i.test(a[0][0])){var o=a[1][0],l=!1,u=!1;s>3&&(/^public$/i.test(a[2][0])?(l=a[3][0],u=s>4&&a[4][0]):/^system$/i.test(a[2][0])&&(u=a[3][0]));var c=a[s-1];return i.startDTD(o,l,u),i.endDTD(),c.index+c[0].length}}return -1}(e,w,n,a);break;default:g&&d(w);var x=new h,I=b[b.length-1].currentNSMap,D=function(e,t,i,n,a,s){function o(e,t,r){i.attributeNames.hasOwnProperty(e)&&s.fatalError("Attribute "+e+" redefined"),i.addValue(e,t,r)}for(var l,u,c=++t,d=0;;){var h=e.charAt(c);switch(h){case"=":if(1===d)l=e.slice(t,c),d=3;else if(2===d)d=3;else throw Error("attribute equal must after attrName");break;case"'":case'"':if(3===d||1===d){if(1===d&&(s.warning('attribute value must after "="'),l=e.slice(t,c)),t=c+1,(c=e.indexOf(h,t))>0)o(l,u=e.slice(t,c).replace(/&#?\w+;/g,a),t-1),d=5;else throw Error("attribute value no end '"+h+"' match")}else if(4==d)o(l,u=e.slice(t,c).replace(/&#?\w+;/g,a),t),s.warning('attribute "'+l+'" missed start quot('+h+")!!"),t=c+1,d=5;else throw Error('attribute value must after "="');break;case"/":switch(d){case 0:i.setTagName(e.slice(t,c));
1case 5:case 6:case 7:d=7,i.closed=!0;case 4:case 1:break;case 2:i.closed=!0;break;default:throw Error("attribute invalid close char('/')")}break;case"":return s.error("unexpected end of input"),0==d&&i.setTagName(e.slice(t,c)),c;case">":switch(d){case 0:i.setTagName(e.slice(t,c));case 5:case 6:case 7:break;case 4:case 1:"/"===(u=e.slice(t,c)).slice(-1)&&(i.closed=!0,u=u.slice(0,-1));case 2:2===d&&(u=l),4==d?(s.warning('attribute "'+u+'" missed quot(")!'),o(l,u.replace(/&#?\w+;/g,a),t)):(r.isHTML(n[""])&&u.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+u+'" missed value!! "'+u+'" instead!!'),o(u,u,t));break;case 3:throw Error("attribute value missed!!")}return c;case"\x80":h=" ";default:if(h<=" ")switch(d){case 0:i.setTagName(e.slice(t,c)),d=6;break;case 1:l=e.slice(t,c),d=2;break;case 4:var u=e.slice(t,c).replace(/&#?\w+;/g,a);s.warning('attribute "'+u+'" missed quot(")!!'),o(l,u,t);case 5:d=6}else switch(d){case 2:i.tagName,r.isHTML(n[""])&&l.match(/^(?:disabled|checked|selected)$/i)||s.warning('attribute "'+l+'" missed value!! "'+l+'" instead2!!'),o(l,l,t),t=c,d=1;break;case 5:s.warning('attribute space is required"'+l+'"!!');case 6:d=1,t=c;break;case 3:d=4,t=c;break;case 7:throw Error("elements closed character '/' and '>' must be connected to")}}c++}}(e,w,x,I,s,a),L=x.length;if(!x.closed&&function(e,t,i,r){var n=r[i];return null==n&&((n=e.lastIndexOf("</"+i+">"))<t&&(n=e.lastIndexOf("</"+i)),r[i]=n),n<t}(e,D,x.tagName,y)&&(x.closed=!0,i.nbsp||a.warning("unclosed xml attribute")),g&&L){for(var O=u(g,{}),R=0;R<L;R++){var P=x[R];d(P.offset),P.locator=u(g,{})}n.locator=O,c(x,n,I)&&b.push(x),n.locator=g}else c(x,n,I)&&b.push(x);r.isHTML(x.uri)&&!x.closed?D=function(e,t,i,r,n){if(/^(?:script|textarea)$/i.test(i)){var a=e.indexOf("</"+i+">",t),s=e.substring(t+1,a);if(/[&<]/.test(s))return/^script$/i.test(i)||(s=s.replace(/&#?\w+;/g,r)),n.characters(s,0,s.length),a}return t+1}(e,D,x.tagName,s,n):D++}}catch(e){if(e instanceof o)throw e;a.error("element parse error: "+e),D=-1}D>v?v=D:l(Math.max(w,v)+1)}}(e,t,i,n,this.errorHandler),n.endDocument()}},h.prototype={setTagName:function(e){if(!s.test(e))throw Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,t,i){if(!s.test(e))throw Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:t,offset:i}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},t.XMLReader=l,t.ParseError=o},42492:function(e,t,i){var r,n=void 0!==i.g?i.g:"undefined"!=typeof window?window:{},a=i(25893);"undefined"!=typeof document?r=document:(r=n["__GLOBAL_DOCUMENT_CACHE@4"])||(r=n["__GLOBAL_DOCUMENT_CACHE@4"]=a),e.exports=r},36655:function(e,t,i){var r;"undefined"!=typeof window?r=window:void 0!==i.g?r=i.g:"undefined"!=typeof self?r=self:r={},e.exports=r},52492:function(e){e.exports=function(e){if(!e)return!1;var i=t.call(e);return"[object Function]"===i||"function"==typeof e&&"[object RegExp]"!==i||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var t=Object.prototype.toString},72902:function(e,t){function i(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return s[e];var i=String(e),a=r[i.toLowerCase()];if(a)return a;var a=n[i.toLowerCase()];return a||(1===i.length?i.charCodeAt(0):void 0)}i.isEventKey=function(e,t){if(e&&"object"==typeof e){var i=e.which||e.keyCode||e.charCode;if(null==i)return!1;if("string"==typeof t){var a=r[t.toLowerCase()];if(a)return a===i;var a=n[t.toLowerCase()];if(a)return a===i}else if("number"==typeof t)return t===i;return!1}};var r=(t=e.exports=i).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},n=t.aliases={windows:91,"â§":16,"â¥":18,"â":17,"â":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)r[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)r[a-48]=a;for(a=1;a<13;a++)r["f"+a]=a+111;for(a=0;a<10;a++)r["numpad "+a]=a+96;var s=t.names=t.title={};for(a in r)s[r[a]]=a;for(var o in n)r[o]=n[o]},54870:function(e,t,i){"use strict";i.d(t,{_b:function(){return m}});var r=i(33707),n=function(){function e(){this.listeners={}}var t=e.prototype;return t.on=function(e,t){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push(t)},t.off=function(e,t){if(!this.listeners[e])return!1;var i=this.listeners[e].indexOf(t);return this.listeners[e]=this.listeners[e].slice(0),this.listeners[e].splice(i,1),i>-1},t.trigger=function(e){var t=this.listeners[e];if(t){if(2==arguments.length)for(var i=t.length,r=0;r<i;++r)t[r].call(this,arguments[1]);
1else for(var n=Array.prototype.slice.call(arguments,1),a=t.length,s=0;s<a;++s)t[s].apply(this,n)}},t.dispose=function(){this.listeners={}},t.pipe=function(e){this.on("data",function(t){e.push(t)})},e}(),a=i(1119),s=i(63496),o=i(49745),l=function(e){function t(){var t;return(t=e.call(this)||this).buffer="",t}return(0,r.Z)(t,e),t.prototype.push=function(e){var t;for(this.buffer+=e,t=this.buffer.indexOf("\n");t>-1;t=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,t)),this.buffer=this.buffer.substring(t+1)},t}(n),u=function(e){var t=/([0-9.]*)?@?([0-9.]*)?/.exec(e||""),i={};return t[1]&&(i.length=parseInt(t[1],10)),t[2]&&(i.offset=parseInt(t[2],10)),i},c=function(e){for(var t,i=e.split(RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),r={},n=i.length;n--;)""!==i[n]&&((t=/([^=]*)=(.*)/.exec(i[n]).slice(1))[0]=t[0].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^\s+|\s+$/g,""),t[1]=t[1].replace(/^['"](.*)['"]$/g,"$1"),r[t[0]]=t[1]);return r},d=function(e){function t(){var t;return(t=e.call(this)||this).customParsers=[],t.tagMappers=[],t}(0,r.Z)(t,e);var i=t.prototype;return i.push=function(e){var t,i,r=this;if(0!==(e=e.trim()).length){if("#"!==e[0]){this.trigger("data",{type:"uri",uri:e});return}this.tagMappers.reduce(function(t,i){var r=i(e);return r===e?t:t.concat([r])},[e]).forEach(function(e){for(var n=0;n<r.customParsers.length;n++)if(r.customParsers[n].call(r,e))return;if(0!==e.indexOf("#EXT")){r.trigger("data",{type:"comment",text:e.slice(1)});return}if(e=e.replace("\r",""),t=/^#EXTM3U/.exec(e)){r.trigger("data",{type:"tag",tagType:"m3u"});return}if(t=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(e)){i={type:"tag",tagType:"inf"},t[1]&&(i.duration=parseFloat(t[1])),t[2]&&(i.title=t[2]),r.trigger("data",i);return}if(t=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(e)){i={type:"tag",tagType:"targetduration"},t[1]&&(i.duration=parseInt(t[1],10)),r.trigger("data",i);return}if(t=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(e)){i={type:"tag",tagType:"version"},t[1]&&(i.version=parseInt(t[1],10)),r.trigger("data",i);return}if(t=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(e)){i={type:"tag",tagType:"media-sequence"},t[1]&&(i.number=parseInt(t[1],10)),r.trigger("data",i);return}if(t=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(e)){i={type:"tag",tagType:"discontinuity-sequence"},t[1]&&(i.number=parseInt(t[1],10)),r.trigger("data",i);return}if(t=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(e)){i={type:"tag",tagType:"playlist-type"},t[1]&&(i.playlistType=t[1]),r.trigger("data",i);return}if(t=/^#EXT-X-BYTERANGE:?(.*)?$/.exec(e)){i=(0,a.Z)(u(t[1]),{type:"tag",tagType:"byterange"}),r.trigger("data",i);return}if(t=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(e)){i={type:"tag",tagType:"allow-cache"},t[1]&&(i.allowed=!/NO/.test(t[1])),r.trigger("data",i);return}if(t=/^#EXT-X-MAP:?(.*)$/.exec(e)){if(i={type:"tag",tagType:"map"},t[1]){var s=c(t[1]);s.URI&&(i.uri=s.URI),s.BYTERANGE&&(i.byterange=u(s.BYTERANGE))}r.trigger("data",i);return}if(t=/^#EXT-X-STREAM-INF:?(.*)$/.exec(e)){if(i={type:"tag",tagType:"stream-inf"},t[1]){if(i.attributes=c(t[1]),i.attributes.RESOLUTION){var o=i.attributes.RESOLUTION.split("x"),l={};o[0]&&(l.width=parseInt(o[0],10)),o[1]&&(l.height=parseInt(o[1],10)),i.attributes.RESOLUTION=l}i.attributes.BANDWIDTH&&(i.attributes.BANDWIDTH=parseInt(i.attributes.BANDWIDTH,10)),i.attributes["PROGRAM-ID"]&&(i.attributes["PROGRAM-ID"]=parseInt(i.attributes["PROGRAM-ID"],10))}r.trigger("data",i);return}if(t=/^#EXT-X-MEDIA:?(.*)$/.exec(e)){i={type:"tag",tagType:"media"},t[1]&&(i.attributes=c(t[1])),r.trigger("data",i);return}if(t=/^#EXT-X-ENDLIST/.exec(e)){r.trigger("data",{type:"tag",tagType:"endlist"});return}if(t=/^#EXT-X-DISCONTINUITY/.exec(e)){r.trigger("data",{type:"tag",tagType:"discontinuity"});return}if(t=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(e)){i={type:"tag",tagType:"program-date-time"},t[1]&&(i.dateTimeString=t[1],i.dateTimeObject=new Date(t[1])),r.trigger("data",i);return}if(t=/^#EXT-X-KEY:?(.*)$/.exec(e)){i={type:"tag",tagType:"key"},t[1]&&(i.attributes=c(t[1]),i.attributes.IV&&("0x"===i.attributes.IV.substring(0,2).toLowerCase()&&(i.attributes.IV=i.attributes.IV.substring(2)),i.attributes.IV=i.attributes.IV.match(/.{8}/g),i.attributes.IV[0]=parseInt(i.attributes.IV[0],16),i.attributes.IV[1]=parseInt(i.attributes.IV[1],16),i.attributes.IV[2]=parseInt(i.attributes.IV[2],16),i.attributes.IV[3]=parseInt(i.attributes.IV[3],16),i.attributes.IV=new Uint32Array(i.attributes.IV))),r.trigger("data",i);return}if(t=/^#EXT-X-START:?(.*)$/.exec(e)){i={type:"tag",tagType:"start"},t[1]&&(i.attributes=c(t[1]),i.attributes["TIME-OFFSET"]=parseFloat(i.attributes["TIME-OFFSET"]),i.attributes.PRECISE=/YES/.test(i.attributes.PRECISE)),r.trigger("data",i);return}if(t=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(e)){i={type:"tag",tagType:"cue-out-cont"},t[1]?i.data=t[1]:i.data="",r.trigger("data",i);return}if(t=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(e)){i={type:"tag",tagType:"cue-out"},t[1]?i.data=t[1]:i.data="",r.trigger("data",i);return}if(t=/^#EXT-X-CUE-IN:?(.*)?$/.exec(e)){i={type:"tag",tagType:"cue-in"},t[1]?i.data=t[1]:i.data="",r.trigger("data",i);return}if((t=/^#EXT-X-SKIP:(.*)$/.exec(e))&&t[1]){(i={type:"tag",tagType:"skip"}).attributes=c(t[1]),i.attributes.hasOwnProperty("SKIPPED-SEGMENTS")&&(i.attributes["SKIPPED-SEGMENTS"]=parseInt(i.attributes["SKIPPED-SEGMENTS"],10)),i.attributes.hasOwnProperty("RECENTLY-REMOVED-DATERANGES")&&(i.attributes["RECENTLY-REMOVED-DATERANGES"]=i.attributes["RECENTLY-REMOVED-DATERANGES"].split(" ")),r.trigger("data",i);return}
1if((t=/^#EXT-X-PART:(.*)$/.exec(e))&&t[1]){(i={type:"tag",tagType:"part"}).attributes=c(t[1]),["DURATION"].forEach(function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))}),["INDEPENDENT","GAP"].forEach(function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=/YES/.test(i.attributes[e]))}),i.attributes.hasOwnProperty("BYTERANGE")&&(i.attributes.byterange=u(i.attributes.BYTERANGE)),r.trigger("data",i);return}if((t=/^#EXT-X-SERVER-CONTROL:(.*)$/.exec(e))&&t[1]){(i={type:"tag",tagType:"server-control"}).attributes=c(t[1]),["CAN-SKIP-UNTIL","PART-HOLD-BACK","HOLD-BACK"].forEach(function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))}),["CAN-SKIP-DATERANGES","CAN-BLOCK-RELOAD"].forEach(function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=/YES/.test(i.attributes[e]))}),r.trigger("data",i);return}if((t=/^#EXT-X-PART-INF:(.*)$/.exec(e))&&t[1]){(i={type:"tag",tagType:"part-inf"}).attributes=c(t[1]),["PART-TARGET"].forEach(function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseFloat(i.attributes[e]))}),r.trigger("data",i);return}if((t=/^#EXT-X-PRELOAD-HINT:(.*)$/.exec(e))&&t[1]){(i={type:"tag",tagType:"preload-hint"}).attributes=c(t[1]),["BYTERANGE-START","BYTERANGE-LENGTH"].forEach(function(e){if(i.attributes.hasOwnProperty(e)){i.attributes[e]=parseInt(i.attributes[e],10);var t="BYTERANGE-LENGTH"===e?"length":"offset";i.attributes.byterange=i.attributes.byterange||{},i.attributes.byterange[t]=i.attributes[e],delete i.attributes[e]}}),r.trigger("data",i);return}if((t=/^#EXT-X-RENDITION-REPORT:(.*)$/.exec(e))&&t[1]){(i={type:"tag",tagType:"rendition-report"}).attributes=c(t[1]),["LAST-MSN","LAST-PART"].forEach(function(e){i.attributes.hasOwnProperty(e)&&(i.attributes[e]=parseInt(i.attributes[e],10))}),r.trigger("data",i);return}r.trigger("data",{type:"tag",data:e.slice(4)})})}},i.addParser=function(e){var t=this,i=e.expression,r=e.customType,n=e.dataParser,a=e.segment;"function"!=typeof n&&(n=function(e){return e}),this.customParsers.push(function(e){if(i.exec(e))return t.trigger("data",{type:"custom",data:n(e),customType:r,segment:a}),!0})},i.addTagMapper=function(e){var t=e.expression,i=e.map;this.tagMappers.push(function(e){return t.test(e)?i(e):e})},t}(n),h=function(e){var t={};return Object.keys(e).forEach(function(i){t[i.toLowerCase().replace(/-(\w)/g,function(e){return e[1].toUpperCase()})]=e[i]}),t},p=function(e){var t=e.serverControl,i=e.targetDuration,r=e.partTargetDuration;if(t){var n="#EXT-X-SERVER-CONTROL",a="holdBack",s="partHoldBack",o=i&&3*i,l=r&&2*r;i&&!t.hasOwnProperty(a)&&(t[a]=o,this.trigger("info",{message:n+" defaulting HOLD-BACK to targetDuration * 3 ("+o+")."})),o&&t[a]<o&&(this.trigger("warn",{message:n+" clamping HOLD-BACK ("+t[a]+") to targetDuration * 3 ("+o+")"}),t[a]=o),r&&!t.hasOwnProperty(s)&&(t[s]=3*r,this.trigger("info",{message:n+" defaulting PART-HOLD-BACK to partTargetDuration * 3 ("+t[s]+")."})),r&&t[s]<l&&(this.trigger("warn",{message:n+" clamping PART-HOLD-BACK ("+t[s]+") to partTargetDuration * 2 ("+l+")."}),t[s]=l)}},m=function(e){function t(){(t=e.call(this)||this).lineStream=new l,t.parseStream=new d,t.lineStream.pipe(t.parseStream);var t,i,r,n=(0,s.Z)(t),u=[],c={},m=!1,f=function(){},g={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},b=0;t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]};var y=0,v=0;return t.on("end",function(){!c.uri&&(c.parts||c.preloadHints)&&(!c.map&&i&&(c.map=i),!c.key&&r&&(c.key=r),c.timeline||"number"!=typeof b||(c.timeline=b),t.manifest.preloadSegment=c)}),t.parseStream.on("data",function(e){var t,s;({tag:function(){(({version:function(){e.version&&(this.manifest.version=e.version)},"allow-cache":function(){this.manifest.allowCache=e.allowed,"allowed"in e||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var t={};"length"in e&&(c.byterange=t,t.length=e.length,"offset"in e||(e.offset=y)),"offset"in e&&(c.byterange=t,t.offset=e.offset),y=t.offset+t.length},endlist:function(){this.manifest.endList=!0},inf:function(){"mediaSequence"in this.manifest||(this.manifest.mediaSequence=0,this.trigger("info",{message:"defaulting media sequence to zero"})),"discontinuitySequence"in this.manifest||(this.manifest.discontinuitySequence=0,this.trigger("info",{message:"defaulting discontinuity sequence to zero"})),e.duration>0&&(c.duration=e.duration),0===e.duration&&(c.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=u},key:function(){if(!e.attributes){this.trigger("warn",{message:"ignoring key declaration without attribute list"});return}if("NONE"===e.attributes.METHOD){r=null;return}if(!e.attributes.URI){this.trigger("warn",{message:"ignoring key declaration without URI"});return}if("com.apple.streamingkeydelivery"===e.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.apple.fps.1_0"]={attributes:e.attributes};return}if("com.microsoft.playready"===e.attributes.KEYFORMAT){this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.microsoft.playready"]={uri:e.attributes.URI};return}if("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed"===e.attributes.KEYFORMAT){if(-1===["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].indexOf(e.attributes.METHOD)){this.trigger("warn",{message:"invalid key method provided for Widevine"});return}if("SAMPLE-AES-CENC"===e.attributes.METHOD&&this.trigger("warn",{message:"SAMPLE-AES-CENC is deprecated, please use SAMPLE-AES-CTR instead"}),"data:text/plain;base64,"!==e.attributes.URI.substring(0,23)){this.trigger("warn",{message:"invalid key URI provided for Widevine"});return}if(!(e.attributes.KEYID&&"0x"===e.attributes.KEYID.substring(0,2))){this.trigger("warn",{message:"invalid key ID provided for Widevine"});return}this.manifest.contentProtection=this.manifest.contentProtection||{},this.manifest.contentProtection["com.widevine.alpha"]={attributes:{schemeIdUri:e.attributes.KEYFORMAT,keyId:e.attributes.KEYID.substring(2)},pssh:(0,o.Z)(e.attributes.URI.split(",")[1])};return}e.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),r={method:e.attributes.METHOD||"AES-128",uri:e.attributes.URI},void 0!==e.attributes.IV&&(r.iv=e.attributes.IV)},"media-sequence":function(){if(!isFinite(e.number)){this.trigger("warn",{message:"ignoring invalid media sequence: "+e.number});return}this.manifest.mediaSequence=e.number},"discontinuity-sequence":function(){if(!isFinite(e.number)){this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+e.number});return}this.manifest.discontinuitySequence=e.number,b=e.number},"playlist-type":function(){if(!/VOD|EVENT/.test(e.playlistType)){this.trigger("warn",{message:"ignoring unknown playlist type: "+e.playlist});return}this.manifest.playlistType=e.playlistType},map:function(){i={}
1,e.uri&&(i.uri=e.uri),e.byterange&&(i.byterange=e.byterange),r&&(i.key=r)},"stream-inf":function(){if(this.manifest.playlists=u,this.manifest.mediaGroups=this.manifest.mediaGroups||g,!e.attributes){this.trigger("warn",{message:"ignoring empty stream-inf attributes"});return}c.attributes||(c.attributes={}),(0,a.Z)(c.attributes,e.attributes)},media:function(){if(this.manifest.mediaGroups=this.manifest.mediaGroups||g,!(e.attributes&&e.attributes.TYPE&&e.attributes["GROUP-ID"]&&e.attributes.NAME)){this.trigger("warn",{message:"ignoring incomplete or missing media group"});return}var i=this.manifest.mediaGroups[e.attributes.TYPE];i[e.attributes["GROUP-ID"]]=i[e.attributes["GROUP-ID"]]||{},t=i[e.attributes["GROUP-ID"]],(s={default:/yes/i.test(e.attributes.DEFAULT)}).default?s.autoselect=!0:s.autoselect=/yes/i.test(e.attributes.AUTOSELECT),e.attributes.LANGUAGE&&(s.language=e.attributes.LANGUAGE),e.attributes.URI&&(s.uri=e.attributes.URI),e.attributes["INSTREAM-ID"]&&(s.instreamId=e.attributes["INSTREAM-ID"]),e.attributes.CHARACTERISTICS&&(s.characteristics=e.attributes.CHARACTERISTICS),e.attributes.FORCED&&(s.forced=/yes/i.test(e.attributes.FORCED)),t[e.attributes.NAME]=s},discontinuity:function(){b+=1,c.discontinuity=!0,this.manifest.discontinuityStarts.push(u.length)},"program-date-time":function(){void 0===this.manifest.dateTimeString&&(this.manifest.dateTimeString=e.dateTimeString,this.manifest.dateTimeObject=e.dateTimeObject),c.dateTimeString=e.dateTimeString,c.dateTimeObject=e.dateTimeObject},targetduration:function(){if(!isFinite(e.duration)||e.duration<0){this.trigger("warn",{message:"ignoring invalid target duration: "+e.duration});return}this.manifest.targetDuration=e.duration,p.call(this,this.manifest)},start:function(){if(!e.attributes||isNaN(e.attributes["TIME-OFFSET"])){this.trigger("warn",{message:"ignoring start declaration without appropriate attribute list"});return}this.manifest.start={timeOffset:e.attributes["TIME-OFFSET"],precise:e.attributes.PRECISE}},"cue-out":function(){c.cueOut=e.data},"cue-out-cont":function(){c.cueOutCont=e.data},"cue-in":function(){c.cueIn=e.data},skip:function(){this.manifest.skip=h(e.attributes),this.warnOnMissingAttributes_("#EXT-X-SKIP",e.attributes,["SKIPPED-SEGMENTS"])},part:function(){var t=this;m=!0;var i=this.manifest.segments.length,r=h(e.attributes);c.parts=c.parts||[],c.parts.push(r),r.byterange&&(r.byterange.hasOwnProperty("offset")||(r.byterange.offset=v),v=r.byterange.offset+r.byterange.length);var n=c.parts.length-1;this.warnOnMissingAttributes_("#EXT-X-PART #"+n+" for segment #"+i,e.attributes,["URI","DURATION"]),this.manifest.renditionReports&&this.manifest.renditionReports.forEach(function(e,i){e.hasOwnProperty("lastPart")||t.trigger("warn",{message:"#EXT-X-RENDITION-REPORT #"+i+" lacks required attribute(s): LAST-PART"})})},"server-control":function(){var t=this.manifest.serverControl=h(e.attributes);t.hasOwnProperty("canBlockReload")||(t.canBlockReload=!1,this.trigger("info",{message:"#EXT-X-SERVER-CONTROL defaulting CAN-BLOCK-RELOAD to false"})),p.call(this,this.manifest),t.canSkipDateranges&&!t.hasOwnProperty("canSkipUntil")&&this.trigger("warn",{message:"#EXT-X-SERVER-CONTROL lacks required attribute CAN-SKIP-UNTIL which is required when CAN-SKIP-DATERANGES is set"})},"preload-hint":function(){var t=this.manifest.segments.length,i=h(e.attributes),r=i.type&&"PART"===i.type;c.preloadHints=c.preloadHints||[],c.preloadHints.push(i),i.byterange&&!i.byterange.hasOwnProperty("offset")&&(i.byterange.offset=r?v:0,r&&(v=i.byterange.offset+i.byterange.length));var n=c.preloadHints.length-1;if(this.warnOnMissingAttributes_("#EXT-X-PRELOAD-HINT #"+n+" for segment #"+t,e.attributes,["TYPE","URI"]),i.type)for(var a=0;a<c.preloadHints.length-1;a++){var s=c.preloadHints[a];s.type&&s.type===i.type&&this.trigger("warn",{message:"#EXT-X-PRELOAD-HINT #"+n+" for segment #"+t+" has the same TYPE "+i.type+" as preload hint #"+a})}},"rendition-report":function(){var t=h(e.attributes);this.manifest.renditionReports=this.manifest.renditionReports||[],this.manifest.renditionReports.push(t);var i=this.manifest.renditionReports.length-1,r=["LAST-MSN","URI"];m&&r.push("LAST-PART"),this.warnOnMissingAttributes_("#EXT-X-RENDITION-REPORT #"+i,e.attributes,r)},"part-inf":function(){this.manifest.partInf=h(e.attributes),this.warnOnMissingAttributes_("#EXT-X-PART-INF",e.attributes,["PART-TARGET"]),this.manifest.partInf.partTarget&&(this.manifest.partTargetDuration=this.manifest.partInf.partTarget),p.
1call(this,this.manifest)}})[e.tagType]||f).call(n)},uri:function(){c.uri=e.uri,u.push(c),!this.manifest.targetDuration||"duration"in c||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),c.duration=this.manifest.targetDuration),r&&(c.key=r),c.timeline=b,i&&(c.map=i),v=0,c={}},comment:function(){},custom:function(){e.segment?(c.custom=c.custom||{},c.custom[e.customType]=e.data):(this.manifest.custom=this.manifest.custom||{},this.manifest.custom[e.customType]=e.data)}})[e.type].call(n)}),t}(0,r.Z)(t,e);var i=t.prototype;return i.warnOnMissingAttributes_=function(e,t,i){var r=[];i.forEach(function(e){t.hasOwnProperty(e)||r.push(e)}),r.length&&this.trigger("warn",{message:e+" lacks required attribute(s): "+r.join(", ")})},i.push=function(e){this.lineStream.push(e)},i.end=function(){this.lineStream.push("\n"),this.trigger("end")},i.addParser=function(e){this.parseStream.addParser(e)},i.addTagMapper=function(e){this.parseStream.addTagMapper(e)},t}(n)},43975:function(e,t,i){"use strict";i.d(t,{jp:function(){return D},mm:function(){return O},Qc:function(){return eh},LG:function(){return ep}});var r=i(22284),n=i(36655),a=i.n(n),s=function(e,t,i){t.forEach(function(t){for(var r in e.mediaGroups[t])for(var n in e.mediaGroups[t][r])i(e.mediaGroups[t][r][n],t,r,n)})},o=i(49745),l=i(2974),u=function(e){return!!e&&"object"==typeof e},c=function e(){for(var t=arguments.length,i=Array(t),r=0;r<t;r++)i[r]=arguments[r];return i.reduce(function(t,i){return"object"!=typeof i||Object.keys(i).forEac
1h(function(r){Array.isArray(t[r])&&Array.isArray(i[r])?t[r]=t[r].concat(i[r]):u(t[r])&&u(i[r])?t[r]=e(t[r],i[r]):t[r]=i[r]}),t},{})},d=function(e){return Object.keys(e).map(function(t){return e[t]})},h=function(e,t){for(var i=[],r=e;r<t;r++)i.push(r);return i},p=function(e){return e.reduce(function(e,t){return e.concat(t)},[])},m=function(e){if(!e.length)return[];for(var t=[],i=0;i<e.length;i++)t.push(e[i]);return t},f=function(e,t){for(var i=0;i<e.length;i++)if(t(e[i]))return i;return -1},g={INVALID_NUMBER_OF_PERIOD:"INVALID_NUMBER_OF_PERIOD",DASH_EMPTY_MANIFEST:"DASH_EMPTY_MANIFEST",DASH_INVALID_XML:"DASH_INVALID_XML",NO_BASE_URL:"NO_BASE_URL",SEGMENT_TIME_UNSPECIFIED:"SEGMENT_TIME_UNSPECIFIED",UNSUPPORTED_UTC_TIMING_SCHEME:"UNSUPPORTED_UTC_TIMING_SCHEME"},b=function(e){var t=e.baseUrl,i=e.source,n=void 0===i?"":i,s=e.range,o=void 0===s?"":s,l=e.indexRange,u=void 0===l?"":l,c={uri:n,resolvedUri:(0,r.Z)((void 0===t?"":t)||"",n)};if(o||u){var d,h=(o||u).split("-"),p=a().BigInt?a().BigInt(h[0]):parseInt(h[0],10),m=a().BigInt?a().BigInt(h[1]):parseInt(h[1],10);p<Number.MAX_SAFE_INTEGER&&"bigint"==typeof p&&(p=Number(p)),m<Number.MAX_SAFE_INTEGER&&"bigint"==typeof m&&(m=Number(m)),"bigint"==typeof(d="bigint"==typeof m||"bigint"==typeof p?a().BigInt(m)-a().BigInt(p)+a().BigInt(1):m-p+1)&&d<Number.MAX_SAFE_INTEGER&&(d=Number(d)),c.byterange={length:d,offset:p}}return c},y=function(e){var t;return t="bigint"==typeof e.offset||"bigint"==typeof e.length?a().BigInt(e.offset)+a().BigInt(e.length)-a().BigInt(1):e.offset+e.length-1,e.offset+"-"+t},v=function(e){return(e&&"number"!=typeof e&&(e=parseInt(e,10)),isNaN(e))?null:e},w={static:function(e){var t=e.duration,i=e.timescale,r=e.sourceDuration,n=e.periodDuration,a=v(e.endNumber),s=t/(void 0===i?1:i);return"number"==typeof a?{start:0,end:a}:"number"==typeof n?{start:0,end:n/s}:{start:0,end:r/s}},dynamic:function(e){var t=e.NOW,i=e.clientOffset,r=e.availabilityStartTime,n=e.timescale,a=void 0===n?1:n,s=e.duration,o=e.periodStart,l=e.minimumUpdatePeriod,u=e.timeShiftBufferDepth,c=v(e.endNumber),d=(t+i)/1e3,h=r+(void 0===o?0:o);return{start:Math.max(0,Math.floor((d-h-(void 0===u?1/0:u))*a/s)),end:"number"==typeof c?c:Math.min(Math.ceil((d+(void 0===l?0:l)-h)*a/s),Math.floor((d-h)*a/s))}}},T=function(e){var t=e.type,i=e.duration,r=e.timescale,n=e.periodDuration,a=e.sourceDuration,s=w[t](e),o=h(s.start,s.end).map(function(t){var i=e.duration,r=e.timescale,n=e.periodStart,a=e.startNumber;return{number:(void 0===a?1:a)+t,duration:i/(void 0===r?1:r),timeline:n,time:t*i}});if("static"===t){var l=o.length-1;o[l].duration=("number"==typeof n?n:a)-i/(void 0===r?1:r)*l}return o},E=function(e){var t=e.baseUrl,i=e.initialization,r=void 0===i?{}:i,n=e.sourceDuration,a=e.indexRange,s=e.periodStart,o=e.presentationTime,l=e.number,u=e.duration;if(!t)throw Error(g.NO_BASE_URL);var c=b({baseUrl:t,source:r.sourceURL,range:r.range}),d=b({baseUrl:t,source:t,indexRange:void 0===a?"":a});if(d.map=c,u){var h=T(e);h.length&&(d.duration=h[0].duration,d.timeline=h[0].timeline)}else n&&(d.duration=n,d.timeline=s);return d.presentationTime=o||s,d.number=void 0===l?0:l,[d]},D=function(e,t,i){var r,n=e.sidx.map?e.sidx.map:null,s=e.sidx.duration,o=e.timeline||0,l=e.sidx.byterange,u=l.offset+l.length,c=t.timescale,d=t.references.filter(function(e){return 1!==e.referenceType}),h=[],p=e.endList?"static":"dynamic",m=e.sidx.timeline,f=m,g=e.mediaSequence||0;r="bigint"==typeof t.firstOffset?a().BigInt(u)+t.firstOffset:u+t.firstOffset;for(var b=0;b<d.length;b++){var y=t.references[b],v=y.referencedSize,w=y.subsegmentDuration,T=void 0;T="bigint"==typeof r?r+a().BigInt(v)-a().BigInt(1):r+v-1;var D=E({baseUrl:i,timescale:c,timeline:o,periodStart:m,presentationTime:f,number:g,duration:w,sourceDuration:s,indexRange:r+"-"+T,type:p})[0];n&&(D.map=n),h.push(D),"bigint"==typeof r?r+=a().BigInt(v):r+=v,f+=w/c,g++}return e.segments=h,e},S=["AUDIO","SUBTITLES"],A=1/60,N=function(e){var t;return(t=function(e){return e.timeline},d(e.reduce(function(e,i){return i.forEach(function(i){e[t(i)]=i}),e},{}))).sort(function(e,t){return e.timeline>t.timeline?1:-1})},k=function(e,t){for(var i=0;i<e.length;i++)if(e[i].attributes.NAME===t)return e[i];return null},C=function(e){var t=[];return s(e,S,function(e,i,r,n){t=t.concat(e.playlists||[])}),t},x=function(e){var t=e.playlist,i=e.mediaSequence;
1t.mediaSequence=i,t.segments.forEach(function(e,i){e.number=t.mediaSequence+i})},I=function(e){var t=e.oldPlaylists,i=e.newPlaylists,r=e.timelineStarts;i.forEach(function(e){e.discontinuitySequence=f(r,function(t){return t.timeline===e.timeline});var i=k(t,e.attributes.NAME);if(i&&!e.sidx){var n=e.segments[0],a=f(i.segments,function(e){return Math.abs(e.presentationTime-n.presentationTime)<A});if(-1===a){x({playlist:e,mediaSequence:i.mediaSequence+i.segments.length}),e.segments[0].discontinuity=!0,e.discontinuityStarts.unshift(0),(!i.segments.length&&e.timeline>i.timeline||i.segments.length&&e.timeline>i.segments[i.segments.length-1].timeline)&&e.discontinuitySequence--;return}i.segments[a].discontinuity&&!n.discontinuity&&(n.discontinuity=!0,e.discontinuityStarts.unshift(0),e.discontinuitySequence--),x({playlist:e,mediaSequence:i.segments[a].number})}})},L=function(e){var t=e.oldManifest,i=e.newManifest,r=t.playlists.concat(C(t)),n=i.playlists.concat(C(i));return i.timelineStarts=N([t.timelineStarts,i.timelineStarts]),I({oldPlaylists:r,newPlaylists:n,timelineStarts:i.timelineStarts}),i},O=function(e){return e&&e.uri+"-"+y(e.byterange)},R=function(e){return d(e.reduce(function(e,t){var i,r=t.attributes.id+(t.attributes.lang||"");return e[r]?(t.segments&&(t.segments[0]&&(t.segments[0].discontinuity=!0),(i=e[r].segments).push.apply(i,t.segments)),t.attributes.contentProtection&&(e[r].attributes.contentProtection=t.attributes.contentProtection)):(e[r]=t,e[r].attributes.timelineStarts=[]),e[r].attributes.timelineStarts.push({start:t.attributes.periodStart,timeline:t.attributes.periodStart}),e},{})).map(function(e){return e.discontinuityStarts=(e.segments||[]).reduce(function(e,t,i){return t.discontinuity&&e.push(i),e},[]),e})},P=function(e,t){var i=O(e.sidx),r=i&&t[i]&&t[i].sidx;return r&&D(e,r,e.sidx.resolvedUri),e},M=function(e,t){if(void 0===t&&(t={}),!Object.keys(t).length)return e;for(var i in e)e[i]=P(e[i],t);return e},q=function(e,t){var i,r=e.attributes,n=e.segments,a=e.sidx,s=e.mediaSequence,o=e.discontinuitySequence,l=e.discontinuityStarts,u={attributes:((i={NAME:r.id,BANDWIDTH:r.bandwidth,CODECS:r.codecs})["PROGRAM-ID"]=1,i),uri:"",endList:"static"===r.type,timeline:r.periodStart,resolvedUri:"",targetDuration:r.duration,discontinuitySequence:o,discontinuityStarts:l,timelineStarts:r.timelineStarts,mediaSequence:s,segments:n};return r.contentProtection&&(u.contentProtection=r.contentProtection),a&&(u.sidx=a),t&&(u.attributes.AUDIO="audio",u.attributes.SUBTITLES="subs"),u},_=function(e){var t,i=e.attributes,r=e.segments,n=e.mediaSequence,a=e.discontinuityStarts,s=e.discontinuitySequence;void 0===r&&(r=[{uri:i.baseUrl,timeline:i.periodStart,resolvedUri:i.baseUrl||"",duration:i.sourceDuration,number:0}],i.duration=i.sourceDuration);var o=((t={NAME:i.id,BANDWIDTH:i.bandwidth})["PROGRAM-ID"]=1,t);return i.codecs&&(o.CODECS=i.codecs),{attributes:o,uri:"",endList:"static"===i.type,timeline:i.periodStart,resolvedUri:i.baseUrl||"",targetDuration:i.duration,timelineStarts:i.timelineStarts,discontinuityStarts:a,discontinuitySequence:s,mediaSequence:n,segments:r}},U=function(e,t,i){void 0===t&&(t={}),void 0===i&&(i=!1);var r,n=e.reduce(function(e,n){var a=n.attributes.role&&n.attributes.role.value||"",s=n.attributes.lang||"",o=n.attributes.label||"main";s&&!n.attributes.label&&(o=""+n.attributes.lang+(a?" ("+a+")":"")),e[o]||(e[o]={language:s,autoselect:!0,default:"main"===a,playlists:[],uri:""});var l=P(q(n,i),t);return e[o].playlists.push(l),void 0===r&&"main"===a&&((r=n).default=!0),e},{});if(!r){var a=Object.keys(n)[0];n[a].default=!0}return n},B=function(e){var t,i=e.attributes,r=e.segments,n=e.sidx,a=e.discontinuityStarts,s={attributes:((t={NAME:i.id,AUDIO:"audio",SUBTITLES:"subs",RESOLUTION:{width:i.width,height:i.height},CODECS:i.codecs,BANDWIDTH:i.bandwidth})["PROGRAM-ID"]=1,t),uri:"",endList:"static"===i.type,timeline:i.periodStart,resolvedUri:"",targetDuration:i.duration,discontinuityStarts:a,timelineStarts:i.timelineStarts,segments:r};return i.contentProtection&&(s.contentProtection=i.contentProtection),n&&(s.sidx=n),s},H=function(e){var t=e.attributes;return"video/mp4"===t.mimeType||"video/webm"===t.mimeType||"video"===t.contentType},V=function(e){var t=e.attributes;return"audio/mp4"===t.mimeType||"audio/webm"===t.mimeType||"audio"===t.contentType},j=function(e){var t=e.attributes;return"text/vtt"===t.mimeType||"text"===t.contentType},F=function(e,t){e.forEach(function(e){e.mediaSequence=0,e.discontinuitySequence=f(t,function(t){return t.timeline===e.timeline}
1),e.segments&&e.segments.forEach(function(e,t){e.number=t})})},$=function(e){return e?Object.keys(e).reduce(function(t,i){var r=e[i];return t.concat(r.playlists)},[]):[]},G=function(e){var t,i,r=e.dashPlaylists,n=e.locations,a=e.sidxMapping,s=void 0===a?{}:a,o=e.previousManifest;if(!r.length)return{};var l=r[0].attributes,u=l.sourceDuration,c=l.type,d=l.suggestedPresentationDelay,h=l.minimumUpdatePeriod,p=R(r.filter(H)).map(B),m=R(r.filter(V)),f=R(r.filter(j)),g=r.map(function(e){return e.attributes.captionServices}).filter(Boolean),b={allowCache:!0,discontinuityStarts:[],segments:[],endList:!0,mediaGroups:((i={AUDIO:{},VIDEO:{}})["CLOSED-CAPTIONS"]={},i.SUBTITLES={},i),uri:"",duration:u,playlists:M(p,s)};h>=0&&(b.minimumUpdatePeriod=1e3*h),n&&(b.locations=n),"dynamic"===c&&(b.suggestedPresentationDelay=d);var y=0===b.playlists.length,v=m.length?U(m,s,y):null,w=f.length?(void 0===(t=s)&&(t={}),f.reduce(function(e,i){var r=i.attributes.lang||"text";return e[r]||(e[r]={language:r,default:!1,autoselect:!1,playlists:[],uri:""}),e[r].playlists.push(P(_(i),t)),e},{})):null,T=p.concat($(v),$(w)),E=T.map(function(e){return e.timelineStarts});return b.timelineStarts=N(E),F(T,b.timelineStarts),v&&(b.mediaGroups.AUDIO.audio=v),w&&(b.mediaGroups.SUBTITLES.subs=w),g.length&&(b.mediaGroups["CLOSED-CAPTIONS"].cc=g.reduce(function(e,t){return t&&t.forEach(function(t){var i=t.channel,r=t.language;e[r]={autoselect:!1,default:!1,instreamId:i,language:r},t.hasOwnProperty("aspectRatio")&&(e[r].aspectRatio=t.aspectRatio),t.hasOwnProperty("easyReader")&&(e[r].easyReader=t.easyReader),t.hasOwnProperty("3D")&&(e[r]["3D"]=t["3D"])}),e},{})),o?L({oldManifest:o,newManifest:b}):b},X=function(e,t,i){var r=e.NOW,n=e.clientOffset,a=e.availabilityStartTime,s=e.timescale,o=e.periodStart,l=e.minimumUpdatePeriod;return Math.ceil((((r+n)/1e3+(void 0===l?0:l)-(a+(void 0===o?0:o)))*(void 0===s?1:s)-t)/i)},z=function(e,t){for(var i=e.type,r=e.minimumUpdatePeriod,n=void 0===r?0:r,a=e.media,s=void 0===a?"":a,o=e.sourceDuration,l=e.timescale,u=void 0===l?1:l,c=e.startNumber,d=void 0===c?1:c,h=e.periodStart,p=[],m=-1,f=0;f<t.length;f++){var g=t[f],b=g.d,y=g.r||0,v=g.t||0;m<0&&(m=v),v&&v>m&&(m=v);var w=void 0;if(y<0){var T=f+1;w=T===t.length?"dynamic"===i&&n>0&&s.indexOf("$Number$")>0?X(e,m,b):(o*u-m)/b:(t[T].t-m)/b}else w=y+1;for(var E=d+p.length+w,D=d+p.length;D<E;)p.push({number:D,duration:b/u,time:m,timeline:h}),m+=b,D++}return p},K=/\$([A-z]*)(?:(%0)([0-9]+)d)?\$/g,W=function(e,t){return e.replace(K,function(e,i,r,n){if("$$"===e)return"$";if(void 0===t[i])return e;var a=""+t[i];return"RepresentationID"===i?a:(n=r?parseInt(n,10):1,a.length>=n)?a:""+Array(n-a.length+1).join("0")+a})},Y=function(e,t){var i={RepresentationID:e.id,Bandwidth:e.bandwidth||0},n=e.initialization,a=void 0===n?{sourceURL:"",range:""}:n,s=b({baseUrl:e.baseUrl,source:W(a.sourceURL,i),range:a.range});return(e.duration||t?e.duration?T(e):z(e,t):[{number:e.startNumber||1,duration:e.sourceDuration,time:0,timeline:e.periodStart}]).map(function(t){i.Number=t.number,i.Time=t.time;var n=W(e.media||"",i),a=e.timescale||1,o=e.presentationTimeOffset||0,l=e.periodStart+(t.time-o)/a;return{uri:n,timeline:t.timeline,duration:t.duration,resolvedUri:(0,r.Z)(e.baseUrl||"",n),map:s,number:t.number,presentationTime:l}})},Q=function(e,t){var i=e.baseUrl,r=e.initialization,n=void 0===r?{}:r,a=b({baseUrl:i,source:n.sourceURL,range:n.range}),s=b({baseUrl:i,source:t.media,range:t.mediaRange});return s.map=a,s},Z=function(e,t){var i,r=e.duration,n=e.segmentUrls,a=e.periodStart;if(!r&&!t||r&&t)throw Error(g.SEGMENT_TIME_UNSPECIFIED);var s=(void 0===n?[]:n).map(function(t){return Q(e,t)});return r&&(i=T(e)),t&&(i=z(e,t)),i.map(function(t,i){if(s[i]){var r=s[i],n=e.timescale||1,o=e.presentationTimeOffset||0;return r.timeline=t.timeline,r.duration=t.duration,r.number=t.number,r.presentationTime=a+(t.time-o)/n,r}}).filter(function(e){return e})},J=function(e){var t,i,r=e.attributes,n=e.segmentInfo;n.template?(i=Y,t=c(r,n.template)):n.base?(i=E,t=c(r,n.base)):n.list&&(i=Z,t=c(r,n.list));var a={attributes:r};if(!i)return a;var s=i(t,n.segmentTimeline);if(t.duration){var o=t,l=o.duration,u=o.timescale;t.duration=l/(void 0===u?1:u)}else s.length?t.duration=s.reduce(function(e,t){return Math.max(e,Math.ceil(t.duration))},0):t.duration=0;return a.attributes=t,a.segments=s,n.base&&t.indexRange&&(a.sidx=s[0],a.segments=[]),a},ee=function(e,t){return m(e.childNodes).filter(function(e){return e.tagName===t})},et=function(e){return e.textContent.trim()},ei=function(e){var t=/P(?:(\d*)Y)?(?:(\d*)M)?(?:(\d*)D)?(?:T(?:(\d*)H)?(?:(\d*)M)?(?:([\d.]*)S)?)?/.exec(e);if(!t)return 0;var i=t.slice(1),r=i[0],n=i[1],a=i[2],s=i[3],o=i[4],l=i[5];
1return 31536e3*parseFloat(r||0)+2592e3*parseFloat(n||0)+86400*parseFloat(a||0)+3600*parseFloat(s||0)+60*parseFloat(o||0)+parseFloat(l||0)},er={mediaPresentationDuration:function(e){return ei(e)},availabilityStartTime:function(e){var t;return t=e,/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(t)&&(t+="Z"),Date.parse(t)/1e3},minimumUpdatePeriod:function(e){return ei(e)},suggestedPresentationDelay:function(e){return ei(e)},type:function(e){return e},timeShiftBufferDepth:function(e){return ei(e)},start:function(e){return ei(e)},width:function(e){return parseInt(e,10)},height:function(e){return parseInt(e,10)},bandwidth:function(e){return parseInt(e,10)},startNumber:function(e){return parseInt(e,10)},timescale:function(e){return parseInt(e,10)},presentationTimeOffset:function(e){return parseInt(e,10)},duration:function(e){var t=parseInt(e,10);return isNaN(t)?ei(e):t},d:function(e){return parseInt(e,10)},t:function(e){return parseInt(e,10)},r:function(e){return parseInt(e,10)},DEFAULT:function(e){return e}},en=function(e){return e&&e.attributes?m(e.attributes).reduce(function(e,t){var i=er[t.name]||er.DEFAULT;return e[t.name]=i(t.value),e},{}):{}},ea={"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b":"org.w3.clearkey","urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":"com.widevine.alpha","urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95":"com.microsoft.playready","urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb":"com.adobe.primetime"},es=function(e,t){return t.length?p(e.map(function(e){return t.map(function(t){return(0,r.Z)(e,et(t))})})):e},eo=function(e){var t=ee(e,"SegmentTemplate")[0],i=ee(e,"SegmentList")[0],r=i&&ee(i,"SegmentURL").map(function(e){return c({tag:"SegmentURL"},en(e))}),n=ee(e,"SegmentBase")[0],a=i||t,s=a&&ee(a,"SegmentTimeline")[0],o=i||n||t,l=o&&ee(o,"Initialization")[0],u=t&&en(t);u&&l?u.initialization=l&&en(l):u&&u.initialization&&(u.initialization={sourceURL:u.initialization});var d={template:u,segmentTimeline:s&&ee(s,"S").map(function(e){return en(e)}),list:i&&c(en(i),{segmentUrls:r,initialization:en(l)}),base:n&&c(en(n),{initialization:en(l)})};return Object.keys(d).forEach(function(e){d[e]||delete d[e]}),d},el=function(e){var t=e.attributes,i=e.priorPeriodAttributes,r=e.mpdType;return"number"==typeof t.start?t.start:i&&"number"==typeof i.start&&"number"==typeof i.duration?i.start+i.duration:i||"static"!==r?null:0},eu=function(e,t){void 0===t&&(t={});var i=t,r=i.manifestUri,n=i.NOW,a=void 0===n?Date.now():n,s=i.clientOffset,l=ee(e,"Period");
1if(!l.length)throw Error(g.INVALID_NUMBER_OF_PERIOD);var u=ee(e,"Location"),d=en(e),h=es([void 0===r?"":r],ee(e,"BaseURL"));d.type=d.type||"static",d.sourceDuration=d.mediaPresentationDuration||0,d.NOW=a,d.clientOffset=void 0===s?0:s,u.length&&(d.locations=u.map(et));var m=[];return l.forEach(function(e,t){var i=en(e),r=m[t-1];i.start=el({attributes:i,priorPeriodAttributes:r?r.attributes:null,mpdType:d.type}),m.push({node:e,attributes:i})}),{locations:d.locations,representationInfo:p(m.map(function(e,t){var i=es(h,ee(e.node,"BaseURL")),r=c(d,{periodStart:e.attributes.start});"number"==typeof e.attributes.duration&&(r.periodDuration=e.attributes.duration);var n=ee(e.node,"AdaptationSet"),a=eo(e.node);return p(n.map(function(e){var t,n,s=en(e),l=es(i,ee(e,"BaseURL")),u=c(r,s,{role:en(ee(e,"Role")[0])}),d="urn:scte:dash:cc:cea-608:2015"===(t=en(ee(e,"Accessibility")[0])).schemeIdUri?("string"!=typeof t.value?[]:t.value.split(";")).map(function(e){if(i=e,/^CC\d=/.test(e)){var t,i,r=e.split("=");t=r[0],i=r[1]}else/^CC\d$/.test(e)&&(t=e);return{channel:t,language:i}}):"urn:scte:dash:cc:cea-708:2015"===t.schemeIdUri?("string"!=typeof t.value?[]:t.value.split(";")).map(function(e){var t={channel:void 0,language:void 0,aspectRatio:1,easyReader:0,"3D":0};if(/=/.test(e)){var i=e.split("="),r=i[0],n=i[1];t.channel=r,t.language=e,(void 0===n?"":n).split(",").forEach(function(e){var i=e.split(":"),r=i[0],n=i[1];"lang"===r?t.language=n:"er"===r?t.easyReader=Number(n):"war"===r?t.aspectRatio=Number(n):"3D"===r&&(t["3D"]=Number(n))})}else t.language=e;return t.channel&&(t.channel="SERVICE"+t.channel),t}):void 0;d&&(u=c(u,{captionServices:d}));var h=ee(e,"Label")[0];h&&h.childNodes.length&&(u=c(u,{label:h.childNodes[0].nodeValue.trim()}));var m=ee(e,"ContentProtection").reduce(function(e,t){var i=en(t);i.schemeIdUri&&(i.schemeIdUri=i.schemeIdUri.toLowerCase());var r=ea[i.schemeIdUri];if(r){e[r]={attributes:i};var n=ee(t,"cenc:pssh")[0];if(n){var a=et(n);e[r].pssh=a&&(0,o.Z)(a)}}return e},{});Object.keys(m).length&&(u=c(u,{contentProtection:m}));var f=eo(e),g=ee(e,"Representation"),b=c(a,f);return p(g.map((n=u,function(e){var t=es(l,ee(e,"BaseURL")),i=c(n,en(e)),r=eo(e);return t.map(function(e){return{segmentInfo:c(b,r),attributes:c(i,{baseUrl:e})}})})))}))}))}},ec=function(e){if(""===e)throw Error(g.DASH_EMPTY_MANIFEST);var t,i,r=new l.DOMParser;try{i=(t=r.parseFromString(e,"application/xml"))&&"MPD"===t.documentElement.tagName?t.documentElement:null}catch(e){}if(!i||i&&i.getElementsByTagName("parsererror").length>0)throw Error(g.DASH_INVALID_XML);return i},ed=function(e){var t=ee(e,"UTCTiming")[0];if(!t)return null;var i=en(t);switch(i.schemeIdUri){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":i.method="HEAD";break;case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":i.method="GET";break;case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":i.method="DIRECT",i.value=Date.parse(i.value);break;default:throw Error(g.UNSUPPORTED_UTC_TIMING_SCHEME)}return i},eh=function(e,t){void 0===t&&(t={});var i=eu(ec(e),t);return G({dashPlaylists:i.representationInfo.map(J),locations:i.locations,sidxMapping:t.sidxMapping,previousManifest:t.previousManifest})},ep=function(e){return ed(ec(e))}},64347:function(e,t,i){var r=i(89544).getUint64;e.exports=function(e){var t=new DataView(e.buffer,e.byteOffset,e.byteLength),i={version:e[0],flags:new Uint8Array(e.subarray(1,4)),references:[],referenceId:t.getUint32(4),timescale:t.getUint32(8)},n=12;0===i.version?(i.earliestPresentationTime=t.getUint32(n),i.firstOffset=t.getUint32(n+4),n+=8):(i.earliestPresentationTime=r(e.subarray(n)),i.firstOffset=r(e.subarray(n+8)),n+=16),n+=2;var a=t.getUint16(n);for(n+=2;a>0;n+=12,a--)i.references.push({referenceType:(128&e[n])>>>7,referencedSize:2147483647&t.getUint32(n),subsegmentDuration:t.getUint32(n+4),startsWithSap:!!(128&e[n+8]),sapType:(112&e[n+8])>>>4,sapDeltaTime:268435455&t.getUint32(n+8)});return i}},27404:function(e){var t,i,r,n,a,s,o;t=function(e){return 9e4*e},i=function(e,t){return e*t},r=function(e){return e/9e4},n=function(e,t){return e/t},a=function(e,i){return t(n(e,i))},s=function(e,t){return i(r(e),t)},o=function(e,t,i){return r(i?e:e-t)},e.exports={ONE_SECOND_IN_TS:9e4,secondsToVideoTs:t,secondsToAudioTs:i,videoTsToSeconds:r,audioTsToSeconds:n,audioTsToVideoTs:a,videoTsToAudioTs:s,metadataTsToSeconds:o}},89544:function(e){e.exports={getUint64:function(e){var t,i=new DataView(e.buffer,e.byteOffset,e.byteLength);return i.getBigUint64?(t=i.getBigUint64(0))<Number.MAX_SAFE_INTEGER?
1Number(t):t:4294967296*i.getUint32(0)+i.getUint32(4)},MAX_UINT32:4294967296}},28894:function(e,t,i){var r;"object"==typeof navigator&&(r=function(){"use strict";function e(e,t,i){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:String(r))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function t(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),i.push.apply(i,r)}return i}function n(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach(function(t){var r;r=i[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}var a,s,o,l={addCSS:!0,thumbWidth:15,watch:!0},u=function(e){return null!=e?e.constructor:null},c=function(e,t){return!!(e&&t&&e instanceof t)},d=function(e){return u(e)===String},h=function(e){return Array.isArray(e)},p=function(e){return c(e,NodeList)},m={string:d,array:h,nodeList:p,element:function(e){return c(e,Element)},event:function(e){return c(e,Event)},empty:function(e){return null==e||(d(e)||h(e)||p(e))&&!e.length||u(e)===Object&&!Object.keys(e).length}},f=function(){var e,i;function r(e,t){(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,r),m.element(e)?this.element=e:m.string(e)&&(this.element=document.querySelector(e)),m.element(this.element)&&m.empty(this.element.rangeTouch)&&(this.config=n({},l,{},t),this.init())}return e=[{key:"init",value:function(){r.enabled&&(this.config.addCSS&&(this.element.style.userSelect="none",this.element.style.webKitUserSelect="none",this.element.style.touchAction="manipulation"),this.listeners(!0),this.element.rangeTouch=this)}},{key:"destroy",value:function(){r.enabled&&(this.config.addCSS&&(this.element.style.userSelect="",this.element.style.webKitUserSelect="",this.element.style.touchAction=""),this.listeners(!1),this.element.rangeTouch=null)}},{key:"listeners",value:function(e){var t=this,i=e?"addEventListener":"removeEventListener";["touchstart","touchmove","touchend"].forEach(function(e){t.element[i](e,function(e){return t.set(e)},!1)})}},{key:"get",value:function(e){if(!r.enabled||!m.event(e))return null;var t,i=e.target,n=e.changedTouches[0],a=parseFloat(i.getAttribute("min"))||0,s=parseFloat(i.getAttribute("max"))||100,o=parseFloat(i.getAttribute("step"))||1,l=i.getBoundingClientRect(),u=100/l.width*(this.config.thumbWidth/2)/100;return 0>(t=100/l.width*(n.clientX-l.left))?t=0:100<t&&(t=100),50>t?t-=(100-2*t)*u:50<t&&(t+=2*(t-50)*u),a+function(e,t){if(1>t){var i,r=(i="".concat(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?Math.max(0,(i[1]?i[1].length:0)-(i[2]?+i[2]:0)):0;return parseFloat(e.toFixed(r))}return Math.round(e/t)*t}(t/100*(s-a),o)}},{key:"set",value:function(e){r.enabled&&m.event(e)&&!e.target.disabled&&(e.preventDefault(),e.target.value=this.get(e),function(e,t){if(e&&t){var i=new Event(t,{bubbles:!0});e.dispatchEvent(i)}}(e.target,"touchend"===e.type?"change":"input"))}}],i=[{key:"setup",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=null;if(m.empty(e)||m.string(e)?i=Array.from(document.querySelectorAll(m.string(e)?e:'input[type="range"]')):m.element(e)?i=[e]:m.nodeList(e)?i=Array.from(e):m.array(e)&&(i=e.filter(m.element)),m.empty(i))return null;var a=n({},l,{},t);return m.string(e)&&a.watch&&new MutationObserver(function(t){Array.from(t).forEach(function(t){Array.from(t.addedNodes).forEac
1h(function(t){var i;m.element(t)&&(function(){return Array.from(document.querySelectorAll(i)).includes(this)}).call(t,i=e)&&new r(t,a)})})}).observe(document.body,{childList:!0,subtree:!0}),i.map(function(e){return new r(e,t)})}},{key:"enabled",get:function(){return"ontouchstart"in document.documentElement}}],e&&t(r.prototype,e),i&&t(r,i),r}();let g=e=>null!=e?e.constructor:null,b=(e,t)=>!!(e&&t&&e instanceof t),y=e=>null==e,v=e=>g(e)===Object,w=e=>g(e)===String,T=e=>"function"==typeof e,E=e=>Array.isArray(e),D=e=>b(e,NodeList),S=e=>y(e)||(w(e)||E(e)||D(e))&&!e.length||v(e)&&!Object.keys(e).length;var A={nullOrUndefined:y,object:v,number:e=>g(e)===Number&&!Number.isNaN(e),string:w,boolean:e=>g(e)===Boolean,function:T,array:E,nodeList:D,element:e=>null!==e&&"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument,event:e=>b(e,Event),keyboardEvent:e=>b(e,KeyboardEvent),track:e=>b(e,TextTrack)||!y(e)&&w(e.kind),promise:e=>b(e,Promise)&&T(e.then),url:e=>{if(b(e,window.URL))return!0;if(!w(e))return!1;let t=e;e.startsWith("http://")&&e.startsWith("https://")||(t=`http://${e}`);try{return!S(new URL(t).hostname)}catch(e){return!1}},empty:S};let N=(()=>{let e=document.createElement("span"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},i=Object.keys(t).find(t=>void 0!==e.style[t]);return!!A.string(i)&&t[i]})();function k(e,t){setTimeout(()=>{try{e.hidden=!0,e.offsetHeight,e.hidden=!1}catch(e){}},t)}var C={isIE:!!window.document.documentMode,isEdge:/Edge/g.test(navigator.userAgent),isWebKit:"WebkitAppearance"in document.documentElement.style&&!/Edge/g.test(navigator.userAgent),isIPhone:/iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1,isIPadOS:"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,isIos:/iPad|iPhone|iPod/gi.test(navigator.userAgent)&&navigator.maxTouchPoints>1};function x(e,t){return t.split(".").reduce((e,t)=>e&&e[t],e)}function I(e={},...t){if(!t.length)return e;let i=t.shift();
1return A.object(i)?(Object.keys(i).forEach(t=>{A.object(i[t])?(Object.keys(e).includes(t)||Object.assign(e,{[t]:{}}),I(e[t],i[t])):Object.assign(e,{[t]:i[t]})}),I(e,...t)):e}function L(e,t){Array.from(e.length?e:[e]).reverse().forEach((e,i)=>{let r=i>0?t.cloneNode(!0):t,n=e.parentNode,a=e.nextSibling;r.appendChild(e),a?n.insertBefore(r,a):n.appendChild(r)})}function O(e,t){A.element(e)&&!A.empty(t)&&Object.entries(t).filter(([,e])=>!A.nullOrUndefined(e)).forEach(([t,i])=>e.setAttribute(t,i))}function R(e,t,i){let r=document.createElement(e);return A.object(t)&&O(r,t),A.string(i)&&(r.innerText=i),r}function P(e,t,i,r){A.element(t)&&t.appendChild(R(e,i,r))}function M(e){A.nodeList(e)||A.array(e)?Array.from(e).forEach(M):A.element(e)&&A.element(e.parentNode)&&e.parentNode.removeChild(e)}function q(e){if(!A.element(e))return;let{length:t}=e.childNodes;for(;t>0;)e.removeChild(e.lastChild),t-=1}function _(e,t){return A.element(t)&&A.element(t.parentNode)&&A.element(e)?(t.parentNode.replaceChild(e,t),e):null}function U(e,t){if(!A.string(e)||A.empty(e))return{};let i={},r=I({},t);return e.split(",").forEach(e=>{let t=e.trim(),n=t.replace(".",""),a=t.replace(/[[\]]/g,"").split("="),[s]=a,o=a.length>1?a[1].replace(/["']/g,""):"";switch(t.charAt(0)){case".":A.string(r.class)?i.class=`${r.class} ${n}`:i.class=n;break;case"#":i.id=t.replace("#","");break;case"[":i[s]=o}}),I(r,i)}function B(e,t){if(!A.element(e))return;let i=t;A.boolean(i)||(i=!e.hidden),e.hidden=i}function H(e,t,i){if(A.nodeList(e))return Array.from(e).map(e=>H(e,t,i));if(A.element(e)){let r="toggle";return void 0!==i&&(r=i?"add":"remove"),e.classList[r](t),e.classList.contains(t)}return!1}function V(e,t){return A.element(e)&&e.classList.contains(t)}function j(e,t){let{prototype:i}=Element;return(i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||function(){return Array.from(document.querySelectorAll(t)).includes(this)}).call(e,t)}function F(e){return this.elements.container.querySelectorAll(e)}function $(e){return this.elements.container.querySelector(e)}function G(e=null,t=!1){A.element(e)&&e.focus({preventScroll:!0,focusVisible:t})}let X={"audio/ogg":"vorbis","audio/wav":"1","video/webm":"vp8, vorbis","video/mp4":"avc1.42E01E, mp4a.40.2","video/ogg":"theora"},z={audio:"canPlayType"in document.createElement("audio"),video:"canPlayType"in document.createElement("video"),check(e,t){let i=z[e]||"html5"!==t;return{api:i,ui:i&&z.rangeInput}},pip:!(C.isIPhone||!A.function(R("video").webkitSetPresentationMode)&&(!document.pictureInPictureEnabled||R("video").disablePictureInPicture)),airplay:A.function(window.WebKitPlaybackTargetAvailabilityEvent),playsinline:"playsInline"in document.createElement("video"),mime(e){if(A.empty(e))return!1;let[t]=e.split("/"),i=e;if(!this.isHTML5||t!==this.type)return!1;Object.keys(X).includes(i)&&(i+=`; codecs="${X[e]}"`);try{return!!(i&&this.media.canPlayType(i).replace(/no/,""))}catch(e){return!1}},textTracks:"textTracks"in document.createElement("video"),rangeInput:(()=>{let e=document.createElement("input");return e.type="range","range"===e.type})(),touch:"ontouchstart"in document.documentElement,transitions:!1!==N,reducedMotion:"matchMedia"in window&&window.matchMedia("(prefers-reduced-motion)").matches},K=(()=>{let e=!1;try{let t=Object.defineProperty({},"passive",{get:()=>(e=!0,null)});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e})();function W(e,t,i,r=!1,n=!0,a=!1){if(!e||!("addEventListener"in e)||A.empty(t)||!A.function(i))return;let s=t.split(" "),o=a;K&&(o={passive:n,capture:a}),s.forEach(t=>{this&&this.eventListeners&&r&&this.eventListeners.push({element:e,type:t,callback:i,options:o}),e[r?"addEventListener":"removeEventListener"](t,i,o)})}function Y(e,t="",i,r=!0,n=!1){W.call(this,e,t,i,!0,r,n)}function Q(e,t="",i,r=!0,n=!1){W.call(this,e,t,i,!1,r,n)}function Z(e,t="",i,r=!0,n=!1){let a=(...s)=>{Q(e,t,a,r,n),i.apply(this,s)};W.call(this,e,t,a,!0,r,n)}function J(e,t="",i=!1,r={}){if(!A.element(e)||A.empty(t))return;let n=new CustomEvent(t,{bubbles:i,detail:{...r,plyr:this}});e.dispatchEvent(n)}function ee(){this&&this.eventListeners&&(this.eventListeners.forEac
1h(e=>{let{element:t,type:i,callback:r,options:n}=e;t.removeEventListener(i,r,n)}),this.eventListeners=[])}function et(){return new Promise(e=>this.ready?setTimeout(e,0):Y.call(this,this.elements.container,"ready",e)).then(()=>{})}function ei(e){A.promise(e)&&e.then(null,()=>{})}function er(e){return A.array(e)?e.filter((t,i)=>e.indexOf(t)===i):e}function en(e,t){return A.array(e)&&e.length?e.reduce((e,i)=>Math.abs(i-t)<Math.abs(e-t)?i:e):null}function ea(e){return!(!window||!window.CSS)&&window.CSS.supports(e)}let es=[[1,1],[4,3],[3,4],[5,4],[4,5],[3,2],[2,3],[16,10],[10,16],[16,9],[9,16],[21,9],[9,21],[32,9],[9,32]].reduce((e,[t,i])=>({...e,[t/i]:[t,i]}),{});function eo(e){return!!(A.array(e)||A.string(e)&&e.includes(":"))&&(A.array(e)?e:e.split(":")).map(Number).every(A.number)}function el(e){if(!A.array(e)||!e.every(A.number))return null;let[t,i]=e,r=(e,t)=>0===t?e:r(t,e%t),n=r(t,i);return[t/n,i/n]}function eu(e){let t=e=>eo(e)?e.split(":").map(Number):null,i=t(e);if(null===i&&(i=t(this.config.ratio)),null===i&&!A.empty(this.embed)&&A.array(this.embed.ratio)&&({ratio:i}=this.embed),null===i&&this.isHTML5){let{videoWidth:e,videoHeight:t}=this.media;i=[e,t]}return el(i)}function ec(e){if(!this.isVideo)return{};let{wrapper:t}=this.elements,i=eu.call(this,e);if(!A.array(i))return{};let[r,n]=el(i),a=100/r*n;if(ea(`aspect-ratio: ${r}/${n}`)?t.style.aspectRatio=`${r}/${n}`:t.style.paddingBottom=`${a}%`,this.isVimeo&&!this.config.vimeo.premium&&this.supported.ui){let e=100/this.media.offsetWidth*parseInt(window.getComputedStyle(this.media).paddingBottom,10);this.fullscreen.active?t.style.paddingBottom=null:this.media.style.transform=`translateY(-${(e-a)/(e/50)}%)`}else this.isHTML5&&t.classList.add(this.config.classNames.videoFixedRatio);return{padding:a,ratio:i}}function ed(e,t,i=.05){let r=e/t,n=en(Object.keys(es),r);return Math.abs(n-r)<=i?es[n]:[e,t]}let eh={getSources(){return this.isHTML5?Array.from(this.media.querySelectorAll("source")).filter(e=>{let t=e.getAttribute("type");return!!A.empty(t)||z.mime.call(this,t)}):[]},getQualityOptions(){return this.config.quality.forced?this.config.quality.options:eh.getSources.call(this).map(e=>Number(e.getAttribute("size"))).filter(Boolean)},setup(){if(!this.isHTML5)return;let e=this;e.options.speed=e.config.speed.options,A.empty(this.config.ratio)||ec.call(e),Object.defineProperty(e.media,"quality",{get(){let t=eh.getSources.call(e).find(t=>t.getAttribute("src")===e.source);return t&&Number(t.getAttribute("size"))},set(t){if(e.quality!==t){if(e.config.quality.forced&&A.function(e.config.quality.onChange))e.config.quality.onChange(t);else{let i=eh.getSources.call(e).find(e=>Number(e.getAttribute("size"))===t);if(!i)return;let{currentTime:r,paused:n,preload:a,readyState:s,playbackRate:o}=e.media;e.media.src=i.getAttribute("src"),("none"!==a||s)&&(e.once("loadedmetadata",()=>{e.speed=o,e.currentTime=r,n||ei(e.play())}),e.media.load())}J.call(e,e.media,"qualitychange",!1,{quality:t})}}})},cancelRequests(){this.isHTML5&&(M(eh.getSources.call(this)),this.media.setAttribute("src",this.config.blankVideo),this.media.load(),this.debug.log("Cancelled network requests"))}};function ep(e,...t){return A.empty(e)?e:e.toString().replace(/{(\d+)}/g,(e,i)=>t[i].toString())}let em=(e="",t="",i="")=>e.replace(RegExp(t.toString().replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1"),"g"),i.toString()),ef=(e="")=>e.toString().replace(/\w\S*/g,e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase());function eg(e){let t=document.createElement("div");return t.appendChild(e),t.innerHTML}let eb={pip:"PIP",airplay:"AirPlay",html5:"HTML5",vimeo:"Vimeo",youtube:"YouTube"},ey={get(e="",t={}){if(A.empty(e)||A.empty(t))return"";let i=x(t.i18n,e);return A.empty(i)?Object.keys(eb).includes(e)?eb[e]:"":(Object.entries({"{seektime}":t.seekTime,"{title}":t.title}
1).forEach(([e,t])=>{i=em(i,e,t)}),i)}};class ev{constructor(t){e(this,"get",e=>{if(!ev.supported||!this.enabled)return null;let t=window.localStorage.getItem(this.key);if(A.empty(t))return null;let i=JSON.parse(t);return A.string(e)&&e.length?i[e]:i}),e(this,"set",e=>{if(!ev.supported||!this.enabled||!A.object(e))return;let t=this.get();A.empty(t)&&(t={}),I(t,e);try{window.localStorage.setItem(this.key,JSON.stringify(t))}catch(e){}}),this.enabled=t.config.storage.enabled,this.key=t.config.storage.key}static get supported(){try{if(!("localStorage"in window))return!1;let e="___test";return window.localStorage.setItem(e,e),window.localStorage.removeItem(e),!0}catch(e){return!1}}}function ew(e,t="text"){return new Promise((i,r)=>{try{let r=new XMLHttpRequest;if(!("withCredentials"in r))return;r.addEventListener("load",()=>{if("text"===t)try{i(JSON.parse(r.responseText))}catch(e){i(r.responseText)}else i(r.response)}),r.addEventListener("error",()=>{throw Error(r.status)}),r.open("GET",e,!0),r.responseType=t,r.send()}catch(e){r(e)}})}function eT(e,t){if(!A.string(e))return;let i="cache",r=A.string(t),n=()=>null!==document.getElementById(t),a=(e,t)=>{e.innerHTML=t,r&&n()||document.body.insertAdjacentElement("afterbegin",e)};if(!r||!n()){let n=ev.supported,s=document.createElement("div");if(s.setAttribute("hidden",""),r&&s.setAttribute("id",t),n){let e=window.localStorage.getItem(`${i}-${t}`);null!==e&&a(s,JSON.parse(e).content)}ew(e).then(e=>{if(!A.empty(e)){if(n)try{window.localStorage.setItem(`${i}-${t}`,JSON.stringify({content:e}))}catch(e){}a(s,e)}}).catch(()=>{})}}let eE=e=>Math.trunc(e/60/60%60,10),eD=e=>Math.trunc(e/60%60,10),eS=e=>Math.trunc(e%60,10);function eA(e=0,t=!1,i=!1){if(!A.number(e))return eA(void 0,t,i);let r=e=>`0${e}`.slice(-2),n=eE(e),a=eD(e),s=eS(e);return n=t||n>0?`${n}:`:"",`${i&&e>0?"-":""}${n}${r(a)}:${r(s)}`}let eN={getIconUrl(){let e=new URL(this.config.iconUrl,window.location),t=window.location.host?window.location.host:window.top.location.host,i=e.host!==t||C.isIE&&!window.svg4everybody;return{url:this.config.iconUrl,cors:i}},findElements(){try{return this.elements.controls=$.call(this,this.config.selectors.controls.wrapper),this.elements.buttons={play:F.call(this,this.config.selectors.buttons.play),pause:$.call(this,this.config.selectors.buttons.pause),restart:$.call(this,this.config.selectors.buttons.restart),rewind:$.call(this,this.config.selectors.buttons.rewind),fastForward:$.call(this,this.config.selectors.buttons.fastForward),mute:$.call(this,this.config.selectors.buttons.mute),pip:$.call(this,this.config.selectors.buttons.pip),airplay:$.call(this,this.config.selectors.buttons.airplay),settings:$.call(this,this.config.selectors.buttons.settings),captions:$.call(this,this.config.selectors.buttons.captions),fullscreen:$.call(this,this.config.selectors.buttons.fullscreen)},this.elements.progress=$.call(this,this.config.selectors.progress),this.elements.inputs={seek:$.call(this,this.config.selectors.inputs.seek),volume:$.call(this,this.config.selectors.inputs.volume)},this.elements.display={buffer:$.call(this,this.config.selectors.display.buffer),currentTime:$.call(this,this.config.selectors.display.currentTime),duration:$.call(this,this.config.selectors.display.duration)},A.element(this.elements.progress)&&(this.elements.display.seekTooltip=this.elements.progress.querySelector(`.${this.config.classNames.tooltip}`)),!0}catch(e){return this.debug.warn("It looks like there is a problem with your custom controls HTML",e),this.toggleNativeControls(!0),!1}},createIcon(e,t){let i="http://www.w3.org/2000/svg",r=eN.getIconUrl.call(this),n=`${r.cors?"":r.url}#${this.config.iconPrefix}`,a=document.createElementNS(i,"svg");O(a,I(t,{"aria-hidden":"true",focusable:"false"}));let s=document.createElementNS(i,"use"),o=`${n}-${e}`;return"href"in s&&s.setAttributeNS("http://www.w3.org/1999/xlink","href",o),s.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.appendChild(s),a},createLabel(e,t={}){let i=ey.get(e,this.config);return R("span",{...t,class:[t.class,this.config.classNames.hidden].filter(
1Boolean).join(" ")},i)},createBadge(e){if(A.empty(e))return null;let t=R("span",{class:this.config.classNames.menu.value});return t.appendChild(R("span",{class:this.config.classNames.menu.badge},e)),t},createButton(e,t){let i=I({},t),r=function(e=""){let t=e.toString();return(t=function(e=""){let t=e.toString();return t=em(t,"-"," "),t=ef(t=em(t,"_"," ")),em(t," ","")}(t)).charAt(0).toLowerCase()+t.slice(1)}(e),n={element:"button",toggle:!1,label:null,icon:null,labelPressed:null,iconPressed:null};switch(["element","icon","label"].forEach(e=>{Object.keys(i).includes(e)&&(n[e]=i[e],delete i[e])}),"button"!==n.element||Object.keys(i).includes("type")||(i.type="button"),Object.keys(i).includes("class")?i.class.split(" ").some(e=>e===this.config.classNames.control)||I(i,{class:`${i.class} ${this.config.classNames.control}`}):i.class=this.config.classNames.control,e){case"play":n.toggle=!0,n.label="play",n.labelPressed="pause",n.icon="play",n.iconPressed="pause";break;case"mute":n.toggle=!0,n.label="mute",n.labelPressed="unmute",n.icon="volume",n.iconPressed="muted";break;case"captions":n.toggle=!0,n.label="enableCaptions",n.labelPressed="disableCaptions",n.icon="captions-off",n.iconPressed="captions-on";break;case"fullscreen":n.toggle=!0,n.label="enterFullscreen",n.labelPressed="exitFullscreen",n.icon="enter-fullscreen",n.iconPressed="exit-fullscreen";break;case"play-large":i.class+=` ${this.config.classNames.control}--overlaid`,r="play",n.label="play",n.icon="play";break;default:A.empty(n.label)&&(n.label=r),A.empty(n.icon)&&(n.icon=e)}let a=R(n.element);return n.toggle?(a.appendChild(eN.createIcon.call(this,n.iconPressed,{class:"icon--pressed"})),a.appendChild(eN.createIcon.call(this,n.icon,{class:"icon--not-pressed"})),a.appendChild(eN.createLabel.call(this,n.labelPressed,{class:"label--pressed"})),a.appendChild(eN.createLabel.call(this,n.label,{class:"label--not-pressed"}))):(a.appendChild(eN.createIcon.call(this,n.icon)),a.appendChild(eN.createLabel.call(this,n.label))),I(i,U(this.config.selectors.buttons[r],i)),O(a,i),"play"===r?(A.array(this.elements.buttons[r])||(this.elements.buttons[r]=[]),this.elements.buttons[r].push(a)):this.elements.buttons[r]=a,a},createRange(e,t){let i=R("input",I(U(this.config.selectors.inputs[e]),{type:"range",min:0,max:100,step:.01,value:0,autocomplete:"off",role:"slider","aria-label":ey.get(e,this.config),"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":0},t));return this.elements.inputs[e]=i,eN.updateRangeFill.call(this,i),f.setup(i),i},createProgress(e,t){let i=R("progress",I(U(this.config.selectors.display[e]),{min:0,max:100,value:0,role:"progressbar","aria-hidden":!0},t));if("volume"!==e){i.appendChild(R("span",null,"0"));let t={played:"played",buffer:"buffered"}[e],r=t?ey.get(t,this.config):"";i.innerText=`% ${r.toLowerCase()}`}return this.elements.display[e]=i,i},createTime(e,t){let i=U(this.config.selectors.display[e],t),r=R("div",I(i,{class:`${i.class?i.class:""} ${this.config.classNames.display.time} `.trim(),"aria-label":ey.get(e,this.config),role:"timer"}),"00:00");return this.elements.display[e]=r,r},bindMenuItemShortcuts(e,t){Y.call(this,e,"keydown keyup",i=>{if(![" ","ArrowUp","ArrowDown","ArrowRight"].includes(i.key)||(i.preventDefault(),i.stopPropagation(),"keydown"===i.type))return;let r=j(e,'[role="menuitemradio"]');if(!r&&[" ","ArrowRight"].includes(i.key))eN.showMenuPanel.call(this,t,!0);else{let t;" "!==i.key&&("ArrowDown"===i.key||r&&"ArrowRight"===i.key?(t=e.nextElementSibling,A.element(t)||(t=e.parentNode.firstElementChild)):(t=e.previousElementSibling,A.element(t)||(t=e.parentNode.lastElementChild)),G.call(this,t,!0))}},!1),Y.call(this,e,"keyup",e=>{"Return"===e.key&&eN.focusFirstMenuItem.call(this,null,!0)})},createMenuItem({value:e,list:t,type:i,title:r,badge:n=null,checked:a=!1}){let s=U(this.config.selectors.inputs[i]),o=R("button",I(s,{type:"button",role:"menuitemradio",class:`${this.config.classNames.control} ${s.class?s.class:""}`.trim(),"aria-checked":a,value:e})),l=R("span");l.innerHTML=r,A.element(n)&&l.appendChild(n),o.appendChild(l),Object.defineProperty(o,"checked",{enumerable:!0,get:()=>"true"===o.getAttribute("aria-checked"),set(e){e&&Array.from(o.parentNode.children).filter(e=>
1j(e,'[role="menuitemradio"]')).forEach(e=>e.setAttribute("aria-checked","false")),o.setAttribute("aria-checked",e?"true":"false")}}),this.listeners.bind(o,"click keyup",t=>{if(!A.keyboardEvent(t)||" "===t.key){switch(t.preventDefault(),t.stopPropagation(),o.checked=!0,i){case"language":this.currentTrack=Number(e);break;case"quality":this.quality=e;break;case"speed":this.speed=parseFloat(e)}eN.showMenuPanel.call(this,"home",A.keyboardEvent(t))}},i,!1),eN.bindMenuItemShortcuts.call(this,o,i),t.appendChild(o)},formatTime(e=0,t=!1){return A.number(e)?eA(e,eE(this.duration)>0,t):e},updateTimeDisplay(e=null,t=0,i=!1){A.element(e)&&A.number(t)&&(e.innerText=eN.formatTime(t,i))},updateVolume(){this.supported.ui&&(A.element(this.elements.inputs.volume)&&eN.setRange.call(this,this.elements.inputs.volume,this.muted?0:this.volume),A.element(this.elements.buttons.mute)&&(this.elements.buttons.mute.pressed=this.muted||0===this.volume))},setRange(e,t=0){A.element(e)&&(e.value=t,eN.updateRangeFill.call(this,e))},updateProgress(e){var t,i;if(!this.supported.ui||!A.event(e))return;let r=0;if(e)switch(e.type){case"timeupdate":case"seeking":case"seeked":t=this.currentTime,i=this.duration,r=0===t||0===i||Number.isNaN(t)||Number.isNaN(i)?0:(t/i*100).toFixed(2),"timeupdate"===e.type&&eN.setRange.call(this,this.elements.inputs.seek,r);break;case"playing":case"progress":((e,t)=>{let i=A.number(t)?t:0,r=A.element(e)?e:this.elements.display.buffer;if(A.element(r)){r.value=i;let e=r.getElementsByTagName("span")[0];A.element(e)&&(e.childNodes[0].nodeValue=i)}})(this.elements.display.buffer,100*this.buffered)}},updateRangeFill(e){let t=A.event(e)?e.target:e;if(A.element(t)&&"range"===t.getAttribute("type")){if(j(t,this.config.selectors.inputs.seek)){t.setAttribute("aria-valuenow",this.currentTime);let e=eN.formatTime(this.currentTime),i=eN.formatTime(this.duration),r=ey.get("seekLabel",this.config);t.setAttribute("aria-valuetext",r.replace("{currentTime}",e).replace("{duration}",i))}else if(j(t,this.config.selectors.inputs.volume)){let e=100*t.value;t.setAttribute("aria-valuenow",e),t.setAttribute("aria-valuetext",`${e.toFixed(1)}%`)}else t.setAttribute("aria-valuenow",t.value);(C.isWebKit||C.isIPadOS)&&t.style.setProperty("--value",t.value/t.max*100+"%")}},updateSeekTooltip(e){var t,i;if(!this.config.tooltips.seek||!A.element(this.elements.inputs.seek)||!A.element(this.elements.display.seekTooltip)||0===this.duration)return;let r=this.elements.display.seekTooltip,n=`${this.config.classNames.tooltip}--visible`,a=e=>H(r,n,e);if(this.touch)return void a(!1);let s=0,o=this.elements.progress.getBoundingClientRect();if(A.event(e))s=100/o.width*(e.pageX-o.left);else{if(!V(r,n))return;s=parseFloat(r.style.left,10)}s<0?s=0:s>100&&(s=100);let l=this.duration/100*s;r.innerText=eN.formatTime(l);let u=null===(t=this.config.markers)||void 0===t||null===(i=t.points)||void 0===i?void 0:i.find(({time:e})=>e===Math.round(l));u&&r.insertAdjacentHTML("afterbegin",`${u.label}<br>`),r.style.left=`${s}%`,A.event(e)&&["mouseenter","mouseleave"].includes(e.type)&&a("mouseenter"===e.type)},timeUpdate(e){let t=!A.element(this.elements.display.duration)&&this.config.invertTime;eN.updateTimeDisplay.call(this,this.elements.display.currentTime,t?this.duration-this.currentTime:this.currentTime,t),e&&"timeupdate"===e.type&&this.media.seeking||eN.updateProgress.call(this,e)},durationUpdate(){if(!this.supported.ui||!this.config.invertTime&&this.currentTime)return;if(this.duration>=4294967296)return B(this.elements.display.currentTime,!0),void B(this.elements.progress,!0);A.element(this.elements.inputs.seek)&&this.elements.inputs.seek.setAttribute("aria-valuemax",this.duration);let e=A.element(this.elements.display.duration);!e&&this.config.displayDuration&&this.paused&&eN.updateTimeDisplay.call(this,this.elements.display.currentTime,this.duration),e&&eN.updateTimeDisplay.call(this,this.elements.display.duration,this.duration),this.config.markers.enabled&&eN.setMarkers.call(this),eN.updateSeekTooltip.call(this)},toggleMenuButton(e,t){B(this.elements.settings.buttons[e],!t)},updateSetting(e,t,i){let r=this.elements.settings.panels[e],n=null,a=t;if("captions"===e)n=this.currentTrack;else{if(n=A.empty(i)?this[e]:i,A.empty(n)&&(n=this.config[e].default),!A.empty(this.options[e])&&!this.options[e].includes(n))return void this.debug.warn(`Unsupported value of '${n}' for ${e}`);if(!this.config[e].options.includes(n))return void this.debug.warn(`Disabled value of '${n}' for ${e}`)}if(A.element(a)||(a=r&&r.querySelector('[role="menu"]')),!A.element(a))return;this.elements.settings.buttons[e].querySelector(`.${this.config.classNames.menu.value}`).innerHTML=eN.getLabel.call(this,e,n);let s=a&&a.querySelector(`[value="${n}"]`);A.element(s)&&(s.checked=!0)},getLabel(e,t){switch(e){case"speed":return 1===t?ey.get("normal",this.config):`${t}×`;case"quality":if(A.number(t)){let e=ey.get(`qualityLabel.${t}`,this.config);return e.length?e:`${t}p`}return ef(t);case"captions":return ex.getLabel.call(this);default:return null}},setQualityMenu(e){if(!A.element(this.elements.settings.panels.quality))return;let t="quality",i=this.elements.settings.panels.quality.querySelector('[role="menu"]');A.array(e)&&(this.options.quality=er(e).filter(e=>this.config.quality.options.includes(e)));let r=!A.empty(this.options.quality)&&this.options.quality.length>1;if(eN.toggleMenuButton.call(this,t,r),q(i),eN.checkMenu.call(this),!r)return;let n=e=>{let t=ey.get(`qualityBadge.${e}`,this.config);return t.length?eN.createBadge.call(this,t):null};this.options.quality.sort((e,t)=>
1{let i=this.config.quality.options;return i.indexOf(e)>i.indexOf(t)?1:-1}).forEach(e=>{eN.createMenuItem.call(this,{value:e,list:i,type:t,title:eN.getLabel.call(this,"quality",e),badge:n(e)})}),eN.updateSetting.call(this,t,i)},setCaptionsMenu(){if(!A.element(this.elements.settings.panels.captions))return;let e="captions",t=this.elements.settings.panels.captions.querySelector('[role="menu"]'),i=ex.getTracks.call(this),r=!!i.length;if(eN.toggleMenuButton.call(this,e,r),q(t),eN.checkMenu.call(this),!r)return;let n=i.map((e,i)=>({value:i,checked:this.captions.toggled&&this.currentTrack===i,title:ex.getLabel.call(this,e),badge:e.language&&eN.createBadge.call(this,e.language.toUpperCase()),list:t,type:"language"}));n.unshift({value:-1,checked:!this.captions.toggled,title:ey.get("disabled",this.config),list:t,type:"language"}),n.forEach(eN.createMenuItem.bind(this)),eN.updateSetting.call(this,e,t)},setSpeedMenu(){if(!A.element(this.elements.settings.panels.speed))return;let e="speed",t=this.elements.settings.panels.speed.querySelector('[role="menu"]');this.options.speed=this.options.speed.filter(e=>e>=this.minimumSpeed&&e<=this.maximumSpeed);let i=!A.empty(this.options.speed)&&this.options.speed.length>1;eN.toggleMenuButton.call(this,e,i),q(t),eN.checkMenu.call(this),i&&(this.options.speed.forEach(i=>{eN.createMenuItem.call(this,{value:i,list:t,type:e,title:eN.getLabel.call(this,"speed",i)})}),eN.updateSetting.call(this,e,t))},checkMenu(){let{buttons:e}=this.elements.settings,t=!A.empty(e)&&Object.values(e).some(e=>!e.hidden);B(this.elements.settings.menu,!t)},focusFirstMenuItem(e,t=!1){if(this.elements.settings.popup.hidden)return;let i=e;A.element(i)||(i=Object.values(this.elements.settings.panels).find(e=>!e.hidden));let r=i.querySelector('[role^="menuitem"]');G.call(this,r,t)},toggleMenu(e){let{popup:t}=this.elements.settings,i=this.elements.buttons.settings;if(!A.element(t)||!A.element(i))return;let{hidden:r}=t,n=r;if(A.boolean(e))n=e;else if(A.keyboardEvent(e)&&"Escape"===e.key)n=!1;else if(A.event(e)){let r=A.function(e.composedPath)?e.composedPath()[0]:e.target,a=t.contains(r);if(a||!a&&e.target!==i&&n)return}i.setAttribute("aria-expanded",n),B(t,!n),H(this.elements.container,this.config.classNames.menu.open,n),n&&A.keyboardEvent(e)?eN.focusFirstMenuItem.call(this,null,!0):n||r||G.call(this,i,A.keyboardEvent(e))},getMenuSize(e){let t=e.cloneNode(!0);t.style.position="absolute",t.style.opacity=0,t.removeAttribute("hidden"),e.parentNode.appendChild(t);let i=t.scrollWidth,r=t.scrollHeight;return M(t),{width:i,height:r}},showMenuPanel(e="",t=!1){let i=this.elements.container.querySelector(`#plyr-settings-${this.id}-${e}`);if(!A.element(i))return;let r=i.parentNode,n=Array.from(r.children).find(e=>!e.hidden);if(z.transitions&&!z.reducedMotion){r.style.width=`${n.scrollWidth}px`,r.style.height=`${n.scrollHeight}px`;let e=eN.getMenuSize.call(this,i),t=e=>{e.target===r&&["width","height"].includes(e.propertyName)&&(r.style.width="",r.style.height="",Q.call(this,r,N,t))};Y.call(this,r,N,t),r.style.width=`${e.width}px`,r.style.height=`${e.height}px`}B(n,!0),B(i,!1),eN.focusFirstMenuItem.call(this,i,t)}
1,setDownloadUrl(){let e=this.elements.buttons.download;A.element(e)&&e.setAttribute("href",this.download)},create(e){let{bindMenuItemShortcuts:t,createButton:i,createProgress:r,createRange:n,createTime:a,setQualityMenu:s,setSpeedMenu:o,showMenuPanel:l}=eN;this.elements.controls=null,A.array(this.config.controls)&&this.config.controls.includes("play-large")&&this.elements.container.appendChild(i.call(this,"play-large"));let u=R("div",U(this.config.selectors.controls.wrapper));this.elements.controls=u;let c={class:"plyr__controls__item"};return er(A.array(this.config.controls)?this.config.controls:[]).forEach(s=>{if("restart"===s&&u.appendChild(i.call(this,"restart",c)),"rewind"===s&&u.appendChild(i.call(this,"rewind",c)),"play"===s&&u.appendChild(i.call(this,"play",c)),"fast-forward"===s&&u.appendChild(i.call(this,"fast-forward",c)),"progress"===s){let t=R("div",{class:`${c.class} plyr__progress__container`}),i=R("div",U(this.config.selectors.progress));if(i.appendChild(n.call(this,"seek",{id:`plyr-seek-${e.id}`})),i.appendChild(r.call(this,"buffer")),this.config.tooltips.seek){let e=R("span",{class:this.config.classNames.tooltip},"00:00");i.appendChild(e),this.elements.display.seekTooltip=e}this.elements.progress=i,t.appendChild(this.elements.progress),u.appendChild(t)}if("current-time"===s&&u.appendChild(a.call(this,"currentTime",c)),"duration"===s&&u.appendChild(a.call(this,"duration",c)),"mute"===s||"volume"===s){let{volume:t}=this.elements;if(A.element(t)&&u.contains(t)||(t=R("div",I({},c,{class:`${c.class} plyr__volume`.trim()})),this.elements.volume=t,u.appendChild(t)),"mute"===s&&t.appendChild(i.call(this,"mute")),"volume"===s&&!C.isIos&&!C.isIPadOS){let i={max:1,step:.05,value:this.config.volume};t.appendChild(n.call(this,"volume",I(i,{id:`plyr-volume-${e.id}`})))}}if("captions"===s&&u.appendChild(i.call(this,"captions",c)),"settings"===s&&!A.empty(this.config.settings)){let r=R("div",I({},c,{class:`${c.class} plyr__menu`.trim(),hidden:""}));r.appendChild(i.call(this,"settings",{"aria-haspopup":!0,"aria-controls":`plyr-settings-${e.id}`,"aria-expanded":!1}));let n=R("div",{class:"plyr__menu__container",id:`plyr-settings-${e.id}`,hidden:""}),a=R("div"),s=R("div",{id:`plyr-settings-${e.id}-home`}),o=R("div",{role:"menu"});s.appendChild(o),a.appendChild(s),this.elements.settings.panels.home=s,this.config.settings.forEach(i=>{let r=R("button",I(U(this.config.selectors.buttons.settings),{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--forward`,role:"menuitem","aria-haspopup":!0,hidden:""}));t.call(this,r,i),Y.call(this,r,"click",()=>{l.call(this,i,!1)});let n=R("span",null,ey.get(i,this.config)),s=R("span",{class:this.config.classNames.menu.value});s.innerHTML=e[i],n.appendChild(s),r.appendChild(n),o.appendChild(r);let u=R("div",{id:`plyr-settings-${e.id}-${i}`,hidden:""}),c=R("button",{type:"button",class:`${this.config.classNames.control} ${this.config.classNames.control}--back`});c.appendChild(R("span",{"aria-hidden":!0},ey.get(i,this.config))),c.appendChild(R("span",{class:this.config.classNames.hidden},ey.get("menuBack",this.config))),Y.call(this,u,"keydown",e=>{"ArrowLeft"===e.key&&(e.preventDefault(),e.stopPropagation(),l.call(this,"home",!0))},!1),Y.call(this,c,"click",()=>{l.call(this,"home",!1)}),u.appendChild(c),u.appendChild(R("div",{role:"menu"})),a.appendChild(u),this.elements.settings.buttons[i]=r,this.elements.settings.panels[i]=u}),n.appendChild(a),r.appendChild(n),u.appendChild(r),this.elements.settings.popup=n,this.elements.settings.menu=r}if("pip"===s&&z.pip&&u.appendChild(i.call(this,"pip",c)),"airplay"===s&&z.airplay&&u.appendChild(i.call(this,"airplay",c)),"download"===s){let e=I({},c,{element:"a",href:this.download,target:"_blank"});this.isHTML5&&(e.download="");let{download:t}=this.config.urls;!A.url(t)&&this.isEmbed&&I(e,{icon:`logo-${this.provider}`,label:this.provider}),u.appendChild(i.call(this,"download",e))}"fullscreen"===s&&u.appendChild(i.call(this,"fullscreen",c))}),this.isHTML5&&s.call(this,eh.getQualityOptions.call(this)),o.call(this),u},inject(){let e,t;if(this.config.loadSprite){let e=eN.getIconUrl.call(this);e.cors&&eT(e.url,"sprite-plyr")}this.id=Math.floor(1e4*Math.random());let i=null;this.elements.controls=null;let r={id:this.id,seektime:this.config.seekTime,title:this.config.title},n=!0;
1if(A.function(this.config.controls)&&(this.config.controls=this.config.controls.call(this,r)),this.config.controls||(this.config.controls=[]),A.element(this.config.controls)||A.string(this.config.controls)?i=this.config.controls:(i=eN.create.call(this,{id:this.id,seektime:this.config.seekTime,speed:this.speed,quality:this.quality,captions:ex.getLabel.call(this)}),n=!1),n&&A.string(this.config.controls)&&(t=i,Object.entries(r).forEach(([e,i])=>{t=em(t,`{${e}}`,i)}),i=t),A.string(this.config.selectors.controls.container)&&(e=document.querySelector(this.config.selectors.controls.container)),A.element(e)||(e=this.elements.container),e[A.element(i)?"insertAdjacentElement":"insertAdjacentHTML"]("afterbegin",i),A.element(this.elements.controls)||eN.findElements.call(this),!A.empty(this.elements.buttons)){let e=e=>{let t=this.config.classNames.controlPressed;e.setAttribute("aria-pressed","false"),Object.defineProperty(e,"pressed",{configurable:!0,enumerable:!0,get:()=>V(e,t),set(i=!1){H(e,t,i),e.setAttribute("aria-pressed",i?"true":"false")}})};Object.values(this.elements.buttons).filter(Boolean).forEach(t=>{A.array(t)||A.nodeList(t)?Array.from(t).filter(Boolean).forEach(e):e(t)})}if(C.isEdge&&k(e),this.config.tooltips.controls){let{classNames:e,selectors:t}=this.config,i=`${t.controls.wrapper} ${t.labels} .${e.hidden}`;Array.from(F.call(this,i)).forEach(e=>{H(e,this.config.classNames.hidden,!1),H(e,this.config.classNames.tooltip,!0)})}},setMediaMetadata(){try{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new window.MediaMetadata({title:this.config.mediaMetadata.title,artist:this.config.mediaMetadata.artist,album:this.config.mediaMetadata.album,artwork:this.config.mediaMetadata.artwork}))}catch(e){}},setMarkers(){var e,t;if(!this.duration||this.elements.markers)return;let i=null===(e=this.config.markers)||void 0===e||null===(t=e.points)||void 0===t?void 0:t.filter(({time:e})=>e>0&&e<this.duration);if(null==i||!i.length)return;let r=document.createDocumentFragment(),n=document.createDocumentFragment(),a=null,s=`${this.config.classNames.tooltip}--visible`,o=e=>H(a,s,e);i.forEach(e=>{let t=R("span",{class:this.config.classNames.marker},""),i=e.time/this.duration*100+"%";a&&(t.addEventListener("mouseenter",()=>{e.label||(a.style.left=i,a.innerHTML=e.label,o(!0))}),t.addEventListener("mouseleave",()=>{o(!1)})),t.addEventListener("click",()=>{this.currentTime=e.time}),t.style.left=i,n.appendChild(t)}),r.appendChild(n),this.config.tooltips.seek||(a=R("span",{class:this.config.classNames.tooltip},""),r.appendChild(a)),this.elements.markers={points:n,tip:a},this.elements.progress.appendChild(r)}};function ek(e,t=!0){let i=e;if(t){let e=document.createElement("a");e.href=i,i=e.href}try{return new URL(i)}catch(e){return null}}function eC(e){let t=new URLSearchParams;return A.object(e)&&Object.entries(e).forEach(([e,i])=>{t.set(e,i)}),t}let ex={setup(){var e,t;if(!this.supported.ui)return;if(!this.isVideo||this.isYouTube||this.isHTML5&&!z.textTracks)return void(A.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&eN.setCaptionsMenu.call(this));A.element(this.elements.captions)||(this.elements.captions=R("div",U(this.config.selectors.captions)),this.elements.captions.setAttribute("dir","auto"),e=this.elements.captions,t=this.elements.wrapper,A.element(e)&&A.element(t)&&t.parentNode.insertBefore(e,t.nextSibling)),C.isIE&&window.URL&&Array.from(this.media.querySelectorAll("track")).forEach(e=>{let t=e.getAttribute("src"),i=ek(t);null!==i&&i.hostname!==window.location.href.hostname&&["http:","https:"].includes(i.protocol)&&ew(t,"blob").then(t=>{e.setAttribute("src",window.URL.createObjectURL(t))}).catch(()=>{M(e)})});let i=er((navigator.languages||[navigator.language||navigator.userLanguage||"en"]).map(e=>e.split("-")[0])),r=(this.storage.get("language")||this.config.captions.language||"auto").toLowerCase();"auto"===r&&([r]=i);let n=this.storage.get("captions");if(A.boolean(n)||({active:n}=this.config.captions),Object.assign(this.captions,{toggled:!1,active:n,language:r,languages:i}),this.isHTML5){let e=this.config.captions.update?"addtrack removetrack":"removetrack";Y.call(this,this.media.textTracks,e,ex.update.bind(this))}setTimeout(ex.update.bind(this),0)},update(){let e=ex.getTracks.call(this,!0),{active:t,language:i,meta:r,currentTrackNode:n}=this.captions,a=!!e.find(e=>e.language===i);this.isHTML5&&this.isVideo&&e.filter(e=>
1!r.get(e)).forEach(e=>{this.debug.log("Track added",e),r.set(e,{default:"showing"===e.mode}),"showing"===e.mode&&(e.mode="hidden"),Y.call(this,e,"cuechange",()=>ex.updateCues.call(this))}),(a&&this.language!==i||!e.includes(n))&&(ex.setLanguage.call(this,i),ex.toggle.call(this,t&&a)),this.elements&&H(this.elements.container,this.config.classNames.captions.enabled,!A.empty(e)),A.array(this.config.controls)&&this.config.controls.includes("settings")&&this.config.settings.includes("captions")&&eN.setCaptionsMenu.call(this)},toggle(e,t=!0){if(!this.supported.ui)return;let{toggled:i}=this.captions,r=this.config.classNames.captions.active,n=A.nullOrUndefined(e)?!i:e;if(n!==i){if(t||(this.captions.active=n,this.storage.set({captions:n})),!this.language&&n&&!t){let e=ex.getTracks.call(this),t=ex.findTrack.call(this,[this.captions.language,...this.captions.languages],!0);return this.captions.language=t.language,void ex.set.call(this,e.indexOf(t))}this.elements.buttons.captions&&(this.elements.buttons.captions.pressed=n),H(this.elements.container,r,n),this.captions.toggled=n,eN.updateSetting.call(this,"captions"),J.call(this,this.media,n?"captionsenabled":"captionsdisabled")}setTimeout(()=>{n&&this.captions.toggled&&(this.captions.currentTrackNode.mode="hidden")})},set(e,t=!0){let i=ex.getTracks.call(this);if(-1!==e){if(A.number(e)){if(e in i){if(this.captions.currentTrack!==e){this.captions.currentTrack=e;let r=i[e],{language:n}=r||{};this.captions.currentTrackNode=r,eN.updateSetting.call(this,"captions"),t||(this.captions.language=n,this.storage.set({language:n})),this.isVimeo&&this.embed.enableTextTrack(n),J.call(this,this.media,"languagechange")}ex.toggle.call(this,!0,t),this.isHTML5&&this.isVideo&&ex.updateCues.call(this)}else this.debug.warn("Track not found",e)}else this.debug.warn("Invalid caption argument",e)}else ex.toggle.call(this,!1,t)},setLanguage(e,t=!0){if(!A.string(e))return void this.debug.warn("Invalid language argument",e);let i=e.toLowerCase();this.captions.language=i;let r=ex.getTracks.call(this),n=ex.findTrack.call(this,[i]);ex.set.call(this,r.indexOf(n),t)},getTracks(e=!1){return Array.from((this.media||{}).textTracks||[]).filter(t=>!this.isHTML5||e||this.captions.meta.has(t)).filter(e=>["captions","subtitles"].includes(e.kind))},findTrack(e,t=!1){let i;let r=ex.getTracks.call(this),n=e=>Number((this.captions.meta.get(e)||{}).default),a=Array.from(r).sort((e,t)=>n(t)-n(e));return e.every(e=>!(i=a.find(t=>t.language===e))),i||(t?a[0]:void 0)},getCurrentTrack(){return ex.getTracks.call(this)[this.currentTrack]},getLabel(e){let t=e;return!A.track(t)&&z.textTracks&&this.captions.toggled&&(t=ex.getCurrentTrack.call(this)),A.track(t)?A.empty(t.label)?A.empty(t.language)?ey.get("enabled",this.config):e.language.toUpperCase():t.label:ey.get("disabled",this.config)},updateCues(e){if(!this.supported.ui)return;if(!A.element(this.elements.captions))return void this.debug.warn("No captions element to render to");if(!A.nullOrUndefined(e)&&!Array.isArray(e))return void this.debug.warn("updateCues: Invalid input",e);let t=e;t||(t=Array.from((ex.getCurrentTrack.call(this)||{}).activeCues||[]).map(e=>e.getCueAsHTML()).map(eg));let i=t.map(e=>e.trim()).join("\n");if(i!==this.elements.captions.innerHTML){q(this.elements.captions);let e=R("span",U(this.config.selectors.caption));e.innerHTML=i,this.elements.captions.appendChild(e),J.call(this,this.media,"cuechange")}}},eI={enabled:!0,title:"",debug:!1,autoplay:!1,autopause:!0,playsinline:!0,seekTime:10,volume:1,muted:!1,duration:null,displayDuration:!0,invertTime:!0,toggleInvert:!0,ratio:null,clickToPlay:!0,hideControls:!0,resetOnEnd:!1,disableContextMenu:!0,loadSprite:!0,iconPrefix:"plyr",iconUrl:"https://cdn.plyr.io/3.7.8/plyr.svg",blankVideo:"https://cdn.plyr.io/static/blank.mp4",quality:{default:576,options:[4320,2880,2160,1440,1080,720,576,480,360,240],forced:!1,onChange:null},loop:{active:!1},speed:{selected:1,options:[.5,.75,1,1.25,1.5,1.75,2,4]},keyboard:{focused:!0,global:!1},tooltips:{controls:!1,seek:!0},captions:{active:!1,language:"auto",update:!1},fullscreen:{enabled:!0,fallback:!0,iosNative:!1},storage:{enabled:!0,key:"plyr"},controls:["play-large","play","progress","current-time","mute","volume","captions","settings","pip","airplay","fullscreen"],settings:["captions","quality","speed"],i18n:{restart:"Restart",rewind:"Rewind {seektime}s",play:"Play",pause:"Pause",fastForward:"Forward {seektime}s",seek:"Seek",seekLabel:"{currentTime} of {duration}",played:"Played",buffered:"Buffered",currentTime:"Current time",duration:"Duration",volume:"Volume",mute:"Mute",unmute:"Unmute",enableCaptions:"Enable captions",disableCaptions:"Disable captions",download:"Download",enterFullscreen:"Enter fullscreen",exitFullscreen:"Exit fullscreen",frameTitle:"Player for {title}",captions:"Captions",settings:"Settings",pip:"PIP",menuBack:"Go back to previous menu",speed:"Speed",normal:"Normal",quality:"Quality",loop:"Loop",start:"Start",end:"End",all:"All",reset:"Reset",disabled:"Disabled",enabled:"Enabled",advertisement:"Ad",qualityBadge:{2160:"4K",1440:"HD",1080:"HD",720:"HD",576:"SD",480:"S
1D"}},urls:{download:null,vimeo:{sdk:"https://player.vimeo.com/api/player.js",iframe:"https://player.vimeo.com/video/{0}?{1}",api:"https://vimeo.com/api/oembed.json?url={0}"},youtube:{sdk:"https://www.youtube.com/iframe_api",api:"https://noembed.com/embed?url=https://www.youtube.com/watch?v={0}"},googleIMA:{sdk:"https://imasdk.googleapis.com/js/sdkloader/ima3.js"}},listeners:{seek:null,play:null,pause:null,restart:null,rewind:null,fastForward:null,mute:null,volume:null,captions:null,download:null,fullscreen:null,pip:null,airplay:null,speed:null,quality:null,loop:null,language:null},events:["ended","progress","stalled","playing","waiting","canplay","canplaythrough","loadstart","loadeddata","loadedmetadata","timeupdate","volumechange","play","pause","error","seeking","seeked","emptied","ratechange","cuechange","download","enterfullscreen","exitfullscreen","captionsenabled","captionsdisabled","languagechange","controlshidden","controlsshown","ready","statechange","qualitychange","adsloaded","adscontentpause","adscontentresume","adstarted","adsmidpoint","adscomplete","adsallcomplete","adsimpression","adsclick"],selectors:{editable:"input, textarea, select, [contenteditable]",container:".plyr",controls:{container:null,wrapper:".plyr__controls"},labels:"[data-plyr]",buttons:{play:'[data-plyr="play"]',pause:'[data-plyr="pause"]',restart:'[data-plyr="restart"]',rewind:'[data-plyr="rewind"]',fastForward:'[data-plyr="fast-forward"]',mute:'[data-plyr="mute"]',captions:'[data-plyr="captions"]',download:'[data-plyr="download"]',fullscreen:'[data-plyr="fullscreen"]',pip:'[data-plyr="pip"]',airplay:'[data-plyr="airplay"]',settings:'[data-plyr="settings"]',loop:'[data-plyr="loop"]'},inputs:{seek:'[data-plyr="seek"]',volume:'[data-plyr="volume"]',speed:'[data-plyr="speed"]',language:'[data-plyr="language"]',quality:'[data-plyr="quality"]'},display:{currentTime:".plyr__time--current",duration:".plyr__time--duration",buffer:".plyr__progress__buffer",loop:".plyr__progress__loop",volume:".plyr__volume--display"},progress:".plyr__progress",captions:".plyr__captions",caption:".plyr__caption"},classNames:{type:"plyr--{0}",provider:"plyr--{0}",video:"plyr__video-wrapper",embed:"plyr__video-embed",videoFixedRatio:"plyr__video-wrapper--fixed-ratio",embedContainer:"plyr__video-embed__container",poster:"plyr__poster",posterEnabled:"plyr__poster-enabled",ads:"plyr__ads",control:"plyr__control",controlPressed:"plyr__control--pressed",playing:"plyr--playing",paused:"plyr--paused",stopped:"plyr--stopped",loading:"plyr--loading",hover:"plyr--hover",tooltip:"plyr__tooltip",cues:"plyr__cues",marker:"plyr__progress__marker",hidden:"plyr__sr-only",hideControls:"plyr--hide-controls",isTouch:"plyr--is-touch",uiSupported:"plyr--full-ui",noTransition:"plyr--no-transition",display:{time:"plyr__time"},menu:{value:"plyr__menu__value",badge:"plyr__badge",open:"plyr--menu-open"},captions:{enabled:"plyr--captions-enabled",active:"plyr--captions-active"},fullscreen:{enabled:"plyr--fullscreen-enabled",fallback:"plyr--fullscreen-fallback"},pip:{supported:"plyr--pip-supported",active:"plyr--pip-active"},airplay:{supported:"plyr--airplay-supported",active:"plyr--airplay-active"},previewThumbnails:{thumbContainer:"plyr__preview-thumb",thumbContainerShown:"plyr__preview-thumb--is-shown",imageContainer:"plyr__preview-thumb__image-container",timeContainer:"plyr__preview-thumb__time-container",scrubbingContainer:"plyr__preview-scrubbing",scrubbingContainerShown:"plyr__preview-scrubbing--is-shown"}},attributes:{embed:{provider:"data-plyr-provider",id:"data-plyr-embed-id",hash:"data-plyr-embed-hash"}},ads:{enabled:!1,publisherId:"",tagUrl:""},previewThumbnails:{enabled:!1,src:""},vimeo:{byline:!1,portrait:!1,title:!1,speed:!0,transparent:!1,customControls:!0,referrerPolicy:null,premium:!1},youtube:{rel:0,showinfo:0,iv_load_policy:3,modestbranding:1,customControls:!0,noCookie:!1},mediaMetadata:{title:"",artist:"",album:"",artwork:[]},markers:{enabled:!1,points:[]}},eL="picture-in-picture",eO={html5:"html5",youtube:"youtube",vimeo:"vimeo"},eR="video",eP=()=>{};class eM{constructor(e=!1){this.enabled=window.console&&e,this.enabled&&this.log("Debugging enabled")}get log(){return this.enabled?Function.prototype.bind.call(console.log,console):eP}get warn(){return this.enabled?Function.prototype.bind.call(console.warn,console):eP}get error(){return this.enabled?Function.prototype.bind.call(console.error,console):eP}}class eq{constructor(t){e(this,"onChange",()=>{if(!this.supported)return;let e=this.player.elements.buttons.fullscreen;A.element(e)&&(e.pressed=this.active);let t=this.target===this.player.media?this.target:this.player.elements.container;J.call(this.player,t,this.active?"enterfullscreen":"exitfullscreen",!0)}),e(this,"toggleFallback",(e=!1)=>
vendor: 4,435 bytes, line 1
1{if(e?this.scrollPosition={x:window.scrollX??0,y:window.scrollY??0}:window.scrollTo(this.scrollPosition.x,this.scrollPosition.y),document.body.style.overflow=e?"hidden":"",H(this.target,this.player.config.classNames.fullscreen.fallback,e),C.isIos){let t=document.head.querySelector('meta[name="viewport"]'),i="viewport-fit=cover";t||(t=document.createElement("meta")).setAttribute("name","viewport");let r=A.string(t.content)&&t.content.includes(i);e?(this.cleanupViewport=!r,r||(t.content+=`,${i}`)):this.cleanupViewport&&(t.content=t.content.split(",").filter(e=>e.trim()!==i).join(","))}this.onChange()}),e(this,"trapFocus",e=>{if(C.isIos||C.isIPadOS||!this.active||"Tab"!==e.key)return;let t=document.activeElement,i=F.call(this.player,"a[href], button:not(:disabled), input:not(:disabled), [tabindex]"),[r]=i,n=i[i.length-1];t!==n||e.shiftKey?t===r&&e.shiftKey&&(n.focus(),e.preventDefault()):(r.focus(),e.preventDefault())}),e(this,"update",()=>{if(this.supported){let e;e=this.forceFallback?"Fallback (forced)":eq.nativeSupported?"Native":"Fallback",this.player.debug.log(`${e} fullscreen enabled`)}else this.player.debug.log("Fullscreen not supported and fallback disabled");H(this.player.elements.container,this.player.config.classNames.fullscreen.enabled,this.supported)}),e(this,"enter",()=>{this.supported&&(C.isIos&&this.player.config.fullscreen.iosNative?this.player.isVimeo?this.player.embed.requestFullscreen():this.target.webkitEnterFullscreen():!eq.nativeSupported||this.forceFallback?this.toggleFallback(!0):this.prefix?A.empty(this.prefix)||this.target[`${this.prefix}Request${this.property}`]():this.target.requestFullscreen({navigationUI:"hide"}))}),e(this,"exit",()=>{if(this.supported){if(C.isIos&&this.player.config.fullscreen.iosNative)this.player.isVimeo?this.player.embed.exitFullscreen():this.target.webkitEnterFullscreen(),ei(this.player.play());else if(!eq.nativeSupported||this.forceFallback)this.toggleFallback(!1);else if(this.prefix){if(!A.empty(this.prefix)){let e="moz"===this.prefix?"Cancel":"Exit";document[`${this.prefix}${e}${this.property}`]()}}else(document.cancelFullScreen||document.exitFullscreen).call(document)}}),e(this,"toggle",()=>{this.active?this.exit():this.enter()}),this.player=t,this.prefix=eq.prefix,this.property=eq.property,this.scrollPosition={x:0,y:0},this.forceFallback="force"===t.config.fullscreen.fallback,this.player.elements.fullscreen=t.config.fullscreen.container&&function(e,t){let{prototype:i}=Element;return(i.closest||function(){let e=this;do{if(j.matches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}).call(e,t)}(this.player.elements.container,t.config.fullscreen.container),Y.call(this.player,document,"ms"===this.prefix?"MSFullscreenChange":`${this.prefix}fullscreenchange`,()=>{this.onChange()}),Y.call(this.player,this.player.elements.container,"dblclick",e=>{A.element(this.player.elements.controls)&&this.player.elements.controls.contains(e.target)||this.player.listeners.proxy(e,this.toggle,"fullscreen")}),Y.call(this,this.player.elements.container,"keydown",e=>this.trapFocus(e)),this.update()}static get nativeSupported(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}get useNative(){return eq.nativeSupported&&!this.forceFallback}static get prefix(){if(A.function(document.exitFullscreen))return"";let e="";return["webkit","moz","ms"].some(t=>!(!A.function(document[`${t}ExitFullscreen`])&&!A.function(document[`${t}CancelFullScreen`]))&&(e=t,!0)),e}static get property(){return"moz"===this.prefix?"FullScreen":"Fullscreen"}get supported(){return[this.player.config.fullscreen.enabled,this.player.isVideo,eq.nativeSupported||this.player.config.fullscreen.fallback,!this.player.isYouTube||eq.nativeSupported||!C.isIos||this.player.config.playsinline&&!this.player.config.fullscreen.iosNative].every(Boolean)}get active(){if(!this.supported)return!1;if(!eq.nativeSupported||this.forceFallback)return V(this.target,this.player.config.classNames.fullscreen.fallback);let e=this.prefix?this.target.getRootNode()[`${this.prefix}${this.property}Element`]:this.target.getRootNode().fullscreenElement;return e&&e.shadowRoot?e===this.target.getRootNode().host:e===this.target}get target(){return C.isIos&&this.player.config.fullscreen.iosNative?this.player.media:this.player.elements.fullscreen??this.player.elements.container}}
1function e_(e,t=1){return new Promise((i,r)=>{let n=new Image,a=()=>{delete n.onload,delete n.onerror,(n.naturalWidth>=t?i:r)(n)};Object.assign(n,{onload:a,onerror:a,src:e})})}let eU={addStyleHook(){H(this.elements.container,this.config.selectors.container.replace(".",""),!0),H(this.elements.container,this.config.classNames.uiSupported,this.supported.ui)},toggleNativeControls(e=!1){e&&this.isHTML5?this.media.setAttribute("controls",""):this.media.removeAttribute("controls")},build(){if(this.listeners.media(),!this.supported.ui)return this.debug.warn(`Basic support only for ${this.provider} ${this.type}`),void eU.toggleNativeControls.call(this,!0);A.element(this.elements.controls)||(eN.inject.call(this),this.listeners.controls()),eU.toggleNativeControls.call(this),this.isHTML5&&ex.setup.call(this),this.volume=null,this.muted=null,this.loop=null,this.quality=null,this.speed=null,eN.updateVolume.call(this),eN.timeUpdate.call(this),eN.durationUpdate.call(this),eU.checkPlaying.call(this),H(this.elements.container,this.config.classNames.pip.supported,z.pip&&this.isHTML5&&this.isVideo),H(this.elements.container,this.config.classNames.airplay.supported,z.airplay&&this.isHTML5),H(this.elements.container,this.config.classNames.isTouch,this.touch),this.ready=!0,setTimeout(()=>{J.call(this,this.media,"ready")},0),eU.setTitle.call(this),this.poster&&eU.setPoster.call(this,this.poster,!1).catch(()=>{}),this.config.duration&&eN.durationUpdate.call(this),this.config.mediaMetadata&&eN.setMediaMetadata.call(this)},setTitle(){let e=ey.get("play",this.config);if(A.string(this.config.title)&&!A.empty(this.config.title)&&(e+=`, ${this.config.title}`),Array.from(this.elements.buttons.play||[]).forEach(t=>{t.setAttribute("aria-label",e)}),this.isEmbed){let e=$.call(this,"iframe");if(!A.element(e))return;let t=A.empty(this.config.title)?"video":this.config.title,i=ey.get("frameTitle",this.config);e.setAttribute("title",i.replace("{title}",t))}},togglePoster(e){H(this.elements.container,this.config.classNames.posterEnabled,e)},setPoster(e,t=!0){return t&&this.poster?Promise.reject(Error("Poster already set")):(this.media.setAttribute("data-poster",e),this.elements.poster.removeAttribute("hidden"),et.call(this).then(()=>e_(e)).catch(t=>{throw e===this.poster&&eU.togglePoster.call(this,!1),t}).then(()=>{if(e!==this.poster)throw Error("setPoster cancelled by later call to setPoster")}).then(()=>(Object.assign(this.elements.poster.style,{backgroundImage:`url('${e}')`,backgroundSize:""}),eU.togglePoster.call(this,!0),e)))},checkPlaying(e){H(this.elements.container,this.config.classNames.playing,this.playing),H(this.elements.container,this.config.classNames.paused,this.paused),H(this.elements.container,this.config.classNames.stopped,this.stopped),Array.from(this.elements.buttons.play||[]).forEach(e=>{Object.assign(e,{pressed:this.playing}),e.setAttribute("aria-label",ey.get(this.playing?"pause":"play",this.config))}),A.event(e)&&"timeupdate"===e.type||eU.toggleControls.call(this)},checkLoading(e){this.loading=["stalled","waiting"].includes(e.type),clearTimeout(this.timers.loading),this.timers.loading=setTimeout(()=>{H(this.elements.container,this.config.classNames.loading,this.loading),eU.toggleControls.call(this)},this.loading?250:0)},toggleControls(e){let{controls:t}=this.elements;if(t&&this.config.hideControls){let i=this.touch&&this.lastSeekTime+2e3>Date.now();this.toggleControls(!!(e||this.loading||this.paused||t.pressed||t.hover||i))}},migrateStyles(){Object.values({...this.media.style}).filter(e=>!A.empty(e)&&A.string(e)&&e.startsWith("--plyr")).forEach(e=>{this.elements.container.style.setProperty(e,this.media.style.getPropertyValue(e)),this.media.style.removeProperty(e)}),A.empty(this.media.style)&&this.media.removeAttribute("style")}};class eB{constructor(t){e(this,"firstTouch",()=>{let{player:e}=this,{elements:t}=e;e.touch=!0,H(t.container,e.config.classNames.isTouch,!0)}),e(this,"global",(e=!0)=>{let{player:t}=this;t.config.keyboard.global&&W.call(t,window,"keydown keyup",this.handleKey,e,!1),W.call(t,document.body,"click",this.toggleMenu,e),Z.call(t,document.body,"touchstart",this.firstTouch)}),e(this,"container",()=>{let{player:e}=this,{config:t,elements:i,timers:r}=e;!t.keyboard.global&&t.keyboard.focused&&Y.call(e,i.container,"keydown keyup",this.handleKey,!1),Y.call(e,i.container,"mousemove mouseleave touchstart touchmove enterfullscreen exitfullscreen",t=>{let{controls:n}=i;n&&"enterfullscreen"===t.type&&(n.pressed=!1,n.hover=!1);let a=0;["touchstart","touchmove","mousemove"].includes(t.type)&&(eU.toggleControls.call(e,!0),a=e.touch?3e3:2e3),clearTimeout(r.controls),r.controls=setTimeout(()=>eU.toggleControls.call(e,!1),a)});let n=()=>
1{if(!e.isVimeo||e.config.vimeo.premium)return;let t=i.wrapper,{active:r}=e.fullscreen,[n,a]=eu.call(e),s=ea(`aspect-ratio: ${n} / ${a}`);if(!r)return void(s?(t.style.width=null,t.style.height=null):(t.style.maxWidth=null,t.style.margin=null));let[o,l]=[Math.max(document.documentElement.clientWidth||0,window.innerWidth||0),Math.max(document.documentElement.clientHeight||0,window.innerHeight||0)],u=o/l>n/a;s?(t.style.width=u?"auto":"100%",t.style.height=u?"100%":"auto"):(t.style.maxWidth=u?l/a*n+"px":null,t.style.margin=u?"0 auto":null)},a=()=>{clearTimeout(r.resized),r.resized=setTimeout(n,50)};Y.call(e,i.container,"enterfullscreen exitfullscreen",t=>{let{target:r}=e.fullscreen;r===i.container&&(!e.isEmbed&&A.empty(e.config.ratio)||(n(),("enterfullscreen"===t.type?Y:Q).call(e,window,"resize",a)))})}),e(this,"media",()=>{let{player:e}=this,{elements:t}=e;if(Y.call(e,e.media,"timeupdate seeking seeked",t=>eN.timeUpdate.call(e,t)),Y.call(e,e.media,"durationchange loadeddata loadedmetadata",t=>eN.durationUpdate.call(e,t)),Y.call(e,e.media,"ended",()=>{e.isHTML5&&e.isVideo&&e.config.resetOnEnd&&(e.restart(),e.pause())}),Y.call(e,e.media,"progress playing seeking seeked",t=>eN.updateProgress.call(e,t)),Y.call(e,e.media,"volumechange",t=>eN.updateVolume.call(e,t)),Y.call(e,e.media,"playing play pause ended emptied timeupdate",t=>eU.checkPlaying.call(e,t)),Y.call(e,e.media,"waiting canplay seeked playing",t=>eU.checkLoading.call(e,t)),e.supported.ui&&e.config.clickToPlay&&!e.isAudio){let i=$.call(e,`.${e.config.classNames.video}`);
1if(!A.element(i))return;Y.call(e,t.container,"click",r=>{([t.container,i].includes(r.target)||i.contains(r.target))&&(e.touch&&e.config.hideControls||(e.ended?(this.proxy(r,e.restart,"restart"),this.proxy(r,()=>{ei(e.play())},"play")):this.proxy(r,()=>{ei(e.togglePlay())},"play")))})}e.supported.ui&&e.config.disableContextMenu&&Y.call(e,t.wrapper,"contextmenu",e=>{e.preventDefault()},!1),Y.call(e,e.media,"volumechange",()=>{e.storage.set({volume:e.volume,muted:e.muted})}),Y.call(e,e.media,"ratechange",()=>{eN.updateSetting.call(e,"speed"),e.storage.set({speed:e.speed})}),Y.call(e,e.media,"qualitychange",t=>{eN.updateSetting.call(e,"quality",null,t.detail.quality)}),Y.call(e,e.media,"ready qualitychange",()=>{eN.setDownloadUrl.call(e)});let i=e.config.events.concat(["keyup","keydown"]).join(" ");Y.call(e,e.media,i,i=>{let{detail:r={}}=i;"error"===i.type&&(r=e.media.error),J.call(e,t.container,i.type,!0,r)})}),e(this,"proxy",(e,t,i)=>{let{player:r}=this,n=r.config.listeners[i],a=!0;A.function(n)&&(a=n.call(r,e)),!1!==a&&A.function(t)&&t.call(r,e)}),e(this,"bind",(e,t,i,r,n=!0)=>{let{player:a}=this,s=a.config.listeners[r],o=A.function(s);Y.call(a,e,t,e=>this.proxy(e,i,r),n&&!o)}),e(this,"controls",()=>{let{player:e}=this,{elements:t}=e,i=C.isIE?"change":"input";t.buttons.play&&Array.from(t.buttons.play).forEach(t=>{this.bind(t,"click",()=>{ei(e.togglePlay())},"play")}),this.bind(t.buttons.restart,"click",e.restart,"restart"),this.bind(t.buttons.rewind,"click",()=>{e.lastSeekTime=Date.now(),e.rewind()},"rewind"),this.bind(t.buttons.fastForward,"click",()=>{e.lastSeekTime=Date.now(),e.forward()},"fastForward"),this.bind(t.buttons.mute,"click",()=>{e.muted=!e.muted},"mute"),this.bind(t.buttons.captions,"click",()=>e.toggleCaptions()),this.bind(t.buttons.download,"click",()=>{J.call(e,e.media,"download")},"download"),this.bind(t.buttons.fullscreen,"click",()=>{e.fullscreen.toggle()},"fullscreen"),this.bind(t.buttons.pip,"click",()=>{e.pip="toggle"},"pip"),this.bind(t.buttons.airplay,"click",e.airplay,"airplay"),this.bind(t.buttons.settings,"click",t=>{t.stopPropagation(),t.preventDefault(),eN.toggleMenu.call(e,t)}
1,null,!1),this.bind(t.buttons.settings,"keyup",t=>{[" ","Enter"].includes(t.key)&&("Enter"!==t.key?(t.preventDefault(),t.stopPropagation(),eN.toggleMenu.call(e,t)):eN.focusFirstMenuItem.call(e,null,!0))},null,!1),this.bind(t.settings.menu,"keydown",t=>{"Escape"===t.key&&eN.toggleMenu.call(e,t)}),this.bind(t.inputs.seek,"mousedown mousemove",e=>{let i=t.progress.getBoundingClientRect(),r=100/i.width*(e.pageX-i.left);e.currentTarget.setAttribute("seek-value",r)}),this.bind(t.inputs.seek,"mousedown mouseup keydown keyup touchstart touchend",t=>{let i=t.currentTarget,r="play-on-seeked";if(A.keyboardEvent(t)&&!["ArrowLeft","ArrowRight"].includes(t.key))return;e.lastSeekTime=Date.now();let n=i.hasAttribute(r),a=["mouseup","touchend","keyup"].includes(t.type);n&&a?(i.removeAttribute(r),ei(e.play())):!a&&e.playing&&(i.setAttribute(r,""),e.pause())}),C.isIos&&Array.from(F.call(e,'input[type="range"]')).forEach(e=>this.bind(e,i,e=>k(e.target))),this.bind(t.inputs.seek,i,t=>{let i=t.currentTarget,r=i.getAttribute("seek-value");A.empty(r)&&(r=i.value),i.removeAttribute("seek-value"),e.currentTime=r/i.max*e.duration},"seek"),this.bind(t.progress,"mouseenter mouseleave mousemove",t=>eN.updateSeekTooltip.call(e,t)),this.bind(t.progress,"mousemove touchmove",t=>{let{previewThumbnails:i}=e;i&&i.loaded&&i.startMove(t)}),this.bind(t.progress,"mouseleave touchend click",()=>{let{previewThumbnails:t}=e;t&&t.loaded&&t.endMove(!1,!0)}),this.bind(t.progress,"mousedown touchstart",t=>{let{previewThumbnails:i}=e;i&&i.loaded&&i.startScrubbing(t)}),this.bind(t.progress,"mouseup touchend",t=>{let{previewThumbnails:i}=e;i&&i.loaded&&i.endScrubbing(t)}),C.isWebKit&&Array.from(F.call(e,'input[type="range"]')).forEach(t=>{this.bind(t,"input",t=>eN.updateRangeFill.call(e,t.target))}),e.config.toggleInvert&&!A.element(t.display.duration)&&this.bind(t.display.currentTime,"click",()=>{0!==e.currentTime&&(e.config.invertTime=!e.config.invertTime,eN.timeUpdate.call(e))}),this.bind(t.inputs.volume,i,t=>{e.volume=t.target.value},"volume"),this.bind(t.controls,"mouseenter mouseleave",i=>{t.controls.hover=!e.touch&&"mouseenter"===i.type}),t.fullscreen&&Array.from(t.fullscreen.children).filter(e=>
1!e.contains(t.container)).forEach(i=>{this.bind(i,"mouseenter mouseleave",i=>{t.controls&&(t.controls.hover=!e.touch&&"mouseenter"===i.type)})}),this.bind(t.controls,"mousedown mouseup touchstart touchend touchcancel",e=>{t.controls.pressed=["mousedown","touchstart"].includes(e.type)}),this.bind(t.controls,"focusin",()=>{let{config:i,timers:r}=e;H(t.controls,i.classNames.noTransition,!0),eU.toggleControls.call(e,!0),setTimeout(()=>{H(t.controls,i.classNames.noTransition,!1)},0);let n=this.touch?3e3:4e3;clearTimeout(r.controls),r.controls=setTimeout(()=>eU.toggleControls.call(e,!1),n)}),this.bind(t.inputs.volume,"wheel",t=>{let i=t.webkitDirectionInvertedFromDevice,[r,n]=[t.deltaX,-t.deltaY].map(e=>i?-e:e),a=Math.sign(Math.abs(r)>Math.abs(n)?r:n);e.increaseVolume(a/50);let{volume:s}=e.media;(1===a&&s<1||-1===a&&s>0)&&t.preventDefault()},"volume",!1)}),this.player=t,this.lastKey=null,this.focusTimer=null,this.lastKeyDown=null,this.handleKey=this.handleKey.bind(this),this.toggleMenu=this.toggleMenu.bind(this),this.firstTouch=this.firstTouch.bind(this)}handleKey(e){var t;let{player:i}=this,{elements:r}=i,{key:n,type:a,altKey:s,ctrlKey:o,metaKey:l,shiftKey:u}=e,c="keydown"===a,d=c&&n===this.lastKey;if(!s&&!o&&!l&&!u&&n){if(c){let a=document.activeElement;if(A.element(a)){let{editable:t}=i.config.selectors,{seek:n}=r.inputs;if(a!==n&&j(a,t)||" "===e.key&&j(a,'button, [role^="menuitem"]'))return}switch([" ","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","0","1","2","3","4","5","6","7","8","9","c","f","k","l","m"].includes(n)&&(e.preventDefault(),e.stopPropagation()),n){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":d||(t=parseInt(n,10),i.currentTime=i.duration/10*t);break;case" ":case"k":d||ei(i.togglePlay());break;case"ArrowUp":i.increaseVolume(.1);break;case"ArrowDown":i.decreaseVolume(.1);break;case"m":d||(i.muted=!i.muted);break;case"ArrowRight":i.forward();break;case"ArrowLeft":i.rewind();break;case"f":i.fullscreen.toggle();break;case"c":d||i.toggleCaptions();break;case"l":i.loop=!i.loop}"Escape"===n&&!i.fullscreen.usingNative&&i.fullscreen.active&&i.fullscreen.toggle(),this.lastKey=n}else this.lastKey=null}}toggleMenu(e){eN.toggleMenu.call(this.player,e)}}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self&&self;var eH=(a=o={exports:{}},o.exports,a.exports=function(){var e=function(){},t={},i={},r={};function n(e,t){if(e){var n=r[e];if(i[e]=t,n)for(;n.length;)n[0](e,t),n.splice(0,1)}}function a(t,i){t.call&&(t={success:t}),i.length?(t.error||e)(i):(t.success||e)(t)}function s(i,r,s){var o,l;if(r&&r.trim&&(o=r),l=(o?s:r)||{},o){if(o in t)throw"LoadJS";t[o]=!0}function u(t,r){!function(t,i,r){var n,a,s=(t=t.push?t:[t]).length,o=s,l=[];for(n=function(e,t,r){if("e"==t&&l.push(e),"b"==t){if(!r)return;l.push(e)}--s||i(l)},a=0;a<o;a++)!function t(i,r,n,a){var s,o,l=document,u=n.async,c=(n.numRetries||0)+1,d=n.before||e,h=i.replace(/[\?|#].*$/,""),p=i.replace(/^(css|img)!/,"");a=a||0,/(^css!|\.css$)/.test(h)?((o=l.createElement("link")).rel="stylesheet",o.href=p,(s="hideFocus"in o)&&o.relList&&(s=0,o.rel="preload",o.as="style")):/(^img!|\.(png|gif|jpg|svg|webp)$)/.test(h)?(o=l.createElement("img")).src=p:((o=l.createElement("script")).src=i,o.async=void 0===u||u),o.onload=o.onerror=o.onbeforeload=function(e){var l=e.type[0];if(s)try{o.sheet.cssText.length||(l="e")}catch(e){18!=e.code&&(l="e")}if("e"==l){if((a+=1)<c)return t(i,r,n,a)}else if("preload"==o.rel&&"style"==o.as)return o.rel="stylesheet";r(i,l,e.defaultPrevented)},!1!==d(i,o)&&l.head.appendChild(o)}(t[a],n,r)}(i,function(e){a(l,e),t&&a({success:t,error:r},e),n(o,e)},l)}if(l.returnPromise)return new Promise(u);u()}return s.ready=function(e,t){return function(e,t){e=e.push?e:[e];var n,a,s,o=[],l=e.length,u=l;for(n=function(e,i){i.length&&o.push(e),--u||t(o)};l--;)(s=i[a=e[l]])?n(a,s):(r[a]=r[a]||[]).push(n)}(e,function(e){a(t,e)}),s},s.done=function(e){n(e,[])},s.reset=function(){t={},i={},r={}},s.isDefined=function(e){return e in t},s}
1(),o.exports);function eV(e){return new Promise((t,i)=>{eH(e,{success:t,error:i})})}function ej(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,J.call(this,this.media,e?"play":"pause"))}let eF={setup(){let e=this;H(e.elements.wrapper,e.config.classNames.embed,!0),e.options.speed=e.config.speed.options,ec.call(e),A.object(window.Vimeo)?eF.ready.call(e):eV(e.config.urls.vimeo.sdk).then(()=>{eF.ready.call(e)}).catch(t=>{e.debug.warn("Vimeo SDK (player.js) failed to load",t)})},ready(){var e;let t=this,i=t.config.vimeo,{premium:r,referrerPolicy:n,...a}=i,s=t.media.getAttribute("src"),o="";A.empty(s)?(s=t.media.getAttribute(t.config.attributes.embed.id),o=t.media.getAttribute(t.config.attributes.embed.hash)):o=function(e){let t=e.match(/^.*(vimeo.com\/|video\/)(\d+)(\?.*&*h=|\/)+([\d,a-f]+)/);return t&&5===t.length?t[4]:null}(s);let l=o?{h:o}:{};r&&Object.assign(a,{controls:!1,sidedock:!1});let u=eC({loop:t.config.loop.active,autoplay:t.autoplay,muted:t.muted,gesture:"media",playsinline:t.config.playsinline,...l,...a}),c=(e=s,A.empty(e)?null:A.number(Number(e))?e:e.match(/^.*(vimeo.com\/|video\/)(\d+).*/)?RegExp.$2:e),d=R("iframe"),h=ep(t.config.urls.vimeo.iframe,c,u);if(d.setAttribute("src",h),d.setAttribute("allowfullscreen",""),d.setAttribute("allow","autoplay; fullscreen; picture-in-picture; encrypted-media; accelerometer; gyroscope"),A.empty(n)||d.setAttribute("referrerPolicy",n),r||!i.customControls)d.setAttribute("data-poster",t.poster),t.media=_(d,t.media);else{let e=R("div",{class:t.config.classNames.embedContainer,"data-poster":t.poster});e.appendChild(d),t.media=_(e,t.media)}i.customControls||ew(ep(t.config.urls.vimeo.api,h)).then(e=>{!A.empty(e)&&e.thumbnail_url&&eU.setPoster.call(t,e.thumbnail_url).catch(()=>{})}),t.embed=new window.Vimeo.Player(d,{autopause:t.config.autopause,muted:t.muted}),t.media.paused=!0,t.media.currentTime=0,t.supported.ui&&t.embed.disableTextTrack(),t.media.play=()=>(ej.call(t,!0),t.embed.play()),t.media.pause=()=>(ej.call(t,!1),t.embed.pause()),t.media.stop=()=>{t.pause(),t.currentTime=0};let{currentTime:p}=t.media;Object.defineProperty(t.media,"currentTime",{get:()=>p,set(e){let{embed:i,media:r,paused:n,volume:a}=t,s=n&&!i.hasPlayed;r.seeking=!0,J.call(t,r,"seeking"),Promise.resolve(s&&i.setVolume(0)).then(()=>i.setCurrentTime(e)).then(()=>s&&i.pause()).then(()=>s&&i.setVolume(a)).catch(()=>{})}});let m=t.config.speed.selected;Object.defineProperty(t.media,"playbackRate",{get:()=>m,set(e){t.embed.setPlaybackRate(e).then(()=>{m=e,J.call(t,t.media,"ratechange")}).catch(()=>{t.options.speed=[1]})}});let{volume:f}=t.config;Object.defineProperty(t.media,"volume",{get:()=>f,set(e){t.embed.setVolume(e).then(()=>{f=e,J.call(t,t.media,"volumechange")})}});let{muted:g}=t.config;Object.defineProperty(t.media,"muted",{get:()=>g,set(e){let i=!!A.boolean(e)&&e;t.embed.setMuted(!!i||t.config.muted).then(()=>{g=i,J.call(t,t.media,"volumechange")})}});let b,{loop:y}=t.config;Object.defineProperty(t.media,"loop",{get:()=>y,set(e){let i=A.boolean(e)?e:t.config.loop.active;t.embed.setLoop(i).then(()=>{y=i})}}),t.embed.getVideoUrl().then(e=>{b=e,eN.setDownloadUrl.call(t)}).catch(e=>{this.debug.warn(e)}),Object.defineProperty(t.media,"currentSrc",{get:()=>b}),Object.defineProperty(t.media,"ended",{get:()=>t.currentTime===t.duration}),Promise.all([t.embed.getVideoWidth(),t.embed.getVideoHeight()]).then(e=>{let[i,r]=e;t.embed.ratio=ed(i,r),ec.call(this)}),t.embed.setAutopause(t.config.autopause).then(e=>{t.config.autopause=e}),t.embed.getVideoTitle().then(e=>{t.config.title=e,eU.setTitle.call(this)}),t.embed.getCurrentTime().then(e=>{p=e,J.call(t,t.media,"timeupdate")}),t.embed.getDuration().then(e=>{t.media.duration=e,J.call(t,t.media,"durationchange")}),t.embed.getTextTracks().then(e=>{t.media.textTracks=e,ex.setup.call(t)}),t.embed.on("cuechange",({cues:e=[]})=>{let i=e.map(e=>(function(e){let t=document.createDocumentFragment(),i=document.createElement("div");return t.appendChild(i),i.innerHTML=e,t.firstChild.innerText})(e.text));ex.updateCues.call(t,i)}),t.embed.on("loaded",()=>{t.embed.getPaused().then(e=>{ej.call(t,!e),e||J.call(t,t.media,"playing")}),A.element(t.embed.element)&&t.supported.ui&&t.embed.element.setAttribute("tabindex",-1)}),t.embed.on("bufferstart",()=>{J.call(t,t.media,"waiting")}),t.embed.on("bufferend",()=>{J.call(t,t.media,"playing")}),t.embed.on("play",()=>{ej.call(t,!0),J.call(t,t.media,"playing")}),t.embed.on("pause",()=>{ej.call(t,!1)}),t.embed.on("timeupdate",e=>{t.media.seeking=!1,p=e.seconds,J.call(t,t.media,"timeupdate")}),t.embed.on("progress",e=>{t.media.buffered=e.percent,J.call(t,t.media,"progress"),1===parseInt(e.percent,10)&&J.call(t,t.media,"canplaythrough"),t.embed.getDuration().then(e=>{e!==t.media.duration&&(t.media.duration=e,J.call(t,t.media,"durationchange"))})}),t.embed.on("seeked",()=>{t.media.seeking=!1,J.call(t,t.media,"seeked")}),t.embed.on("ended",()=>{t.media.paused=!0,J.call(t,t.media,"ended")}),t.embed.on("error",e=>{t.media.error=e,J.call(t,t.media,"error")}),i.customControls&&setTimeout(()=>eU.build.call(t),0)}};function e$(e){e&&!this.embed.hasPlayed&&(this.embed.hasPlayed=!0),this.media.paused===e&&(this.media.paused=!e,J.call(this,this.media,e?"play":"pause"))}let eG={setup(){if(H(this.elements.wrapper,this.config.classNames.embed,!0),A.object(window.YT)&&A.function(window.YT.Player))eG.ready.call(this);else{let e=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{A.function(e)&&e(),eG.ready.call(this)},eV(this.config.urls.youtube.sdk).catch(e=>{this.debug.warn("YouTube API failed to load",e)})}},getTitle(e){ew(ep(this.config.urls.youtube.api,e)).then(e=>{if(A.object(e)){let{title:t,height:i,width:r}=e;this.config.title=t,eU.setTitle.call(this),this.embed.ratio=ed(r,i)}ec.call(this)}).catch(()=>{ec.call(this)})},ready(){var e;let t=this,i=t.config.youtube,r=t.media&&t.media.getAttribute("id");if(!A.empty(r)&&r.startsWith("youtube-"))return;let n=t.media.getAttribute("src");A.empty(n)&&(n=t.media.getAttribute(this.config.attributes.embed.id));let a=(e=n,A.empty(e)?null:e.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/)?RegExp.$2:e),s=R("div",{id:`${t.provider}-${Math.floor(1e4*Math.random())}`,"data-poster":i.customControls?t.poster:void 0});if(t.media=_(s,t.media),i.customControls){let e=e=>`https://i.ytimg.com/vi/${a}/${e}default.jpg`;e_(e("maxres"),121).catch(()=>
1e_(e("sd"),121)).catch(()=>e_(e("hq"))).then(e=>eU.setPoster.call(t,e.src)).then(e=>{e.includes("maxres")||(t.elements.poster.style.backgroundSize="cover")}).catch(()=>{})}t.embed=new window.YT.Player(t.media,{videoId:a,host:i.noCookie?"https://www.youtube-nocookie.com":"http:"===window.location.protocol?"http://www.youtube.com":void 0,playerVars:I({},{autoplay:t.config.autoplay?1:0,hl:t.config.hl,controls:t.supported.ui&&i.customControls?0:1,disablekb:1,playsinline:t.config.playsinline&&!t.config.fullscreen.iosNative?1:0,cc_load_policy:t.captions.active?1:0,cc_lang_pref:t.config.captions.language,widget_referrer:window?window.location.href:null},i),events:{onError(e){if(!t.media.error){let i=e.data;t.media.error={code:i,message:({2:"The request contains an invalid parameter value. For example, this error occurs if you specify a video ID that does not have 11 characters, or if the video ID contains invalid characters, such as exclamation points or asterisks.",5:"The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.",100:"The video requested was not found. This error occurs when a video has been removed (for any reason) or has been marked as private.",101:"The owner of the requested video does not allow it to be played in embedded players.",150:"The owner of the requested video does not allow it to be played in embedded players."})[i]||"An unknown error occurred"},J.call(t,t.media,"error")}},onPlaybackRateChange(e){let i=e.target;t.media.playbackRate=i.getPlaybackRate(),J.call(t,t.media,"ratechange")},onReady(e){if(A.function(t.media.play))return;let r=e.target;eG.getTitle.call(t,a),t.media.play=()=>{e$.call(t,!0),r.playVideo()},t.media.pause=()=>{e$.call(t,!1),r.pauseVideo()},t.media.stop=()=>{r.stopVideo()},t.media.duration=r.getDuration(),t.media.paused=!0,t.media.currentTime=0,Object.defineProperty(t.media,"currentTime",{get:()=>Number(r.getCurrentTime()),set(e){t.paused&&!t.embed.hasPlayed&&t.embed.mute(),t.media.seeking=!0,J.call(t,t.media,"seeking"),r.seekTo(e)}}),Object.defineProperty(t.media,"playbackRate",{get:()=>r.getPlaybackRate(),set(e){r.setPlaybackRate(e)}});let{volume:n}=t.config;Object.defineProperty(t.media,"volume",{get:()=>n,set(e){n=e,r.setVolume(100*n),J.call(t,t.media,"volumechange")}});let{muted:s}=t.config;Object.defineProperty(t.media,"muted",{get:()=>s,set(e){let i=A.boolean(e)?e:s;s=i,r[i?"mute":"unMute"](),r.setVolume(100*n),J.call(t,t.media,"volumechange")}}),Object.defineProperty(t.media,"currentSrc",{get:()=>r.getVideoUrl()}),Object.defineProperty(t.media,"ended",{get:()=>t.currentTime===t.duration});let o=r.getAvailablePlaybackRates();t.options.speed=o.filter(e=>t.config.speed.options.includes(e)),t.supported.ui&&i.customControls&&t.media.setAttribute("tabindex",-1),J.call(t,t.media,"timeupdate"),J.call(t,t.media,"durationchange"),clearInterval(t.timers.buffering),t.timers.buffering=setInterval(()=>{t.media.buffered=r.getVideoLoadedFraction(),(null===t.media.lastBuffered||t.media.lastBuffered<t.media.buffered)&&J.call(t,t.media,"progress"),t.media.lastBuffered=t.media.buffered,1===t.media.buffered&&(clearInterval(t.timers.buffering),J.call(t,t.media,"canplaythrough"))},200),i.customControls&&setTimeout(()=>eU.build.call(t),50)},onStateChange(e){let r=e.target;switch(clearInterval(t.timers.playing),t.media.seeking&&[1,2].includes(e.data)&&(t.media.seeking=!1,J.call(t,t.media,"seeked")),e.data){case -1:J.call(t,t.media,"timeupdate"),t.media.buffered=r.getVideoLoadedFraction(),J.call(t,t.media,"progress");break;case 0:e$.call(t,!1),t.media.loop?(r.stopVideo(),r.playVideo()):J.call(t,t.media,"ended");break;case 1:i.customControls&&!t.config.autoplay&&t.media.paused&&!t.embed.hasPlayed?t.media.pause():(e$.call(t,!0),J.call(t,t.media,"playing"),t.timers.playing=setInterval(()=>{J.call(t,t.media,"timeupdate")},50),t.media.duration!==r.getDuration()&&(t.media.duration=r.getDuration(),J.call(t,t.media,"durationchange")));break;case 2:t.muted||t.embed.unMute(),e$.call(t,!1);break;case 3:J.call(t,t.media,"waiting")}J.call(t,t.elements.container,"statechange",!1,{code:e.data})}}})}},eX={setup(){this.media?(H(this.elements.container,this.config.classNames.type.replace("{0}",this.type),!0),H(this.elements.container,this.config.classNames.provider.replace("{0}",this.provider),!0),this.isEmbed&&H(this.elements.container,this.config.classNames.type.replace("{0}","video"),!0),this.isVideo&&(this.elements.wrapper=R("div",{class:this.config.classNames.video}),L(this.media,this.elements.wrapper),this.elements.poster=R("div",{class:this.config.classNames.poster}),this.elements.wrapper.appendChild(this.elements.poster)),this.isHTML5?eh.setup.call(this):this.isYouTube?eG.setup.call(this):this.isVimeo&&eF.setup.call(this)):this.debug.warn("No media element found!")}};class ez{constructor(t){e(this,"load",()=>{this.enabled&&(A.object(window.google)&&A.object(window.google.ima)?this.ready():eV(this.player.config.urls.googleIMA.sdk).then(()=>{this.ready()}).catch(()=>{this.trigger("error",Error("Google IMA SDK failed to load"))}))}),e(this,"ready",()=>{this.enabled||(this.manager&&this.manager.destroy(),this.elements.displayContainer&&this.elements.displayContainer.destroy(),this.elements.container.remove()),this.startSafetyTimer(12e3,"ready()"),this.managerPromise.then(()=>{this.clearSafetyTimer("onAdsManagerLoaded()")}),this.listeners(),this.setupIMA()}),e(this,"setupIMA",()=>{this.elements.container=R("div",{class:this.player.config.classNames.ads}),this.player.elements.container.appendChild(this.elements.container),google.ima.settings.setVpaidMode(google.ima.ImaSdkSettings.VpaidMode.ENABLED),google.ima.settings.setLocale(this.player.config.ads.language),google.ima.settings.setDisableCustomPlaybackForIOS10Plus(this.player.config.playsinline),this.elements.displayContainer=new google.ima.AdDisplayContainer(this.elements.container,this.player.media),this.loader=new google.ima.AdsLoader(this.elements.displayContainer),this.loader.addEventListener(google.ima.AdsManagerLoadedEvent.Type.ADS_MANAGER_LOADED,e=>this.onAdsManagerLoaded(e),!1),this.loader.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,e=>this.onAdError(e),!1),this.requestAds()}),e(this,"requestAds",()=>{let{container:e}=this.player.elements;try{let t=new google.ima.AdsRequest;t.adTagUrl=this.tagUrl,t.linearAdSlotWidth=e.offsetWidth,t.linearAdSlotHeight=e.offsetHeight,t.nonLinearAdSlotWidth=e.offsetWidth,t.nonLinearAdSlotHeight=e.offsetHeight,t.forceNonLinearFullSlot=!1,t.setAdWillPlayMuted(!this.player.muted),this.loader.requestAds(t)}catch(e){this.onAdError(e)}}),e(this,"pollCountdown",(e=!1)=>
vendor: 4,457 bytes, line 1
1{if(!e)return clearInterval(this.countdownTimer),void this.elements.container.removeAttribute("data-badge-text");this.countdownTimer=setInterval(()=>{let e=eA(Math.max(this.manager.getRemainingTime(),0)),t=`${ey.get("advertisement",this.player.config)} - ${e}`;this.elements.container.setAttribute("data-badge-text",t)},100)}),e(this,"onAdsManagerLoaded",e=>{if(!this.enabled)return;let t=new google.ima.AdsRenderingSettings;t.restoreCustomPlaybackStateOnAdBreakComplete=!0,t.enablePreloading=!0,this.manager=e.getAdsManager(this.player,t),this.cuePoints=this.manager.getCuePoints(),this.manager.addEventListener(google.ima.AdErrorEvent.Type.AD_ERROR,e=>this.onAdError(e)),Object.keys(google.ima.AdEvent.Type).forEach(e=>{this.manager.addEventListener(google.ima.AdEvent.Type[e],e=>this.onAdEvent(e))}),this.trigger("loaded")}),e(this,"addCuePoints",()=>{A.empty(this.cuePoints)||this.cuePoints.forEach(e=>{if(0!==e&&-1!==e&&e<this.player.duration){let t=this.player.elements.progress;if(A.element(t)){let i=100/this.player.duration*e,r=R("span",{class:this.player.config.classNames.cues});r.style.left=`${i.toString()}%`,t.appendChild(r)}}})}),e(this,"onAdEvent",e=>{let{container:t}=this.player.elements,i=e.getAd(),r=e.getAdData();switch((e=>{J.call(this.player,this.player.media,`ads${e.replace(/_/g,"").toLowerCase()}`)})(e.type),e.type){case google.ima.AdEvent.Type.LOADED:this.trigger("loaded"),this.pollCountdown(!0),i.isLinear()||(i.width=t.offsetWidth,i.height=t.offsetHeight);break;case google.ima.AdEvent.Type.STARTED:this.manager.setVolume(this.player.volume);break;case google.ima.AdEvent.Type.ALL_ADS_COMPLETED:this.player.ended?this.loadAds():this.loader.contentComplete();break;case google.ima.AdEvent.Type.CONTENT_PAUSE_REQUESTED:this.pauseContent();break;case google.ima.AdEvent.Type.CONTENT_RESUME_REQUESTED:this.pollCountdown(),this.resumeContent();break;case google.ima.AdEvent.Type.LOG:r.adError&&this.player.debug.warn(`Non-fatal ad error: ${r.adError.getMessage()}`)}}),e(this,"onAdError",e=>{this.cancel(),this.player.debug.warn("Ads error",e)}),e(this,"listeners",()=>{let e;let{container:t}=this.player.elements;this.player.on("canplay",()=>{this.addCuePoints()}),this.player.on("ended",()=>{this.loader.contentComplete()}),this.player.on("timeupdate",()=>{e=this.player.currentTime}),this.player.on("seeked",()=>{let t=this.player.currentTime;A.empty(this.cuePoints)||this.cuePoints.forEach((i,r)=>{e<i&&i<t&&(this.manager.discardAdBreak(),this.cuePoints.splice(r,1))})}),window.addEventListener("resize",()=>{this.manager&&this.manager.resize(t.offsetWidth,t.offsetHeight,google.ima.ViewMode.NORMAL)})}),e(this,"play",()=>{let{container:e}=this.player.elements;this.managerPromise||this.resumeContent(),this.managerPromise.then(()=>{this.manager.setVolume(this.player.volume),this.elements.displayContainer.initialize();try{this.initialized||(this.manager.init(e.offsetWidth,e.offsetHeight,google.ima.ViewMode.NORMAL),this.manager.start()),this.initialized=!0}catch(e){this.onAdError(e)}}).catch(()=>{})}),e(this,"resumeContent",()=>{this.elements.container.style.zIndex="",this.playing=!1,ei(this.player.media.play())}),e(this,"pauseContent",()=>{this.elements.container.style.zIndex=3,this.playing=!0,this.player.media.pause()}),e(this,"cancel",()=>{this.initialized&&this.resumeContent(),this.trigger("error"),this.loadAds()}),e(this,"loadAds",()=>{this.managerPromise.then(()=>{this.manager&&this.manager.destroy(),this.managerPromise=new Promise(e=>{this.on("loaded",e),this.player.debug.log(this.manager)}),this.initialized=!1,this.requestAds()}).catch(()=>{})}),e(this,"trigger",(e,...t)=>{let i=this.events[e];A.array(i)&&i.forEach(e=>{A.function(e)&&e.apply(this,t)})}),e(this,"on",(e,t)=>(A.array(this.events[e])||(this.events[e]=[]),this.events[e].push(t),this)),e(this,"startSafetyTimer",(e,t)=>{this.player.debug.log(`Safety timer invoked from: ${t}`),this.safetyTimer=setTimeout(()=>{this.cancel(),this.clearSafetyTimer("startSafetyTimer()")},e)}),e(this,"clearSafetyTimer",e=>{A.nullOrUndefined(this.safetyTimer)||(this.player.debug.log(`Safety timer cleared from: ${e}`),clearTimeout(this.safetyTimer),this.safetyTimer=null)}),this.player=t,this.config=t.config.ads,this.playing=!1,this.initialized=!1,this.elements={container:null,displayContainer:null},this.manager=null,this.loader=null,this.cuePoints=null,this.events={},this.safetyTimer=null,this.countdownTimer=null,this.managerPromise=new Promise((e,t)=>
1{this.on("loaded",e),this.on("error",t)}),this.load()}get enabled(){let{config:e}=this;return this.player.isHTML5&&this.player.isVideo&&e.enabled&&(!A.empty(e.publisherId)||A.url(e.tagUrl))}get tagUrl(){let{config:e}=this;return A.url(e.tagUrl)?e.tagUrl:`https://go.aniview.com/api/adserver6/vast/?${eC({AV_PUBLISHERID:"58c25bb0073ef448b1087ad6",AV_CHANNELID:"5a0458dc28a06145e4519d21",AV_URL:window.location.hostname,cb:Date.now(),AV_WIDTH:640,AV_HEIGHT:480,AV_CDIM2:e.publisherId})}`}}function eK(e=0,t=0,i=255){return Math.min(Math.max(e,t),i)}let eW=e=>{let t=[];return e.split(/\r\n\r\n|\n\n|\r\r/).forEach(e=>{let i={};e.split(/\r\n|\n|\r/).forEach(e=>{if(A.number(i.startTime)){if(!A.empty(e.trim())&&A.empty(i.text)){let t=e.trim().split("#xywh=");[i.text]=t,t[1]&&([i.x,i.y,i.w,i.h]=t[1].split(","))}}else{let t=e.match(/([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})( ?--> ?)([0-9]{2})?:?([0-9]{2}):([0-9]{2}).([0-9]{2,3})/);t&&(i.startTime=60*Number(t[1]||0)*60+60*Number(t[2])+Number(t[3])+Number(`0.${t[4]}`),i.endTime=60*Number(t[6]||0)*60+60*Number(t[7])+Number(t[8])+Number(`0.${t[9]}`))}}),i.text&&t.push(i)}),t},eY=(e,t)=>{let i={};return e>t.width/t.height?(i.width=t.width,i.height=1/e*t.width):(i.height=t.height,i.width=e*t.height),i};class eQ{constructor(t){e(this,"load",()=>{this.player.elements.display.seekTooltip&&(this.player.elements.display.seekTooltip.hidden=this.enabled),this.enabled&&this.getThumbnails().then(()=>{this.enabled&&(this.render(),this.determineContainerAutoSizing(),this.listeners(),this.loaded=!0)})}),e(this,"getThumbnails",()=>new Promise(e=>{let{src:t}=this.player.config.previewThumbnails;if(A.empty(t))throw Error("Missing previewThumbnails.src config attribute");let i=()=>{this.thumbnails.sort((e,t)=>e.height-t.height),this.player.debug.log("Preview thumbnails",this.thumbnails),e()};A.function(t)?t(e=>{this.thumbnails=e,i()}):Promise.all((A.string(t)?[t]:t).map(e=>this.getThumbnail(e))).then(i)})),e(this,"getThumbnail",e=>new Promise(t=>{ew(e).then(i=>{let r={frames:eW(i),height:null,urlPrefix:""};r.frames[0].text.startsWith("/")||r.frames[0].text.startsWith("http://")||r.frames[0].text.startsWith("https://")||(r.urlPrefix=e.substring(0,e.lastIndexOf("/")+1));let n=new Image;n.onload=()=>{r.height=n.naturalHeight,r.width=n.naturalWidth,this.thumbnails.push(r),t()},n.src=r.urlPrefix+r.frames[0].text})})),e(this,"startMove",e=>{if(this.loaded&&A.event(e)&&["touchmove","mousemove"].includes(e.type)&&this.player.media.duration){if("touchmove"===e.type)this.seekTime=this.player.media.duration*(this.player.elements.inputs.seek.value/100);else{var t,i;let r=this.player.elements.progress.getBoundingClientRect(),n=100/r.width*(e.pageX-r.left);this.seekTime=this.player.media.duration*(n/100),this.seekTime<0&&(this.seekTime=0),this.seekTime>this.player.media.duration-1&&(this.seekTime=this.player.media.duration-1),this.mousePosX=e.pageX,this.elements.thumb.time.innerText=eA(this.seekTime);let a=null===(t=this.player.config.markers)||void 0===t||null===(i=t.points)||void 0===i?void 0:i.find(({time:e})=>e===Math.round(this.seekTime));a&&this.elements.thumb.time.insertAdjacentHTML("afterbegin",`${a.label}<br>`)}this.showImageAtCurrentTime()}}),e(this,"endMove",()=>{this.toggleThumbContainer(!1,!0)}),e(this,"startScrubbing",e=>{(A.nullOrUndefined(e.button)||!1===e.button||0===e.button)&&(this.mouseDown=!0,this.player.media.duration&&(this.toggleScrubbingContainer(!0),this.toggleThumbContainer(!1,!0),this.showImageAtCurrentTime()))}),e(this,"endScrubbing",()=>{this.mouseDown=!1,Math.ceil(this.lastTime)===Math.ceil(this.player.media.currentTime)?this.toggleScrubbingContainer(!1):Z.call(this.player,this.player.media,"timeupdate",()=>{this.mouseDown||this.toggleScrubbingContainer(!1)})}),e(this,"listeners",()=>{this.player.on("play",()=>{this.toggleThumbContainer(!1,!0)}),this.player.on("seeked",()=>{this.toggleThumbContainer(!1)}),this.player.on("timeupdate",()=>{this.lastTime=this.player.media.currentTime})}),e(this,"render",()=>{this.elements.thumb.container=R("div",{class:this.player.config.classNames.previewThumbnails.thumbContainer}),this.elements.thumb.imageContainer=R("div",{class:this.player.config.classNames.previewThumbnails.imageContainer}),this.elements.thumb.container.appendChild(this.elements.thumb.imageContainer);let e=R("div",{class:this.player.config.classNames.previewThumbnails.timeContainer});this.elements.thumb.time=R("span",{},"00:00"),e.appendChild(this.elements.thumb.time),this.elements.thumb.imageContainer.appendChild(e),A.element(this.player.elements.progress)&&this.player.elements.progress.appendChild(this.elements.thumb.container),this.elements.scrubbing.container=R("div",{class:this.player.config.classNames.previewThumbnails.scrubbingContainer}),this.player.elements.wrapper.appendChild(this.elements.scrubbing.container)}),e(this,"destroy",()=>{this.elements.thumb.container&&this.elements.thumb.container.remove(),this.elements.scrubbing.container&&this.elements.scrubbing.container.remove()}),e(this,"showImageAtCurrentTime",()=>{this.mouseDown?this.setScrubbingContainerSize():this.setThumbContainerSizeAndPos();
1let e=this.thumbnails[0].frames.findIndex(e=>this.seekTime>=e.startTime&&this.seekTime<=e.endTime),t=e>=0,i=0;this.mouseDown||this.toggleThumbContainer(t),t&&(this.thumbnails.forEach((t,r)=>{this.loadedImages.includes(t.frames[e].text)&&(i=r)}),e!==this.showingThumb&&(this.showingThumb=e,this.loadImage(i)))}),e(this,"loadImage",(e=0)=>{let t=this.showingThumb,i=this.thumbnails[e],{urlPrefix:r}=i,n=i.frames[t],a=i.frames[t].text,s=r+a;if(this.currentImageElement&&this.currentImageElement.dataset.filename===a)this.showImage(this.currentImageElement,n,e,t,a,!1),this.currentImageElement.dataset.index=t,this.removeOldImages(this.currentImageElement);else{this.loadingImage&&this.usingSprites&&(this.loadingImage.onload=null);let i=new Image;i.src=s,i.dataset.index=t,i.dataset.filename=a,this.showingThumbFilename=a,this.player.debug.log(`Loading image: ${s}`),i.onload=()=>this.showImage(i,n,e,t,a,!0),this.loadingImage=i,this.removeOldImages(i)}}),e(this,"showImage",(e,t,i,r,n,a=!0)=>{this.player.debug.log(`Showing thumb: ${n}. num: ${r}. qual: ${i}. newimg: ${a}`),this.setImageSizeAndOffset(e,t),a&&(this.currentImageContainer.appendChild(e),this.currentImageElement=e,this.loadedImages.includes(n)||this.loadedImages.push(n)),this.preloadNearby(r,!0).then(this.preloadNearby(r,!1)).then(this.getHigherQuality(i,e,t,n))}),e(this,"removeOldImages",e=>{Array.from(this.currentImageContainer.children).forEach(t=>{if("img"!==t.tagName.toLowerCase())return;let i=this.usingSprites?500:1e3;if(t.dataset.index!==e.dataset.index&&!t.dataset.deleting){t.dataset.deleting=!0;let{currentImageContainer:e}=this;setTimeout(()=>{e.removeChild(t),this.player.debug.log(`Removing thumb: ${t.dataset.filename}`)},i)}})}),e(this,"preloadNearby",(e,t=!0)=>new Promise(i=>{setTimeout(()=>{let r=this.thumbnails[0].frames[e].text;if(this.showingThumbFilename===r){let n;n=t?this.thumbnails[0].frames.slice(e):this.thumbnails[0].frames.slice(0,e).reverse();let a=!1;n.forEach(e=>{let t=e.text;if(t!==r&&!this.loadedImages.includes(t)){a=!0,this.player.debug.log(`Preloading thumb filename: ${t}`);let{urlPrefix:e}=this.thumbnails[0],r=e+t,n=new Image;n.src=r,n.onload=()=>{this.player.debug.log(`Preloaded thumb filename: ${t}`),this.loadedImages.includes(t)||this.loadedImages.push(t),i()}}}),a||i()}},300)})),e(this,"getHigherQuality",(e,t,i,r)=>{if(e<this.thumbnails.length-1){let n=t.naturalHeight;this.usingSprites&&(n=i.h),n<this.thumbContainerHeight&&setTimeout(()=>{this.showingThumbFilename===r&&(this.player.debug.log(`Showing higher quality thumb for: ${r}`),this.loadImage(e+1))},300)}}),e(this,"toggleThumbContainer",(e=!1,t=!1)=>{let i=this.player.config.classNames.previewThumbnails.thumbContainerShown;this.elements.thumb.container.classList.toggle(i,e),!e&&t&&(this.showingThumb=null,this.showingThumbFilename=null)}),e(this,"toggleScrubbingContainer",(e=!1)=>{let t=this.player.config.classNames.previewThumbnails.scrubbingContainerShown;this.elements.scrubbing.container.classList.toggle(t,e),e||(this.showingThumb=null,this.showingThumbFilename=null)}),e(this,"determineContainerAutoSizing",()=>{(this.elements.thumb.imageContainer.clientHeight>20||this.elements.thumb.imageContainer.clientWidth>20)&&(this.sizeSpecifiedInCSS=!0)}),e(this,"setThumbContainerSizeAndPos",()=>{let{imageContainer:e}=this.elements.thumb;if(this.sizeSpecifiedInCSS){if(e.clientHeight>20&&e.clientWidth<20){let t=Math.floor(e.clientHeight*this.thumbAspectRatio);e.style.width=`${t}px`}else if(e.clientHeight<20&&e.clientWidth>20){let t=Math.floor(e.clientWidth/this.thumbAspectRatio);e.style.height=`${t}px`}}else{let t=Math.floor(this.thumbContainerHeight*this.thumbAspectRatio);e.style.height=`${this.thumbContainerHeight}px`,e.style.width=`${t}px`}this.setThumbContainerPos()}),e(this,"setThumbContainerPos",()=>{let e=this.player.elements.progress.getBoundingClientRect(),t=this.player.elements.container.getBoundingClientRect(),{container:i}=this.elements.thumb,r=t.left-e.left+10,n=t.right-e.left-i.clientWidth-10,a=this.mousePosX-e.left-i.clientWidth/2,s=eK(a,r,n);i.style.left=`${s}px`,i.style.setProperty("--preview-arrow-offset",a-s+"px")}),e(this,"setScrubbingContainerSize",()=>{let{width:e,height:t}=eY(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});this.elements.scrubbing.container.style.width=`${e}px`,this.elements.scrubbing.container.style.height=`${t}px`}),e(this,"setImageSizeAndOffset",(e,t)=>{if(!this.usingSprites)return;let i=this.thumbContainerHeight/t.h;
1e.style.height=e.naturalHeight*i+"px",e.style.width=e.naturalWidth*i+"px",e.style.left=`-${t.x*i}px`,e.style.top=`-${t.y*i}px`}),this.player=t,this.thumbnails=[],this.loaded=!1,this.lastMouseMoveTime=Date.now(),this.mouseDown=!1,this.loadedImages=[],this.elements={thumb:{},scrubbing:{}},this.load()}get enabled(){return this.player.isHTML5&&this.player.isVideo&&this.player.config.previewThumbnails.enabled}get currentImageContainer(){return this.mouseDown?this.elements.scrubbing.container:this.elements.thumb.imageContainer}get usingSprites(){return Object.keys(this.thumbnails[0].frames[0]).includes("w")}get thumbAspectRatio(){return this.usingSprites?this.thumbnails[0].frames[0].w/this.thumbnails[0].frames[0].h:this.thumbnails[0].width/this.thumbnails[0].height}get thumbContainerHeight(){if(this.mouseDown){let{height:e}=eY(this.thumbAspectRatio,{width:this.player.media.clientWidth,height:this.player.media.clientHeight});return e}return this.sizeSpecifiedInCSS?this.elements.thumb.imageContainer.clientHeight:Math.floor(this.player.media.clientWidth/this.thumbAspectRatio/4)}get currentImageElement(){return this.mouseDown?this.currentScrubbingImageElement:this.currentThumbnailImageElement}set currentImageElement(e){this.mouseDown?this.currentScrubbingImageElement=e:this.currentThumbnailImageElement=e}}let eZ={insertElements(e,t){A.string(t)?P(e,this.media,{src:t}):A.array(t)&&t.forEach(t=>{P(e,this.media,t)})},change(e){x(e,"sources.length")?(eh.cancelRequests.call(this),this.destroy.call(this,()=>{this.options.quality=[],M(this.media),this.media=null,A.element(this.elements.container)&&this.elements.container.removeAttribute("class");let{sources:t,type:i}=e,[{provider:r=eO.html5,src:n}]=t,a="html5"===r?i:"div",s="html5"===r?{}:{src:n};Object.assign(this,{provider:r,type:i,supported:z.check(i,r,this.config.playsinline),media:R(a,s)}),this.elements.container.appendChild(this.media),A.boolean(e.autoplay)&&(this.config.autoplay=e.autoplay),this.isHTML5&&(this.config.crossorigin&&this.media.setAttribute("crossorigin",""),this.config.autoplay&&this.media.setAttribute("autoplay",""),A.empty(e.poster)||(this.poster=e.poster),this.config.loop.active&&this.media.setAttribute("loop",""),this.config.muted&&this.media.setAttribute("muted",""),this.config.playsinline&&this.media.setAttribute("playsinline","")),eU.addStyleHook.call(this),this.isHTML5&&eZ.insertElements.call(this,"source",t),this.config.title=e.title,eX.setup.call(this),this.isHTML5&&Object.keys(e).includes("tracks")&&eZ.insertElements.call(this,"track",e.tracks),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&eU.build.call(this),this.isHTML5&&this.media.load(),A.empty(e.previewThumbnails)||(Object.assign(this.config.previewThumbnails,e.previewThumbnails),this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new eQ(this))),this.fullscreen.update()},!0)):this.debug.warn("Invalid source format")}};class eJ{constructor(t,i){if(e(this,"play",()=>A.function(this.media.play)?(this.ads&&this.ads.enabled&&this.ads.managerPromise.then(()=>this.ads.play()).catch(()=>ei(this.media.play())),this.media.play()):null),e(this,"pause",()=>this.playing&&A.function(this.media.pause)?this.media.pause():null),e(this,"togglePlay",e=>(A.boolean(e)?e:!this.playing)?this.play():this.pause()),e(this,"stop",()=>{this.isHTML5?(this.pause(),this.restart()):A.function(this.media.stop)&&this.media.stop()}),e(this,"restart",()=>{this.currentTime=0}),e(this,"rewind",e=>{this.currentTime-=A.number(e)?e:this.config.seekTime}),e(this,"forward",e=>{this.currentTime+=A.number(e)?e:this.config.seekTime}),e(this,"increaseVolume",e=>{let t=this.media.muted?0:this.volume;this.volume=t+(A.number(e)?e:0)}),e(this,"decreaseVolume",e=>{this.increaseVolume(-e)}),e(this,"airplay",()=>{z.airplay&&this.media.webkitShowPlaybackTargetPicker()}),e(this,"toggleControls",e=>{if(this.supported.ui&&!this.isAudio){let t=V(this.elements.container,this.config.classNames.hideControls),i=H(this.elements.container,this.config.classNames.hideControls,void 0===e?void 0:!e);return i&&A.array(this.config.controls)&&this.config.controls.includes("settings")&&!A.empty(this.config.settings)&&eN.toggleMenu.call(this,!1),i!==t&&J.call(this,this.media,i?"controlshidden":"controlsshown"),!i}return!1}),e(this,"on",(e,t)=>{Y.call(this,this.elements.container,e,t)}),e(this,"once",(e,t)=>{Z.call(this,this.elements.container,e,t)}),e(this,"off",(e,t)=>{Q(this.elements.container,e,t)}),e(this,"destroy",(e,t=!1)=>
vendor: 4,627 bytes, line 1
1{if(!this.ready)return;let i=()=>{document.body.style.overflow="",this.embed=null,t?(Object.keys(this.elements).length&&(M(this.elements.buttons.play),M(this.elements.captions),M(this.elements.controls),M(this.elements.wrapper),this.elements.buttons.play=null,this.elements.captions=null,this.elements.controls=null,this.elements.wrapper=null),A.function(e)&&e()):(ee.call(this),eh.cancelRequests.call(this),_(this.elements.original,this.elements.container),J.call(this,this.elements.original,"destroyed",!0),A.function(e)&&e.call(this.elements.original),this.ready=!1,setTimeout(()=>{this.elements=null,this.media=null},200))};this.stop(),clearTimeout(this.timers.loading),clearTimeout(this.timers.controls),clearTimeout(this.timers.resized),this.isHTML5?(eU.toggleNativeControls.call(this,!0),i()):this.isYouTube?(clearInterval(this.timers.buffering),clearInterval(this.timers.playing),null!==this.embed&&A.function(this.embed.destroy)&&this.embed.destroy(),i()):this.isVimeo&&(null!==this.embed&&this.embed.unload().then(i),setTimeout(i,200))}),e(this,"supports",e=>z.mime.call(this,e)),this.timers={},this.ready=!1,this.loading=!1,this.failed=!1,this.touch=z.touch,this.media=t,A.string(this.media)&&(this.media=document.querySelectorAll(this.media)),(window.jQuery&&this.media instanceof jQuery||A.nodeList(this.media)||A.array(this.media))&&(this.media=this.media[0]),this.config=I({},eI,eJ.defaults,i||{},(()=>{try{return JSON.parse(this.media.getAttribute("data-plyr-config"))}catch(e){return{}}})()),this.elements={container:null,fullscreen:null,captions:null,buttons:{},display:{},progress:{},inputs:{},settings:{popup:null,menu:null,panels:{},buttons:{}}},this.captions={active:null,currentTrack:-1,meta:new WeakMap},this.fullscreen={active:!1},this.options={speed:[],quality:[]},this.debug=new eM(this.config.debug),this.debug.log("Config",this.config),this.debug.log("Support",z),A.nullOrUndefined(this.media)||!A.element(this.media))return void this.debug.error("Setup failed: no suitable element passed");if(this.media.plyr)return void this.debug.warn("Target already setup");if(!this.config.enabled)return void this.debug.error("Setup failed: disabled by config");if(!z.check().api)return void this.debug.error("Setup failed: no support");let r=this.media.cloneNode(!0);r.autoplay=!1,this.elements.original=r;let n=this.media.tagName.toLowerCase(),a=null,s=null;switch(n){case"div":if(a=this.media.querySelector("iframe"),A.element(a)){var o;if(s=ek(a.getAttribute("src")),this.provider=(o=s.toString(),/^(https?:\/\/)?(www\.)?(youtube\.com|youtube-nocookie\.com|youtu\.?be)\/.+$/.test(o)?eO.youtube:/^https?:\/\/player.vimeo.com\/video\/\d{0,9}(?=\b|\/)/.test(o)?eO.vimeo:null),this.elements.container=this.media,this.media=a,this.elements.container.className="",s.search.length){let e=["1","true"];e.includes(s.searchParams.get("autoplay"))&&(this.config.autoplay=!0),e.includes(s.searchParams.get("loop"))&&(this.config.loop.active=!0),this.isYouTube?(this.config.playsinline=e.includes(s.searchParams.get("playsinline")),this.config.youtube.hl=s.searchParams.get("hl")):this.config.playsinline=!0}}else this.provider=this.media.getAttribute(this.config.attributes.embed.provider),this.media.removeAttribute(this.config.attributes.embed.provider);if(A.empty(this.provider)||!Object.values(eO).includes(this.provider))return void this.debug.error("Setup failed: Invalid provider");this.type=eR;break;case"video":case"audio":this.type=n,this.provider=eO.html5,this.media.hasAttribute("crossorigin")&&(this.config.crossorigin=!0),this.media.hasAttribute("autoplay")&&(this.config.autoplay=!0),(this.media.hasAttribute("playsinline")||this.media.hasAttribute("webkit-playsinline"))&&(this.config.playsinline=!0),this.media.hasAttribute("muted")&&(this.config.muted=!0),this.media.hasAttribute("loop")&&(this.config.loop.active=!0);break;default:return void this.debug.error("Setup failed: unsupported type")}this.supported=z.check(this.type,this.provider),this.supported.api?(this.eventListeners=[],this.listeners=new eB(this),this.storage=new ev(this),this.media.plyr=this,A.element(this.elements.container)||(this.elements.container=R("div"),L(this.media,this.elements.container)),eU.migrateStyles.call(this),eU.addStyleHook.call(this),eX.setup.call(this),this.config.debug&&Y.call(this,this.elements.container,this.config.events.join(" "),e=>{this.debug.log(`event: ${e.type}`)}),this.fullscreen=new eq(this),(this.isHTML5||this.isEmbed&&!this.supported.ui)&&eU.build.call(this),this.listeners.container(),this.listeners.global(),this.config.ads.enabled&&(this.ads=new ez(this)),this.isHTML5&&this.config.auto
vendor: 4,773 bytes, line 1
1play&&this.once("canplay",()=>ei(this.play())),this.lastSeekTime=0,this.config.previewThumbnails.enabled&&(this.previewThumbnails=new eQ(this))):this.debug.error("Setup failed: no support")}get isHTML5(){return this.provider===eO.html5}get isEmbed(){return this.isYouTube||this.isVimeo}get isYouTube(){return this.provider===eO.youtube}get isVimeo(){return this.provider===eO.vimeo}get isVideo(){return this.type===eR}get isAudio(){return"audio"===this.type}get playing(){return!!(this.ready&&!this.paused&&!this.ended)}get paused(){return!!this.media.paused}get stopped(){return!!(this.paused&&0===this.currentTime)}get ended(){return!!this.media.ended}set currentTime(e){if(!this.duration)return;let t=A.number(e)&&e>0;this.media.currentTime=t?Math.min(e,this.duration):0,this.debug.log(`Seeking to ${this.currentTime} seconds`)}get currentTime(){return Number(this.media.currentTime)}get buffered(){let{buffered:e}=this.media;return A.number(e)?e:e&&e.length&&this.duration>0?e.end(0)/this.duration:0}get seeking(){return!!this.media.seeking}get duration(){let e=parseFloat(this.config.duration),t=(this.media||{}).duration,i=A.number(t)&&t!==1/0?t:0;return e||i}set volume(e){let t=e;A.string(t)&&(t=Number(t)),A.number(t)||(t=this.storage.get("volume")),A.number(t)||({volume:t}=this.config),t>1&&(t=1),t<0&&(t=0),this.config.volume=t,this.media.volume=t,!A.empty(e)&&this.muted&&t>0&&(this.muted=!1)}get volume(){return Number(this.media.volume)}set muted(e){let t=e;A.boolean(t)||(t=this.storage.get("muted")),A.boolean(t)||(t=this.config.muted),this.config.muted=t,this.media.muted=t}get muted(){return!!this.media.muted}get hasAudio(){return!this.isHTML5||!!this.isAudio||!!this.media.mozHasAudio||!!this.media.webkitAudioDecodedByteCount||!!(this.media.audioTracks&&this.media.audioTracks.length)}set speed(e){let t=null;A.number(e)&&(t=e),A.number(t)||(t=this.storage.get("speed")),A.number(t)||(t=this.config.speed.selected);let{minimumSpeed:i,maximumSpeed:r}=this;t=eK(t,i,r),this.config.speed.selected=t,setTimeout(()=>{this.media&&(this.media.playbackRate=t)},0)}get speed(){return Number(this.media.playbackRate)}get minimumSpeed(){return this.isYouTube?Math.min(...this.options.speed):this.isVimeo?.5:.0625}get maximumSpeed(){return this.isYouTube?Math.max(...this.options.speed):this.isVimeo?2:16}set quality(e){let t=this.config.quality,i=this.options.quality;if(!i.length)return;let r=[!A.empty(e)&&Number(e),this.storage.get("quality"),t.selected,t.default].find(A.number),n=!0;if(!i.includes(r)){let e=en(i,r);this.debug.warn(`Unsupported quality option: ${r}, using ${e} instead`),r=e,n=!1}t.selected=r,this.media.quality=r,n&&this.storage.set({quality:r})}get quality(){return this.media.quality}set loop(e){let t=A.boolean(e)?e:this.config.loop.active;this.config.loop.active=t,this.media.loop=t}get loop(){return!!this.media.loop}set source(e){eZ.change.call(this,e)}get source(){return this.media.currentSrc}get download(){let{download:e}=this.config.urls;return A.url(e)?e:this.source}set download(e){A.url(e)&&(this.config.urls.download=e,eN.setDownloadUrl.call(this))}set poster(e){this.isVideo?eU.setPoster.call(this,e,!1).catch(()=>{}):this.debug.warn("Poster can only be set for video")}get poster(){return this.isVideo?this.media.getAttribute("poster")||this.media.getAttribute("data-poster"):null}get ratio(){if(!this.isVideo)return null;let e=el(eu.call(this));return A.array(e)?e.join(":"):e}set ratio(e){this.isVideo?A.string(e)&&eo(e)?(this.config.ratio=el(e),ec.call(this)):this.debug.error(`Invalid aspect ratio specified (${e})`):this.debug.warn("Aspect ratio can only be set for video")}set autoplay(e){this.config.autoplay=A.boolean(e)?e:this.config.autoplay}get autoplay(){return!!this.config.autoplay}toggleCaptions(e){ex.toggle.call(this,e,!1)}set currentTrack(e){ex.set.call(this,e,!1),ex.setup.call(this)}get currentTrack(){let{toggled:e,currentTrack:t}=this.captions;return e?t:-1}set language(e){ex.setLanguage.call(this,e,!1)}get language(){return(ex.getCurrentTrack.call(this)||{}).language}set pip(e){if(!z.pip)return;let t=A.boolean(e)?e:!this.pip;A.function(this.media.webkitSetPresentationMode)&&this.media.webkitSetPresentationMode(t?eL:"inline"),A.function(this.media.requestPictureInPicture)&&(!this.pip&&t?this.media.requestPictureInPicture():this.pip&&!t&&document.exitPictureInPicture())}get pip(){return z.pip?A.empty(this.media.webkitPresentationMode)?this.media===document.pictureInPictureElement:this.media.webkitPresentationMode===eL:null}setPreviewThumbnails(e){this.previewThumbnails&&this.previewThumbnails.loaded&&(this.previewThumbnails.destroy(),this.previewThumbnails=null),Object.assign(this.config.previewThumbnails,e),this.config.previewThumbnails.enabled&&(this.previewThumbnails=new eQ(this))}
1static supported(e,t){return z.check(e,t)}static loadSprite(e,t){return eT(e,t)}static setup(e,t={}){let i=null;return A.string(e)?i=Array.from(document.querySelectorAll(e)):A.nodeList(e)?i=Array.from(e):A.array(e)&&(i=e.filter(A.element)),A.empty(i)?null:i.map(e=>new eJ(e,t))}}return eJ.defaults=JSON.parse(JSON.stringify(eI)),eJ},e.exports=r())},35316:function(e){e.exports=function(e,t){var i,r=null;try{i=JSON.parse(e,t)}catch(e){r=e}return[r,i]}},68596:function(e){var t,i,r,n,a;t=/^(?=((?:[a-zA-Z0-9+\-.]+:)?))\1(?=((?:\/\/[^\/?#]*)?))\2(?=((?:(?:[^?#\/]*\/)*[^;?#\/]*)?))\3((?:;[^?#]*)?)(\?[^#]*)?(#[^]*)?$/,i=/^(?=([^\/?#]*))\1([^]*)$/,r=/(?:\/|^)\.(?=\/)/g,n=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,a={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var n=a.parseURL(e);if(!n)throw Error("Error trying to parse base URL.");return n.path=a.normalizePath(n.path),a.buildURLFromParts(n)}var s=a.parseURL(t);if(!s)throw Error("Error trying to parse relative URL.");if(s.scheme)return r.alwaysNormalize?(s.path=a.normalizePath(s.path),a.buildURLFromParts(s)):t;var o=a.parseURL(e);if(!o)throw Error("Error trying to parse base URL.");if(!o.netLoc&&o.path&&"/"!==o.path[0]){var l=i.exec(o.path);o.netLoc=l[1],o.path=l[2]}o.netLoc&&!o.path&&(o.path="/");var u={scheme:o.scheme,netLoc:s.netLoc,path:null,params:s.params,query:s.query,fragment:s.fragment};if(!s.netLoc&&(u.netLoc=o.netLoc,"/"!==s.path[0])){if(s.path){var c=o.path,d=c.substring(0,c.lastIndexOf("/")+1)+s.path;u.path=a.normalizePath(d)}else u.path=o.path,s.params||(u.params=o.params,s.query||(u.query=o.query))}return null===u.path&&(u.path=r.alwaysNormalize?a.normalizePath(s.path):s.path),a.buildURLFromParts(u)},parseURL:function(e){var i=t.exec(e);return i?{scheme:i[1]||"",netLoc:i[2]||"",path:i[3]||"",params:i[4]||"",query:i[5]||"",fragment:i[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(r,"");e.length!==(e=e.replace(n,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=a},99114:function(e,t,i){"use strict";var r=i(89531);function n(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var a=function(e){var t=this;return t.id=e.id,t.label=t.id,t.width=e.width,t.height=e.height,t.bitrate=e.bandwidth,t.frameRate=e.frameRate,t.enabled_=e.enabled,Object.defineProperty(t,"enabled",{get:function(){return t.enabled_()},set:function(e){t.enabled_(e)}}),t},s=function(e){function t(){var t,i=n(n(t=e.call(this)||this));return i.levels_=[],i.selectedIndex_=-1,Object.defineProperty(i,"selectedIndex",{get:function(){return i.selectedIndex_}}),Object.defineProperty(i,"length",{get:function(){return i.levels_.length}}),i||n(t)}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e;var i=t.prototype;return i.addQualityLevel=function(e){var t=this.getQualityLevelById(e.id);if(t)return t;var i=this.levels_.length;return t=new a(e),""+i in this||Object.defineProperty(this,i,{get:function(){return this.levels_[i]}}),this.levels_.push(t),this.trigger({qualityLevel:t,type:"addqualitylevel"}),t},i.removeQualityLevel=function(e){for(var t=null,i=0,r=this.length;i<r;i++)if(this[i]===e){t=this.levels_.splice(i,1)[0],this.selectedIndex_===i?this.selectedIndex_=-1:this.selectedIndex_>i&&this.selectedIndex_--;break}return t&&this.trigger({qualityLevel:e,type:"removequalitylevel"}),t},i.getQualityLevelById=function(e){for(var t=0,i=this.length;t<i;t++){var r=this[t];if(r.id===e)return r}return null},i.dispose=function(){this.selectedIndex_=-1,this.levels_.length=0},t}(r.default.EventTarget);for(var o in s.prototype.allowedEvents_={change:"change",addqualitylevel:"addqualitylevel",removequalitylevel:"removequalitylevel"},s.prototype.allowedEvents_)s.prototype["on"+o]=null;var l="2.2.1",u=r.default.registerPlugin||r.default.plugin,c=function(e,t){var i=e.qualityLevels,r=new s;return e.on("dispose",function t(){r.dispose(),e.qualityLevels=i,e.off("dispose",t)}),e.qualityLevels=function(){return r},e.qualityLevels.VERSION=l,r},d=function(e){return c(this,r.default.mergeOptions({},e))};u("qualityLevels",d),d.VERSION=l},63523:function(e,t,i){"use strict";var r=i(89531),n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(){function e(e){this.value=e}function t(t){var i,r;function n(i,r){try{var s=t[i](r),o=s.value;o instanceof e?Promise.resolve(o.value).then(function(e){n("next",e)},function(e){n("throw",e)}):a(s.done?"return":"normal",s.value)}catch(e){a("throw",e)}}function a(e,t){switch(e){case"return":i.resolve({value:t,done:!0});break;case"throw":i.reject(t);break;default:i.resolve({value:t,done:!1})}(i=i.next)?n(i.key,i.arg):r=null}this._invoke=function(e,t){return new Promise(function(a,s){var o={key:e,arg:t,resolve:a,reject:s,next:null};r?r=r.next=o:(i=r=o,n(e,t))})}
1,"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}();var a=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},s=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},o=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e},l=r.default.getComponent("MenuButton"),u=r.default.getComponent("Menu"),c=r.default.getComponent("Component"),d=r.default.dom,h=function(e){function t(i){return a(this,t),o(this,e.call(this,i,{title:i.localize("Quality"),name:"QualityButton"}))}return s(t,e),t.prototype.createItems=function(){return[]},t.prototype.createMenu=function(){var e=new u(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t,i=d.createEl("li",{className:"vjs-menu-title",innerHTML:"string"!=typeof(t=this.options_.title)?t:t.charAt(0).toUpperCase()+t.slice(1),tabIndex:-1}),r=new c(this.player_,{el:i});this.hideThreshold_+=1,e.addItem(r)}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},t}(l),p=function(e){function t(i,r,n,s){a(this,t);var l=o(this,e.call(this,i,{label:r.label,selectable:!0,selected:r.selected||!1}));return l.item=r,l.qualityButton=n,l.plugin=s,l}return s(t,e),t.prototype.handleClick=function(){for(var e=0;e<this.qualityButton.items.length;++e)this.qualityButton.items[e].selected(!1);this.plugin.setQuality(this.item.value),this.selected(!0)},t}(r.default.getComponent("MenuItem")),m={},f=r.default.registerPlugin||r.default.plugin,g=function(){function e(t,i){a(this,e),this.player=t,this.config=i,this.player.qualityLevels&&this.getHls()&&(this.createQualityButton(),this.bindPlayerEvents())}return e.prototype.getHls=function(){return this.player.tech({IWillNotUseThisInPlugins:!0}).hls},e.prototype.bindPlayerEvents=function(){this.player.qualityLevels().on("addqualitylevel",this.onAddQualityLevel.bind(this))},e.prototype.createQualityButton=function(){var e=this.player;this._qualityButton=new h(e);var t=e.controlBar.children().length-2,i=e.controlBar.addChild(this._qualityButton,{componentClass:"qualitySelector"},this.config.placementIndex||t);if(i.addClass("vjs-quality-selector"),this.config.displayCurrentQuality)this.setButtonInnerText("auto");else{var r=" "+(this.config.vjsIconClass||"vjs-icon-hd");i.menuButton_.$(".vjs-icon-placeholder").className+=r}i.removeClass("vjs-hidden")},e.prototype.setButtonInnerText=function(e){this._qualityButton.menuButton_.$(".vjs-icon-placeholder").innerHTML=e},e.prototype.getQualityMenuItem=function(e){return new p(this.player,e,this._qualityButton,this)},e.prototype.onAddQualityLevel=function(){for(var e=this,t=this.player,i=t.qualityLevels().levels_||[],r=[],a=function(t){if(!r.filter(function(e){return e.item&&e.item.value===i[t].height}).length){var n=e.getQualityMenuItem.call(e,{label:i[t].height+"p",value:i[t].height});r.push(n)}},s=0;s<i.length;++s)a(s);r.sort(function(e,t){return(void 0===e?"undefined":n(e))!=="object"||(void 0===t?"undefined":n(t))!=="object"||e.item.value<t.item.value?-1:e.item.value>t.item.value?1:0}),r.push(this.getQualityMenuItem.call(this,{label:t.localize("Auto"),value:"auto",selected:!0})),this._qualityButton&&(this._qualityButton.createItems=function(){return r},this._qualityButton.update())},e.prototype.setQuality=function(e){var t=this.player.qualityLevels();this._currentQuality=e,this.config.displayCurrentQuality&&this.setButtonInnerText("auto"===e?e:e+"p");for(var i=0;i<t.length;++i){var r=t[i];r.enabled=r.height===e||"auto"===e}this._qualityButton.unpressButton()},e.prototype.getCurrentQuality=function(){return this._currentQuality||"auto"},e}(),b=function(e,t){e.addClass("vjs-hls-quality-selector"),e.hlsQualitySelector=new g(e,t)},y=function(e){var t=this;this.ready(function(){b(t,r.default.mergeOptions(m,e))})};f("hlsQualitySelector",y),y.VERSION="1.1.4"},66197:function(e,t,i){var r,n;n=function(e){"use strict";"undefined"!=typeof window&&(window.videojs_hotkeys={version:"0.2.28"}),(e.registerPlugin||e.plugin)("hotkeys",function(t){var i=this,r=i.el(),n=document,a=(t=(e.mergeOptions||e.util.mergeOptions)({volumeStep:.1,seekStep:5,enableMute:!0,enableVolumeScroll:!0,enableHoverScroll:!1,enableFullscreen:!0,enableNumbers:!0,enableJogStyle:!1,alwaysCaptureHotkeys:!1,captureDocumentHotkeys:!1,documentHotkeysFocusElementFilter:function(){return!1},enableModifiersForNumbers:!0,enableInactiveFocus:!0,skipInitialFocus:!1,playPauseKey:function(e){return 32===e.which||179===e.which},rewindKey:function(e){return 37===e.which||177===e.which},forwardKey:function(e){return 39===e.which||176===e.which},volumeUpKey:function(e){return 38===e.which},volumeDownKey:function(e){return 40===e.which},muteKey:function(e){return 77===e.which},fullscreenKey:function(e){return 70===e.which},customKeys:{}},t||{})).volumeStep,s=t.seekStep,o=t.enableMute,l=t.enableVolumeScroll,u=t.enableHoverScroll,c=t.enableFullscreen,d=t.enableNumbers,h=t.enableJogStyle,p=t.alwaysCaptureHotkeys,m=t.captureDocumentHotkeys,f=t.documentHotkeysFocusElementFilter,g=t.enableModifiersForNumbers,b=t.enableInactiveFocus,y=t.skipInitialFocus,v=e.VERSION;r.hasAttribute("tabIndex")||r.setAttribute("tabIndex","-1"),r.style.outline="none",!p&&i.autoplay()||y||i.one("play",function(){r.focus()}),b&&i.on("userinactive",function(){var e=function(){clearTimeout(t)},t=setTimeout(function(){i.off("useractive",e);var t=n.activeElement,a=r.querySelector(".vjs-control-bar");t&&t.parentElement==a&&r.focus()},10);i.one("useractive",e)}),i.on("play",function(){var e=r.querySelector(".iframeblocker");e&&""===e.style.display&&(e.style.display="block",e.style.bottom="39px")});var w=function(e){var s,l,u=e.which,b=e.preventDefault.bind(e),y=i.duration();if(i.controls()){var v=n.activeElement;if(p||m&&f(v)||v==r||v==r.querySelector(".vjs-tech")||v==r.querySelector(".vjs-control-bar")||v==r.querySelector(".iframeblocker"))switch(S(e,i)){case 1:b(),(p||m)&&e.stopPropagation(),i.paused()?N(i.play()):i.pause();break;case 2:s=!i.paused(),b(),s&&i.pause(),(l=i.currentTime()-A(e))<=0&&(l=0),i.currentTime(l),s&&N(i.play());break;case 3:s=!i.paused(),b(),s&&i.pause(),(l=i.currentTime()+A(e))>=y&&(l=s?y-.001:y),i.currentTime(l),s&&N(i.play());break;case 5:b(),h?(l=i.currentTime()-1,1>=i.currentTime()&&(l=0),i.currentTime(l)):i.volume(i.volume()-a);break;case 4:b(),h?((l=i.currentTime()+1)>=y&&(l=y),i.currentTime(l)):i.volume(i.volume()+a);break;case 6:o&&i.muted(!i.muted());break;case 7:c&&(i.isFullscreen()?i.exitFullscreen():i.requestFullscreen());break;default:if((u>47&&u<59||u>95&&u<106)&&(g||!(e.metaKey||e.ctrlKey||e.altKey))&&d){var w=48;u>95&&(w=96);var T=u-w;b(),i.currentTime(i.duration()*T*.1)}for(var E in t.customKeys){var D=t.customKeys[E];D&&D.key&&D.handler&&D.key(e)&&(b(),D.handler(i,t,e))}}}},T=!1,E=r.querySelector(".vjs-volume-menu-button")||r.querySelector(".vjs-volume-panel");null!=E&&(E.onmouseover=function(){T=!0},E.onmouseout=function(){T=!1});var D=function(e){if(u)var t=0;else var t=n.activeElement;if(i.controls()&&(p||t==r||t==r.querySelector(".vjs-tech")||t==r.querySelector(".iframeblocker")||t==r.querySelector(".vjs-control-bar")||T)&&l){var s=Math.max(-1,Math.min(1,(e=window.event||e).wheelDelta||-e.detail));e.preventDefault(),1==s?i.volume(i.volume()+a):-1==s&&i.volume(i.volume()-a)}},S=function(e,i){return t.playPauseKey(e,i)?1:t.rewindKey(e,i)?2:t.forwardKey(e,i)?3:t.volumeUpKey(e,i)?4:t.volumeDownKey(e,i)?5:t.muteKey(e,i)?6:t.fullscreenKey(e,i)?7:void 0};function A(e){return"function"==typeof s?s(e):s}function N(e){null!=e&&"function"==typeof e.then&&e.then(null,function(e){})}if(m){var k=function(e){w(e)};document.addEventListener("keydown",k),this.dispose=function(){document.removeEventListener("keydown",k)}}else i.on("keydown",w);return i.on("dblclick",function(e){if(null!=v&&v<="7.1.0"&&i.controls()){var t=e.relatedTarget||e.toElement||n.activeElement;(t==r||t==r.querySelector(".vjs-tech")||t==r.querySelector(".iframeblocker"))&&c&&(i.isFullscreen()?i.exitFullscreen():i.requestFullscreen())}}),i.on("mousewheel",D),i.on("DOMMouseScroll",D),this})},"undefined"!=typeof window&&window.videojs?n(window.videojs):void 0===(r=(function(e){return n(e.default||e)}).apply(t,[i(89531)]))||(e.exports=r)},33780:function(e,t,i){var r;r=function(e){"use strict";var t=e&&"object"==typeof e&&"default"in e?e:{default:e};
1function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var r=t.default.getComponent("Button"),n={forwardIndex:1,backIndex:1},a=function(e,t){e.addClass("vjs-seek-buttons"),t.forward&&t.forward>0&&(e.controlBar.seekForward=e.controlBar.addChild("seekButton",{direction:"forward",seconds:t.forward},t.forwardIndex)),t.back&&t.back>0&&(e.controlBar.seekBack=e.controlBar.addChild("seekButton",{direction:"back",seconds:t.back},t.backIndex))},s=function(e){var i=this;this.ready(function(){a(i,t.default.mergeOptions(n,e))})};s.VERSION="3.0.0";var o=function(e){function t(t,i){var r;return"forward"===(r=e.call(this,t,i)||this).options_.direction?r.controlText(r.localize("Seek forward {{seconds}} seconds").replace("{{seconds}}",r.options_.seconds)):"back"===r.options_.direction&&r.controlText(r.localize("Seek back {{seconds}} seconds").replace("{{seconds}}",r.options_.seconds)),r}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,i(t,e);var r=t.prototype;return r.buildCSSClass=function(){return"vjs-seek-button skip-"+this.options_.direction+" skip-"+this.options_.seconds+" "+e.prototype.buildCSSClass.call(this)},r.handleClick=function(){var e=this.player_.currentTime();if("forward"===this.options_.direction){var t=this.player_.duration();this.player_.liveTracker&&this.player_.liveTracker.isLive()&&(t=this.player_.liveTracker.seekableEnd()),this.player_.currentTime(Math.min(e+this.options_.seconds,t))}else"back"===this.options_.direction&&this.player_.currentTime(Math.max(0,e-this.options_.seconds))},t}(r);return t.default.registerComponent("SeekButton",o),t.default.registerPlugin("seekButtons",s),s},e.exports=r(i(89531))},84750:function(e,t,i){var r=i(36655),n=e.exports={WebVTT:i(42871),VTTCue:i(85849),VTTRegion:i(42378)};r.vttjs=n,r.WebVTT=n.WebVTT;var a=n.VTTCue,s=n.VTTRegion,o=r.VTTCue,l=r.VTTRegion;n.shim=function(){r.VTTCue=a,r.VTTRegion=s},n.restore=function(){r.VTTCue=o,r.VTTRegion=l},r.VTTCue||n.shim()},42871:function(e,t,i){var r=i(42492),n=Object.create||function(){function e(){}return function(t){if(1!=arguments.length)throw Error("Object.create shim only accepts one parameter.");return e.prototype=t,new e}}();function a(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function s(e){function t(e,t,i,r){return(0|e)*3600+(0|t)*60+(0|i)+(0|r)/1e3}var i=e.match(/^(\d+):(\d{1,2})(:\d{1,2})?\.(\d{3})/);return i?i[3]?t(i[1],i[2],i[3].replace(":",""),i[4]):i[1]>59?t(i[1],i[2],0,i[4]):t(0,i[1],i[2],i[4]):null}function o(){this.values=n(null)}function l(e,t,i,r){var n=r?e.split(r):[e];for(var a in n)if("string"==typeof n[a]){var s=n[a].split(i);2===s.length&&t(s[0].trim(),s[1].trim())}}a.prototype=n(Error.prototype),a.prototype.constructor=a,a.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,i){return i?this.has(e)?this.values[e]:t[i]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,i){for(var r=0;r<i.length;++r)if(t===i[r]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var u=r.createElement&&r.createElement("textarea"),c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},d={white:"rgba(255,255,255,1)",lime:"rgba(0,255,0,1)",cyan:"rgba(0,255,255,1)",red:"rgba(255,0,0,1)",yellow:"rgba(255,255,0,1)",magenta:"rgba(255,0,255,1)",blue:"rgba(0,0,255,1)",black:"rgba(0,0,0,1)"},h={v:"title",lang:"lang"},p={rt:"ruby"};function m(e,t){for(var i,r=e.document.createElement("div"),n=r,a=[];null!==(i=function(){if(!t)return null;var e,i=t.match(/^([^<]*)(<[^>]*>?)?/);return e=i[1]?i[1]:i[2],t=t.substr(e.length),e}());){if("<"===i[0]){if("/"===i[1]){a.length&&a[a.length-1]===i.substr(2).replace(">","")&&(a.pop(),n=n.parentNode);continue}var o,l,m,f,g=s(i.substr(1,i.length-2));if(g){f=e.document.createProcessingInstruction("timestamp",g),n.appendChild(f);continue}var b=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!b||!(f=function(t,i){var r=c[t];if(!r)return null;var n=e.document.createElement(r),a=h[t];return a&&i&&(n[a]=i.trim()),n}(b[1],b[3]))||(l=n,p[(m=f).localName]&&p[m.localName]!==l.localName))continue;if(b[2]){var y=b[2].split(".");
1y.forEach(function(e){var t=/^bg_/.test(e),i=t?e.slice(3):e;if(d.hasOwnProperty(i)){var r=t?"background-color":"color",n=d[i];f.style[r]=n}}),f.className=y.join(" ")}a.push(b[1]),n.appendChild(f),n=f;continue}n.appendChild(e.document.createTextNode((o=i,u.innerHTML=o,o=u.textContent,u.textContent="",o)))}return r}var f=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function g(){}function b(e,t,i){g.call(this),this.cue=t,this.cueDiv=m(e,t.text);var r={color:"rgba(255, 255, 255, 1)",backgroundColor:"rgba(0, 0, 0, 0.8)",position:"relative",left:0,right:0,top:0,bottom:0,display:"inline",writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext"};this.applyStyles(r,this.cueDiv),this.div=e.document.createElement("div"),r={direction:function(e){var t=[],i="";if(!e||!e.childNodes)return"ltr";function r(e,t){for(var i=t.childNodes.length-1;i>=0;i--)e.push(t.childNodes[i])}for(r(t,e);i=function e(t){if(!t||!t.length)return null;var i=t.pop(),n=i.textContent||i.innerText;if(n){var a=n.match(/^.*(\n|\r)/);return a?(t.length=0,a[0]):n}return"ruby"===i.tagName?e(t):i.childNodes?(r(t,i),e(t)):void 0}(t);)for(var n=0;n<i.length;n++)if(function(e){for(var t=0;t<f.length;t++){var i=f[t];if(e>=i[0]&&e<=i[1])return!0}return!1}(i.charCodeAt(n)))return"rtl";return"ltr"}(this.cueDiv),writingMode:""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",unicodeBidi:"plaintext",textAlign:"middle"===t.align?"center":t.align,font:i.font,whiteSpace:"pre-line",position:"absolute"},this.applyStyles(r),this.div.appendChild(this.cueDiv);var n=0;switch(t.positionAlign){case"start":case"line-left":n=t.position;break;case"center":n=t.position-t.size/2;break;case"end":case"line-right":n=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(n,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(n,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function y(e){var t,i,r,n;if(e.div){i=e.div.offsetHeight,r=e.div.offsetWidth,n=e.div.offsetTop;var a=(a=e.div.childNodes)&&(a=a[0])&&a.getClientRects&&a.getClientRects();e=e.div.getBoundingClientRect(),t=a?Math.max(a[0]&&a[0].height||0,e.height/a.length):0}this.left=e.left,this.right=e.right,this.top=e.top||n,this.height=e.height||i,this.bottom=e.bottom||n+(e.height||i),this.width=e.width||r,this.lineHeight=void 0!==t?t:e.lineHeight}function v(){}g.prototype.applyStyles=function(e,t){for(var i in t=t||this.div,e)e.hasOwnProperty(i)&&(t.style[i]=e[i])},g.prototype.formatStyle=function(e,t){return 0===e?0:e+t},b.prototype=n(g.prototype),b.prototype.constructor=b,y.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},y.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},y.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},y.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},y.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},y.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},y.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},y.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,i=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,r=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||r,height:e.height||t,bottom:e.bottom||r+(e.height||t),width:e.width||i}},v.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},v.convertCueToDOMTree=function(e,t){return e&&t?m(e,t):null},v.processCues=function(e,t,i){if(!e||!t||!i)return null;for(;i.firstChild;)i.removeChild(i.firstChild);var r=e.document.createElement("div");if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin="1.5%",i.appendChild(r),!function(e){for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return!0;return!1}(t)){for(var n=0;n<t.length;n++)r.appendChild(t[n].displayState);return}var a=[],s=y.getSimpleBoxPosition(r),o={font:Math.round(5*s.height)/100+"px sans-serif"};!function(){for(var i,n,l=0;l<t.length;l++)i=new b(e,n=t[l],o),r.appendChild(i.div),function(e,t,i,r){var n=new y(t),a=t.cue,s=function(e){if("number"==typeof e.line&&(e.snapToLines||e.line>=0&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return -1;for(var t=e.track,i=t.textTrackList,r=0,n=0;n<i.length&&i[n]!==t;n++)"showing"===i[n].mode&&r++;return -1*++r}(a),o=[];if(a.snapToLines){switch(a.vertical){case"":o=["+y","-y"],l="height";break;case"rl":o=["+x","-x"],l="width";break;case"lr":o=["-x","+x"],l="width"}var l,u=n.lineHeight,c=u*Math.round(s),d=i[l]+u,h=o[0];Math.abs(c)>d&&(c=Math.ceil(d/u)*u*(c<0?-1:1)),s<0&&(c+=""===a.vertical?i.height:i.width,o=o.reverse()),n.move(h,c)}else{var p=n.lineHeight/i.height*100;switch(a.lineAlign){case"center":s-=p/2;break;case"end":s-=p}switch(a.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}o=["+y","-x","+x","-y"],n=new y(t)}var m=function(e,t){for(var n,a=new y(e),s=1,o=0;o<t.length;o++){for(;e.overlapsOppositeAxis(i,t[o])||e.within(i)&&e.overlapsAny(r);)e.move(t[o]);if(e.within(i))return e;var l=e.intersectPercentage(i);s>l&&(n=new y(e),s=l),e=new y(a)}return n||a}(n,o);t.move(m.toCSSCompatValues(i))}(0,i,s,a),n.displayState=i.div,a.push(y.getSimpleBoxPosition(i))}()},v.Parser=function(e,t,i){i||(i=t,t={}),t||(t={}),this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=i||new TextDecoder("utf8"),this.regionList=[]},v.Parser.prototype={reportOrThrowError:function(e){if(e instanceof a)this.onparsingerror&&this.onparsingerror(e);else throw e},parse:function(e){var t=this;function i(){for(var e=t.buffer,i=0;i<e.length&&"\r"!==e[i]&&"\n"!==e[i];)++i;var r=e.substr(0,i);return"\r"===e[i]&&++i,"\n"===e[i]&&++i,t.buffer=e.substr(i),r}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var r,n,u=(n=i()).match(/^WEBVTT([ \t].*)?$/);if(!u||!u[0])throw new a(a.Errors.BadSignature);t.state="HEADER"}for(var c=!1;t.buffer&&/\r\n|\n/.test(t.buffer);)switch(c?c=!1:n=i(),t.state){case"HEADER":/:/.test(n)?(r=n).match(/X-TIMESTAMP-MAP/)?l(r,function(e,i){if("X-TIMESTAMP-MAP"===e){var r;r=new o,l(i,function(e,t){switch(e){case"MPEGT":r.integer(e+"S",t);break;case"LOCA":r.set(e+"L",s(t))}},/[^\d]:/,/,/),t.ontimestampmap&&t.ontimestampmap({MPEGTS:r.get("MPEGTS"),LOCAL:r.get("LOCAL")})}},/=/):l(r,function(e,i){"Region"===e&&function(e){var i=new o;if(l(e,function(e,t){switch(e){case"id":i.set(e,t);break;case"width":i.percent(e,t);break;case"lines":i.integer(e,t);break;case"regionanchor":case"viewportanchor":var r=t.split(",");if(2!==r.length)break;var n=new o;if(n.percent("x",r[0]),n.percent("y",r[1]),!n.has("x")||!n.has("y"))break;i.set(e+"X",n.get("x")),i.set(e+"Y",n.get("y"));break;case"scroll":i.alt(e,t,["up"])}}
1,/=/,/\s/),i.has("id")){var r=new(t.vttjs.VTTRegion||t.window.VTTRegion);r.width=i.get("width",100),r.lines=i.get("lines",3),r.regionAnchorX=i.get("regionanchorX",0),r.regionAnchorY=i.get("regionanchorY",100),r.viewportAnchorX=i.get("viewportanchorX",0),r.viewportAnchorY=i.get("viewportanchorY",100),r.scroll=i.get("scroll",""),t.onregion&&t.onregion(r),t.regionList.push({id:i.get("id"),region:r})}}(i)},/:/):n||(t.state="ID");continue;case"NOTE":n||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(n)){t.state="NOTE";break}if(!n)continue;t.cue=new(t.vttjs.VTTCue||t.window.VTTCue)(0,0,"");try{t.cue.align="center"}catch(e){t.cue.align="middle"}if(t.state="CUE",-1===n.indexOf("-->")){t.cue.id=n;continue}case"CUE":try{!function(e,t,i){var r=e;function n(){var t=s(e);if(null===t)throw new a(a.Errors.BadTimeStamp,"Malformed timestamp: "+r);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function u(){e=e.replace(/^\s+/,"")}if(u(),t.startTime=n(),u(),"-->"!==e.substr(0,3))throw new a(a.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '-->'): "+r);e=e.substr(3),u(),t.endTime=n(),u(),function(e,t){var r=new o;l(e,function(e,t){switch(e){case"region":for(var n=i.length-1;n>=0;n--)if(i[n].id===t){r.set(e,i[n].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var a=t.split(","),s=a[0];r.integer(e,s),r.percent(e,s)&&r.set("snapToLines",!1),r.alt(e,s,["auto"]),2===a.length&&r.alt("lineAlign",a[1],["start","center","end"]);break;case"position":a=t.split(","),r.percent(e,a[0]),2===a.length&&r.alt("positionAlign",a[1],["start","center","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","center","end","left","right"])}},/:/,/\s/),t.region=r.get("region",null),t.vertical=r.get("vertical","");try{t.line=r.get("line","auto")}catch(e){}t.lineAlign=r.get("lineAlign","start"),t.snapToLines=r.get("snapToLines",!0),t.size=r.get("size",100);try{t.align=r.get("align","center")}catch(e){t.align=r.get("align","middle")}try{t.position=r.get("position","auto")}catch(e){t.position=r.get("position",{start:0,left:0,center:50,middle:50,end:100,right:100},t.align)}t.positionAlign=r.get("positionAlign",{start:"start",left:"start",center:"center",middle:"center",end:"end",right:"end"},t.align)}(e,t)}(n,t.cue,t.regionList)}catch(e){t.reportOrThrowError(e),t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var d=-1!==n.indexOf("-->");if(!n||d&&(c=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=n.replace(/\u2028/g,"\n").replace(/u2029/g,"\n");continue;case"BADCUE":n||(t.state="ID");continue}}catch(e){t.reportOrThrowError(e),"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new a(a.Errors.BadSignature)}catch(e){this.reportOrThrowError(e)}return this.onflush&&this.onflush(),this}},e.exports=v},85849:function(e){var t={"":1,lr:1,rl:1},i={start:1,center:1,end:1,left:1,right:1,auto:1,"line-left":1,"line-right":1};function r(e){return"string"==typeof e&&!!i[e.toLowerCase()]&&e.toLowerCase()}function n(e,i,n){this.hasBeenReset=!1;var a="",s=!1,o=e,l=i,u=n,c=null,d="",h=!0,p="auto",m="start",f="auto",g="auto",b=100,y="center";Object.defineProperties(this,{id:{enumerable:!0,get:function(){return a}
1,set:function(e){a=""+e}},pauseOnExit:{enumerable:!0,get:function(){return s},set:function(e){s=!!e}},startTime:{enumerable:!0,get:function(){return o},set:function(e){if("number"!=typeof e)throw TypeError("Start time must be set to a number.");o=e,this.hasBeenReset=!0}},endTime:{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e)throw TypeError("End time must be set to a number.");l=e,this.hasBeenReset=!0}},text:{enumerable:!0,get:function(){return u},set:function(e){u=""+e,this.hasBeenReset=!0}},region:{enumerable:!0,get:function(){return c},set:function(e){c=e,this.hasBeenReset=!0}},vertical:{enumerable:!0,get:function(){return d},set:function(e){var i="string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase();if(!1===i)throw SyntaxError("Vertical: an invalid or illegal direction string was specified.");d=i,this.hasBeenReset=!0}},snapToLines:{enumerable:!0,get:function(){return h},set:function(e){h=!!e,this.hasBeenReset=!0}},line:{enumerable:!0,get:function(){return p},set:function(e){if("number"!=typeof e&&"auto"!==e)throw SyntaxError("Line: an invalid number or illegal string was specified.");p=e,this.hasBeenReset=!0}},lineAlign:{enumerable:!0,get:function(){return m},set:function(e){var t=r(e);t?(m=t,this.hasBeenReset=!0):console.warn("lineAlign: an invalid or illegal string was specified.")}},position:{enumerable:!0,get:function(){return f},set:function(e){if(e<0||e>100)throw Error("Position must be between 0 and 100.");f=e,this.hasBeenReset=!0}},positionAlign:{enumerable:!0,get:function(){return g},set:function(e){var t=r(e);t?(g=t,this.hasBeenReset=!0):console.warn("positionAlign: an invalid or illegal string was specified.")}},size:{enumerable:!0,get:function(){return b},set:function(e){if(e<0||e>100)throw Error("Size must be between 0 and 100.");b=e,this.hasBeenReset=!0}},align:{enumerable:!0,get:function(){return y},set:function(e){var t=r(e);if(!t)throw SyntaxError("align: an invalid or illegal alignment string was specified.");y=t,this.hasBeenReset=!0}}}),this.displayState=void 0}n.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.exports=n},42378:function(e){var t={"":!0,up:!0};function i(e){return"number"==typeof e&&e>=0&&e<=100}e.exports=function(){var e=100,r=3,n=0,a=100,s=0,o=100,l="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return e},set:function(t){if(!i(t))throw Error("Width must be between 0 and 100.");e=t}},lines:{enumerable:!0,get:function(){return r},set:function(e){if("number"!=typeof e)throw TypeError("Lines must be set to a number.");r=e}},regionAnchorY:{enumerable:!0,get:function(){return a}
1,set:function(e){if(!i(e))throw Error("RegionAnchorX must be between 0 and 100.");a=e}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(e){if(!i(e))throw Error("RegionAnchorY must be between 0 and 100.");n=e}},viewportAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!i(e))throw Error("ViewportAnchorY must be between 0 and 100.");o=e}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(e){if(!i(e))throw Error("ViewportAnchorX must be between 0 and 100.");s=e}},scroll:{enumerable:!0,get:function(){return l},set:function(e){var i="string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase();!1===i?console.warn("Scroll: an invalid or illegal string was specified."):l=i}}})}},59661:function(){},73782:function(){},24598:function(){},64573:function(e,t,i){"use strict";i.d(t,{Z:function(){return a}});var r=i(63929),n=i(85533);function a(e,t,i){if((0,r.Z)())return Reflect.construct.apply(null,arguments);var a=[null];a.push.apply(a,t);var s=new(e.bind.apply(e,a));return i&&(0,n.Z)(s,i.prototype),s}},63929:function(e,t,i){"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(r=function(){return!!e})()}i.d(t,{Z:function(){return r}})}}]);
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.