chunk-libs.dee17568.js 700 KB

1234567891011121314151617181920212223242526
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-libs"],{"01bb":function(t,e,n){"use strict";n("3cd0"),n("6f08")},"01f7":function(t,e,n){},"01f9":function(t,e,n){"use strict";function i(){return this}var r=n("2d00"),o=n("5ca1"),a=n("2aba"),s=n("32e9"),u=n("84f2"),c=n("41a0"),l=n("7f20"),h=n("38fd"),d=n("2b4c")("iterator"),f=!([].keys&&"next"in[].keys()),p="keys",g="values";t.exports=function(t,e,n,m,v,y,b){function _(t){if(!f&&t in x)return x[t];switch(t){case p:case g:return function(){return new n(this,t)}}return function(){return new n(this,t)}}c(n,e,m);var T,S,w,k=e+" Iterator",C=v==g,E=!1,x=t.prototype,O=x[d]||x["@@iterator"]||v&&x[v],A=O||_(v),P=v?C?_("entries"):A:void 0;m="Array"==e&&x.entries||O;if(m&&(w=h(m.call(new t)))!==Object.prototype&&w.next&&(l(w,k,!0),r||"function"==typeof w[d]||s(w,d,i)),C&&O&&O.name!==g&&(E=!0,A=function(){return O.call(this)}),r&&!b||!f&&!E&&x[d]||s(x,d,A),u[e]=A,u[k]=i,v)if(T={values:C?A:_(g),keys:y?A:_(p),entries:P},b)for(S in T)S in x||a(x,S,T[S]);else o(o.P+o.F*(f||E),e,T);return T}},"0298":function(t,e,n){"use strict";var i=n("5ca1"),r=n("4bf8"),o=n("6a99");i(i.P+i.F*n("79e5")((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=r(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},"02de":function(t,e,n){"use strict";function i(t){var e=window.getComputedStyle(t),n="none"===e.display;e=null===t.offsetParent&&"fixed"!==e.position;return n||e}n.d(e,"a",(function(){return i}))},"02f4":function(t,e,n){var i=n("4588"),r=n("be13");t.exports=function(t){return function(e,n){var o,a=String(r(e)),s=i(n);e=a.length;return s<0||e<=s?t?"":void 0:(n=a.charCodeAt(s))<55296||56319<n||s+1===e||(o=a.charCodeAt(s+1))<56320||57343<o?t?a.charAt(s):n:t?a.slice(s,s+2):o-56320+(n-55296<<10)+65536}}},"036c":function(t,e,n){"use strict";function i(t,e){for(var n=-1,i=e;++n<6;)i+=t*d[n],d[n]=i%1e7,i=h(i/1e7)}function r(t){for(var e=6,n=0;0<=--e;)n+=d[e],d[e]=h(n/t),n=n%t*1e7}function o(){for(var t,e=6,n="";0<=--e;)""===n&&0!==e&&0===d[e]||(t=String(d[e]),n=""===n?t:n+c.call("0",7-t.length)+t);return n}var a=n("5ca1"),s=n("4588"),u=n("bef9"),c=n("9744"),l=1..toFixed,h=Math.floor,d=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)};a(a.P+a.F*(!!l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n("79e5")((function(){l.call({})}))),"Number",{toFixed:function(t){var e,n,a=u(this,f),l=s(t),h="";t="0";if(l<0||20<l)throw RangeError(f);if(a!=a)return"NaN";if(a<=-1e21||1e21<=a)return String(a);if(a<0&&(h="-",a=-a),1e-21<a)if(a=(n=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e}(a*p(2,69,1))-69)<0?a*p(2,-n,1):a/p(2,n,1),a*=4503599627370496,0<(n=52-n)){for(i(0,a),e=l;7<=e;)i(1e7,0),e-=7;for(i(p(10,e,1),0),e=n-1;23<=e;)r(1<<23),e-=23;r(1<<e),i(1,1),r(2),t=o()}else i(0,a),i(1<<-n,0),t=o()+c.call("0",l);return 0<l?h+((n=t.length)<=l?"0."+c.call("0",l-n)+t:t.slice(0,n-l)+"."+t.slice(n-l)):h+t}})},"0390":function(t,e,n){"use strict";var i=n("02f4")(!0);t.exports=function(t,e,n){return e+(n?i(t,e).length:1)}},"042e":function(t,e,n){var i=n("5ca1");i(i.S,"Math",{fround:n("91ca")})},"049f":function(t,e,n){var i=n("5ca1");i(i.S,"Math",{log1p:n("d6c6")})},"04ff":function(t,e,n){var i=n("5ca1");n=n("3ca5");i(i.S+i.F*(Number.parseInt!=n),"Number",{parseInt:n})},"06a7":function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=i.get,a=i.key;i.exp({getOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},"06c5":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("6b75");function r(t,e){if(t){if("string"==typeof t)return Object(i.a)(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(t,e):void 0}}},"06db":function(t,e,n){"use strict";var i=n("23c6"),r={};r[n("2b4c")("toStringTag")]="z",r+""!="[object z]"&&n("2aba")(Object.prototype,"toString",(function(){return"[object "+i(this)+"]"}),!0)},"07b4":function(t,e,n){},"092d":function(t,e,n){"use strict";function i(t){var e=t.parentNode;e&&e.removeChild(t)}n.d(e,"a",(function(){return i}))},"097d":function(t,e,n){"use strict";var i=n("5ca1"),r=n("8378"),o=n("7726"),a=n("ebd6"),s=n("bcaa");i(i.P+i.R,"Promise",{finally:function(t){var e=a(this,r.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return s(e,t()).then((function(){return n}))}:t,n?function(n){return s(e,t()).then((function(){throw n}))}:t)}})},"09e0":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},"09fa":function(t,e,n){var i=n("4588"),r=n("9def");t.exports=function(t){if(void 0===t)return 0;var e=i(t);t=r(e);if(e!==t)throw RangeError("Wrong length!");return t}},"0a26":function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var i=n("ad06"),r=n("78eb"),o=n("9884"),a=n("ea8e"),s=function(t){var e=t.parent,n=t.bem,s=t.role;return{mixins:[Object(o.a)(e),r.a],props:{name:null,value:null,disabled:Boolean,iconSize:[Number,String],checkedColor:String,labelPosition:String,labelDisabled:Boolean,shape:{type:String,default:"round"},bindGroup:{type:Boolean,default:!0}},computed:{disableBindRelation:function(){return!this.bindGroup},isDisabled:function(){return this.parent&&this.parent.disabled||this.disabled},direction:function(){return this.parent&&this.parent.direction||null},iconStyle:function(){var t=this.checkedColor||this.parent&&this.parent.checkedColor;if(t&&this.checked&&!this.isDisabled)return{borderColor:t,backgroundColor:t}},tabindex:function(){return this.isDisabled||"radio"===s&&!this.checked?-1:0}},methods:{onClick:function(t){var e=this,n=t.target,i=this.$refs.icon;n=i===n||i.contains(n);this.isDisabled||!n&&this.labelDisabled?this.$emit("click",t):(this.toggle(),setTimeout((function(){e.$emit("click",t)})))},genIcon:function(){var t=this.$createElement,e=this.checked,r=this.iconSize||this.parent&&this.parent.iconSize;return t("div",{ref:"icon",class:n("icon",[this.shape,{disabled:this.isDisabled,checked:e}]),style:{fontSize:Object(a.a)(r)}},[this.slots("icon",{checked:e})||t(i.a,{attrs:{name:"success"},style:this.iconStyle})])},genLabel:function(){var t=this.$createElement,e=this.slots();if(e)return t("span",{class:n("label",[this.labelPosition,{disabled:this.isDisabled}])},[e])}},render:function(){var t=arguments[0],e=[this.genIcon()];return"left"===this.labelPosition?e.unshift(this.genLabel()):e.push(this.genLabel()),t("div",{attrs:{role:s,tabindex:this.tabindex,"aria-checked":String(this.checked)},class:n([{disabled:this.isDisabled,"label-disabled":this.labelDisabled},this.direction]),on:{click:this.onClick}},[e])}}}},"0a49":function(t,e,n){var i=n("9b43"),r=n("626a"),o=n("4bf8"),a=n("9def"),s=n("cd1c");t.exports=function(t,e){var n=1==t,u=2==t,c=3==t,l=4==t,h=6==t,d=5==t||h,f=e||s;return function(e,s,p){for(var g,m,v=o(e),y=r(v),b=i(s,p,3),_=a(y.length),T=0,S=n?f(e,_):u?f(e,0):void 0;T<_;T++)if((d||T in y)&&(m=b(g=y[T],T,v),t))if(n)S[T]=m;else if(m)switch(t){case 3:return!0;case 5:return g;case 6:return T;case 2:S.push(g)}else if(l)return!1;return h?-1:c||l?l:S}}},"0b21":function(t,e,n){var i=n("5ca1");i(i.S,"Math",{sign:n("96fb")})},"0b33":function(t,e,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("9884"),a=n("48f4"),s=(n=Object(r.a)("tab"),r=n[0],n[1]);e.a=r({mixins:[Object(o.a)("vanTabs")],props:Object(i.a)({},a.c,{dot:Boolean,name:[Number,String],info:[Number,String],badge:[Number,String],title:String,titleStyle:null,titleClass:null,disabled:Boolean}),data:function(){return{inited:!1}},computed:{computedName:function(){var t;return null!=(t=this.name)?t:this.index},isActive:function(){var t=this.computedName===this.parent.currentName;return t&&(this.inited=!0),t}},watch:{title:function(){this.parent.setLine(),this.parent.scrollIntoView()},inited:function(t){var e=this;this.parent.lazyRender&&t&&this.$nextTick((function(){e.parent.$emit("rendered",e.computedName,e.title)}))}},render:function(t){var e=this.slots,n=this.parent,i=this.isActive,r=e();if(r||n.animated)return e=n.scrollspy||i,r=this.inited||n.scrollspy||!n.lazyRender?r:t(),n.animated?t("div",{attrs:{role:"tabpanel","aria-hidden":!i},class:s("pane-wrapper",{inactive:!i})},[t("div",{class:s("pane")},[r])]):t("div",{directives:[{name:"show",value:e}],attrs:{role:"tabpanel"},class:s("pane")},[r])}})},"0bfb":function(t,e,n){"use strict";var i=n("cb7c");t.exports=function(){var t=i(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0c00":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{DEG_PER_RAD:Math.PI/180})},"0c36":function(t,e,n){var i=n("5ca1");i(i.G,{global:n("7726")})},"0cd8":function(t,e,n){"use strict";var i=n("5ca1"),r=n("7b23");i(i.P+i.F*!n("2f21")([].reduce,!0),"Array",{reduce:function(t){return r(this,t,arguments.length,arguments[1],!1)}})},"0d25":function(t,e,n){var i=n("5ca1"),r=n("8079")(),o=n("7726").process,a="process"==n("2d95")(o);i(i.G,{asap:function(t){var e=a&&o.domain;r(e?e.bind(t):t)}})},"0d58":function(t,e,n){var i=n("ce10"),r=n("e11e");t.exports=Object.keys||function(t){return i(t,r)}},"0d6d":function(t,e,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("freeze",(function(t){return function(e){return t&&i(e)?t(r(e)):e}}))},"0de0":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={isAudioCodec:function(t){return/mp4a\.\d+.\d+/i.test(t)},parseContentType:function(t){var e={type:"",parameters:{}};t=t.trim().split(";");return e.type=t.shift().trim(),t.forEach((function(t){var n=t.trim().split("=");1<n.length&&(t=n[0].replace(/"/g,"").trim(),n=n[1].replace(/"/g,"").trim(),e.parameters[t]=n)})),e},isVideoCodec:function(t){return/avc1\.[\da-f]+/i.test(t)},translateLegacyCodecs:function(t){return t.map((function(t){return t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t,e,n){return"avc1."+("00"+Number(e).toString(16)).slice(-2)+"00"+("00"+Number(n).toString(16)).slice(-2)}))}))}},t.exports=e.default},"0ea2":function(t,e,n){"use strict";var i,r,o=n("4329"),a=n("4e69"),s=n("ae75"),u=n("256f").TimestampRolloverStream,c=n("ae75"),l=function(){var t=new Uint8Array(188),e=0;l.prototype.init.call(this),this.push=function(n){var i,r=0,o=188;for(e?((i=new Uint8Array(n.byteLength+e)).set(t.subarray(0,e)),i.set(n,e),e=0):i=n;o<i.byteLength;)71!==i[r]||71!==i[o]?(r++,o++):(this.trigger("data",i.subarray(r,o)),r+=188,o+=188);r<i.byteLength&&(t.set(i.subarray(r),0),e=i.byteLength-r)},this.flush=function(){188===e&&71===t[0]&&(this.trigger("data",t),e=0),this.trigger("done")}};l.prototype=new o,(i=function(){var t,e,n,r;i.prototype.init.call(this),(r=this).packetsWaitingForPmt=[],this.programMapTable=void 0,t=function(t,i){var r=0;i.payloadUnitStartIndicator&&(r+=t[r]+1),("pat"===i.type?e:n)(t.subarray(r),i)},e=function(t,e){e.section_number=t[7],e.last_section_number=t[8],r.pmtPid=(31&t[10])<<8|t[11],e.pmtPid=r.pmtPid},n=function(t,e){var n,i;if(1&t[5]){for(r.programMapTable={video:null,audio:null,"timed-metadata":{}},n=3+((15&t[1])<<8|t[2])-4,i=12+((15&t[10])<<8|t[11]);i<n;){var o=t[i],a=(31&t[i+1])<<8|t[i+2];o===s.H264_STREAM_TYPE&&null===r.programMapTable.video?r.programMapTable.video=a:o===s.ADTS_STREAM_TYPE&&null===r.programMapTable.audio?r.programMapTable.audio=a:o===s.METADATA_STREAM_TYPE&&(r.programMapTable["timed-metadata"][a]=o),i+=5+((15&t[i+3])<<8|t[i+4])}e.programMapTable=r.programMapTable}},this.push=function(e){var n={},i=4;if(n.payloadUnitStartIndicator=!!(64&e[1]),n.pid=31&e[1],n.pid<<=8,n.pid|=e[2],1<(48&e[3])>>>4&&(i+=e[i]+1),0===n.pid)n.type="pat",t(e.subarray(i),n),this.trigger("data",n);else if(n.pid===this.pmtPid)for(n.type="pmt",t(e.subarray(i),n),this.trigger("data",n);this.packetsWaitingForPmt.length;)this.processPes_.apply(this,this.packetsWaitingForPmt.shift());else void 0===this.programMapTable?this.packetsWaitingForPmt.push([e,i,n]):this.processPes_(e,i,n)},this.processPes_=function(t,e,n){n.pid===this.programMapTable.video?n.streamType=s.H264_STREAM_TYPE:n.pid===this.programMapTable.audio?n.streamType=s.ADTS_STREAM_TYPE:n.streamType=this.programMapTable["timed-metadata"][n.pid],n.type="pes",n.data=t.subarray(e),this.trigger("data",n)}}).prototype=new o,i.STREAM_TYPES={h264:27,adts:15},(r=function(){function t(t,n,i){var r,o,a,s,u=new Uint8Array(t.size),c={type:n},l=0,h=0;if(t.data.length&&!(t.size<9)){for(c.trackId=t.data[0].pid,l=0;l<t.data.length;l++)r=t.data[l],u.set(r.data,h),h+=r.data.byteLength;o=u,(a=c).packetLength=6+(o[4]<<8|o[5]),a.dataAlignmentIndicator=0!=(4&o[6]),192&(s=o[7])&&(a.pts=(14&o[9])<<27|(255&o[10])<<20|(254&o[11])<<12|(255&o[12])<<5|(254&o[13])>>>3,a.pts*=4,a.pts+=(6&o[13])>>>1,a.dts=a.pts,64&s&&(a.dts=(14&o[14])<<27|(255&o[15])<<20|(254&o[16])<<12|(255&o[17])<<5|(254&o[18])>>>3,a.dts*=4,a.dts+=(6&o[18])>>>1)),a.data=o.subarray(9+o[8]),n="video"===n||c.packetLength<=t.size,(i||n)&&(t.size=0,t.data.length=0),n&&e.trigger("data",c)}}var e=this,n={data:[],size:0},i={data:[],size:0},o={data:[],size:0};r.prototype.init.call(this),this.push=function(r){({pat:function(){},pes:function(){var e,a;switch(r.streamType){case s.H264_STREAM_TYPE:case c.H264_STREAM_TYPE:e=n,a="video";break;case s.ADTS_STREAM_TYPE:e=i,a="audio";break;case s.METADATA_STREAM_TYPE:e=o,a="timed-metadata";break;default:return}r.payloadUnitStartIndicator&&t(e,a,!0),e.data.push(r),e.size+=r.data.byteLength},pmt:function(){var t={type:"metadata",tracks:[]},n=r.programMapTable;null!==n.video&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+n.video,codec:"avc",type:"video"}),null!==n.audio&&t.tracks.push({timelineStartInfo:{baseMediaDecodeTime:0},id:+n.audio,codec:"adts",type:"audio"}),e.trigger("data",t)}})[r.type]()},this.flush=function(){t(n,"video"),t(i,"audio"),t(o,"timed-metadata"),this.trigger("done")}}).prototype=new o;var h,d={PAT_PID:0,MP2T_PACKET_LENGTH:188,TransportPacketStream:l,TransportParseStream:i,ElementaryStream:r,TimestampRolloverStream:u,CaptionStream:a.CaptionStream,Cea608Stream:a.Cea608Stream,MetadataStream:n("5bc0")};for(h in s)s.hasOwnProperty(h)&&(d[h]=s[h]);t.exports=d},"0f26":function(t,e,n){},"0f88":function(t,e,n){for(var i,r=n("7726"),o=n("32e9"),a=(n=n("ca5a"),n("typed_array")),s=n("view"),u=(n=!(!r.ArrayBuffer||!r.DataView),n),c=0,l="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");c<9;)(i=r[l[c++]])?(o(i.prototype,a,!0),o(i.prototype,s,!0)):u=!1;t.exports={ABV:n,CONSTR:u,TYPED:a,VIEW:s}},"10ad":function(t,e,n){"use strict";function i(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}}var r,o=n("7726"),a=n("0a49")(0),s=n("2aba"),u=n("67ab"),c=n("7333"),l=n("643e"),h=n("d3f4"),d=n("b39a"),f=n("b39a"),p=!o.ActiveXObject&&"ActiveXObject"in o,g="WeakMap",m=u.getWeak,v=Object.isExtensible,y=l.ufstore,b=(o={get:function(t){if(h(t)){var e=m(t);return!0===e?y(d(this,g)).get(t):e?e[this._i]:void 0}},set:function(t,e){return l.def(d(this,g),t,e)}},t.exports=n("e0b8")(g,i,o,l,!0,!0));f&&p&&(c((r=l.getConstructor(i,g)).prototype,o),u.NEED=!0,a(["delete","has","get","set"],(function(t){var e=b.prototype,n=e[t];s(e,t,(function(e,i){return!h(e)||v(e)?n.call(this,e,i):(this._f||(this._f=new r),i=this._f[t](e,i),"set"==t?this:i)}))})))},1114:function(t,e,n){},1125:function(t,e,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("1b10"),a=n("f253"),s=(n=Object(r.a)("area"),r=n[0],n[1]),u="000000";e.a=r({props:Object(i.a)({},o.b,{value:String,areaList:{type:Object,default:function(){return{}}},columnsNum:{type:[Number,String],default:3},isOverseaCode:{type:Function,default:function(t){return"9"===t[0]}},columnsPlaceholder:{type:Array,default:function(){return[]}}}),data:function(){return{code:this.value,columns:[{values:[]},{values:[]},{values:[]}]}},computed:{province:function(){return this.areaList.province_list||{}},city:function(){return this.areaList.city_list||{}},county:function(){return this.areaList.county_list||{}},displayColumns:function(){return this.columns.slice(0,+this.columnsNum)},placeholderMap:function(){return{province:this.columnsPlaceholder[0]||"",city:this.columnsPlaceholder[1]||"",county:this.columnsPlaceholder[2]||""}}},watch:{value:function(t){this.code=t,this.setValues()},areaList:{deep:!0,handler:"setValues"},columnsNum:function(){var t=this;this.$nextTick((function(){t.setValues()}))}},mounted:function(){this.setValues()},methods:{getList:function(t,e){var n=[];if("province"!==t&&!e)return n;var i,r=this[t];n=Object.keys(r).map((function(t){return{code:t,name:r[t]}}));return e&&(this.isOverseaCode(e)&&"city"===t&&(e="9"),n=n.filter((function(t){return 0===t.code.indexOf(e)}))),this.placeholderMap[t]&&n.length&&(i="","city"===t?i=u.slice(2,4):"county"===t&&(i=u.slice(4,6)),n.unshift({code:""+e+i,name:this.placeholderMap[t]})),n},getIndex:function(t,e){var n="province"===t?2:"city"===t?4:6,i=this.getList(t,e.slice(0,n-2));this.isOverseaCode(e)&&"province"===t&&(n=1),e=e.slice(0,n);for(var r=0;r<i.length;r++)if(i[r].code.slice(0,n)===e)return r;return 0},parseOutputValues:function(t){var e=this;return t.map((function(t,n){return t&&((t=JSON.parse(JSON.stringify(t))).code&&t.name!==e.columnsPlaceholder[n]||(t.code="",t.name=""),t)}))},onChange:function(t,e,n){this.code=e[n].code,this.setValues(),e=this.parseOutputValues(t.getValues()),this.$emit("change",t,e,n)},onConfirm:function(t,e){t=this.parseOutputValues(t),this.setValues(),this.$emit("confirm",t,e)},getDefaultCode:function(){if(this.columnsPlaceholder.length)return u;var t=Object.keys(this.county);return t[0]?t[0]:(t=Object.keys(this.city),t[0]||"")},setValues:function(){var t=(t=this.code)||this.getDefaultCode(),e=this.$refs.picker,n=this.getList("province"),i=this.getList("city",t.slice(0,2));e&&(e.setColumnValues(0,n),e.setColumnValues(1,i),i.length&&"00"===t.slice(2,4)&&!this.isOverseaCode(t)&&(t=i[0].code),e.setColumnValues(2,this.getList("county",t.slice(0,4))),e.setIndexes([this.getIndex("province",t),this.getIndex("city",t),this.getIndex("county",t)]))},getValues:function(){var t=this.$refs.picker,e=t?t.getValues().filter((function(t){return!!t})):[];return this.parseOutputValues(e)},getArea:function(){var t=this.getValues(),e={code:"",country:"",province:"",city:"",county:""};if(!t.length)return e;var n=t.map((function(t){return t.name}));t=t.filter((function(t){return!!t.code}));return e.code=t.length?t[t.length-1].code:"",this.isOverseaCode(e.code)?(e.country=n[1]||"",e.province=n[2]||""):(e.province=n[0]||"",e.city=n[1]||"",e.county=n[2]||""),e},reset:function(t){this.code=t||"",this.setValues()}},render:function(){var t,e,n,r,o=arguments[0],u=Object(i.a)({},this.$listeners,{change:this.onChange,confirm:this.onConfirm});return o(a.a,{ref:"picker",class:s(),attrs:{showToolbar:!0,valueKey:"name",title:this.title,columns:this.displayColumns,loading:this.loading,readonly:this.readonly,itemHeight:this.itemHeight,swipeDuration:this.swipeDuration,visibleItemCount:this.visibleItemCount,cancelButtonText:this.cancelButtonText,confirmButtonText:this.confirmButtonText},scopedSlots:(t=["title","columns-top","columns-bottom"],e=(o=this).$slots,n=o.$scopedSlots,r={},t.forEach((function(t){n[t]?r[t]=n[t]:e[t]&&(r[t]=function(){return e[t]})})),r),on:Object(i.a)({},u)})}})},1169:function(t,e,n){var i=n("2d95");t.exports=Array.isArray||function(t){return"Array"==i(t)}},"11e9":function(t,e,n){var i=n("52a7"),r=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),u=n("c69a"),c=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?c:function(t,e){if(t=o(t),e=a(e,!0),u)try{return c(t,e)}catch(t){}if(s(t,e))return r(!i.f.call(t,e),t[e])}},"130f":function(t,e,n){var i=n("5ca1");n=n("1991");i(i.G+i.B,{setImmediate:n.set,clearImmediate:n.clear})},1325:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"a",(function(){return s})),n.d(e,"d",(function(){return u})),n.d(e,"c",(function(){return c}));var i=n("a142"),r=!1;if(!i.g)try{var o={};Object.defineProperty(o,"passive",{get:function(){r=!0}}),window.addEventListener("test-passive",null,o)}catch(t){}function a(t,e,n,o){void 0===o&&(o=!1),i.g||t.addEventListener(e,n,!!r&&{capture:!1,passive:o})}function s(t,e,n){i.g||t.removeEventListener(e,n)}function u(t){t.stopPropagation()}function c(t,e){"boolean"==typeof t.cancelable&&!t.cancelable||t.preventDefault(),e&&u(t)}},"140c":function(t,e,n){"use strict";function i(t,e){var n=0,r=0,o=a.default.mergeOptions(s,e);function u(){r&&t.currentTime(r)}function c(e){null!=e&&(r=t.duration()!==1/0&&t.currentTime()||0,t.one("loadedmetadata",u),t.src(e),t.trigger({type:"usage",name:"hls-error-reload"}),t.play())}function l(){if(Date.now()-n<1e3*o.errorInterval)t.trigger({type:"usage",name:"hls-error-reload-canceled"});else{if(o.getSource&&"function"==typeof o.getSource)return n=Date.now(),o.getSource.call(t,c);a.default.log.error("ERROR: reloadSourceOnError - The option getSource must be a function!")}}function h(){t.off("loadedmetadata",u),t.off("error",l),t.off("dispose",h)}t.ready((function(){t.trigger({type:"usage",name:"hls-error-reload-initialized"})})),t.on("error",l),t.on("dispose",h),t.reloadSourceOnError=function(e){h(),i(t,e)}}Object.defineProperty(e,"__esModule",{value:!0});var r,o=n("3d33"),a=(r=o)&&r.__esModule?r:{default:r},s={errorInterval:30,getSource:function(t){return t(this.tech({IWillNotUseThisInPlugins:!0}).currentSource_)}};e.default=function(t){i(this,t)},t.exports=e.default},1421:function(t,e,n){"use strict";function i(t){t=void 0===t?{}:t;var e=t.ref,n=t.afterPortal;return{props:{getContainer:[String,Function]},watch:{getContainer:"portal"},mounted:function(){this.getContainer&&this.portal()},methods:{portal:function(){var t,i=this.getContainer,r=e?this.$refs[e]:this.$el;i?t="string"==typeof(t=i)?document.querySelector(t):t():this.$parent&&(t=this.$parent.$el),t&&t!==r.parentNode&&t.appendChild(r),n&&n.call(this)}}}}n.d(e,"a",(function(){return i}))},1448:function(t,e,n){"use strict";n("386b")("strike",(function(t){return function(){return t(this,"strike","","")}}))},1495:function(t,e,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){r(t);for(var n,a=o(e),s=a.length,u=0;u<s;)i.f(t,n=a[u++],e[n]);return t}},"14b9":function(t,e,n){var i=n("5ca1");i(i.P,"String",{repeat:n("9744")})},"15ac":function(t,e,n){n("ec30")("Int16",2,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},"165b":function(t,e,n){var i=n("d3f4");n("5eda")("isExtensible",(function(t){return function(e){return!!i(e)&&(!t||t(e))}}))},1812:function(t,e,n){},"18d0":function(t,e,n){var i=n("5ca1");n=n("3ca5");i(i.G+i.F*(parseInt!=n),{parseInt:n})},"194a":function(t,e,n){"use strict";var i,r,o,a,s,u,c,l,h,d,f,p,g,m,v,y,b,_,T,S,w,k,C,E,x,O,A,P,j,I,L,M,D,B,R,N,F,U,$,V,H=Math.pow(2,32)-1;!function(){if(k={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],mvex:[],mvhd:[],sdtp:[],smhd:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],styp:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[]},"undefined"!=typeof Uint8Array){for(var t in k)k.hasOwnProperty(t)&&(k[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);C=new Uint8Array(["i".charCodeAt(0),"s".charCodeAt(0),"o".charCodeAt(0),"m".charCodeAt(0)]),x=new Uint8Array(["a".charCodeAt(0),"v".charCodeAt(0),"c".charCodeAt(0),"1".charCodeAt(0)]),E=new Uint8Array([0,0,0,1]),O=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),A=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]),P={video:O,audio:A},L=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),I=new Uint8Array([0,0,0,0,0,0,0,0]),M=new Uint8Array([0,0,0,0,0,0,0,0]),D=M,B=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),R=M,j=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0])}}(),i=function(t){for(var e,n=[],i=0,r=1;r<arguments.length;r++)n.push(arguments[r]);for(r=n.length;r--;)i+=n[r].byteLength;for(e=new Uint8Array(i+8),new DataView(e.buffer,e.byteOffset,e.byteLength).setUint32(0,e.byteLength),e.set(t,4),r=0,i=8;r<n.length;r++)e.set(n[r],i),i+=n[r].byteLength;return e},r=function(){return i(k.dinf,i(k.dref,L))},o=function(t){return i(k.esds,new Uint8Array([0,0,0,0,3,25,0,0,0,4,17,64,21,0,6,0,0,0,218,192,0,0,218,192,5,2,t.audioobjecttype<<3|t.samplingfrequencyindex>>>1,t.samplingfrequencyindex<<7|t.channelcount<<3,6,1,2]))},v=function(t){return i(k.hdlr,P[t])},m=function(t){var e=new Uint8Array([0,0,0,0,0,0,0,2,0,0,0,3,0,1,95,144,t.duration>>>24&255,t.duration>>>16&255,t.duration>>>8&255,255&t.duration,85,196,0,0]);return t.samplerate&&(e[12]=t.samplerate>>>24&255,e[13]=t.samplerate>>>16&255,e[14]=t.samplerate>>>8&255,e[15]=255&t.samplerate),i(k.mdhd,e)},g=function(t){return i(k.mdia,m(t),v(t.type),u(t))},s=function(t){return i(k.mfhd,new Uint8Array([0,0,0,0,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t]))},u=function(t){return i(k.minf,"video"===t.type?i(k.vmhd,j):i(k.smhd,I),r(),b(t))},c=function(t,e){for(var n=[],r=e.length;r--;)n[r]=T(e[r]);return i.apply(null,[k.moof,s(t)].concat(n))},l=function(t){for(var e=t.length,n=[];e--;)n[e]=f(t[e]);return i.apply(null,[k.moov,d(4294967295)].concat(n).concat(h(t)))},h=function(t){for(var e=t.length,n=[];e--;)n[e]=S(t[e]);return i.apply(null,[k.mvex].concat(n))},d=function(t){return t=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,2,0,1,95,144,(4278190080&t)>>24,(16711680&t)>>16,(65280&t)>>8,255&t,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]),i(k.mvhd,t)},y=function(t){for(var e,n=t.samples||[],r=new Uint8Array(4+n.length),o=0;o<n.length;o++)e=n[o].flags,r[o+4]=e.dependsOn<<4|e.isDependedOn<<2|e.hasRedundancy;return i(k.sdtp,r)},b=function(t){return i(k.stbl,_(t),i(k.stts,R),i(k.stsc,D),i(k.stsz,B),i(k.stco,M))},_=function(t){return i(k.stsd,new Uint8Array([0,0,0,0,0,0,0,1]),("video"===t.type?N:F)(t))},N=function(t){for(var e=t.sps||[],n=t.pps||[],r=[],o=[],a=0;a<e.length;a++)r.push((65280&e[a].byteLength)>>>8),r.push(255&e[a].byteLength),r=r.concat(Array.prototype.slice.call(e[a]));for(a=0;a<n.length;a++)o.push((65280&n[a].byteLength)>>>8),o.push(255&n[a].byteLength),o=o.concat(Array.prototype.slice.call(n[a]));return i(k.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,(65280&t.width)>>8,255&t.width,(65280&t.height)>>8,255&t.height,0,72,0,0,0,72,0,0,0,0,0,0,0,1,19,118,105,100,101,111,106,115,45,99,111,110,116,114,105,98,45,104,108,115,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),i(k.avcC,new Uint8Array([1,t.profileIdc,t.profileCompatibility,t.levelIdc,255].concat([e.length]).concat(r).concat([n.length]).concat(o))),i(k.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])))},F=function(t){return i(k.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,(65280&t.channelcount)>>8,255&t.channelcount,(65280&t.samplesize)>>8,255&t.samplesize,0,0,0,0,(65280&t.samplerate)>>8,255&t.samplerate,0,0]),o(t))},p=function(t){return t=new Uint8Array([0,0,0,7,0,0,0,0,0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,0,(4278190080&t.duration)>>24,(16711680&t.duration)>>16,(65280&t.duration)>>8,255&t.duration,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,(65280&t.width)>>8,255&t.width,0,0,(65280&t.height)>>8,255&t.height,0,0]),i(k.tkhd,t)},T=function(t){var e,n=i(k.tfhd,new Uint8Array([0,0,0,58,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0])),r=Math.floor(t.baseMediaDecodeTime/(1+H)),o=Math.floor(t.baseMediaDecodeTime%(1+H));r=i(k.tfdt,new Uint8Array([1,0,0,0,r>>>24&255,r>>>16&255,r>>>8&255,255&r,o>>>24&255,o>>>16&255,o>>>8&255,255&o]));return"audio"===t.type?(e=w(t,92),i(k.traf,n,r,e)):(o=y(t),e=w(t,o.length+92),i(k.traf,n,r,e,o))},f=function(t){return t.duration=t.duration||4294967295,i(k.trak,p(t),g(t))},S=function(t){var e=new Uint8Array([0,0,0,0,(4278190080&t.id)>>24,(16711680&t.id)>>16,(65280&t.id)>>8,255&t.id,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]);return"video"!==t.type&&(e[e.length-1]=0),i(k.trex,e)},U=function(t,e){var n=0,i=0,r=0,o=0;return t.length&&(void 0!==t[0].duration&&(n=1),void 0!==t[0].size&&(i=2),void 0!==t[0].flags&&(r=4),void 0!==t[0].compositionTimeOffset&&(o=8)),[0,0,n|i|r|o,1,(4278190080&t.length)>>>24,(16711680&t.length)>>>16,(65280&t.length)>>>8,255&t.length,(4278190080&e)>>>24,(16711680&e)>>>16,(65280&e)>>>8,255&e]},$=function(t,e){var n,r,o,a=t.samples||[];for(e+=20+16*a.length,n=U(a,e),o=0;o<a.length;o++)r=a[o],n=n.concat([(4278190080&r.duration)>>>24,(16711680&r.duration)>>>16,(65280&r.duration)>>>8,255&r.duration,(4278190080&r.size)>>>24,(16711680&r.size)>>>16,(65280&r.size)>>>8,255&r.size,r.flags.isLeading<<2|r.flags.dependsOn,r.flags.isDependedOn<<6|r.flags.hasRedundancy<<4|r.flags.paddingValue<<1|r.flags.isNonSyncSample,61440&r.flags.degradationPriority,15&r.flags.degradationPriority,(4278190080&r.compositionTimeOffset)>>>24,(16711680&r.compositionTimeOffset)>>>16,(65280&r.compositionTimeOffset)>>>8,255&r.compositionTimeOffset]);return i(k.trun,new Uint8Array(n))},V=function(t,e){var n,r,o,a=t.samples||[];for(e+=20+8*a.length,n=U(a,e),o=0;o<a.length;o++)r=a[o],n=n.concat([(4278190080&r.duration)>>>24,(16711680&r.duration)>>>16,(65280&r.duration)>>>8,255&r.duration,(4278190080&r.size)>>>24,(16711680&r.size)>>>16,(65280&r.size)>>>8,255&r.size]);return i(k.trun,new Uint8Array(n))},w=function(t,e){return("audio"===t.type?V:$)(t,e)},t.exports={ftyp:a=function(){return i(k.ftyp,C,E,C,x)},mdat:function(t){return i(k.mdat,t)},moof:c,moov:l,initSegment:function(t){var e=a(),n=l(t);t=new Uint8Array(e.byteLength+n.byteLength);return t.set(e),t.set(n,e.byteLength),t}}},1991:function(t,e,n){function i(){var t,e=+this;v.hasOwnProperty(e)&&(t=v[e],delete v[e],t())}function r(t){i.call(t.data)}var o,a=n("9b43"),s=n("31f4"),u=n("fab2"),c=n("230e"),l=n("7726"),h=l.process,d=l.setImmediate,f=l.clearImmediate,p=l.MessageChannel,g=l.Dispatch,m=0,v={},y="onreadystatechange";d&&f||(d=function(t){for(var e=[],n=1;n<arguments.length;)e.push(arguments[n++]);return v[++m]=function(){s("function"==typeof t?t:Function(t),e)},o(m),m},f=function(t){delete v[t]},"process"==n("2d95")(h)?o=function(t){h.nextTick(a(i,t,1))}:g&&g.now?o=function(t){g.now(a(i,t,1))}:p?(p=(n=new p).port2,n.port1.onmessage=r,o=a(p.postMessage,p,1)):l.addEventListener&&"function"==typeof postMessage&&!l.importScripts?(o=function(t){l.postMessage(t+"","*")},l.addEventListener("message",r,!1)):o=y in c("script")?function(t){u.appendChild(c("script"))[y]=function(){u.removeChild(this),i.call(t)}}:function(t){setTimeout(a(i,t,1),0)}),t.exports={set:d,clear:f}},"1a44":function(t,e,n){},"1b10":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r}));var i=44,r={title:String,loading:Boolean,readonly:Boolean,itemHeight:[Number,String],showToolbar:Boolean,cancelButtonText:String,confirmButtonText:String,allowHtml:{type:Boolean,default:!0},visibleItemCount:{type:[Number,String],default:6},swipeDuration:{type:[Number,String],default:1e3}}},"1b8d":function(t,e){t.exports=function(t){for(var e="",n=0;n<arguments.length;n++)e+=t[n].replace(/\n\r?\s*/g,"")+(arguments[n+1]||"");return e}},"1c01":function(t,e,n){var i=n("5ca1");i(i.S+i.F*!n("9e1e"),"Object",{defineProperty:n("86cc").f})},"1c05":function(t,e,n){"use strict";n=n("4329");var i=function(t){this.numberOfTracks=0,this.metadataStream=t.metadataStream,this.videoTags=[],this.audioTags=[],this.videoTrack=null,this.audioTrack=null,this.pendingCaptions=[],this.pendingMetadata=[],this.pendingTracks=0,this.processedTracks=0,i.prototype.init.call(this),this.push=function(t){return t.text?this.pendingCaptions.push(t):t.frames?this.pendingMetadata.push(t):("video"===t.track.type&&(this.videoTrack=t.track,this.videoTags=t.tags,this.pendingTracks++),void("audio"===t.track.type&&(this.audioTrack=t.track,this.audioTags=t.tags,this.pendingTracks++)))}};i.prototype=new n,i.prototype.flush=function(t){var e,n,i,r,o={tags:{},captions:[],captionStreams:{},metadata:[]};if(this.pendingTracks<this.numberOfTracks){if("VideoSegmentStream"!==t&&"AudioSegmentStream"!==t)return;if(0===this.pendingTracks&&(this.processedTracks++,this.processedTracks<this.numberOfTracks))return}if(this.processedTracks+=this.pendingTracks,this.pendingTracks=0,!(this.processedTracks<this.numberOfTracks)){for(this.videoTrack?r=this.videoTrack.timelineStartInfo.pts:this.audioTrack&&(r=this.audioTrack.timelineStartInfo.pts),o.tags.videoTags=this.videoTags,o.tags.audioTags=this.audioTags,i=0;i<this.pendingCaptions.length;i++)(n=this.pendingCaptions[i]).startTime=n.startPts-r,n.startTime/=9e4,n.endTime=n.endPts-r,n.endTime/=9e4,o.captionStreams[n.stream]=!0,o.captions.push(n);for(i=0;i<this.pendingMetadata.length;i++)(e=this.pendingMetadata[i]).cueTime=e.pts-r,e.cueTime/=9e4,o.metadata.push(e);o.metadata.dispatchType=this.metadataStream.dispatchType,this.videoTrack=null,this.audioTrack=null,this.videoTags=[],this.audioTags=[],this.pendingCaptions.length=0,this.pendingMetadata.length=0,this.pendingTracks=0,this.processedTracks=0,this.trigger("data",o),this.trigger("done")}},t.exports=i},"1c4c":function(t,e,n){"use strict";var i=n("9b43"),r=n("5ca1"),o=n("4bf8"),a=n("1fa8"),s=n("33a4"),u=n("9def"),c=n("f1ae"),l=n("27ee");r(r.S+r.F*!n("5cc5")((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,r,h,d=o(t),f="function"==typeof this?this:Array,p=arguments.length,g=1<p?arguments[1]:void 0,m=void 0!==g,v=0;t=l(d);if(m&&(g=i(g,2<p?arguments[2]:void 0,2)),null==t||f==Array&&s(t))for(n=new f(e=u(d.length));v<e;v++)c(n,v,m?g(d[v],v):d[v]);else for(h=t.call(d),n=new f;!(r=h.next()).done;v++)c(n,v,m?a(h,g,[r.value,v],!0):r.value);return n.length=v,n}})},"1da1":function(t,e,n){"use strict";function i(t,e,n,i,r,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(i,r)}function r(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return r}))},"1f18":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{RAD_PER_DEG:180/Math.PI})},"1f91":function(t,e,n){var i=n("5ca1"),r=n("e9d2"),o=n("91ca");i(i.S,"Math",{fscale:function(t,e,n,i,a){return o(r(t,e,n,i,a))}})},"1fa8":function(t,e,n){var i=n("cb7c");t.exports=function(t,e,n,r){try{return r?e(i(n)[0],n[1]):e(n)}catch(e){throw n=t.return,void 0!==n&&i(n.call(t)),e}}},"1fe9":function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("01f7"),n("7f75"),n("5360")},"20d6":function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(6),o="findIndex",a=!0;o in[]&&Array(1)[o]((function(){a=!1})),i(i.P+i.F*a,"Array",{findIndex:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0)}}),n("9c6c")(o)},"214f":function(t,e,n){"use strict";n("b0c5");var i=n("2aba"),r=n("32e9"),o=n("79e5"),a=n("be13"),s=n("2b4c"),u=n("520a"),c=s("species"),l=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),h=function(){var t=/(?:)/,e=t.exec;return t.exec=function(){return e.apply(this,arguments)},t="ab".split(t),2===t.length&&"a"===t[0]&&"b"===t[1]}();t.exports=function(t,e,n){var d,f,p=s(t),g=!o((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),m=g?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[c]=function(){return n}),n[p](""),!e})):void 0;g&&m&&("replace"!==t||l)&&("split"!==t||h)||(d=/./[p],n=(m=n(a,p,""[t],(function(t,e,n,i,r){return e.exec===u?g&&!r?{done:!0,value:d.call(e,n,i)}:{done:!0,value:t.call(n,e,i)}:{done:!1}})))[0],f=m[1],i(String.prototype,t,n),r(RegExp.prototype,p,2==e?function(t,e){return f.call(t,this,e)}:function(t){return f.call(t,this)}))}},"217b":function(t,e,n){"use strict";var i=n("d3f4"),r=n("38fd"),o=n("2b4c")("hasInstance"),a=Function.prototype;o in a||n("86cc").f(a,o,{value:function(t){if("function"!=typeof this||!i(t))return!1;if(!i(this.prototype))return t instanceof this;for(;t=r(t);)if(this.prototype===t)return!0;return!1}})},2241:function(t,e,n){"use strict";var i,r=n("c31d"),o=n("8bbf"),a=n.n(o),s=n("2638"),u=n.n(s),c=n("d282"),l=n("ea8e"),h=n("b1d2"),d=n("6605"),f=n("b650"),p=n("9884"),g=(o=Object(c.a)("goods-action"),s=o[0],o[1]),m=s({mixins:[Object(p.b)("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){return(0,arguments[0])("div",{class:g({unfit:!this.safeAreaInsetBottom})},[this.slots()])}}),v=n("48f4"),y=(o=Object(c.a)("goods-action-button"),s=o[0],o[1]),b=s({mixins:[Object(p.a)("vanGoodsAction")],props:Object(r.a)({},v.c,{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),computed:{isFirst:function(){var t=this.parent&&this.parent.children[this.index-1];return!t||t.$options.name!==this.$options.name},isLast:function(){var t=this.parent&&this.parent.children[this.index+1];return!t||t.$options.name!==this.$options.name}},methods:{onClick:function(t){this.$emit("click",t),Object(v.b)(this.$router,this)}},render:function(){return(0,arguments[0])(f.a,{class:y([{first:this.isFirst,last:this.isLast},this.type]),attrs:{size:"large",type:this.type,icon:this.icon,color:this.color,loading:this.loading,disabled:this.disabled},on:{click:this.onClick}},[this.slots()||this.text])}}),_=(p=Object(c.a)("dialog"),c=p[0],p[1]),T=p[2],S=c({mixins:[Object(d.a)()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"van-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(t){var e=this;this.$emit(t),this.value&&(this.beforeClose?(this.loading[t]=!0,this.beforeClose(t,(function(n){!1!==n&&e.loading[t]&&e.onClose(t),e.loading.confirm=!1,e.loading.cancel=!1}))):this.onClose(t))},onClose:function(t){this.close(),this.callback&&this.callback(t)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genRoundButtons:function(){var t=this,e=this.$createElement;return e(m,{class:_("footer")},[this.showCancelButton&&e(b,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||T("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:_("cancel"),on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&e(b,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||T("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:_("confirm"),on:{click:function(){t.handleAction("confirm")}}})])},genButtons:function(){var t=this,e=this.$createElement,n=this.showCancelButton&&this.showConfirmButton;return e("div",{class:[h.e,_("footer")]},[this.showCancelButton&&e(f.a,{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||T("cancel")},class:_("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&e(f.a,{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||T("confirm")},class:[_("confirm"),((e={})[h.c]=n,e)],style:{color:this.confirmButtonColor},on:{click:function(){t.handleAction("confirm")}}})])},genContent:function(t,e){var n=this.$createElement;if(e)return n("div",{class:_("content")},[e]);var i=this.message,r=this.messageAlign;return i?(e={class:_("message",((e={"has-title":t})[r]=r,e)),domProps:((e={})[this.allowHtml?"innerHTML":"textContent"]=i,e)},n("div",{class:_("content",{isolated:!t})},[n("div",u()([{},e]))])):void 0}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.message,n=this.slots(),i=this.slots("title")||this.title,r=i&&t("div",{class:_("header",{isolated:!e&&!n})},[i]);return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||e},class:[_([this.theme]),this.className],style:{width:Object(l.a)(this.width)}},[r,this.genContent(i,n),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}}),w=n("a142");function k(t){return w.g?Promise.resolve():new Promise((function(e,n){var o;i&&(o=i.$el,document.body.contains(o))||(i&&i.$destroy(),(i=new(a.a.extend(S))({el:document.createElement("div"),propsData:{lazyRender:!1}})).$on("input",(function(t){i.value=t}))),Object(r.a)(i,k.currentOptions,t,{resolve:e,reject:n})}))}k.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(t){i["confirm"===t?"resolve":"reject"](t)}},(k.alert=k).confirm=function(t){return k(Object(r.a)({showCancelButton:!0},t))},k.close=function(){i&&(i.value=!1)},k.setDefaultOptions=function(t){Object(r.a)(k.currentOptions,t)},(k.resetDefaultOptions=function(){k.currentOptions=Object(r.a)({},k.defaultOptions)})(),k.install=function(){a.a.use(S)},k.Component=S,a.a.prototype.$dialog=k,e.a=k},2251:function(t,e,n){var i=n("5ca1"),r=n("cb7c"),o=Object.isExtensible;i(i.S,"Reflect",{isExtensible:function(t){return r(t),!o||o(t)}})},"230d":function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(){}function o(t,e){t.abort(),t.pause(),e&&e.activePlaylistLoader&&(e.activePlaylistLoader.pause(),e.activePlaylistLoader=null)}Object.defineProperty(e,"__esModule",{value:!0});var a=i(n("3d33")),s=i(n("8c57"));function u(t,e){(e.activePlaylistLoader=t).load()}function c(t,e){return function(){var n=e.segmentLoaders,i=n[t],r=n.main,a=e.mediaTypes[t],s=a.activeTrack();n=a.activeGroup(s),s=a.activePlaylistLoader;o(i,a),n&&(n.playlistLoader?(i.resyncLoader(),u(n.playlistLoader,a)):s&&r.resetEverything())}}function l(t,e){return function(){var n=e.segmentLoaders,i=n[t],r=n.main,a=e.mediaTypes[t],s=a.activeTrack(),c=a.activeGroup(s);n=a.activePlaylistLoader;o(i,a),c&&(c.playlistLoader?(n!==c.playlistLoader&&(i.track&&i.track(s),i.resetEverything()),u(c.playlistLoader,a)):r.resetEverything())}}e.stopLoaders=o,e.startLoaders=u,e.onGroupChanged=c,e.onTrackChanged=l;var h={AUDIO:function(t,e){return function(){var n=e.segmentLoaders[t],i=e.mediaTypes[t],r=e.blacklistCurrentPlaylist;o(n,i);var s=i.activeTrack(),u=(n=i.activeGroup(),n=(n.filter((function(t){return t.default}))[0]||n[0]).id,i.tracks[n]);if(s!==u){for(var c in a.default.log.warn("Problem encountered loading the alternate audio track.Switching back to default."),i.tracks)i.tracks[c].enabled=i.tracks[c]===u;i.onTrackChanged()}else r({message:"Problem encountered loading the default audio track."})}},SUBTITLES:function(t,e){return function(){var n=e.segmentLoaders[t],i=e.mediaTypes[t];a.default.log.warn("Problem encountered loading the subtitle track.Disabling subtitle track."),o(n,i),n=i.activeTrack(),n&&(n.mode="disabled"),i.onTrackChanged()}}};e.onError=h;var d={AUDIO:function(t,e,n){var i,r,o;e&&(i=n.tech,r=n.requestOptions,o=n.segmentLoaders[t],e.on("loadedmetadata",(function(){var t=e.media();o.playlist(t,r),(!i.paused()||t.endList&&"none"!==i.preload())&&o.load()})),e.on("loadedplaylist",(function(){o.playlist(e.media(),r),i.paused()||o.load()})),e.on("error",h[t](t,n)))},SUBTITLES:function(t,e,n){var i=n.tech,r=n.requestOptions,o=n.segmentLoaders[t],a=n.mediaTypes[t];e.on("loadedmetadata",(function(){var t=e.media();o.playlist(t,r),o.track(a.activeTrack()),(!i.paused()||t.endList&&"none"!==i.preload())&&o.load()})),e.on("loadedplaylist",(function(){o.playlist(e.media(),r),i.paused()||o.load()})),e.on("error",h[t](t,n))}};e.setupListeners=d;var f={AUDIO:function(t,e){var n,i,r=e.mode,o=e.hls,u=e.segmentLoaders[t],c=e.requestOptions,l=e.master.mediaGroups,f=e.mediaTypes[t],p=f.groups,g=f.tracks;for(n in l[t]&&0!==Object.keys(l[t]).length&&"html5"===r||(l[t]={main:{default:{default:!0}}}),l[t])for(var m in p[n]||(p[n]=[]),l[t][n]){var v=void 0,y=(v=(y=l[t][n][m]).resolvedUri?new s.default(y.resolvedUri,o,c):null,a.default.mergeOptions({id:m,playlistLoader:v},y));d[t](t,y.playlistLoader,e),p[n].push(y),void 0===g[m]&&(y=new a.default.AudioTrack({id:m,kind:(i=void 0,i=(v=y).default?"main":"alternative",i=v.characteristics&&0<=v.characteristics.indexOf("public.accessibility.describes-video")?"main-desc":i),enabled:!1,language:y.language,default:y.default,label:m}),g[m]=y)}u.on("error",h[t](t,e))},SUBTITLES:function(t,e){var n,i,r=e.tech,o=e.hls,u=e.segmentLoaders[t],c=e.requestOptions,l=e.master.mediaGroups,f=e.mediaTypes[t],p=f.groups,g=f.tracks;for(n in l[t])for(var m in p[n]||(p[n]=[]),l[t][n])l[t][n][m].forced||(i=l[t][n][m],i=a.default.mergeOptions({id:m,playlistLoader:new s.default(i.resolvedUri,o,c)},i),d[t](t,i.playlistLoader,e),p[n].push(i),void 0===g[m]&&(i=r.addRemoteTextTrack({id:m,kind:"subtitles",enabled:!1,language:i.language,label:m},!1).track,g[m]=i));u.on("error",h[t](t,e))},"CLOSED-CAPTIONS":function(t,e){var n,i=e.tech,r=e.master.mediaGroups,o=(e=e.mediaTypes[t],e.groups),s=e.tracks;for(n in r[t])for(var u in o[n]||(o[n]=[]),r[t][n]){var c=r[t][n][u];c.instreamId.match(/CC\d/)&&(o[n].push(a.default.mergeOptions({id:u},c)),void 0===s[u]&&(c=i.addRemoteTextTrack({id:c.instreamId,kind:"captions",enabled:!1,language:c.language,label:u},!1).track,s[u]=c))}}};function p(t,e){return function(n){var i=e.masterPlaylistLoader,r=e.mediaTypes[t].groups,o=i.media();return o?(i=null,i=(i=o.attributes[t]?r[o.attributes[t]]:i)||r.main,void 0===n?i:null!==n&&i.filter((function(t){return t.id===n.id}))[0]||null):null}}e.initialize=f,e.activeGroup=p;var g={AUDIO:function(t,e){return function(){var n,i=e.mediaTypes[t].tracks;for(n in i)if(i[n].enabled)return i[n];return null}},SUBTITLES:function(t,e){return function(){var n,i=e.mediaTypes[t].tracks;for(n in i)if("showing"===i[n].mode)return i[n];return null}}};e.activeTrack=g,e.setupMediaGroups=function(t){["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(e){f[e](e,t)}));var e=t.mediaTypes,n=t.masterPlaylistLoader,i=t.tech,r=t.hls;["AUDIO","SUBTITLES"].forEach((function(n){e[n].activeGroup=p(n,t),e[n].activeTrack=g[n](n,t),e[n].onGroupChanged=c(n,t),e[n].onTrackChanged=l(n,t)}));var o=e.AUDIO.activeGroup();o=(o.filter((function(t){return t.default}))[0]||o[0]).id;function a(){e.AUDIO.onTrackChanged(),i.trigger({type:"usage",name:"hls-audio-change"})}for(var s in e.AUDIO.tracks[o].enabled=!0,e.AUDIO.onTrackChanged(),n.on("mediachange",(function(){["AUDIO","SUBTITLES"].forEach((function(t){return e[t].onGroupChanged()}))})),i.audioTracks().addEventListener("change",a),i.remoteTextTracks().addEventListener("change",e.SUBTITLES.onTrackChanged),r.on("dispose",(function(){i.audioTracks().removeEventListener("change",a),i.remoteTextTracks().removeEventListener("change",e.SUBTITLES.onTrackChanged)})),i.clearTracks("audio"),e.AUDIO.tracks)i.audioTracks().addTrack(e.AUDIO.tracks[s])},e.createMediaTypes=function(){var t={};return["AUDIO","SUBTITLES","CLOSED-CAPTIONS"].forEach((function(e){t[e]={groups:{},tracks:{},activePlaylistLoader:null,activeGroup:r,activeTrack:r,onGroupChanged:r,onTrackChanged:r}})),t}},"230e":function(t,e,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},"237a":function(t,e,n){},2397:function(t,e,n){var i=n("5ca1"),r=n("2aeb"),o=n("d8e8"),a=n("cb7c"),s=n("d3f4"),u=n("79e5"),c=n("f0c1"),l=(n("7726").Reflect||{}).construct,h=u((function(){function t(){}return!(l((function(){}),[],t)instanceof t)})),d=!u((function(){l((function(){}))}));i(i.S+i.F*(h||d),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!h)return l(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var i=[null];return i.push.apply(i,e),new(c.apply(t,i))}return i=n.prototype,n=r(s(i)?i:Object.prototype),i=Function.apply.call(t,n,e),s(i)?i:n}})},"23be":function(t,e,n){"use strict";n("aa77")("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},"23bf":function(t,e,n){"use strict";var i=n("5ca1"),r=n("fab2"),o=n("2d95"),a=n("77f1"),s=n("9def"),u=[].slice;i(i.P+i.F*n("79e5")((function(){r&&u.call(r)})),"Array",{slice:function(t,e){var n=s(this.length),i=o(this);if(e=void 0===e?n:e,"Array"==i)return u.call(this,t,e);for(var r=a(t,n),c=(n=a(e,n),s(n-r)),l=new Array(c),h=0;h<c;h++)l[h]="String"==i?this.charAt(r+h):this[r+h];return l}})},"23c6":function(t,e,n){var i=n("2d95"),r=n("2b4c")("toStringTag"),o="Arguments"==i(function(){return arguments}());t.exports=function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(t=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),r))?t:o?i(e):"Object"==(t=i(e))&&"function"==typeof e.callee?"Arguments":t}},"242a":function(t,e,n){"use strict";n("386b")("sup",(function(t){return function(){return t(this,"sup","","")}}))},2464:function(t,e,n){},"24e6":function(t,e,n){},"256f":function(t,e,n){"use strict";function i(t,e){var n=1;for(e<t&&(n=-1);4294967296<Math.abs(e-t);)t+=8589934592*n;return t}n=n("4329");var r=function(t){var e,n;r.prototype.init.call(this),this.type_=t,this.push=function(t){t.type===this.type_&&(void 0===n&&(n=t.dts),t.dts=i(t.dts,n),t.pts=i(t.pts,n),e=t.dts,this.trigger("data",t))},this.flush=function(){n=e,this.trigger("done")},this.discontinuity=function(){e=n=void 0}};r.prototype=new n,t.exports={TimestampRolloverStream:r,handleRollover:i}},2591:function(t,e,n){"use strict";n("3cd0"),n("07b4")},"25bb":function(t,e,n){},"25c9":function(t,e,n){n=n("5ca1");var i=Math.exp;n(n.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},"25db":function(t,e,n){n("5eda")("getOwnPropertyNames",(function(){return n("7bbc").f}))},2621:function(t,e){e.f=Object.getOwnPropertySymbols},"262f":function(t,e,n){var i=n("5ca1");i(i.G+i.W+i.F*!n("0f88").ABV,{DataView:n("ed0b").DataView})},2638:function(t,e,n){"use strict";function i(){return(i=Object.assign||function(t){for(var e,n=1;n<arguments.length;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)}var r=["attrs","props","domProps"],o=["class","style","directives"],a=["on","nativeOn"],s=function(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}};t.exports=function(t){return t.reduce((function(t,e){for(var n in e)if(t[n])if(-1!==r.indexOf(n))t[n]=i({},t[n],e[n]);else if(-1!==o.indexOf(n)){var u=t[n]instanceof Array?t[n]:[t[n]],c=e[n]instanceof Array?e[n]:[e[n]];t[n]=u.concat(c)}else if(-1!==a.indexOf(n))for(var l in e[n]){var h,d;t[n][l]?(h=t[n][l]instanceof Array?t[n][l]:[t[n][l]],d=e[n][l]instanceof Array?e[n][l]:[e[n][l]],t[n][l]=h.concat(d)):t[n][l]=e[n][l]}else if("hook"==n)for(var f in e[n])t[n][f]=t[n][f]?s(t[n][f],e[n][f]):e[n][f];else t[n]=e[n];else t[n]=e[n];return t}),{})}},"269f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){var n,i=t.addSourceBuffer(e),r=Object.create(null);for(n in r.updating=!1,r.realBuffer_=i)!function(t){"function"==typeof i[t]?r[t]=function(){return i[t].apply(i,arguments)}:void 0===r[t]&&Object.defineProperty(r,t,{get:function(){return i[t]},set:function(e){return i[t]=e}})}(n);return r}function u(t,e,n){if(!e||!t.length)return[];var i=Math.ceil(9e4*(e.currentTime()-n+3)),r=void 0;for(r=0;r<t.length&&!(t[r].pts>i);r++);return t.slice(r)}var c=a(n("3d33")),l=a(n("9417")),h=a(n("4ea2")),d=n("ba2d"),f=a(n("78d8")),p=a(n("5c9d")),g=n("0de0"),m=function(){var t=void 0;try{t="5c9d"}catch(t){}return t};function v(t,e,n){if(!e.length)return t;if(n)return e.slice();for(var i=e[0].pts,r=0;r<t.length&&!(t[r].pts>=i);r++);return t.slice(0,r).concat(e)}function y(t,e,n,i){for(var r=Math.ceil(9e4*(e-i)),o=Math.ceil(9e4*(n-i)),a=(i=t.slice(),t.length);a--&&!(t[a].pts<=o););if(-1===a)return i;for(var s=a+1;s--&&!(t[s].pts<=r););return s=Math.max(s,0),i.splice(s,a-s+1),i}function b(t,e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,b),o(Object.getPrototypeOf(b.prototype),"constructor",this).call(this,c.default.EventTarget),this.timestampOffset_=0,this.pendingBuffers_=[],this.bufferUpdating_=!1,this.mediaSource_=t,this.codecs_=e,this.audioCodec_=null,this.videoCodec_=null,this.audioDisabled_=!1,this.appendAudioInitSegment_=!0,this.gopBuffer_=[],this.timeMapping_=0,this.safeAppend_=11<=c.default.browser.IE_VERSION,e={remux:!1,alignGopsAtEnd:this.safeAppend_},this.codecs_.forEach((function(t){(0,g.isAudioCodec)(t)?n.audioCodec_=t:(0,g.isVideoCodec)(t)&&(n.videoCodec_=t)})),this.transmuxer_=(0,f.default)(p.default,m()),this.transmuxer_.postMessage({action:"init",options:e}),this.transmuxer_.onmessage=function(t){return"data"===t.data.action?n.data_(t):"done"===t.data.action?n.done_(t):"gopInfo"===t.data.action?n.appendGopInfo_(t):void 0},Object.defineProperty(this,"timestampOffset",{get:function(){return this.timestampOffset_},set:function(t){"number"==typeof t&&0<=t&&(this.timestampOffset_=t,this.appendAudioInitSegment_=!0,this.gopBuffer_.length=0,this.timeMapping_=0,this.transmuxer_.postMessage({action:"setTimestampOffset",timestampOffset:t}))}}),Object.defineProperty(this,"appendWindowStart",{get:function(){return(this.videoBuffer_||this.audioBuffer_).appendWindowStart},set:function(t){this.videoBuffer_&&(this.videoBuffer_.appendWindowStart=t),this.audioBuffer_&&(this.audioBuffer_.appendWindowStart=t)}}),Object.defineProperty(this,"updating",{get:function(){return!!(this.bufferUpdating_||!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.updating||this.videoBuffer_&&this.videoBuffer_.updating)}}),Object.defineProperty(this,"buffered",{get:function(){var t=null,e=null,n=0,i=[],r=[];if(!this.videoBuffer_&&!this.audioBuffer_)return c.default.createTimeRange();if(!this.videoBuffer_)return this.audioBuffer_.buffered;if(!this.audioBuffer_)return this.videoBuffer_.buffered;if(this.audioDisabled_)return this.videoBuffer_.buffered;if(0===this.videoBuffer_.buffered.length&&0===this.audioBuffer_.buffered.length)return c.default.createTimeRange();for(var o=this.videoBuffer_.buffered,a=this.audioBuffer_.buffered,s=o.length;s--;)i.push({time:o.start(s),type:"start"}),i.push({time:o.end(s),type:"end"});for(s=a.length;s--;)i.push({time:a.start(s),type:"start"}),i.push({time:a.end(s),type:"end"});for(i.sort((function(t,e){return t.time-e.time})),s=0;s<i.length;s++)"start"===i[s].type?2===++n&&(t=i[s].time):"end"===i[s].type&&1===--n&&(e=i[s].time),null!==t&&null!==e&&(r.push([t,e]),e=t=null);return c.default.createTimeRanges(r)}})}e.gopsSafeToAlignWith=u,e.updateGopBuffer=v,e.removeGopBuffer=y,function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(b,c.default.EventTarget),i(b,[{key:"data_",value:function(t){var e=t.data.segment;e.data=new Uint8Array(e.data,t.data.byteOffset,t.data.byteLength),e.initSegment=new Uint8Array(e.initSegment.data,e.initSegment.byteOffset,e.initSegment.byteLength),(0,l.default)(this,this.mediaSource_,e),this.pendingBuffers_.push(e)}},{key:"done_",value:function(t){"closed"!==this.mediaSource_.readyState?this.processPendingSegments_():this.pendingBuffers_.length=0}},{key:"createRealSourceBuffers_",value:function(){var t=this,e=["audio","video"];e.forEach((function(n){var i,r;t[n+"Codec_"]&&(t[n+"Buffer_"]||(r=null,t.mediaSource_[n+"Buffer_"]?(r=t.mediaSource_[n+"Buffer_"]).updating=!1:(i=n+'/mp4;codecs="'+t[n+"Codec_"]+'"',r=s(t.mediaSource_.nativeMediaSource_,i),t.mediaSource_[n+"Buffer_"]=r),t[n+"Buffer_"]=r,["update","updatestart","updateend"].forEach((function(i){r.addEventListener(i,(function(){if("audio"!==n||!t.audioDisabled_)return"updateend"===i&&(t[n+"Buffer_"].updating=!1),e.every((function(e){return!("audio"!==e||!t.audioDisabled_)||n===e||!t[e+"Buffer_"]||!t[e+"Buffer_"].updating}))?t.trigger(i):void 0}))}))))}))}},{key:"appendBuffer",value:function(t){var e;this.bufferUpdating_=!0,this.audioBuffer_&&this.audioBuffer_.buffered.length&&(e=this.audioBuffer_.buffered,this.transmuxer_.postMessage({action:"setAudioAppendStart",appendStart:e.end(e.length-1)})),this.videoBuffer_&&this.transmuxer_.postMessage({action:"alignGopsWith",gopsToAlignWith:u(this.gopBuffer_,this.mediaSource_.player_,this.timeMapping_)}),this.transmuxer_.postMessage({action:"push",data:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength},[t.buffer]),this.transmuxer_.postMessage({action:"flush"})}},{key:"appendGopInfo_",value:function(t){this.gopBuffer_=v(this.gopBuffer_,t.data.gopInfo,this.safeAppend_)}},{key:"remove",value:function(t,e){if(this.videoBuffer_&&(this.videoBuffer_.updating=!0,this.videoBuffer_.remove(t,e),this.gopBuffer_=y(this.gopBuffer_,t,e,this.timeMapping_)),!this.audioDisabled_&&this.audioBuffer_&&(this.audioBuffer_.updating=!0,this.audioBuffer_.remove(t,e)),(0,h.default)(t,e,this.metadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)(0,h.default)(t,e,this.inbandTextTracks_[n])}},{key:"processPendingSegments_",value:function(){var t=this.pendingBuffers_.reduce((function(t,e){var n=e.type,i=e.data,r=e.initSegment;return t[n].segments.push(i),t[n].bytes+=i.byteLength,t[n].initSegment=r,e.captions&&(t.captions=t.captions.concat(e.captions)),e.info&&(t[n].info=e.info),e.metadata&&(t.metadata=t.metadata.concat(e.metadata)),t}),t={video:{segments:[],bytes:0},audio:{segments:[],bytes:0},captions:[],metadata:[]});this.videoBuffer_||this.audioBuffer_||(0===t.video.bytes&&(this.videoCodec_=null),0===t.audio.bytes&&(this.audioCodec_=null),this.createRealSourceBuffers_()),t.audio.info&&this.mediaSource_.trigger({type:"audioinfo",info:t.audio.info}),t.video.info&&this.mediaSource_.trigger({type:"videoinfo",info:t.video.info}),this.appendAudioInitSegment_&&(!this.audioDisabled_&&this.audioBuffer_&&(t.audio.segments.unshift(t.audio.initSegment),t.audio.bytes+=t.audio.initSegment.byteLength),this.appendAudioInitSegment_=!1);var e=!1;this.videoBuffer_&&t.video.bytes?(t.video.segments.unshift(t.video.initSegment),t.video.bytes+=t.video.initSegment.byteLength,this.concatAndAppendSegments_(t.video,this.videoBuffer_),(0,d.addTextTrackData)(this,t.captions,t.metadata)):!this.videoBuffer_||!this.audioDisabled_&&this.audioBuffer_||(e=!0),!this.audioDisabled_&&this.audioBuffer_&&this.concatAndAppendSegments_(t.audio,this.audioBuffer_),this.pendingBuffers_.length=0,e&&this.trigger("updateend"),this.bufferUpdating_=!1}},{key:"concatAndAppendSegments_",value:function(t,e){var n=0,i=void 0;if(t.bytes){i=new Uint8Array(t.bytes),t.segments.forEach((function(t){i.set(t,n),n+=t.byteLength}));try{e.updating=!0,e.appendBuffer(i)}catch(t){this.mediaSource_.player_&&this.mediaSource_.player_.error({code:-3,type:"APPEND_BUFFER_ERR",message:t.message,originalError:t})}}}},{key:"abort",value:function(){this.videoBuffer_&&this.videoBuffer_.abort(),!this.audioDisabled_&&this.audioBuffer_&&this.audioBuffer_.abort(),this.transmuxer_&&this.transmuxer_.postMessage({action:"reset"}),this.pendingBuffers_.length=0,this.bufferUpdating_=!1}}]),i=b,e.default=i},2748:function(t,e,n){n=n("5ca1");var i=180/Math.PI;n(n.S,"Math",{degrees:function(t){return t*i}})},"27ee":function(t,e,n){var i=n("23c6"),r=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(null!=t)return t[r]||t["@@iterator"]||o[i(t)]}},2806:function(t,e,n){"use strict";var i=function(t,e){var n,o,a,s=[];if(!e.length)return null;for(n=0;n<t.byteLength;)o=t[n]<<24,o|=t[n+1]<<16,o|=t[n+2]<<8,o|=t[n+3],a=r(t.subarray(n+4,n+8)),o=1<o?n+o:t.byteLength,a===e[0]&&(1===e.length?s.push(t.subarray(n+8,o)):(a=i(t.subarray(n+8,o),e.slice(1))).length&&(s=s.concat(a))),n=o;return s},r=function(t){var e="";return e+=String.fromCharCode(t[0]),e+=String.fromCharCode(t[1]),e+=String.fromCharCode(t[2]),e+String.fromCharCode(t[3])};t.exports={parseType:r,timescale:function(t){return i(t,["moov","trak"]).reduce((function(t,e){var n,r,o=i(e,["tkhd"])[0];return o?(o=o[r=0===o[0]?12:20]<<24|o[1+r]<<16|o[2+r]<<8|o[3+r],(e=i(e,["mdia","mdhd"])[0])?(n=e[0],t[o]=e[r=0===n?12:20]<<24|e[1+r]<<16|e[2+r]<<8|e[3+r],t):null):null}),{})},startTime:function(t,e){e=i(e,["moof","traf"]),e=[].concat.apply([],e.map((function(e){return i(e,["tfhd"]).map((function(n){var r=n[4]<<24|n[5]<<16|n[6]<<8|n[7];n=t[r]||9e4,r=i(e,["tfdt"]).map((function(t){var e=t[0],n=t[4]<<24|t[5]<<16|t[6]<<8|t[7];return 1===e&&(n*=Math.pow(2,32),n+=t[8]<<24|t[9]<<16|t[10]<<8|t[11]),n}))[0];return(r||1/0)/n}))}))),e=Math.min.apply(null,e);return isFinite(e)?e:0}}},"283e":function(t,e,n){
  2. /*!
  3. * Vue-Lazyload.js v1.2.3
  4. * (c) 2018 Awe <hilongjw@gmail.com>
  5. * Released under the MIT License.
  6. */
  7. t.exports=function(){"use strict";function t(t){return t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function e(t){t=t||{};var e=arguments.length,r=0;if(1===e)return t;for(;++r<e;){var o=arguments[r];y(t)&&(t=o),i(o)&&n(t,o)}return t}function n(t,n){for(var o in b(t,n),n)if("__proto__"!==o&&r(n,o)){var a=n[o];i(a)?("undefined"===T(t[o])&&"function"===T(a)&&(t[o]=a),t[o]=e(t[o]||{},a)):t[o]=a}return t}function i(t){return"object"===T(t)||"function"===T(t)}function r(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function o(t,e){if(t.length){var n=t.indexOf(e);return n>-1?t.splice(n,1):void 0}}function a(t,e){for(var n=!1,i=0,r=t.length;i<r;i++)if(e(t[i])){n=!0;break}return n}function s(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n=t.getAttribute("data-srcset"),i=[],r=t.parentNode,o=r.offsetWidth*e,a=void 0,s=void 0,u=void 0;n=n.trim().split(","),n.map((function(t){t=t.trim(),a=t.lastIndexOf(" "),-1===a?(s=t,u=999998):(s=t.substr(0,a),u=parseInt(t.substr(a+1,t.length-a-2),10)),i.push([u,s])})),i.sort((function(t,e){if(t[0]<e[0])return-1;if(t[0]>e[0])return 1;if(t[0]===e[0]){if(-1!==e[1].indexOf(".webp",e[1].length-5))return 1;if(-1!==t[1].indexOf(".webp",t[1].length-5))return-1}return 0}));for(var c="",l=void 0,h=i.length,d=0;d<h;d++)if(l=i[d],l[0]>=o){c=l[1];break}return c}}function u(t,e){for(var n=void 0,i=0,r=t.length;i<r;i++)if(e(t[i])){n=t[i];break}return n}function c(){if(!w)return!1;var t=!0,e=document;try{var n=e.createElement("object");n.type="image/webp",n.style.visibility="hidden",n.innerHTML="!",e.body.appendChild(n),t=!n.offsetWidth,e.body.removeChild(n)}catch(e){t=!1}return t}function l(t,e){var n=null,i=0;return function(){if(!n){var r=Date.now()-i,o=this,a=arguments,s=function(){i=Date.now(),n=!1,t.apply(o,a)};r>=e?s():n=setTimeout(s,e)}}}function h(t){return null!==t&&"object"===(void 0===t?"undefined":g(t))}function d(t){if(!(t instanceof Object))return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}function f(t){for(var e=t.length,n=[],i=0;i<e;i++)n.push(t[i]);return n}function p(){}var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},v=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),y=function(t){return null==t||"function"!=typeof t&&"object"!==(void 0===t?"undefined":g(t))},b=function(t,e){if(null===t||void 0===t)throw new TypeError("expected first argument to be an object.");if(void 0===e||"undefined"==typeof Symbol)return t;if("function"!=typeof Object.getOwnPropertySymbols)return t;for(var n=Object.prototype.propertyIsEnumerable,i=Object(t),r=arguments.length,o=0;++o<r;)for(var a=Object(arguments[o]),s=Object.getOwnPropertySymbols(a),u=0;u<s.length;u++){var c=s[u];n.call(a,c)&&(i[c]=a[c])}return i},_=Object.prototype.toString,T=function(e){var n=void 0===e?"undefined":g(e);return"undefined"===n?"undefined":null===e?"null":!0===e||!1===e||e instanceof Boolean?"boolean":"string"===n||e instanceof String?"string":"number"===n||e instanceof Number?"number":"function"===n||e instanceof Function?void 0!==e.constructor.name&&"Generator"===e.constructor.name.slice(0,9)?"generatorfunction":"function":void 0!==Array.isArray&&Array.isArray(e)?"array":e instanceof RegExp?"regexp":e instanceof Date?"date":(n=_.call(e),"[object RegExp]"===n?"regexp":"[object Date]"===n?"date":"[object Arguments]"===n?"arguments":"[object Error]"===n?"error":"[object Promise]"===n?"promise":t(e)?"buffer":"[object Set]"===n?"set":"[object WeakSet]"===n?"weakset":"[object Map]"===n?"map":"[object WeakMap]"===n?"weakmap":"[object Symbol]"===n?"symbol":"[object Map Iterator]"===n?"mapiterator":"[object Set Iterator]"===n?"setiterator":"[object String Iterator]"===n?"stringiterator":"[object Array Iterator]"===n?"arrayiterator":"[object Int8Array]"===n?"int8array":"[object Uint8Array]"===n?"uint8array":"[object Uint8ClampedArray]"===n?"uint8clampedarray":"[object Int16Array]"===n?"int16array":"[object Uint16Array]"===n?"uint16array":"[object Int32Array]"===n?"int32array":"[object Uint32Array]"===n?"uint32array":"[object Float32Array]"===n?"float32array":"[object Float64Array]"===n?"float64array":"object")},S=e,w="undefined"!=typeof window,k=w&&"IntersectionObserver"in window,C={event:"event",observer:"observer"},E=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}if(w)return"function"==typeof window.CustomEvent?window.CustomEvent:(t.prototype=window.Event.prototype,t)}(),x=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return w&&window.devicePixelRatio||t},O=function(){if(w){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}}(),A={on:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];O?t.addEventListener(e,n,{capture:i,passive:!0}):t.addEventListener(e,n,i)},off:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];t.removeEventListener(e,n,i)}},P=function(t,e,n){var i=new Image;i.src=t.src,i.onload=function(){e({naturalHeight:i.naturalHeight,naturalWidth:i.naturalWidth,src:i.src})},i.onerror=function(t){n(t)}},j=function(t,e){return"undefined"!=typeof getComputedStyle?getComputedStyle(t,null).getPropertyValue(e):t.style[e]},I=function(t){return j(t,"overflow")+j(t,"overflow-y")+j(t,"overflow-x")},L=function(t){if(w){if(!(t instanceof HTMLElement))return window;for(var e=t;e&&e!==document.body&&e!==document.documentElement&&e.parentNode;){if(/(scroll|auto)/.test(I(e)))return e;e=e.parentNode}return window}},M={},D=function(){function t(e){var n=e.el,i=e.src,r=e.error,o=e.loading,a=e.bindType,s=e.$parent,u=e.options,c=e.elRenderer;m(this,t),this.el=n,this.src=i,this.error=r,this.loading=o,this.bindType=a,this.attempt=0,this.naturalHeight=0,this.naturalWidth=0,this.options=u,this.rect=null,this.$parent=s,this.elRenderer=c,this.performanceData={init:Date.now(),loadStart:0,loadEnd:0},this.filter(),this.initState(),this.render("loading",!1)}return v(t,[{key:"initState",value:function(){this.el.dataset.src=this.src,this.state={error:!1,loaded:!1,rendered:!1}}},{key:"record",value:function(t){this.performanceData[t]=Date.now()}},{key:"update",value:function(t){var e=t.src,n=t.loading,i=t.error,r=this.src;this.src=e,this.loading=n,this.error=i,this.filter(),r!==this.src&&(this.attempt=0,this.initState())}},{key:"getRect",value:function(){this.rect=this.el.getBoundingClientRect()}},{key:"checkInView",value:function(){return this.getRect(),this.rect.top<window.innerHeight*this.options.preLoad&&this.rect.bottom>this.options.preLoadTop&&this.rect.left<window.innerWidth*this.options.preLoad&&this.rect.right>0}},{key:"filter",value:function(){var t=this;d(this.options.filter).map((function(e){t.options.filter[e](t,t.options)}))}},{key:"renderLoading",value:function(t){var e=this;P({src:this.loading},(function(n){e.render("loading",!1),t()}),(function(){t(),e.options.silent||console.warn("VueLazyload log: load failed with loading image("+e.loading+")")}))}},{key:"load",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return this.attempt>this.options.attempt-1&&this.state.error?(this.options.silent||console.log("VueLazyload log: "+this.src+" tried too more than "+this.options.attempt+" times"),void e()):this.state.loaded||M[this.src]?(this.state.loaded=!0,e(),this.render("loaded",!0)):void this.renderLoading((function(){t.attempt++,t.record("loadStart"),P({src:t.src},(function(n){t.naturalHeight=n.naturalHeight,t.naturalWidth=n.naturalWidth,t.state.loaded=!0,t.state.error=!1,t.record("loadEnd"),t.render("loaded",!1),M[t.src]=1,e()}),(function(e){!t.options.silent&&console.error(e),t.state.error=!0,t.state.loaded=!1,t.render("error",!1)}))}))}},{key:"render",value:function(t,e){this.elRenderer(this,t,e)}},{key:"performance",value:function(){var t="loading",e=0;return this.state.loaded&&(t="loaded",e=(this.performanceData.loadEnd-this.performanceData.loadStart)/1e3),this.state.error&&(t="error"),{src:this.src,state:t,time:e}}},{key:"destroy",value:function(){this.el=null,this.src=null,this.error=null,this.loading=null,this.bindType=null,this.attempt=0}}]),t}(),B="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",R=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"],N={rootMargin:"0px",threshold:0},F=function(t){return function(){function e(t){var n=t.preLoad,i=t.error,r=t.throttleWait,o=t.preLoadTop,a=t.dispatchEvent,s=t.loading,u=t.attempt,h=t.silent,d=void 0===h||h,f=t.scale,p=t.listenEvents,g=(t.hasbind,t.filter),v=t.adapter,y=t.observer,b=t.observerOptions;m(this,e),this.version="1.2.3",this.mode=C.event,this.ListenerQueue=[],this.TargetIndex=0,this.TargetQueue=[],this.options={silent:d,dispatchEvent:!!a,throttleWait:r||200,preLoad:n||1.3,preLoadTop:o||0,error:i||B,loading:s||B,attempt:u||3,scale:f||x(f),ListenEvents:p||R,hasbind:!1,supportWebp:c(),filter:g||{},adapter:v||{},observer:!!y,observerOptions:b||N},this._initEvent(),this.lazyLoadHandler=l(this._lazyLoadHandler.bind(this),this.options.throttleWait),this.setMode(this.options.observer?C.observer:C.event)}return v(e,[{key:"config",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};S(this.options,t)}},{key:"performance",value:function(){var t=[];return this.ListenerQueue.map((function(e){t.push(e.performance())})),t}},{key:"addLazyBox",value:function(t){this.ListenerQueue.push(t),w&&(this._addListenerTarget(window),this._observer&&this._observer.observe(t.el),t.$el&&t.$el.parentNode&&this._addListenerTarget(t.$el.parentNode))}},{key:"add",value:function(e,n,i){var r=this;if(a(this.ListenerQueue,(function(t){return t.el===e})))return this.update(e,n),t.nextTick(this.lazyLoadHandler);var o=this._valueFormatter(n.value),u=o.src,c=o.loading,l=o.error;t.nextTick((function(){u=s(e,r.options.scale)||u,r._observer&&r._observer.observe(e);var o=Object.keys(n.modifiers)[0],a=void 0;o&&(a=i.context.$refs[o],a=a?a.$el||a:document.getElementById(o)),a||(a=L(e));var h=new D({bindType:n.arg,$parent:a,el:e,loading:c,error:l,src:u,elRenderer:r._elRenderer.bind(r),options:r.options});r.ListenerQueue.push(h),w&&(r._addListenerTarget(window),r._addListenerTarget(a)),r.lazyLoadHandler(),t.nextTick((function(){return r.lazyLoadHandler()}))}))}},{key:"update",value:function(e,n){var i=this,r=this._valueFormatter(n.value),o=r.src,a=r.loading,c=r.error;o=s(e,this.options.scale)||o;var l=u(this.ListenerQueue,(function(t){return t.el===e}));l&&l.update({src:o,loading:a,error:c}),this._observer&&(this._observer.unobserve(e),this._observer.observe(e)),this.lazyLoadHandler(),t.nextTick((function(){return i.lazyLoadHandler()}))}},{key:"remove",value:function(t){if(t){this._observer&&this._observer.unobserve(t);var e=u(this.ListenerQueue,(function(e){return e.el===t}));e&&(this._removeListenerTarget(e.$parent),this._removeListenerTarget(window),o(this.ListenerQueue,e)&&e.destroy())}}},{key:"removeComponent",value:function(t){t&&(o(this.ListenerQueue,t),this._observer&&this._observer.unobserve(t.el),t.$parent&&t.$el.parentNode&&this._removeListenerTarget(t.$el.parentNode),this._removeListenerTarget(window))}},{key:"setMode",value:function(t){var e=this;k||t!==C.observer||(t=C.event),this.mode=t,t===C.event?(this._observer&&(this.ListenerQueue.forEach((function(t){e._observer.unobserve(t.el)})),this._observer=null),this.TargetQueue.forEach((function(t){e._initListen(t.el,!0)}))):(this.TargetQueue.forEach((function(t){e._initListen(t.el,!1)})),this._initIntersectionObserver())}},{key:"_addListenerTarget",value:function(t){if(t){var e=u(this.TargetQueue,(function(e){return e.el===t}));return e?e.childrenCount++:(e={el:t,id:++this.TargetIndex,childrenCount:1,listened:!0},this.mode===C.event&&this._initListen(e.el,!0),this.TargetQueue.push(e)),this.TargetIndex}}},{key:"_removeListenerTarget",value:function(t){var e=this;this.TargetQueue.forEach((function(n,i){n.el===t&&(--n.childrenCount||(e._initListen(n.el,!1),e.TargetQueue.splice(i,1),n=null))}))}},{key:"_initListen",value:function(t,e){var n=this;this.options.ListenEvents.forEach((function(i){return A[e?"on":"off"](t,i,n.lazyLoadHandler)}))}},{key:"_initEvent",value:function(){var t=this;this.Event={listeners:{loading:[],loaded:[],error:[]}},this.$on=function(e,n){t.Event.listeners[e].push(n)},this.$once=function(e,n){function i(){r.$off(e,i),n.apply(r,arguments)}var r=t;t.$on(e,i)},this.$off=function(e,n){n?o(t.Event.listeners[e],n):t.Event.listeners[e]=[]},this.$emit=function(e,n,i){t.Event.listeners[e].forEach((function(t){return t(n,i)}))}}},{key:"_lazyLoadHandler",value:function(){var t=this;this.ListenerQueue.forEach((function(e,n){e.state.loaded||e.checkInView()&&e.load((function(){!e.error&&e.loaded&&t.ListenerQueue.splice(n,1)}))}))}},{key:"_initIntersectionObserver",value:function(){var t=this;k&&(this._observer=new IntersectionObserver(this._observerHandler.bind(this),this.options.observerOptions),this.ListenerQueue.length&&this.ListenerQueue.forEach((function(e){t._observer.observe(e.el)})))}},{key:"_observerHandler",value:function(t,e){var n=this;t.forEach((function(t){t.isIntersecting&&n.ListenerQueue.forEach((function(e){if(e.el===t.target){if(e.state.loaded)return n._observer.unobserve(e.el);e.load()}}))}))}},{key:"_elRenderer",value:function(t,e,n){if(t.el){var i=t.el,r=t.bindType,o=void 0;switch(e){case"loading":o=t.loading;break;case"error":o=t.error;break;default:o=t.src}if(r?i.style[r]='url("'+o+'")':i.getAttribute("src")!==o&&i.setAttribute("src",o),i.setAttribute("lazy",e),this.$emit(e,t,n),this.options.adapter[e]&&this.options.adapter[e](t,this.options),this.options.dispatchEvent){var a=new E(e,{detail:t});i.dispatchEvent(a)}}}},{key:"_valueFormatter",value:function(t){var e=t,n=this.options.loading,i=this.options.error;return h(t)&&(t.src||this.options.silent||console.error("Vue Lazyload warning: miss src with "+t),e=t.src,n=t.loading||this.options.loading,i=t.error||this.options.error),{src:e,loading:n,error:i}}}]),e}()},U=function(t){return{props:{tag:{type:String,default:"div"}},render:function(t){return!1===this.show?t(this.tag):t(this.tag,null,this.$slots.default)},data:function(){return{el:null,state:{loaded:!1},rect:{},show:!1}},mounted:function(){this.el=this.$el,t.addLazyBox(this),t.lazyLoadHandler()},beforeDestroy:function(){t.removeComponent(this)},methods:{getRect:function(){this.rect=this.$el.getBoundingClientRect()},checkInView:function(){return this.getRect(),w&&this.rect.top<window.innerHeight*t.options.preLoad&&this.rect.bottom>0&&this.rect.left<window.innerWidth*t.options.preLoad&&this.rect.right>0},load:function(){this.show=!0,this.state.loaded=!0,this.$emit("show",this)}}}},$=function(){function t(e){var n=e.lazy;m(this,t),this.lazy=n,n.lazyContainerMananger=this,this._queue=[]}return v(t,[{key:"bind",value:function(t,e,n){var i=new H({el:t,binding:e,vnode:n,lazy:this.lazy});this._queue.push(i)}},{key:"update",value:function(t,e,n){var i=u(this._queue,(function(e){return e.el===t}));i&&i.update({el:t,binding:e,vnode:n})}},{key:"unbind",value:function(t,e,n){var i=u(this._queue,(function(e){return e.el===t}));i&&(i.clear(),o(this._queue,i))}}]),t}(),V={selector:"img"},H=function(){function t(e){var n=e.el,i=e.binding,r=e.vnode,o=e.lazy;m(this,t),this.el=null,this.vnode=r,this.binding=i,this.options={},this.lazy=o,this._queue=[],this.update({el:n,binding:i})}return v(t,[{key:"update",value:function(t){var e=this,n=t.el,i=t.binding;this.el=n,this.options=S({},V,i.value),this.getImgs().forEach((function(t){e.lazy.add(t,S({},e.binding,{value:{src:t.dataset.src,error:t.dataset.error,loading:t.dataset.loading}}),e.vnode)}))}},{key:"getImgs",value:function(){return f(this.el.querySelectorAll(this.options.selector))}},{key:"clear",value:function(){var t=this;this.getImgs().forEach((function(e){return t.lazy.remove(e)})),this.vnode=null,this.binding=null,this.lazy=null}}]),t}();return{install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=F(t),i=new n(e),r=new $({lazy:i}),o="2"===t.version.split(".")[0];t.prototype.$Lazyload=i,e.lazyComponent&&t.component("lazy-component",U(i)),o?(t.directive("lazy",{bind:i.add.bind(i),update:i.update.bind(i),componentUpdated:i.lazyLoadHandler.bind(i),unbind:i.remove.bind(i)}),t.directive("lazy-container",{bind:r.bind.bind(r),update:r.update.bind(r),unbind:r.unbind.bind(r)})):(t.directive("lazy",{bind:i.lazyLoadHandler.bind(i),update:function(t,e){S(this.vm.$refs,this.vm.$els),i.add(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){i.remove(this.el)}}),t.directive("lazy-container",{update:function(t,e){r.update(this.el,{modifiers:this.modifiers||{},arg:this.arg,value:t,oldValue:e},{context:this.vm})},unbind:function(){r.unbind(this.el)}}))}}}()},2877:function(t,e,n){"use strict";function i(t,e,n,i,r,o,a,s){var u,c,l="function"==typeof t?t.options:t;return e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?l._ssrRegister=u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)}:r&&(u=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),u&&(l.functional?(l._injectStyles=u,c=l.render,l.render=function(t,e){return u.call(e),c(t,e)}):(s=l.beforeCreate,l.beforeCreate=s?[].concat(s,u):[u])),{exports:t,options:l}}n.d(e,"a",(function(){return i}))},"28a5":function(t,e,n){"use strict";var i=n("aae3"),r=n("cb7c"),o=n("ebd6"),a=n("0390"),s=n("9def"),u=n("5f1b"),c=n("520a"),l=n("79e5"),h=Math.min,d=[].push,f="split",p="length",g="lastIndex",m=4294967295,v=!l((function(){RegExp(m,"y")}));n("214f")("split",2,(function(t,e,n,l){var y="c"=="abbc"[f](/(b)*/)[1]||4!="test"[f](/(?:)/,-1)[p]||2!="ab"[f](/(?:ab)*/)[p]||4!="."[f](/(.?)(.?)/)[p]||1<"."[f](/()()/)[p]||""[f](/.?/)[p]?function(t,e){var r=String(this);if(void 0===t&&0===e)return[];if(!i(t))return n.call(r,t,e);for(var o,a,s,u=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,f=void 0===e?m:e>>>0,v=new RegExp(t.source,l+"g");(o=c.call(v,r))&&!(h<(a=v[g])&&(u.push(r.slice(h,o.index)),1<o[p]&&o.index<r[p]&&d.apply(u,o.slice(1)),s=o[0][p],h=a,u[p]>=f));)v[g]===o.index&&v[g]++;return h===r[p]?!s&&v.test("")||u.push(""):u.push(r.slice(h)),u[p]>f?u.slice(0,f):u}:"0"[f](void 0,0)[p]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n;return[function(n,i){var r=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,r,i):y.call(String(r),n,i)},function(t,e){var i=l(y,t,this,e,y!==n);if(i.done)return i.value;var c=r(t),d=String(this),f=(i=o(c,RegExp),c.unicode),p=(t=(c.ignoreCase?"i":"")+(c.multiline?"m":"")+(c.unicode?"u":"")+(v?"y":"g"),new i(v?c:"^(?:"+c.source+")",t)),g=void 0===e?m:e>>>0;if(0==g)return[];if(0===d.length)return null===u(p,d)?[d]:[];for(var b=0,_=0,T=[];_<d.length;){p.lastIndex=v?_:0;var S,w=u(p,v?d:d.slice(_));if(null===w||(S=h(s(p.lastIndex+(v?0:_)),d.length))===b)_=a(d,_,f);else{if(T.push(d.slice(b,_)),T.length===g)return T;for(var k=1;k<=w.length-1;k++)if(T.push(w[k]),T.length===g)return T;_=b=S}}return T.push(d.slice(b)),T}]}))},"28e4":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d8e8"),o=n("9b43"),a=n("4a59");t.exports=function(t){i(i.S,t,{from:function(t){var e,n,i,s,u=arguments[1];return r(this),(e=void 0!==u)&&r(u),null==t?new this:(n=[],e?(i=0,s=o(u,arguments[2],2),a(t,!1,(function(t){n.push(s(t,i++))}))):a(t,!1,n.push,n),new this(n))}})}},"28e5":function(t,e,n){t.exports={generator:n("194a"),Transmuxer:n("300a").Transmuxer,AudioSegmentStream:n("300a").AudioSegmentStream,VideoSegmentStream:n("300a").VideoSegmentStream}},2909:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("6b75"),r=n("06c5");function o(t){return function(t){if(Array.isArray(t))return Object(i.a)(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(r.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},"2a53":function(t,e,n){"use strict";n("3cd0"),n("d548")},"2aba":function(t,e,n){var i=n("7726"),r=n("32e9"),o=n("69a8"),a=n("ca5a")("src"),s=n("fa5b"),u="toString",c=(""+s).split(u);n("8378").inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(o(n,"name")||r(n,"name",e)),t[e]!==n&&(u&&(o(n,a)||r(n,a,t[e]?""+t[e]:c.join(String(e)))),t===i?t[e]=n:s?t[e]?t[e]=n:r(t,e,n):(delete t[e],r(t,e,n)))})(Function.prototype,u,(function(){return"function"==typeof this&&this[a]||s.call(this)}))},"2aeb":function(t,e,n){function i(){}var r=n("cb7c"),o=n("1495"),a=n("e11e"),s=n("613b")("IE_PROTO"),u="prototype",c=function(){var t=n("230e")("iframe"),e=a.length;for(t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),c=t.F;e--;)delete c[u][a[e]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(i[u]=r(t),n=new i,i[u]=null,n[s]=t):n=c(),void 0===e?n:o(n,e)}},"2b0c":function(t,e,n){},"2b4c":function(t,e,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o;(t.exports=function(t){return i[t]||(i[t]=a&&o[t]||(a?o:r)("Symbol."+t))}).store=i},"2b8c":function(t,e,n){var i=n("be09");n=t.exports={WebVTT:n("d02c"),VTTCue:n("b03c"),VTTRegion:n("f97d")};i.vttjs=n,i.WebVTT=n.WebVTT;var r=n.VTTCue,o=n.VTTRegion,a=i.VTTCue,s=i.VTTRegion;n.shim=function(){i.VTTCue=r,i.VTTRegion=o},n.restore=function(){i.VTTCue=a,i.VTTRegion=s},i.VTTCue||n.shim()},"2bb1":function(t,e,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("9884"),a=(n=Object(r.a)("swipe-item"),r=n[0],n[1]);e.a=r({mixins:[Object(o.a)("vanSwipe")],data:function(){return{offset:0,inited:!1,mounted:!1}},mounted:function(){var t=this;this.$nextTick((function(){t.mounted=!0}))},computed:{style:function(){var t={},e=this.parent,n=e.size;e=e.vertical;return n&&(t[e?"height":"width"]=n+"px"),this.offset&&(t.transform="translate"+(e?"Y":"X")+"("+this.offset+"px)"),t},shouldRender:function(){var t=this.index,e=this.inited,n=this.parent,i=this.mounted;if(!n.lazyRender||e)return!0;if(!i)return!1;var r,o=n.activeIndicator;e=n.count-1,i=0===o&&n.loop?e:o-1,n=o===e&&n.loop?0:o+1;return(r=t===o||t===i||t===n)&&(this.inited=!0),r}},render:function(){return(0,arguments[0])("div",{class:a(),style:this.style,on:Object(i.a)({},this.$listeners)},[this.shouldRender&&this.slots()])}})},"2bdd":function(t,e,n){"use strict";var i=n("d282"),r=n("02de"),o=n("a8c1"),a=n("5fbe"),s=n("543e"),u=(n=Object(i.a)("list"),i=n[0],n[1]),c=n[2];e.a=i({mixins:[Object(a.a)((function(t){this.scroller||(this.scroller=Object(o.d)(this.$el)),t(this.scroller,"scroll",this.check)}))],model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:[Number,String],default:300},direction:{type:String,default:"down"}},data:function(){return{innerLoading:this.loading}},updated:function(){this.innerLoading=this.loading},mounted:function(){this.immediateCheck&&this.check()},watch:{loading:"check",finished:"check"},methods:{check:function(){var t=this;this.$nextTick((function(){if(!(t.innerLoading||t.finished||t.error)){var e=t.$el,n=t.scroller,i=t.offset,o=t.direction;n=n.getBoundingClientRect?n.getBoundingClientRect():{top:0,bottom:n.innerHeight};if(!(n.bottom-n.top)||Object(r.a)(e))return!1;e=t.$refs.placeholder.getBoundingClientRect(),("up"===o?n.top-e.top<=i:e.bottom-n.bottom<=i)&&(t.innerLoading=!0,t.$emit("input",!0),t.$emit("load"))}}))},clickErrorText:function(){this.$emit("update:error",!1),this.check()},genLoading:function(){var t=this.$createElement;if(this.innerLoading&&!this.finished)return t("div",{key:"loading",class:u("loading")},[this.slots("loading")||t(s.a,{attrs:{size:"16"}},[this.loadingText||c("loading")])])},genFinishedText:function(){var t=this.$createElement;if(this.finished){var e=this.slots("finished")||this.finishedText;if(e)return t("div",{class:u("finished-text")},[e])}},genErrorText:function(){var t=this.$createElement;if(this.error){var e=this.slots("error")||this.errorText;if(e)return t("div",{on:{click:this.clickErrorText},class:u("error-text")},[e])}}},render:function(){var t=arguments[0],e=t("div",{ref:"placeholder",key:"placeholder",class:u("placeholder")});return t("div",{class:u(),attrs:{role:"feed","aria-busy":this.innerLoading}},["down"===this.direction?this.slots():e,this.genLoading(),this.genFinishedText(),this.genErrorText(),"up"===this.direction?this.slots():e])}})},"2caf":function(t,e,n){var i=n("5ca1");i(i.S,"Array",{isArray:n("1169")})},"2d00":function(t,e){t.exports=!1},"2d34":function(t,e,n){var i=n("5ca1"),r=n("38fd"),o=n("cb7c");i(i.S,"Reflect",{getPrototypeOf:function(t){return r(o(t))}})},"2d5c":function(t,e){var n=Math.expm1;t.exports=!n||22025.465794806718<n(10)||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"2e08":function(t,e,n){var i=n("9def"),r=n("9744"),o=n("be13");t.exports=function(t,e,n,a){var s=String(o(t));t=s.length,n=void 0===n?" ":String(n),e=i(e);return e<=t||""==n?s:(t=e-t,n=r.call(n,Math.ceil(t/n.length)),n.length>t&&(n=n.slice(0,t)),a?n+s:s+n)}},"2e37":function(t,e,n){n=n("5ca1"),n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},"2f21":function(t,e,n){"use strict";var i=n("79e5");t.exports=function(t,e){return!!t&&i((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2f62":function(t,e,n){"use strict";(function(t){var n=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n=(n=function(e){return e.original===t},e.filter(n)[0]);if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=i(t[n],e)})),r}function r(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function o(t){return null!==t&&"object"==typeof t}function a(t,e){this.runtime=e,this._children=Object.create(null),t=(this._rawModule=t).state,this.state=("function"==typeof t?t():t)||{}}var s={namespaced:{configurable:!0}};function u(t){this.register([],t,!1)}s.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.hasChild=function(t){return t in this._children},a.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},a.prototype.forEachChild=function(t){r(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,s),u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},u.prototype.update=function(t){!function t(e,n,i){if(n.update(i),i.modules)for(var r in i.modules){if(!n.getChild(r))return;t(e.concat(r),n.getChild(r),i.modules[r])}}([],this.root,t)},u.prototype.register=function(t,e,n){var i=this,o=new a(e,n=void 0===n||n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o),e.modules&&r(e.modules,(function(e,r){i.register(t.concat(r),e,n)}))},u.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];t=e.getChild(n);t&&t.runtime&&e.removeChild(n)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1));t=t[t.length-1];return!!e&&e.hasChild(t)};var c;t={assert:function(t){return"function"==typeof t},expected:"function"};function l(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);-1<n&&e.splice(n,1)}}function h(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;f(t,n,[],t._modules.root,!0),d(t,n,e)}function d(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};r(o,(function(e,n){var i,r;a[n]=(i=e,r=t,function(){return i(r)}),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})})),o=c.config.silent,c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:a}),c.config.silent=o,t.strict&&t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0}),i&&(n&&t._withCommit((function(){i._data.$$state=null})),c.nextTick((function(){return i.$destroy()})))}function f(t,e,n,i,r){var o,a,s=!n.length,u=t._modules.getNamespace(n);i.namespaced&&(t._modulesNamespaceMap[u],t._modulesNamespaceMap[u]=i),s||r||(o=p(e,n.slice(0,-1)),a=n[n.length-1],t._withCommit((function(){c.set(o,a,i.state)})));var l,h,d,m,v=i.context=(l=t,d=n,s={dispatch:(m=""===(h=u))?l.dispatch:function(t,e,n){return t=g(t,e,n),e=t.payload,n=t.options,t=t.type,n&&n.root||(t=h+t),l.dispatch(t,e)},commit:m?l.commit:function(t,e,n){t=g(t,e,n),e=t.payload,n=t.options,t=t.type,n&&n.root||(t=h+t),l.commit(t,e,n)}},Object.defineProperties(s,{getters:{get:m?function(){return l.getters}:function(){return function(t,e){var n,i;return t._makeLocalGettersCache[e]||(n={},i=e.length,Object.keys(t.getters).forEach((function(r){var o;r.slice(0,i)===e&&(o=r.slice(i),Object.defineProperty(n,o,{get:function(){return t.getters[r]},enumerable:!0}))})),t._makeLocalGettersCache[e]=n),t._makeLocalGettersCache[e]}(l,h)}},state:{get:function(){return p(l.state,d)}}}),s);i.forEachMutation((function(e,n){var i,r,o;n=u+n,r=e,o=v,((i=t)._mutations[n]||(i._mutations[n]=[])).push((function(t){r.call(i,o.state,t)}))})),i.forEachAction((function(e,n){var i,r,o;n=e.root?n:u+n,e=e.handler||e;n=n,r=e,o=v,((i=t)._actions[n]||(i._actions[n]=[])).push((function(t){var e=r.call(i,{dispatch:o.dispatch,commit:o.commit,getters:o.getters,state:o.state,rootGetters:i.getters,rootState:i.state},t);return(t=e)&&"function"==typeof t.then||(e=Promise.resolve(e)),i._devtoolHook?e.catch((function(t){throw i._devtoolHook.emit("vuex:error",t),t})):e}))})),i.forEachGetter((function(e,n){var i,r;n=u+n,i=e,r=v,(e=t)._wrappedGetters[n]||(e._wrappedGetters[n]=function(t){return i(r.state,r.getters,t.state,t.getters)})})),i.forEachChild((function(i,o){f(t,e,n.concat(o),i,r)}))}function p(t,e){return e.reduce((function(t,e){return t[e]}),t)}function g(t,e,n){return o(t)&&t.type&&(n=e,t=(e=t).type),{type:t,payload:e,options:n}}function m(t){var e;function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}c&&t===c||(t=c=t,2<=Number(t.version.split(".")[0])?t.mixin({beforeCreate:n}):(e=t.prototype._init,t.prototype._init=function(t){(t=void 0===t?{}:t).init=t.init?[n].concat(t.init):n,e.call(this,t)}))}s=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&m(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=r;var l;r=this._modules.root.state;f(this,r,[],this._modules.root),d(this,r),i.forEach((function(t){return t(e)})),(void 0!==t.devtools?t:c.config).devtools&&(l=this,n&&((l._devtoolHook=n).emit("vuex:init",l),n.on("vuex:travel-to-state",(function(t){l.replaceState(t)})),l.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),l.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0})))},t={state:{configurable:!0}},t.state.get=function(){return this._vm._data.$$state},t.state.set=function(t){},s.prototype.commit=function(t,e,n){var i=this,r=(e=g(t,e,n),n=e.type,e.payload),o=(e.options,{type:n,payload:r}),a=this._mutations[n];a&&(this._withCommit((function(){a.forEach((function(t){t(r)}))})),this._subscribers.slice().forEach((function(t){return t(o,i.state)})))},s.prototype.dispatch=function(t,e){var n=this,i=(t=g(t,e),e=t.type,t.payload),r={type:e,payload:i};e=this._actions[e];if(e){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(r,n.state)}))}catch(t){}var o=1<e.length?Promise.all(e.map((function(t){return t(i)}))):e[0](i);return new Promise((function(t,e){o.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(r,n.state)}))}catch(e){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(r,n.state,t)}))}catch(e){}e(t)}))}))}},s.prototype.subscribe=function(t,e){return l(t,this._subscribers,e)},s.prototype.subscribeAction=function(t,e){return l("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},s.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},s.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},s.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),this._modules.register(t="string"==typeof t?[t]:t,e),f(this,this.state,t,this._modules.get(t),n.preserveState),d(this,this.state)},s.prototype.unregisterModule=function(t){var e=this;this._modules.unregister(t="string"==typeof t?[t]:t),this._withCommit((function(){var n=p(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])})),h(this)},s.prototype.hasModule=function(t){return this._modules.isRegistered(t="string"==typeof t?[t]:t)},s.prototype.hotUpdate=function(t){this._modules.update(t),h(this,!0)},s.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(s.prototype,t);var v=S((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=w(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof r?r.call(this,e,n):e[r]},n[i].vuex=!0})),n})),y=S((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var o=w(this.$store,0,t);if(!o)return;i=o.context.commit}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n})),b=S((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;r=t+r;n[i]=function(){if(!t||w(this.$store,0,t))return this.$store.getters[r]},n[i].vuex=!0})),n})),_=S((function(t,e){var n={};return T(e).forEach((function(e){var i=e.key,r=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var o=w(this.$store,0,t);if(!o)return;i=o.context.dispatch}return"function"==typeof r?r.apply(this,[i].concat(e)):i.apply(this.$store,[r].concat(e))}})),n}));function T(t){return e=t,Array.isArray(e)||o(e)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[];var e}function S(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function w(t,e,n){return t._modulesNamespaceMap[n]}function k(t,e,n){n=n?t.groupCollapsed:t.group;try{n.call(t,e)}catch(n){t.log(e)}}function C(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function E(){var t=new Date;return" @ "+x(t.getHours(),2)+":"+x(t.getMinutes(),2)+":"+x(t.getSeconds(),2)+"."+x(t.getMilliseconds(),3)}function x(t,e){return n="0",e-=t.toString().length,new Array(e+1).join(n)+t;var n}e.a={Store:s,install:m,version:"3.6.2",mapState:v,mapMutations:y,mapGetters:b,mapActions:_,createNamespacedHelpers:function(t){return{mapState:v.bind(null,t),mapGetters:b.bind(null,t),mapMutations:y.bind(null,t),mapActions:_.bind(null,t)}},createLogger:function(t){var e=(t=void 0===t?{}:t).collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var u=t.logMutations;void 0===u&&(u=!0);var c=t.logActions;void 0===c&&(c=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var h=i(t.state);void 0!==l&&(u&&t.subscribe((function(t,a){var s,u=i(a);n(t,h,u)&&(s=E(),a=o(t),s="mutation "+t.type+s,k(l,s,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(h)),l.log("%c mutation","color: #03A9F4; font-weight: bold",a),l.log("%c next state","color: #4CAF50; font-weight: bold",r(u)),C(l)),h=u})),c&&t.subscribeAction((function(t,n){var i;a(t,n)&&(i=E(),n=s(t),i="action "+t.type+i,k(l,i,e),l.log("%c action","color: #03A9F4; font-weight: bold",n),C(l))})))}}}}).call(this,n("c8ba"))},"2f78":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{isubh:function(t,e,n,i){return t>>>=0,n>>>=0,(e>>>0)-(i>>>0)-((~t&n|~(t^n)&t-n>>>0)>>>31)|0}})},"2fdb":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d2c8"),o="includes";i(i.P+i.F*n("5147")(o),"String",{includes:function(t){return!!~r(this,t,o).indexOf(t,1<arguments.length?arguments[1]:void 0)}})},"300a":function(t,e,n){"use strict";var i,r,o,a,s,u,c=n("4329"),l=n("194a"),h=n("0ea2"),d=n("4fcf"),f=n("631a").H264Stream,p=n("9d56"),g=n("7e10"),m=n("36c6"),v=["audioobjecttype","channelcount","samplerate","samplingfrequencyindex","samplesize"],y=["width","height","profileIdc","levelIdc","profileCompatibility"],b=function(){return{size:0,flags:{isLeading:0,dependsOn:1,isDependedOn:0,hasRedundancy:0,degradationPriority:0}}},_=function(t){return t[0]==="I".charCodeAt(0)&&t[1]==="D".charCodeAt(0)&&t[2]==="3".charCodeAt(0)},T=function(t,e){var n;if(t.length!==e.length)return!1;for(n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0},S=function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n].data.byteLength;return e},w=function(t){var e=[],n=0,i=0,r=0,o=1/0;w.prototype.init.call(this),this.push=function(n){a(t,n),t&&v.forEach((function(e){t[e]=n[e]})),e.push(n)},this.setEarliestDts=function(e){i=e-t.timelineStartInfo.baseMediaDecodeTime},this.setVideoBaseMediaDecodeTime=function(t){o=t},this.setAudioAppendStart=function(t){r=t},this.flush=function(){var i,r,o;0!==e.length&&(o=this.trimAdtsFramesByEarliestDts_(e),t.baseMediaDecodeTime=u(t),this.prefixWithSilence_(t,o),t.samples=this.generateSampleTable_(o),r=l.mdat(this.concatenateFrameData_(o)),e=[],i=l.moof(n,[t]),o=new Uint8Array(i.byteLength+r.byteLength),n++,o.set(i),o.set(r,i.byteLength),s(t),this.trigger("data",{track:t,boxes:o})),this.trigger("done","AudioSegmentStream")},this.prefixWithSilence_=function(t,e){var n,i,a,s,u,c=0,l=0;if(e.length&&(n=m.audioTsToVideoTs(t.baseMediaDecodeTime,t.samplerate),i=Math.ceil(9e4/(t.samplerate/1024)),r&&o&&(a=n-Math.max(r,o),l=(c=Math.floor(a/i))*i),!(c<1||45e3<l))){for(s=(s=g[t.samplerate])||e[0].data,u=0;u<c;u++)e.splice(u,0,{data:s});t.baseMediaDecodeTime-=Math.floor(m.videoTsToAudioTs(l,t.samplerate))}},this.trimAdtsFramesByEarliestDts_=function(e){return t.minSegmentDts>=i?e:(t.minSegmentDts=1/0,e.filter((function(e){return e.dts>=i&&(t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),t.minSegmentPts=t.minSegmentDts,!0)})))},this.generateSampleTable_=function(t){for(var e,n=[],i=0;i<t.length;i++)e=t[i],n.push({size:e.data.byteLength,duration:1024});return n},this.concatenateFrameData_=function(t){for(var e,n=0,i=new Uint8Array(S(t)),r=0;r<t.length;r++)e=t[r],i.set(e.data,n),n+=e.data.byteLength;return i}};w.prototype=new c,(i=function(t,e){var n,r,o=0,c=[],h=[];e=e||{},i.prototype.init.call(this),delete t.minPTS,this.gopCache_=[],this.push=function(e){a(t,e),"seq_parameter_set_rbsp"!==e.nalUnitType||n||(n=e.config,t.sps=[e.data],y.forEach((function(e){t[e]=n[e]}),this)),"pic_parameter_set_rbsp"!==e.nalUnitType||r||(r=e.data,t.pps=[e.data]),c.push(e)},this.flush=function(){for(var n,i;c.length&&"access_unit_delimiter_rbsp"!==c[0].nalUnitType;)c.shift();if(0===c.length)return this.resetStream_(),void this.trigger("done","VideoSegmentStream");if(i=this.groupNalsIntoFrames_(c),(i=this.groupFramesIntoGops_(i))[0][0].keyFrame||((n=this.getGopForFusion_(c[0],t))?(i.unshift(n),i.byteLength+=n.byteLength,i.nalCount+=n.nalCount,i.pts=n.pts,i.dts=n.dts,i.duration+=n.duration):i=this.extendFirstKeyFrame_(i)),h.length){var r=e.alignGopsAtEnd?this.alignGopsAtEnd_(i):this.alignGopsAtStart_(i);if(!r)return this.gopCache_.unshift({gop:i.pop(),pps:t.pps,sps:t.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),c=[],this.resetStream_(),void this.trigger("done","VideoSegmentStream");s(t),i=r}a(t,i),t.samples=this.generateSampleTable_(i),n=l.mdat(this.concatenateNalData_(i)),t.baseMediaDecodeTime=u(t),this.trigger("processedGopsInfo",i.map((function(t){return{pts:t.pts,dts:t.dts,byteLength:t.byteLength}}))),this.gopCache_.unshift({gop:i.pop(),pps:t.pps,sps:t.sps}),this.gopCache_.length=Math.min(6,this.gopCache_.length),c=[],this.trigger("baseMediaDecodeTime",t.baseMediaDecodeTime),this.trigger("timelineStartInfo",t.timelineStartInfo),r=l.moof(o,[t]),i=new Uint8Array(r.byteLength+n.byteLength),o++,i.set(r),i.set(n,r.byteLength),this.trigger("data",{track:t,boxes:i}),this.resetStream_(),this.trigger("done","VideoSegmentStream")},this.resetStream_=function(){s(t),r=n=void 0},this.getGopForFusion_=function(e){for(var n,i,r,o=1/0,a=0;a<this.gopCache_.length;a++)i=(r=this.gopCache_[a]).gop,t.pps&&T(t.pps[0],r.pps[0])&&t.sps&&T(t.sps[0],r.sps[0])&&(i.dts<t.timelineStartInfo.dts||-1e4<=(i=e.dts-i.dts-i.duration)&&i<=45e3&&(!n||i<o)&&(n=r,o=i));return n?n.gop:null},this.extendFirstKeyFrame_=function(t){var e;return!t[0][0].keyFrame&&1<t.length&&(e=t.shift(),t.byteLength-=e.byteLength,t.nalCount-=e.nalCount,t[0][0].dts=e.dts,t[0][0].pts=e.pts,t[0][0].duration+=e.duration),t},this.groupNalsIntoFrames_=function(t){for(var e,n=[],i=[],r=n.byteLength=0;r<t.length;r++)"access_unit_delimiter_rbsp"===(e=t[r]).nalUnitType?(n.length&&(n.duration=e.dts-n.dts,i.push(n)),(n=[e]).byteLength=e.data.byteLength,n.pts=e.pts,n.dts=e.dts):("slice_layer_without_partitioning_rbsp_idr"===e.nalUnitType&&(n.keyFrame=!0),n.duration=e.dts-n.dts,n.byteLength+=e.data.byteLength,n.push(e));return i.length&&(!n.duration||n.duration<=0)&&(n.duration=i[i.length-1].duration),i.push(n),i},this.groupFramesIntoGops_=function(t){var e,n,i=[],r=[];for(i.byteLength=0,i.nalCount=0,i.duration=0,i.pts=t[0].pts,i.dts=t[0].dts,r.byteLength=0,r.nalCount=0,r.duration=0,r.pts=t[0].pts,r.dts=t[0].dts,e=0;e<t.length;e++)(n=t[e]).keyFrame?(i.length&&(r.push(i),r.byteLength+=i.byteLength,r.nalCount+=i.nalCount,r.duration+=i.duration),(i=[n]).nalCount=n.length,i.byteLength=n.byteLength,i.pts=n.pts,i.dts=n.dts,i.duration=n.duration):(i.duration+=n.duration,i.nalCount+=n.length,i.byteLength+=n.byteLength,i.push(n));return r.length&&i.duration<=0&&(i.duration=r[r.length-1].duration),r.byteLength+=i.byteLength,r.nalCount+=i.nalCount,r.duration+=i.duration,r.push(i),r},this.generateSampleTable_=function(t,e){for(var n,i,r,o,a=e||0,s=[],u=0;u<t.length;u++)for(r=t[u],n=0;n<r.length;n++)o=r[n],(i=b()).dataOffset=a,i.compositionTimeOffset=o.pts-o.dts,i.duration=o.duration,i.size=4*o.length,i.size+=o.byteLength,o.keyFrame&&(i.flags.dependsOn=2),a+=i.size,s.push(i);return s},this.concatenateNalData_=function(t){for(var e,n,i,r,o,a=0,s=t.byteLength,u=t.nalCount,c=new Uint8Array(s+4*u),l=new DataView(c.buffer),h=0;h<t.length;h++)for(i=t[h],e=0;e<i.length;e++)for(r=i[e],n=0;n<r.length;n++)o=r[n],l.setUint32(a,o.data.byteLength),c.set(o.data,a+=4),a+=o.data.byteLength;return c},this.alignGopsAtStart_=function(t){for(var e,n,i,r,o=t.byteLength,a=t.nalCount,s=t.duration,u=e=0;u<h.length&&e<t.length&&(n=h[u],i=t[e],n.pts!==i.pts);)i.pts>n.pts?u++:(e++,o-=i.byteLength,a-=i.nalCount,s-=i.duration);return 0===e?t:e===t.length?null:((r=t.slice(e)).byteLength=o,r.duration=s,r.nalCount=a,r.pts=r[0].pts,r.dts=r[0].dts,r)},this.alignGopsAtEnd_=function(t){for(var e,n,i=h.length-1,r=t.length-1,o=null,a=!1;0<=i&&0<=r;){if(e=h[i],n=t[r],e.pts===n.pts){a=!0;break}e.pts>n.pts?i--:(i===h.length-1&&(o=r),r--)}if(!a&&null===o)return null;if(0===(u=a?r:o))return t;var s=t.slice(u),u=s.reduce((function(t,e){return t.byteLength+=e.byteLength,t.duration+=e.duration,t.nalCount+=e.nalCount,t}),{byteLength:0,duration:0,nalCount:0});return s.byteLength=u.byteLength,s.duration=u.duration,s.nalCount=u.nalCount,s.pts=s[0].pts,s.dts=s[0].dts,s},this.alignGopsWith=function(t){h=t}}).prototype=new c,a=function(t,e){"number"==typeof e.pts&&(void 0===t.timelineStartInfo.pts&&(t.timelineStartInfo.pts=e.pts),void 0===t.minSegmentPts?t.minSegmentPts=e.pts:t.minSegmentPts=Math.min(t.minSegmentPts,e.pts),void 0===t.maxSegmentPts?t.maxSegmentPts=e.pts:t.maxSegmentPts=Math.max(t.maxSegmentPts,e.pts)),"number"==typeof e.dts&&(void 0===t.timelineStartInfo.dts&&(t.timelineStartInfo.dts=e.dts),void 0===t.minSegmentDts?t.minSegmentDts=e.dts:t.minSegmentDts=Math.min(t.minSegmentDts,e.dts),void 0===t.maxSegmentDts?t.maxSegmentDts=e.dts:t.maxSegmentDts=Math.max(t.maxSegmentDts,e.dts))},s=function(t){delete t.minSegmentDts,delete t.maxSegmentDts,delete t.minSegmentPts,delete t.maxSegmentPts},u=function(t){var e=t.minSegmentDts-t.timelineStartInfo.dts,n=t.timelineStartInfo.baseMediaDecodeTime;return n+=e,n=Math.max(0,n),"audio"===t.type&&(n*=t.samplerate/9e4,n=Math.floor(n)),n},(o=function(t,e){this.numberOfTracks=0,this.metadataStream=e,void 0!==t.remux?this.remuxTracks=!!t.remux:this.remuxTracks=!0,this.pendingTracks=[],this.videoTrack=null,this.pendingBoxes=[],this.pendingCaptions=[],this.pendingMetadata=[],this.pendingBytes=0,this.emittedTracks=0,o.prototype.init.call(this),this.push=function(t){return t.text?this.pendingCaptions.push(t):t.frames?this.pendingMetadata.push(t):(this.pendingTracks.push(t.track),this.pendingBoxes.push(t.boxes),this.pendingBytes+=t.boxes.byteLength,"video"===t.track.type&&(this.videoTrack=t.track),void("audio"===t.track.type&&(this.audioTrack=t.track)))}}).prototype=new c,o.prototype.flush=function(t){var e,n,i,r=0,o={captions:[],captionStreams:{},metadata:[],info:{}},a=0;if(this.pendingTracks.length<this.numberOfTracks){if("VideoSegmentStream"!==t&&"AudioSegmentStream"!==t)return;if(this.remuxTracks)return;if(0===this.pendingTracks.length)return this.emittedTracks++,void(this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0))}for(this.videoTrack?(a=this.videoTrack.timelineStartInfo.pts,y.forEach((function(t){o.info[t]=this.videoTrack[t]}),this)):this.audioTrack&&(a=this.audioTrack.timelineStartInfo.pts,v.forEach((function(t){o.info[t]=this.audioTrack[t]}),this)),1===this.pendingTracks.length?o.type=this.pendingTracks[0].type:o.type="combined",this.emittedTracks+=this.pendingTracks.length,t=l.initSegment(this.pendingTracks),o.initSegment=new Uint8Array(t.byteLength),o.initSegment.set(t),o.data=new Uint8Array(this.pendingBytes),i=0;i<this.pendingBoxes.length;i++)o.data.set(this.pendingBoxes[i],r),r+=this.pendingBoxes[i].byteLength;for(i=0;i<this.pendingCaptions.length;i++)(e=this.pendingCaptions[i]).startTime=e.startPts-a,e.startTime/=9e4,e.endTime=e.endPts-a,e.endTime/=9e4,o.captionStreams[e.stream]=!0,o.captions.push(e);for(i=0;i<this.pendingMetadata.length;i++)(n=this.pendingMetadata[i]).cueTime=n.pts-a,n.cueTime/=9e4,o.metadata.push(n);o.metadata.dispatchType=this.metadataStream.dispatchType,this.pendingTracks.length=0,this.videoTrack=null,this.pendingBoxes.length=0,this.pendingCaptions.length=0,this.pendingBytes=0,this.pendingMetadata.length=0,this.trigger("data",o),this.emittedTracks>=this.numberOfTracks&&(this.trigger("done"),this.emittedTracks=0)},(r=function(t){var e,n,a=this,u=!0;r.prototype.init.call(this),this.baseMediaDecodeTime=(t=t||{}).baseMediaDecodeTime||0,this.transmuxPipeline_={},this.setupAacPipeline=function(){var e={};(this.transmuxPipeline_=e).type="aac",e.metadataStream=new h.MetadataStream,e.aacStream=new p,e.audioTimestampRolloverStream=new h.TimestampRolloverStream("audio"),e.timedMetadataTimestampRolloverStream=new h.TimestampRolloverStream("timed-metadata"),e.adtsStream=new d,e.coalesceStream=new o(t,e.metadataStream),e.headOfPipeline=e.aacStream,e.aacStream.pipe(e.audioTimestampRolloverStream).pipe(e.adtsStream),e.aacStream.pipe(e.timedMetadataTimestampRolloverStream).pipe(e.metadataStream).pipe(e.coalesceStream),e.metadataStream.on("timestamp",(function(t){e.aacStream.setTimestamp(t.timeStamp)})),e.aacStream.on("data",(function(t){"timed-metadata"!==t.type||e.audioSegmentStream||(n=n||{timelineStartInfo:{baseMediaDecodeTime:a.baseMediaDecodeTime},codec:"adts",type:"audio"},e.coalesceStream.numberOfTracks++,e.audioSegmentStream=new w(n),e.adtsStream.pipe(e.audioSegmentStream).pipe(e.coalesceStream))})),e.coalesceStream.on("data",this.trigger.bind(this,"data")),e.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setupTsPipeline=function(){var r={};(this.transmuxPipeline_=r).type="ts",r.metadataStream=new h.MetadataStream,r.packetStream=new h.TransportPacketStream,r.parseStream=new h.TransportParseStream,r.elementaryStream=new h.ElementaryStream,r.videoTimestampRolloverStream=new h.TimestampRolloverStream("video"),r.audioTimestampRolloverStream=new h.TimestampRolloverStream("audio"),r.timedMetadataTimestampRolloverStream=new h.TimestampRolloverStream("timed-metadata"),r.adtsStream=new d,r.h264Stream=new f,r.captionStream=new h.CaptionStream,r.coalesceStream=new o(t,r.metadataStream),r.headOfPipeline=r.packetStream,r.packetStream.pipe(r.parseStream).pipe(r.elementaryStream),r.elementaryStream.pipe(r.videoTimestampRolloverStream).pipe(r.h264Stream),r.elementaryStream.pipe(r.audioTimestampRolloverStream).pipe(r.adtsStream),r.elementaryStream.pipe(r.timedMetadataTimestampRolloverStream).pipe(r.metadataStream).pipe(r.coalesceStream),r.h264Stream.pipe(r.captionStream).pipe(r.coalesceStream),r.elementaryStream.on("data",(function(o){var s;if("metadata"===o.type){for(s=o.tracks.length;s--;)e||"video"!==o.tracks[s].type?n||"audio"!==o.tracks[s].type||((n=o.tracks[s]).timelineStartInfo.baseMediaDecodeTime=a.baseMediaDecodeTime):(e=o.tracks[s]).timelineStartInfo.baseMediaDecodeTime=a.baseMediaDecodeTime;e&&!r.videoSegmentStream&&(r.coalesceStream.numberOfTracks++,r.videoSegmentStream=new i(e,t),r.videoSegmentStream.on("timelineStartInfo",(function(t){n&&(n.timelineStartInfo=t,r.audioSegmentStream.setEarliestDts(t.dts))})),r.videoSegmentStream.on("processedGopsInfo",a.trigger.bind(a,"gopInfo")),r.videoSegmentStream.on("baseMediaDecodeTime",(function(t){n&&r.audioSegmentStream.setVideoBaseMediaDecodeTime(t)})),r.h264Stream.pipe(r.videoSegmentStream).pipe(r.coalesceStream)),n&&!r.audioSegmentStream&&(r.coalesceStream.numberOfTracks++,r.audioSegmentStream=new w(n),r.adtsStream.pipe(r.audioSegmentStream).pipe(r.coalesceStream))}})),r.coalesceStream.on("data",this.trigger.bind(this,"data")),r.coalesceStream.on("done",this.trigger.bind(this,"done"))},this.setBaseMediaDecodeTime=function(t){var i=this.transmuxPipeline_;this.baseMediaDecodeTime=t,n&&(n.timelineStartInfo.dts=void 0,n.timelineStartInfo.pts=void 0,s(n),n.timelineStartInfo.baseMediaDecodeTime=t,i.audioTimestampRolloverStream&&i.audioTimestampRolloverStream.discontinuity()),e&&(i.videoSegmentStream&&(i.videoSegmentStream.gopCache_=[],i.videoTimestampRolloverStream.discontinuity()),e.timelineStartInfo.dts=void 0,e.timelineStartInfo.pts=void 0,s(e),i.captionStream.reset(),e.timelineStartInfo.baseMediaDecodeTime=t),i.timedMetadataTimestampRolloverStream&&i.timedMetadataTimestampRolloverStream.discontinuity()},this.setAudioAppendStart=function(t){n&&this.transmuxPipeline_.audioSegmentStream.setAudioAppendStart(t)},this.alignGopsWith=function(t){e&&this.transmuxPipeline_.videoSegmentStream&&this.transmuxPipeline_.videoSegmentStream.alignGopsWith(t)},this.push=function(t){var e;u&&((e=_(t))&&"aac"!==this.transmuxPipeline_.type?this.setupAacPipeline():e||"ts"===this.transmuxPipeline_.type||this.setupTsPipeline(),u=!1),this.transmuxPipeline_.headOfPipeline.push(t)},this.flush=function(){u=!0,this.transmuxPipeline_.headOfPipeline.flush()},this.resetCaptions=function(){this.transmuxPipeline_.captionStream&&this.transmuxPipeline_.captionStream.reset()}}).prototype=new c,t.exports={Transmuxer:r,VideoSegmentStream:i,AudioSegmentStream:w,AUDIO_PROPERTIES:v,VIDEO_PROPERTIES:y}},3104:function(t,e,n){"use strict";var i=n("02de"),r=n("ea8e"),o=n("d282"),a=n("a142"),s=n("a8c1"),u=n("5fbe"),c=(n=Object(o.a)("sticky"),o=n[0],n[1]);e.a=o({mixins:[Object(u.a)((function(t,e){this.scroller||(this.scroller=Object(s.d)(this.$el)),this.observer&&this.observer[e?"observe":"unobserve"](this.$el),t(this.scroller,"scroll",this.onScroll,!0),this.onScroll()}))],props:{zIndex:[Number,String],container:null,offsetTop:{type:[Number,String],default:0}},data:function(){return{fixed:!1,height:0,transform:0}},computed:{offsetTopPx:function(){return Object(r.b)(this.offsetTop)},style:function(){if(this.fixed){var t={};return Object(a.c)(this.zIndex)&&(t.zIndex=this.zIndex),this.offsetTopPx&&this.fixed&&(t.top=this.offsetTopPx+"px"),this.transform&&(t.transform="translate3d(0, "+this.transform+"px, 0)"),t}}},watch:{fixed:function(t){this.$emit("change",t)}},created:function(){var t=this;!a.g&&window.IntersectionObserver&&(this.observer=new IntersectionObserver((function(e){0<e[0].intersectionRatio&&t.onScroll()}),{root:document.body}))},methods:{onScroll:function(){var t=this;if(!Object(i.a)(this.$el)){this.height=this.$el.offsetHeight;var e=this.container,n=this.offsetTopPx,r=Object(s.c)(window),o=Object(s.a)(this.$el),a=function(){t.$emit("scroll",{scrollTop:r,isFixed:t.fixed})};if(e&&(e=o+e.offsetHeight,r+n+this.height>e))return e=this.height+r-e,e<this.height?(this.fixed=!0,this.transform=-(e+n)):this.fixed=!1,void a();o<r+n?(this.fixed=!0,this.transform=0):this.fixed=!1,a()}}},render:function(){var t=arguments[0],e=this.fixed;return t("div",{style:{height:e?this.height+"px":null}},[t("div",{class:c({fixed:e}),style:this.style},[this.slots()])])}})},"31ce":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t){return t&&t.__esModule?t:{default:t}}function a(t,e,n){var i,r,o,a,u=new Int32Array(t.buffer,t.byteOffset,t.byteLength>>2),c=new s.default(Array.prototype.slice.call(e)),h=(t=new Uint8Array(t.byteLength),new Int32Array(t.buffer)),d=void 0,f=void 0,p=void 0,g=void 0,m=void 0;for(d=n[0],f=n[1],p=n[2],g=n[3],m=0;m<u.length;m+=4)i=l(u[m]),r=l(u[m+1]),o=l(u[m+2]),a=l(u[m+3]),c.decrypt(i,r,o,a,h,m),h[m]=l(h[m]^d),h[m+1]=l(h[m+1]^f),h[m+2]=l(h[m+2]^p),h[m+3]=l(h[m+3]^g),d=i,f=r,p=o,g=a;return t}var s=o(n("818b")),u=o(n("8890")),c=n("cdad"),l=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24};function h(t,e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h);var r=h.STEP,o=new Int32Array(t.buffer),a=new Uint8Array(t.byteLength),s=0;for(this.asyncStream_=new u.default,this.asyncStream_.push(this.decryptChunk_(o.subarray(s,s+r),e,n,a)),s=r;s<o.length;s+=r)n=new Uint32Array([l(o[s-4]),l(o[s-3]),l(o[s-2]),l(o[s-1])]),this.asyncStream_.push(this.decryptChunk_(o.subarray(s,s+r),e,n,a));this.asyncStream_.push((function(){i(null,(0,c.unpad)(a))}))}e.decrypt=a,i(h,[{key:"decryptChunk_",value:function(t,e,n,i){return function(){var r=a(t,e,n);i.set(r,t.byteOffset)}}}],[{key:"STEP",get:function(){return 32e3}}]),i=h,e.Decrypter=i,e.default={Decrypter:i,decrypt:a}},"31f4":function(t,e){t.exports=function(t,e,n){var i=void 0===n;switch(e.length){case 0:return i?t():t.call(n);case 1:return i?t(e[0]):t.call(n,e[0]);case 2:return i?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return i?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return i?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},3240:function(t,e,n){"use strict";t.exports=function(t){var e=t.byteLength,n=0,i=0;this.length=function(){return 8*e},this.bitsAvailable=function(){return 8*e+i},this.loadWord=function(){var r=t.byteLength-e,o=new Uint8Array(4),a=Math.min(4,e);if(0===a)throw new Error("no bytes available");o.set(t.subarray(r,r+a)),n=new DataView(o.buffer).getUint32(0),i=8*a,e-=a},this.skipBits=function(t){var r;t<i||(t-=i,t-=8*(r=Math.floor(t/8)),e-=r,this.loadWord()),n<<=t,i-=t},this.readBits=function(t){var r=Math.min(i,t),o=n>>>32-r;return 0<(i-=r)?n<<=r:0<e&&this.loadWord(),0<(r=t-r)?o<<r|this.readBits(r):o},this.skipLeadingZeros=function(){for(var t=0;t<i;++t)if(0!=(n&2147483648>>>t))return n<<=t,i-=t,t;return this.loadWord(),t+this.skipLeadingZeros()},this.skipUnsignedExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.skipExpGolomb=function(){this.skipBits(1+this.skipLeadingZeros())},this.readUnsignedExpGolomb=function(){var t=this.skipLeadingZeros();return this.readBits(t+1)-1},this.readExpGolomb=function(){var t=this.readUnsignedExpGolomb();return 1&t?1+t>>>1:-1*(t>>>1)},this.readBoolean=function(){return 1===this.readBits(1)},this.readUnsignedByte=function(){return this.readBits(8)},this.loadWord()}},"32d7":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},"32e9":function(t,e,n){var i=n("86cc"),r=n("4630");t.exports=n("9e1e")?function(t,e,n){return i.f(t,e,r(1,n))}:function(t,e,n){return t[e]=n,t}},"33a4":function(t,e,n){var i=n("84f2"),r=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[r]===t)}},"343b":function(t,e,n){"use strict";var i=n("283e");e.a=n.n(i).a},"34e9":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ba31")),a=n("b1d2"),s=(n=Object(i.a)("cell-group"),i=n[0],n[1]);function u(t,e,n,i){var u=t("div",r()([{class:[s(),((u={})[a.f]=e.border,u)]},Object(o.b)(i,!0)]),[null==n.default?void 0:n.default()]);return e.title||n.title?t("div",{key:i.data.key},[t("div",{class:s("title")},[n.title?n.title():e.title]),u]):u}u.props={title:String,border:{type:Boolean,default:!0}},e.a=i(u)},"34ef":function(t,e,n){n("ec30")("Uint8",1,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},3535:function(t,e,n){"use strict";var i=n("5ca1"),r=n("02f4")(!0);n=n("79e5")((function(){return"𠮷"!=="𠮷".at(0)}));i(i.P+i.F*n,"String",{at:function(t){return r(this,t)}})},"36bd":function(t,e,n){"use strict";var i=n("4bf8"),r=n("77f1"),o=n("9def");t.exports=function(t){for(var e=i(this),n=o(e.length),a=arguments.length,s=r(1<a?arguments[1]:void 0,n),u=(a=2<a?arguments[2]:void 0,void 0===a?n:r(a,n));s<u;)e[s++]=t;return e}},"36c6":function(t,e){var n=function(t){return 9e4*t},i=function(t,e){return t*e},r=function(t){return t/9e4},o=function(t,e){return t/e};t.exports={secondsToVideoTs:n,secondsToAudioTs:i,videoTsToSeconds:r,audioTsToSeconds:o,audioTsToVideoTs:function(t,e){return t/e*9e4},videoTsToAudioTs:function(t,e){return t/9e4*e}}},"373f":function(t,e,n){"use strict";var i=n("5ca1"),r=n("6821"),o=[].join;i(i.P+i.F*(n("626a")!=Object||!n("2f21")(o)),"Array",{join:function(t){return o.call(r(this),void 0===t?",":t)}})},"37a7":function(t,e,n){function i(t,e,n){var i=s.get(t);if(!i){if(!n)return;s.set(t,i=new r)}if(!(t=i.get(e))){if(!n)return;i.set(e,t=new r)}return t}var r=n("f400"),o=n("5ca1"),a=n("5537")("metadata"),s=a.store||(a.store=new(n("10ad")));t.exports={store:s,map:i,has:function(t,e,n){return n=i(e,n,!1),void 0!==n&&n.has(t)},get:function(t,e,n){return n=i(e,n,!1),void 0===n?void 0:n.get(t)},set:function(t,e,n,r){i(n,r,!0).set(t,e)},keys:function(t,e){e=i(t,e,!1);var n=[];return e&&e.forEach((function(t,e){n.push(e)})),n},key:function(t){return void 0===t||"symbol"==typeof t?t:String(t)},exp:function(t){o(o.S,"Reflect",t)}}},"37b5":function(t,e,n){"use strict";function i(t){return null==t?void 0:f(t)}function r(t){var e=t._c;e&&(t._c=void 0,e())}function o(t){return void 0===t._o}function a(t){o(t)||(t._o=void 0,r(t))}function s(t,e){p(t),this._c=void 0,this._o=t,t=new _(this);try{var n=e(t),i=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){i.unsubscribe()}:f(n),this._c=n)}catch(e){return void t.error(e)}o(this)&&r(this)}var u=n("5ca1"),c=n("7726"),l=n("8378"),h=n("8079")(),d=n("2b4c")("observable"),f=n("d8e8"),p=n("cb7c"),g=n("f605"),m=n("dcbc"),v=n("32e9"),y=n("4a59"),b=y.RETURN;s.prototype=m({},{unsubscribe:function(){a(this)}});var _=function(t){this._s=t};_.prototype=m({},{next:function(t){var e=this._s;if(!o(e)){var n=e._o;try{var r=i(n.next);if(r)return r.call(n,t)}catch(t){try{a(e)}finally{throw t}}}},error:function(t){var e=this._s;if(o(e))throw t;var n=e._o;e._o=void 0;try{var a=i(n.error);if(!a)throw t;t=a.call(n,t)}catch(t){try{r(e)}finally{throw t}}return r(e),t},complete:function(t){var e=this._s;if(!o(e)){var n=e._o;e._o=void 0;try{var a=i(n.complete);t=a?a.call(n,t):void 0}catch(t){try{r(e)}finally{throw t}}return r(e),t}}});var T=function(t){g(this,T,"Observable","_f")._f=f(t)};m(T.prototype,{subscribe:function(t){return new s(t,this._f)},forEach:function(t){var e=this;return new(l.Promise||c.Promise)((function(n,i){f(t);var r=e.subscribe({next:function(e){try{return t(e)}catch(e){i(e),r.unsubscribe()}},error:i,complete:n})}))}}),m(T,{from:function(t){var e="function"==typeof this?this:T,n=i(p(t)[d]);if(n){var r=p(n.call(t));return r.constructor===e?r:new e((function(t){return r.subscribe(t)}))}return new e((function(e){var n=!1;return h((function(){if(!n){try{if(y(t,!1,(function(t){if(e.next(t),n)return b}))===b)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}})),function(){n=!0}}))},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t<e;)n[t]=arguments[t++];return new("function"==typeof this?this:T)((function(t){var e=!1;return h((function(){if(!e){for(var i=0;i<n.length;++i)if(t.next(n[i]),e)return;t.complete()}})),function(){e=!0}}))}}),v(T.prototype,d,(function(){return this})),u(u.G,{Observable:T}),n("7a56")("Observable")},"37c8":function(t,e,n){e.f=n("2b4c")},"37ff":function(t,e,n){},3835:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("06c5");function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=n){var i,r,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw r}}return o}}(t,e)||Object(i.a)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},3846:function(t,e,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"386b":function(t,e,n){function i(t,e,n,i){var r=String(a(t));t="<"+e;return""!==n&&(t+=" "+n+'="'+String(i).replace(s,"&quot;")+'"'),t+">"+r+"</"+e+">"}var r=n("5ca1"),o=n("79e5"),a=n("be13"),s=/"/g;t.exports=function(t,e){var n={};n[t]=e(i),r(r.P+r.F*o((function(){var e=""[t]('"');return e!==e.toLowerCase()||3<e.split('"').length})),"String",n)}},"386d":function(t,e,n){"use strict";var i=n("cb7c"),r=n("83a1"),o=n("5f1b");n("214f")("search",1,(function(t,e,n,a){return[function(n){var i=t(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=a(n,t,this);if(e.done)return e.value;var s=i(t);e=String(this),t=s.lastIndex;return r(t,0)||(s.lastIndex=0),e=o(s,e),r(s.lastIndex,t)||(s.lastIndex=t),null===e?-1:e.index}]}))},3875:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("1325"),r={data:function(){return{direction:""}},methods:{touchStart:function(t){this.resetTouchStatus(),this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY},touchMove:function(t){var e=t.touches[0];this.deltaX=e.clientX<0?0:e.clientX-this.startX,this.deltaY=e.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||(t=this.offsetX,(e=this.offsetY)<t&&10<t?"horizontal":t<e&&10<e?"vertical":"")},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(t){var e=this.onTouchStart,n=this.onTouchMove,r=this.onTouchEnd;Object(i.b)(t,"touchstart",e),Object(i.b)(t,"touchmove",n),r&&(Object(i.b)(t,"touchend",r),Object(i.b)(t,"touchcancel",r))}}}},"38fd":function(t,e,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=r(t),i(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},"3a72":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("2d00"),a=n("37c8"),s=n("86cc").f;t.exports=function(t){var e=r.Symbol||(r.Symbol=!o&&i.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},"3a9c":function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=n("d8e8"),a=i.key,s=i.set;i.exp({metadata:function(t,e){return function(n,i){s(t,e,(void 0!==i?r:o)(n),a(i))}}})},"3acc":function(t,e,n){"use strict";var i=n("d282"),r=n("78eb"),o=n("9884"),a=(n=Object(i.a)("checkbox-group"),i=n[0],n[1]);e.a=i({mixins:[Object(o.b)("vanCheckbox"),r.a],props:{max:[Number,String],disabled:Boolean,direction:String,iconSize:[Number,String],checkedColor:String,value:{type:Array,default:function(){return[]}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggleAll:function(t){var e=(t="boolean"==typeof(t=void 0===t?{}:t)?{checked:t}:t).checked,n=t.skipDisabled;t=this.children.filter((function(t){return t.disabled&&n?t.checked:null!=e?e:!t.checked})).map((function(t){return t.name}));this.$emit("input",t)}},render:function(){return(0,arguments[0])("div",{class:a([this.direction])},[this.slots()])}})},"3b2b":function(t,e,n){var i=n("7726"),r=n("5dbc"),o=n("86cc").f,a=n("9093").f,s=n("aae3"),u=n("0bfb"),c=p=i.RegExp,l=p.prototype,h=/a/g,d=/a/g,f=new p(h)!==h;if(n("9e1e")&&(!f||n("79e5")((function(){return d[n("2b4c")("match")]=!1,p(h)!=h||p(d)==d||"/a/i"!=p(h,"i")})))){for(var p=function(t,e){var n=this instanceof p,i=s(t),o=void 0===e;return!n&&i&&t.constructor===p&&o?t:r(f?new c(i&&!o?t.source:t,e):c((i=t instanceof p)?t.source:t,i&&o?u.call(t):e),n?this:l,p)},g=a(c),m=0;g.length>m;)!function(t){t in p||o(p,t,{configurable:!0,get:function(){return c[t]},set:function(e){c[t]=e}})}(g[m++]);(l.constructor=p).prototype=l,n("2aba")(i,"RegExp",p)}n("7a56")("RegExp")},"3ca5":function(t,e,n){var i=n("7726").parseInt,r=n("aa77").trim,o=(n=n("fdef"),/^[-+]?0[xX]/);t.exports=8!==i(n+"08")||22!==i(n+"0x16")?function(t,e){return t=r(String(t),3),i(t,e>>>0||(o.test(t)?16:10))}:i},"3cc4":function(t,e,n){"use strict";n("3cd0"),n("ae3a")},"3cd0":function(t,e,n){},"3cf6":function(t,e,n){},"3d33":function(t,e,n){
  8. /**
  9. * @license
  10. * Video.js 6.13.0 <http://videojs.com/>
  11. * Copyright Brightcove, Inc. <https://www.brightcove.com/>
  12. * Available under Apache License Version 2.0
  13. * <https://github.com/videojs/video.js/blob/master/LICENSE>
  14. *
  15. * Includes vtt.js <https://github.com/mozilla/vtt.js>
  16. * Available under Apache License Version 2.0
  17. * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
  18. */
  19. function i(t){return t&&"object"==typeof t&&"default"in t?t.default:t}var r=i(n("672b")),o=i(n("cc57")),a=i(n("1b8d")),s=i(n("8c10")),u=i(n("eec7")),c=i(n("2b8c")),l="6.13.0",h=r.navigator&&r.navigator.userAgent||"",d=/AppleWebKit\/([\d.]+)/i.exec(h),f=d?parseFloat(d.pop()):null,p=/iPad/i.test(h),g=/iPhone/i.test(h)&&!p,m=/iPod/i.test(h),v=g||p||m,y=(pn=h.match(/OS (\d+)_/i))&&pn[1]?pn[1]:null,b=/Android/i.test(h),_=function(){var t=h.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return e&&n?parseFloat(t[1]+"."+t[2]):e||null}(),T=b&&/webkit/i.test(h)&&_<2.3,S=b&&_<5&&f<537,w=/Firefox/i.test(h),k=/Edge/i.test(h),C=!k&&(/Chrome/i.test(h)||/CriOS/i.test(h)),E=(Tn=h.match(/(Chrome|CriOS)\/(\d+)/))&&Tn[2]?parseFloat(Tn[2]):null,x=/MSIE\s8\.0/.test(h),O=En=!(En=(En=/MSIE\s(\d+)\.\d/.exec(h))&&parseFloat(En[1]))&&/Trident\/7.0/i.test(h)&&/rv:11.0/.test(h)?11:En,A=/Safari/i.test(h)&&!C&&!b&&!k,P=(A||v)&&!C,j=Z()&&("ontouchstart"in r||r.navigator.maxTouchPoints||r.DocumentTouch&&r.document instanceof r.DocumentTouch),I=Z()&&"backgroundSize"in r.document.createElement("video").style,L=(Object.freeze||Object)({IS_IPAD:p,IS_IPHONE:g,IS_IPOD:m,IS_IOS:v,IOS_VERSION:y,IS_ANDROID:b,ANDROID_VERSION:_,IS_OLD_ANDROID:T,IS_NATIVE_ANDROID:S,IS_FIREFOX:w,IS_EDGE:k,IS_CHROME:C,CHROME_VERSION:E,IS_IE8:x,IE_VERSION:O,IS_SAFARI:A,IS_ANY_SAFARI:P,TOUCH_ENABLED:j,BACKGROUND_SIZE_SUPPORTED:I}),M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},B=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},R=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},N=function(t,e){return t.raw=e,t},F=Object.prototype.toString,U=function(t){return H(t)?Object.keys(t):[]};function $(t,e){U(t).forEach((function(n){return e(t[n],n)}))}function V(t){for(var e=arguments.length,n=Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return Object.assign?Object.assign.apply(Object,[t].concat(n)):(n.forEach((function(e){e&&$(e,(function(e,n){t[n]=e}))})),t)}function H(t){return!!t&&"object"===(void 0===t?"undefined":M(t))}function z(t){return H(t)&&"[object Object]"===F.call(t)&&t.constructor===Object}var W=[],q=function(t,e){return function(n,i,o,a){var s=e.levels[i],u=new RegExp("^("+s+")$");"log"!==n&&o.unshift(n.toUpperCase()+":"),o.unshift(t+":"),W&&W.push([].concat(o)),!r.console||(i=(i=r.console[n])||"debug"!==n?i:r.console.info||r.console.log)&&s&&u.test(n)&&(a&&(o=o.map((function(t){if(H(t)||Array.isArray(t))try{return JSON.stringify(t)}catch(n){return String(t)}return String(t)})).join(" ")),i.apply?i[Array.isArray(o)?"apply":"call"](r.console,o):i(o))}},G=function t(e){function n(){for(var t=n.stringify||O&&O<11,e=arguments.length,o=Array(e),a=0;a<e;a++)o[a]=arguments[a];r("log",i,o,t)}var i="info",r=void 0;r=q(e,n);return n.createLogger=function(n){return t(e+": "+n)},n.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:i},n.level=function(t){if("string"==typeof t){if(!n.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');i=t}return i},(n.history=function(){return W?[].concat(W):[]}).filter=function(t){return(W||[]).filter((function(e){return new RegExp(".*"+t+".*").test(e[0])}))},n.history.clear=function(){W&&(W.length=0)},n.history.disable=function(){null!==W&&(W.length=0,W=null)},n.history.enable=function(){null===W&&(W=[])},n.error=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r("error",i,e)},n.warn=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r("warn",i,e)},n.debug=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return r("debug",i,e)},n}("VIDEOJS"),X=G.createLogger;function Y(t,e){return t&&e?"function"!=typeof r.getComputedStyle?t.currentStyle[e]||"":(t=r.getComputedStyle(t),t?t[e]:""):""}var K=N(["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]);function Q(t){return"string"==typeof t&&/\S/.test(t)}function J(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function Z(){return o===r.document&&void 0!==o.createElement}function tt(t){return H(t)&&1===t.nodeType}function et(){try{return r.parent!==r.self}catch(t){return!0}}function nt(t){return function(e,n){return Q(e)?(n=tt(n=Q(n)?o.querySelector(n):n)?n:o,n[t]&&n[t](e)):o[t](null)}}function it(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"div",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3],r=o.createElement(t);return Object.getOwnPropertyNames(e).forEach((function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(G.warn(a(K,t,n)),r.setAttribute(t,n)):"textContent"===t?rt(r,n):r[t]=n})),Object.getOwnPropertyNames(n).forEach((function(t){r.setAttribute(t,n[t])})),i&&wt(r,i),r}function rt(t,e){return void 0===t.textContent?t.innerText=e:t.textContent=e,t}function ot(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function at(t,e){return J(e),t.classList?t.classList.contains(e):new RegExp("(^|\\s)"+e+"($|\\s)").test(t.className)}function st(t,e){return t.classList?t.classList.add(e):at(t,e)||(t.className=(t.className+" "+e).trim()),t}function ut(t,e){return t.classList?t.classList.remove(e):(J(e),t.className=t.className.split(/\s+/).filter((function(t){return t!==e})).join(" ")),t}function ct(t,e,n){var i=at(t,e);if((n="boolean"!=typeof(n="function"==typeof n?n(t,e):n)?!i:n)!==i)return(n?st:ut)(t,e),t}function lt(t,e){Object.getOwnPropertyNames(e).forEach((function(n){var i=e[n];null==i||!1===i?t.removeAttribute(n):t.setAttribute(n,!0===i?"":i)}))}function ht(t){var e={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&0<t.attributes.length)for(var i=t.attributes,r=i.length-1;0<=r;r--){var o=i[r].name,a=i[r].value;"boolean"!=typeof t[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),e[o]=a}return e}function dt(t,e){return t.getAttribute(e)}function ft(t,e,n){t.setAttribute(e,n)}function pt(t,e){t.removeAttribute(e)}function gt(){o.body.focus(),o.onselectstart=function(){return!1}}function mt(){o.onselectstart=function(){return!0}}function vt(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),n.height||(n.height=parseFloat(Y(t,"height"))),n.width||(n.width=parseFloat(Y(t,"width"))),n}}function yt(t){var e=void 0;if(!(e=t.getBoundingClientRect&&t.parentNode?t.getBoundingClientRect():e))return{left:0,top:0};var n=o.documentElement,i=o.body,a=n.clientLeft||i.clientLeft||0;t=r.pageXOffset||i.scrollLeft,a=e.left+t-a,n=n.clientTop||i.clientTop||0,i=r.pageYOffset||i.scrollTop,n=e.top+i-n;return{left:Math.round(a),top:Math.round(n)}}function bt(t,e){var n={},i=yt(t),r=t.offsetWidth,o=t.offsetHeight,a=i.top,s=i.left;t=e.pageY,i=e.pageX;return e.changedTouches&&(i=e.changedTouches[0].pageX,t=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-t+o)/o)),n.x=Math.max(0,Math.min(1,(i-s)/r)),n}function _t(t){return H(t)&&3===t.nodeType}function Tt(t){for(;t.firstChild;)t.removeChild(t.firstChild);return t}function St(t){return"function"==typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map((function(t){return tt(t="function"==typeof t?t():t)||_t(t)?t:"string"==typeof t&&/\S/.test(t)?o.createTextNode(t):void 0})).filter((function(t){return t}))}function wt(t,e){return St(e).forEach((function(e){return t.appendChild(e)})),t}function kt(t,e){return wt(Tt(t),e)}function Ct(t){return void 0===t.button&&void 0===t.buttons||0===t.button&&void 0===t.buttons||9===O||0===t.button&&1===t.buttons}var Et=nt("querySelector"),xt=nt("querySelectorAll"),Ot=(Object.freeze||Object)({isReal:Z,isEl:tt,isInFrame:et,createEl:it,textContent:rt,prependTo:ot,hasClass:at,addClass:st,removeClass:ut,toggleClass:ct,setAttributes:lt,getAttributes:ht,getAttribute:dt,setAttribute:ft,removeAttribute:pt,blockTextSelection:gt,unblockTextSelection:mt,getBoundingClientRect:vt,findPosition:yt,getPointerPosition:bt,isTextNode:_t,emptyEl:Tt,normalizeContent:St,appendContent:wt,insertContent:kt,isSingleLeftClick:Ct,$:Et,$$:xt}),At=1,Pt={},jt="vdata"+(new Date).getTime();function It(t){var e=(e=t[jt])||(t[jt]=At++);return Pt[e]||(Pt[e]={}),Pt[e]}function Lt(t){return t=t[jt],t&&Object.getOwnPropertyNames(Pt[t]).length}function Mt(t){var e=t[jt];if(e){delete Pt[e];try{delete t[jt]}catch(e){t.removeAttribute?t.removeAttribute(jt):t[jt]=null}}}function Dt(t,e){var n=It(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Mt(t)}function Bt(t,e,n,i){n.forEach((function(n){t(e,n,i)}))}function Rt(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var i,a,s,u=t||r.event;for(i in t={},u)"layerX"!==i&&"layerY"!==i&&"keyLocation"!==i&&"webkitMovementX"!==i&&"webkitMovementY"!==i&&("returnValue"===i&&u.preventDefault||(t[i]=u[i]));t.target||(t.target=t.srcElement||o),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){u.preventDefault&&u.preventDefault(),t.returnValue=!1,u.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){u.stopPropagation&&u.stopPropagation(),t.cancelBubble=!0,u.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){u.stopImmediatePropagation&&u.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX&&(a=o.documentElement,s=o.body,t.pageX=t.clientX+(a&&a.scrollLeft||s&&s.scrollLeft||0)-(a&&a.clientLeft||s&&s.clientLeft||0),t.pageY=t.clientY+(a&&a.scrollTop||s&&s.scrollTop||0)-(a&&a.clientTop||s&&s.clientTop||0)),t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}var Nt=!1;!function(){try{var t=Object.defineProperty({},"passive",{get:function(){Nt=!0}});r.addEventListener("test",null,t),r.removeEventListener("test",null,t)}catch(t){}}();var Ft=["touchstart","touchmove"];function Ut(t,e,n){if(Array.isArray(e))return Bt(Ut,t,e,n);var i=It(t);i.handlers||(i.handlers={}),i.handlers[e]||(i.handlers[e]=[]),n.guid||(n.guid=At++),i.handlers[e].push(n),i.dispatcher||(i.disabled=!1,i.dispatcher=function(e,n){if(!i.disabled){e=Rt(e);var r=i.handlers[e.type];if(r)for(var o=r.slice(0),a=0,s=o.length;a<s&&!e.isImmediatePropagationStopped();a++)try{o[a].call(t,e,n)}catch(e){G.error(e)}}}),1===i.handlers[e].length&&(t.addEventListener?(n=!1,Nt&&-1<Ft.indexOf(e)&&(n={passive:!0}),t.addEventListener(e,i.dispatcher,n)):t.attachEvent&&t.attachEvent("on"+e,i.dispatcher))}function $t(t,e,n){if(Lt(t)){var i=It(t);if(i.handlers){if(Array.isArray(e))return Bt($t,t,e,n);function r(t,e){i.handlers[e]=[],Dt(t,e)}if(void 0!==e){var o=i.handlers[e];if(o)if(n){if(n.guid)for(var a=0;a<o.length;a++)o[a].guid===n.guid&&o.splice(a--,1);Dt(t,e)}else r(t,e)}else for(var s in i.handlers)Object.prototype.hasOwnProperty.call(i.handlers||{},s)&&r(t,s)}}}function Vt(t,e,n){var i=Lt(t)?It(t):{},r=t.parentNode||t.ownerDocument;return"string"==typeof e?e={type:e,target:t}:e.target||(e.target=t),e=Rt(e),i.dispatcher&&i.dispatcher.call(t,e,n),r&&!e.isPropagationStopped()&&!0===e.bubbles?Vt.call(null,r,e,n):r||e.defaultPrevented||(r=It(e.target),e.target[e.type]&&(r.disabled=!0,"function"==typeof e.target[e.type]&&e.target[e.type](),r.disabled=!1)),!e.defaultPrevented}function Ht(t,e,n){if(Array.isArray(e))return Bt(Ht,t,e,n);function i(){$t(t,e,i),n.apply(this,arguments)}i.guid=n.guid=n.guid||At++,Ut(t,e,i)}var zt=(Object.freeze||Object)({fixEvent:Rt,on:Ut,off:$t,trigger:Vt,one:Ht}),Wt=!1,qt=void 0,Gt=function(){if(Z()&&!1!==qt.options.autoSetup){var t=o.getElementsByTagName("video"),e=o.getElementsByTagName("audio"),n=o.getElementsByTagName("video-js"),i=[];if(t&&0<t.length)for(var r=0,a=t.length;r<a;r++)i.push(t[r]);if(e&&0<e.length)for(var s=0,u=e.length;s<u;s++)i.push(e[s]);if(n&&0<n.length)for(var c=0,l=n.length;c<l;c++)i.push(n[c]);if(i&&0<i.length)for(var h=0,d=i.length;h<d;h++){var f=i[h];if(!f||!f.getAttribute){Xt(1);break}void 0===f.player&&null!==f.getAttribute("data-setup")&&qt(f)}else Wt||Xt(1)}};function Xt(t,e){e&&(qt=e),r.setTimeout(Gt,t)}function Yt(t){var e=o.createElement("style");return e.className=t,e}function Kt(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e}function Qt(){}Z()&&"complete"===o.readyState?Wt=!0:Ht(r,"load",(function(){Wt=!0}));var Jt=function(t,e,n){function i(){return e.apply(t,arguments)}return e.guid||(e.guid=At++),i.guid=n?n+"_"+e.guid:e.guid,i},Zt=function(t,e){var n=Date.now();return function(){var i=Date.now();e<=i-n&&(t.apply(void 0,arguments),n=i)}},te=function(t,e,n){function i(){var i=this,r=arguments,s=function(){s=a=null,n||t.apply(i,r)};!a&&n&&t.apply(i,r),o.clearTimeout(a),a=o.setTimeout(s,e)}var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:r,a=void 0;return i.cancel=function(){o.clearTimeout(a),a=null},i};function ee(t){return"string"==typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length}function ne(t){if(!t.nodeName&&!se(t))throw new Error("Invalid target; must be a DOM node or evented object.")}function ie(t){if(!ee(t))throw new Error("Invalid event type; must be a non-empty string or array.")}function re(t){if("function"!=typeof t)throw new Error("Invalid listener; must be a function.")}function oe(t,e){var n=e.length<3||e[0]===t||e[0]===t.eventBusEl_,i=void 0,r=void 0,o=void 0;o=n?(i=t.eventBusEl_,3<=e.length&&e.shift(),r=e[0],e[1]):(i=e[0],r=e[1],e[2]);return ne(i),ie(r),re(o),{isTargetingSelf:n,target:i,type:r,listener:o=Jt(t,o)}}function ae(t,e,n,i){ne(t),t.nodeName?zt[e](t,n,i):t[e](n,i)}Qt.prototype.allowedEvents_={},Qt.prototype.addEventListener=Qt.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Ut(this,t,e),this.addEventListener=n},Qt.prototype.removeEventListener=Qt.prototype.off=function(t,e){$t(this,t,e)},Qt.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Ht(this,t,e),this.addEventListener=n},Qt.prototype.dispatchEvent=Qt.prototype.trigger=function(t){var e=t.type||t;t=Rt(t="string"==typeof t?{type:e}:t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),Vt(this,t)};var se=function(t){return t instanceof Qt||!!t.eventBusEl_&&["on","one","off","trigger"].every((function(e){return"function"==typeof t[e]}))},ue={on:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r,o=oe(this,n),a=o.isTargetingSelf,s=o.target,u=o.type,c=o.listener;ae(s,"on",u,c),a||((r=function(){return t.off(s,u,c)}).guid=c.guid,(a=function(){return t.off("dispose",r)}).guid=c.guid,ae(this,"on","dispose",r),ae(s,"on","dispose",a))},one:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=oe(this,n),o=r.isTargetingSelf,a=r.target,s=r.type,u=r.listener;o?ae(a,"one",s,u):((o=function e(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];t.off(a,s,e),u.apply(null,i)}).guid=u.guid,ae(a,"one",s,o))},off:function(t,e,n){!t||ee(t)?$t(this.eventBusEl_,t,e):(e=e,ne(t=t),ie(e),re(n),n=Jt(this,n),this.off("dispose",n),t.nodeName?($t(t,e,n),$t(t,"dispose",n)):se(t)&&(t.off(e,n),t.off("dispose",n)))},trigger:function(t,e){return Vt(this.eventBusEl_,t,e)}};function ce(t,e){var n=(1<arguments.length&&void 0!==e?e:{}).eventBusKey;if(n){if(!t[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');t.eventBusEl_=t[n]}else t.eventBusEl_=it("span",{className:"vjs-event-bus"});return V(t,ue),t.on("dispose",(function(){t.off(),r.setTimeout((function(){t.eventBusEl_=null}),0)})),t}var le={state:{},setState:function(t){var e=this;"function"==typeof t&&(t=t());var n=void 0;return $(t,(function(t,i){e.state[i]!==t&&((n=n||{})[i]={from:e.state[i],to:t}),e.state[i]=t})),n&&se(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function he(t,e){return V(t,le),t.state=V({},t.state,e),"function"==typeof t.handleStateChanged&&se(t)&&t.on("statechanged",t.handleStateChanged),t}function de(t){return"string"!=typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function fe(){for(var t={},e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return n.forEach((function(e){e&&$(e,(function(e,n){z(e)?(z(t[n])||(t[n]={}),t[n]=fe(t[n],e)):t[n]=e}))})),t}var pe=(ge.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;0<=t;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Mt(this.el_),this.el_=null),this.player_=null},ge.prototype.player=function(){return this.player_},ge.prototype.options=function(t){return G.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t&&(this.options_=fe(this.options_,t)),this.options_},ge.prototype.el=function(){return this.el_},ge.prototype.createEl=function(t,e,n){return it(t,e,n)},ge.prototype.localize=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:t,i=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),o=r&&r[i];i=i&&i.split("-")[0],i=r&&r[i],n=n;return o&&o[t]?n=o[t]:i&&i[t]&&(n=i[t]),e?n.replace(/\{(\d+)\}/g,(function(t,n){return n=e[n-1],void 0===n?t:n})):n},ge.prototype.contentEl=function(){return this.contentEl_||this.el_},ge.prototype.id=function(){return this.id_},ge.prototype.name=function(){return this.name_},ge.prototype.children=function(){return this.children_},ge.prototype.getChildById=function(t){return this.childIndex_[t]},ge.prototype.getChild=function(t){if(t)return t=de(t),this.childNameIndex_[t]},ge.prototype.addChild=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,r=void 0;if("string"==typeof t){r=de(t);var o=e.componentClass||r;e.name=r;var a=ge.getComponent(o);if(!a)throw new Error("Component "+o+" does not exist");if("function"!=typeof a)return null;i=new a(this.player_||this,e)}else i=t;return this.children_.splice(n,0,i),"function"==typeof i.id&&(this.childIndex_[i.id()]=i),(r=r||i.name&&de(i.name()))&&(this.childNameIndex_[r]=i),"function"==typeof i.el&&i.el()&&(n=this.contentEl().children[n]||null,this.contentEl().insertBefore(i.el(),n)),i},ge.prototype.removeChild=function(t){if((t="string"==typeof t?this.getChild(t):t)&&this.children_){for(var e,n=!1,i=this.children_.length-1;0<=i;i--)if(this.children_[i]===t){n=!0,this.children_.splice(i,1);break}n&&(this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null,(e=t.el())&&e.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el()))}},ge.prototype.initChildren=function(){var t,e,n,i=this,r=this.options_.children;r&&(t=this.options_,n=void 0,e=ge.getComponent("Tech"),(n=Array.isArray(r)?r:Object.keys(r)).concat(Object.keys(this.options_).filter((function(t){return!n.some((function(e){return"string"==typeof e?t===e:t===e.name}))}))).map((function(t){var e=void 0,n=void 0;n="string"==typeof t?r[e=t]||i.options_[e]||{}:(e=t.name,t);return{name:e,opts:n}})).filter((function(t){return t=ge.getComponent(t.opts.componentClass||de(t.name)),t&&!e.isTech(t)})).forEach((function(e){var n=e.name;e=e.opts;!1!==(e=void 0!==t[n]?t[n]:e)&&((e=!0===e?{}:e).playerOptions=i.options_.playerOptions,(e=i.addChild(n,e))&&(i[n]=e))})))},ge.prototype.buildCSSClass=function(){return""},ge.prototype.ready=function(t){if(t)return this.isReady_?void(1<arguments.length&&void 0!==arguments[1]&&arguments[1]?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},ge.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var t=this.readyQueue_;this.readyQueue_=[],t&&0<t.length&&t.forEach((function(t){t.call(this)}),this),this.trigger("ready")}),1)},ge.prototype.$=function(t,e){return Et(t,e||this.contentEl())},ge.prototype.$$=function(t,e){return xt(t,e||this.contentEl())},ge.prototype.hasClass=function(t){return at(this.el_,t)},ge.prototype.addClass=function(t){st(this.el_,t)},ge.prototype.removeClass=function(t){ut(this.el_,t)},ge.prototype.toggleClass=function(t,e){ct(this.el_,t,e)},ge.prototype.show=function(){this.removeClass("vjs-hidden")},ge.prototype.hide=function(){this.addClass("vjs-hidden")},ge.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},ge.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},ge.prototype.getAttribute=function(t){return dt(this.el_,t)},ge.prototype.setAttribute=function(t,e){ft(this.el_,t,e)},ge.prototype.removeAttribute=function(t){pt(this.el_,t)},ge.prototype.width=function(t,e){return this.dimension("width",t,e)},ge.prototype.height=function(t,e){return this.dimension("height",t,e)},ge.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},ge.prototype.dimension=function(t,e,n){return void 0!==e?(-1!==(""+(e=null===e||e!=e?0:e)).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(n||this.trigger("componentresize"))):this.el_?(e=this.el_.style[t],n=e.indexOf("px"),-1!==n?parseInt(e.slice(0,n),10):parseInt(this.el_["offset"+de(t)],10)):0},ge.prototype.currentDimension=function(t){var e,n=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");return"function"==typeof r.getComputedStyle&&(n=(e=r.getComputedStyle(this.el_)).getPropertyValue(t)||e[t]),0===(n=parseFloat(n))&&(t="offset"+de(t),n=this.el_[t]),n},ge.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},ge.prototype.currentWidth=function(){return this.currentDimension("width")},ge.prototype.currentHeight=function(){return this.currentDimension("height")},ge.prototype.focus=function(){this.el_.focus()},ge.prototype.blur=function(){this.el_.blur()},ge.prototype.emitTapEvents=function(){var t=0,e=null,n=void 0;function i(){n=!1}this.on("touchstart",(function(i){1===i.touches.length&&(e={pageX:i.touches[0].pageX,pageY:i.touches[0].pageY},t=(new Date).getTime(),n=!0)})),this.on("touchmove",(function(t){var i;1<t.touches.length?n=!1:e&&(i=t.touches[0].pageX-e.pageX,t=t.touches[0].pageY-e.pageY,10<Math.sqrt(i*i+t*t)&&(n=!1))})),this.on("touchleave",i),this.on("touchcancel",i),this.on("touchend",(function(i){!(e=null)===n&&(new Date).getTime()-t<200&&(i.preventDefault(),this.trigger("tap"))}))},ge.prototype.enableTouchActivity=function(){var t,e,n;this.player()&&this.player().reportUserActivity&&(t=Jt(this.player(),this.player().reportUserActivity),e=void 0,this.on("touchstart",(function(){t(),this.clearInterval(e),e=this.setInterval(t,250)})),n=function(n){t(),this.clearInterval(e)},this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n))},ge.prototype.setTimeout=function(t,e){var n,i,o=this;return t=Jt(this,t),n=r.setTimeout((function(){o.off("dispose",i),t()}),e),(i=function(){return o.clearTimeout(n)}).guid="vjs-timeout-"+n,this.on("dispose",i),n},ge.prototype.clearTimeout=function(t){function e(){}return r.clearTimeout(t),e.guid="vjs-timeout-"+t,this.off("dispose",e),t},ge.prototype.setInterval=function(t,e){var n=this;t=Jt(this,t);var i=r.setInterval(t,e);e=function(){return n.clearInterval(i)};return e.guid="vjs-interval-"+i,this.on("dispose",e),i},ge.prototype.clearInterval=function(t){function e(){}return r.clearInterval(t),e.guid="vjs-interval-"+t,this.off("dispose",e),t},ge.prototype.requestAnimationFrame=function(t){var e,n,i=this;return this.supportsRaf_?(t=Jt(this,t),e=r.requestAnimationFrame((function(){i.off("dispose",n),t()})),(n=function(){return i.cancelAnimationFrame(e)}).guid="vjs-raf-"+e,this.on("dispose",n),e):this.setTimeout(t,1e3/60)},ge.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){function e(){}return r.cancelAnimationFrame(t),e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},ge.registerComponent=function(t,e){if("string"!=typeof t||!t)throw new Error('Illegal component name, "'+t+'"; must be a non-empty string.');var n=ge.getComponent("Tech"),i=n&&n.isTech(e);n=ge===e||ge.prototype.isPrototypeOf(e.prototype);if(i||!n){var r=void 0;r=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass";throw new Error('Illegal component, "'+t+'"; '+r+".")}if(t=de(t),ge.components_||(ge.components_={}),r=ge.getComponent("Player"),"Player"===t&&r&&r.players){var o=r.players;r=Object.keys(o);if(o&&0<r.length&&r.map((function(t){return o[t]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return ge.components_[t]=e},ge.getComponent=function(t){if(t)return t=de(t),ge.components_&&ge.components_[t]?ge.components_[t]:void 0},ge);function ge(t,e,n){D(this,ge),!t&&this.play?this.player_=t=this:this.player_=t,this.options_=fe({},this.options_),e=this.options_=fe(this.options_,e),this.id_=e.id||e.el&&e.el.id,this.id_||(t=t&&t.id&&t.id()||"no_player",this.id_=t+"_component_"+At++),this.name_=e.name||null,e.el?this.el_=e.el:!1!==e.createEl&&(this.el_=this.createEl()),!1!==e.evented&&ce(this,{eventBusKey:this.el_?"el_":null}),he(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},!(this.childNameIndex_={})!==e.initChildren&&this.initChildren(),this.ready(n),!1!==e.reportTouchActivity&&this.enableTouchActivity()}function me(t,e,n,i){return function(t,e,n){if("number"!=typeof e||e<0||n<e)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}(t,i,n.length-1),n[i][e]}function ve(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:me.bind(null,"start",0,t),end:me.bind(null,"end",1,t)}}function ye(t,e){return Array.isArray(t)?ve(t):void 0===t||void 0===e?ve():ve([[t,e]])}function be(t,e){var n,i=0,r=void 0;if(!e)return 0;t&&t.length||(t=ye(0,0));for(var o=0;o<t.length;o++)n=t.start(o),i+=(r=e<(r=t.end(o))?e:r)-n;return i/e}pe.prototype.supportsRaf_="function"==typeof r.requestAnimationFrame&&"function"==typeof r.cancelAnimationFrame,pe.registerComponent("Component",pe);for(var _e={},Te=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Se=Te[0],we=void 0,ke=0;ke<Te.length;ke++)if(Te[ke][1]in o){we=Te[ke];break}if(we)for(var Ce=0;Ce<we.length;Ce++)_e[Se[Ce]]=we[Ce];function Ee(t){if(t instanceof Ee)return t;"number"==typeof t?this.code=t:"string"==typeof t?this.message=t:H(t)&&("number"==typeof t.code&&(this.code=t.code),V(this,t)),this.message||(this.message=Ee.defaultMessages[this.code]||"")}Ee.prototype.code=0,Ee.prototype.message="",Ee.prototype.status=null,Ee.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Ee.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var xe=0;xe<Ee.errorTypes.length;xe++)Ee[Ee.errorTypes[xe]]=xe,Ee.prototype[Ee.errorTypes[xe]]=xe;function Oe(t){return null!=t&&"function"==typeof t.then}function Ae(t){Oe(t)&&t.then(null,(function(t){}))}function Pe(t){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce((function(e,n,i){return t[n]&&(e[n]=t[n]),e}),{cues:t.cues&&Array.prototype.map.call(t.cues,(function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}}))})}var je,Ie=function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,(function(t){return t.track}));return Array.prototype.map.call(e,(function(t){var e=Pe(t.track);return t.src&&(e.src=t.src),e})).concat(Array.prototype.filter.call(t.textTracks(),(function(t){return-1===n.indexOf(t)})).map(Pe))},Le=function(t,e){return t.forEach((function(t){var n=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach((function(t){return n.addCue(t)}))})),e.textTracks()},Me="vjs-modal-dialog",De=(B(Be,je=pe),Be.prototype.createEl=function(){return je.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},Be.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,je.prototype.dispose.call(this)},Be.prototype.buildCSSClass=function(){return Me+" vjs-hidden "+je.prototype.buildCSSClass.call(this)},Be.prototype.handleKeyPress=function(t){27===t.which&&this.closeable()&&this.close()},Be.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},Be.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},Be.prototype.open=function(){var t;this.opened_||(t=this.player(),this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",Jt(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0)},Be.prototype.opened=function(t){return"boolean"==typeof t&&this[t?"open":"close"](),this.opened_},Be.prototype.close=function(){var t;this.opened_&&(t=this.player(),this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",Jt(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose())},Be.prototype.closeable=function(t){var e,n;return"boolean"==typeof t&&(e=this.closeable_=!!t,n=this.getChild("closeButton"),e&&!n&&(t=this.contentEl_,this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=t,this.on(n,"close",this.close)),!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())),this.closeable_},Be.prototype.fill=function(){this.fillWith(this.content())},Be.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,i=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),kt(e,t),this.trigger("modalfill"),i?n.insertBefore(e,i):n.appendChild(e),e=this.getChild("closeButton"),e&&n.appendChild(e.el_)},Be.prototype.empty=function(){this.trigger("beforemodalempty"),Tt(this.contentEl()),this.trigger("modalempty")},Be.prototype.content=function(t){return void 0!==t&&(this.content_=t),this.content_},Be.prototype.conditionalFocus_=function(){var t=o.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,!e.contains(t)&&e!==t||(this.previouslyActiveEl_=t,this.focus(),this.on(o,"keydown",this.handleKeyDown))},Be.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(o,"keydown",this.handleKeyDown)},Be.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),n=this.el_.querySelector(":focus"),i=void 0,r=0;r<e.length;r++)if(n===e[r]){i=r;break}o.activeElement===this.el_&&(i=0),t.shiftKey&&0===i?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||i!==e.length-1||(e[0].focus(),t.preventDefault())}},Be.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,(function(t){return(t instanceof r.HTMLAnchorElement||t instanceof r.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof r.HTMLInputElement||t instanceof r.HTMLSelectElement||t instanceof r.HTMLTextAreaElement||t instanceof r.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof r.HTMLIFrameElement||t instanceof r.HTMLObjectElement||t instanceof r.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")}))},Be);function Be(t,e){return D(this,Be),e=R(this,je.call(this,t,e)),e.opened_=e.hasBeenOpened_=e.hasBeenFilled_=!1,e.closeable(!e.options_.uncloseable),e.content(e.options_.content),e.contentEl_=it("div",{className:Me+"-content"},{role:"document"}),e.descEl_=it("p",{className:Me+"-description vjs-control-text",id:e.el().getAttribute("aria-describedby")}),rt(e.descEl_,e.description()),e.el_.appendChild(e.descEl_),e.el_.appendChild(e.contentEl_),e}De.prototype.options_={pauseOnOpen:!0,temporary:!0},pe.registerComponent("ModalDialog",De);var Re,Ne,Fe=(B(Ue,Re=Qt),Ue.prototype.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},Ue.prototype.removeTrack=function(t){for(var e=void 0,n=0,i=this.length;n<i;n++)if(this[n]===t){(e=this[n]).off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},Ue.prototype.getTrackById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},Ue);function Ue(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;D(this,Ue);var n=R(this,Re.call(this));if(!e&&(e=n,x))for(var i in e=o.createElement("custom"),Ue.prototype)"constructor"!==i&&(e[i]=Ue.prototype[i]);e.tracks_=[],Object.defineProperty(e,"length",{get:function(){return this.tracks_.length}});for(var r=0;r<t.length;r++)e.addTrack(t[r]);return R(n,e)}for(Ne in Fe.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},Fe.prototype.allowedEvents_)Fe.prototype["on"+Ne]=null;var $e,Ve=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].enabled=!1)},He=(B(ze,$e=Fe),ze.prototype.addTrack=function(t){var e=this;t.enabled&&Ve(this,t),$e.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",(function(){e.changing_||(e.changing_=!0,Ve(e,t),e.changing_=!1,e.trigger("change"))}))},ze);function ze(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];D(this,ze);for(var n=void 0,i=e.length-1;0<=i;i--)if(e[i].enabled){Ve(e,e[i]);break}if(x){for(var r in n=o.createElement("custom"),Fe.prototype)"constructor"!==r&&(n[r]=Fe.prototype[r]);for(var a in ze.prototype)"constructor"!==a&&(n[a]=ze.prototype[a])}return(n=t=R(this,$e.call(this,e,n))).changing_=!1,R(t,n)}var We,qe=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].selected=!1)},Ge=(B(Xe,We=Fe),Xe.prototype.addTrack=function(t){var e=this;t.selected&&qe(this,t),We.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("selectedchange",(function(){e.changing_||(e.changing_=!0,qe(e,t),e.changing_=!1,e.trigger("change"))}))},Xe);function Xe(){var t,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];D(this,Xe);for(var n=void 0,i=e.length-1;0<=i;i--)if(e[i].selected){qe(e,e[i]);break}if(x){for(var r in n=o.createElement("custom"),Fe.prototype)"constructor"!==r&&(n[r]=Fe.prototype[r]);for(var a in Xe.prototype)"constructor"!==a&&(n[a]=Xe.prototype[a])}return(n=t=R(this,We.call(this,e,n))).changing_=!1,Object.defineProperty(n,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),R(t,n)}var Ye,Ke=(B(Qe,Ye=Fe),Qe.prototype.addTrack=function(t){Ye.prototype.addTrack.call(this,t),t.addEventListener("modechange",Jt(this,(function(){this.trigger("change")}))),-1===["metadata","chapters"].indexOf(t.kind)&&t.addEventListener("modechange",Jt(this,(function(){this.trigger("selectedlanguagechange")})))},Qe);function Qe(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];D(this,Qe);var e=void 0;if(x){for(var n in e=o.createElement("custom"),Fe.prototype)"constructor"!==n&&(e[n]=Fe.prototype[n]);for(var i in Qe.prototype)"constructor"!==i&&(e[i]=Qe.prototype[i])}return t=R(this,Ye.call(this,t,e)),R(e=t,e)}function Je(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];D(this,Je);var e=this;if(x)for(var n in e=o.createElement("custom"),Je.prototype)"constructor"!==n&&(e[n]=Je.prototype[n]);e.trackElements_=[],Object.defineProperty(e,"length",{get:function(){return this.trackElements_.length}});for(var i=0,r=t.length;i<r;i++)e.addTrackElement_(t[i]);if(x)return e}Je.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},Je.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,i=this.trackElements_.length;n<i;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},Je.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},n=Je;var Ze=(tn.prototype.setCues_=function(t){var e=this.length||0,n=0,i=t.length;function r(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})}if(this.cues_=t,this.length_=t.length,e<i)for(n=e;n<i;n++)r.call(this,n)},tn.prototype.getCueById=function(t){for(var e=null,n=0,i=this.length;n<i;n++){var r=this[n];if(r.id===t){e=r;break}}return e},tn);function tn(t){D(this,tn);var e=this;if(x)for(var n in e=o.createElement("custom"),tn.prototype)"constructor"!==n&&(e[n]=tn.prototype[n]);if(tn.prototype.setCues_.call(e,t),Object.defineProperty(e,"length",{get:function(){return this.length_}}),x)return e}var en,nn={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},rn={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},on={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},an={disabled:"disabled",hidden:"hidden",showing:"showing"};B(sn,en=Qt),d=sn;function sn(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};D(this,sn);var e=R(this,en.call(this)),n=e;if(x)for(var i in n=o.createElement("custom"),sn.prototype)"constructor"!==i&&(n[i]=sn.prototype[i]);var r,a={id:t.id||"vjs_track_"+At++,kind:t.kind||"",label:t.label||"",language:t.language||""};for(r in a)!function(t){Object.defineProperty(n,t,{get:function(){return a[t]},set:function(){}})}(r);return R(e,n)}function un(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=o.createElement("a");n.href=t;var i=""===n.host&&"file:"!==n.protocol,a=void 0;i&&((a=o.createElement("div")).innerHTML='<a href="'+t+'"></a>',n=a.firstChild,a.setAttribute("style","display:none; position:absolute;"),o.body.appendChild(a));for(var s={},u=0;u<e.length;u++)s[e[u]]=n[e[u]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),s.protocol||(s.protocol=r.location.protocol),i&&o.body.removeChild(a),s}function cn(t){var e;return t.match(/^https?:\/\//)||((e=o.createElement("div")).innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href),t}function ln(t){return"string"==typeof t&&(t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(t),t)?t.pop().toLowerCase():""}function hn(t,e){var n=new r.WebVTT.Parser(r,r.vttjs,r.WebVTT.StringDecoder()),i=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){i.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),0<i.length&&(r.console&&r.console.groupCollapsed&&r.console.groupCollapsed("Text Track parsing errors for "+e.src),i.forEach((function(t){return G.error(t)})),r.console&&r.console.groupEnd&&r.console.groupEnd()),n.flush()}var dn,fn=function(t){var e=r.location;t=un(t);return(":"===t.protocol?e:t).protocol+t.host!==e.protocol+e.host},pn=(Object.freeze||Object)({parseUrl:un,getAbsoluteURL:cn,getFileExtension:ln,isCrossOrigin:fn}),gn=function(t,e){var n={uri:t};t=fn(t);t&&(n.cors=t),u(n,Jt(this,(function(t,n,i){return t?G.error(t,n):(e.loaded_=!0,void("function"!=typeof r.WebVTT?e.tech_&&(e.tech_.on("vttjsloaded",o=function(){return hn(i,e)}),e.tech_.on("vttjserror",(function(){G.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",o)}))):hn(i,e)));var o})))},mn=(B(vn,dn=d),vn.prototype.addCue=function(t){var e=t;if(r.vttjs&&!(t instanceof r.vttjs.VTTCue)){for(var n in e=new r.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)n in e||(e[n]=t[n]);e.id=t.id,e.originalCue_=t}for(var i=this.tech_.textTracks(),o=0;o<i.length;o++)i[o]!==this&&i[o].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},vn.prototype.removeCue=function(t){for(var e=this.cues_.length;e--;){var n=this.cues_[e];if(n===t||n.originalCue_&&n.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},vn);function vn(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(D(this,vn),!t.tech)throw new Error("A tech was not provided.");var e=fe(t,{kind:on[t.kind]||"subtitles",language:t.language||t.srclang||""}),n=an[e.mode]||"disabled",i=e.default;"metadata"!==e.kind&&"chapters"!==e.kind||(n="hidden");var r=t=R(this,dn.call(this,e));if(r.tech_=e.tech,x)for(var o in vn.prototype)"constructor"!==o&&(r[o]=vn.prototype[o]);r.cues_=[],r.activeCues_=[];var a=new Ze(r.cues_),s=new Ze(r.activeCues_),u=!1,c=Jt(r,(function(){this.activeCues=this.activeCues,u&&(this.trigger("cuechange"),u=!1)}));return"disabled"!==n&&r.tech_.ready((function(){r.tech_.on("timeupdate",c)}),!0),Object.defineProperty(r,"default",{get:function(){return i},set:function(){}}),Object.defineProperty(r,"mode",{get:function(){return n},set:function(t){var e=this;an[t]&&("disabled"!==(n=t)?this.tech_.ready((function(){e.tech_.on("timeupdate",c)}),!0):this.tech_.off("timeupdate",c),this.trigger("modechange"))}}),Object.defineProperty(r,"cues",{get:function(){return this.loaded_?a:null},set:function(){}}),Object.defineProperty(r,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return s;for(var t=this.tech_.currentTime(),e=[],n=0,i=this.cues.length;n<i;n++){var r=this.cues[n];(r.startTime<=t&&r.endTime>=t||r.startTime===r.endTime&&r.startTime<=t&&r.startTime+.5>=t)&&e.push(r)}if(u=!1,e.length!==this.activeCues_.length)u=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(u=!0);return this.activeCues_=e,s.setCues_(this.activeCues_),s},set:function(){}}),e.src?(r.src=e.src,gn(e.src,r)):r.loaded_=!0,R(t,r)}mn.prototype.allowedEvents_={cuechange:"cuechange"};var yn;B(bn,yn=d),f=bn;function bn(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};D(this,bn);var e=fe(t,{kind:rn[t.kind]||""}),n=t=R(this,yn.call(this,e)),i=!1;if(x)for(var r in bn.prototype)"constructor"!==r&&(n[r]=bn.prototype[r]);return Object.defineProperty(n,"enabled",{get:function(){return i},set:function(t){"boolean"==typeof t&&t!==i&&(i=t,this.trigger("enabledchange"))}}),e.enabled&&(n.enabled=e.enabled),n.loaded_=!0,R(t,n)}var _n,Tn=(B(Sn,_n=d),Sn);function Sn(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};D(this,Sn);var e=fe(t,{kind:nn[t.kind]||""}),n=t=R(this,_n.call(this,e)),i=!1;if(x)for(var r in Sn.prototype)"constructor"!==r&&(n[r]=Sn.prototype[r]);return Object.defineProperty(n,"selected",{get:function(){return i},set:function(t){"boolean"==typeof t&&t!==i&&(i=t,this.trigger("selectedchange"))}}),e.selected&&(n.selected=e.selected),R(t,n)}var wn,kn=0,Cn=2,En=(B(xn,wn=Qt),xn);function xn(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};D(this,xn);var e=R(this,wn.call(this)),n=void 0,i=e;if(x)for(var r in i=o.createElement("custom"),xn.prototype)"constructor"!==r&&(i[r]=xn.prototype[r]);var a=new mn(t);return i.kind=a.kind,i.src=a.src,i.srclang=a.language,i.label=a.label,i.default=a.default,Object.defineProperty(i,"readyState",{get:function(){return n}}),Object.defineProperty(i,"track",{get:function(){return a}}),n=kn,a.addEventListener("loadeddata",(function(){n=Cn,i.trigger({type:"load",target:i})})),x?R(e,i):e}En.prototype.allowedEvents_={load:"load"},En.NONE=kn,En.LOADING=1,En.LOADED=Cn,En.ERROR=3;var On={audio:{ListClass:He,TrackClass:f,capitalName:"Audio"},video:{ListClass:Ge,TrackClass:Tn,capitalName:"Video"},text:{ListClass:Ke,TrackClass:mn,capitalName:"Text"}};Object.keys(On).forEach((function(t){On[t].getterName=t+"Tracks",On[t].privateName=t+"Tracks_"}));var An={remoteText:{ListClass:Ke,TrackClass:mn,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:n,TrackClass:En,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},Pn=fe(On,An);An.names=Object.keys(An),On.names=Object.keys(On),Pn.names=[].concat(An.names).concat(On.names);var jn,In=(B(Ln,jn=pe),Ln.prototype.triggerSourceset=function(t){var e=this;this.isReady_||this.one("ready",(function(){return e.setTimeout((function(){return e.triggerSourceset(t)}),1)})),this.trigger({src:t,type:"sourceset"})},Ln.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},Ln.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},Ln.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(Jt(this,(function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),1===(this.bufferedPercent_=t)&&this.stopTrackingProgress()})),500)},Ln.prototype.onDurationChange=function(t){this.duration_=this.duration()},Ln.prototype.buffered=function(){return ye(0,0)},Ln.prototype.bufferedPercent=function(){return be(this.buffered(),this.duration_)},Ln.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},Ln.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},Ln.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},Ln.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},Ln.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},Ln.prototype.dispose=function(){this.clearTracks(On.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),jn.prototype.dispose.call(this)},Ln.prototype.clearTracks=function(t){var e=this;(t=[].concat(t)).forEach((function(t){for(var n=e[t+"Tracks"]()||[],i=n.length;i--;){var r=n[i];"text"===t&&e.removeRemoteTextTrack(r),n.removeTrack(r)}}))},Ln.prototype.cleanupAutoTextTracks=function(){for(var t=this.autoRemoteTextTracks_||[],e=t.length;e--;){var n=t[e];this.removeRemoteTextTrack(n)}},Ln.prototype.reset=function(){},Ln.prototype.error=function(t){return void 0!==t&&(this.error_=new Ee(t),this.trigger("error")),this.error_},Ln.prototype.played=function(){return this.hasStarted_?ye(0,0):ye()},Ln.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},Ln.prototype.initTrackListeners=function(){var t=this;On.names.forEach((function(e){function n(){t.trigger(e+"trackchange")}var i=On[e],r=t[i.getterName]();r.addEventListener("removetrack",n),r.addEventListener("addtrack",n),t.on("dispose",(function(){r.removeEventListener("removetrack",n),r.removeEventListener("addtrack",n)}))}))},Ln.prototype.addWebVttScript_=function(){var t,e=this;r.WebVTT||(o.body.contains(this.el())?!this.options_["vtt.js"]&&z(c)&&0<Object.keys(c).length?this.trigger("vttjsloaded"):((t=o.createElement("script")).src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",t.onload=function(){e.trigger("vttjsloaded")},t.onerror=function(){e.trigger("vttjserror")},this.on("dispose",(function(){t.onload=null,t.onerror=null})),r.WebVTT=!0,this.el().parentNode.appendChild(t)):this.ready(this.addWebVttScript_))},Ln.prototype.emulateTextTracks=function(){function t(t){return i.addTrack(t.track)}function e(t){return i.removeTrack(t.track)}var n=this,i=this.textTracks(),r=this.remoteTextTracks();function o(){return n.trigger("texttrackchange")}function a(){o();for(var t=0;t<i.length;t++){var e=i[t];e.removeEventListener("cuechange",o),"showing"===e.mode&&e.addEventListener("cuechange",o)}}r.on("addtrack",t),r.on("removetrack",e),this.addWebVttScript_(),a(),i.addEventListener("change",a),i.addEventListener("addtrack",a),i.addEventListener("removetrack",a),this.on("dispose",(function(){r.off("addtrack",t),r.off("removetrack",e),i.removeEventListener("change",a),i.removeEventListener("addtrack",a),i.removeEventListener("removetrack",a);for(var n=0;n<i.length;n++)i[n].removeEventListener("cuechange",o)}))},Ln.prototype.addTextTrack=function(t,e,n){if(!t)throw new Error("TextTrack kind is required but was not provided");return function(t,e,n,i,r){var o=4<arguments.length&&void 0!==r?r:{},a=t.textTracks();return o.kind=e,n&&(o.label=n),i&&(o.language=i),o.tech=t,o=new Pn.text.TrackClass(o),a.addTrack(o),o}(this,t,e,n)},Ln.prototype.createRemoteTextTrack=function(t){return t=fe(t,{tech:this}),new An.remoteTextEl.TrackClass(t)},Ln.prototype.addRemoteTextTrack=function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],i=this.createRemoteTextTrack(e);return!0!==n&&!1!==n&&(G.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(i),this.remoteTextTracks().addTrack(i.track),!0!==n&&this.ready((function(){return t.autoRemoteTextTracks_.addTrack(i.track)})),i},Ln.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},Ln.prototype.getVideoPlaybackQuality=function(){return{}},Ln.prototype.setPoster=function(){},Ln.prototype.playsinline=function(){},Ln.prototype.setPlaysinline=function(){},Ln.prototype.canPlayType=function(){return""},Ln.canPlayType=function(){return""},Ln.canPlaySource=function(t,e){return Ln.canPlayType(t.type)},Ln.isTech=function(t){return t.prototype instanceof Ln||t instanceof Ln||t===Ln},Ln.registerTech=function(t,e){if(Ln.techs_||(Ln.techs_={}),!Ln.isTech(e))throw new Error("Tech "+t+" must be a Tech");if(!Ln.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!Ln.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=de(t),Ln.techs_[t]=e,"Tech"!==t&&Ln.defaultTechOrder_.push(t),e},Ln.getTech=function(t){if(t)return t=de(t),Ln.techs_&&Ln.techs_[t]?Ln.techs_[t]:r&&r.videojs&&r.videojs[t]?(G.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),r.videojs[t]):void 0},Ln);function Ln(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:function(){};D(this,Ln),t.reportTouchActivity=!1;var n=R(this,jn.call(this,null,t,e));return n.hasStarted_=!1,n.on("playing",(function(){this.hasStarted_=!0})),n.on("loadstart",(function(){this.hasStarted_=!1})),Pn.names.forEach((function(e){e=Pn[e],t&&t[e.getterName]&&(n[e.privateName]=t[e.getterName])})),n.featuresProgressEvents||n.manualProgressOn(),n.featuresTimeupdateEvents||n.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===t["native"+e+"Tracks"]&&(n["featuresNative"+e+"Tracks"]=!1)})),!1===t.nativeCaptions||!1===t.nativeTextTracks?n.featuresNativeTextTracks=!1:!0!==t.nativeCaptions&&!0!==t.nativeTextTracks||(n.featuresNativeTextTracks=!0),n.featuresNativeTextTracks||n.emulateTextTracks(),n.autoRemoteTextTracks_=new Pn.text.ListClass,n.initTrackListeners(),t.nativeControlsForTouch||n.emitTapEvents(),n.constructor&&(n.name_=n.constructor.name||"Unknown Tech"),n}Pn.names.forEach((function(t){var e=Pn[t];In.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}})),In.prototype.featuresVolumeControl=!0,In.prototype.featuresMuteControl=!0,In.prototype.featuresFullscreenResize=!1,In.prototype.featuresPlaybackRate=!1,In.prototype.featuresProgressEvents=!1,In.prototype.featuresSourceset=!1,In.prototype.featuresTimeupdateEvents=!1,In.prototype.featuresNativeTextTracks=!1,In.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var i=(i=t.sourceHandlers)||(t.sourceHandlers=[]);void 0===n&&(n=i.length),i.splice(n,0,e)},t.canPlayType=function(e){for(var n,i=t.sourceHandlers||[],r=0;r<i.length;r++)if(n=i[r].canPlayType(e))return n;return""},t.selectSourceHandler=function(e,n){for(var i=t.sourceHandlers||[],r=0;r<i.length;r++)if(i[r].canHandleSource(e,n))return i[r];return null},t.canPlaySource=function(e,n){var i=t.selectSourceHandler(e,n);return i?i.canHandleSource(e,n):""},["seekable","seeking","duration"].forEach((function(t){var e=this[t];"function"==typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})}),t.prototype),t.prototype.setSource=function(e){var n=t.selectSourceHandler(e,this.options_);n||(t.nativeSourceHandler?n=t.nativeSourceHandler:G.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==t.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=n.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},pe.registerComponent("Tech",In),In.registerTech("Tech",In),In.defaultTechOrder_=[];var Mn={},Dn={},Bn={};function Rn(t,e,n){t.setTimeout((function(){return function t(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:[],i=arguments[2],r=arguments[3],o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:[],a=5<arguments.length&&void 0!==arguments[5]&&arguments[5],s=n[0],u=n.slice(1);if("string"==typeof s)t(e,Mn[s],i,r,o,a);else if(s){var c=Hn(r,s);if(!c.setSource)return o.push(c),t(e,u,i,r,o,a);c.setSource(V({},e),(function(n,s){return n?t(e,u,i,r,o,a):(o.push(c),void t(s,e.type===s.type?u:Mn[s.type],i,r,o,a))}))}else u.length?t(e,u,i,r,o,a):a?i(e,o):t(e,Mn["*"],i,r,o,!0)}(e,Mn[e.type],n,t)}),1)}function Nn(t,e,n,i){var r=3<arguments.length&&void 0!==i?i:null,o="call"+de(n);o=t.reduce(Vn(o),r),r=o===Bn,o=r?null:e[n](o);return function(t,e,n,i){for(var r=t.length-1;0<=r;r--){var o=t[r];o[e]&&o[e](i,n)}}(t,n,o,r),o}var Fn={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},Un={setCurrentTime:1},$n={play:1,pause:1};function Vn(t){return function(e,n){return e===Bn?Bn:n[t]?n[t](e):e}}function Hn(t,e){var n=Dn[t.id()],i=null;if(null==n)return i=e(t),Dn[t.id()]=[[e,i]],i;for(var r=0;r<n.length;r++){var o=n[r],a=o[0];o=o[1];a===e&&(i=o)}return null===i&&(i=e(t),n.push([e,i])),i}function zn(){var t=ln(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"");return qn[t.toLowerCase()]||""}function Wn(t){var e;return Array.isArray(t)?(e=[],t.forEach((function(t){t=Wn(t),Array.isArray(t)?e=e.concat(t):H(t)&&e.push(t)})),e):"string"==typeof t&&t.trim()?[Gn({src:t})]:H(t)&&"string"==typeof t.src&&t.src&&t.src.trim()?[Gn(t)]:[]}var qn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",mp3:"audio/mpeg",aac:"audio/aac",oga:"audio/ogg",m3u8:"application/x-mpegURL"};function Gn(t){var e=zn(t.src);return!t.type&&e&&(t.type=e),t}var Xn;B(Yn,Xn=pe),p=Yn;function Yn(t,e,n){D(this,Yn);var i=fe({createEl:!1},e);n=R(this,Xn.call(this,t,i,n));if(e.playerOptions.sources&&0!==e.playerOptions.sources.length)t.src(e.playerOptions.sources);else for(var r=0,o=e.playerOptions.techOrder;r<o.length;r++){var a=de(o[r]),s=In.getTech(a);if((s=a?s:pe.getComponent(a))&&s.isSupported()){t.loadTech_(a);break}}return n}pe.registerComponent("MediaLoader",p);var Kn;B(Qn,Kn=pe),Qn.prototype.createEl=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"div",e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};e=V({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},e);return"button"===t&&G.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),n=V({role:"button"},n),this.tabIndex_=e.tabIndex,n=Kn.prototype.createEl.call(this,t,e,n),this.createControlTextEl(n),n},Qn.prototype.dispose=function(){this.controlTextEl_=null,Kn.prototype.dispose.call(this)},Qn.prototype.createControlTextEl=function(t){return this.controlTextEl_=it("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},Qn.prototype.controlText=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===t)return this.controlText_||"Need Text";var n=this.localize(t);this.controlText_=t,rt(this.controlTextEl_,n),this.nonIconControl||e.setAttribute("title",n)},Qn.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+Kn.prototype.buildCSSClass.call(this)},Qn.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),void 0!==this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},Qn.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),void 0!==this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},Qn.prototype.handleClick=function(t){},Qn.prototype.handleFocus=function(t){Ut(o,"keydown",Jt(this,this.handleKeyPress))},Qn.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.trigger("click")):Kn.prototype.handleKeyPress&&Kn.prototype.handleKeyPress.call(this,t)},Qn.prototype.handleBlur=function(t){$t(o,"keydown",Jt(this,this.handleKeyPress))},m=Qn;function Qn(t,e){return D(this,Qn),e=R(this,Kn.call(this,t,e)),e.emitTapEvents(),e.enable(),e}pe.registerComponent("ClickableComponent",m);var Jn;B(Zn,Jn=m),Zn.prototype.dispose=function(){this.player().off("posterchange",this.update),Jn.prototype.dispose.call(this)},Zn.prototype.createEl=function(){var t=it("div",{className:"vjs-poster",tabIndex:-1});return I||(this.fallbackImg_=it("img"),t.appendChild(this.fallbackImg_)),t},Zn.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},Zn.prototype.setSrc=function(t){this.fallbackImg_?this.fallbackImg_.src=t:this.el_.style.backgroundImage=t?'url("'+t+'")':""},Zn.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?Ae(this.player_.play()):this.player_.pause())},y=Zn;function Zn(t,e){return D(this,Zn),e=R(this,Jn.call(this,t,e)),e.update(),t.on("posterchange",Jt(e,e.update)),e}pe.registerComponent("PosterImage",y);var ti={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function ei(t,e){var n=void 0;if(4===t.length)n=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else{if(7!==t.length)throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");n=t.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+e+")"}function ni(t,e,n){try{t.style[e]=n}catch(t){return}}var ii;B(ri,ii=pe),ri.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,i=void 0,r=void 0,o=void 0,a=0;a<e.length;a++){var s=e[a];n&&n.enabled&&n.language===s.language?o=s.kind!==n.kind&&o||s:n&&!n.enabled?r=i=o=null:s.default&&("descriptions"!==s.kind||i?s.kind in t&&!r&&(r=s):i=s)}o?o.mode="showing":r?r.mode="showing":i&&(i.mode="showing")},ri.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},ri.prototype.createEl=function(){return ii.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},ri.prototype.clearDisplay=function(){"function"==typeof r.WebVTT&&r.WebVTT.processCues(r,[],this.el_)},ri.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();for(var e=null,n=null,i=t.length;i--;){var r=t[i];"showing"===r.mode&&("descriptions"===r.kind?e=r:n=r)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},ri.prototype.updateForTrack=function(t){if("function"==typeof r.WebVTT&&t.activeCues){for(var e=[],n=0;n<t.activeCues.length;n++)e.push(t.activeCues[n]);if(r.WebVTT.processCues(r,e,this.el_),this.player_.textTrackSettings)for(var i=this.player_.textTrackSettings.getValues(),o=e.length;o--;){var a,s=e[o];s&&(a=s.displayState,i.color&&(a.firstChild.style.color=i.color),i.textOpacity&&ni(a.firstChild,"color",ei(i.color||"#fff",i.textOpacity)),i.backgroundColor&&(a.firstChild.style.backgroundColor=i.backgroundColor),i.backgroundOpacity&&ni(a.firstChild,"backgroundColor",ei(i.backgroundColor||"#000",i.backgroundOpacity)),i.windowColor&&(i.windowOpacity?ni(a,"backgroundColor",ei(i.windowColor,i.windowOpacity)):a.style.backgroundColor=i.windowColor),i.edgeStyle&&("dropshadow"===i.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===i.edgeStyle?a.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===i.edgeStyle?a.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===i.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),i.fontPercent&&1!==i.fontPercent&&(s=r.parseFloat(a.style.fontSize),a.style.fontSize=s*i.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"),i.fontFamily&&"default"!==i.fontFamily&&("small-caps"===i.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=ti[i.fontFamily]))}}},k=ri;function ri(t,e,n){D(this,ri);n=R(this,ii.call(this,t,e,n));var i=Jt(n,n.updateDisplay);return t.on("loadstart",Jt(n,n.toggleDisplay)),t.on("texttrackchange",i),t.on("loadstart",Jt(n,n.preselectTrack)),t.ready(Jt(n,(function(){if(t.tech_&&t.tech_.featuresNativeTextTracks)this.hide();else{t.on("fullscreenchange",i),t.on("playerresize",i),r.addEventListener&&r.addEventListener("orientationchange",i),t.on("dispose",(function(){return r.removeEventListener("orientationchange",i)}));for(var e=this.options_.playerOptions.tracks||[],n=0;n<e.length;n++)this.player_.addRemoteTextTrack(e[n],!0);this.preselectTrack()}}))),n}pe.registerComponent("TextTrackDisplay",k);var oi;B(ai,oi=pe),ai.prototype.createEl=function(){var t=this.player_.isAudio(),e=this.localize(t?"Audio Player":"Video Player");t=it("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[e])}),e=oi.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return e.appendChild(t),e},A=ai;function ai(){return D(this,ai),R(this,oi.apply(this,arguments))}pe.registerComponent("LoadingSpinner",A);var si,ui=(B(ci,si=m),ci.prototype.createEl=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return t="button",e=V({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),n=V({type:"button"},n),n=pe.prototype.createEl.call(this,t,e,n),this.createControlTextEl(n),n},ci.prototype.addChild=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return G.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),pe.prototype.addChild.call(this,t,e)},ci.prototype.enable=function(){si.prototype.enable.call(this),this.el_.removeAttribute("disabled")},ci.prototype.disable=function(){si.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},ci.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&si.prototype.handleKeyPress.call(this,t)},ci);function ci(){return D(this,ci),R(this,si.apply(this,arguments))}pe.registerComponent("Button",ui);var li;B(hi,li=ui),hi.prototype.buildCSSClass=function(){return"vjs-big-play-button"},hi.prototype.handleClick=function(t){var e,n=this.player_.play();this.mouseused_&&t.clientX&&t.clientY?Ae(n):(t=this.player_.getChild("controlBar"),(e=t&&t.getChild("playToggle"))?(t=function(){return e.focus()},Oe(n)?n.then(t,(function(){})):this.setTimeout(t,1)):this.player_.focus())},hi.prototype.handleKeyPress=function(t){this.mouseused_=!1,li.prototype.handleKeyPress.call(this,t)},hi.prototype.handleMouseDown=function(t){this.mouseused_=!0},d=hi;function hi(t,e){return D(this,hi),e=R(this,li.call(this,t,e)),e.mouseused_=!1,e.on("mousedown",e.handleMouseDown),e}d.prototype.controlText_="Play Video",pe.registerComponent("BigPlayButton",d);var di;B(fi,di=ui),fi.prototype.buildCSSClass=function(){return"vjs-close-button "+di.prototype.buildCSSClass.call(this)},fi.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},He=fi;function fi(t,e){return D(this,fi),t=R(this,di.call(this,t,e)),t.controlText(e&&e.controlText||t.localize("Close")),t}pe.registerComponent("CloseButton",He);var pi;B(gi,pi=ui),gi.prototype.buildCSSClass=function(){return"vjs-play-control "+pi.prototype.buildCSSClass.call(this)},gi.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},gi.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},gi.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},gi.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},gi.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},Ge=gi;function gi(t,e){return D(this,gi),e=R(this,pi.call(this,t,e)),e.on(t,"play",e.handlePlay),e.on(t,"pause",e.handlePause),e.on(t,"ended",e.handleEnded),e}function mi(t,e){t=t<0?0:t;var n=Math.floor(t%60),i=Math.floor(t/60%60),r=Math.floor(t/3600),o=Math.floor(e/60%60);e=Math.floor(e/3600);return(r=0<(r=isNaN(t)||t===1/0?i=n="-":r)||0<e?r+":":"")+(i=((r||10<=o)&&i<10?"0"+i:i)+":")+(n<10?"0"+n:n)}Ge.prototype.controlText_="Play",pe.registerComponent("PlayToggle",Ge);var vi=mi;function yi(t){return vi(t,1<arguments.length&&void 0!==arguments[1]?arguments[1]:t)}var bi;B(_i,bi=pe),_i.prototype.createEl=function(t){var e=this.buildCSSClass(),n=bi.prototype.createEl.call(this,"div",{className:e+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=it("span",{className:e+"-display"},{"aria-live":"off"}),this.updateTextNode_(),n.appendChild(this.contentEl_),n},_i.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,bi.prototype.dispose.call(this)},_i.prototype.updateTextNode_=function(){if(this.contentEl_){for(;this.contentEl_.firstChild;)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=o.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},_i.prototype.formatTime_=function(t){return yi(t)},_i.prototype.updateFormattedTime_=function(t){t=this.formatTime_(t),t!==this.formattedTime_&&(this.formattedTime_=t,this.requestAnimationFrame(this.updateTextNode_))},_i.prototype.updateContent=function(t){},Ke=_i;function _i(t,e){return D(this,_i),e=R(this,bi.call(this,t,e)),e.throttledUpdateContent=Zt(Jt(e,e.updateContent),25),e.on(t,"timeupdate",e.throttledUpdateContent),e}Ke.prototype.labelText_="Time",Ke.prototype.controlText_="Time",pe.registerComponent("TimeDisplay",Ke);var Ti;B(Si,Ti=Ke),Si.prototype.buildCSSClass=function(){return"vjs-current-time"},Si.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},Si.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},n=Si;function Si(t,e){return D(this,Si),e=R(this,Ti.call(this,t,e)),e.on(t,"ended",e.handleEnded),e}n.prototype.labelText_="Current Time",n.prototype.controlText_="Current Time",pe.registerComponent("CurrentTimeDisplay",n);var wi;B(ki,wi=Ke),ki.prototype.buildCSSClass=function(){return"vjs-duration"},ki.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},En=ki;function ki(t,e){return D(this,ki),e=R(this,wi.call(this,t,e)),e.on(t,"durationchange",e.updateContent),e.on(t,"loadedmetadata",e.throttledUpdateContent),e}En.prototype.labelText_="Duration",En.prototype.controlText_="Duration",pe.registerComponent("DurationDisplay",En);var Ci;B(Ei,Ci=pe),Ei.prototype.createEl=function(){return Ci.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},p=Ei;function Ei(){return D(this,Ei),R(this,Ci.apply(this,arguments))}pe.registerComponent("TimeDivider",p);var xi;B(Oi,xi=Ke),Oi.prototype.buildCSSClass=function(){return"vjs-remaining-time"},Oi.prototype.formatTime_=function(t){return"-"+xi.prototype.formatTime_.call(this,t)},Oi.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},Oi.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},y=Oi;function Oi(t,e){return D(this,Oi),e=R(this,xi.call(this,t,e)),e.on(t,"durationchange",e.throttledUpdateContent),e.on(t,"ended",e.handleEnded),e}y.prototype.labelText_="Remaining Time",y.prototype.controlText_="Remaining Time",pe.registerComponent("RemainingTimeDisplay",y);var Ai;B(Pi,Ai=pe),Pi.prototype.createEl=function(){var t=Ai.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=it("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},Pi.prototype.dispose=function(){this.contentEl_=null,Ai.prototype.dispose.call(this)},Pi.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},k=Pi;function Pi(t,e){return D(this,Pi),e=R(this,Ai.call(this,t,e)),e.updateShowing(),e.on(e.player(),"durationchange",e.updateShowing),e}pe.registerComponent("LiveDisplay",k);var ji;B(Ii,ji=pe),Ii.prototype.enabled=function(){return this.enabled_},Ii.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},Ii.prototype.disable=function(){var t;this.enabled()&&(t=this.bar.el_.ownerDocument,this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1)},Ii.prototype.createEl=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};return e.className=e.className+" vjs-slider",e=V({tabIndex:0},e),n=V({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),ji.prototype.createEl.call(this,t,e,n)},Ii.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||C||t.preventDefault(),gt(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},Ii.prototype.handleMouseMove=function(t){},Ii.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;mt(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},Ii.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){var n=(100*(t="number"!=typeof t||t!=t||t<0||t===1/0?0:t)).toFixed(2)+"%";e=e.el().style;return this.vertical()?e.height=n:e.width=n,t}}},Ii.prototype.calculateDistance=function(t){return t=bt(this.el_,t),this.vertical()?t.y:t.x},Ii.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},Ii.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},Ii.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},Ii.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},Ii.prototype.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},A=Ii;function Ii(t,e){return D(this,Ii),e=R(this,ji.call(this,t,e)),e.bar=e.getChild(e.options_.barName),e.vertical(!!e.options_.vertical),e.enable(),e}pe.registerComponent("Slider",A);var Li;B(Mi,Li=pe),Mi.prototype.createEl=function(){return Li.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},Mi.prototype.dispose=function(){this.partEls_=null,Li.prototype.dispose.call(this)},Mi.prototype.update=function(t){function e(t,e){return 100*(1<=(e=t/e||0)?1:e)+"%"}var n=this.player_.buffered(),i=this.player_.duration(),r=this.player_.bufferedEnd(),o=this.partEls_;this.el_.style.width=e(r,i);for(var a=0;a<n.length;a++){var s=n.start(a),u=n.end(a),c=o[a];c||(c=this.el_.appendChild(it()),o[a]=c),c.style.left=e(s,r),c.style.width=e(u-s,r)}for(var l=o.length;l>n.length;l--)this.el_.removeChild(o[l-1]);o.length=n.length},d=Mi;function Mi(t,e){return D(this,Mi),e=R(this,Li.call(this,t,e)),e.partEls_=[],e.on(t,"progress",e.update),e}pe.registerComponent("LoadProgressBar",d);var Di;B(Bi,Di=pe),Bi.prototype.createEl=function(){return Di.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},Bi.prototype.update=function(t,e,n){var i=vt(this.el_),r=vt(this.player_.el()),o=t.width*e;r&&i&&(e=t.left-r.left+o,r=t.width-o+(r.right-t.right),e<(t=i.width/2)?t+=t-e:r<t&&(t=r),t<0?t=0:t>i.width&&(t=i.width),this.el_.style.right="-"+t+"px",rt(this.el_,n))},He=Bi;function Bi(){return D(this,Bi),R(this,Di.apply(this,arguments))}pe.registerComponent("TimeTooltip",He);var Ri;B(Ni,Ri=pe),Ni.prototype.createEl=function(){return Ri.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},Ni.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var i=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),r=yi(i,n.player_.duration());i=n.getChild("timeTooltip");i&&i.update(t,e,r)}))},Ge=Ni;function Ni(){return D(this,Ni),R(this,Ri.apply(this,arguments))}Ge.prototype.options_={children:[]},O&&!(8<O)||v||b||Ge.prototype.options_.children.push("timeTooltip"),pe.registerComponent("PlayProgressBar",Ge);var Fi;B(Ui,Fi=pe),Ui.prototype.createEl=function(){return Fi.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},Ui.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var i=n.player_.duration();i=yi(e*i,i);n.el_.style.left=t.width*e+"px",n.getChild("timeTooltip").update(t,e,i)}))},n=Ui;function Ui(t,e){return D(this,Ui),e=R(this,Fi.call(this,t,e)),e.update=Zt(Jt(e,e.update),25),e}n.prototype.options_={children:["timeTooltip"]},pe.registerComponent("MouseTimeDisplay",n);var $i;B(Vi,$i=A),Vi.prototype.setEventHandlers_=function(){var t=this;this.update=Zt(Jt(this,this.update),30),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],(function(){t.clearInterval(t.updateInterval),t.updateInterval=t.setInterval((function(){t.requestAnimationFrame((function(){t.update()}))}),30)})),this.on(this.player_,["ended","pause","waiting"],(function(){t.clearInterval(t.updateInterval)})),this.on(this.player_,["timeupdate","ended"],this.update)},Vi.prototype.createEl=function(){return $i.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},Vi.prototype.update_=function(t,e){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[yi(t,n),yi(n,n)],"{1} of {2}")),this.bar.update(vt(this.el_),e)},Vi.prototype.update=function(t){var e=$i.prototype.update.call(this);return this.update_(this.getCurrentTime_(),e),e},Vi.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},Vi.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},Vi.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return 1<=t?1:t},Vi.prototype.handleMouseDown=function(t){Ct(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),$i.prototype.handleMouseDown.call(this,t))},Vi.prototype.handleMouseMove=function(t){Ct(t)&&((t=this.calculateDistance(t)*this.player_.duration())===this.player_.duration()&&(t-=.1),this.player_.currentTime(t))},Vi.prototype.enable=function(){$i.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},Vi.prototype.disable=function(){$i.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},Vi.prototype.handleMouseUp=function(t){$i.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&Ae(this.player_.play())},Vi.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},Vi.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},Vi.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},Vi.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleAction(t)):$i.prototype.handleKeyPress&&$i.prototype.handleKeyPress.call(this,t)},En=Vi;function Vi(t,e){return D(this,Vi),e=R(this,$i.call(this,t,e)),e.setEventHandlers_(),e}En.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},O&&!(8<O)||v||b||En.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),En.prototype.playerEvent="timeupdate",pe.registerComponent("SeekBar",En);var Hi;B(zi,Hi=pe),zi.prototype.createEl=function(){return Hi.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},zi.prototype.handleMouseMove=function(t){var e,n,i=this.getChild("seekBar");i&&(e=i.getChild("mouseTimeDisplay"),i=vt(n=i.el()),1<(t=bt(n,t).x)?t=1:t<0&&(t=0),e&&e.update(i,t))},zi.prototype.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},zi.prototype.enabled=function(){return this.enabled_},zi.prototype.disable=function(){this.children().forEach((function(t){return t.disable&&t.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},zi.prototype.enable=function(){this.children().forEach((function(t){return t.enable&&t.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},zi.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},zi.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(t),this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},p=zi;function zi(t,e){return D(this,zi),e=R(this,Hi.call(this,t,e)),e.handleMouseMove=Zt(Jt(e,e.handleMouseMove),25),e.throttledHandleMouseSeek=Zt(Jt(e,e.handleMouseSeek),25),e.enable(),e}p.prototype.options_={children:["seekBar"]},pe.registerComponent("ProgressControl",p);var Wi;B(qi,Wi=ui),qi.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+Wi.prototype.buildCSSClass.call(this)},qi.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},qi.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},Ke=qi;function qi(t,e){return D(this,qi),e=R(this,Wi.call(this,t,e)),e.on(t,"fullscreenchange",e.handleFullscreenChange),!1===o[_e.fullscreenEnabled]&&e.disable(),e}Ke.prototype.controlText_="Fullscreen",pe.registerComponent("FullscreenToggle",Ke);var Gi,Xi=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",(function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")}))};B(Yi,Gi=pe),Yi.prototype.createEl=function(){return Gi.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},y=Yi;function Yi(){return D(this,Yi),R(this,Gi.apply(this,arguments))}pe.registerComponent("VolumeLevel",y);var Ki;B(Qi,Ki=A),Qi.prototype.createEl=function(){return Ki.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},Qi.prototype.handleMouseDown=function(t){Ct(t)&&Ki.prototype.handleMouseDown.call(this,t)},Qi.prototype.handleMouseMove=function(t){Ct(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},Qi.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},Qi.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},Qi.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},Qi.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},Qi.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},Qi.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},Qi.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",(function(){0===t.player_.volume()&&t.player_.lastVolume_(e)}))},k=Qi;function Qi(t,e){D(this,Qi);var n=R(this,Ki.call(this,t,e));return n.on("slideractive",n.updateLastVolume_),n.on(t,"volumechange",n.updateARIAAttributes),t.ready((function(){return n.updateARIAAttributes()})),n}k.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},k.prototype.playerEvent="volumechange",pe.registerComponent("VolumeBar",k);var Ji;B(Zi,Ji=pe),Zi.prototype.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),Ji.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},Zi.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},Zi.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},Zi.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},d=Zi;function Zi(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};D(this,Zi),e.vertical=e.vertical||!1,void 0!==e.volumeBar&&!z(e.volumeBar)||(e.volumeBar=e.volumeBar||{},e.volumeBar.vertical=e.vertical);var n=R(this,Ji.call(this,t,e));return Xi(n,t),n.throttledHandleMouseMove=Zt(Jt(n,n.handleMouseMove),25),n.on("mousedown",n.handleMouseDown),n.on("touchstart",n.handleMouseDown),n.on(n.volumeBar,["focus","slideractive"],(function(){n.volumeBar.addClass("vjs-slider-active"),n.addClass("vjs-slider-active"),n.trigger("slideractive")})),n.on(n.volumeBar,["blur","sliderinactive"],(function(){n.volumeBar.removeClass("vjs-slider-active"),n.removeClass("vjs-slider-active"),n.trigger("sliderinactive")})),n}d.prototype.options_={children:["volumeBar"]},pe.registerComponent("VolumeControl",d);var tr,er=function(t,e){e.tech_&&!e.tech_.featuresMuteControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",(function(){e.tech_.featuresMuteControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")}))};B(nr,tr=ui),nr.prototype.buildCSSClass=function(){return"vjs-mute-control "+tr.prototype.buildCSSClass.call(this)},nr.prototype.handleClick=function(t){var e=this.player_.volume(),n=this.player_.lastVolume_();0===e?(this.player_.volume(n<.1?.1:n),this.player_.muted(!1)):this.player_.muted(!this.player_.muted())},nr.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},nr.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;v&&this.player_.muted(this.player_.tech_.el_.muted),0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var n=0;n<4;n++)ut(this.el_,"vjs-vol-"+n);st(this.el_,"vjs-vol-"+e)},nr.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume()?"Unmute":"Mute";this.controlText()!==t&&this.controlText(t)},He=nr;function nr(t,e){return D(this,nr),e=R(this,tr.call(this,t,e)),er(e,t),e.on(t,["loadstart","volumechange"],e.update),e}He.prototype.controlText_="Mute",pe.registerComponent("MuteToggle",He);var ir;B(rr,ir=pe),rr.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},rr.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},rr.prototype.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},rr.prototype.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),ir.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},Ge=rr;function rr(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return D(this,rr),void 0!==e.inline?e.inline=e.inline:e.inline=!0,void 0!==e.volumeControl&&!z(e.volumeControl)||(e.volumeControl=e.volumeControl||{},e.volumeControl.vertical=!e.inline),e=R(this,ir.call(this,t,e)),e.on(t,["loadstart"],e.volumePanelState_),e.on(e.volumeControl,["slideractive"],e.sliderActive_),e.on(e.volumeControl,["sliderinactive"],e.sliderInactive_),e}Ge.prototype.options_={children:["muteToggle","volumeControl"]},pe.registerComponent("VolumePanel",Ge);var or,ar=(B(sr,or=pe),sr.prototype.addItem=function(t){this.addChild(t),t.on("click",Jt(this,(function(e){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())})))},sr.prototype.createEl=function(){var t=this.options_.contentElType||"ul";return this.contentEl_=it(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu"),t=or.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}),t.appendChild(this.contentEl_),Ut(t,"click",(function(t){t.preventDefault(),t.stopImmediatePropagation()})),t},sr.prototype.dispose=function(){this.contentEl_=null,or.prototype.dispose.call(this)},sr.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},sr.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},sr.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},sr.prototype.focus=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice();e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className)&&e.shift(),0<e.length&&(t<0?t=0:t>=e.length&&(t=e.length-1),e[this.focusedChild_=t].el_.focus())},sr);function sr(t,e){return D(this,sr),t=R(this,or.call(this,t,e)),e&&(t.menuButton_=e.menuButton),t.focusedChild_=-1,t.on("keydown",t.handleKeyPress),t}pe.registerComponent("Menu",ar);var ur;B(cr,ur=pe),cr.prototype.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},cr.prototype.createMenu=function(){var t,e=new ar(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title&&(t=it("li",{className:"vjs-menu-title",innerHTML:de(this.options_.title),tabIndex:-1}),this.hideThreshold_+=1,e.children_.unshift(t),ot(t,e.contentEl())),this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)e.addItem(this.items[n]);return e},cr.prototype.createItems=function(){},cr.prototype.createEl=function(){return ur.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},cr.prototype.buildWrapperCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+ui.prototype.buildCSSClass()+" "+ur.prototype.buildCSSClass.call(this)},cr.prototype.buildCSSClass=function(){var t="vjs-menu-button";return!0===this.options_.inline?t+="-inline":t+="-popup","vjs-menu-button "+t+" "+ur.prototype.buildCSSClass.call(this)},cr.prototype.controlText=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},cr.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",Jt(this,(function(t){this.unpressButton(),this.el_.blur()}))),this.buttonPressed_?this.unpressButton():this.pressButton()},cr.prototype.focus=function(){this.menuButton_.focus()},cr.prototype.blur=function(){this.menuButton_.blur()},cr.prototype.handleFocus=function(){Ut(o,"keydown",Jt(this,this.handleKeyPress))},cr.prototype.handleBlur=function(){$t(o,"keydown",Jt(this,this.handleKeyPress))},cr.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},cr.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},cr.prototype.pressButton=function(){this.enabled_&&(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),v&&et()||this.menu.focus())},cr.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},cr.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},cr.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},n=cr;function cr(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};D(this,cr);var n=R(this,ur.call(this,t,e));return n.menuButton_=new ui(t,e),n.menuButton_.controlText(n.controlText_),n.menuButton_.el_.setAttribute("aria-haspopup","true"),e=ui.prototype.buildCSSClass(),n.menuButton_.el_.className=n.buildCSSClass()+" "+e,n.menuButton_.removeClass("vjs-control"),n.addChild(n.menuButton_),n.update(),n.enabled_=!0,n.on(n.menuButton_,"tap",n.handleClick),n.on(n.menuButton_,"click",n.handleClick),n.on(n.menuButton_,"focus",n.handleFocus),n.on(n.menuButton_,"blur",n.handleBlur),n.on("keydown",n.handleSubmenuKeyPress),n}pe.registerComponent("MenuButton",n);var lr;B(hr,lr=n),En=hr;function hr(t,e){D(this,hr);var n=e.tracks;e=R(this,lr.call(this,t,e));if(e.items.length<=1&&e.hide(),!n)return R(e);var i=Jt(e,e.update);return n.addEventListener("removetrack",i),n.addEventListener("addtrack",i),e.player_.on("ready",i),e.player_.on("dispose",(function(){n.removeEventListener("removetrack",i),n.removeEventListener("addtrack",i)})),e}pe.registerComponent("TrackButton",En);var dr;B(fr,dr=m),fr.prototype.createEl=function(t,e,n){return this.nonIconControl=!0,dr.prototype.createEl.call(this,"li",V({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},e),n)},fr.prototype.handleClick=function(t){this.selected(!0)},fr.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},p=fr;function fr(t,e){return D(this,fr),t=R(this,dr.call(this,t,e)),t.selectable=e.selectable,t.isSelected_=e.selected||!1,t.multiSelectable=e.multiSelectable,t.selected(t.isSelected_),t.selectable?t.multiSelectable?t.el_.setAttribute("role","menuitemcheckbox"):t.el_.setAttribute("role","menuitemradio"):t.el_.setAttribute("role","menuitem"),t}pe.registerComponent("MenuItem",p);var pr,gr=(B(mr,pr=p),mr.prototype.handleClick=function(t){var e=this.track.kind,n=this.track.kinds,i=this.player_.textTracks();n=n||[e];if(pr.prototype.handleClick.call(this,t),i)for(var r=0;r<i.length;r++){var o=i[r];o===this.track&&-1<n.indexOf(o.kind)?"showing"!==o.mode&&(o.mode="showing"):"disabled"!==o.mode&&(o.mode="disabled")}},mr.prototype.handleTracksChange=function(t){var e="showing"===this.track.mode;e!==this.isSelected_&&this.selected(e)},mr.prototype.handleSelectedLanguageChange=function(t){var e;"showing"===this.track.mode&&((e=this.player_.cache_.selectedLanguage)&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind||(this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}))},mr.prototype.dispose=function(){this.track=null,pr.prototype.dispose.call(this)},mr);function mr(t,e){D(this,mr);var n=e.track,i=t.textTracks();e.label=n.label||n.language||"Unknown",e.selected="showing"===n.mode;var a,s=R(this,pr.call(this,t,e));function u(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleTracksChange.apply(s,e)}function c(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleSelectedLanguageChange.apply(s,e)}return s.track=n,t.on(["loadstart","texttrackchange"],u),i.addEventListener("change",u),i.addEventListener("selectedlanguagechange",c),s.on("dispose",(function(){t.off(["loadstart","texttrackchange"],u),i.removeEventListener("change",u),i.removeEventListener("selectedlanguagechange",c)})),void 0===i.onchange&&(a=void 0,s.on(["tap","click"],(function(){if("object"!==M(r.Event))try{a=new r.Event("change")}catch(t){}a||(a=o.createEvent("Event")).initEvent("change",!0,!0),i.dispatchEvent(a)}))),s.handleTracksChange(),s}pe.registerComponent("TextTrackMenuItem",gr);var vr,yr=(B(br,vr=gr),br.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!0,i=0,r=e.length;i<r;i++){var o=e[i];if(-1<this.options_.kinds.indexOf(o.kind)&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},br.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),n=!0,i=0,r=e.length;i<r;i++){var o=e[i];if(-1<["captions","descriptions","subtitles"].indexOf(o.kind)&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},br);function br(t,e){return D(this,br),e.track={player:t,kind:e.kind,kinds:e.kinds,default:!1,mode:"disabled"},e.kinds||(e.kinds=[e.kind]),e.label?e.track.label=e.label:e.track.label=e.kinds.join(" and ")+" off",e.selectable=!0,e.multiSelectable=!1,R(this,vr.call(this,t,e))}pe.registerComponent("OffTextTrackMenuItem",yr);var _r;B(Tr,_r=En),Tr.prototype.createItems=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[],e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:gr,n=void 0;this.label_&&(n=this.label_+" off"),t.push(new yr(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var i=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var r=0;r<i.length;r++){var o,a=i[r];-1<this.kinds_.indexOf(a.kind)&&((o=new e(this.player_,{track:a,selectable:!0,multiSelectable:!1})).addClass("vjs-"+a.kind+"-menu-item"),t.push(o))}return t},Ke=Tr;function Tr(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return D(this,Tr),e.tracks=t.textTracks(),R(this,_r.call(this,t,e))}pe.registerComponent("TextTrackButton",Ke);var Sr,wr=(B(kr,Sr=p),kr.prototype.handleClick=function(t){Sr.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},kr.prototype.update=function(t){var e=this.cue,n=this.player_.currentTime();this.selected(e.startTime<=n&&n<e.endTime)},kr);function kr(t,e){D(this,kr);var n=e.track,i=e.cue,r=t.currentTime();return e.selectable=!0,e.multiSelectable=!1,e.label=i.text,e.selected=i.startTime<=r&&r<i.endTime,e=R(this,Sr.call(this,t,e)),e.track=n,e.cue=i,n.addEventListener("cuechange",Jt(e,e.update)),e}pe.registerComponent("ChaptersTrackMenuItem",wr);var Cr;B(Er,Cr=Ke),Er.prototype.buildCSSClass=function(){return"vjs-chapters-button "+Cr.prototype.buildCSSClass.call(this)},Er.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+Cr.prototype.buildWrapperCSSClass.call(this)},Er.prototype.update=function(t){this.track_&&(!t||"addtrack"!==t.type&&"removetrack"!==t.type)||this.setTrack(this.findChaptersTrack()),Cr.prototype.update.call(this)},Er.prototype.setTrack=function(t){var e;this.track_!==t&&(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_&&((e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&e.removeEventListener("load",this.updateHandler_),this.track_=null),this.track_=t,this.track_&&(this.track_.mode="hidden",(t=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_))&&t.addEventListener("load",this.updateHandler_)))},Er.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;0<=e;e--){var n=t[e];if(n.kind===this.kind_)return n}},Er.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(de(this.kind_))},Er.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),Cr.prototype.createMenu.call(this)},Er.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var n=0,i=e.length;n<i;n++){var r=e[n];r=new wr(this.player_,{track:this.track_,cue:r});t.push(r)}return t},y=Er;function Er(t,e,n){return D(this,Er),R(this,Cr.call(this,t,e,n))}y.prototype.kind_="chapters",y.prototype.controlText_="Chapters",pe.registerComponent("ChaptersButton",y);var xr;B(Or,xr=Ke),Or.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!1,i=0,r=e.length;i<r;i++){var o=e[i];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},Or.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+xr.prototype.buildCSSClass.call(this)},Or.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+xr.prototype.buildWrapperCSSClass.call(this)},A=Or;function Or(t,e,n){D(this,Or);n=R(this,xr.call(this,t,e,n));var i=t.textTracks(),r=Jt(n,n.handleTracksChange);return i.addEventListener("change",r),n.on("dispose",(function(){i.removeEventListener("change",r)})),n}A.prototype.kind_="descriptions",A.prototype.controlText_="Descriptions",pe.registerComponent("DescriptionsButton",A);var Ar;B(Pr,Ar=Ke),Pr.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+Ar.prototype.buildCSSClass.call(this)},Pr.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+Ar.prototype.buildWrapperCSSClass.call(this)},k=Pr;function Pr(t,e,n){return D(this,Pr),R(this,Ar.call(this,t,e,n))}k.prototype.kind_="subtitles",k.prototype.controlText_="Subtitles",pe.registerComponent("SubtitlesButton",k);var jr,Ir=(B(Lr,jr=gr),Lr.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},Lr);function Lr(t,e){return D(this,Lr),e.track={player:t,kind:e.kind,label:e.kind+" settings",selectable:!1,default:!1,mode:"disabled"},e.selectable=!1,e.name="CaptionSettingsMenuItem",t=R(this,jr.call(this,t,e)),t.addClass("vjs-texttrack-settings"),t.controlText(", opens "+e.kind+" settings dialog"),t}pe.registerComponent("CaptionSettingsMenuItem",Ir);var Mr;B(Dr,Mr=Ke),Dr.prototype.buildCSSClass=function(){return"vjs-captions-button "+Mr.prototype.buildCSSClass.call(this)},Dr.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+Mr.prototype.buildWrapperCSSClass.call(this)},Dr.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Ir(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),Mr.prototype.createItems.call(this,t)},d=Dr;function Dr(t,e,n){return D(this,Dr),R(this,Mr.call(this,t,e,n))}d.prototype.kind_="captions",d.prototype.controlText_="Captions",pe.registerComponent("CaptionsButton",d);var Br,Rr=(B(Nr,Br=gr),Nr.prototype.createEl=function(t,e,n){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"captions"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n "),Br.prototype.createEl.call(this,t,V({innerHTML:i+="</span>"},e),n)},Nr);function Nr(){return D(this,Nr),R(this,Br.apply(this,arguments))}pe.registerComponent("SubsCapsMenuItem",Rr);var Fr;B(Ur,Fr=Ke),Ur.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+Fr.prototype.buildCSSClass.call(this)},Ur.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+Fr.prototype.buildWrapperCSSClass.call(this)},Ur.prototype.createItems=function(){var t=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(t.push(new Ir(this.player_,{kind:this.label_})),this.hideThreshold_+=1),Fr.prototype.createItems.call(this,t,Rr)},He=Ur;function Ur(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return D(this,Ur),e=R(this,Fr.call(this,t,e)),e.label_="subtitles",-1<["en","en-us","en-ca","fr-ca"].indexOf(e.player_.language_)&&(e.label_="captions"),e.menuButton_.controlText(de(e.label_)),e}He.prototype.kinds_=["captions","subtitles"],He.prototype.controlText_="Subtitles",pe.registerComponent("SubsCapsButton",He);var $r,Vr=(B(Hr,$r=p),Hr.prototype.createEl=function(t,e,n){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);return"main-desc"===this.options_.track.kind&&(i+='\n <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n "),$r.prototype.createEl.call(this,t,V({innerHTML:i+="</span>"},e),n)},Hr.prototype.handleClick=function(t){var e=this.player_.audioTracks();$r.prototype.handleClick.call(this,t);for(var n=0;n<e.length;n++){var i=e[n];i.enabled=i===this.track}},Hr.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},Hr);function Hr(t,e){D(this,Hr);var n=e.track,i=t.audioTracks();e.label=n.label||n.language||"Unknown",e.selected=n.enabled;var r=R(this,$r.call(this,t,e));function o(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];r.handleTracksChange.apply(r,e)}return r.track=n,r.addClass("vjs-"+n.kind+"-menu-item"),i.addEventListener("change",o),r.on("dispose",(function(){i.removeEventListener("change",o)})),r}pe.registerComponent("AudioTrackMenuItem",Vr);var zr;B(Wr,zr=En),Wr.prototype.buildCSSClass=function(){return"vjs-audio-button "+zr.prototype.buildCSSClass.call(this)},Wr.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+zr.prototype.buildWrapperCSSClass.call(this)},Wr.prototype.createItems=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),n=0;n<e.length;n++){var i=e[n];t.push(new Vr(this.player_,{track:i,selectable:!0,multiSelectable:!1}))}return t},Ge=Wr;function Wr(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return D(this,Wr),e.tracks=t.audioTracks(),R(this,zr.call(this,t,e))}Ge.prototype.controlText_="Audio Track",pe.registerComponent("AudioTrackButton",Ge);var qr,Gr=(B(Xr,qr=p),Xr.prototype.handleClick=function(t){qr.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},Xr.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},Xr);function Xr(t,e){D(this,Xr);var n=e.rate,i=parseFloat(n,10);return e.label=n,e.selected=1===i,e.selectable=!0,e.multiSelectable=!1,e=R(this,qr.call(this,t,e)),e.label=n,e.rate=i,e.on(t,"ratechange",e.update),e}Gr.prototype.contentElType="button",pe.registerComponent("PlaybackRateMenuItem",Gr);var Yr;B(Kr,Yr=n),Kr.prototype.createEl=function(){var t=Yr.prototype.createEl.call(this);return this.labelEl_=it("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),t.appendChild(this.labelEl_),t},Kr.prototype.dispose=function(){this.labelEl_=null,Yr.prototype.dispose.call(this)},Kr.prototype.buildCSSClass=function(){return"vjs-playback-rate "+Yr.prototype.buildCSSClass.call(this)},Kr.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+Yr.prototype.buildWrapperCSSClass.call(this)},Kr.prototype.createMenu=function(){var t=new ar(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;0<=n;n--)t.addChild(new Gr(this.player(),{rate:e[n]+"x"}));return t},Kr.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},Kr.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),n=this.playbackRates(),i=n[0],r=0;r<n.length;r++)if(n[r]>e){i=n[r];break}this.player().playbackRate(i)},Kr.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},Kr.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},Kr.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},Kr.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},m=Kr;function Kr(t,e){return D(this,Kr),e=R(this,Yr.call(this,t,e)),e.updateVisibility(),e.updateLabel(),e.on(t,"loadstart",e.updateVisibility),e.on(t,"ratechange",e.updateLabel),e}m.prototype.controlText_="Playback Rate",pe.registerComponent("PlaybackRateMenuButton",m);var Qr;B(Jr,Qr=pe),Jr.prototype.buildCSSClass=function(){return"vjs-spacer "+Qr.prototype.buildCSSClass.call(this)},Jr.prototype.createEl=function(){return Qr.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},y=Jr;function Jr(){return D(this,Jr),R(this,Qr.apply(this,arguments))}pe.registerComponent("Spacer",y);var Zr;B(to,Zr=y),to.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+Zr.prototype.buildCSSClass.call(this)},to.prototype.createEl=function(){var t=Zr.prototype.createEl.call(this,{className:this.buildCSSClass()});return t.innerHTML=" ",t},A=to;function to(){return D(this,to),R(this,Zr.apply(this,arguments))}pe.registerComponent("CustomControlSpacer",A);var eo;B(no,eo=pe),no.prototype.createEl=function(){return eo.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},k=no;function no(){return D(this,no),R(this,eo.apply(this,arguments))}k.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},pe.registerComponent("ControlBar",k);var io;B(ro,io=De),ro.prototype.buildCSSClass=function(){return"vjs-error-display "+io.prototype.buildCSSClass.call(this)},ro.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},d=ro;function ro(t,e){return D(this,ro),e=R(this,io.call(this,t,e)),e.on(t,"error",e.open),e}d.prototype.options_=fe(De.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),pe.registerComponent("ErrorDisplay",d);var oo="vjs-text-track-settings",ao=(Ke=["#000","Black"],He=["#00F","Blue"],En=["#0FF","Cyan"],Ge=["#0F0","Green"],p=["#F0F","Magenta"],n=["#F00","Red"],m=["#FFF","White"],y=["#FF0","Yellow"],A=["1","Opaque"],k=["0.5","Semi-Transparent"],d=["0","Transparent"],{backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[Ke,m,n,Ge,He,y,p,En]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[A,k,d]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[m,Ke,n,Ge,He,y,p,En]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[A,k]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[d,k,A]}});function so(t,e){if((t=e?e(t):t)&&"none"!==t)return t}ao.windowColor.options=ao.backgroundColor.options;var uo;B(co,uo=De),co.prototype.dispose=function(){this.endDialog=null,uo.prototype.dispose.call(this)},co.prototype.createElSelect_=function(t){var e=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:"label",r=ao[t],o=r.id.replace("%s",this.id_),a=[n,o].join(" ").trim();return["<"+i+' id="'+o+'" class="'+("label"===i?"vjs-label":"")+'">',this.localize(r.label),"</"+i+">",'<select aria-labelledby="'+a+'">'].concat(r.options.map((function(t){var n=o+"-"+t[1].replace(/\W+/g,"");return['<option id="'+n+'" value="'+t[0]+'" ','aria-labelledby="'+a+" "+n+'">',e.localize(t[1]),"</option>"].join("")}))).concat("</select>").join("")},co.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},co.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},co.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},co.prototype.createElColors_=function(){return it("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},co.prototype.createElFont_=function(){return it("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},co.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return it("div",{className:"vjs-track-settings-controls",innerHTML:['<button type="button" class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button type="button" class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},co.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},co.prototype.label=function(){return this.localize("Caption Settings Dialog")},co.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},co.prototype.buildCSSClass=function(){return uo.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},co.prototype.getValues=function(){var t=this;return function(t,e,n){var i=2<arguments.length&&void 0!==n?n:0;return U(t).reduce((function(n,i){return e(n,t[i],i)}),i)}(ao,(function(e,n,i){var r;r=t.$(n.selector),n=n.parser,n=so(r.options[r.options.selectedIndex].value,n);return void 0!==n&&(e[i]=n),e}),{})},co.prototype.setValues=function(t){var e=this;$(ao,(function(n,i){!function(t,e,n){if(e)for(var i=0;i<t.options.length;i++)if(so(t.options[i].value,n)===e){t.selectedIndex=i;break}}(e.$(n.selector),t[i],n.parser)}))},co.prototype.setDefaults=function(){var t=this;$(ao,(function(e){var n=e.hasOwnProperty("default")?e.default:0;t.$(e.selector).selectedIndex=n}))},co.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(r.localStorage.getItem(oo))}catch(t){G.warn(t)}t&&this.setValues(t)},co.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?r.localStorage.setItem(oo,JSON.stringify(t)):r.localStorage.removeItem(oo)}catch(t){G.warn(t)}}},co.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},co.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(o,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton;t=t&&t.captionsButton;e?e.focus():t&&t.focus()},A=co;function co(t,e){D(this,co),e.temporary=!1;var n=R(this,uo.call(this,t,e));return n.updateDisplay=Jt(n,n.updateDisplay),n.fill(),n.hasBeenOpened_=n.hasBeenFilled_=!0,n.endDialog=it("p",{className:"vjs-control-text",textContent:n.localize("End of dialog window.")}),n.el().appendChild(n.endDialog),n.setDefaults(),void 0===e.persistTextTrackSettings&&(n.options_.persistTextTrackSettings=n.options_.playerOptions.persistTextTrackSettings),n.on(n.$(".vjs-done-button"),"click",(function(){n.saveSettings(),n.close()})),n.on(n.$(".vjs-default-button"),"click",(function(){n.setDefaults(),n.updateDisplay()})),$(ao,(function(t){n.on(n.$(t.selector),"change",n.updateDisplay)})),n.options_.persistTextTrackSettings&&n.restoreSettings(),n}pe.registerComponent("TextTrackSettings",A);var lo;B(ho,lo=pe),ho.prototype.createEl=function(){return lo.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager"})},ho.prototype.resizeHandler=function(){this.player_&&this.player_.trigger&&this.player_.trigger("playerresize")},ho.prototype.dispose=function(){this.debouncedHandler_&&this.debouncedHandler_.cancel(),this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.el_&&this.el_.contentWindow&&$t(this.el_.contentWindow,"resize",this.debouncedHandler_),this.loadListener_&&this.off("load",this.loadListener_),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null},A=ho;function ho(t,e){D(this,ho);var n=e.ResizeObserver||r.ResizeObserver,i=fe({createEl:!(n=null!==e.ResizeObserver&&n)},e),o=R(this,lo.call(this,t,i));return o.ResizeObserver=e.ResizeObserver||r.ResizeObserver,o.loadListener_=null,o.resizeObserver_=null,o.debouncedHandler_=te((function(){o.resizeHandler()}),100,!1,o),n?(o.resizeObserver_=new o.ResizeObserver(o.debouncedHandler_),o.resizeObserver_.observe(t.el())):(o.loadListener_=function(){o.el_&&o.el_.contentWindow&&Ut(o.el_.contentWindow,"resize",o.debouncedHandler_)},o.one("load",o.loadListener_)),o}function fo(t){if((i=t.el()).hasAttribute("src"))return t.triggerSourceset(i.src),1;var e=t.$$("source"),n=[],i="";if(e.length){for(var r=0;r<e.length;r++){var o=e[r].src;o&&-1===n.indexOf(o)&&n.push(o)}return!!n.length&&(1===n.length&&(i=n[0]),t.triggerSourceset(i),!0)}}pe.registerComponent("ResizeManager",A);var po={};function go(t,e){for(var n={},i=0;i<t.length&&!((n=Object.getOwnPropertyDescriptor(t[i],e))&&n.set&&n.get);i++);return n.enumerable=!0,n.configurable=!0,n}function mo(t){var e,n,i,o=t.el();o.resetSourceWatch_||(e={},n=go([t.el(),r.HTMLMediaElement.prototype,r.Element.prototype,po],"innerHTML"),i=function(e){return function(){for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var a=e.apply(o,i);return fo(t),a}},["append","appendChild","insertAdjacentHTML"].forEach((function(t){o[t]&&(e[t]=o[t],o[t]=i(e[t]))})),Object.defineProperty(o,"innerHTML",fe(n,{set:i(n.set)})),o.resetSourceWatch_=function(){o.resetSourceWatch_=null,Object.keys(e).forEach((function(t){o[t]=e[t]})),Object.defineProperty(o,"innerHTML",n)},t.one("sourceset",o.resetSourceWatch_))}x||(po=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(t){var e=o.createElement(this.nodeName.toLowerCase());e.innerHTML=t;for(var n=o.createDocumentFragment();e.childNodes.length;)n.appendChild(e.childNodes[0]);return this.innerText="",r.Element.prototype.appendChild.call(this,n),this.innerHTML}}));var vo={};function yo(t){var e,n,i,o;t.featuresSourceset&&((e=t.el()).resetSourceset_||(n=go([t.el(),r.HTMLMediaElement.prototype,vo],"src"),i=e.setAttribute,o=e.load,Object.defineProperty(e,"src",fe(n,{set:function(i){return i=n.set.call(e,i),t.triggerSourceset(e.src),i}})),e.setAttribute=function(n,r){return r=i.call(e,n,r),/src/i.test(n)&&t.triggerSourceset(e.src),r},e.load=function(){var n=o.call(e);return fo(t)||(t.triggerSourceset(""),mo(t)),n},e.currentSrc?t.triggerSourceset(e.currentSrc):fo(t)||mo(t),e.resetSourceset_=function(){e.resetSourceset_=null,e.load=o,e.setAttribute=i,Object.defineProperty(e,"src",n),e.resetSourceWatch_&&e.resetSourceWatch_()}))}x||(vo=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?cn(r.Element.prototype.getAttribute.call(this,"src")):""},set:function(t){return r.Element.prototype.setAttribute.call(this,"src",t),t}}));var bo,_o=N(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n This may prevent text tracks from loading."]),To=(B(So,bo=In),So.prototype.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),So.disposeMediaElement(this.el_),this.options_=null,bo.prototype.dispose.call(this)},So.prototype.setupSourcesetHandling_=function(){yo(this)},So.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){function t(){n=[];for(var t=0;t<e.length;t++){var i=e[t];"metadata"===i.kind&&n.push({track:i,storedMode:i.mode})}}var e=this.textTracks(),n=void 0;function i(){for(var t=0;t<n.length;t++){var r=n[t];"disabled"===r.track.mode&&r.track.mode!==r.storedMode&&(r.track.mode=r.storedMode)}e.removeEventListener("change",i)}t(),e.addEventListener("change",t),this.on("dispose",(function(){return e.removeEventListener("change",t)})),this.on("webkitbeginfullscreen",(function(){e.removeEventListener("change",t),e.removeEventListener("change",i),e.addEventListener("change",i)})),this.on("webkitendfullscreen",(function(){e.removeEventListener("change",t),e.addEventListener("change",t),e.removeEventListener("change",i)}))},So.prototype.proxyNativeTracks_=function(){var t=this;On.names.forEach((function(e){e=On[e];var n,i,r=t.el()[e.getterName],o=t[e.getterName]();t["featuresNative"+e.capitalName+"Tracks"]&&r&&r.addEventListener&&(n={change:function(t){o.trigger({type:"change",target:o,currentTarget:o,srcElement:o})},addtrack:function(t){o.addTrack(t.track)},removetrack:function(t){o.removeTrack(t.track)}},i=function(){for(var t=[],e=0;e<o.length;e++){for(var n=!1,i=0;i<r.length;i++)if(r[i]===o[e]){n=!0;break}n||t.push(o[e])}for(;t.length;)o.removeTrack(t.shift())},Object.keys(n).forEach((function(e){var i=n[e];r.addEventListener(e,i),t.on("dispose",(function(t){return r.removeEventListener(e,i)}))})),t.on("loadstart",i),t.on("dispose",(function(e){return t.off("loadstart",i)})))}))},So.prototype.createEl=function(){var t,e=this.options_.tag;e&&(this.options_.playerElIngest||this.movingMediaElementInDOM)||(e?(t=e.cloneNode(!0),e.parentNode&&e.parentNode.insertBefore(t,e),So.disposeMediaElement(e),e=t):(e=o.createElement("video"),t=fe({},this.options_.tag&&ht(this.options_.tag)),j&&!0===this.options_.nativeControlsForTouch||delete t.controls,lt(e,V(t,{id:this.options_.techId,class:"vjs-tech"}))),e.playerId=this.options_.playerId),void 0!==this.options_.preload&&ft(e,"preload",this.options_.preload);for(var n=["loop","muted","playsinline","autoplay"],i=0;i<n.length;i++){var r=n[i],a=this.options_[r];void 0!==a&&(a?ft(e,r,r):pt(e,r),e[r]=a)}return e},So.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){function e(){n=!0}var n=!1;function i(){n||this.trigger("loadstart")}return this.on("loadstart",e),this.on("loadedmetadata",i),void this.ready((function(){this.off("loadstart",e),this.off("loadedmetadata",i),n||this.trigger("loadstart")}))}var r=["loadstart"];r.push("loadedmetadata"),2<=t.readyState&&r.push("loadeddata"),3<=t.readyState&&r.push("canplay"),4<=t.readyState&&r.push("canplaythrough"),this.ready((function(){r.forEach((function(t){this.trigger(t)}),this)}))}},So.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){G(t,"Video is not ready. (Video.js)")}},So.prototype.duration=function(){var t=this;return this.el_.duration===1/0&&b&&C&&0===this.el_.currentTime?(this.on("timeupdate",(function e(){0<t.el_.currentTime&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))})),NaN):this.el_.duration||NaN},So.prototype.width=function(){return this.el_.offsetWidth},So.prototype.height=function(){return this.el_.offsetHeight},So.prototype.proxyWebkitFullscreen_=function(){var t,e,n=this;"webkitDisplayingFullscreen"in this.el_&&(t=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},e=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",t),this.trigger("fullscreenchange",{isFullscreen:!0}))},this.on("webkitbeginfullscreen",e),this.on("dispose",(function(){n.off("webkitbeginfullscreen",e),n.off("webkitendfullscreen",t)})))},So.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var t=r.navigator&&r.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},So.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout((function(){t.pause(),t.webkitEnterFullScreen()}),0)):t.webkitEnterFullScreen()},So.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},So.prototype.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},So.prototype.reset=function(){So.resetMediaElement(this.el_)},So.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},So.prototype.setControls=function(t){this.el_.controls=!!t},So.prototype.addTextTrack=function(t,e,n){return this.featuresNativeTextTracks?this.el_.addTextTrack(t,e,n):bo.prototype.addTextTrack.call(this,t,e,n)},So.prototype.createRemoteTextTrack=function(t){if(!this.featuresNativeTextTracks)return bo.prototype.createRemoteTextTrack.call(this,t);var e=o.createElement("track");return t.kind&&(e.kind=t.kind),t.label&&(e.label=t.label),(t.language||t.srclang)&&(e.srclang=t.language||t.srclang),t.default&&(e.default=t.default),t.id&&(e.id=t.id),t.src&&(e.src=t.src),e},So.prototype.addRemoteTextTrack=function(t,e){return e=bo.prototype.addRemoteTextTrack.call(this,t,e),this.featuresNativeTextTracks&&this.el().appendChild(e),e},So.prototype.removeRemoteTextTrack=function(t){if(bo.prototype.removeRemoteTextTrack.call(this,t),this.featuresNativeTextTracks)for(var e=this.$$("track"),n=e.length;n--;)t!==e[n]&&t!==e[n].track||this.el().removeChild(e[n])},So.prototype.getVideoPlaybackQuality=function(){if("function"==typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return void 0!==this.el().webkitDroppedFrameCount&&void 0!==this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),r.performance&&"function"==typeof r.performance.now?t.creationTime=r.performance.now():r.performance&&r.performance.timing&&"number"==typeof r.performance.timing.navigationStart&&(t.creationTime=r.Date.now()-r.performance.timing.navigationStart),t},So);function So(t,e){D(this,So);var n=R(this,bo.call(this,t,e)),i=(e=t.source,!1);if(e&&(n.el_.currentSrc!==e.src||t.tag&&3===t.tag.initNetworkState_)?n.setSource(e):n.handleLateInit_(n.el_),t.enableSourceset&&n.setupSourcesetHandling_(),n.el_.hasChildNodes()){for(var r=n.el_.childNodes,o=r.length,s=[];o--;){var u=r[o];"track"===u.nodeName.toLowerCase()&&(n.featuresNativeTextTracks?(n.remoteTextTrackEls().addTrackElement_(u),n.remoteTextTracks().addTrack(u.track),n.textTracks().addTrack(u.track),i||n.el_.hasAttribute("crossorigin")||!fn(u.src)||(i=!0)):s.push(u))}for(var c=0;c<s.length;c++)n.el_.removeChild(s[c])}return n.proxyNativeTracks_(),n.featuresNativeTextTracks&&i&&G.warn(a(_o)),n.restoreMetadataTracksInIOSNativePlayer_(),(j||g||S)&&!0===t.nativeControlsForTouch&&n.setControls(!0),n.proxyWebkitFullscreen_(),n.triggerReady(),n}Z()&&(To.TEST_VID=o.createElement("video"),(A=o.createElement("track")).kind="captions",A.srclang="en",A.label="English",To.TEST_VID.appendChild(A)),To.isSupported=function(){try{To.TEST_VID.volume=.5}catch(t){return!1}return!(!To.TEST_VID||!To.TEST_VID.canPlayType)},To.canPlayType=function(t){return To.TEST_VID.canPlayType(t)},To.canPlaySource=function(t,e){return To.canPlayType(t.type)},To.canControlVolume=function(){try{var t=To.TEST_VID.volume;return To.TEST_VID.volume=t/2+.1,t!==To.TEST_VID.volume}catch(t){return!1}},To.canMuteVolume=function(){try{var t=To.TEST_VID.muted;return To.TEST_VID.muted=!t,To.TEST_VID.muted?ft(To.TEST_VID,"muted","muted"):pt(To.TEST_VID,"muted"),t!==To.TEST_VID.muted}catch(t){return!1}},To.canControlPlaybackRate=function(){if(b&&C&&E<58)return!1;try{var t=To.TEST_VID.playbackRate;return To.TEST_VID.playbackRate=t/2+.1,t!==To.TEST_VID.playbackRate}catch(t){return!1}},To.canOverrideAttributes=function(){if(x)return!1;try{function t(){}Object.defineProperty(o.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(o.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(o.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(o.createElement("audio"),"innerHTML",{get:t,set:t})}catch(t){return!1}return!0},To.supportsNativeTextTracks=function(){return P||v&&C},To.supportsNativeVideoTracks=function(){return!(!To.TEST_VID||!To.TEST_VID.videoTracks)},To.supportsNativeAudioTracks=function(){return!(!To.TEST_VID||!To.TEST_VID.audioTracks)},To.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],To.prototype.featuresVolumeControl=To.canControlVolume(),To.prototype.featuresMuteControl=To.canMuteVolume(),To.prototype.featuresPlaybackRate=To.canControlPlaybackRate(),To.prototype.featuresSourceset=To.canOverrideAttributes(),To.prototype.movingMediaElementInDOM=!v,To.prototype.featuresFullscreenResize=!0,To.prototype.featuresProgressEvents=!0,To.prototype.featuresTimeupdateEvents=!0,To.prototype.featuresNativeTextTracks=To.supportsNativeTextTracks(),To.prototype.featuresNativeVideoTracks=To.supportsNativeVideoTracks(),To.prototype.featuresNativeAudioTracks=To.supportsNativeAudioTracks();var wo=To.TEST_VID&&To.TEST_VID.constructor.prototype.canPlayType,ko=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,Co=/^video\/mp4/i;To.patchCanPlayType=function(){4<=_&&!w&&!C?To.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&ko.test(t)?"maybe":wo.call(this,t)}:T&&(To.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Co.test(t)?"maybe":wo.call(this,t)})},To.unpatchCanPlayType=function(){var t=To.TEST_VID.constructor.prototype.canPlayType;return To.TEST_VID.constructor.prototype.canPlayType=wo,t},To.patchCanPlayType(),To.disposeMediaElement=function(t){if(t){for(t.parentNode&&t.parentNode.removeChild(t);t.hasChildNodes();)t.removeChild(t.firstChild);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},To.resetMediaElement=function(t){if(t){for(var e=t.querySelectorAll("source"),n=e.length;n--;)t.removeChild(e[n]);t.removeAttribute("src"),"function"==typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach((function(t){To.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}})),["muted","defaultMuted","autoplay","loop","playsinline"].forEach((function(t){To.prototype["set"+de(t)]=function(e){(this.el_[t]=e)?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}})),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach((function(t){To.prototype[t]=function(){return this.el_[t]}})),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach((function(t){To.prototype["set"+de(t)]=function(e){this.el_[t]=e}})),["pause","load","play"].forEach((function(t){To.prototype[t]=function(){return this.el_[t]()}})),In.withSourceHandlers(To),To.nativeSourceHandler={},To.nativeSourceHandler.canPlayType=function(t){try{return To.TEST_VID.canPlayType(t)}catch(t){return""}},To.nativeSourceHandler.canHandleSource=function(t,e){return t.type?To.nativeSourceHandler.canPlayType(t.type):t.src?(t=ln(t.src),To.nativeSourceHandler.canPlayType("video/"+t)):""},To.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},To.nativeSourceHandler.dispose=function(){},To.registerSourceHandler(To.nativeSourceHandler),In.registerTech("Html5",To);var Eo=N(["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "],["\n Using the tech directly can be dangerous. I hope you know what you're doing.\n See https://github.com/videojs/video.js/issues/2617 for more info.\n "]),xo=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],Oo={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Ao=["tiny","xsmall","small","medium","large","xlarge","huge"],Po={};Ao.forEach((function(t){var e="x"===t.charAt(0)?"x-"+t.substring(1):t;Po[t]="vjs-layout-"+e}));var jo,Io={tiny:210,xsmall:320,small:425,medium:768,large:1440,xlarge:2560,huge:1/0},Lo=(B(Mo,jo=pe),Mo.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),Mo.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Dn[this.id()]=null,jo.prototype.dispose.call(this)},Mo.prototype.createEl=function(){var t=this.tag,e=void 0,n=this.playerElIngest_=t.parentNode&&t.parentNode.hasAttribute&&t.parentNode.hasAttribute("data-vjs-player"),i="video-js"===this.tag.tagName.toLowerCase();n?e=this.el_=t.parentNode:i||(e=this.el_=jo.prototype.createEl.call(this,"div"));var a,s,u=ht(t);if(i){for(e=this.el_=t,t=this.tag=o.createElement("video");e.children.length;)t.appendChild(e.firstChild);at(e,"video-js")||st(e,"video-js"),e.appendChild(t),n=this.playerElIngest_=e,["autoplay","controls","crossOrigin","defaultMuted","defaultPlaybackRate","loop","muted","playbackRate","src","volume"].forEach((function(n){void 0!==e[n]&&(t[n]=e[n])}))}t.setAttribute("tabindex","-1"),u.tabindex="-1",O&&(t.setAttribute("role","application"),u.role="application"),t.removeAttribute("width"),t.removeAttribute("height"),"width"in u&&delete u.width,"height"in u&&delete u.height,Object.getOwnPropertyNames(u).forEach((function(n){"class"===n?(e.className+=" "+u[n],i&&(t.className+=" "+u[n])):(e.setAttribute(n,u[n]),i&&t.setAttribute(n,u[n]))})),t.playerId=t.id,t.id+="_html5_api",t.className="vjs-tech",(t.player=e.player=this).addClass("vjs-paused"),!0!==r.VIDEOJS_NO_DYNAMIC_STYLE&&(this.styleEl_=Yt("vjs-styles-dimensions"),a=Et(".vjs-styles-defaults"),(s=Et("head")).insertBefore(this.styleEl_,a?a.nextSibling:s.firstChild)),this.fill_=!1,this.fluid_=!1,this.width(this.options_.width),this.height(this.options_.height),this.fill(this.options_.fill),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var c=t.getElementsByTagName("a"),l=0;l<c.length;l++){var h=c.item(l);st(h,"vjs-hidden"),h.setAttribute("hidden","hidden")}return t.initNetworkState_=t.networkState,t.parentNode&&!n&&t.parentNode.insertBefore(e,t),ot(t,e),this.children_.unshift(t),this.el_.setAttribute("lang",this.language_),this.el_=e},Mo.prototype.width=function(t){return this.dimension("width",t)},Mo.prototype.height=function(t){return this.dimension("height",t)},Mo.prototype.dimension=function(t,e){var n=t+"_";if(void 0===e)return this[n]||0;if(""===e)return this[n]=void 0,void this.updateStyleEl_();var i=parseFloat(e);isNaN(i)?G.error('Improper value "'+e+'" supplied for for '+t):(this[n]=i,this.updateStyleEl_())},Mo.prototype.fluid=function(t){if(void 0===t)return!!this.fluid_;this.fluid_=!!t,t?(this.addClass("vjs-fluid"),this.fill(!1)):this.removeClass("vjs-fluid"),this.updateStyleEl_()},Mo.prototype.fill=function(t){if(void 0===t)return!!this.fill_;this.fill_=!!t,t?(this.addClass("vjs-fill"),this.fluid(!1)):this.removeClass("vjs-fill")},Mo.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},Mo.prototype.updateStyleEl_=function(){var t,e,n,i;!0!==r.VIDEOJS_NO_DYNAMIC_STYLE?(i=(i=((n=e=t=void 0)!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:0<this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"))[1]/i[0],t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/i:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*i,n=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(n),Kt(this.styleEl_,"\n ."+n+" {\n width: "+t+"px;\n height: "+e+"px;\n }\n\n ."+n+".vjs-fluid {\n padding-top: "+100*i+"%;\n }\n ")):(e="number"==typeof this.width_?this.width_:this.options_.width,n="number"==typeof this.height_?this.height_:this.options_.height,(i=this.tech_&&this.tech_.el())&&(0<=e&&(i.width=e),0<=n&&(i.height=n)))},Mo.prototype.loadTech_=function(t,e){var n=this;this.tech_&&this.unloadTech_();var i=de(t),r=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==i&&this.tag&&(In.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=i,this.isReady_=!1;var o={source:e,autoplay:"string"!=typeof this.autoplay()&&this.autoplay(),nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};if(Pn.names.forEach((function(t){t=Pn[t],o[t.getterName]=n[t.privateName]})),V(o,this.options_[i]),V(o,this.options_[r]),V(o,this.options_[t.toLowerCase()]),this.tag&&(o.tag=this.tag),e&&e.src===this.cache_.src&&0<this.cache_.currentTime&&(o.startTime=this.cache_.currentTime),t=In.getTech(t),!t)throw new Error("No Tech named '"+i+"' exists! '"+i+"' should be registered using videojs.registerTech()'");this.tech_=new t(o),this.tech_.ready(Jt(this,this.handleTechReady_),!0),Le(this.textTracksJson_||[],this.tech_),xo.forEach((function(t){n.on(n.tech_,t,n["handleTech"+de(t)+"_"])})),Object.keys(Oo).forEach((function(t){n.on(n.tech_,t,(function(e){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+Oo[t]+"_"].bind(n),event:e}):n["handleTech"+Oo[t]+"_"](e)}))})),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===i&&this.tag||ot(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},Mo.prototype.unloadTech_=function(){var t=this;Pn.names.forEach((function(e){e=Pn[e],t[e.privateName]=t[e.getterName]()})),this.textTracksJson_=Ie(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},Mo.prototype.tech=function(t){return void 0===t&&G.warn(a(Eo)),this.tech_},Mo.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},Mo.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},Mo.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){G("deleting tag.poster throws in some browsers",t)}},Mo.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay())},Mo.prototype.manualAutoplay_=function(t){var e=this;if(this.tech_&&"string"==typeof t){function n(){var t=e.muted();e.muted(!0);var n=e.play();if(n&&n.then&&n.catch)return n.catch((function(n){e.muted(t)}))}var i=void 0;if("any"===t?(i=this.play())&&i.then&&i.catch&&i.catch(n):i="muted"===t?n():this.play(),i&&i.then&&i.catch)return i.then((function(){e.trigger({type:"autoplay-success",autoplay:t})})).catch((function(n){e.trigger({type:"autoplay-failure",autoplay:t})}))}},Mo.prototype.updateSourceCaches_=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",e=t,n="";"string"!=typeof e&&(e=t.src,n=t.type),this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],e&&!n&&(n=function(t,e){if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var n=t.cache_.sources.filter((function(t){return t.src===e}));if(n.length)return n[0].type;for(var i=t.$$("source"),r=0;r<i.length;r++){var o=i[r];if(o.type&&o.src&&o.src===e)return o.type}return zn(e)}(this,e)),this.cache_.source=fe({},t,{src:e,type:n});n=this.cache_.sources.filter((function(t){return t.src&&t.src===e}));for(var i=[],r=this.$$("source"),o=[],a=0;a<r.length;a++){var s=ht(r[a]);i.push(s),s.src&&s.src===e&&o.push(s.src)}o.length&&!n.length?this.cache_.sources=i:n.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=e},Mo.prototype.handleTechSourceset_=function(t){var e,n,i,r=this;this.changingSrc_||(e=function(t){return r.updateSourceCaches_(t)},n=this.currentSource().src,i=t.src,n&&!/^blob:/.test(n)&&/^blob:/.test(i)&&(this.lastSource_&&(this.lastSource_.tech===i||this.lastSource_.player===n)||(e=function(){})),e(i),t.src||this.tech_.one(["sourceset","loadstart"],(function t(e){"sourceset"!==e.type&&(e=r.techGet("currentSrc"),r.lastSource_.tech=e,r.updateSourceCaches_(e)),r.tech_.off(["sourceset","loadstart"],t)}))),this.lastSource_={player:this.currentSource().src,tech:t.src},this.trigger({src:t.src,type:"sourceset"})},Mo.prototype.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},Mo.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},Mo.prototype.handleTechRateChange_=function(){0<this.tech_.playbackRate()&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach((function(t){return t.callback(t.event)})),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},Mo.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",(function(){return t.removeClass("vjs-waiting")}))},Mo.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},Mo.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},Mo.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},Mo.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},Mo.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},Mo.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(G.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},Mo.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},Mo.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},Mo.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},Mo.prototype.handleTechClick_=function(t){Ct(t)&&this.controls_&&(this.paused()?Ae(this.play()):this.pause())},Mo.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},Mo.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},Mo.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},Mo.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},Mo.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},Mo.prototype.handleStageClick_=function(){this.reportUserActivity()},Mo.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},Mo.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},Mo.prototype.handleTechTextData_=function(){this.trigger("textdata",1<arguments.length?arguments[1]:null)},Mo.prototype.getCache=function(){return this.cache_},Mo.prototype.techCall_=function(t,e){this.ready((function(){if(t in Un)return n=this.middleware_,this.tech_[t](n.reduce(Vn(t),e));if(t in $n)return Nn(this.middleware_,this.tech_,t,e);var n;try{this.tech_&&this.tech_[t](e)}catch(n){throw G(n),n}}),!0)},Mo.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in Fn)return e=this.middleware_,n=this.tech_,e.reduceRight(Vn(t),n[t]());if(t in $n)return Nn(this.middleware_,this.tech_,t);var e,n;try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw G("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw G("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw G(e),e}}},Mo.prototype.play=function(){var t=this,e=this.options_.Promise||r.Promise;return e?new e((function(e){t.play_(e)})):this.play_()},Mo.prototype.play_=function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Ae;this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_?this.changingSrc_||!this.src()&&!this.currentSrc()?(this.playOnLoadstart_=function(){t.playOnLoadstart_=null,e(t.play())},this.one("loadstart",this.playOnLoadstart_)):e(this.techGet_("play")):this.playWaitingForReady_||(this.playWaitingForReady_=!0,this.ready((function(){t.playWaitingForReady_=!1,e(t.play())})))},Mo.prototype.pause=function(){this.techCall_("pause")},Mo.prototype.paused=function(){return!1!==this.techGet_("paused")},Mo.prototype.played=function(){return this.techGet_("played")||ye(0,0)},Mo.prototype.scrubbing=function(t){if(void 0===t)return this.scrubbing_;this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},Mo.prototype.currentTime=function(t){if(void 0===t)return this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime;this.techCall_("setCurrentTime",t=t<0?0:t)},Mo.prototype.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;(t=(t=parseFloat(t))<0?1/0:t)!==this.cache_.duration&&((this.cache_.duration=t)===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},Mo.prototype.remainingTime=function(){return this.duration()-this.currentTime()},Mo.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},Mo.prototype.buffered=function(){var t;return(t=this.techGet_("buffered"))&&t.length?t:ye(0,0)},Mo.prototype.bufferedPercent=function(){return be(this.buffered(),this.duration())},Mo.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration();t=t.end(t.length-1);return e<t?e:t},Mo.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(0<e&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},Mo.prototype.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},Mo.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},Mo.prototype.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},Mo.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},Mo.prototype.isFullscreen=function(t){if(void 0===t)return!!this.isFullscreen_;this.isFullscreen_=!!t},Mo.prototype.requestFullscreen=function(){var t=_e;this.isFullscreen(!0),t.requestFullscreen?(Ut(o,t.fullscreenchange,Jt(this,(function e(n){this.isFullscreen(o[t.fullscreenElement]),!1===this.isFullscreen()&&$t(o,t.fullscreenchange,e),this.trigger("fullscreenchange")}))),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},Mo.prototype.exitFullscreen=function(){var t=_e;this.isFullscreen(!1),t.requestFullscreen?o[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},Mo.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=o.documentElement.style.overflow,Ut(o,"keydown",Jt(this,this.fullWindowOnEscKey)),o.documentElement.style.overflow="hidden",st(o.body,"vjs-full-window"),this.trigger("enterFullWindow")},Mo.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},Mo.prototype.exitFullWindow=function(){this.isFullWindow=!1,$t(o,"keydown",this.fullWindowOnEscKey),o.documentElement.style.overflow=this.docOrigOverflow,ut(o.body,"vjs-full-window"),this.trigger("exitFullWindow")},Mo.prototype.canPlayType=function(t){for(var e,n=0,i=this.options_.techOrder;n<i.length;n++){var r=i[n],o=In.getTech(r);if(o=o||pe.getComponent(r)){if(o.isSupported()&&(e=o.canPlayType(t)))return e}else G.error('The "'+r+'" tech is undefined. Skipped browser support check for that tech.')}return""},Mo.prototype.selectSource=function(t){function e(t,e,n){var i=void 0;return t.some((function(t){return e.some((function(e){if(i=n(t,e))return!0}))})),i}function n(t,e){var n=t[0];if(t[1].canPlaySource(e,r.options_[n.toLowerCase()]))return{source:e,tech:n}}var i,r=this,o=this.options_.techOrder.map((function(t){return[t,In.getTech(t)]})).filter((function(t){var e=t[0];t=t[1];return t?t.isSupported():(G.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}));return(this.options_.sourceOrder?e(t,o,(i=n,function(t,e){return i(e,t)})):e(o,t,n))||!1},Mo.prototype.src=function(t){var e=this;if(void 0===t)return this.cache_.src||"";var n=Wn(t);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),Rn(this,n[0],(function(t,i){var r;return e.middleware_=i,e.cache_.sources=n,e.updateSourceCaches_(t),e.src_(t)?1<n.length?e.src(n.slice(1)):(e.changingSrc_=!1,e.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0),void e.triggerReady()):(r=e.tech_,void i.forEach((function(t){return t.setTech&&t.setTech(r)})))}))):this.setTimeout((function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})}),0)},Mo.prototype.src_=function(t){var e,n,i=this,r=this.selectSource([t]);return!r||(e=r.tech,n=this.techName_,de(e)!==de(n)?(this.changingSrc_=!0,this.loadTech_(r.tech,r.source),this.tech_.ready((function(){i.changingSrc_=!1}))):this.ready((function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1}),!0),!1)},Mo.prototype.load=function(){this.techCall_("load")},Mo.prototype.reset=function(){this.tech_&&this.tech_.clearTracks("text"),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},Mo.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},Mo.prototype.currentSource=function(){return this.cache_.source||{}},Mo.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},Mo.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},Mo.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},Mo.prototype.autoplay=function(t){if(void 0===t)return this.options_.autoplay||!1;var e=void 0;"string"==typeof t&&/(any|play|muted)/.test(t)?(this.options_.autoplay=t,this.manualAutoplay_(t),e=!1):this.options_.autoplay=!!t,e=e||this.options_.autoplay,this.tech_&&this.techCall_("setAutoplay",e)},Mo.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},Mo.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},Mo.prototype.poster=function(t){if(void 0===t)return this.poster_;(t=t||"")!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},Mo.prototype.handleTechPosterChange_=function(){var t;this.poster_&&!this.options_.techCanOverridePoster||!this.tech_||!this.tech_.poster||(t=this.tech_.poster()||"")!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))},Mo.prototype.controls=function(t){if(void 0===t)return!!this.controls_;this.controls_!==(t=!!t)&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},Mo.prototype.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;this.usingNativeControls_!==(t=!!t)&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},Mo.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new Ee(t),this.addClass("vjs-error"),G.error("(CODE:"+this.error_.code+" "+Ee.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},Mo.prototype.reportUserActivity=function(t){this.userActivity_=!0},Mo.prototype.userActive=function(t){if(void 0===t)return this.userActive_;if((t=!!t)!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",(function(t){t.stopPropagation(),t.preventDefault()})),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},Mo.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,i=Jt(this,this.reportUserActivity);this.on("mousedown",(function(){i(),this.clearInterval(t),t=this.setInterval(i,250)})),this.on("mousemove",(function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,i())})),this.on("mouseup",(function(e){i(),this.clearInterval(t)})),this.on("keydown",i),this.on("keyup",i);var r=void 0;this.setInterval((function(){var t;this.userActivity_&&(this.userActivity_=!1,this.userActive(!0),this.clearTimeout(r),(t=this.options_.inactivityTimeout)<=0||(r=this.setTimeout((function(){this.userActivity_||this.userActive(!1)}),t)))}),250)},Mo.prototype.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},Mo.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},Mo.prototype.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},Mo.prototype.addTextTrack=function(t,e,n){if(this.tech_)return this.tech_.addTextTrack(t,e,n)},Mo.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},Mo.prototype.removeRemoteTextTrack=function(){var t=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).track;if(this.tech_)return this.tech_.removeRemoteTextTrack(void 0===t?arguments[0]:t)},Mo.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},Mo.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},Mo.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},Mo.prototype.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},Mo.prototype.languages=function(){return fe(Mo.prototype.options_.languages,this.languages_)},Mo.prototype.toJSON=function(){var t=fe(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var i=e[n];(i=fe(i)).player=void 0,t.tracks[n]=i}return t},Mo.prototype.createModal=function(t,e){var n=this;(e=e||{}).content=t||"";var i=new De(this,e);return this.addChild(i),i.on("dispose",(function(){n.removeChild(i)})),i.open(),i},Mo.prototype.updateCurrentBreakpoint_=function(){if(this.responsive())for(var t=this.currentBreakpoint(),e=this.currentWidth(),n=0;n<Ao.length;n++){var i=Ao[n];if(e<=this.breakpoints_[i]){if(t===i)return;t&&this.removeClass(Po[t]),this.addClass(Po[i]),this.breakpoint_=i;break}}},Mo.prototype.removeCurrentBreakpoint_=function(){var t=this.currentBreakpointClass();this.breakpoint_="",t&&this.removeClass(t)},Mo.prototype.breakpoints=function(t){return void 0===t||(this.breakpoint_="",this.breakpoints_=V({},Io,t),this.updateCurrentBreakpoint_()),V(this.breakpoints_)},Mo.prototype.responsive=function(t){return void 0===t?this.responsive_:(t=Boolean(t))!==this.responsive_?((this.responsive_=t)?(this.on("playerresize",this.updateCurrentBreakpoint_),this.updateCurrentBreakpoint_()):(this.off("playerresize",this.updateCurrentBreakpoint_),this.removeCurrentBreakpoint_()),t):void 0},Mo.prototype.currentBreakpoint=function(){return this.breakpoint_},Mo.prototype.currentBreakpointClass=function(){return Po[this.breakpoint_]||""},Mo.getTagSettings=function(t){var e,n={sources:[],tracks:[]},i=ht(t),r=i["data-setup"];if(at(t,"vjs-fill")&&(i.fill=!0),at(t,"vjs-fluid")&&(i.fluid=!0),null!==r&&(r=(e=s(r||"{}"))[0],e=e[1],r&&G.error(r),V(i,e)),V(n,i),t.hasChildNodes())for(var o=t.childNodes,a=0,u=o.length;a<u;a++){var c=o[a],l=c.nodeName.toLowerCase();"source"===l?n.sources.push(ht(c)):"track"===l&&n.tracks.push(ht(c))}return n},Mo.prototype.flexNotSupported_=function(){var t=o.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},Mo);function Mo(t,e,n){if(D(this,Mo),t.id=t.id||e.id||"vjs_video_"+At++,(e=V(Mo.getTagSettings(t),e)).initChildren=!1,e.createEl=!1,e.evented=!1,e.reportTouchActivity=!1,!e.language)if("function"==typeof t.closest){var i=t.closest("[lang]");i&&i.getAttribute&&(e.language=i.getAttribute("lang"))}else for(var r=t;r&&1===r.nodeType;){if(ht(r).hasOwnProperty("lang")){e.language=r.getAttribute("lang");break}r=r.parentNode}var o;i=R(this,jo.call(this,null,e,n));if(i.log=X(i.id_),i.isPosterFromTech_=!1,i.queuedCallbacks_=[],i.isReady_=!1,i.hasStarted_=!1,i.userActive_=!1,!i.options_||!i.options_.techOrder||!i.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");i.tag=t,i.tagAttributes=t&&ht(t),i.language(i.options_.language),e.languages?(o={},Object.getOwnPropertyNames(e.languages).forEach((function(t){o[t.toLowerCase()]=e.languages[t]})),i.languages_=o):i.languages_=Mo.prototype.options_.languages,i.cache_={},i.poster_=e.poster||"",i.controls_=!!e.controls,i.cache_.lastVolume=1,t.controls=!1,t.removeAttribute("controls"),t.hasAttribute("autoplay")?i.options_.autoplay=!0:i.autoplay(i.options_.autoplay),i.scrubbing_=!1,i.el_=i.createEl(),i.cache_.lastPlaybackRate=i.defaultPlaybackRate(),ce(i,{eventBusKey:"el_"});var a;n=fe(i.options_);return e.plugins&&(a=e.plugins,Object.keys(a).forEach((function(t){if("function"!=typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](a[t])}),i)),i.options_.playerOptions=n,i.middleware_=[],i.initChildren(),i.isAudio("audio"===t.nodeName.toLowerCase()),i.controls()?i.addClass("vjs-controls-enabled"):i.addClass("vjs-controls-disabled"),i.el_.setAttribute("role","region"),i.isAudio()?i.el_.setAttribute("aria-label",i.localize("Audio Player")):i.el_.setAttribute("aria-label",i.localize("Video Player")),i.isAudio()&&i.addClass("vjs-audio"),i.flexNotSupported_()&&i.addClass("vjs-no-flex"),v||i.addClass("vjs-workinghover"),Mo.players[i.id_]=i,t=l.split(".")[0],i.addClass("vjs-v"+t),i.userActive(!0),i.reportUserActivity(),i.one("play",i.listenForUserActivity_),i.on("fullscreenchange",i.handleFullscreenChange_),i.on("stageclick",i.handleStageClick_),i.breakpoints(i.options_.breakpoints),i.responsive(i.options_.responsive),i.changingSrc_=!1,i.playWaitingForReady_=!1,i.playOnLoadstart_=null,i}function Do(t){return Vo.hasOwnProperty(t)}function Bo(t){return Do(t)?Vo[t]:void 0}function Ro(t,e,n){n=(n?"before":"")+"pluginsetup",t.trigger(n,e),t.trigger(n+":"+e.name,e)}function No(t,e){function n(){Ro(this,{name:t,plugin:e,instance:null},!0);var n=e.apply(this,arguments);return Ho(this,t),Ro(this,{name:t,plugin:e,instance:n}),n}return Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function Fo(t,e){return e.prototype.name=t,function(){Ro(this,{name:t,plugin:e,instance:null},!0);for(var n=arguments.length,i=Array(n),r=0;r<n;r++)i[r]=arguments[r];var o=new(Function.prototype.bind.apply(e,[null].concat([this].concat(i))));return this[t]=function(){return o},Ro(this,o.getEventHash()),o}}Pn.names.forEach((function(t){var e=Pn[t];Lo.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}})),Lo.players={},N=r.navigator,Lo.prototype.options_={techOrder:In.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:N&&(N.languages&&N.languages[0]||N.userLanguage||N.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media.",breakpoints:{},responsive:!1},x||Lo.prototype.options_.children.push("resizeManager"),["ended","seeking","seekable","networkState","readyState"].forEach((function(t){Lo.prototype[t]=function(){return this.techGet_(t)}})),xo.forEach((function(t){Lo.prototype["handleTech"+de(t)+"_"]=function(){return this.trigger(t)}})),pe.registerComponent("Player",Lo);var Uo="plugin",$o="activePlugins_",Vo={},Ho=function(t,e){t[$o]=t[$o]||{},t[$o][e]=!0},zo=(Wo.prototype.version=function(){return this.constructor.VERSION},Wo.prototype.getEventHash=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},Wo.prototype.trigger=function(t){return Vt(this.eventBusEl_,t,this.getEventHash(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}))},Wo.prototype.handleStateChanged=function(t){},Wo.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[$o][t]=!1,this.player=this.state=null,e[t]=Fo(t,Vo[t])},Wo.isBasic=function(t){return t="string"==typeof t?Bo(t):t,"function"==typeof t&&!Wo.prototype.isPrototypeOf(t.prototype)},Wo.registerPlugin=function(t,e){if("string"!=typeof t)throw new Error('Illegal plugin name, "'+t+'", must be a string, was '+(void 0===t?"undefined":M(t))+".");if(Do(t))G.warn('A plugin named "'+t+'" already exists. You may want to avoid re-registering plugins!');else if(Lo.prototype.hasOwnProperty(t))throw new Error('Illegal plugin name, "'+t+'", cannot share a name with an existing player method!');if("function"!=typeof e)throw new Error('Illegal plugin for "'+t+'", must be a function, was '+(void 0===e?"undefined":M(e))+".");return Vo[t]=e,t!==Uo&&(Wo.isBasic(e)?Lo.prototype[t]=No(t,e):Lo.prototype[t]=Fo(t,e)),e},Wo.deregisterPlugin=function(t){if(t===Uo)throw new Error("Cannot de-register base plugin.");Do(t)&&(delete Vo[t],delete Lo.prototype[t])},Wo.getPlugins=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:Object.keys(Vo),e=void 0;return t.forEach((function(t){var n=Bo(t);n&&((e=e||{})[t]=n)})),e},Wo.getPluginVersion=function(t){return t=Bo(t),t&&t.VERSION||""},Wo);function Wo(t){if(D(this,Wo),this.constructor===Wo)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=t,ce(this),delete this.trigger,he(this,this.constructor.defaultState),Ho(t,this.name),this.dispose=Jt(this,this.dispose),t.on("dispose",this.dispose)}zo.getPlugin=Bo,zo.BASE_PLUGIN_NAME=Uo,zo.registerPlugin(Uo,zo),Lo.prototype.usingPlugin=function(t){return!!this[$o]&&!0===this[$o][t]},Lo.prototype.hasPlugin=function(t){return!!Do(t)},"undefined"==typeof HTMLVideoElement&&Z()&&(o.createElement("video"),o.createElement("audio"),o.createElement("track"),o.createElement("video-js"));var qo=function(t){return 0===t.indexOf("#")?t.slice(1):t};function Go(t,e,n){if(r=Go.getPlayer(t))return e&&G.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"==typeof t?Et("#"+qo(t)):t;if(!tt(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");o.body.contains(i)||G.warn("The element supplied is not included in the DOM"),e=e||{},Go.hooks("beforesetup").forEach((function(t){t=t(i,fe(e)),H(t)&&!Array.isArray(t)?e=fe(e,t):G.error("please return an object in beforesetup hooks")}));var r=new(pe.getComponent("Player"))(i,e,n);return Go.hooks("setup").forEach((function(t){return t(r)})),r}Go.hooks_={},Go.hooks=function(t,e){return Go.hooks_[t]=Go.hooks_[t]||[],e&&(Go.hooks_[t]=Go.hooks_[t].concat(e)),Go.hooks_[t]},Go.hook=function(t,e){Go.hooks(t,e)},Go.hookOnce=function(t,e){Go.hooks(t,[].concat(e).map((function(e){return function n(){return Go.removeHook(t,n),e.apply(void 0,arguments)}})))},Go.removeHook=function(t,e){return e=Go.hooks(t).indexOf(e),!(e<=-1)&&(Go.hooks_[t]=Go.hooks_[t].slice(),Go.hooks_[t].splice(e,1),!0)},!0!==r.VIDEOJS_NO_DYNAMIC_STYLE&&Z()&&((B=Et(".vjs-styles-defaults"))||(B=Yt("vjs-styles-defaults"),(N=Et("head"))&&N.insertBefore(B,N.firstChild),Kt(B,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n "))),Xt(1,Go),Go.VERSION=l,Go.options=Lo.prototype.options_,Go.getPlayers=function(){return Lo.players},Go.getPlayer=function(t){var e=Lo.players,n=void 0;if("string"==typeof t){var i=qo(t),r=e[i];if(r)return r;n=Et("#"+i)}else n=t;if(tt(n)&&(t=n.player,n=n.playerId,t||e[n]))return t||e[n]},Go.getAllPlayers=function(){return Object.keys(Lo.players).map((function(t){return Lo.players[t]})).filter(Boolean)},Go.players=Lo.players,Go.getComponent=pe.getComponent,Go.registerComponent=function(t,e){In.isTech(e)&&G.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),pe.registerComponent.call(pe,t,e)},Go.getTech=In.getTech,Go.registerTech=In.registerTech,Go.use=function(t,e){Mn[t]=Mn[t]||[],Mn[t].push(e)},!x&&Object.defineProperty?(Object.defineProperty(Go,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Go.middleware,"TERMINATOR",{value:Bn,writeable:!1,enumerable:!0})):Go.middleware={TERMINATOR:Bn},Go.browser=L,Go.TOUCH_ENABLED=j,Go.extend=function(t){var e,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=function(){t.apply(this,arguments)},r={};for(e in"object"===(void 0===n?"undefined":M(n))?(n.constructor!==Object.prototype.constructor&&(i=n.constructor),r=n):"function"==typeof n&&(i=n),function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+(void 0===e?"undefined":M(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)}(i,t),r)r.hasOwnProperty(e)&&(i.prototype[e]=r[e]);return i},Go.mergeOptions=fe,Go.bind=Jt,Go.registerPlugin=zo.registerPlugin,Go.deregisterPlugin=zo.deregisterPlugin,Go.plugin=function(t,e){return G.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),zo.registerPlugin(t,e)},Go.getPlugins=zo.getPlugins,Go.getPlugin=zo.getPlugin,Go.getPluginVersion=zo.getPluginVersion,Go.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),Go.options.languages=fe(Go.options.languages,((n={})[t]=e,n)),Go.options.languages[t]},Go.log=G,Go.createLogger=X,Go.createTimeRange=Go.createTimeRanges=ye,Go.formatTime=yi,Go.setFormatTime=function(t){vi=t},Go.resetFormatTime=function(){vi=mi},Go.parseUrl=un,Go.isCrossOrigin=fn,Go.EventTarget=Qt,Go.on=Ut,Go.one=Ht,Go.off=$t,Go.trigger=Vt,Go.xhr=u,Go.TextTrack=mn,Go.AudioTrack=f,Go.VideoTrack=Tn,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach((function(t){Go[t]=function(){return G.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),Ot[t].apply(null,arguments)}})),Go.computedStyle=Y,Go.dom=Ot,Go.url=pn,t.exports=Go},"3ec1":function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("01f7")},4071:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("7bf0")},"416c":function(t,e,n){n("28e4")("Map")},"417e":function(t,e,n){"use strict";var i=n("d282"),r=n("0a26");n=Object(i.a)("checkbox"),i=n[0],n=n[1];e.a=i({mixins:[Object(r.a)({bem:n,role:"checkbox",parent:"vanCheckbox"})],computed:{checked:{get:function(){return this.parent?-1!==this.parent.value.indexOf(this.name):this.value},set:function(t){this.parent?this.setParentValue(t):this.$emit("input",t)}}},watch:{value:function(t){this.$emit("change",t)}},methods:{toggle:function(t){var e=this;void 0===t&&(t=!this.checked),clearTimeout(this.toggleTask),this.toggleTask=setTimeout((function(){e.checked=t}))},setParentValue:function(t){var e=this.parent,n=e.value.slice();t?e.max&&n.length>=e.max||-1===n.indexOf(this.name)&&(n.push(this.name),e.$emit("input",n)):-1!==(t=n.indexOf(this.name))&&(n.splice(t,1),e.$emit("input",n))}}})},"41a0":function(t,e,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=i(a,{next:r(1,n)}),o(t,e+" Iterator")}},"423e":function(t,e,n){"use strict";function i(t){var e=31&t[1];return e<<=8,e|t[2]}function r(t){return!!(64&t[1])}function o(t){var e=0;return 1<(48&t[3])>>>4&&(e+=t[4]+1),e}function a(t){switch(t){case 5:return"slice_layer_without_partitioning_rbsp_idr";case 6:return"sei_rbsp";case 7:return"seq_parameter_set_rbsp";case 8:return"pic_parameter_set_rbsp";case 9:return"access_unit_delimiter_rbsp";default:return null}}var s=n("ae75");t.exports={parseType:function(t,e){return t=i(t),0===t?"pat":t===e?"pmt":e?"pes":null},parsePat:function(t){var e=r(t),n=4+o(t);return e&&(n+=t[n]+1),(31&t[n+10])<<8|t[n+11]},parsePmt:function(t){var e={},n=r(t),i=4+o(t);if(n&&(i+=t[i]+1),1&t[i+5]){for(var a=3+((15&t[i+1])<<8|t[i+2])-4,s=12+((15&t[i+10])<<8|t[i+11]);s<a;){var u=i+s;e[(31&t[u+1])<<8|t[u+2]]=t[u],s+=5+((15&t[u+3])<<8|t[u+4])}return e}},parsePayloadUnitStartIndicator:r,parsePesType:function(t,e){switch(e[i(t)]){case s.H264_STREAM_TYPE:return"video";case s.ADTS_STREAM_TYPE:return"audio";case s.METADATA_STREAM_TYPE:return"timed-metadata";default:return null}},parsePesTime:function(t){if(!r(t))return null;var e=4+o(t);if(e>=t.byteLength)return null;var n=null,i=t[e+7];return 192&i&&((n={}).pts=(14&t[e+9])<<27|(255&t[e+10])<<20|(254&t[e+11])<<12|(255&t[e+12])<<5|(254&t[e+13])>>>3,n.pts*=4,n.pts+=(6&t[e+13])>>>1,n.dts=n.pts,64&i&&(n.dts=(14&t[e+14])<<27|(255&t[e+15])<<20|(254&t[e+16])<<12|(255&t[e+17])<<5|(254&t[e+18])>>>3,n.dts*=4,n.dts+=(6&t[e+18])>>>1)),n},videoPacketContainsKeyFrame:function(t){for(var e=4+o(t),n=t.subarray(e),i=0,r=0,s=!1;r<n.byteLength-3;r++)if(1===n[r+2]){i=r+5;break}for(;i<n.byteLength;)switch(n[i]){case 0:if(0!==n[i-1]){i+=2;break}if(0!==n[i-2]){i++;break}for(r+3!==i-2&&"slice_layer_without_partitioning_rbsp_idr"===a(31&n[r+3])&&(s=!0);1!==n[++i]&&i<n.length;);r=i-2,i+=3;break;case 1:if(0!==n[i-1]||0!==n[i-2]){i+=3;break}"slice_layer_without_partitioning_rbsp_idr"===a(31&n[r+3])&&(s=!0),r=i-2,i+=3;break;default:i+=3}return n=n.subarray(r),i-=r,r=0,!!(n&&3<n.byteLength&&"slice_layer_without_partitioning_rbsp_idr"===a(31&n[r+3]))||s}}},4276:function(t,e,n){var i=n("5ca1"),r=n("2d95");i(i.S,"Error",{isError:function(t){return"Error"===r(t)}})},4329:function(t,e,n){"use strict";function i(){this.init=function(){var t={};this.on=function(e,n){t[e]||(t[e]=[]),t[e]=t[e].concat(n)},this.off=function(e,n){return!!t[e]&&(n=t[e].indexOf(n),t[e]=t[e].slice(),t[e].splice(n,1),-1<n)},this.trigger=function(e){var n,i,r,o=t[e];if(o)if(2===arguments.length)for(i=o.length,n=0;n<i;++n)o[n].call(this,arguments[1]);else{for(r=[],n=arguments.length,n=1;n<arguments.length;++n)r.push(arguments[n]);for(i=o.length,n=0;n<i;++n)o[n].apply(this,r)}},this.dispose=function(){t={}}}}i.prototype.pipe=function(t){return this.on("data",(function(e){t.push(e)})),this.on("done",(function(e){t.flush(e)})),t},i.prototype.push=function(t){this.trigger("data",t)},i.prototype.flush=function(t){this.trigger("done",t)},t.exports=i},"433b":function(t,e,n){"use strict";n("3cd0"),n("1812"),n("1a44"),n("acc2"),n("5e5e"),n("25bb"),n("7f98")},4379:function(t,e,n){var i=n("4a59");t.exports=function(t,e){var n=[];return i(t,!1,n.push,n,e),n}},4391:function(t,e,n){"use strict";n("3cd0"),n("25bb"),n("dc22")},4491:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}Object.defineProperty(e,"__esModule",{value:!0});var r=(function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(o,[{key:"on",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)}},{key:"off",value:function(t,e){var n;return!!this.listeners[t]&&(n=this.listeners[t].indexOf(e),this.listeners[t].splice(n,1),-1<n)}},{key:"trigger",value:function(t){var e,n=void 0,i=void 0,r=void 0;if(n=this.listeners[t])if(2===arguments.length)for(r=n.length,i=0;i<r;++i)n[i].call(this,arguments[1]);else for(e=Array.prototype.slice.call(arguments,1),r=n.length,i=0;i<r;++i)n[i].apply(this,e)}},{key:"dispose",value:function(){this.listeners={}}},{key:"pipe",value:function(t){this.on("data",(function(e){t.push(e)}))}}]),o);function o(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.listeners={}}e.default=r,t.exports=e.default},"44b8":function(t,e,n){var i=n("23c6"),r=n("4379");t.exports=function(t){return function(){if(i(this)!=t)throw TypeError(t+"#toJSON isn't generic");return r(this)}}},"44bf":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("a142")),a=n("ea8e"),s=n("ad06"),u=(n=Object(i.a)("image"),i=n[0],n[1]);e.a=i({props:{src:String,fit:String,alt:String,round:Boolean,width:[Number,String],height:[Number,String],radius:[Number,String],lazyLoad:Boolean,iconPrefix:String,showError:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},errorIcon:{type:String,default:"photo-fail"},loadingIcon:{type:String,default:"photo"}},data:function(){return{loading:!0,error:!1}},watch:{src:function(){this.loading=!0,this.error=!1}},computed:{style:function(){var t={};return Object(o.c)(this.width)&&(t.width=Object(a.a)(this.width)),Object(o.c)(this.height)&&(t.height=Object(a.a)(this.height)),Object(o.c)(this.radius)&&(t.overflow="hidden",t.borderRadius=Object(a.a)(this.radius)),t}},created:function(){var t=this.$Lazyload;t&&o.b&&(t.$on("loaded",this.onLazyLoaded),t.$on("error",this.onLazyLoadError))},beforeDestroy:function(){var t=this.$Lazyload;t&&(t.$off("loaded",this.onLazyLoaded),t.$off("error",this.onLazyLoadError))},methods:{onLoad:function(t){this.loading=!1,this.$emit("load",t)},onLazyLoaded:function(t){t.el===this.$refs.image&&this.loading&&this.onLoad()},onLazyLoadError:function(t){t.el!==this.$refs.image||this.error||this.onError()},onError:function(t){this.error=!0,this.loading=!1,this.$emit("error",t)},onClick:function(t){this.$emit("click",t)},genPlaceholder:function(){var t=this.$createElement;return this.loading&&this.showLoading?t("div",{class:u("loading")},[this.slots("loading")||t(s.a,{attrs:{name:this.loadingIcon,classPrefix:this.iconPrefix},class:u("loading-icon")})]):this.error&&this.showError?t("div",{class:u("error")},[this.slots("error")||t(s.a,{attrs:{name:this.errorIcon,classPrefix:this.iconPrefix},class:u("error-icon")})]):void 0},genImage:function(){var t=this.$createElement,e={class:u("img"),attrs:{alt:this.alt},style:{objectFit:this.fit}};if(!this.error)return this.lazyLoad?t("img",r()([{ref:"image",directives:[{name:"lazy",value:this.src}]},e])):t("img",r()([{attrs:{src:this.src},on:{load:this.onLoad,error:this.onError}},e]))}},render:function(){return(0,arguments[0])("div",{class:u({round:this.round}),style:this.style,on:{click:this.onClick}},[this.genImage(),this.genPlaceholder(),this.slots()])}})},4504:function(t,e,n){"use strict";var i=n("5ca1"),r=n("4bf8"),o=n("d8e8"),a=n("86cc");n("9e1e")&&i(i.P+n("c5b4"),"Object",{__defineGetter__:function(t,e){a.f(r(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},"451f":function(t,e,n){},"456d":function(t,e,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(t){return r(i(t))}}))},4588:function(t,e){var n=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?i:n)(t)}},4598:function(t,e,n){"use strict";(function(t){n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l}));var i=n("a142"),r=Date.now(),o=i.g?t:window,a=o.requestAnimationFrame||function(t){var e=Date.now(),n=Math.max(0,16-(e-r));t=setTimeout(t,n);return r=e+n,t},s=o.cancelAnimationFrame||o.clearTimeout;function u(t){return a.call(o,t)}function c(t){u((function(){u(t)}))}function l(t){s.call(o,t)}}).call(this,n("c8ba"))},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"466b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t},r=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t};function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a=c(n("fc85")),s=c(n("ddac")),u=c(n("59a0"));function c(t){return t&&t.__esModule?t:{default:t}}function l(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this));t.lineStream=new s.default,t.parseStream=new u.default,t.lineStream.pipe(t.parseStream);var e=t,n=[],r={},o=void 0,a=void 0,c={AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},h=0;return t.manifest={allowCache:!0,discontinuityStarts:[],segments:[]},t.parseStream.on("data",(function(t){var s=void 0,u=void 0;({tag:function(){({"allow-cache":function(){this.manifest.allowCache=t.allowed,"allowed"in t||(this.trigger("info",{message:"defaulting allowCache to YES"}),this.manifest.allowCache=!0)},byterange:function(){var e={};"length"in t&&((r.byterange=e).length=t.length,"offset"in t||(this.trigger("info",{message:"defaulting offset to zero"}),t.offset=0)),"offset"in t&&((r.byterange=e).offset=t.offset)},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"})),0<t.duration&&(r.duration=t.duration),0===t.duration&&(r.duration=.01,this.trigger("info",{message:"updating zero segment duration to a small value"})),this.manifest.segments=n},key:function(){t.attributes?"NONE"!==t.attributes.METHOD?t.attributes.URI?(t.attributes.METHOD||this.trigger("warn",{message:"defaulting key method to AES-128"}),a={method:t.attributes.METHOD||"AES-128",uri:t.attributes.URI},void 0!==t.attributes.IV&&(a.iv=t.attributes.IV)):this.trigger("warn",{message:"ignoring key declaration without URI"}):a=null:this.trigger("warn",{message:"ignoring key declaration without attribute list"})},"media-sequence":function(){isFinite(t.number)?this.manifest.mediaSequence=t.number:this.trigger("warn",{message:"ignoring invalid media sequence: "+t.number})},"discontinuity-sequence":function(){isFinite(t.number)?(this.manifest.discontinuitySequence=t.number,h=t.number):this.trigger("warn",{message:"ignoring invalid discontinuity sequence: "+t.number})},"playlist-type":function(){/VOD|EVENT/.test(t.playlistType)?this.manifest.playlistType=t.playlistType:this.trigger("warn",{message:"ignoring unknown playlist type: "+t.playlist})},map:function(){o={},t.uri&&(o.uri=t.uri),t.byterange&&(o.byterange=t.byterange)},"stream-inf":function(){this.manifest.playlists=n,this.manifest.mediaGroups=this.manifest.mediaGroups||c,t.attributes?(r.attributes||(r.attributes={}),i(r.attributes,t.attributes)):this.trigger("warn",{message:"ignoring empty stream-inf attributes"})},media:function(){var e;this.manifest.mediaGroups=this.manifest.mediaGroups||c,t.attributes&&t.attributes.TYPE&&t.attributes["GROUP-ID"]&&t.attributes.NAME?((e=this.manifest.mediaGroups[t.attributes.TYPE])[t.attributes["GROUP-ID"]]=e[t.attributes["GROUP-ID"]]||{},s=e[t.attributes["GROUP-ID"]],(u={default:/yes/i.test(t.attributes.DEFAULT)}).default?u.autoselect=!0:u.autoselect=/yes/i.test(t.attributes.AUTOSELECT),t.attributes.LANGUAGE&&(u.language=t.attributes.LANGUAGE),t.attributes.URI&&(u.uri=t.attributes.URI),t.attributes["INSTREAM-ID"]&&(u.instreamId=t.attributes["INSTREAM-ID"]),t.attributes.CHARACTERISTICS&&(u.characteristics=t.attributes.CHARACTERISTICS),t.attributes.FORCED&&(u.forced=/yes/i.test(t.attributes.FORCED)),s[t.attributes.NAME]=u):this.trigger("warn",{message:"ignoring incomplete or missing media group"})},discontinuity:function(){h+=1,r.discontinuity=!0,this.manifest.discontinuityStarts.push(n.length)},"program-date-time":function(){this.manifest.dateTimeString=t.dateTimeString,this.manifest.dateTimeObject=t.dateTimeObject},targetduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid target duration: "+t.duration}):this.manifest.targetDuration=t.duration},totalduration:function(){!isFinite(t.duration)||t.duration<0?this.trigger("warn",{message:"ignoring invalid total duration: "+t.duration}):this.manifest.totalDuration=t.duration},"cue-out":function(){r.cueOut=t.data},"cue-out-cont":function(){r.cueOutCont=t.data},"cue-in":function(){r.cueIn=t.data}}[t.tagType]||function(){}).call(e)},uri:function(){r.uri=t.uri,n.push(r),!this.manifest.targetDuration||"duration"in r||(this.trigger("warn",{message:"defaulting segment duration to the target duration"}),r.duration=this.manifest.targetDuration),a&&(r.key=a),r.timeline=h,o&&(r.map=o),r={}},comment:function(){}})[t.type].call(e)})),t}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(l,a.default),r(l,[{key:"push",value:function(t){this.lineStream.push(t)}},{key:"end",value:function(){this.lineStream.push("\n")}}]),r=l,e.default=r},"46af":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=n("3d33"),o=(i=r)&&i.__esModule?i:{default:i};e.default=function(){return function t(e,n){e=(0,r.mergeOptions)({timeout:45e3},e);var i=t.beforeRequest||o.default.Hls.xhr.beforeRequest;!i||"function"!=typeof i||(i=i(e))&&(e=i);var a=(0,r.xhr)(e,(function(t,e){var i=a.response;!t&&i&&(a.responseTime=Date.now(),a.roundTripTime=a.responseTime-a.requestTime,a.bytesReceived=i.byteLength||i.length,a.bandwidth||(a.bandwidth=Math.floor(a.bytesReceived/a.roundTripTime*8*1e3))),t&&"ETIMEDOUT"===t.code&&(a.timedout=!0),t||a.aborted||200===e.statusCode||206===e.statusCode||0===e.statusCode||(t=new Error("XHR Failed with a response of: "+(a&&(i||a.responseText)))),n(t,a)})),s=a.abort;return a.abort=function(){return a.aborted=!0,s.apply(a,arguments)},a.uri=e.uri,a.requestTime=Date.now(),a}},t.exports=e.default},4704:function(t,e,n){var i=n("5ca1");i(i.P+i.R,"Map",{toJSON:n("44b8")("Map")})},"473d":function(t,e,n){"use strict";var i=n("4598"),r=n("bad1"),o=n("a8c1"),a=n("d282"),s=Object(a.a)("calendar"),u=s[0],c=s[1],l=s[2];function h(t,e){var n=t.getFullYear(),i=e.getFullYear();t=t.getMonth(),e=e.getMonth();return n===i?t===e?0:e<t?1:-1:i<n?1:-1}function d(t,e){var n=h(t,e);return 0!==n?n:(t=t.getDate(),e=e.getDate(),t===e?0:e<t?1:-1)}function f(t,e){return(t=new Date(t)).setDate(t.getDate()+e),t}function p(t){return f(t,1)}function g(t){return new Date(t)}function m(t){return Array.isArray(t)?t.map((function(t){return null===t?t:g(t)})):g(t)}var v=n("e41f"),y=n("b650"),b=n("d399"),_=n("ea8e"),T=n("96b0"),S=(0,Object(a.a)("calendar-month")[0])({props:{date:Date,type:String,color:String,minDate:Date,maxDate:Date,showMark:Boolean,rowHeight:[Number,String],formatter:Function,lazyRender:Boolean,currentDate:[Date,Array],allowSameDay:Boolean,showSubtitle:Boolean,showMonthTitle:Boolean,firstDayOfWeek:Number},data:function(){return{visible:!1}},computed:{title:function(){return t=this.date,l("monthTitle",t.getFullYear(),t.getMonth()+1);var t},rowHeightWithUnit:function(){return Object(_.a)(this.rowHeight)},offset:function(){var t=this.firstDayOfWeek,e=this.date.getDay();return t?(e+7-this.firstDayOfWeek)%7:e},totalDay:function(){return Object(T.a)(this.date.getFullYear(),this.date.getMonth()+1)},shouldRender:function(){return this.visible||!this.lazyRender},placeholders:function(){for(var t=[],e=Math.ceil((this.totalDay+this.offset)/7),n=1;n<=e;n++)t.push({type:"placeholder"});return t},days:function(){for(var t=[],e=this.date.getFullYear(),n=this.date.getMonth(),i=1;i<=this.totalDay;i++){var r=new Date(e,n,i),o=this.getDayType(r);o={date:r,type:o,text:i,bottomInfo:this.getBottomInfo(o)};this.formatter&&(o=this.formatter(o)),t.push(o)}return t}},methods:{getHeight:function(){return this.height||(this.height=this.$el.getBoundingClientRect().height),this.height},scrollIntoView:function(t){var e=this.$refs,n=e.days;e=e.month,e=(this.showSubtitle?n:e).getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop;Object(o.h)(t,e)},getMultipleDayType:function(t){function e(t){return n.currentDate.some((function(e){return 0===d(e,t)}))}var n=this;if(e(t)){var i=f(t,-1);t=p(t),i=e(i),t=e(t);return i&&t?"multiple-middle":i?"end":t?"start":"multiple-selected"}return""},getRangeDayType:function(t){var e=this.currentDate,n=e[0];e=e[1];return n?(n=d(t,n),e?(e=d(t,e),0===n&&0===e&&this.allowSameDay?"start-end":0===n?"start":0===e?"end":0<n&&e<0?"middle":void 0):0===n?"start":""):""},getDayType:function(t){var e=this.type,n=this.minDate,i=this.maxDate,r=this.currentDate;return d(t,n)<0||0<d(t,i)?"disabled":null!==r?"single"===e?0===d(t,r)?"selected":"":"multiple"===e?this.getMultipleDayType(t):"range"===e?this.getRangeDayType(t):void 0:void 0},getBottomInfo:function(t){if("range"===this.type)return"start"===t||"end"===t?l(t):"start-end"===t?l("startEnd"):void 0},getDayStyle:function(t,e){var n={height:this.rowHeightWithUnit};return"placeholder"===t?n.width="100%":(0===e&&(n.marginLeft=100*this.offset/7+"%"),this.color&&("start"===t||"end"===t||"start-end"===t||"multiple-selected"===t||"multiple-middle"===t?n.background=this.color:"middle"===t&&(n.color=this.color))),n},genTitle:function(){var t=this.$createElement;if(this.showMonthTitle)return t("div",{class:c("month-title")},[this.title])},genMark:function(){var t=this.$createElement;if(this.showMark&&this.shouldRender)return t("div",{class:c("month-mark")},[this.date.getMonth()+1])},genDays:function(){var t=this.$createElement,e=this.shouldRender?this.days:this.placeholders;return t("div",{ref:"days",attrs:{role:"grid"},class:c("days")},[this.genMark(),e.map(this.genDay)])},genTopInfo:function(t){var e=this.$createElement,n=this.$scopedSlots["top-info"];if(t.topInfo||n)return e("div",{class:c("top-info")},[n?n(t):t.topInfo])},genBottomInfo:function(t){var e=this.$createElement,n=this.$scopedSlots["bottom-info"];if(t.bottomInfo||n)return e("div",{class:c("bottom-info")},[n?n(t):t.bottomInfo])},genDay:function(t,e){var n=this,i=this.$createElement,r=t.type,o=this.getDayStyle(r,e),a="disabled"===r;e=function(){a||n.$emit("click",t)};return"selected"===r?i("div",{attrs:{role:"gridcell",tabindex:-1},style:o,class:[c("day"),t.className],on:{click:e}},[i("div",{class:c("selected-day"),style:{width:this.rowHeightWithUnit,height:this.rowHeightWithUnit,background:this.color}},[this.genTopInfo(t),t.text,this.genBottomInfo(t)])]):i("div",{attrs:{role:"gridcell",tabindex:a?null:-1},style:o,class:[c("day",r),t.className],on:{click:e}},[this.genTopInfo(t),t.text,this.genBottomInfo(t)])}},render:function(){return(0,arguments[0])("div",{class:c("month"),ref:"month"},[this.genTitle(),this.genDays()])}}),w=(0,Object(a.a)("calendar-header")[0])({props:{title:String,subtitle:String,showTitle:Boolean,showSubtitle:Boolean,firstDayOfWeek:Number},methods:{genTitle:function(){var t=this.$createElement;if(this.showTitle){var e=this.slots("title")||this.title||l("title");return t("div",{class:c("header-title")},[e])}},genSubtitle:function(){var t=this.$createElement;if(this.showSubtitle)return t("div",{class:c("header-subtitle")},[this.subtitle])},genWeekDays:function(){var t=this.$createElement,e=l("weekdays"),n=this.firstDayOfWeek;n=[].concat(e.slice(n,7),e.slice(0,n));return t("div",{class:c("weekdays")},[n.map((function(e){return t("span",{class:c("weekday")},[e])}))])}},render:function(){return(0,arguments[0])("div",{class:c("header")},[this.genTitle(),this.genSubtitle(),this.genWeekDays()])}});e.a=u({props:{title:String,color:String,value:Boolean,readonly:Boolean,formatter:Function,rowHeight:[Number,String],confirmText:String,rangePrompt:String,defaultDate:[Date,Array],getContainer:[String,Function],allowSameDay:Boolean,confirmDisabledText:String,type:{type:String,default:"single"},round:{type:Boolean,default:!0},position:{type:String,default:"bottom"},poppable:{type:Boolean,default:!0},maxRange:{type:[Number,String],default:null},lazyRender:{type:Boolean,default:!0},showMark:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showSubtitle:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0},minDate:{type:Date,validator:r.a,default:function(){return new Date}},maxDate:{type:Date,validator:r.a,default:function(){var t=new Date;return new Date(t.getFullYear(),t.getMonth()+6,t.getDate())}},firstDayOfWeek:{type:[Number,String],default:0,validator:function(t){return 0<=t&&t<=6}}},data:function(){return{subtitle:"",currentDate:this.getInitialDate()}},computed:{months:function(){var t=[],e=new Date(this.minDate);for(e.setDate(1);t.push(new Date(e)),e.setMonth(e.getMonth()+1),1!==h(e,this.maxDate););return t},buttonDisabled:function(){var t=this.type,e=this.currentDate;if(e){if("range"===t)return!e[0]||!e[1];if("multiple"===t)return!e.length}return!e},dayOffset:function(){return this.firstDayOfWeek?this.firstDayOfWeek%7:0}},watch:{value:"init",type:function(){this.reset()},defaultDate:function(t){this.currentDate=t,this.scrollIntoView()}},mounted:function(){this.init()},activated:function(){this.init()},methods:{reset:function(t){void 0===t&&(t=this.getInitialDate()),this.currentDate=t,this.scrollIntoView()},init:function(){var t=this;this.poppable&&!this.value||this.$nextTick((function(){t.bodyHeight=Math.floor(t.$refs.body.getBoundingClientRect().height),t.onScroll(),t.scrollIntoView()}))},scrollToDate:function(t){var e=this;Object(i.c)((function(){var n=e.value||!e.poppable;t&&n&&(e.months.some((function(n,i){if(0!==h(n,t))return!1;var r=e.$refs;n=r.body;return r.months[i].scrollIntoView(n),!0})),e.onScroll())}))},scrollIntoView:function(){var t=this.currentDate;t&&(t="single"===this.type?t:t[0],this.scrollToDate(t))},getInitialDate:function(){var t=this.type,e=this.minDate,n=this.maxDate,i=this.defaultDate;if(null===i)return i;var r=new Date;return-1===d(r,e)?r=e:1===d(r,n)&&(r=n),"range"!==t?"multiple"===t?i||[r]:i||r:(i=i||[],[i[0]||r,i[1]||p(r)])},onScroll:function(){var t=this.$refs,e=t.body,n=t.months,i=Object(o.c)(e),r=i+this.bodyHeight,a=n.map((function(t){return t.getHeight()}));if(!(a.reduce((function(t,e){return t+e}),0)<r&&0<i)){for(var s,u=0,c=[-1,-1],l=0;l<n.length;l++)u<=r&&u+a[l]>=i&&(c[1]=l,s||(s=n[l],c[0]=l),n[l].showed||(n[l].showed=!0,this.$emit("month-show",{date:n[l].date,title:n[l].title}))),u+=a[l];n.forEach((function(t,e){t.visible=e>=c[0]-1&&e<=c[1]+1})),s&&(this.subtitle=s.title)}},onClickDay:function(t){var e,n,i,r,o;this.readonly||(e=t.date,o=this.type,n=this.currentDate,"range"===o?n?(i=n[0],t=n[1],i&&!t?1===(t=d(e,i))?this.select([i,e],!0):-1===t?this.select([e,null]):this.allowSameDay&&this.select([e,e],!0):this.select([e,null])):this.select([e,null]):"multiple"===o?n?this.currentDate.some((function(t,n){return t=0===d(t,e),t&&(r=n),t}))?(o=n.splice(r,1)[0],this.$emit("unselect",g(o))):this.maxRange&&n.length>=this.maxRange?Object(b.a)(this.rangePrompt||l("rangePrompt",this.maxRange)):this.select([].concat(n,[e])):this.select([e]):this.select(e,!0))},togglePopup:function(t){this.$emit("input",t)},select:function(t,e){function n(t){i.currentDate=t,i.$emit("select",m(i.currentDate))}var i=this;!e||"range"!==this.type||this.checkRange(t)?(n(t),e&&!this.showConfirm&&this.onConfirm()):this.showConfirm?n([t[0],f(t[0],this.maxRange-1)]):n(t)},checkRange:function(t){var e,n=this.maxRange,i=this.rangePrompt;return!(n&&(t=(e=t)[0].getTime(),(e[1].getTime()-t)/864e5+1>n))||(Object(b.a)(i||l("rangePrompt",n)),!1)},onConfirm:function(){this.$emit("confirm",m(this.currentDate))},genMonth:function(t,e){var n=this.$createElement;e=0!==e||!this.showSubtitle;return n(S,{ref:"months",refInFor:!0,attrs:{date:t,type:this.type,color:this.color,minDate:this.minDate,maxDate:this.maxDate,showMark:this.showMark,formatter:this.formatter,rowHeight:this.rowHeight,lazyRender:this.lazyRender,currentDate:this.currentDate,showSubtitle:this.showSubtitle,allowSameDay:this.allowSameDay,showMonthTitle:e,firstDayOfWeek:this.dayOffset},scopedSlots:{"top-info":this.$scopedSlots["top-info"],"bottom-info":this.$scopedSlots["bottom-info"]},on:{click:this.onClickDay}})},genFooterContent:function(){var t=this.$createElement,e=this.slots("footer");return e||(this.showConfirm?(e=this.buttonDisabled?this.confirmDisabledText:this.confirmText,t(y.a,{attrs:{round:!0,block:!0,type:"danger",color:this.color,disabled:this.buttonDisabled,nativeType:"button"},class:c("confirm"),on:{click:this.onConfirm}},[e||l("confirm")])):void 0)},genFooter:function(){return(0,this.$createElement)("div",{class:c("footer",{unfit:!this.safeAreaInsetBottom})},[this.genFooterContent()])},genCalendar:function(){var t=this,e=this.$createElement;return e("div",{class:c()},[e(w,{attrs:{title:this.title,showTitle:this.showTitle,subtitle:this.subtitle,showSubtitle:this.showSubtitle,firstDayOfWeek:this.dayOffset},scopedSlots:{title:function(){return t.slots("title")}}}),e("div",{ref:"body",class:c("body"),on:{scroll:this.onScroll}},[this.months.map(this.genMonth)]),this.genFooter()])}},render:function(){var t=this;if(this.poppable){var e,n=function(e){return function(){return t.$emit(e)}};return(0,arguments[0])(v.a,{attrs:((e={round:!0,value:this.value}).round=this.round,e.position=this.position,e.closeable=this.showTitle||this.showSubtitle,e.getContainer=this.getContainer,e.closeOnPopstate=this.closeOnPopstate,e.closeOnClickOverlay=this.closeOnClickOverlay,e),class:c("popup"),on:{input:this.togglePopup,open:n("open"),opened:n("opened"),close:n("close"),closed:n("closed")}},[this.genCalendar()])}return this.genCalendar()}})},4795:function(t,e,n){var i=n("7726"),r=n("5ca1"),o=n("a25f"),a=[].slice;n=/MSIE .\./.test(o),o=function(t){return function(e,n){var i=2<arguments.length,r=i&&a.call(arguments,2);return t(i?function(){("function"==typeof e?e:Function(e)).apply(this,r)}:e,n)}};r(r.G+r.B+r.F*n,{setTimeout:o(i.setTimeout),setInterval:o(i.setInterval)})},"47d1":function(t,e,n){"use strict";n("3cd0"),n("997e")},"47e2":function(t,e,n){"use strict";n("3cd0"),n("1812"),n("1a44"),n("acc2"),n("5e5e"),n("25bb"),n("968a"),n("24e6"),n("d2a3"),n("ab6f")},"482d":function(t,e,n){"use strict";function i(t,e,n){return Math.min(Math.max(t,e),n)}function r(t,e,n){var i=t.indexOf(e),r="";return-1===i?t:"-"===e&&0!==i?t.slice(0,i):(r="."===e&&t.match(/^(\.|-\.)/)?i?"-0":"0":r)+t.slice(0,i+1)+t.slice(i).replace(n,"")}function o(t,e,n){return void 0===n&&(n=!0),t=(e=void 0===e||e)?r(t,".",/\./g):t.split(".")[0],(t=n?r(t,"-",/-/g):t.replace(/-/,"")).replace(e?/[^-0-9.]/g:/[^-0-9]/g,"")}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}))},"48c0":function(t,e,n){"use strict";n("386b")("bold",(function(t){return function(){return t(this,"b","","")}}))},"48f4":function(t,e,n){"use strict";function i(t,e){var n=e.to,i=e.url;e=e.replace;n&&t?(n=t[e?"replace":"push"](n))&&n.catch&&n.catch((function(t){if(t&&!("NavigationDuplicated"===(e=t).name||e.message&&-1!==e.message.indexOf("redundant navigation")))throw t;var e})):i&&(e?location.replace(i):location.href=i)}function r(t){i(t.parent&&t.parent.$router,t.props)}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o}));var o={url:String,replace:Boolean,to:[String,Object]}},"48f8":function(t,e,n){"use strict";var i=n("5ca1"),r=n("7b23");i(i.P+i.F*!n("2f21")([].reduceRight,!0),"Array",{reduceRight:function(t){return r(this,t,arguments.length,arguments[1],!0)}})},4917:function(t,e,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),a=n("5f1b");n("214f")("match",1,(function(t,e,n,s){return[function(n){var i=t(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,i):new RegExp(n)[e](String(i))},function(t){var e=s(n,t,this);if(e.done)return e.value;var u=i(t),c=String(this);if(!u.global)return a(u,c);for(var l=u.unicode,h=[],d=u.lastIndex=0;null!==(f=a(u,c));){var f=String(f[0]);""===(h[d]=f)&&(u.lastIndex=o(c,r(u.lastIndex),l)),d++}return 0===d?null:h}]}))},"4a59":function(t,e,n){var i=n("9b43"),r=n("1fa8"),o=n("33a4"),a=n("cb7c"),s=n("9def"),u=n("27ee"),c={},l={};(e=t.exports=function(t,e,n,h,d){d=d?function(){return t}:u(t);var f,p,g,m,v=i(n,h,e?2:1),y=0;if("function"!=typeof d)throw TypeError(t+" is not iterable!");if(o(d)){for(f=s(t.length);y<f;y++)if((m=e?v(a(p=t[y])[0],p[1]):v(t[y]))===c||m===l)return m}else for(g=d.call(t);!(p=g.next()).done;)if((m=r(g,v,p.value,e))===c||m===l)return m}).BREAK=c,e.RETURN=l},"4bc8":function(t,e,n){"use strict";n("3cd0"),n("e1fa")},"4bf8":function(t,e,n){var i=n("be13");t.exports=function(t){return Object(i(t))}},"4dda":function(t,e,n){n("ec30")("Float64",8,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},"4e69":function(t,e,n){"use strict";n=n("4329");var i=function(){i.prototype.init.call(this),this.captionPackets_=[],this.ccStreams_=[new u(0,0),new u(0,1),new u(1,0),new u(1,1)],this.reset(),this.ccStreams_.forEach((function(t){t.on("data",this.trigger.bind(this,"data")),t.on("done",this.trigger.bind(this,"done"))}),this)};function r(t){return null===t?"":(t=a[t]||t,String.fromCharCode(t))}function o(){for(var t=[],e=15;e--;)t.push("");return t}i.prototype=new n,i.prototype.push=function(t){var e,n;"sei_rbsp"===t.nalUnitType&&4===(n=function(t){for(var e=0,n={payloadType:-1,payloadSize:0},i=0,r=0;e<t.byteLength&&128!==t[e];){for(;255===t[e];)i+=255,e++;for(i+=t[e++];255===t[e];)r+=255,e++;if(r+=t[e++],!n.payload&&4===i){n.payloadType=i,n.payloadSize=r,n.payload=t.subarray(e,e+r);break}e+=r,r=i=0}return n}(t.escapedRBSP)).payloadType&&(e=181!==(e=n).payload[0]||49!=(e.payload[1]<<8|e.payload[2])||"GA94"!==String.fromCharCode(e.payload[3],e.payload[4],e.payload[5],e.payload[6])||3!==e.payload[7]?null:e.payload.subarray(8,e.payload.length-1))&&(t.dts<this.latestDts_?this.ignoreNextEqualDts_=!0:t.dts===this.latestDts_&&this.ignoreNextEqualDts_?this.ignoreNextEqualDts_=!1:(this.captionPackets_=this.captionPackets_.concat(function(t,e){var n,i,r,o,a=[];if(!(64&e[0]))return a;for(i=31&e[0],n=0;n<i;n++)o={type:3&e[2+(r=3*n)],pts:t},4&e[2+r]&&(o.ccData=e[3+r]<<8|e[4+r],a.push(o));return a}(t.pts,e)),this.latestDts_=t.dts))},i.prototype.flush=function(){this.captionPackets_.length?(this.captionPackets_.forEach((function(t,e){t.presortIndex=e})),this.captionPackets_.sort((function(t,e){return t.pts===e.pts?t.presortIndex-e.presortIndex:t.pts-e.pts})),this.captionPackets_.forEach((function(t){t.type<2&&this.dispatchCea608Packet(t)}),this),this.captionPackets_.length=0,this.ccStreams_.forEach((function(t){t.flush()}),this)):this.ccStreams_.forEach((function(t){t.flush()}),this)},i.prototype.reset=function(){this.latestDts_=null,this.ignoreNextEqualDts_=!1,this.activeCea608Channel_=[null,null],this.ccStreams_.forEach((function(t){t.reset()}))},i.prototype.dispatchCea608Packet=function(t){this.setsChannel1Active(t)?this.activeCea608Channel_[t.type]=0:this.setsChannel2Active(t)&&(this.activeCea608Channel_[t.type]=1),null!==this.activeCea608Channel_[t.type]&&this.ccStreams_[(t.type<<1)+this.activeCea608Channel_[t.type]].push(t)},i.prototype.setsChannel1Active=function(t){return 4096==(30720&t.ccData)},i.prototype.setsChannel2Active=function(t){return 6144==(30720&t.ccData)};var a={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,304:174,305:176,306:189,307:191,308:8482,309:162,310:163,311:9834,312:224,313:160,314:232,315:226,316:234,317:238,318:244,319:251,544:193,545:201,546:211,547:218,548:220,549:252,550:8216,551:161,552:42,553:39,554:8212,555:169,556:8480,557:8226,558:8220,559:8221,560:192,561:194,562:199,563:200,564:202,565:203,566:235,567:206,568:207,569:239,570:212,571:217,572:249,573:219,574:171,575:187,800:195,801:227,802:205,803:204,804:236,805:210,806:242,807:213,808:245,809:123,810:125,811:92,812:94,813:95,814:124,815:126,816:196,817:228,818:214,819:246,820:223,821:165,822:164,823:9474,824:197,825:229,826:216,827:248,828:9484,829:9488,830:9492,831:9496},s=[4352,4384,4608,4640,5376,5408,5632,5664,5888,5920,4096,4864,4896,5120,5152],u=function(t,e){u.prototype.init.call(this),this.field_=t||0,this.dataChannel_=e||0,this.name_="CC"+(1+(this.field_<<1|this.dataChannel_)),this.setConstants(),this.reset(),this.push=function(t){var e,n,i,a,u=32639&t.ccData;u!==this.lastControlCode_?(4096==(61440&u)?this.lastControlCode_=u:u!==this.PADDING_&&(this.lastControlCode_=null),e=u>>>8,n=255&u,u===this.PADDING_||(u===this.RESUME_CAPTION_LOADING_?this.mode_="popOn":u===this.END_OF_CAPTION_?(this.clearFormatting(t.pts),this.flushDisplayed(t.pts),a=this.displayed_,this.displayed_=this.nonDisplayed_,this.nonDisplayed_=a,this.startPts_=t.pts):u===this.ROLL_UP_2_ROWS_?(this.topRow_=13,this.mode_="rollUp"):u===this.ROLL_UP_3_ROWS_?(this.topRow_=12,this.mode_="rollUp"):u===this.ROLL_UP_4_ROWS_?(this.topRow_=11,this.mode_="rollUp"):u===this.CARRIAGE_RETURN_?(this.clearFormatting(t.pts),this.flushDisplayed(t.pts),this.shiftRowsUp_(),this.startPts_=t.pts):u===this.BACKSPACE_?"popOn"===this.mode_?this.nonDisplayed_[14]=this.nonDisplayed_[14].slice(0,-1):this.displayed_[14]=this.displayed_[14].slice(0,-1):u===this.ERASE_DISPLAYED_MEMORY_?(this.flushDisplayed(t.pts),this.displayed_=o()):u===this.ERASE_NON_DISPLAYED_MEMORY_?this.nonDisplayed_=o():u===this.RESUME_DIRECT_CAPTIONING_?this.mode_="paintOn":this.isSpecialCharacter(e,n)?(i=r((e=(3&e)<<8)|n),this[this.mode_](t.pts,i),this.column_++):this.isExtCharacter(e,n)?("popOn"===this.mode_?this.nonDisplayed_[this.row_]=this.nonDisplayed_[this.row_].slice(0,-1):this.displayed_[14]=this.displayed_[14].slice(0,-1),i=r((e=(3&e)<<8)|n),this[this.mode_](t.pts,i),this.column_++):this.isMidRowCode(e,n)?(this.clearFormatting(t.pts),this[this.mode_](t.pts," "),this.column_++,14==(14&n)&&this.addFormatting(t.pts,["i"]),1==(1&n)&&this.addFormatting(t.pts,["u"])):this.isOffsetControlCode(e,n)?this.column_+=3&n:this.isPAC(e,n)?((a=s.indexOf(7968&u))!==this.row_&&(this.clearFormatting(t.pts),this.row_=a),1&n&&-1===this.formatting_.indexOf("u")&&this.addFormatting(t.pts,["u"]),16==(16&u)&&(this.column_=4*((14&u)>>1)),this.isColorPAC(n)&&14==(14&n)&&this.addFormatting(t.pts,["i"])):this.isNormalChar(e)&&(0===n&&(n=null),i=r(e),i+=r(n),this[this.mode_](t.pts,i),this.column_+=i.length))):this.lastControlCode_=null}};u.prototype=new n,u.prototype.flushDisplayed=function(t){var e=this.displayed_.map((function(t){return t.trim()})).join("\n").replace(/^\n+|\n+$/g,"");e.length&&this.trigger("data",{startPts:this.startPts_,endPts:t,text:e,stream:this.name_})},u.prototype.reset=function(){this.mode_="popOn",this.topRow_=0,this.startPts_=0,this.displayed_=o(),this.nonDisplayed_=o(),this.lastControlCode_=null,this.column_=0,this.row_=14,this.formatting_=[]},u.prototype.setConstants=function(){0===this.dataChannel_?(this.BASE_=16,this.EXT_=17,this.CONTROL_=(20|this.field_)<<8,this.OFFSET_=23):1===this.dataChannel_&&(this.BASE_=24,this.EXT_=25,this.CONTROL_=(28|this.field_)<<8,this.OFFSET_=31),this.PADDING_=0,this.RESUME_CAPTION_LOADING_=32|this.CONTROL_,this.END_OF_CAPTION_=47|this.CONTROL_,this.ROLL_UP_2_ROWS_=37|this.CONTROL_,this.ROLL_UP_3_ROWS_=38|this.CONTROL_,this.ROLL_UP_4_ROWS_=39|this.CONTROL_,this.CARRIAGE_RETURN_=45|this.CONTROL_,this.RESUME_DIRECT_CAPTIONING_=41|this.CONTROL_,this.BACKSPACE_=33|this.CONTROL_,this.ERASE_DISPLAYED_MEMORY_=44|this.CONTROL_,this.ERASE_NON_DISPLAYED_MEMORY_=46|this.CONTROL_},u.prototype.isSpecialCharacter=function(t,e){return t===this.EXT_&&48<=e&&e<=63},u.prototype.isExtCharacter=function(t,e){return(t===this.EXT_+1||t===this.EXT_+2)&&32<=e&&e<=63},u.prototype.isMidRowCode=function(t,e){return t===this.EXT_&&32<=e&&e<=47},u.prototype.isOffsetControlCode=function(t,e){return t===this.OFFSET_&&33<=e&&e<=35},u.prototype.isPAC=function(t,e){return t>=this.BASE_&&t<this.BASE_+8&&64<=e&&e<=127},u.prototype.isColorPAC=function(t){return 64<=t&&t<=79||96<=t&&t<=127},u.prototype.isNormalChar=function(t){return 32<=t&&t<=127},u.prototype.addFormatting=function(t,e){this.formatting_=this.formatting_.concat(e),e=e.reduce((function(t,e){return t+"<"+e+">"}),""),this[this.mode_](t,e)},u.prototype.clearFormatting=function(t){var e;this.formatting_.length&&(e=this.formatting_.reverse().reduce((function(t,e){return t+"</"+e+">"}),""),this.formatting_=[],this[this.mode_](t,e))},u.prototype.popOn=function(t,e){var n=this.nonDisplayed_[this.row_];this.nonDisplayed_[this.row_]=n+=e},u.prototype.rollUp=function(t,e){var n=this.displayed_[14];this.displayed_[14]=n+=e},u.prototype.shiftRowsUp_=function(){for(var t=0;t<this.topRow_;t++)this.displayed_[t]="";for(t=this.topRow_;t<14;t++)this.displayed_[t]=this.displayed_[t+1];this.displayed_[14]=""},u.prototype.paintOn=function(){},t.exports={CaptionStream:i,Cea608Stream:u}},"4ea2":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i,r=void 0;if(n&&n.cues)for(r=n.cues.length;r--;)(i=n.cues[r]).startTime<=e&&i.endTime>=t&&n.removeCue(i)},t.exports=e.default},"4f37":function(t,e,n){"use strict";n("aa77")("trim",(function(t){return function(){return t(this,3)}}))},"4f7f":function(t,e,n){"use strict";var i=n("c26b"),r=n("b39a");t.exports=n("e0b8")("Set",(function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}}),{add:function(t){return i.def(r(this,"Set"),t=0===t?0:t,t)}},i)},"4fcf":function(t,e,n){"use strict";n=n("4329");var i=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350],r=function(){var t;r.prototype.init.call(this),this.push=function(e){var n,r,o,a,s,u=0,c=0;if("audio"===e.type)for(t?(o=t,(t=new Uint8Array(o.byteLength+e.data.byteLength)).set(o),t.set(e.data,o.byteLength)):t=e.data;u+5<t.length;)if(255===t[u]&&240==(246&t[u+1])){if(n=2*(1&~t[u+1]),r=(3&t[u+3])<<11|t[u+4]<<3|(224&t[u+5])>>5,s=9e4*(a=1024*(1+(3&t[u+6])))/i[(60&t[u+2])>>>2],t.byteLength<(r=u+r))return;if(this.trigger("data",{pts:e.pts+c*s,dts:e.dts+c*s,sampleCount:a,audioobjecttype:1+(t[u+2]>>>6&3),channelcount:(1&t[u+2])<<2|(192&t[u+3])>>>6,samplerate:i[(60&t[u+2])>>>2],samplingfrequencyindex:(60&t[u+2])>>>2,samplesize:16,data:t.subarray(u+7+n,r)}),t.byteLength===r)return void(t=void 0);c++,t=t.subarray(r)}else u++},this.flush=function(){this.trigger("done")}};r.prototype=new n,t.exports=r},"504c":function(t,e,n){var i=n("9e1e"),r=n("0d58"),o=n("6821"),a=n("52a7").f;t.exports=function(t){return function(e){for(var n,s=o(e),u=r(s),c=u.length,l=0,h=[];l<c;)n=u[l++],i&&!a.call(s,n)||h.push(t?[n,s[n]]:s[n]);return h}}},"510b":function(t,e,n){"use strict";var i=n("d282"),r=n("9884"),o=(n=Object(i.a)("steps"),i=n[0],n[1]);e.a=i({mixins:[Object(r.b)("vanSteps")],props:{iconPrefix:String,finishIcon:String,activeColor:String,inactiveIcon:String,inactiveColor:String,active:{type:[Number,String],default:0},direction:{type:String,default:"horizontal"},activeIcon:{type:String,default:"checked"}},render:function(){var t=arguments[0];return t("div",{class:o([this.direction])},[t("div",{class:o("items")},[this.slots()])])}})},5147:function(t,e,n){var i=n("2b4c")("match");t.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[i]=!1,!"/./"[e](n)}catch(t){}}return!0}},"520a":function(t,e,n){"use strict";var i,r=n("0bfb"),o=RegExp.prototype.exec,a=String.prototype.replace,s=o,u="lastIndex",c=(i=/a/,n=/b*/g,o.call(i,"a"),o.call(n,"a"),0!==i[u]||0!==n[u]),l=void 0!==/()??/.exec("")[1];t.exports=s=c||l?function(t){var e,n,i,s;return l&&(n=new RegExp("^"+this.source+"$(?!\\s)",r.call(this))),c&&(e=this[u]),i=o.call(this,t),c&&i&&(this[u]=this.global?i.index+i[0].length:e),l&&i&&1<i.length&&a.call(i[0],n,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(i[s]=void 0)})),i}:s},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5360:function(t,e,n){},"536b":function(t,e,n){var i=n("5ca1");n=Math.asinh;i(i.S+i.F*!(n&&0<1/n(0)),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},"53a8":function(t,e){t.exports=function(){for(var t={},e=0;e<arguments.length;e++){var i,r=arguments[e];for(i in r)n.call(r,i)&&(t[i]=r[i])}return t};var n=Object.prototype.hasOwnProperty},"543e":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ea8e")),a=n("ba31"),s=(n=Object(i.a)("loading"),i=n[0],n[1]);function u(t,e,n,i){var u=e.color,c=e.size,l=e.type;u={color:u};return c&&(c=Object(o.a)(c),u.width=c,u.height=c),t("div",r()([{class:s([l,{vertical:e.vertical}])},Object(a.b)(i,!0)]),[t("span",{class:s("spinner",l),style:u},[function(t,e){if("spinner"!==e.type)return t("svg",{class:s("circular"),attrs:{viewBox:"25 25 50 50"}},[t("circle",{attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]);for(var n=[],i=0;i<12;i++)n.push(t("i"));return n}(t,e)]),function(t,e,n){if(n.default){var i;e={fontSize:Object(o.a)(e.textSize),color:null!=(i=e.textColor)?i:e.color};return t("span",{class:s("text"),style:e},[n.default()])}}(t,e,n)])}u.props={color:String,size:[Number,String],vertical:Boolean,textSize:[Number,String],textColor:String,type:{type:String,default:"circular"}},e.a=i(u)},5496:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}function s(t){return String.fromCharCode.apply(null,t)}var u=a(n("f7fd")),c=a(n("3d33")),l=a(n("be09")),h=a(n("4ea2")),d=n("f24e"),f=new Uint8Array("\n\n".split("").map((function(t){return t.charCodeAt(0)})));(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(p,u.default),i(p,[{key:"buffered_",value:function(){if(!this.subtitlesTrack_||!this.subtitlesTrack_.cues.length)return c.default.createTimeRanges();var t=this.subtitlesTrack_.cues,e=t[0].startTime;t=t[t.length-1].startTime;return c.default.createTimeRanges([[e,t]])}},{key:"initSegment",value:function(t){var e=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];if(!t)return null;var n=(0,d.initSegmentId)(t),i=this.initSegments_[n];return e&&!i&&t.bytes&&(e=f.byteLength+t.bytes.byteLength,(e=new Uint8Array(e)).set(t.bytes),e.set(f,t.bytes.byteLength),this.initSegments_[n]=i={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:e}),i||t}},{key:"couldBeginLoading_",value:function(){return this.playlist_&&this.subtitlesTrack_&&!this.paused()}},{key:"init_",value:function(){return this.state="READY",this.resetEverything(),this.monitorBuffer_()}},{key:"track",value:function(t){return void 0===t||(this.subtitlesTrack_=t,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_()),this.subtitlesTrack_}},{key:"remove",value:function(t,e){(0,h.default)(t,e,this.subtitlesTrack_)}},{key:"fillBuffer_",value:function(){var t=this;this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_()));var e=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_);if(e=this.skipEmptySegments_(e)){if(null===this.syncController_.timestampOffsetForTimeline(e.timeline))return this.syncController_.one("timestampoffset",(function(){t.state="READY",t.paused()||t.monitorBuffer_()})),void(this.state="WAITING_ON_TIMELINE");this.loadSegment_(e)}}},{key:"skipEmptySegments_",value:function(t){for(;t&&t.segment.empty;)t=this.generateSegmentInfo_(t.playlist,t.mediaIndex+1,t.startOfSegment+t.duration,t.isSyncRequest);return t}},{key:"handleSegment_",value:function(){var t=this;if(this.pendingSegment_&&this.subtitlesTrack_){this.state="APPENDING";var e=this.pendingSegment_,n=e.segment;if("function"!=typeof l.default.WebVTT&&this.subtitlesTrack_&&this.subtitlesTrack_.tech_){var i=(t.state="WAITING_ON_VTTJS",t.subtitlesTrack_.tech_.one("vttjsloaded",r),t.subtitlesTrack_.tech_.one("vttjserror",(function(){t.subtitlesTrack_.tech_.off("vttjsloaded",r),t.error({message:"Error loading vtt.js"}),t.state="READY",t.pause(),t.trigger("error")})),{v:void 0});if("object"==typeof i)return i.v}n.requested=!0;try{this.parseVTTCues_(e)}catch(e){return this.error({message:e.message}),this.state="READY",this.pause(),this.trigger("error")}if(this.updateTimeMapping_(e,this.syncController_.timelines[e.timeline],this.playlist_),e.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");e.byteLength=e.bytes.byteLength,this.mediaSecondsLoaded+=n.duration,e.cues.length&&this.remove(e.cues[0].endTime,e.cues[e.cues.length-1].endTime),e.cues.forEach((function(e){t.subtitlesTrack_.addCue(e)})),this.handleUpdateEnd_()}else this.state="READY";function r(){t.handleSegment_()}}},{key:"parseVTTCues_",value:function(t){var e=void 0,n=!1;"function"==typeof l.default.TextDecoder?e=new l.default.TextDecoder("utf8"):(e=l.default.WebVTT.StringDecoder(),n=!0),e=new l.default.WebVTT.Parser(l.default,l.default.vttjs,e),t.cues=[],t.timestampmap={MPEGTS:0,LOCAL:0},e.oncue=t.cues.push.bind(t.cues),e.ontimestampmap=function(e){return t.timestampmap=e},e.onparsingerror=function(t){c.default.log.warn("Error encountered when parsing cues: "+t.message)},t.segment.map&&(i=t.segment.map.bytes,n&&(i=s(i)),e.parse(i));var i=t.bytes;n&&(i=s(i)),e.parse(i),e.flush()}},{key:"updateTimeMapping_",value:function(t,e,n){var i,r,o=t.segment;e&&(t.cues.length?(r=t.timestampmap,i=r.MPEGTS/9e4-r.LOCAL+e.mapping,t.cues.forEach((function(t){t.startTime+=i,t.endTime+=i})),n.syncInfo||(r=t.cues[0].startTime,e=t.cues[t.cues.length-1].startTime,n.syncInfo={mediaSequence:n.mediaSequence+t.mediaIndex,time:Math.min(r,e-o.duration)})):o.empty=!0)}}]),i=p;function p(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),o(Object.getPrototypeOf(p.prototype),"constructor",this).call(this,t,e),this.mediaSource_=null,this.subtitlesTrack_=null}e.default=i,t.exports=e.default},"54a8":function(t,e,n){"use strict";var i=n("5ca1"),r=n("79e5"),o=n("bef9"),a=1..toPrecision;i(i.P+i.F*(r((function(){return"1"!==a.call(1,void 0)}))||!r((function(){a.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},"551c":function(t,e,n){"use strict";function i(){}function r(t){var e;return!(!m(t)||"function"!=typeof(e=t.then))&&e}function o(t,e){var n;t._n||(t._n=!0,n=t._c,S((function(){for(var i=t._v,o=1==t._s,a=0;n.length>a;)!function(e){var n,a,s,u=o?e.ok:e.fail,c=e.resolve,l=e.reject,h=e.domain;try{u?(o||(2==t._h&&R(t),t._h=1),!0===u?n=i:(h&&h.enter(),n=u(i),h&&(h.exit(),s=!0)),n===e.promise?l(O("Promise-chain cycle")):(a=r(n))?a.call(n,c,l):c(n)):l(i)}catch(e){h&&!s&&h.exit(),l(e)}}(n[a++]);t._c=[],t._n=!1,e&&!t._h&&D(t)})))}function a(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),o(e,!0))}var s,u,c,l,h=n("2d00"),d=n("7726"),f=n("9b43"),p=n("23c6"),g=n("5ca1"),m=n("d3f4"),v=n("d8e8"),y=n("f605"),b=n("4a59"),_=n("ebd6"),T=n("1991").set,S=n("8079")(),w=n("a5b8"),k=n("9c80"),C=n("a25f"),E=n("bcaa"),x="Promise",O=d.TypeError,A=d.process,P=A&&A.versions,j=P&&P.v8||"",I=d[x],L="process"==p(A),M=u=w.f,D=(p=!!function(){try{var t=I.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(i,i)};return(L||"function"==typeof PromiseRejectionEvent)&&t.then(i)instanceof e&&0!==j.indexOf("6.6")&&-1===C.indexOf("Chrome/66")}catch(t){}}(),function(t){T.call(d,(function(){var e,n,i=t._v,r=B(t);if(r&&(e=k((function(){L?A.emit("unhandledRejection",i,t):(n=d.onunhandledrejection)?n({promise:t,reason:i}):(n=d.console)&&n.error&&n.error("Unhandled promise rejection",i)})),t._h=L||B(t)?2:1),t._a=void 0,r&&e.e)throw e.v}))}),B=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){T.call(d,(function(){var e;L?A.emit("rejectionHandled",t):(e=d.onrejectionhandled)&&e({promise:t,reason:t._v})}))},N=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw O("Promise can't be resolved itself");(e=r(t))?S((function(){var i={_w:n,_d:!1};try{e.call(t,f(N,i,1),f(a,i,1))}catch(t){a.call(i,t)}})):(n._v=t,n._s=1,o(n,!1))}catch(t){a.call({_w:n,_d:!1},t)}}};p||(I=function(t){y(this,I,x,"_h"),v(t),s.call(this);try{t(f(N,this,1),f(a,this,1))}catch(t){a.call(this,t)}},(s=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n("dcbc")(I.prototype,{then:function(t,e){var n=M(_(this,I));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=L?A.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&o(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),c=function(){var t=new s;this.promise=t,this.resolve=f(N,t,1),this.reject=f(a,t,1)},w.f=M=function(t){return t===I||t===l?new c:u(t)}),g(g.G+g.W+g.F*!p,{Promise:I}),n("7f20")(I,x),n("7a56")(x),l=n("8378")[x],g(g.S+g.F*!p,x,{reject:function(t){var e=M(this);return(0,e.reject)(t),e.promise}}),g(g.S+g.F*(h||!p),x,{resolve:function(t){return E(h&&this===l?I:this,t)}}),g(g.S+g.F*!(p&&n("5cc5")((function(t){I.all(t).catch(i)}))),x,{all:function(t){var e=this,n=M(e),i=n.resolve,r=n.reject,o=k((function(){var n=[],o=0,a=1;b(t,!1,(function(t){var s=o++,u=!1;n.push(void 0),a++,e.resolve(t).then((function(t){u||(u=!0,n[s]=t,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(t){var e=this,n=M(e),i=n.reject,r=k((function(){b(t,!1,(function(t){e.resolve(t).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},5537:function(t,e,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",a=r[o]||(r[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"558f":function(t,e,n){"use strict";n("3cd0"),n("0f26")},5596:function(t,e,n){"use strict";var i=n("d282"),r=n("02de"),o=n("1325"),a=n("4598"),s=n("482d"),u=n("3875"),c=n("9884"),l=n("5fbe"),h=(n=Object(i.a)("swipe"),i=n[0],n[1]);e.a=i({mixins:[u.a,Object(c.b)("vanSwipe"),Object(l.a)((function(t,e){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0),t(window,"visibilitychange",this.onVisibilityChange),e?this.initialize():this.clear()}))],props:{width:[Number,String],height:[Number,String],autoplay:[Number,String],vertical:Boolean,lazyRender:Boolean,indicatorColor:String,loop:{type:Boolean,default:!0},duration:{type:[Number,String],default:500},touchable:{type:Boolean,default:!0},initialSwipe:{type:[Number,String],default:0},showIndicators:{type:Boolean,default:!0},stopPropagation:{type:Boolean,default:!0}},data:function(){return{rect:null,offset:0,active:0,deltaX:0,deltaY:0,swiping:!1,computedWidth:0,computedHeight:0}},watch:{children:function(){this.initialize()},initialSwipe:function(){this.initialize()},autoplay:function(t){0<t?this.autoPlay():this.clear()}},computed:{count:function(){return this.children.length},maxCount:function(){return Math.ceil(Math.abs(this.minOffset)/this.size)},delta:function(){return this.vertical?this.deltaY:this.deltaX},size:function(){return this[this.vertical?"computedHeight":"computedWidth"]},trackSize:function(){return this.count*this.size},activeIndicator:function(){return(this.active+this.count)%this.count},isCorrectDirection:function(){var t=this.vertical?"vertical":"horizontal";return this.direction===t},trackStyle:function(){var t,e,n={transitionDuration:(this.swiping?0:this.duration)+"ms",transform:"translate"+(this.vertical?"Y":"X")+"("+this.offset+"px)"};return this.size&&(t=this.vertical?"height":"width",e=this.vertical?"width":"height",n[t]=this.trackSize+"px",n[e]=this[e]?this[e]+"px":""),n},indicatorStyle:function(){return{backgroundColor:this.indicatorColor}},minOffset:function(){return(this.vertical?this.rect.height:this.rect.width)-this.size*this.count}},mounted:function(){this.bindTouchEvent(this.$refs.track)},methods:{initialize:function(t){var e;void 0===t&&(t=+this.initialSwipe),this.$el&&!Object(r.a)(this.$el)&&(clearTimeout(this.timer),e={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.rect=e,this.swiping=!0,this.active=t,this.computedWidth=+this.width||e.width,this.computedHeight=+this.height||e.height,this.offset=this.getTargetOffset(t),this.children.forEach((function(t){t.offset=0})),this.autoPlay())},resize:function(){this.initialize(this.activeIndicator)},onVisibilityChange:function(){document.hidden?this.clear():this.autoPlay()},onTouchStart:function(t){this.touchable&&(this.clear(),this.touchStartTime=Date.now(),this.touchStart(t),this.correctPosition())},onTouchMove:function(t){this.touchable&&this.swiping&&(this.touchMove(t),this.isCorrectDirection&&(Object(o.c)(t,this.stopPropagation),this.move({offset:this.delta})))},onTouchEnd:function(){var t,e,n,i;this.touchable&&this.swiping&&(t=this.size,e=this.delta,i=Date.now()-this.touchStartTime,(.25<Math.abs(e/i)||Math.abs(e)>t/2)&&this.isCorrectDirection?(n=this.vertical?this.offsetY:this.offsetX,i=0,i=this.loop?0<n?0<e?-1:1:0:-Math[0<e?"ceil":"floor"](e/t),this.move({pace:i,emitChange:!0})):e&&this.move({pace:0}),this.swiping=!1,this.autoPlay())},getTargetActive:function(t){var e=this.active,n=this.count,i=this.maxCount;return t?this.loop?Object(s.b)(e+t,-1,n):Object(s.b)(e+t,0,i):e},getTargetOffset:function(t,e){return t*=this.size,t=(e=void 0===e?0:e)-(t=this.loop?t:Math.min(t,-this.minOffset)),this.loop?t:Object(s.b)(t,this.minOffset,0)},move:function(t){var e=t.pace,n=t.offset,i=void 0===n?0:n,r=t.emitChange,o=this.loop,a=this.count,s=this.active,u=this.children;n=this.trackSize,t=this.minOffset;a<=1||(e=this.getTargetActive(void 0===e?0:e),i=this.getTargetOffset(e,i),o&&(u[0]&&i!==t&&(u[0].offset=i<t?n:0),u[a-1]&&0!==i&&(u[a-1].offset=0<i?-n:0)),this.active=e,this.offset=i,r&&e!==s&&this.$emit("change",this.activeIndicator))},prev:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(a.b)((function(){t.swiping=!1,t.move({pace:-1,emitChange:!0})}))},next:function(){var t=this;this.correctPosition(),this.resetTouchStatus(),Object(a.b)((function(){t.swiping=!1,t.move({pace:1,emitChange:!0})}))},swipeTo:function(t,e){var n=this;void 0===e&&(e={}),this.correctPosition(),this.resetTouchStatus(),Object(a.b)((function(){var i=n.loop&&t===n.count?0===n.active?0:t:t%n.count;e.immediate?Object(a.b)((function(){n.swiping=!1})):n.swiping=!1,n.move({pace:i-n.active,emitChange:!0})}))},correctPosition:function(){this.swiping=!0,this.active<=-1&&this.move({pace:this.count}),this.active>=this.count&&this.move({pace:-this.count})},clear:function(){clearTimeout(this.timer)},autoPlay:function(){var t=this,e=this.autoplay;0<e&&1<this.count&&(this.clear(),this.timer=setTimeout((function(){t.next(),t.autoPlay()}),e))},genIndicator:function(){var t=this,e=this.$createElement,n=this.count,i=this.activeIndicator,r=this.slots("indicator");return r||(this.showIndicators&&1<n?e("div",{class:h("indicators",{vertical:this.vertical})},[Array.apply(void 0,Array(n)).map((function(n,r){return e("i",{class:h("indicator",{active:r===i}),style:r===i?t.indicatorStyle:null})}))]):void 0)}},render:function(){var t=arguments[0];return t("div",{class:h()},[t("div",{ref:"track",style:this.trackStyle,class:h("track",{vertical:this.vertical})},[this.slots()]),this.genIndicator()])}})},"55dd":function(t,e,n){"use strict";var i=n("5ca1"),r=n("d8e8"),o=n("4bf8"),a=n("79e5"),s=[].sort,u=[1,2,3];i(i.P+i.F*(a((function(){u.sort(void 0)}))||!a((function(){u.sort(null)}))||!n("2f21")(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),r(t))}})},"565f":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=n("c31d"),a=n("a142"),s=n("a8c1"),u=!a.g&&/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()),c=n("482d"),l=n("1325"),h=n("d282"),d=n("ea8e"),f=n("ad06"),p=n("7744"),g=(i=n("dfaf"),n=Object(h.a)("field"),h=n[0],n[1]);e.a=h({inheritAttrs:!1,provide:function(){return{vanField:this}},inject:{vanForm:{default:null}},props:Object(o.a)({},i.a,{name:String,rules:Array,disabled:{type:Boolean,default:null},readonly:{type:Boolean,default:null},autosize:[Boolean,Object],leftIcon:String,rightIcon:String,clearable:Boolean,formatter:Function,maxlength:[Number,String],labelWidth:[Number,String],labelClass:null,labelAlign:String,inputAlign:String,placeholder:String,errorMessage:String,errorMessageAlign:String,showWordLimit:Boolean,value:{type:[Number,String],default:""},type:{type:String,default:"text"},error:{type:Boolean,default:null},colon:{type:Boolean,default:null},clearTrigger:{type:String,default:"focus"},formatTrigger:{type:String,default:"onChange"}}),data:function(){return{focused:!1,validateFailed:!1,validateMessage:""}},watch:{value:function(){this.updateValue(this.value),this.resetValidation(),this.validateWithTrigger("onChange"),this.$nextTick(this.adjustSize)}},mounted:function(){this.updateValue(this.value,this.formatTrigger),this.$nextTick(this.adjustSize),this.vanForm&&this.vanForm.addField(this)},beforeDestroy:function(){this.vanForm&&this.vanForm.removeField(this)},computed:{showClear:function(){var t=this.getProp("readonly");if(this.clearable&&!t){var e=Object(a.c)(this.value)&&""!==this.value;t="always"===this.clearTrigger||"focus"===this.clearTrigger&&this.focused;return e&&t}},showError:function(){return null!==this.error?this.error:!!(this.vanForm&&this.vanForm.showError&&this.validateFailed)||void 0},listeners:function(){return Object(o.a)({},this.$listeners,{blur:this.onBlur,focus:this.onFocus,input:this.onInput,click:this.onClickInput,keypress:this.onKeypress})},labelStyle:function(){var t=this.getProp("labelWidth");if(t)return{width:Object(d.a)(t)}},formValue:function(){return(this.children&&(this.$scopedSlots.input||this.$slots.input)?this.children:this).value}},methods:{focus:function(){this.$refs.input&&this.$refs.input.focus()},blur:function(){this.$refs.input&&this.$refs.input.blur()},runValidator:function(t,e){return new Promise((function(n){var i=e.validator(t,e);if(Object(a.f)(i))return i.then(n);n(i)}))},isEmptyValue:function(t){return Array.isArray(t)?!t.length:0!==t&&!t},runSyncRule:function(t,e){return(!e.required||!this.isEmptyValue(t))&&!(e.pattern&&!e.pattern.test(t))},getRuleMessage:function(t,e){var n=e.message;return Object(a.d)(n)?n(t,e):n},runRules:function(t){var e=this;return t.reduce((function(t,n){return t.then((function(){if(!e.validateFailed){var t=e.formValue;return n.formatter&&(t=n.formatter(t,n)),e.runSyncRule(t,n)?n.validator?e.runValidator(t,n).then((function(i){!1===i&&(e.validateFailed=!0,e.validateMessage=e.getRuleMessage(t,n))})):void 0:(e.validateFailed=!0,void(e.validateMessage=e.getRuleMessage(t,n)))}}))}),Promise.resolve())},validate:function(t){var e=this;return void 0===t&&(t=this.rules),new Promise((function(n){t||n(),e.resetValidation(),e.runRules(t).then((function(){e.validateFailed?n({name:e.name,message:e.validateMessage}):n()}))}))},validateWithTrigger:function(t){var e,n;this.vanForm&&this.rules&&(e=this.vanForm.validateTrigger===t,(n=this.rules.filter((function(n){return n.trigger?n.trigger===t:e}))).length&&this.validate(n))},resetValidation:function(){this.validateFailed&&(this.validateFailed=!1,this.validateMessage="")},updateValue:function(t,e){void 0===e&&(e="onChange"),t=Object(a.c)(t)?String(t):"";var n=this.maxlength;Object(a.c)(n)&&t.length>n&&(t=this.value&&this.value.length===+n?this.value:t.slice(0,n)),"number"!==this.type&&"digit"!==this.type||(n="number"===this.type,t=Object(c.a)(t,n,n)),this.formatter&&e===this.formatTrigger&&(t=this.formatter(t)),e=this.$refs.input,e&&t!==e.value&&(e.value=t),t!==this.value&&this.$emit("input",t)},onInput:function(t){t.target.composing||this.updateValue(t.target.value)},onFocus:function(t){this.focused=!0,this.$emit("focus",t),this.getProp("readonly")&&this.blur()},onBlur:function(t){this.focused=!1,this.updateValue(this.value,"onBlur"),this.$emit("blur",t),this.validateWithTrigger("onBlur"),u&&Object(s.g)(Object(s.b)())},onClick:function(t){this.$emit("click",t)},onClickInput:function(t){this.$emit("click-input",t)},onClickLeftIcon:function(t){this.$emit("click-left-icon",t)},onClickRightIcon:function(t){this.$emit("click-right-icon",t)},onClear:function(t){Object(l.c)(t),this.$emit("input",""),this.$emit("clear",t)},onKeypress:function(t){13===t.keyCode&&(this.getProp("submitOnEnter")||"textarea"===this.type||Object(l.c)(t),"search"===this.type&&this.blur()),this.$emit("keypress",t)},adjustSize:function(){var t,e,n,i=this.$refs.input;"textarea"===this.type&&this.autosize&&i&&(i.style.height="auto",t=i.scrollHeight,Object(a.e)(this.autosize)&&(e=(n=this.autosize).maxHeight,n=n.minHeight,e&&(t=Math.min(t,e)),n&&(t=Math.max(t,n))),t&&(i.style.height=t+"px"))},genInput:function(){var t=this.$createElement,e=this.type,n=this.getProp("disabled"),i=this.getProp("readonly"),a=this.slots("input"),s=this.getProp("inputAlign");if(a)return t("div",{class:g("control",[s,"custom"]),on:{click:this.onClickInput}},[a]);if(n={ref:"input",class:g("control",s),domProps:{value:this.value},attrs:Object(o.a)({},this.$attrs,{name:this.name,disabled:n,readonly:i,placeholder:this.placeholder}),on:this.listeners,directives:[{name:"model",value:this.value}]},"textarea"===e)return t("textarea",r()([{},n]));var u;i=e;return"number"===e&&(i="text",u="decimal"),"digit"===e&&(i="tel",u="numeric"),t("input",r()([{attrs:{type:i,inputmode:u}},n]))},genLeftIcon:function(){var t=this.$createElement;if(this.slots("left-icon")||this.leftIcon)return t("div",{class:g("left-icon"),on:{click:this.onClickLeftIcon}},[this.slots("left-icon")||t(f.a,{attrs:{name:this.leftIcon,classPrefix:this.iconPrefix}})])},genRightIcon:function(){var t=this.$createElement,e=this.slots;if(e("right-icon")||this.rightIcon)return t("div",{class:g("right-icon"),on:{click:this.onClickRightIcon}},[e("right-icon")||t(f.a,{attrs:{name:this.rightIcon,classPrefix:this.iconPrefix}})])},genWordLimit:function(){var t=this.$createElement;if(this.showWordLimit&&this.maxlength){var e=(this.value||"").length;return t("div",{class:g("word-limit")},[t("span",{class:g("word-num")},[e]),"/",this.maxlength])}},genMessage:function(){var t=this.$createElement;if(!this.vanForm||!1!==this.vanForm.showErrorMessage){var e=this.errorMessage||this.validateMessage;if(e){var n=this.getProp("errorMessageAlign");return t("div",{class:g("error-message",n)},[e])}}},getProp:function(t){return Object(a.c)(this[t])?this[t]:this.vanForm&&Object(a.c)(this.vanForm[t])?this.vanForm[t]:void 0},genLabel:function(){var t=this.$createElement,e=this.getProp("colon")?":":"";return this.slots("label")?[this.slots("label"),e]:this.label?t("span",[this.label+e]):void 0}},render:function(){var t=arguments[0],e=this.slots,n=this.getProp("disabled"),i=this.getProp("labelAlign"),r={icon:this.genLeftIcon},o=this.genLabel();o&&(r.title=function(){return o});var a=this.slots("extra");return a&&(r.extra=function(){return a}),t(p.a,{attrs:{icon:this.leftIcon,size:this.size,center:this.center,border:this.border,isLink:this.isLink,required:this.required,clickable:this.clickable,titleStyle:this.labelStyle,valueClass:g("value"),titleClass:[g("label",i),this.labelClass],arrowDirection:this.arrowDirection},scopedSlots:r,class:g(((n={error:this.showError,disabled:n})["label-"+i]=i,n["min-height"]="textarea"===this.type&&!this.autosize,n)),on:{click:this.onClick}},[t("div",{class:g("body")},[this.genInput(),this.showClear&&t(f.a,{attrs:{name:"clear"},class:g("clear"),on:{touchstart:this.onClear}}),this.genRightIcon(),e("button")&&t("div",{class:g("button")},[e("button")])]),this.genWordLimit(),this.genMessage()])}})},5695:function(t,e,n){var i=n("5ca1"),r=n("77f1"),o=String.fromCharCode;n=String.fromCodePoint;i(i.S+i.F*(!!n&&1!=n.length),"String",{fromCodePoint:function(t){for(var e,n=[],i=arguments.length,a=0;a<i;){if(e=+arguments[a++],r(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},"56c8":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={GOAL_BUFFER_LENGTH:30,MAX_GOAL_BUFFER_LENGTH:60,GOAL_BUFFER_LENGTH_RATE:1,BANDWIDTH_VARIANCE:1.2,BUFFER_LOW_WATER_LINE:0,MAX_BUFFER_LOW_WATER_LINE:30,BUFFER_LOW_WATER_LINE_RATE:1},t.exports=e.default},"578d":function(t,e,n){"use strict";n("3cd0"),n("25bb"),n("f8c2")},"57db":function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n;return t&&(n=window.getComputedStyle(t))?n[e]:""}function o(t,e){var n=t.slice();t.sort((function(t,i){var r=e(t,i);return 0===r?n.indexOf(t)-n.indexOf(i):r}))}function a(t,e){var n=void 0,i=void 0;return(n=(n=t.attributes.BANDWIDTH?t.attributes.BANDWIDTH:n)||window.Number.MAX_VALUE)-((i=e.attributes.BANDWIDTH?e.attributes.BANDWIDTH:i)||window.Number.MAX_VALUE)}Object.defineProperty(e,"__esModule",{value:!0});var s=i(n("56c8")),u=i(n("d61a")),c=n("6066");function l(t,e,n,i){var r=t.playlists.map((function(t){var e=t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width,n=t.attributes.RESOLUTION&&t.attributes.RESOLUTION.height;return{bandwidth:t.attributes.BANDWIDTH||window.Number.MAX_VALUE,width:e,height:n,playlist:t}}));o(r,(function(t,e){return t.bandwidth-e.bandwidth}));var a=(r=r.filter((function(t){return!u.default.isIncompatible(t.playlist)}))).filter((function(t){return u.default.isEnabled(t.playlist)})),c=(f=(a=a.length?a:r.filter((function(t){return!u.default.isDisabled(t.playlist)}))).filter((function(t){return t.bandwidth*s.default.BANDWIDTH_VARIANCE<e})))[f.length-1],l=f.filter((function(t){return t.bandwidth===c.bandwidth}))[0],h=f.filter((function(t){return t.width&&t.height}));o(h,(function(t,e){return t.width-e.width}));c=(p=h.filter((function(t){return t.width===n&&t.height===i})))[p.length-1],t=p.filter((function(t){return t.bandwidth===c.bandwidth}))[0];var d=void 0,f=void 0,p=void 0;return t||(f=(d=h.filter((function(t){return t.width>n||t.height>i}))).filter((function(t){return t.width===d[0].width&&t.height===d[0].height})),c=f[f.length-1],p=f.filter((function(t){return t.bandwidth===c.bandwidth}))[0]),(r=p||t||l||a[0]||r[0])?r.playlist:null}e.comparePlaylistBandwidth=a,e.comparePlaylistResolution=function(t,e){var n=void 0,i=void 0;return(n=(n=t.attributes.RESOLUTION&&t.attributes.RESOLUTION.width?t.attributes.RESOLUTION.width:n)||window.Number.MAX_VALUE)===(i=(i=e.attributes.RESOLUTION&&e.attributes.RESOLUTION.width?e.attributes.RESOLUTION.width:i)||window.Number.MAX_VALUE)&&t.attributes.BANDWIDTH&&e.attributes.BANDWIDTH?t.attributes.BANDWIDTH-e.attributes.BANDWIDTH:n-i},e.simpleSelector=l,e.lastBandwidthSelector=function(){return l(this.playlists.master,this.systemBandwidth,parseInt(r(this.tech_.el(),"width"),10),parseInt(r(this.tech_.el(),"height"),10))},e.movingAverageBandwidthSelector=function(t){var e=-1;if(t<0||1<t)throw new Error("Moving average bandwidth decay must be between 0 and 1.");return function(){return e<0&&(e=this.systemBandwidth),e=t*this.systemBandwidth+(1-t)*e,l(this.playlists.master,e,parseInt(r(this.tech_.el(),"width"),10),parseInt(r(this.tech_.el(),"height"),10))}},e.minRebufferMaxBandwidthSelector=function(t){var e=t.master,n=t.currentTime,i=t.bandwidth,r=t.duration,s=t.segmentDuration,c=t.timeUntilRebuffer,l=t.currentTimeline,h=t.syncController;t=e.playlists.filter((function(t){return!u.default.isIncompatible(t)})),e=t.filter(u.default.isEnabled),t=(e=e.length?e:t.filter((function(t){return!u.default.isDisabled(t)}))).filter(u.default.hasAttribute.bind(null,"BANDWIDTH")).map((function(t){var e=h.getSyncPoint(t,r,l,n)?1:2;return{playlist:t,rebufferingImpact:u.default.estimateSegmentRequestTime(s,i,t)*e-c}})),e=t.filter((function(t){return t.rebufferingImpact<=0}));return o(e,(function(t,e){return a(e.playlist,t.playlist)})),e.length?e[0]:(o(t,(function(t,e){return t.rebufferingImpact-e.rebufferingImpact})),t[0]||null)},e.lowestBitrateCompatibleVariantSelector=function(){var t=this.playlists.master.playlists.filter(u.default.isEnabled);return o(t,a),t.filter((function(t){return(0,c.parseCodecs)(t.attributes.CODECS).videoCodec}))[0]||null}},"57e7":function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(a||!n("2f21")(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:r(this,t,arguments[1])}})},"57f0":function(t,e,n){var i=n("d3f4");n("5eda")("isSealed",(function(t){return function(e){return!i(e)||!!t&&t(e)}}))},"58b2":function(t,e,n){var i=n("5ca1");i(i.S+i.F*!n("9e1e"),"Object",{defineProperties:n("1495")})},"58e6":function(t,e,n){"use strict";var i=n("d282"),r=n("1325"),o=n("a8c1"),a=n("3875"),s=n("543e"),u=(n=Object(i.a)("pull-refresh"),i=n[0],n[1]),c=n[2],l=["pulling","loosing","success"];e.a=i({mixins:[a.a],props:{disabled:Boolean,successText:String,pullingText:String,loosingText:String,loadingText:String,pullDistance:[Number,String],value:{type:Boolean,required:!0},successDuration:{type:[Number,String],default:500},animationDuration:{type:[Number,String],default:300},headHeight:{type:[Number,String],default:50}},data:function(){return{status:"normal",distance:0,duration:0}},computed:{touchable:function(){return"loading"!==this.status&&"success"!==this.status&&!this.disabled},headStyle:function(){if(50!==this.headHeight)return{height:this.headHeight+"px"}}},watch:{value:function(t){this.duration=this.animationDuration,t?this.setStatus(+this.headHeight,!0):this.slots("success")||this.successText?this.showSuccessTip():this.setStatus(0,!1)}},mounted:function(){this.bindTouchEvent(this.$refs.track),this.scrollEl=Object(o.d)(this.$el)},methods:{checkPullStart:function(t){this.ceiling=0===Object(o.c)(this.scrollEl),this.ceiling&&(this.duration=0,this.touchStart(t))},onTouchStart:function(t){this.touchable&&this.checkPullStart(t)},onTouchMove:function(t){this.touchable&&(this.ceiling||this.checkPullStart(t),this.touchMove(t),this.ceiling&&0<=this.deltaY&&"vertical"===this.direction&&(Object(r.c)(t),this.setStatus(this.ease(this.deltaY))))},onTouchEnd:function(){var t=this;this.touchable&&this.ceiling&&this.deltaY&&(this.duration=this.animationDuration,"loosing"===this.status?(this.setStatus(+this.headHeight,!0),this.$emit("input",!0),this.$nextTick((function(){t.$emit("refresh")}))):this.setStatus(0))},ease:function(t){var e=+(this.pullDistance||this.headHeight);return e<t&&(t=t<2*e?e+(t-e)/2:1.5*e+(t-2*e)/4),Math.round(t)},setStatus:function(t,e){e=e?"loading":0===t?"normal":t<(this.pullDistance||this.headHeight)?"pulling":"loosing",this.distance=t,e!==this.status&&(this.status=e)},genStatus:function(){var t=this.$createElement,e=this.status,n=this.distance,i=this.slots(e,{distance:n});return i||(n=[],i=this[e+"Text"]||c(e),-1!==l.indexOf(e)&&n.push(t("div",{class:u("text")},[i])),"loading"===e&&n.push(t(s.a,{attrs:{size:"16"}},[i])),n)},showSuccessTip:function(){var t=this;this.status="success",setTimeout((function(){t.setStatus(0)}),this.successDuration)}},render:function(){var t=arguments[0],e={transitionDuration:this.duration+"ms",transform:this.distance?"translate3d(0,"+this.distance+"px, 0)":""};return t("div",{class:u()},[t("div",{ref:"track",class:u("track"),style:e},[t("div",{class:u("head"),style:this.headStyle},[this.genStatus()]),this.slots()])])}})},"59a0":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},r=function(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t};function o(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var a,s=n("fc85");n=(a=s)&&a.__esModule?a:{default:a};function u(t){for(var e=t.split(new RegExp('(?:^|,)((?:[^=]*)=(?:"[^"]*"|[^,]*))')),n={},i=e.length,r=void 0;i--;)""!==e[i]&&((r=/([^=]*)=(.*)/.exec(e[i]).slice(1))[0]=r[0].replace(/^\s+|\s+$/g,""),r[1]=r[1].replace(/^\s+|\s+$/g,""),r[1]=r[1].replace(/^['"](.*)['"]$/g,"$1"),n[r[0]]=r[1]);return n}function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this))}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(c,n.default),r(c,[{key:"push",value:function(t){var e=void 0,n=void 0;if(0!==(t=t.replace(/^[\u0000\s]+|[\u0000\s]+$/g,"")).length)if("#"===t[0])if(0===t.indexOf("#EXT"))if(t=t.replace("\r",""),e=/^#EXTM3U/.exec(t))this.trigger("data",{type:"tag",tagType:"m3u"});else{if(e=/^#EXTINF:?([0-9\.]*)?,?(.*)?$/.exec(t))return n={type:"tag",tagType:"inf"},e[1]&&(n.duration=parseFloat(e[1])),e[2]&&(n.title=e[2]),void this.trigger("data",n);if(e=/^#EXT-X-TARGETDURATION:?([0-9.]*)?/.exec(t))return n={type:"tag",tagType:"targetduration"},e[1]&&(n.duration=parseInt(e[1],10)),void this.trigger("data",n);if(e=/^#ZEN-TOTAL-DURATION:?([0-9.]*)?/.exec(t))return n={type:"tag",tagType:"totalduration"},e[1]&&(n.duration=parseInt(e[1],10)),void this.trigger("data",n);if(e=/^#EXT-X-VERSION:?([0-9.]*)?/.exec(t))return n={type:"tag",tagType:"version"},e[1]&&(n.version=parseInt(e[1],10)),void this.trigger("data",n);if(e=/^#EXT-X-MEDIA-SEQUENCE:?(\-?[0-9.]*)?/.exec(t))return n={type:"tag",tagType:"media-sequence"},e[1]&&(n.number=parseInt(e[1],10)),void this.trigger("data",n);if(e=/^#EXT-X-DISCONTINUITY-SEQUENCE:?(\-?[0-9.]*)?/.exec(t))return n={type:"tag",tagType:"discontinuity-sequence"},e[1]&&(n.number=parseInt(e[1],10)),void this.trigger("data",n);if(e=/^#EXT-X-PLAYLIST-TYPE:?(.*)?$/.exec(t))return n={type:"tag",tagType:"playlist-type"},e[1]&&(n.playlistType=e[1]),void this.trigger("data",n);if(e=/^#EXT-X-BYTERANGE:?([0-9.]*)?@?([0-9.]*)?/.exec(t))return n={type:"tag",tagType:"byterange"},e[1]&&(n.length=parseInt(e[1],10)),e[2]&&(n.offset=parseInt(e[2],10)),void this.trigger("data",n);if(e=/^#EXT-X-ALLOW-CACHE:?(YES|NO)?/.exec(t))return n={type:"tag",tagType:"allow-cache"},e[1]&&(n.allowed=!/NO/.test(e[1])),void this.trigger("data",n);if(e=/^#EXT-X-MAP:?(.*)$/.exec(t)){var r;n={type:"tag",tagType:"map"};return e[1]&&((r=u(e[1])).URI&&(n.uri=r.URI),r.BYTERANGE&&(a=r.BYTERANGE.split("@"),a=(o=i(a,2))[0],o=o[1],n.byterange={},a&&(n.byterange.length=parseInt(a,10)),o&&(n.byterange.offset=parseInt(o,10)))),void this.trigger("data",n)}var o,a;e=/^#EXT-X-STREAM-INF:?(.*)$/.exec(t);if(e)return n={type:"tag",tagType:"stream-inf"},e[1]&&(n.attributes=u(e[1]),n.attributes.RESOLUTION&&(a={},(o=n.attributes.RESOLUTION.split("x"))[0]&&(a.width=parseInt(o[0],10)),o[1]&&(a.height=parseInt(o[1],10)),n.attributes.RESOLUTION=a),n.attributes.BANDWIDTH&&(n.attributes.BANDWIDTH=parseInt(n.attributes.BANDWIDTH,10)),n.attributes["PROGRAM-ID"]&&(n.attributes["PROGRAM-ID"]=parseInt(n.attributes["PROGRAM-ID"],10))),void this.trigger("data",n);if(e=/^#EXT-X-MEDIA:?(.*)$/.exec(t))return n={type:"tag",tagType:"media"},e[1]&&(n.attributes=u(e[1])),void this.trigger("data",n);if(e=/^#EXT-X-ENDLIST/.exec(t))this.trigger("data",{type:"tag",tagType:"endlist"});else{if(!(e=/^#EXT-X-DISCONTINUITY/.exec(t)))return(e=/^#EXT-X-PROGRAM-DATE-TIME:?(.*)$/.exec(t))?(n={type:"tag",tagType:"program-date-time"},e[1]&&(n.dateTimeString=e[1],n.dateTimeObject=new Date(e[1])),void this.trigger("data",n)):(e=/^#EXT-X-KEY:?(.*)$/.exec(t))?(n={type:"tag",tagType:"key"},e[1]&&(n.attributes=u(e[1]),n.attributes.IV&&("0x"===n.attributes.IV.substring(0,2).toLowerCase()&&(n.attributes.IV=n.attributes.IV.substring(2)),n.attributes.IV=n.attributes.IV.match(/.{8}/g),n.attributes.IV[0]=parseInt(n.attributes.IV[0],16),n.attributes.IV[1]=parseInt(n.attributes.IV[1],16),n.attributes.IV[2]=parseInt(n.attributes.IV[2],16),n.attributes.IV[3]=parseInt(n.attributes.IV[3],16),n.attributes.IV=new Uint32Array(n.attributes.IV))),void this.trigger("data",n)):(e=/^#EXT-X-CUE-OUT-CONT:?(.*)?$/.exec(t))?(n={type:"tag",tagType:"cue-out-cont"},e[1]?n.data=e[1]:n.data="",void this.trigger("data",n)):(e=/^#EXT-X-CUE-OUT:?(.*)?$/.exec(t))?(n={type:"tag",tagType:"cue-out"},e[1]?n.data=e[1]:n.data="",void this.trigger("data",n)):(e=/^#EXT-X-CUE-IN:?(.*)?$/.exec(t))?(n={type:"tag",tagType:"cue-in"},e[1]?n.data=e[1]:n.data="",void this.trigger("data",n)):void this.trigger("data",{type:"tag",data:t.slice(4)});this.trigger("data",{type:"tag",tagType:"discontinuity"})}}else this.trigger("data",{type:"comment",text:t.slice(1)});else this.trigger("data",{type:"uri",uri:t})}}]),r=c,e.default=r},"5a5c":function(t,e,n){"use strict";n("3cd0")},"5bc0":function(t,e,n){"use strict";function i(t,e,n){for(var i="",r=e;r<n;r++)i+="%"+("00"+t[r].toString(16)).slice(-2);return i}function r(t,e,n){return decodeURIComponent(i(t,e,n))}function o(t){return t[0]<<21|t[1]<<14|t[2]<<7|t[3]}var a=n("4329"),s=n("ae75"),u={TXXX:function(t){var e;if(3===t.data[0]){for(e=1;e<t.data.length;e++)if(0===t.data[e]){t.description=r(t.data,1,e),t.value=r(t.data,e+1,t.data.length).replace(/\0*$/,"");break}t.data=t.value}},WXXX:function(t){var e;if(3===t.data[0])for(e=1;e<t.data.length;e++)if(0===t.data[e]){t.description=r(t.data,1,e),t.url=r(t.data,e+1,t.data.length);break}},PRIV:function(t){for(var e,n=0;n<t.data.length;n++)if(0===t.data[n]){t.owner=(e=t.data,unescape(i(e,0,n)));break}t.privateData=t.data.subarray(n+1),t.data=t.privateData}},c=function(t){var e,n={debug:!(!t||!t.debug),descriptor:t&&t.descriptor},i=0,r=[],a=0;if(c.prototype.init.call(this),this.dispatchType=s.METADATA_STREAM_TYPE.toString(16),n.descriptor)for(e=0;e<n.descriptor.length;e++)this.dispatchType+=("00"+n.descriptor[e].toString(16)).slice(-2);this.push=function(t){var e,s,c,l,h,d,f;if("timed-metadata"===t.type)if(t.dataAlignmentIndicator&&(a=0,r.length=0),0===r.length&&(t.data.length<10||t.data[0]!=="I".charCodeAt(0)||t.data[1]!=="D".charCodeAt(0)||t.data[2]!=="3".charCodeAt(0)))n.debug;else if(r.push(t),a+=t.data.byteLength,1===r.length&&(i=o(t.data.subarray(6,10)),i+=10),!(a<i)){for(e={data:new Uint8Array(i),frames:[],pts:r[0].pts,dts:r[0].dts},l=0;l<i;)e.data.set(r[0].data.subarray(0,i-l),l),l+=r[0].data.byteLength,a-=r[0].data.byteLength,r.shift();s=10,64&e.data[5]&&(s+=4,s+=o(e.data.subarray(10,14)),i-=o(e.data.subarray(16,20)));do{if((c=o(e.data.subarray(s+4,s+8)))<1)return}while((f={id:String.fromCharCode(e.data[s],e.data[s+1],e.data[s+2],e.data[s+3]),data:e.data.subarray(s+10,s+c+10)}).key=f.id,u[f.id]&&(u[f.id](f),"com.apple.streaming.transportStreamTimestamp"===f.owner&&(d=(1&(h=f.data)[3])<<30|h[4]<<22|h[5]<<14|h[6]<<6|h[7]>>>2,d*=4,d+=3&h[7],f.timeStamp=d,void 0===e.pts&&void 0===e.dts&&(e.pts=f.timeStamp,e.dts=f.timeStamp),this.trigger("timestamp",f))),e.frames.push(f),s+=10,(s+=c)<i);this.trigger("data",e)}}};c.prototype=new a,t.exports=c},"5c9d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t){return t&&t.__esModule?t:{default:t}}var a=o(n("be09")),s=o(n("28e5")),u=(i(c,[{key:"init",value:function(){var t;this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new s.default.Transmuxer(this.options),(t=this.transmuxer).on("data",(function(t){var e=t.initSegment;t.initSegment={data:e.buffer,byteOffset:e.byteOffset,byteLength:e.byteLength},e=t.data,t.data=e.buffer,a.default.postMessage({action:"data",segment:t,byteOffset:e.byteOffset,byteLength:e.byteLength},[t.data])})),t.captionStream&&t.captionStream.on("data",(function(t){a.default.postMessage({action:"caption",data:t})})),t.on("done",(function(t){a.default.postMessage({action:"done"})})),t.on("gopInfo",(function(t){a.default.postMessage({action:"gopInfo",gopInfo:t})}))}},{key:"push",value:function(t){t=new Uint8Array(t.data,t.byteOffset,t.byteLength),this.transmuxer.push(t)}},{key:"reset",value:function(){this.init()}},{key:"setTimestampOffset",value:function(t){t=t.timestampOffset||0,this.transmuxer.setBaseMediaDecodeTime(Math.round(9e4*t))}},{key:"setAudioAppendStart",value:function(t){this.transmuxer.setAudioAppendStart(Math.ceil(9e4*t.appendStart))}},{key:"flush",value:function(t){this.transmuxer.flush()}},{key:"resetCaptions",value:function(){this.transmuxer.resetCaptions()}},{key:"alignGopsWith",value:function(t){this.transmuxer.alignGopsWith(t.gopsToAlignWith.slice())}}]),c);function c(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),this.options=t||{},this.init()}function l(t){t.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new u(t.data.options):(this.messageHandlers||(this.messageHandlers=new u),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}e.default=function(t){return new l(t)},t.exports=e.default},"5ca1":function(t,e,n){var i=n("7726"),r=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),u="prototype",c=function(t,e,n){var l,h,d,f=t&c.F,p=t&c.G,g=t&c.S,m=t&c.P,v=t&c.B,y=p?i:g?i[e]||(i[e]={}):(i[e]||{})[u],b=p?r:r[e]||(r[e]={}),_=b[u]||(b[u]={});for(l in n=p?e:n)h=((d=!f&&y&&void 0!==y[l])?y:n)[l],d=v&&d?s(h,i):m&&"function"==typeof h?s(Function.call,h):h,y&&a(y,l,h,t&c.U),b[l]!=h&&o(b,l,d),m&&_[l]!=h&&(_[l]=h)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},"5cc2":function(t,e,n){},"5cc5":function(t,e,n){var i=n("2b4c")("iterator"),r=!1;try{var o=[7][i]();o.return=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var n=!1;try{var o=[7],a=o[i]();a.next=function(){return{done:n=!0}},o[i]=function(){return a},t(o)}catch(t){}return n}},"5d40":function(t,e,n){n("28e4")("WeakMap")},"5d90":function(t,e,n){n("28e4")("WeakSet")},"5dbc":function(t,e,n){var i=n("d3f4"),r=n("8b97").set;t.exports=function(t,e,n){var o;e=e.constructor;return e!==n&&"function"==typeof e&&(o=e.prototype)!==n.prototype&&i(o)&&r&&r(t,o),t}},"5df2":function(t,e,n){var i=n("5ca1");n=n("d752");i(i.S+i.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},"5df3":function(t,e,n){"use strict";var i=n("02f4")(!0);n("01f9")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t=this._t,e=this._i;return e>=t.length?{value:void 0,done:!0}:(e=i(t,e),this._i+=e.length,{value:e,done:!1})}))},"5e46":function(t,e,n){"use strict";var i,r=n("d282"),o=n("ea8e"),a=n("a142"),s=n("4598"),u=n("a8c1"),c=n("48f4"),l=n("02de"),h=n("1325"),d=n("b1d2"),f=n("7e3e"),p=n("9884"),g=n("5fbe"),m=n("6f2f"),v=Object(r.a)("tab"),y=v[0],b=v[1],_=y({props:{dot:Boolean,type:String,info:[Number,String],color:String,title:String,isActive:Boolean,disabled:Boolean,scrollable:Boolean,activeColor:String,inactiveColor:String},computed:{style:function(){var t={},e=this.color,n=this.isActive,i="card"===this.type;return e&&i&&(t.borderColor=e,this.disabled||(n?t.backgroundColor=e:t.color=e)),n=n?this.activeColor:this.inactiveColor,n&&(t.color=n),t}},methods:{onClick:function(){this.$emit("click")},genText:function(){var t=this.$createElement,e=t("span",{class:b("text",{ellipsis:!this.scrollable})},[this.slots()||this.title]);return this.dot||Object(a.c)(this.info)&&""!==this.info?t("span",{class:b("text-wrapper")},[e,t(m.a,{attrs:{dot:this.dot,info:this.info}})]):e}},render:function(){return(0,arguments[0])("div",{attrs:{role:"tab","aria-selected":this.isActive},class:[b({active:this.isActive,disabled:this.disabled})],style:this.style,on:{click:this.onClick}},[this.genText()])}}),T=n("3104"),S=n("c31d"),w=(v=n("3875"),y=Object(r.a)("tabs"),n=y[0],y[1]),k=n({mixins:[v.a],props:{count:Number,duration:[Number,String],animated:Boolean,swipeable:Boolean,currentIndex:Number},computed:{style:function(){if(this.animated)return{transform:"translate3d("+-1*this.currentIndex*100+"%, 0, 0)",transitionDuration:this.duration+"s"}},listeners:function(){if(this.swipeable)return{touchstart:this.touchStart,touchmove:this.touchMove,touchend:this.onTouchEnd,touchcancel:this.onTouchEnd}}},methods:{onTouchEnd:function(){var t=this.direction,e=this.deltaX,n=this.currentIndex;"horizontal"===t&&50<=this.offsetX&&(0<e&&0!==n?this.$emit("change",n-1):e<0&&n!==this.count-1&&this.$emit("change",n+1))},genChildren:function(){var t=this.$createElement;return this.animated?t("div",{class:w("track"),style:this.style},[this.slots()]):this.slots()}},render:function(){return(0,arguments[0])("div",{class:w("content",{animated:this.animated}),on:Object(S.a)({},this.listeners)},[this.genChildren()])}}),C=(v=Object(r.a)("tabs"),r=v[0],v[1]);e.a=r({mixins:[Object(p.b)("vanTabs"),Object(g.a)((function(t){this.scroller||(this.scroller=Object(u.d)(this.$el)),t(window,"resize",this.resize,!0),this.scrollspy&&t(this.scroller,"scroll",this.onScroll,!0)}))],inject:{vanPopup:{default:null}},model:{prop:"active"},props:{color:String,border:Boolean,sticky:Boolean,animated:Boolean,swipeable:Boolean,scrollspy:Boolean,background:String,lineWidth:[Number,String],lineHeight:[Number,String],beforeChange:Function,titleActiveColor:String,titleInactiveColor:String,type:{type:String,default:"line"},active:{type:[Number,String],default:0},ellipsis:{type:Boolean,default:!0},duration:{type:[Number,String],default:.3},offsetTop:{type:[Number,String],default:0},lazyRender:{type:Boolean,default:!0},swipeThreshold:{type:[Number,String],default:5}},data:function(){return{position:"",currentIndex:null,lineStyle:{backgroundColor:this.color}}},computed:{scrollable:function(){return this.children.length>this.swipeThreshold||!this.ellipsis},navStyle:function(){return{borderColor:this.color,background:this.background}},currentName:function(){var t=this.children[this.currentIndex];if(t)return t.computedName},offsetTopPx:function(){return Object(o.b)(this.offsetTop)},scrollOffset:function(){return this.sticky?this.offsetTopPx+this.tabHeight:0}},watch:{color:"setLine",active:function(t){t!==this.currentName&&this.setCurrentIndexByName(t)},children:function(){var t=this;this.setCurrentIndexByName(this.active),this.setLine(),this.$nextTick((function(){t.scrollIntoView(!0)}))},currentIndex:function(){this.scrollIntoView(),this.setLine(),this.stickyFixed&&!this.scrollspy&&Object(u.g)(Math.ceil(Object(u.a)(this.$el)-this.offsetTopPx))},scrollspy:function(t){t?Object(h.b)(this.scroller,"scroll",this.onScroll,!0):Object(h.a)(this.scroller,"scroll",this.onScroll)}},mounted:function(){var t=this;this.init(),this.vanPopup&&this.vanPopup.onReopen((function(){t.setLine()}))},activated:function(){this.init(),this.setLine()},methods:{resize:function(){this.setLine()},init:function(){var t=this;this.$nextTick((function(){t.inited=!0,t.tabHeight=Object(u.e)(t.$refs.wrap),t.scrollIntoView(!0)}))},setLine:function(){var t=this,e=this.inited;this.$nextTick((function(){var n,i,r=t.$refs.titles;r&&r[t.currentIndex]&&"line"===t.type&&!Object(l.a)(t.$el)&&(i=r[t.currentIndex].$el,n=t.lineWidth,r=t.lineHeight,i=i.offsetLeft+i.offsetWidth/2,i={width:Object(o.a)(n),backgroundColor:t.color,transform:"translateX("+i+"px) translateX(-50%)"},e&&(i.transitionDuration=t.duration+"s"),Object(a.c)(r)&&(r=Object(o.a)(r),i.height=r,i.borderRadius=r),t.lineStyle=i)}))},setCurrentIndexByName:function(t){var e=this.children.filter((function(e){return e.computedName===t})),n=(this.children[0]||{}).index||0;this.setCurrentIndex(e.length?e[0].index:n)},setCurrentIndex:function(t){var e,n,i=this.findAvailableTab(t);Object(a.c)(i)&&(n=(e=this.children[i]).computedName,t=null!==this.currentIndex,this.currentIndex=i,n!==this.active&&(this.$emit("input",n),t&&this.$emit("change",n,e.title)))},findAvailableTab:function(t){for(var e=t<this.currentIndex?-1:1;0<=t&&t<this.children.length;){if(!this.children[t].disabled)return t;t+=e}},onClick:function(t,e){var n=this,i=this.children[e],r=i.title,o=i.disabled;i=i.computedName;o?this.$emit("disabled",i,r):(Object(f.a)({interceptor:this.beforeChange,args:[i],done:function(){n.setCurrentIndex(e),n.scrollToCurrentContent()}}),this.$emit("click",i,r),Object(c.b)(t.$router,t))},scrollIntoView:function(t){var e,n=this.$refs.titles;this.scrollable&&n&&n[this.currentIndex]&&function(t,e,n){Object(s.a)(i);var r=0,o=t.scrollLeft,a=0===n?1:Math.round(1e3*n/16);!function n(){t.scrollLeft+=(e-o)/a,++r<a&&(i=Object(s.c)(n))}()}(e=this.$refs.nav,(n=n[this.currentIndex].$el).offsetLeft-(e.offsetWidth-n.offsetWidth)/2,t?0:+this.duration)},onSticktScroll:function(t){this.stickyFixed=t.isFixed,this.$emit("scroll",t)},scrollTo:function(t){var e=this;this.$nextTick((function(){e.setCurrentIndexByName(t),e.scrollToCurrentContent(!0)}))},scrollToCurrentContent:function(t){var e,n,i,r,o,a,c,l=this;void 0===t&&(t=!1),!this.scrollspy||(e=null==(e=this.children[this.currentIndex])?void 0:e.$el)&&(e=Object(u.a)(e,this.scroller)-this.scrollOffset,this.lockScroll=!0,n=this.scroller,i=e,t=t?0:+this.duration,r=function(){l.lockScroll=!1},o=Object(u.c)(n),a=o<i,t=0===t?1:Math.round(1e3*t/16),c=(i-o)/t,function t(){o+=c,(a&&i<o||!a&&o<i)&&(o=i),Object(u.h)(n,o),a&&o<i||!a&&i<o?Object(s.c)(t):r&&Object(s.c)(r)}())},onScroll:function(){var t;this.scrollspy&&!this.lockScroll&&(t=this.getCurrentIndexOnScroll(),this.setCurrentIndex(t))},getCurrentIndexOnScroll:function(){for(var t=this.children,e=0;e<t.length;e++)if(Object(u.f)(t[e].$el)>this.scrollOffset)return 0===e?0:e-1;return t.length-1}},render:function(){var t,e=this,n=arguments[0],i=this.type,r=this.animated,o=this.scrollable,a=this.children.map((function(t,r){var a;return n(_,{ref:"titles",refInFor:!0,attrs:{type:i,dot:t.dot,info:null!=(a=t.badge)?a:t.info,title:t.title,color:e.color,isActive:r===e.currentIndex,disabled:t.disabled,scrollable:o,activeColor:e.titleActiveColor,inactiveColor:e.titleInactiveColor},style:t.titleStyle,class:t.titleClass,scopedSlots:{default:function(){return t.slots("title")}},on:{click:function(){e.onClick(t,r)}}})}));a=n("div",{ref:"wrap",class:[C("wrap",{scrollable:o}),((t={})[d.f]="line"===i&&this.border,t)]},[n("div",{ref:"nav",attrs:{role:"tablist"},class:C("nav",[i,{complete:this.scrollable}]),style:this.navStyle},[this.slots("nav-left"),a,"line"===i&&n("div",{class:C("line"),style:this.lineStyle}),this.slots("nav-right")])]);return n("div",{class:C([i])},[this.sticky?n(T.a,{attrs:{container:this.$el,offsetTop:this.offsetTop},on:{scroll:this.onSticktScroll}},[a]):a,n(k,{attrs:{count:this.children.length,animated:r,duration:this.duration,swipeable:this.swipeable,currentIndex:this.currentIndex},on:{change:this.setCurrentIndex}},[this.slots()])])}})},"5e5e":function(t,e,n){},"5eda":function(t,e,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(r.Object||{})[t]||Object[t],a={};a[t]=e(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(t,e,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){if(n=n.call(t,e),"object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==i(t))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},"5fbe":function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var i=n("1325"),r=0;function o(t){var e="binded_"+r++;function n(){this[e]||(t.call(this,i.b,!0),this[e]=!0)}function o(){this[e]&&(t.call(this,i.a,!1),this[e]=!1)}return{mounted:n,activated:n,deactivated:o,beforeDestroy:o}}},6066:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseCodecs=function(){var t,e=arguments.length<=0||void 0===arguments[0]?"":arguments[0],n={codecCount:0};return n.codecCount=e.split(",").length,n.codecCount=n.codecCount||2,(t=/(^|\s|,)+(avc1)([^ ,]*)/i.exec(e))&&(n.videoCodec=t[2],n.videoObjectTypeIndicator=t[3]),n.audioProfile=/(^|\s|,)+mp4a.[0-9A-Fa-f]+\.([0-9A-Fa-f]+)/i.exec(e),n.audioProfile=n.audioProfile&&n.audioProfile[2],n}},"608d":function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("ce04")},6095:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(4);i(i.P+i.F*!n("2f21")([].every,!0),"Array",{every:function(t){return r(this,t,arguments[1])}})},"613b":function(t,e,n){var i=n("5537")("keys"),r=n("ca5a");t.exports=function(t){return i[t]||(i[t]=r(t))}},"626a":function(t,e,n){var i=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==i(t)?t.split(""):Object(t)}},"631a":function(t,e,n){"use strict";var i,r,o=n("4329"),a=n("3240"),s=function(){var t,e,n=0;s.prototype.init.call(this),this.push=function(i){var r;for(e=e?((r=new Uint8Array(e.byteLength+i.data.byteLength)).set(e),r.set(i.data,e.byteLength),r):i.data;n<e.byteLength-3;n++)if(1===e[n+2]){t=n+5;break}for(;t<e.byteLength;)switch(e[t]){case 0:if(0!==e[t-1]){t+=2;break}if(0!==e[t-2]){t++;break}for(n+3!==t-2&&this.trigger("data",e.subarray(n+3,t-2));1!==e[++t]&&t<e.length;);n=t-2,t+=3;break;case 1:if(0!==e[t-1]||0!==e[t-2]){t+=3;break}this.trigger("data",e.subarray(n+3,t-2)),n=t-2,t+=3;break;default:t+=3}e=e.subarray(n),t-=n,n=0},this.flush=function(){e&&3<e.byteLength&&this.trigger("data",e.subarray(n+3)),e=null,n=0,this.trigger("done")}};s.prototype=new o,r={100:!0,110:!0,122:!0,244:!0,44:!0,83:!0,86:!0,118:!0,128:!0,138:!0,139:!0,134:!0},(i=function(){var t,e,n,o,u,c,l,h=new s;i.prototype.init.call(this),(t=this).push=function(t){"video"===t.type&&(e=t.trackId,n=t.pts,o=t.dts,h.push(t))},h.on("data",(function(i){var r={trackId:e,pts:n,dts:o,data:i};switch(31&i[0]){case 5:r.nalUnitType="slice_layer_without_partitioning_rbsp_idr";break;case 6:r.nalUnitType="sei_rbsp",r.escapedRBSP=u(i.subarray(1));break;case 7:r.nalUnitType="seq_parameter_set_rbsp",r.escapedRBSP=u(i.subarray(1)),r.config=c(r.escapedRBSP);break;case 8:r.nalUnitType="pic_parameter_set_rbsp";break;case 9:r.nalUnitType="access_unit_delimiter_rbsp"}t.trigger("data",r)})),h.on("done",(function(){t.trigger("done")})),this.flush=function(){h.flush()},l=function(t,e){for(var n=8,i=8,r=0;r<t;r++)n=0===(i=0!==i?(n+e.readExpGolomb()+256)%256:i)?n:i},u=function(t){for(var e=t.byteLength,n=[],i=1;i<e-2;)0===t[i]&&0===t[i+1]&&3===t[i+2]?(n.push(i+2),i+=2):i++;if(0===n.length)return t;var r=e-n.length,o=new Uint8Array(r),a=0;for(i=0;i<r;a++,i++)a===n[0]&&(a++,n.shift()),o[i]=t[a];return o},c=function(t){var e,n,i,o,s,u,c=0,h=0,d=0,f=0,p=1,g=new a(t),m=g.readUnsignedByte(),v=g.readUnsignedByte(),y=g.readUnsignedByte();if(g.skipUnsignedExpGolomb(),r[m]&&(3===(n=g.readUnsignedExpGolomb())&&g.skipBits(1),g.skipUnsignedExpGolomb(),g.skipUnsignedExpGolomb(),g.skipBits(1),g.readBoolean()))for(o=3!==n?8:12,u=0;u<o;u++)g.readBoolean()&&l(u<6?16:64,g);if(g.skipUnsignedExpGolomb(),0===(i=g.readUnsignedExpGolomb()))g.readUnsignedExpGolomb();else if(1===i)for(g.skipBits(1),g.skipExpGolomb(),g.skipExpGolomb(),e=g.readUnsignedExpGolomb(),u=0;u<e;u++)g.skipExpGolomb();if(g.skipUnsignedExpGolomb(),g.skipBits(1),t=g.readUnsignedExpGolomb(),n=g.readUnsignedExpGolomb(),0===(i=g.readBits(1))&&g.skipBits(1),g.skipBits(1),g.readBoolean()&&(c=g.readUnsignedExpGolomb(),h=g.readUnsignedExpGolomb(),d=g.readUnsignedExpGolomb(),f=g.readUnsignedExpGolomb()),g.readBoolean()&&g.readBoolean()){switch(g.readUnsignedByte()){case 1:s=[1,1];break;case 2:s=[12,11];break;case 3:s=[10,11];break;case 4:s=[16,11];break;case 5:s=[40,33];break;case 6:s=[24,11];break;case 7:s=[20,11];break;case 8:s=[32,11];break;case 9:s=[80,33];break;case 10:s=[18,11];break;case 11:s=[15,11];break;case 12:s=[64,33];break;case 13:s=[160,99];break;case 14:s=[4,3];break;case 15:s=[3,2];break;case 16:s=[2,1];break;case 255:s=[g.readUnsignedByte()<<8|g.readUnsignedByte(),g.readUnsignedByte()<<8|g.readUnsignedByte()]}s&&(p=s[0]/s[1])}return{profileIdc:m,levelIdc:y,profileCompatibility:v,width:Math.ceil((16*(t+1)-2*c-2*h)*p),height:(2-i)*(n+1)*16-2*d-2*f}}}).prototype=new o,t.exports={H264Stream:i,NalByteStream:s}},6370:function(t,e,n){"use strict";n("3cd0"),n("64d7")},"63d9":function(t,e,n){n("ec30")("Float32",4,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},"643e":function(t,e,n){"use strict";function i(t){return t._l||(t._l=new v)}function r(t,e){return p(t.a,(function(t){return t[0]===e}))}var o=n("dcbc"),a=n("67ab").getWeak,s=n("cb7c"),u=n("d3f4"),c=n("f605"),l=n("4a59"),h=n("0a49"),d=n("69a8"),f=n("b39a"),p=h(5),g=h(6),m=0,v=function(){this.a=[]};v.prototype={get:function(t){if(t=r(this,t),t)return t[1]},has:function(t){return!!r(this,t)},set:function(t,e){var n=r(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=g(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,r){var s=t((function(t,i){c(t,s,e,"_i"),t._t=e,t._i=m++,t._l=void 0,null!=i&&l(i,n,t[r],t)}));return o(s.prototype,{delete:function(t){if(!u(t))return!1;var n=a(t);return!0===n?i(f(this,e)).delete(t):n&&d(n,this._i)&&delete n[this._i]},has:function(t){if(!u(t))return!1;var n=a(t);return!0===n?i(f(this,e)).has(t):n&&d(n,this._i)}}),s},def:function(t,e,n){var r=a(s(e),!0);return!0===r?i(t).set(e,n):r[t._i]=n,t},ufstore:i}},6444:function(t,e){function n(t){return t.replace(/^\s+|\s+$/g,"")}t.exports=function(t){if(!t)return{};for(var e={},i=n(t).split("\n"),r=0;r<i.length;r++){var o=i[r],a=o.indexOf(":"),s=n(o.slice(0,a)).toLowerCase();o=n(o.slice(a+1));void 0===e[s]?e[s]=o:(a=e[s],"[object Array]"===Object.prototype.toString.call(a)?e[s].push(o):e[s]=[e[s],o])}return e}},"64d5":function(t,e,n){"use strict";var i=n("5ca1"),r=n("4bf8"),o=n("6a99"),a=n("38fd"),s=n("11e9").f;n("9e1e")&&i(i.P+n("c5b4"),"Object",{__lookupSetter__:function(t){var e,n=r(this),i=o(t,!0);do{if(e=s(n,i))return e.set}while(n=a(n))}})},"64d7":function(t,e,n){},6605:function(t,e,n){"use strict";n.d(e,"b",(function(){return w})),n.d(e,"a",(function(){return k}));var i={zIndex:2e3,lockCount:0,stack:[],find:function(t){return this.stack.filter((function(e){return e.vm===t}))[0]}},r=n("c31d"),o=n("2638"),a=n.n(o),s=(e=n("d282"),n("a142")),u=n("ba31"),c=n("1325"),l=(o=Object(e.a)("overlay"),e=o[0],o[1]);function h(t){Object(c.c)(t,!0)}function d(t,e,n,i){var o=Object(r.a)({zIndex:e.zIndex},e.customStyle);return Object(s.c)(e.duration)&&(o.animationDuration=e.duration+"s"),t("transition",{attrs:{name:"van-fade"}},[t("div",a()([{directives:[{name:"show",value:e.show}],style:o,class:[l(),e.className],on:{touchmove:e.lockScroll?h:s.h}},Object(u.b)(i,!0)]),[null==n.default?void 0:n.default()])])}d.props={show:Boolean,zIndex:[Number,String],duration:[Number,String],className:null,customStyle:Object,lockScroll:{type:Boolean,default:!0}};var f=e(d),p=n("092d"),g={className:"",customStyle:{}};function m(t){var e,n=i.find(t);n&&(e=t.$el,t=n.config,n=n.overlay,e&&e.parentNode&&e.parentNode.insertBefore(n.$el,e),Object(r.a)(n,g,t,{show:!0}))}function v(t,e){var n,r=i.find(t);r?r.config=e:(n=t,r=Object(u.c)(f,{on:{click:function(){n.$emit("click-overlay"),n.closeOnClickOverlay&&(n.onClickOverlay?n.onClickOverlay():n.close())}}}),i.stack.push({vm:t,config:e,overlay:r})),m(t)}function y(t){t=i.find(t),t&&(t.overlay.show=!1)}var b=n("a8c1"),_=n("3875"),T=n("1421"),S=(n=n("5fbe"),{mixins:[Object(n.a)((function(t,e){this.handlePopstate(e&&this.closeOnPopstate)}))],props:{closeOnPopstate:Boolean},data:function(){return{bindStatus:!1}},watch:{closeOnPopstate:function(t){this.handlePopstate(t)}},methods:{onPopstate:function(){this.close(),this.shouldReopen=!1},handlePopstate:function(t){this.$isServer||this.bindStatus!==t&&((this.bindStatus=t)?c.b:c.a)(window,"popstate",this.onPopstate)}}}),w={transitionAppear:Boolean,value:Boolean,overlay:Boolean,overlayStyle:Object,overlayClass:String,closeOnClickOverlay:Boolean,zIndex:[Number,String],lockScroll:{type:Boolean,default:!0},lazyRender:{type:Boolean,default:!0}};function k(t){return void 0===t&&(t={}),{mixins:[_.a,S,Object(T.a)({afterPortal:function(){this.overlay&&m()}})],provide:function(){return{vanPopup:this}},props:w,data:function(){return this.onReopenCallback=[],{inited:this.value}},computed:{shouldRender:function(){return this.inited||!this.lazyRender}},watch:{value:function(e){e=e?"open":"close",this.inited=this.inited||this.value,this[e](),t.skipToggleEvent||this.$emit(e)},overlay:"renderOverlay"},mounted:function(){this.value&&this.open()},activated:function(){this.shouldReopen&&(this.$emit("input",!0),this.shouldReopen=!1)},beforeDestroy:function(){var t;t=this,(t=i.find(t))&&Object(p.a)(t.overlay.$el),this.opened&&this.removeLock(),this.getContainer&&Object(p.a)(this.$el)},deactivated:function(){this.value&&(this.close(),this.shouldReopen=!0)},methods:{open:function(){this.$isServer||this.opened||(void 0!==this.zIndex&&(i.zIndex=this.zIndex),this.opened=!0,this.renderOverlay(),this.addLock(),this.onReopenCallback.forEach((function(t){t()})))},addLock:function(){this.lockScroll&&(Object(c.b)(document,"touchstart",this.touchStart),Object(c.b)(document,"touchmove",this.onTouchMove),i.lockCount||document.body.classList.add("van-overflow-hidden"),i.lockCount++)},removeLock:function(){this.lockScroll&&i.lockCount&&(i.lockCount--,Object(c.a)(document,"touchstart",this.touchStart),Object(c.a)(document,"touchmove",this.onTouchMove),i.lockCount||document.body.classList.remove("van-overflow-hidden"))},close:function(){this.opened&&(y(this),this.opened=!1,this.removeLock(),this.$emit("input",!1))},onTouchMove:function(t){this.touchMove(t);var e=0<this.deltaY?"10":"01",n=Object(b.d)(t.target,this.$el),i=n.scrollHeight,r=n.offsetHeight,o=n.scrollTop;n="11";0===o?n=i<=r?"00":"01":i<=o+r&&(n="10"),"11"===n||"vertical"!==this.direction||parseInt(n,2)&parseInt(e,2)||Object(c.c)(t,!0)},renderOverlay:function(){var t=this;!this.$isServer&&this.value&&this.$nextTick((function(){t.updateZIndex(t.overlay?1:0),t.overlay?v(t,{zIndex:i.zIndex++,duration:t.duration,className:t.overlayClass,customStyle:t.overlayStyle}):y(t)}))},updateZIndex:function(t){void 0===t&&(t=0),this.$el.style.zIndex=++i.zIndex+t},onReopen:function(t){this.onReopenCallback.push(t)}}}}},"66c8":function(t,e,n){var i=n("d3f4");n("5eda")("isFrozen",(function(t){return function(e){return!i(e)||!!t&&t(e)}}))},"66f9":function(t,e,n){n("8a81"),n("8478"),n("1c01"),n("58b2"),n("9986"),n("e4f7"),n("456d"),n("25db"),n("0d6d"),n("cf6a"),n("9aea"),n("66c8"),n("57f0"),n("165b"),n("f751"),n("db97"),n("fd24"),n("06db"),n("d92a"),n("7f7f"),n("217b"),n("18d0"),n("b72c"),n("c5f6"),n("036c"),n("54a8"),n("2e37"),n("fca0"),n("7cdf"),n("ee1d"),n("b1b1"),n("87f3"),n("9278"),n("5df2"),n("04ff"),n("7f25"),n("536b"),n("d9ab"),n("f9ab"),n("32d7"),n("25c9"),n("9f3c"),n("042e"),n("c7c6"),n("f4ff"),n("7872"),n("049f"),n("a69f"),n("0b21"),n("6c1a"),n("c7c62"),n("84b4"),n("5695"),n("788d"),n("4f37"),n("5df3"),n("a032"),n("aef6"),n("2fdb"),n("14b9"),n("f559"),n("8449"),n("9c86"),n("fa83"),n("48c0"),n("d263"),n("6c37"),n("9ec8"),n("d0b0"),n("b54a"),n("f386"),n("1448"),n("673e"),n("242a"),n("78ce"),n("0298"),n("8ea5"),n("87b3"),n("c8ce"),n("2caf"),n("1c4c"),n("e804"),n("373f"),n("23bf"),n("55dd"),n("f3e2"),n("6d67"),n("d25f"),n("759f"),n("6095"),n("0cd8"),n("48f8"),n("57e7"),n("9865"),n("744f"),n("6c7b"),n("7514"),n("20d6"),n("d04f"),n("cadf"),n("3b2b"),n("b0c5"),n("6b54"),n("3846"),n("4917"),n("a481"),n("386d"),n("28a5"),n("551c"),n("f400"),n("4f7f"),n("10ad"),n("c02b"),n("c66f"),n("262f"),n("b05c"),n("34ef"),n("6aa2"),n("15ac"),n("af56"),n("b6e4"),n("9c29"),n("63d9"),n("4dda"),n("df1b"),n("2397"),n("88ca"),n("ba16"),n("7ff6"),n("d185"),n("ebde"),n("2d34"),n("f6b3"),n("2251"),n("c698"),n("a19f"),n("9253"),n("9275"),n("6762"),n("e956"),n("71f1"),n("3535"),n("f576"),n("ed50"),n("23be"),n("7c0e"),n("988d"),n("ac4d"),n("c7ca"),n("8e6e"),n("8615"),n("ffc1"),n("4504"),n("fee7"),n("b9a1"),n("64d5"),n("4704"),n("db9a"),n("729b"),n("99c5"),n("764f"),n("bdd1"),n("416c"),n("dd8a"),n("5d40"),n("5d90"),n("0c36"),n("a234"),n("4276"),n("09e0"),n("0c00"),n("2748"),n("1f91"),n("9c00"),n("2f78"),n("b4c2"),n("1f18"),n("692b"),n("c775"),n("8a5c"),n("ed7e"),n("097d"),n("a9cc"),n("e3d0"),n("ceaf"),n("e394"),n("b80b"),n("06a7"),n("7cdff"),n("896f"),n("ec39"),n("3a9c"),n("0d25"),n("37b5"),n("4795"),n("130f"),n("ac6a"),t.exports=n("8378")},"672b":function(t,e,n){(function(e){e="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=e}).call(this,n("c8ba"))},"672d":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}function s(t){u.default.setTimeout(t,m.default.TIME_BETWEEN_CHUNKS)}var u=a(n("be09")),c=a(n("3d33")),l=a(n("6d5a")),h=a(n("4ea2")),d=a(n("9417")),f=n("ba2d"),p=a(n("a64c")),g=a(n("78d8")),m=a(n("e206")),v=function(){var t=void 0;try{t="a64c"}catch(t){}return t},y=function(){return Math.random().toString(36).slice(2,8)},b=function(t,e){return("number"!=typeof e||e<0)&&(e=0),e=Math.pow(10,e),Math.round(t*e)/e};(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(_,c.default.EventTarget),i(_,[{key:"appendBuffer",value:function(t){var e=void 0;if(this.updating)throw(e=new Error("SourceBuffer.append() cannot be called while an update is in progress")).name="InvalidStateError",e.code=11,e;this.updating=!0,this.mediaSource_.readyState="open",this.trigger({type:"update"}),this.transmuxer_.postMessage({action:"push",data:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength},[t.buffer]),this.transmuxer_.postMessage({action:"flush"})}},{key:"abort",value:function(){this.buffer_=[],this.bufferSize_=0,this.mediaSource_.swfObj.vjs_abort(),this.updating&&(this.updating=!1,this.trigger({type:"updateend"}))}},{key:"remove",value:function(t,e){if((0,h.default)(t,e,this.metadataTrack_),this.inbandTextTracks_)for(var n in this.inbandTextTracks_)(0,h.default)(t,e,this.inbandTextTracks_[n]);this.trigger({type:"update"}),this.trigger({type:"updateend"})}},{key:"receiveBuffer_",value:function(t){var e=this;(0,d.default)(this,this.mediaSource_,t),(0,f.addTextTrackData)(this,t.captions,t.metadata),s((function(){var n=e.convertTagsToData_(t);0===e.buffer_.length&&s(e.processBuffer_.bind(e)),n&&(e.buffer_.push(n),e.bufferSize_+=n.byteLength)}))}},{key:"processBuffer_",value:function(){var t=this,e=m.default.BYTES_PER_CHUNK;if(this.buffer_.length){var n=this.buffer_[0].subarray(0,e);n.byteLength<e||this.buffer_[0].byteLength===e?this.buffer_.shift():this.buffer_[0]=this.buffer_[0].subarray(e),this.bufferSize_-=n.byteLength;for(var i=[],r=n.byteLength,o=0;o<r;o++)i.push(String.fromCharCode(n[o]));var a=u.default.btoa(i.join(""));u.default[this.flashEncodedDataName_]=function(){return s(t.processBuffer_.bind(t)),delete u.default[t.flashEncodedDataName_],a},this.mediaSource_.swfObj.vjs_appendChunkReady(this.flashEncodedDataName_)}else!1!==this.updating&&(this.updating=!1,this.trigger({type:"updateend"}))}},{key:"convertTagsToData_",value:function(t){var e=0,n=this.mediaSource_.tech_,i=0,r=void 0,o=t.tags.videoTags,a=t.tags.audioTags;isNaN(this.basePtsOffset_)&&(o.length||a.length)&&(h=o[0]||{pts:1/0},c=a[0]||{pts:1/0},this.basePtsOffset_=Math.min(c.pts,h.pts)),n.seeking()&&(this.videoBufferEnd_=NaN,this.audioBufferEnd_=NaN),isNaN(this.videoBufferEnd_)?(n.buffered().length&&(i=n.buffered().end(0)-this.timestampOffset),n.seeking()&&(i=Math.max(i,n.currentTime()-this.timestampOffset)),i*=1e3,i+=this.basePtsOffset_):i=this.videoBufferEnd_+.1;var s=o.length;if(s&&o[s-1].pts>=i){for(;--s;){var u=o[s];if(!(u.pts>i)&&(u.keyFrame||u.metaDataTag))break}for(;s;){if(!o[s-1].metaDataTag)break;s--}}var c=o.slice(s),l=void 0;l=isNaN(this.audioBufferEnd_)?i:this.audioBufferEnd_+.1;for(c.length&&(l=Math.min(l,c[0].pts)),s=0;s<a.length&&!(a[s].pts>=l);)s++;var h=a.slice(s);h.length&&(this.audioBufferEnd_=h[h.length-1].pts),c.length&&(this.videoBufferEnd_=c[c.length-1].pts);var d=this.getOrderedTags_(c,h);if(0!==d.length){if(d[0].pts<i&&n.seeking()){n=n.currentTime()-(i-d[0].pts)/1e3,n<1/30&&(n=0);try{this.mediaSource_.swfObj.vjs_adjustCurrentTime(n)}catch(t){}}for(var f=0;f<d.length;f++)e+=d[f].bytes.byteLength;r=new Uint8Array(e),f=0;for(var p=0;f<d.length;f++)r.set(d[f].bytes,p),p+=d[f].bytes.byteLength;return r}}},{key:"getOrderedTags_",value:function(t,e){for(var n=void 0,i=[];t.length||e.length;)n=(!t.length||e.length&&e[0].dts<t[0].dts?e:t).shift(),i.push(n);return i}},{key:"onHlsReset_",value:function(){this.transmuxer_.postMessage({action:"resetCaptions"})}}]),i=_;function _(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,_),o(Object.getPrototypeOf(_.prototype),"constructor",this).call(this),this.chunkSize_=m.default.BYTES_PER_CHUNK,this.buffer_=[],this.bufferSize_=0,this.basePtsOffset_=NaN,this.mediaSource_=t,this.audioBufferEnd_=NaN,this.videoBufferEnd_=NaN,this.updating=!1,this.timestampOffset_=0;var n=u.default.btoa(String.fromCharCode.apply(null,Array.prototype.slice.call(l.default.getFlvHeader())));t=this.mediaSource_.player_.id().replace(/[^a-zA-Z0-9]/g,"_");this.flashEncodedHeaderName_="vjs_flashEncodedHeader_"+t+y(),this.flashEncodedDataName_="vjs_flashEncodedData_"+t+y(),u.default[this.flashEncodedHeaderName_]=function(){return delete u.default[e.flashEncodedHeaderName_],n},this.mediaSource_.swfObj.vjs_appendChunkReady(this.flashEncodedHeaderName_),this.transmuxer_=(0,g.default)(p.default,v()),this.transmuxer_.postMessage({action:"init",options:{}}),this.transmuxer_.onmessage=function(t){"data"===t.data.action&&e.receiveBuffer_(t.data.segment)},this.one("updateend",(function(){e.mediaSource_.tech_.trigger("loadedmetadata")})),Object.defineProperty(this,"timestampOffset",{get:function(){return this.timestampOffset_},set:function(t){"number"==typeof t&&0<=t&&(this.timestampOffset_=t,this.mediaSource_.swfObj.vjs_discontinuity(),this.basePtsOffset_=NaN,this.audioBufferEnd_=NaN,this.videoBufferEnd_=NaN,this.transmuxer_.postMessage({action:"reset"}))}}),Object.defineProperty(this,"buffered",{get:function(){if(!(this.mediaSource_&&this.mediaSource_.swfObj&&"vjs_getProperty"in this.mediaSource_.swfObj))return c.default.createTimeRange();var t=this.mediaSource_.swfObj.vjs_getProperty("buffered");return t&&t.length&&(t[0][0]=b(t[0][0],3),t[0][1]=b(t[0][1],3)),c.default.createTimeRanges(t)}}),this.mediaSource_.player_.on("seeked",(function(){if((0,h.default)(0,1/0,e.metadataTrack_),e.inbandTextTracks_)for(var t in e.inbandTextTracks_)(0,h.default)(0,1/0,e.inbandTextTracks_[t])}));var i=this.onHlsReset_.bind(this);this.mediaSource_.player_.tech_.on("hls-reset",i),this.mediaSource_.player_.tech_.hls.on("dispose",(function(){e.transmuxer_.terminate(),e.mediaSource_.player_.tech_.off("hls-reset",i)}))}e.default=i,t.exports=e.default},"673e":function(t,e,n){"use strict";n("386b")("sub",(function(t){return function(){return t(this,"sub","","")}}))},6762:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(t,e,n){function i(t){s(t,r,{value:{i:"O"+ ++u,w:{}}})}var r=n("ca5a")("meta"),o=n("d3f4"),a=n("69a8"),s=n("86cc").f,u=0,c=Object.isExtensible||function(){return!0},l=!n("79e5")((function(){return c(Object.preventExtensions({}))})),h=t.exports={KEY:r,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,r)){if(!c(t))return"F";if(!e)return"E";i(t)}return t[r].i},getWeak:function(t,e){if(!a(t,r)){if(!c(t))return!0;if(!e)return!1;i(t)}return t[r].w},onFreeze:function(t){return l&&h.NEED&&c(t)&&!a(t,r)&&i(t),t}}},"67bb":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=n("d282"),a=n("ba31"),s=n("b650"),u=n("e27c"),c=n("c31d"),l=n("a3e2"),h=n("ad06"),d=n("7744"),f=n("9f14"),p=(i=Object(o.a)("address-item"),n=i[0],i[1]);function g(t,e,n,i){var o=e.disabled,s=e.switchable;return t("div",{class:p({disabled:o}),on:{click:function(){s&&Object(a.a)(i,"select"),Object(a.a)(i,"click")}}},[t(d.a,r()([{attrs:{border:!1,valueClass:p("value")},scopedSlots:{default:function(){var i=e.data,r=[t("div",{class:p("name")},[i.name+" "+i.tel,n.tag?n.tag(Object(c.a)({},e.data)):e.data.isDefault&&e.defaultTagText?t(l.a,{attrs:{type:"danger",round:!0},class:p("tag")},[e.defaultTagText]):void 0]),t("div",{class:p("address")},[i.address])];return s&&!o?t(f.a,{attrs:{name:i.id,iconSize:18}},[r]):r},"right-icon":function(){return t(h.a,{attrs:{name:"edit"},class:p("edit"),on:{click:function(t){t.stopPropagation(),Object(a.a)(i,"edit"),Object(a.a)(i,"click")}}})}}},Object(a.b)(i)])),null==n.bottom?void 0:n.bottom(Object(c.a)({},e.data,{disabled:o}))])}g.props={data:Object,disabled:Boolean,switchable:Boolean,defaultTagText:String};var m=n(g),v=(n=Object(o.a)("address-list"),o=n[0],n[1]),y=n[2];function b(t,e,n,i){function o(r,o){if(r)return r.map((function(r,s){return t(m,{attrs:{data:r,disabled:o,switchable:e.switchable,defaultTagText:e.defaultTagText},key:r.id,scopedSlots:{bottom:n["item-bottom"],tag:n.tag},on:{select:function(){Object(a.a)(i,o?"select-disabled":"select",r,s),o||Object(a.a)(i,"input",r.id)},edit:function(){Object(a.a)(i,o?"edit-disabled":"edit",r,s)},click:function(){Object(a.a)(i,"click-item",r,s)}}})}))}var c=o(e.list),l=o(e.disabledList,!0);return t("div",r()([{class:v()},Object(a.b)(i)]),[null==n.top?void 0:n.top(),t(u.a,{attrs:{value:e.value}},[c]),e.disabledText&&t("div",{class:v("disabled-text")},[e.disabledText]),l,null==n.default?void 0:n.default(),t("div",{class:v("bottom")},[t(s.a,{attrs:{round:!0,block:!0,type:"danger",text:e.addButtonText||y("add")},class:v("add"),on:{click:function(){Object(a.a)(i,"add")}}})])])}b.props={list:Array,value:[Number,String],disabledList:Array,disabledText:String,addButtonText:String,defaultTagText:String,switchable:{type:Boolean,default:!0}},e.a=o(b)},6821:function(t,e,n){var i=n("626a"),r=n("be13");t.exports=function(t){return i(r(t))}},"68ed":function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var i=/-(\w)/g;function r(t){return t.replace(i,(function(t,e){return e.toUpperCase()}))}function o(t,e){void 0===e&&(e=2);for(var n=t+"";n.length<e;)n="0"+n;return n}},"692b":function(t,e,n){n=n("5ca1");var i=Math.PI/180;n(n.S,"Math",{radians:function(t){return t*i}})},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))return r;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},"6aa2":function(t,e,n){n("ec30")("Uint8",1,(function(t){return function(e,n,i){return t(this,e,n,i)}}),!0)},"6b41":function(t,e,n){"use strict";var i=n("d282"),r=n("b1d2"),o=n("ad06"),a=(n=Object(i.a)("nav-bar"),i=n[0],n[1]);e.a=i({props:{title:String,fixed:Boolean,zIndex:[Number,String],leftText:String,rightText:String,leftArrow:Boolean,placeholder:Boolean,safeAreaInsetTop:Boolean,border:{type:Boolean,default:!0}},data:function(){return{height:null}},mounted:function(){this.placeholder&&this.fixed&&(this.height=this.$refs.navBar.getBoundingClientRect().height)},methods:{genLeft:function(){var t=this.$createElement,e=this.slots("left");return e||[this.leftArrow&&t(o.a,{class:a("arrow"),attrs:{name:"arrow-left"}}),this.leftText&&t("span",{class:a("text")},[this.leftText])]},genRight:function(){var t=this.$createElement,e=this.slots("right");return e||(this.rightText?t("span",{class:a("text")},[this.rightText]):void 0)},genNavBar:function(){var t,e=this.$createElement;return e("div",{ref:"navBar",style:{zIndex:this.zIndex},class:[a({fixed:this.fixed,"safe-area-inset-top":this.safeAreaInsetTop}),((t={})[r.b]=this.border,t)]},[e("div",{class:a("content")},[this.hasLeft()&&e("div",{class:a("left"),on:{click:this.onClickLeft}},[this.genLeft()]),e("div",{class:[a("title"),"van-ellipsis"]},[this.slots("title")||this.title]),this.hasRight()&&e("div",{class:a("right"),on:{click:this.onClickRight}},[this.genRight()])])])},hasLeft:function(){return this.leftArrow||this.leftText||this.slots("left")},hasRight:function(){return this.rightText||this.slots("right")},onClickLeft:function(t){this.$emit("click-left",t)},onClickRight:function(t){this.$emit("click-right",t)}},render:function(){return this.placeholder&&this.fixed?(0,arguments[0])("div",{class:a("placeholder"),style:{height:this.height+"px"}},[this.genNavBar()]):this.genNavBar()}})},"6b54":function(t,e,n){"use strict";function i(t){n("2aba")(RegExp.prototype,s,t,!0)}n("3846");var r=n("cb7c"),o=n("0bfb"),a=n("9e1e"),s="toString",u=/./[s];n("79e5")((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?i((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):void 0)})):u.name!=s&&i((function(){return u.call(this)}))},"6b75":function(t,e,n){"use strict";function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}n.d(e,"a",(function(){return i}))},"6be2":function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(n("d136")),o=i(n("be09"));e.default=function(t,e){return/^[a-z]+:/i.test(e)?e:(/\/\//i.test(t)||(t=r.default.buildAbsoluteURL(o.default.location.href,t)),r.default.buildAbsoluteURL(t,e))},t.exports=e.default},"6c1a":function(t,e,n){var i=n("5ca1"),r=n("2d5c"),o=Math.exp;i(i.S+i.F*n("79e5")((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(r(t)-r(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},"6c37":function(t,e,n){"use strict";n("386b")("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},"6c7b":function(t,e,n){var i=n("5ca1");i(i.P,"Array",{fill:n("36bd")}),n("9c6c")("fill")},"6d5a":function(t,e,n){t.exports={tag:n("d7ba"),Transmuxer:n("847a"),getFlvHeader:n("b046")}},"6d67":function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(1);i(i.P+i.F*!n("2f21")([].map,!0),"Array",{map:function(t){return r(this,t,arguments[1])}})},"6e1b":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(){}var a,s=n("3d33"),u=(a=s)&&a.__esModule?a:{default:a};i(c,[{key:"abort",value:function(t){var e=this;this.processedAppend_&&this.queueCallback_((function(){e.sourceBuffer_.abort()}),t)}},{key:"appendBuffer",value:function(t,e){var n=this;this.processedAppend_=!0,this.queueCallback_((function(){n.sourceBuffer_.appendBuffer(t)}),e)}},{key:"buffered",value:function(){return this.sourceBuffer_?this.sourceBuffer_.buffered:u.default.createTimeRanges()}},{key:"remove",value:function(t,e){var n=this;this.processedAppend_&&this.queueCallback_((function(){n.sourceBuffer_.remove(t,e)}),o)}},{key:"updating",value:function(){return!this.sourceBuffer_||this.sourceBuffer_.updating||this.pendingCallback_}},{key:"timestampOffset",value:function(t){var e=this;return void 0!==t&&(this.queueCallback_((function(){e.sourceBuffer_.timestampOffset=t})),this.timestampOffset_=t),this.timestampOffset_}},{key:"queueCallback_",value:function(t,e){this.callbacks_.push([t.bind(this),e]),this.runCallback_()}},{key:"runCallback_",value:function(){var t=void 0;!this.updating()&&this.callbacks_.length&&(t=this.callbacks_.shift(),this.pendingCallback_=t[1],t[0]())}},{key:"dispose",value:function(){this.sourceBuffer_.removeEventListener("updateend",this.onUpdateendCallback_),this.sourceBuffer_&&"open"===this.mediaSource.readyState&&this.sourceBuffer_.abort()}}]),i=c;function c(t,e){var n=this;function i(){n.sourceBuffer_=t.addSourceBuffer(e),n.onUpdateendCallback_=function(){var t=n.pendingCallback_;n.pendingCallback_=null,t&&t(),n.runCallback_()},n.sourceBuffer_.addEventListener("updateend",n.onUpdateendCallback_),n.runCallback_()}!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),this.callbacks_=[],this.pendingCallback_=null,this.timestampOffset_=0,this.mediaSource=t,this.processedAppend_=!1,"closed"===t.readyState?t.addEventListener("sourceopen",i):i()}e.default=i,t.exports=e.default},"6e75":function(t,e,n){"use strict";n("3cd0")},"6f08":function(t,e,n){},"6f2f":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("a142")),a=n("ba31"),s=(n=Object(i.a)("info"),i=n[0],n[1]);function u(t,e,n,i){var u=e.dot,c=e.info;c=Object(o.c)(c)&&""!==c;if(u||c)return t("div",r()([{class:s({dot:u})},Object(a.b)(i,!0)]),[u?"":e.info])}u.props={dot:Boolean,info:[Number,String]},e.a=i(u)},"71f1":function(t,e,n){"use strict";var i=n("5ca1"),r=n("c45f"),o=n("4bf8"),a=n("9def"),s=n("4588"),u=n("cd1c");i(i.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=a(e.length),i=u(e,0);return r(i,e,e,n,0,void 0===t?1:s(t)),i}}),n("9c6c")("flatten")},"729b":function(t,e,n){n("c6a1")("Map")},"72a5":function(t,e,n){"use strict";var i;t.exports=function(t){var e=i[t.byteLength%16||0],n=new Uint8Array(t.byteLength+e.length);return n.set(t),n.set(e,t.byteLength),n},i=[[16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16],[15,15,15,15,15,15,15,15,15,15,15,15,15,15,15],[14,14,14,14,14,14,14,14,14,14,14,14,14,14],[13,13,13,13,13,13,13,13,13,13,13,13,13],[12,12,12,12,12,12,12,12,12,12,12,12],[11,11,11,11,11,11,11,11,11,11,11],[10,10,10,10,10,10,10,10,10,10],[9,9,9,9,9,9,9,9,9],[8,8,8,8,8,8,8,8],[7,7,7,7,7,7,7],[6,6,6,6,6,6],[5,5,5,5,5],[4,4,4,4],[3,3,3],[2,2],[1]]},7333:function(t,e,n){"use strict";var i=n("9e1e"),r=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),u=n("626a"),c=Object.assign;t.exports=!c||n("79e5")((function(){var t={},e={},n=Symbol(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=i}))?function(t,e){for(var n=s(t),c=arguments.length,l=1,h=o.f,d=a.f;l<c;)for(var f,p=u(arguments[l++]),g=h?r(p).concat(h(p)):r(p),m=g.length,v=0;v<m;)f=g[v++],i&&!d.call(p,f)||(n[f]=p[f]);return n}:c},"744f":function(t,e,n){var i=n("5ca1");i(i.P,"Array",{copyWithin:n("ba92")}),n("9c6c")("copyWithin")},7514:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),i(i.P+i.F*o,"Array",{find:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0)}}),n("9c6c")("find")},"759f":function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(3);i(i.P+i.F*!n("2f21")([].some,!0),"Array",{some:function(t){return r(this,t,arguments[1])}})},"764f":function(t,e,n){n("c6a1")("WeakMap")},"76aa":function(t,e,n){"use strict";n("3cd0"),n("237a")},7726:function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),"number"==typeof __g&&(__g=t)},"772a":function(t,e,n){"use strict";var i=n("d282"),r=n("db85"),o=(n=Object(i.a)("form"),i=n[0],n[1]);e.a=i({props:{colon:Boolean,disabled:Boolean,readonly:Boolean,labelWidth:[Number,String],labelAlign:String,inputAlign:String,scrollToError:Boolean,validateFirst:Boolean,errorMessageAlign:String,submitOnEnter:{type:Boolean,default:!0},validateTrigger:{type:String,default:"onBlur"},showError:{type:Boolean,default:!0},showErrorMessage:{type:Boolean,default:!0}},provide:function(){return{vanForm:this}},data:function(){return{fields:[]}},methods:{getFieldsByNames:function(t){return t?this.fields.filter((function(e){return-1!==t.indexOf(e.name)})):this.fields},validateSeq:function(t){var e=this;return new Promise((function(n,i){var r=[];e.getFieldsByNames(t).reduce((function(t,e){return t.then((function(){if(!r.length)return e.validate().then((function(t){t&&r.push(t)}))}))}),Promise.resolve()).then((function(){r.length?i(r):n()}))}))},validateFields:function(t){var e=this;return new Promise((function(n,i){var r=e.getFieldsByNames(t);Promise.all(r.map((function(t){return t.validate()}))).then((function(t){(t=t.filter((function(t){return t}))).length?i(t):n()}))}))},validate:function(t){return t&&!Array.isArray(t)?this.validateField(t):this.validateFirst?this.validateSeq(t):this.validateFields(t)},validateField:function(t){var e=this.fields.filter((function(e){return e.name===t}));return e.length?new Promise((function(t,n){e[0].validate().then((function(e){e?n(e):t()}))})):Promise.reject()},resetValidation:function(t){t&&!Array.isArray(t)&&(t=[t]),this.getFieldsByNames(t).forEach((function(t){t.resetValidation()}))},scrollToField:function(t,e){this.fields.some((function(n){return n.name===t&&(n.$el.scrollIntoView(e),!0)}))},addField:function(t){this.fields.push(t),Object(r.a)(this.fields,this)},removeField:function(t){this.fields=this.fields.filter((function(e){return e!==t}))},getValues:function(){return this.fields.reduce((function(t,e){return t[e.name]=e.formValue,t}),{})},onSubmit:function(t){t.preventDefault(),this.submit()},submit:function(){var t=this,e=this.getValues();this.validate().then((function(){t.$emit("submit",e)})).catch((function(n){t.$emit("failed",{values:e,errors:n}),t.scrollToError&&t.scrollToField(n[0].name)}))}},render:function(){return(0,arguments[0])("form",{class:o(),on:{submit:this.onSubmit}},[this.slots()])}})},7744:function(t,e,n){"use strict";var i=n("c31d"),r=n("2638"),o=n.n(r),a=n("d282"),s=n("a142"),u=n("ba31"),c=n("48f4"),l=(r=n("dfaf"),n("ad06")),h=(n=Object(a.a)("cell"),a=n[0],n[1]);function d(t,e,n,i){var r=e.icon,a=e.size,d=e.title,f=e.label,p=e.value,g=e.isLink,m=n.title||Object(s.c)(d),v=null!=(y=e.clickable)?y:g,y={clickable:v,center:e.center,required:e.required,borderless:!e.border};return a&&(y[a]=a),t("div",o()([{class:h(y),attrs:{role:v?"button":null,tabindex:v?0:null},on:{click:function(t){Object(u.a)(i,"click",t),Object(c.a)(i)}}},Object(u.b)(i)]),[n.icon?n.icon():r?t(l.a,{class:h("left-icon"),attrs:{name:r,classPrefix:e.iconPrefix}}):void 0,function(){if(m)return t("div",{class:[h("title"),e.titleClass],style:e.titleStyle},[n.title?n.title():t("span",[d]),function(){if(n.label||Object(s.c)(f))return t("div",{class:[h("label"),e.labelClass]},[n.label?n.label():f])}()])}(),function(){if(n.default||Object(s.c)(p))return t("div",{class:[h("value",{alone:!m}),e.valueClass]},[n.default?n.default():t("span",[p])])}(),function(){var i=n["right-icon"];return i?i():g?(i=e.arrowDirection,t(l.a,{class:h("right-icon"),attrs:{name:i?"arrow-"+i:"arrow"}})):void 0}(),null==n.extra?void 0:n.extra()])}d.props=Object(i.a)({},r.a,c.c),e.a=a(d)},"77f1":function(t,e,n){var i=n("4588"),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=i(t))<0?r(t+e,0):o(t,e)}},7872:function(t,e,n){n=n("5ca1"),n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},"788d":function(t,e,n){var i=n("5ca1"),r=n("6821"),o=n("9def");i(i.S,"String",{raw:function(t){for(var e=r(t.raw),n=o(e.length),i=arguments.length,a=[],s=0;s<n;)a.push(String(e[s++])),s<i&&a.push(String(arguments[s]));return a.join("")}})},"78ce":function(t,e,n){n=n("5ca1"),n(n.S,"Date",{now:function(){return(new Date).getTime()}})},"78d8":function(t,e,n){var i=arguments[3],r=arguments[4],o=arguments[5],a=JSON.stringify,s=!1;void 0===i&&(s=!0,i=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=entryModule)},r=n.m),t.exports=function(t,e){return e=s?function(t,e){var o="string"==typeof e,s=o?{}:[];Object.keys(r).forEach((function(t){r[t]&&(s[t]=r[t].toString())}));var u=n(e);return u&&(u===t||u.default===t)||(u=s[e],s[e]=u.substring(0,u.length-1)+"\n"+t.name+"();\n}"),o=o?(e=a(e),"{"+Object.keys(s).map((function(t){return a(t)+":"+s[t]})).join(",")+"}"):"["+s.join(",")+"]","var fn = ("+i.toString().replace("entryModule",e)+")("+o+');\n(typeof fn === "function") && fn(self);'}(t,e):function(t){for(var e=Object.keys(o),n=0;n<e.length;n++){var s=e[n],u=o[s].exports;if(u===t||u&&u.default===t){c=s;break}}if(!c){var c=Math.floor(Math.pow(16,8)*Math.random()).toString(16),l={};for(n=0;n<e.length;n++)l[s=e[n]]=s;r[c]=["function(require,module,exports){"+t+"(self); }",l]}var h=Math.floor(Math.pow(16,8)*Math.random()).toString(16),d={};return d[c]=c,r[h]=["function(require,module,exports){var f = require("+a(c)+");(f.default ? f.default : f)(self);}",d],"("+i+")({"+Object.keys(r).map((function(t){return a(t)+":["+r[t][0]+","+a(r[t][1])+"]"})).join(",")+"},{},["+a(h)+"])"}(t),t=new Blob([e],{type:"text/javascript"}),e=(window.URL||window.webkitURL||window.mozURL||window.msURL).createObjectURL(t),t=new Worker(e),t.objectURL=e,t}},"78eb":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i={inject:{vanField:{default:null}},watch:{value:function(){var t=this.vanField;t&&(t.resetValidation(),t.validateWithTrigger("onChange"))}},created:function(){var t=this.vanField;t&&!t.children&&(t.children=this)}}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a56":function(t,e,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");t.exports=function(t){t=i[t],o&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},"7b23":function(t,e,n){var i=n("d8e8"),r=n("4bf8"),o=n("626a"),a=n("9def");t.exports=function(t,e,n,s,u){i(e);var c=r(t),l=o(c),h=a(c.length),d=u?h-1:0,f=u?-1:1;if(n<2)for(;;){if(d in l){s=l[d],d+=f;break}if(d+=f,u?d<0:h<=d)throw TypeError("Reduce of empty array with no initial value")}for(;u?0<=d:d<h;d+=f)d in l&&(s=e(s,l[d],d,c));return s}},"7bbc":function(t,e,n){var i=n("6821"),r=n("9093").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?function(t){try{return r(t)}catch(t){return a.slice()}}(t):r(i(t))}},"7bd9":function(t,e,n){"use strict";var i=n("d282"),r=n("1325"),o=n("1421"),a=n("5fbe"),s=n("3875"),u=n("543e"),c={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 32 22",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M28.016 0A3.991 3.991 0 0132 3.987v14.026c0 2.2-1.787 3.987-3.98 3.987H10.382c-.509 0-.996-.206-1.374-.585L.89 13.09C.33 12.62 0 11.84 0 11.006c0-.86.325-1.62.887-2.08L9.01.585A1.936 1.936 0 0110.383 0zm0 1.947H10.368L2.24 10.28c-.224.226-.312.432-.312.73 0 .287.094.51.312.729l8.128 8.333h17.648a2.041 2.041 0 002.037-2.04V3.987c0-1.127-.915-2.04-2.037-2.04zM23.028 6a.96.96 0 01.678.292.95.95 0 01-.003 1.377l-3.342 3.348 3.326 3.333c.189.188.292.43.292.679 0 .248-.103.49-.292.679a.96.96 0 01-.678.292.959.959 0 01-.677-.292L18.99 12.36l-3.343 3.345a.96.96 0 01-.677.292.96.96 0 01-.678-.292.962.962 0 01-.292-.68c0-.248.104-.49.292-.679l3.342-3.348-3.342-3.348A.963.963 0 0114 6.971c0-.248.104-.49.292-.679A.96.96 0 0114.97 6a.96.96 0 01.677.292l3.358 3.348 3.345-3.348A.96.96 0 0123.028 6z",fill:"currentColor"}})])}},l={render:function(){var t=arguments[0];return t("svg",{attrs:{viewBox:"0 0 30 24",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M25.877 12.843h-1.502c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.5c.187 0 .187 0 .187-.188v-1.511c0-.19 0-.191-.185-.191zM17.999 10.2c0 .188 0 .188.188.188h1.687c.188 0 .188 0 .188-.188V8.688c0-.187.004-.187-.186-.19h-1.69c-.187 0-.187 0-.187.19V10.2zm2.25-3.967h1.5c.188 0 .188 0 .188-.188v-1.7c0-.19 0-.19-.188-.19h-1.5c-.189 0-.189 0-.189.19v1.7c0 .188 0 .188.19.188zm2.063 4.157h3.563c.187 0 .187 0 .187-.189V4.346c0-.19.004-.19-.185-.19h-1.69c-.187 0-.187 0-.187.188v4.155h-1.688c-.187 0-.187 0-.187.189v1.514c0 .19 0 .19.187.19zM14.812 24l2.812-3.4H12l2.813 3.4zm-9-11.157H4.31c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h1.502c.187 0 .187 0 .187-.188v-1.511c0-.19.01-.191-.189-.191zm15.937 0H8.25c-.188 0-.188 0-.188.19v1.512c0 .188 0 .188.188.188h13.5c.188 0 .188 0 .188-.188v-1.511c0-.19 0-.191-.188-.191zm-11.438-2.454h1.5c.188 0 .188 0 .188-.188V8.688c0-.187 0-.187-.188-.189h-1.5c-.187 0-.187 0-.187.189V10.2c0 .188 0 .188.187.188zM27.94 0c.563 0 .917.21 1.313.567.518.466.748.757.748 1.51v14.92c0 .567-.188 1.134-.562 1.512-.376.378-.938.566-1.313.566H2.063c-.563 0-.938-.188-1.313-.566-.562-.378-.75-.945-.75-1.511V2.078C0 1.51.188.944.562.567.938.189 1.5 0 1.875 0zm-.062 2H2v14.92h25.877V2zM5.81 4.157c.19 0 .19 0 .19.189v1.762c-.003.126-.024.126-.188.126H4.249c-.126-.003-.126-.023-.126-.188v-1.7c-.187-.19 0-.19.188-.19zm10.5 2.077h1.503c.187 0 .187 0 .187-.188v-1.7c0-.19 0-.19-.187-.19h-1.502c-.188 0-.188.001-.188.19v1.7c0 .188 0 .188.188.188zM7.875 8.5c.187 0 .187.002.187.189V10.2c0 .188 0 .188-.187.188H4.249c-.126-.002-.126-.023-.126-.188V8.625c.003-.126.024-.126.188-.126zm7.875 0c.19.002.19.002.19.189v1.575c-.003.126-.024.126-.19.126h-1.563c-.126-.002-.126-.023-.126-.188V8.625c.002-.126.023-.126.189-.126zm-6-4.342c.187 0 .187 0 .187.189v1.7c0 .188 0 .188-.187.188H8.187c-.126-.003-.126-.023-.126-.188V4.283c.003-.126.024-.126.188-.126zm3.94 0c.185 0 .372 0 .372.189v1.762c-.002.126-.023.126-.187.126h-1.75C12 6.231 12 6.211 12 6.046v-1.7c0-.19.187-.19.187-.19z",fill:"currentColor"}})])}},h=Object(i.a)("key"),d=(n=h[0],h[1]),f=n({mixins:[s.a],props:{type:String,text:[Number,String],color:String,wider:Boolean,large:Boolean,loading:Boolean},data:function(){return{active:!1}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{onTouchStart:function(t){t.stopPropagation(),this.touchStart(t),this.active=!0},onTouchMove:function(t){this.touchMove(t),this.direction&&(this.active=!1)},onTouchEnd:function(t){this.active&&(this.slots("default")||t.preventDefault(),this.active=!1,this.$emit("press",this.text,this.type))},genContent:function(){var t=this.$createElement,e="extra"===this.type,n="delete"===this.type,i=this.slots("default")||this.text;return this.loading?t(u.a,{class:d("loading-icon")}):n?i||t(c,{class:d("delete-icon")}):e?i||t(l,{class:d("collapse-icon")}):i}},render:function(){var t=arguments[0];return t("div",{class:d("wrapper",{wider:this.wider})},[t("div",{attrs:{role:"button",tabindex:"0"},class:d([this.color,{large:this.large,active:this.active,delete:"delete"===this.type}])},[this.genContent()])])}}),p=(s=Object(i.a)("number-keyboard"),i=s[0],s[1]);e.a=i({mixins:[Object(o.a)(),Object(a.a)((function(t){this.hideOnClickOutside&&t(document.body,"touchstart",this.onBlur)}))],model:{event:"update:value"},props:{show:Boolean,title:String,zIndex:[Number,String],randomKeyOrder:Boolean,closeButtonText:String,deleteButtonText:String,closeButtonLoading:Boolean,theme:{type:String,default:"default"},value:{type:String,default:""},extraKey:{type:[String,Array],default:""},maxlength:{type:[Number,String],default:Number.MAX_VALUE},transition:{type:Boolean,default:!0},showDeleteKey:{type:Boolean,default:!0},hideOnClickOutside:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!0}},watch:{show:function(t){this.transition||this.$emit(t?"show":"hide")}},computed:{keys:function(){return"custom"===this.theme?this.genCustomKeys():this.genDefaultKeys()}},methods:{genBasicKeys:function(){for(var t=[],e=1;e<=9;e++)t.push({text:e});return this.randomKeyOrder&&t.sort((function(){return.5<Math.random()?1:-1})),t},genDefaultKeys:function(){return[].concat(this.genBasicKeys(),[{text:this.extraKey,type:"extra"},{text:0},{text:this.showDeleteKey?this.deleteButtonText:"",type:this.showDeleteKey?"delete":""}])},genCustomKeys:function(){var t=this.genBasicKeys(),e=this.extraKey;e=Array.isArray(e)?e:[e];return 1===e.length?t.push({text:0,wider:!0},{text:e[0],type:"extra"}):2===e.length&&t.push({text:e[0],type:"extra"},{text:0},{text:e[1],type:"extra"}),t},onBlur:function(){this.show&&this.$emit("blur")},onClose:function(){this.$emit("close"),this.onBlur()},onAnimationEnd:function(){this.$emit(this.show?"show":"hide")},onPress:function(t,e){var n;""!==t?(n=this.value,"delete"===e?(this.$emit("delete"),this.$emit("update:value",n.slice(0,n.length-1))):"close"===e?this.onClose():n.length<this.maxlength&&(this.$emit("input",t),this.$emit("update:value",n+t))):"extra"===e&&this.onBlur()},genTitle:function(){var t=this.$createElement,e=this.title,n=this.theme,i=this.closeButtonText,r=this.slots("title-left");n=i&&"default"===n;if(e||n||r)return t("div",{class:p("header")},[r&&t("span",{class:p("title-left")},[r]),e&&t("h2",{class:p("title")},[e]),n&&t("button",{attrs:{type:"button"},class:p("close"),on:{click:this.onClose}},[i])])},genKeys:function(){var t=this,e=this.$createElement;return this.keys.map((function(n){return e(f,{key:n.text,attrs:{text:n.text,type:n.type,wider:n.wider,color:n.color},on:{press:t.onPress}},["delete"===n.type&&t.slots("delete"),"extra"===n.type&&t.slots("extra-key")])}))},genSidebar:function(){var t=this.$createElement;if("custom"===this.theme)return t("div",{class:p("sidebar")},[this.showDeleteKey&&t(f,{attrs:{large:!0,text:this.deleteButtonText,type:"delete"},on:{press:this.onPress}},[this.slots("delete")]),t(f,{attrs:{large:!0,text:this.closeButtonText,type:"close",color:"blue",loading:this.closeButtonLoading},on:{press:this.onPress}})])}},render:function(){var t=arguments[0],e=this.genTitle();return t("transition",{attrs:{name:this.transition?"van-slide-up":""}},[t("div",{directives:[{name:"show",value:this.show}],style:{zIndex:this.zIndex},class:p({unfit:!this.safeAreaInsetBottom,"with-title":e}),on:{touchstart:r.d,animationend:this.onAnimationEnd,webkitAnimationEnd:this.onAnimationEnd}},[e,t("div",{class:p("body")},[t("div",{class:p("keys")},[this.genKeys()]),this.genSidebar()])])])}})},"7bf0":function(t,e,n){},"7c0e":function(t,e,n){"use strict";n("aa77")("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},"7cdf":function(t,e,n){var i=n("5ca1");i(i.S,"Number",{isInteger:n("9c12")})},"7cdff":function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=i.keys,a=i.key;i.exp({getOwnMetadataKeys:function(t){return o(r(t),arguments.length<2?void 0:a(arguments[1]))}})},"7d5e":function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ea8e")),a=n("ba31"),s=(n=Object(i.a)("skeleton"),i=n[0],n[1]);function u(t,e,n,i){return e.loading?t("div",r()([{class:s({animate:e.animate,round:e.round})},Object(a.b)(i)]),[function(){if(e.avatar){var n=Object(o.a)(e.avatarSize);return t("div",{class:s("avatar",e.avatarShape),style:{width:n,height:n}})}}(),t("div",{class:s("content")},[function(){if(e.title)return t("h3",{class:s("title"),style:{width:Object(o.a)(e.titleWidth)}})}(),function(){for(var n,i=[],r=e.rowWidth,a=0;a<e.row;a++)i.push(t("div",{class:s("row"),style:{width:Object(o.a)((n=a,"100%"===r&&n===+e.row-1?"60%":Array.isArray(r)?r[n]:r))}}));return i}()])]):n.default&&n.default()}u.props={title:Boolean,round:Boolean,avatar:Boolean,titleWidth:[Number,String],avatarSize:[Number,String],row:{type:[Number,String],default:0},loading:{type:Boolean,default:!0},animate:{type:Boolean,default:!0},avatarShape:{type:String,default:"round"},rowWidth:{type:[Number,String,Array],default:"100%"}},e.a=i(u)},"7e10":function(t,e){var n,i=[33,16,5,32,164,27],r=[33,65,108,84,1,2,4,8,168,2,4,8,17,191,252],o=function(t){for(var e=[];t--;)e.push(0);return e};o={96e3:[i,[227,64],o(154),[56]],88200:[i,[231],o(170),[56]],64e3:[i,[248,192],o(240),[56]],48e3:[i,[255,192],o(268),[55,148,128],o(54),[112]],44100:[i,[255,192],o(268),[55,163,128],o(84),[112]],32e3:[i,[255,192],o(268),[55,234],o(226),[112]],24e3:[i,[255,192],o(268),[55,255,128],o(268),[111,112],o(126),[224]],16e3:[i,[255,192],o(268),[55,255,128],o(268),[111,255],o(269),[223,108],o(195),[1,192]],12e3:[r,o(268),[3,127,248],o(268),[6,255,240],o(268),[13,255,224],o(268),[27,253,128],o(259),[56]],11025:[r,o(268),[3,127,248],o(268),[6,255,240],o(268),[13,255,224],o(268),[27,255,192],o(268),[55,175,128],o(108),[112]],8e3:[r,o(268),[3,121,16],o(47),[7]]};t.exports=(n=o,Object.keys(n).reduce((function(t,e){return t[e]=new Uint8Array(n[e].reduce((function(t,e){return t.concat(e)}),[])),t}),{}))},"7e3e":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("a142");function r(t){var e=t.interceptor,n=t.args,r=t.done;e?(n=e.apply(void 0,n),Object(i.f)(n)?n.then((function(t){t&&r()})).catch(i.h):n&&r()):r()}},"7f20":function(t,e,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!r(t=n?t:t.prototype,o)&&i(t,o,{configurable:!0,value:e})}},"7f25":function(t,e,n){var i=n("5ca1"),r=n("d6c6"),o=Math.sqrt;n=Math.acosh;i(i.S+i.F*!(n&&710==Math.floor(n(Number.MAX_VALUE))&&n(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:r(t-1+o(t-1)*o(t+1))}})},"7f75":function(t,e,n){},"7f7f":function(t,e,n){var i=n("86cc").f,r=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in r||n("9e1e")&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"7f98":function(t,e,n){},"7f9f":function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("25bb"),n("968a"),n("cf81")},"7ff6":function(t,e,n){"use strict";function i(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var r=n("5ca1"),o=n("cb7c");n("41a0")(i,"Object",(function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new i(t)}})},8079:function(t,e,n){var i=n("7726"),r=n("1991").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,u="process"==n("2d95")(a);t.exports=function(){function t(){var t,i;for(u&&(t=a.domain)&&t.exit();e;){i=e.fn,e=e.next;try{i()}catch(t){throw e?l():n=void 0,t}}n=void 0,t&&t.enter()}var e,n,c,l,h,d;return l=u?function(){a.nextTick(t)}:!o||i.navigator&&i.navigator.standalone?s&&s.resolve?(c=s.resolve(void 0),function(){c.then(t)}):function(){r.call(i,t)}:(h=!0,d=document.createTextNode(""),new o(t).observe(d,{characterData:!0}),function(){d.data=h=!h}),function(t){t={fn:t,next:void 0},n&&(n.next=t),e||(e=t,l()),n=t}}},"80eb":function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var r=i(n("be09")),o=i(n("92b0")),a=i(n("9f7a")),s=i(n("3d33")),u=0,c={mode:"auto"};function l(t,e){if(!(t=s.default.mediaSources[t]))throw new Error("Media Source not found (Video.js)");t.trigger({type:"sourceopen",swfId:e})}function h(){return!!r.default.MediaSource&&!!r.default.MediaSource.isTypeSupported&&r.default.MediaSource.isTypeSupported('video/mp4;codecs="avc1.4d400d,mp4a.40.2"')}function d(t){if(t=s.default.mergeOptions(c,t),this.MediaSource={open:l,supportsNativeMediaSources:h},"html5"===t.mode||"auto"===t.mode&&h())return new a.default;if(s.default.getTech("Flash"))return new o.default;throw new Error("Cannot use Flash or Html5 to create a MediaSource for this video")}s.default.mediaSources={},(e.MediaSource=d).open=l,d.supportsNativeMediaSources=h,n={createObjectURL:function(t){var e=void 0;return t instanceof a.default?(e=r.default.URL.createObjectURL(t.nativeMediaSource_),t.url_=e):t instanceof o.default?(e="blob:vjs-media-source/"+u,u++,s.default.mediaSources[e]=t,e):(e=r.default.URL.createObjectURL(t),t.url_=e)}},e.URL=n,s.default.MediaSource=d,s.default.URL=n},"818b":function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){var t,e,n,i=[[[],[],[],[],[]],[[],[],[],[],[]]],r=i[0],o=i[1],a=r[4],s=o[4],u=void 0,c=void 0,l=void 0,h=[],d=[],f=void 0,p=void 0;for(u=0;u<256;u++)d[(h[u]=u<<1^283*(u>>7))^u]=u;for(c=l=0;!a[c];c^=t||1,l=d[l]||1)for(p=16843009*h[e=h[t=h[s[a[c]=n=(n=l^l<<1^l<<2^l<<3^l<<4)>>8^255&n^99]=c]]]^65537*e^257*t^16843008*c,f=257*h[n]^16843008*n,u=0;u<4;u++)r[u][c]=f=f<<24^f>>>8,o[u][n]=p=p<<24^p>>>8;for(u=0;u<5;u++)r[u]=r[u].slice(0),o[u]=o[u].slice(0);return i},o=null,a=(function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(s,[{key:"decrypt",value:function(t,e,n,i,r,o){var a,s,u=this._key[1],c=t^u[0],l=i^u[1],h=n^u[2],d=e^u[3],f=void 0,p=u.length/4-2,g=void 0,m=4,v=(e=this._tables[1],e[0]),y=e[1],b=e[2],_=e[3],T=e[4];for(g=0;g<p;g++)f=v[c>>>24]^y[l>>16&255]^b[h>>8&255]^_[255&d]^u[m],a=v[l>>>24]^y[h>>16&255]^b[d>>8&255]^_[255&c]^u[m+1],s=v[h>>>24]^y[d>>16&255]^b[c>>8&255]^_[255&l]^u[m+2],d=v[d>>>24]^y[c>>16&255]^b[l>>8&255]^_[255&h]^u[m+3],m+=4,c=f,l=a,h=s;for(g=0;g<4;g++)r[(3&-g)+o]=T[c>>>24]<<24^T[l>>16&255]<<16^T[h>>8&255]<<8^T[255&d]^u[m++],f=c,c=l,l=h,h=d,d=f}}]),s);function s(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),o=o||r(),this._tables=[[o[0][0].slice(),o[0][1].slice(),o[0][2].slice(),o[0][3].slice(),o[0][4].slice()],[o[1][0].slice(),o[1][1].slice(),o[1][2].slice(),o[1][3].slice(),o[1][4].slice()]];var e=void 0,n=void 0,i=void 0,a=void 0,u=void 0,c=this._tables[0][4],l=this._tables[1],h=t.length,d=1;if(4!==h&&6!==h&&8!==h)throw new Error("Invalid aes key size");for(a=t.slice(0),this._key=[a,u=[]],e=h;e<4*h+28;e++)i=a[e-1],(e%h==0||8===h&&e%h==4)&&(i=c[i>>>24]<<24^c[i>>16&255]<<16^c[i>>8&255]<<8^c[255&i],e%h==0&&(i=i<<8^i>>>24^d<<24,d=d<<1^283*(d>>7))),a[e]=a[e-h]^i;for(n=0;e;n++,e--)i=a[3&n?e:e-4],u[n]=e<=4||n<4?i:l[0][c[i>>>24]]^l[1][c[i>>16&255]]^l[2][c[i>>8&255]]^l[3][c[255&i]]}e.default=a,t.exports=e.default},"81a6":function(t,e,n){"use strict";n("3cd0"),n("25bb"),n("f6a1")},"81bc":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=n("3d33"),o=(i=r)&&i.__esModule?i:{default:i},a=n("f24e"),s={FAILURE:2,TIMEOUT:-101,ABORTED:-102};function u(t){var e,n={};return t.byterange&&(n.Range=(e=t.byterange,t=e.offset+e.length-1,"bytes="+e.offset+"-"+t)),n}function c(t){t.forEach((function(t){t.abort()}))}function l(t,e){return e.timedout?{status:e.status,message:"HLS request timed-out at URL: "+e.uri,code:s.TIMEOUT,xhr:e}:e.aborted?{status:e.status,message:"HLS request aborted at URL: "+e.uri,code:s.ABORTED,xhr:e}:t?{status:e.status,message:"HLS request errored at URL: "+e.uri,code:s.FAILURE,xhr:e}:null}function h(t,e,n){function i(r){if(r.data.source===e.requestId)return t.removeEventListener("message",i),r=r.data.decrypted,e.bytes=new Uint8Array(r.bytes,r.byteOffset,r.byteLength),n(null,e)}t.addEventListener("message",i),t.postMessage((0,a.createTransferableMessage)({source:e.requestId,encrypted:e.encryptedBytes,key:e.key.bytes,iv:e.key.iv}),[e.encryptedBytes.buffer,e.key.bytes.buffer])}function d(t,e){return function(n){var i,r;return t.stats=o.default.mergeOptions(t.stats,(r=(i=n).target,(r={bandwidth:1/0,bytesReceived:0,roundTripTime:Date.now()-r.requestTime||0}).bytesReceived=i.loaded,r.bandwidth=Math.floor(r.bytesReceived/r.roundTripTime*8*1e3),r)),!t.stats.firstBytesReceivedAt&&t.stats.bytesReceived&&(t.stats.firstBytesReceivedAt=Date.now()),e(n,t)}}e.REQUEST_ERRORS=s,e.mediaSegmentRequest=function(t,e,n,i,r,a){var f,p,g,m,v,y,b,_,T,S,w=[];f=w,p=n,g=a,m=[],v=0,a=function(t,e){if(t&&(c(f),m.push(t)),(v+=1)===f.length)return e.endOfAllRequests=Date.now(),0<m.length?(t=m.reduce((function(t,e){return e.code>t.code?e:t})),g(t,e)):e.encryptedBytes?h(p,e,g):g(null,e)};i.key&&(_=t(o.default.mergeOptions(e,{uri:i.key.resolvedUri,responseType:"arraybuffer"}),(y=i,b=a,function(t,e){var n=e.response;t=l(t,e);return t?b(t,y):16!==n.byteLength?b({status:e.status,message:"Invalid HLS key at URL: "+e.uri,code:s.FAILURE,xhr:e},y):(n=new DataView(n),y.key.bytes=new Uint32Array([n.getUint32(0),n.getUint32(4),n.getUint32(8),n.getUint32(12)]),b(null,y))})),w.push(_)),i.map&&!i.map.bytes&&(_=t(o.default.mergeOptions(e,{uri:i.map.resolvedUri,responseType:"arraybuffer",headers:u(i.map)}),(T=i,S=a,function(t,e){var n=e.response;t=l(t,e);return t?S(t,T):0===n.byteLength?S({status:e.status,message:"Empty HLS segment content at URL: "+e.uri,code:s.FAILURE,xhr:e},T):(T.map.bytes=new Uint8Array(e.response),S(null,T))})),w.push(_));var k,C;a=t(o.default.mergeOptions(e,{uri:i.resolvedUri,responseType:"arraybuffer",headers:u(i)}),(k=i,C=a,function(t,e){var n=e.response;t=l(t,e);return t?C(t,k):0===n.byteLength?C({status:e.status,message:"Empty HLS segment content at URL: "+e.uri,code:s.FAILURE,xhr:e},k):(k.stats={bandwidth:e.bandwidth,bytesReceived:e.bytesReceived||0,roundTripTime:e.roundTripTime||0},k.key?k.encryptedBytes=new Uint8Array(e.response):k.bytes=new Uint8Array(e.response),C(null,k))}));return a.addEventListener("progress",d(i,r)),w.push(a),function(){return c(w)}}},8244:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("c8b5")},8362:function(t,e){t.exports=function(t){if(!t)return!1;var e=n.call(t);return"[object Function]"===e||"function"==typeof t&&"[object RegExp]"!==e||"undefined"!=typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)};var n=Object.prototype.toString},8378:function(t,e){t=t.exports={version:"2.6.12"},"number"==typeof __e&&(__e=t)},8381:function(t,e,n){"use strict";var i=n("cb7c"),r=n("6a99");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return r(i(this),"number"!=t)}},"83a1":function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},8449:function(t,e,n){"use strict";n("386b")("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},8478:function(t,e,n){var i=n("5ca1");i(i.S,"Object",{create:n("2aeb")})},"847a":function(t,e,n){"use strict";var i,r,o=n("4329"),a=n("d7ba"),s=n("0ea2"),u=n("4fcf"),c=n("631a").H264Stream,l=n("1c05"),h=n("ae54"),d=function(t,e){"number"==typeof e.pts&&(void 0===t.timelineStartInfo.pts?t.timelineStartInfo.pts=e.pts:t.timelineStartInfo.pts=Math.min(t.timelineStartInfo.pts,e.pts)),"number"==typeof e.dts&&(void 0===t.timelineStartInfo.dts?t.timelineStartInfo.dts=e.dts:t.timelineStartInfo.dts=Math.min(t.timelineStartInfo.dts,e.dts))},f=function(t,e){var n=new a(a.METADATA_TAG);return n.dts=e,n.pts=e,n.writeMetaDataDouble("videocodecid",7),n.writeMetaDataDouble("width",t.width),n.writeMetaDataDouble("height",t.height),n},p=function(t,e){var n,i=new a(a.VIDEO_TAG,!0);for(i.dts=e,i.pts=e,i.writeByte(1),i.writeByte(t.profileIdc),i.writeByte(t.profileCompatibility),i.writeByte(t.levelIdc),i.writeByte(255),i.writeByte(225),i.writeShort(t.sps[0].length),i.writeBytes(t.sps[0]),i.writeByte(t.pps.length),n=0;n<t.pps.length;++n)i.writeShort(t.pps[n].length),i.writeBytes(t.pps[n]);return i},g=function(t){var e,n=[],i=[];g.prototype.init.call(this),this.push=function(e){d(t,e),t&&(t.audioobjecttype=e.audioobjecttype,t.channelcount=e.channelcount,t.samplerate=e.samplerate,t.samplingfrequencyindex=e.samplingfrequencyindex,t.samplesize=e.samplesize,t.extraData=t.audioobjecttype<<11|t.samplingfrequencyindex<<7|t.channelcount<<3),e.pts=Math.round(e.pts/90),e.dts=Math.round(e.dts/90),n.push(e)},this.flush=function(){var r,o,s,u=new h;if(0!==n.length){for(s=-1/0;n.length;)r=n.shift(),i.length&&r.pts>=i[0]&&(s=i.shift(),this.writeMetaDataTags(u,s)),(t.extraData!==e||1e3<=r.pts-s)&&(this.writeMetaDataTags(u,r.pts),e=t.extraData,s=r.pts),(o=new a(a.AUDIO_TAG)).pts=r.pts,o.dts=r.dts,o.writeBytes(r.data),u.push(o.finalize());i.length=0,e=null,this.trigger("data",{track:t,tags:u.list}),this.trigger("done","AudioSegmentStream")}else this.trigger("done","AudioSegmentStream")},this.writeMetaDataTags=function(e,n){var i=new a(a.METADATA_TAG);i.pts=n,i.dts=n,i.writeMetaDataDouble("audiocodecid",10),i.writeMetaDataBoolean("stereo",2===t.channelcount),i.writeMetaDataDouble("audiosamplerate",t.samplerate),i.writeMetaDataDouble("audiosamplesize",16),e.push(i.finalize()),(i=new a(a.AUDIO_TAG,!0)).pts=n,i.dts=n,i.view.setUint16(i.position,t.extraData),i.position+=2,i.length=Math.max(i.length,i.position),e.push(i.finalize())},this.onVideoKeyFrame=function(t){i.push(t)}};g.prototype=new o,(r=function(t){var e,n,i=[];r.prototype.init.call(this),this.finishFrame=function(i,r){var o,a;r&&(e&&t&&t.newMetadata&&(r.keyFrame||0===i.length)&&(o=f(e,r.dts).finalize(),a=p(t,r.dts).finalize(),o.metaDataTag=a.metaDataTag=!0,i.push(o),i.push(a),t.newMetadata=!1,this.trigger("keyframe",r.dts)),r.endNalUnit(),i.push(r.finalize()),n=null)},this.push=function(e){d(t,e),e.pts=Math.round(e.pts/90),e.dts=Math.round(e.dts/90),i.push(e)},this.flush=function(){for(var r,o=new h;i.length&&"access_unit_delimiter_rbsp"!==i[0].nalUnitType;)i.shift();if(0!==i.length){for(;i.length;)"seq_parameter_set_rbsp"===(r=i.shift()).nalUnitType?(t.newMetadata=!0,e=r.config,t.width=e.width,t.height=e.height,t.sps=[r.data],t.profileIdc=e.profileIdc,t.levelIdc=e.levelIdc,t.profileCompatibility=e.profileCompatibility,n.endNalUnit()):"pic_parameter_set_rbsp"===r.nalUnitType?(t.newMetadata=!0,t.pps=[r.data],n.endNalUnit()):"access_unit_delimiter_rbsp"===r.nalUnitType?(n&&this.finishFrame(o,n),(n=new a(a.VIDEO_TAG)).pts=r.pts,n.dts=r.dts):("slice_layer_without_partitioning_rbsp_idr"===r.nalUnitType&&(n.keyFrame=!0),n.endNalUnit()),n.startNalUnit(),n.writeBytes(r.data);n&&this.finishFrame(o,n),this.trigger("data",{track:t,tags:o.list}),this.trigger("done","VideoSegmentStream")}else this.trigger("done","VideoSegmentStream")}}).prototype=new o,(i=function(t){var e,n,o,a,h,d,f,p,m,v,y,b,_=this;i.prototype.init.call(this),t=t||{},this.metadataStream=new s.MetadataStream,t.metadataStream=this.metadataStream,e=new s.TransportPacketStream,n=new s.TransportParseStream,o=new s.ElementaryStream,a=new s.TimestampRolloverStream("video"),h=new s.TimestampRolloverStream("audio"),d=new s.TimestampRolloverStream("timed-metadata"),f=new u,p=new c,b=new l(t),e.pipe(n).pipe(o),o.pipe(a).pipe(p),o.pipe(h).pipe(f),o.pipe(d).pipe(this.metadataStream).pipe(b),y=new s.CaptionStream,p.pipe(y).pipe(b),o.on("data",(function(t){var e,n,i;if("metadata"===t.type){for(e=t.tracks.length;e--;)"video"===t.tracks[e].type?n=t.tracks[e]:"audio"===t.tracks[e].type&&(i=t.tracks[e]);n&&!m&&(b.numberOfTracks++,m=new r(n),p.pipe(m).pipe(b)),i&&!v&&(b.numberOfTracks++,v=new g(i),f.pipe(v).pipe(b),m&&m.on("keyframe",v.onVideoKeyFrame))}})),this.push=function(t){e.push(t)},this.flush=function(){e.flush()},this.resetCaptions=function(){y.reset()},b.on("data",(function(t){_.trigger("data",t)})),b.on("done",(function(){_.trigger("done")}))}).prototype=new o,t.exports=i},"84b4":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},"84f2":function(t,e){t.exports={}},8615:function(t,e,n){var i=n("5ca1"),r=n("504c")(!1);i(i.S,"Object",{values:function(t){return r(t)}})},"86cc":function(t,e,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),a=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"87b3":function(t,e,n){var i=Date.prototype,r="Invalid Date",o=i.toString,a=i.getTime;new Date(NaN)+""!=r&&n("2aba")(i,"toString",(function(){var t=a.call(this);return t==t?o.call(this):r}))},"87d0":function(t,e,n){"use strict";n("3cd0"),n("1812"),n("1a44"),n("acc2"),n("5e5e")},"87f3":function(t,e,n){n=n("5ca1"),n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},8890:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o,a=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}},s=n("4491"),u=(o=s)&&o.__esModule?o:{default:o};(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(c,u.default),i(c,[{key:"processJob_",value:function(){this.jobs.shift()(),this.jobs.length?this.timeout_=setTimeout(this.processJob_.bind(this),this.delay):this.timeout_=null}},{key:"push",value:function(t){this.jobs.push(t),this.timeout_||(this.timeout_=setTimeout(this.processJob_.bind(this),this.delay))}}]),i=c;function c(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a(Object.getPrototypeOf(c.prototype),"constructor",this).call(this,u.default),this.jobs=[],this.delay=1,this.timeout_=null}e.default=i,t.exports=e.default},"88ca":function(t,e,n){var i=n("86cc"),r=n("5ca1"),o=n("cb7c"),a=n("6a99");r(r.S+r.F*n("79e5")((function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})})),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return i.f(t,e,n),!0}catch(t){return!1}}})},"896f":function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=n("38fd"),a=i.has,s=i.key,u=function(t,e,n){return!!a(t,e,n)||(e=o(e),null!==e&&u(t,e,n))};i.exp({hasMetadata:function(t,e){return u(t,r(e),arguments.length<3?void 0:s(arguments[2]))}})},8990:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("07b4"),n("2b0c")},"8a5c":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{umulh:function(t,e){var n=+t,i=+e;t=65535&n,e=65535&i,n>>>=16,i>>>=16,e=(n*e>>>0)+(t*e>>>16);return n*i+(e>>>16)+((t*i>>>0)+(65535&e)>>>16)}})},"8a81":function(t,e,n){"use strict";function i(t){var e=W[t]=O(R[U]);return e._k=t,e}function r(t,e){S(t);for(var n,i=_(e=C(e)),r=0,o=i.length;r<o;)Z(t,n=i[r++],e[n]);return t}function o(t){var e=H.call(this,t=E(t,!0));return!(this===G&&u(W,t)&&!u(q,t))&&(!(e||!u(this,t)||!u(W,t)||u(this,$)&&this[$][t])||e)}function a(t,e){if(t=C(t),e=E(e,!0),t!==G||!u(W,e)||u(q,e)){var n=M(t,e);return!n||!u(W,e)||u(t,$)&&t[$][e]||(n.enumerable=!0),n}}var s=n("7726"),u=n("69a8"),c=n("9e1e"),l=n("5ca1"),h=n("2aba"),d=n("67ab").KEY,f=n("79e5"),p=n("5537"),g=n("7f20"),m=n("ca5a"),v=n("2b4c"),y=n("37c8"),b=n("3a72"),_=n("d4c0"),T=n("1169"),S=n("cb7c"),w=n("d3f4"),k=n("4bf8"),C=n("6821"),E=n("6a99"),x=n("4630"),O=n("2aeb"),A=n("7bbc"),P=n("11e9"),j=n("2621"),I=n("86cc"),L=n("0d58"),M=P.f,D=I.f,B=A.f,R=s.Symbol,N=s.JSON,F=N&&N.stringify,U="prototype",$=v("_hidden"),V=v("toPrimitive"),H={}.propertyIsEnumerable,z=p("symbol-registry"),W=p("symbols"),q=p("op-symbols"),G=Object[U],X="function"==typeof R&&!!j.f,Y=s.QObject,K=!Y||!Y[U]||!Y[U].findChild,Q=c&&f((function(){return 7!=O(D({},"a",{get:function(){return D(this,"a",{value:7}).a}})).a}))?function(t,e,n){var i=M(G,e);i&&delete G[e],D(t,e,n),i&&t!==G&&D(G,e,i)}:D,J=X&&"symbol"==typeof R.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof R},Z=function(t,e,n){return t===G&&Z(q,e,n),S(t),e=E(e,!0),S(n),u(W,e)?(n.enumerable?(u(t,$)&&t[$][e]&&(t[$][e]=!1),n=O(n,{enumerable:x(0,!1)})):(u(t,$)||D(t,$,x(1,{})),t[$][e]=!0),Q(t,e,n)):D(t,e,n)};p=function(t){for(var e,n=B(C(t)),i=[],r=0;n.length>r;)u(W,e=n[r++])||e==$||e==d||i.push(e);return i},Y=function(t){for(var e,n=t===G,i=B(n?q:C(t)),r=[],o=0;i.length>o;)!u(W,e=i[o++])||n&&!u(G,e)||r.push(W[e]);return r};X||(h((R=function(){if(this instanceof R)throw TypeError("Symbol is not a constructor!");var t=m(0<arguments.length?arguments[0]:void 0),e=function(n){this===G&&e.call(q,n),u(this,$)&&u(this[$],t)&&(this[$][t]=!1),Q(this,t,x(1,n))};return c&&K&&Q(G,t,{configurable:!0,set:e}),i(t)})[U],"toString",(function(){return this._k})),P.f=a,I.f=Z,n("9093").f=A.f=p,n("52a7").f=o,j.f=Y,c&&!n("2d00")&&h(G,"propertyIsEnumerable",o,!0),y.f=function(t){return i(v(t))}),l(l.G+l.W+l.F*!X,{Symbol:R});for(var tt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),et=0;tt.length>et;)v(tt[et++]);for(var nt=L(v.store),it=0;nt.length>it;)b(nt[it++]);l(l.S+l.F*!X,"Symbol",{for:function(t){return u(z,t+="")?z[t]:z[t]=R(t)},keyFor:function(t){if(!J(t))throw TypeError(t+" is not a symbol!");for(var e in z)if(z[e]===t)return e},useSetter:function(){K=!0},useSimple:function(){K=!1}}),l(l.S+l.F*!X,"Object",{create:function(t,e){return void 0===e?O(t):r(O(t),e)},defineProperty:Z,defineProperties:r,getOwnPropertyDescriptor:a,getOwnPropertyNames:p,getOwnPropertySymbols:Y}),Y=f((function(){j.f(1)})),l(l.S+l.F*Y,"Object",{getOwnPropertySymbols:function(t){return j.f(k(t))}}),N&&l(l.S+l.F*(!X||f((function(){var t=R();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,i=[t],r=1;r<arguments.length;)i.push(arguments[r++]);if(n=e=i[1],(w(e)||void 0!==t)&&!J(t))return T(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!J(e))return e}),i[1]=e,F.apply(N,i)}}),R[U][V]||n("32e9")(R[U],V,R[U].valueOf),g(R,"Symbol"),g(Math,"Math",!0),g(s.JSON,"JSON",!0)},"8b97":function(t,e,n){function i(t,e){if(o(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var r=n("d3f4"),o=n("cb7c");t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{(r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2))(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return i(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:i}},"8c10":function(t,e){t.exports=function(t,e){var n,i=null;try{n=JSON.parse(t,e)}catch(t){i=t}return[i,n]}},"8c57":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e,n){var i=e.slice();n=n||0;for(var r=Math.min(t.length,e.length+n),o=n;o<r;o++)i[o-n]=(0,c.mergeOptions)(t[o],i[o-n]);return i}var u=a(n("6be2")),c=n("3d33"),l=a(n("c795")),h=a(n("be09"));function d(t,e){t.resolvedUri||(t.resolvedUri=(0,u.default)(e,t.uri)),t.key&&!t.key.resolvedUri&&(t.key.resolvedUri=(0,u.default)(e,t.key.uri)),t.map&&!t.map.resolvedUri&&(t.map.resolvedUri=(0,u.default)(e,t.map.uri))}function f(t,e){var n=(0,c.mergeOptions)(t,{});if(!(t=n.playlists.filter((function(t){return t.uri===e.uri}))[0]))return null;if(t.segments&&e.segments&&t.segments.length===e.segments.length&&t.mediaSequence===e.mediaSequence)return null;var i=(0,c.mergeOptions)(t,e);t.segments&&(i.segments=s(t.segments,e.segments,e.mediaSequence-t.mediaSequence)),i.segments.forEach((function(t){d(t,i.resolvedUri)}));for(var r=0;r<n.playlists.length;r++)n.playlists[r].uri===e.uri&&(n.playlists[r]=i);return n.playlists[e.uri]=i,n}function p(t){for(var e=t.playlists.length;e--;){var n=t.playlists[e];(t.playlists[n.uri]=n).resolvedUri=(0,u.default)(t.uri,n.uri),n.attributes||(n.attributes={},c.log.warn("Invalid playlist STREAM-INF detected. Missing BANDWIDTH attribute."))}}function g(t){["AUDIO","SUBTITLES"].forEach((function(e){for(var n in t.mediaGroups[e])for(var i in t.mediaGroups[e][n])i=t.mediaGroups[e][n][i],i.uri&&(i.resolvedUri=(0,u.default)(t.uri,i.uri))}))}function m(t,e){var n=t.segments[t.segments.length-1];return e&&n&&n.duration?1e3*n.duration:500*(t.targetDuration||10)}function v(t,e,n){var i=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v),o(Object.getPrototypeOf(v.prototype),"constructor",this).call(this),n=n||{},this.srcUrl=t,this.hls_=e,this.withCredentials=!!n.withCredentials,this.handleManifestRedirects=!!n.handleManifestRedirects,!this.srcUrl)throw new Error("A non-empty playlist URL is required");this.state="HAVE_NOTHING",this.on("mediaupdatetimeout",(function(){"HAVE_METADATA"===i.state&&(i.state="HAVE_CURRENT_METADATA",i.request=i.hls_.xhr({uri:(0,u.default)(i.master.uri,i.media().uri),withCredentials:i.withCredentials},(function(t,e){if(i.request)return t?i.playlistRequestError(i.request,i.media().uri,"HAVE_METADATA"):void i.haveMetadata(i.request,i.media().uri)})))}))}e.updateSegments=s,e.resolveSegmentUris=d,e.updateMaster=f,e.setupMediaPlaylists=p,e.resolveMediaGroupUris=g,e.refreshDelay=m,function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(v,c.EventTarget),i(v,[{key:"playlistRequestError",value:function(t,e,n){this.request=null,n&&(this.state=n),this.error={playlist:this.master.playlists[e],status:t.status,message:"HLS playlist request error at URL: "+e,responseText:t.responseText,code:500<=t.status?4:2},this.trigger("error")}},{key:"haveMetadata",value:function(t,e){var n=this;this.request=null,this.state="HAVE_METADATA";var i=new l.default.Parser;i.push(t.responseText),i.end(),i.manifest.uri=e,i.manifest.attributes=i.manifest.attributes||{},e=f(this.master,i.manifest),this.targetDuration=i.manifest.targetDuration,e?(this.master=e,this.media_=this.master.playlists[i.manifest.uri]):this.trigger("playlistunchanged"),this.media().endList||(h.default.clearTimeout(this.mediaUpdateTimeout),this.mediaUpdateTimeout=h.default.setTimeout((function(){n.trigger("mediaupdatetimeout")}),m(this.media(),!!e))),this.trigger("loadedplaylist")}},{key:"dispose",value:function(){this.stopRequest(),h.default.clearTimeout(this.mediaUpdateTimeout)}},{key:"stopRequest",value:function(){var t;this.request&&(t=this.request,this.request=null,t.onreadystatechange=null,t.abort())}},{key:"media",value:function(t){var e=this;if(!t)return this.media_;if("HAVE_NOTHING"===this.state)throw new Error("Cannot switch media playlist from "+this.state);var n=this.state;if("string"==typeof t){if(!this.master.playlists[t])throw new Error("Unknown playlist URI: "+t);t=this.master.playlists[t]}var i=!this.media_||t.uri!==this.media_.uri;if(this.master.playlists[t.uri].endList)return this.request&&(this.request.onreadystatechange=null,this.request.abort(),this.request=null),this.state="HAVE_METADATA",this.media_=t,void(i&&(this.trigger("mediachanging"),this.trigger("mediachange")));if(i){if(this.state="SWITCHING_MEDIA",this.request){if(t.resolvedUri===this.request.url)return;this.request.onreadystatechange=null,this.request.abort(),this.request=null}this.media_&&this.trigger("mediachanging"),this.request=this.hls_.xhr({uri:t.resolvedUri,withCredentials:this.withCredentials},(function(i,r){if(e.request){if(t.resolvedUri=e.resolveManifestRedirect(t.resolvedUri,r),i)return e.playlistRequestError(e.request,t.uri,n);e.haveMetadata(r,t.uri),"HAVE_MASTER"===n?e.trigger("loadedmetadata"):e.trigger("mediachange")}}))}}},{key:"resolveManifestRedirect",value:function(t,e){return this.handleManifestRedirects&&e.responseURL&&t!==e.responseURL?e.responseURL:t}},{key:"pause",value:function(){this.stopRequest(),h.default.clearTimeout(this.mediaUpdateTimeout),"HAVE_NOTHING"===this.state&&(this.started=!1),"SWITCHING_MEDIA"===this.state?this.media_?this.state="HAVE_METADATA":this.state="HAVE_MASTER":"HAVE_CURRENT_METADATA"===this.state&&(this.state="HAVE_METADATA")}},{key:"load",value:function(t){var e=this;h.default.clearTimeout(this.mediaUpdateTimeout);var n=this.media();t?(t=n?n.targetDuration/2*1e3:5e3,this.mediaUpdateTimeout=h.default.setTimeout((function(){return e.load()}),t)):this.started?n&&!n.endList?this.trigger("mediaupdatetimeout"):this.trigger("loadedplaylist"):this.start()}},{key:"start",value:function(){var t=this;this.started=!0,this.request=this.hls_.xhr({uri:this.srcUrl,withCredentials:this.withCredentials},(function(e,n){if(t.request)return t.request=null,e?(t.error={status:n.status,message:"HLS playlist request error at URL: "+t.srcUrl,responseText:n.responseText,code:2},"HAVE_NOTHING"===t.state&&(t.started=!1),t.trigger("error")):(e=new l.default.Parser,e.push(n.responseText),e.end(),t.state="HAVE_MASTER",t.srcUrl=t.resolveManifestRedirect(t.srcUrl,n),e.manifest.uri=t.srcUrl,e.manifest.playlists?(t.master=e.manifest,p(t.master),g(t.master),t.trigger("loadedplaylist"),void(t.request||t.media(e.manifest.playlists[0]))):(t.master={mediaGroups:{AUDIO:{},VIDEO:{},"CLOSED-CAPTIONS":{},SUBTITLES:{}},uri:h.default.location.href,playlists:[{uri:t.srcUrl,resolvedUri:t.srcUrl,attributes:{}}]},t.master.playlists[t.srcUrl]=t.master.playlists[0],t.haveMetadata(n,t.srcUrl),t.trigger("loadedmetadata")))}))}}]),i=v,e.default=i},"8d12":function(t,e,n){"use strict";n("3cd0"),n("3cf6")},"8e11":function(t,e,n){"use strict";n("3cd0"),n("25bb"),n("f8c2")},"8e6e":function(t,e,n){var i=n("5ca1"),r=n("990b"),o=n("6821"),a=n("11e9"),s=n("f1ae");i(i.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,i=o(t),u=a.f,c=r(i),l={},h=0;c.length>h;)void 0!==(n=u(i,e=c[h++]))&&s(l,e,n);return l}})},"8ea5":function(t,e,n){var i=n("5ca1");n=n("8ed0");i(i.P+i.F*(Date.prototype.toISOString!==n),"Date",{toISOString:n})},"8ed0":function(t,e,n){"use strict";function i(t){return 9<t?t:"0"+t}n=n("79e5");var r=Date.prototype.getTime,o=Date.prototype.toISOString;t.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!n((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":9999<t?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+i(this.getUTCMonth()+1)+"-"+i(this.getUTCDate())+"T"+i(this.getUTCHours())+":"+i(this.getUTCMinutes())+":"+i(this.getUTCSeconds())+"."+(99<e?e:"0"+i(e))+"Z"}:o},"8f80":function(t,e,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("ea8e"),a=n("a142");function s(t){return Array.isArray(t)?t:[t]}function u(t,e){return new Promise((function(n){var i;"file"!==e?((i=new FileReader).onload=function(t){n(t.target.result)},"dataUrl"===e?i.readAsDataURL(t):"text"===e&&i.readAsText(t)):n(null)}))}function c(t,e){return s(t).some((function(t){return!!t&&(Object(a.d)(e)?e(t):t.size>e)}))}var l=/\.(jpeg|jpg|gif|png|svg|webp|jfif|bmp|dpg)/i;function h(t){return!!t.isImage||(t.file&&t.file.type?0===t.file.type.indexOf("image"):t.url?(e=t.url,l.test(e)):!!t.content&&0===t.content.indexOf("data:image"));var e}var d=n("78eb"),f=n("ad06"),p=n("44bf"),g=n("543e"),m=n("8bbf"),v=n.n(m),y=Object(r.a)("image-preview"),b=y[0],_=y[1],T=n("6605"),S=(m=n("3875"),y=n("5fbe"),n("5596")),w=n("482d"),k=n("1325"),C=n("2bb1");function E(t){return Math.sqrt(Math.pow(t[0].clientX-t[1].clientX,2)+Math.pow(t[0].clientY-t[1].clientY,2))}var x,O={mixins:[m.a],props:{src:String,show:Boolean,active:Number,minZoom:[Number,String],maxZoom:[Number,String],rootWidth:Number,rootHeight:Number},data:function(){return{scale:1,moveX:0,moveY:0,moving:!1,zooming:!1,imageRatio:0,displayWidth:0,displayHeight:0}},computed:{vertical:function(){var t=this.rootWidth,e=this.rootHeight;return this.imageRatio>e/t},imageStyle:function(){var t,e,n=this.scale,i={transitionDuration:this.zooming||this.moving?"0s":".3s"};return 1!==n&&(t=this.moveX/n,e=this.moveY/n,i.transform="scale("+n+", "+n+") translate("+t+"px, "+e+"px)"),i},maxMoveX:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight/this.imageRatio:this.rootWidth;return Math.max(0,(this.scale*t-this.rootWidth)/2)}return 0},maxMoveY:function(){if(this.imageRatio){var t=this.vertical?this.rootHeight:this.rootWidth*this.imageRatio;return Math.max(0,(this.scale*t-this.rootHeight)/2)}return 0}},watch:{active:"resetScale",show:function(t){t||this.resetScale()}},mounted:function(){this.bindTouchEvent(this.$el)},methods:{resetScale:function(){this.setScale(1),this.moveX=0,this.moveY=0},setScale:function(t){(t=Object(w.b)(t,+this.minZoom,+this.maxZoom))!==this.scale&&(this.scale=t,this.$emit("scale",{scale:this.scale,index:this.active}))},toggleScale:function(){var t=1<this.scale?1:2;this.setScale(t),this.moveX=0,this.moveY=0},onTouchStart:function(t){var e=t.touches,n=this.offsetX;n=void 0===n?0:n;this.touchStart(t),this.touchStartTime=new Date,this.startMoveX=this.moveX,this.startMoveY=this.moveY,this.moving=1===e.length&&1!==this.scale,this.zooming=2===e.length&&!n,this.zooming&&(this.startScale=this.scale,this.startDistance=E(t.touches))},onTouchMove:function(t){var e,n=t.touches;this.touchMove(t),(this.moving||this.zooming)&&Object(k.c)(t,!0),this.moving&&(e=this.deltaX+this.startMoveX,t=this.deltaY+this.startMoveY,this.moveX=Object(w.b)(e,-this.maxMoveX,this.maxMoveX),this.moveY=Object(w.b)(t,-this.maxMoveY,this.maxMoveY)),this.zooming&&2===n.length&&(n=E(n),n=this.startScale*n/this.startDistance,this.setScale(n))},onTouchEnd:function(t){var e=!1;(this.moving||this.zooming)&&(e=!0,this.moving&&this.startMoveX===this.moveX&&this.startMoveY===this.moveY&&(e=!1),t.touches.length||(this.zooming&&(this.moveX=Object(w.b)(this.moveX,-this.maxMoveX,this.maxMoveX),this.moveY=Object(w.b)(this.moveY,-this.maxMoveY,this.maxMoveY),this.zooming=!1),this.moving=!1,this.startMoveX=0,this.startMoveY=0,this.startScale=1,this.scale<1&&this.resetScale())),Object(k.c)(t,e),this.checkTap(),this.resetTouchStatus()},checkTap:function(){var t=this,e=this.offsetX,n=void 0===e?0:e,i=this.offsetY;e=void 0===i?0:i,i=new Date-this.touchStartTime;n<10&&e<10&&i<250&&(this.doubleTapTimer?(clearTimeout(this.doubleTapTimer),this.doubleTapTimer=null,this.toggleScale()):this.doubleTapTimer=setTimeout((function(){t.$emit("close"),t.doubleTapTimer=null}),250))},onLoad:function(t){var e=t.target;t=e.naturalWidth,e=e.naturalHeight;this.imageRatio=e/t}},render:function(){var t=arguments[0],e={loading:function(){return t(g.a,{attrs:{type:"spinner"}})}};return t(C.a,{class:_("swipe-item")},[t(p.a,{attrs:{src:this.src,fit:"contain"},class:_("image",{vertical:this.vertical}),style:this.imageStyle,scopedSlots:e,on:{load:this.onLoad}})])}},A=b({mixins:[m.a,Object(T.a)({skipToggleEvent:!0}),Object(y.a)((function(t){t(window,"resize",this.resize,!0),t(window,"orientationchange",this.resize,!0)}))],props:{className:null,closeable:Boolean,asyncClose:Boolean,showIndicators:Boolean,images:{type:Array,default:function(){return[]}},loop:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},minZoom:{type:[Number,String],default:1/3},maxZoom:{type:[Number,String],default:3},transition:{type:String,default:"van-fade"},showIndex:{type:Boolean,default:!0},swipeDuration:{type:[Number,String],default:300},startPosition:{type:[Number,String],default:0},overlayClass:{type:String,default:_("overlay")},closeIcon:{type:String,default:"clear"},closeOnPopstate:{type:Boolean,default:!0},closeIconPosition:{type:String,default:"top-right"}},data:function(){return{active:0,rootWidth:0,rootHeight:0,doubleClickTimer:null}},mounted:function(){this.resize()},watch:{startPosition:"setActive",value:function(t){var e=this;t?(this.setActive(+this.startPosition),this.$nextTick((function(){e.resize(),e.$refs.swipe.swipeTo(+e.startPosition,{immediate:!0})}))):this.$emit("close",{index:this.active,url:this.images[this.active]})}},methods:{resize:function(){var t;this.$el&&this.$el.getBoundingClientRect&&(t=this.$el.getBoundingClientRect(),this.rootWidth=t.width,this.rootHeight=t.height)},emitClose:function(){this.asyncClose||this.$emit("input",!1)},emitScale:function(t){this.$emit("scale",t)},setActive:function(t){t!==this.active&&(this.active=t,this.$emit("change",t))},genIndex:function(){var t=this.$createElement;if(this.showIndex)return t("div",{class:_("index")},[this.slots("index",{index:this.active})||this.active+1+" / "+this.images.length])},genCover:function(){var t=this.$createElement,e=this.slots("cover");if(e)return t("div",{class:_("cover")},[e])},genImages:function(){var t=this,e=this.$createElement;return e(S.a,{ref:"swipe",attrs:{lazyRender:!0,loop:this.loop,duration:this.swipeDuration,initialSwipe:this.startPosition,showIndicators:this.showIndicators,indicatorColor:"white"},class:_("swipe"),on:{change:this.setActive}},[this.images.map((function(n){return e(O,{attrs:{src:n,show:t.value,active:t.active,maxZoom:t.maxZoom,minZoom:t.minZoom,rootWidth:t.rootWidth,rootHeight:t.rootHeight},on:{scale:t.emitScale,close:t.emitClose}})}))])},genClose:function(){var t=this.$createElement;if(this.closeable)return t(f.a,{attrs:{role:"button",name:this.closeIcon},class:_("close-icon",this.closeIconPosition),on:{click:this.emitClose}})},onClosed:function(){this.$emit("closed")},swipeTo:function(t,e){this.$refs.swipe&&this.$refs.swipe.swipeTo(t,e)}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterLeave:this.onClosed}},[this.shouldRender?t("div",{directives:[{name:"show",value:this.value}],class:[_(),this.className]},[this.genClose(),this.genImages(),this.genIndex(),this.genCover()]):null])}}),P={loop:!0,value:!0,images:[],maxZoom:3,minZoom:1/3,onClose:null,onChange:null,className:"",showIndex:!0,closeable:!1,closeIcon:"clear",asyncClose:!1,transition:"van-fade",getContainer:"body",startPosition:0,swipeDuration:300,showIndicators:!1,closeOnPopstate:!0,closeIconPosition:"top-right"};y=function(t,e){if(void 0===e&&(e=0),!a.g)return x||(x=new(v.a.extend(A))({el:document.createElement("div")}),document.body.appendChild(x.$el),x.$on("change",(function(t){x.onChange&&x.onChange(t)})),x.$on("scale",(function(t){x.onScale&&x.onScale(t)}))),t=Array.isArray(t)?{images:t,startPosition:e}:t,Object(i.a)(x,P,t),x.$once("input",(function(t){x.value=t})),x.$once("closed",(function(){x.images=[]})),t.onClose&&(x.$off("close"),x.$once("close",t.onClose)),x};y.Component=A,y.install=function(){v.a.use(A)};var j=y,I=(y=Object(r.a)("uploader"),r=y[0],y[1]);e.a=r({inheritAttrs:!1,mixins:[d.a],model:{prop:"fileList"},props:{disabled:Boolean,lazyLoad:Boolean,uploadText:String,afterRead:Function,beforeRead:Function,beforeDelete:Function,previewSize:[Number,String],previewOptions:Object,name:{type:[Number,String],default:""},accept:{type:String,default:"image/*"},fileList:{type:Array,default:function(){return[]}},maxSize:{type:[Number,String,Function],default:Number.MAX_VALUE},maxCount:{type:[Number,String],default:Number.MAX_VALUE},deletable:{type:Boolean,default:!0},showUpload:{type:Boolean,default:!0},previewImage:{type:Boolean,default:!0},previewFullImage:{type:Boolean,default:!0},imageFit:{type:String,default:"cover"},resultType:{type:String,default:"dataUrl"},uploadIcon:{type:String,default:"photograph"}},computed:{previewSizeWithUnit:function(){return Object(o.a)(this.previewSize)},value:function(){return this.fileList}},methods:{getDetail:function(t){return void 0===t&&(t=this.fileList.length),{name:this.name,index:t}},onChange:function(t){var e=this,n=t.target.files;if(!this.disabled&&n.length){if(n=1===n.length?n[0]:[].slice.call(n),this.beforeRead){if(t=this.beforeRead(n,this.getDetail()),!t)return void this.resetInput();if(Object(a.f)(t))return void t.then((function(t){t?e.readFile(t):e.readFile(n)})).catch(this.resetInput)}this.readFile(n)}},readFile:function(t){var e,n=this,i=c(t,this.maxSize);Array.isArray(t)?(e=this.maxCount-this.fileList.length,t.length>e&&(t=t.slice(0,e)),Promise.all(t.map((function(t){return u(t,n.resultType)}))).then((function(e){var r=t.map((function(t,n){return t={file:t,status:"",message:""},e[n]&&(t.content=e[n]),t}));n.onAfterRead(r,i)}))):u(t,this.resultType).then((function(e){var r={file:t,status:"",message:""};e&&(r.content=e),n.onAfterRead(r,i)}))},onAfterRead:function(t,e){var n=this;this.resetInput();var i,r=t;e&&(i=t,Array.isArray(t)?(i=[],r=[],t.forEach((function(t){t.file&&(c(t.file,n.maxSize)?i:r).push(t)}))):r=null,this.$emit("oversize",i,this.getDetail())),(Array.isArray(r)?Boolean(r.length):Boolean(r))&&(this.$emit("input",[].concat(this.fileList,s(r))),this.afterRead&&this.afterRead(r,this.getDetail()))},onDelete:function(t,e){var n=this,i=null!=(i=t.beforeDelete)?i:this.beforeDelete;if(i){if(i=i(t,this.getDetail(e)),!i)return;if(Object(a.f)(i))return void i.then((function(){n.deleteFile(t,e)})).catch(a.h)}this.deleteFile(t,e)},deleteFile:function(t,e){var n=this.fileList.slice(0);n.splice(e,1),this.$emit("input",n),this.$emit("delete",t,this.getDetail(e))},resetInput:function(){this.$refs.input&&(this.$refs.input.value="")},onPreviewImage:function(t){var e,n,r=this;this.previewFullImage&&(n=(e=this.fileList.filter(h)).map((function(t){return t.content||t.url})),this.imagePreview=j(Object(i.a)({images:n,startPosition:e.indexOf(t),onClose:function(){r.$emit("close-preview")}},this.previewOptions)))},closeImagePreview:function(){this.imagePreview&&this.imagePreview.close()},chooseFile:function(){this.disabled||this.$refs.input&&this.$refs.input.click()},genPreviewMask:function(t){var e=this.$createElement,n=t.status,i=t.message;if("uploading"===n||"failed"===n)return t="failed"===n?e(f.a,{attrs:{name:"close"},class:I("mask-icon")}):e(g.a,{class:I("loading")}),n=Object(a.c)(i)&&""!==i,e("div",{class:I("mask")},[t,n&&e("div",{class:I("mask-message")},[i])])},genPreviewItem:function(t,e){var n=this,r=this.$createElement,o=null!=(u=t.deletable)?u:this.deletable,a="uploading"!==t.status&&o&&r("div",{class:I("preview-delete"),on:{click:function(i){i.stopPropagation(),n.onDelete(t,e)}}},[r(f.a,{attrs:{name:"cross"},class:I("preview-delete-icon")})]),s=this.slots("preview-cover",Object(i.a)({index:e},t)),u=s&&r("div",{class:I("preview-cover")},[s]);s=null!=(o=t.previewSize)?o:this.previewSize,o=null!=(o=t.imageFit)?o:this.imageFit,u=h(t)?r(p.a,{attrs:{fit:o,src:t.content||t.url,width:s,height:s,lazyLoad:this.lazyLoad},class:I("preview-image"),on:{click:function(){n.onPreviewImage(t)}}},[u]):r("div",{class:I("file"),style:{width:this.previewSizeWithUnit,height:this.previewSizeWithUnit}},[r(f.a,{class:I("file-icon"),attrs:{name:"description"}}),r("div",{class:[I("file-name"),"van-ellipsis"]},[t.file?t.file.name:t.url]),u]);return r("div",{class:I("preview"),on:{click:function(){n.$emit("click-preview",t,n.getDetail(e))}}},[u,this.genPreviewMask(t),a])},genPreviewList:function(){if(this.previewImage)return this.fileList.map(this.genPreviewItem)},genUpload:function(){var t=this.$createElement;if(!(this.fileList.length>=this.maxCount)&&this.showUpload){var e,n=this.slots(),r=t("input",{attrs:Object(i.a)({},this.$attrs,{type:"file",accept:this.accept,disabled:this.disabled}),ref:"input",class:I("input"),on:{change:this.onChange}});return n?t("div",{class:I("input-wrapper"),key:"input-wrapper"},[n,r]):(this.previewSize&&(e={width:e=this.previewSizeWithUnit,height:e}),t("div",{class:I("upload"),style:e},[t(f.a,{attrs:{name:this.uploadIcon},class:I("upload-icon")}),this.uploadText&&t("span",{class:I("upload-text")},[this.uploadText]),r]))}}},render:function(){var t=arguments[0];return t("div",{class:I()},[t("div",{class:I("wrapper",{disabled:this.disabled})},[this.genPreviewList(),this.genUpload()])])}})},9093:function(t,e,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return i(t,r)}},"90c6":function(t,e,n){"use strict";function i(t){return/^\d+(\.\d+)?$/.test(t)}function r(t){return Number.isNaN?Number.isNaN(t):t!=t}n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return r}))},"91c5":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}function s(t){return t.replace(/avc1\.(\d+)\.(\d+)/i,(function(t){return(0,m.translateLegacyCodecs)([t])[0]}))}var u=a(n("8c57")),c=n("d61a"),l=a(n("f7fd")),h=a(n("5496")),d=a(n("d3ae")),f=a(n("3d33")),p=a(n("ed4d")),g=a(n("c7ca0")),m=n("0de0"),v=a(n("78d8")),y=a(n("a254")),b=a(n("56c8")),_=n("6066"),T=n("230d"),S=void 0,w={videoCodec:"avc1",videoObjectTypeIndicator:".4d400d",audioProfile:"2"},k=["mediaRequests","mediaRequestsAborted","mediaRequestsTimedout","mediaRequestsErrored","mediaTransferDuration","mediaBytesTransferred"],C=function(t){return this.audioSegmentLoader_[t]+this.mainSegmentLoader_[t]},E=function(){var t=void 0;try{t="a254"}catch(t){}return t};function x(t,e,n){return t+"/"+e+'; codecs="'+n.filter((function(t){return!!t})).join(", ")+'"'}function O(t,e){var n=(a=e).segments&&a.segments.length&&a.segments[0].map?"mp4":"mp2t",i=function(t){return t=t.attributes||{},t.CODECS?(0,_.parseCodecs)(t.CODECS):w}(e),r=e.attributes||{},o=!0,a=!1;if(!e)return[];if(t.mediaGroups.AUDIO&&r.AUDIO){var s=t.mediaGroups.AUDIO[r.AUDIO];if(s)for(var u in o=!(a=!0),s)if(!s[u].uri){o=!0;break}}return a&&!i.audioProfile&&(f.default.log.warn("Multiple audio tracks present but no audio codec string is specified. Attempting to use the default audio codec (mp4a.40.2)"),i.audioProfile=w.audioProfile),t={},i.videoCodec&&(t.video=""+i.videoCodec+i.videoObjectTypeIndicator),i.audioProfile&&(t.audio="mp4a.40."+i.audioProfile),r=x("audio",n,[t.audio]),i=x("video",n,[t.video]),n=x("video",n,[t.video,t.audio]),a?!o&&t.video?[i,r]:[n,r]:t.video?[n]:[r]}function A(t){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,A),o(Object.getPrototypeOf(A.prototype),"constructor",this).call(this);var n=t.url,i=t.handleManifestRedirects,r=t.withCredentials,a=t.mode,s=t.tech,c=t.bandwidth,d=t.externHls,p=t.useCueTags,m=t.blacklistDuration,b=t.enableLowInitialPlaylist;if(!n)throw new Error("A non-empty playlist URL is required");S=d,this.tech_=s,this.hls_=s.hls,this.mode_=a,this.useCueTags_=p,this.blacklistDuration=m,this.enableLowInitialPlaylist=b,this.useCueTags_&&(this.cueTagsTrack_=this.tech_.addTextTrack("metadata","ad-cues"),this.cueTagsTrack_.inBandMetadataTrackDispatchType=""),this.requestOptions_={withCredentials:r,handleManifestRedirects:i,timeout:null},this.mediaTypes_=(0,T.createMediaTypes)(),this.mediaSource=new f.default.MediaSource({mode:a}),this.mediaSource.addEventListener("sourceopen",this.handleSourceOpen_.bind(this)),this.seekable_=f.default.createTimeRanges(),this.hasPlayed_=function(){return!1},this.syncController_=new g.default(t),this.segmentMetadataTrack_=s.addRemoteTextTrack({kind:"metadata",label:"segment-metadata"},!1).track,this.decrypter_=(0,v.default)(y.default,E()),c={hls:this.hls_,mediaSource:this.mediaSource,currentTime:this.tech_.currentTime.bind(this.tech_),seekable:function(){return e.seekable()},seeking:function(){return e.tech_.seeking()},duration:function(){return e.mediaSource.duration},hasPlayed:function(){return e.hasPlayed_()},goalBufferLength:function(){return e.goalBufferLength()},bandwidth:c,syncController:this.syncController_,decrypter:this.decrypter_},this.masterPlaylistLoader_=new u.default(n,this.hls_,this.requestOptions_),this.setupMasterPlaylistLoaderListeners_(),this.mainSegmentLoader_=new l.default(f.default.mergeOptions(c,{segmentMetadataTrack:this.segmentMetadataTrack_,loaderType:"main"}),t),this.audioSegmentLoader_=new l.default(f.default.mergeOptions(c,{loaderType:"audio"}),t),this.subtitleSegmentLoader_=new h.default(f.default.mergeOptions(c,{loaderType:"vtt"}),t),this.setupSegmentLoaderListeners_(),k.forEach((function(t){e[t+"_"]=C.bind(e,t)})),this.masterPlaylistLoader_.load()}e.mapLegacyAvcCodecs_=s,e.mimeTypesForPlaylist_=O,function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(A,f.default.EventTarget),i(A,[{key:"setupMasterPlaylistLoaderListeners_",value:function(){var t=this;this.masterPlaylistLoader_.on("loadedmetadata",(function(){var e=t.masterPlaylistLoader_.media(),n=1.5*t.masterPlaylistLoader_.targetDuration*1e3;(0,c.isLowestEnabledRendition)(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.media())?t.requestOptions_.timeout=0:t.requestOptions_.timeout=n,e.endList&&"none"!==t.tech_.preload()&&(t.mainSegmentLoader_.playlist(e,t.requestOptions_),t.mainSegmentLoader_.load()),(0,T.setupMediaGroups)({segmentLoaders:{AUDIO:t.audioSegmentLoader_,SUBTITLES:t.subtitleSegmentLoader_,main:t.mainSegmentLoader_},tech:t.tech_,requestOptions:t.requestOptions_,masterPlaylistLoader:t.masterPlaylistLoader_,mode:t.mode_,hls:t.hls_,master:t.master(),mediaTypes:t.mediaTypes_,blacklistCurrentPlaylist:t.blacklistCurrentPlaylist.bind(t)}),t.triggerPresenceUsage_(t.master(),e);try{t.setupSourceBuffers_()}catch(e){return f.default.log.warn("Failed to create SourceBuffers",e),t.mediaSource.endOfStream("decode")}t.setupFirstPlay(),t.trigger("selectedinitialmedia")})),this.masterPlaylistLoader_.on("loadedplaylist",(function(){var e=t.masterPlaylistLoader_.media();if(!e){var n=void 0;n=(n=t.enableLowInitialPlaylist?t.selectInitialPlaylist():n)||t.selectPlaylist();return t.initialMedia_=n,void t.masterPlaylistLoader_.media(t.initialMedia_)}function i(){var e=t.seekable();0!==e.length&&t.mediaSource.addSeekableRange_(e.start(0),e.end(0))}function r(){t.duration()===1/0?i():t.tech_.one("durationchange",r)}t.useCueTags_&&t.updateAdCues_(e),t.mainSegmentLoader_.playlist(e,t.requestOptions_),t.updateDuration(),t.tech_.paused()||t.mainSegmentLoader_.load(),e.endList||(t.duration()!==1/0?t.tech_.one("durationchange",r):i())})),this.masterPlaylistLoader_.on("error",(function(){t.blacklistCurrentPlaylist(t.masterPlaylistLoader_.error)})),this.masterPlaylistLoader_.on("mediachanging",(function(){t.mainSegmentLoader_.abort(),t.mainSegmentLoader_.pause()})),this.masterPlaylistLoader_.on("mediachange",(function(){var e=t.masterPlaylistLoader_.media(),n=1.5*t.masterPlaylistLoader_.targetDuration*1e3;(0,c.isLowestEnabledRendition)(t.masterPlaylistLoader_.master,t.masterPlaylistLoader_.media())?t.requestOptions_.timeout=0:t.requestOptions_.timeout=n,t.mainSegmentLoader_.playlist(e,t.requestOptions_),t.mainSegmentLoader_.load(),t.tech_.trigger({type:"mediachange",bubbles:!0})})),this.masterPlaylistLoader_.on("playlistunchanged",(function(){var e=t.masterPlaylistLoader_.media();t.stuckAtPlaylistEnd_(e)&&(t.blacklistCurrentPlaylist({message:"Playlist no longer updating."}),t.tech_.trigger("playliststuck"))})),this.masterPlaylistLoader_.on("renditiondisabled",(function(){t.tech_.trigger({type:"usage",name:"hls-rendition-disabled"})})),this.masterPlaylistLoader_.on("renditionenabled",(function(){t.tech_.trigger({type:"usage",name:"hls-rendition-enabled"})}))}},{key:"triggerPresenceUsage_",value:function(t,e){var n,i=t.mediaGroups||{},r=!0;t=Object.keys(i.AUDIO);for(n in i.AUDIO)for(var o in i.AUDIO[n])i.AUDIO[n][o].uri||(r=!1);r&&this.tech_.trigger({type:"usage",name:"hls-demuxed"}),Object.keys(i.SUBTITLES).length&&this.tech_.trigger({type:"usage",name:"hls-webvtt"}),S.Playlist.isAes(e)&&this.tech_.trigger({type:"usage",name:"hls-aes"}),S.Playlist.isFmp4(e)&&this.tech_.trigger({type:"usage",name:"hls-fmp4"}),t.length&&1<Object.keys(i.AUDIO[t[0]]).length&&this.tech_.trigger({type:"usage",name:"hls-alternate-audio"}),this.useCueTags_&&this.tech_.trigger({type:"usage",name:"hls-playlist-cue-tags"})}},{key:"setupSegmentLoaderListeners_",value:function(){var t=this;this.mainSegmentLoader_.on("bandwidthupdate",(function(){var e=t.selectPlaylist(),n=t.masterPlaylistLoader_.media(),i=t.tech_.buffered(),r=i.length?i.end(i.length-1)-t.tech_.currentTime():0;i=t.bufferLowWaterLine();(!n.endList||t.duration()<b.default.MAX_BUFFER_LOW_WATER_LINE||e.attributes.BANDWIDTH<n.attributes.BANDWIDTH||i<=r)&&t.masterPlaylistLoader_.media(e),t.tech_.trigger("bandwidthupdate")})),this.mainSegmentLoader_.on("progress",(function(){t.trigger("progress")})),this.mainSegmentLoader_.on("error",(function(){t.blacklistCurrentPlaylist(t.mainSegmentLoader_.error())})),this.mainSegmentLoader_.on("syncinfoupdate",(function(){t.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("timestampoffset",(function(){t.tech_.trigger({type:"usage",name:"hls-timestamp-offset"})})),this.audioSegmentLoader_.on("syncinfoupdate",(function(){t.onSyncInfoUpdate_()})),this.mainSegmentLoader_.on("ended",(function(){t.onEndOfStream()})),this.mainSegmentLoader_.on("earlyabort",(function(){t.blacklistCurrentPlaylist({message:"Aborted early because there isn't enough bandwidth to complete the request without rebuffering."},120)})),this.mainSegmentLoader_.on("reseteverything",(function(){t.tech_.trigger("hls-reset")})),this.mainSegmentLoader_.on("segmenttimemapping",(function(e){t.tech_.trigger({type:"hls-segment-time-mapping",mapping:e.mapping})})),this.audioSegmentLoader_.on("ended",(function(){t.onEndOfStream()}))}},{key:"mediaSecondsLoaded_",value:function(){return Math.max(this.audioSegmentLoader_.mediaSecondsLoaded+this.mainSegmentLoader_.mediaSecondsLoaded)}},{key:"load",value:function(){this.mainSegmentLoader_.load(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.load(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.load()}},{key:"fastQualityChange_",value:function(){var t=this.selectPlaylist();t!==this.masterPlaylistLoader_.media()&&(this.masterPlaylistLoader_.media(t),this.mainSegmentLoader_.resetLoader())}},{key:"play",value:function(){if(!this.setupFirstPlay()){this.tech_.ended()&&this.tech_.setCurrentTime(0),this.hasPlayed_()&&this.load();var t=this.tech_.seekable();return this.tech_.duration()===1/0&&this.tech_.currentTime()<t.start(0)?this.tech_.setCurrentTime(t.end(t.length-1)):void 0}}},{key:"setupFirstPlay",value:function(){var t,e=this,n=this.masterPlaylistLoader_.media();return!(!n||this.tech_.paused()||this.hasPlayed_())&&(n.endList||(n=(t=e.seekable()).length?f.default.browser.IE_VERSION&&"html5"===e.mode_&&0===e.tech_.readyState()?(e.tech_.one("loadedmetadata",(function(){e.trigger("firstplay"),e.tech_.setCurrentTime(t.end(0)),e.hasPlayed_=function(){return!0}})),{v:!1}):(e.trigger("firstplay"),void e.tech_.setCurrentTime(t.end(0))):{v:!1},"object"!=typeof n)?(this.hasPlayed_=function(){return!0},this.load(),!0):n.v)}},{key:"handleSourceOpen_",value:function(){try{this.setupSourceBuffers_()}catch(t){return f.default.log.warn("Failed to create Source Buffers",t),this.mediaSource.endOfStream("decode")}var t;!this.tech_.autoplay()||void 0!==(t=this.tech_.play())&&"function"==typeof t.then&&t.then(null,(function(t){})),this.trigger("sourceopen")}},{key:"onEndOfStream",value:function(){var t=this.mainSegmentLoader_.ended_;(t=this.mediaTypes_.AUDIO.activePlaylistLoader?t&&this.audioSegmentLoader_.ended_:t)&&this.mediaSource.endOfStream()}},{key:"stuckAtPlaylistEnd_",value:function(t){if(!this.seekable().length)return!1;var e=this.syncController_.getExpiredTime(t,this.mediaSource.duration);if(null===e)return!1;var n=S.Playlist.playlistEnd(t,e);t=this.tech_.currentTime(),e=this.tech_.buffered();return e.length?(e=e.end(e.length-1),e-t<=d.default.SAFE_TIME_DELTA&&n-e<=d.default.SAFE_TIME_DELTA):n-t<=d.default.SAFE_TIME_DELTA}},{key:"blacklistCurrentPlaylist",value:function(t,e){var n,i=void 0;i=(t=void 0===t?{}:t).playlist||this.masterPlaylistLoader_.media();if(e=e||t.blacklistDuration||this.blacklistDuration,!i){this.error=t;try{return this.mediaSource.endOfStream("network")}catch(t){return this.trigger("error")}}var r=1===this.masterPlaylistLoader_.master.playlists.filter(c.isEnabled).length;return r?(f.default.log.warn("Problem encountered with the current HLS playlist. Trying again since it is the final playlist."),this.tech_.trigger("retryplaylist"),this.masterPlaylistLoader_.load(r)):(i.excludeUntil=Date.now()+1e3*e,this.tech_.trigger("blacklistplaylist"),this.tech_.trigger({type:"usage",name:"hls-rendition-blacklisted"}),n=this.selectPlaylist(),f.default.log.warn("Problem encountered with the current HLS playlist."+(t.message?" "+t.message:"")+" Switching to another playlist."),this.masterPlaylistLoader_.media(n))}},{key:"pauseLoading",value:function(){this.mainSegmentLoader_.pause(),this.mediaTypes_.AUDIO.activePlaylistLoader&&this.audioSegmentLoader_.pause(),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&this.subtitleSegmentLoader_.pause()}},{key:"setCurrentTime",value:function(t){var e=d.default.findRange(this.tech_.buffered(),t);return this.masterPlaylistLoader_&&this.masterPlaylistLoader_.media()&&this.masterPlaylistLoader_.media().segments?e&&e.length&&"flash"!==this.mode_?t:(this.mainSegmentLoader_.resetEverything(),this.mainSegmentLoader_.abort(),this.mediaTypes_.AUDIO.activePlaylistLoader&&(this.audioSegmentLoader_.resetEverything(),this.audioSegmentLoader_.abort()),this.mediaTypes_.SUBTITLES.activePlaylistLoader&&(this.subtitleSegmentLoader_.resetEverything(),this.subtitleSegmentLoader_.abort()),void this.load()):0}},{key:"duration",value:function(){return this.masterPlaylistLoader_?this.mediaSource?this.mediaSource.duration:S.Playlist.duration(this.masterPlaylistLoader_.media()):0}},{key:"seekable",value:function(){return this.seekable_}},{key:"onSyncInfoUpdate_",value:function(){var t=void 0,e=void 0;if(this.masterPlaylistLoader_){var n=this.masterPlaylistLoader_.media();if(n){var i=this.syncController_.getExpiredTime(n,this.mediaSource.duration);if(null!==i&&0!==(t=S.Playlist.seekable(n,i)).length){if(this.mediaTypes_.AUDIO.activePlaylistLoader){if(n=this.mediaTypes_.AUDIO.activePlaylistLoader.media(),null===(i=this.syncController_.getExpiredTime(n,this.mediaSource.duration)))return;if(0===(e=S.Playlist.seekable(n,i)).length)return}!e||e.start(0)>t.end(0)||t.start(0)>e.end(0)?this.seekable_=t:this.seekable_=f.default.createTimeRanges([[(e.start(0)>t.start(0)?e:t).start(0),(e.end(0)<t.end(0)?e:t).end(0)]]),this.tech_.trigger("seekablechanged")}}}}},{key:"updateDuration",value:function(){function t(){e.mediaSource.duration=i,e.tech_.trigger("durationchange"),e.mediaSource.removeEventListener("sourceopen",t)}var e=this,n=this.mediaSource.duration,i=S.Playlist.duration(this.masterPlaylistLoader_.media()),r=this.tech_.buffered();n!==(i=0<r.length?Math.max(i,r.end(r.length-1)):i)&&("open"!==this.mediaSource.readyState?this.mediaSource.addEventListener("sourceopen",t):t())}},{key:"dispose",value:function(){var t=this;this.decrypter_.terminate(),this.masterPlaylistLoader_.dispose(),this.mainSegmentLoader_.dispose(),["AUDIO","SUBTITLES"].forEach((function(e){var n,i=t.mediaTypes_[e].groups;for(n in i)i[n].forEach((function(t){t.playlistLoader&&t.playlistLoader.dispose()}))})),this.audioSegmentLoader_.dispose(),this.subtitleSegmentLoader_.dispose()}},{key:"master",value:function(){return this.masterPlaylistLoader_.master}},{key:"media",value:function(){return this.masterPlaylistLoader_.media()||this.initialMedia_}},{key:"setupSourceBuffers_",value:function(){var t,e=this.masterPlaylistLoader_.media();if(e&&"open"===this.mediaSource.readyState){if((t=O(this.masterPlaylistLoader_.master,e)).length<1)return this.error="No compatible SourceBuffer configuration for the variant stream:"+e.resolvedUri,this.mediaSource.endOfStream("decode");this.mainSegmentLoader_.mimeType(t[0]),t[1]&&this.audioSegmentLoader_.mimeType(t[1]),this.excludeIncompatibleVariants_(e)}}},{key:"excludeIncompatibleVariants_",value:function(t){var e,n=this.masterPlaylistLoader_.master,i=2,r=null;t.attributes.CODECS&&(e=(0,_.parseCodecs)(t.attributes.CODECS),r=e.videoCodec,i=e.codecCount),n.playlists.forEach((function(t){var e,n={codecCount:2,videoCodec:null};t.attributes.CODECS&&(e=t.attributes.CODECS,n=(0,_.parseCodecs)(e),window.MediaSource&&window.MediaSource.isTypeSupported&&!window.MediaSource.isTypeSupported('video/mp4; codecs="'+s(e)+'"')&&(t.excludeUntil=1/0)),n.codecCount!==i&&(t.excludeUntil=1/0),n.videoCodec!==r&&(t.excludeUntil=1/0)}))}},{key:"updateAdCues_",value:function(t){var e=0,n=this.seekable();n.length&&(e=n.start(0)),p.default.updateAdCues(t,this.cueTagsTrack_,e)}},{key:"goalBufferLength",value:function(){var t=this.tech_.currentTime(),e=b.default.GOAL_BUFFER_LENGTH,n=b.default.GOAL_BUFFER_LENGTH_RATE,i=Math.max(e,b.default.MAX_GOAL_BUFFER_LENGTH);return Math.min(e+t*n,i)}},{key:"bufferLowWaterLine",value:function(){var t=this.tech_.currentTime(),e=b.default.BUFFER_LOW_WATER_LINE,n=b.default.BUFFER_LOW_WATER_LINE_RATE,i=Math.max(e,b.default.MAX_BUFFER_LOW_WATER_LINE);return Math.min(e+t*n,i)}}]),i=A,e.MasterPlaylistController=i},"91ca":function(t,e,n){var i=n("96fb"),r=(n=Math.pow,n(2,-52)),o=n(2,-23),a=n(2,127)*(2-o),s=n(2,-126);t.exports=Math.fround||function(t){var e=Math.abs(t),n=i(t);return e<s?n*(e/s/o+1/r-1/r)*s*o:a<(e=(t=(1+o/r)*e)-(t-e))||e!=e?n*(1/0):n*e}},"922c":function(t,e,n){},9253:function(t,e,n){var i=n("86cc"),r=n("11e9"),o=n("38fd"),a=n("69a8"),s=n("5ca1"),u=n("4630"),c=n("cb7c"),l=n("d3f4");s(s.S,"Reflect",{set:function t(e,n,s){var h,d=arguments.length<4?e:arguments[3],f=r.f(c(e),n);if(!f){if(l(h=o(e)))return t(h,n,s,d);f=u(0)}if(a(f,"value")){if(!1===f.writable||!l(d))return!1;if(h=r.f(d,n)){if(h.get||h.set||!1===h.writable)return!1;h.value=s,i.f(d,n,h)}else i.f(d,n,u(0,s));return!0}return void 0!==f.set&&(f.set.call(d,s),!0)}})},9275:function(t,e,n){var i=n("5ca1"),r=n("8b97");r&&i(i.S,"Reflect",{setPrototypeOf:function(t,e){r.check(t,e);try{return r.set(t,e),!0}catch(t){return!1}}})},9278:function(t,e,n){n=n("5ca1"),n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},"92b0":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}var s,u=a(n("ef34")),c=a(n("3d33")),l=a(n("672d")),h=a(n("e206")),d=n("0de0"),f=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(p,c.default.EventTarget),i(p,[{key:"addSeekableRange_",value:function(){}},{key:"addSourceBuffer",value:function(t){var e=(0,d.parseContentType)(t);t=void 0;if("video/mp2t"!==e.type&&"audio/mp2t"!==e.type)throw new Error("NotSupportedError (Video.js)");return t=new l.default(this),this.sourceBuffers.push(t),t}},{key:"endOfStream",value:function(t){"network"===t?this.tech_.error(2):"decode"===t&&this.tech_.error(3),"ended"!==this.readyState&&(this.readyState="ended",this.swfObj.vjs_endOfStream())}}]),p);function p(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,p),o(Object.getPrototypeOf(p.prototype),"constructor",this).call(this),this.sourceBuffers=[],this.readyState="closed",this.on(["sourceopen","webkitsourceopen"],(function(e){t.swfObj=u.default.getElementById(e.swfId),t.player_=(0,c.default)(t.swfObj.parentNode),t.tech_=t.swfObj.tech,t.readyState="open",t.tech_.on("seeking",(function(){for(var e=t.sourceBuffers.length;e--;)t.sourceBuffers[e].abort()})),t.swfObj&&t.swfObj.vjs_load()}))}e.default=f;try{Object.defineProperty(f.prototype,"duration",{get:function(){return this.swfObj?this.swfObj.vjs_getProperty("duration"):NaN},set:function(t){var e=void 0,n=this.swfObj.vjs_getProperty("duration");if(this.swfObj.vjs_setProperty("duration",t),t<n)for(e=0;e<this.sourceBuffers.length;e++)this.sourceBuffers[e].remove(t,n);return t}})}catch(t){f.prototype.duration=NaN}for(s in h.default)f[s]=h.default[s];t.exports=e.default},"93b0":function(t,e,n){"use strict";n("3cd0"),n("25bb"),n("37ff")},9417:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,n){var i,r=e.player_;if(n.captions&&n.captions.length)for(var o in t.inbandTextTracks_||(t.inbandTextTracks_={}),n.captionStreams)t.inbandTextTracks_[o]||(r.tech_.trigger({type:"usage",name:"hls-608"}),i=r.textTracks().getTrackById(o),t.inbandTextTracks_[o]=i||r.addRemoteTextTrack({kind:"captions",id:o,label:o},!1).track);n.metadata&&n.metadata.length&&!t.metadataTrack_&&(t.metadataTrack_=r.addRemoteTextTrack({kind:"metadata",label:"Timed Metadata"},!1).track,t.metadataTrack_.inBandMetadataTrackDispatchType=n.metadata.dispatchType)},t.exports=e.default},"968a":function(t,e,n){},"96b0":function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return a}));var i=n("90c6");function r(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}function o(t){if(!t)return 0;for(;Object(i.a)(parseInt(t,10));){if(!(1<t.length))return 0;t=t.slice(1)}return parseInt(t,10)}function a(t,e){return 32-new Date(t,e-1,32).getDate()}},"96cf":function(t,e,n){t=function(t){"use strict";var e,n=Object.prototype,i=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(n){u=function(t,e,n){return t[e]=n}}function c(t,n,i,r){var o,a,s,u;n=n&&n.prototype instanceof m?n:m,n=Object.create(n.prototype),r=new C(r||[]);return n._invoke=(o=t,a=i,s=r,u=h,function(t,n){if(u===f)throw new Error("Generator is already running");if(u===p){if("throw"===t)throw n;return x()}for(s.method=t,s.arg=n;;){var i=s.delegate;if(i){var r=function t(n,i){var r=n.iterator[i.method];if(r===e){if(i.delegate=null,"throw"===i.method){if(n.iterator.return&&(i.method="return",i.arg=e,t(n,i),"throw"===i.method))return g;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}r=l(r,n.iterator,i.arg);return"throw"===r.type?(i.method="throw",i.arg=r.arg,i.delegate=null,g):(r=r.arg,r?r.done?(i[n.resultName]=r.value,i.next=n.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,g):r:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g))}(i,s);if(r){if(r===g)continue;return r}}if("next"===s.method)s.sent=s._sent=s.arg;else if("throw"===s.method){if(u===h)throw u=p,s.arg;s.dispatchException(s.arg)}else"return"===s.method&&s.abrupt("return",s.arg);if(u=f,r=l(o,a,s),"normal"===r.type){if(u=s.done?p:d,r.arg!==g)return{value:r.arg,done:s.done}}else"throw"===r.type&&(u=p,s.method="throw",s.arg=r.arg)}}),n}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var h="suspendedStart",d="suspendedYield",f="executing",p="completed",g={};function m(){}function v(){}function y(){}var b={};b[o]=function(){return this},r=Object.getPrototypeOf,r=r&&r(r(E([]))),r&&r!==n&&i.call(r,o)&&(b=r);var _=y.prototype=m.prototype=Object.create(b);function T(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){var n;this._invoke=function(r,o){function a(){return new e((function(n,a){!function n(r,o,a,s){if(r=l(t[r],t,o),"throw"!==r.type){var u=r.arg;return(o=u.value)&&"object"==typeof o&&i.call(o,"__await")?e.resolve(o.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(o).then((function(t){u.value=t,a(u)}),(function(t){return n("throw",t,a,s)}))}s(r.arg)}(r,o,n,a)}))}return n=n?n.then(a,a):a()}}function w(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(w,this),this.reset(!0)}function E(t){if(t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1;n=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return n.next=n}}return{next:x}}function x(){return{value:e,done:!0}}return((v.prototype=_.constructor=y).constructor=v).displayName=u(y,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,s,"GeneratorFunction")),t.prototype=Object.create(_),t},t.awrap=function(t){return{__await:t}},T(S.prototype),S.prototype[a]=function(){return this},t.AsyncIterator=S,t.async=function(e,n,i,r,o){void 0===o&&(o=Promise);var a=new S(c(e,n,i,r),o);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(_),u(_,s,"Generator"),_[o]=function(){return this},_.toString=function(){return"[object Generator]"},t.keys=function(t){var e,n=[];for(e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=E,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(i,r){return s.type="throw",s.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var o=this.tryEntries.length-1;0<=o;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}var a=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc?null:o)?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i,r=n.completion;return"throw"===r.type&&(i=r.arg,k(n)),i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:E(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),g}},t}(t.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},"96fb":function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},9744:function(t,e,n){"use strict";var i=n("4588"),r=n("be13");t.exports=function(t){var e=String(r(this)),n="",o=i(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;0<o;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},9753:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("2464")},9865:function(t,e,n){"use strict";var i=n("5ca1"),r=n("6821"),o=n("4588"),a=n("9def"),s=[].lastIndexOf,u=!!s&&1/[1].lastIndexOf(1,-0)<0;i(i.P+i.F*(u||!n("2f21")(s)),"Array",{lastIndexOf:function(t){if(u)return s.apply(this,arguments)||0;var e=r(this),n=a(e.length),i=n-1;for((i=1<arguments.length?Math.min(i,o(arguments[1])):i)<0&&(i=n+i);0<=i;i--)if(i in e&&e[i]===t)return i||0;return-1}})},9884:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var i=n("db85");function r(t,e){var n=(e=void 0===e?{}:e).indexKey||"index";return{inject:((e={})[t]={default:null},e),computed:((e={parent:function(){return this.disableBindRelation?null:this[t]}})[n]=function(){return this.bindRelation(),this.parent?this.parent.children.indexOf(this):null},e),watch:{disableBindRelation:function(t){t||this.bindRelation()}},mounted:function(){this.bindRelation()},beforeDestroy:function(){var t=this;this.parent&&(this.parent.children=this.parent.children.filter((function(e){return e!==t})))},methods:{bindRelation:function(){var t;this.parent&&-1===this.parent.children.indexOf(this)&&(t=[].concat(this.parent.children,[this]),Object(i.a)(t,this.parent),this.parent.children=t)}}}}function o(t){return{provide:function(){var e={};return e[t]=this,e},data:function(){return{children:[]}}}}},"988d":function(t,e,n){"use strict";function i(t,e){this._r=t,this._s=e}var r=n("5ca1"),o=n("be13"),a=n("9def"),s=n("aae3"),u=n("0bfb"),c=RegExp.prototype;n("41a0")(i,"RegExp String",(function(){var t=this._r.exec(this._s);return{value:t,done:null===t}})),r(r.P,"String",{matchAll:function(t){if(o(this),!s(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in c?String(t.flags):u.call(t);n=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return n.lastIndex=a(t.lastIndex),new i(n,e)}})},"990b":function(t,e,n){var i=n("9093"),r=n("2621"),o=n("cb7c");n=n("7726").Reflect;t.exports=n&&n.ownKeys||function(t){var e=i.f(o(t)),n=r.f;return n?e.concat(n(t)):e}},9946:function(t,e,n){"use strict";function i(t){return t[0]<<21|t[1]<<14|t[2]<<7|t[3]}var r=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];t.exports={parseId3TagSize:function(t,e){var n=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&t[e+5])>>4?20+n:10+n},parseAdtsSize:function(t,e){var n=(224&t[e+5])>>5,i=t[e+4]<<3;return 6144&t[e+3]|i|n},parseType:function(t,e){return t[e]==="I".charCodeAt(0)&&t[e+1]==="D".charCodeAt(0)&&t[e+2]==="3".charCodeAt(0)?"timed-metadata":!0&t[e]&&240==(240&t[e+1])?"audio":null},parseSampleRate:function(t){for(var e=0;e+5<t.length;){if(255===t[e]&&240==(246&t[e+1]))return r[(60&t[e+2])>>>2];e++}return null},parseAacTimestamp:function(t){var e,n=10;64&t[5]&&(n+=4,n+=i(t.subarray(10,14)));do{if((e=i(t.subarray(n+4,n+8)))<1)return null;if("PRIV"===String.fromCharCode(t[n],t[n+1],t[n+2],t[n+3]))for(var r=t.subarray(n+10,n+e+10),o=0;o<r.byteLength;o++)if(0===r[o]){if("com.apple.streaming.transportStreamTimestamp"!==unescape(function(t,e,n){for(var i="",r=e;r<n;r++)i+="%"+("00"+t[r].toString(16)).slice(-2);return i}(r,0,o)))break;var a=r.subarray(o+1),s=(1&a[3])<<30|a[4]<<22|a[5]<<14|a[6]<<6|a[7]>>>2;return s*=4,s+(3&a[7])}}while(n+=10,(n+=e)<t.byteLength);return null}}},"997e":function(t,e,n){},9986:function(t,e,n){var i=n("6821"),r=n("11e9").f;n("5eda")("getOwnPropertyDescriptor",(function(){return function(t,e){return r(i(t),e)}}))},"99c5":function(t,e,n){n("c6a1")("Set")},"9aea":function(t,e,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("preventExtensions",(function(t){return function(e){return t&&i(e)?t(r(e)):e}}))},"9b43":function(t,e,n){var i=n("d8e8");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"9c00":function(t,e,n){n=n("5ca1"),n(n.S,"Math",{iaddh:function(t,e,n,i){return t>>>=0,n>>>=0,(e>>>0)+(i>>>0)+((t&n|(t|n)&~(t+n>>>0))>>>31)|0}})},"9c12":function(t,e,n){var i=n("d3f4"),r=Math.floor;t.exports=function(t){return!i(t)&&isFinite(t)&&r(t)===t}},"9c29":function(t,e,n){n("ec30")("Uint32",4,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},"9c6c":function(t,e,n){var i=n("2b4c")("unscopables"),r=Array.prototype;null==r[i]&&n("32e9")(r,i,{}),t.exports=function(t){r[i][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},"9c86":function(t,e,n){"use strict";n("386b")("big",(function(t){return function(){return t(this,"big","","")}}))},"9d56":function(t,e,n){"use strict";n=n("4329");var i=function(){var t=new Uint8Array,e=0;i.prototype.init.call(this),this.setTimestamp=function(t){e=t},this.parseId3TagSize=function(t,e){var n=t[e+6]<<21|t[e+7]<<14|t[e+8]<<7|t[e+9];return(16&t[e+5])>>4?20+n:10+n},this.parseAdtsSize=function(t,e){var n=(224&t[e+5])>>5,i=t[e+4]<<3;return 6144&t[e+3]|i|n},this.push=function(n){var i,r,o=0,a=0;for(t.length?(r=t.length,(t=new Uint8Array(n.byteLength+r)).set(t.subarray(0,r)),t.set(n,r)):t=n;3<=t.length-a;)if(t[a]!=="I".charCodeAt(0)||t[a+1]!=="D".charCodeAt(0)||t[a+2]!=="3".charCodeAt(0))if(!0&t[a]&&240==(240&t[a+1])){if(t.length-a<7)break;if((o=this.parseAdtsSize(t,a))>t.length)break;i={type:"audio",data:t.subarray(a,a+o),pts:e,dts:e},this.trigger("data",i),a+=o}else a++;else{if(t.length-a<10)break;if((o=this.parseId3TagSize(t,a))>t.length)break;i={type:"timed-metadata",data:t.subarray(a,a+o)},this.trigger("data",i),a+=o}n=t.length-a,t=0<n?t.subarray(a):new Uint8Array}};i.prototype=new n,t.exports=i},"9def":function(t,e,n){var i=n("4588"),r=Math.min;t.exports=function(t){return 0<t?r(i(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"9ec8":function(t,e,n){"use strict";n("386b")("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},"9eda":function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("01f7"),n("7f75")},"9f14":function(t,e,n){"use strict";var i=n("d282"),r=n("0a26");n=Object(i.a)("radio"),i=n[0],n=n[1];e.a=i({mixins:[Object(r.a)({bem:n,role:"radio",parent:"vanRadio"})],computed:{currentValue:{get:function(){return(this.parent||this).value},set:function(t){(this.parent||this).$emit("input",t)}},checked:function(){return this.currentValue===this.name}},methods:{toggle:function(){this.currentValue=this.name}}})},"9f3c":function(t,e,n){var i=n("5ca1");n=n("2d5c");i(i.S+i.F*(n!=Math.expm1),"Math",{expm1:n})},"9f7a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}var s=a(n("be09")),u=a(n("ef34")),c=a(n("3d33")),l=a(n("269f")),h=n("ba2d"),d=n("0de0");(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(f,c.default.EventTarget),i(f,[{key:"addSeekableRange_",value:function(t,e){var n=void 0;if(this.duration!==1/0)throw(n=new Error("MediaSource.addSeekableRange() can only be invoked when the duration is Infinity")).name="InvalidStateError",n.code=11,n;(e>this.nativeMediaSource_.duration||isNaN(this.nativeMediaSource_.duration))&&(this.nativeMediaSource_.duration=e)}},{key:"addSourceBuffer",value:function(t){var e,n=void 0,i=(0,d.parseContentType)(t);return/^(video|audio)\/mp2t$/i.test(i.type)?(e=[],i.parameters&&i.parameters.codecs&&(e=i.parameters.codecs.split(","),e=(e=(0,d.translateLegacyCodecs)(e)).filter((function(t){return(0,d.isAudioCodec)(t)||(0,d.isVideoCodec)(t)}))),0===e.length&&(e=["avc1.4d400d","mp4a.40.2"]),n=new l.default(this,e),0!==this.sourceBuffers.length&&(this.sourceBuffers[0].createRealSourceBuffers_(),n.createRealSourceBuffers_(),this.sourceBuffers[0].audioDisabled_=!0)):n=this.nativeMediaSource_.addSourceBuffer(t),this.sourceBuffers.push(n),n}}]),i=f;function f(){var t=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),o(Object.getPrototypeOf(f.prototype),"constructor",this).call(this);var e=void 0;for(e in this.nativeMediaSource_=new s.default.MediaSource,this.nativeMediaSource_)e in f.prototype||"function"!=typeof this.nativeMediaSource_[e]||(this[e]=this.nativeMediaSource_[e].bind(this.nativeMediaSource_));this.duration_=NaN,Object.defineProperty(this,"duration",{get:function(){return this.duration_===1/0?this.duration_:this.nativeMediaSource_.duration},set:function(t){(this.duration_=t)!==1/0&&(this.nativeMediaSource_.duration=t)}}),Object.defineProperty(this,"seekable",{get:function(){return this.duration_===1/0?c.default.createTimeRanges([[0,this.nativeMediaSource_.duration]]):this.nativeMediaSource_.seekable}}),Object.defineProperty(this,"readyState",{get:function(){return this.nativeMediaSource_.readyState}}),Object.defineProperty(this,"activeSourceBuffers",{get:function(){return this.activeSourceBuffers_}}),this.sourceBuffers=[],this.activeSourceBuffers_=[],this.updateActiveSourceBuffers_=function(){if(t.activeSourceBuffers_.length=0,1===t.sourceBuffers.length){var e=t.sourceBuffers[0];return e.appendAudioInitSegment_=!0,e.audioDisabled_=!e.audioCodec_,void t.activeSourceBuffers_.push(e)}for(var n=!1,i=!0,r=0;r<t.player_.audioTracks().length;r++){var o=t.player_.audioTracks()[r];if(o.enabled&&"main"!==o.kind){i=!(n=!0);break}}t.sourceBuffers.forEach((function(e){if(e.appendAudioInitSegment_=!0,e.videoCodec_&&e.audioCodec_)e.audioDisabled_=n;else if(e.videoCodec_&&!e.audioCodec_)e.audioDisabled_=!0,i=!1;else if(!e.videoCodec_&&e.audioCodec_&&(e.audioDisabled_=i))return;t.activeSourceBuffers_.push(e)}))},this.onPlayerMediachange_=function(){t.sourceBuffers.forEach((function(t){t.appendAudioInitSegment_=!0}))},this.onHlsReset_=function(){t.sourceBuffers.forEach((function(t){t.transmuxer_&&t.transmuxer_.postMessage({action:"resetCaptions"})}))},this.onHlsSegmentTimeMapping_=function(e){t.sourceBuffers.forEach((function(t){return t.timeMapping_=e.mapping}))},["sourceopen","sourceclose","sourceended"].forEach((function(t){this.nativeMediaSource_.addEventListener(t,this.trigger.bind(this))}),this),this.on("sourceopen",(function(e){var n=u.default.querySelector('[src="'+t.url_+'"]');n&&(t.player_=(0,c.default)(n.parentNode),t.player_.tech_.on("hls-reset",t.onHlsReset_),t.player_.tech_.on("hls-segment-time-mapping",t.onHlsSegmentTimeMapping_),t.player_.audioTracks&&t.player_.audioTracks()&&(t.player_.audioTracks().on("change",t.updateActiveSourceBuffers_),t.player_.audioTracks().on("addtrack",t.updateActiveSourceBuffers_),t.player_.audioTracks().on("removetrack",t.updateActiveSourceBuffers_)),t.player_.on("mediachange",t.onPlayerMediachange_))})),this.on("sourceended",(function(e){for(var n=(0,h.durationOfVideo)(t.duration),i=0;i<t.sourceBuffers.length;i++){var r=t.sourceBuffers[i];r=r.metadataTrack_&&r.metadataTrack_.cues;r&&r.length&&(r[r.length-1].endTime=n)}})),this.on("sourceclose",(function(t){this.sourceBuffers.forEach((function(t){t.transmuxer_&&t.transmuxer_.terminate()})),this.sourceBuffers.length=0,this.player_&&(this.player_.audioTracks&&this.player_.audioTracks()&&(this.player_.audioTracks().off("change",this.updateActiveSourceBuffers_),this.player_.audioTracks().off("addtrack",this.updateActiveSourceBuffers_),this.player_.audioTracks().off("removetrack",this.updateActiveSourceBuffers_)),this.player_.el_&&(this.player_.off("mediachange",this.onPlayerMediachange_),this.player_.tech_.off("hls-reset",this.onHlsReset_),this.player_.tech_.off("hls-segment-time-mapping",this.onHlsSegmentTimeMapping_)))}))}e.default=i,t.exports=e.default},"9ffb":function(t,e,n){"use strict";var i=n("d282"),r=n("9884"),o=(n=Object(i.a)("col"),i=n[0],n[1]);e.a=i({mixins:[Object(r.a)("vanRow")],props:{span:[Number,String],offset:[Number,String],tag:{type:String,default:"div"}},computed:{style:function(){var t=this.index,e=(this.parent||{}).spaces;if(e&&e[t])return e=e[t],t=e.left,e=e.right,{paddingLeft:t?t+"px":null,paddingRight:e?e+"px":null}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=this.span,n=this.offset;return(0,arguments[0])(this.tag,{style:this.style,class:o(((t={})[e]=e,t["offset-"+n]=n,t)),on:{click:this.onClick}},[this.slots()])}})},a032:function(t,e,n){"use strict";var i=n("5ca1"),r=n("02f4")(!1);i(i.P,"String",{codePointAt:function(t){return r(this,t)}})},a142:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"h",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"e",(function(){return u})),n.d(e,"f",(function(){return c})),n.d(e,"a",(function(){return l}));e=n("8bbf");var i="undefined"!=typeof window,r=n.n(e).a.prototype.$isServer;function o(){}function a(t){return null!=t}function s(t){return"function"==typeof t}function u(t){return null!==t&&"object"==typeof t}function c(t){return u(t)&&s(t.then)&&s(t.catch)}function l(t,e){e=e.split(".");var n=t;return e.forEach((function(t){n=null!=(t=n[t])?t:""})),n}},a151:function(t,e,n){"use strict";var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}var s=a(n("ef34")),u=a(n("8c57")),c=a(n("d61a")),l=a(n("46af")),h=n("b483"),d=a(n("f24e")),f=n("80eb"),p=a(n("c795")),g=a(n("3d33")),m=n("91c5"),v=a(n("56c8")),y=a(n("e044")),b=a(n("be09")),_=a(n("f631")),T=a(n("140c")),S=(n=n("57db"),{PlaylistLoader:u.default,Playlist:c.default,Decrypter:h.Decrypter,AsyncStream:h.AsyncStream,decrypt:h.decrypt,utils:d.default,STANDARD_PLAYLIST_SELECTOR:n.lastBandwidthSelector,INITIAL_PLAYLIST_SELECTOR:n.lowestBitrateCompatibleVariantSelector,comparePlaylistBandwidth:n.comparePlaylistBandwidth,comparePlaylistResolution:n.comparePlaylistResolution,xhr:(0,l.default)()});function w(t,e){for(var n=e.media(),i=-1,r=0;r<t.length;r++)if(t[r].id===n.uri){i=r;break}t.selectedIndex_=i,t.trigger({selectedIndex:i,type:"change"})}["GOAL_BUFFER_LENGTH","MAX_GOAL_BUFFER_LENGTH","GOAL_BUFFER_LENGTH_RATE","BUFFER_LOW_WATER_LINE","MAX_BUFFER_LOW_WATER_LINE","BUFFER_LOW_WATER_LINE_RATE","BANDWIDTH_VARIANCE"].forEach((function(t){Object.defineProperty(S,t,{get:function(){return g.default.log.warn("using Hls."+t+" is UNSAFE be sure you know what you are doing"),v.default[t]},set:function(e){g.default.log.warn("using Hls."+t+" is UNSAFE be sure you know what you are doing"),"number"!=typeof e||e<0?g.default.log.warn("value of Hls."+t+" must be greater than or equal to 0"):v.default[t]=e}})})),S.canPlaySource=function(){return g.default.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")},S.supportsNativeHls=function(){var t=s.default.createElement("video");return!!g.default.getTech("Html5").isSupported()&&["application/vnd.apple.mpegurl","audio/mpegurl","audio/x-mpegurl","application/x-mpegurl","video/x-mpegurl","video/mpegurl","application/mpegurl"].some((function(e){return/maybe|probably/i.test(t.canPlayType(e))}))}(),S.isSupported=function(){return g.default.log.warn("HLS is no longer a tech. Please remove it from your player's techOrder.")};n=g.default.getComponent("Component");var k=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(C,n),i(C,[{key:"setOptions_",value:function(){var t=this;this.options_.withCredentials=this.options_.withCredentials||!1,"number"!=typeof this.options_.blacklistDuration&&(this.options_.blacklistDuration=300),"number"!=typeof this.options_.bandwidth&&(this.options_.bandwidth=4194304),this.options_.enableLowInitialPlaylist=this.options_.enableLowInitialPlaylist&&4194304===this.options_.bandwidth,["withCredentials","bandwidth","handleManifestRedirects"].forEach((function(e){void 0!==t.source_[e]&&(t.options_[e]=t.source_[e])})),this.bandwidth=this.options_.bandwidth}},{key:"src",value:function(t){var e=this;t&&(this.setOptions_(),this.options_.url=this.source_.src,this.options_.tech=this.tech_,this.options_.externHls=S,this.masterPlaylistController_=new m.MasterPlaylistController(this.options_),this.playbackWatcher_=new _.default(g.default.mergeOptions(this.options_,{seekable:function(){return e.seekable()}})),this.masterPlaylistController_.on("error",(function(){g.default.players[e.tech_.options_.playerId].error(e.masterPlaylistController_.error)})),this.masterPlaylistController_.selectPlaylist=(this.selectPlaylist||S.STANDARD_PLAYLIST_SELECTOR).bind(this),this.masterPlaylistController_.selectInitialPlaylist=S.INITIAL_PLAYLIST_SELECTOR.bind(this),this.playlists=this.masterPlaylistController_.masterPlaylistLoader_,this.mediaSource=this.masterPlaylistController_.mediaSource,Object.defineProperties(this,{selectPlaylist:{get:function(){return this.masterPlaylistController_.selectPlaylist},set:function(t){this.masterPlaylistController_.selectPlaylist=t.bind(this)}},throughput:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.throughput.rate},set:function(t){this.masterPlaylistController_.mainSegmentLoader_.throughput.rate=t,this.masterPlaylistController_.mainSegmentLoader_.throughput.count=1}},bandwidth:{get:function(){return this.masterPlaylistController_.mainSegmentLoader_.bandwidth},set:function(t){this.masterPlaylistController_.mainSegmentLoader_.bandwidth=t,this.masterPlaylistController_.mainSegmentLoader_.throughput={rate:0,count:0}}},systemBandwidth:{get:function(){var t=1/(this.bandwidth||1),e=void 0;e=0<this.throughput?1/this.throughput:0;return Math.floor(1/(t+e))},set:function(){g.default.log.error('The "systemBandwidth" property is read-only')}}}),Object.defineProperties(this.stats,{bandwidth:{get:function(){return e.bandwidth||0},enumerable:!0},mediaRequests:{get:function(){return e.masterPlaylistController_.mediaRequests_()||0},enumerable:!0},mediaRequestsAborted:{get:function(){return e.masterPlaylistController_.mediaRequestsAborted_()||0},enumerable:!0},mediaRequestsTimedout:{get:function(){return e.masterPlaylistController_.mediaRequestsTimedout_()||0},enumerable:!0},mediaRequestsErrored:{get:function(){return e.masterPlaylistController_.mediaRequestsErrored_()||0},enumerable:!0},mediaTransferDuration:{get:function(){return e.masterPlaylistController_.mediaTransferDuration_()||0},enumerable:!0},mediaBytesTransferred:{get:function(){return e.masterPlaylistController_.mediaBytesTransferred_()||0},enumerable:!0},mediaSecondsLoaded:{get:function(){return e.masterPlaylistController_.mediaSecondsLoaded_()||0},enumerable:!0}}),this.tech_.one("canplay",this.masterPlaylistController_.setupFirstPlay.bind(this.masterPlaylistController_)),this.masterPlaylistController_.on("selectedinitialmedia",(function(){(0,y.default)(e)})),this.on(this.masterPlaylistController_,"progress",(function(){this.tech_.trigger("progress")})),this.on(this.masterPlaylistController_,"firstplay",(function(){this.ignoreNextSeekingEvent_=!0})),this.tech_.ready((function(){return e.setupQualityLevels_()})),this.tech_.el()&&this.tech_.src(g.default.URL.createObjectURL(this.masterPlaylistController_.mediaSource)))}},{key:"setupQualityLevels_",value:function(){var t=this,e=g.default.players[this.tech_.options_.playerId];e&&e.qualityLevels&&(this.qualityLevels_=e.qualityLevels(),this.masterPlaylistController_.on("selectedinitialmedia",(function(){var e,n;e=t.qualityLevels_,(n=t).representations().forEach((function(t){e.addQualityLevel(t)})),w(e,n.playlists)})),this.playlists.on("mediachange",(function(){w(t.qualityLevels_,t.playlists)})))}},{key:"play",value:function(){this.masterPlaylistController_.play()}},{key:"setCurrentTime",value:function(t){this.masterPlaylistController_.setCurrentTime(t)}},{key:"duration",value:function(){return this.masterPlaylistController_.duration()}},{key:"seekable",value:function(){return this.masterPlaylistController_.seekable()}},{key:"dispose",value:function(){this.playbackWatcher_&&this.playbackWatcher_.dispose(),this.masterPlaylistController_&&this.masterPlaylistController_.dispose(),this.qualityLevels_&&this.qualityLevels_.dispose(),o(Object.getPrototypeOf(C.prototype),"dispose",this).call(this)}}]),C);function C(t,e,n){var i=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,C),o(Object.getPrototypeOf(C.prototype),"constructor",this).call(this,e,n.hls),e.options_&&e.options_.playerId&&((n=(0,g.default)(e.options_.playerId)).hasOwnProperty("hls")||Object.defineProperty(n,"hls",{get:function(){return g.default.log.warn("player.hls is deprecated. Use player.tech_.hls instead."),e.trigger({type:"usage",name:"hls-player-access"}),i}})),this.tech_=e,this.source_=t,this.stats={},this.ignoreNextSeekingEvent_=!1,this.setOptions_(),this.options_.overrideNative&&(e.featuresNativeVideoTracks||e.featuresNativeAudioTracks))throw new Error("Overriding native HLS requires emulated tracks. See https://git.io/vMpjB");this.on(s.default,["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],(function(t){var e=s.default.fullscreenElement||s.default.webkitFullscreenElement||s.default.mozFullScreenElement||s.default.msFullscreenElement;e&&e.contains(i.tech_.el())&&i.masterPlaylistController_.fastQualityChange_()})),this.on(this.tech_,"seeking",(function(){this.ignoreNextSeekingEvent_?this.ignoreNextSeekingEvent_=!1:this.setCurrentTime(this.tech_.currentTime())})),this.on(this.tech_,"error",(function(){this.masterPlaylistController_&&this.masterPlaylistController_.pauseLoading()})),this.on(this.tech_,"play",this.play)}n=function t(e){return{canHandleSource:function(n){var i=g.default.mergeOptions(g.default.options,arguments.length<=1||void 0===arguments[1]?{}:arguments[1]);return(!i.hls||!i.hls.mode||i.hls.mode===e)&&t.canPlayType(n.type,i)},handleSource:function(t,n){var i=g.default.mergeOptions(g.default.options,arguments.length<=2||void 0===arguments[2]?{}:arguments[2],{hls:{mode:e}});return"flash"===e&&n.setTimeout((function(){n.trigger("loadstart")}),1),n.hls=new k(t,n,i),n.hls.xhr=(0,l.default)(),n.hls.src(t.src),n.hls},canPlayType:function(e){var n=g.default.mergeOptions(g.default.options,arguments.length<=1||void 0===arguments[1]?{}:arguments[1]);return t.canPlayType(e,n)?"maybe":""}}},n.canPlayType=function(t,e){return!(g.default.browser.IE_VERSION&&g.default.browser.IE_VERSION<=10)&&(!(!e.hls.overrideNative&&S.supportsNativeHls)&&/^(audio|video|application)\/(x-|vnd\.apple\.)?mpegurl/i.test(t))},void 0!==g.default.MediaSource&&void 0!==g.default.URL||(g.default.MediaSource=f.MediaSource,g.default.URL=f.URL),i=g.default.getTech("Flash"),f.MediaSource.supportsNativeMediaSources()&&g.default.getTech("Html5").registerSourceHandler(n("html5"),0),b.default.Uint8Array&&i&&i.registerSourceHandler(n("flash")),g.default.HlsHandler=k,g.default.HlsSourceHandler=n,g.default.Hls=S,g.default.use||g.default.registerComponent("Hls",S),g.default.m3u8=p.default,g.default.options.hls=g.default.options.hls||{},g.default.registerPlugin?g.default.registerPlugin("reloadSourceOnError",T.default):g.default.plugin("reloadSourceOnError",T.default),t.exports={Hls:S,HlsHandler:k,HlsSourceHandler:n}},a19f:function(t,e,n){var i=n("5ca1"),r=n("cb7c"),o=Object.preventExtensions;i(i.S,"Reflect",{preventExtensions:function(t){r(t);try{return o&&o(t),!0}catch(t){return!1}}})},a234:function(t,e,n){var i=n("5ca1");i(i.S,"System",{global:n("7726")})},a248:function(t,e,n){},a254:function(t,e,n){"use strict";function i(t){t.onmessage=function(t){var e=t.data,n=new Uint8Array(e.encrypted.bytes,e.encrypted.byteOffset,e.encrypted.byteLength),i=new Uint32Array(e.key.bytes,e.key.byteOffset,e.key.byteLength/4);t=new Uint32Array(e.iv.bytes,e.iv.byteOffset,e.iv.byteLength/4);new s.Decrypter(n,i,t,(function(t,n){a.default.postMessage((0,u.createTransferableMessage)({source:e.source,decrypted:n}),[n.buffer])}))}}Object.defineProperty(e,"__esModule",{value:!0});var r,o=n("be09"),a=(r=o)&&r.__esModule?r:{default:r},s=n("b483"),u=n("f24e");e.default=function(t){return new i(t)},t.exports=e.default},a25f:function(t,e,n){n=n("7726").navigator,t.exports=n&&n.userAgent||""},a3e2:function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ba31")),a=n("ad06"),s=(n=Object(i.a)("tag"),i=n[0],n[1]);function u(t,e,n,i){var u=e.type,c=e.mark,l=e.plain,h=e.color,d=e.round,f=e.size,p=e.textColor,g=((g={})[l?"color":"backgroundColor"]=h,g);return l?(g.color=p||h,g.borderColor=h):(g.color=p,g.background=h),d={mark:c,plain:l,round:d},f&&(d[f]=f),f=e.closeable&&t(a.a,{attrs:{name:"cross"},class:s("close"),on:{click:function(t){t.stopPropagation(),Object(o.a)(i,"close")}}}),t("transition",{attrs:{name:e.closeable?"van-fade":null}},[t("span",r()([{key:"content",style:g,class:s([d,u])},Object(o.b)(i,!0)]),[null==n.default?void 0:n.default(),f])])}u.props={size:String,mark:Boolean,color:String,plain:Boolean,round:Boolean,textColor:String,closeable:Boolean,type:{type:String,default:"default"}},e.a=i(u)},a481:function(t,e,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),u=n("5f1b"),c=Math.max,l=Math.min,h=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g;n("214f")("replace",2,(function(t,e,n,p){return[function(i,r){var o=t(this),a=null==i?void 0:i[e];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(t,e){var g=p(n,t,this,e);if(g.done)return g.value;var m=i(t),v=String(this),y="function"==typeof e;y||(e=String(e));var b,_=m.global;_&&(b=m.unicode,m.lastIndex=0);for(var T=[];;){var S=u(m,v);if(null===S)break;if(T.push(S),!_)break;""===String(S[0])&&(m.lastIndex=s(v,o(m.lastIndex),b))}for(var w,k="",C=0,E=0;E<T.length;E++){S=T[E];for(var x=String(S[0]),O=c(l(a(S.index),v.length),0),A=[],P=1;P<S.length;P++)A.push(void 0===(w=S[P])?w:String(w));var j,I=S.groups;I=y?(j=[x].concat(A,O,v),void 0!==I&&j.push(I),String(e.apply(void 0,j))):function(t,e,i,o,a,s){var u=i+t.length,c=o.length,l=f;return void 0!==a&&(a=r(a),l=d),n.call(s,l,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(u);case"<":s=a[r.slice(1,-1)];break;default:var l=+r;if(0==l)return n;if(c<l){var d=h(l/10);return 0===d?n:d<=c?void 0===o[d-1]?r.charAt(1):o[d-1]+r.charAt(1):n}s=o[l-1]}return void 0===s?"":s}))}(x,v,O,A,I,e);C<=O&&(k+=v.slice(C,O)+I,C=O+x.length)}return k+v.slice(C)}]}))},a5b8:function(t,e,n){"use strict";var i=n("d8e8");function r(t){var e,n;this.promise=new t((function(t,i){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=i})),this.resolve=i(e),this.reject=i(n)}t.exports.f=function(t){return new r(t)}},a64c:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t){return t&&t.__esModule?t:{default:t}}var a=o(n("be09")),s=o(n("6d5a")),u=(i(c,[{key:"init",value:function(){var t;this.transmuxer&&this.transmuxer.dispose(),this.transmuxer=new s.default.Transmuxer(this.options),(t=this.transmuxer).on("data",(function(t){a.default.postMessage({action:"data",segment:t})})),t.on("done",(function(t){a.default.postMessage({action:"done"})}))}},{key:"push",value:function(t){t=new Uint8Array(t.data,t.byteOffset,t.byteLength),this.transmuxer.push(t)}},{key:"reset",value:function(){this.init()}},{key:"flush",value:function(){this.transmuxer.flush()}},{key:"resetCaptions",value:function(){this.transmuxer.resetCaptions()}}]),c);function c(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),this.options=t||{},this.init()}function l(t){t.onmessage=function(t){"init"===t.data.action&&t.data.options?this.messageHandlers=new u(t.data.options):(this.messageHandlers||(this.messageHandlers=new u),t.data&&t.data.action&&"init"!==t.data.action&&this.messageHandlers[t.data.action]&&this.messageHandlers[t.data.action](t.data))}}e.default=function(t){return new l(t)},t.exports=e.default},a69f:function(t,e,n){n=n("5ca1"),n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},a789:function(t,e,n){"use strict";n("3cd0"),n("ac65")},a78e:function(t,e,n){var i,r;
  20. /*!
  21. * JavaScript Cookie v2.2.1
  22. * https://github.com/js-cookie/js-cookie
  23. *
  24. * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
  25. * Released under the MIT license
  26. */void 0===(i="function"==typeof(i=r=function(){function t(){for(var t=0,e={};t<arguments.length;t++){var n,i=arguments[t];for(n in i)e[n]=i[n]}return e}function e(t){return t.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(i){function r(){}function o(e,n,o){if("undefined"!=typeof document){"number"==typeof(o=t({path:"/"},r.defaults,o)).expires&&(o.expires=new Date(+new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=i.write?i.write(n,e):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s,u="";for(s in o)o[s]&&(u+="; "+s,!0!==o[s]&&(u+="="+o[s].split(";")[0]));return document.cookie=e+"="+n+u}}function a(t,n){if("undefined"!=typeof document){for(var r={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),u=s.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var c=e(s[0]);u=(i.read||i)(u,c)||e(u);if(n)try{u=JSON.parse(u)}catch(t){}if(r[c]=u,t===c)break}catch(t){}}return t?r[t]:r}}return r.set=o,r.get=function(t){return a(t,!1)},r.getJSON=function(t){return a(t,!0)},r.remove=function(e,n){o(e,"",t(n,{expires:-1}))},r.defaults={},r.withConverter=n,r}((function(){}))})?i.call(e,n,e,t):i)||(t.exports=i),t.exports=r()},a8c1:function(t,e,n){"use strict";function i(t){return t===window}n.d(e,"d",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"h",(function(){return s})),n.d(e,"b",(function(){return u})),n.d(e,"g",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return d}));var r=/scroll|auto/i;function o(t,e){void 0===e&&(e=window);for(var n=t;n&&"HTML"!==n.tagName&&"BODY"!==n.tagName&&1===n.nodeType&&n!==e;){var i=window.getComputedStyle(n).overflowY;if(r.test(i))return n;n=n.parentNode}return e}function a(t){return t="scrollTop"in t?t.scrollTop:t.pageYOffset,Math.max(t,0)}function s(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)}function u(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function c(t){s(window,t),s(document.body,t)}function l(t,e){return i(t)?0:(e=e?a(e):u(),t.getBoundingClientRect().top+e)}function h(t){return i(t)?t.innerHeight:t.getBoundingClientRect().height}function d(t){return i(t)?0:t.getBoundingClientRect().top}},a9cc:function(t,e,n){"use strict";var i=n("5ca1"),r=n("a5b8"),o=n("9c80");i(i.S,"Promise",{try:function(t){var e=r.f(this);t=o(t);return(t.e?e.reject:e.resolve)(t.v),e.promise}})},aa77:function(t,e,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),a=n("fdef"),s=(n="["+a+"]",RegExp("^"+n+n+"*")),u=RegExp(n+n+"*$"),c=(n=function(t,e,n){var r={},s=o((function(){return!!a[t]()||"​…"!="​…"[t]()}));e=r[t]=s?e(c):a[t];n&&(r[n]=e),i(i.P+i.F*s,"String",r)},n.trim=function(t,e){return t=String(r(t)),1&e&&(t=t.replace(s,"")),2&e?t.replace(u,""):t});t.exports=n},aae3:function(t,e,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return i(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},ab2c:function(t,e,n){"use strict";var i=n("c31d"),r=n("2638"),o=n.n(r),a=n("8bbf"),s=n.n(a),u=(r=n("d282"),n("ba31")),c=(a=n("6605"),n("ad06")),l=n("e41f"),h=n("543e"),d=(n=Object(r.a)("action-sheet"),r=n[0],n[1]);function f(t,e,n,i){var r=e.title,a=e.cancelText,f=e.closeable;function p(){Object(u.a)(i,"input",!1),Object(u.a)(i,"cancel")}return t(l.a,o()([{class:d(),attrs:{position:"bottom",round:e.round,value:e.value,overlay:e.overlay,duration:e.duration,lazyRender:e.lazyRender,lockScroll:e.lockScroll,getContainer:e.getContainer,closeOnPopstate:e.closeOnPopstate,closeOnClickOverlay:e.closeOnClickOverlay,safeAreaInsetBottom:e.safeAreaInsetBottom}},Object(u.b)(i,!0)]),[function(){if(r)return t("div",{class:d("header")},[r,f&&t(c.a,{attrs:{name:e.closeIcon},class:d("close"),on:{click:p}})])}(),function(){var i=(null==n.description?void 0:n.description())||e.description;if(i)return t("div",{class:d("description")},[i])}(),t("div",{class:d("content")},[e.actions&&e.actions.map((function(n,r){var o=n.disabled,a=n.loading,c=n.callback;return t("button",{attrs:{type:"button"},class:[d("item",{disabled:o,loading:a}),n.className],style:{color:n.color},on:{click:function(t){t.stopPropagation(),o||a||(c&&c(n),e.closeOnClickAction&&Object(u.a)(i,"input",!1),s.a.nextTick((function(){Object(u.a)(i,"select",n,r)})))}}},[a?t(h.a,{class:d("loading-icon")}):[t("span",{class:d("name")},[n.name]),n.subname&&t("div",{class:d("subname")},[n.subname])]])})),null==n.default?void 0:n.default()]),function(){if(a)return[t("div",{class:d("gap")}),t("button",{attrs:{type:"button"},class:d("cancel"),on:{click:p}},[a])]}()])}f.props=Object(i.a)({},a.b,{title:String,actions:Array,duration:[Number,String],cancelText:String,description:String,getContainer:[String,Function],closeOnPopstate:Boolean,closeOnClickAction:Boolean,round:{type:Boolean,default:!0},closeable:{type:Boolean,default:!0},closeIcon:{type:String,default:"cross"},safeAreaInsetBottom:{type:Boolean,default:!0},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}}),e.a=r(f)},ab6f:function(t,e,n){},abd7:function(t,e){t.exports=function(t,e){var n=e===Object(e)?function(t){return e[t]}:e;return function(e){return String(e).replace(t,n)}}},ac4d:function(t,e,n){n("3a72")("asyncIterator")},ac65:function(t,e,n){},ac6a:function(t,e,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),u=n("84f2"),c=(n=n("2b4c"),n("iterator")),l=n("toStringTag"),h=u.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(d),p=0;p<f.length;p++){var g,m=f[p],v=d[m],y=a[m],b=y&&y.prototype;if(b&&(b[c]||s(b,c,h),b[l]||s(b,l,m),u[m]=h,v))for(g in i)b[g]||o(b,g,i[g],!0)}},acc2:function(t,e,n){},acc4:function(t,e,n){},ad06:function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ea8e")),a=n("ba31"),s=n("6f2f"),u=(n=Object(i.a)("icon"),i=n[0],n[1]),c={medel:"medal","medel-o":"medal-o","calender-o":"calendar-o"};function l(t,e,n,i){var l=(h=e.name)&&c[h]||h,h=!!(h=l)&&-1!==h.indexOf("/");return t(e.tag,r()([{class:[e.classPrefix,h?"":e.classPrefix+"-"+l],style:{color:e.color,fontSize:Object(o.a)(e.size)}},Object(a.b)(i,!0)]),[n.default&&n.default(),h&&t("img",{class:u("image"),attrs:{src:l}}),t(s.a,{attrs:{dot:e.dot,info:null!=(t=e.badge)?t:e.info}})])}l.props={dot:Boolean,name:String,size:[Number,String],info:[Number,String],badge:[Number,String],color:String,tag:{type:String,default:"i"},classPrefix:{type:String,default:u()}},e.a=i(l)},ae3a:function(t,e,n){},ae54:function(t,e,n){"use strict";t.exports=function(){var t=this;this.list=[],this.push=function(t){this.list.push({bytes:t.bytes,dts:t.dts,pts:t.pts,keyFrame:t.keyFrame,metaDataTag:t.metaDataTag})},Object.defineProperty(this,"length",{get:function(){return t.list.length}})}},ae75:function(t,e,n){"use strict";t.exports={H264_STREAM_TYPE:27,ADTS_STREAM_TYPE:15,METADATA_STREAM_TYPE:21}},aef6:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),a="endsWith",s=""[a];i(i.P+i.F*n("5147")(a),"String",{endsWith:function(t){var e=o(this,t,a),n=1<arguments.length?arguments[1]:void 0,i=r(e.length);i=void 0===n?i:Math.min(r(n),i),t=String(t);return s?s.call(e,t,i):e.slice(i-t.length,i)===t}})},af56:function(t,e,n){n("ec30")("Uint16",2,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},b03c:function(t,e){var n={"":!0,lr:!0,rl:!0},i={start:!0,middle:!0,end:!0,left:!0,right:!0};function r(t){return"string"==typeof t&&!!i[t.toLowerCase()]&&t.toLowerCase()}function o(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)t[n]=i[n]}return t}function a(t,e,i){var a=this,s=/MSIE\s8\.0/.test(navigator.userAgent),u={};s?a=document.createElement("custom"):u.enumerable=!0,a.hasBeenReset=!1;var c="",l=!1,h=t,d=e,f=i,p=null,g="",m=!0,v="auto",y="start",b=50,_="middle",T=50,S="middle";if(Object.defineProperty(a,"id",o({},u,{get:function(){return c},set:function(t){c=""+t}})),Object.defineProperty(a,"pauseOnExit",o({},u,{get:function(){return l},set:function(t){l=!!t}})),Object.defineProperty(a,"startTime",o({},u,{get:function(){return h},set:function(t){if("number"!=typeof t)throw new TypeError("Start time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"endTime",o({},u,{get:function(){return d},set:function(t){if("number"!=typeof t)throw new TypeError("End time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"text",o({},u,{get:function(){return f},set:function(t){f=""+t,this.hasBeenReset=!0}})),Object.defineProperty(a,"region",o({},u,{get:function(){return p},set:function(t){p=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"vertical",o({},u,{get:function(){return g},set:function(t){if(t="string"==typeof(t=t)&&!!n[t.toLowerCase()]&&t.toLowerCase(),!1===t)throw new SyntaxError("An invalid or illegal string was specified.");g=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"snapToLines",o({},u,{get:function(){return m},set:function(t){m=!!t,this.hasBeenReset=!0}})),Object.defineProperty(a,"line",o({},u,{get:function(){return v},set:function(t){if("number"!=typeof t&&"auto"!==t)throw new SyntaxError("An invalid number or illegal string was specified.");v=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"lineAlign",o({},u,{get:function(){return y},set:function(t){if(t=r(t),!t)throw new SyntaxError("An invalid or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"position",o({},u,{get:function(){return b},set:function(t){if(t<0||100<t)throw new Error("Position must be between 0 and 100.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"positionAlign",o({},u,{get:function(){return _},set:function(t){if(t=r(t),!t)throw new SyntaxError("An invalid or illegal string was specified.");_=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"size",o({},u,{get:function(){return T},set:function(t){if(t<0||100<t)throw new Error("Size must be between 0 and 100.");T=t,this.hasBeenReset=!0}})),Object.defineProperty(a,"align",o({},u,{get:function(){return S},set:function(t){if(t=r(t),!t)throw new SyntaxError("An invalid or illegal string was specified.");S=t,this.hasBeenReset=!0}})),a.displayState=void 0,s)return a}a.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=a},b046:function(t,e,n){"use strict";var i=n("d7ba");t.exports=function(t,e,n){var r,o=new Uint8Array(9),a=new DataView(o.buffer);return t=t||0,e=void 0===e||e,n=void 0===n||n,a.setUint8(0,70),a.setUint8(1,76),a.setUint8(2,86),a.setUint8(3,1),a.setUint8(4,(e?4:0)|(n?1:0)),a.setUint32(5,o.byteLength),t<=0?((r=new Uint8Array(o.byteLength+4)).set(o),r.set([0,0,0,0],o.byteLength)):((n=new i(i.METADATA_TAG)).pts=n.dts=0,n.writeMetaDataDouble("duration",t),n=n.finalize().length,(r=new Uint8Array(o.byteLength+n)).set(o),r.set(a.byteLength,n)),r}},b05c:function(t,e,n){n("ec30")("Int8",1,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},b0c5:function(t,e,n){"use strict";var i=n("520a");n("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},b1b1:function(t,e,n){var i=n("5ca1"),r=n("9c12"),o=Math.abs;i(i.S,"Number",{isSafeInteger:function(t){return r(t)&&o(t)<=9007199254740991}})},b1d2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"e",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return a})),n.d(e,"d",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return c}));var i="van-hairline",r=i+"--top",o=i+"--left",a=i+"--bottom",s=i+"--surround",u=i+"--top-bottom",c=i+"-unset--top-bottom"},b204:function(t,e,n){"use strict";n("3cd0"),n("922c")},b342:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2")},b39a:function(t,e,n){var i=n("d3f4");t.exports=function(t,e){if(!i(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},b483:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=n("31ce"),o=n("8890");n=(i=o)&&i.__esModule?i:{default:i};e.default={decrypt:r.decrypt,Decrypter:r.Decrypter,AsyncStream:n.default},t.exports=e.default},b4c2:function(t,e,n){n=n("5ca1"),n(n.S,"Math",{imulh:function(t,e){var n=+t,i=+e;t=65535&n,e=65535&i,n>>=16,i>>=16,e=(n*e>>>0)+(t*e>>>16);return n*i+(e>>16)+((t*i>>>0)+(65535&e)>>16)}})},b54a:function(t,e,n){"use strict";n("386b")("link",(function(t){return function(e){return t(this,"a","href",e)}}))},b650:function(t,e,n){"use strict";var i=n("c31d"),r=n("2638"),o=n.n(r),a=(r=n("d282"),n("ba31")),s=n("b1d2"),u=n("48f4"),c=n("ad06"),l=n("543e"),h=(n=Object(r.a)("button"),r=n[0],n[1]);function d(t,e,n,i){var r=e.tag,d=e.icon,f=e.type,p=e.color,g=e.plain,m=e.disabled,v=e.loading,y=e.hairline,b=e.loadingText,_=e.iconPosition,T={};p&&(T.color=g?p:"white",g||(T.background=p),-1!==p.indexOf("gradient")?T.border=0:T.borderColor=p);var S,w;g=[h([f,e.size,{plain:g,loading:v,disabled:m,hairline:y,block:e.block,round:e.round,square:e.square}]),((g={})[s.d]=y,g)];function k(){return v?n.loading?n.loading():t(l.a,{class:h("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):n.icon?t("div",{class:h("icon")},[n.icon()]):d?t(c.a,{attrs:{name:d,classPrefix:e.iconPrefix},class:h("icon")}):void 0}return t(r,o()([{style:T,class:g,attrs:{type:e.nativeType,disabled:m},on:{click:function(t){e.loading&&t.preventDefault(),v||m||(Object(a.a)(i,"click",t),Object(u.a)(i))},touchstart:function(t){Object(a.a)(i,"touchstart",t)}}},Object(a.b)(i)]),[t("div",{class:h("content")},[(w=[],"left"===_&&w.push(k()),(S=v?b:n.default?n.default():e.text)&&w.push(t("span",{class:h("text")},[S])),"right"===_&&w.push(k()),w)])])}d.props=Object(i.a)({},u.c,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}}),e.a=r(d)},b6e4:function(t,e,n){n("ec30")("Int32",4,(function(t){return function(e,n,i){return t(this,e,n,i)}}))},b72c:function(t,e,n){var i=n("5ca1");n=n("d752");i(i.G+i.F*(parseFloat!=n),{parseFloat:n})},b80b:function(t,e,n){var i=n("4f7f"),r=n("4379"),o=n("37a7"),a=n("cb7c"),s=n("38fd"),u=o.keys,c=o.key,l=function(t,e){var n=u(t,e);t=s(t);return null===t?n:(e=l(t,e),e.length?n.length?r(new i(n.concat(e))):e:n)};o.exp({getMetadataKeys:function(t){return l(a(t),arguments.length<2?void 0:c(arguments[1]))}})},b9a1:function(t,e,n){"use strict";var i=n("5ca1"),r=n("4bf8"),o=n("6a99"),a=n("38fd"),s=n("11e9").f;n("9e1e")&&i(i.P+n("c5b4"),"Object",{__lookupGetter__:function(t){var e,n=r(this),i=o(t,!0);do{if(e=s(n,i))return e.get}while(n=a(n))}})},ba16:function(t,e,n){var i=n("5ca1"),r=n("11e9").f,o=n("cb7c");i(i.S,"Reflect",{deleteProperty:function(t,e){var n=r(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},ba2d:function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t){return isNaN(t)||Math.abs(t)===1/0?Number.MAX_VALUE:t}Object.defineProperty(e,"__esModule",{value:!0});var o=i(n("be09")),a=i(n("3d33"));e.default={addTextTrackData:function(t,e,n){var i,s=o.default.WebKitDataCue||o.default.VTTCue;e&&e.forEach((function(t){var e=t.stream;this.inbandTextTracks_[e].addCue(new s(t.startTime+this.timestampOffset,t.endTime+this.timestampOffset,t.text))}),t),n&&(i=r(t.mediaSource_.duration),n.forEach((function(t){var e=t.cueTime+this.timestampOffset;t.frames.forEach((function(t){var n,i=new s(e,e,t.value||t.url||t.data||"");i.frame=t,i.value=t,n=i,Object.defineProperties(n.frame,{id:{get:function(){return a.default.log.warn("cue.frame.id is deprecated. Use cue.value.key instead."),n.value.key}},value:{get:function(){return a.default.log.warn("cue.frame.value is deprecated. Use cue.value.data instead."),n.value.data}},privateData:{get:function(){return a.default.log.warn("cue.frame.privateData is deprecated. Use cue.value.data instead."),n.value.data}}}),this.metadataTrack_.addCue(i)}),this)}),t),t.metadataTrack_&&t.metadataTrack_.cues&&t.metadataTrack_.cues.length&&function(){for(var e=t.metadataTrack_.cues,n=[],r=0;r<e.length;r++)e[r]&&n.push(e[r]);var o=n.reduce((function(t,e){var n=t[e.startTime]||[];return n.push(e),t[e.startTime]=n,t}),{}),a=Object.keys(o).sort((function(t,e){return Number(t)-Number(e)}));a.forEach((function(t,e){t=o[t];var n=Number(a[e+1])||i;t.forEach((function(t){t.endTime=n}))}))}())},durationOfVideo:r},t.exports=e.default},ba31:function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return u})),n.d(e,"c",(function(){return c}));var i=n("c31d"),r=(e=n("8bbf"),n.n(e)),o=["ref","key","style","class","attrs","refInFor","nativeOn","directives","staticClass","staticStyle"],a={nativeOn:"on"};function s(t,e){var n=o.reduce((function(e,n){return t.data[n]&&(e[a[n]||n]=t.data[n]),e}),{});return e&&(n.on=n.on||{},Object(i.a)(n.on,t.data.on)),n}function u(t,e){for(var n=arguments.length,i=new Array(2<n?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];e=t.listeners[e],e&&(Array.isArray(e)?e.forEach((function(t){t.apply(void 0,i)})):e.apply(void 0,i))}function c(t,e){var n=new r.a({el:document.createElement("div"),props:t.props,render:function(n){return n(t,Object(i.a)({props:this.$props},e))}});return document.body.appendChild(n.$el),n}},ba92:function(t,e,n){"use strict";var i=n("4bf8"),r=n("77f1"),o=n("9def");t.exports=[].copyWithin||function(t,e){var n=i(this),a=o(n.length),s=r(t,a),u=r(e,a),c=(e=2<arguments.length?arguments[2]:void 0,Math.min((void 0===e?a:r(e,a))-u,a-s)),l=1;for(u<s&&s<u+c&&(l=-1,u+=c-1,s+=c-1);0<c--;)u in n?n[s]=n[u]:delete n[s],s+=l,u+=l;return n}},bad1:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n("90c6");function r(t){return"[object Date]"===Object.prototype.toString.call(t)&&!Object(i.a)(t.getTime())}},bb55:function(t,e,n){},bcaa:function(t,e,n){var i=n("cb7c"),r=n("d3f4"),o=n("a5b8");t.exports=function(t,e){return i(t),r(e)&&e.constructor===t?e:(t=o.f(t),(0,t.resolve)(e),t.promise)}},bdd1:function(t,e,n){n("c6a1")("WeakSet")},be09:function(t,e,n){(function(e){e="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=e}).call(this,n("c8ba"))},be13:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},bef9:function(t,e,n){var i=n("2d95");t.exports=function(t,e){if("number"!=typeof t&&"Number"!=i(t))throw TypeError(e);return+t}},bf24:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("5cc2")},c02b:function(t,e,n){"use strict";var i=n("643e"),r=n("b39a");n("e0b8")("WeakSet",(function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}}),{add:function(t){return i.def(r(this,"WeakSet"),t,!0)}},i,!1,!0)},c26b:function(t,e,n){"use strict";function i(t,e){var n,i=p(e);if("F"!==i)return t._i[i];for(n=t._f;n;n=n.n)if(n.k==e)return n}var r=n("86cc").f,o=n("2aeb"),a=n("dcbc"),s=n("9b43"),u=n("f605"),c=n("4a59"),l=n("01f9"),h=n("d53b"),d=n("7a56"),f=n("9e1e"),p=n("67ab").fastKey,g=n("b39a"),m=f?"_s":"size";t.exports={getConstructor:function(t,e,n,l){var h=t((function(t,i){u(t,h,e,"_i"),t._t=e,t._i=o(null),t._f=void 0,t._l=void 0,t[m]=0,null!=i&&c(i,n,t[l],t)}));return a(h.prototype,{clear:function(){for(var t=g(this,e),n=t._i,i=t._f;i;i=i.n)i.r=!0,i.p&&(i.p=i.p.n=void 0),delete n[i.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var n,r=g(this,e),o=i(r,t);return o&&(n=o.n,t=o.p,delete r._i[o.i],o.r=!0,t&&(t.n=n),n&&(n.p=t),r._f==o&&(r._f=n),r._l==o&&(r._l=t),r[m]--),!!o},forEach:function(t){g(this,e);for(var n,i=s(t,1<arguments.length?arguments[1]:void 0,3);n=n?n.n:this._f;)for(i(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!i(g(this,e),t)}}),f&&r(h.prototype,"size",{get:function(){return g(this,e)[m]}}),h},def:function(t,e,n){var r,o=i(t,e);return o?o.v=n:(t._l=o={i:r=p(e,!0),k:e,v:n,p:n=t._l,n:void 0,r:!1},t._f||(t._f=o),n&&(n.n=o),t[m]++,"F"!==r&&(t._i[r]=o)),t},getEntry:i,setStrong:function(t,e,n){l(t,e,(function(t,n){this._t=g(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?h(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,h(1))}),n?"entries":"values",!n,!0),d(e)}}},c31d:function(t,e,n){"use strict";function i(){return(i=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t}).apply(this,arguments)}n.d(e,"a",(function(){return i}))},c366:function(t,e,n){var i=n("6821"),r=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,a){var s,u=i(e),c=r(u.length),l=o(a,c);if(t&&n!=n){for(;l<c;)if((s=u[l++])!=s)return!0}else for(;l<c;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}}},c41f:function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ea8e")),a=n("ba31"),s=n("b1d2"),u=(n=Object(i.a)("password-input"),i=n[0],n[1]);function c(t,e,n,i){for(var c=e.mask,l=e.value,h=e.length,d=e.gutter,f=e.focused,p=e.errorInfo,g=p||e.info,m=[],v=0;v<h;v++){var y,b=l[v],_=0!==v&&!d,T=f&&v===l.length,S=void 0;0!==v&&d&&(S={marginLeft:Object(o.a)(d)}),m.push(t("li",{class:[((y={})[s.c]=_,y),u("item",{focus:T})],style:S},[c?t("i",{style:{visibility:b?"visible":"hidden"}}):b,T&&t("div",{class:u("cursor")})]))}return t("div",{class:u()},[t("ul",r()([{class:[u("security"),((e={})[s.d]=!d,e)],on:{touchstart:function(t){t.stopPropagation(),Object(a.a)(i,"focus",t)}}},Object(a.b)(i,!0)]),[m]),g&&t("div",{class:u(p?"error-info":"info")},[g])])}c.props={info:String,gutter:[Number,String],focused:Boolean,errorInfo:String,mask:{type:Boolean,default:!0},value:{type:String,default:""},length:{type:[Number,String],default:6}},e.a=i(c)},c45f:function(t,e,n){"use strict";var i=n("1169"),r=n("d3f4"),o=n("9def"),a=n("9b43"),s=n("2b4c")("isConcatSpreadable");t.exports=function t(e,n,u,c,l,h,d,f){for(var p,g,m=l,v=0,y=!!d&&a(d,f,3);v<c;){if(v in u){if(p=y?y(u[v],v,n):u[v],g=!1,(g=r(p)?void 0!==(g=p[s])?!!g:i(p):g)&&0<h)m=t(e,n,p,o(p.length),m,h-1)-1;else{if(9007199254740991<=m)throw TypeError();e[m]=p}m++}v++}return m}},c5b4:function(t,e,n){"use strict";t.exports=n("2d00")||!n("79e5")((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete n("7726")[t]}))},c5f6:function(t,e,n){"use strict";function i(t){if("string"==typeof(e=u(t,!1))&&2<e.length){var e,n,i,r=(e=y?e.trim():f(e,3)).charCodeAt(0);if(43===r||45===r){if(88===(t=e.charCodeAt(2))||120===t)return NaN}else if(48===r){switch(e.charCodeAt(1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+e}for(var o,a=e.slice(2),s=0,c=a.length;s<c;s++)if((o=a.charCodeAt(s))<48||i<o)return NaN;return parseInt(a,n)}}return+e}var r=n("7726"),o=n("69a8"),a=n("2d95"),s=n("5dbc"),u=n("6a99"),c=n("79e5"),l=n("9093").f,h=n("11e9").f,d=n("86cc").f,f=n("aa77").trim,p="Number",g=_=r[p],m=_.prototype,v=a(n("2aeb")(m))==p,y="trim"in String.prototype;if(!_(" 0o1")||!_("0b1")||_("+0x1")){for(var b,_=function(t){t=arguments.length<1?0:t;var e=this;return e instanceof _&&(v?c((function(){m.valueOf.call(e)})):a(e)!=p)?s(new g(i(t)),e,_):i(t)},T=n("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;T.length>S;S++)o(g,b=T[S])&&!o(_,b)&&d(_,b,h(g,b));(_.prototype=m).constructor=_,n("2aba")(r,p,_)}},c625:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("25bb"),n("968a")},c66f:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0f88"),o=n("ed0b"),a=n("cb7c"),s=n("77f1"),u=n("9def"),c=n("d3f4"),l=n("7726").ArrayBuffer,h=n("ebd6"),d=o.ArrayBuffer,f=o.DataView,p=r.ABV&&l.isView,g=d.prototype.slice,m=r.VIEW;o="ArrayBuffer";i(i.G+i.W+i.F*(l!==d),{ArrayBuffer:d}),i(i.S+i.F*!r.CONSTR,o,{isView:function(t){return p&&p(t)||c(t)&&m in t}}),i(i.P+i.U+i.F*n("79e5")((function(){return!new d(2).slice(1,void 0).byteLength})),o,{slice:function(t,e){if(void 0!==g&&void 0===e)return g.call(a(this),t);for(var n=a(this).byteLength,i=s(t,n),r=s(void 0===e?n:e,n),o=(n=new(h(this,d))(u(r-i)),new f(this)),c=new f(n),l=0;i<r;)c.setUint8(l++,o.getUint8(i++));return n}}),n("7a56")(o)},c698:function(t,e,n){var i=n("5ca1");i(i.S,"Reflect",{ownKeys:n("990b")})},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c6a1:function(t,e,n){"use strict";var i=n("5ca1");t.exports=function(t){i(i.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},c775:function(t,e,n){var i=n("5ca1");i(i.S,"Math",{scale:n("e9d2")})},c795:function(t,e,n){"use strict";var i=o(n("ddac")),r=o(n("59a0"));n=o(n("466b"));function o(t){return t&&t.__esModule?t:{default:t}}t.exports={LineStream:i.default,ParseStream:r.default,Parser:n.default}},c7c6:function(t,e,n){n=n("5ca1");var i=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var n,r,o=0,a=0,s=arguments.length,u=0;a<s;)u<(n=i(arguments[a++]))?(o=o*(r=u/n)*r+1,u=n):o+=0<n?(r=n/u)*r:n;return u===1/0?1/0:u*Math.sqrt(o)}})},c7c62:function(t,e,n){var i=n("5ca1"),r=n("2d5c"),o=Math.exp;i(i.S,"Math",{tanh:function(t){var e=r(t=+t),n=r(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},c7ca:function(t,e,n){n("3a72")("observable")},c7ca0:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}var s=a(n("2806")),u=n("dc3e"),c=n("d61a"),l=a(n("3d33")),h=[{name:"VOD",run:function(t,e,n,i,r){return n===1/0?null:{time:0,segmentIndex:0}}},{name:"ProgramDateTime",run:function(t,e,n,i,r){return t.datetimeToDisplayTime&&e.dateTimeObject?{time:e.dateTimeObject.getTime()/1e3+t.datetimeToDisplayTime,segmentIndex:0}:null}},{name:"Segment",run:function(t,e,n,i,r){var o=e.segments||[],a=null,s=null;r=r||0;for(var u=0;u<o.length;u++){var c=o[u];if(c.timeline===i&&void 0!==c.start){var l=Math.abs(r-c.start);if(null!==s&&s<l)break;(!a||null===s||l<=s)&&(s=l,a={time:c.start,segmentIndex:u})}}return a}},{name:"Discontinuity",run:function(t,e,n,i,r){var o=null;if(r=r||0,e.discontinuityStarts&&e.discontinuityStarts.length)for(var a=null,s=0;s<e.discontinuityStarts.length;s++){var u=e.discontinuityStarts[s],c=e.discontinuitySequence+s+1,l=t.discontinuities[c];if(l){if(c=Math.abs(r-l.time),null!==a&&a<c)break;(!o||null===a||c<=a)&&(a=c,o={time:l.time,segmentIndex:u})}}return o}},{name:"Playlist",run:function(t,e,n,i,r){return e.syncInfo?{time:e.syncInfo.time,segmentIndex:e.syncInfo.mediaSequence-e.mediaSequence}:null}}];function d(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),o(Object.getPrototypeOf(d.prototype),"constructor",this).call(this),this.inspectCache_=void 0,this.timelines=[],this.discontinuities=[],this.datetimeToDisplayTime=null,t.debug&&(this.logger_=l.default.log.bind(l.default,"sync-controller ->"))}e.syncPointStrategies=h,function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(d,l.default.EventTarget),i(d,[{key:"getSyncPoint",value:function(t,e,n,i){return n=this.runStrategies_(t,e,n,i),n.length?this.selectSyncPoint_(n,{key:"time",value:i}):null}},{key:"getExpiredTime",value:function(t,e){return t&&t.segments?(e=this.runStrategies_(t,e,t.discontinuitySequence,0),e.length?(e=this.selectSyncPoint_(e,{key:"segmentIndex",value:0}),0<e.segmentIndex&&(e.time*=-1),Math.abs(e.time+(0,c.sumDurations)(t,e.segmentIndex,0))):null):null}},{key:"runStrategies_",value:function(t,e,n,i){for(var r=[],o=0;o<h.length;o++){var a=h[o],s=a.run(this,t,e,n,i);s&&(s.strategy=a.name,r.push({strategy:a.name,syncPoint:s}),this.logger_("syncPoint found via <"+a.name+">:",s))}return r}},{key:"selectSyncPoint_",value:function(t,e){for(var n=t[0].syncPoint,i=Math.abs(t[0].syncPoint[e.key]-e.value),r=t[0].strategy,o=1;o<t.length;o++){var a=Math.abs(t[o].syncPoint[e.key]-e.value);a<i&&(i=a,n=t[o].syncPoint,r=t[o].strategy)}return this.logger_("syncPoint with strategy <"+r+"> chosen: ",n),n}},{key:"saveExpiredSegmentInfo",value:function(t,e){for(var n=e.mediaSequence-t.mediaSequence-1;0<=n;n--){var i=t.segments[n];if(i&&void 0!==i.start){e.syncInfo={mediaSequence:t.mediaSequence+n,time:i.start},this.logger_("playlist sync:",e.syncInfo),this.trigger("syncinfoupdate");break}}}},{key:"setDateTimeMapping",value:function(t){!this.datetimeToDisplayTime&&t.dateTimeObject&&(t=t.dateTimeObject.getTime()/1e3,this.datetimeToDisplayTime=-t)}},{key:"reset",value:function(){this.inspectCache_=void 0}},{key:"probeSegmentInfo",value:function(t){var e=t.segment,n=t.playlist,i=void 0;return(i=e.map?this.probeMp4Segment_(t):this.probeTsSegment_(t))&&this.calculateSegmentTimeMapping_(t,i)&&(this.saveDiscontinuitySyncInfo_(t),n.syncInfo||(n.syncInfo={mediaSequence:n.mediaSequence+t.mediaIndex,time:e.start})),i}},{key:"probeMp4Segment_",value:function(t){var e=t.segment,n=s.default.timescale(e.map.bytes);n=s.default.startTime(n,t.bytes);return null!==t.timestampOffset&&(t.timestampOffset-=n),{start:n,end:n+e.duration}}},{key:"probeTsSegment_",value:function(t){var e=(0,u.inspect)(t.bytes,this.inspectCache_),n=void 0;t=void 0;return e?(e.video&&2===e.video.length?(this.inspectCache_=e.video[1].dts,n=e.video[0].dtsTime,t=e.video[1].dtsTime):e.audio&&2===e.audio.length&&(this.inspectCache_=e.audio[1].dts,n=e.audio[0].dtsTime,t=e.audio[1].dtsTime),{start:n,end:t,containsVideo:e.video&&2===e.video.length,containsAudio:e.audio&&2===e.audio.length}):null}},{key:"timestampOffsetForTimeline",value:function(t){return void 0===this.timelines[t]?null:this.timelines[t].time}},{key:"mappingForTimeline",value:function(t){return void 0===this.timelines[t]?null:this.timelines[t].mapping}},{key:"calculateSegmentTimeMapping_",value:function(t,e){var n=t.segment,i=this.timelines[t.timeline];if(null!==t.timestampOffset)this.logger_("tsO:",t.timestampOffset),i={time:t.startOfSegment,mapping:t.startOfSegment-e.start},this.timelines[t.timeline]=i,this.trigger("timestampoffset"),n.start=t.startOfSegment,n.end=e.end+i.mapping;else{if(!i)return!1;n.start=e.start+i.mapping,n.end=e.end+i.mapping}return!0}},{key:"saveDiscontinuitySyncInfo_",value:function(t){var e=t.playlist,n=t.segment;if(n.discontinuity)this.discontinuities[n.timeline]={time:n.start,accuracy:0};else if(e.discontinuityStarts.length)for(var i=0;i<e.discontinuityStarts.length;i++){var r,o=e.discontinuityStarts[i],a=e.discontinuitySequence+i+1,s=o-t.mediaIndex,u=Math.abs(s);(!this.discontinuities[a]||this.discontinuities[a].accuracy>u)&&(r=void 0,r=s<0?n.start-(0,c.sumDurations)(e,t.mediaIndex,o):n.end+(0,c.sumDurations)(e,t.mediaIndex+1,o),this.discontinuities[a]={time:r,accuracy:u})}}},{key:"logger_",value:function(){}}]),i=d,e.default=i},c8b5:function(t,e,n){},c8ba:function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},c8ce:function(t,e,n){var i=n("2b4c")("toPrimitive"),r=Date.prototype;i in r||n("32e9")(r,i,n("8381"))},ca5a:function(t,e){var n=0,i=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+i).toString(36))}},cadf:function(t,e,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),a=n("6821");t.exports=n("01f9")(Array,"Array",(function(t,e){this._t=a(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,r(1)):r(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(t,e,n){var i=n("d3f4");t.exports=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t}},cc57:function(t,e,n){(function(e){var i=void 0!==e?e:"undefined"!=typeof window?window:{},r=(e=n(1),"undefined"!=typeof document?document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(i["__GLOBAL_DOCUMENT_CACHE@4"]=e));t.exports=r}).call(this,n("c8ba"))},cd1c:function(t,e,n){var i=n("e853");t.exports=function(t,e){return new(i(t))(e)}},cdad:function(t,e,n){"use strict";e.pad=n("72a5"),e.unpad=n("e647")},ce04:function(t,e,n){},ce10:function(t,e,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");t.exports=function(t,e){var n,s=r(t),u=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);for(;e.length>u;)i(s,n=e[u++])&&(~o(c,n)||c.push(n));return c}},ceaf:function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=i.key,a=i.map,s=i.store;i.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),i=a(r(e),n,!1);return!(void 0===i||!i.delete(t))&&(!!i.size||(i=s.get(e),i.delete(n),!!i.size||s.delete(e)))}})},cf6a:function(t,e,n){var i=n("d3f4"),r=n("67ab").onFreeze;n("5eda")("seal",(function(t){return function(e){return t&&i(e)?t(r(e)):e}}))},cf81:function(t,e,n){},d02c:function(t,e){var n=Object.create||function(t){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return i.prototype=t,new i};function i(){}function r(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function o(t){function e(t,e,n,i){return 3600*(0|t)+60*(0|e)+(0|n)+(0|i)/1e3}return t=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/),t?t[3]?e(t[1],t[2],t[3].replace(":",""),t[4]):59<t[1]?e(t[1],t[2],0,t[4]):e(0,t[1],t[2],t[4]):null}function a(){this.values=n(null)}function s(t,e,n,i){var r,o,a=i?t.split(i):[t];for(r in a)"string"==typeof a[r]&&2===(o=a[r].split(n)).length&&e(o[0],o[1])}((r.prototype=n(Error.prototype)).constructor=r).Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},a.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var i=0;i<n.length;++i)if(e===n[i]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&0<=(e=parseFloat(e))&&e<=100)&&(this.set(t,e),!0)}};var u={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},c={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},l={v:"title",lang:"lang"},h={rt:"ruby"};function d(t,e){function n(t){return u[t]}for(var i,r,a,s,d,f,p=t.document.createElement("div"),g=p,m=[];null!==(i=function(){if(!e)return null;var t=e.match(/^([^<]*)(<[^>]*>?)?/);return t=t[1]||t[2],e=e.substr(t.length),t}());)"<"!==i[0]?g.appendChild(t.document.createTextNode(function(t){for(;s=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)t=t.replace(s[0],n);return t}(i))):"/"!==i[1]?(r=o(i.substr(1,i.length-2)))?(a=t.document.createProcessingInstruction("timestamp",r),g.appendChild(a)):(s=i.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/))&&(a=function(e,n){var i=c[e];if(!i)return null;var r=t.document.createElement(i);return r.localName=i,(e=l[e])&&n&&(r[e]=n.trim()),r}(s[1],s[3]))&&(d=g,h[(f=a).localName]&&h[f.localName]!==d.localName||(s[2]&&(a.className=s[2].substr(1).replace("."," ")),m.push(s[1]),g.appendChild(a),g=a)):m.length&&m[m.length-1]===i.substr(2).replace(">","")&&(m.pop(),g=g.parentNode);return p}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 p(t){var e=[],n="";if(!t||!t.childNodes)return"ltr";function i(t,e){for(var n=e.childNodes.length-1;0<=n;n--)t.push(e.childNodes[n])}for(i(e,t);n=function t(e){if(!e||!e.length)return null;var n=e.pop(),r=n.textContent||n.innerText;if(r){var o=r.match(/^.*(\n|\r)/);return o?o[e.length=0]:r}return"ruby"===n.tagName?t(e):n.childNodes?(i(e,n),t(e)):void 0}(e);)for(var r=0;r<n.length;r++)if(function(t){for(var e=0;e<f.length;e++){var n=f[e];if(t>=n[0]&&t<=n[1])return 1}}(n.charCodeAt(r)))return"rtl";return"ltr"}function g(){}function m(t,e,n){var i=/MSIE\s8\.0/.test(navigator.userAgent),r="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";i&&(r="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),g.call(this),this.cue=e,this.cueDiv=d(t,e.text),o={color:r,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"},i||(o.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",o.unicodeBidi="plaintext"),this.applyStyles(o,this.cueDiv),this.div=t.document.createElement("div"),o={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},i||(o.direction=p(this.cueDiv),o.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"plaintext"),this.applyStyles(o),this.div.appendChild(this.cueDiv);var a=0;switch(e.positionAlign){case"start":a=e.position;break;case"middle":a=e.position-e.size/2;break;case"end":a=e.position-e.size}""===e.vertical?this.applyStyles({left:this.formatStyle(a,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(a,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function v(t){var e,n,i,r,o=/MSIE\s8\.0/.test(navigator.userAgent);t.div&&(e=t.div.offsetHeight,n=t.div.offsetWidth,i=t.div.offsetTop,r=(r=t.div.childNodes)&&(r=r[0])&&r.getClientRects&&r.getClientRects(),t=t.div.getBoundingClientRect(),r=r?Math.max(r[0]&&r[0].height||0,t.height/r.length):0),this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||e,this.bottom=t.bottom||i+(t.height||e),this.width=t.width||n,this.lineHeight=void 0!==r?r:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function y(t,e,n,i){var r,o=new v(e),a=e.cue,s=function(t){if("number"==typeof t.line&&(t.snapToLines||0<=t.line&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,i=0,r=0;r<n.length&&n[r]!==e;r++)"showing"===n[r].mode&&i++;return-1*++i}(a),u=[];if(a.snapToLines){switch(a.vertical){case"":u=["+y","-y"],r="height";break;case"rl":u=["+x","-x"],r="width";break;case"lr":u=["-x","+x"],r="width"}var c=o.lineHeight,l=c*Math.round(s),h=n[r]+c,d=u[0];Math.abs(l)>h&&(l=l<0?-1:1,l*=Math.ceil(h/c)*c),s<0&&(l+=""===a.vertical?n.height:n.width,u=u.reverse()),o.move(d,l)}else{var f=o.lineHeight/n.height*100;switch(a.lineAlign){case"middle":s-=f/2;break;case"end":s-=f}switch(a.vertical){case"":e.applyStyles({top:e.formatStyle(s,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(s,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(s,"%")})}u=["+y","-x","+x","-y"],o=new v(e)}o=function(t,e){for(var r,o=new v(t),a=1,s=0;s<e.length;s++){for(;t.overlapsOppositeAxis(n,e[s])||t.within(n)&&t.overlapsAny(i);)t.move(e[s]);if(t.within(n))return t;var u=t.intersectPercentage(n);u<a&&(r=new v(t),a=u),t=new v(o)}return r||o}(o,u),e.move(o.toCSSCompatValues(n))}function b(){}g.prototype.applyStyles=function(t,e){for(var n in e=e||this.div,t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},g.prototype.formatStyle=function(t,e){return 0===t?0:t+e},(m.prototype=n(g.prototype)).constructor=m,v.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e}},v.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},v.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},v.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},v.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},v.prototype.intersectPercentage=function(t){return Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left))*Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top))/(this.height*this.width)},v.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},v.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,i=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;return{left:(t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t).left,right:t.right,top:t.top||i,height:t.height||e,bottom:t.bottom||i+(t.height||e),width:t.width||n}},b.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!=typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},b.convertCueToDOMTree=function(t,e){return t&&e?d(t,e):null},b.processCues=function(t,e,n){if(!t||!e||!n)return null;for(;n.firstChild;)n.removeChild(n.firstChild);var i=t.document.createElement("div");if(i.style.position="absolute",i.style.left="0",i.style.right="0",i.style.top="0",i.style.bottom="0",i.style.margin="1.5%",n.appendChild(i),function(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return 1}(e)){var r=[],o=v.getSimpleBoxPosition(i),a={font:Math.round(.05*o.height*100)/100+"px sans-serif"};!function(){for(var n,s,u=0;u<e.length;u++)s=e[u],n=new m(t,s,a),i.appendChild(n.div),y(0,n,o,r),s.displayState=n.div,r.push(v.getSimpleBoxPosition(n))}()}else for(var s=0;s<e.length;s++)i.appendChild(e[s].displayState)},(b.Parser=function(t,e,n){n||(n=e,e={}),e=e||{},this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(t){if(!(t instanceof r))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){var e=this;function n(){for(var t=e.buffer,n=0;n<t.length&&"\r"!==t[n]&&"\n"!==t[n];)++n;var i=t.substr(0,n);return"\r"===t[n]&&++n,"\n"===t[n]&&++n,e.buffer=t.substr(n),i}function i(t){t.match(/X-TIMESTAMP-MAP/)?s(t,(function(t,n){var i;"X-TIMESTAMP-MAP"===t&&(n=n,i=new a,s(n,(function(t,e){switch(t){case"MPEGT":i.integer(t+"S",e);break;case"LOCA":i.set(t+"L",o(e))}}),/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:i.get("MPEGTS"),LOCAL:i.get("LOCAL")}))}),/=/):s(t,(function(t,n){var i;"Region"===t&&(n=n,i=new a,s(n,(function(t,e){switch(t){case"id":i.set(t,e);break;case"width":i.percent(t,e);break;case"lines":i.integer(t,e);break;case"regionanchor":case"viewportanchor":var n=e.split(",");if(2!==n.length)break;var r=new a;if(r.percent("x",n[0]),r.percent("y",n[1]),!r.has("x")||!r.has("y"))break;i.set(t+"X",r.get("x")),i.set(t+"Y",r.get("y"));break;case"scroll":i.alt(t,e,["up"])}}),/=/,/\s/),i.has("id")&&((n=new(e.vttjs.VTTRegion||e.window.VTTRegion)).width=i.get("width",100),n.lines=i.get("lines",3),n.regionAnchorX=i.get("regionanchorX",0),n.regionAnchorY=i.get("regionanchorY",100),n.viewportAnchorX=i.get("viewportanchorX",0),n.viewportAnchorY=i.get("viewportanchorY",100),n.scroll=i.get("scroll",""),e.onregion&&e.onregion(n),e.regionList.push({id:i.get("id"),region:n})))}),/:/)}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;var u,c=(u=n()).match(/^WEBVTT([ \t].*)?$/);if(!c||!c[0])throw new r(r.Errors.BadSignature);e.state="HEADER"}for(var l=!1;e.buffer;){if(!/\r\n|\n/.test(e.buffer))return this;switch(l?l=!1:u=n(),e.state){case"HEADER":/:/.test(u)?i(u):u||(e.state="ID");continue;case"NOTE":u||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(u)){e.state="NOTE";break}if(!u)continue;if(e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,""),e.state="CUE",-1===u.indexOf("--\x3e")){e.cue.id=u;continue}case"CUE":try{!function(t,e,n){var i,u,c=t;function l(){var e=o(t);if(null===e)throw new r(r.Errors.BadTimeStamp,"Malformed timestamp: "+c);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function h(){t=t.replace(/^\s+/,"")}if(h(),e.startTime=l(),h(),"--\x3e"!==t.substr(0,3))throw new r(r.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+c);t=t.substr(3),h(),e.endTime=l(),h(),i=t,e=e,u=new a,s(i,(function(t,e){switch(t){case"region":for(var i=n.length-1;0<=i;i--)if(n[i].id===e){u.set(t,n[i].region);break}break;case"vertical":u.alt(t,e,["rl","lr"]);break;case"line":var r=e.split(","),o=r[0];u.integer(t,o),u.percent(t,o)&&u.set("snapToLines",!1),u.alt(t,o,["auto"]),2===r.length&&u.alt("lineAlign",r[1],["start","middle","end"]);break;case"position":r=e.split(","),u.percent(t,r[0]),2===r.length&&u.alt("positionAlign",r[1],["start","middle","end"]);break;case"size":u.percent(t,e);break;case"align":u.alt(t,e,["start","middle","end","left","right"])}}),/:/,/\s/),e.region=u.get("region",null),e.vertical=u.get("vertical",""),e.line=u.get("line","auto"),e.lineAlign=u.get("lineAlign","start"),e.snapToLines=u.get("snapToLines",!0),e.size=u.get("size",100),e.align=u.get("align","middle"),e.position=u.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=u.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}(u,e.cue,e.regionList)}catch(t){e.reportOrThrowError(t),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var h=-1!==u.indexOf("--\x3e");if(!u||h&&(l=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=u;continue;case"BADCUE":u||(e.state="ID");continue}}}catch(t){e.reportOrThrowError(t),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var e=this;try{if(e.buffer+=e.decoder.decode(),!e.cue&&"HEADER"!==e.state||(e.buffer+="\n\n",e.parse()),"INITIAL"===e.state)throw new r(r.Errors.BadSignature)}catch(t){e.reportOrThrowError(t)}return e.onflush&&e.onflush(),this}},t.exports=b},d04f:function(t,e,n){n("7a56")("Array")},d0b0:function(t,e,n){"use strict";n("386b")("italics",(function(t){return function(){return t(this,"i","","")}}))},d0ca:function(t,e,n){var i=n("5ca1"),r=n("abd7")(/[\\^$*+?.()|[\]{}]/g,"\\$&");i(i.S,"RegExp",{escape:function(t){return r(t)}})},d136:function(t,e,n){var i,r,o,a,s;i=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/?#]*\/)*[^;?#]*)?(;[^?#]*)?(\?[^#]*)?(#[^]*)?$/,r=/^([^\/?#]*)([^]*)$/,o=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/)[^\/]*(?=\/)/g,s={buildAbsoluteURL:function(t,e,n){if(n=n||{},t=t.trim(),!(e=e.trim())){if(!n.alwaysNormalize)return t;var i=s.parseURL(t);if(!i)throw new Error("Error trying to parse base URL.");return i.path=s.normalizePath(i.path),s.buildURLFromParts(i)}if(i=s.parseURL(e),!i)throw new Error("Error trying to parse relative URL.");if(i.scheme)return n.alwaysNormalize?(i.path=s.normalizePath(i.path),s.buildURLFromParts(i)):e;if(e=s.parseURL(t),!e)throw new Error("Error trying to parse base URL.");!e.netLoc&&e.path&&"/"!==e.path[0]&&(o=r.exec(e.path),e.netLoc=o[1],e.path=o[2]),e.netLoc&&!e.path&&(e.path="/");var o;t={scheme:e.scheme,netLoc:i.netLoc,path:null,params:i.params,query:i.query,fragment:i.fragment};return i.netLoc||(t.netLoc=e.netLoc,"/"!==i.path[0]&&(i.path?(o=(o=e.path).substring(0,o.lastIndexOf("/")+1)+i.path,t.path=s.normalizePath(o)):(t.path=e.path,i.params||(t.params=e.params,i.query||(t.query=e.query))))),null===t.path&&(t.path=n.alwaysNormalize?s.normalizePath(i.path):i.path),s.buildURLFromParts(t)},parseURL:function(t){return t=i.exec(t),t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(o,"");t.length!==(t=t.replace(a,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}},t.exports=s},d185:function(t,e,n){var i=n("11e9"),r=n("38fd"),o=n("69a8"),a=n("5ca1"),s=n("d3f4"),u=n("cb7c");a(a.S,"Reflect",{get:function t(e,n){var a,c=arguments.length<3?e:arguments[2];return u(e)===c?e[n]:(a=i.f(e,n))?o(a,"value")?a.value:void 0!==a.get?a.get.call(c):void 0:s(a=r(e))?t(a,n,c):void 0}})},d1e1:function(t,e,n){"use strict";var i=n("d282"),r=n("9884"),o=(n=Object(i.a)("row"),i=n[0],n[1]);e.a=i({mixins:[Object(r.b)("vanRow")],props:{type:String,align:String,justify:String,tag:{type:String,default:"div"},gutter:{type:[Number,String],default:0}},computed:{spaces:function(){var t=Number(this.gutter);if(t){var e=[],n=[[]],i=0;return this.children.forEach((function(t,e){24<(i+=Number(t.span))?(n.push([e]),i-=24):n[n.length-1].push(e)})),n.forEach((function(n){var i=t*(n.length-1)/n.length;n.forEach((function(n,r){0===r?e.push({right:i}):(n=t-e[n-1].right,e.push({left:n,right:i-n}))}))})),e}}},methods:{onClick:function(t){this.$emit("click",t)}},render:function(){var t,e=this.align,n=this.justify,i="flex"===this.type;return(0,arguments[0])(this.tag,{class:o(((t={flex:i})["align-"+e]=i&&e,t["justify-"+n]=i&&n,t)),on:{click:this.onClick}},[this.slots()])}})},d25f:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(2);i(i.P+i.F*!n("2f21")([].filter,!0),"Array",{filter:function(t){return r(this,t,arguments[1])}})},d263:function(t,e,n){"use strict";n("386b")("fixed",(function(t){return function(){return t(this,"tt","","")}}))},d282:function(t,e,n){"use strict";function i(t){return function(e,n){return e&&"string"!=typeof e&&(n=e,e=""),""+(e=e?t+"__"+e:t)+function t(e,n){return n?"string"==typeof n?" "+e+"--"+n:Array.isArray(n)?n.reduce((function(n,i){return n+t(e,i)}),""):Object.keys(n).reduce((function(i,r){return i+(n[r]?t(e,r):"")}),""):""}(e,n)}}n.d(e,"a",(function(){return f}));var r=n("a142"),o=n("68ed"),a={methods:{slots:function(t,e){var n=this.$slots,i=this.$scopedSlots[t=void 0===t?"default":t];return i?i(e):n[t]}}};e=n("8bbf"),e=n.n(e);function s(t){var e=this.name;t.component(e,this),t.component(Object(o.a)("-"+e),this)}function u(t){return{functional:!0,props:t.props,model:t.model,render:function(e,n){return t(e,n.props,(i=(e=n).scopedSlots||e.data.scopedSlots||{},r=e.slots(),Object.keys(r).forEach((function(t){i[t]||(i[t]=function(){return r[t]})})),i),n);var i,r}}}var c=Object.prototype.hasOwnProperty;function l(t,e){return Object.keys(e).forEach((function(n){var i,o,a;i=t,n=(o=e)[a=n],Object(r.c)(n)&&(c.call(i,a)&&Object(r.e)(n)?i[a]=l(Object(i[a]),o[a]):i[a]=n)})),t}var h=e.a.prototype;e=e.a.util.defineReactive;e(h,"$vantLang","zh-CN"),e(h,"$vantMessages",{"zh-CN":{name:"姓名",tel:"电话",save:"保存",confirm:"确认",cancel:"取消",delete:"删除",complete:"完成",loading:"加载中...",telEmpty:"请填写电话",nameEmpty:"请填写姓名",nameInvalid:"请输入正确的姓名",confirmDelete:"确定要删除吗",telInvalid:"请输入正确的手机号",vanCalendar:{end:"结束",start:"开始",title:"日期选择",confirm:"确定",startEnd:"开始/结束",weekdays:["日","一","二","三","四","五","六"],monthTitle:function(t,e){return t+"年"+e+"月"},rangePrompt:function(t){return"选择天数不能超过 "+t+" 天"}},vanCascader:{select:"请选择"},vanContactCard:{addText:"添加联系人"},vanContactList:{addText:"新建联系人"},vanPagination:{prev:"上一页",next:"下一页"},vanPullRefresh:{pulling:"下拉即可刷新...",loosing:"释放即可刷新..."},vanSubmitBar:{label:"合计:"},vanCoupon:{unlimited:"无使用门槛",discount:function(t){return t+"折"},condition:function(t){return"满"+t+"元可用"}},vanCouponCell:{title:"优惠券",tips:"暂无可用",count:function(t){return t+"张可用"}},vanCouponList:{empty:"暂无优惠券",exchange:"兑换",close:"不使用优惠券",enable:"可用",disabled:"不可用",placeholder:"请输入优惠码"},vanAddressEdit:{area:"地区",postal:"邮政编码",areaEmpty:"请选择地区",addressEmpty:"请填写详细地址",postalEmpty:"邮政编码格式不正确",defaultAddress:"设为默认收货地址",telPlaceholder:"收货人手机号",namePlaceholder:"收货人姓名",areaPlaceholder:"选择省 / 市 / 区"},vanAddressEditDetail:{label:"详细地址",placeholder:"街道门牌、楼层房间号等信息"},vanAddressList:{add:"新增地址"}}});var d={messages:function(){return h.$vantMessages[h.$vantLang]},use:function(t,e){var n;h.$vantLang=t,this.add(((n={})[t]=e,n))},add:function(t){l(h.$vantMessages,t=void 0===t?{}:t)}};function f(t){return[function(t){return(t=Object(r.d)(t)?u(t):t).functional||(t.mixins=t.mixins||[],t.mixins.push(a)),t.name=n,t.install=s,t},i(n=t="van-"+t),(t=t,e=Object(o.a)(t)+".",function(t){for(var n=d.messages(),i=(t=Object(r.a)(n,e+t)||Object(r.a)(n,t),arguments.length),o=new Array(1<i?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];return Object(r.d)(t)?t.apply(void 0,o):t})];var e,n}},d2a3:function(t,e,n){},d2c8:function(t,e,n){var i=n("aae3"),r=n("be13");t.exports=function(t,e,n){if(i(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(t))}},d399:function(t,e,n){"use strict";var i=n("c31d"),r=n("8bbf"),o=n.n(r),a=n("d282"),s=n("a142"),u=0,c=n("6605"),l=n("ad06"),h=n("543e"),d=(r=Object(a.a)("toast"),a=r[0],r[1]),f=a({mixins:[Object(c.a)()],props:{icon:String,className:null,iconPrefix:String,loadingType:String,forbidClick:Boolean,closeOnClick:Boolean,message:[Number,String],type:{type:String,default:"text"},position:{type:String,default:"middle"},transition:{type:String,default:"van-fade"},lockScroll:{type:Boolean,default:!1}},data:function(){return{clickable:!1}},mounted:function(){this.toggleClickable()},destroyed:function(){this.toggleClickable()},watch:{value:"toggleClickable",forbidClick:"toggleClickable"},methods:{onClick:function(){this.closeOnClick&&this.close()},toggleClickable:function(){var t=this.value&&this.forbidClick;this.clickable!==t&&((this.clickable=t)?(u||document.body.classList.add("van-toast--unclickable"),u++):--u||document.body.classList.remove("van-toast--unclickable"))},onAfterEnter:function(){this.$emit("opened"),this.onOpened&&this.onOpened()},onAfterLeave:function(){this.$emit("closed")},genIcon:function(){var t=this.$createElement,e=this.icon,n=this.type,i=this.iconPrefix,r=this.loadingType;return e||"success"===n||"fail"===n?t(l.a,{class:d("icon"),attrs:{classPrefix:i,name:e||n}}):"loading"===n?t(h.a,{class:d("loading"),attrs:{type:r}}):void 0},genMessage:function(){var t=this.$createElement,e=this.type,n=this.message;if(Object(s.c)(n)&&""!==n)return"html"===e?t("div",{class:d("text"),domProps:{innerHTML:n}}):t("div",{class:d("text")},[n])}},render:function(){var t=arguments[0];return t("transition",{attrs:{name:this.transition},on:{afterEnter:this.onAfterEnter,afterLeave:this.onAfterLeave}},[t("div",{directives:[{name:"show",value:this.value}],class:[d([this.position,((t={})[this.type]=!this.icon,t)]),this.className],on:{click:this.onClick}},[this.genIcon(),this.genMessage()])])}}),p=n("092d"),g={icon:"",type:"text",mask:!1,value:!0,message:"",className:"",overlay:!1,onClose:null,onOpened:null,duration:2e3,iconPrefix:void 0,position:"middle",transition:"van-fade",forbidClick:!1,loadingType:void 0,getContainer:"body",overlayStyle:null,closeOnClick:!1,closeOnClickOverlay:!1},m={},v=[],y=!1,b=Object(i.a)({},g);function _(t){return Object(s.e)(t)?t:{message:t}}function T(){return s.g?{}:((v=v.filter((function(t){return!t.$el.parentNode||(t=t.$el,document.body.contains(t))}))).length&&!y||((t=new(o.a.extend(f))({el:document.createElement("div")})).$on("input",(function(e){t.value=e})),v.push(t)),v[v.length-1]);var t}function S(t){void 0===t&&(t={});var e,n=T();return n.value&&n.updateZIndex(),t=_(t),(t=Object(i.a)({},b,m[t.type||b.type],t)).clear=function(){n.value=!1,t.onClose&&(t.onClose(),t.onClose=null),y&&!s.g&&n.$on("closed",(function(){clearTimeout(n.timer),v=v.filter((function(t){return t!==n})),Object(p.a)(n.$el),n.$destroy()}))},Object(i.a)(n,(e=t,Object(i.a)({},e,{overlay:e.mask||e.overlay,mask:void 0,duration:void 0}))),clearTimeout(n.timer),0<t.duration&&(n.timer=setTimeout((function(){n.clear()}),t.duration)),n}["loading","success","fail"].forEach((function(t){var e;S[t]=(e=t,function(t){return S(Object(i.a)({type:e},_(t)))})})),S.clear=function(t){v.length&&(t?(v.forEach((function(t){t.clear()})),v=[]):(y?v.shift():v[0]).clear())},S.setDefaultOptions=function(t,e){"string"==typeof t?m[t]=e:Object(i.a)(b,t)},S.resetDefaultOptions=function(t){"string"==typeof t?m[t]=null:(b=Object(i.a)({},g),m={})},S.allowMultiple=function(t){y=t=void 0===t||t},S.install=function(){o.a.use(f)},o.a.prototype.$toast=S,e.a=S},d3ae:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function r(t,e){var n=[],i=void 0;if(t&&t.length)for(i=0;i<t.length;i++)e(t.start(i),t.end(i))&&n.push([t.start(i),t.end(i)]);return u.default.createTimeRanges(n)}function o(t,e){var n=null,i=null,r=0,o=[],a=[];if(!(t&&t.length&&e&&e.length))return u.default.createTimeRange();for(var s=t.length;s--;)o.push({time:t.start(s),type:"start"}),o.push({time:t.end(s),type:"end"});for(s=e.length;s--;)o.push({time:e.start(s),type:"start"}),o.push({time:e.end(s),type:"end"});for(o.sort((function(t,e){return t.time-e.time})),s=0;s<o.length;s++)"start"===o[s].type?2===++r&&(n=o[s].time):"end"===o[s].type&&1===--r&&(i=o[s].time),null!==n&&null!==i&&(a.push([n,i]),i=n=null);return u.default.createTimeRanges(a)}var a,s=n("3d33"),u=(a=s)&&a.__esModule?a:{default:a};e.default={findRange:function(t,e){return r(t,(function(t,n){return t-1/30<=e&&e<=n+1/30}))},findNextRange:function(t,e){return r(t,(function(t){return e<=t-1/30}))},findGaps:function(t){if(t.length<2)return u.default.createTimeRanges();for(var e=[],n=1;n<t.length;n++){var i=t.end(n-1),r=t.start(n);e.push([i,r])}return u.default.createTimeRanges(e)},findSoleUncommonTimeRangesEnd:function(t,e){function n(t){return t[0]<=o&&t[1]>=o}var i=void 0,r=void 0,o=void 0,a=[],s=[];if(t)for(i=0;i<t.length;i++)r=t.start(i),o=t.end(i),s.push([r,o]);if(e)for(i=0;i<e.length;i++)r=e.start(i),o=e.end(i),s.some(n)||a.push(o);return 1!==a.length?null:a[0]},getSegmentBufferedPercent:function(t,e,n,r){var a,s=t+e,c=u.default.createTimeRanges([[t,s]]);s=u.default.createTimeRanges([[(a=t,e=(t=i(e=[n,s],2))[0],t=t[1],Math.min(Math.max(e,a),t)),s]]);return s.start(0)===s.end(0)?0:(r=function(t,e,n,i){for(var r=e.end(0)-e.start(0),a=r-(t.end(0)-t.start(0)),s=o(t,i),u=o(e,i),c=0,l=0,h=s.length;h--;)c+=s.end(h)-s.start(h),s.start(h)===n&&(c+=a);for(h=u.length;h--;)l+=u.end(h)-u.start(h);return Math.max(c,l)/r*100}(s,c,n,r),isNaN(r)||r===1/0||r===-1/0?0:r)},TIME_FUDGE_FACTOR:1/30,SAFE_TIME_DELTA:.1,printableRange:function(t){var e=[];if(!t||!t.length)return"";for(var n=0;n<t.length;n++)e.push(t.start(n)+" => "+t.end(n));return e.join(", ")},timeUntilRebuffer:function(t,e){var n=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return((t.length?t.end(t.length-1):0)-e)/n}},t.exports=e.default},d3f4:function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},d4c0:function(t,e,n){var i=n("0d58"),r=n("2621"),o=n("52a7");t.exports=function(t){var e=i(t),n=r.f;if(n)for(var a,s=n(t),u=o.f,c=0;s.length>c;)u.call(t,a=s[c++])&&e.push(a);return e}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d548:function(t,e,n){},d554:function(t,e,n){"use strict";n("3cd0"),n("1812"),n("1a44"),n("acc2"),n("5e5e"),n("25bb"),n("e543")},d61a:function(t,e,n){"use strict";function i(t,e,n){var i;return(e=void 0===e?t.mediaSequence+t.segments.length:e)<t.mediaSequence?0:(i=function(t,e){var n=0,i=e-t.mediaSequence,r=t.segments[i];if(r){if(void 0!==r.start)return{result:r.start,precise:!0};if(void 0!==r.end)return{result:r.end-r.duration,precise:!0}}for(;i--;){if(void 0!==(r=t.segments[i]).end)return{result:n+r.end,precise:!0};if(n+=r.duration,void 0!==r.start)return{result:n+r.start,precise:!0}}return{result:n,precise:!1}}(t,e)).precise?i.result:(e=function(t,e){for(var n,i=0,r=e-t.mediaSequence;r<t.segments.length;r++){if(void 0!==(n=t.segments[r]).start)return{result:n.start-i,precise:!0};if(i+=n.duration,void 0!==n.end)return{result:n.end-i,precise:!0}}return{result:-1,precise:!1}}(t,e)).precise?e.result:i.result+n}function r(t,e,n){if(!t)return 0;if(void 0===e){if(t.totalDuration)return t.totalDuration;if(!t.endList)return u.default.Infinity}return i(t,e,n="number"!=typeof n?0:n)}Object.defineProperty(e,"__esModule",{value:!0});var o,a=n("3d33"),s=n("be09"),u=(o=s)&&o.__esModule?o:{default:o};function c(t,e,n){var i,r=0;if(n<e&&(e=(i=[n,e])[0],n=i[1]),e<0){for(var o=e;o<Math.min(0,n);o++)r+=t.targetDuration;e=0}for(o=e;o<n;o++)r+=t.segments[o].duration;return r}function l(t){if(!t.segments.length)return 0;for(var e=t.segments.length-1,n=t.segments[e].duration||t.targetDuration,i=n+2*t.targetDuration;e--&&!(i<=(n+=t.segments[e].duration)););return Math.max(0,e)}function h(t,e,n){return t&&t.segments?t.endList?r(t):null===e?null:(e=e||0,n=n?l(t):t.segments.length,i(t,t.mediaSequence+n,e)):null}function d(t,e){var n=e||0;return null===(e=h(t,e,!0))?(0,a.createTimeRange)():(0,a.createTimeRange)(n,e)}function f(t){return t-Math.floor(t)==0}function p(t,e,n,i){var r=void 0,o=void 0,a=t.segments.length,s=e-i;if(s<0){if(0<n)for(r=n-1;0<=r;r--)if(o=t.segments[r],0<(s+=v(o.duration)))return{mediaIndex:r,startTime:i-c(t,n,r)};return{mediaIndex:0,startTime:e}}if(n<0){for(r=n;r<0;r++)if((s-=t.targetDuration)<0)return{mediaIndex:0,startTime:e};n=0}for(r=n;r<a;r++)if(o=t.segments[r],(s-=m(o.duration))<0)return{mediaIndex:r,startTime:i+c(t,n,r)};return{mediaIndex:a-1,startTime:e}}e.duration=r,e.sumDurations=c,e.safeLiveIndex=l,e.playlistEnd=h,e.seekable=d;var g=function(t,e){if(f(e))return e+.1*t;for(var n=e.toString().split(".")[1].length,i=1;i<=n;i++){var r=Math.pow(10,i),o=e*r;if(f(o)||i===n)return(o+t)/r}},m=g.bind(null,1),v=g.bind(null,-1);function y(t){return t.excludeUntil&&t.excludeUntil>Date.now()}function b(t){return t.excludeUntil&&t.excludeUntil===1/0}function _(t){var e=y(t);return!t.disabled&&!e}function T(t){return t.disabled}function S(t){for(var e=0;e<t.segments.length;e++)if(t.segments[e].key)return!0;return!1}function w(t){for(var e=0;e<t.segments.length;e++)if(t.segments[e].map)return!0;return!1}function k(t,e){return e.attributes&&e.attributes[t]}e.getMediaInfoForTime=p,e.isBlacklisted=y,e.isIncompatible=b,e.isEnabled=_,e.isDisabled=T,e.isAes=S,e.isFmp4=w,e.hasAttribute=k,n=function(t,e,n){return k("BANDWIDTH",n)?(t*n.attributes.BANDWIDTH-8*(arguments.length<=3||void 0===arguments[3]?0:arguments[3]))/e:NaN},e.estimateSegmentRequestTime=n,g=function(t,e){if(1===t.playlists.length)return!0;var n=e.attributes.BANDWIDTH||Number.MAX_VALUE;return 0===t.playlists.filter((function(t){return!!_(t)&&(t.attributes.BANDWIDTH||0)<n})).length},e.isLowestEnabledRendition=g,e.default={duration:r,seekable:d,safeLiveIndex:l,getMediaInfoForTime:p,isEnabled:_,isDisabled:T,isBlacklisted:y,isIncompatible:b,playlistEnd:h,isAes:S,isFmp4:w,hasAttribute:k,estimateSegmentRequestTime:n,isLowestEnabledRendition:g}},d6c6:function(t,e){t.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},d6d3:function(t,e,n){var i;t.exports=(i=n("3d33"),function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=3)}([function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});n=n(0),n=n&&n.__esModule?n:{default:n};var i=window.videojs||n.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1;i<arguments.length;i++){var r=arguments[i];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])}return n},writable:!0,configurable:!0});var r=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"];e.default={name:"video-player",props:{start:{type:Number,default:0},crossOrigin:{type:String,default:""},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"},options:{type:Object,required:!0},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{controls:!0,controlBar:{remainingTimeDisplay:!1,playToggle:{},progressControl:{},fullscreenToggle:{},volumeMenuButton:{inline:!1,vertical:!0}},techOrder:["html5"],plugins:{}}}},globalEvents:{type:Array,default:function(){return[]}}},data:function(){return{player:null,reseted:!0}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()},methods:{initialize:function(){var t=this,e=Object.assign({},this.globalOptions,this.options);function n(e,n){var i;e&&t.$emit(e,t.player),n&&t.$emit(t.customEventName,(i=n,(n=e)in(e={})?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e))}this.playsinline&&(this.$refs.video.setAttribute("playsinline",this.playsinline),this.$refs.video.setAttribute("webkit-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-video-player-type","h5"),this.$refs.video.setAttribute("x5-video-player-fullscreen",!1)),""!==this.crossOrigin&&(this.$refs.video.crossOrigin=this.crossOrigin,this.$refs.video.setAttribute("crossOrigin",this.crossOrigin)),e.plugins&&delete e.plugins.__ob__;var o=this;this.player=i(this.$refs.video,e,(function(){for(var t=this,e=r.concat(o.events).concat(o.globalEvents),i={},a=0;a<e.length;a++)"string"==typeof e[a]&&void 0===i[e[a]]&&function(e){i[e]=null,t.on(e,(function(){n(e,!0)}))}(e[a]);this.on("timeupdate",(function(){n("timeupdate",this.currentTime())})),o.$emit("ready",this)}))},dispose:function(t){var e=this;this.player&&this.player.dispose&&("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),this.player.dispose(),this.player=null,this.$nextTick((function(){e.reseted=!1,e.$nextTick((function(){e.reseted=!0,e.$nextTick((function(){t&&t()}))}))})))}},watch:{options:{deep:!0,handler:function(t,e){var n=this;this.dispose((function(){t&&t.sources&&t.sources.length&&n.initialize()}))}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i,r=n(1),o=n.n(r);for(i in r)["default","default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(i);var a=n(5);a=n(4)(o.a,a.a,!1,null,null,null);e.default=a.exports},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.videoPlayer=e.videojs=void 0;var r=i(n(0)),o=i(n(2)),a=window.videojs||r.default;n=function(t,e){e&&(e.options&&(o.default.props.globalOptions.default=function(){return e.options}),e.events&&(o.default.props.globalEvents.default=function(){return e.events})),t.component(o.default.name,o.default)},r={videojs:a,videoPlayer:o.default,install:n};e.default=r,e.videojs=a,e.videoPlayer=o.default,e.install=n},function(t,e){t.exports=function(t,e,n,i,r,o){var a,s,u,c=t=t||{},l=typeof t.default;t="function"==typeof(c="object"==l||"function"==l?(a=t).default:c)?c.options:c;return e&&(t.render=e.render,t.staticRenderFns=e.staticRenderFns,t._compiled=!0),n&&(t.functional=!0),r&&(t._scopeId=r),o?t._ssrRegister=s=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)}:i&&(s=i),s&&(r=t.functional,u=r?t.render:t.beforeCreate,r?(t._injectStyles=s,t.render=function(t,e){return s.call(e),u(t,e)}):t.beforeCreate=u?[].concat(u,s):[s]),{esModule:a,exports:c,options:t}}},function(t,e,n){"use strict";e.a={render:function(){var t=this.$createElement;t=this._self._c||t;return this.reseted?t("div",{staticClass:"video-player"},[t("video",{ref:"video",staticClass:"video-js"})]):this._e()},staticRenderFns:[]}}]))},d707:function(t,e,n){"use strict";n("3cd0"),n("1812"),n("1a44"),n("acc2"),n("5cc2"),n("5e5e"),n("25bb"),n("ae3a"),n("3cf6"),n("acc4"),n("a248")},d752:function(t,e,n){var i=n("7726").parseFloat,r=n("aa77").trim;t.exports=1/i(n("fdef")+"-0")!=-1/0?function(t){var e=r(String(t),3);t=i(e);return 0===t&&"-"==e.charAt(0)?-0:t}:i},d7ba:function(t,e,n){"use strict";var i=function(t,e){function n(t,e){(e=t.position+e)<t.bytes.byteLength||((e=new Uint8Array(2*e)).set(t.bytes.subarray(0,t.position),0),t.bytes=e,t.view=new DataView(t.bytes.buffer))}var r,o=0,a=16384,s=i.widthBytes||new Uint8Array("width".length),u=i.heightBytes||new Uint8Array("height".length),c=i.videocodecidBytes||new Uint8Array("videocodecid".length);if(!i.widthBytes){for(r=0;r<"width".length;r++)s[r]="width".charCodeAt(r);for(r=0;r<"height".length;r++)u[r]="height".charCodeAt(r);for(r=0;r<"videocodecid".length;r++)c[r]="videocodecid".charCodeAt(r);i.widthBytes=s,i.heightBytes=u,i.videocodecidBytes=c}switch(this.keyFrame=!1,t){case i.VIDEO_TAG:this.length=16,a*=6;break;case i.AUDIO_TAG:this.length=13,this.keyFrame=!0;break;case i.METADATA_TAG:this.length=29,this.keyFrame=!0;break;default:throw new Error("Unknown FLV tag type")}this.bytes=new Uint8Array(a),this.view=new DataView(this.bytes.buffer),this.bytes[0]=t,this.position=this.length,this.keyFrame=e,this.pts=0,this.dts=0,this.writeBytes=function(t,e,i){var r=e||0;e=r+(i=i||t.byteLength);n(this,i),this.bytes.set(t.subarray(r,e),this.position),this.position+=i,this.length=Math.max(this.length,this.position)},this.writeByte=function(t){n(this,1),this.bytes[this.position]=t,this.position++,this.length=Math.max(this.length,this.position)},this.writeShort=function(t){n(this,2),this.view.setUint16(this.position,t),this.position+=2,this.length=Math.max(this.length,this.position)},this.negIndex=function(t){return this.bytes[this.length-t]},this.nalUnitSize=function(){return 0===o?0:this.length-(o+4)},this.startNalUnit=function(){if(0<o)throw new Error("Attempted to create new NAL wihout closing the old one");o=this.length,this.length+=4,this.position=this.length},this.endNalUnit=function(t){var e,n;this.length===o+4?this.length-=4:0<o&&(n=this.length-(e=o+4),this.position=o,this.view.setUint32(this.position,n),this.position=this.length,t&&t.push(this.bytes.subarray(e,e+n))),o=0},this.writeMetaDataDouble=function(t,e){var i;if(n(this,2+t.length+9),this.view.setUint16(this.position,t.length),this.position+=2,"width"===t)this.bytes.set(s,this.position),this.position+=5;else if("height"===t)this.bytes.set(u,this.position),this.position+=6;else if("videocodecid"===t)this.bytes.set(c,this.position),this.position+=12;else for(i=0;i<t.length;i++)this.bytes[this.position]=t.charCodeAt(i),this.position++;this.position++,this.view.setFloat64(this.position,e),this.position+=8,this.length=Math.max(this.length,this.position),++o},this.writeMetaDataBoolean=function(t,e){var i;for(n(this,2),this.view.setUint16(this.position,t.length),this.position+=2,i=0;i<t.length;i++)n(this,1),this.bytes[this.position]=t.charCodeAt(i),this.position++;n(this,2),this.view.setUint8(this.position,1),this.position++,this.view.setUint8(this.position,e?1:0),this.position++,this.length=Math.max(this.length,this.position),++o},this.finalize=function(){var t,r;switch(this.bytes[0]){case i.VIDEO_TAG:this.bytes[11]=7|(this.keyFrame||e?16:32),this.bytes[12]=e?0:1,t=this.pts-this.dts,this.bytes[13]=(16711680&t)>>>16,this.bytes[14]=(65280&t)>>>8,this.bytes[15]=(255&t)>>>0;break;case i.AUDIO_TAG:this.bytes[11]=175,this.bytes[12]=e?0:1;break;case i.METADATA_TAG:this.position=11,this.view.setUint8(this.position,2),this.position++,this.view.setUint16(this.position,10),this.position+=2,this.bytes.set([111,110,77,101,116,97,68,97,116,97],this.position),this.position+=10,this.bytes[this.position]=8,this.position++,this.view.setUint32(this.position,o),this.position=this.length,this.bytes.set([0,0,9],this.position),this.position+=3,this.length=this.position}return r=this.length-11,this.bytes[1]=(16711680&r)>>>16,this.bytes[2]=(65280&r)>>>8,this.bytes[3]=(255&r)>>>0,this.bytes[4]=(16711680&this.dts)>>>16,this.bytes[5]=(65280&this.dts)>>>8,this.bytes[6]=(255&this.dts)>>>0,this.bytes[7]=(4278190080&this.dts)>>>24,this.bytes[8]=0,this.bytes[9]=0,this.bytes[10]=0,n(this,4),this.view.setUint32(this.length,this.length),this.length+=4,this.position+=4,this.bytes=this.bytes.subarray(0,this.length),this.frameTime=i.frameTime(this.bytes),this}};i.AUDIO_TAG=8,i.VIDEO_TAG=9,i.METADATA_TAG=18,i.isAudioFrame=function(t){return i.AUDIO_TAG===t[0]},i.isVideoFrame=function(t){return i.VIDEO_TAG===t[0]},i.isMetaData=function(t){return i.METADATA_TAG===t[0]},i.isKeyFrame=function(t){return i.isVideoFrame(t)?23===t[11]:!!i.isAudioFrame(t)||!!i.isMetaData(t)},i.frameTime=function(t){var e=t[4]<<16;return e|=t[5]<<8,e|=t[6]<<0,e|t[7]<<24},t.exports=i},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},d92a:function(t,e,n){var i=n("5ca1");i(i.P,"Function",{bind:n("f0c1")})},d961:function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=n("c31d"),a=(i=n("d282"),n("ba31")),s=n("1325"),u=n("565f"),c=(n=Object(i.a)("search"),i=n[0],n[1]),l=n[2];function h(t,e,n,i){var h={attrs:i.data.attrs,on:Object(o.a)({},i.listeners,{keypress:function(t){13===t.keyCode&&(Object(s.c)(t),Object(a.a)(i,"search",e.value)),Object(a.a)(i,"keypress",t)}})},d=Object(a.b)(i);return d.attrs=void 0,t("div",r()([{class:c({"show-action":e.showAction}),style:{background:e.background}},d]),[null==n.left?void 0:n.left(),t("div",{class:c("content",e.shape)},[function(){if(n.label||e.label)return t("div",{class:c("label")},[n.label?n.label():e.label])}(),t(u.a,r()([{attrs:{type:"search",border:!1,value:e.value,leftIcon:e.leftIcon,rightIcon:e.rightIcon,clearable:e.clearable,clearTrigger:e.clearTrigger},scopedSlots:{"left-icon":n["left-icon"],"right-icon":n["right-icon"]}},h]))]),function(){if(e.showAction)return t("div",{class:c("action"),attrs:{role:"button",tabindex:"0"},on:{click:function(){n.action||(Object(a.a)(i,"input",""),Object(a.a)(i,"cancel"))}}},[n.action?n.action():e.actionText||l("cancel")])}()])}h.props={value:String,label:String,rightIcon:String,actionText:String,background:String,showAction:Boolean,clearTrigger:String,shape:{type:String,default:"square"},clearable:{type:Boolean,default:!0},leftIcon:{type:String,default:"search"}},e.a=i(h)},d9ab:function(t,e,n){var i=n("5ca1");n=Math.atanh;i(i.S+i.F*!(n&&1/n(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},da02:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("1114")},db4d:function(t,e,n){"use strict";(function(t){if(n("66f9"),n("f3a2"),n("fd5a"),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");function e(t,e,n){t[e]||Object.defineProperty(t,e,{writable:!0,configurable:!0,value:n})}t._babelPolyfill=!0,e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(t){[][t]&&e(Array,t,Function.call.bind([][t]))}))}).call(this,n("c8ba"))},db85:function(t,e,n){"use strict";function i(t){var e=[];return function t(n){n.forEach((function(n){e.push(n),n.componentInstance&&t(n.componentInstance.$children.map((function(t){return t.$vnode}))),n.children&&t(n.children)}))}(t),e}function r(t,e){var n;e=e.$vnode.componentOptions;e&&e.children&&(n=i(e.children),t.sort((function(t,e){return n.indexOf(t.$vnode)-n.indexOf(e.$vnode)})))}n.d(e,"a",(function(){return r}))},db97:function(t,e,n){var i=n("5ca1");i(i.S,"Object",{is:n("83a1")})},db9a:function(t,e,n){var i=n("5ca1");i(i.P+i.R,"Set",{toJSON:n("44b8")("Set")})},dc0f:function(t,e,n){"use strict";var i=n("d282"),r=n("b1d2"),o=n("9884"),a=n("ad06"),s=(n=Object(i.a)("step"),i=n[0],n[1]);e.a=i({mixins:[Object(o.a)("vanSteps")],computed:{status:function(){return this.index<this.parent.active?"finish":this.index===+this.parent.active?"process":void 0},active:function(){return"process"===this.status},lineStyle:function(){return"finish"===this.status?{background:this.parent.activeColor}:{background:this.parent.inactiveColor}},titleStyle:function(){return this.active?{color:this.parent.activeColor}:this.status?void 0:{color:this.parent.inactiveColor}}},methods:{genCircle:function(){var t=this.$createElement,e=this.parent,n=e.activeIcon,i=e.iconPrefix,r=e.activeColor,o=e.finishIcon;e=e.inactiveIcon;return this.active?this.slots("active-icon")||t(a.a,{class:s("icon","active"),attrs:{name:n,color:r,classPrefix:i}}):(n=this.slots("finish-icon"),"finish"===this.status&&(o||n)?n||t(a.a,{class:s("icon","finish"),attrs:{name:o,color:r,classPrefix:i}}):(r=this.slots("inactive-icon"),e||r?r||t(a.a,{class:s("icon"),attrs:{name:e,classPrefix:i}}):t("i",{class:s("circle"),style:this.lineStyle})))},onClickStep:function(){this.parent.$emit("click-step",this.index)}},render:function(){var t=arguments[0],e=this.status,n=this.active,i=this.parent.direction;return t("div",{class:[r.a,s([i,((i={})[e]=e,i)])]},[t("div",{class:s("title",{active:n}),style:this.titleStyle,on:{click:this.onClickStep}},[this.slots()]),t("div",{class:s("circle-container"),on:{click:this.onClickStep}},[this.genCircle()]),t("div",{class:s("line"),style:this.lineStyle})])}})},dc22:function(t,e,n){},dc3e:function(t,e,n){"use strict";var i=n("ae75"),r=n("256f").handleRollover,o={};function a(t){var e,n={pid:null,table:null},r={};for(e in function(t,e){for(var n,i=0,r=188;r<t.byteLength;)if(71!==t[i]||71!==t[r])i++,r++;else{switch(n=t.subarray(i,r),o.ts.parseType(n,e.pid)){case"pat":e.pid||(e.pid=o.ts.parsePat(n));break;case"pmt":e.table||(e.table=o.ts.parsePmt(n))}if(e.pid&&e.table)return;i+=188,r+=188}}(t,n),n.table)if(n.table.hasOwnProperty(e))switch(n.table[e]){case i.H264_STREAM_TYPE:r.video=[],function(t,e,n){for(var i,r,a,s,u,c,l,h=0,d=188,f=!1,p={data:[],size:0};d<t.byteLength;)if(71!==t[h]||71!==t[d])h++,d++;else{if(i=t.subarray(h,d),"pes"===o.ts.parseType(i,e.pid)&&(r=o.ts.parsePesType(i,e.table),a=o.ts.parsePayloadUnitStartIndicator(i),"video"===r&&(a&&!f&&(s=o.ts.parsePesTime(i))&&(s.type="video",n.video.push(s),f=!0),!n.firstKeyFrame))){if(a&&0!==p.size){for(u=new Uint8Array(p.size),c=0;p.data.length;)l=p.data.shift(),u.set(l,c),c+=l.byteLength;o.ts.videoPacketContainsKeyFrame(u)&&(n.firstKeyFrame=o.ts.parsePesTime(u),n.firstKeyFrame.type="video"),p.size=0}p.data.push(i),p.size+=i.byteLength}if(f&&n.firstKeyFrame)break;h+=188,d+=188}for(h=(d=t.byteLength)-188,f=!1;0<=h;)if(71!==t[h]||71!==t[d])h--,d--;else{if(i=t.subarray(h,d),"pes"===o.ts.parseType(i,e.pid)&&(r=o.ts.parsePesType(i,e.table),a=o.ts.parsePayloadUnitStartIndicator(i),"video"===r&&a&&(s=o.ts.parsePesTime(i))&&(s.type="video",n.video.push(s),f=!0)),f)break;h-=188,d-=188}}(t,n,r),0===r.video.length&&delete r.video;break;case i.ADTS_STREAM_TYPE:r.audio=[],function(t,e,n){for(var i,r,a,s,u=0,c=188,l=!1;c<t.byteLength;)if(71!==t[u]||71!==t[c])u++,c++;else{if(i=t.subarray(u,c),"pes"===o.ts.parseType(i,e.pid)&&(r=o.ts.parsePesType(i,e.table),a=o.ts.parsePayloadUnitStartIndicator(i),"audio"===r&&a&&(s=o.ts.parsePesTime(i))&&(s.type="audio",n.audio.push(s),l=!0)),l)break;u+=188,c+=188}for(u=(c=t.byteLength)-188,l=!1;0<=u;)if(71!==t[u]||71!==t[c])u--,c--;else{if(i=t.subarray(u,c),"pes"===o.ts.parseType(i,e.pid)&&(r=o.ts.parsePesType(i,e.table),a=o.ts.parsePayloadUnitStartIndicator(i),"audio"===r&&a&&(s=o.ts.parsePesTime(i))&&(s.type="audio",n.audio.push(s),l=!0)),l)break;u-=188,c-=188}}(t,n,r),0===r.audio.length&&delete r.audio}return r}o.ts=n("423e"),o.aac=n("9946"),t.exports={inspect:function(t,e){var n,i,s=((s=t)[0]==="I".charCodeAt(0)&&s[1]==="D".charCodeAt(0)&&s[2]==="3".charCodeAt(0)?function(t){for(var e,n=!1,i=0,r=null,a=null,s=0,u=0;3<=t.length-u;){switch(o.aac.parseType(t,u)){case"timed-metadata":if(t.length-u<10){n=!0;break}if((s=o.aac.parseId3TagSize(t,u))>t.length){n=!0;break}null===a&&(e=t.subarray(u,u+s),a=o.aac.parseAacTimestamp(e)),u+=s;break;case"audio":if(t.length-u<7){n=!0;break}if((s=o.aac.parseAdtsSize(t,u))>t.length){n=!0;break}null===r&&(e=t.subarray(u,u+s),r=o.aac.parseSampleRate(e)),i++,u+=s;break;default:u++}if(n)return null}if(null===r||null===a)return null;var c=9e4/r;return{audio:[{type:"audio",dts:a,pts:a},{type:"audio",dts:a+1024*i*c,pts:a+1024*i*c}]}}:a)(t);return s&&(s.audio||s.video)?(t=e,(e=s).audio&&e.audio.length&&(void 0===(n=t)&&(n=e.audio[0].dts),e.audio.forEach((function(t){t.dts=r(t.dts,n),t.pts=r(t.pts,n),t.dtsTime=t.dts/9e4,t.ptsTime=t.pts/9e4}))),e.video&&e.video.length&&(void 0===(i=t)&&(i=e.video[0].dts),e.video.forEach((function(t){t.dts=r(t.dts,i),t.pts=r(t.pts,i),t.dtsTime=t.dts/9e4,t.ptsTime=t.pts/9e4})),e.firstKeyFrame&&((e=e.firstKeyFrame).dts=r(e.dts,i),e.pts=r(e.pts,i),e.dtsTime=e.dts/9e4,e.ptsTime=e.dts/9e4)),s):null}}},dcbc:function(t,e,n){var i=n("2aba");t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},dd8a:function(t,e,n){n("28e4")("Set")},ddac:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o,a=n("fc85");function s(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this));return t.buffer="",t}(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)})(s,((o=a)&&o.__esModule?o:{default:o}).default),i(s,[{key:"push",value:function(t){var e=void 0;for(this.buffer+=t,e=this.buffer.indexOf("\n");-1<e;e=this.buffer.indexOf("\n"))this.trigger("data",this.buffer.substring(0,e)),this.buffer=this.buffer.substring(e+1)}}]),i=s,e.default=i},df1b:function(t,e,n){var i=n("5ca1"),r=n("d8e8"),o=n("cb7c"),a=(n("7726").Reflect||{}).apply,s=Function.apply;i(i.S+i.F*!n("79e5")((function(){a((function(){}))})),"Reflect",{apply:function(t,e,n){return t=r(t),n=o(n),a?a(t,e,n):s.call(t,e,n)}})},dfaf:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i={icon:String,size:String,center:Boolean,isLink:Boolean,required:Boolean,iconPrefix:String,titleStyle:null,titleClass:null,valueClass:null,labelClass:null,title:[Number,String],value:[Number,String],label:[Number,String],arrowDirection:String,border:{type:Boolean,default:!0},clickable:{type:Boolean,default:null}}},e044:function(t,e,n){"use strict";function i(t,e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var o,a,s,u,c=t.masterPlaylistController_.fastQualityChange_.bind(t.masterPlaylistController_);e.attributes.RESOLUTION&&(o=e.attributes.RESOLUTION,this.width=o.width,this.height=o.height),this.bandwidth=e.attributes.BANDWIDTH,this.id=n,this.enabled=(a=t.playlists,s=e.uri,u=c,function(t){var e=a.master.playlists[s],n=(0,r.isIncompatible)(e),i=(0,r.isEnabled)(e);return void 0===t?i:(t?delete e.disabled:e.disabled=!0,t===i||n||(u(),t?a.trigger("renditionenabled"):a.trigger("renditiondisabled")),t)})}Object.defineProperty(e,"__esModule",{value:!0});var r=n("d61a");e.default=function(t){var e=t.playlists;t.representations=function(){return e.master.playlists.filter((function(t){return!(0,r.isIncompatible)(t)})).map((function(e,n){return new i(t,e,e.uri)}))}},t.exports=e.default},e0b8:function(t,e,n){"use strict";var i=n("7726"),r=n("5ca1"),o=n("2aba"),a=n("dcbc"),s=n("67ab"),u=n("4a59"),c=n("f605"),l=n("d3f4"),h=n("79e5"),d=n("5cc5"),f=n("7f20"),p=n("5dbc");t.exports=function(t,e,n,g,m,v){function y(t){var e=x[t];o(x,t,"delete"==t||"has"==t?function(t){return!(v&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return v&&!l(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})}var b,_,T,S,w,k=i[t],C=k,E=m?"set":"add",x=C&&C.prototype,O={};return"function"==typeof C&&(v||x.forEach&&!h((function(){(new C).entries().next()})))?(_=(b=new C)[E](v?{}:-0,1)!=b,T=h((function(){b.has(1)})),S=d((function(t){new C(t)})),w=!v&&h((function(){for(var t=new C,e=5;e--;)t[E](e,e);return!t.has(-0)})),S||(((C=e((function(e,n){return c(e,C,t),e=p(new k,e,C),null!=n&&u(n,m,e[E],e),e}))).prototype=x).constructor=C),(T||w)&&(y("delete"),y("has"),m&&y("get")),(w||_)&&y(E),v&&x.clear&&delete x.clear):(C=g.getConstructor(e,t,m,E),a(C.prototype,n),s.NEED=!0),f(C,t),O[t]=C,r(r.G+r.W+r.F*(C!=k),O),v||g.setStrong(C,t,m),C}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e1fa:function(t,e,n){},e206:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={TIME_BETWEEN_CHUNKS:1,BYTES_PER_CHUNK:32768},t.exports=e.default},e27c:function(t,e,n){"use strict";var i=n("d282"),r=n("78eb"),o=n("9884"),a=(n=Object(i.a)("radio-group"),i=n[0],n[1]);e.a=i({mixins:[Object(o.b)("vanRadio"),r.a],props:{value:null,disabled:Boolean,direction:String,checkedColor:String,iconSize:[Number,String]},watch:{value:function(t){this.$emit("change",t)}},render:function(){return(0,arguments[0])("div",{class:a([this.direction]),attrs:{role:"radiogroup"}},[this.slots()])}})},e394:function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=n("38fd"),a=i.has,s=i.get,u=i.key,c=function(t,e,n){return a(t,e,n)?s(t,e,n):(e=o(e),null!==e?c(t,e,n):void 0)};i.exp({getMetadata:function(t,e){return c(t,r(e),arguments.length<3?void 0:u(arguments[2]))}})},e3d0:function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=i.key,a=i.set;i.exp({defineMetadata:function(t,e,n,i){a(t,e,r(n),o(i))}})},e41f:function(t,e,n){"use strict";var i=n("d282"),r=n("a142"),o=n("6605"),a=n("ad06"),s=(n=Object(i.a)("popup"),i=n[0],n[1]);e.a=i({mixins:[Object(o.a)()],props:{round:Boolean,duration:[Number,String],closeable:Boolean,transition:String,safeAreaInsetBottom:Boolean,closeIcon:{type:String,default:"cross"},closeIconPosition:{type:String,default:"top-right"},position:{type:String,default:"center"},overlay:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!0}},beforeCreate:function(){function t(t){return function(n){return e.$emit(t,n)}}var e=this;this.onClick=t("click"),this.onOpened=t("opened"),this.onClosed=t("closed")},methods:{onClickCloseIcon:function(t){this.$emit("click-close-icon",t),this.close()}},render:function(){var t=arguments[0];if(this.shouldRender){var e=this.round,n=this.position,i=this.duration,o="center"===n,u=this.transition||(o?"van-fade":"van-popup-slide-"+n),c={};return Object(r.c)(i)&&(c[o?"animationDuration":"transitionDuration"]=i+"s"),t("transition",{attrs:{appear:this.transitionAppear,name:u},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[t("div",{directives:[{name:"show",value:this.value}],style:c,class:s(((e={round:e})[n]=n,e["safe-area-inset-bottom"]=this.safeAreaInsetBottom,e)),on:{click:this.onClick}},[this.slots(),this.closeable&&t(a.a,{attrs:{role:"button",tabindex:"0",name:this.closeIcon},class:s("close-icon",this.closeIconPosition),on:{click:this.onClickCloseIcon}})])])}}})},e4f7:function(t,e,n){var i=n("4bf8"),r=n("38fd");n("5eda")("getPrototypeOf",(function(){return function(t){return r(i(t))}}))},e543:function(t,e,n){},e647:function(t,e,n){"use strict";t.exports=function(t){return t.subarray(0,t.byteLength-t[t.byteLength-1])}},e804:function(t,e,n){"use strict";var i=n("5ca1"),r=n("f1ae");i(i.S+i.F*n("79e5")((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);t<e;)r(n,t,arguments[t++]);return n.length=e,n}})},e853:function(t,e,n){var i=n("d3f4"),r=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return r(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!r(e.prototype)||(e=void 0),i(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},e956:function(t,e,n){"use strict";var i=n("5ca1"),r=n("c45f"),o=n("4bf8"),a=n("9def"),s=n("d8e8"),u=n("cd1c");i(i.P,"Array",{flatMap:function(t){var e,n,i=o(this);return s(t),e=a(i.length),n=u(i,0),r(n,i,i,e,0,1,t,arguments[1]),n}}),n("9c6c")("flatMap")},e9b3:function(t,e,n){(function(e){e="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{},t.exports=e}).call(this,n("c8ba"))},e9d2:function(t,e){t.exports=Math.scale||function(t,e,n,i,r){return 0===arguments.length||t!=t||e!=e||n!=n||i!=i||r!=r?NaN:t===1/0||t===-1/0?t:(t-e)*(r-i)/(n-e)+i}},ea8e:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u}));var i,r=n("a142"),o=n("90c6");function a(t){if(Object(r.c)(t))return t=String(t),Object(o.b)(t)?t+"px":t}function s(t){return+(t=t.replace(/rem/g,""))*(i||(t=(t=document.documentElement).style.fontSize||window.getComputedStyle(t).fontSize,i=parseFloat(t)),i)}function u(t){if("number"==typeof t)return t;if(r.b){if(-1!==t.indexOf("rem"))return s(t);if(-1!==t.indexOf("vw"))return+t.replace(/vw/g,"")*window.innerWidth/100;if(-1!==t.indexOf("vh"))return+t.replace(/vh/g,"")*window.innerHeight/100}return parseFloat(t)}},ebd6:function(t,e,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n;t=i(t).constructor;return void 0===t||null==(n=i(t)[o])?e:r(n)}},ebde:function(t,e,n){var i=n("11e9"),r=n("5ca1"),o=n("cb7c");r(r.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return i.f(o(t),e)}})},ec30:function(t,e,n){"use strict";var i,r,o,a,s,u,c,l,h,d,f,p,g,m,v,y,b,_,T,S,w,k,C,E,x,O,A,P,j,I,L,M,D,B,R,N,F,U,$,V,H,z,W,q,G,X,Y,K,Q,J,Z,tt,et,nt,it,rt,ot,at,st,ut,ct,lt,ht,dt,ft,pt,gt,mt,vt,yt,bt,_t,Tt,St,wt,kt,Ct,Et,xt,Ot,At,Pt,jt,It,Lt,Mt,Dt,Bt,Rt,Nt,Ft,Ut,$t;n("9e1e")?(i=n("2d00"),r=n("7726"),o=n("79e5"),a=n("5ca1"),s=n("0f88"),u=n("ed0b"),c=n("9b43"),l=n("f605"),h=n("4630"),d=n("32e9"),f=n("dcbc"),p=n("4588"),g=n("9def"),m=n("09fa"),v=n("77f1"),y=n("6a99"),b=n("69a8"),_=n("23c6"),T=n("d3f4"),S=n("4bf8"),w=n("33a4"),k=n("2aeb"),C=n("38fd"),E=n("9093").f,x=n("27ee"),Ft=n("ca5a"),At=n("2b4c"),Ut=n("0a49"),O=n("c366"),A=n("ebd6"),P=n("cadf"),j=n("84f2"),I=n("5cc5"),L=n("7a56"),M=n("36bd"),D=n("ba92"),B=n("86cc"),R=n("11e9"),N=B.f,F=R.f,U=r.RangeError,$=r.TypeError,V=r.Uint8Array,z="Shared"+(H="ArrayBuffer"),W="BYTES_PER_ELEMENT",q="prototype",n=Array[q],G=u.ArrayBuffer,X=u.DataView,Y=Ut(0),K=Ut(2),Q=Ut(3),J=Ut(4),Z=Ut(5),tt=Ut(6),et=O(!0),nt=O(!1),it=P.values,rt=P.keys,ot=P.entries,at=n.lastIndexOf,st=n.reduce,ut=n.reduceRight,ct=n.join,lt=n.sort,ht=n.slice,dt=n.toString,ft=n.toLocaleString,pt=At("iterator"),gt=At("toStringTag"),mt=Ft("typed_constructor"),vt=Ft("def_constructor"),n=s.CONSTR,yt=s.TYPED,bt=s.VIEW,_t="Wrong length!",Tt=Ut(1,(function(t,e){return Et(A(t,t[vt]),e)})),St=o((function(){return 1===new V(new Uint16Array([1]).buffer)[0]})),wt=!!V&&!!V[q].set&&o((function(){new V(1).set({})})),kt=function(t,e){if(t=p(t),t<0||t%e)throw U("Wrong offset!");return t},Ct=function(t){if(T(t)&&yt in t)return t;throw $(t+" is not a typed array!")},Et=function(t,e){if(!T(t)||!(mt in t))throw $("It is not a typed array constructor!");return new t(e)},xt=function(t,e){return Ot(A(t,t[vt]),e)},Ot=function(t,e){for(var n=0,i=e.length,r=Et(t,i);n<i;)r[n]=e[n++];return r},At=function(t,e,n){N(t,e,{get:function(){return this._d[n]}})},Pt=function(t){var e,n,i,r,o,a,s=S(t),u=arguments.length,l=1<u?arguments[1]:void 0,h=void 0!==l;t=x(s);if(null!=t&&!w(t)){for(a=t.call(s),i=[],e=0;!(o=a.next()).done;e++)i.push(o.value);s=i}for(h&&2<u&&(l=c(l,arguments[2],2)),e=0,n=g(s.length),r=Et(this,n);e<n;e++)r[e]=h?l(s[e],e):s[e];return r},jt=function(){for(var t=0,e=arguments.length,n=Et(this,e);t<e;)n[t]=arguments[t++];return n},It=!!V&&o((function(){ft.call(new V(1))})),Lt=function(){return ft.apply(It?ht.call(Ct(this)):Ct(this),arguments)},Mt={copyWithin:function(t,e){return D.call(Ct(this),t,e,2<arguments.length?arguments[2]:void 0)},every:function(t){return J(Ct(this),t,1<arguments.length?arguments[1]:void 0)},fill:function(t){return M.apply(Ct(this),arguments)},filter:function(t){return xt(this,K(Ct(this),t,1<arguments.length?arguments[1]:void 0))},find:function(t){return Z(Ct(this),t,1<arguments.length?arguments[1]:void 0)},findIndex:function(t){return tt(Ct(this),t,1<arguments.length?arguments[1]:void 0)},forEach:function(t){Y(Ct(this),t,1<arguments.length?arguments[1]:void 0)},indexOf:function(t){return nt(Ct(this),t,1<arguments.length?arguments[1]:void 0)},includes:function(t){return et(Ct(this),t,1<arguments.length?arguments[1]:void 0)},join:function(t){return ct.apply(Ct(this),arguments)},lastIndexOf:function(t){return at.apply(Ct(this),arguments)},map:function(t){return Tt(Ct(this),t,1<arguments.length?arguments[1]:void 0)},reduce:function(t){return st.apply(Ct(this),arguments)},reduceRight:function(t){return ut.apply(Ct(this),arguments)},reverse:function(){for(var t,e=Ct(this).length,n=Math.floor(e/2),i=0;i<n;)t=this[i],this[i++]=this[--e],this[e]=t;return this},some:function(t){return Q(Ct(this),t,1<arguments.length?arguments[1]:void 0)},sort:function(t){return lt.call(Ct(this),t)},subarray:function(t,e){var n=Ct(this),i=n.length;t=v(t,i);return new(A(n,n[vt]))(n.buffer,n.byteOffset+t*n.BYTES_PER_ELEMENT,g((void 0===e?i:v(e,i))-t))}},Dt=function(t,e){return xt(this,ht.call(Ct(this),t,e))},Bt=function(t){Ct(this);var e=kt(arguments[1],1),n=this.length,i=S(t),r=g(i.length),o=0;if(n<r+e)throw U(_t);for(;o<r;)this[e+o]=i[o++]},Rt={entries:function(){return ot.call(Ct(this))},keys:function(){return rt.call(Ct(this))},values:function(){return it.call(Ct(this))}},Nt=function(t,e){return T(t)&&t[yt]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Ft=function(t,e){return Nt(t,e=y(e,!0))?h(2,t[e]):F(t,e)},Ut=function(t,e,n){return!(Nt(t,e=y(e,!0))&&T(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?N(t,e,n):(t[e]=n.value,t)},n||(R.f=Ft,B.f=Ut),a(a.S+a.F*!n,"Object",{getOwnPropertyDescriptor:Ft,defineProperty:Ut}),o((function(){dt.call({})}))&&(dt=ft=function(){return ct.call(this)}),$t=f({},Mt),f($t,Rt),d($t,pt,Rt.values),f($t,{slice:Dt,set:Bt,constructor:function(){},toString:dt,toLocaleString:Lt}),At($t,"buffer","b"),At($t,"byteOffset","o"),At($t,"byteLength","l"),At($t,"length","e"),N($t,gt,{get:function(){return this[yt]}}),t.exports=function(t,e,n,u){function c(t,n){N(t,n,{get:function(){return function(t,n){return t=t._d,t.v[f](n*e+t.o,St)}(this,n)},set:function(t){return function(t,n,i){t=t._d,u&&(i=(i=Math.round(i))<0?0:255<i?255:255&i),t.v[p](n*e+t.o,i,St)}(this,n,t)},enumerable:!0})}var h=t+((u=!!u)?"Clamped":"")+"Array",f="get"+t,p="set"+t,v=r[h],y=v||{},b=v&&C(v),S=!v||!s.ABV,w=(t={},v&&v[q]);S?(v=n((function(t,n,i,r){l(t,v,h,"_d");var o,a,s=0,u=0;if(T(n)){if(!(n instanceof G||(f=_(n))==H||f==z))return yt in n?Ot(v,n):Pt.call(v,n);var f=n;u=kt(i,e),i=n.byteLength;if(void 0===r){if(i%e)throw U(_t);if((o=i-u)<0)throw U(_t)}else if(i<(o=g(r)*e)+u)throw U(_t);a=o/e}else a=m(n),f=new G(o=a*e);for(d(t,"_d",{b:f,o:u,l:o,e:a,v:new X(f)});s<a;)c(t,s++)})),w=v[q]=k($t),d(w,"constructor",v)):o((function(){v(1)}))&&o((function(){new v(-1)}))&&I((function(t){new v,new v(null),new v(1.5),new v(t)}),!0)||(v=n((function(t,n,i,r){var o;return l(t,v,h),T(n)?n instanceof G||(o=_(n))==H||o==z?void 0!==r?new y(n,kt(i,e),r):void 0!==i?new y(n,kt(i,e)):new y(n):yt in n?Ot(v,n):Pt.call(v,n):new y(m(n))})),Y(b!==Function.prototype?E(y).concat(E(b)):E(y),(function(t){t in v||d(v,t,y[t])})),v[q]=w,i||(w.constructor=v)),S=w[pt],n=!!S&&("values"==S.name||null==S.name),b=Rt.values,d(v,mt,!0),d(w,yt,h),d(w,bt,!0),d(w,vt,v),(u?new v(1)[gt]==h:gt in w)||N(w,gt,{get:function(){return h}}),t[h]=v,a(a.G+a.W+a.F*(v!=y),t),a(a.S,h,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*o((function(){y.of.call(v,1)})),h,{from:Pt,of:jt}),W in w||d(w,W,e),a(a.P,h,Mt),L(h),a(a.P+a.F*wt,h,{set:Bt}),a(a.P+a.F*!n,h,Rt),i||w.toString==dt||(w.toString=dt),a(a.P+a.F*o((function(){new v(1).slice()})),h,{slice:Dt}),a(a.P+a.F*(o((function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()}))||!o((function(){w.toLocaleString.call([1,2])}))),h,{toLocaleString:Lt}),j[h]=n?S:b,i||n||d(w,pt,b)}):t.exports=function(){}},ec39:function(t,e,n){var i=n("37a7"),r=n("cb7c"),o=i.has,a=i.key;i.exp({hasOwnMetadata:function(t,e){return o(t,r(e),arguments.length<3?void 0:a(arguments[2]))}})},ec8c:function(t,e,n){"use strict";n("3cd0"),n("25bb"),n("f8c2")},ed0b:function(t,e,n){"use strict";var i=n("7726"),r=n("9e1e"),o=n("2d00"),a=n("0f88"),s=n("32e9"),u=n("dcbc"),c=n("79e5"),l=n("f605"),h=n("4588"),d=n("9def"),f=n("09fa"),p=n("9093").f,g=n("86cc").f,m=n("36bd"),v=n("7f20"),y="ArrayBuffer",b="DataView",_="prototype",T="Wrong index!",S=i[y],w=i[b],k=(n=i.Math,i.RangeError),C=i.Infinity,E=S,x=n.abs,O=n.pow,A=n.floor,P=n.log,j=n.LN2,I=(i="byteLength",n="byteOffset",r?"_b":"buffer"),L=r?"_l":i,M=r?"_o":n;function D(t,e,n){var i,r,o=new Array(n),a=8*n-e-1,s=(1<<a)-1,u=s>>1,c=23===e?O(2,-24)-O(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=x(t))!=t||t===C?(r=t!=t?1:0,i=s):(i=A(P(t)/j),t*(n=O(2,-i))<1&&(i--,n*=2),2<=(t+=1<=i+u?c/n:c*O(2,1-u))*n&&(i++,n/=2),s<=i+u?(r=0,i=s):1<=i+u?(r=(t*n-1)*O(2,e),i+=u):(r=t*O(2,u-1)*O(2,e),i=0));8<=e;o[l++]=255&r,r/=256,e-=8);for(i=i<<e|r,a+=e;0<a;o[l++]=255&i,i/=256,a-=8);return o[--l]|=128*h,o}function B(t,e,n){var i,r=8*n-e-1,o=(1<<r)-1,a=o>>1,s=r-7,u=n-1,c=(n=t[u--],127&n);for(n>>=7;0<s;c=256*c+t[u],u--,s-=8);for(i=c&(1<<-s)-1,c>>=-s,s+=e;0<s;i=256*i+t[u],u--,s-=8);if(0===c)c=1-a;else{if(c===o)return i?NaN:n?-C:C;i+=O(2,e),c-=a}return(n?-1:1)*i*O(2,c-e)}function R(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function F(t){return[255&t,t>>8&255]}function U(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function $(t){return D(t,52,8)}function V(t){return D(t,23,4)}function H(t,e,n){g(t[_],e,{get:function(){return this[n]}})}function z(t,e,n,i){var r=f(+n);if(r+e>t[L])throw k(T);return n=t[I]._b,t=r+t[M],e=n.slice(t,t+e),i?e:e.reverse()}function W(t,e,n,i,r,o){if(n=f(+n),n+e>t[L])throw k(T);for(var a=t[I]._b,s=n+t[M],u=i(+r),c=0;c<e;c++)a[s+c]=u[o?c:e-c-1]}if(a.ABV){if(!c((function(){S(1)}))||!c((function(){new S(-1)}))||c((function(){return new S,new S(1.5),new S(NaN),S.name!=y}))){for(var q,G=(S=function(t){return l(this,S),new E(f(t))})[_]=E[_],X=p(E),Y=0;X.length>Y;)(q=X[Y++])in S||s(S,q,E[q]);o||(G.constructor=S)}G=new w(new S(2));var K=w[_].setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||u(w[_],{setInt8:function(t,e){K.call(this,t,e<<24>>24)},setUint8:function(t,e){K.call(this,t,e<<24>>24)}},!0)}else S=function(t){l(this,S,y),t=f(t),this._b=m.call(new Array(t),0),this[L]=t},w=function(t,e,n){l(this,w,b),l(t,S,b);var i=t[L];e=h(e);if(e<0||i<e)throw k("Wrong offset!");if(i<e+(n=void 0===n?i-e:d(n)))throw k("Wrong length!");this[I]=t,this[M]=e,this[L]=n},r&&(H(S,i,"_l"),H(w,"buffer","_b"),H(w,i,"_l"),H(w,n,"_o")),u(w[_],{getInt8:function(t){return z(this,1,t)[0]<<24>>24},getUint8:function(t){return z(this,1,t)[0]},getInt16:function(t){return t=z(this,2,t,arguments[1]),(t[1]<<8|t[0])<<16>>16},getUint16:function(t){return t=z(this,2,t,arguments[1]),t[1]<<8|t[0]},getInt32:function(t){return R(z(this,4,t,arguments[1]))},getUint32:function(t){return R(z(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return B(z(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return B(z(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){W(this,1,t,N,e)},setUint8:function(t,e){W(this,1,t,N,e)},setInt16:function(t,e){W(this,2,t,F,e,arguments[2])},setUint16:function(t,e){W(this,2,t,F,e,arguments[2])},setInt32:function(t,e){W(this,4,t,U,e,arguments[2])},setUint32:function(t,e){W(this,4,t,U,e,arguments[2])},setFloat32:function(t,e){W(this,4,t,V,e,arguments[2])},setFloat64:function(t,e){W(this,8,t,$,e,arguments[2])}});v(S,y),v(w,b),s(w[_],a.VIEW,!0),e[y]=S,e[b]=w},ed4d:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],i=!0,r=!1,o=void 0;try{for(var a,s=t[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);i=!0);}catch(t){r=!0,o=t}finally{try{!i&&s.return&&s.return()}finally{if(r)throw o}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function r(t,e){for(var n=t.cues,i=0;i<n.length;i++){var r=n[i];if(e>=r.adStartTime&&e<=r.adEndTime)return r}return null}var o,a=n("be09"),s=(o=a)&&o.__esModule?o:{default:o};e.default={updateAdCues:function(t,e){if(t.segments)for(var n=arguments.length<=2||void 0===arguments[2]?0:arguments[2],o=void 0,a=0;a<t.segments.length;a++){var u,c,l,h=t.segments[a];if(o=o||r(e,n+h.duration/2)){if("cueIn"in h){o.endTime=n,o.adEndTime=n,n+=h.duration,o=null;continue}if(n<o.endTime){n+=h.duration;continue}o.endTime+=h.duration}else"cueOut"in h&&((o=new s.default.VTTCue(n,n+h.duration,h.cueOut)).adStartTime=n,o.adEndTime=n+parseFloat(h.cueOut),e.addCue(o)),"cueOutCont"in h&&(l=c=void 0,u=h.cueOutCont.split("/").map(parseFloat),c=(u=i(u,2))[0],l=u[1],(o=new s.default.VTTCue(n,n+h.duration,"")).adStartTime=n-c,o.adEndTime=o.adStartTime+l,e.addCue(o));n+=h.duration}},findAdCue:r},t.exports=e.default},ed50:function(t,e,n){"use strict";var i=n("5ca1"),r=n("2e08");n=n("a25f"),n=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);i(i.P+i.F*n,"String",{padEnd:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0,!1)}})},ed7e:function(t,e,n){n=n("5ca1"),n(n.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:0<t}})},ee1d:function(t,e,n){n=n("5ca1"),n(n.S,"Number",{isNaN:function(t){return t!=t}})},ee83:function(t,e,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("68ed"),a=n("482d"),s=n("96b0"),u=n("1b10"),c=n("f253"),l=Object(i.a)({},u.b,{value:null,filter:Function,columnsOrder:Array,showToolbar:{type:Boolean,default:!0},formatter:{type:Function,default:function(t,e){return e}}}),h={data:function(){return{innerValue:this.formatValue(this.value)}},computed:{originColumns:function(){var t=this;return this.ranges.map((function(e){var n=e.type,i=e.range;e=Object(s.c)(i[1]-i[0]+1,(function(t){return Object(o.b)(i[0]+t)}));return{type:n,values:e=t.filter?t.filter(n,e):e}}))},columns:function(){var t=this;return this.originColumns.map((function(e){return{values:e.values.map((function(n){return t.formatter(e.type,n)}))}}))}},watch:{columns:"updateColumnValue",innerValue:function(t,e){e?this.$emit("input",t):this.$emit("input",null)}},mounted:function(){var t=this;this.updateColumnValue(),this.$nextTick((function(){t.updateInnerValue()}))},methods:{getPicker:function(){return this.$refs.picker},onConfirm:function(){this.$emit("input",this.innerValue),this.$emit("confirm",this.innerValue)},onCancel:function(){this.$emit("cancel")}},render:function(){var t=this,e=arguments[0],n={};return Object.keys(u.b).forEach((function(e){n[e]=t[e]})),e(c.a,{ref:"picker",attrs:{columns:this.columns,readonly:this.readonly},scopedSlots:this.$scopedSlots,on:{change:this.onChange,confirm:this.onConfirm,cancel:this.onCancel},props:Object(i.a)({},n)})}},d=(0,Object(r.a)("time-picker")[0])({mixins:[h],props:Object(i.a)({},l,{minHour:{type:[Number,String],default:0},maxHour:{type:[Number,String],default:23},minMinute:{type:[Number,String],default:0},maxMinute:{type:[Number,String],default:59}}),computed:{ranges:function(){return[{type:"hour",range:[+this.minHour,+this.maxHour]},{type:"minute",range:[+this.minMinute,+this.maxMinute]}]}},watch:{filter:"updateInnerValue",minHour:function(){var t=this;this.$nextTick((function(){t.updateInnerValue()}))},maxHour:function(t){var e=this.innerValue.split(":"),n=e[0];e=e[1];t<=n?(this.innerValue=this.formatValue(t+":"+e),this.updateColumnValue()):this.updateInnerValue()},minMinute:"updateInnerValue",maxMinute:function(t){var e=this.innerValue.split(":"),n=e[0];t<=e[1]?(this.innerValue=this.formatValue(n+":"+t),this.updateColumnValue()):this.updateInnerValue()},value:function(t){(t=this.formatValue(t))!==this.innerValue&&(this.innerValue=t,this.updateColumnValue())}},methods:{formatValue:function(t){var e=(t=t||Object(o.b)(this.minHour)+":"+Object(o.b)(this.minMinute)).split(":");t=e[0],e=e[1];return(t=Object(o.b)(Object(a.b)(t,this.minHour,this.maxHour)))+":"+Object(o.b)(Object(a.b)(e,this.minMinute,this.maxMinute))},updateInnerValue:function(){var t=this.getPicker().getIndexes(),e=t[0],n=t[1],i=this.originColumns;t=i[0],i=i[1],t=t.values[e]||t.values[0],i=i.values[n]||i.values[0];this.innerValue=this.formatValue(t+":"+i),this.updateColumnValue()},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.formatter,n=this.innerValue.split(":"),i=[e("hour",n[0]),e("minute",n[1])];this.$nextTick((function(){t.getPicker().setValues(i)}))}}}),f=n("bad1"),p=(new Date).getFullYear(),g=(0,Object(r.a)("date-picker")[0])({mixins:[h],props:Object(i.a)({},l,{type:{type:String,default:"datetime"},minDate:{type:Date,default:function(){return new Date(p-10,0,1)},validator:f.a},maxDate:{type:Date,default:function(){return new Date(p+10,11,31)},validator:f.a}}),watch:{filter:"updateInnerValue",minDate:function(){var t=this;this.$nextTick((function(){t.updateInnerValue()}))},maxDate:function(t){this.innerValue.valueOf()>=t.valueOf()?this.innerValue=t:this.updateInnerValue()},value:function(t){(t=this.formatValue(t))&&t.valueOf()!==this.innerValue.valueOf()&&(this.innerValue=t)}},computed:{ranges:function(){var t,e=this.getBoundary("max",this.innerValue||this.minDate),n=e.maxYear,i=e.maxDate,r=e.maxMonth,o=e.maxHour,a=e.maxMinute,s=this.getBoundary("min",this.innerValue||this.minDate),u=s.minYear,c=(e=s.minDate,[{type:"year",range:[u,n]},{type:"month",range:[s.minMonth,r]},{type:"day",range:[e,i]},{type:"hour",range:[s.minHour,o]},{type:"minute",range:[s.minMinute,a]}]);switch(this.type){case"date":c=c.slice(0,3);break;case"year-month":c=c.slice(0,2);break;case"month-day":c=c.slice(1,3);break;case"datehour":c=c.slice(0,4)}return this.columnsOrder&&(t=this.columnsOrder.concat(c.map((function(t){return t.type}))),c.sort((function(e,n){return t.indexOf(e.type)-t.indexOf(n.type)}))),c}},methods:{formatValue:function(t){return Object(f.a)(t)?(t=Math.max(t,this.minDate.getTime()),t=Math.min(t,this.maxDate.getTime()),new Date(t)):null},getBoundary:function(t,e){var n=this[t+"Date"],i=n.getFullYear(),r=1,o=1,a=0,u=0;return"max"===t&&(r=12,o=Object(s.a)(e.getFullYear(),e.getMonth()+1),a=23,u=59),e.getFullYear()===i&&(r=n.getMonth()+1,e.getMonth()+1===r&&(o=n.getDate(),e.getDate()===o&&(a=n.getHours(),e.getHours()===a&&(u=n.getMinutes())))),(n={})[t+"Year"]=i,n[t+"Month"]=r,n[t+"Date"]=o,n[t+"Hour"]=a,n[t+"Minute"]=u,n},updateInnerValue:function(){function t(t){var e=0;i.originColumns.forEach((function(n,i){t===n.type&&(e=i)}));var n=i.originColumns[e].values;return Object(s.b)(n[o[e]])}var e,n,i=this,r=this.type,o=this.getPicker().getIndexes(),a="month-day"===r?(e=(this.innerValue||this.minDate).getFullYear(),n=t("month"),t("day")):(e=t("year"),n=t("month"),"year-month"===r?1:t("day")),u=Object(s.a)(e,n);a=u<a?u:a;var c=0;u=0;"datehour"===r&&(c=t("hour")),"datetime"===r&&(c=t("hour"),u=t("minute")),u=new Date(e,n-1,a,c,u),this.innerValue=this.formatValue(u)},onChange:function(t){var e=this;this.updateInnerValue(),this.$nextTick((function(){e.$nextTick((function(){e.$emit("change",t)}))}))},updateColumnValue:function(){var t=this,e=this.innerValue||this.minDate,n=this.formatter,i=this.originColumns.map((function(t){switch(t.type){case"year":return n("year",""+e.getFullYear());case"month":return n("month",Object(o.b)(e.getMonth()+1));case"day":return n("day",Object(o.b)(e.getDate()));case"hour":return n("hour",Object(o.b)(e.getHours()));case"minute":return n("minute",Object(o.b)(e.getMinutes()));default:return null}}));this.$nextTick((function(){t.getPicker().setValues(i)}))}}}),m=(l=Object(r.a)("datetime-picker"),r=l[0],l[1]);e.a=r({props:Object(i.a)({},d.props,g.props),methods:{getPicker:function(){return this.$refs.root.getPicker()}},render:function(){return(0,arguments[0])("time"===this.type?d:g,{ref:"root",class:m(),scopedSlots:this.$scopedSlots,props:Object(i.a)({},this.$props),on:Object(i.a)({},this.$listeners)})}})},eec7:function(t,e,n){"use strict";var i=n("e9b3"),r=n("8362"),o=n("6444"),a=n("53a8");function s(t,e,n){var i=t;return r(e)?(n=e,"string"==typeof t&&(i={uri:t})):i=a(e,{uri:t}),i.callback=n,i}function u(t,e,n){return c(e=s(t,e,n))}function c(t){if(void 0===t.callback)throw new Error("callback argument missing");var e=!1,n=function(n,i,r){e||(e=!0,t.callback(n,i,r))};function i(){var t=void 0;t=h.response||h.responseText||function(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}(h);if(v)try{t=JSON.parse(t)}catch(t){}return t}function r(t){return clearTimeout(l),(t=t instanceof Error?t:new Error(""+(t||"Unknown XMLHttpRequest Error"))).statusCode=0,n(t,y)}function a(){if(!c){clearTimeout(l);var e=t.useXDR&&void 0===h.status?200:1223===h.status?204:h.status,r=y,a=null;return 0!==e?(r={body:i(),statusCode:e,method:f,headers:{},url:d,rawRequest:h},h.getAllResponseHeaders&&(r.headers=o(h.getAllResponseHeaders()))):a=new Error("Internal XMLHttpRequest Error"),n(a,r,r.body)}}var s,c,l,h=t.xhr||null,d=(h=h||new(t.cors||t.useXDR?u.XDomainRequest:u.XMLHttpRequest)).url=t.uri||t.url,f=h.method=t.method||"GET",p=t.body||t.data,g=h.headers=t.headers||{},m=!!t.sync,v=!1,y={body:void 0,headers:{},statusCode:0,method:f,url:d,rawRequest:h};if("json"in t&&!1!==t.json&&(v=!0,g.accept||g.Accept||(g.Accept="application/json"),"GET"!==f&&"HEAD"!==f&&(g["content-type"]||g["Content-Type"]||(g["Content-Type"]="application/json"),p=JSON.stringify(!0===t.json?p:t.json))),h.onreadystatechange=function(){4===h.readyState&&setTimeout(a,0)},h.onload=a,h.onerror=r,h.onprogress=function(){},h.onabort=function(){c=!0},h.ontimeout=r,h.open(f,d,!m,t.username,t.password),m||(h.withCredentials=!!t.withCredentials),!m&&0<t.timeout&&(l=setTimeout((function(){var t;c||(c=!0,h.abort("timeout"),(t=new Error("XMLHttpRequest timeout")).code="ETIMEDOUT",r(t))}),t.timeout)),h.setRequestHeader)for(s in g)g.hasOwnProperty(s)&&h.setRequestHeader(s,g[s]);else if(t.headers&&!function(t){for(var e in t)if(t.hasOwnProperty(e))return;return 1}(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(h.responseType=t.responseType),"beforeSend"in t&&"function"==typeof t.beforeSend&&t.beforeSend(h),h.send(p||null),h}(t.exports=u).XMLHttpRequest=i.XMLHttpRequest||function(){},u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:i.XDomainRequest,function(t,e){for(var n=0;n<t.length;n++)e(t[n])}(["get","put","post","patch","head","delete"],(function(t){u["delete"===t?"del":t]=function(e,n,i){return(n=s(e,n,i)).method=t.toUpperCase(),c(n)}}))},ef34:function(t,e,n){(function(e){var i=void 0!==e?e:"undefined"!=typeof window?window:{},r=(e=n(2),"undefined"!=typeof document?document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"])||(i["__GLOBAL_DOCUMENT_CACHE@4"]=e));t.exports=r}).call(this,n("c8ba"))},ef44:function(t,e,n){"use strict";n("3cd0"),n("1812"),n("1a44"),n("acc2"),n("5e5e"),n("25bb"),n("968a"),n("7f98"),n("fb78")},efa0:function(t,e,n){"use strict";var i=n("2638"),r=n.n(i),o=(i=n("d282"),n("ba31")),a=n("ad06"),s=n("b650"),u=(n=Object(i.a)("submit-bar"),i=n[0],n[1]),c=n[2];function l(t,e,n,i){var l=e.tip,h=e.price,d=e.tipIcon;return t("div",r()([{class:u({unfit:!e.safeAreaInsetBottom})},Object(o.b)(i)]),[n.top&&n.top(),function(){if(n.tip||l)return t("div",{class:u("tip")},[d&&t(a.a,{class:u("tip-icon"),attrs:{name:d}}),l&&t("span",{class:u("tip-text")},[l]),n.tip&&n.tip()])}(),t("div",{class:u("bar")},[n.default&&n.default(),function(){if("number"==typeof h){var n=(h/100).toFixed(e.decimalLength).split("."),i=e.decimalLength?"."+n[1]:"";return t("div",{style:{textAlign:e.textAlign||""},class:u("text")},[t("span",[e.label||c("label")]),t("span",{class:u("price")},[e.currency,t("span",{class:u("price","integer")},[n[0]]),i]),e.suffixLabel&&t("span",{class:u("suffix-label")},[e.suffixLabel])])}}(),n.button?n.button():t(s.a,{attrs:{round:!0,type:e.buttonType,text:e.loading?"":e.buttonText,color:e.buttonColor,loading:e.loading,disabled:e.disabled},class:u("button",e.buttonType),on:{click:function(){Object(o.a)(i,"submit")}}})])])}l.props={tip:String,label:String,price:Number,tipIcon:String,loading:Boolean,disabled:Boolean,textAlign:String,buttonText:String,buttonColor:String,suffixLabel:String,safeAreaInsetBottom:{type:Boolean,default:!0},decimalLength:{type:[Number,String],default:2},currency:{type:String,default:"¥"},buttonType:{type:String,default:"danger"}},e.a=i(l)},f0c1:function(t,e,n){"use strict";var i=n("d8e8"),r=n("d3f4"),o=n("31f4"),a=[].slice,s={};t.exports=Function.bind||function(t){var e=i(this),n=a.call(arguments,1),u=function(){var i=n.concat(a.call(arguments));return this instanceof u?function(t,e,n){if(!(e in s)){for(var i=[],r=0;r<e;r++)i[r]="a["+r+"]";s[e]=Function("F,a","return new F("+i.join(",")+")")}return s[e](t,n)}(e,i.length,i):o(e,i,t)};return r(e.prototype)&&(u.prototype=e.prototype),u}},f1ae:function(t,e,n){"use strict";var i=n("86cc"),r=n("4630");t.exports=function(t,e,n){e in t?i.f(t,e,r(0,n)):t[e]=n}},f24e:function(t,e,n){"use strict";function i(t,e){return t=t.toString(16),"00".substring(0,2-t.length)+t+(e%2?" ":"")}function r(t){return 32<=t&&t<126?String.fromCharCode(t):"."}Object.defineProperty(e,"__esModule",{value:!0});var o={hexDump:function(t){for(var e=Array.prototype.slice.call(t),n="",o=0;o<e.length/16;o++)n+=e.slice(16*o,16*o+16).map(i).join("")+" "+e.slice(16*o,16*o+16).map(r).join("")+"\n";return n},tagDump:function(t){return o.hexDump(t.bytes)},textRanges:function(t){var e,n,i="",r=void 0;for(r=0;r<t.length;r++)i+=(n=r,(e=t).start(n)+"-"+e.end(n)+" ");return i},createTransferableMessage:function(t){var e={};return Object.keys(t).forEach((function(n){var i=t[n];ArrayBuffer.isView(i)?e[n]={bytes:i.buffer,byteOffset:i.byteOffset,byteLength:i.byteLength}:e[n]=i})),e},initSegmentId:function(t){var e=t.byterange||{length:1/0,offset:0};return[e.length,e.offset,t.resolvedUri].join(",")}};e.default=o,t.exports=e.default},f253:function(t,e,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("1325"),a=n("b1d2"),s=n("1b10"),u=n("ea8e"),c=n("543e"),l=n("2638"),h=n.n(l),d=n("a142");function f(t){if(!Object(d.c)(t))return t;if(Array.isArray(t))return t.map(f);if("object"!=typeof t)return t;var e={};return Object.keys(t).forEach((function(n){e[n]=f(t[n])})),e}var p=n("482d"),g=n("3875"),m=(l=Object(r.a)("picker-column"),n=l[0],l[1]);function v(t){return Object(d.e)(t)&&t.disabled}var y=n({mixins:[g.a],props:{valueKey:String,readonly:Boolean,allowHtml:Boolean,className:String,itemHeight:Number,defaultIndex:Number,swipeDuration:[Number,String],visibleItemCount:[Number,String],initialOptions:{type:Array,default:function(){return[]}}},data:function(){return{offset:0,duration:0,options:f(this.initialOptions),currentIndex:this.defaultIndex}},created:function(){this.$parent.children&&this.$parent.children.push(this),this.setIndex(this.currentIndex)},mounted:function(){this.bindTouchEvent(this.$el)},destroyed:function(){var t=this.$parent.children;t&&t.splice(t.indexOf(this),1)},watch:{initialOptions:"setOptions",defaultIndex:function(t){this.setIndex(t)}},computed:{count:function(){return this.options.length},baseOffset:function(){return this.itemHeight*(this.visibleItemCount-1)/2}},methods:{setOptions:function(t){JSON.stringify(t)!==JSON.stringify(this.options)&&(this.options=f(t),this.setIndex(this.defaultIndex))},onTouchStart:function(t){this.readonly||(this.touchStart(t),this.moving&&(t=this.$refs.wrapper,t=(t=(t=window.getComputedStyle(t)).transform||t.webkitTransform).slice(7,t.length-1).split(", ")[5],t=Number(t),this.offset=Math.min(0,t-this.baseOffset)),this.startOffset=this.offset,this.duration=0,this.transitionEndTrigger=null,this.touchStartTime=Date.now(),this.momentumOffset=this.startOffset)},onTouchMove:function(t){this.readonly||(this.touchMove(t),"vertical"===this.direction&&(this.moving=!0,Object(o.c)(t,!0)),this.offset=Object(p.b)(this.startOffset+this.deltaY,-this.count*this.itemHeight,this.itemHeight),300<(t=Date.now())-this.touchStartTime&&(this.touchStartTime=t,this.momentumOffset=this.offset))},onTouchEnd:function(){var t,e,n=this;this.readonly||(t=this.offset-this.momentumOffset,(e=Date.now()-this.touchStartTime)<300&&15<Math.abs(t)?this.momentum(t,e):(e=this.getIndexByOffset(this.offset),this.duration=200,this.setIndex(e,!0),setTimeout((function(){n.moving=!1}),0)))},onTransitionEnd:function(){this.stopMomentum()},onClickItem:function(t){this.moving||this.readonly||(this.transitionEndTrigger=null,this.duration=200,this.setIndex(t,!0))},adjustIndex:function(t){for(var e=t=Object(p.b)(t,0,this.count);e<this.count;e++)if(!v(this.options[e]))return e;for(var n=t-1;0<=n;n--)if(!v(this.options[n]))return n},getOptionText:function(t){return Object(d.e)(t)&&this.valueKey in t?t[this.valueKey]:t},setIndex:function(t,e){function n(){t!==i.currentIndex&&(i.currentIndex=t,e&&i.$emit("change",t))}var i=this,r=-(t=this.adjustIndex(t)||0)*this.itemHeight;this.moving&&r!==this.offset?this.transitionEndTrigger=n:n(),this.offset=r},setValue:function(t){for(var e=this.options,n=0;n<e.length;n++)if(this.getOptionText(e[n])===t)return this.setIndex(n)},getValue:function(){return this.options[this.currentIndex]},getIndexByOffset:function(t){return Object(p.b)(Math.round(-t/this.itemHeight),0,this.count-1)},momentum:function(t,e){e=Math.abs(t/e),t=this.offset+e/.003*(t<0?-1:1),t=this.getIndexByOffset(t),this.duration=+this.swipeDuration,this.setIndex(t,!0)},stopMomentum:function(){this.moving=!1,this.duration=0,this.transitionEndTrigger&&(this.transitionEndTrigger(),this.transitionEndTrigger=null)},genOptions:function(){var t=this,e=this.$createElement,n={height:this.itemHeight+"px"};return this.options.map((function(i,r){var o=t.getOptionText(i),a=v(i),s={style:n,attrs:{role:"button",tabindex:a?-1:0},class:[m("item",{disabled:a,selected:r===t.currentIndex})],on:{click:function(){t.onClickItem(r)}}};a={class:"van-ellipsis",domProps:((a={})[t.allowHtml?"innerHTML":"textContent"]=o,a)};return e("li",h()([{},s]),[t.slots("option",i)||e("div",h()([{},a]))])}))}},render:function(){var t=arguments[0],e={transform:"translate3d(0, "+(this.offset+this.baseOffset)+"px, 0)",transitionDuration:this.duration+"ms",transitionProperty:this.duration?"all":"none"};return t("div",{class:[m(),this.className]},[t("ul",{ref:"wrapper",style:e,class:m("wrapper"),on:{transitionend:this.onTransitionEnd}},[this.genOptions()])])}}),b=(g=Object(r.a)("picker"),r=g[0],g[1]),_=g[2];e.a=r({props:Object(i.a)({},s.b,{defaultIndex:{type:[Number,String],default:0},columns:{type:Array,default:function(){return[]}},toolbarPosition:{type:String,default:"top"},valueKey:{type:String,default:"text"}}),data:function(){return{children:[],formattedColumns:[]}},computed:{itemPxHeight:function(){return this.itemHeight?Object(u.b)(this.itemHeight):s.a},dataType:function(){var t=this.columns[0]||{};return t.children?"cascade":t.values?"object":"text"}},watch:{columns:{handler:"format",immediate:!0}},methods:{format:function(){var t=this.columns,e=this.dataType;"text"===e?this.formattedColumns=[{values:t}]:"cascade"===e?this.formatCascade():this.formattedColumns=t},formatCascade:function(){for(var t=[],e={children:this.columns};e&&e.children;){for(var n,i=e.children,r=null!=(n=e.defaultIndex)?n:+this.defaultIndex;i[r]&&i[r].disabled;){if(!(r<i.length-1)){r=0;break}r++}t.push({values:e.children,className:e.className,defaultIndex:r}),e=i[r]}this.formattedColumns=t},emit:function(t){var e,n=this;"text"===this.dataType?this.$emit(t,this.getColumnValue(0),this.getColumnIndex(0)):(e=this.getValues(),"cascade"===this.dataType&&(e=e.map((function(t){return t[n.valueKey]}))),this.$emit(t,e,this.getIndexes()))},onCascadeChange:function(t){for(var e={children:this.columns},n=this.getIndexes(),i=0;i<=t;i++)e=e.children[n[i]];for(;e&&e.children;)this.setColumnValues(++t,e.children),e=e.children[e.defaultIndex||0]},onChange:function(t){var e,n=this;"cascade"===this.dataType&&this.onCascadeChange(t),"text"===this.dataType?this.$emit("change",this,this.getColumnValue(0),this.getColumnIndex(0)):(e=this.getValues(),"cascade"===this.dataType&&(e=e.map((function(t){return t[n.valueKey]}))),this.$emit("change",this,e,t))},getColumn:function(t){return this.children[t]},getColumnValue:function(t){return t=this.getColumn(t),t&&t.getValue()},setColumnValue:function(t,e){var n=this.getColumn(t);n&&(n.setValue(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnIndex:function(t){return(this.getColumn(t)||{}).currentIndex},setColumnIndex:function(t,e){var n=this.getColumn(t);n&&(n.setIndex(e),"cascade"===this.dataType&&this.onCascadeChange(t))},getColumnValues:function(t){return(this.children[t]||{}).options},setColumnValues:function(t,e){t=this.children[t],t&&t.setOptions(e)},getValues:function(){return this.children.map((function(t){return t.getValue()}))},setValues:function(t){var e=this;t.forEach((function(t,n){e.setColumnValue(n,t)}))},getIndexes:function(){return this.children.map((function(t){return t.currentIndex}))},setIndexes:function(t){var e=this;t.forEach((function(t,n){e.setColumnIndex(n,t)}))},confirm:function(){this.children.forEach((function(t){return t.stopMomentum()})),this.emit("confirm")},cancel:function(){this.emit("cancel")},genTitle:function(){var t=this.$createElement,e=this.slots("title");return e||(this.title?t("div",{class:["van-ellipsis",b("title")]},[this.title]):void 0)},genCancel:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:b("cancel"),on:{click:this.cancel}},[this.slots("cancel")||this.cancelButtonText||_("cancel")])},genConfirm:function(){return(0,this.$createElement)("button",{attrs:{type:"button"},class:b("confirm"),on:{click:this.confirm}},[this.slots("confirm")||this.confirmButtonText||_("confirm")])},genToolbar:function(){var t=this.$createElement;if(this.showToolbar)return t("div",{class:b("toolbar")},[this.slots()||[this.genCancel(),this.genTitle(),this.genConfirm()]])},genColumns:function(){var t=this.$createElement,e=this.itemPxHeight,n=e*this.visibleItemCount,i={height:e+"px"},r={height:n+"px"};e={backgroundSize:"100% "+(n-e)/2+"px"};return t("div",{class:b("columns"),style:r,on:{touchmove:o.c}},[this.genColumnItems(),t("div",{class:b("mask"),style:e}),t("div",{class:[a.g,b("frame")],style:i})])},genColumnItems:function(){var t=this,e=this.$createElement;return this.formattedColumns.map((function(n,i){var r;return e(y,{attrs:{readonly:t.readonly,valueKey:t.valueKey,allowHtml:t.allowHtml,className:n.className,itemHeight:t.itemPxHeight,defaultIndex:null!=(r=n.defaultIndex)?r:+t.defaultIndex,swipeDuration:t.swipeDuration,visibleItemCount:t.visibleItemCount,initialOptions:n.values},scopedSlots:{option:t.$scopedSlots.option},on:{change:function(){t.onChange(i)}}})}))}},render:function(t){return t("div",{class:b()},["top"===this.toolbarPosition?this.genToolbar():t(),this.loading?t(c.a,{class:b("loading")}):t(),this.slots("columns-top"),this.genColumns(),this.slots("columns-bottom"),"bottom"===this.toolbarPosition?this.genToolbar():t()])}})},f386:function(t,e,n){"use strict";n("386b")("small",(function(t){return function(){return t(this,"small","","")}}))},f3a2:function(t,e,n){(function(e){!function(e){"use strict";var n,i,r,o,a,s,u,c=Object.prototype,l=c.hasOwnProperty,h="function"==typeof Symbol?Symbol:{},d=h.iterator||"@@iterator",f=h.asyncIterator||"@@asyncIterator",p=h.toStringTag||"@@toStringTag",g="object"==typeof t,m=e.regeneratorRuntime;function v(t,e,u,c){var l,h,d,f;e=e&&e.prototype instanceof b?e:b,e=Object.create(e.prototype),c=new E(c||[]);return e._invoke=(l=t,h=u,d=c,f=i,function(t,e){if(f===o)throw new Error("Generator is already running");if(f===a){if("throw"===t)throw e;return O()}for(d.method=t,d.arg=e;;){var u=d.delegate;if(u){var c=function t(e,i){var r=e.iterator[i.method];if(r===n){if(i.delegate=null,"throw"===i.method){if(e.iterator.return&&(i.method="return",i.arg=n,t(e,i),"throw"===i.method))return s;i.method="throw",i.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}r=y(r,e.iterator,i.arg);return"throw"===r.type?(i.method="throw",i.arg=r.arg,i.delegate=null,s):(r=r.arg,r?r.done?(i[e.resultName]=r.value,i.next=e.nextLoc,"return"!==i.method&&(i.method="next",i.arg=n),i.delegate=null,s):r:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,s))}(u,d);if(c){if(c===s)continue;return c}}if("next"===d.method)d.sent=d._sent=d.arg;else if("throw"===d.method){if(f===i)throw f=a,d.arg;d.dispatchException(d.arg)}else"return"===d.method&&d.abrupt("return",d.arg);if(f=o,c=y(l,h,d),"normal"===c.type){if(f=d.done?a:r,c.arg!==s)return{value:c.arg,done:d.done}}else"throw"===c.type&&(f=a,d.method="throw",d.arg=c.arg)}}),e}function y(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function b(){}function _(){}function T(){}function S(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function w(t){function n(e,i,r,o){if(e=y(t[e],t,i),"throw"!==e.type){var a=e.arg;i=a.value;return i&&"object"==typeof i&&l.call(i,"__await")?Promise.resolve(i.__await).then((function(t){n("next",t,r,o)}),(function(t){n("throw",t,r,o)})):Promise.resolve(i).then((function(t){a.value=t,r(a)}),o)}o(e.arg)}var i;"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=function(t,e){function r(){return new Promise((function(i,r){n(t,e,i,r)}))}return i=i?i.then(r,r):r()}}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function x(t){if(t){var e=t[d];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1;e=function e(){for(;++i<t.length;)if(l.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=n,e.done=!0,e};return e.next=e}}return{next:O}}function O(){return{value:n,done:!0}}m?g&&(t.exports=m):((m=e.regeneratorRuntime=g?t.exports:{}).wrap=v,i="suspendedStart",r="suspendedYield",o="executing",a="completed",s={},(h={})[d]=function(){return this},(g=(g=Object.getPrototypeOf)&&g(g(x([]))))&&g!==c&&l.call(g,d)&&(h=g),u=T.prototype=b.prototype=Object.create(h),(_.prototype=u.constructor=T).constructor=_,T[p]=_.displayName="GeneratorFunction",m.isGeneratorFunction=function(t){return t="function"==typeof t&&t.constructor,!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},m.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,T):(t.__proto__=T,p in t||(t[p]="GeneratorFunction")),t.prototype=Object.create(u),t},m.awrap=function(t){return{__await:t}},S(w.prototype),w.prototype[f]=function(){return this},m.AsyncIterator=w,m.async=function(t,e,n,i){var r=new w(v(t,e,n,i));return m.isGeneratorFunction(e)?r:r.next().then((function(t){return t.done?t.value:r.next()}))},S(u),u[p]="Generator",u[d]=function(){return this},u.toString=function(){return"[object Generator]"},m.keys=function(t){var e,n=[];for(e in t)n.push(e);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},m.values=x,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,r){return a.type="throw",a.arg=t,e.next=i,r&&(e.method="next",e.arg=n),!!r}for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var s=l.call(o,"catchLoc"),u=l.call(o,"finallyLoc");if(s&&u){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(s){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&l.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}var o=(r=r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc?null:r)?r.completion:{};return o.type=t,o.arg=e,r?(this.method="next",this.next=r.finallyLoc,s):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),s},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),s}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i,r=n.completion;return"throw"===r.type&&(i=r.arg,C(n)),i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:x(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=n),s}})}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,n("c8ba"))},f3e2:function(t,e,n){"use strict";var i=n("5ca1"),r=n("0a49")(0);n=n("2f21")([].forEach,!0);i(i.P+i.F*!n,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},f400:function(t,e,n){"use strict";var i=n("c26b"),r=n("b39a");t.exports=n("e0b8")("Map",(function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}}),{get:function(t){return t=i.getEntry(r(this,"Map"),t),t&&t.v},set:function(t,e){return i.def(r(this,"Map"),0===t?0:t,e)}},i,!0)},f4ff:function(t,e,n){var i=n("5ca1"),r=Math.imul;i(i.S+i.F*n("79e5")((function(){return-5!=r(4294967295,5)||2!=r.length})),"Math",{imul:function(t,e){var n=+t,i=+e;t=65535&n,e=65535&i;return 0|t*e+((65535&n>>>16)*e+t*(65535&i>>>16)<<16>>>0)}})},f559:function(t,e,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];i(i.P+i.F*n("5147")(a),"String",{startsWith:function(t){var e=o(this,t,a),n=r(Math.min(1<arguments.length?arguments[1]:void 0,e.length));t=String(t);return s?s.call(e,t,n):e.slice(n,n+t.length)===t}})},f576:function(t,e,n){"use strict";var i=n("5ca1"),r=n("2e08");n=n("a25f"),n=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);i(i.P+i.F*n,"String",{padStart:function(t){return r(this,t,1<arguments.length?arguments[1]:void 0,!0)}})},f605:function(t,e){t.exports=function(t,e,n,i){if(!(t instanceof e)||void 0!==i&&i in t)throw TypeError(n+": incorrect invocation!");return t}},f631:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t){return t&&t.__esModule?t:{default:t}}var a=o(n("be09")),s=o(n("d3ae")),u=o(n("3d33")),c=["seeking","seeked","pause","playing","error"];i(l,[{key:"monitorCurrentTime_",value:function(){this.checkCurrentTime_(),this.checkCurrentTimeTimeout_&&a.default.clearTimeout(this.checkCurrentTimeTimeout_),this.checkCurrentTimeTimeout_=a.default.setTimeout(this.monitorCurrentTime_.bind(this),250)}},{key:"checkCurrentTime_",value:function(){if(this.tech_.seeking()&&this.fixesBadSeeks_())return this.consecutiveUpdates=0,void(this.lastRecordedTime=this.tech_.currentTime());if(!this.tech_.paused()&&!this.tech_.seeking()){var t=this.tech_.currentTime(),e=this.tech_.buffered();if(this.lastRecordedTime===t&&(!e.length||t+s.default.SAFE_TIME_DELTA>=e.end(e.length-1)))return this.techWaiting_();5<=this.consecutiveUpdates&&t===this.lastRecordedTime?(this.consecutiveUpdates++,this.waiting_()):t===this.lastRecordedTime?this.consecutiveUpdates++:(this.consecutiveUpdates=0,this.lastRecordedTime=t)}}},{key:"cancelTimer_",value:function(){this.consecutiveUpdates=0,this.timer_&&(this.logger_("cancelTimer_"),clearTimeout(this.timer_)),this.timer_=null}},{key:"fixesBadSeeks_",value:function(){var t=this.tech_.seeking(),e=this.seekable(),n=this.tech_.currentTime(),i=void 0;return t&&this.afterSeekableWindow_(e,n)&&(i=e.end(e.length-1)),void 0!==(i=t&&this.beforeSeekableWindow_(e,n)?e.start(0)+s.default.SAFE_TIME_DELTA:i)&&(this.logger_("Trying to seek outside of seekable at time "+n+" with seekable range "+s.default.printableRange(e)+". Seeking to "+i+"."),this.tech_.setCurrentTime(i),!0)}},{key:"waiting_",value:function(){var t,e;this.techWaiting_()||(t=this.tech_.currentTime(),e=this.tech_.buffered(),(e=s.default.findRange(e,t)).length&&t+3<=e.end(0)&&(this.cancelTimer_(),this.tech_.setCurrentTime(t),this.logger_("Stopped at "+t+" while inside a buffered region ["+e.start(0)+" -> "+e.end(0)+"]. Attempting to resume playback by seeking to the current time."),this.tech_.trigger({type:"usage",name:"hls-unknown-waiting"})))}},{key:"techWaiting_",value:function(){var t=this.seekable(),e=this.tech_.currentTime();if(this.tech_.seeking()&&this.fixesBadSeeks_())return!0;if(this.tech_.seeking()||null!==this.timer_)return!0;if(this.beforeSeekableWindow_(t,e)){var n=t.end(t.length-1);return this.logger_("Fell out of live window at time "+e+". Seeking to live point (seekable end) "+n),this.cancelTimer_(),this.tech_.setCurrentTime(n),this.tech_.trigger({type:"usage",name:"hls-live-resync"}),!0}return t=this.tech_.buffered(),n=s.default.findNextRange(t,e),this.videoUnderflow_(n,t,e)?(this.cancelTimer_(),this.tech_.setCurrentTime(e),this.tech_.trigger({type:"usage",name:"hls-video-underflow"}),!0):0<n.length&&(t=n.start(0)-e,this.logger_("Stopped at "+e+", setting timer for "+t+", seeking to "+n.start(0)),this.timer_=setTimeout(this.skipTheGap_.bind(this),1e3*t,e),!0)}},{key:"afterSeekableWindow_",value:function(t,e){return!!t.length&&e>t.end(t.length-1)+s.default.SAFE_TIME_DELTA}},{key:"beforeSeekableWindow_",value:function(t,e){return!!(t.length&&0<t.start(0)&&e<t.start(0)-s.default.SAFE_TIME_DELTA)}},{key:"videoUnderflow_",value:function(t,e,n){return!(0!==t.length||(e=this.gapFromVideoUnderflow_(e,n),!e))&&(this.logger_("Encountered a gap in video from "+e.start+" to "+e.end+". Seeking to current time "+n),!0)}},{key:"skipTheGap_",value:function(t){var e=this.tech_.buffered(),n=this.tech_.currentTime();e=s.default.findNextRange(e,n);this.cancelTimer_(),0!==e.length&&n===t&&(this.logger_("skipTheGap_:","currentTime:",n,"scheduled currentTime:",t,"nextRange start:",e.start(0)),this.tech_.setCurrentTime(e.start(0)+s.default.TIME_FUDGE_FACTOR),this.tech_.trigger({type:"usage",name:"hls-gap-skip"}))}},{key:"gapFromVideoUnderflow_",value:function(t,e){for(var n=s.default.findGaps(t),i=0;i<n.length;i++){var r=n.start(i),o=n.end(i);if(e-r<4&&2<e-r)return{start:r,end:o}}return null}},{key:"logger_",value:function(){}}]),i=l;function l(t){var e=this;function n(){return e.monitorCurrentTime_()}function i(){return e.techWaiting_()}function r(){return e.cancelTimer_()}function o(){return e.fixesBadSeeks_()}!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),this.tech_=t.tech,this.seekable=t.seekable,this.consecutiveUpdates=0,this.lastRecordedTime=null,this.timer_=null,this.checkCurrentTimeTimeout_=null,t.debug&&(this.logger_=u.default.log.bind(u.default,"playback-watcher ->")),this.logger_("initialize"),this.tech_.on("seekablechanged",o),this.tech_.on("waiting",i),this.tech_.on(c,r),this.tech_.on("canplay",n),this.dispose=function(){e.logger_("dispose"),e.tech_.off("seekablechanged",o),e.tech_.off("waiting",i),e.tech_.off(c,r),e.tech_.off("canplay",n),e.checkCurrentTimeTimeout_&&a.default.clearTimeout(e.checkCurrentTimeTimeout_),e.cancelTimer_()}}e.default=i,t.exports=e.default},f6a1:function(t,e,n){},f6b3:function(t,e,n){n=n("5ca1"),n(n.S,"Reflect",{has:function(t,e){return e in t}})},f751:function(t,e,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},f7fd:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t};function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var o=function(t,e,n){for(var i=!0;i;){var r=t,o=e,a=n;i=!1;null===r&&(r=Function.prototype);var s=Object.getOwnPropertyDescriptor(r,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;return void 0===u?void 0:u.call(a)}if(r=Object.getPrototypeOf(r),null===r)return;t=r,e=o,n=a,i=!0,s=void 0}};function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e,n){return!(!t||!e)&&(n=n===t.segments.length,t.endList&&"open"===e.readyState&&n)}function u(t){return"number"==typeof t&&isFinite(t)}function c(t,e,n){return"main"===t&&e&&n?n.containsAudio||n.containsVideo?e.containsVideo&&!n.containsVideo?"Only audio found in segment when we expected video. We can't switch to audio only from a stream that had video. To get rid of this message, please add codec information to the manifest.":!e.containsVideo&&n.containsVideo?"Video found in segment when we expected only audio. We can't switch to a stream with video from an audio only stream. To get rid of this message, please add codec information to the manifest.":null:"Neither audio nor video found in segment.":null}var l=a(n("d61a")),h=a(n("3d33")),d=a(n("6e1b")),f=a(n("56c8")),p=a(n("be09")),g=a(n("4ea2")),m=n("f24e"),v=n("81bc"),y=n("d3ae"),b=n("57db");function _(t,e,n){var i=void 0;i=t.length&&0<t.start(0)&&t.start(0)<e?t.start(0):e-30;return Math.min(i,e-n)}function T(t){var e=this,n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,T),o(Object.getPrototypeOf(T.prototype),"constructor",this).call(this),!t)throw new TypeError("Initialization settings are required");if("function"!=typeof t.currentTime)throw new TypeError("No currentTime getter specified");if(!t.mediaSource)throw new TypeError("No MediaSource specified");this.state="INIT",this.bandwidth=t.bandwidth,this.throughput={rate:0,count:0},this.roundTrip=NaN,this.resetStats_(),this.mediaIndex=null,this.hasPlayed_=t.hasPlayed,this.currentTime_=t.currentTime,this.seekable_=t.seekable,this.seeking_=t.seeking,this.duration_=t.duration,this.mediaSource_=t.mediaSource,this.hls_=t.hls,this.loaderType_=t.loaderType,this.startingMedia_=void 0,this.segmentMetadataTrack_=t.segmentMetadataTrack,this.goalBufferLength_=t.goalBufferLength,this.checkBufferTimeout_=null,this.error_=void 0,this.currentTimeline_=-1,this.pendingSegment_=null,this.mimeType_=null,this.sourceUpdater_=null,this.xhrOptions_=null,this.activeInitSegmentId_=null,this.initSegments_={},this.decrypter_=t.decrypter,this.syncController_=t.syncController,this.syncPoint_={segmentIndex:0,time:0},this.syncController_.on("syncinfoupdate",(function(){return e.trigger("syncinfoupdate")})),this.mediaSource_.addEventListener("sourceopen",(function(){return e.ended_=!1})),this.fetchAtBuffer_=!1,n.debug&&(this.logger_=h.default.log.bind(h.default,"segment-loader",this.loaderType_,"->"))}e.illegalMediaSwitch=c,e.safeBackBufferTrimTime=_,function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(T,h.default.EventTarget),i(T,[{key:"resetStats_",value:function(){this.mediaBytesTransferred=0,this.mediaRequests=0,this.mediaRequestsAborted=0,this.mediaRequestsTimedout=0,this.mediaRequestsErrored=0,this.mediaTransferDuration=0,this.mediaSecondsLoaded=0}},{key:"dispose",value:function(){this.state="DISPOSED",this.pause(),this.abort_(),this.sourceUpdater_&&this.sourceUpdater_.dispose(),this.resetStats_()}},{key:"abort",value:function(){"WAITING"===this.state?(this.abort_(),this.state="READY",this.paused()||this.monitorBuffer_()):this.pendingSegment_&&(this.pendingSegment_=null)}},{key:"abort_",value:function(){this.pendingSegment_&&this.pendingSegment_.abortRequests(),this.pendingSegment_=null}},{key:"error",value:function(t){return void 0!==t&&(this.error_=t),this.pendingSegment_=null,this.error_}},{key:"endOfStream",value:function(){this.ended_=!0,this.pause(),this.trigger("ended")}},{key:"buffered_",value:function(){return this.sourceUpdater_?this.sourceUpdater_.buffered():h.default.createTimeRanges()}},{key:"initSegment",value:function(t){var e=!(arguments.length<=1||void 0===arguments[1])&&arguments[1];if(!t)return null;var n=(0,m.initSegmentId)(t),i=this.initSegments_[n];return e&&!i&&t.bytes&&(this.initSegments_[n]=i={resolvedUri:t.resolvedUri,byterange:t.byterange,bytes:t.bytes}),i||t}},{key:"couldBeginLoading_",value:function(){return this.playlist_&&(this.sourceUpdater_||this.mimeType_&&"INIT"===this.state)&&!this.paused()}},{key:"load",value:function(){if(this.monitorBuffer_(),this.playlist_){if(this.syncController_.setDateTimeMapping(this.playlist_),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();!this.couldBeginLoading_()||"READY"!==this.state&&"INIT"!==this.state||(this.state="READY")}}},{key:"init_",value:function(){return this.state="READY",this.sourceUpdater_=new d.default(this.mediaSource_,this.mimeType_),this.resetEverything(),this.monitorBuffer_()}},{key:"playlist",value:function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if(t){var n=this.playlist_,i=this.pendingSegment_;if(this.playlist_=t,this.xhrOptions_=e,this.hasPlayed_()||(t.syncInfo={mediaSequence:t.mediaSequence,time:0}),this.trigger("syncinfoupdate"),"INIT"===this.state&&this.couldBeginLoading_())return this.init_();n&&n.uri===t.uri?(e=t.mediaSequence-n.mediaSequence,this.logger_("mediaSequenceDiff",e),null!==this.mediaIndex&&(this.mediaIndex-=e),i&&(i.mediaIndex-=e,0<=i.mediaIndex&&(i.segment=t.segments[i.mediaIndex])),this.syncController_.saveExpiredSegmentInfo(n,t)):null!==this.mediaIndex&&this.resyncLoader()}}},{key:"pause",value:function(){this.checkBufferTimeout_&&(p.default.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=null)}},{key:"paused",value:function(){return null===this.checkBufferTimeout_}},{key:"mimeType",value:function(t){this.mimeType_||(this.mimeType_=t,"INIT"===this.state&&this.couldBeginLoading_()&&this.init_())}},{key:"resetEverything",value:function(){this.ended_=!1,this.resetLoader(),this.remove(0,this.duration_()),this.trigger("reseteverything")}},{key:"resetLoader",value:function(){this.fetchAtBuffer_=!1,this.resyncLoader()}},{key:"resyncLoader",value:function(){this.mediaIndex=null,this.syncPoint_=null,this.abort()}},{key:"remove",value:function(t,e){this.sourceUpdater_&&this.sourceUpdater_.remove(t,e),(0,g.default)(t,e,this.segmentMetadataTrack_)}},{key:"monitorBuffer_",value:function(){this.checkBufferTimeout_&&p.default.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=p.default.setTimeout(this.monitorBufferTick_.bind(this),1)}},{key:"monitorBufferTick_",value:function(){"READY"===this.state&&this.fillBuffer_(),this.checkBufferTimeout_&&p.default.clearTimeout(this.checkBufferTimeout_),this.checkBufferTimeout_=p.default.setTimeout(this.monitorBufferTick_.bind(this),500)}},{key:"fillBuffer_",value:function(){var t;this.sourceUpdater_.updating()||(this.syncPoint_||(this.syncPoint_=this.syncController_.getSyncPoint(this.playlist_,this.duration_(),this.currentTimeline_,this.currentTime_())),(t=this.checkBuffer_(this.buffered_(),this.playlist_,this.mediaIndex,this.hasPlayed_(),this.currentTime_(),this.syncPoint_))&&(s(this.playlist_,this.mediaSource_,t.mediaIndex)?this.endOfStream():t.mediaIndex===this.playlist_.segments.length-1&&"ended"===this.mediaSource_.readyState&&!this.seeking_()||((t.timeline!==this.currentTimeline_||null!==t.startOfSegment&&t.startOfSegment<this.sourceUpdater_.timestampOffset())&&(this.syncController_.reset(),t.timestampOffset=t.startOfSegment),this.loadSegment_(t))))}},{key:"checkBuffer_",value:function(t,e,n,i,r,o){var a=0,s=void 0;if(t.length&&(a=t.end(t.length-1)),t=Math.max(0,a-r),!e.segments.length)return null;if(t>=this.goalBufferLength_())return null;if(!i&&1<=t)return null;if(this.logger_("checkBuffer_","mediaIndex:",n,"hasPlayed:",i,"currentTime:",r,"syncPoint:",o,"fetchAtBuffer:",this.fetchAtBuffer_,"bufferedTime:",t),null===o)return n=this.getSyncSegmentCandidate_(e),this.logger_("getSync","mediaIndex:",n),this.generateSegmentInfo_(e,n,null,!0);if(null===n)return n=(u=this.fetchAtBuffer_?l.default.getMediaInfoForTime(e,a,o.segmentIndex,o.time):l.default.getMediaInfoForTime(e,r,o.segmentIndex,o.time)).mediaIndex,s=u.startTime,this.logger_("getMediaIndexForTime","mediaIndex:",n,"startOfSegment:",s),this.generateSegmentInfo_(e,n,s,!1);this.logger_("walkForward","mediaIndex:",n+1);var u=e.segments[n];s=u&&u.end?u.end:a;return this.generateSegmentInfo_(e,n+1,s,!1)}},{key:"getSyncSegmentCandidate_",value:function(t){var e=this;if(-1===this.currentTimeline_)return 0;var n=t.segments.map((function(t,e){return{timeline:t.timeline,segmentIndex:e}})).filter((function(t){return t.timeline===e.currentTimeline_}));return n.length?n[Math.min(n.length-1,1)].segmentIndex:Math.max(t.segments.length-1,0)}},{key:"generateSegmentInfo_",value:function(t,e,n,i){if(e<0||e>=t.segments.length)return null;var r=t.segments[e];return{requestId:"segment-loader-"+Math.random(),uri:r.resolvedUri,mediaIndex:e,isSyncRequest:i,startOfSegment:n,playlist:t,bytes:null,encryptedBytes:null,timestampOffset:null,timeline:r.timeline,duration:r.duration,segment:r}}},{key:"abortRequestEarly_",value:function(t){if(this.hls_.tech_.paused()||!this.xhrOptions_.timeout||!this.playlist_.attributes.BANDWIDTH)return!1;if(Date.now()-(t.firstBytesReceivedAt||Date.now())<1e3)return!1;var e=this.currentTime_(),n=t.bandwidth,i=this.pendingSegment_.duration,r=l.default.estimateSegmentRequestTime(i,n,this.playlist_,t.bytesReceived);t=(0,y.timeUntilRebuffer)(this.buffered_(),e,this.hls_.tech_.playbackRate())-1;return!(r<=t)&&(n=(0,b.minRebufferMaxBandwidthSelector)({master:this.hls_.playlists.master,currentTime:e,bandwidth:n,duration:this.duration_(),segmentDuration:i,timeUntilRebuffer:t,currentTimeline:this.currentTimeline_,syncController:this.syncController_}),n?(i=r-t-n.rebufferingImpact,r=.5,t<=y.TIME_FUDGE_FACTOR&&(r=1),!(!n.playlist||n.playlist.uri===this.playlist_.uri||i<r)&&(this.bandwidth=n.playlist.attributes.BANDWIDTH*f.default.BANDWIDTH_VARIANCE+1,this.abort(),this.trigger("earlyabort"),!0)):void 0)}},{key:"handleProgress_",value:function(t,e){this.pendingSegment_&&e.requestId===this.pendingSegment_.requestId&&!this.abortRequestEarly_(e.stats)&&this.trigger("progress")}},{key:"loadSegment_",value:function(t){this.state="WAITING",this.pendingSegment_=t,this.trimBackBuffer_(t),t.abortRequests=(0,v.mediaSegmentRequest)(this.hls_.xhr,this.xhrOptions_,this.decrypter_,this.createSimplifiedSegmentObj_(t),this.handleProgress_.bind(this),this.segmentRequestFinished_.bind(this))}},{key:"trimBackBuffer_",value:function(t){var e=_(this.seekable_(),this.currentTime_(),this.playlist_.targetDuration||10);0<e&&this.remove(0,e)}},{key:"createSimplifiedSegmentObj_",value:function(t){var e=t.segment,n={resolvedUri:e.resolvedUri,byterange:e.byterange,requestId:t.requestId};return e.key&&(t=e.key.iv||new Uint32Array([0,0,0,t.mediaIndex+t.playlist.mediaSequence]),n.key={resolvedUri:e.key.resolvedUri,iv:t}),e.map&&(n.map=this.initSegment(e.map)),n}},{key:"segmentRequestFinished_",value:function(t,e){if(this.mediaRequests+=1,e.stats&&(this.mediaBytesTransferred+=e.stats.bytesReceived,this.mediaTransferDuration+=e.stats.roundTripTime),this.pendingSegment_){if(e.requestId===this.pendingSegment_.requestId){if(t)return this.pendingSegment_=null,this.state="READY",t.code===v.REQUEST_ERRORS.ABORTED?void(this.mediaRequestsAborted+=1):(this.pause(),t.code===v.REQUEST_ERRORS.TIMEOUT?(this.mediaRequestsTimedout+=1,this.bandwidth=1,this.roundTrip=NaN,void this.trigger("bandwidthupdate")):(this.mediaRequestsErrored+=1,this.error(t),void this.trigger("error")));this.bandwidth=e.stats.bandwidth,this.roundTrip=e.stats.roundTripTime,e.map&&(e.map=this.initSegment(e.map,!0)),this.processSegmentResponse_(e)}}else this.mediaRequestsAborted+=1}},{key:"processSegmentResponse_",value:function(t){var e=this.pendingSegment_;e.bytes=t.bytes,t.map&&(e.segment.map.bytes=t.map.bytes),e.endOfAllRequests=t.endOfAllRequests,this.handleSegment_()}},{key:"handleSegment_",value:function(){var t=this;if(this.pendingSegment_){var e=this.pendingSegment_,n=e.segment,i=this.syncController_.probeSegmentInfo(e);if(void 0===this.startingMedia_&&i&&(i.containsAudio||i.containsVideo)&&(this.startingMedia_={containsAudio:i.containsAudio,containsVideo:i.containsVideo}),i=c(this.loaderType_,this.startingMedia_,i),i)return this.error({message:i,blacklistDuration:1/0}),void this.trigger("error");if(e.isSyncRequest)return this.trigger("syncinfoupdate"),this.pendingSegment_=null,void(this.state="READY");null!==e.timestampOffset&&e.timestampOffset!==this.sourceUpdater_.timestampOffset()&&(this.sourceUpdater_.timestampOffset(e.timestampOffset),this.trigger("timestampoffset"));var r;i=this.syncController_.mappingForTimeline(e.timeline);null!==i&&this.trigger({type:"segmenttimemapping",mapping:i}),this.state="APPENDING",n.map&&(r=(0,m.initSegmentId)(n.map),t.activeInitSegmentId_&&t.activeInitSegmentId_===r||(i=t.initSegment(n.map),t.sourceUpdater_.appendBuffer(i.bytes,(function(){t.activeInitSegmentId_=r})))),e.byteLength=e.bytes.byteLength,"number"==typeof n.start&&"number"==typeof n.end?this.mediaSecondsLoaded+=n.end-n.start:this.mediaSecondsLoaded+=n.duration,this.sourceUpdater_.appendBuffer(e.bytes,this.handleUpdateEnd_.bind(this))}else this.state="READY"}},{key:"handleUpdateEnd_",value:function(){if(this.logger_("handleUpdateEnd_","segmentInfo:",this.pendingSegment_),!this.pendingSegment_)return this.state="READY",void(this.paused()||this.monitorBuffer_());var t=this.pendingSegment_,e=t.segment,n=null!==this.mediaIndex;this.pendingSegment_=null,this.recordThroughput_(t),this.addSegmentMetadataCue_(t),this.state="READY",this.mediaIndex=t.mediaIndex,this.fetchAtBuffer_=!0,this.currentTimeline_=t.timeline,this.trigger("syncinfoupdate"),e.end&&this.currentTime_()-e.end>3*t.playlist.targetDuration?this.resetEverything():(n&&this.trigger("bandwidthupdate"),this.trigger("progress"),s(t.playlist,this.mediaSource_,t.mediaIndex+1)&&this.endOfStream(),this.paused()||this.monitorBuffer_())}},{key:"recordThroughput_",value:function(t){var e=this.throughput.rate,n=Date.now()-t.endOfAllRequests+1;n=Math.floor(t.byteLength/n*8*1e3);this.throughput.rate+=(n-e)/++this.throughput.count}},{key:"logger_",value:function(){}},{key:"addSegmentMetadataCue_",value:function(t){var e,n,i;this.segmentMetadataTrack_&&(e=(n=t.segment).start,i=n.end,u(e)&&u(i)&&((0,g.default)(e,i,this.segmentMetadataTrack_),n=p.default.WebKitDataCue||p.default.VTTCue,t={bandwidth:t.playlist.attributes.BANDWIDTH,resolution:t.playlist.attributes.RESOLUTION,codecs:t.playlist.attributes.CODECS,byteLength:t.byteLength,uri:t.uri,timeline:t.timeline,playlist:t.playlist.uri,start:e,end:i},(i=new n(e,i,JSON.stringify(t))).value=t,this.segmentMetadataTrack_.addCue(i)))}}]),i=T,e.default=i},f8c2:function(t,e,n){},f97d:function(t,e){var n={"":!0,up:!0};function i(t){return"number"==typeof t&&0<=t&&t<=100}t.exports=function(){var t=100,e=3,r=0,o=100,a=0,s=100,u="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!i(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!=typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!i(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return r},set:function(t){if(!i(t))throw new Error("RegionAnchorY must be between 0 and 100.");r=t}},viewportAnchorY:{enumerable:!0,get:function(){return s},set:function(t){if(!i(t))throw new Error("ViewportAnchorY must be between 0 and 100.");s=t}},viewportAnchorX:{enumerable:!0,get:function(){return a},set:function(t){if(!i(t))throw new Error("ViewportAnchorX must be between 0 and 100.");a=t}},scroll:{enumerable:!0,get:function(){return u},set:function(t){if(t="string"==typeof(t=t)&&!!n[t.toLowerCase()]&&t.toLowerCase(),!1===t)throw new SyntaxError("An invalid or illegal string was specified.");u=t}}})}},f9ab:function(t,e,n){var i=n("5ca1"),r=n("96fb");i(i.S,"Math",{cbrt:function(t){return r(t=+t)*Math.pow(Math.abs(t),1/3)}})},fa08:function(t,e,n){"use strict";n("3cd0"),n("1a44"),n("acc2"),n("ce04"),n("7bf0"),n("01f7"),n("25bb"),n("968a"),n("6f08"),n("bb55")},fa5b:function(t,e,n){t.exports=n("5537")("native-function-to-string",Function.toString)},fa83:function(t,e,n){"use strict";n("386b")("blink",(function(t){return function(){return t(this,"blink","","")}}))},fab2:function(t,e,n){n=n("7726").document,t.exports=n&&n.documentElement},fb78:function(t,e,n){},fc85:function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}Object.defineProperty(e,"__esModule",{value:!0});var r=(function(t,e,n){e&&i(t.prototype,e),n&&i(t,n)}(o,[{key:"on",value:function(t,e){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push(e)}},{key:"off",value:function(t,e){return!!this.listeners[t]&&(e=this.listeners[t].indexOf(e),this.listeners[t].splice(e,1),-1<e)}},{key:"trigger",value:function(t){var e,n=this.listeners[t],i=void 0,r=void 0;if(n)if(2===arguments.length)for(r=n.length,i=0;i<r;++i)n[i].call(this,arguments[1]);else for(e=Array.prototype.slice.call(arguments,1),r=n.length,i=0;i<r;++i)n[i].apply(this,e)}},{key:"dispose",value:function(){this.listeners={}}},{key:"pipe",value:function(t){this.on("data",(function(e){t.push(e)}))}}]),o);function o(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),this.listeners={}}e.default=r},fca0:function(t,e,n){var i=n("5ca1"),r=n("7726").isFinite;i(i.S,"Number",{isFinite:function(t){return"number"==typeof t&&r(t)}})},fd24:function(t,e,n){var i=n("5ca1");i(i.S,"Object",{setPrototypeOf:n("8b97").set})},fd5a:function(t,e,n){n("d0ca"),t.exports=n("8378").RegExp.escape},fda2:function(t,e,n){},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},fee7:function(t,e,n){"use strict";var i=n("5ca1"),r=n("4bf8"),o=n("d8e8"),a=n("86cc");n("9e1e")&&i(i.P+n("c5b4"),"Object",{__defineSetter__:function(t,e){a.f(r(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},ffc1:function(t,e,n){var i=n("5ca1"),r=n("504c")(!0);i(i.S,"Object",{entries:function(t){return r(t)}})}}]);