PageSourceSearch

https://www.qab.co.jp/videojs8/plugins/videojs-chromecast.min.js

js qab.co.jp collected 2026-09-24 09:34:36 UTC 126,357 bytes, 1 lines download raw bytes

1videojs=videojs||window.videojs,videojs.options.techOrder=["chromecast","html5"],function(){return function e(t,n,r){function o(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(i)return i(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){return o(t[s][1][e]||e)},u,u.exports,e,t,n,r)}return n[s].exports}for(var i="function"==typeof require&&require,s=0;s<r.length;s++)o(r[s]);return o}}()({1:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},{}],2:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},{"../internals/is-object":44}],3:[function(e,t,n){var r=e("../internals/well-known-symbol"),o=e("../internals/object-create"),i=e("../internals/object-define-property"),s=r("unscopables"),a=Array.prototype;null==a[s]&&i.f(a,s,{configurable:!0,value:o(null)}),t.exports=function(e){a[s][e]=!0}},{"../internals/object-create":51,"../internals/object-define-property":53,"../internals/well-known-symbol":85}],4:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},{"../internals/is-object":44}],5:[function(e,t,n){var r=e("../internals/to-indexed-object"),o=e("../internals/to-length"),i=e("../internals/to-absolute-index"),s=function(e){return function(t,n,s){var a,l=r(t),c=o(l.length),u=i(s,c);if(e&&n!=n){for(;c>u;)if((a=l[u++])!=a)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},{"../internals/to-absolute-index":75,"../internals/to-indexed-object":76,"../internals/to-length":78}],6:[function(e,t,n){var r=e("../internals/function-bind-context"),o=e("../internals/indexed-object"),i=e("../internals/to-object"),s=e("../internals/to-length"),a=e("../internals/array-species-create"),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,p=7==e,f=5==e||d;return function(h,m,v,y){for(var b,g,_=i(h),w=o(_),j=r(m,v,3),C=s(w.length),S=0,k=y||a,E=t?k(h,C):n||p?k(h,0):void 0;C>S;S++)if((f||S in w)&&(g=j(b=w[S],S,_),e))if(t)E[S]=g;else if(g)switch(e){case 3:return!0;case 5:return b;case 6:return S;case 2:l.call(E,b)}else switch(e){case 4:return!1;case 7:l.call(E,b)}return d?-1:c||u?u:E}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},{"../internals/array-species-create":9,"../internals/function-bind-context":30,"../internals/indexed-object":38,"../internals/to-length":78,"../internals/to-object":79}],7:[function(e,t,n){var r=e("../internals/fails"),o=e("../internals/well-known-symbol"),i=e("../internals/engine-v8-version"),s=o("species");t.exports=function(e){return i>=51||!r(function(){var t=[];return(t.constructor={})[s]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},{"../internals/engine-v8-version":26,"../internals/fails":29,"../internals/well-known-symbol":85}],8:[function(e,t,n){"use strict";var r=e("../internals/fails");t.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},{"../internals/fails":29}],9:[function(e,t,n){var r=e("../internals/is-object"),o=e("../internals/is-array"),i=e("../internals/well-known-symbol")("species");t.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},{"../internals/is-array":42,"../internals/is-object":44,"../internals/well-known-symbol":85}],10:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],11:[function(e,t,n){var r=e("../internals/to-string-tag-support"),o=e("../internals/classof-raw"),i=e("../internals/well-known-symbol")("toStringTag"),s="Arguments"==o(function(){return arguments}());t.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:s?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},{"../internals/classof-raw":10,"../internals/to-string-tag-support":81,"../internals/well-known-symbol":85}],12:[function(e,t,n){var r=e("../internals/has"),o=e("../internals/own-keys"),i=e("../internals/object-get-own-property-descriptor"),s=e("../internals/object-define-property");t.exports=function(e,t){for(var n=o(t),a=s.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||a(e,u,l(t,u))}}},{"../internals/has":34,"../internals/object-define-property":53,"../internals/object-get-own-property-descriptor":54,"../internals/own-keys":64}],13:[function(e,t,n){var r=e("../internals/fails");t.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},{"../internals/fails":29}],14:[function(e,t,n){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,o=e("../internals/object-create"),i=e("../internals/create-property-descriptor"),s=e("../internals/set-to-string-tag"),a=e("../internals/iterators"),l=function(){return this};t.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),s(e,c,!1,!0),a[c]=l,e}},{"../internals/create-property-descriptor":16,"../internals/iterators":47,"../internals/iterators-core":46,"../internals/object-create":51,"../internals/set-to-string-tag":69}],15:[function(e,t,n){var r=e("../internals/descriptors"),o=e("../internals/object-define-property"),i=e("../internals/create-property-descriptor");t.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},{"../internals/create-property-descriptor":16,"../internals/descriptors":21,"../internals/object-define-property":53}],16:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],17:[function(e,t,n){"use strict";var r=e("../internals/to-primitive"),o=e("../internals/object-define-property"),i=e("../internals/create-property-descriptor");t.exports=function(e,t,n){var s=r(t);s in e?o.f(e,s,i(0,n)):e[s]=n}},{"../internals/create-property-descriptor":16,"../internals/object-define-property":53,"../internals/to-primitive":80}],18:[function(e,t,n){"use strict";var r=e("../internals/an-object"),o=e("../internals/to-primitive");t.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},{"../internals/an-object":4,"../internals/to-primitive":80}],19:[function(e,t,n){"use strict";var r=e("../internals/export"),o=e("../internals/create-iterator-constructor"),i=e("../internals/object-get-prototype-of"),s=e("../internals/object-set-prototype-of"),a=e("../internals/set-to-string-tag"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/redefine"),u=e("../internals/well-known-symbol"),d=e("../internals/is-pure"),p=e("../internals/iterators"),f=e("../internals/iterators-core"),h=f.IteratorPrototype,m=f.BUGGY_SAFARI_ITERATORS,v=u("iterator"),y=function(){return this};t.exports=function(e,t,n,u,f,b,g){o(n,t,u);var _,w,j,C=function(e){if(e===f&&x)return x;if(!m&&e in E)return E[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",k=!1,E=e.prototype,T=E[v]||E["@@iterator"]||f&&E[f],x=!m&&T||C(f),O="Array"==t&&E.entries||T;if(O&&(_=i(O.call(new e)),h!==Object.prototype&&_.next&&(d||i(_)===h||(s?s(_,h):"function"!=typeof _[v]&&l(_,v,y)),a(_,S,!0,!0),d&&(p[S]=y))),"values"==f&&T&&"values"!==T.name&&(k=!0,x=function(){return T.call(this)}),d&&!g||E[v]===x||l(E,v,x),p[t]=x,f)if(w={values:C("values"),keys:b?x:C("keys"),entries:C("entries")},g)for(j in w)!m&&!k&&j in E||c(E,j,w[j]);else r({target:t,proto:!0,forced:m||k},w);return w}},{"../internals/create-iterator-constructor":14,"../internals/create-non-enumerable-property":15,"../internals/export":28,"../internals/is-pure":45,"../internals/iterators":47,"../internals/iterators-core":46,"../internals/object-get-prototype-of":58,"../internals/object-set-prototype-of":62,"../internals/redefine":66,"../internals/set-to-string-tag":69,"../internals/well-known-symbol":85}],20:[function(e,t,n){var r=e("../internals/path"),o=e("../internals/has"),i=e("../internals/well-known-symbol-wrapped"),s=e("../internals/object-define-property").f;
1t.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||s(t,e,{value:i.f(e)})}},{"../internals/has":34,"../internals/object-define-property":53,"../internals/path":65,"../internals/well-known-symbol-wrapped":84}],21:[function(e,t,n){var r=e("../internals/fails");t.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},{"../internals/fails":29}],22:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/is-object"),i=r.document,s=o(i)&&o(i.createElement);t.exports=function(e){return s?i.createElement(e):{}}},{"../internals/global":33,"../internals/is-object":44}],23:[function(e,t,n){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},{}],24:[function(e,t,n){var r=e("../internals/classof-raw"),o=e("../internals/global");t.exports="process"==r(o.process)},{"../internals/classof-raw":10,"../internals/global":33}],25:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},{"../internals/get-built-in":32}],26:[function(e,t,n){var r,o,i=e("../internals/global"),s=e("../internals/engine-user-agent"),a=i.process,l=a&&a.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},{"../internals/engine-user-agent":25,"../internals/global":33}],27:[function(e,t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],28:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/object-get-own-property-descriptor").f,i=e("../internals/create-non-enumerable-property"),s=e("../internals/redefine"),a=e("../internals/set-global"),l=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(e,t){var n,u,d,p,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||a(h,{}):(r[h]||{}).prototype)for(u in t){if(p=t[u],d=e.noTargetGet?(f=o(n,u))&&f.value:n[u],!c(m?u:h+(v?".":"#")+u,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;l(p,d)}(e.sham||d&&d.sham)&&i(p,"sham",!0),s(n,u,p,e)}}},{"../internals/copy-constructor-properties":12,"../internals/create-non-enumerable-property":15,"../internals/global":33,"../internals/is-forced":43,"../internals/object-get-own-property-descriptor":54,"../internals/redefine":66,"../internals/set-global":68}],29:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],30:[function(e,t,n){var r=e("../internals/a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},{"../internals/a-function":1}],31:[function(e,t,n){"use strict";var r=e("../internals/a-function"),o=e("../internals/is-object"),i=[].slice,s={};t.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("C,a","return new C("+r.join(",")+")")}return s[t](e,n)}(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},{"../internals/a-function":1,"../internals/is-object":44}],32:[function(e,t,n){var r=e("../internals/path"),o=e("../internals/global"),i=function(e){return"function"==typeof e?e:void 0};t.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},{"../internals/global":33,"../internals/path":65}],33:[function(e,t,n){(function(e){(function(){var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],34:[function(e,t,n){var r=e("../internals/to-object"),o={}.hasOwnProperty;t.exports=function(e,t){return o.call(r(e),t)}},{"../internals/to-object":79}],35:[function(e,t,n){t.exports={}},{}],36:[function(e,t,n){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},{"../internals/get-built-in":32}],37:[function(e,t,n){var r=e("../internals/descriptors"),o=e("../internals/fails"),i=e("../internals/document-create-element");t.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},{"../internals/descriptors":21,"../internals/document-create-element":22,"../internals/fails":29}],38:[function(e,t,n){var r=e("../internals/fails"),o=e("../internals/classof-raw"),i="".split;t.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},{"../internals/classof-raw":10,"../internals/fails":29}],39:[function(e,t,n){var r=e("../internals/is-object"),o=e("../internals/object-set-prototype-of");t.exports=function(e,t,n){var i,s;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(s=i.prototype)&&s!==n.prototype&&o(e,s),e}},{"../internals/is-object":44,"../internals/object-set-prototype-of":62}],40:[function(e,t,n){var r=e("../internals/shared-store"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),t.exports=r.inspectSource},{"../internals/shared-store":71}],41:[function(e,t,n){var r,o,i,s=e("../internals/native-weak-map"),a=e("../internals/global"),l=e("../internals/is-object"),c=e("../internals/create-non-enumerable-property"),u=e("../internals/has"),d=e("../internals/shared-store"),p=e("../internals/shared-key"),f=e("../internals/hidden-keys"),h=a.WeakMap;if(s){var m=d.state||(d.state=new h),v=m.get,y=m.has,b=m.set;r=function(e,t){if(y.call(m,e))throw new TypeError("Object already initialized");return t.facade=e,b.call(m,e,t),t},o=function(e){return v.call(m,e)||{}}
1,i=function(e){return y.call(m,e)}}else{var g=p("state");f[g]=!0,r=function(e,t){if(u(e,g))throw new TypeError("Object already initialized");return t.facade=e,c(e,g,t),t},o=function(e){return u(e,g)?e[g]:{}},i=function(e){return u(e,g)}}t.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},{"../internals/create-non-enumerable-property":15,"../internals/global":33,"../internals/has":34,"../internals/hidden-keys":35,"../internals/is-object":44,"../internals/native-weak-map":49,"../internals/shared-key":70,"../internals/shared-store":71}],42:[function(e,t,n){var r=e("../internals/classof-raw");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"../internals/classof-raw":10}],43:[function(e,t,n){var r=e("../internals/fails"),o=/#|\.prototype\./,i=function(e,t){var n=a[s(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},s=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},a=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},{"../internals/fails":29}],44:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],45:[function(e,t,n){t.exports=!1},{}],46:[function(e,t,n){"use strict";var r,o,i,s=e("../internals/fails"),a=e("../internals/object-get-prototype-of"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/has"),u=e("../internals/well-known-symbol"),d=e("../internals/is-pure"),p=u("iterator"),f=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):f=!0);var h=null==r||s(function(){var e={};return r[p].call(e)!==e});h&&(r={}),d&&!h||c(r,p)||l(r,p,function(){return this}),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:f}},{"../internals/create-non-enumerable-property":15,"../internals/fails":29,"../internals/has":34,"../internals/is-pure":45,"../internals/object-get-prototype-of":58,"../internals/well-known-symbol":85}],47:[function(e,t,n){arguments[4][35][0].apply(n,arguments)},{dup:35}],48:[function(e,t,n){var r=e("../internals/engine-is-node"),o=e("../internals/engine-v8-version"),i=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)})},{"../internals/engine-is-node":24,"../internals/engine-v8-version":26,"../internals/fails":29}],49:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/inspect-source"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},{"../internals/global":33,"../internals/inspect-source":40}],50:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),o=e("../internals/fails"),i=e("../internals/object-keys"),s=e("../internals/object-get-own-property-symbols"),a=e("../internals/object-property-is-enumerable"),l=e("../internals/to-object"),c=e("../internals/indexed-object"),u=Object.assign,d=Object.defineProperty;t.exports=!u||o(function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||"abcdefghijklmnopqrst"!=i(u({},t)).join("")})?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=s.f,p=a.f;o>u;)for(var f,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),v=m.length,y=0;v>y;)f=m[y++],r&&!p.call(h,f)||(n[f]=h[f]);return n}:u},{"../internals/descriptors":21,"../internals/fails":29,"../internals/indexed-object":38,"../internals/object-get-own-property-symbols":57,"../internals/object-keys":60,"../internals/object-property-is-enumerable":61,"../internals/to-object":79}],51:[function(e,t,n){var r,o=e("../internals/an-object"),i=e("../internals/object-define-properties"),s=e("../internals/enum-bug-keys"),a=e("../internals/hidden-keys"),l=e("../internals/html"),c=e("../internals/document-create-element"),u=e("../internals/shared-key"),d=u("IE_PROTO"),p=function(){},f=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var n=s.length;n--;)delete h.prototype[s[n]];return h()};
1a[d]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(p.prototype=o(e),n=new p,p.prototype=null,n[d]=e):n=h(),void 0===t?n:i(n,t)}},{"../internals/an-object":4,"../internals/document-create-element":22,"../internals/enum-bug-keys":27,"../internals/hidden-keys":35,"../internals/html":36,"../internals/object-define-properties":52,"../internals/shared-key":70}],52:[function(e,t,n){var r=e("../internals/descriptors"),o=e("../internals/object-define-property"),i=e("../internals/an-object"),s=e("../internals/object-keys");t.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=s(t),a=r.length,l=0;a>l;)o.f(e,n=r[l++],t[n]);return e}},{"../internals/an-object":4,"../internals/descriptors":21,"../internals/object-define-property":53,"../internals/object-keys":60}],53:[function(e,t,n){var r=e("../internals/descriptors"),o=e("../internals/ie8-dom-define"),i=e("../internals/an-object"),s=e("../internals/to-primitive"),a=Object.defineProperty;n.f=r?a:function(e,t,n){if(i(e),t=s(t,!0),i(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},{"../internals/an-object":4,"../internals/descriptors":21,"../internals/ie8-dom-define":37,"../internals/to-primitive":80}],54:[function(e,t,n){var r=e("../internals/descriptors"),o=e("../internals/object-property-is-enumerable"),i=e("../internals/create-property-descriptor"),s=e("../internals/to-indexed-object"),a=e("../internals/to-primitive"),l=e("../internals/has"),c=e("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(e,t){if(e=s(e),t=a(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},{"../internals/create-property-descriptor":16,"../internals/descriptors":21,"../internals/has":34,"../internals/ie8-dom-define":37,"../internals/object-property-is-enumerable":61,"../internals/to-indexed-object":76,"../internals/to-primitive":80}],55:[function(e,t,n){var r=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-names").f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return s.slice()}}(e):o(r(e))}},{"../internals/object-get-own-property-names":56,"../internals/to-indexed-object":76}],56:[function(e,t,n){var r=e("../internals/object-keys-internal"),o=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},{"../internals/enum-bug-keys":27,"../internals/object-keys-internal":59}],57:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],58:[function(e,t,n){var r=e("../internals/has"),o=e("../internals/to-object"),i=e("../internals/shared-key"),s=e("../internals/correct-prototype-getter"),a=i("IE_PROTO"),l=Object.prototype;t.exports=s?Object.getPrototypeOf:function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},{"../internals/correct-prototype-getter":13,"../internals/has":34,"../internals/shared-key":70,"../internals/to-object":79}],59:[function(e,t,n){var r=e("../internals/has"),o=e("../internals/to-indexed-object"),i=e("../internals/array-includes").indexOf,s=e("../internals/hidden-keys");t.exports=function(e,t){var n,a=o(e),l=0,c=[];for(n in a)!r(s,n)&&r(a,n)&&c.push(n);for(;t.length>l;)r(a,n=t[l++])&&(~i(c,n)||c.push(n));return c}},{"../internals/array-includes":5,"../internals/has":34,"../internals/hidden-keys":35,"../internals/to-indexed-object":76}],60:[function(e,t,n){var r=e("../internals/object-keys-internal"),o=e("../internals/enum-bug-keys");t.exports=Object.keys||function(e){return r(e,o)}},{"../internals/enum-bug-keys":27,"../internals/object-keys-internal":59}],61:[function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},{}],62:[function(e,t,n){var r=e("../internals/an-object"),o=e("../internals/a-possible-prototype");
1t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},{"../internals/a-possible-prototype":2,"../internals/an-object":4}],63:[function(e,t,n){"use strict";var r=e("../internals/to-string-tag-support"),o=e("../internals/classof");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},{"../internals/classof":11,"../internals/to-string-tag-support":81}],64:[function(e,t,n){var r=e("../internals/get-built-in"),o=e("../internals/object-get-own-property-names"),i=e("../internals/object-get-own-property-symbols"),s=e("../internals/an-object");t.exports=r("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=i.f;return n?t.concat(n(e)):t}},{"../internals/an-object":4,"../internals/get-built-in":32,"../internals/object-get-own-property-names":56,"../internals/object-get-own-property-symbols":57}],65:[function(e,t,n){var r=e("../internals/global");t.exports=r},{"../internals/global":33}],66:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/create-non-enumerable-property"),i=e("../internals/has"),s=e("../internals/set-global"),a=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.get,u=l.enforce,d=String(String).split("String");(t.exports=function(e,t,n,a){var l,c=!!a&&!!a.unsafe,p=!!a&&!!a.enumerable,f=!!a&&!!a.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!f&&e[t]&&(p=!0):delete e[t],p?e[t]=n:o(e,t,n)):p?e[t]=n:s(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&c(this).source||a(this)})},{"../internals/create-non-enumerable-property":15,"../internals/global":33,"../internals/has":34,"../internals/inspect-source":40,"../internals/internal-state":41,"../internals/set-global":68}],67:[function(e,t,n){t.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},{}],68:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/create-non-enumerable-property");t.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},{"../internals/create-non-enumerable-property":15,"../internals/global":33}],69:[function(e,t,n){var r=e("../internals/object-define-property").f,o=e("../internals/has"),i=e("../internals/well-known-symbol")("toStringTag");t.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},{"../internals/has":34,"../internals/object-define-property":53,"../internals/well-known-symbol":85}],70:[function(e,t,n){var r=e("../internals/shared"),o=e("../internals/uid"),i=r("keys");t.exports=function(e){return i[e]||(i[e]=o(e))}},{"../internals/shared":72,"../internals/uid":82}],71:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/set-global"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},{"../internals/global":33,"../internals/set-global":68}],72:[function(e,t,n){var r=e("../internals/is-pure"),o=e("../internals/shared-store");(t.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.11.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},{"../internals/is-pure":45,"../internals/shared-store":71}],73:[function(e,t,n){var r=e("../internals/to-integer"),o=e("../internals/require-object-coercible"),i=function(e){return function(t,n){var i,s,a=String(o(t)),l=r(n),c=a.length;return l<0||l>=c?e?"":void 0:(i=a.charCodeAt(l))<55296||i>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?e?a.charAt(l):i:e?a.slice(l,l+2):s-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},{"../internals/require-object-coercible":67,"../internals/to-integer":77}],74:[function(e,t,n){var r=e("../internals/require-object-coercible"),o="["+e("../internals/whitespace
1s")+"]",i=RegExp("^"+o+o+"*"),s=RegExp(o+o+"*$"),a=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(s,"")),n}};t.exports={start:a(1),end:a(2),trim:a(3)}},{"../internals/require-object-coercible":67,"../internals/whitespaces":86}],75:[function(e,t,n){var r=e("../internals/to-integer"),o=Math.max,i=Math.min;t.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},{"../internals/to-integer":77}],76:[function(e,t,n){var r=e("../internals/indexed-object"),o=e("../internals/require-object-coercible");t.exports=function(e){return r(o(e))}},{"../internals/indexed-object":38,"../internals/require-object-coercible":67}],77:[function(e,t,n){var r=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},{}],78:[function(e,t,n){var r=e("../internals/to-integer"),o=Math.min;t.exports=function(e){return e>0?o(r(e),9007199254740991):0}},{"../internals/to-integer":77}],79:[function(e,t,n){var r=e("../internals/require-object-coercible");t.exports=function(e){return Object(r(e))}},{"../internals/require-object-coercible":67}],80:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},{"../internals/is-object":44}],81:[function(e,t,n){var r={};r[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(r)},{"../internals/well-known-symbol":85}],82:[function(e,t,n){var r=0,o=Math.random();t.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+o).toString(36)}},{}],83:[function(e,t,n){var r=e("../internals/native-symbol");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},{"../internals/native-symbol":48}],84:[function(e,t,n){var r=e("../internals/well-known-symbol");n.f=r},{"../internals/well-known-symbol":85}],85:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/shared"),i=e("../internals/has"),s=e("../internals/uid"),a=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||s;t.exports=function(e){return i(c,e)&&(a||"string"==typeof c[e])||(a&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},{"../internals/global":33,"../internals/has":34,"../internals/native-symbol":48,"../internals/shared":72,"../internals/uid":82,"../internals/use-symbol-as-uid":83}],86:[function(e,t,n){t.exports="\t\n\v\f\r  ?            ? \u2028\u2029\ufeff"},{}],87:[function(e,t,n){"use strict";var r=e("../internals/export"),o=e("../internals/array-includes").indexOf,i=e("../internals/array-method-is-strict"),s=[].indexOf,a=!!s&&1/[1].indexOf(1,-0)<0,l=i("indexOf");r({target:"Array",proto:!0,forced:a||!l},{indexOf:function(e){return a?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-includes":5,"../internals/array-method-is-strict":8,"../internals/export":28}],88:[function(e,t,n){"use strict";var r=e("../internals/to-indexed-object"),o=e("../internals/add-to-unscopables"),i=e("../internals/iterators"),s=e("../internals/internal-state"),a=e("../internals/define-iterator"),l=s.set,c=s.getterFor("Array Iterator");t.exports=a(Array,"Array",function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=c(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},{"../internals/add-to-unscopables":3,"../internals/define-iterator":19,"../internals/internal-state":41,"../internals/iterators":47,"../internals/to-indexed-object":76}],89:[function(e,t,n){"use strict";var r=e("../internals/export"),o=e("../internals/to-absolute-index"),i=e("../internals/to-integer"),s=e("../internals/to-length"),a=e("../internals/to-object"),l=e("../internals/array-species-create"),c=e("../internals/create-property"),u=e("../internals/array-method-has-s
1pecies-support")("splice"),d=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,r,u,f,h,m,v=a(this),y=s(v.length),b=o(e,y),g=arguments.length;if(0===g?n=r=0:1===g?(n=0,r=y-b):(n=g-2,r=p(d(i(t),0),y-b)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=l(v,r),f=0;f<r;f++)(h=b+f)in v&&c(u,f,v[h]);if(u.length=r,n<r){for(f=b;f<y-r;f++)m=f+n,(h=f+r)in v?v[m]=v[h]:delete v[m];for(f=y;f>y-r+n;f--)delete v[f-1]}else if(n>r)for(f=y-r;f>b;f--)m=f+n-1,(h=f+r-1)in v?v[m]=v[h]:delete v[m];for(f=0;f<n;f++)v[f+b]=arguments[f+2];return v.length=y-r+n,u}})},{"../internals/array-method-has-species-support":7,"../internals/array-species-create":9,"../internals/create-property":17,"../internals/export":28,"../internals/to-absolute-index":75,"../internals/to-integer":77,"../internals/to-length":78,"../internals/to-object":79}],90:[function(e,t,n){var r=e("../internals/create-non-enumerable-property"),o=e("../internals/date-to-primitive"),i=e("../internals/well-known-symbol")("toPrimitive"),s=Date.prototype;i in s||r(s,i,o)},{"../internals/create-non-enumerable-property":15,"../internals/date-to-primitive":18,"../internals/well-known-symbol":85}],91:[function(e,t,n){"use strict";var r=e("../internals/descriptors"),o=e("../internals/global"),i=e("../internals/is-forced"),s=e("../internals/redefine"),a=e("../internals/has"),l=e("../internals/classof-raw"),c=e("../internals/inherit-if-required"),u=e("../internals/to-primitive"),d=e("../internals/fails"),p=e("../internals/object-create"),f=e("../internals/object-get-own-property-names").f,h=e("../internals/object-get-own-property-descriptor").f,m=e("../internals/object-define-property").f,v=e("../internals/string-trim").trim,y=o.Number,b=y.prototype,g="Number"==l(p(b)),_=function(e){var t,n,r,o,i,s,a,l,c=u(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=v(c)).charCodeAt(0))||45===t){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(s=(i=c.slice(2)).length,a=0;a<s;a++)if((l=i.charCodeAt(a))<48||l>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var w,j=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof j&&(g?d(function(){b.valueOf.call(n)}):"Number"!=l(n))?c(new y(_(t)),n,j):_(t)},C=r?f(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),S=0;C.length>S;S++)a(y,w=C[S])&&!a(j,w)&&m(j,w,h(y,w));j.prototype=b,b.constructor=j,s(o,"Number",j)}},{"../internals/classof-raw":10,"../internals/descriptors":21,"../internals/fails":29,"../internals/global":33,"../internals/has":34,"../internals/inherit-if-required":39,"../internals/is-forced":43,"../internals/object-create":51,"../internals/object-define-property":53,"../internals/object-get-own-property-descriptor":54,"../internals/object-get-own-property-names":56,"../internals/redefine":66,"../internals/string-trim":74,"../internals/to-primitive":80}],92:[function(e,t,n){var r=e("../internals/export"),o=e("../internals/object-assign");r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},{"../internals/export":28,"../internals/object-assign":50}],93:[function(e,t,n){var r=e("../internals/export"),o=e("../internals/descriptors");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:e("../internals/object-define-property").f})},{"../internals/descriptors":21,"../internals/export":28,"../internals/object-define-property":53}],94:[function(e,t,n){var r=e("../internals/export"),o=e("../internals/fails"),i=e("../internals/to-object"),s=e("../internals/object-get-prototype-of"),a=e("../internals/correct-prototype-getter");r({target:"Object",stat:!0,forced:o(function(){s(1)}),sham:!a},{getPrototypeOf:function(e){return s(i(e))}})},{"../internals/correct-prototype-getter":13,"../internals/export":28,"../internals/fails":29,"../internals/object-get-prototype-of":58,"../internals/to-object":79}],95:[function(e,t,n){e("../internals/export")({target:"Object",stat:!0},{setPrototypeOf:e("../internals/object-set-prototype-of")})},{"../internals/export":28,"../internals/object-set-prototype-of":62}],96:[function(e,t,n){var r=e("../internals/to-string-tag-support"),o=e("../internals/redefine"),i=e("../internals/object-to-string");r||o(Object.prototype,"toString",i,{unsafe:!0})},{"../internals/object-to-string":63,"../internals/redefine":66,"../internals/to-string-tag-support":81}],97:[function(e,t,n){var r=e("../internals/export"),o=e("../internals/get-built-in"),i=e("../internals/a-function"),s=e("../internals/an-object"),a=e("../internals/is-object"),l=e("../internals/object-create"),c=e("../internals/function-bind"),u=e("../internals/fails"),d=o("Reflect","construct"),p=u(function(){function e(){}return!(d(function(){},[],e)instanceof e)}),f=!u(function(){d(function(){})}),h=p||f;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),s(t);var n=arguments.length<3?e:i(arguments[2]);if(f&&!p)return d(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}
1var r=[null];return r.push.apply(r,t),new(c.apply(e,r))}var o=n.prototype,u=l(a(o)?o:Object.prototype),h=Function.apply.call(e,u,t);return a(h)?h:u}})},{"../internals/a-function":1,"../internals/an-object":4,"../internals/export":28,"../internals/fails":29,"../internals/function-bind":31,"../internals/get-built-in":32,"../internals/is-object":44,"../internals/object-create":51}],98:[function(e,t,n){"use strict";var r=e("../internals/string-multibyte").charAt,o=e("../internals/internal-state"),i=e("../internals/define-iterator"),s=o.set,a=o.getterFor("String Iterator");i(String,"String",function(e){s(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=a(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})})},{"../internals/define-iterator":19,"../internals/internal-state":41,"../internals/string-multibyte":73}],99:[function(e,t,n){"use strict";var r=e("../internals/export"),o=e("../internals/descriptors"),i=e("../internals/global"),s=e("../internals/has"),a=e("../internals/is-object"),l=e("../internals/object-define-property").f,c=e("../internals/copy-constructor-properties"),u=i.Symbol;if(o&&"function"==typeof u&&(!("description"in u.prototype)||void 0!==u().description)){var d={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new u(e):void 0===e?u():u(e);return""===e&&(d[t]=!0),t};c(p,u);var f=p.prototype=u.prototype;f.constructor=p;var h=f.toString,m="Symbol(test)"==String(u("test")),v=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=a(this)?this.valueOf():this,t=h.call(e);if(s(d,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},{"../internals/copy-constructor-properties":12,"../internals/descriptors":21,"../internals/export":28,"../internals/global":33,"../internals/has":34,"../internals/is-object":44,"../internals/object-define-property":53}],100:[function(e,t,n){e("../internals/define-well-known-symbol")("iterator")},{"../internals/define-well-known-symbol":20}],101:[function(e,t,n){"use strict";var r=e("../internals/export"),o=e("../internals/global"),i=e("../internals/get-built-in"),s=e("../internals/is-pure"),a=e("../internals/descriptors"),l=e("../internals/native-symbol"),c=e("../internals/use-symbol-as-uid"),u=e("../internals/fails"),d=e("../internals/has"),p=e("../internals/is-array"),f=e("../internals/is-object"),h=e("../internals/an-object"),m=e("../internals/to-object"),v=e("../internals/to-indexed-object"),y=e("../internals/to-primitive"),b=e("../internals/create-property-descriptor"),g=e("../internals/object-create"),_=e("../internals/object-keys"),w=e("../internals/object-get-own-property-names"),j=e("../internals/object-get-own-property-names-external"),C=e("../internals/object-get-own-property-symbols"),S=e("../internals/object-get-own-property-descriptor"),k=e("../internals/object-define-property"),E=e("../internals/object-property-is-enumerable"),T=e("../internals/create-non-enumerable-property"),x=e("../internals/redefine"),O=e("../internals/shared"),L=e("../internals/shared-key"),P=e("../internals/hidden-keys"),N=e("../internals/uid"),I=e("../internals/well-known-symbol"),M=e("../internals/well-known-symbol-wrapped"),D=e("../internals/define-well-known-symbol"),A=e("../internals/set-to-string-tag"),R=e("../internals/internal-state"),H=e("../internals/array-iteration").forEach,q=L("hidden"),F=I("toPrimitive"),U=R.set,B=R.getterFor("Symbol"),G=Object.prototype,V=o.Symbol,W=i("JSON","stringify"),z=S.f,Y=k.f,K=j.f,$=E.f,J=O("symbols"),X=O("op-symbol
1s"),Z=O("string-to-symbol-registry"),Q=O("symbol-to-string-registry"),ee=O("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=a&&u(function(){return 7!=g(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=z(G,t);r&&delete G[t],Y(e,t,n),r&&e!==G&&Y(G,t,r)}:Y,oe=function(e,t){var n=J[e]=g(V.prototype);return U(n,{type:"Symbol",tag:e,description:t}),a||(n.description=t),n},ie=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},se=function(e,t,n){e===G&&se(X,t,n),h(e);var r=y(t,!0);return h(n),d(J,r)?(n.enumerable?(d(e,q)&&e[q][r]&&(e[q][r]=!1),n=g(n,{enumerable:b(0,!1)})):(d(e,q)||Y(e,q,b(1,{})),e[q][r]=!0),re(e,r,n)):Y(e,r,n)},ae=function(e,t){h(e);var n=v(t),r=_(n).concat(de(n));return H(r,function(t){a&&!le.call(n,t)||se(e,t,n[t])}),e},le=function(e){var t=y(e,!0),n=$.call(this,t);return!(this===G&&d(J,t)&&!d(X,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,q)&&this[q][t])||n)},ce=function(e,t){var n=v(e),r=y(t,!0);if(n!==G||!d(J,r)||d(X,r)){var o=z(n,r);return!o||!d(J,r)||d(n,q)&&n[q][r]||(o.enumerable=!0),o}},ue=function(e){var t=K(v(e)),n=[];return H(t,function(e){d(J,e)||d(P,e)||n.push(e)}),n},de=function(e){var t=e===G,n=K(t?X:v(e)),r=[];return H(n,function(e){!d(J,e)||t&&!d(G,e)||r.push(J[e])}),r};(l||(x((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===G&&n.call(X,e),d(this,q)&&d(this[q],t)&&(this[q][t]=!1),re(this,t,b(1,e))};return a&&ne&&re(G,t,{configurable:!0,set:n}),oe(t,e)}).prototype,"toString",function(){return B(this).tag}),x(V,"withoutSetter",function(e){return oe(N(e),e)}),E.f=le,k.f=se,S.f=ce,w.f=j.f=ue,C.f=de,M.f=function(e){return oe(I(e),e)},a&&(Y(V.prototype,"description",{configurable:!0,get:function(){return B(this).description}}),s||x(G,"propertyIsEnumerable",le,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:V}),H(_(ee),function(e){D(e)}),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(d(Z,t))return Z[t];var n=V(t);return Z[t]=n,Q[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(d(Q,e))return Q[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!a},{create:function(e,t){return void 0===t?g(e):ae(g(e),t)},defineProperty:se,defineProperties:ae,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ue,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:u(function(){C.f(1)})},{getOwnPropertySymbols:function(e){return C.f(m(e))}}),W)&&r({target:"JSON",stat:!0,forced:!l||u(function(){var e=V();return"[null]"!=W([e])||"{}"!=W({a:e})||"{}"!=W(Object(e))})},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(f(t)||void 0!==e)&&!ie(e))return p(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,W.apply(null,o)}});V.prototype[F]||T(V.prototype,F,V.prototype.valueOf),A(V,"Symbol"),P[q]=!0},{"../internals/an-object":4,"../internals/array-iteration":6,"../internals/create-non-enumerable-property":15,"../internals/create-property-descriptor":16,"../internals/define-well-known-symbol":20,"../internals/descriptors":21,"../internals/export":28,"../internals/fails":29,"../internals/get-built-in":32,"../internals/global":33,"../internals/has":34,"../internals/hidden-keys":35,"../internals/internal-state":41,"../internals/is-array":42,"../internals/is-object":44,"../internals/is-pure":45,"../internals/native-symbol":48,"../internals/object-create":51,"../internals/object-define-property":53,"../internals/object-get-own-property-descriptor":54,"../internals/object-get-own-property-names":56,"../internals/object-get-own-property-names-external":55,"../internals/object-get-own-property-symbols":57,"../internals/object-keys":60,"../internals/object-property-is-enumerable":61,"../internals/redefine":66,"../internals/set-to-string-tag":69,"../internals/shared":72,"../internals/shared-key":70,"../internals/to-indexed-object":76,"../internals/to-object":79,"../internals/to-primitive":80,"../internals/uid":82,"../internals/use-symbol-as-uid":83,"../internals/well-known-symbol":85,"../internals/well-known-symbol-wrapped":84}],102:[function(e,t,n){e("../internals/define-well-known-symbol")("toPrimitive")},{"../internals/define-well-known-symbol":20}
1],103:[function(e,t,n){var r=e("../internals/global"),o=e("../internals/dom-iterables"),i=e("../modules/es.array.iterator"),s=e("../internals/create-non-enumerable-property"),a=e("../internals/well-known-symbol"),l=a("iterator"),c=a("toStringTag"),u=i.values;for(var d in o){var p=r[d],f=p&&p.prototype;if(f){if(f[l]!==u)try{s(f,l,u)}catch(e){f[l]=u}if(f[c]||s(f,c,d),o[d])for(var h in i)if(f[h]!==i[h])try{s(f,h,i[h])}catch(e){f[h]=i[h]}}}},{"../internals/create-non-enumerable-property":15,"../internals/dom-iterables":23,"../internals/global":33,"../internals/well-known-symbol":85,"../modules/es.array.iterator":88}],104:[function(e,t,n){var r,o;!function(){window.WebComponents=window.WebComponents||{flags:{}};var e=document.querySelector('script[src*="webcomponents-lite.js"]'),t={};if(!t.noOpts){if(location.search.slice(1).split("&").forEach(function(e){var n,r=e.split("=");r[0]&&(n=r[0].match(/wc-(.+)/))&&(t[n[1]]=r[1]||!0)}),e)for(var n,r=0;n=e.attributes[r];r++)"src"!==n.name&&(t[n.name]=n.value||!0);if(t.log&&t.log.split){var o=t.log.split(",");t.log={},o.forEach(function(e){t.log[e]=!0})}else t.log={}}t.register&&(window.CustomElements=window.CustomElements||{flags:{}},window.CustomElements.flags.register=t.register),WebComponents.flags=t}(),function(e){"use strict";var t=!1;if(!e.forceJURL)try{var n=new URL("b","http://a");n.pathname="c%20d",t="http://a/c%20d"===n.href}catch(e){}if(!t){var r=Object.create(null);r.ftp=21,r.file=0,r.gopher=70,r.http=80,r.https=443,r.ws=80,r.wss=443;var o=Object.create(null);o["%2e"]=".",o[".%2e"]="..",o["%2e."]="..",o["%2e%2e"]="..";var i=void 0,s=/[a-zA-Z]/,a=/[a-zA-Z0-9\+\-\.]/;v.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";return""==this._username&&null==this._password||(e=this._username+(null!=this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){m.call(this),h.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||h.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&h.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&h.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&h.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){!this._isInvalid&&this._isRelative&&(this._path=[],h.call(this,e,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"==this._query?"":this._query},set search(e){!this._isInvalid&&this._isRelative&&(this._query="?","?"==e[0]&&(e=e.slice(1)),h.call(this,e,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"==this._fragment?"":this._fragment},set hash(e){this._isInvalid||(this._fragment="#","#"==e[0]&&(e=e.slice(1)),h.call(this,e,"fragment"))},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null"}return(e=this.host)?this._scheme+"://"+e:""}};var l=e.URL;l&&(v.createObjectURL=function(e){return l.createObjectURL.apply(l,arguments)},v.revokeObjectURL=function(e){l.revokeObjectURL(e)}),e.URL=v}function c(e){return void 0!==r[e]}function u(){m.call(this),this._isInvalid=!0}function d(e){return""==e&&u.call(this),e.toLowerCase()}function p(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1==[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function f(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1==[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function h(e,t,n){function l(e){g.push(e)}var h=t||"scheme start",m=0,v="",y=!1,b=!1,g=[];e:for(;(e[m-1]!=i||0==m)&&!this._isInvalid;){var _=e[m];switch(h){case"scheme start":if(!_||!s.test(_)){if(t){l("Invalid scheme.");break e}v="",h="no scheme";continue}v+=_.toLowerCase(),h="scheme";break;case"scheme":if(_&&a.test(_))v+=_.toLowerCase();else{if(":"!=_){if(t){if(i==_)break e;l("Code point not allowed in scheme: "+_);break e}v="",m=0,h="no scheme";continue}if(this._scheme=v,v="",t)break e;c(this._scheme)&&(this._isRelative=!0),h="file"==this._scheme?"relative":this._isRelative&&n&&n._scheme==this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"==_?(this._query="?",h="query"):"#"==_?(this._fragment="#",h="fragment"):i!=_&&"\t"!=_&&"\n"!=_&&"\r"!=_&&(this._schemeData+=p(_));break;case"no scheme":if(n&&c(n._scheme)){h="relative";continue}l("Missing scheme."),u.call(this);break;case"relative or authority":if("/"!=_||"/"!=e[m+1]){l("Expected /, got: "+_),h="relative";continue}h="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!=this._scheme&&(this._scheme=n._scheme),i==_){this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._username=n._username,this._password=n._password;break e}
1if("/"==_||"\\"==_)"\\"==_&&l("\\ is an invalid code point."),h="relative slash";else if("?"==_)this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query="?",this._username=n._username,this._password=n._password,h="query";else{if("#"!=_){var w=e[m+1],j=e[m+2];("file"!=this._scheme||!s.test(_)||":"!=w&&"|"!=w||i!=j&&"/"!=j&&"\\"!=j&&"?"!=j&&"#"!=j)&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password,this._path=n._path.slice(),this._path.pop()),h="relative path";continue}this._host=n._host,this._port=n._port,this._path=n._path.slice(),this._query=n._query,this._fragment="#",this._username=n._username,this._password=n._password,h="fragment"}break;case"relative slash":if("/"!=_&&"\\"!=_){"file"!=this._scheme&&(this._host=n._host,this._port=n._port,this._username=n._username,this._password=n._password),h="relative path";continue}"\\"==_&&l("\\ is an invalid code point."),h="file"==this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!=_){l("Expected '/', got: "+_),h="authority ignore slashes";continue}h="authority second slash";break;case"authority second slash":if(h="authority ignore slashes","/"!=_){l("Expected '/', got: "+_);continue}break;case"authority ignore slashes":if("/"!=_&&"\\"!=_){h="authority";continue}l("Expected authority, got: "+_);break;case"authority":if("@"==_){y&&(l("@ already seen."),v+="%40"),y=!0;for(var C=0;C<v.length;C++){var S=v[C];if("\t"!=S&&"\n"!=S&&"\r"!=S)if(":"!=S||null!==this._password){var k=p(S);null!==this._password?this._password+=k:this._username+=k}else this._password="";else l("Invalid whitespace in authority.")}v=""}else{if(i==_||"/"==_||"\\"==_||"?"==_||"#"==_){m-=v.length,v="",h="host";continue}v+=_}break;case"file host":if(i==_||"/"==_||"\\"==_||"?"==_||"#"==_){2!=v.length||!s.test(v[0])||":"!=v[1]&&"|"!=v[1]?0==v.length?h="relative path start":(this._host=d.call(this,v),v="",h="relative path start"):h="relative path";continue}"\t"==_||"\n"==_||"\r"==_?l("Invalid whitespace in file host."):v+=_;break;case"host":case"hostname":if(":"!=_||b){if(i==_||"/"==_||"\\"==_||"?"==_||"#"==_){if(this._host=d.call(this,v),v="",h="relative path start",t)break e;continue}"\t"!=_&&"\n"!=_&&"\r"!=_?("["==_?b=!0:"]"==_&&(b=!1),v+=_):l("Invalid code point in host/hostname: "+_)}else if(this._host=d.call(this,v),v="",h="port","hostname"==t)break e;break;case"port":if(/[0-9]/.test(_))v+=_;else{if(i==_||"/"==_||"\\"==_||"?"==_||"#"==_||t){if(""!=v){var E=parseInt(v,10);E!=r[this._scheme]&&(this._port=E+""),v=""}if(t)break e;h="relative path start";continue}"\t"==_||"\n"==_||"\r"==_?l("Invalid code point in port: "+_):u.call(this)}break;case"relative path start":if("\\"==_&&l("'\\' not allowed in path."),h="relative path","/"!=_&&"\\"!=_)continue;break;case"relative path":var T;if(i!=_&&"/"!=_&&"\\"!=_&&(t||"?"!=_&&"#"!=_))"\t"!=_&&"\n"!=_&&"\r"!=_&&(v+=p(_));else"\\"==_&&l("\\ not allowed in relative path."),(T=o[v.toLowerCase()])&&(v=T),".."==v?(this._path.pop(),"/"!=_&&"\\"!=_&&this._path.push("")):"."==v&&"/"!=_&&"\\"!=_?this._path.push(""):"."!=v&&("file"==this._scheme&&0==this._path.length&&2==v.length&&s.test(v[0])&&"|"==v[1]&&(v=v[0]+":"),this._path.push(v)),v="","?"==_?(this._query="?",h="query"):"#"==_&&(this._fragment="#",h="fragment");break;case"query":t||"#"!=_?i!=_&&"\t"!=_&&"\n"!=_&&"\r"!=_&&(this._query+=f(_)):(this._fragment="#",h="fragment");break;case"fragment":i!=_&&"\t"!=_&&"\n"!=_&&"\r"!=_&&(this._fragment+=_)}m++}}function m(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function v(e,t){void 0===t||t instanceof v||(t=new v(String(t))),this._url=e,m.call(this);var n=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");h.call(this,n,null,t)}}(self),"undefined"==typeof WeakMap&&function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+t+++"__"};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){if(!e.JsMutationObserver){var t,n=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))t=setTimeout;else if(window.setImmediate)t=window.setImmediate;else{var r=[],o=String(Math.random());window.addEventListener("message",function(e){if(e.data===o){var t=r;r=[],t.forEach(function(e){e()})}}),t=function(e){r.push(e),window.postMessage(o,"*")}}var i,s,a=!1,l=[],c=0;p.prototype={observe:function(e,t){var r;if(r=e,e=window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(r)||r,!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var o,i=n.get(e);i||n.set(e,i=[]);for(var s=0;s<i.length;s++)if(i[s].observer===this){(o=i[s]).removeListeners(),o.options=t;break}o||(o=new y(this,e,t),i.push(o),this.nodes_.push(e)),o.addListeners()},disconnect:function(){this.nodes_.forEach(function(e){for(var t=n.get(e),r=0;r<t.length;r++){var o=t[r];if(o.observer===this){o.removeListeners(),t.splice(r,1);break}}},this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}},y.prototype={enqueue:function(e){var n,r=this.observer.records_,o=r.length;if(r.length>0){var i=v(r[o-1],e);if(i)return void(r[o-1]=i)}else n=this.observer,l.push(n),a||(a=!0,t(u));r[o]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;
1t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=n.get(e);t||n.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach(function(e){this.removeListeners_(e);for(var t=n.get(e),r=0;r<t.length;r++)if(t[r]===this){t.splice(r,1);break}},this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,r=e.target;(a=new h("attributes",r)).attributeName=t,a.attributeNamespace=n;var o=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;d(r,function(e){if(e.attributes&&(!e.attributeFilter||!e.attributeFilter.length||-1!==e.attributeFilter.indexOf(t)||-1!==e.attributeFilter.indexOf(n)))return e.attributeOldValue?m(o):a});break;case"DOMCharacterDataModified":var a=h("characterData",r=e.target);o=e.prevValue;d(r,function(e){if(e.characterData)return e.characterDataOldValue?m(o):a});break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var l,c,u=e.target;"DOMNodeInserted"===e.type?(l=[u],c=[]):(l=[],c=[u]);var p=u.previousSibling,f=u.nextSibling;(a=h("childList",e.target.parentNode)).addedNodes=l,a.removedNodes=c,a.previousSibling=p,a.nextSibling=f,d(e.relatedNode,function(e){if(e.childList)return a})}i=s=void 0}},e.JsMutationObserver=p,e.MutationObserver||(e.MutationObserver=p,p._isPolyfilled=!0)}function u(){a=!1;var e=l;l=[],e.sort(function(e,t){return e.uid_-t.uid_});var t=!1;e.forEach(function(e){var r=e.takeRecords();!function(e){e.nodes_.forEach(function(t){var r=n.get(t);r&&r.forEach(function(t){t.observer===e&&t.removeTransientObservers()})})}(e),r.length&&(e.callback_(r,e),t=!0)}),t&&u()}function d(e,t){for(var r=e;r;r=r.parentNode){var o=n.get(r);if(o)for(var i=0;i<o.length;i++){var s=o[i],a=s.options;if(r===e||a.subtree){var l=t(a);l&&s.enqueue(l)}}}}function p(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++c}function f(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function h(e,t){return i=new f(e,t)}function m(e){return s||((n=new f((t=i).type,t.target)).addedNodes=t.addedNodes.slice(),n.removedNodes=t.removedNodes.slice(),n.previousSibling=t.previousSibling,n.nextSibling=t.nextSibling,n.attributeName=t.attributeName,n.attributeNamespace=t.attributeNamespace,n.oldValue=t.oldValue,(s=n).oldValue=e,s);var t,n}function v(e,t){return e===t?e:s&&((n=e)===s||n===i)?s:null;var n}function y(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}}(self),function(){var e,t="undefined"==typeof HTMLTemplateElement;/Trident/.test(navigator.userAgent)&&(e=document.importNode,document.importNode=function(){var t=e.apply(document,arguments);if(t.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var n=document.createDocumentFragment();return n.appendChild(t),n}return t});var n=function(){if(!t){var e=document.createElement("template"),n=document.createElement("template");n.content.appendChild(document.createElement("div")),e.content.appendChild(n);var r=e.cloneNode(!0);return 0===r.content.childNodes.length||0===r.content.firstChild.content.childNodes.length}}(),r=function(){};if(t){var o=document.implementation.createHTMLDocument("template"),i=!0,s=document.createElement("style");s.textContent="template{display:none;}";var a=document.head;a.insertBefore(s,a.firstElementChild),r.prototype=Object.create(HTMLElement.prototype),r.decorate=function(e){if(!e.content){var t;for(e.content=o.createDocumentFragment();t=e.firstChild;)e.content.appendChild(t);if(e.cloneNode=function(e){return r.cloneNode(this,e)},i)try{Object.defineProperty(e,"innerHTML",{get:function(){for(var e="",t=this.content.firstChild;t;t=t.nextSibling)e+=t.outerHTML||t.data.replace(c,u);return e},set:function(e){for(o.body.innerHTML=e,r.bootstrap(o);this.content.firstChild;)this.content.removeChild(this.content.firstChild);for(;o.body.firstChild;)this.content.appendChild(o.body.firstChild)},configurable:!0})}catch(e){i=!1}r.bootstrap(e.content)}},r.bootstrap=function(e){for(var t,n=e.querySelectorAll("template"),o=0,i=n.length;
1o<i&&(t=n[o]);o++)r.decorate(t)},document.addEventListener("DOMContentLoaded",function(){r.bootstrap(document)});var l=document.createElement;document.createElement=function(){"use strict";var e=l.apply(document,arguments);return"template"===e.localName&&r.decorate(e),e};var c=/[&\u00A0<>]/g;function u(e){switch(e){case"&":return"&amp;";case"<":return"&lt;";case">":return"&gt;";case" ":return"&nbsp;"}}}if(t||n){var d=Node.prototype.cloneNode;r.cloneNode=function(e,t){var n=d.call(e,!1);return this.decorate&&this.decorate(n),t&&(n.content.appendChild(d.call(e.content,!0)),this.fixClonedDom(n.content,e.content)),n},r.fixClonedDom=function(e,t){if(t.querySelectorAll)for(var n,r,o=t.querySelectorAll("template"),i=e.querySelectorAll("template"),s=0,a=i.length;s<a;s++)r=o[s],n=i[s],this.decorate&&this.decorate(r),n.parentNode.replaceChild(r.cloneNode(!0),n)};var p=document.importNode;Node.prototype.cloneNode=function(e){var t=d.call(this,e);return e&&r.fixClonedDom(t,this),t},document.importNode=function(e,t){if("template"===e.localName)return r.cloneNode(e,t);var n=p.call(document,e,t);return t&&r.fixClonedDom(n,e),n},n&&(HTMLTemplateElement.prototype.cloneNode=function(e){return r.cloneNode(this,e)})}t&&(window.HTMLTemplateElement=r)}(),function(e){"use strict";if(!window.performance||!window.performance.now){var t=Date.now();window.performance={now:function(){return Date.now()-t}}}var n,r;if(window.requestAnimationFrame||(window.requestAnimationFrame=(n=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)?function(e){return n(function(){e(performance.now())})}:function(e){return window.setTimeout(e,1e3/60)}),window.cancelAnimationFrame||(window.cancelAnimationFrame=window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)}),!((r=document.createEvent("Event")).initEvent("foo",!0,!0),r.preventDefault(),r.defaultPrevented)){var o=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(o.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var i=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||i&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||i&&"function"!=typeof window.Event){var s=window.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.prototype=s.prototype}}(window.WebComponents),window.HTMLImports=window.HTMLImports||{flags:{}},function(e){var t=Boolean("import"in document.createElement("link")),n=Boolean(window.ShadowDOMPolyfill),r=function(e){return n?window.ShadowDOMPolyfill.wrapIfNeeded(e):e},o=r(document),i={get:function(){var e=window.HTMLImports.currentScript||document.currentScript||("complete"!==document.readyState?document.scripts[document.scripts.length-1]:null);return r(e)},configurable:!0};Object.defineProperty(document,"_currentScript",i),Object.defineProperty(o,"_currentScript",i);var s=/Trident/.test(navigator.userAgent);function a(e,n){(function e(t,n){if(function(e){return"complete"===e.readyState||e.readyState===l}(n))t&&t();else{var r=function(){"complete"!==n.readyState&&n.readyState!==l||(n.removeEventListener(c,r),e(t,n))};n.addEventListener(c,r)}})(function(){!function(e,n){var r=n.querySelectorAll("link[rel=import]"),o=0,i=r.length,s=[],a=[];function l(){o==i&&e&&e({allImports:r,loadedImports:s,errorImports:a})}function c(e){u(e),s.push(this),o++,l()}function d(e){a.push(this),o++,l()}if(i)for(var p,f=0;f<i&&(p=r[f]);f++)h=p,(t?h.__loaded||h.import&&"loading"!==h.import.readyState:h.__importParsed)?(s.push(this),o++,l()):(p.addEventListener("load",c),p.addEventListener("error",d));else l();var h}(e,n)},n=n||o)}var l=s?"complete":"interactive",c="readystatechange";function u(e){e.target.__loaded=!0}if(t){function d(e){for(var t,n=0,r=e.length;n<r&&(t=e[n]);n++)"link"===(o=t).localName&&"import"===o.rel&&p(t);var o}function p(e){e.import?u({target:e}):(e.addEventListener("load",u),e.addEventListener("error",u))}
1new MutationObserver(function(e){for(var t,n=0,r=e.length;n<r&&(t=e[n]);n++)t.addedNodes&&d(t.addedNodes)}).observe(document.head,{childList:!0}),function(){if("loading"===document.readyState)for(var e,t=document.querySelectorAll("link[rel=import]"),n=0,r=t.length;n<r&&(e=t[n]);n++)p(e)}()}a(function(e){window.HTMLImports.ready=!0,window.HTMLImports.readyTime=(new Date).getTime();var t=o.createEvent("CustomEvent");t.initCustomEvent("HTMLImportsLoaded",!0,!0,e),o.dispatchEvent(t)}),e.IMPORT_LINK_TYPE="import",e.useNative=t,e.rootDocument=o,e.whenReady=a,e.isIE=s}(window.HTMLImports),r=window.HTMLImports,o=[],r.addModule=function(e){o.push(e)},r.initializeModules=function(){o.forEach(function(e){e(r)})},window.HTMLImports.addModule(function(e){var t=/(url\()([^)]*)(\))/g,n=/(@import[\s]+(?!url\())([^;]*)(;)/g,r={resolveUrlsInStyle:function(e,t){var n=e.ownerDocument.createElement("a");return e.textContent=this.resolveUrlsInCssText(e.textContent,t,n),e},resolveUrlsInCssText:function(e,r,o){var i=this.replaceUrls(e,o,r,t);return i=this.replaceUrls(i,o,r,n)},replaceUrls:function(e,t,n,r){return e.replace(r,function(e,r,o,i){var s=o.replace(/["']/g,"");return n&&(s=new URL(s,n).href),t.href=s,r+"'"+(s=t.href)+"'"+i})}};e.path=r}),window.HTMLImports.addModule(function(e){var t={async:!0,ok:function(e){return e.status>=200&&e.status<300||304===e.status||0===e.status},load:function(n,r,o){var i=new XMLHttpRequest;return(e.flags.debug||e.flags.bust)&&(n+="?"+Math.random()),i.open("GET",n,t.async),i.addEventListener("readystatechange",function(e){if(4===i.readyState){var n=null;try{var s=i.getResponseHeader("Location");s&&(n="/"===s.substr(0,1)?location.origin+s:s)}catch(e){console.error(e.message)}r.call(o,!t.ok(i)&&i,i.response||i.responseText,n)}}),i.send(),i},loadDocument:function(e,t,n){this.load(e,t,n).responseType="document"}};e.xhr=t}),window.HTMLImports.addModule(function(e){var t=e.xhr,n=e.flags,r=function(e,t){this.cache={},this.onload=e,this.oncomplete=t,this.inflight=0,this.pending={}};r.prototype={addNodes:function(e){this.inflight+=e.length;for(var t,n=0,r=e.length;n<r&&(t=e[n]);n++)this.require(t);this.checkDone()},addNode:function(e){this.inflight++,this.require(e),this.checkDone()},require:function(e){var t=e.src||e.href;e.__nodeUrl=t,this.dedupe(t,e)||this.fetch(t,e)},dedupe:function(e,t){return this.pending[e]?(this.pending[e].push(t),!0):this.cache[e]?(this.onload(e,t,this.cache[e]),this.tail(),!0):(this.pending[e]=[t],!1)},fetch:function(e,r){if(n.load&&console.log("fetch",e,r),e)if(e.match(/^data:/)){var o=e.split(","),i=o[0],s=o[1];s=i.indexOf(";base64")>-1?atob(s):decodeURIComponent(s),setTimeout(function(){this.receive(e,r,null,s)}.bind(this),0)}else{var a=function(t,n,o){this.receive(e,r,t,n,o)}.bind(this);t.load(e,a)}else setTimeout(function(){this.receive(e,r,{error:"href must be specified"},null)}.bind(this),0)},receive:function(e,t,n,r,o){this.cache[e]=r;for(var i,s=this.pending[e],a=0,l=s.length;a<l&&(i=s[a]);a++)this.onload(e,i,r,n,o),this.tail();this.pending[e]=null},tail:function(){--this.inflight,this.checkDone()},checkDone:function(){this.inflight||this.oncomplete()}},e.Loader=r}),window.HTMLImports.addModule(function(e){var t=function(e){this.addCallback=e,this.mo=new MutationObserver(this.handler.bind(this))};t.prototype={handler:function(e){for(var t,n=0,r=e.length;n<r&&(t=e[n]);n++)"childList"===t.type&&t.addedNodes.length&&this.addedNodes(t.addedNodes)},addedNodes:function(e){this.addCallback&&this.addCallback(e);for(var t,n=0,r=e.length;n<r&&(t=e[n]);n++)t.children&&t.children.length&&this.addedNodes(t.children)},observe:function(e){this.mo.observe(e,{childList:!0,subtree:!0})}},e.Observer=t}),window.HTMLImports.addModule(function(e){var t=e.path,n=e.rootDocument,r=e.flags,o=e.isIE,i=e.IMPORT_LINK_TYPE,s="link[rel="+i+"]",a={documentSelectors:s,importsSelectors:[s,"link[rel=stylesheet]:not([type])","style:not([type])","script:not([type])",'script[type="application/javascript"]','script[type="text/javascript"]'].join(","),map:{link:"parseLink",script:"parseScript",style:"parseStyle"},dynamicElements:[],parseNext:function(){var e=this.nextToParse();e&&this.parse(e)},parse:function(e){if(this.isParsed(e))r.parse&&console.log("[%s] is already parsed",e.localName);else{var t=this[this.map[e.localName]];t&&(this.markParsing(e),t.call(this,e))}},parseDynamic:function(e,t){this.dynamicElements.push(e),t||this.parseNext()},markParsing:function(e){r.parse&&console.log("parsing",e),this.parsingElement=e},markParsingComplete:function(e){e.__importParsed=!0,this.markDynamicParsingComplete(e),e.__importElement&&(e.__importElement.__importParsed=!0,this.markDynamicParsingComplete(e.__importElement)),this.parsingElement=null,r.parse&&console.log("completed",e)},markDynamicParsingComplete:function(e){var t=this.dynamicElements.indexOf(e);t>=0&&this.dynamicElements.splice(t,1)},parseImport:function(e){if(e.import=e.__doc,window.HTMLImports.__importsParsingHook&&window.HTMLImports.__importsParsingHook(e),e.import&&(e.import.__importParsed=!0),this.markParsingComplete(e),e.__resource&&!e.__error?e.dispatchEvent(new CustomEvent("load",{bubbles:!1})):e.dispatchEvent(new CustomEvent("error",{bubbles:!1})),e.__pending)for(var t;e.__pending.length;)(t=e.__pending.shift())&&t({target:e});this.parseNext()},parseLink:function(e){l(e)?this.parseImport(e):(e.href=e.href,this.parseGeneric(e))},parseStyle:function(e){var n,r,o=e;(r=(n=e).ownerDocument.createElement("style")).textContent=n.textContent,t.resolveUrlsInStyle(r),e=r,o.__appliedElement=e,e.__importElement=o,this.parseGeneric(e)},parseGeneric:function(e){this.trackElement(e),this.addElementToDocument(e)},rootImportForElement:function(e){for(var t=e;t.ownerDocument.__importLink;)t=t.ownerDocument.__importLink;return t},addElementToDocument:function(e){var t=this.rootImportForElement(e.__importElement||e);t.parentNode.insertBefore(e,t)},trackElement:function(e,t){var n=this,r=function(o){e.removeEventListener("load",r),e.removeEventListener("error",r),t&&t(o),n.markParsingComplete(e),n.parseNext()};if(e.addEventListener("load",r),e.addEventListener("error",r),o&&"style"===e.localName){var i=!1;if(-1==e.textContent.indexOf("@import"))i=!0;else if(e.sheet){i=!0;for(var s,a=e.sheet.cssRules,l=a?a.length:0,c=0;c<l&&(s=a[c]);c++)s.type===CSSRule.IMPORT_RULE&&(i=i&&Boolean(s.styleSheet))}i&&setTimeout(function(){e.dispatchEvent(new CustomEvent("load",{bubbles:!1}))})}},parseScript:function(t){var n=document.createElement("script");n.__importElement=t,n.src=t.src?t.src:function(e){var t=function(e){return e.textContent+function(e){var t=e.ownerDocument;t.__importedScripts=t.__importedScripts||0;var n=e.ownerDocument.baseURI,r=t.__importedScripts?"-"+t.__importedScripts:"";return t.__importedScripts++,"\n//# sourceURL="+n+r+".js\n"}(e)}(e);return"data:text/javascript;charset=utf-8,"+encodeURIComponent(t)}(t),e.currentScript=t,this.trackElement(n,function(t){n.parentNode&&n.parentNode.removeChild(n),e.currentScript=null}),this.addElementToDocument(n)},nextToParse:function(){return this._mayParse=[],!this.parsingElement&&(this.nextToParseInDoc(n)||this.nextToParseDynamic())},nextToParseInDoc:function(e,t){if(e&&this._mayParse.indexOf(e)<0){this._mayParse.push(e);for(var n,r=e.querySelectorAll(this.parseSelectorsForNode(e)),o=0,i=r.length;o<i&&(n=r[o]);o++)if(!this.isParsed(n))return this.hasResource(n)?l(n)?this.nextToParseInDoc(n.__doc,n):n:void 0}return t},nextToParseDynamic:function(){return this.dynamicElements[0]},parseSelectorsForNode:function(e){return(e.ownerDocument||e)===n?this.documentSelectors:this.importsSelectors},isParsed:function(e){return e.__importParsed},needsDynamicParsing:function(e){return this.dynamicElements.indexOf(e)>=0},hasResource:function(e){return!l(e)||void 0!==e.__doc}};function l(e){return"link"===e.localName&&e.rel===i}e.parser=a,e.IMPORT_SELECTOR=s}),window.HTMLImports.addModule(function(e){var t=e.flags,n=e.IMPORT_LINK_TYPE,r=e.IMPORT_SELECTOR,o=e.rootDocument,i=e.Loader,s=e.Observer,a=e.parser,l={documents:{},documentPreloadSelectors:r,importsPreloadSelectors:[r].join(","),loadNode:function(e){c.addNode(e)},loadSubtree:function(e){var t=this.marshalNodes(e);c.addNodes(t)},marshalNodes:function(e){return e.querySelectorAll(this.loadSelectorsForNode(e))},loadSelectorsForNode:function(e){return(e.ownerDocument||e)===o?this.documentPreloadSelectors:this.importsPreloadSelectors},loaded:function(e,r,o,i,s){if(t.load&&console.log("loaded",e,r),r.__resource=o,r.__error=i,function(e){return function(e,t){return"link"===e.localName&&e.getAttribute("rel")===t}(e,n)}(r)){var l=this.documents[e];
1void 0===l&&((l=i?null:function(e,t){var r=document.implementation.createHTMLDocument(n);r._URL=t;var o=r.createElement("base");o.setAttribute("href",t),r.baseURI||function(e){return!!Object.getOwnPropertyDescriptor(e,"baseURI")}(r)||Object.defineProperty(r,"baseURI",{value:t});var i=r.createElement("meta");i.setAttribute("charset","utf-8"),r.head.appendChild(i),r.head.appendChild(o),r.body.innerHTML=e,window.HTMLTemplateElement&&HTMLTemplateElement.bootstrap&&HTMLTemplateElement.bootstrap(r);return r}(o,s||e))&&(l.__importLink=r,this.bootDocument(l)),this.documents[e]=l),r.__doc=l}a.parseNext()},bootDocument:function(e){this.loadSubtree(e),this.observer.observe(e),a.parseNext()},loadedAll:function(){a.parseNext()}},c=new i(l.loaded.bind(l),l.loadedAll.bind(l));if(l.observer=new s,!document.baseURI){var u={get:function(){var e=document.querySelector("base");return e?e.href:window.location.href},configurable:!0};Object.defineProperty(document,"baseURI",u),Object.defineProperty(o,"baseURI",u)}e.importer=l,e.importLoader=c}),window.HTMLImports.addModule(function(e){var t=e.parser,n=e.importer,r={added:function(e){for(var r,o,i,s,a=0,l=e.length;a<l&&(s=e[a]);a++)r||(r=s.ownerDocument,o=t.isParsed(r)),(i=this.shouldLoadNode(s))&&n.loadNode(s),this.shouldParseNode(s)&&o&&t.parseDynamic(s,i)},shouldLoadNode:function(e){return 1===e.nodeType&&o.call(e,n.loadSelectorsForNode(e))},shouldParseNode:function(e){return 1===e.nodeType&&o.call(e,t.parseSelectorsForNode(e))}};n.observer.addCallback=r.added.bind(r);var o=HTMLElement.prototype.matches||HTMLElement.prototype.matchesSelector||HTMLElement.prototype.webkitMatchesSelector||HTMLElement.prototype.mozMatchesSelector||HTMLElement.prototype.msMatchesSelector}),function(e){var t=e.initializeModules;e.isIE;if(!e.useNative){t();var n=e.rootDocument;"complete"===document.readyState||"interactive"===document.readyState&&!window.attachEvent?r():document.addEventListener("DOMContentLoaded",r)}function r(){window.HTMLImports.importer.bootDocument(n)}}(window.HTMLImports),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[];e.addModule=function(e){n.push(e)},e.initializeModules=function(){n.forEach(function(t){t(e)})},e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigator.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule(function(e){var t=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";function n(e,t){!function e(t,n,r){var o=t.firstElementChild;if(!o)for(o=t.firstChild;o&&o.nodeType!==Node.ELEMENT_NODE;)o=o.nextSibling;for(;o;)!0!==n(o,r)&&e(o,n,r),o=o.nextElementSibling;return null}(e,function(e){if(t(e))return!0;r(e,t)}),r(e,t)}function r(e,t){for(var r=e.shadowRoot;r;)n(r,t),r=r.olderShadowRoot}e.forDocumentTree=function(e,n){!function e(n,r,o){if(n=window.wrap(n),!(o.indexOf(n)>=0)){o.push(n);for(var i,s=n.querySelectorAll("link[rel="+t+"]"),a=0,l=s.length;a<l&&(i=s[a]);a++)i.import&&e(i.import,r,o);r(n)}}(e,n,[])},e.forSubtree=n}),window.CustomElements.addModule(function(e){var t=e.flags,n=e.forSubtree,r=e.forDocumentTree;function o(e,t){return i(e,t)||s(e,t)}function i(t,n){if(e.upgrade(t,n))return!0;n&&p(t)}function s(e,t){n(e,function(e){if(i(e,t))return!0})}var a=window.MutationObserver._isPolyfilled&&t["throttle-attached"];e.hasPolyfillMutations=a,e.hasThrottledAttached=a;var l=!1,c=[];function u(e){c.push(e),l||(l=!0,setTimeout(d))}function d(){l=!1;for(var e,t=c,n=0,r=t.length;n<r&&(e=t[n]);n++)e();c=[]}function p(e){a?u(function(){f(e)}):f(e)}function f(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function h(e){a?u(function(){m(e)}):m(e)}function m(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function v(e,r){if(t.dom){var i=r[0];if(i&&"childList"===i.type&&i.addedNodes&&i.addedNodes){for(var s=i.addedNodes[0];s&&s!==document&&!s.host;)s=s.parentNode;var a=s&&(s.URL||s._URL||s.host&&s.host.localName)||"";a=a.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",r.length,a||"")}var l=function(e){for(var t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}(e);r.forEach(function(e){"childList"===e.type&&(y(e.addedNodes,function(e){e.localName&&o(e,l)}),y(e.removedNodes,function(e){var t;e.localName&&(h(t=e),n(t,function(e){h(e)}))}))}),t.dom&&console.groupEnd()}var y=Array.prototype.forEach.call.bind(Array.prototype.forEach);function b(e){if(!e.__observer){var t=new MutationObserver(v.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function g(e){e=window.wrap(e),t.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop()),o(e,e===window.wrap(document)),b(e),t.dom&&console.groupEnd()}var _=Element.prototype.createShadowRoot;_&&(Element.prototype.createShadowRoot=function(){var e=_.call(this);return window.CustomElements.watchShadow(this),e}),e.watchShadow=function(e){if(e.shadowRoot&&!e.shadowRoot.__watched){t.dom&&console.log("watching shadow-root for: ",e.localName);for(var n=e.shadowRoot;n;)b(n),n=n.olderShadowRoot}},e.upgradeDocumentTree=function(e){r(e,g)},e.upgradeDocument=g,e.upgradeSubtree=s,e.upgradeAll=o,e.attached=p,e.takeRecords=function(e){for((e=window.wrap(e))||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(v(e,t.takeRecords()),d())}}),window.CustomElements.addModule(function(e){var t=e.flags;function n(n,o,i){return t.upgrade&&console.group("upgrade:",n.localName),o.is&&n.setAttribute("is",o.is),r(n,o),n.__upgraded__=!0,function(e){e.createdCallback&&e.createdCallback()}(n),i&&e.attached(n),e.upgradeSubtree(n,i),t.upgrade&&console.groupEnd(),n}function r(e,t){Object.__proto__?e.__proto__=t.prototype:(!function(e,t,n){var r={},o=t;for(;o!==n&&o!==HTMLElement.prototype;){for(var i,s=Object.getOwnPropertyNames(o),a=0;i=s[a];a++)r[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i)),r[i]=1);
1o=Object.getPrototypeOf(o)}}(e,t.prototype,t.native),e.__proto__=t.prototype)}e.upgrade=function(t,r){if("template"===t.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(t),!t.__upgraded__&&t.nodeType===Node.ELEMENT_NODE){var o=t.getAttribute("is"),i=e.getRegisteredDefinition(t.localName)||e.getRegisteredDefinition(o);if(i&&(o&&i.tag==t.localName||!o&&!i.extends))return n(t,i,r)}},e.upgradeWithDefinition=n,e.implementPrototype=r}),window.CustomElements.addModule(function(e){e.isIE;var t=e.upgradeDocumentTree,n=e.upgradeAll,r=e.upgradeWithDefinition,o=e.implementPrototype,i=e.useNative;function s(e,t,n){e=e.toLowerCase();var r=this.getAttribute(e);n.apply(this,arguments);var o=this.getAttribute(e);this.attributeChangedCallback&&o!==r&&this.attributeChangedCallback(e,r,o)}var a=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"];var l={};function c(e){if(e)return l[e.toLowerCase()]}var u="http://www.w3.org/1999/xhtml";function d(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerCase());var n,r=c(t||e);if(r){if(e==r.tag&&t==r.is)return new r.ctor;if(!t&&!r.is)return new r.ctor}return t?((n=d(e)).setAttribute("is",t),n):(n=f(e),e.indexOf("-")>=0&&o(n,HTMLElement),n)}var p,f=document.createElement.bind(document),h=document.createElementNS.bind(document);function m(e,t){var r=e[t];e[t]=function(){var e=r.apply(this,arguments);return n(e),e}}p=Object.__proto__||i?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},m(Node.prototype,"cloneNode"),m(document,"importNode"),document.registerElement=function(n,o){var i=o||{};if(!n)throw new Error("document.registerElement: first argument `name` must not be empty");if(n.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(n)+"'.");if(function(e){for(var t=0;t<a.length;t++)if(e===a[t])return!0}(n))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(n)+"'. The type name is invalid.");if(c(n))throw new Error("DuplicateDefinitionError: a type with name '"+String(n)+"' is already registered");return i.prototype||(i.prototype=Object.create(HTMLElement.prototype)),i.__name=n.toLowerCase(),i.extends&&(i.extends=i.extends.toLowerCase()),i.lifecycle=i.lifecycle||{},i.ancestry=function e(t){var n=c(t);return n?e(n.extends).concat([n]):[]}(i.extends),function(e){for(var t,n=e.extends,r=0;t=e.ancestry[r];r++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}(i),function(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var r,o=e.prototype,i=!1;o;)o==t&&(i=!0),(r=Object.getPrototypeOf(o))&&(o.__proto__=r),o=r;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e.native=t}}(i),function(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,n){s.call(this,e,n,t)};var n=e.removeAttribute;e.removeAttribute=function(e){s.call(this,e,null,n)},e.setAttribute._polyfilled=!0}}(i.prototype),function(e,t){l[e]=t}(i.__name,i),i.ctor=function(e){return function(){return function(e){return r(f(e.tag),e)}(e)}}(i),i.ctor.prototype=i.prototype,i.prototype.constructor=i.ctor,e.ready&&t(document),i.ctor},document.createElement=d,document.createElementNS=function(e,t,n){return e===u?d(t,n):h(e,t)},e.registry=l,e.instanceof=p,e.reservedTagList=a,e.getRegisteredDefinition=c,document.register=document.registerElement}),function(e){var t=e.useNative,n=e.initializeModules;e.isIE;if(t){var r=function(){};e.watchShadow=r,e.upgrade=r,e.upgradeAll=r,e.upgradeDocumentTree=r,e.upgradeSubtree=r,e.takeRecords=r,e.instanceof=function(e,t){return e instanceof t}}else n();var o=e.upgradeDocumentTree,i=e.upgradeDocument;function s(){o(window.wrap(document)),window.CustomElements.ready=!0,(window.requestAnimationFrame||function(e){setTimeout(e,16)})(function(){setTimeout(function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))})})}if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e.import&&i(wrap(e.import))}),"complete"===document.readyState||e.flags.eager)s();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var a=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(a,s)}else s()}(window.CustomElements),function(e){var t=document.createElement("style");t.textContent="body {transition: opacity ease-in 0.2s; } \nbody[unresolved] {opacity: 0; display: block; overflow: hidden; position: relative; } \n";var n=document.querySelector("head");n.insertBefore(t,n.firstChild)}(window.WebComponents)},{}],105:[function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="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})(e)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===r(t)?t:String(t)}e("core-js/modules/es.object.define-property.js"),e("core-js/modules/es.symbol.iterator.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/es.symbol.to-primitive.js"),e("core-js/modules/es.date.to-primitive.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.number.constructor.js");var s,a,l,c=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.player=t,this._sessionListener=this._onSessionStateChange.bind(this),this._castListener=this._onCastStateChange.bind(this),this._addCastContextEventListeners(),this.player.on("dispose",this._removeCastContextEventListeners.bind(this)),this._notifyPlayerOfDevicesAvailabilityChange(this.getCastContext().getCastState()),this.remotePlayer=new cast.framework.RemotePlayer,this.remotePlayerController=new cast.framework.RemotePlayerController(this.remotePlayer)}var t,n,r;return t=e,r=[{key:"isChromecastAPIAvailable",value:function(){return window.chrome&&window.chrome.cast&&window.cast}},{key:"isChromecastConnected",value:function(){return e.isChromecastAPIAvailable()&&cast.framework.CastContext.getInstance().getCastState()===cast.framework.CastState.CONNECTED&&e.hasConnected}}],(n=[{key:"_addCastContextEventListeners",value:function(){var e=cast.framework.CastContextEventType.SESSION_STATE_CHANGED,t=cast.framework.CastContextEventType.CAST_STATE_CHANGED;this.getCastContext().addEventListener(e,this._sessionListener),this.getCastContext().addEventListener(t,this._castListener)}},{key:"_removeCastContextEventListeners",value:function(){var e=cast.framework.CastContextEventType.SESSION_STATE_CHANGED,t=cast.framework.CastContextEventType.CAST_STATE_CHANGED;this.getCastContext().removeEventListener(e,this._sessionListener),this.getCastContext().removeEventListener(t,this._castListener)}},{key:"_addClass",value:function(e,t){if(e){e.length||(e=[e]);for(var n=0,r=e.length;n<r;n++)null==this._hasClass(e[n],t)&&(e[n].className+=" "+t,e[n].className.replace(/\s+/g," "))}}},{key:"_hasClass",value:function(e,t){if(e){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");return(void 0===e.className?window.event.srcElement:e).className.match(n)}}},{key:"_removeClass",value:function(e,t){if(e&&(e.classList.remove(t),this._hasClass(e,t))){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," "),e.className.replace(/\s+/g," ")}}},{key:"_onSessionStateChange",value:function(e){if(e.sessionState===cast.framework.SessionState.SESSION_ENDED){var t=this.player;this.player.trigger("chromecastDisconnected"),this._reloadTech(!0),this.player.el(
1).classList.remove("vjs-cast-ad"),t.el().querySelector(".vjs-progress-holder").querySelectorAll(".vjs-ad-marker").forEach(function(e){try{e.parentNode.removeChild(e)}catch(e){}}),this._removeClass(t.el(),"vjs-casting"),!0!==this.player.castEnd&&setTimeout(function(){t.play()},1500)}}},{key:"_onCastStateChange",value:function(e){this._notifyPlayerOfDevicesAvailabilityChange(e.castState)}},{key:"_notifyPlayerOfDevicesAvailabilityChange",value:function(e){this.hasAvailableDevices(e)?this.player.trigger("chromecastDevicesAvailable"):this.player.trigger("chromecastDevicesUnavailable")}},{key:"hasAvailableDevices",value:function(e){return(e=e||this.getCastContext().getCastState())===cast.framework.CastState.NOT_CONNECTED||e===cast.framework.CastState.CONNECTING||e===cast.framework.CastState.CONNECTED}},{key:"openCastMenu",value:function(){var t;this.player.currentSource()&&(t=function(){this.toHide=[".vjs-logo",".vjs-info",".vjs-time-tooltip",".vjs-upnext",".vjs-more-video",".vjs-logo-bar",".vjs-mirror-button",".vjs-picture-in-picture-control",".vjs-mode-control",".vjs-download-control",".vjs-snap-control",".vjs-chapters-button",".vjs-descriptions-button",".vjs-fullscreen-control",".vjs-text-track-display"];for(var t=0;t<this.toHide.length;t++)try{var n=this.player.el().querySelector(this.toHide[t]);n&&n.classList.add("vjs-abs-hidden")}catch(e){}if(e.hasConnected=!0,this.player.trigger("chromecastConnected"),this._addClass(this.player.el(),"vjs-casting"),"fixed"==this.player.castOptions.ui){this._addClass(this.player.el(),"vjs-cast-fixed");var r=document.createElement("div");r.className="vjs-fixed-info",this.player.el().insertBefore(r,this.player.controlBar.el_)}this._reloadTech()}.bind(this),this.getCastContext().requestSession().then(t,function(){}))}},{key:"_reloadTech",value:function(e){var t=this.player,n=t.currentTime(),r=t.paused();if(e){t.$(".vjs-tech");if("fixed"==this.player.castOptions.ui){this._removeClass(t.el(),"vjs-cast-fixed");var o=t.el().querySelector(".vjs-fixed-info");o&&t.el().removeChild(o)}(c=t.$(".vjs-quality-button"))&&this._removeClass(c,"vjs-cast"),this.toHide=[".vjs-logo",".vjs-info",".vjs-time-tooltip",".vjs-logo-bar",".vjs-upnext",".vjs-more-video",".vjs-mirror-button",".vjs-picture-in-picture-control",".vjs-mode-control",".vjs-download-control",".vjs-snap-control",".vjs-chapters-button",".vjs-descriptions-button",".vjs-fullscreen-control",".vjs-text-track-display"];for(var i=0;i<this.toHide.length;i++)try{var s=this.player.el().querySelector(this.toHide[i]);s&&this._removeClass(s,"vjs-abs-hidden")}catch(e){}(c=t.$(".vjs-quality-button"))&&this._removeClass(c,"vjs-cast");var a=Date.now(),l=t.currentSrc().trim();l+=(l.match(/[\?]/g)?"&":"?")+"chrm="+a,t.src({src:l,type:t.currentType()}),!0!==t.castEnd?t.one("canplay",function(){t.play(),n>0&&t.currentTime(n)}):setTimeout(function(){t.currentTime(0)},500)}else{var c;t.src(t.currentSources()),(c=t.$(".vjs-quality-button"))&&this._addClass(c,"vjs-cast"),t.ready(function(){r?t.pause():t.play(),t.currentTime(n||0)})}}},{key:"getCastContext",value:function(){return cast.framework.CastContext.getInstance()}},{key:"getRemotePlayer",value:function(){return this.remotePlayer}},{key:"getRemotePlayerController",value:function(){return this.remotePlayerController}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();s=c,l=!1,(a=i(a="hasConnected"))in s?Object.defineProperty(s,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):s[a]=l,t.exports=c},{"core-js/modules/es.array.iterator.js":88,"core-js/modules/es.date.to-primitive.js":90,"core-js/modules/es.number.constructor.js":91,"core-js/modules/es.object.define-property.js":93,"core-js/modules/es.object.to-string.js":96,"core-js/modules/es.string.iterator.js":98,"core-js/modules/es.symbol.description.js":99,"core-js/modules/es.symbol.iterator.js":100,"core-js/modules/es.symbol.js":101,"core-js/modules/es.symbol.to-primitive.js":102,"core-js/modules/web.dom-collections.iterator.js":103}],106:[function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="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})(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,void 0,"symbol"===r(s=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"))?s:String(s)),o)}var i,s}
1function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,o=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,n)}}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.reflect.construct.js"),e("core-js/modules/es.object.define-property.js"),e("core-js/modules/es.symbol.to-primitive.js"),e("core-js/modules/es.date.to-primitive.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.number.constructor.js"),e("core-js/modules/es.symbol.iterator.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/es.object.set-prototype-of.js"),e("core-js/modules/es.object.get-prototype-of.js"),t.exports=function(e){var t=e.getComponent("Button"),n=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(u,t);var n,r,l,c=s(u);function u(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),n=c.call(this,e,t),e.on("chromecastConnected",n._onChromecastConnected.bind(a(n))),e.on("chromecastDisconnected",n._onChromecastDisconnected.bind(a(n))),e.on("chromecastDevicesAvailable",n._onChromecastDevicesAvailable.bind(a(n))),e.on("chromecastDevicesUnavailable",n._onChromecastDevicesUnavailable.bind(a(n))),e.chromecastSessionManager&&e.chromecastSessionManager.hasAvailableDevices()?n._onChromecastDevicesAvailable():n._onChromecastDevicesUnavailable(),t.addCastLabelToButton?(n.el().classList.add("vjs-chromecast-button-lg"),n._labelEl=document.createElement("span"),n._labelEl.classList.add("vjs-chromecast-button-label"),n._updateCastLabelText(),n.el().appendChild(n._labelEl)):n.controlText("Open Chromecast menu"),n}return n=u,(r=[{key:"buildCSSClass",value:function(){return"vjs-chromecast-button "+(this._isChromecastConnected?"vjs-chromecast-casting-state ":"")+(this.options_.addCastLabelToButton?"vjs-chromecast-button-lg ":"")+t.prototype.buildCSSClass()}},{key:"handleClick",value:function(){this.player().trigger("chromecastRequested")}},{key:"_onChromecastConnected",value:function(){this._isChromecastConnected=!0,this._reloadCSSClasses(),this._updateCastLabelText()}},{key:"_onChromecastDisconnected",value:function(){this._isChromecastConnected=!1,this._reloadCSSClasses(),this._updateCastLabelText()}},{key:"_onChromecastDevicesAvailable",value:function(){this.show()}},{key:"_onChromecastDevicesUnavailable",value:function(){this.hide()}},{key:"_reloadCSSClasses",value:function(){this.el_&&(this.el_.className=this.buildCSSClass())}},{key:"_updateCastLabelText",value:function(){this._labelEl,this.controlText(this._isChromecastConnected?this.localize("Disconnect Chromecast"):this.localize("Open Chromecast menu"))}}])&&o(n.prototype,r),l&&o(n,l),Object.defineProperty(n,"prototype",{writable:!1}),u}();e.registerComponent("chromecastButton",n)}},{"core-js/modules/es.array.iterator.js":88,"core-js/modules/es.date.to-primitive.js":90,"core-js/modules/es.number.constructor.js":91,"core-js/modules/es.object.define-property.js":93,"core-js/modules/es.object.get-prototype-of.js":94,"core-js/modules/es.object.set-prototype-of.js":95,"core-js/modules/es.object.to-string.js":96,"core-js/modules/es.reflect.construct.js":97,"core-js/modules/es.string.iterator.js":98,"core-js/modules/es.symbol.description.js":99,"core-js/modules/es.symbol.iterator.js":100,"core-js/modules/es.symbol.js":101,"core-js/modules/es.symbol.to-primitive.js":102,"core-js/modules/web.dom-collections.iterator.js":103}],107:[function(e,t,n){"use strict";e("core-js/modules/es.object.assign.js");var r=e("./chromecast/ChromecastSessionManager"),o=1e3,i=3e4;function s(e,t){var n;if(!e.controlBar.getChild("chromecastButton")){n=e.controlBar.children().length;var r=e.controlBar.addChild("chromecastButton",t,n-1);e.controlBar.el_.insertBefore(r.el_,e.controlBar.getChild("fullscreenToggle").el_)}if(t.overlayButton&&!e.getChild("chromecastButton")){e.addChild("chromecastButton",t,n),e.getChild("chromecastButton").el_.classList.add("vjs-cast-big"),e.getChild("chromecastButton").el_.style.position="absolute";var o=e.el().querySelector(".vjs-info");if(o){var i=o.querySelector(".vjs-text");i&&(i.style="padding-left:50px")}}e.on("chromecastRequested",function(e){var t=cast.framework.CastContext.getInstance().getCurrentSession();t?t.endSession(!0):e.chromecastSessionManager.openCastMenu()}.bind(null,e))}function a(e,t){!function(e){cast.framework.CastContext.getInstance().setOptions({receiverApplicationId:e.receiverAppID||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,autoJoinPolicy:chrome.cast.AutoJoinPolicy.ORIGIN_SCOPED})}(t),function(e){e.chromecastSessionManager||(e.chromecastSessionManager=new r(e))}(e),s(e,t)}t.exports=function(e){e.registerPlugin("chromecast",function(e){var t=Object.assign({addButtonToControlBar:!0,button:"overlay",overlayButton:!0,ui:"full"},e||{});this.castOptions=t,this.ready(function(){var e,n,s,l,c;this.controlBar&&(r.isChromecastAPIAvailable()?a(this,t):(e=this,n=t,l=i/o,c=1,s=setInterval(function(){c>l?clearInterval(s):(r.isChromecastAPIAvailable()&&(clearInterval(s),a(e,n)),c+=1)},o)))}.bind(this))})}},{"./chromecast/ChromecastSessionManager":105,"core-js/modules/es.object.assign.js":92}],108:[function(e,t,n){"use strict";e("core-js/modules/es.object.assign.js");var r=e("./preloadWebComponents"),o=e("./components/ChromecastButton"),i=e("./tech/ChromecastTech"),s=e("./enableChromecast");t.exports=function(e,t){Object.assign({preloadWebComponents:!1},t).preloadWebComponents&&r(),e=e||window.videojs,o(e),i(e),s(e)}},{"./components/ChromecastButton":106,"./enableChromecast":107,"./preloadWebComponents":109,"./tech/ChromecastTech":111,"core-js/modules/es.object.assign.js":92}],109:[function(e,t,n){"use strict";function r(e){return"string"==typeof window.navigator.userAgent&&window.navigator.userAgent.indexOf(e)>=0}
1e("core-js/modules/es.array.index-of.js"),t.exports=function(){var t=!document.registerElement,n=r("CriOS");(r("Android")&&r("Chrome/")&&window.navigator.presentation||n)&&t&&e("webcomponents.js/webcomponents-lite.js")}},{"core-js/modules/es.array.index-of.js":87,"webcomponents.js/webcomponents-lite.js":104}],110:[function(e,t,n){"use strict";e("./index")(void 0,window.SILVERMINE_VIDEOJS_CHROMECAST_CONFIG)},{"./index":108}],111:[function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="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})(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,void 0,"symbol"===r(s=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"))?s:String(s)),o)}var i,s}function i(e,t){return(i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,o=l(e);if(t){var i=l(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,n)}}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.reflect.construct.js"),e("core-js/modules/es.object.define-property.js"),e("core-js/modules/es.symbol.to-primitive.js"),e("core-js/modules/es.date.to-primitive.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.number.constructor.js"),e("core-js/modules/es.symbol.iterator.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/es.array.splice.js"),e("core-js/modules/es.object.set-prototype-of.js"),e("core-js/modules/es.object.get-prototype-of.js");var c=e("../chromecast/ChromecastSessionManager"),u=e("./ChromecastTechUI");t.exports=function(e){var t=e.getComponent("Tech"),n=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&i(e,t)}(p,t);var r,l,c,d=s(p);function p(t){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),(n=d.call(this,t)).featuresVolumeControl=!0,n.featuresPlaybackRate=!1,n.movingMediaElementInDOM=!1,n.featuresFullscreenResize=!0,n.featuresTimeupdateEvents=!0,n.featuresProgressEvents=!1,n.featuresNativeTextTracks=!1,n.featuresNativeAudioTracks=!1,n.featuresNativeVideoTracks=!1,n.videojs=e,n._eventListeners=[],n.videojsPlayer=n.videojs(t.playerId),n._chromecastSessionManager=n.videojsPlayer.chromecastSessionManager,n._ui.updatePoster(n.videojsPlayer.poster()),n._remotePlayer=n._chromecastSessionManager.getRemotePlayer(),n._remotePlayerController=n._chromecastSessionManager.getRemotePlayerController(),n._listenToPlayerControllerEvents(),n.on("dispose",n._removeAllEventListeners.bind(a(n))),n._hasPlayedAnyItem=!1,n._requestTitle=t.requestTitleFn||function(){},n._requestSubtitle=t.requestSubtitleFn||function(){},n._requestCustomData=t.requestCustomDataFn||function(){},n._initialStartTime=t.startTime||0,n._isScrubbing=!1,n._isSeeking=!1,n._isChanging=!1,n._live=!1,n.breaks=[],n.options=n.videojsPlayer.castOptions,n.options.adBreaks){n.breakClips=n.options.adBreaks;for(var r=0;r<n.breakClips.length;r++){var o={id:"b"+r,breakClipIds:["bc"+r],position:n.breakClips[r].position};n.breaks.push(o)}}return n._playSource(t.source,this._initialStartTime),n.ready(function(){this.setMuted(t.muted)}.bind(a(n))),n}return r=p,(l=[{key:"createEl",value:function(){return this._ui=this._ui||new u,this._ui.getDOMElement()}},{key:"play",value:function(){this._isChanging||this.paused()&&(this.ended()&&!this._isMediaLoading||this._remotePlayerController.playOrPause())}},{key:"pause",value:function(){!this.paused()&&this._remotePlayer.canPause&&this._remotePlayerController.playOrPause()}},{key:"paused",value:function(){return this._remotePlayer.isPaused||this.ended()||null===this._remotePlayer.playerState}},{key:"setSource",value:function(e){this._currentSource&&this._currentSource.src===e.src&&this._currentSource.type===e.type||this._playSource(e,0)}},{key:"_playSource",value:function(e,t){var n=this.videojsPlayer;this.fakeEnd=!1,this.videojsPlayer.castEnd=!1,this._currentSource=e;var r="",o="",i="",s="";n.castOptions.metaTitle?r=n.castOptions.metaTitle:e.metaTitle&&(r=e.metaTitle),n.castOptions.metaSubtitle?o=n.castOptions.metaSubtitle:e.metaSubtitle&&(o=e.metaSubtitle),""==r&&(n.castOptions.metatitle?r=n.castOptions.metatitle:n.castOptions.title?r=n.castOptions.title:e.metatitle?r=e.metatitle:e.title&&(r=n.castOptions.title)),""==o&&(n.castOptions.metasubtitle?o=n.castOptions.metasubtitle:n.castOptions.subtitle?o=n.castOptions.subtitle:e.metasubtitle?o=e.metasubtitle:e.subtitle?o=e.subtitle:e.description&&(o=e.description)),n.castOptions.releaseDate?s=n.castOptions.releaseDate:e.releaseDate&&(s=e.releaseDate),e.metathumbnail?i=e.metathumbnail:n.castOptions.metathumbnail&&(i=n.castOptions.metathumbnail),""===i&&(e.metaThumbnail?i=e.metaThumbnail:n.castOptions.metaThumbnail?i=n.castOptions.metaThumbnail:e.poster?i=e.poster:n.poster()&&(i=n.poster()
1)),r=r.replace(/(<([^>]+)>)/gi,""),o=o.replace(/(<([^>]+)>)/gi,""),n.el_.className.indexOf("vjs-live")>-1?this._live=!0:this._live=!1;var a,l,c=this._getCastSession(),u=new chrome.cast.media.MediaInfo(e.src,e.type),d="video",p="",f="",h="",m="";if(d=e.type.indexOf("audio")>-1?"audio":"video",this.trigger("waiting"),this._clearSessionTimeout(),a=n.audioInfo(),"audio"==d?(a&&a.title&&a.artist&&(r=a.title.replace(/(<([^>]+)>)/gi,""),p=a.artist.replace(/(<([^>]+)>)/gi,""),a.album&&(f=a.album.replace(/(<([^>]+)>)/gi,"")),a.cover&&(h=a.cover),a.releaseDate&&(m=a.releaseDate)),u.metadata=new chrome.cast.media.MusicTrackMediaMetadata,u.metadata.metadataType=chrome.cast.media.MetadataType.MUSIC_TRACK,u.metadata.title=r,""!=p&&(u.metadata.artist=p),""!=f&&(u.metadata.albumName=f),""!=m&&(u.metadata.releaseDate=m),""!=h&&(u.metadata.images=[new chrome.cast.Image(h)]),u.duration=null):(u.metadata=new chrome.cast.media.GenericMediaMetadata,u.metadata.metadataType=chrome.cast.media.MetadataType.GENERIC,u.metadata.title=r,u.metadata.subtitle=o,u.metadata.releaseDate=s,u.streamType=this.videojsPlayer.liveTracker&&this.videojsPlayer.liveTracker.isLive()?chrome.cast.media.StreamType.LIVE:chrome.cast.media.StreamType.BUFFERED,""!==i&&(u.metadata.images=[{url:i}]),u.duration=null),"audio"==d&&(u.tracks=null),"audio"!=d){var v=[];n.captions&&(v=n.captions);var y=[];if(v.length){var b=[];for(C=0;C<v.length;C++)if("captions"===v[C].kind||"subtitles"===v[C].kind){var g=new chrome.cast.media.Track(C,chrome.cast.media.TrackType.TEXT);g.trackContentId=v[C].src,g.trackContentType="text/vtt","captions"===v[C].kind?g.subtype=chrome.cast.media.TextTrackType.CAPTIONS:"subtitles"===v[C].kind&&(g.subtype=chrome.cast.media.TextTrackType.SUBTITLES),g.name=v[C].label,v[C].language?g.language=v[C].language:v[C].srclang&&(g.language=v[C].srclang),g.customData=null,"showing"==v[C].mode&&y.length<1&&y.push(C),b.push(g)}y.length<1&&(y=[0]);var _=n.castOptions;if(u.textTrackStyle=new chrome.cast.media.TextTrackStyle,_.trackBackground?u.textTrackStyle.backgroundColor=_.trackBackground:u.textTrackStyle.backgroundColor="#00000000",_.trackEdgeColor?u.textTrackStyle.edgeColor=_.trackEdgeColor:u.textTrackStyle.edgeColor="#00000050",_.trackEdgeType){var w=_.trackEdgeType.toUpperCase();u.textTrackStyle.edgeType="DROP_SHADOW"==w||"NONE"==w||"OUTLINE"==w||"RAISED"==w||"DEPRESSED"==w?w:"DROP_SHADOW"}else u.textTrackStyle.edgeType="DROP_SHADOW";if(_.trackFont?u.textTrackStyle.fontFamily=_.trackFont:u.textTrackStyle.fontFamily="CASUAL",_.trackScale?u.textTrackStyle.fontScale=_.trackScale:u.textTrackStyle.fontScale=1,_.trackColor?u.textTrackStyle.foregroundColor=_.trackColor:u.textTrackStyle.foregroundColor="#FFFFFFFF",_.trackStyle){var j=_.trackStyle.toUpperCase();"NORMAL"!=j&&"BOLD"!=j&&"BOLD_ITALIC"!=j&&"ITALIC"!=j||(u.textTrackStyle.fontStyle=j)}u.tracks=b,u.activeTrackIds=y}}if(this.newClip=!1,!0!==this._live)if(e.adBreaks){this.breakClips=e.adBreaks;for(var C=0;C<this.breakClips.length;C++){var S={id:"b"+C,breakClipIds:["bc"+C],position:this.breakClips[C].position};this.breaks.push(S)}u.breakClips=this.breakClips,u.breaks=this.breaks}else this.breaks&&this.breakClips&&(u.breakClips=this.breakClips,u.breaks=this.breaks);if(l=new chrome.cast.media.LoadRequest(u),n.castOptions.ui&&"fixed"==n.castOptions.ui){var k=n.el().querySelector(".vjs-fixed-info");if(k)if(""==o&&""==r){(T=cast.framework.CastContext.getInstance().getCurrentSession().getCastDevice().friendlyName)&&(k.innerHTML="<p>"+n.localize("Casting to")+" "+T+"</p>")}else{var E="";""!==r&&(E=r),""!==o&&(E+=" - "+o),k.innerHTML="<p>"+E+"</p>"}}else{this._ui.prepareTech();var T=cast.framework.CastContext.getInstance().getCurrentSession().getCastDevice().friendlyName,x=n.poster()||n.el().getAttribute("poster");if(this._ui.updatePoster(x),(T=T?n.localize("Casting to")+" <strong>"+T+"</strong>":"")&&this._ui.updateDevice(T),this._ui.updateTitle(u.metadata.title),this._ui.updateSubtitle(u.metadata.subtitle),""!=s)new Date(s)}l.autoplay=!0,l.currentTime=t,"audio"!=d&&y.length>0&&(l.activeTrackIds=y),this._isMediaLoading=!0,this._hasPlayedCurrentItem=!1;setTimeout(function(){n.playlist},5e3);c.loadMedia(l).then(function(){this._hasPlayedAnyItem||this.triggerReady(),this.trigger("loadstart"),this.trigger("loadeddata"),this.trigger("play"),this.trigger("playing"),this._hasPlayedAnyItem=!0,this._isMediaLoading=!1,this._getMediaSession().addUpdateListener(this._onMediaSessionStatusChanged.bind(this))}.bind(this),this._triggerErrorEvent.bind(this)),n.textTracks().on("change",function(e){for(var t=n.textTracks(),r=[],o=0,i=!1,s=0;s<t.length;s++)if(t[s].src){if("showing"==t[s].mode){i=!0,n.currentTrack=t[s].src;r=[o];var a=new chrome.cast.media.EditTracksInfoRequest(r);try{cast.framework.CastContext.getInstance().getCurrentSession().getMediaSession().editTracksInfo(a,function(){},function(){})}catch(e){}}o++}if(1!=i){r=[],a=new chrome.cast.media.EditTracksInfoRequest(r);try{cast.framework.CastContext.getInstance().getCurrentSession().getMediaSession().editTracksInfo(a,function(){},function(){})}catch(e){}}})}},{key:"setCurrentTime",value:function(e){if(!this._isChanging&&!this.live){if(this.scrubbing())return this._scrubbingTime=e,!1;if(!this._isSeeking){var t=this.duration();if(!(e>t)&&this._remotePlayer.canSeek&&t>0){var n=this;this._isSeeking=!0,setTimeout(function(){n._remotePlayer.currentTime=Math.min(t-1,e),n._remotePlayerController.seek(),n._triggerTimeUpdateEvent(),n._triggerTimeUpdateEvent(),n._isSeeking=!1},500),this._triggerTimeUpdateEvent()}}}}},{key:"currentTime",value:function(){if(!this._isChanging&&!this._live)return this._hasPlayedAnyItem&&this._hasPlayedCurrentItem?(this._remotePlayer.currentTime>this._remotePlayer.duration-.5&&(this.fakeEnd=!0,this.videojsPlayer.castEnd=!0),this._remotePlayer.currentTime):this._initialStartTime}},{key:"duration",value:function(){if(!this._isChanging)return this._hasPlayedAnyItem?this._remotePlayer.duration:this.videojsPlayer.duration()}},{key:"playlistNext",value:function(){var e=this.videojsPlayer;if(e.playlist&&e.playlist.length>1){if(e.playlist.currentIndex()==e.playlist.lastIndex()){this._hasPlayedCurrentItem=!1;var t=cast.framework.CastContext.getInstance().getCurrentSession();t&&t.endSession(!0)}else this._isChanging=!0,this._hasPlayedCurrentItem=!1,e.playlist.next()}}},{key:"ended",value:function(){this._getMediaSession();return!1}},{key:"volume",value:function(){return this._remotePlayer.volumeLevel}},{key:"setVolume",value:function(e){this._remotePlayer.volumeLevel=e,this._remotePlayerController.setVolumeLevel(),this._triggerVolumeChangeEvent()}},{key:"muted",value:function(){return this._remotePlayer.isMuted}
1},{key:"setMuted",value:function(e){(this._remotePlayer.isMuted&&!e||!this._remotePlayer.isMuted&&e)&&this._remotePlayerController.muteOrUnmute()}},{key:"poster",value:function(){return this._ui.getPoster()}},{key:"setPoster",value:function(e){this._ui.updatePoster(e)}},{key:"buffered",value:function(){}},{key:"seekable",value:function(){return this.videojs.createTimeRange(0,this.duration())}},{key:"controls",value:function(){return!1}},{key:"playsinline",value:function(){return!0}},{key:"supportsFullScreen",value:function(){return!0}},{key:"setAutoplay",value:function(){}},{key:"playbackRate",value:function(){var e=this._getMediaSession();return e?e.playbackRate:1}},{key:"setPlaybackRate",value:function(){}},{key:"preload",value:function(){}},{key:"load",value:function(){}},{key:"readyState",value:function(){return"IDLE"===this._remotePlayer.playerState||"BUFFERING"===this._remotePlayer.playerState?0:4}},{key:"_listenToPlayerControllerEvents",value:function(){var e=cast.framework.RemotePlayerEventType;this._addEventListener(this._remotePlayerController,e.PLAYER_STATE_CHANGED,this._onPlayerStateChanged,this),this._addEventListener(this._remotePlayerController,e.VOLUME_LEVEL_CHANGED,this._triggerVolumeChangeEvent,this),this._addEventListener(this._remotePlayerController,e.IS_MUTED_CHANGED,this._triggerVolumeChangeEvent,this),this._addEventListener(this._remotePlayerController,e.CURRENT_TIME_CHANGED,this._triggerTimeUpdateEvent,this),this._addEventListener(this._remotePlayerController,e.DURATION_CHANGED,this._triggerDurationChangeEvent,this),this._addEventListener(this._remotePlayerController,e.IS_PLAYING_BREAK_CHANGED,this._triggerPlayingBreakEvent,this),this._addEventListener(this._remotePlayerController,e.WHEN_SKIPPABLE_CHANGED,this._triggerWhenSippableChanged,this),this._addEventListener(this._remotePlayerController,e.CURRENT_BREAK_CLIP_TIME_CHANGED,this._triggerCurrentBreakClipTimeChanged,this),this._addEventListener(this._remotePlayerController,e.BREAK_CLIP_ID_CHANGED,this._triggerBreakClipIdChanged,this)}},{key:"_addEventListener",value:function(e,t,n,r){var o;o={target:e,type:t,callback:n,context:r,listener:n.bind(r)},e.addEventListener(t,o.listener),this._eventListeners.push(o)}},{key:"_removeAllEventListeners",value:function(){for(;this._eventListeners.length>0;)this._removeEventListener(this._eventListeners[0]);this._eventListeners=[]}},{key:"_removeEventListener",value:function(e){var t,n=-1;for(e.target.removeEventListener(e.type,e.listener),t=0;t<this._eventListeners.length;t++)if(this._eventListeners[t].target===e.target&&this._eventListeners[t].type===e.type&&this._eventListeners[t].callback===e.callback&&this._eventListeners[t].context===e.context){n=t;break}-1!==n&&this._eventListeners.splice(n,1)}},{key:"_triggerPlayingBreakEvent",value:function(e){var t=this.videojsPlayer;e.value?t.el().classList.add("vjs-cast-ad"):t.el().classList.remove("vjs-cast-ad")}},{key:"_triggerWhenSippableChanged",value:function(e){this.whenSkippable=e.value}},{key:"_triggerCurrentBreakClipTimeChanged",value:function(e){var t=e.value;null==this.whenSkippable||this.whenSkippable<0?this._removeSkip():t>=this.whenSkippable?this._createSkip():this._removeSkip()}},{key:"_triggerBreakClipIdChanged",value:function(e){this._removeSkip();for(var t=0;t<this.breaks.length;t++)String(this.breaks[t].breakClipIds)!==String(e.value)&&String(e.value)!==String("GENERATED:0")||(this.breaks[t].isWatched=!0)}},{key:"_createSkip",value:function(){if(!(e=this.videojsPlayer).el().querySelector(".vast-skip-button")){var e=this.videojsPlayer,t=document.createElement("div");t.className="vast-skip-button enabled",t.innerHTML=e.localize("Skip Ad"),e.el().appendChild(t);var n=this;t.onclick=function(){n._remotePlayerController.skipAd()}}}},{key:"_skipAd",value:function(){this.getRemotePlayerController().skipAd()}},{key:"_removeSkip",value:function(){var e=this.videojsPlayer,t=e.el().querySelector(".vast-skip-button");t&&e.el().removeChild(t)}},{key:"_onPlayerStateChanged",value:function(){var e=this.videojsPlayer,t=chrome.cast.media.PlayerState,n=this._remotePlayer.playerState;if(n===t.PLAYING)this.breaks&&this.breakClips&&1!=this.newClip&&(this.newClip=!0,!0!==this.live&&this.setAdMarkers(this.breaks)),this._hasPlayedCurrentItem=!0,this._isChanging=!1,this.trigger("play");else if(n===t.PAUSED)this.trigger("pause");else if(n===t.BUFFERING)this.trigger("waiting");
1else if(n===t.IDLE&&chrome.cast.media.IdleReason.CANCELLED){if(this.fakeEnd)if((e=this.videojsPlayer).playlist&&e.playlist.length>0)this.playlistNext();else{this._hasPlayedCurrentItem=!1;var r=cast.framework.CastContext.getInstance().getCurrentSession();r&&r.endSession(!0)}}}},{key:"setAdMarkers",value:function(){this.removeAdMarkers();for(var e=this.videojsPlayer,t=e.el().querySelector(".vjs-progress-holder"),n=this.breakClips,r=0;r<n.length;r++)if(!n[r].isWatched){var o=document.createElement("div");if(o.className="vjs-ad-marker",-1==n[r].position)o.style.right=0;else{var i=e.duration(),s=n[r].position/i*100;o.style.left=s+"%"}t.appendChild(o)}}},{key:"removeAdMarkers",value:function(){this.videojsPlayer.el().querySelector(".vjs-progress-holder").querySelectorAll(".vjs-ad-marker").forEach(function(e){try{e.parentNode.removeChild(e)}catch(e){}})}},{key:"_onMediaSessionStatusChanged",value:function(e){this._hasMediaSessionEnded=!!e}},{key:"_closeSessionOnTimeout",value:function(){this._clearSessionTimeout(),this._sessionTimeoutID=setTimeout(function(){var e=this._getCastSession();e&&e.endSession(!0),this._clearSessionTimeout()}.bind(this),1e4)}},{key:"_clearSessionTimeout",value:function(){this._sessionTimeoutID&&(clearTimeout(this._sessionTimeoutID),this._sessionTimeoutID=!1)}},{key:"_getCastContext",value:function(){return this._chromecastSessionManager.getCastContext()}},{key:"_getCastSession",value:function(){return this._getCastContext().getCurrentSession()}},{key:"_getMediaSession",value:function(){var e=this._getCastSession();return e?e.getMediaSession():null}},{key:"_triggerVolumeChangeEvent",value:function(){this.trigger("volumechange")}},{key:"_triggerTimeUpdateEvent",value:function(){this.trigger("timeupdate")}},{key:"_triggerDurationChangeEvent",value:function(){this.trigger("durationchange")}},{key:"_triggerErrorEvent",value:function(){this.trigger("error")}}])&&o(r.prototype,l),c&&o(r,c),Object.defineProperty(r,"prototype",{writable:!1}),p}();n.canPlaySource=function(){return c.isChromecastConnected()},n.isSupported=function(){return c.isChromecastConnected()},e.registerTech("chromecast",n)}},{"../chromecast/ChromecastSessionManager":105,"./ChromecastTechUI":112,"core-js/modules/es.array.iterator.js":88,"core-js/modules/es.array.splice.js":89,"core-js/modules/es.date.to-primitive.js":90,"core-js/modules/es.number.constructor.js":91,"core-js/modules/es.object.define-property.js":93,"core-js/modules/es.object.get-prototype-of.js":94,"core-js/modules/es.object.set-prototype-of.js":95,"core-js/modules/es.object.to-string.js":96,"core-js/modules/es.reflect.construct.js":97,"core-js/modules/es.string.iterator.js":98,"core-js/modules/es.symbol.description.js":99,"core-js/modules/es.symbol.iterator.js":100,"core-js/modules/es.symbol.js":101,"core-js/modules/es.symbol.to-primitive.js":102,"core-js/modules/web.dom-collections.iterator.js":103}],112:[function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="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})(e)}function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,void 0,"symbol"===r(s=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"))?s:String(s)),o)}var i,s}e("core-js/modules/es.object.define-property.js"),e("core-js/modules/es.symbol.iterator.js"),e("core-js/modules/es.array.iterator.js"),e("core-js/modules/es.string.iterator.js"),e("core-js/modules/web.dom-collections.iterator.js"),e("core-js/modules/es.symbol.to-primitive.js"),e("core-js/modules/es.date.to-primitive.js"),e("core-js/modules/es.symbol.js"),e("core-js/modules/es.symbol.description.js"),e("core-js/modules/es.object.to-string.js"),e("core-js/modules/es.number.constructor.js");var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._el=this._createDOMElement()}var t,n,r;return t=e,(n=[{key:"_createDOMElement",value:function(){var e=this._createElement("div","vjs-tech vjs-tech-chromecast"),t=this._createElement("div","vjs-tech-chromecast-poster"),n=this._createElement("img","vjs-tech-chromecast-poster-img"),r=this._createElement("div","vjs-tech-chromecast-title"),o=this._createElement("div","vjs-tech-chromecast-subtitle"),i=this._createElement("div","vjs-tech-chromecast-title-container");return t.appendChild(n),i.appendChild(r),i.appendChild(o),e.appendChild(i),e.appendChild(t),e}},{key:"_createElement",value:function(e,t){var n=document.createElement(e);return n.className=t,n}},{key:"getDOMElement",value:function(){return this._el}},{key:"_findPosterEl",value:function(){return this._el.querySelector(".vjs-tech-chromecast-poster")}},{key:"_findPosterImageEl",value:function(){return this._el.querySelector(".vjs-tech-chromecast-poster-img")}},{key:"_findTitleEl",value:function(){return this._el.querySelector(".vjs-tech-chromecast-title")}},{key:"_findSubtitleEl",value:function(){return this._el.querySelector(".vjs-tech-chromecast-subtitle")}},{key:"updatePoster",value:function(e){var t=this._el.querySelector(".vjs-tech-chromecast-poster");null==t&&(t=this._createElement("div","vjs-tech-chromecast-poster"),this._el.prepend(t)),this._poster=e||null,e&&null!=t?t.style.backgroundImage="url("+e+")":null!=t&&(t.style.backgroundImage="")}},{key:"getPoster",value:function(){return this._poster}},{key:"updateDevice",value:function(e){var t=this.findDeviceEl();""!=e?(t.innerHTML=e,t.classList.remove("vjs-tech-chromecast-device-empty")):t.classList.add("vjs-tech-chromecast-devcice-empty")}},{key:"findDeviceEl",value:function(){return this._el.querySelector(".vjs-tech-chromecast-device")}},{key:"updateTitle",value:function(e){var t=this._findTitleEl();this._title=e,e?(t.innerHTML=e,t.classList.remove("vjs-tech-chromecast-title-empty")):t.classList.add("vjs-tech-chromecast-title-empty")}},{key:"prepareTech",value:function(){this._el.innerHTML="";var e=this._createElement("div","vjs-tech-chromecast-poster"),t=this._createElement("img","vjs-tech-chromecast-poster-img"),n=this._createElement("div","vjs-tech-chromecast-device"),r=this._createElement("div","vjs-tech-chromecast-title"),o=this._createElement("div","vjs-tech-chromecast-subtitle"),i=this._createElement("div","vjs-tech-chromecast-subtitle vjs-ch-s-2"),s=this._createElement("div","vjs-tech-chromecast-title-container");s.appendChild(n),s.appendChild(r),s.appendChild(o),s.appendChild(i),e.appendChild(t),this._el.appendChild(s)}},{key:"updateSubtitle",value:function(e){var t=this._findSubtitleEl();this._subtitle=e,e?(t.innerHTML=e,t.classList.remove("vjs-tech-chromecast-subtitle-empty")):t.classList.add("vjs-tech-chromecast-subtitle-empty")}},{key:"updateSubtitle2",value:function(e){var t=this._findSubtitleEl();this._subtitle=e,e?(t.innerHTML=e,t.classList.remove("vjs-tech-chromecast-subtitle-empty")):t.classList.add("vjs-tech-chromecast-subtitle-empty")}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.exports=i},{"core-js/modules/es.array.iterator.js":88,"core-js/modules/es.date.to-primitive.js":90,"core-js/modules/es.number.constructor.js":91,"core-js/modules/es.object.define-property.js":93,"core-js/modules/es.object.to-string.js":96,"core-js/modules/es.string.iterator.js":98,"core-js/modules/es.symbol.description.js":99,"core-js/modules/es.symbol.iterator.js":100,"core-js/modules/es.symbol.js":101,"core-js/modules/es.symbol.to-primitive.js":102,"core-js/modules/web.dom-collections.iterator.js":103}]},{},[110]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.