(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"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"),d=n("861d"),f=n("69f3").enforce,h=n("d039"),p=n("cdce"),m=Object,v=Array.isArray,g=m.isExtensible,b=m.isFrozen,y=m.isSealed,_=m.freeze,w=m.seal,x={},k={},C=!o.ActiveXObject&&"ActiveXObject"in o,A=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},S=c("WeakMap",A,u),j=S.prototype,E=a(j.set),T=function(){return r&&h((function(){var e=_([]);return E(new S,e,1),!b(e)}))};if(p)if(C){i=u.getConstructor(A,"WeakMap",!0),l.enable();var O=a(j["delete"]),D=a(j.has),I=a(j.get);s(j,{delete:function(e){if(d(e)&&!g(e)){var t=f(this);return t.frozen||(t.frozen=new i),O(this,e)||t.frozen["delete"](e)}return O(this,e)},has:function(e){if(d(e)&&!g(e)){var t=f(this);return t.frozen||(t.frozen=new i),D(this,e)||t.frozen.has(e)}return D(this,e)},get:function(e){if(d(e)&&!g(e)){var t=f(this);return t.frozen||(t.frozen=new i),D(this,e)?I(this,e):t.frozen.get(e)}return I(this,e)},set:function(e,t){if(d(e)&&!g(e)){var n=f(this);n.frozen||(n.frozen=new i),D(this,e)?E(this,e,t):n.frozen.set(e,t)}else E(this,e,t);return this}})}else T()&&s(j,{set:function(e,t){var n;return v(e)&&(b(e)?n=x:y(e)&&(n=k)),E(this,e,t),n==x&&_(e),n==k&&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");e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(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),d=i([].join),f={},h=function(e,t,n){if(!a(f,t)){for(var i=[],r=0;ru){var h,p=l(arguments[u++]),m=d?r(p).concat(d(p)):r(p),v=m.length,g=0;while(v>g)h=m[g++],i&&!f.call(p,h)||(n[h]=p[h])}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))}},"092d":function(e,t,n){"use strict";function i(e){var t=e.parentNode;t&&t.removeChild(e)}n.d(t,"a",(function(){return i}))},"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)},"0c4d":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-goods-action{position:fixed;right:0;bottom:0;left:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;box-sizing:content-box;height:1.33333rem;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);background-color:#fff}.van-goods-action--unfit{padding-bottom:0}",""]),e.exports=t},"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,d,f){var h=n+e.length,p=i.length,m=u;return void 0!==d&&(d=r(d),m=c),s(f,m,(function(r,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,h);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return r;if(u>p){var f=o(u/10);return 0===f?r:f<=p?void 0===i[f-1]?a(s,1):i[f-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,d=function(e){return function(t,n,i){var a,d,f=o(s(t)),h=r(n),p=f.length,m=void 0===i?" ":o(i);return h<=p||""==m?f:(a=h-p,d=l(m,u(a/m.length)),d.length>a&&(d=c(d,0,a)),e?f+d:d+f)}};e.exports={start:d(!1),end:d(!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"),d=n("edd0"),f=n("1a2d"),h=n("19aa"),p=n("825a"),m=n("aa1f"),v=n("e391"),g=n("cf98"),b=n("0d26"),y=n("69f3"),_=n("83ab"),w=n("c430"),x="DOMException",k="DATA_CLONE_ERR",C=o("Error"),A=o(x)||function(){try{var e=o("MessageChannel")||r("worker_threads").MessageChannel;(new e).port1.postMessage(new WeakMap)}catch(t){if(t.name==k&&25==t.code)return t.constructor}}(),S=A&&A.prototype,j=C.prototype,E=y.set,T=y.getterFor(x),O="stack"in C(x),D=function(e){return f(g,e)&&g[e].m?g[e].c:0},I=function(){h(this,M);var e=arguments.length,t=v(e<1?void 0:arguments[0]),n=v(e<2?void 0:arguments[1],"Error"),i=D(n);if(E(this,{type:x,name:n,message:t,code:i}),_||(this.name=n,this.message=t,this.code=i),O){var r=C(t);r.name=x,c(this,"stack",l(1,b(r.stack,1)))}},M=I.prototype=s(j),P=function(e){return{enumerable:!0,configurable:!0,get:e}},N=function(e){return P((function(){return T(this)[e]}))};_&&(d(M,"code",N("code")),d(M,"message",N("message")),d(M,"name",N("name"))),c(M,"constructor",l(1,I));var F=a((function(){return!(new A instanceof C)})),B=F||a((function(){return j.toString!==m||"2: 1"!==String(new A(1,2))})),z=F||a((function(){return 25!==new A(1,"DataCloneError").code})),L=F||25!==A[k]||25!==S[k],R=w?B||z||L:F;i({global:!0,constructor:!0,forced:R},{DOMException:R?I:A});var $=o(x),V=$.prototype;for(var H in B&&(w||A===$)&&u(V,"toString",m),z&&_&&A===$&&d(V,"code",P((function(){return D(p(this).name)}))),g)if(f(g,H)){var W=g[H],Y=W.s,U=l(6,W.c);f($,Y)||c($,Y,U),f(V,Y)||c(V,Y,U)}},"0fae":function(e,t,n){var i=n("5e0c");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("229bb0f0",i,!0,{sourceMap:!1,shadowMode:!1})},"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}}},"10e8":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'.van-cell{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;width:100%;padding:.26667rem .42667rem;overflow:hidden;color:#323233;font-size:.37333rem;line-height:.64rem;background-color:#fff}.van-cell:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:.42667rem;bottom:0;left:.42667rem;border-bottom:.02667rem solid #ebedf0;-webkit-transform:scaleY(.5);-ms-transform:scaleY(.5);transform:scaleY(.5)}.van-cell--borderless:after,.van-cell:last-child:after{display:none}.van-cell__label{margin-top:.10667rem;color:#969799;font-size:.32rem;line-height:.48rem}.van-cell__title,.van-cell__value{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.van-cell__value{position:relative;overflow:hidden;color:#969799;text-align:right;vertical-align:middle;word-wrap:break-word}.van-cell__value--alone{color:#323233;text-align:left}.van-cell__left-icon,.van-cell__right-icon{height:.64rem;font-size:.42667rem;line-height:.64rem}.van-cell__left-icon{margin-right:.10667rem}.van-cell__right-icon{margin-left:.10667rem;color:#969799}.van-cell--clickable{cursor:pointer}.van-cell--clickable:active{background-color:#f2f3f5}.van-cell--required{overflow:visible}.van-cell--required:before{position:absolute;left:.21333rem;color:#ee0a24;font-size:.37333rem;content:"*"}.van-cell--center{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.van-cell--large{padding-top:.32rem;padding-bottom:.32rem}.van-cell--large .van-cell__title{font-size:.42667rem}.van-cell--large .van-cell__label{font-size:.37333rem}',""]),e.exports=t},1146:function(e,t,n){var i=n("72ff");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("2a027dcc",i,!0,{sourceMap:!1,shadowMode:!1})},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}},1175:function(e,t,n){var i=n("14c0");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("78340092",i,!0,{sourceMap:!1,shadowMode:!1})},"11a8":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-overlay{position:fixed;top:0;left:0;z-index:1;width:100%;height:100%;background-color:rgba(0,0,0,.7)}",""]),e.exports=t},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"),d=n("4840"),f=n("8aa5"),h=n("50c4"),p=n("577e"),m=n("dc4a"),v=n("4dae"),g=n("14c3"),b=n("9263"),y=n("9f7f"),_=n("d039"),w=y.UNSUPPORTED_Y,x=4294967295,k=Math.min,C=[].push,A=o(/./.exec),S=o(C),j=o("".slice),E=!_((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,d,f=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,g=new RegExp(e.source,h+"g");while(s=r(b,g,o)){if(l=g.lastIndex,l>m&&(S(f,j(o,m,s.index)),s.length>1&&s.index=a))break;g.lastIndex===s.index&&g.lastIndex++}return m===o.length?!d&&A(g,"")||S(f,""):S(f,j(o,m)),f.length>a?v(f,0,a):f}:"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:m(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=d(r,RegExp),u=r.unicode,m=(r.ignoreCase?"i":"")+(r.multiline?"m":"")+(r.unicode?"u":"")+(w?"g":"y"),v=new c(w?"^(?:"+r.source+")":r,m),b=void 0===i?x:i>>>0;if(0===b)return[];if(0===a.length)return null===g(v,a)?[a]:[];var y=0,_=0,C=[];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),d=arguments.length>2?arguments[2]:void 0,f=s((void 0===d?l:r(d,l))-u,l-c),h=1;u0)u in n?n[c]=n[u]:a(n,c),c+=h,u+=h;return n}},"14c0":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-goods-action-button{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1.06667rem;font-weight:500;font-size:.37333rem;border:none;border-radius:0}.van-goods-action-button--first{margin-left:.13333rem;border-top-left-radius:26.64rem;border-bottom-left-radius:26.64rem}.van-goods-action-button--last{margin-right:.13333rem;border-top-right-radius:26.64rem;border-bottom-right-radius:26.64rem}.van-goods-action-button--warning{background:-webkit-linear-gradient(left,#ffd01e,#ff8917);background:linear-gradient(90deg,#ffd01e,#ff8917)}.van-goods-action-button--danger{background:-webkit-linear-gradient(left,#ff6034,#ee0a24);background:linear-gradient(90deg,#ff6034,#ee0a24)}@media (max-width:321px){.van-goods-action-button{font-size:.34667rem}}",""]),e.exports=t},"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}},d=c||!u();i({target:"Array",proto:!0,arity:1,forced:d},{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)}},"17d3":function(e,t,n){e.exports=n.p+"static/fonts/element-icons.732389de.ttf"},"17ed":function(e,t,n){e.exports={default:n("511f"),__esModule:!0}},"17f0":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-pull-refresh{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.van-pull-refresh__track{position:relative;height:100%;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform}.van-pull-refresh__head{position:absolute;left:0;width:100%;height:1.33333rem;overflow:hidden;color:#969799;font-size:.37333rem;line-height:1.33333rem;text-align:center;-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}",""]),e.exports=t},"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"),d=-1!=s.indexOf("micromessenger"),f=-1!=s.indexOf("android"),h=-1!=s.indexOf("iphone")||-1!=s.indexOf("ipad"),p=(n=s.match(/micromessenger\/(\d+\.\d+\.\d+)/)||s.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",m={initStartTime:I(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},v={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:h?1:f?2:-1,clientVersion:p,url:encodeURIComponent(location.href)},g={},b={_completes:[]},y={state:0,data:{}};M((function(){m.initEndTime=I()}));var _=!1,w=[],x={config:function(t){D("config",g=t);var n=!1!==g.check;M((function(){if(n)A(i.config,{verifyJsApiList:O(g.jsApiList),verifyOpenTagList:O(g.openTagList)},function(){b._complete=function(e){m.preVerifyEndTime=I(),y.state=1,y.data=e},b.success=function(e){v.isPreVerifyOk=0},b.fail=function(e){b._fail?b._fail(e):y.state=-1};var e=b._completes;return e.push((function(){!function(){if(!(c||u||g.debug||p<"6.0.2"||v.systemType<0)){var e=new Image;v.appId=g.appId,v.initTime=m.initEndTime-m.initStartTime,v.preVerifyTime=m.preVerifyEndTime-m.preVerifyStartTime,x.getNetworkType({isInnerInvoke:!0,success:function(t){v.networkType=t.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+v.version+"&o="+v.isPreVerifyOk+"&s="+v.systemType+"&c="+v.clientVersion+"&a="+v.appId+"&n="+v.networkType+"&i="+v.initTime+"&p="+v.preVerifyTime+"&u="+v.url;e.src=n}})}}()})),b.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)}}},"1a04":function(e,t,n){var i=n("10e8");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("14ed2472",i,!0,{sourceMap:!1,shadowMode:!1})},"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}))}},"1de5":function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},"1ded":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,'html{-webkit-tap-highlight-color:transparent}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Helvetica Neue,Helvetica,Segoe UI,Arial,Roboto,PingFang SC,miui,Hiragino Sans GB,Microsoft Yahei,sans-serif}a{text-decoration:none}button,input,textarea{color:inherit;font:inherit}[class*=van-]:focus,a:focus,button:focus,input:focus,textarea:focus{outline:0}ol,ul{margin:0;padding:0;list-style:none}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{-webkit-line-clamp:2}.van-multi-ellipsis--l2,.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{-webkit-line-clamp:3}.van-clearfix:after{display:table;clear:both;content:""}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid #ebedf0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}.van-hairline,.van-hairline--bottom,.van-hairline--left,.van-hairline--right,.van-hairline--surround,.van-hairline--top,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:.02667rem}.van-hairline--left:after{border-left-width:.02667rem}.van-hairline--right:after{border-right-width:.02667rem}.van-hairline--bottom:after{border-bottom-width:.02667rem}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:.02667rem 0}.van-hairline--surround:after{border-width:.02667rem}@-webkit-keyframes van-slide-up-enter{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-enter{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@-webkit-keyframes van-slide-down-enter{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-enter{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@-webkit-keyframes van-slide-left-enter{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-enter{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@-webkit-keyframes van-slide-right-enter{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-enter{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@-webkit-keyframes van-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes van-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.van-fade-enter-active{-webkit-animation:van-fade-in .3s ease-out both;animation:van-fade-in .3s ease-out both}.van-fade-leave-active{-webkit-animation:van-fade-out .3s ease-in both;animation:van-fade-out .3s ease-in both}.van-slide-up-enter-active{-webkit-animation:van-slide-up-enter .3s ease-out both;animation:van-slide-up-enter .3s ease-out both}.van-slide-up-leave-active{-webkit-animation:van-slide-up-leave .3s ease-in both;animation:van-slide-up-leave .3s ease-in both}.van-slide-down-enter-active{-webkit-animation:van-slide-down-enter .3s ease-out both;animation:van-slide-down-enter .3s ease-out both}.van-slide-down-leave-active{-webkit-animation:van-slide-down-leave .3s ease-in both;animation:van-slide-down-leave .3s ease-in both}.van-slide-left-enter-active{-webkit-animation:van-slide-left-enter .3s ease-out both;animation:van-slide-left-enter .3s ease-out both}.van-slide-left-leave-active{-webkit-animation:van-slide-left-leave .3s ease-in both;animation:van-slide-left-leave .3s ease-in both}.van-slide-right-enter-active{-webkit-animation:van-slide-right-enter .3s ease-out both;animation:van-slide-right-enter .3s ease-out both}.van-slide-right-leave-active{-webkit-animation:van-slide-right-leave .3s ease-in both;animation:van-slide-right-leave .3s ease-in both}',""]),e.exports=t},"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,d="__proto__";if(i&&l&&c&&!(d in u))try{r(u,d,{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(f){}},"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,d=/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 d?function(i,a){var s=c(arguments.length,1)>n,d=o(i)?i:u(i),f=s?l(arguments,n):[],h=s?function(){r(d,this,f)}:d;return t?e(h,a):e(h)}: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"),d=n("2d00"),f=n("512c"),h=l.aTypedArray,p=l.exportTypedArrayMethod,m=i.Uint16Array,v=m&&r(m.prototype.sort),g=!!v&&!(o((function(){v(new m(2),null)}))&&o((function(){v(new m(2),{})}))),b=!!v&&!o((function(){if(d)return d<74;if(c)return c<67;if(u)return!0;if(f)return f<602;var e,t,n=new m(516),i=Array(516);for(e=0;e<516;e++)t=e%4,n[e]=515-e,i[e]=e-2*t+3;for(v(n,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(n[e]!==i[e])return!0})),y=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),b?v(this,e):s(h(this),y(e))}),!b||g)},2241:function(e,t,n){"use strict";var i,r=n("c31d"),o=n("2b0e"),a=n("2638"),s=n.n(a),l=n("d282"),c=n("ea8e"),u=n("b1d2"),d=n("6605"),f=n("b650"),h=n("9884"),p=Object(l["a"])("goods-action"),m=p[0],v=p[1],g=m({mixins:[Object(h["b"])("vanGoodsAction")],props:{safeAreaInsetBottom:{type:Boolean,default:!0}},render:function(){var e=arguments[0];return e("div",{class:v({unfit:!this.safeAreaInsetBottom})},[this.slots()])}}),b=n("48f4"),y=Object(l["a"])("goods-action-button"),_=y[0],w=y[1],x=_({mixins:[Object(h["a"])("vanGoodsAction")],props:Object(r["a"])({},b["c"],{type:String,text:String,icon:String,color:String,loading:Boolean,disabled:Boolean}),computed:{isFirst:function(){var e=this.parent&&this.parent.children[this.index-1];return!e||e.$options.name!==this.$options.name},isLast:function(){var e=this.parent&&this.parent.children[this.index+1];return!e||e.$options.name!==this.$options.name}},methods:{onClick:function(e){this.$emit("click",e),Object(b["b"])(this.$router,this)}},render:function(){var e=arguments[0];return e(f["a"],{class:w([{first:this.isFirst,last:this.isLast},this.type]),attrs:{size:"large",type:this.type,icon:this.icon,color:this.color,loading:this.loading,disabled:this.disabled},on:{click:this.onClick}},[this.slots()||this.text])}}),k=Object(l["a"])("dialog"),C=k[0],A=k[1],S=k[2],j=C({mixins:[Object(d["a"])()],props:{title:String,theme:String,width:[Number,String],message:String,className:null,callback:Function,beforeClose:Function,messageAlign:String,cancelButtonText:String,cancelButtonColor:String,confirmButtonText:String,confirmButtonColor:String,showCancelButton:Boolean,overlay:{type:Boolean,default:!0},allowHtml:{type:Boolean,default:!0},transition:{type:String,default:"van-dialog-bounce"},showConfirmButton:{type:Boolean,default:!0},closeOnPopstate:{type:Boolean,default:!0},closeOnClickOverlay:{type:Boolean,default:!1}},data:function(){return{loading:{confirm:!1,cancel:!1}}},methods:{onClickOverlay:function(){this.handleAction("overlay")},handleAction:function(e){var t=this;this.$emit(e),this.value&&(this.beforeClose?(this.loading[e]=!0,this.beforeClose(e,(function(n){!1!==n&&t.loading[e]&&t.onClose(e),t.loading.confirm=!1,t.loading.cancel=!1}))):this.onClose(e))},onClose:function(e){this.close(),this.callback&&this.callback(e)},onOpened:function(){this.$emit("opened")},onClosed:function(){this.$emit("closed")},genRoundButtons:function(){var e=this,t=this.$createElement;return t(g,{class:A("footer")},[this.showCancelButton&&t(x,{attrs:{size:"large",type:"warning",text:this.cancelButtonText||S("cancel"),color:this.cancelButtonColor,loading:this.loading.cancel},class:A("cancel"),on:{click:function(){e.handleAction("cancel")}}}),this.showConfirmButton&&t(x,{attrs:{size:"large",type:"danger",text:this.confirmButtonText||S("confirm"),color:this.confirmButtonColor,loading:this.loading.confirm},class:A("confirm"),on:{click:function(){e.handleAction("confirm")}}})])},genButtons:function(){var e,t=this,n=this.$createElement,i=this.showCancelButton&&this.showConfirmButton;return n("div",{class:[u["c"],A("footer")]},[this.showCancelButton&&n(f["a"],{attrs:{size:"large",loading:this.loading.cancel,text:this.cancelButtonText||S("cancel")},class:A("cancel"),style:{color:this.cancelButtonColor},on:{click:function(){t.handleAction("cancel")}}}),this.showConfirmButton&&n(f["a"],{attrs:{size:"large",loading:this.loading.confirm,text:this.confirmButtonText||S("confirm")},class:[A("confirm"),(e={},e[u["a"]]=i,e)],style:{color:this.confirmButtonColor},on:{click:function(){t.handleAction("confirm")}}})])},genContent:function(e,t){var n=this.$createElement;if(t)return n("div",{class:A("content")},[t]);var i=this.message,r=this.messageAlign;if(i){var o,a,l={class:A("message",(o={"has-title":e},o[r]=r,o)),domProps:(a={},a[this.allowHtml?"innerHTML":"textContent"]=i,a)};return n("div",{class:A("content",{isolated:!e})},[n("div",s()([{},l]))])}}},render:function(){var e=arguments[0];if(this.shouldRender){var t=this.message,n=this.slots(),i=this.slots("title")||this.title,r=i&&e("div",{class:A("header",{isolated:!t&&!n})},[i]);return e("transition",{attrs:{name:this.transition},on:{afterEnter:this.onOpened,afterLeave:this.onClosed}},[e("div",{directives:[{name:"show",value:this.value}],attrs:{role:"dialog","aria-labelledby":this.title||t},class:[A([this.theme]),this.className],style:{width:Object(c["a"])(this.width)}},[r,this.genContent(i,n),"round-button"===this.theme?this.genRoundButtons():this.genButtons()])])}}}),E=n("a142");function T(e){return document.body.contains(e)}function O(){i&&i.$destroy(),i=new(o["default"].extend(j))({el:document.createElement("div"),propsData:{lazyRender:!1}}),i.$on("input",(function(e){i.value=e}))}function D(e){return E["g"]?Promise.resolve():new Promise((function(t,n){i&&T(i.$el)||O(),Object(r["a"])(i,D.currentOptions,e,{resolve:t,reject:n})}))}D.defaultOptions={value:!0,title:"",width:"",theme:null,message:"",overlay:!0,className:"",allowHtml:!0,lockScroll:!0,transition:"van-dialog-bounce",beforeClose:null,overlayClass:"",overlayStyle:null,messageAlign:"",getContainer:"body",cancelButtonText:"",cancelButtonColor:null,confirmButtonText:"",confirmButtonColor:null,showConfirmButton:!0,showCancelButton:!1,closeOnPopstate:!0,closeOnClickOverlay:!1,callback:function(e){i["confirm"===e?"resolve":"reject"](e)}},D.alert=D,D.confirm=function(e){return D(Object(r["a"])({showCancelButton:!0},e))},D.close=function(){i&&(i.value=!1)},D.setDefaultOptions=function(e){Object(r["a"])(D.currentOptions,e)},D.resetDefaultOptions=function(){D.currentOptions=Object(r["a"])({},D.defaultOptions)},D.resetDefaultOptions(),D.install=function(){o["default"].use(j)},D.Component=j,o["default"].prototype.$dialog=D;t["a"]=D},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"),d=n("35a1"),f=n("2a62"),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var v,g,b,y,_,w,x,k=n&&n.that,C=!(!n||!n.AS_ENTRIES),A=!(!n||!n.IS_RECORD),S=!(!n||!n.IS_ITERATOR),j=!(!n||!n.INTERRUPTED),E=i(t,k),T=function(e){return v&&f(v,"normal",e),new p(!0,e)},O=function(e){return C?(o(e),j?E(e[0],e[1],T):E(e[0],e[1])):j?E(e,T):E(e)};if(A)v=e.iterator;else if(S)v=e;else{if(g=d(e),!g)throw h(a(e)+" is not iterable");if(s(g)){for(b=0,y=l(e);y>b;b++)if(_=O(e[b]),_&&c(m,_))return _;return new p(!1)}v=u(e,g)}w=A?e.next:v.next;while(!(x=r(w,v)).done){try{_=O(x.value)}catch(D){f(v,"throw",D)}if("object"==typeof _&&_&&c(m,_))return _}return new p(!1)}},"22bd":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-overflow-hidden{overflow:hidden!important}.van-popup{position:fixed;max-height:100%;overflow-y:auto;background-color:#fff;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;-webkit-overflow-scrolling:touch}.van-popup--center{top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.van-popup--center.van-popup--round{border-radius:.42667rem}.van-popup--top{top:0;left:0;width:100%}.van-popup--top.van-popup--round{border-radius:0 0 .42667rem .42667rem}.van-popup--right{top:50%;right:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--right.van-popup--round{border-radius:.42667rem 0 0 .42667rem}.van-popup--bottom{bottom:0;left:0;width:100%}.van-popup--bottom.van-popup--round{border-radius:.42667rem .42667rem 0 0}.van-popup--left{top:50%;left:0;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.van-popup--left.van-popup--round{border-radius:0 .42667rem .42667rem 0}.van-popup--safe-area-inset-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-popup-slide-bottom-enter-active,.van-popup-slide-left-enter-active,.van-popup-slide-right-enter-active,.van-popup-slide-top-enter-active{-webkit-transition-timing-function:ease-out;transition-timing-function:ease-out}.van-popup-slide-bottom-leave-active,.van-popup-slide-left-leave-active,.van-popup-slide-right-leave-active,.van-popup-slide-top-leave-active{-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}.van-popup-slide-top-enter,.van-popup-slide-top-leave-active{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}.van-popup-slide-right-enter,.van-popup-slide-right-leave-active{-webkit-transform:translate3d(100%,-50%,0);transform:translate3d(100%,-50%,0)}.van-popup-slide-bottom-enter,.van-popup-slide-bottom-leave-active{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.van-popup-slide-left-enter,.van-popup-slide-left-leave-active{-webkit-transform:translate3d(-100%,-50%,0);transform:translate3d(-100%,-50%,0)}.van-popup__close-icon{position:absolute;z-index:1;color:#c8c9cc;font-size:.58667rem;cursor:pointer}.van-popup__close-icon:active{color:#969799}.van-popup__close-icon--top-left{top:.42667rem;left:.42667rem}.van-popup__close-icon--top-right{top:.42667rem;right:.42667rem}.van-popup__close-icon--bottom-left{bottom:.42667rem;left:.42667rem}.van-popup__close-icon--bottom-right{right:.42667rem;bottom:.42667rem}",""]),e.exports=t},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,d,f,h,p,m=e.target,v=e.global,g=e.stat;if(u=v?i:g?i[m]||s(m,{}):(i[m]||{}).prototype,u)for(d in t){if(h=t[d],e.dontCallGetSet?(p=r(u,d),f=p&&p.value):f=u[d],n=c(v?d:m+(g?".":"#")+d,e.forced),!n&&void 0!==f){if(typeof h==typeof f)continue;l(h,f)}(e.sham||f&&f.sham)&&o(h,"sham",!0),a(u,d,h,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"))},"24fb":function(e,t,n){"use strict";function i(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"===typeof btoa){var o=r(i),a=i.sources.map((function(e){return"/*# sourceURL=".concat(i.sourceRoot||"").concat(e," */")}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}function r(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(t);return"/*# ".concat(n," */")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=i(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,i){"string"===typeof e&&(e=[[null,e,""]]);var r={};if(i)for(var o=0;o1?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,d=u[c],f=s((function(){return"/a/b"!=d.call({source:"a",flags:"b"})})),h=i&&d.name!=c;(f||h)&&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||function(e){for(var t,n=1;no)c[o]=n[o++];return c}),c)},2994:function(e,t,n){"use strict";n("68ef"),n("e3b3"),n("c0c2")},"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),d={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){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var n=Object.freeze({});function i(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function o(e){return!0===e}function a(e){return!1===e}function s(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function l(e){return null!==e&&"object"===typeof e}var c=Object.prototype.toString;function u(e){return"[object Object]"===c.call(e)}function d(e){return"[object RegExp]"===c.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function h(e){return r(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function p(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(n,1)}}var y=Object.prototype.hasOwnProperty;function _(e,t){return y.call(e,t)}function w(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var x=/-(\w)/g,k=w((function(e){return e.replace(x,(function(e,t){return t?t.toUpperCase():""}))})),C=w((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,S=w((function(e){return e.replace(A,"-$1").toLowerCase()}));function j(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 E(e,t){return e.bind(t)}var T=Function.prototype.bind?E:j;function O(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function D(e,t){for(var n in t)e[n]=t[n];return e}function I(e){for(var t={},n=0;n0,ne=Z&&Z.indexOf("edge/")>0,ie=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===J),re=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/)),oe={}.watch,ae=!1;if(Q)try{var se={};Object.defineProperty(se,"passive",{get:function(){ae=!0}}),window.addEventListener("test-passive",null,se)}catch(ka){}var le=function(){return void 0===G&&(G=!Q&&!X&&"undefined"!==typeof e&&(e["process"]&&"server"===e["process"].env.VUE_ENV)),G},ce=Q&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ue(e){return"function"===typeof e&&/native code/.test(e.toString())}var de,fe="undefined"!==typeof Symbol&&ue(Symbol)&&"undefined"!==typeof Reflect&&ue(Reflect.ownKeys);de="undefined"!==typeof Set&&ue(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 he=M,pe=0,me=function(){this.id=pe++,this.subs=[]};me.prototype.addSub=function(e){this.subs.push(e)},me.prototype.removeSub=function(e){b(this.subs,e)},me.prototype.depend=function(){me.target&&me.target.addDep(this)},me.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(o&&!_(r,"default"))a=!1;else if(""===a||a===S(e)){var l=et(String,r.type);(l<0||s0&&(a=jt(a,(t||"")+"_"+n),St(a[0])&&St(c)&&(u[l]=xe(c.text+a[0].text),a.shift()),u.push.apply(u,a)):s(a)?St(c)?u[l]=xe(c.text+a):""!==a&&u.push(xe(a)):St(a)&&St(c)?u[l]=xe(c.text+a.text):(o(e._isVList)&&r(a.tag)&&i(a.key)&&r(t)&&(a.key="__vlist"+t+"_"+n+"__"),u.push(a)));return u}function Et(e){var t=e.$options.provide;t&&(e._provided="function"===typeof t?t.call(e):t)}function Tt(e){var t=Ot(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){Pe(e,n,t[n])})),Te(!0))}function Ot(e,t){if(e){for(var n=Object.create(null),i=fe?Reflect.ownKeys(e):Object.keys(e),r=0;r0,a=e?!!e.$stable:!o,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&i&&i!==n&&s===i.$key&&!o&&!i.$hasNormal)return i;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=Pt(t,l,e[l]))}else r={};for(var c in t)c in r||(r[c]=Nt(t,c));return e&&Object.isExtensible(e)&&(e._normalized=r),Y(r,"$stable",a),Y(r,"$key",s),Y(r,"$hasNormal",o),r}function Pt(e,t,n){var i=function(){var e=arguments.length?n.apply(null,arguments):n({});return e=e&&"object"===typeof e&&!Array.isArray(e)?[e]:At(e),e&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:i,enumerable:!0,configurable:!0}),i}function Nt(e,t){return function(){return e[t]}}function Ft(e,t){var n,i,o,a,s;if(Array.isArray(e)||"string"===typeof e)for(n=new Array(e.length),i=0,o=e.length;i1?O(n):n;for(var i=O(arguments,1),r='event handler for "'+e+'"',o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Gn=function(){return Kn.now()})}function Qn(){var e,t;for(qn=Gn(),Wn=!0,Rn.sort((function(e,t){return e.id-t.id})),Yn=0;YnYn&&Rn[n].id>e.id)n--;Rn.splice(n+1,0,e)}else Rn.push(e);Hn||(Hn=!0,pt(Qn))}}var ti=0,ni=function(e,t,n,i,r){this.vm=e,r&&(e._watcher=this),e._watchers.push(this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++ti,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new de,this.newDepIds=new de,this.expression="","function"===typeof t?this.getter=t:(this.getter=q(t),this.getter||(this.getter=M)),this.value=this.lazy?void 0:this.get()};ni.prototype.get=function(){var e;ge(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(ka){if(!this.user)throw ka;tt(ka,t,'getter for watcher "'+this.expression+'"')}finally{this.deep&&vt(e),be(),this.cleanupDeps()}return e},ni.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},ni.prototype.cleanupDeps=function(){var e=this.deps.length;while(e--){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},ni.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():ei(this)},ni.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||l(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(ka){tt(ka,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},ni.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},ni.prototype.depend=function(){var e=this.deps.length;while(e--)this.deps[e].depend()},ni.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);var e=this.deps.length;while(e--)this.deps[e].removeSub(this);this.active=!1}};var ii={enumerable:!0,configurable:!0,get:M,set:M};function ri(e,t,n){ii.get=function(){return this[t][n]},ii.set=function(e){this[t][n]=e},Object.defineProperty(e,n,ii)}function oi(e){e._watchers=[];var t=e.$options;t.props&&ai(e,t.props),t.methods&&pi(e,t.methods),t.data?si(e):Me(e._data={},!0),t.computed&&ui(e,t.computed),t.watch&&t.watch!==oe&&mi(e,t.watch)}function ai(e,t){var n=e.$options.propsData||{},i=e._props={},r=e.$options._propKeys=[],o=!e.$parent;o||Te(!1);var a=function(o){r.push(o);var a=Qe(o,t,n,e);Pe(i,o,a),o in e||ri(e,"_props",o)};for(var s in t)a(s);Te(!0)}function si(e){var t=e.$options.data;t=e._data="function"===typeof t?li(t,e):t||{},u(t)||(t={});var n=Object.keys(t),i=e.$options.props,r=(e.$options.methods,n.length);while(r--){var o=n[r];0,i&&_(i,o)||W(o)||ri(e,"_data",o)}Me(t,!0)}function li(e,t){ge();try{return e.call(t,t)}catch(ka){return tt(ka,t,"data()"),{}}finally{be()}}var ci={lazy:!0};function ui(e,t){var n=e._computedWatchers=Object.create(null),i=le();for(var r in t){var o=t[r],a="function"===typeof o?o:o.get;0,i||(n[r]=new ni(e,a||M,M,ci)),r in e||di(e,r,o)}}function di(e,t,n){var i=!le();"function"===typeof n?(ii.get=i?fi(t):hi(n),ii.set=M):(ii.get=n.get?i&&!1!==n.cache?fi(t):hi(n.get):M,ii.set=n.set||M),Object.defineProperty(e,t,ii)}function fi(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),me.target&&t.depend(),t.value}}function hi(e){return function(){return e.call(this,this)}}function pi(e,t){e.$options.props;for(var n in t)e[n]="function"!==typeof t[n]?M:T(t[n],e)}function mi(e,t){for(var n in t){var i=t[n];if(Array.isArray(i))for(var r=0;r-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof e.install?e.install.apply(e,n):"function"===typeof e&&e.apply(null,n),t.push(e),this}}function Ai(e){e.mixin=function(e){return this.options=Ge(this.options,e),this}}function Si(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=e.name||n.options.name;var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Ge(n.options,e),a["super"]=n,a.options.props&&ji(a),a.options.computed&&Ei(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,R.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=D({},a.options),r[i]=a,a}}function ji(e){var t=e.options.props;for(var n in t)ri(e.prototype,"_props",n)}function Ei(e){var t=e.options.computed;for(var n in t)di(e.prototype,n,t[n])}function Ti(e){R.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"===typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function Oi(e){return e&&(e.Ctor.options.name||e.tag)}function Di(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!d(e)&&e.test(t)}function Ii(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=Oi(a.componentOptions);s&&!t(s)&&Mi(n,o,i,r)}}}function Mi(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,b(n,t)}yi(ki),gi(ki),Tn(ki),Mn(ki),bn(ki);var Pi=[String,RegExp,Array],Ni={name:"keep-alive",abstract:!0,props:{include:Pi,exclude:Pi,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)Mi(this.cache,e,this.keys)},mounted:function(){var e=this;this.$watch("include",(function(t){Ii(e,(function(e){return Di(t,e)}))})),this.$watch("exclude",(function(t){Ii(e,(function(e){return!Di(t,e)}))}))},render:function(){var e=this.$slots.default,t=kn(e),n=t&&t.componentOptions;if(n){var i=Oi(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!Di(o,i))||a&&i&&Di(a,i))return t;var s=this,l=s.cache,c=s.keys,u=null==t.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):t.key;l[u]?(t.componentInstance=l[u].componentInstance,b(c,u),c.push(u)):(l[u]=t,c.push(u),this.max&&c.length>parseInt(this.max)&&Mi(l,c[0],c,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}},Fi={KeepAlive:Ni};function Bi(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:he,extend:D,mergeOptions:Ge,defineReactive:Pe},e.set=Ne,e.delete=Fe,e.nextTick=pt,e.observable=function(e){return Me(e),e},e.options=Object.create(null),R.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,D(e.options.components,Fi),Ci(e),Ai(e),Si(e),Ti(e)}Bi(ki),Object.defineProperty(ki.prototype,"$isServer",{get:le}),Object.defineProperty(ki.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ki,"FunctionalRenderContext",{value:Xt}),ki.version="2.6.11";var zi=v("style,class"),Li=v("input,textarea,option,select,progress"),Ri=function(e,t,n){return"value"===n&&Li(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},$i=v("contenteditable,draggable,spellcheck"),Vi=v("events,caret,typing,plaintext-only"),Hi=function(e,t){return Gi(t)||"false"===t?"false":"contenteditable"===e&&Vi(t)?t:"true"},Wi=v("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,translate,truespeed,typemustmatch,visible"),Yi="http://www.w3.org/1999/xlink",Ui=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qi=function(e){return Ui(e)?e.slice(6,e.length):""},Gi=function(e){return null==e||!1===e};function Ki(e){var t=e.data,n=e,i=e;while(r(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Qi(i.data,t));while(r(n=n.parent))n&&n.data&&(t=Qi(t,n.data));return Xi(t.staticClass,t.class)}function Qi(e,t){return{staticClass:Ji(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Xi(e,t){return r(e)||r(t)?Ji(e,Zi(t)):""}function Ji(e,t){return e?t?e+" "+t:e:t||""}function Zi(e){return Array.isArray(e)?er(e):l(e)?tr(e):"string"===typeof e?e:""}function er(e){for(var t,n="",i=0,o=e.length;i-1?sr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:sr[e]=/HTMLUnknownElement/.test(t.toString())}var cr=v("text,number,password,search,email,tel,url");function ur(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function dr(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 fr(e,t){return document.createElementNS(nr[e],t)}function hr(e){return document.createTextNode(e)}function pr(e){return document.createComment(e)}function mr(e,t,n){e.insertBefore(t,n)}function vr(e,t){e.removeChild(t)}function gr(e,t){e.appendChild(t)}function br(e){return e.parentNode}function yr(e){return e.nextSibling}function _r(e){return e.tagName}function wr(e,t){e.textContent=t}function xr(e,t){e.setAttribute(t,"")}var kr=Object.freeze({createElement:dr,createElementNS:fr,createTextNode:hr,createComment:pr,insertBefore:mr,removeChild:vr,appendChild:gr,parentNode:br,nextSibling:yr,tagName:_r,setTextContent:wr,setStyleScope:xr}),Cr={create:function(e,t){Ar(t)},update:function(e,t){e.data.ref!==t.data.ref&&(Ar(e,!0),Ar(t))},destroy:function(e){Ar(e,!0)}};function Ar(e,t){var n=e.data.ref;if(r(n)){var i=e.context,o=e.componentInstance||e.elm,a=i.$refs;t?Array.isArray(a[n])?b(a[n],o):a[n]===o&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Sr=new ye("",{},[]),jr=["create","activate","update","remove","destroy"];function Er(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&Tr(e,t)||o(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&i(t.asyncFactory.error))}function Tr(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||cr(i)&&cr(o)}function Or(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function Dr(e){var t,n,a={},l=e.modules,c=e.nodeOps;for(t=0;tm?(d=i(n[b+1])?null:n[b+1].elm,k(e,d,n,p,b,o)):p>b&&A(t,f,m)}function E(e,t,n,i){for(var o=n;o-1?Vr(e,t,n):Wi(t)?Gi(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):$i(t)?e.setAttribute(t,Hi(t,n)):Ui(t)?Gi(n)?e.removeAttributeNS(Yi,qi(t)):e.setAttributeNS(Yi,t,n):Vr(e,t,n)}function Vr(e,t,n){if(Gi(n))e.removeAttribute(t);else{if(ee&&!te&&"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 Hr={create:Rr,update:Rr};function Wr(e,t){var n=t.elm,o=t.data,a=e.data;if(!(i(o.staticClass)&&i(o.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Ki(t),l=n._transitionClasses;r(l)&&(s=Ji(s,Zi(l))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Yr,Ur={create:Wr,update:Wr},qr="__r",Gr="__c";function Kr(e){if(r(e[qr])){var t=ee?"change":"input";e[t]=[].concat(e[qr],e[t]||[]),delete e[qr]}r(e[Gr])&&(e.change=[].concat(e[Gr],e.change||[]),delete e[Gr])}function Qr(e,t,n){var i=Yr;return function r(){var o=t.apply(null,arguments);null!==o&&Zr(e,r,n,i)}}var Xr=at&&!(re&&Number(re[1])<=53);function Jr(e,t,n,i){if(Xr){var r=qn,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)}}Yr.addEventListener(e,t,ae?{capture:n,passive:i}:n)}function Zr(e,t,n,i){(i||Yr).removeEventListener(e,t._wrapper||t,n)}function eo(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Yr=t.elm,Kr(n),_t(n,r,Jr,Zr,Qr,t.context),Yr=void 0}}var to,no={create:eo,update:eo};function io(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};for(n in r(l.__ob__)&&(l=t.data.domProps=D({},l)),s)n in l||(a[n]="");for(n in l){if(o=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),o===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=o;var c=i(o)?"":String(o);ro(a,c)&&(a.value=c)}else if("innerHTML"===n&&rr(a.tagName)&&i(a.innerHTML)){to=to||document.createElement("div"),to.innerHTML=""+o+"";var u=to.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(u.firstChild)a.appendChild(u.firstChild)}else if(o!==s[n])try{a[n]=o}catch(ka){}}}}function ro(e,t){return!e.composing&&("OPTION"===e.tagName||oo(e,t)||ao(e,t))}function oo(e,t){var n=!0;try{n=document.activeElement!==e}catch(ka){}return n&&e.value!==t}function ao(e,t){var n=e.value,i=e._vModifiers;if(r(i)){if(i.number)return m(n)!==m(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var so={create:io,update:io},lo=w((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 co(e){var t=uo(e.style);return e.staticStyle?D(e.staticStyle,t):t}function uo(e){return Array.isArray(e)?I(e):"string"===typeof e?lo(e):e}function fo(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=co(r.data))&&D(i,n)}(n=co(e.data))&&D(i,n);var o=e;while(o=o.parent)o.data&&(n=co(o.data))&&D(i,n);return i}var ho,po=/^--/,mo=/\s*!important$/,vo=function(e,t,n){if(po.test(t))e.style.setProperty(t,n);else if(mo.test(n))e.style.setProperty(S(t),n.replace(mo,""),"important");else{var i=bo(t);if(Array.isArray(n))for(var r=0,o=n.length;r-1?t.split(wo).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ko(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(wo).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" "+(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 Co(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&D(t,Ao(e.name||"v")),D(t,e),t}return"string"===typeof e?Ao(e):void 0}}var Ao=w((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),So=Q&&!te,jo="transition",Eo="animation",To="transition",Oo="transitionend",Do="animation",Io="animationend";So&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(To="WebkitTransition",Oo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Do="WebkitAnimation",Io="webkitAnimationEnd"));var Mo=Q?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Po(e){Mo((function(){Mo(e)}))}function No(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),xo(e,t))}function Fo(e,t){e._transitionClasses&&b(e._transitionClasses,t),ko(e,t)}function Bo(e,t,n){var i=Lo(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===jo?Oo:Io,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout((function(){l0&&(n=jo,u=a,d=o.length):t===Eo?c>0&&(n=Eo,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?jo:Eo:null,d=n?n===jo?o.length:l.length:0);var f=n===jo&&zo.test(i[To+"Property"]);return{type:n,timeout:u,propCount:d,hasTransform:f}}function Ro(e,t){while(e.length1}function Uo(e,t){!0!==t.data.show&&Vo(t)}var qo=Q?{create:Uo,activate:Uo,remove:function(e,t){!0!==e.data.show?Ho(e,t):t()}}:{},Go=[Hr,Ur,no,so,_o,qo],Ko=Go.concat(Lr),Qo=Dr({nodeOps:kr,modules:Ko});te&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&ra(e,"input")}));var Xo={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?wt(n,"postpatch",(function(){Xo.componentUpdated(e,t,n)})):Jo(e,t,n.context),e._vOptions=[].map.call(e.options,ta)):("textarea"===n.tag||cr(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",na),e.addEventListener("compositionend",ia),e.addEventListener("change",ia),te&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){Jo(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,ta);if(r.some((function(e,t){return!F(e,i[t])}))){var o=e.multiple?t.value.some((function(e){return ea(e,r)})):t.value!==t.oldValue&&ea(t.value,r);o&&ra(e,"change")}}}};function Jo(e,t,n){Zo(e,t,n),(ee||ne)&&setTimeout((function(){Zo(e,t,n)}),0)}function Zo(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(ta(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function ea(e,t){return t.every((function(t){return!F(t,e)}))}function ta(e){return"_value"in e?e._value:e.value}function na(e){e.target.composing=!0}function ia(e){e.target.composing&&(e.target.composing=!1,ra(e.target,"input"))}function ra(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function oa(e){return!e.componentInstance||e.data&&e.data.transition?e:oa(e.componentInstance._vnode)}var aa={bind:function(e,t,n){var i=t.value;n=oa(n);var r=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,Vo(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=oa(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?Vo(n,(function(){e.style.display=e.__vOriginalDisplay})):Ho(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)}},sa={model:Xo,show:aa},la={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 ca(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?ca(kn(t.children)):e}function ua(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var o in r)t[k(o)]=r[o];return t}function da(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function fa(e){while(e=e.parent)if(e.data.transition)return!0}function ha(e,t){return t.key===e.key&&t.tag===e.tag}var pa=function(e){return e.tag||xn(e)},ma=function(e){return"show"===e.name},va={name:"transition",props:la,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(pa),n.length)){0;var i=this.mode;0;var r=n[0];if(fa(this.$vnode))return r;var o=ca(r);if(!o)return r;if(this._leaving)return da(e,r);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var l=(o.data||(o.data={})).transition=ua(this),c=this._vnode,u=ca(c);if(o.data.directives&&o.data.directives.some(ma)&&(o.data.show=!0),u&&u.data&&!ha(o,u)&&!xn(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=D({},l);if("out-in"===i)return this._leaving=!0,wt(d,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),da(e,r);if("in-out"===i){if(xn(o))return c;var f,h=function(){f()};wt(l,"afterEnter",h),wt(l,"enterCancelled",h),wt(d,"delayLeave",(function(e){f=e}))}}return r}}},ga=D({tag:String,moveClass:String},la);delete ga.mode;var ba={props:ga,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Dn(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=ua(this),s=0;s1?arguments[1]:void 0,t.length)),i=s(e);return f?f(t,i,n):h(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"),d=n("1a2d"),f=n("d039"),h=n("1be4"),p=n("f36a"),m=n("cc12"),v=n("d6d6"),g=n("1cdc"),b=n("605d"),y=s.setImmediate,_=s.clearImmediate,w=s.process,x=s.Dispatch,k=s.Function,C=s.MessageChannel,A=s.String,S=0,j={},E="onreadystatechange";f((function(){i=s.location}));var T=function(e){if(d(j,e)){var t=j[e];delete j[e],t()}},O=function(e){return function(){T(e)}},D=function(e){T(e.data)},I=function(e){s.postMessage(A(e),i.protocol+"//"+i.host)};y&&_||(y=function(e){v(arguments.length,1);var t=u(e)?e:k(e),n=p(arguments,1);return j[++S]=function(){l(t,void 0,n)},r(S),S},_=function(e){delete j[e]},b?r=function(e){w.nextTick(O(e))}:x&&x.now?r=function(e){x.now(O(e))}:C&&!g?(o=new C,a=o.port2,o.port1.onmessage=D,r=c(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!f(I)?(r=I,s.addEventListener("message",D,!1)):r=E in m("script")?function(e){h.appendChild(m("script"))[E]=function(){h.removeChild(this),T(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:y,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)}},"2de8":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-dialog{position:fixed;top:45%;left:50%;width:8.53333rem;overflow:hidden;font-size:.42667rem;background-color:#fff;border-radius:.42667rem;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0);-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-transition:.3s;transition:.3s;-webkit-transition-property:opacity,-webkit-transform;transition-property:opacity,-webkit-transform;transition-property:transform,opacity;transition-property:transform,opacity,-webkit-transform}@media (max-width:321px){.van-dialog{width:90%}}.van-dialog__header{padding-top:.69333rem;font-weight:500;line-height:.64rem;text-align:center}.van-dialog__header--isolated{padding:.64rem 0}.van-dialog__content--isolated{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;min-height:2.77333rem}.van-dialog__message{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;max-height:60vh;padding:.69333rem .64rem;overflow-y:auto;font-size:.37333rem;line-height:.53333rem;white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:.21333rem;color:#646566}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__footer{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.van-dialog__cancel,.van-dialog__confirm{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;height:1.28rem;margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:#ee0a24}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:.21333rem .64rem .42667rem}.van-dialog--round-button .van-dialog__message{padding-bottom:.42667rem;color:#323233}.van-dialog--round-button .van-dialog__cancel,.van-dialog--round-button .van-dialog__confirm{height:.96rem}.van-dialog--round-button .van-dialog__confirm{color:#fff}.van-dialog-bounce-enter{-webkit-transform:translate3d(-50%,-50%,0) scale(.7);transform:translate3d(-50%,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{-webkit-transform:translate3d(-50%,-50%,0) scale(.9);transform:translate3d(-50%,-50%,0) scale(.9);opacity:0}",""]),e.exports=t},"2e67":function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},"2ed4":function(e,t,n){"use strict";var i=n("c31d"),r=n("d282"),o=n("a142"),a=n("48f4"),s=n("9884"),l=n("ad06"),c=n("6f2f"),u=Object(r["a"])("tabbar-item"),d=u[0],f=u[1];t["a"]=d({mixins:[Object(s["a"])("vanTabbar")],props:Object(i["a"])({},a["c"],{dot:Boolean,icon:String,name:[Number,String],info:[Number,String],badge:[Number,String],iconPrefix:String}),data:function(){return{active:!1}},computed:{routeActive:function(){var e=this.to,t=this.$route;if(e&&t){var n=Object(o["e"])(e)?e:{path:e},i=n.path===t.path,r=Object(o["c"])(n.name)&&n.name===t.name;return i||r}}},methods:{onClick:function(e){this.parent.onChange(this.name||this.index),this.$emit("click",e),Object(a["b"])(this.$router,this)},genIcon:function(e){var t=this.$createElement,n=this.slots("icon",{active:e});return n||(this.icon?t(l["a"],{attrs:{name:this.icon,classPrefix:this.iconPrefix}}):void 0)}},render:function(){var e,t=arguments[0],n=this.parent.route?this.routeActive:this.active,i=this.parent[n?"activeColor":"inactiveColor"];return t("div",{class:f({active:n}),style:{color:i},on:{click:this.onClick}},[t("div",{class:f("icon")},[this.genIcon(n),t(c["a"],{attrs:{dot:this.dot,info:null!=(e=this.badge)?e:this.info}})]),t("div",{class:f("text")},[this.slots("default",{active:n})])])}})},"2f62":function(e,t,n){"use strict";(function(e){ /** * vuex v3.1.2 * (c) 2019 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,"c",(function(){return M})),n.d(t,"b",(function(){return P}));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)})))}function s(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function l(e){return null!==e&&"object"===typeof e}function c(e){return e&&"function"===typeof e.then}function u(e,t){return function(){return e(t)}}var d=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)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.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)},d.prototype.forEachChild=function(e){s(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&s(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&s(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&s(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,f);var h=function(e){this.register([],e,!1)};function p(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;p(e.concat(i),t.getChild(i),n.modules[i])}}h.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},h.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},h.prototype.update=function(e){p([],this.root,e)},h.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new d(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&&s(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},h.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var m;var v=function(e){var t=this;void 0===e&&(e={}),!m&&"undefined"!==typeof window&&window.Vue&&O(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 h(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,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;w(this,c,[],this._modules.root),_(this,c),n.forEach((function(e){return e(t)}));var u=void 0!==e.devtools?e.devtools:m.config.devtools;u&&a(this)},g={state:{configurable:!0}};function b(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function y(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;w(e,n,[],e._modules.root,!0),_(e,n,t)}function _(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};s(r,(function(t,n){o[n]=u(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,e._vm=new m({data:{$$state:t},computed:o}),m.config.silent=a,e.strict&&j(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),m.nextTick((function(){return i.$destroy()})))}function w(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=E(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit((function(){m.set(s,l,i.state)}))}var c=i.context=x(e,a,n);i.forEachMutation((function(t,n){var i=a+n;C(e,i,t,c)})),i.forEachAction((function(t,n){var i=t.root?n:a+n,r=t.handler||t;A(e,i,r,c)})),i.forEachGetter((function(t,n){var i=a+n;S(e,i,t,c)})),i.forEachChild((function(i,o){w(e,t,n.concat(o),i,r)}))}function x(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var o=T(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=T(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 k(e,t)}},state:{get:function(){return E(e.state,n)}}}),r}function k(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 C(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,i.state,t)}))}function A(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 c(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function S(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function j(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function E(e,t){return t.length?t.reduce((function(e,t){return e[t]}),e):e}function T(e,t,n){return l(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function O(e){m&&e===m||(m=e,i(m))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(e){0},v.prototype.commit=function(e,t,n){var i=this,r=T(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.forEach((function(e){return e(s,i.state)})))},v.prototype.dispatch=function(e,t){var n=this,i=T(e,t),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.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 l.then((function(e){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(c){0}return e}))}},v.prototype.subscribe=function(e){return b(e,this._subscribers)},v.prototype.subscribeAction=function(e){var t="function"===typeof e?{before:e}:e;return b(t,this._actionSubscribers)},v.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),w(this,this.state,e,this._modules.get(e),n.preserveState),_(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=E(t.state,e.slice(0,-1));m.delete(n,e[e.length-1])})),y(this)},v.prototype.hotUpdate=function(e){this._modules.update(e),y(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,g);var D=z((function(e,t){var n={};return F(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=L(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})),I=z((function(e,t){var n={};return F(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=L(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})),M=z((function(e,t){var n={};return F(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||L(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),P=z((function(e,t){var n={};return F(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=L(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})),N=function(e){return{mapState:D.bind(null,e),mapGetters:M.bind(null,e),mapMutations:I.bind(null,e),mapActions:P.bind(null,e)}};function F(e){return B(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 B(e){return Array.isArray(e)||l(e)}function z(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function L(e,t,n){var i=e._modulesNamespaceMap[n];return i}var R={Store:v,install:O,version:"3.1.2",mapState:D,mapMutations:I,mapGetters:M,mapActions:P,createNamespacedHelpers:N};t["a"]=R}).call(this,n("c8ba"))},"2f9a":function(e,t){e.exports=function(){}},"2fcb":function(e,t,n){var i=n("2de8");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("df3c5a50",i,!0,{sourceMap:!1,shadowMode:!1})},"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"),d=n("b917").itoc,f=o("btoa"),h=a("".charAt),p=a("".charCodeAt),m=!!f&&!l((function(){f()})),v=!!f&&l((function(){return"bnVsbA=="!==f(null)})),g=!!f&&1!==f.length;i({global:!0,bind:!0,enumerable:!0,forced:m||v||g},{btoa:function(e){if(u(arguments.length,1),m||v||g)return s(f,r,c(e));var t,n,i=c(e),a="",l=0,b=d;while(h(i,l)||(b="=",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+=h(b,63&t>>8-l%1*8)}return a}})},"31fc":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-tabbar-item{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;color:#646566;font-size:.32rem;line-height:1;cursor:pointer}.van-tabbar-item__icon{position:relative;margin-bottom:.10667rem;font-size:.58667rem}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon img{display:block;height:.53333rem}.van-tabbar-item--active{color:#1989fa;background-color:#fff}.van-tabbar-item .van-info{margin-top:.10667rem}",""]),e.exports=t},"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,d=t.easing;return l.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(c,r(i,u,d)),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&&d(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&&d(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 d(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)||""},"34e9":function(e,t,n){"use strict";var i=n("2638"),r=n.n(i),o=n("d282"),a=n("ba31"),s=n("b1d2"),l=Object(o["a"])("cell-group"),c=l[0],u=l[1];function d(e,t,n,i){var o,l=e("div",r()([{class:[u(),(o={},o[s["d"]]=t.border,o)]},Object(a["b"])(i,!0)]),[null==n.default?void 0:n.default()]);return t.title||n.title?e("div",[e("div",{class:u("title")},[n.title?n.title():t.title]),l]):l}d.props={title:String,border:{type:Boolean,default:!0}},t["a"]=c(d)},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)})},3743:function(e,t,n){var i=n("d4a2");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("780fb26e",i,!0,{sourceMap:!1,shadowMode:!1})},"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}},3875:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var i=n("1325"),r=10;function o(e,t){return e>t&&e>r?"horizontal":t>e&&t>r?"vertical":""}var a={data:function(){return{direction:""}},methods:{touchStart:function(e){this.resetTouchStatus(),this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY},touchMove:function(e){var t=e.touches[0];this.deltaX=t.clientX-this.startX,this.deltaY=t.clientY-this.startY,this.offsetX=Math.abs(this.deltaX),this.offsetY=Math.abs(this.deltaY),this.direction=this.direction||o(this.offsetX,this.offsetY)},resetTouchStatus:function(){this.direction="",this.deltaX=0,this.deltaY=0,this.offsetX=0,this.offsetY=0},bindTouchEvent:function(e){var t=this.onTouchStart,n=this.onTouchMove,r=this.onTouchEnd;Object(i["b"])(e,"touchstart",t),Object(i["b"])(e,"touchmove",n),r&&(Object(i["b"])(e,"touchend",r),Object(i["b"])(e,"touchcancel",r))}}}},"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"),d=n("cc15")("iterator"),f=!([].keys&&"next"in[].keys()),h="@@iterator",p="keys",m="values",v=function(){return this};e.exports=function(e,t,n,g,b,y,_){l(n,t,g);var w,x,k,C=function(e){if(!f&&e in E)return E[e];switch(e){case p:return function(){return new n(this,e)};case m:return function(){return new n(this,e)}}return function(){return new n(this,e)}},A=t+" Iterator",S=b==m,j=!1,E=e.prototype,T=E[d]||E[h]||b&&E[b],O=T||C(b),D=b?S?C("entries"):O:void 0,I="Array"==t&&E.entries||T;if(I&&(k=u(I.call(new e)),k!==Object.prototype&&k.next&&(c(k,A,!0),i||"function"==typeof k[d]||a(k,d,v))),S&&T&&T.name!==m&&(j=!0,O=function(){return T.call(this)}),i&&!_||!f&&!j&&E[d]||a(E,d,O),s[t]=O,s[A]=v,b)if(w={values:S?O:C(m),keys:y?O:C(p),entries:D},_)for(x in w)x in E||o(E,x,w[x]);else r(r.P+r.F*(f||j),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)},"3b02":function(e,t,n){var i=n("24fb");t=i(!1),t.push([e.i,".van-info{position:absolute;top:0;right:0;box-sizing:border-box;min-width:.42667rem;padding:0 .08rem;color:#fff;font-weight:500;font-size:.32rem;font-family:-apple-system-font,Helvetica Neue,Arial,sans-serif;line-height:1.2;text-align:center;background-color:#ee0a24;border:.02667rem solid #fff;border-radius:.42667rem;-webkit-transform:translate(50%,-50%);-ms-transform:translate(50%,-50%);transform:translate(50%,-50%);-webkit-transform-origin:100%;-ms-transform-origin:100%;transform-origin:100%}.van-info--dot{width:.21333rem;min-width:0;height:.21333rem;background-color:#ee0a24;border-radius:100%}",""]),e.exports=t},"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)?h(c(e),e,t):e}function d(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]=h(e[o],t,n):-1===e.indexOf(t)&&r.push(u(t,n))})),r}function f(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]=h(e[o],t[o],n):r[o]=u(t[o],n)})),r}function h(e,t,n){var i=Array.isArray(t),r=Array.isArray(e),o=n||{arrayMerge:d},a=i===r;if(a){if(i){var s=o.arrayMerge||d;return s(e,t,n)}return f(e,t,n)}return u(t,n)}h.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 h(e,n,t)}))};var p=h;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,d=i.Int8Array,f=d&&d.prototype,h=f&&f.set,p=o.aTypedArray,m=o.exportTypedArrayMethod,v=!c((function(){var e=new Uint8ClampedArray(2);return r(h,e,{length:1,0:3},1),3!==e[1]})),g=v&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){p(this);var t=s(arguments.length>1?arguments[1]:void 0,1),n=l(e);if(v)return r(h,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",d=r.navigator&&r.navigator.userAgent||"",f=/AppleWebKit\/([\d.]+)/i.exec(d),h=f?parseFloat(f.pop()):null,p=/iPad/i.test(d),m=/iPhone/i.test(d)&&!p,v=/iPod/i.test(d),g=m||p||v,b=function(){var e=d.match(/OS (\d+)_/i);return e&&e[1]?e[1]:null}(),y=/Android/i.test(d),_=function(){var e=d.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=y&&/webkit/i.test(d)&&_<2.3,x=y&&_<5&&h<537,k=/Firefox/i.test(d),C=/Edge/i.test(d),A=!C&&(/Chrome/i.test(d)||/CriOS/i.test(d)),S=function(){var e=d.match(/(Chrome|CriOS)\/(\d+)/);return e&&e[2]?parseFloat(e[2]):null}(),j=/MSIE\s8\.0/.test(d),E=function(){var e=/MSIE\s(\d+)\.\d/.exec(d),t=e&&parseFloat(e[1]);return!t&&/Trident\/7.0/i.test(d)&&/rv:11.0/.test(d)&&(t=11),t}(),T=/Safari/i.test(d)&&!A&&!y&&!C,O=(T||g)&&!A,D=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:m,IS_IPOD:v,IS_IOS:g,IOS_VERSION:b,IS_ANDROID:y,ANDROID_VERSION:_,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:x,IS_FIREFOX:k,IS_EDGE:C,IS_CHROME:A,CHROME_VERSION:S,IS_IE8:j,IE_VERSION:E,IS_SAFARI:T,IS_ANY_SAFARI:O,TOUCH_ENABLED:D,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},N=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},F=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)},B=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},z=function(e,t){return e.raw=t,e},L=Object.prototype.toString,R=function(e){return W(e)?Object.keys(e):[]};function $(e,t){R(e).forEach((function(n){return t(e[n],n)}))}function V(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return R(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(J,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&&Se(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 de(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 fe(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):de(e,t),e}function he(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 me(e,t){return e.getAttribute(t)}function ve(e,t,n){e.setAttribute(t,n)}function ge(e,t){e.removeAttribute(t)}function be(){o.body.focus(),o.onselectstart=function(){return!1}}function ye(){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,d=t.top+u-c;return{left:Math.round(l),top:Math.round(d)}}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 ke(e){return W(e)&&3===e.nodeType}function Ce(e){while(e.firstChild)e.removeChild(e.firstChild);return e}function Ae(e){return"function"===typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map((function(e){return"function"===typeof e&&(e=e()),ie(e)||ke(e)?e:"string"===typeof e&&/\S/.test(e)?o.createTextNode(e):void 0})).filter((function(e){return e}))}function Se(e,t){return Ae(t).forEach((function(t){return e.appendChild(t)})),e}function je(e,t){return Se(Ce(e),t)}function Ee(e){return void 0===e.button&&void 0===e.buttons||(0===e.button&&void 0===e.buttons||(9===E||0===e.button&&1===e.buttons))}var Te=oe("querySelector"),Oe=oe("querySelectorAll"),De=(Object.freeze||Object)({isReal:ne,isEl:ie,isInFrame:re,createEl:ae,textContent:se,prependTo:le,hasClass:ce,addClass:ue,removeClass:de,toggleClass:fe,setAttributes:he,getAttributes:pe,getAttribute:me,setAttribute:ve,removeAttribute:ge,blockTextSelection:be,unblockTextSelection:ye,getBoundingClientRect:_e,findPosition:we,getPointerPosition:xe,isTextNode:ke,emptyEl:Ce,normalizeContent:Ae,appendContent:Se,insertContent:je,isSingleLeftClick:Ee,$:Te,$$:Oe}),Ie=1;function Me(){return Ie++}var Pe={},Ne="vdata"+(new Date).getTime();function Fe(e){var t=e[Ne];return t||(t=e[Ne]=Me()),Pe[t]||(Pe[t]={}),Pe[t]}function Be(e){var t=e[Ne];return!!t&&!!Object.getOwnPropertyNames(Pe[t]).length}function ze(e){var t=e[Ne];if(t){delete Pe[t];try{delete e[Ne]}catch(n){e.removeAttribute?e.removeAttribute(Ne):e[Ne]=null}}}function Le(e,t){var n=Fe(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&&ze(e)}function Re(e,t,n,i){n.forEach((function(n){e(t,n,i)}))}function $e(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 Ve=!1;(function(){try{var e=Object.defineProperty({},"passive",{get:function(){Ve=!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 Re(We,e,t,n);var i=Fe(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=$e(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 Ye(e,t,n){if(Be(e)){var i=Fe(e);if(i.handlers){if(Array.isArray(t))return Re(Ye,e,t,n);var r=function(e,t){i.handlers[t]=[],Le(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 d=0,f=i.length;d=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){Ye(this,e,t)},rt.prototype.removeEventListener=rt.prototype.off,rt.prototype.one=function(e,t){var n=this.addEventListener;this.addEventListener=function(){},qe(this,e,t),this.addEventListener=n},rt.prototype.trigger=function(e){var t=e.type||e;"string"===typeof e&&(e={type:t}),e=$e(e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),Ue(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}},dt=function(e,t,n,i){st(e),e.nodeName?Ge[t](e,n,i):e[t](n,i)},ft={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,ft),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 $(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 mt(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 vt(e){return"string"!==typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}function gt(e,t){return vt(e)===vt(t)}function bt(){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_),ze(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_=bt(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=vt(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=vt(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&&vt(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||vt(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 Te(e,t||this.contentEl())},e.prototype.$$=function(e,t){return Oe(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){de(this.el_,e)},e.prototype.toggleClass=function(e,t){fe(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 me(this.el_,e)},e.prototype.setAttribute=function(e,t){ve(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"+vt(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"+vt(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=vt(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 kt(e,t){return Array.isArray(e)?xt(e):void 0===e||void 0===t?xt():xt([[e,t]])}function Ct(e,t){var n=0,i=void 0,r=void 0;if(!t)return 0;e&&e.length||(e=kt(0,0));for(var o=0;ot&&(r=t),n+=r-i;return n/t}yt.prototype.supportsRaf_="function"===typeof r.requestAnimationFrame&&"function"===typeof r.cancelAnimationFrame,yt.registerComponent("Component",yt);for(var At={},St=[["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"]],jt=St[0],Et=void 0,Tt=0;Tt0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;N(this,t);var a=B(this,e.call(this));if(!r&&(r=a,j))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]:[];N(this,t);for(var a=void 0,s=r.length-1;s>=0;s--)if(r[s].enabled){Wt(r,r[s]);break}if(j){for(var l in a=o.createElement("custom"),Vt.prototype)"constructor"!==l&&(a[l]=Vt.prototype[l]);for(var c in t.prototype)"constructor"!==c&&(a[c]=t.prototype[c])}return n=B(this,e.call(this,r,a)),a=n,a.changing_=!1,i=a,B(n,i)}return F(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}(Vt),Ut=function(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];N(this,t);for(var a=void 0,s=r.length-1;s>=0;s--)if(r[s].selected){Ut(r,r[s]);break}if(j){for(var l in a=o.createElement("custom"),Vt.prototype)"constructor"!==l&&(a[l]=Vt.prototype[l]);for(var c in t.prototype)"constructor"!==c&&(a[c]=t.prototype[c])}return n=B(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]:[];N(this,t);var a=void 0;if(j){for(var s in a=o.createElement("custom"),Vt.prototype)"constructor"!==s&&(a[s]=Vt.prototype[s]);for(var l in t.prototype)"constructor"!==l&&(a[l]=t.prototype[l])}return n=B(this,e.call(this,r,a)),a=n,i=a,B(n,i)}return F(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}(Vt),Kt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];N(this,e);var n=this;if(j)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]:{};N(this,t);var r=B(this,e.call(this)),a=r;if(j)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,B(r,n)}return F(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(N(this,t),!r.tech)throw new Error("A tech was not provided.");var o=bt(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=B(this,e.call(this,o)),n);if(l.tech_=o.tech,j)for(var c in t.prototype)"constructor"!==c&&(l[c]=t.prototype[c]);l.cues_=[],l.activeCues_=[];var u=new Qt(l.cues_),d=new Qt(l.activeCues_),f=!1,h=tt(l,(function(){this.activeCues=this.activeCues,f&&(this.trigger("cuechange"),f=!1)}));return"disabled"!==a&&l.tech_.ready((function(){l.tech_.on("timeupdate",h)}),!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",h)}),!0):this.tech_.off("timeupdate",h),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 d;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(f=!1,t.length!==this.activeCues_.length)f=!0;else for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:{};N(this,t);var o=bt(r,{kind:Jt[r.kind]||""}),a=(n=B(this,e.call(this,o)),n),s=!1;if(j)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,B(n,i)}return F(t,e),t}(tn),fn=function(e){function t(){var n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};N(this,t);var o=bt(r,{kind:Xt[r.kind]||""}),a=(n=B(this,e.call(this,o)),n),s=!1;if(j)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,B(n,i)}return F(t,e),t}(tn),hn=0,pn=1,mn=2,vn=3,gn=function(e){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};N(this,t);var i=B(this,e.call(this)),r=void 0,a=i;if(j)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=hn,c.addEventListener("loadeddata",(function(){r=mn,a.trigger({type:"load",target:a})})),j?(l=a,B(i,l)):i}return F(t,e),t}(rt);gn.prototype.allowedEvents_={load:"load"},gn.NONE=hn,gn.LOADING=pn,gn.LOADED=mn,gn.ERROR=vn;var bn={audio:{ListClass:Yt,TrackClass:dn,capitalName:"Audio"},video:{ListClass:qt,TrackClass:fn,capitalName:"Video"},text:{ListClass:Gt,TrackClass:un,capitalName:"Text"}};Object.keys(bn).forEach((function(e){bn[e].getterName=e+"Tracks",bn[e].privateName=e+"Tracks_"}));var yn={remoteText:{ListClass:Gt,TrackClass:un,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Kt,TrackClass:gn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},_n=bt(bn,yn);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}yn.names=Object.keys(yn),bn.names=Object.keys(bn),_n.names=[].concat(yn.names).concat(bn.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(){};N(this,t),n.reportTouchActivity=!1;var r=B(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 F(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 kt(0,0)},t.prototype.bufferedPercent=function(){return Ct(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(bn.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 Dt(e),this.trigger("error")),this.error_},t.prototype.played=function(){return this.hasStarted_?kt(0,0):kt()},t.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},t.prototype.initTrackListeners=function(){var e=this;bn.names.forEach((function(t){var n=bn[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"]&&Y(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=vt(e),t.techs_[e]=n,"Tech"!==e&&t.defaultTechOrder_.push(e),n},t.getTech=function(e){if(e)return e=vt(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}(yt);_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"+vt(n),o=e.reduce(Nn(r),i),a=o===An,s=a?null:t[n](o);return Fn(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 Nn(e){return function(t,n){return t===An?An:n[e]?n[e](t):t}}function Fn(e,t,n,i){for(var r=e.length-1;r>=0;r--){var o=e[r];o[t]&&o[t](i,n)}}function Bn(e){Cn[e.id()]=null}function zn(e,t){var n=Cn[e.id()],i=null;if(void 0===n||null===n)return i=t(e),Cn[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)Ln(e,kn[a],n,i,r,o);else if(a){var l=zn(i,a);if(!l.setSource)return r.push(l),Ln(e,s,n,i,r,o);l.setSource(H({},e),(function(t,a){if(t)return Ln(e,s,n,i,r,o);r.push(l),Ln(a,e.type===a.type?s:kn[a.type],n,i,r,o)}))}else s.length?Ln(e,s,n,i,r,o):o?n(e,r):Ln(e,kn["*"],n,i,r,!0)}var Rn={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"},$n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=on(e),n=Rn[t.toLowerCase()];return n||""},Vn=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){Ye(o,"keydown",tt(this,this.handleKeyPress))},t}(yt);yt.registerComponent("ClickableComponent",Un);var qn=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.update(),n.on("posterchange",tt(r,r.update)),r}return F(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}(Un);yt.registerComponent("PosterImage",qn);var Gn="#222",Kn="#ccc",Qn={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 Jn(e,t,n){try{e.style[t]=n}catch(i){return}}var Zn=function(e){function t(n,i,o){N(this,t);var a=B(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=yt.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."),yt.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}(Un);yt.registerComponent("Button",ti);var ni=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.mouseused_=!1,r.on("mousedown",r.handleMouseDown),r}return F(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",yt.registerComponent("BigPlayButton",ni);var ii=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.controlText(i&&i.controlText||r.localize("Close")),r}return F(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);yt.registerComponent("CloseButton",ii);var ri=function(e){function t(n,i){N(this,t);var r=B(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 F(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",yt.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){N(this,t);var r=B(this,e.call(this,n,i));return r.throttledUpdateContent=nt(tt(r,r.updateContent),25),r.on(n,"timeupdate",r.throttledUpdateContent),r}return F(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}(yt);ui.prototype.labelText_="Time",ui.prototype.controlText_="Time",yt.registerComponent("TimeDisplay",ui);var di=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.on(n,"ended",r.handleEnded),r}return F(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);di.prototype.labelText_="Current Time",di.prototype.controlText_="Current Time",yt.registerComponent("CurrentTimeDisplay",di);var fi=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.on(n,"durationchange",r.updateContent),r.on(n,"loadedmetadata",r.throttledUpdateContent),r}return F(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);fi.prototype.labelText_="Duration",fi.prototype.controlText_="Duration",yt.registerComponent("DurationDisplay",fi);var hi=function(e){function t(){return N(this,t),B(this,e.apply(this,arguments))}return F(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"
/
"})},t}(yt);yt.registerComponent("TimeDivider",hi);var pi=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.on(n,"durationchange",r.throttledUpdateContent),r.on(n,"ended",r.handleEnded),r}return F(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",yt.registerComponent("RemainingTimeDisplay",pi);var mi=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.updateShowing(),r.on(r.player(),"durationchange",r.updateShowing),r}return F(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}(yt);yt.registerComponent("LiveDisplay",mi);var vi=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.bar=r.getChild(r.options_.barName),r.vertical(!!r.options_.vertical),r.enable(),r}return F(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||A||e.preventDefault(),be(),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;ye(),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}(yt);yt.registerComponent("Slider",vi);var gi=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.partEls_=[],r.on(n,"progress",r.update),r}return F(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}(yt);yt.registerComponent("LoadProgressBar",gi);var bi=function(e){function t(){return N(this,t),B(this,e.apply(this,arguments))}return F(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}(yt);yt.registerComponent("TimeTooltip",bi);var yi=function(e){function t(){return N(this,t),B(this,e.apply(this,arguments))}return F(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}(yt);yi.prototype.options_={children:[]},E&&!(E>8)||g||y||yi.prototype.options_.children.push("timeTooltip"),yt.registerComponent("PlayProgressBar",yi);var _i=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.update=nt(tt(r,r.update),25),r}return F(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}(yt);_i.prototype.options_={children:["timeTooltip"]},yt.registerComponent("MouseTimeDisplay",_i);var wi=5,xi=30,ki=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.setEventHandlers_(),r}return F(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){Ee(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(Ee(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}(vi);ki.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},E&&!(E>8)||g||y||ki.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),ki.prototype.playerEvent="timeupdate",yt.registerComponent("SeekBar",ki);var Ci=function(e){function t(n,i){N(this,t);var r=B(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 F(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}(yt);Ci.prototype.options_={children:["seekBar"]},yt.registerComponent("ProgressControl",Ci);var Ai=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return r.on(n,"fullscreenchange",r.handleFullscreenChange),!1===o[At.fullscreenEnabled]&&r.disable(),r}return F(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);Ai.prototype.controlText_="Fullscreen",yt.registerComponent("FullscreenToggle",Ai);var Si=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")}))},ji=function(e){function t(){return N(this,t),B(this,e.apply(this,arguments))}return F(t,e),t.prototype.createEl=function(){return e.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:''})},t}(yt);yt.registerComponent("VolumeLevel",ji);var Ei=function(e){function t(n,i){N(this,t);var r=B(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 F(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){Ee(t)&&e.prototype.handleMouseDown.call(this,t)},t.prototype.handleMouseMove=function(e){Ee(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}(vi);Ei.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},Ei.prototype.playerEvent="volumechange",yt.registerComponent("VolumeBar",Ei);var Ti=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(this,t),i.vertical=i.vertical||!1,("undefined"===typeof i.volumeBar||Y(i.volumeBar))&&(i.volumeBar=i.volumeBar||{},i.volumeBar.vertical=i.vertical);var r=B(this,e.call(this,n,i));return Si(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 F(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}(yt);Ti.prototype.options_={children:["volumeBar"]},yt.registerComponent("VolumeControl",Ti);var Oi=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")}))},Di=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return Oi(r,n),r.on(n,["loadstart","volumechange"],r.update),r}return F(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++)de(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);Di.prototype.controlText_="Mute",yt.registerComponent("MuteToggle",Di);var Ii=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(this,t),"undefined"!==typeof i.inline?i.inline=i.inline:i.inline=!0,("undefined"===typeof i.volumeControl||Y(i.volumeControl))&&(i.volumeControl=i.volumeControl||{},i.volumeControl.vertical=!i.inline);var r=B(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 F(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}(yt);Ii.prototype.options_={children:["muteToggle","volumeControl"]},yt.registerComponent("VolumePanel",Ii);var Mi=function(e){function t(n,i){N(this,t);var r=B(this,e.call(this,n,i));return i&&(r.menuButton_=i.menuButton),r.focusedChild_=-1,r.on("keydown",r.handleKeyPress),r}return F(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}(yt);yt.registerComponent("Menu",Mi);var Pi=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};N(this,t);var r=B(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 F(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:vt(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(){Ye(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}(yt);yt.registerComponent("MenuButton",Pi);var Ni=function(e){function t(n,i){N(this,t);var r=i.tracks,o=B(this,e.call(this,n,i));if(o.items.length<=1&&o.hide(),!r)return B(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 F(t,e),t}(Pi);yt.registerComponent("TrackButton",Ni);var Fi=function(e){function t(n,i){N(this,t);var r=B(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 F(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}(Un);yt.registerComponent("MenuItem",Fi);var Bi=function(e){function t(n,i){N(this,t);var a=i.track,s=n.textTracks();i.label=a.label||a.language||"Unknown",i.selected="showing"===a.mode;var l=B(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}(Fi);yt.registerComponent("TextTrackMenuItem",Bi);var zi=function(e){function t(n,i){return N(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,B(this,e.call(this,n,i))}return F(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}(Bi);yt.registerComponent("OffTextTrackMenuItem",zi);var Li=function(e){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return N(this,t),i.tracks=n.textTracks(),B(this,e.call(this,n,i))}return F(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]:Bi,n=void 0;this.label_&&(n=this.label_+" off"),e.push(new zi(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}(Ni);yt.registerComponent("TextTrackButton",Li);var Ri=function(e){function t(n,i){N(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(vt(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