"),i.write(""),i.close(),r.focus(),r.print(),setTimeout(function(){n.remove()},6e4)},t}(s.Component);t.TranscriptComponent=f},function(e,t,n){var r=n(111);"string"==typeof r&&(r=[[e.i,r,""]]);var i={singleton:!0,attrs:{"data-gvp":"data-gvp"}};i.transform=void 0;n(6)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(498);"string"==typeof r&&(r=[[e.i,r,""]]);var i={singleton:!0,attrs:{"data-gvp":"data-gvp"}};i.transform=void 0;n(6)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){var r=n(499);"string"==typeof r&&(r=[[e.i,r,""]]);var i={singleton:!0,attrs:{"data-gvp":"data-gvp"}};i.transform=void 0;n(6)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(5)(void 0),t.i(n(17),void 0),t.i(n(8),void 0),t.push([e.i,'.gvp_panel__panel___2mBuO {\n display: flex;\n flex-direction: column;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n white-space: normal;\n min-height: 0;\n max-height: 100%;\n background: #ffffff;\n border-radius: 7px;\n padding: 10px;\n box-sizing: border-box;\n text-align: left;\n transition: all .25s, opacity .25s .1s;\n}\n.gvp_panel__button___3ZQNs {\n flex: 0 0 auto;\n -ms-flex: 0 0 auto;\n width: 46px;\n height: 46px;\n padding: 4px;\n}\n.gvp_panel__button___3ZQNs:hover path {\n fill: #666666;\n}\n.gvp_panel__utilities___1wXst {\n flex: 0 0 auto;\n -ms-flex: 0 0 auto;\n margin-top: 10px;\n font-size: 1em;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.gvp_panel__panel___2mBuO[min-width~="0px"][max-width~="214px"] .gvp_panel__utilities___1wXst {\n flex-wrap: wrap;\n}\n.gvp_panel__field___3Muc1 {\n flex: 1 1 auto;\n -ms-flex: 1 1 auto;\n font-size: 1em;\n height: 2.4em !important;\n position: relative;\n}\n.gvp_panel__icon___3weYT {\n position: absolute;\n height: 28px;\n width: 28px;\n fill: #999999;\n top: 50%;\n left: 4px;\n transform: translate(0, -50%);\n z-index: 1;\n}\n.gvp_panel__input___3fvlF {\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n min-width: 0px;\n background-color: #ffffff;\n border-radius: 6px;\n border: 1px solid #d2d2d2;\n box-shadow: -1px 3px 2px -2px rgba(0, 0, 0, 0.08) inset;\n transition: border .3s linear 0s;\n margin: 0px !important;\n padding-left: 34px !important;\n}\n.gvp_panel__input___3fvlF:focus {\n border: 1px solid #d2d2d2;\n outline: 0px;\n}\n.gvp_panel__body___3VBDb {\n /*border:1px solid #f5f5f5;*/\n background-color: #f2f2f2;\n border-radius: 7px;\n line-height: 1.5em;\n /*margin-top: 10px;*/\n overflow-y: scroll;\n overflow-x: hidden;\n flex: 1 1 auto;\n position: relative;\n text-align: left;\n}\n/*\nextra styles of content placeholder\n*/\n.gvp_panel__input___3fvlF::-webkit-input-placeholder {\n /* Chrome/Opera/Safari */\n font-family: Omnes-ATT-W02, Omnes_att_ii_regular, "Helvetica Neue", Helvetica, Arial, sans-serif;\n}\n.gvp_panel__input___3fvlF::-moz-placeholder {\n /* Firefox 19+ */\n font-family: Omnes-ATT-W02, Omnes_att_ii_regular, "Helvetica Neue", Helvetica, Arial, sans-serif;\n}\n.gvp_panel__input___3fvlF:-ms-input-placeholder {\n /* IE 10+ */\n font-family: Omnes-ATT-W02, Omnes_att_ii_regular, "Helvetica Neue", Helvetica, Arial, sans-serif;\n}\n.gvp_panel__input___3fvlF:-moz-placeholder {\n /* Firefox 18- */\n font-family: Omnes-ATT-W02, Omnes_att_ii_regular, "Helvetica Neue", Helvetica, Arial, sans-serif;\n}\n',""]),t.locals={panel:"gvp_panel__panel___2mBuO",button:"gvp_panel__button___3ZQNs "+n(17).locals.gvpButton,utilities:"gvp_panel__utilities___1wXst",field:"gvp_panel__field___3Muc1",icon:"gvp_panel__icon___3weYT",input:"gvp_panel__input___3fvlF "+n(8).locals["font-regular"]+" "+n(8).locals.focused,body:"gvp_panel__body___3VBDb"}},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),window.gvp||(window.gvp=function(e,t,n){if(t&&"function"==typeof t)return n?void u.MetaDataSingleton.add(e,function(){t(new l.MetaDataSolr(u.MetaDataSingleton.getMetaDataWithId(e).data))}):void new s.LinkedDataSchema(e,s.LinkedDataSchema.VIDEO,function(n){t(''+n.outerHTML+"")})},window.gvp.instances=[],window.gvp.reset=function(){for(var e=function(e){for(var t=0;t1)&&b(this)}}}),Le(o,V,{value:function(e){-1>0),F="addEventListener",k="attached",B="Callback",U="detached",j="extends",V="attributeChanged"+B,H=k+B,q="connected"+B,G="disconnected"+B,Y="created"+B,z=U+B,K="ADDITION",W="MODIFICATION",X="REMOVAL",Q="DOMAttrModified",$="DOMContentLoaded",Z="DOMSubtreeModified",J="<",ee="=",te=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],re=[],ie=[],oe="",ae=w.documentElement,se=re.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},ue=A.prototype,le=ue.hasOwnProperty,ce=ue.isPrototypeOf,fe=A.defineProperty,de=[],pe=A.getOwnPropertyDescriptor,he=A.getOwnPropertyNames,ge=A.getPrototypeOf,_e=A.setPrototypeOf,me=!!A.__proto__,ve=!1,ye="__dreCEv1",be=e.customElements,Te=!/^force/.test(t.type)&&!!(be&&be.define&&be.get&&be.whenDefined),Ee=A.create||A,we=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(r,i){e=se.call(t,r),e<0?n[t.push(r)-1]=i:n[e]=i}}},Ae=e.Promise||function(e){function t(e){for(r=!0;n.length;)n.shift()(e)}var n=[],r=!1,i={catch:function(){return i},then:function(e){return n.push(e),r&&setTimeout(t,1),i}};return e(t),i},xe=!1,Se=Ee(null),Ce=Ee(null),Ie=new we,Oe=function(e){return e.toLowerCase()},Me=A.create||function e(t){return t?(e.prototype=t,new e):this},De=_e||(me?function(e,t){return e.__proto__=t,e}:he&&pe?function(){function e(e,t){for(var n,r=he(t),i=0,o=r.length;i1&&window.addEventListener("resize",n.handleWindowResize),n.populateVideoData(e[n.getClosestWidthContainingData(t,n.viewport().right)])},n.getClosestWidthContainingData=function(e,t){for(var n=1/0,r=0;r=t&&(n=i)}return n},n.dataAsset=function(e){var t=n._idData;try{e=JSON.parse(e)||""}catch(t){e=e||""}"string"!=typeof e&&e!==parseInt(e,10)||(e={Infinity:String(e)}),n._id=e;for(var r in e){var i=e[r],o=t[r]=t[r]?t[r]:d({},n._defaultData);if(null!==i&&"null"!==i||(i="",o.solr=!0,o.source=[]),o.asset=i,o.breakpoint=r,o.solr||s.Utils.isValidUrl(i))s.Utils.isValidUrl(i)&&(t[r].poster=i,t[r].source=[n.fixFileName(i)]);else if(i){o.solr=!0,l.MetaDataSingleton.add(i,function(e,r){return function(){var i=new c.MetaDataSolr(l.MetaDataSingleton.getMetaDataWithId(r).data);for(var o in i)e[o]=i[o];n.checkCurrentBreakpoint(t)}}(o,i));continue}}n.checkCurrentBreakpoint(t)},n.dataLoop=function(e){var t=n._idData;try{e=JSON.parse(e)||!1}catch(t){e=e||!1}"boolean"==typeof e&&(n._loop!=e&&(n._loop=e,n.invalidate()),e={Infinity:e}),n._loopData=e;for(var r in e){(t[r]=t[r]?t[r]:d({},n._defaultData)).loop=e[r]}n.checkCurrentBreakpoint(t)},n.fixFileName=function(e,t){return e?e.replace(/\.[^\/.]+$/,"").replace(/_(480)$/i,"")+(t?"."+t:""):""},n.handleWindowResize=function(){window.removeEventListener("resize",n.handleWindowResize),n.dataAsset(n._id),n.dataLoop(n._loopData)},n.playIfViewable=function(){n.viewable()&&n._playSet?n.play=!0:n.play=!1},n.populateVideoData=function(e){var t=!1;if(e){if(e.source){var r="inline";e.source[0]||(r="none"),n.element.style.display=r}void 0===e.loop||o(n._loop,e.loop)||(n._loop=e.loop||!1,t=!0),e.poster&&(e.poster=n.fixFileName(e.poster,"jpg"),o(n.poster,e.poster)||(n.poster=e.poster,t=!0)),e.sourceTypes&&!o(n.sourceTypes,e.sourceTypes)&&(n.sourceTypes=e.sourceTypes),e.source&&!o(n.source,e.source)&&(n.source=e.source),t&&e.source&&e.source[0]&&n.invalidate()}},n.element.innerHTML="",n.subscribe("asset",n.dataAsset),n.subscribe("dataasset",n.dataAsset),n.subscribe("loop",n.dataLoop),n.subscribe("dataloop",n.dataLoop),n.subscribe("poster",function(e){n.poster=e}),n.subscribe("playing",function(e){n.autoPlay="false"!==e,n.playIfViewable()}),t.addEventListener("play",function(e){n._playSet=!0,n.playIfViewable()}),t.addEventListener("pause",function(e){n._playSet=!1,n.play=!1}),window.removeEventListener("scroll",n.playIfViewable),window.addEventListener("scroll",n.playIfViewable),n}return i(t,e),Object.defineProperty(t.prototype,"autoPlay",{get:function(){return this._autoPlay},set:function(e){this._autoPlay!==e&&(this._autoPlay=this._playSet=e,this.invalidate())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"play",{set:function(e){this._videoComponent&&(this._videoComponent.playing=!(!e||!this.viewable()))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"poster",{get:function(){return this._poster},set:function(e){this._poster&&this._poster===e||(this._poster=this.fixFileName(e,"jpg"))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"source",{get:function(){return this._source},set:function(e){if(this._source=e,this.invalidate(),e[0]){var t=this._videoComponent;if(t){var n=t.video,r=t.player;if(s.Utils.includes(this.sourceTypes,"m3u8")&&t.canPlayHls||!s.Utils.includes(this.sourceTypes,"mpd"))return r&&r.reset(),n.load(),n.removeEventListener("canplay",this.playIfViewable),void n.addEventListener("canplay",this.playIfViewable);t.buildDashSource()}}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"sourceTypes",{get:function(){return this._sourceTypes},set:function(e){this._sourceTypes=e,this.invalidate()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"html",{get:function(){var e=this;return this.source?e.parse(u.VideoComponent,r({id:"_videoComponent",sourceTypes:this.sourceTypes},{autoPlay:this.autoPlay,loop:this._loop,poster:this.poster},{class:f.main,muted:!0,source:this.source,objectFit:"true"})):null},enumerable:!0,configurable:!0}),t}(a.RendererVDom);t.GvpBackground=p},function(e,t,n){function r(e,t,n,a,s){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:i(e,t,n,a,r,s))}var i=n(206),o=n(42);e.exports=r},function(e,t,n){function r(e,t,n,r,_,v){var y=l(e),b=l(t),T=y?h:u(e),E=b?h:u(t);T=T==p?g:T,E=E==p?g:E;var w=T==g,A=E==g,x=T==E;if(x&&c(e)){if(!c(t))return!1;y=!0,w=!1}if(x&&!w)return v||(v=new i),y||f(e)?o(e,t,n,r,_,v):a(e,t,T,n,r,_,v);if(!(n&d)){var S=w&&m.call(e,"__wrapped__"),C=A&&m.call(t,"__wrapped__");if(S||C){var I=S?e.value():e,O=C?t.value():t;return v||(v=new i),_(I,O,n,r,v)}}return!!x&&(v||(v=new i),s(e,t,n,r,_,v))}var i=n(113),o=n(212),a=n(216),s=n(217),u=n(219),l=n(33),c=n(115),f=n(116),d=1,p="[object Arguments]",h="[object Array]",g="[object Object]",_=Object.prototype,m=_.hasOwnProperty;e.exports=r},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function r(e){var t=this.__data__,n=i(t,e);return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}var i=n(41),o=Array.prototype,a=o.splice;e.exports=r},function(e,t,n){function r(e){var t=this.__data__,n=i(t,e);return n<0?void 0:t[n][1]}var i=n(41);e.exports=r},function(e,t,n){function r(e){return i(this.__data__,e)>-1}var i=n(41);e.exports=r},function(e,t,n){function r(e,t){var n=this.__data__,r=i(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var i=n(41);e.exports=r},function(e,t,n){function r(e,t,n,r,l,c){var f=n&s,d=e.length,p=t.length;if(d!=p&&!(f&&p>d))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var g=-1,_=!0,m=n&u?new i:void 0;for(c.set(e,t),c.set(t,e);++g-1}var i=n(114);e.exports=r},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){function r(e,t,n,r,a,u){var l=n&o,c=i(e),f=c.length;if(f!=i(t).length&&!l)return!1;for(var d=f;d--;){var p=c[d];if(!(l?p in t:s.call(t,p)))return!1}var h=u.get(e);if(h&&u.get(t))return h==t;var g=!0;u.set(e,t),u.set(t,e);for(var _=l;++dc?l:c,p=0;p=i.length?t.length:i[u],m=0;m=_&&s.push(v)}for(var y,b=s.slice(),T=0,E=[],w=[],A=0;A>0,i=e[r],o===a)return i>=t&&i<=n;if(in))return!0;a=r-1}}return!1}function o(e,t){return e>t?1:-1}var a={};e.exports=n},function(e,t,n){function r(e,t,n){var r=e.type,l=e.vNode,p=e.patch;switch(r){case h.REMOVE:return i(t,l);case h.INSERT:return o(t,p,n);case h.VTEXT:return a(t,l,p,n);case h.WIDGET:return s(t,l,p,n);case h.VNODE:return u(t,l,p,n);case h.ORDER:return c(t,p),t;case h.PROPS:return d(t,p,l.properties),t;case h.THUNK:return f(t,n.patch(t,p,n));default:return t}}function i(e,t){var n=e.parentNode;return n&&n.removeChild(e),l(e,t),null}function o(e,t,n){var r=n.render(t,n);return e&&e.appendChild(r),e}function a(e,t,n,r){var i;if(3===e.nodeType)e.replaceData(0,e.length,n.text),i=e;else{var o=e.parentNode;i=r.render(n,r),o&&i!==e&&o.replaceChild(i,e)}return i}function s(e,t,n,r){var i,o=g(t,n);i=o?n.update(t,e)||e:r.render(n,r);var a=e.parentNode;return a&&i!==e&&a.replaceChild(i,e),o||l(e,t),i}function u(e,t,n,r){var i=e.parentNode,o=r.render(n,r);return i&&o!==e&&i.replaceChild(o,e),o}function l(e,t){"function"==typeof t.destroy&&p(t)&&t.destroy(e)}function c(e,t){for(var n,r,i,o=e.childNodes,a={},s=0;s=u++?null:o[i.to])}function f(e,t){return e&&t&&e!==t&&e.parentNode&&e.parentNode.replaceChild(t,e),t}var d=n(123),p=n(22),h=n(118),g=n(228);e.exports=r},function(e,t,n){function r(e,t){return!(!i(e)||!i(t))&&("name"in e&&"name"in t?e.id===t.id:e.init===t.init)}var i=n(22);e.exports=r},function(e,t,n){var r=n(230);e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r,a,u,l,c=[];return!n&&s(t)&&(n=t,a={}),a=a||t||{},r=v(e,a),a.hasOwnProperty("key")&&(u=a.key,a.key=void 0),a.hasOwnProperty("namespace")&&(l=a.namespace,a.namespace=void 0),"INPUT"!==r||l||!a.hasOwnProperty("value")||void 0===a.value||_(a.value)||(a.value=y(a.value)),o(a),void 0!==n&&null!==n&&i(n,c,r,a),new f(r,a,c,u,l)}function i(e,t,n,r){if("string"==typeof e)t.push(new d(e));else if("number"==typeof e)t.push(new d(String(e)));else if(a(e))t.push(e);else{if(!c(e)){if(null===e||void 0===e)return;throw u({foreignObject:e,parentVnode:{tagName:n,properties:r}})}for(var o=0;o>>0:o>>>0;(s=i.exec(r))&&!((u=s.index+s[0].length)>d&&(c.push(r.slice(d,s.index)),!n&&s.length>1&&s[0].replace(a,function(){for(var t=1;t1&&s.index=o));)i.lastIndex===s.index&&i.lastIndex++;return d===r.length?!l&&i.test("")||c.push(""):c.push(r.slice(d)),c.length>o?c.slice(0,o):c}}()},function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);this.value=e}e.exports=r,r.prototype.hook=function(e,t){e[t]!==this.value&&(e[t]=this.value)}},function(e,t,n){"use strict";function r(e){if(!(this instanceof r))return new r(e);this.value=e}var i=n(235);e.exports=r,r.prototype.hook=function(e,t){i(e)[t.substr(3)]=this.value},r.prototype.unhook=function(e,t){i(e)[t.substr(3)]=void 0}},function(e,t,n){"use strict";function r(e){var t=e[o];return t||(t=e[o]={}),t}var i=n(236);i("ev-store","7");var o="__EV_STORE_KEY@7";e.exports=r},function(e,t,n){"use strict";function r(e,t,n){var r="__INDIVIDUAL_ONE_VERSION_"+e,o=r+"_ENFORCE_SINGLETON",a=i(o,t);if(a!==t)throw new Error("Can only have one copy of "+e+".\nYou already have version "+a+" installed.\nThis means you cannot install version "+t);return i(r,n)}var i=n(237);e.exports=r},function(e,t,n){"use strict";(function(t){function n(e,t){return e in r?r[e]:(r[e]=t,t)}var r="undefined"!=typeof window?window:void 0!==t?t:{};e.exports=n}).call(t,n(11))},function(e,t,n){var r=n(122);e.exports=r},function(e,t,n){(function(e,t){!function(e,n){"use strict";function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0&&e.slice(n,u)==t}var i=n(241),o=n(126),a=n(129),s=n(246);e.exports=r},function(e,t){function n(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}e.exports=n},function(e,t,n){var r=n(81),i=r.Symbol;e.exports=i},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(11))},function(e,t,n){function r(e){if(!e)return 0===e?e:0;if((e=i(e))===o||e===-o){return(e<0?-1:1)*a}return e===e?e:0}var i=n(245),o=1/0,a=1.7976931348623157e308;e.exports=r},function(e,t,n){function r(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=l.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):u.test(e)?a:+e}var i=n(36),o=n(128),a=NaN,s=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=r},function(e,t,n){function r(e){return null==e?"":i(e)}var i=n(126);e.exports=r},function(e,t,n){function r(e,t,n,r){e=o(e)?e:u(e),n=n&&!r?s(n):0;var c=e.length;return n<0&&(n=l(c+n,0)),a(e)?n<=c&&e.indexOf(t,n)>-1:!!c&&i(e,t,n)>-1}var i=n(114),o=n(130),a=n(132),s=n(129),u=n(249),l=Math.max;e.exports=r},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}var r=9007199254740991;e.exports=n},function(e,t,n){function r(e){return null==e?[]:i(e,o(e))}var i=n(250),o=n(251);e.exports=r},function(e,t,n){function r(e,t){return i(t,function(t){return e[t]})}var i=n(127);e.exports=r},function(e,t,n){var r=n(78),i=r(Object.keys,Object);e.exports=i},function(e,t,n){var r=n(253),i=n(138),o=i(function(e,t,n,i){r(e,t,n,i)});e.exports=o},function(e,t,n){function r(e,t,n,f,d){e!==t&&a(t,function(a,l){if(u(a))d||(d=new i),s(e,t,l,n,r,f,d);else{var p=f?f(c(e,l),a,l+"",e,t,d):void 0;void 0===p&&(p=a),o(e,l,p)}},l)}var i=n(113),o=n(133),a=n(256),s=n(258),u=n(36),l=n(84),c=n(136);e.exports=r},function(e,t,n){var r=n(255),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){var r=n(257),i=r();e.exports=i},function(e,t){function n(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var u=a[e?s:++i];if(!1===n(o[u],u,o))break}return t}}e.exports=n},function(e,t,n){function r(e,t,n,r,y,b,T){var E=m(e,n),w=m(t,n),A=T.get(w);if(A)return void i(e,n,A);var x=b?b(E,w,n+"",e,t,T):void 0,S=void 0===x;if(S){var C=c(w),I=!C&&d(w),O=!C&&!I&&_(w);x=w,C||I||O?c(E)?x=E:f(E)?x=s(E):I?(S=!1,x=o(w,!0)):O?(S=!1,x=a(w,!0)):x=[]:g(w)||l(w)?(x=E,l(E)?x=v(E):(!h(E)||r&&p(E))&&(x=u(w))):S=!1}S&&(T.set(w,x),y(x,w,r,b,T),T.delete(w)),i(e,n,x)}var i=n(133),o=n(259),a=n(260),s=n(263),u=n(264),l=n(267),c=n(33),f=n(268),d=n(115),p=n(131),h=n(36),g=n(269),_=n(116),m=n(136),v=n(270);e.exports=r},function(e,t,n){(function(e){function r(e,t){if(t)return e.slice();var n=e.length,r=l?l(n):new e.constructor(n);return e.copy(r),r}var i=n(81),o="object"==typeof t&&t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===o,u=s?i.Buffer:void 0,l=u?u.allocUnsafe:void 0;e.exports=r}).call(t,n(134)(e))},function(e,t,n){function r(e,t){var n=t?i(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var i=n(261);e.exports=r},function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new i(t).set(new i(e)),t}var i=n(262);e.exports=r},function(e,t,n){var r=n(81),i=r.Uint8Array;e.exports=i},function(e,t){function n(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=i&&(s+=r.value),"max"==r.mode&&o<=i&&(s+=r.value),a[u]||(a[u]=""),s&&-1===(" "+a[u]+" ").indexOf(" "+s+" ")&&(a[u]+=" "+s));for(var e in f)f.hasOwnProperty(e)&&(a[f[e]]?this.element.setAttribute(f[e],a[f[e]].substr(1)):this.element.removeAttribute(f[e]))}}function o(e,n){e.elementQueriesSetupInformation?e.elementQueriesSetupInformation.addOption(n):(e.elementQueriesSetupInformation=new i(e),e.elementQueriesSetupInformation.addOption(n),e.elementQueriesSensor=new t(e,function(){e.elementQueriesSetupInformation.call()})),e.elementQueriesSetupInformation.call(),p&&h.indexOf(e)<0&&h.push(e)}function a(e,t,n,r){void 0===g[t]&&(g[t]={}),void 0===g[t][n]&&(g[t][n]={}),void 0===g[t][n][r]?g[t][n][r]=e:g[t][n][r]+=","+e}function s(){var e;if(document.querySelectorAll&&(e=document.querySelectorAll.bind(document)),e||"undefined"==typeof $$||(e=$$),e||"undefined"==typeof jQuery||(e=jQuery),!e)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return e}function u(){var e=s();for(var t in g)if(g.hasOwnProperty(t))for(var n in g[t])if(g[t].hasOwnProperty(n))for(var r in g[t][n])if(g[t][n].hasOwnProperty(r))for(var i=e(g[t][n][r]),a=0,u=i.length;ai[t].minWidth&&(n=t);if(n||(n=a),s!=n)if(u[n])r[s].style.display="none",r[n].style.display="block",s=n;else{var l=new Image;l.onload=function(){r[n].src=o[n],r[s].style.display="none",r[n].style.display="block",u[n]=!0,s=n},l.src=o[n]}else r[n].src=o[n]}var r=[],i=[],o=[],a=0,s=-1,u=[];for(var l in e.children)if(e.children.hasOwnProperty(l)&&e.children[l].tagName&&"img"===e.children[l].tagName.toLowerCase()){r.push(e.children[l]);var c=e.children[l].getAttribute("min-width")||e.children[l].getAttribute("data-min-width"),f=e.children[l].getAttribute("data-src")||e.children[l].getAttribute("url");o.push(f);var d={minWidth:c};i.push(d),c?e.children[l].style.display="none":(a=r.length-1,e.children[l].style.display="block")}s=a,e.resizeSensor=new t(e,n),n(),p&&h.push(e)}function c(){for(var e=s(),t=e("[data-responsive-image],[responsive-image]"),n=0,r=t.length;n img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img { width: 100%;}",document.getElementsByTagName("head")[0].appendChild(r),v=!0}u(),c()},this.update=function(e){this.init(e)},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready or call ElementQueryes.update(true).";for(var e;e=h.pop();)r.detach(e);h=[]}};r.update=function(e){r.instance.update(e)},r.detach=function(e){e.elementQueriesSetupInformation?(e.elementQueriesSensor.detach(),delete e.elementQueriesSetupInformation,delete e.elementQueriesSensor):e.resizeSensor&&(e.resizeSensor.detach(),delete e.resizeSensor)},r.withTracking=!1,r.init=function(){r.instance||(r.instance=new r),r.instance.init(r.withTracking)};var i=function(e){if(document.addEventListener)document.addEventListener("DOMContentLoaded",e,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var t=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(e(),clearInterval(t))},10);else window.onload=e};r.listen=function(){i(r.init)},void 0!==e&&void 0!==e.exports?e.exports=r:(window.ElementQueries=r,r.listen())}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(284),o=n(403),a=r(o),s=n(422),u=r(s),l=n(437),c=r(l);dashjs.Protection=u.default,dashjs.MetricsReporting=a.default,dashjs.MediaPlayerFactory=c.default,t.default=dashjs,t.MediaPlayer=i.MediaPlayer,t.Protection=u.default,t.MetricsReporting=a.default,t.MediaPlayerFactory=c.default},function(e,t,n){"use strict";(function(e){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(141),o=r(i),a=n(0),s=r(a),u=n(164),l="undefined"!=typeof window&&window||e,c=l.dashjs;c||(c=l.dashjs={}),c.MediaPlayer=o.default,c.FactoryMaker=s.default,c.Version=(0,u.getVersionString)(),t.default=c,t.MediaPlayer=o.default,t.FactoryMaker=s.default}).call(t,n(11))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){function e(e){_e=e,$(),me=_e.manifestInfo.isDynamic,fe=_e.start,te.on(h.default.DATA_UPDATE_COMPLETED,P,this),te.on(h.default.BYTES_APPENDED,X,this),te.on(h.default.BUFFER_LEVEL_STATE_CHANGED,Q,this),te.on(h.default.PERIOD_SWITCH_STARTED,t,this),ye&&(ye=!1,r())}function t(e){!me&&e.fromStreamInfo&&void 0!==pe[e.fromStreamInfo.id]&&(delete ge[e.fromStreamInfo.id],delete pe[e.fromStreamInfo.id])}function n(){var e=I(!0),t=me?e-_e.start:0;return parseFloat((e+(_e.duration-t)-f()).toFixed(5))}function r(){_e&&le&&le.getElement()?le.play():ye=!0}function i(){return _e&&le?le.isPaused():null}function o(){_e&&le&&le.pause()}function s(){return _e&&le?le.isSeeking():null}function l(e){_e&&le&&(te.trigger(h.default.PLAYBACK_SEEK_ASKED),ee("Requesting seek to time: "+e),le.setCurrentTime(e))}function f(){return _e&&le?le.getTime():null}function p(){return _e&&le?le.getPlaybackRate():null}function g(){return _e&&le?le.getPlayedRanges():null}function _(){return _e&&le?le.getEnded():null}function m(){return me}function b(){return re}function T(e){fe=e}function E(){return fe}function w(e,t){var n=se.getMpd(ae.getValue()),r=void 0,i=void 0;if(r=ve.getUseSuggestedPresentationDelay()&&n.hasOwnProperty(a.default.SUGGESTED_PRESENTATION_DELAY)?n.suggestedPresentationDelay:ve.getLiveDelay()?ve.getLiveDelay():isNaN(e)?2*_e.manifestInfo.minBufferTime:e*ve.getLiveDelayFragmentCount(),t>0){var o=Math.max(t-10,t/2);i=Math.min(r,o)}else i=r;return he=i,i}function A(){return he}function x(){ce=0,fe=NaN,de=null,ye=!1,pe={},he=0,ge={},le&&(te.off(h.default.DATA_UPDATE_COMPLETED,P,this),te.off(h.default.BUFFER_LEVEL_STATE_CHANGED,Q,this),te.off(h.default.BYTES_APPENDED,X,this),te.off(h.default.PERIOD_SWITCH_STARTED,t,this),D(),Z()),le=null,_e=null,me=null}function S(e){e&&(e.streamController&&(re=e.streamController),e.metricsModel&&(ie=e.metricsModel),e.dashMetrics&&(oe=e.dashMetrics),e.manifestModel&&(ae=e.manifestModel),e.dashManifestModel&&(se=e.dashManifestModel),e.mediaPlayerModel&&(ve=e.mediaPlayerModel),e.adapter&&(ue=e.adapter),e.videoModel&&(le=e.videoModel))}function C(){var e=(0,c.default)(J).getInstance().getURIFragmentData(),t=void 0;if(e){t={};var n=parseInt(e.r,10);n>=0&&_e&&n<_e.manifestInfo.DVRWindowSize&&null===e.t&&(e.t=Math.floor(Date.now()/1e3)-_e.manifestInfo.DVRWindowSize+n),t.fragS=parseInt(e.s,10),t.fragT=parseInt(e.t,10)}return t}function I(e,t){var n=void 0,r=NaN,i=C();if(r=i?e?_e.start:isNaN(i.fragS)?i.fragT:i.fragS:0,me)isNaN(r)||((n=r-_e.manifestInfo.availableFrom.getTime()/1e3)>fe||n<(isNaN(t)?NaN:t-_e.manifestInfo.DVRWindowSize))&&(n=null),n=n||fe;else if(!isNaN(r)&&r=0)n=r;else{var o=pe[_e.id];n=void 0!==o?Math.max(void 0!==o.audio?o.audio:0,void 0!==o.video?o.video:0,_e.start):_e.start}return n}function O(e){var t=ie.getReadOnlyMetricsFor(a.default.VIDEO)||ie.getReadOnlyMetricsFor(a.default.AUDIO),n=oe.getCurrentDVRInfo(t),r=n?n.range:null,i=void 0;if(!r)return NaN;if(e>r.end)i=Math.max(r.end-2*_e.manifestInfo.minBufferTime,r.start);else{if(!(e+.25be+y)&&(be=e,j())}function H(){te.trigger(h.default.PLAYBACK_PROGRESS)}function q(){var e=p();ee("Native video element event: ratechange: ",e),te.trigger(h.default.PLAYBACK_RATE_CHANGED,{playbackRate:e})}function G(){ee("Native video element event: loadedmetadata"),te.trigger(h.default.PLAYBACK_METADATA_LOADED),M()}function Y(){ee("Native video element event: ended"),o(),D(),te.trigger(h.default.PLAYBACK_ENDED)}function z(e){var t=e.target||e.srcElement;te.trigger(h.default.PLAYBACK_ERROR,{error:t.error})}function K(){te.trigger(h.default.WALLCLOCK_TIME_UPDATED,{isDynamic:me,time:new Date}),m()&&i()&&V()}function W(e,t){if(t&&t.length>0)for(var n=0,r=t.length;n=t.start(n)&&en?pe[_e.id].video:n,r=ge[_e.id].audio):(t=pe[_e.id].audio>n?pe[_e.id].audio:n,r=ge[_e.id].video),W(t,r)&&(s()||l(t),pe[_e.id].started=!0)):pe[_e.id][i]&&(t=pe[_e.id][i]>n?pe[_e.id][i]:n,s()||l(t),pe[_e.id].started=!0)}}function Q(e){e.streamInfo.id===_e.id&&le.setStallState(e.mediaType,e.state===u.default.BUFFER_EMPTY)}function $(){le.addEventListener("canplay",N),le.addEventListener("play",L),le.addEventListener("playing",F),le.addEventListener("pause",k),le.addEventListener("error",z),le.addEventListener("seeking",B),le.addEventListener("seeked",U),le.addEventListener("timeupdate",j),le.addEventListener("progress",H),le.addEventListener("ratechange",q),le.addEventListener("loadedmetadata",G),le.addEventListener("ended",Y)}function Z(){le.removeEventListener("canplay",N),le.removeEventListener("play",L),le.removeEventListener("playing",F),le.removeEventListener("pause",k),le.removeEventListener("error",z),le.removeEventListener("seeking",B),le.removeEventListener("seeked",U),le.removeEventListener("timeupdate",j),le.removeEventListener("progress",H),le.removeEventListener("ratechange",q),le.removeEventListener("loadedmetadata",G),le.removeEventListener("ended",Y)}var J=this.context,ee=(0,v.default)(J).getInstance().log,te=(0,d.default)(J).getInstance(),ne=void 0,re=void 0,ie=void 0,oe=void 0,ae=void 0,se=void 0,ue=void 0,le=void 0,ce=void 0,fe=void 0,de=void 0,pe=void 0,he=void 0,ge=void 0,_e=void 0,me=void 0,ve=void 0,ye=void 0,be=void 0;return ne={initialize:e,setConfig:S,getStartTimeFromUriParameters:C,getStreamStartTime:I,getTimeToStreamEnd:n,getTime:f,getPlaybackRate:p,getPlayedRanges:g,getEnded:_,getIsDynamic:m,getStreamController:b,setLiveStartTime:T,getLiveStartTime:E,computeLiveDelay:w,getLiveDelay:A,play:r,isPaused:i,pause:o,isSeeking:s,seek:l,reset:x},function(){x()}(),ne}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),a=r(o),s=n(23),u=r(s),l=n(154),c=r(l),f=n(1),d=r(f),p=n(2),h=r(p),g=n(0),_=r(g),m=n(3),v=r(m),y=500;i.__dashjs_factory_name="PlaybackController",t.default=_.default.getSingletonFactory(i),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(e,t,n){for(var r=!0;r;){var i=e,o=t,a=n;r=!1,null===i&&(i=Function.prototype);var s=Object.getOwnPropertyDescriptor(i,o);if(void 0!==s){if("value"in s)return s.value;var u=s.get;if(void 0===u)return;return u.call(a)}var l=Object.getPrototypeOf(i);if(null===l)return;e=l,t=o,n=a,r=!0,s=l=void 0}},a=n(51),s=function(e){return e&&e.__esModule?e:{default:e}}(a),u=function(e){function t(){r(this,t),o(Object.getPrototypeOf(t.prototype),"constructor",this).call(this),this.BUFFERING_COMPLETED="bufferingCompleted",this.BUFFER_CLEARED="bufferCleared",this.BUFFER_LEVEL_UPDATED="bufferLevelUpdated",this.BYTES_APPENDED="bytesAppended",this.CHECK_FOR_EXISTENCE_COMPLETED="checkForExistenceCompleted",this.CURRENT_TRACK_CHANGED="currentTrackChanged",this.DATA_UPDATE_COMPLETED="dataUpdateCompleted",this.DATA_UPDATE_STARTED="dataUpdateStarted",this.INITIALIZATION_LOADED="initializationLoaded",this.INIT_FRAGMENT_LOADED="initFragmentLoaded",this.INIT_REQUESTED="initRequested",this.INTERNAL_MANIFEST_LOADED="internalManifestLoaded",this.LIVE_EDGE_SEARCH_COMPLETED="liveEdgeSearchCompleted",this.LOADING_COMPLETED="loadingCompleted",this.LOADING_PROGRESS="loadingProgress",this.LOADING_ABANDONED="loadingAborted",this.MANIFEST_UPDATED="manifestUpdated",this.MEDIA_FRAGMENT_LOADED="mediaFragmentLoaded",this.QUOTA_EXCEEDED="quotaExceeded",this.REPRESENTATION_UPDATED="representationUpdated",this.SEGMENTS_LOADED="segmentsLoaded",this.SERVICE_LOCATION_BLACKLIST_ADD="serviceLocationBlacklistAdd",this.SERVICE_LOCATION_BLACKLIST_CHANGED="serviceLocationBlacklistChanged",this.SOURCEBUFFER_REMOVE_COMPLETED="sourceBufferRemoveCompleted",this.STREAMS_COMPOSED="streamsComposed",this.STREAM_BUFFERING_COMPLETED="streamBufferingCompleted",this.STREAM_COMPLETED="streamCompleted",this.TEXT_TRACKS_QUEUE_INITIALIZED="textTracksQueueInitialized",this.TIMED_TEXT_REQUESTED="timedTextRequested",this.TIME_SYNCHRONIZATION_COMPLETED="timeSynchronizationComplete",this.URL_RESOLUTION_FAILED="urlResolutionFailed",this.VIDEO_CHUNK_RECEIVED="videoChunkReceived",this.WALLCLOCK_TIME_UPDATED="wallclockTimeUpdated",this.XLINK_ELEMENT_LOADED="xlinkElementLoaded",this.XLINK_READY="xlinkReady"}return i(t,e),t}(s.default);t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(){function e(e,t){if(F=null,q=null,G=!1,Y=NaN,z=[],X=null,I||r(),j=t.getMediaInfoArr(),V.setConfig({videoModel:K}),V.initialize(),H=!P.getIsTextTrack(e),M=(0,p.default)(E).getInstance(),U=(0,f.default)(E).getInstance(),U.setConfig({boxParser:M}),H){q=t.getFragmentModel(),this.buffered=(0,g.default)(E).create(),z=L.getTracksFor(a.default.FRAGMENTED_TEXT,W.getActiveStreamInfo());for(var n=L.getCurrentTrackFor(a.default.FRAGMENTED_TEXT,W.getActiveStreamInfo()),i=0;i=0&&(e=!0),t.mimeType&&t.mimeType.search(a.default.TTML)>=0&&(e=!0),e}(),n.defaultTrack=m(t),n.isFragmented=H,n.isEmbedded=!!t.isEmbedded,n.kind=function(){var e=t.roles.length>0?r[t.roles[0]]:r.caption;return e=e===r.caption||e===r.subtitle?e:r.caption}(),n.roles=t.roles;var i=(j?j.length:0)+$.length;V.addTextTrack(n,i)}var r=void 0,i=void 0,o=void 0,u=void 0,c=void 0,f=void 0,d=void 0,p=t.mediaInfo,h=p.type,g=p.mimeType,y=p.codec||g;if(!y)return void A("No text type defined");if(h===a.default.FRAGMENTED_TEXT)if(G)if(f=U.getSamplesInfo(e),i=f.sampleList,!X&&i.length>0&&(X=i[0].cts-t.start*Y),y.search(a.default.STPP)>=0)for(F=null!==F?F:v(y),o=0;o0&&V.addCaptions(Q,0,L)}else{for(G=!0,o=0;o0&&(o.cts!==s?u=0:u+=1,n.fields[f].push([o.cts,c[f],u]),s=o.cts);return n.fields.forEach(function(e){e.sort(function(e,t){return e[0]===t[0]?e[2]-t[2]:e[0]-t[0]})}),n}function m(e){var t=!1;return $.length>1&&e.isEmbedded?t=e.id&&e.id===a.default.CC1:1===$.length?e.id&&"CC"===e.id.substring(0,2)&&(t=!0):0===$.length&&(t=e.index===j[0].index),t}function v(e){var t=void 0;return e.search(a.default.VTT)>=0?t=k:(e.search(a.default.TTML)>=0||e.search(a.default.STPP)>=0)&&(t=B),t}function b(e,t){void 0===e&&e===t&&(e=this.buffered.start(0),t=this.buffered.end(this.buffered.length-1)),this.buffered.remove(e,t)}var E=this.context,A=(0,y.default)(E).getInstance().log,S=(0,O.default)(E).getInstance(),I=!1,M=void 0,R=void 0,P=void 0,N=void 0,L=void 0,F=void 0,k=void 0,B=void 0,U=void 0,j=void 0,V=void 0,H=void 0,q=void 0,G=void 0,Y=void 0,z=void 0,K=void 0,W=void 0,X=void 0,Q=void 0,$=void 0,Z=void 0,J=void 0,ee=void 0,te=void 0,ne=void 0,re=void 0;return{initialize:e,append:h,abort:t,addEmbeddedTrack:o,resetEmbedded:i,setConfig:u,getConfig:c,setCurrentFragmentedTrackIdx:d,remove:b}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),a=r(o),s=n(9),u=n(288),l=r(u),c=n(289),f=r(c),d=n(86),p=r(d),h=n(144),g=r(h),_=n(0),m=r(_),v=n(3),y=r(v),b=n(88),T=r(b),E=n(309),w=r(E),A=n(87),x=r(A),S=n(152),C=r(S),I=n(1),O=r(I),M=n(2),D=r(M);i.__dashjs_factory_name="TextSourceBuffer",t.default=m.default.getSingletonFactory(i),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function e(){r(this,e),this.captionData=null,this.label=null,this.lang=null,this.defaultTrack=!1,this.kind=null,this.isFragmented=!1,this.isEmbedded=!1};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function r(){function e(e){e&&e.boxParser&&(r=e.boxParser)}function t(e){if(!r)throw new Error("boxParser is undefined");if(!e)return{sampleList:[],lastSequenceNumber:NaN,totalDuration:NaN,numSequences:NaN};var t=r.parse(e),n=t.getBoxes("moof"),i=t.getBoxes("mfhd"),o=void 0,a=void 0,s=void 0,u=void 0,l=void 0,c=void 0,f=void 0,d=void 0,p=void 0,h=void 0,g=void 0,_=void 0,m=void 0,v=void 0,y=void 0,b=void 0,T=void 0;b=t.getBoxes("moof").length,y=i[i.length-1].sequence_number,s=0,c=[];var E=-1,w=-1;for(g=0;gw&&(E++,w+=P.entries[E].sample_delta),d==w){R.subSizes=[];var N=P.entries[E];for(m=0;m0?n[n.length-1]:null}function i(e){if(!e)return null;var t=new a.default(e);return e.hasOwnProperty("_incomplete")&&(t.isComplete=!e._incomplete),t}var o=void 0;return{getBox:e,getBoxes:t,setData:n,getLastBox:r}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(291),a=r(o),s=n(0),u=r(s);i.__dashjs_factory_name="IsoFile",t.default=u.default.getClassFactory(i),e.exports=t.default},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n=d.end)return null;var h="regionID"in d&&""!==d.regionID?d.regionID:f;if(null!==c&&h!==a.id&&(!("contents"in d)||"contents"in d&&0===d.contents.length||""!==h))return null;var g=new s(d);for(var _ in d.sets)t=d.sets[_].end||(g.styleAttrs[d.sets[_].qname]=d.sets[_].value);var m={};for(var v in g.styleAttrs)if(m[v]=!0,v===n.byName.writingMode.qname&&!(n.byName.direction.qname in g.styleAttrs)){var y=g.styleAttrs[v];"lrtb"===y||"lr"===y?g.styleAttrs[n.byName.direction.qname]="ltr":"rltb"!==y&&"rl"!==y||(g.styleAttrs[n.byName.direction.qname]="rtl")}if(null!==c)for(var b in n.all){var T=n.all[b];if(T.qname===n.byName.textDecoration.qname){var E=c.styleAttrs[T.qname],w=g.styleAttrs[T.qname],A=[];void 0===w?A=E:-1===w.indexOf("none")?((-1===w.indexOf("noUnderline")&&-1!==E.indexOf("underline")||-1!==w.indexOf("underline"))&&A.push("underline"),(-1===w.indexOf("noLineThrough")&&-1!==E.indexOf("lineThrough")||-1!==w.indexOf("lineThrough"))&&A.push("lineThrough"),(-1===w.indexOf("noOverline")&&-1!==E.indexOf("overline")||-1!==w.indexOf("overline"))&&A.push("overline")):A.push("none"),g.styleAttrs[T.qname]=A}else T.inherit&&T.qname in c.styleAttrs&&!(T.qname in g.styleAttrs)&&(g.styleAttrs[T.qname]=c.styleAttrs[T.qname])}for(var x in n.all){var S=n.all[x];S.qname in g.styleAttrs||("region"===g.kind||!1===S.inherit&&null!==S.initial)&&(g.styleAttrs[S.qname]=S.parse(S.initial),m[S.qname]=!0)}for(var C in n.all){var I=n.all[C];if(I.qname in m&&null!==I.compute){var O=I.compute(e,c,g,g.styleAttrs[I.qname]);null!==O?g.styleAttrs[I.qname]=O:u(p,"Style '"+I.qname+"' on element '"+g.kind+"' cannot be computed")}}if("none"===g.styleAttrs[n.byName.display.qname])return null;var M;null===c?M=null===l?[]:[l]:"contents"in d&&(M=d.contents);for(var D in M){var R=r(e,t,a,l,g,h,M[D]);null!==R&&g.contents.push(R.element)}for(var P in g.styleAttrs){-1===n.byQName[P].applies.indexOf(g.kind)&&delete g.styleAttrs[P]}if("span"===g.kind&&g.text&&"default"===g.space){var N=g.text.replace(/\s+/g," ");g.text=N}if("p"===g.kind){var L=[];i(g,L);for(var F=0,k="after_br",B=0;;)if("after_br"===k)F>=L.length||"br"===L[F].kind?(k="before_br",B=F,F--):("preserve"!==L[F].space&&(L[F].text=L[F].text.replace(/^\s+/g,"")),L[F].text.length>0?(k="looking_br",F++):L.splice(F,1));else if("before_br"===k)if(F<0||"br"===L[F].kind){if(k="after_br",(F=B+1)>=L.length)break}else if("preserve"!==L[F].space&&(L[F].text=L[F].text.replace(/\s+$/g,"")),L[F].text.length>0){if(k="after_br",(F=B+1)>=L.length)break}else L.splice(F,1),F--;else F>=L.length||"br"===L[F].kind?(k="before_br",B=F,F--):F++;o(g)}return"div"===g.kind&&n.byName.backgroundImage.qname in g.styleAttrs||"br"===g.kind||"contents"in g&&g.contents.length>0||"span"===g.kind&&null!==g.text||"region"===g.kind&&"always"===g.styleAttrs[n.byName.showBackground.qname]?{region_id:h,element:g}:null}function i(e,t){if("contents"in e)for(var n in e.contents)i(e.contents[n],t);else t.push(e)}function o(e){if("br"===e.kind)return!1;if("text"in e)return 0===e.text.length;if("contents"in e){for(var t=e.contents.length;t--;)o(e.contents[t])&&e.contents.splice(t,1);return 0===e.contents.length}}function a(e){this.contents=[],this.aspectRatio=e.aspectRatio}function s(e){this.kind=e.kind||"region",e.id&&(this.id=e.id),this.styleAttrs={};for(var t in e.styleAttrs)this.styleAttrs[t]=e.styleAttrs[t];"text"in e?this.text=e.text:"br"!==e.kind&&(this.contents=[]),"space"in e&&(this.space=e.space)}function u(e,t){if(e&&e.error&&e.error(t))throw t}e.generateISD=function(e,t,n){var i=new a(e);for(var o in e.head.layout.regions){var s=r(e,t,e.head.layout.regions[o],e.body,null,"",e.head.layout.regions[o],n);null!==s&&i.contents.push(s.element)}return i}}(t,"undefined"==typeof imscNames?n(52):imscNames,"undefined"==typeof imscStyles?n(89):imscStyles)},function(e,t,n){!function(e,t,n,r,i){function o(e){this.node=e}function a(){this.events=[],this.head=null,this.body=null}function s(){this.styling=null,this.layout=null}function u(){this.styles={}}function l(){this.id=null,this.styleAttrs=null,this.styleRefs=null}function c(){this.regions={}}function f(e){this.kind=e,this.begin=null,this.end=null,this.styleAttrs=null,this.regionID=null,this.sets=null,this.timeContainer=null}function d(){f.call(this,"body")}function p(){f.call(this,"div")}function h(){f.call(this,"p")}function g(){f.call(this,"span"),this.space=null}function _(){f.call(this,"span"),this.space=null,this.text=null}function m(){f.call(this,"br")}function v(){this.id=null,this.begin=null,this.end=null,this.styleAttrs=null,this.sets=null}function y(){this.begin=null,this.end=null,this.qname=null,this.value=null}function b(e){return e&&"xml:id"in e.attributes?e.attributes["xml:id"].value||null:null}function T(e){return e&&"region"in e.attributes?e.attributes.region.value:""}function E(e,t){var n=e&&"timeContainer"in e.attributes?e.attributes.timeContainer.value:null;return n&&"par"!==n?"seq"===n?"seq":(F(t,"Illegal value of timeContainer (assuming 'par')"),"par"):"par"}function w(e){return e&&"style"in e.attributes?e.attributes.style.value.split(" "):[]}function A(e,t){var n={};if(null!==e)for(var i in e.attributes){var o=e.attributes[i].uri+" "+e.attributes[i].local,a=r.byQName[o];if(void 0!==a){var s=a.parse(e.attributes[i].value);null!==s?(n[o]=s,a===r.byName.zIndex&&L(t,"zIndex attribute present but not used by IMSC1 since regions do not overlap")):F(t,"Cannot parse styling attribute "+o+" --\x3e "+e.attributes[i].value)}}return n}function x(e,t,n){for(var r in e.attributes)if(e.attributes[r].uri===t&&e.attributes[r].local===n)return e.attributes[r].value;return null}function S(e,t){var r=x(e,n.ns_ittp,"aspectRatio"),i=null;if(null!==r){var o=/(\d+) (\d+)/,a=o.exec(r);if(null!==a){var s=parseInt(a[1]),u=parseInt(a[2]);0!==s&&0!==u?i=s/u:F(t,"Illegal aspectRatio values (ignoring)")}else F(t,"Malformed aspectRatio attribute (ignoring)")}return i}function C(e,t){var r=x(e,n.ns_ttp,"cellResolution"),i=15,o=32;if(null!==r){var a=/(\d+) (\d+)/,s=a.exec(r);null!==s?(o=parseInt(s[1]),i=parseInt(s[2])):L(t,"Malformed cellResolution value (using initial value instead)")}return{w:o,h:i}}function I(e,t){var r,i=x(e,n.ns_ttp,"frameRate"),o=30;if(null!==i){r=/(\d+)/.exec(i),null!==r?o=parseInt(r[1]):L(t,"Malformed frame rate attribute (using initial value instead)")}var a=x(e,n.ns_ttp,"frameRateMultiplier"),s=1;if(null!==a){r=/(\d+) (\d+)/.exec(a),null!==r?s=parseInt(r[1])/parseInt(r[2]):L(t,"Malformed frame rate multiplier attribute (using initial value instead)")}var u=s*o,l=1,c=x(e,n.ns_ttp,"tickRate");if(null===c)null!==i&&(l=u);else{r=/(\d+)/.exec(c),null!==r?l=parseInt(r[1]):L(t,"Malformed tick rate attribute (using initial value instead)")}return{effectiveFrameRate:u,tickRate:l}}function O(e,t){var r=x(e,n.ns_tts,"extent");if(null===r)return null;var o=r.split(" ");if(2!==o.length)return L(t,"Malformed extent (ignoring)"),null;var a=i.parseLength(o[0]),s=i.parseLength(o[1]);return s&&a?{h:s,w:a}:(L(t,"Malformed extent values (ignoring)"),null)}function M(e,t,n){var r,i=/^(\d{2,}):(\d\d):(\d\d(?:\.\d+)?)$/,o=/^(\d{2,}):(\d\d):(\d\d)\:(\d{2,})$/,a=/^(\d+(?:\.\d+)?)f$/,s=/^(\d+(?:\.\d+)?)t$/,u=/^(\d+(?:\.\d+)?)ms$/,l=/^(\d+(?:\.\d+)?)s$/,c=/^(\d+(?:\.\d+)?)h$/,f=/^(\d+(?:\.\d+)?)m$/,d=null;return null!==(r=a.exec(n))?null!==t&&(d=parseFloat(r[1])/t):null!==(r=s.exec(n))?null!==e&&(d=parseFloat(r[1])/e):null!==(r=u.exec(n))?d=parseFloat(r[1])/1e3:null!==(r=l.exec(n))?d=parseFloat(r[1]):null!==(r=c.exec(n))?d=3600*parseFloat(r[1]):null!==(r=f.exec(n))?d=60*parseFloat(r[1]):null!==(r=i.exec(n))?d=3600*parseInt(r[1])+60*parseInt(r[2])+parseFloat(r[3]):null!==(r=o.exec(n))&&null!==t&&(d=3600*parseInt(r[1])+60*parseInt(r[2])+parseInt(r[3])+(null===r[4]?0:parseInt(r[4])/t)),d}function D(e,t,n,r){var i=t&&"seq"===t.timeContainer,o=0;n&&"begin"in n.attributes&&null===(o=M(e.tickRate,e.effectiveFrameRate,n.attributes.begin.value))&&(L(r,"Malformed begin value "+n.attributes.begin.value+" (using 0)"),o=0);var a=i?0:null;n&&"dur"in n.attributes&&null===(a=M(e.tickRate,e.effectiveFrameRate,n.attributes.dur.value))&&L(r,"Malformed dur value "+n.attributes.dur.value+" (ignoring)");var s=null;n&&"end"in n.attributes&&null===(s=M(e.tickRate,e.effectiveFrameRate,n.attributes.end.value))&&L(r,"Malformed end value (ignoring)");var u=0;if(t&&(u=i&&"contents"in t&&t.contents.length>0?t.contents[t.contents.length-1].end:t.begin||0),o+=u,null!==a)s=o+a;else{var l=t&&"end"in t?t.end:Number.POSITIVE_INFINITY;s=null!==s?s+u:l}return{begin:o,end:s}}function R(e,t,n){for(;t.styleRefs.length>0;){var r=t.styleRefs.pop();r in e.styles?(R(e,e.styles[r],n),N(e.styles[r].styleAttrs,t.styleAttrs)):F(n,"Non-existant style id referenced")}}function P(e,t,n,r){for(var i=t.length-1;i>=0;i--){var o=t[i];o in e.styles?N(e.styles[o].styleAttrs,n):F(r,"Non-existant style id referenced")}}function N(e,t){for(var n in e)n in t||(t[n]=e[n])}function L(e,t){if(e&&e.warn&&e.warn(t))throw t}function F(e,t){if(e&&e.error&&e.error(t))throw t}function k(e,t){throw e&&e.fatal&&e.fatal(t),t}function B(e,t){for(var n,r=0,i=e.length-1;r<=i;){n=Math.floor((r+i)/2);var o=e[n];if(ot))return{found:!0,index:n};i=n-1}}return{found:!1,index:r}}e.fromXML=function(e,r,i){var f=t.parser(!0,{xmlns:!0}),b=[],T=[],E=[],w=0,A=null;f.onclosetag=function(e){if(b[0]instanceof u)for(var t in b[0].styles)R(b[0],b[0].styles[t],r);else if(b[0]instanceof h||b[0]instanceof g){if(b[0].contents.length>1){var a,s=[b[0].contents[0]];for(a=1;a0&&i&&"onCloseTag"in i&&i.onCloseTag());E.shift(),T.shift(),b.shift()},f.ontext=function(e){if(void 0===b[0]);else if(b[0]instanceof g||b[0]instanceof h){var t=new _;t.initFromText(A,b[0],e,E[0],r),b[0].contents.push(t)}else b[0]instanceof o&&w>0&&i&&"onText"in i&&i.onText(e)},f.onopentag=function(e){var t=e.attributes["xml:space"];t?E.unshift(t.value):0===E.length?E.unshift("default"):E.unshift(E[0]);var f=e.attributes["xml:lang"];if(f?T.unshift(f.value):0===T.length?T.unshift(""):T.unshift(T[0]),e.uri===n.ns_tt)if("tt"===e.local)null!==A&&k("Two elements at ("+this.line+","+this.column+")"),A=new a,A.initFromNode(e,r),b.unshift(A);else if("head"===e.local)b[0]instanceof a||k("Parent of element is not at ("+this.line+","+this.column+")"),null!==A.head&&k("Second element at ("+this.line+","+this.column+")"),A.head=new s,b.unshift(A.head);else if("styling"===e.local)b[0]instanceof s||k("Parent of element is not at ("+this.line+","+this.column+")"),null!==A.head.styling&&k("Second element at ("+this.line+","+this.column+")"),A.head.styling=new u,b.unshift(A.head.styling);else if("style"===e.local){var _;b[0]instanceof u?(_=new l,_.initFromNode(e,r),_.id?A.head.styling.styles[_.id]=_:F("
TechBuzz by AT&T