(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-libs"],{"0094":function(e,t,n){"use strict";var i,r=n("bb2f"),o=n("da84"),a=n("e330"),s=n("6964"),l=n("f183"),c=n("6d61"),u=n("acac"),h=n("861d"),d=n("69f3").enforce,f=n("d039"),p=n("cdce"),v=Object,m=Array.isArray,g=v.isExtensible,y=v.isFrozen,b=v.isSealed,_=v.freeze,w=v.seal,x={},C={},k=!o.ActiveXObject&&"ActiveXObject"in o,S=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},E=c("WeakMap",S,u),T=E.prototype,O=a(T.set),D=function(){return r&&f((function(){var e=_([]);return O(new E,e,1),!y(e)}))};if(p)if(k){i=u.getConstructor(S,"WeakMap",!0),l.enable();var A=a(T["delete"]),j=a(T.has),I=a(T.get);s(T,{delete:function(e){if(h(e)&&!g(e)){var t=d(this);return t.frozen||(t.frozen=new i),A(this,e)||t.frozen["delete"](e)}return A(this,e)},has:function(e){if(h(e)&&!g(e)){var t=d(this);return t.frozen||(t.frozen=new i),j(this,e)||t.frozen.has(e)}return j(this,e)},get:function(e){if(h(e)&&!g(e)){var t=d(this);return t.frozen||(t.frozen=new i),j(this,e)?I(this,e):t.frozen.get(e)}return I(this,e)},set:function(e,t){if(h(e)&&!g(e)){var n=d(this);n.frozen||(n.frozen=new i),j(this,e)?O(this,e,t):n.frozen.set(e,t)}else O(this,e,t);return this}})}else D()&&s(T,{set:function(e,t){var n;return m(e)&&(y(e)?n=x:b(e)&&(n=C)),O(this,e,t),n==x&&_(e),n==C&&w(e),this}})},"00b4":function(e,t,n){"use strict";n("ac1f");var i=n("23e7"),r=n("c65b"),o=n("1626"),a=n("825a"),s=n("577e"),l=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),c=/./.test;i({target:"RegExp",proto:!0,forced:!l},{test:function(e){var t=a(this),n=s(e),i=t.exec;if(!o(i))return r(c,t,n);var l=r(i,t,n);return null!==l&&(a(l),!0)}})},"00ee":function(e,t,n){var i=n("b622"),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},"01b4":function(e,t){var n=function(){this.head=null,this.tail=null};n.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e){var t=this.head=e.next;return null===t&&(this.tail=null),e.item}}},e.exports=n},"0261":function(e,t,n){var i=n("23e7"),r=n("d039"),o=n("8eb5"),a=Math.abs,s=Math.exp,l=Math.E,c=r((function(){return-2e-17!=Math.sinh(-2e-17)}));i({target:"Math",stat:!0,forced:c},{sinh:function(e){var t=+e;return a(t)<1?(o(t)-o(-t))/2:(s(t-1)-s(-t-1))*(l/2)}})},"02ec":function(e,t,n){var i=n("23e7"),r=n("67b6");i({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==r},{trimLeft:r})},"0366":function(e,t,n){var i=n("4625"),r=n("59ed"),o=n("40d5"),a=i(i.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},"03d6":function(e,t,n){var i=n("9c0e"),r=n("6ca1"),o=n("39ad")(!1),a=n("5a94")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),l=0,c=[];for(n in s)n!=a&&i(s,n)&&c.push(n);while(t.length>l)i(s,n=t[l++])&&(~o(c,n)||c.push(n));return c}},"0402":function(e,t,n){var i=n("23e7"),r=n("da84"),o=n("2cf4").set,a=n("20cc"),s=r.setImmediate?a(o,!1):o;i({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==s},{setImmediate:s})},"0481":function(e,t,n){"use strict";var i=n("23e7"),r=n("a2bf"),o=n("7b0b"),a=n("07fa"),s=n("5926"),l=n("65f0");i({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=o(this),n=a(t),i=l(t,0);return i.length=r(i,t,t,n,0,void 0===e?1:s(e)),i}})},"04d1":function(e,t,n){var i=n("342f"),r=i.match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},"04d3":function(e,t,n){"use strict";var i=n("23e7"),r=n("857a"),o=n("af03");i({target:"String",proto:!0,forced:o("blink")},{blink:function(){return r(this,"blink","","")}})},"04f8":function(e,t,n){var i=n("2d00"),r=n("d039"),o=n("da84"),a=o.String;e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},"051b":function(e,t,n){var i=n("1a14"),r=n("10db");e.exports=n("0bad")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"0538":function(e,t,n){"use strict";var i=n("e330"),r=n("59ed"),o=n("861d"),a=n("1a2d"),s=n("f36a"),l=n("40d5"),c=Function,u=i([].concat),h=i([].join),d={},f=function(e,t,n){if(!a(d,t)){for(var i=[],r=0;ru){var f,p=l(arguments[u++]),v=h?r(p).concat(h(p)):r(p),m=v.length,g=0;while(m>g)f=v[g++],i&&!d.call(p,f)||(n[f]=p[f])}return n}:c},"07ac":function(e,t,n){var i=n("23e7"),r=n("6f53").values;i({target:"Object",stat:!0},{values:function(e){return r(e)}})},"07fa":function(e,t,n){var i=n("50c4");e.exports=function(e){return i(e.length)}},"083a":function(e,t,n){"use strict";var i=n("0d51"),r=TypeError;e.exports=function(e,t){if(!delete e[t])throw r("Cannot delete property "+i(t)+" of "+i(e))}},"094a":function(e,t,n){var i=n("e330"),r=Map.prototype;e.exports={Map:Map,set:i(r.set),get:i(r.get),has:i(r.has),remove:i(r["delete"]),proto:r}},"0983":function(e,t,n){var i=n("c901");e.exports=function(e){return Object(i(e))}},"0a06":function(e,t,n){"use strict";var i=n("c532"),r=n("30b5"),o=n("f6b4"),a=n("5270"),s=n("4a7b");function l(e){this.defaults=e,this.interceptors={request:new o,response:new o}}l.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=s(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));while(t.length)n=n.then(t.shift(),t.shift());return n},l.prototype.getUri=function(e){return e=s(this.defaults,e),r(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},i.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,n){return this.request(i.merge(n||{},{method:e,url:t}))}})),i.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,n,r){return this.request(i.merge(r||{},{method:e,url:t,data:n}))}})),e.exports=l},"0a90":function(e,t,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("d039"),a=o((function(){return 120!==new Date(16e11).getYear()})),s=r(Date.prototype.getFullYear);i({target:"Date",proto:!0,forced:a},{getYear:function(){return s(this)-1900}})},"0ac8":function(e,t,n){var i=n("23e7"),r=n("8eb5");i({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},"0ae2":function(e,t,n){var i=n("9876"),r=n("fed5"),o=n("1917");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),l=o.f,c=0;while(s.length>c)l.call(e,a=s[c++])&&t.push(a)}return t}},"0b25":function(e,t,n){var i=n("5926"),r=n("50c4"),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=i(e),n=r(t);if(t!==n)throw o("Wrong length or index");return n}},"0b42":function(e,t,n){var i=n("e8b5"),r=n("68ee"),o=n("861d"),a=n("b622"),s=a("species"),l=Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,r(t)&&(t===l||i(t.prototype))?t=void 0:o(t)&&(t=t[s],null===t&&(t=void 0))),void 0===t?l:t}},"0b43":function(e,t,n){var i=n("04f8");e.exports=i&&!!Symbol["for"]&&!!Symbol.keyFor},"0b99":function(e,t,n){"use strict";var i=n("19fa")(!0);n("393a")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},"0bad":function(e,t,n){e.exports=!n("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0c47":function(e,t,n){var i=n("da84"),r=n("d44e");r(i.JSON,"JSON",!0)},"0cb2":function(e,t,n){var i=n("e330"),r=n("7b0b"),o=Math.floor,a=i("".charAt),s=i("".replace),l=i("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,i,h,d){var f=n+e.length,p=i.length,v=u;return void 0!==h&&(h=r(h),v=c),s(d,v,(function(r,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,f);case"<":c=h[l(s,1,-1)];break;default:var u=+s;if(0===u)return r;if(u>p){var d=o(u/10);return 0===d?r:d<=p?void 0===i[d-1]?a(s,1):i[d-1]+a(s,1):r}c=i[u-1]}return void 0===c?"":c}))}},"0ccb":function(e,t,n){var i=n("e330"),r=n("50c4"),o=n("577e"),a=n("1148"),s=n("1d80"),l=i(a),c=i("".slice),u=Math.ceil,h=function(e){return function(t,n,i){var a,h,d=o(s(t)),f=r(n),p=d.length,v=void 0===i?" ":o(i);return f<=p||""==v?d:(a=f-p,h=l(v,u(a/v.length)),h.length>a&&(h=c(h,0,a)),e?d+h:h+d)}};e.exports={start:h(!1),end:h(!0)}},"0cfb":function(e,t,n){var i=n("83ab"),r=n("d039"),o=n("cc12");e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0d03":function(e,t,n){var i=n("e330"),r=n("cb2d"),o=Date.prototype,a="Invalid Date",s="toString",l=i(o[s]),c=i(o.getTime);String(new Date(NaN))!=a&&r(o,s,(function(){var e=c(this);return e===e?l(this):a}))},"0d26":function(e,t,n){var i=n("e330"),r=Error,o=i("".replace),a=function(e){return String(r(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,l=s.test(a);e.exports=function(e,t){if(l&&"string"==typeof e&&!r.prepareStackTrace)while(t--)e=o(e,s,"");return e}},"0d51":function(e,t){var n=String;e.exports=function(e){try{return n(e)}catch(t){return"Object"}}},"0df6":function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"0e15":function(e,t,n){var i=n("597f");e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},"0eb6":function(e,t,n){"use strict";var i=n("23e7"),r=n("7c37"),o=n("d066"),a=n("d039"),s=n("7c73"),l=n("5c6c"),c=n("9bf2").f,u=n("cb2d"),h=n("edd0"),d=n("1a2d"),f=n("19aa"),p=n("825a"),v=n("aa1f"),m=n("e391"),g=n("cf98"),y=n("0d26"),b=n("69f3"),_=n("83ab"),w=n("c430"),x="DOMException",C="DATA_CLONE_ERR",k=o("Error"),S=o(x)||function(){try{var e=o("MessageChannel")||r("worker_threads").MessageChannel;(new e).port1.postMessage(new WeakMap)}catch(t){if(t.name==C&&25==t.code)return t.constructor}}(),E=S&&S.prototype,T=k.prototype,O=b.set,D=b.getterFor(x),A="stack"in k(x),j=function(e){return d(g,e)&&g[e].m?g[e].c:0},I=function(){f(this,M);var e=arguments.length,t=m(e<1?void 0:arguments[0]),n=m(e<2?void 0:arguments[1],"Error"),i=j(n);if(O(this,{type:x,name:n,message:t,code:i}),_||(this.name=n,this.message=t,this.code=i),A){var r=k(t);r.name=x,c(this,"stack",l(1,y(r.stack,1)))}},M=I.prototype=s(T),P=function(e){return{enumerable:!0,configurable:!0,get:e}},$=function(e){return P((function(){return D(this)[e]}))};_&&(h(M,"code",$("code")),h(M,"message",$("message")),h(M,"name",$("name"))),c(M,"constructor",l(1,I));var N=a((function(){return!(new S instanceof k)})),L=N||a((function(){return T.toString!==v||"2: 1"!==String(new S(1,2))})),R=N||a((function(){return 25!==new S(1,"DataCloneError").code})),F=N||25!==S[C]||25!==E[C],B=w?L||R||F:N;i({global:!0,constructor:!0,forced:B},{DOMException:B?I:S});var V=o(x),z=V.prototype;for(var H in L&&(w||S===V)&&u(z,"toString",v),R&&_&&S===V&&h(z,"code",P((function(){return j(p(this).name)}))),g)if(d(g,H)){var W=g[H],U=W.s,q=l(6,W.c);d(V,U)||c(V,U,q),d(z,U)||c(z,U,q)}},"0fae":function(e,t,n){},"107c":function(e,t,n){var i=n("d039"),r=n("da84"),o=r.RegExp;e.exports=i((function(){var e=o("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},1098:function(e,t,n){"use strict";t.__esModule=!0;var i=n("17ed"),r=l(i),o=n("f893"),a=l(o),s="function"===typeof a.default&&"symbol"===typeof r.default?function(e){return typeof e}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};function l(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===s(r.default)?function(e){return"undefined"===typeof e?"undefined":s(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":s(e)}},"10d1":function(e,t,n){n("0094")},"10db":function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1148:function(e,t,n){"use strict";var i=n("5926"),r=n("577e"),o=n("1d80"),a=RangeError;e.exports=function(e){var t=r(o(this)),n="",s=i(e);if(s<0||s==1/0)throw a("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(t+=t))1&s&&(n+=t);return n}},1276:function(e,t,n){"use strict";var i=n("2ba4"),r=n("c65b"),o=n("e330"),a=n("d784"),s=n("825a"),l=n("7234"),c=n("44e7"),u=n("1d80"),h=n("4840"),d=n("8aa5"),f=n("50c4"),p=n("577e"),v=n("dc4a"),m=n("4dae"),g=n("14c3"),y=n("9263"),b=n("9f7f"),_=n("d039"),w=b.UNSUPPORTED_Y,x=4294967295,C=Math.min,k=[].push,S=o(/./.exec),E=o(k),T=o("".slice),O=!_((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));a("split",(function(e,t,n){var o;return o="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var o=p(u(this)),a=void 0===n?x:n>>>0;if(0===a)return[];if(void 0===e)return[o];if(!c(e))return r(t,o,e,a);var s,l,h,d=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,g=new RegExp(e.source,f+"g");while(s=r(y,g,o)){if(l=g.lastIndex,l>v&&(E(d,T(o,v,s.index)),s.length>1&&s.index=a))break;g.lastIndex===s.index&&g.lastIndex++}return v===o.length?!h&&S(g,"")||E(d,""):E(d,T(o,v)),d.length>a?m(d,0,a):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:r(t,this,e,n)}:t,[function(t,n){var i=u(this),a=l(t)?void 0:v(t,e);return a?r(a,t,i,n):r(o,p(i),t,n)},function(e,i){var r=s(this),a=p(e),l=n(o,r,a,i,o!==t);if(l.done)return l.value;var c=h(r,RegExp),u=r.unicode,v=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(w?"g":"y"),m=new c(w?"^(?:"+r.source+")":r,v),y=void 0===i?x:i>>>0;if(0===y)return[];if(0===a.length)return null===g(m,a)?[a]:[];var b=0,_=0,k=[];while(_79&&a<83,c=l||!o("reduce");i({target:"Array",proto:!0,forced:c},{reduce:function(e){var t=arguments.length;return r(this,e,t,t>1?arguments[1]:void 0)}})},"143c":function(e,t,n){var i=n("74e8");i("Int32",(function(e){return function(t,n,i){return e(this,t,n,i)}}))},1448:function(e,t,n){var i=n("dfb9"),r=n("b6b7");e.exports=function(e,t){return i(r(e),t)}},"145e":function(e,t,n){"use strict";var i=n("7b0b"),r=n("23cb"),o=n("07fa"),a=n("083a"),s=Math.min;e.exports=[].copyWithin||function(e,t){var n=i(this),l=o(n),c=r(e,l),u=r(t,l),h=arguments.length>2?arguments[2]:void 0,d=s((void 0===h?l:r(h,l))-u,l-c),f=1;u0)u in n?n[c]=n[u]:a(n,c),c+=f,u+=f;return n}},"14c3":function(e,t,n){var i=n("c65b"),r=n("825a"),o=n("1626"),a=n("c6b6"),s=n("9263"),l=TypeError;e.exports=function(e,t){var n=e.exec;if(o(n)){var c=i(n,e,t);return null!==c&&r(c),c}if("RegExp"===a(e))return i(s,e,t);throw l("RegExp#exec called on incompatible receiver")}},"14d9":function(e,t,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),a=n("3a34"),s=n("3511"),l=n("d039"),c=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},h=c||!u();i({target:"Array",proto:!0,arity:1,forced:h},{push:function(e){var t=r(this),n=o(t),i=arguments.length;s(n+i);for(var l=0;l1?arguments[1]:void 0)}},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},"182d":function(e,t,n){var i=n("f8cd"),r=RangeError;e.exports=function(e,t){var n=i(e);if(n%t)throw r("Wrong offset");return n}},1836:function(e,t,n){var i=n("6ca1"),r=n("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},"18a0":function(e,t){!function(t,n){e.exports=n(t)}(window,(function(e,t){if(!e.jWeixin){var n,i={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},r=function(){var e={};for(var t in i)e[i[t]]=t;return e}(),o=e.document,a=o.title,s=navigator.userAgent.toLowerCase(),l=navigator.platform.toLowerCase(),c=!(!l.match("mac")&&!l.match("win")),u=-1!=s.indexOf("wxdebugger"),h=-1!=s.indexOf("micromessenger"),d=-1!=s.indexOf("android"),f=-1!=s.indexOf("iphone")||-1!=s.indexOf("ipad"),p=(n=s.match(/micromessenger\/(\d+\.\d+\.\d+)/)||s.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",v={initStartTime:I(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},m={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:f?1:d?2:-1,clientVersion:p,url:encodeURIComponent(location.href)},g={},y={_completes:[]},b={state:0,data:{}};M((function(){v.initEndTime=I()}));var _=!1,w=[],x={config:function(t){j("config",g=t);var n=!1!==g.check;M((function(){if(n)S(i.config,{verifyJsApiList:A(g.jsApiList),verifyOpenTagList:A(g.openTagList)},function(){y._complete=function(e){v.preVerifyEndTime=I(),b.state=1,b.data=e},y.success=function(e){m.isPreVerifyOk=0},y.fail=function(e){y._fail?y._fail(e):b.state=-1};var e=y._completes;return e.push((function(){!function(){if(!(c||u||g.debug||p<"6.0.2"||m.systemType<0)){var e=new Image;m.appId=g.appId,m.initTime=v.initEndTime-v.initStartTime,m.preVerifyTime=v.preVerifyEndTime-v.preVerifyStartTime,x.getNetworkType({isInnerInvoke:!0,success:function(t){m.networkType=t.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+m.version+"&o="+m.isPreVerifyOk+"&s="+m.systemType+"&c="+m.clientVersion+"&a="+m.appId+"&n="+m.networkType+"&i="+m.initTime+"&p="+m.preVerifyTime+"&u="+m.url;e.src=n}})}}()})),y.complete=function(t){for(var n=0,i=e.length;n=c?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(e,t,n){var i=n("77e9"),r=n("faf5"),o=n("3397"),a=Object.defineProperty;t.f=n("0bad")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"1a2d":function(e,t,n){var i=n("e330"),r=n("7b0b"),o=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},"1b8d":function(e,t){function n(e){return e.replace(/\n\r?\s*/g,"")}e.exports=function(e){for(var t="",i=0;i1?arguments[1]:void 0)}))},"1d1c":function(e,t,n){var i=n("23e7"),r=n("83ab"),o=n("37e8").f;i({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!r},{defineProperties:o})},"1d2b":function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i=51||!i((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},"1e25":function(e,t,n){n("cad8");var i=n("23e7"),r=n("cb4c");i({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==r},{trimEnd:r})},"1ec1":function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){var t=+e;return t>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},"1f68":function(e,t,n){"use strict";var i=n("83ab"),r=n("edd0"),o=n("861d"),a=n("7b0b"),s=n("1d80"),l=Object.getPrototypeOf,c=Object.setPrototypeOf,u=Object.prototype,h="__proto__";if(i&&l&&c&&!(h in u))try{r(u,h,{configurable:!0,get:function(){return l(a(this))},set:function(e){var t=s(this);(o(e)||null===e)&&o(t)&&c(t,e)}})}catch(d){}},"1fe2":function(e,t,n){n("7276")},"20bf":function(e,t,n){"use strict";var i=n("8aa7"),r=n("ebb5").exportTypedArrayStaticMethod,o=n("a078");r("from",o,i)},"20cc":function(e,t,n){"use strict";var i=n("da84"),r=n("2ba4"),o=n("1626"),a=n("c6a7"),s=n("342f"),l=n("f36a"),c=n("d6d6"),u=i.Function,h=/MSIE .\./.test(s)||a&&function(){var e=i.Bun.version.split(".");return e.length<3||0==e[0]&&(e[1]<3||3==e[1]&&0==e[2])}();e.exports=function(e,t){var n=t?2:1;return h?function(i,a){var s=c(arguments.length,1)>n,h=o(i)?i:u(i),d=s?l(arguments,n):[],f=s?function(){r(h,this,d)}:h;return t?e(f,a):e(f)}:e}},"219c":function(e,t,n){"use strict";var i=n("da84"),r=n("4625"),o=n("d039"),a=n("59ed"),s=n("addb"),l=n("ebb5"),c=n("04d1"),u=n("d998"),h=n("2d00"),d=n("512c"),f=l.aTypedArray,p=l.exportTypedArrayMethod,v=i.Uint16Array,m=v&&r(v.prototype.sort),g=!!m&&!(o((function(){m(new v(2),null)}))&&o((function(){m(new v(2),{})}))),y=!!m&&!o((function(){if(h)return h<74;if(c)return c<67;if(u)return!0;if(d)return d<602;var e,t,n=new v(516),i=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,i[e]=e-2*t+3;for(m(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==i[e])return!0})),b=function(e){return function(t,n){return void 0!==e?+e(t,n)||0:n!==n?-1:t!==t?1:0===t&&0===n?1/t>0&&1/n<0?1:-1:t>n}};p("sort",(function(e){return void 0!==e&&a(e),y?m(this,e):s(f(this),b(e))}),!y||g)},2266:function(e,t,n){var i=n("0366"),r=n("c65b"),o=n("825a"),a=n("0d51"),s=n("e95a"),l=n("07fa"),c=n("3a9b"),u=n("9a1f"),h=n("35a1"),d=n("2a62"),f=TypeError,p=function(e,t){this.stopped=e,this.result=t},v=p.prototype;e.exports=function(e,t,n){var m,g,y,b,_,w,x,C=n&&n.that,k=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),E=!(!n||!n.IS_ITERATOR),T=!(!n||!n.INTERRUPTED),O=i(t,C),D=function(e){return m&&d(m,"normal",e),new p(!0,e)},A=function(e){return k?(o(e),T?O(e[0],e[1],D):O(e[0],e[1])):T?O(e,D):O(e)};if(S)m=e.iterator;else if(E)m=e;else{if(g=h(e),!g)throw f(a(e)+" is not iterable");if(s(g)){for(y=0,b=l(e);b>y;y++)if(_=A(e[y]),_&&c(v,_))return _;return new p(!1)}m=u(e,g)}w=S?e.next:m.next;while(!(x=r(w,m)).done){try{_=A(x.value)}catch(j){d(m,"throw",j)}if("object"==typeof _&&_&&c(v,_))return _}return new p(!1)}},2315:function(e,t,n){"use strict";var i=n("23e7"),r=n("857a"),o=n("af03");i({target:"String",proto:!0,forced:o("strike")},{strike:function(){return r(this,"strike","","")}})},2351:function(e,t,n){var i=n("e065");i("split")},"23cb":function(e,t,n){var i=n("5926"),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},"23dc":function(e,t,n){var i=n("d44e");i(Math,"Math",!0)},"23e7":function(e,t,n){var i=n("da84"),r=n("06cf").f,o=n("9112"),a=n("cb2d"),s=n("6374"),l=n("e893"),c=n("94ca");e.exports=function(e,t){var n,u,h,d,f,p,v=e.target,m=e.global,g=e.stat;if(u=m?i:g?i[v]||s(v,{}):(i[v]||{}).prototype,u)for(h in t){if(f=t[h],e.dontCallGetSet?(p=r(u,h),d=p&&p.value):d=u[h],n=c(m?h:v+(g?".":"#")+h,e.forced),!n&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&o(f,"sham",!0),a(u,h,f,e)}}},"241c":function(e,t,n){var i=n("ca84"),r=n("7839"),o=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},2444:function(e,t,n){"use strict";(function(t){var i=n("c532"),r=n("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function s(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n("b50d")),e}var l={adapter:s(),transformRequest:[function(e,t){return r(t,"Accept"),r(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){l.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){l.headers[e]=i.merge(o)})),e.exports=l}).call(this,n("4362"))},2532:function(e,t,n){"use strict";var i=n("23e7"),r=n("e330"),o=n("5a34"),a=n("1d80"),s=n("577e"),l=n("ab13"),c=r("".indexOf);i({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(s(a(this)),s(o(e)),arguments.length>1?arguments[1]:void 0)}})},"25a1":function(e,t,n){"use strict";var i=n("ebb5"),r=n("d58f").right,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("reduceRight",(function(e){var t=arguments.length;return r(o(this),e,t,t>1?arguments[1]:void 0)}))},"25eb":function(e,t,n){var i=n("23e7"),r=n("c20d");i({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},"25f0":function(e,t,n){"use strict";var i=n("5e77").PROPER,r=n("cb2d"),o=n("825a"),a=n("577e"),s=n("d039"),l=n("90d8"),c="toString",u=RegExp.prototype,h=u[c],d=s((function(){return"/a/b"!=h.call({source:"a",flags:"b"})})),f=i&&h.name!=c;(d||f)&&r(RegExp.prototype,c,(function(){var e=o(this),t=a(e.source),n=a(l(e));return"/"+t+"/"+n}),{unsafe:!0})},2626:function(e,t,n){"use strict";var i=n("d066"),r=n("edd0"),o=n("b622"),a=n("83ab"),s=o("species");e.exports=function(e){var t=i(e);a&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},2638:function(e,t,n){"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t,n=1;no)c[o]=n[o++];return c}),c)},"299c":function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),o=n(19),a=n.n(o),s=n(2),l=n(3),c=n(7),u=n.n(c),h={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new u.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;nl&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},"2a62":function(e,t,n){var i=n("c65b"),r=n("825a"),o=n("dc4a");e.exports=function(e,t,n){var a,s;r(e);try{if(a=o(e,"return"),!a){if("throw"===t)throw n;return n}a=i(a,e)}catch(l){s=!0,a=l}if("throw"===t)throw n;if(s)throw a;return r(a),n}},"2af1":function(e,t,n){var i=n("23e7"),r=n("f748");i({target:"Math",stat:!0},{sign:r})},"2b0e":function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"EffectScope",(function(){return Ot})),n.d(t,"computed",(function(){return mt})),n.d(t,"customRef",(function(){return st})),n.d(t,"default",(function(){return io})),n.d(t,"defineAsyncComponent",(function(){return ti})),n.d(t,"defineComponent",(function(){return yi})),n.d(t,"del",(function(){return Ve})),n.d(t,"effectScope",(function(){return Dt})),n.d(t,"getCurrentInstance",(function(){return me})),n.d(t,"getCurrentScope",(function(){return jt})),n.d(t,"h",(function(){return Rn})),n.d(t,"inject",(function(){return $t})),n.d(t,"isProxy",(function(){return Ke})),n.d(t,"isReactive",(function(){return qe})),n.d(t,"isReadonly",(function(){return Ge})),n.d(t,"isRef",(function(){return Ze})),n.d(t,"isShallow",(function(){return Ye})),n.d(t,"markRaw",(function(){return Xe})),n.d(t,"mergeDefaults",(function(){return kn})),n.d(t,"nextTick",(function(){return Qn})),n.d(t,"onActivated",(function(){return ui})),n.d(t,"onBeforeMount",(function(){return ri})),n.d(t,"onBeforeUnmount",(function(){return li})),n.d(t,"onBeforeUpdate",(function(){return ai})),n.d(t,"onDeactivated",(function(){return hi})),n.d(t,"onErrorCaptured",(function(){return mi})),n.d(t,"onMounted",(function(){return oi})),n.d(t,"onRenderTracked",(function(){return fi})),n.d(t,"onRenderTriggered",(function(){return pi})),n.d(t,"onScopeDispose",(function(){return It})),n.d(t,"onServerPrefetch",(function(){return di})),n.d(t,"onUnmounted",(function(){return ci})),n.d(t,"onUpdated",(function(){return si})),n.d(t,"provide",(function(){return Mt})),n.d(t,"proxyRefs",(function(){return ot})),n.d(t,"reactive",(function(){return He})),n.d(t,"readonly",(function(){return dt})),n.d(t,"ref",(function(){return et})),n.d(t,"set",(function(){return Be})),n.d(t,"shallowReactive",(function(){return We})),n.d(t,"shallowReadonly",(function(){return vt})),n.d(t,"shallowRef",(function(){return tt})),n.d(t,"toRaw",(function(){return Je})),n.d(t,"toRef",(function(){return ct})),n.d(t,"toRefs",(function(){return lt})),n.d(t,"triggerRef",(function(){return it})),n.d(t,"unref",(function(){return rt})),n.d(t,"useAttrs",(function(){return wn})),n.d(t,"useCssModule",(function(){return Zn})),n.d(t,"useCssVars",(function(){return ei})),n.d(t,"useListeners",(function(){return xn})),n.d(t,"useSlots",(function(){return _n})),n.d(t,"version",(function(){return gi})),n.d(t,"watch",(function(){return Et})),n.d(t,"watchEffect",(function(){return wt})),n.d(t,"watchPostEffect",(function(){return xt})),n.d(t,"watchSyncEffect",(function(){return Ct})); /*! * Vue.js v2.7.14 * (c) 2014-2022 Evan You * Released under the MIT License. */ var i=Object.freeze({}),r=Array.isArray;function o(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function s(e){return!0===e}function l(e){return!1===e}function c(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function u(e){return"function"===typeof e}function h(e){return null!==e&&"object"===typeof e}var d=Object.prototype.toString;function f(e){return"[object Object]"===d.call(e)}function p(e){return"[object RegExp]"===d.call(e)}function v(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function m(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function g(e){return null==e?"":Array.isArray(e)||f(e)&&e.toString===d?JSON.stringify(e,null,2):String(e)}function y(e){var t=parseFloat(e);return isNaN(t)?e:t}function b(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(i,1)}}var x=Object.prototype.hasOwnProperty;function C(e,t){return x.call(e,t)}function k(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var S=/-(\w)/g,E=k((function(e){return e.replace(S,(function(e,t){return t?t.toUpperCase():""}))})),T=k((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),O=/\B([A-Z])/g,D=k((function(e){return e.replace(O,"-$1").toLowerCase()}));function A(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function j(e,t){return e.bind(t)}var I=Function.prototype.bind?j:A;function M(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function P(e,t){for(var n in t)e[n]=t[n];return e}function $(e){for(var t={},n=0;n0,ie=ee&&ee.indexOf("edge/")>0;ee&&ee.indexOf("android");var re=ee&&/iphone|ipad|ipod|ios/.test(ee);ee&&/chrome\/\d+/.test(ee),ee&&/phantomjs/.test(ee);var oe,ae=ee&&ee.match(/firefox\/(\d+)/),se={}.watch,le=!1;if(Z)try{var ce={};Object.defineProperty(ce,"passive",{get:function(){le=!0}}),window.addEventListener("test-passive",null,ce)}catch(rl){}var ue=function(){return void 0===oe&&(oe=!Z&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),oe},he=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function de(e){return"function"===typeof e&&/native code/.test(e.toString())}var fe,pe="undefined"!==typeof Symbol&&de(Symbol)&&"undefined"!==typeof Reflect&&de(Reflect.ownKeys);fe="undefined"!==typeof Set&&de(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ve=null;function me(){return ve&&{proxy:ve}}function ge(e){void 0===e&&(e=null),e||ve&&ve._scope.off(),ve=e,e&&e._scope.on()}var ye=function(){function e(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),be=function(e){void 0===e&&(e="");var t=new ye;return t.text=e,t.isComment=!0,t};function _e(e){return new ye(void 0,void 0,void 0,String(e))}function we(e){var t=new ye(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var xe=0,Ce=[],ke=function(){for(var e=0;e1)return n&&u(t)?t.call(i):t}else 0}var Nt=k((function(e){var t="&"===e.charAt(0);e=t?e.slice(1):e;var n="~"===e.charAt(0);e=n?e.slice(1):e;var i="!"===e.charAt(0);return e=i?e.slice(1):e,{name:e,once:n,capture:i,passive:t}}));function Lt(e,t){function n(){var e=n.fns;if(!r(e))return Bn(e,null,arguments,t,"v-on handler");for(var i=e.slice(),o=0;o0&&(i=Ut(i,"".concat(t||"","_").concat(n)),Wt(i[0])&&Wt(u)&&(h[l]=_e(u.text+i[0].text),i.shift()),h.push.apply(h,i)):c(i)?Wt(u)?h[l]=_e(u.text+i):""!==i&&h.push(_e(i)):Wt(i)&&Wt(u)?h[l]=_e(u.text+i.text):(s(e._isVList)&&a(i.tag)&&o(i.key)&&a(t)&&(i.key="__vlist".concat(t,"_").concat(n,"__")),h.push(i)));return h}function qt(e,t){var n,i,o,s,l=null;if(r(e)||"string"===typeof e)for(l=new Array(e.length),n=0,i=e.length;n0,s=t?!!t.$stable:!a,l=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==i&&l===r.$key&&!a&&!r.$hasNormal)return r;for(var c in o={},t)t[c]&&"$"!==c[0]&&(o[c]=dn(e,n,c,t[c]))}else o={};for(var u in n)u in o||(o[u]=fn(n,u));return t&&Object.isExtensible(t)&&(t._normalized=o),K(o,"$stable",s),K(o,"$key",l),K(o,"$hasNormal",a),o}function dn(e,t,n,i){var o=function(){var t=ve;ge(e);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:Ht(n);var o=n&&n[0];return ge(t),n&&(!o||1===n.length&&o.isComment&&!un(o))?void 0:n};return i.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function fn(e,t){return function(){return e[t]}}function pn(e){var t=e.$options,n=t.setup;if(n){var i=e._setupContext=vn(e);ge(e),Te();var r=Bn(n,null,[e._props||We({}),i],e,"setup");if(Oe(),ge(),u(r))t.render=r;else if(h(r))if(e._setupState=r,r.__sfc){var o=e._setupProxy={};for(var a in r)"__sfc"!==a&&at(o,r,a)}else for(var a in r)G(a)||at(e,r,a);else 0}}function vn(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};K(t,"_v_attr_proxy",!0),mn(t,e.$attrs,i,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};mn(t,e.$listeners,i,e,"$listeners")}return e._listenersProxy},get slots(){return yn(e)},emit:I(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return at(e,t,n)}))}}}function mn(e,t,n,i,r){var o=!1;for(var a in t)a in e?t[a]!==n[a]&&(o=!0):(o=!0,gn(e,a,i,r));for(var a in e)a in t||(o=!0,delete e[a]);return o}function gn(e,t,n,i){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[i][t]}})}function yn(e){return e._slotsProxy||bn(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function bn(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function _n(){return Cn().slots}function wn(){return Cn().attrs}function xn(){return Cn().listeners}function Cn(){var e=ve;return e._setupContext||(e._setupContext=vn(e))}function kn(e,t){var n=r(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var i in t){var o=n[i];o?r(o)||u(o)?n[i]={type:o,default:t[i]}:o.default=t[i]:null===o&&(n[i]={default:t[i]})}return n}function Sn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ln(t._renderChildren,r),e.$scopedSlots=n?hn(e.$parent,n.data.scopedSlots,e.$slots):i,e._c=function(t,n,i,r){return Pn(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Pn(e,t,n,i,r,!0)};var o=n&&n.data;Fe(e,"$attrs",o&&o.attrs||i,null,!0),Fe(e,"$listeners",t._parentListeners||i,null,!0)}var En=null;function Tn(e){sn(e.prototype),e.prototype.$nextTick=function(e){return Qn(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&t._isMounted&&(t.$scopedSlots=hn(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&bn(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;try{ge(t),En=t,e=i.call(t._renderProxy,t.$createElement)}catch(rl){Fn(rl,t,"render"),e=t._vnode}finally{En=null,ge()}return r(e)&&1===e.length&&(e=e[0]),e instanceof ye||(e=be()),e.parent=o,e}}function On(e,t){return(e.__esModule||pe&&"Module"===e[Symbol.toStringTag])&&(e=e.default),h(e)?t.extend(e):e}function Dn(e,t,n,i,r){var o=be();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}function An(e,t){if(s(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=En;if(n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var i=e.owners=[n],r=!0,l=null,c=null;n.$on("hook:destroyed",(function(){return w(i,n)}));var u=function(e){for(var t=0,n=i.length;t1?M(n):n;for(var i=M(arguments,1),r='event handler for "'.concat(e,'"'),o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Ki=function(){return Ji.now()})}var Xi=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Qi(){var e,t;for(Gi=Ki(),Ui=!0,Vi.sort(Xi),qi=0;qiqi&&Vi[n].id>e.id)n--;Vi.splice(n+1,0,e)}else Vi.push(e);Wi||(Wi=!0,Qn(Qi))}}function ir(e){var t=e.$options.provide;if(t){var n=u(t)?t.call(e):t;if(!h(n))return;for(var i=Pt(e),r=pe?Reflect.ownKeys(n):Object.keys(n),o=0;o-1)if(o&&!C(r,"default"))a=!1;else if(""===a||a===D(e)){var l=Nr(String,r.type);(l<0||s-1)return this;var n=M(arguments,1);return n.unshift(this),u(e.install)?e.install.apply(e,n):u(e)&&e.apply(null,n),t.push(e),this}}function oo(e){e.mixin=function(e){return this.options=Dr(this.options,e),this}}function ao(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=ur(e)||ur(n.options);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Dr(n.options,e),a["super"]=n,a.options.props&&so(a),a.options.computed&&lo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,W.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=P({},a.options),r[i]=a,a}}function so(e){var t=e.options.props;for(var n in t)Rr(e.prototype,"_props",n)}function lo(e){var t=e.options.computed;for(var n in t)Ur(e.prototype,n,t[n])}function co(e){W.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&f(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&u(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function uo(e){return e&&(ur(e.Ctor.options)||e.tag)}function ho(e,t){return r(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!p(e)&&e.test(t)}function fo(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!t(s)&&po(n,o,i,r)}}}function po(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,w(n,t)}Zr(io),Xr(io),Ai(io),Pi(io),Tn(io);var vo=[String,RegExp,Array],mo={name:"keep-alive",abstract:!0,props:{include:vo,exclude:vo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,i=e.vnodeToCache,r=e.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;t[r]={name:uo(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&po(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)po(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){fo(e,(function(e){return ho(t,e)}))})),this.$watch("exclude",(function(t){fo(e,(function(e){return!ho(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=jn(e),n=t&&t.componentOptions;if(n){var i=uo(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!ho(o,i))||a&&i&&ho(a,i))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,w(c,u),c.push(u)):(this.vnodeToCache=t,this.keyToCache=u),t.data.keepAlive=!0}return t||e&&e[0]}},go={KeepAlive:mo};function yo(e){var t={get:function(){return q}};Object.defineProperty(e,"config",t),e.util={warn:yr,extend:P,mergeOptions:Dr,defineReactive:Fe},e.set=Be,e.delete=Ve,e.nextTick=Qn,e.observable=function(e){return Re(e),e},e.options=Object.create(null),W.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,P(e.options.components,go),ro(e),oo(e),ao(e),co(e)}yo(io),Object.defineProperty(io.prototype,"$isServer",{get:ue}),Object.defineProperty(io.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(io,"FunctionalRenderContext",{value:ar}),io.version=gi;var bo=b("style,class"),_o=b("input,textarea,option,select,progress"),wo=function(e,t,n){return"value"===n&&_o(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},xo=b("contenteditable,draggable,spellcheck"),Co=b("events,caret,typing,plaintext-only"),ko=function(e,t){return Do(t)||"false"===t?"false":"contenteditable"===e&&Co(t)?t:"true"},So=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Eo="http://www.w3.org/1999/xlink",To=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Oo=function(e){return To(e)?e.slice(6,e.length):""},Do=function(e){return null==e||!1===e};function Ao(e){var t=e.data,n=e,i=e;while(a(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=jo(i.data,t));while(a(n=n.parent))n&&n.data&&(t=jo(t,n.data));return Io(t.staticClass,t.class)}function jo(e,t){return{staticClass:Mo(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function Io(e,t){return a(e)||a(t)?Mo(e,Po(t)):""}function Mo(e,t){return e?t?e+" "+t:e:t||""}function Po(e){return Array.isArray(e)?$o(e):h(e)?No(e):"string"===typeof e?e:""}function $o(e){for(var t,n="",i=0,r=e.length;i-1?zo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:zo[e]=/HTMLUnknownElement/.test(t.toString())}var Wo=b("text,number,password,search,email,tel,url");function Uo(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function qo(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Yo(e,t){return document.createElementNS(Lo[e],t)}function Go(e){return document.createTextNode(e)}function Ko(e){return document.createComment(e)}function Jo(e,t,n){e.insertBefore(t,n)}function Xo(e,t){e.removeChild(t)}function Qo(e,t){e.appendChild(t)}function Zo(e){return e.parentNode}function ea(e){return e.nextSibling}function ta(e){return e.tagName}function na(e,t){e.textContent=t}function ia(e,t){e.setAttribute(t,"")}var ra=Object.freeze({__proto__:null,createElement:qo,createElementNS:Yo,createTextNode:Go,createComment:Ko,insertBefore:Jo,removeChild:Xo,appendChild:Qo,parentNode:Zo,nextSibling:ea,tagName:ta,setTextContent:na,setStyleScope:ia}),oa={create:function(e,t){aa(t)},update:function(e,t){e.data.ref!==t.data.ref&&(aa(e,!0),aa(t))},destroy:function(e){aa(e,!0)}};function aa(e,t){var n=e.data.ref;if(a(n)){var i=e.context,o=e.componentInstance||e.elm,s=t?null:o,l=t?void 0:o;if(u(n))Bn(n,i,[s],i,"template ref function");else{var c=e.data.refInFor,h="string"===typeof n||"number"===typeof n,d=Ze(n),f=i.$refs;if(h||d)if(c){var p=h?f[n]:n.value;t?r(p)&&w(p,o):r(p)?p.includes(o)||p.push(o):h?(f[n]=[o],sa(i,n,f[n])):n.value=[o]}else if(h){if(t&&f[n]!==o)return;f[n]=l,sa(i,n,s)}else if(d){if(t&&n.value!==o)return;n.value=s}else 0}}}function sa(e,t,n){var i=e._setupState;i&&C(i,t)&&(Ze(i[t])?i[t].value=n:i[t]=n)}var la=new ye("",{},[]),ca=["create","activate","update","remove","destroy"];function ua(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&ha(e,t)||s(e.isAsyncPlaceholder)&&o(t.asyncFactory.error))}function ha(e,t){if("input"!==e.tag)return!0;var n,i=a(n=e.data)&&a(n=n.attrs)&&n.type,r=a(n=t.data)&&a(n=n.attrs)&&n.type;return i===r||Wo(i)&&Wo(r)}function da(e,t,n){var i,r,o={};for(i=t;i<=n;++i)r=e[i].key,a(r)&&(o[r]=i);return o}function fa(e){var t,n,i={},l=e.modules,u=e.nodeOps;for(t=0;tv?(h=o(n[y+1])?null:n[y+1].elm,k(e,h,n,f,y,i)):f>y&&E(t,d,v)}function D(e,t,n,i){for(var r=n;r-1?ka(e,t,n):So(t)?Do(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):xo(t)?e.setAttribute(t,ko(t,n)):To(t)?Do(n)?e.removeAttributeNS(Eo,Oo(t)):e.setAttributeNS(Eo,t,n):ka(e,t,n)}function ka(e,t,n){if(Do(n))e.removeAttribute(t);else{if(te&&!ne&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Sa={create:xa,update:xa};function Ea(e,t){var n=t.elm,i=t.data,r=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=Ao(t),l=n._transitionClasses;a(l)&&(s=Mo(s,Po(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ta,Oa={create:Ea,update:Ea},Da="__r",Aa="__c";function ja(e){if(a(e[Da])){var t=te?"change":"input";e[t]=[].concat(e[Da],e[t]||[]),delete e[Da]}a(e[Aa])&&(e.change=[].concat(e[Aa],e.change||[]),delete e[Aa])}function Ia(e,t,n){var i=Ta;return function r(){var o=t.apply(null,arguments);null!==o&&$a(e,r,n,i)}}var Ma=Wn&&!(ae&&Number(ae[1])<=53);function Pa(e,t,n,i){if(Ma){var r=Gi,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Ta.addEventListener(e,t,le?{capture:n,passive:i}:n)}function $a(e,t,n,i){(i||Ta).removeEventListener(e,t._wrapper||t,n)}function Na(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};Ta=t.elm||e.elm,ja(n),Rt(n,i,Pa,$a,Ia,t.context),Ta=void 0}}var La,Ra={create:Na,update:Na,destroy:function(e){return Na(e,la)}};function Fa(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,r=t.elm,l=e.data.domProps||{},c=t.data.domProps||{};for(n in(a(c.__ob__)||s(c._v_attr_proxy))&&(c=t.data.domProps=P({},c)),l)n in c||(r[n]="");for(n in c){if(i=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===l[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var u=o(i)?"":String(i);Ba(r,u)&&(r.value=u)}else if("innerHTML"===n&&Fo(r.tagName)&&o(r.innerHTML)){La=La||document.createElement("div"),La.innerHTML="".concat(i,"");var h=La.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(h.firstChild)r.appendChild(h.firstChild)}else if(i!==l[n])try{r[n]=i}catch(rl){}}}}function Ba(e,t){return!e.composing&&("OPTION"===e.tagName||Va(e,t)||za(e,t))}function Va(e,t){var n=!0;try{n=document.activeElement!==e}catch(rl){}return n&&e.value!==t}function za(e,t){var n=e.value,i=e._vModifiers;if(a(i)){if(i.number)return y(n)!==y(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var Ha={create:Fa,update:Fa},Wa=k((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Ua(e){var t=qa(e.style);return e.staticStyle?P(e.staticStyle,t):t}function qa(e){return Array.isArray(e)?$(e):"string"===typeof e?Wa(e):e}function Ya(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Ua(r.data))&&P(i,n)}(n=Ua(e.data))&&P(i,n);var o=e;while(o=o.parent)o.data&&(n=Ua(o.data))&&P(i,n);return i}var Ga,Ka=/^--/,Ja=/\s*!important$/,Xa=function(e,t,n){if(Ka.test(t))e.style.setProperty(t,n);else if(Ja.test(n))e.style.setProperty(D(t),n.replace(Ja,""),"important");else{var i=Za(t);if(Array.isArray(n))for(var r=0,o=n.length;r-1?t.split(ns).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function rs(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(ns).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" ".concat(e.getAttribute("class")||""," "),i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function os(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&P(t,as(e.name||"v")),P(t,e),t}return"string"===typeof e?as(e):void 0}}var as=k((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),ss=Z&&!ne,ls="transition",cs="animation",us="transition",hs="transitionend",ds="animation",fs="animationend";ss&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(us="WebkitTransition",hs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ds="WebkitAnimation",fs="webkitAnimationEnd"));var ps=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function vs(e){ps((function(){ps(e)}))}function ms(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),is(e,t))}function gs(e,t){e._transitionClasses&&w(e._transitionClasses,t),rs(e,t)}function ys(e,t,n){var i=_s(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===ls?hs:fs,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l0&&(n=ls,u=a,h=o.length):t===cs?c>0&&(n=cs,u=c,h=l.length):(u=Math.max(a,c),n=u>0?a>c?ls:cs:null,h=n?n===ls?o.length:l.length:0);var d=n===ls&&bs.test(i[us+"Property"]);return{type:n,timeout:u,propCount:h,hasTransform:d}}function ws(e,t){while(e.length1}function Ts(e,t){!0!==t.data.show&&Cs(t)}var Os=Z?{create:Ts,activate:Ts,remove:function(e,t){!0!==e.data.show?ks(e,t):t()}}:{},Ds=[Sa,Oa,Ra,Ha,ts,Os],As=Ds.concat(wa),js=fa({nodeOps:ra,modules:As});ne&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&Fs(e,"input")}));var Is={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Ft(n,"postpatch",(function(){Is.componentUpdated(e,t,n)})):Ms(e,t,n.context),e._vOptions=[].map.call(e.options,Ns)):("textarea"===n.tag||Wo(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Ls),e.addEventListener("compositionend",Rs),e.addEventListener("change",Rs),ne&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Ms(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,Ns);if(r.some((function(e,t){return!F(e,i[t])}))){var o=e.multiple?t.value.some((function(e){return $s(e,r)})):t.value!==t.oldValue&&$s(t.value,r);o&&Fs(e,"change")}}}};function Ms(e,t,n){Ps(e,t,n),(te||ie)&&setTimeout((function(){Ps(e,t,n)}),0)}function Ps(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(F(Ns(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function $s(e,t){return t.every((function(t){return!F(t,e)}))}function Ns(e){return"_value"in e?e._value:e.value}function Ls(e){e.target.composing=!0}function Rs(e){e.target.composing&&(e.target.composing=!1,Fs(e.target,"input"))}function Fs(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Bs(e){return!e.componentInstance||e.data&&e.data.transition?e:Bs(e.componentInstance._vnode)}var Vs={bind:function(e,t,n){var i=t.value;n=Bs(n);var r=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Cs(n,(function(){e.style.display=o}))):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=Bs(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Cs(n,(function(){e.style.display=e.__vOriginalDisplay})):ks(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},zs={model:Is,show:Vs},Hs={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Ws(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Ws(jn(t.children)):e}function Us(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var i in r)t[E(i)]=r[i];return t}function qs(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ys(e){while(e=e.parent)if(e.data.transition)return!0}function Gs(e,t){return t.key===e.key&&t.tag===e.tag}var Ks=function(e){return e.tag||un(e)},Js=function(e){return"show"===e.name},Xs={name:"transition",props:Hs,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Ks),n.length)){0;var i=this.mode;0;var r=n[0];if(Ys(this.$vnode))return r;var o=Ws(r);if(!o)return r;if(this._leaving)return qs(e,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Us(this),l=this._vnode,u=Ws(l);if(o.data.directives&&o.data.directives.some(Js)&&(o.data.show=!0),u&&u.data&&!Gs(o,u)&&!un(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var h=u.data.transition=P({},s);if("out-in"===i)return this._leaving=!0,Ft(h,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),qs(e,r);if("in-out"===i){if(un(o))return l;var d,f=function(){d()};Ft(s,"afterEnter",f),Ft(s,"enterCancelled",f),Ft(h,"delayLeave",(function(e){d=e}))}}return r}}},Qs=P({tag:String,moveClass:String},Hs);delete Qs.mode;var Zs={props:Qs,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Ii(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Us(this),s=0;s1?arguments[1]:void 0,t.length)),i=s(e);return d?d(t,i,n):f(t,n,n+i.length)===i}})},"2ca8":function(e,t,n){var i=n("23e7"),r=n("da84"),o=n("20cc"),a=o(r.setInterval,!0);i({global:!0,bind:!0,forced:r.setInterval!==a},{setInterval:a})},"2cf4":function(e,t,n){var i,r,o,a,s=n("da84"),l=n("2ba4"),c=n("0366"),u=n("1626"),h=n("1a2d"),d=n("d039"),f=n("1be4"),p=n("f36a"),v=n("cc12"),m=n("d6d6"),g=n("1cdc"),y=n("605d"),b=s.setImmediate,_=s.clearImmediate,w=s.process,x=s.Dispatch,C=s.Function,k=s.MessageChannel,S=s.String,E=0,T={},O="onreadystatechange";d((function(){i=s.location}));var D=function(e){if(h(T,e)){var t=T[e];delete T[e],t()}},A=function(e){return function(){D(e)}},j=function(e){D(e.data)},I=function(e){s.postMessage(S(e),i.protocol+"//"+i.host)};b&&_||(b=function(e){m(arguments.length,1);var t=u(e)?e:C(e),n=p(arguments,1);return T[++E]=function(){l(t,void 0,n)},r(E),E},_=function(e){delete T[e]},y?r=function(e){w.nextTick(A(e))}:x&&x.now?r=function(e){x.now(A(e))}:k&&!g?(o=new k,a=o.port2,o.port1.onmessage=j,r=c(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!d(I)?(r=I,s.addEventListener("message",j,!1)):r=O in v("script")?function(e){f.appendChild(v("script"))[O]=function(){f.removeChild(this),D(e)}}:function(e){setTimeout(A(e),0)}),e.exports={set:b,clear:_}},"2d00":function(e,t,n){var i,r,o=n("da84"),a=n("342f"),s=o.process,l=o.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(i=u.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),e.exports=r},"2d26":function(e,t,n){n("a4d3"),n("e01a"),n("b636"),n("dc8d"),n("efe9"),n("d28b"),n("2a1b"),n("8edd"),n("80e0"),n("6b9e"),n("197b"),n("2351"),n("8172"),n("944a"),n("81b8"),n("d9e2"),n("d401"),n("967a"),n("9fbf"),n("33d1"),n("99af"),n("a874"),n("a623"),n("cb29"),n("4de4"),n("7db0"),n("c740"),n("8bd5"),n("71b4"),n("0481"),n("5db7"),n("4160"),n("a630"),n("caad"),n("c975"),n("277d"),n("e260"),n("a15b"),n("baa5"),n("d81d"),n("5ded"),n("14d9"),n("13d5"),n("f4dd"),n("26e9"),n("fb6a"),n("45fc"),n("4e82"),n("f785"),n("a434"),n("0611"),n("8c77"),n("3f1c"),n("4069"),n("73d9"),n("3c65"),n("cb9e"),n("c19f"),n("82da"),n("ace4"),n("b420"),n("0a90"),n("6eba"),n("9321"),n("d1ba"),n("accc"),n("f4b3"),n("efec"),n("0d03"),n("4d12"),n("c0b6"),n("b56e"),n("b0c0"),n("6c57"),n("e9c4"),n("0c47"),n("4ec9"),n("5327"),n("79a8"),n("9ff9"),n("3ea3"),n("40d9"),n("ff9c"),n("0ac8"),n("f664"),n("4057"),n("bc01"),n("6b93"),n("ca21"),n("90d7"),n("2af1"),n("0261"),n("7898"),n("23dc"),n("b65f"),n("a9e3"),n("35b3"),n("f00c"),n("8ba4"),n("9129"),n("583b"),n("aff5"),n("e6e1"),n("c35a"),n("25eb"),n("a3a2"),n("b680"),n("542d"),n("cca6"),n("b8bf"),n("12a8"),n("1d1c"),n("7a82"),n("e71b"),n("4fadc"),n("dca8"),n("c1f9"),n("e439"),n("dbb4"),n("7039"),n("3410"),n("0541"),n("2b19"),n("c906"),n("e21d"),n("e43e"),n("b64b"),n("bf96"),n("5bf7"),n("cee8"),n("1f68"),n("af93"),n("131a"),n("d3b7"),n("07ac"),n("acd8"),n("e25e"),n("e6cf"),n("820e"),n("dbfa"),n("a79d"),n("a6fd"),n("4ae1"),n("3f3a"),n("ac16"),n("5d41"),n("9e4a"),n("7f78"),n("c760"),n("db96"),n("1bf2"),n("d6dd"),n("7ed3"),n("8b9a"),n("f8c9"),n("4d63"),n("c607"),n("ac1f"),n("5377"),n("2c3e"),n("00b4"),n("25f0"),n("6062"),n("ea98"),n("f5b2"),n("8a79"),n("f6d6"),n("2532"),n("3ca3"),n("466d"),n("a1f0"),n("843c"),n("4d90"),n("d80f"),n("38cf"),n("5319"),n("5b81"),n("841c"),n("1276"),n("2ca0"),n("e323"),n("498a"),n("1e25"),n("eee7"),n("18a5"),n("1393"),n("04d3"),n("cc71"),n("c7cd"),n("9767"),n("1913"),n("c5d0"),n("9911"),n("c96a"),n("2315"),n("4c53"),n("664f"),n("cfc3"),n("4a9b"),n("fd87"),n("8b09"),n("143c"),n("5cc6"),n("8a59"),n("84c3"),n("fb2c"),n("907a"),n("9a8c"),n("a975"),n("735e"),n("c1ac"),n("d139"),n("3a7b"),n("986a"),n("1d02"),n("d5d6"),n("20bf"),n("82f8"),n("e91f"),n("60bd"),n("5f96"),n("3280"),n("3fcc"),n("ec97"),n("ca91"),n("25a1"),n("cd26"),n("3c5d"),n("2954"),n("649e"),n("219c"),n("170b"),n("b39a"),n("6ce5"),n("2834"),n("72f7"),n("4ea1"),n("9257"),n("10d1"),n("1fe2"),n("81b2"),n("313d"),n("159b"),n("ddb0"),n("0eb6"),n("b7ef"),n("8bd4"),n("130f"),n("9f96"),n("c73d"),n("ad1f"),n("4795"),n("2b3d"),n("a149"),n("bf19"),n("9861"),n("5494"),e.exports=n("428f")},"2d83":function(e,t,n){"use strict";var i=n("387f");e.exports=function(e,t,n,r,o){var a=new Error(e);return i(a,t,n,r,o)}},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2f62":function(e,t,n){"use strict";(function(e){ /*! * vuex v3.6.2 * (c) 2021 Evan You * @license MIT */ function i(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return N})),n.d(t,"c",(function(){return $}));var r="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=l(e[n],t)})),i}function c(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function u(e){return null!==e&&"object"===typeof e}function h(e){return e&&"function"===typeof e.then}function d(e,t){return function(){return e(t)}}var f=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(e,t){this._children[e]=t},f.prototype.removeChild=function(e){delete this._children[e]},f.prototype.getChild=function(e){return this._children[e]},f.prototype.hasChild=function(e){return e in this._children},f.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},f.prototype.forEachChild=function(e){c(this._children,e)},f.prototype.forEachGetter=function(e){this._rawModule.getters&&c(this._rawModule.getters,e)},f.prototype.forEachAction=function(e){this._rawModule.actions&&c(this._rawModule.actions,e)},f.prototype.forEachMutation=function(e){this._rawModule.mutations&&c(this._rawModule.mutations,e)},Object.defineProperties(f.prototype,p);var v=function(e){this.register([],e,!1)};function m(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;m(e.concat(i),t.getChild(i),n.modules[i])}}v.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},v.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},v.prototype.update=function(e){m([],this.root,e)},v.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new f(t,n);if(0===e.length)this.root=r;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],r)}t.modules&&c(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},v.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},v.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var g;var y=function(e){var t=this;void 0===e&&(e={}),!g&&"undefined"!==typeof window&&window.Vue&&I(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return l.call(r,e,t,n)},this.strict=i;var c=this._modules.root.state;C(this,c,[],this._modules.root),x(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:g.config.devtools;u&&a(this)},b={state:{configurable:!0}};function _(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),x(e,n,t)}function x(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};c(r,(function(t,n){o[n]=d(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=g.config.silent;g.config.silent=!0,e._vm=new g({data:{$$state:t},computed:o}),g.config.silent=a,e.strict&&D(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function C(e,t,n,i,r){var o=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!o&&!r){var s=A(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){g.set(s,l,i.state)}))}var c=i.context=k(e,a,n);i.forEachMutation((function(t,n){var i=a+n;E(e,i,t,c)})),i.forEachAction((function(t,n){var i=t.root?n:a+n,r=t.handler||t;T(e,i,r,c)})),i.forEachGetter((function(t,n){var i=a+n;O(e,i,t,c)})),i.forEachChild((function(i,o){C(e,t,n.concat(o),i,r)}))}function k(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var o=j(n,i,r),a=o.payload,s=o.options,l=o.type;return s&&s.root||(l=t+l),e.dispatch(l,a)},commit:i?e.commit:function(n,i,r){var o=j(n,i,r),a=o.payload,s=o.options,l=o.type;s&&s.root||(l=t+l),e.commit(l,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return S(e,t)}},state:{get:function(){return A(e.state,n)}}}),r}function S(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function E(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,i.state,t)}))}function T(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return h(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function O(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function D(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function A(e,t){return t.reduce((function(e,t){return e[t]}),e)}function j(e,t,n){return u(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function I(e){g&&e===g||(g=e,i(g))}b.state.get=function(){return this._vm._data.$$state},b.state.set=function(e){0},y.prototype.commit=function(e,t,n){var i=this,r=j(e,t,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),l=this._mutations[o];l&&(this._withCommit((function(){l.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},y.prototype.dispatch=function(e,t){var n=this,i=j(e,t),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(c){0}var l=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){l.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(c){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(c){0}t(e)}))}))}},y.prototype.subscribe=function(e,t){return _(e,this._subscribers,t)},y.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return _(n,this._actionSubscribers,t)},y.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},y.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},y.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),x(this,this.state)},y.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=A(t.state,e.slice(0,-1));g.delete(n,e[e.length-1])})),w(this)},y.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},y.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},y.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(y.prototype,b);var M=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=V(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0})),n})),P=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var o=V(this.$store,"mapMutations",e);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),$=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||V(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),N=B((function(e,t){var n={};return R(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var o=V(this.$store,"mapActions",e);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),L=function(e){return{mapState:M.bind(null,e),mapGetters:$.bind(null,e),mapMutations:P.bind(null,e),mapActions:N.bind(null,e)}};function R(e){return F(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function F(e){return Array.isArray(e)||u(e)}function B(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function V(e,t,n){var i=e._modulesNamespaceMap[n];return i}function z(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var c=e.logActions;void 0===c&&(c=!0);var u=e.logger;return void 0===u&&(u=console),function(e){var h=l(e.state);"undefined"!==typeof u&&(s&&e.subscribe((function(e,o){var a=l(o);if(n(e,h,a)){var s=U(),c=r(e),d="mutation "+e.type+s;H(u,d,t),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(h)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),W(u)}h=a})),c&&e.subscribeAction((function(e,n){if(o(e,n)){var i=U(),r=a(e),s="action "+e.type+i;H(u,s,t),u.log("%c action","color: #03A9F4; font-weight: bold",r),W(u)}})))}}function H(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(r){e.log(t)}}function W(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function U(){var e=new Date;return" @ "+Y(e.getHours(),2)+":"+Y(e.getMinutes(),2)+":"+Y(e.getSeconds(),2)+"."+Y(e.getMilliseconds(),3)}function q(e,t){return new Array(t+1).join(e)}function Y(e,t){return q("0",t-e.toString().length)+e}var G={Store:y,install:I,version:"3.6.2",mapState:M,mapMutations:P,mapGetters:$,mapActions:N,createNamespacedHelpers:L,createLogger:z};t["a"]=G}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"301c":function(e,t,n){n("e198")("asyncIterator")},"30b5":function(e,t,n){"use strict";var i=n("c532");function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(i.isArray(e)?t+="[]":e=[e],i.forEach(e,(function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))})))})),o=a.join("&")}if(o){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},"313d":function(e,t,n){var i=n("23e7"),r=n("da84"),o=n("d066"),a=n("e330"),s=n("c65b"),l=n("d039"),c=n("577e"),u=n("d6d6"),h=n("b917").itoc,d=o("btoa"),f=a("".charAt),p=a("".charCodeAt),v=!!d&&!l((function(){d()})),m=!!d&&l((function(){return"bnVsbA=="!==d(null)})),g=!!d&&1!==d.length;i({global:!0,bind:!0,enumerable:!0,forced:v||m||g},{btoa:function(e){if(u(arguments.length,1),v||m||g)return s(d,r,c(e));var t,n,i=c(e),a="",l=0,y=h;while(f(i,l)||(y="=",l%1)){if(n=p(i,l+=3/4),n>255)throw new(o("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");t=t<<8|n,a+=f(y,63&t>>8-l%1*8)}return a}})},"323e":function(e,t,n){var i,r; /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT */(function(o,a){i=a,r="function"===typeof i?i.call(t,n,t,e):i,void 0===r||(e.exports=r)})(0,(function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function n(e,t,n){return en?n:e}function i(e){return 100*(-1+e)}function r(e,n,r){var o;return o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"},o.transition="all "+n+"ms "+r,o}e.configure=function(e){var n,i;for(n in e)i=e[n],void 0!==i&&e.hasOwnProperty(n)&&(t[n]=i);return this},e.status=null,e.set=function(i){var s=e.isStarted();i=n(i,t.minimum,1),e.status=1===i?null:i;var l=e.render(!s),c=l.querySelector(t.barSelector),u=t.speed,h=t.easing;return l.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(c,r(i,u,h)),1===i?(a(l,{transition:"none",opacity:1}),l.offsetWidth,setTimeout((function(){a(l,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),u)}),u)):setTimeout(n,u)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var i=e.status;return i?("number"!==typeof t&&(t=(1-i)*n(Math.random()*i,.1,.95)),i=n(i+t,0,.994),e.set(i)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(i){return i&&"resolved"!==i.state()?(0===n&&e.start(),t++,n++,i.always((function(){n--,0===n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");l(document.documentElement,"nprogress-busy");var r=document.createElement("div");r.id="nprogress",r.innerHTML=t.template;var o,s=r.querySelector(t.barSelector),c=n?"-100":i(e.status||0),u=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),t.showSpinner||(o=r.querySelector(t.spinnerSelector),o&&h(o)),u!=document.body&&l(u,"nprogress-custom-parent"),u.appendChild(r),r},e.remove=function(){c(document.documentElement,"nprogress-busy"),c(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function i(t){var n=document.body.style;if(t in n)return t;var i,r=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);while(r--)if(i=e[r]+o,i in n)return i;return t}function r(e){return e=n(e),t[e]||(t[e]=i(e))}function o(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,i,r=arguments;if(2==r.length)for(n in t)i=t[n],void 0!==i&&t.hasOwnProperty(n)&&o(e,n,i);else o(e,r[1],r[2])}}();function s(e,t){var n="string"==typeof e?e:u(e);return n.indexOf(" "+t+" ")>=0}function l(e,t){var n=u(e),i=n+t;s(n,t)||(e.className=i.substring(1))}function c(e,t){var n,i=u(e);s(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function u(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}))},3280:function(e,t,n){"use strict";var i=n("ebb5"),r=n("2ba4"),o=n("e58c"),a=i.aTypedArray,s=i.exportTypedArrayMethod;s("lastIndexOf",(function(e){var t=arguments.length;return r(o,a(this),t>1?[e,arguments[1]]:[e])}))},3397:function(e,t,n){var i=n("7a41");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"33d1":function(e,t,n){"use strict";var i=n("23e7"),r=n("7b0b"),o=n("07fa"),a=n("5926"),s=n("44d2");i({target:"Array",proto:!0},{at:function(e){var t=r(this),n=o(t),i=a(e),s=i>=0?i:n+i;return s<0||s>=n?void 0:t[s]}}),s("at")},3410:function(e,t,n){var i=n("23e7"),r=n("d039"),o=n("7b0b"),a=n("e163"),s=n("e177"),l=r((function(){a(1)}));i({target:"Object",stat:!0,forced:l,sham:!s},{getPrototypeOf:function(e){return a(o(e))}})},"342f":function(e,t){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3511:function(e,t){var n=TypeError,i=9007199254740991;e.exports=function(e){if(e>i)throw n("Maximum allowed index exceeded");return e}},3529:function(e,t,n){"use strict";var i=n("23e7"),r=n("c65b"),o=n("59ed"),a=n("f069"),s=n("e667"),l=n("2266"),c=n("5eed");i({target:"Promise",stat:!0,forced:c},{race:function(e){var t=this,n=a.f(t),i=n.reject,c=s((function(){var a=o(t.resolve);l(e,(function(e){r(a,t,e).then(n.resolve,i)}))}));return c.error&&i(c.value),n.promise}})},"35a1":function(e,t,n){var i=n("f5df"),r=n("dc4a"),o=n("7234"),a=n("3f8c"),s=n("b622"),l=s("iterator");e.exports=function(e){if(!o(e))return r(e,l)||r(e,"@@iterator")||a[i(e)]}},"35b3":function(e,t,n){var i=n("23e7");i({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},"37e8":function(e,t,n){var i=n("83ab"),r=n("aed9"),o=n("9bf2"),a=n("825a"),s=n("fc6a"),l=n("df75");t.f=i&&!r?Object.defineProperties:function(e,t){a(e);var n,i=s(t),r=l(t),c=r.length,u=0;while(c>u)o.f(e,n=r[u++],i[n]);return e}},"387f":function(e,t,n){"use strict";e.exports=function(e,t,n,i,r){return e.config=t,n&&(e.code=n),e.request=i,e.response=r,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},"38cf":function(e,t,n){var i=n("23e7"),r=n("1148");i({target:"String",proto:!0},{repeat:r})},3934:function(e,t,n){"use strict";var i=n("c532");e.exports=i.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var i=e;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=i.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return function(){return!0}}()},"393a":function(e,t,n){"use strict";var i=n("e444"),r=n("512c2"),o=n("ba01"),a=n("051b"),s=n("8a0d"),l=n("26dd"),c=n("92f0"),u=n("ce7a"),h=n("cc15")("iterator"),d=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",v="values",m=function(){return this};e.exports=function(e,t,n,g,y,b,_){l(n,t,g);var w,x,C,k=function(e){if(!d&&e in O)return O[e];switch(e){case p:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},S=t+" Iterator",E=y==v,T=!1,O=e.prototype,D=O[h]||O[f]||y&&O[y],A=D||k(y),j=y?E?k("entries"):A:void 0,I="Array"==t&&O.entries||D;if(I&&(C=u(I.call(new e)),C!==Object.prototype&&C.next&&(c(C,S,!0),i||"function"==typeof C[h]||a(C,h,m))),E&&D&&D.name!==v&&(T=!0,A=function(){return D.call(this)}),i&&!_||!d&&!T&&O[h]||a(O,h,A),s[t]=A,s[S]=m,y)if(w={values:E?A:k(v),keys:b?A:k(p),entries:j},_)for(x in w)x in O||o(O,x,w[x]);else r(r.P+r.F*(d||T),t,w);return w}},"39ad":function(e,t,n){var i=n("6ca1"),r=n("d16a"),o=n("9d11");e.exports=function(e){return function(t,n,a){var s,l=i(t),c=r(l.length),u=o(a,c);if(e&&n!=n){while(c>u)if(s=l[u++],s!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}}},"3a34":function(e,t,n){"use strict";var i=n("83ab"),r=n("e8b5"),o=TypeError,a=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},"3a7b":function(e,t,n){"use strict";var i=n("ebb5"),r=n("b727").findIndex,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("findIndex",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},"3a9b":function(e,t,n){var i=n("e330");e.exports=i({}.isPrototypeOf)},"3bbe":function(e,t,n){var i=n("1626"),r=String,o=TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw o("Can't set "+r(e)+" as a prototype")}},"3c35":function(e,t){(function(t){e.exports=t}).call(this,{})},"3c4e":function(e,t,n){"use strict";var i=function(e){return r(e)&&!o(e)};function r(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||l(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function l(e){return e.$$typeof===s}function c(e){return Array.isArray(e)?[]:{}}function u(e,t){var n=t&&!0===t.clone;return n&&i(e)?f(c(e),e,t):e}function h(e,t,n){var r=e.slice();return t.forEach((function(t,o){"undefined"===typeof r[o]?r[o]=u(t,n):i(t)?r[o]=f(e[o],t,n):-1===e.indexOf(t)&&r.push(u(t,n))})),r}function d(e,t,n){var r={};return i(e)&&Object.keys(e).forEach((function(t){r[t]=u(e[t],n)})),Object.keys(t).forEach((function(o){i(t[o])&&e[o]?r[o]=f(e[o],t[o],n):r[o]=u(t[o],n)})),r}function f(e,t,n){var i=Array.isArray(t),r=Array.isArray(e),o=n||{arrayMerge:h},a=i===r;if(a){if(i){var s=o.arrayMerge||h;return s(e,t,n)}return d(e,t,n)}return u(t,n)}f.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return f(e,n,t)}))};var p=f;e.exports=p},"3c5d":function(e,t,n){"use strict";var i=n("da84"),r=n("c65b"),o=n("ebb5"),a=n("07fa"),s=n("182d"),l=n("7b0b"),c=n("d039"),u=i.RangeError,h=i.Int8Array,d=h&&h.prototype,f=d&&d.set,p=o.aTypedArray,v=o.exportTypedArrayMethod,m=!c((function(){var e=new Uint8ClampedArray(2);return r(f,e,{length:1,0:3},1),3!==e[1]})),g=m&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new h(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));v("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(m)return r(f,this,n,t);var i=this.length,o=a(n),c=0;if(o+t>i)throw u("Wrong length");while(c=n.length?s(void 0,!0):(e=i(n,r),t.index+=e.length,s(e,!1))}))},"3d33":function(e,t,n){ /** * @license * Video.js 6.13.0 * Copyright Brightcove, Inc. * Available under Apache License Version 2.0 * * * Includes vtt.js * Available under Apache License Version 2.0 * */ function i(e){return e&&"object"===typeof e&&"default"in e?e["default"]:e}var r=i(n("be09")),o=i(n("ef34")),a=i(n("1b8d")),s=i(n("8c10")),l=i(n("eec7")),c=i(n("2b8c")),u="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),v=/iPhone/i.test(h)&&!p,m=/iPod/i.test(h),g=v||p||m,y=function(){var e=h.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),b=/Android/i.test(h),_=function(){var e=h.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!e)return null;var t=e[1]&&parseFloat(e[1]),n=e[2]&&parseFloat(e[2]);return t&&n?parseFloat(e[1]+"."+e[2]):t||null}(),w=b&&/webkit/i.test(h)&&_<2.3,x=b&&_<5&&f<537,C=/Firefox/i.test(h),k=/Edge/i.test(h),S=!k&&(/Chrome/i.test(h)||/CriOS/i.test(h)),E=function(){var e=h.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),T=/MSIE\s8\.0/.test(h),O=function(){var e=/MSIE\s(\d+)\.\d/.exec(h),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(h)&&/rv:11.0/.test(h)&&(t=11),t}(),D=/Safari/i.test(h)&&!S&&!b&&!k,A=(D||g)&&!S,j=ne()&&("ontouchstart"in r||r.navigator.maxTouchPoints||r.DocumentTouch&&r.document instanceof r.DocumentTouch),I=ne()&&"backgroundSize"in r.document.createElement("video").style,M=(Object.freeze||Object)({IS_IPAD:p,IS_IPHONE:v,IS_IPOD:m,IS_IOS:g,IOS_VERSION:y,IS_ANDROID:b,ANDROID_VERSION:_,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:x,IS_FIREFOX:C,IS_EDGE:k,IS_CHROME:S,CHROME_VERSION:E,IS_IE8:T,IE_VERSION:O,IS_SAFARI:D,IS_ANY_SAFARI:A,TOUCH_ENABLED:j,BACKGROUND_SIZE_SUPPORTED:I}),P="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},N=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},L=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t},R=function(e,t){return e.raw=t,e},F=Object.prototype.toString,B=function(e){return W(e)?Object.keys(e):[]};function V(e,t){B(e).forEach((function(n){return t(e[n],n)}))}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return B(e).reduce((function(n,i){return t(n,e[i],i)}),n)}function H(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments[3],r=o.createElement(e);return Object.getOwnPropertyNames(t).forEach((function(e){var n=t[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(K.warn(a(Q,e,n)),r.setAttribute(e,n)):"textContent"===e?se(r,n):r[e]=n})),Object.getOwnPropertyNames(n).forEach((function(e){r.setAttribute(e,n[e])})),i&&Ee(r,i),r}function se(e,t){return"undefined"===typeof e.textContent?e.innerText=t:e.textContent=t,e}function le(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)}function ce(e,t){return ee(t),e.classList?e.classList.contains(t):te(t).test(e.className)}function ue(e,t){return e.classList?e.classList.add(t):ce(e,t)||(e.className=(e.className+" "+t).trim()),e}function he(e,t){return e.classList?e.classList.remove(t):(ee(t),e.className=e.className.split(/\s+/).filter((function(e){return e!==t})).join(" ")),e}function de(e,t,n){var i=ce(e,t);if("function"===typeof n&&(n=n(e,t)),"boolean"!==typeof n&&(n=!i),n!==i)return n?ue(e,t):he(e,t),e}function fe(e,t){Object.getOwnPropertyNames(t).forEach((function(n){var i=t[n];null===i||"undefined"===typeof i||!1===i?e.removeAttribute(n):e.setAttribute(n,!0===i?"":i)}))}function pe(e){var t={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var i=e.attributes,r=i.length-1;r>=0;r--){var o=i[r].name,a=i[r].value;"boolean"!==typeof e[o]&&-1===n.indexOf(","+o+",")||(a=null!==a),t[o]=a}return t}function ve(e,t){return e.getAttribute(t)}function me(e,t,n){e.setAttribute(t,n)}function ge(e,t){e.removeAttribute(t)}function ye(){o.body.focus(),o.onselectstart=function(){return!1}}function be(){o.onselectstart=function(){return!0}}function _e(e){if(e&&e.getBoundingClientRect&&e.parentNode){var t=e.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach((function(e){void 0!==t[e]&&(n[e]=t[e])})),n.height||(n.height=parseFloat(X(e,"height"))),n.width||(n.width=parseFloat(X(e,"width"))),n}}function we(e){var t=void 0;if(e.getBoundingClientRect&&e.parentNode&&(t=e.getBoundingClientRect()),!t)return{left:0,top:0};var n=o.documentElement,i=o.body,a=n.clientLeft||i.clientLeft||0,s=r.pageXOffset||i.scrollLeft,l=t.left+s-a,c=n.clientTop||i.clientTop||0,u=r.pageYOffset||i.scrollTop,h=t.top+u-c;return{left:Math.round(l),top:Math.round(h)}}function xe(e,t){var n={},i=we(e),r=e.offsetWidth,o=e.offsetHeight,a=i.top,s=i.left,l=t.pageY,c=t.pageX;return t.changedTouches&&(c=t.changedTouches[0].pageX,l=t.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(a-l+o)/o)),n.x=Math.max(0,Math.min(1,(c-s)/r)),n}function Ce(e){return W(e)&&3===e.nodeType}function ke(e){while(e.firstChild)e.removeChild(e.firstChild);return e}function Se(e){return"function"===typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"===typeof e&&(e=e()),ie(e)||Ce(e)?e:"string"===typeof e&&/\S/.test(e)?o.createTextNode(e):void 0})).filter((function(e){return e}))}function Ee(e,t){return Se(t).forEach((function(t){return e.appendChild(t)})),e}function Te(e,t){return Ee(ke(e),t)}function Oe(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||(9===O||0===e.button&&1===e.buttons))}var De=oe("querySelector"),Ae=oe("querySelectorAll"),je=(Object.freeze||Object)({isReal:ne,isEl:ie,isInFrame:re,createEl:ae,textContent:se,prependTo:le,hasClass:ce,addClass:ue,removeClass:he,toggleClass:de,setAttributes:fe,getAttributes:pe,getAttribute:ve,setAttribute:me,removeAttribute:ge,blockTextSelection:ye,unblockTextSelection:be,getBoundingClientRect:_e,findPosition:we,getPointerPosition:xe,isTextNode:Ce,emptyEl:ke,normalizeContent:Se,appendContent:Ee,insertContent:Te,isSingleLeftClick:Oe,$:De,$$:Ae}),Ie=1;function Me(){return Ie++}var Pe={},$e="vdata"+(new Date).getTime();function Ne(e){var t=e[$e];return t||(t=e[$e]=Me()),Pe[t]||(Pe[t]={}),Pe[t]}function Le(e){var t=e[$e];return!!t&&!!Object.getOwnPropertyNames(Pe[t]).length}function Re(e){var t=e[$e];if(t){delete Pe[t];try{delete e[$e]}catch(n){e.removeAttribute?e.removeAttribute($e):e[$e]=null}}}function Fe(e,t){var n=Ne(e);0===n.handlers[t].length&&(delete n.handlers[t],e.removeEventListener?e.removeEventListener(t,n.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Re(e)}function Be(e,t,n,i){n.forEach((function(n){e(t,n,i)}))}function Ve(e){function t(){return!0}function n(){return!1}if(!e||!e.isPropagationStopped){var i=e||r.event;for(var a in e={},i)"layerX"!==a&&"layerY"!==a&&"keyLocation"!==a&&"webkitMovementX"!==a&&"webkitMovementY"!==a&&("returnValue"===a&&i.preventDefault||(e[a]=i[a]));if(e.target||(e.target=e.srcElement||o),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){i.preventDefault&&i.preventDefault(),e.returnValue=!1,i.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){i.stopPropagation&&i.stopPropagation(),e.cancelBubble=!0,i.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=n,e.stopImmediatePropagation=function(){i.stopImmediatePropagation&&i.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=n,null!==e.clientX&&void 0!==e.clientX){var s=o.documentElement,l=o.body;e.pageX=e.clientX+(s&&s.scrollLeft||l&&l.scrollLeft||0)-(s&&s.clientLeft||l&&l.clientLeft||0),e.pageY=e.clientY+(s&&s.scrollTop||l&&l.scrollTop||0)-(s&&s.clientTop||l&&l.clientTop||0)}e.which=e.charCode||e.keyCode,null!==e.button&&void 0!==e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}var ze=!1;(function(){try{var e=Object.defineProperty({},"passive",{get:function(){ze=!0}});r.addEventListener("test",null,e),r.removeEventListener("test",null,e)}catch(t){}})();var He=["touchstart","touchmove"];function We(e,t,n){if(Array.isArray(t))return Be(We,e,t,n);var i=Ne(e);if(i.handlers||(i.handlers={}),i.handlers[t]||(i.handlers[t]=[]),n.guid||(n.guid=Me()),i.handlers[t].push(n),i.dispatcher||(i.disabled=!1,i.dispatcher=function(t,n){if(!i.disabled){t=Ve(t);var r=i.handlers[t.type];if(r)for(var o=r.slice(0),a=0,s=o.length;a-1&&(r={passive:!0}),e.addEventListener(t,i.dispatcher,r)}else e.attachEvent&&e.attachEvent("on"+t,i.dispatcher)}function Ue(e,t,n){if(Le(e)){var i=Ne(e);if(i.handlers){if(Array.isArray(t))return Be(Ue,e,t,n);var r=function(e,t){i.handlers[t]=[],Fe(e,t)};if(void 0!==t){var o=i.handlers[t];if(o)if(n){if(n.guid)for(var a=0;a0)for(var r=0,a=e.length;r0)for(var s=0,l=t.length;s0)for(var c=0,u=n.length;c0)for(var h=0,d=i.length;h=t&&(e.apply(void 0,arguments),n=i)};return i},it=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,o=void 0,a=function(){i.clearTimeout(o),o=null},s=function(){var r=this,a=arguments,s=function(){o=null,s=null,n||e.apply(r,a)};!o&&n&&e.apply(r,a),i.clearTimeout(o),o=i.setTimeout(s,t)};return s.cancel=a,s},rt=function(){};rt.prototype.allowedEvents_={},rt.prototype.on=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},We(this,e,t),this.addEventListener=n},rt.prototype.addEventListener=rt.prototype.on,rt.prototype.off=function(e,t){Ue(this,e,t)},rt.prototype.removeEventListener=rt.prototype.off,rt.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},Ye(this,e,t),this.addEventListener=n},rt.prototype.trigger=function(e){var t=e.type||e;"string"===typeof e&&(e={type:t}),e=Ve(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),qe(this,e)},rt.prototype.dispatchEvent=rt.prototype.trigger;var ot=function(e){return e instanceof rt||!!e.eventBusEl_&&["on","one","off","trigger"].every((function(t){return"function"===typeof e[t]}))},at=function(e){return"string"===typeof e&&/\S/.test(e)||Array.isArray(e)&&!!e.length},st=function(e){if(!e.nodeName&&!ot(e))throw new Error("Invalid target; must be a DOM node or evented object.")},lt=function(e){if(!at(e))throw new Error("Invalid event type; must be a non-empty string or array.")},ct=function(e){if("function"!==typeof e)throw new Error("Invalid listener; must be a function.")},ut=function(e,t){var n=t.length<3||t[0]===e||t[0]===e.eventBusEl_,i=void 0,r=void 0,o=void 0;return n?(i=e.eventBusEl_,t.length>=3&&t.shift(),r=t[0],o=t[1]):(i=t[0],r=t[1],o=t[2]),st(i),lt(r),ct(o),o=tt(e,o),{isTargetingSelf:n,target:i,type:r,listener:o}},ht=function(e,t,n,i){st(e),e.nodeName?Ge[t](e,n,i):e[t](n,i)},dt={on:function(){for(var e=this,t=arguments.length,n=Array(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=t.eventBusKey;if(n){if(!e[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');e.eventBusEl_=e[n]}else e.eventBusEl_=ae("span",{className:"vjs-event-bus"});return H(e,dt),e.on("dispose",(function(){e.off(),r.setTimeout((function(){e.eventBusEl_=null}),0)})),e}var pt={state:{},setState:function(e){var t=this;"function"===typeof e&&(e=e());var n=void 0;return V(e,(function(e,i){t.state[i]!==e&&(n=n||{},n[i]={from:t.state[i],to:e}),t.state[i]=e})),n&&ot(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function vt(e,t){return H(e,pt),e.state=H({},e.state,t),"function"===typeof e.handleStateChanged&&ot(e)&&e.on("statechanged",e.handleStateChanged),e}function mt(e){return"string"!==typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}function gt(e,t){return mt(e)===mt(t)}function yt(){for(var e={},t=arguments.length,n=Array(t),i=0;i=0;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Re(this.el_),this.el_=null),this.player_=null},e.prototype.player=function(){return this.player_},e.prototype.options=function(e){return K.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e?(this.options_=yt(this.options_,e),this.options_):this.options_},e.prototype.el=function(){return this.el_},e.prototype.createEl=function(e,t,n){return ae(e,t,n)},e.prototype.localize=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,i=this.player_.language&&this.player_.language(),r=this.player_.languages&&this.player_.languages(),o=r&&r[i],a=i&&i.split("-")[0],s=r&&r[a],l=n;return o&&o[e]?l=o[e]:s&&s[e]&&(l=s[e]),t&&(l=l.replace(/\{(\d+)\}/g,(function(e,n){var i=t[n-1],r=i;return"undefined"===typeof i&&(r=e),r}))),l},e.prototype.contentEl=function(){return this.contentEl_||this.el_},e.prototype.id=function(){return this.id_},e.prototype.name=function(){return this.name_},e.prototype.children=function(){return this.children_},e.prototype.getChildById=function(e){return this.childIndex_[e]},e.prototype.getChild=function(e){if(e)return e=mt(e),this.childNameIndex_[e]},e.prototype.addChild=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,r=void 0,o=void 0;if("string"===typeof t){o=mt(t);var a=n.componentClass||o;n.name=o;var s=e.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!==typeof s)return null;r=new s(this.player_||this,n)}else r=t;if(this.children_.splice(i,0,r),"function"===typeof r.id&&(this.childIndex_[r.id()]=r),o=o||r.name&&mt(r.name()),o&&(this.childNameIndex_[o]=r),"function"===typeof r.el&&r.el()){var l=this.contentEl().children,c=l[i]||null;this.contentEl().insertBefore(r.el(),c)}return r},e.prototype.removeChild=function(e){if("string"===typeof e&&(e=this.getChild(e)),e&&this.children_){for(var t=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===e){t=!0,this.children_.splice(n,1);break}if(t){this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null;var i=e.el();i&&i.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}}},e.prototype.initChildren=function(){var t=this,n=this.options_.children;if(n){var i=this.options_,r=function(e){var n=e.name,r=e.opts;if(void 0!==i[n]&&(r=i[n]),!1!==r){!0===r&&(r={}),r.playerOptions=t.options_.playerOptions;var o=t.addChild(n,r);o&&(t[n]=o)}},o=void 0,a=e.getComponent("Tech");o=Array.isArray(n)?n:Object.keys(n),o.concat(Object.keys(this.options_).filter((function(e){return!o.some((function(t){return"string"===typeof t?e===t:e===t.name}))}))).map((function(e){var i=void 0,r=void 0;return"string"===typeof e?(i=e,r=n[i]||t.options_[i]||{}):(i=e.name,r=e),{name:i,opts:r}})).filter((function(t){var n=e.getComponent(t.opts.componentClass||mt(t.name));return n&&!a.isTech(n)})).forEach(r)}},e.prototype.buildCSSClass=function(){return""},e.prototype.ready=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e)return this.isReady_?void(t?e.call(this):this.setTimeout(e,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(e))},e.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout((function(){var e=this.readyQueue_;this.readyQueue_=[],e&&e.length>0&&e.forEach((function(e){e.call(this)}),this),this.trigger("ready")}),1)},e.prototype.$=function(e,t){return De(e,t||this.contentEl())},e.prototype.$$=function(e,t){return Ae(e,t||this.contentEl())},e.prototype.hasClass=function(e){return ce(this.el_,e)},e.prototype.addClass=function(e){ue(this.el_,e)},e.prototype.removeClass=function(e){he(this.el_,e)},e.prototype.toggleClass=function(e,t){de(this.el_,e,t)},e.prototype.show=function(){this.removeClass("vjs-hidden")},e.prototype.hide=function(){this.addClass("vjs-hidden")},e.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},e.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},e.prototype.getAttribute=function(e){return ve(this.el_,e)},e.prototype.setAttribute=function(e,t){me(this.el_,e,t)},e.prototype.removeAttribute=function(e){ge(this.el_,e)},e.prototype.width=function(e,t){return this.dimension("width",e,t)},e.prototype.height=function(e,t){return this.dimension("height",e,t)},e.prototype.dimensions=function(e,t){this.width(e,!0),this.height(t)},e.prototype.dimension=function(e,t,n){if(void 0!==t)return null!==t&&t===t||(t=0),-1!==(""+t).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var i=this.el_.style[e],r=i.indexOf("px");return-1!==r?parseInt(i.slice(0,r),10):parseInt(this.el_["offset"+mt(e)],10)},e.prototype.currentDimension=function(e){var t=0;if("width"!==e&&"height"!==e)throw new Error("currentDimension only accepts width or height value");if("function"===typeof r.getComputedStyle){var n=r.getComputedStyle(this.el_);t=n.getPropertyValue(e)||n[e]}if(t=parseFloat(t),0===t){var i="offset"+mt(e);t=this.el_[i]}return t},e.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},e.prototype.currentWidth=function(){return this.currentDimension("width")},e.prototype.currentHeight=function(){return this.currentDimension("height")},e.prototype.focus=function(){this.el_.focus()},e.prototype.blur=function(){this.el_.blur()},e.prototype.emitTapEvents=function(){var e=0,t=null,n=10,i=200,r=void 0;this.on("touchstart",(function(n){1===n.touches.length&&(t={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},e=(new Date).getTime(),r=!0)})),this.on("touchmove",(function(e){if(e.touches.length>1)r=!1;else if(t){var i=e.touches[0].pageX-t.pageX,o=e.touches[0].pageY-t.pageY,a=Math.sqrt(i*i+o*o);a>n&&(r=!1)}}));var o=function(){r=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",(function(n){if(t=null,!0===r){var o=(new Date).getTime()-e;o0&&c.map((function(e){return l[e]})).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return e.components_[t]=n,n},e.getComponent=function(t){if(t)return t=mt(t),e.components_&&e.components_[t]?e.components_[t]:void 0},e}();function _t(e,t,n){if("number"!==typeof t||t<0||t>n)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+t+") is non-numeric or out of bounds (0-"+n+").")}function wt(e,t,n,i){return _t(e,i,n.length-1),n[i][t]}function xt(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:wt.bind(null,"start",0,e),end:wt.bind(null,"end",1,e)}}function Ct(e,t){return Array.isArray(e)?xt(e):void 0===e||void 0===t?xt():xt([[e,t]])}function kt(e,t){var n=0,i=void 0,r=void 0;if(!t)return 0;e&&e.length||(e=Ct(0,0));for(var o=0;ot&&(r=t),n+=r-i;return n/t}bt.prototype.supportsRaf_="function"===typeof r.requestAnimationFrame&&"function"===typeof r.cancelAnimationFrame,bt.registerComponent("Component",bt);for(var St={},Et=[["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"]],Tt=Et[0],Ot=void 0,Dt=0;Dt0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;$(this,t);var a=L(this,e.call(this));if(!r&&(r=a,T))for(var s in r=o.createElement("custom"),t.prototype)"constructor"!==s&&(r[s]=t.prototype[s]);r.tracks_=[],Object.defineProperty(r,"length",{get:function(){return this.tracks_.length}});for(var l=0;l0&&void 0!==arguments[0]?arguments[0]:[];$(this,t);for(var a=void 0,s=r.length-1;s>=0;s--)if(r[s].enabled){Wt(r,r[s]);break}if(T){for(var l in a=o.createElement("custom"),zt.prototype)"constructor"!==l&&(a[l]=zt.prototype[l]);for(var c in t.prototype)"constructor"!==c&&(a[c]=t.prototype[c])}return n=L(this,e.call(this,r,a)),a=n,a.changing_=!1,i=a,L(n,i)}return N(t,e),t.prototype.addTrack=function(t){var n=this;t.enabled&&Wt(this,t),e.prototype.addTrack.call(this,t),t.addEventListener&&t.addEventListener("enabledchange",(function(){n.changing_||(n.changing_=!0,Wt(n,t),n.changing_=!1,n.trigger("change"))}))},t}(zt),qt=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];$(this,t);for(var a=void 0,s=r.length-1;s>=0;s--)if(r[s].selected){qt(r,r[s]);break}if(T){for(var l in a=o.createElement("custom"),zt.prototype)"constructor"!==l&&(a[l]=zt.prototype[l]);for(var c in t.prototype)"constructor"!==c&&(a[c]=t.prototype[c])}return n=L(this,e.call(this,r,a)),a=n,a.changing_=!1,Object.defineProperty(a,"selectedIndex",{get:function(){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:[];$(this,t);var a=void 0;if(T){for(var s in a=o.createElement("custom"),zt.prototype)"constructor"!==s&&(a[s]=zt.prototype[s]);for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l])}return n=L(this,e.call(this,r,a)),a=n,i=a,L(n,i)}return N(t,e),t.prototype.addTrack=function(t){e.prototype.addTrack.call(this,t),t.addEventListener("modechange",tt(this,(function(){this.trigger("change")})));var n=["metadata","chapters"];-1===n.indexOf(t.kind)&&t.addEventListener("modechange",tt(this,(function(){this.trigger("selectedlanguagechange")})))},t}(zt),Kt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];$(this,e);var n=this;if(T)for(var i in n=o.createElement("custom"),e.prototype)"constructor"!==i&&(n[i]=e.prototype[i]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var r=0,a=t.length;r0&&void 0!==arguments[0]?arguments[0]:{};$(this,t);var r=L(this,e.call(this)),a=r;if(T)for(var s in a=o.createElement("custom"),t.prototype)"constructor"!==s&&(a[s]=t.prototype[s]);var l={id:i.id||"vjs_track_"+Me(),kind:i.kind||"",label:i.label||"",language:i.language||""},c=function(e){Object.defineProperty(a,e,{get:function(){return l[e]},set:function(){}})};for(var u in l)c(u);return n=a,L(r,n)}return N(t,e),t}(rt),nn=function(e){var t=["protocol","hostname","port","pathname","search","hash","host"],n=o.createElement("a");n.href=e;var i=""===n.host&&"file:"!==n.protocol,a=void 0;i&&(a=o.createElement("div"),a.innerHTML='
',n=a.firstChild,a.setAttribute("style","display:none; position:absolute;"),o.body.appendChild(a));for(var s={},l=0;lx',e=t.firstChild.href}return e},on=function(e){if("string"===typeof e){var t=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=t.exec(e);if(n)return n.pop().toLowerCase()}return""},an=function(e){var t=r.location,n=nn(e),i=":"===n.protocol?t.protocol:n.protocol,o=i+n.host!==t.protocol+t.host;return o},sn=(Object.freeze||Object)({parseUrl:nn,getAbsoluteURL:rn,getFileExtension:on,isCrossOrigin:an}),ln=function(e,t){var n=new r.WebVTT.Parser(r,r.vttjs,r.WebVTT.StringDecoder()),i=[];n.oncue=function(e){t.addCue(e)},n.onparsingerror=function(e){i.push(e)},n.onflush=function(){t.trigger({type:"loadeddata",target:t})},n.parse(e),i.length>0&&(r.console&&r.console.groupCollapsed&&r.console.groupCollapsed("Text Track parsing errors for "+t.src),i.forEach((function(e){return K.error(e)})),r.console&&r.console.groupEnd&&r.console.groupEnd()),n.flush()},cn=function(e,t){var n={uri:e},i=an(e);i&&(n.cors=i),l(n,tt(this,(function(e,n,i){if(e)return K.error(e,n);if(t.loaded_=!0,"function"!==typeof r.WebVTT){if(t.tech_){var o=function(){return ln(i,t)};t.tech_.on("vttjsloaded",o),t.tech_.on("vttjserror",(function(){K.error("vttjs failed to load, stopping trying to process "+t.src),t.tech_.off("vttjsloaded",o)}))}}else ln(i,t)})))},un=function(e){function t(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if($(this,t),!r.tech)throw new Error("A tech was not provided.");var o=yt(r,{kind:Zt[r.kind]||"subtitles",language:r.language||r.srclang||""}),a=en[o.mode]||"disabled",s=o["default"];"metadata"!==o.kind&&"chapters"!==o.kind||(a="hidden");var l=(n=L(this,e.call(this,o)),n);if(l.tech_=o.tech,T)for(var c in t.prototype)"constructor"!==c&&(l[c]=t.prototype[c]);l.cues_=[],l.activeCues_=[];var u=new Jt(l.cues_),h=new Jt(l.activeCues_),d=!1,f=tt(l,(function(){this.activeCues=this.activeCues,d&&(this.trigger("cuechange"),d=!1)}));return"disabled"!==a&&l.tech_.ready((function(){l.tech_.on("timeupdate",f)}),!0),Object.defineProperty(l,"default",{get:function(){return s},set:function(){}}),Object.defineProperty(l,"mode",{get:function(){return a},set:function(e){var t=this;en[e]&&(a=e,"disabled"!==a?this.tech_.ready((function(){t.tech_.on("timeupdate",f)}),!0):this.tech_.off("timeupdate",f),this.trigger("modechange"))}}),Object.defineProperty(l,"cues",{get:function(){return this.loaded_?u:null},set:function(){}}),Object.defineProperty(l,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return h;for(var e=this.tech_.currentTime(),t=[],n=0,i=this.cues.length;n=e||r.startTime===r.endTime&&r.startTime<=e&&r.startTime+.5>=e)&&t.push(r)}if(d=!1,t.length!==this.activeCues_.length)d=!0;else for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};$(this,t);var o=yt(r,{kind:Qt[r.kind]||""}),a=(n=L(this,e.call(this,o)),n),s=!1;if(T)for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l]);return Object.defineProperty(a,"enabled",{get:function(){return s},set:function(e){"boolean"===typeof e&&e!==s&&(s=e,this.trigger("enabledchange"))}}),o.enabled&&(a.enabled=o.enabled),a.loaded_=!0,i=a,L(n,i)}return N(t,e),t}(tn),dn=function(e){function t(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$(this,t);var o=yt(r,{kind:Xt[r.kind]||""}),a=(n=L(this,e.call(this,o)),n),s=!1;if(T)for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l]);return Object.defineProperty(a,"selected",{get:function(){return s},set:function(e){"boolean"===typeof e&&e!==s&&(s=e,this.trigger("selectedchange"))}}),o.selected&&(a.selected=o.selected),i=a,L(n,i)}return N(t,e),t}(tn),fn=0,pn=1,vn=2,mn=3,gn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};$(this,t);var i=L(this,e.call(this)),r=void 0,a=i;if(T)for(var s in a=o.createElement("custom"),t.prototype)"constructor"!==s&&(a[s]=t.prototype[s]);var l,c=new un(n);return a.kind=c.kind,a.src=c.src,a.srclang=c.language,a.label=c.label,a["default"]=c["default"],Object.defineProperty(a,"readyState",{get:function(){return r}}),Object.defineProperty(a,"track",{get:function(){return c}}),r=fn,c.addEventListener("loadeddata",(function(){r=vn,a.trigger({type:"load",target:a})})),T?(l=a,L(i,l)):i}return N(t,e),t}(rt);gn.prototype.allowedEvents_={load:"load"},gn.NONE=fn,gn.LOADING=pn,gn.LOADED=vn,gn.ERROR=mn;var yn={audio:{ListClass:Ut,TrackClass:hn,capitalName:"Audio"},video:{ListClass:Yt,TrackClass:dn,capitalName:"Video"},text:{ListClass:Gt,TrackClass:un,capitalName:"Text"}};Object.keys(yn).forEach((function(e){yn[e].getterName=e+"Tracks",yn[e].privateName=e+"Tracks_"}));var bn={remoteText:{ListClass:Gt,TrackClass:un,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Kt,TrackClass:gn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},_n=yt(yn,bn);function wn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=e.textTracks();r.kind=t,n&&(r.label=n),i&&(r.language=i),r.tech=e;var a=new _n.text.TrackClass(r);return o.addTrack(a),a}bn.names=Object.keys(bn),yn.names=Object.keys(yn),_n.names=[].concat(bn.names).concat(yn.names);var xn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};$(this,t),n.reportTouchActivity=!1;var r=L(this,e.call(this,null,n,i));return r.hasStarted_=!1,r.on("playing",(function(){this.hasStarted_=!0})),r.on("loadstart",(function(){this.hasStarted_=!1})),_n.names.forEach((function(e){var t=_n[e];n&&n[t.getterName]&&(r[t.privateName]=n[t.getterName])})),r.featuresProgressEvents||r.manualProgressOn(),r.featuresTimeupdateEvents||r.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(e){!1===n["native"+e+"Tracks"]&&(r["featuresNative"+e+"Tracks"]=!1)})),!1===n.nativeCaptions||!1===n.nativeTextTracks?r.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(r.featuresNativeTextTracks=!0),r.featuresNativeTextTracks||r.emulateTextTracks(),r.autoRemoteTextTracks_=new _n.text.ListClass,r.initTrackListeners(),n.nativeControlsForTouch||r.emitTapEvents(),r.constructor&&(r.name_=r.constructor.name||"Unknown Tech"),r}return N(t,e),t.prototype.triggerSourceset=function(e){var t=this;this.isReady_||this.one("ready",(function(){return t.setTimeout((function(){return t.triggerSourceset(e)}),1)})),this.trigger({src:e,type:"sourceset"})},t.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},t.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},t.prototype.trackProgress=function(e){this.stopTrackingProgress(),this.progressInterval=this.setInterval(tt(this,(function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),this.bufferedPercent_=e,1===e&&this.stopTrackingProgress()})),500)},t.prototype.onDurationChange=function(e){this.duration_=this.duration()},t.prototype.buffered=function(){return Ct(0,0)},t.prototype.bufferedPercent=function(){return kt(this.buffered(),this.duration_)},t.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},t.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},t.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},t.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval((function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})}),250)},t.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.dispose=function(){this.clearTracks(yn.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),e.prototype.dispose.call(this)},t.prototype.clearTracks=function(e){var t=this;e=[].concat(e),e.forEach((function(e){var n=t[e+"Tracks"]()||[],i=n.length;while(i--){var r=n[i];"text"===e&&t.removeRemoteTextTrack(r),n.removeTrack(r)}}))},t.prototype.cleanupAutoTextTracks=function(){var e=this.autoRemoteTextTracks_||[],t=e.length;while(t--){var n=e[t];this.removeRemoteTextTrack(n)}},t.prototype.reset=function(){},t.prototype.error=function(e){return void 0!==e&&(this.error_=new jt(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?Ct(0,0):Ct()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTrackListeners=function(){var e=this;yn.names.forEach((function(t){var n=yn[t],i=function(){e.trigger(t+"trackchange")},r=e[n.getterName]();r.addEventListener("removetrack",i),r.addEventListener("addtrack",i),e.on("dispose",(function(){r.removeEventListener("removetrack",i),r.removeEventListener("addtrack",i)}))}))},t.prototype.addWebVttScript_=function(){var e=this;if(!r.WebVTT)if(o.body.contains(this.el())){if(!this.options_["vtt.js"]&&U(c)&&Object.keys(c).length>0)return void this.trigger("vttjsloaded");var t=o.createElement("script");t.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)}else this.ready(this.addWebVttScript_)},t.prototype.emulateTextTracks=function(){var e=this,t=this.textTracks(),n=this.remoteTextTracks(),i=function(e){return t.addTrack(e.track)},r=function(e){return t.removeTrack(e.track)};n.on("addtrack",i),n.on("removetrack",r),this.addWebVttScript_();var o=function(){return e.trigger("texttrackchange")},a=function(){o();for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],i=this.createRemoteTextTrack(t);return!0!==n&&!1!==n&&(K.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 e.autoRemoteTextTracks_.addTrack(i.track)})),i},t.prototype.removeRemoteTextTrack=function(e){var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack(e),this.autoRemoteTextTracks_.removeTrack(e)},t.prototype.getVideoPlaybackQuality=function(){return{}},t.prototype.setPoster=function(){},t.prototype.playsinline=function(){},t.prototype.setPlaysinline=function(){},t.prototype.canPlayType=function(){return""},t.canPlayType=function(){return""},t.canPlaySource=function(e,n){return t.canPlayType(e.type)},t.isTech=function(e){return e.prototype instanceof t||e instanceof t||e===t},t.registerTech=function(e,n){if(t.techs_||(t.techs_={}),!t.isTech(n))throw new Error("Tech "+e+" must be a Tech");if(!t.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!t.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return e=mt(e),t.techs_[e]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return e=mt(e),t.techs_&&t.techs_[e]?t.techs_[e]:r&&r.videojs&&r.videojs[e]?(K.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),r.videojs[e]):void 0},t}(bt);_n.names.forEach((function(e){var t=_n[e];xn.prototype[t.getterName]=function(){return this[t.privateName]=this[t.privateName]||new t.ListClass,this[t.privateName]}})),xn.prototype.featuresVolumeControl=!0,xn.prototype.featuresMuteControl=!0,xn.prototype.featuresFullscreenResize=!1,xn.prototype.featuresPlaybackRate=!1,xn.prototype.featuresProgressEvents=!1,xn.prototype.featuresSourceset=!1,xn.prototype.featuresTimeupdateEvents=!1,xn.prototype.featuresNativeTextTracks=!1,xn.withSourceHandlers=function(e){e.registerSourceHandler=function(t,n){var i=e.sourceHandlers;i||(i=e.sourceHandlers=[]),void 0===n&&(n=i.length),i.splice(n,0,t)},e.canPlayType=function(t){for(var n=e.sourceHandlers||[],i=void 0,r=0;r3&&void 0!==arguments[3]?arguments[3]:null,r="call"+mt(n),o=e.reduce($n(r),i),a=o===Sn,s=a?null:t[n](o);return Nn(e,n,s,a),s}var In={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},Mn={setCurrentTime:1},Pn={play:1,pause:1};function $n(e){return function(t,n){return t===Sn?Sn:n[e]?n[e](t):t}}function Nn(e,t,n,i){for(var r=e.length-1;r>=0;r--){var o=e[r];o[t]&&o[t](i,n)}}function Ln(e){kn[e.id()]=null}function Rn(e,t){var n=kn[e.id()],i=null;if(void 0===n||null===n)return i=t(e),kn[e.id()]=[[t,i]],i;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],i=arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=t[0],s=t.slice(1);if("string"===typeof a)Fn(e,Cn[a],n,i,r,o);else if(a){var l=Rn(i,a);if(!l.setSource)return r.push(l),Fn(e,s,n,i,r,o);l.setSource(H({},e),(function(t,a){if(t)return Fn(e,s,n,i,r,o);r.push(l),Fn(a,e.type===a.type?s:Cn[a.type],n,i,r,o)}))}else s.length?Fn(e,s,n,i,r,o):o?n(e,r):Fn(e,Cn["*"],n,i,r,!0)}var Bn={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"},Vn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=on(e),n=Bn[t.toLowerCase()];return n||""},zn=function(e,t){if(!t)return"";if(e.cache_.source.src===t&&e.cache_.source.type)return e.cache_.source.type;var n=e.cache_.sources.filter((function(e){return e.src===t}));if(n.length)return n[0].type;for(var i=e.$$("source"),r=0;r0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=H({innerHTML:'',className:this.buildCSSClass(),tabIndex:0},n),"button"===t&&K.error("Creating a ClickableComponent with an HTML element of "+t+" is not supported; use a Button instead."),i=H({role:"button"},i),this.tabIndex_=n.tabIndex;var r=e.prototype.createEl.call(this,t,n,i);return this.createControlTextEl(r),r},t.prototype.dispose=function(){this.controlTextEl_=null,e.prototype.dispose.call(this)},t.prototype.createControlTextEl=function(e){return this.controlTextEl_=ae("span",{className:"vjs-control-text"},{"aria-live":"polite"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_,e),this.controlTextEl_},t.prototype.controlText=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===e)return this.controlText_||"Need Text";var n=this.localize(e);this.controlText_=e,se(this.controlTextEl_,n),this.nonIconControl||t.setAttribute("title",n)},t.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+e.prototype.buildCSSClass.call(this)},t.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!==typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},t.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!==typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},t.prototype.handleClick=function(e){},t.prototype.handleFocus=function(e){We(o,"keydown",tt(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.trigger("click")):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t.prototype.handleBlur=function(e){Ue(o,"keydown",tt(this,this.handleKeyPress))},t}(bt);bt.registerComponent("ClickableComponent",qn);var Yn=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.update(),n.on("posterchange",tt(r,r.update)),r}return N(t,e),t.prototype.dispose=function(){this.player().off("posterchange",this.update),e.prototype.dispose.call(this)},t.prototype.createEl=function(){var e=ae("div",{className:"vjs-poster",tabIndex:-1});return I||(this.fallbackImg_=ae("img"),e.appendChild(this.fallbackImg_)),e},t.prototype.update=function(e){var t=this.player().poster();this.setSrc(t),t?this.show():this.hide()},t.prototype.setSrc=function(e){if(this.fallbackImg_)this.fallbackImg_.src=e;else{var t="";e&&(t='url("'+e+'")'),this.el_.style.backgroundImage=t}},t.prototype.handleClick=function(e){this.player_.controls()&&(this.player_.paused()?Pt(this.player_.play()):this.player_.pause())},t}(qn);bt.registerComponent("PosterImage",Yn);var Gn="#222",Kn="#ccc",Jn={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 Xn(e,t){var n=void 0;if(4===e.length)n=e[1]+e[1]+e[2]+e[2]+e[3]+e[3];else{if(7!==e.length)throw new Error("Invalid color code provided, "+e+"; must be formatted as e.g. #f0e or #f604e2.");n=e.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+t+")"}function Qn(e,t,n){try{e.style[t]=n}catch(i){return}}var Zn=function(e){function t(n,i,o){$(this,t);var a=L(this,e.call(this,n,i,o)),s=tt(a,a.updateDisplay);return n.on("loadstart",tt(a,a.toggleDisplay)),n.on("texttrackchange",s),n.on("loadstart",tt(a,a.preselectTrack)),n.ready(tt(a,(function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",s),n.on("playerresize",s),r.addEventListener&&r.addEventListener("orientationchange",s),n.on("dispose",(function(){return r.removeEventListener("orientationchange",s)}));for(var e=this.options_.playerOptions.tracks||[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};e="button",t=H({innerHTML:'',className:this.buildCSSClass()},t),n=H({type:"button"},n);var i=bt.prototype.createEl.call(this,e,t,n);return this.createControlTextEl(i),i},t.prototype.addChild=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return K.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),bt.prototype.addChild.call(this,e,t)},t.prototype.enable=function(){e.prototype.enable.call(this),this.el_.removeAttribute("disabled")},t.prototype.disable=function(){e.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},t.prototype.handleKeyPress=function(t){32!==t.which&&13!==t.which&&e.prototype.handleKeyPress.call(this,t)},t}(qn);bt.registerComponent("Button",ti);var ni=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-big-play-button"},t.prototype.handleClick=function(e){var t=this.player_.play();if(this.mouseused_&&e.clientX&&e.clientY)Pt(t);else{var n=this.player_.getChild("controlBar"),i=n&&n.getChild("playToggle");if(i){var r=function(){return i.focus()};Mt(t)?t.then(r,(function(){})):this.setTimeout(r,1)}else this.player_.focus()}},t.prototype.handleKeyPress=function(t){this.mouseused_=!1,e.prototype.handleKeyPress.call(this,t)},t.prototype.handleMouseDown=function(e){this.mouseused_=!0},t}(ti);ni.prototype.controlText_="Play Video",bt.registerComponent("BigPlayButton",ni);var ii=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.controlText(i&&i.controlText||r.localize("Close")),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-close-button "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.trigger({type:"close",bubbles:!1})},t}(ti);bt.registerComponent("CloseButton",ii);var ri=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.on(n,"play",r.handlePlay),r.on(n,"pause",r.handlePause),r.on(n,"ended",r.handleEnded),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-play-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleSeeked=function(e){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(e):this.handlePlay(e)},t.prototype.handlePlay=function(e){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},t.prototype.handlePause=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},t.prototype.handleEnded=function(e){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},t}(ti);ri.prototype.controlText_="Play",bt.registerComponent("PlayToggle",ri);var oi=function(e,t){e=e<0?0:e;var n=Math.floor(e%60),i=Math.floor(e/60%60),r=Math.floor(e/3600),o=Math.floor(t/60%60),a=Math.floor(t/3600);return(isNaN(e)||e===1/0)&&(r=i=n="-"),r=r>0||a>0?r+":":"",i=((r||o>=10)&&i<10?"0"+i:i)+":",n=n<10?"0"+n:n,r+i+n},ai=oi;function si(e){ai=e}function li(){ai=oi}var ci=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return ai(e,t)},ui=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.throttledUpdateContent=nt(tt(r,r.updateContent),25),r.on(n,"timeupdate",r.throttledUpdateContent),r}return N(t,e),t.prototype.createEl=function(t){var n=this.buildCSSClass(),i=e.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control",innerHTML:''+this.localize(this.labelText_)+" "});return this.contentEl_=ae("span",{className:n+"-display"},{"aria-live":"off"}),this.updateTextNode_(),i.appendChild(this.contentEl_),i},t.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,e.prototype.dispose.call(this)},t.prototype.updateTextNode_=function(){if(this.contentEl_){while(this.contentEl_.firstChild)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=o.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},t.prototype.formatTime_=function(e){return ci(e)},t.prototype.updateFormattedTime_=function(e){var t=this.formatTime_(e);t!==this.formattedTime_&&(this.formattedTime_=t,this.requestAnimationFrame(this.updateTextNode_))},t.prototype.updateContent=function(e){},t}(bt);ui.prototype.labelText_="Time",ui.prototype.controlText_="Time",bt.registerComponent("TimeDisplay",ui);var hi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.on(n,"ended",r.handleEnded),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-current-time"},t.prototype.updateContent=function(e){var t=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(t)},t.prototype.handleEnded=function(e){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},t}(ui);hi.prototype.labelText_="Current Time",hi.prototype.controlText_="Current Time",bt.registerComponent("CurrentTimeDisplay",hi);var di=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.on(n,"durationchange",r.updateContent),r.on(n,"loadedmetadata",r.throttledUpdateContent),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-duration"},t.prototype.updateContent=function(e){var t=this.player_.duration();t&&this.duration_!==t&&(this.duration_=t,this.updateFormattedTime_(t))},t}(ui);di.prototype.labelText_="Duration",di.prototype.controlText_="Duration",bt.registerComponent("DurationDisplay",di);var fi=function(e){function t(){return $(this,t),L(this,e.apply(this,arguments))}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"
/
"})},t}(bt);bt.registerComponent("TimeDivider",fi);var pi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.on(n,"durationchange",r.throttledUpdateContent),r.on(n,"ended",r.handleEnded),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-remaining-time"},t.prototype.formatTime_=function(t){return"-"+e.prototype.formatTime_.call(this,t)},t.prototype.updateContent=function(e){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},t.prototype.handleEnded=function(e){this.player_.duration()&&this.updateFormattedTime_(0)},t}(ui);pi.prototype.labelText_="Remaining Time",pi.prototype.controlText_="Remaining Time",bt.registerComponent("RemainingTimeDisplay",pi);var vi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}return N(t,e),t.prototype.createEl=function(){var t=e.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=ae("div",{className:"vjs-live-display",innerHTML:''+this.localize("Stream Type")+" "+this.localize("LIVE")},{"aria-live":"off"}),t.appendChild(this.contentEl_),t},t.prototype.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},t.prototype.updateShowing=function(e){this.player().duration()===1/0?this.show():this.hide()},t}(bt);bt.registerComponent("LiveDisplay",vi);var mi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}return N(t,e),t.prototype.enabled=function(){return this.enabled_},t.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)},t.prototype.disable=function(){if(this.enabled()){var e=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(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},t.prototype.createEl=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=H({tabIndex:0},n),i=H({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),e.prototype.createEl.call(this,t,n,i)},t.prototype.handleMouseDown=function(e){var t=this.bar.el_.ownerDocument;"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||S||e.preventDefault(),ye(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e)},t.prototype.handleMouseMove=function(e){},t.prototype.handleMouseUp=function(){var e=this.bar.el_.ownerDocument;be(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp),this.update()},t.prototype.update=function(){if(this.el_){var e=this.getPercent(),t=this.bar;if(t){("number"!==typeof e||e!==e||e<0||e===1/0)&&(e=0);var n=(100*e).toFixed(2)+"%",i=t.el().style;return this.vertical()?i.height=n:i.width=n,e}}},t.prototype.calculateDistance=function(e){var t=xe(this.el_,e);return this.vertical()?t.y:t.x},t.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},t.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},t.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},t.prototype.vertical=function(e){if(void 0===e)return this.vertical_||!1;this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},t}(bt);bt.registerComponent("Slider",mi);var gi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.partEls_=[],r.on(n,"progress",r.update),r}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:''+this.localize("Loaded")+": 0%"})},t.prototype.dispose=function(){this.partEls_=null,e.prototype.dispose.call(this)},t.prototype.update=function(e){var t=this.player_.buffered(),n=this.player_.duration(),i=this.player_.bufferedEnd(),r=this.partEls_,o=function(e,t){var n=e/t||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(i,n);for(var a=0;at.length;u--)this.el_.removeChild(r[u-1]);r.length=t.length},t}(bt);bt.registerComponent("LoadProgressBar",gi);var yi=function(e){function t(){return $(this,t),L(this,e.apply(this,arguments))}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},t.prototype.update=function(e,t,n){var i=_e(this.el_),r=_e(this.player_.el()),o=e.width*t;if(r&&i){var a=e.left-r.left+o,s=e.width-o+(r.right-e.right),l=i.width/2;ai.width&&(l=i.width),this.el_.style.right="-"+l+"px",se(this.el_,n)}},t}(bt);bt.registerComponent("TimeTooltip",yi);var bi=function(e){function t(){return $(this,t),L(this,e.apply(this,arguments))}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:''+this.localize("Progress")+": 0%"})},t.prototype.update=function(e,t){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=ci(i,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(e,t,r)}))},t}(bt);bi.prototype.options_={children:[]},O&&!(O>8)||g||b||bi.prototype.options_.children.push("timeTooltip"),bt.registerComponent("PlayProgressBar",bi);var _i=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.update=nt(tt(r,r.update),25),r}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},t.prototype.update=function(e,t){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var i=n.player_.duration(),r=ci(t*i,i);n.el_.style.left=e.width*t+"px",n.getChild("timeTooltip").update(e,t,r)}))},t}(bt);_i.prototype.options_={children:["timeTooltip"]},bt.registerComponent("MouseTimeDisplay",_i);var wi=5,xi=30,Ci=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.setEventHandlers_(),r}return N(t,e),t.prototype.setEventHandlers_=function(){var e=this;this.update=nt(tt(this,this.update),xi),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],(function(){e.clearInterval(e.updateInterval),e.updateInterval=e.setInterval((function(){e.requestAnimationFrame((function(){e.update()}))}),xi)})),this.on(this.player_,["ended","pause","waiting"],(function(){e.clearInterval(e.updateInterval)})),this.on(this.player_,["timeupdate","ended"],this.update)},t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},t.prototype.update_=function(e,t){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*t).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[ci(e,n),ci(n,n)],"{1} of {2}")),this.bar.update(_e(this.el_),t)},t.prototype.update=function(t){var n=e.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},t.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},t.prototype.handleEnded=function(e){this.update_(this.player_.duration(),1)},t.prototype.getPercent=function(){var e=this.getCurrentTime_()/this.player_.duration();return e>=1?1:e},t.prototype.handleMouseDown=function(t){Oe(t)&&(t.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),e.prototype.handleMouseDown.call(this,t))},t.prototype.handleMouseMove=function(e){if(Oe(e)){var t=this.calculateDistance(e)*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t)}},t.prototype.enable=function(){e.prototype.enable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.show()},t.prototype.disable=function(){e.prototype.disable.call(this);var t=this.getChild("mouseTimeDisplay");t&&t.hide()},t.prototype.handleMouseUp=function(t){e.prototype.handleMouseUp.call(this,t),t&&t.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&Pt(this.player_.play())},t.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+wi)},t.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-wi)},t.prototype.handleAction=function(e){this.player_.paused()?this.player_.play():this.player_.pause()},t.prototype.handleKeyPress=function(t){32===t.which||13===t.which?(t.preventDefault(),this.handleAction(t)):e.prototype.handleKeyPress&&e.prototype.handleKeyPress.call(this,t)},t}(mi);Ci.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},O&&!(O>8)||g||b||Ci.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Ci.prototype.playerEvent="timeupdate",bt.registerComponent("SeekBar",Ci);var ki=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.handleMouseMove=nt(tt(r,r.handleMouseMove),25),r.throttledHandleMouseSeek=nt(tt(r,r.handleMouseSeek),25),r.enable(),r}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},t.prototype.handleMouseMove=function(e){var t=this.getChild("seekBar");if(t){var n=t.getChild("mouseTimeDisplay"),i=t.el(),r=_e(i),o=xe(i,e).x;o>1?o=1:o<0&&(o=0),n&&n.update(r,o)}},t.prototype.handleMouseSeek=function(e){var t=this.getChild("seekBar");t&&t.handleMouseMove(e)},t.prototype.enabled=function(){return this.enabled_},t.prototype.disable=function(){this.children().forEach((function(e){return e.disable&&e.disable()})),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},t.prototype.enable=function(){this.children().forEach((function(e){return e.enable&&e.enable()})),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},t.prototype.handleMouseDown=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(e),this.on(t,"mousemove",this.throttledHandleMouseSeek),this.on(t,"touchmove",this.throttledHandleMouseSeek),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(e){var t=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(e),this.off(t,"mousemove",this.throttledHandleMouseSeek),this.off(t,"touchmove",this.throttledHandleMouseSeek),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t}(bt);ki.prototype.options_={children:["seekBar"]},bt.registerComponent("ProgressControl",ki);var Si=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.on(n,"fullscreenchange",r.handleFullscreenChange),!1===o[St.fullscreenEnabled]&&r.disable(),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleFullscreenChange=function(e){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},t.prototype.handleClick=function(e){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},t}(ti);Si.prototype.controlText_="Fullscreen",bt.registerComponent("FullscreenToggle",Si);var Ei=function(e,t){t.tech_&&!t.tech_.featuresVolumeControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresVolumeControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))},Ti=function(e){function t(){return $(this,t),L(this,e.apply(this,arguments))}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:''})},t}(bt);bt.registerComponent("VolumeLevel",Ti);var Oi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.on("slideractive",r.updateLastVolume_),r.on(n,"volumechange",r.updateARIAAttributes),n.ready((function(){return r.updateARIAAttributes()})),r}return N(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},t.prototype.handleMouseDown=function(t){Oe(t)&&e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){Oe(e)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(e)))},t.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},t.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},t.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},t.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},t.prototype.updateARIAAttributes=function(e){var t=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",t),this.el_.setAttribute("aria-valuetext",t+"%")},t.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},t.prototype.updateLastVolume_=function(){var e=this,t=this.player_.volume();this.one("sliderinactive",(function(){0===e.player_.volume()&&e.player_.lastVolume_(t)}))},t}(mi);Oi.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Oi.prototype.playerEvent="volumechange",bt.registerComponent("VolumeBar",Oi);var Di=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};$(this,t),i.vertical=i.vertical||!1,("undefined"===typeof i.volumeBar||U(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical);var r=L(this,e.call(this,n,i));return Ei(r,n),r.throttledHandleMouseMove=nt(tt(r,r.handleMouseMove),25),r.on("mousedown",r.handleMouseDown),r.on("touchstart",r.handleMouseDown),r.on(r.volumeBar,["focus","slideractive"],(function(){r.volumeBar.addClass("vjs-slider-active"),r.addClass("vjs-slider-active"),r.trigger("slideractive")})),r.on(r.volumeBar,["blur","sliderinactive"],(function(){r.volumeBar.removeClass("vjs-slider-active"),r.removeClass("vjs-slider-active"),r.trigger("sliderinactive")})),r}return N(t,e),t.prototype.createEl=function(){var t="vjs-volume-horizontal";return this.options_.vertical&&(t="vjs-volume-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+t})},t.prototype.handleMouseDown=function(e){var t=this.el_.ownerDocument;this.on(t,"mousemove",this.throttledHandleMouseMove),this.on(t,"touchmove",this.throttledHandleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseUp=function(e){var t=this.el_.ownerDocument;this.off(t,"mousemove",this.throttledHandleMouseMove),this.off(t,"touchmove",this.throttledHandleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchend",this.handleMouseUp)},t.prototype.handleMouseMove=function(e){this.volumeBar.handleMouseMove(e)},t}(bt);Di.prototype.options_={children:["volumeBar"]},bt.registerComponent("VolumeControl",Di);var Ai=function(e,t){t.tech_&&!t.tech_.featuresMuteControl&&e.addClass("vjs-hidden"),e.on(t,"loadstart",(function(){t.tech_.featuresMuteControl?e.removeClass("vjs-hidden"):e.addClass("vjs-hidden")}))},ji=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return Ai(r,n),r.on(n,["loadstart","volumechange"],r.update),r}return N(t,e),t.prototype.buildCSSClass=function(){return"vjs-mute-control "+e.prototype.buildCSSClass.call(this)},t.prototype.handleClick=function(e){var t=this.player_.volume(),n=this.player_.lastVolume_();if(0===t){var i=n<.1?.1:n;this.player_.volume(i),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},t.prototype.update=function(e){this.updateIcon_(),this.updateControlText_()},t.prototype.updateIcon_=function(){var e=this.player_.volume(),t=3;g&&this.player_.muted(this.player_.tech_.el_.muted),0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2);for(var n=0;n<4;n++)he(this.el_,"vjs-vol-"+n);ue(this.el_,"vjs-vol-"+t)},t.prototype.updateControlText_=function(){var e=this.player_.muted()||0===this.player_.volume(),t=e?"Unmute":"Mute";this.controlText()!==t&&this.controlText(t)},t}(ti);ji.prototype.controlText_="Mute",bt.registerComponent("MuteToggle",ji);var Ii=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};$(this,t),"undefined"!==typeof i.inline?i.inline=i.inline:i.inline=!0,("undefined"===typeof i.volumeControl||U(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline);var r=L(this,e.call(this,n,i));return r.on(n,["loadstart"],r.volumePanelState_),r.on(r.volumeControl,["slideractive"],r.sliderActive_),r.on(r.volumeControl,["sliderinactive"],r.sliderInactive_),r}return N(t,e),t.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},t.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},t.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")},t.prototype.createEl=function(){var t="vjs-volume-panel-horizontal";return this.options_.inline||(t="vjs-volume-panel-vertical"),e.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+t})},t}(bt);Ii.prototype.options_={children:["muteToggle","volumeControl"]},bt.registerComponent("VolumePanel",Ii);var Mi=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return i&&(r.menuButton_=i.menuButton),r.focusedChild_=-1,r.on("keydown",r.handleKeyPress),r}return N(t,e),t.prototype.addItem=function(e){this.addChild(e),e.on("click",tt(this,(function(t){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==e.name()&&this.menuButton_.focus())})))},t.prototype.createEl=function(){var t=this.options_.contentElType||"ul";this.contentEl_=ae(t,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=e.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),We(n,"click",(function(e){e.preventDefault(),e.stopImmediatePropagation()})),n},t.prototype.dispose=function(){this.contentEl_=null,e.prototype.dispose.call(this)},t.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},t.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},t.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},t.prototype.focus=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=this.children().slice(),n=t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className);n&&t.shift(),t.length>0&&(e<0?e=0:e>=t.length&&(e=t.length-1),this.focusedChild_=e,t[e].el_.focus())},t}(bt);bt.registerComponent("Menu",Mi);var Pi=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};$(this,t);var r=L(this,e.call(this,n,i));r.menuButton_=new ti(n,i),r.menuButton_.controlText(r.controlText_),r.menuButton_.el_.setAttribute("aria-haspopup","true");var o=ti.prototype.buildCSSClass();return r.menuButton_.el_.className=r.buildCSSClass()+" "+o,r.menuButton_.removeClass("vjs-control"),r.addChild(r.menuButton_),r.update(),r.enabled_=!0,r.on(r.menuButton_,"tap",r.handleClick),r.on(r.menuButton_,"click",r.handleClick),r.on(r.menuButton_,"focus",r.handleFocus),r.on(r.menuButton_,"blur",r.handleBlur),r.on("keydown",r.handleSubmenuKeyPress),r}return N(t,e),t.prototype.update=function(){var e=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},t.prototype.createMenu=function(){var e=new Mi(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var t=ae("li",{className:"vjs-menu-title",innerHTML:mt(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,e.children_.unshift(t),le(t,e.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(e,t)},t.prototype.handleClick=function(e){this.one(this.menu.contentEl(),"mouseleave",tt(this,(function(e){this.unpressButton(),this.el_.blur()}))),this.buttonPressed_?this.unpressButton():this.pressButton()},t.prototype.focus=function(){this.menuButton_.focus()},t.prototype.blur=function(){this.menuButton_.blur()},t.prototype.handleFocus=function(){We(o,"keydown",tt(this,this.handleKeyPress))},t.prototype.handleBlur=function(){Ue(o,"keydown",tt(this,this.handleKeyPress))},t.prototype.handleKeyPress=function(e){27===e.which||9===e.which?(this.buttonPressed_&&this.unpressButton(),9!==e.which&&(e.preventDefault(),this.menuButton_.el_.focus())):38!==e.which&&40!==e.which||this.buttonPressed_||(this.pressButton(),e.preventDefault())},t.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&(e.preventDefault(),this.menuButton_.el_.focus()))},t.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),g&&re())return;this.menu.focus()}},t.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},t.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},t.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},t}(bt);bt.registerComponent("MenuButton",Pi);var $i=function(e){function t(n,i){$(this,t);var r=i.tracks,o=L(this,e.call(this,n,i));if(o.items.length<=1&&o.hide(),!r)return L(o);var a=tt(o,o.update);return r.addEventListener("removetrack",a),r.addEventListener("addtrack",a),o.player_.on("ready",a),o.player_.on("dispose",(function(){r.removeEventListener("removetrack",a),r.removeEventListener("addtrack",a)})),o}return N(t,e),t}(Pi);bt.registerComponent("TrackButton",$i);var Ni=function(e){function t(n,i){$(this,t);var r=L(this,e.call(this,n,i));return r.selectable=i.selectable,r.isSelected_=i.selected||!1,r.multiSelectable=i.multiSelectable,r.selected(r.isSelected_),r.selectable?r.multiSelectable?r.el_.setAttribute("role","menuitemcheckbox"):r.el_.setAttribute("role","menuitemradio"):r.el_.setAttribute("role","menuitem"),r}return N(t,e),t.prototype.createEl=function(t,n,i){return this.nonIconControl=!0,e.prototype.createEl.call(this,"li",H({className:"vjs-menu-item",innerHTML:''+this.localize(this.options_.label)+"",tabIndex:-1},n),i)},t.prototype.handleClick=function(e){this.selected(!0)},t.prototype.selected=function(e){this.selectable&&(e?(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))},t}(qn);bt.registerComponent("MenuItem",Ni);var Li=function(e){function t(n,i){$(this,t);var a=i.track,s=n.textTracks();i.label=a.label||a.language||"Unknown",i.selected="showing"===a.mode;var l=L(this,e.call(this,n,i));l.track=a;var c=function(){for(var e=arguments.length,t=Array(e),n=0;n-1?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.mode="disabled")}},t.prototype.handleTracksChange=function(e){var t="showing"===this.track.mode;t!==this.isSelected_&&this.selected(t)},t.prototype.handleSelectedLanguageChange=function(e){if("showing"===this.track.mode){var t=this.player_.cache_.selectedLanguage;if(t&&t.enabled&&t.language===this.track.language&&t.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},t.prototype.dispose=function(){this.track=null,e.prototype.dispose.call(this)},t}(Ni);bt.registerComponent("TextTrackMenuItem",Li);var Ri=function(e){function t(n,i){return $(this,t),i.track={player:n,kind:i.kind,kinds:i.kinds,default:!1,mode:"disabled"},i.kinds||(i.kinds=[i.kind]),i.label?i.track.label=i.label:i.track.label=i.kinds.join(" and ")+" off",i.selectable=!0,i.multiSelectable=!1,L(this,e.call(this,n,i))}return N(t,e),t.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),n=!0,i=0,r=t.length;i-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},t.prototype.handleSelectedLanguageChange=function(e){for(var t=this.player().textTracks(),n=!0,i=0,r=t.length;i-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},t}(Li);bt.registerComponent("OffTextTrackMenuItem",Ri);var Fi=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $(this,t),i.tracks=n.textTracks(),L(this,e.call(this,n,i))}return N(t,e),t.prototype.createItems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Li,n=void 0;this.label_&&(n=this.label_+" off"),e.push(new Ri(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-1){var a=new t(this.player_,{track:o,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),e.push(a)}}return e},t}($i);bt.registerComponent("TextTrackButton",Fi);var Bi=function(e){function t(n,i){$(this,t);var r=i.track,o=i.cue,a=n.currentTime();i.selectable=!0,i.multiSelectable=!1,i.label=o.text,i.selected=o.startTime<=a&&a=0;t--){var n=e[t];if(n.kind===this.kind_)return n}},t.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(mt(this.kind_))},t.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),e.prototype.createMenu.call(this)},t.prototype.createItems=function(){var e=[];if(!this.track_)return e;var t=this.track_.cues;if(!t)return e;for(var n=0,i=t.length;n