!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}(window,function(){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=235)}([function(e,t,i){"use strict";i.d(t,"a",function(){return r}); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABLITY OR NON-INFRINGEMENT. See the Apache Version 2.0 License for specific language governing permissions and limitations under the License. ***************************************************************************** */ var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function r(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}},function(e,t,i){"use strict";i.d(t,"a",function(){return l});var n=i(0),r=i(51),o=i(96),a=i(11),s=i(74),c=i(31),u=i(65),l=function(e){function t(i,n,r){var a=e.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=o.a;break;case 1:if(!i){a.destination=o.a;break}if("object"==typeof i){i instanceof t?(a.syncErrorThrowable=i.syncErrorThrowable,a.destination=i,i.add(a)):(a.syncErrorThrowable=!0,a.destination=new d(a,i));break}default:a.syncErrorThrowable=!0,a.destination=new d(a,i,n,r)}return a}return n.a(t,e),t.prototype[s.a]=function(){return this},t.create=function(e,i,n){var r=new t(e,i,n);return r.syncErrorThrowable=!1,r},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this))},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){this.destination.error(e),this.unsubscribe()},t.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},t.prototype._unsubscribeAndRecycle=function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this},t}(a.a),d=function(e){function t(t,i,n,a){var s,c=e.call(this)||this;c._parentSubscriber=t;var u=c;return Object(r.a)(i)?s=i:i&&(s=i.next,n=i.error,a=i.complete,i!==o.a&&(u=Object.create(i),Object(r.a)(u.unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(c))),c._context=u,c._next=s,c._error=n,c._complete=a,c}return n.a(t,e),t.prototype.next=function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;c.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}},t.prototype.error=function(e){if(!this.isStopped){var t=this._parentSubscriber,i=c.a.useDeprecatedSynchronousErrorHandling;if(this._error)i&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)i?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(u.a)(e),this.unsubscribe();else{if(this.unsubscribe(),i)throw e;Object(u.a)(e)}}},t.prototype.complete=function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var i=function(){return e._complete.call(e._context)};c.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,i),this.unsubscribe()):(this.__tryOrUnsub(i),this.unsubscribe())}else this.unsubscribe()}},t.prototype.__tryOrUnsub=function(e,t){try{e.call(this._context,t)}catch(e){if(this.unsubscribe(),c.a.useDeprecatedSynchronousErrorHandling)throw e;Object(u.a)(e)}},t.prototype.__tryOrSetError=function(e,t,i){if(!c.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,i)}catch(t){return c.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=t,e.syncErrorThrown=!0,!0):(Object(u.a)(t),!0)}return!1},t.prototype._unsubscribe=function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()},t}(l)},function(e,t,i){"use strict";var n=i(92),r=i(1),o=i(74),a=i(96);var s=i(45),c=i(73),u=i(31);i.d(t,"a",function(){return l});var l=function(){function e(e){this._isScalar=!1,e&&(this._subscribe=e)}return e.prototype.lift=function(t){var i=new e;return i.source=this,i.operator=t,i},e.prototype.subscribe=function(e,t,i){var n=this.operator,s=function(e,t,i){if(e){if(e instanceof r.a)return e;if(e[o.a])return e[o.a]()}return e||t||i?new r.a(e,t,i):new r.a(a.a)}(e,t,i);if(n?s.add(n.call(s,this.source)):s.add(this.source||u.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){u.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(n.a)(e)?e.error(t):console.warn(t)}},e.prototype.forEach=function(e,t){var i=this;return new(t=d(t))(function(t,n){var r;r=i.subscribe(function(t){try{e(t)}catch(e){n(e),r&&r.unsubscribe()}},n,t)})},e.prototype._subscribe=function(e){var t=this.source;return t&&t.subscribe(e)},e.prototype[s.a]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:{};return e.name=this.name,e.plugin=this.constructor,e.instance=this,e}},{key:"disposeChildPlugin",value:function(){var e=this;(0,d.default)(this).forEach(function(t){if(-1!==t.indexOf("Plugin")&&"function"==typeof e[t]){var i=e[t]();i.dispose&&"function"==typeof i.dispose&&i.dispose()}})}},{key:"dispose",value:function(){this.disposeChildPlugin(),(0,s.default)(t.prototype.__proto__||(0,n.default)(t.prototype),"dispose",this).call(this)}}],[{key:"pluginExists",value:function(e){return t.pluginStorage.hasOwnProperty(e)}},{key:"isBasic",value:function(e){var i="string"==typeof e?t.getPlugin(e):e;return"function"==typeof i&&!this.prototype.isPrototypeOf(i.prototype)&&!t.prototype.isPrototypeOf(i.prototype)}},{key:"registerPlugin",value:function(e,i){if("string"!=typeof e)throw new Error('Illegal plugin name! "'+e+'", must be a string');var n=this===t?p.default:this;if(this.pluginExists(e))throw new Error('A plugin named "'+e+'" already exists');if(n.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing '+n.name+" method!");if("function"!=typeof i)throw new Error('Illegal plugin for "'+e+'", must be a function');return t.pluginStorage[e]=i,"plugin"!==e&&(this.isBasic(i)?n.prototype[e]=function(e,t){var i=function(){M({name:e,plugin:t,instance:null},!0);var i=t.apply(this,arguments);return M({name:e,plugin:t,instance:i}),i};return(0,d.default)(t).forEach(function(e){i[e]=t[e]}),i}(e,i):n.prototype[e]=m(e,i)),i}},{key:"deRegisterPlugin",value:function(e){if("plugin"===e)throw new Error("Cannot de-register base plugin");var i=this===t?p.default:this;t.pluginExists(e)&&(delete t.pluginStorage[e],delete i.prototype[e])}},{key:"getPlugins",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,d.default)(t.pluginStorage),i={};return e.forEach(function(e){var n=t.getPlugin(e);n&&(i[e]=n)}),i}},{key:"getPlugin",value:function(e){return this.pluginExists(e)?t.pluginStorage[e]:void 0}}]),t}(h.default);v.on=function(){for(var e=arguments.length,t=Array(e),i=0;i=0&&l.splice(t,1)}function A(e){var t=document.createElement("style");return e.attrs.type="text/css",M(t,e.attrs),g(e,t),t}function M(e,t){Object.keys(t).forEach(function(i){e.setAttribute(i,t[i])})}function m(e,t){var i,n,r,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var a=u++;i=c||(c=A(t)),n=w.bind(null,i,a,!1),r=w.bind(null,i,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(i=function(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",M(t,e.attrs),g(e,t),t}(t),n=function(e,t,i){var n=i.css,r=i.sourceMap,o=void 0===t.convertToAbsoluteUrls&&r;(t.convertToAbsoluteUrls||o)&&(n=d(n));r&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([n],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,i,t),r=function(){f(i),i.href&&URL.revokeObjectURL(i.href)}):(i=A(t),n=function(e,t){var i=t.css,n=t.media;n&&e.setAttribute("media",n);if(e.styleSheet)e.styleSheet.cssText=i;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(i))}}.bind(null,i),r=function(){f(i)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else r()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var i=p(e,t);return h(i,t),function(e){for(var n=[],r=0;r0&&void 0!==arguments[0]?arguments[0]:"div",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",n=document.createElement(e);(0,a.default)(t).forEach(function(e){n.setAttribute(e,t[e])}),i&&d(n,i);return n},t.normalizeContent=l,t.appendContent=d,t.textContent=function(e,t){void 0===e.textContent?e.innerText=t:e.textContent=t;return e},t.hasClass=h,t.addClass=function(e,t){e.classList?e.classList.add(t):h(e,t)||(e.className=(e.className+" "+t).trim());return e},t.removeClass=function(e,t){e.classList?e.classList.remove(t):((0,c.throwIfWhitespace)(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" "));return e},t.setAttributes=function(e,t){(0,a.default)(t).forEach(function(i){var n=t[i];null==n||!1===n?e.removeAttribute(i):e.setAttribute(i,!0===n?"":n)})},t.getAttributes=function(e){var t={},i=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(e&&e.attributes&&e.attributes.length>0)for(var n=e.attributes,r=n.length-1;r>=0;r--){var o=n[r].name,a=n[r].value;-1!==i.indexof(","+o+",")&&(a=null!==a&&o),t[o]=a}return t},t.getAttribute=function(e,t){return e.getAttribute(t)},t.setAttribute=function(e,t,i){e.setAttribute(t,i)},t.removeAttribute=function(e,t){e.removeAttribute(t)},t.removeAttributes=function(e,t){t.length&&t.forEach(function(t){e.removeAttribute(t)})},t.isEl=p,t.isTextNode=g,t.coords=function(e){var t={offsetWidth:e.target.clientWidth,offsetHeight:e.target.clientHeight,clientX:e.clientX,clientY:e.clientY,screenX:e.screenX,screenY:e.screenY,layerX:e.layerX,layerY:e.layerY,offsetX:e.offsetX,offsetY:e.offsetY};return t.offsetCenter=[Math.floor(t.offsetWidth/2),Math.floor(t.offsetHeight/2)],t},t.nodeName=function(e,t){return e.nodeName&&e.nodeName.toUpperCase()===t.toUpperCase()},t.resize=function(e,t){var i=document.createElement("iframe");i.setAttribute("class","size-watch"),e.appendChild(i);var n=e.offsetWidth,r=e.offsetHeight;function o(){var i=e.offsetWidth,o=e.offsetHeight;if(i!==n||o!==r){var a={width:i,height:o},s={width:n,height:r};t(a,s),n=i,r=o}}i.onload=function(){var e=0;i.contentWindow.onresize=function(){clearTimeout(e),e=setTimeout(o,20)}}},t.setStyle=function(e,t){(0,r.default)(t).forEach(function(i){e.style[i]=t[i]})},t.resizeObs=function(e,t){var i=e.offsetWidth,r=e.offsetHeight,o=null;ResizeObserver&&(o=new ResizeObserver(function(e){var o=!0,a=!1,s=void 0;try{for(var c,u=(0,n.default)(e);!(o=(c=u.next()).done);o=!0){var l=c.value;if(l.contentRect){var d=l.contentRect,h=d.width,p=d.height;h!==i&&p!==r&&(t(),i=h,r=p)}}}catch(e){a=!0,s=e}finally{try{!o&&u.return&&u.return()}finally{if(a)throw s}}})).observe(e);return o},t.unResizeObs=function(e,t){ResizeObserver&&e&&t&&e.unobserve(t)},t.endResize=function(e){var t=e.querySelector("iframe.size-watch");t&&e.removeChild(t)},t.domToString=function(e){var t=document.createElement("div");t.appendChild(e);var i=t.innerHTML;return t=e=null,i},t.getElementTop=function(e){return e.getBoundingClientRect().top+document.documentElement.scrollTop},t.getElementLeft=function(e){return e.getBoundingClientRect().left+document.documentElement.scrollLeft},t.getAfterAttr=function(e){return document.defaultView.getComputedStyle(e,":after")};var s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(i(81)),c=i(48);function u(e){return e&&e.__esModule?e:{default:e}}t.$=f("querySelector"),t.$$=f("querySelectorAll");function l(e){return s.isFunction(e)&&(e=e()),(s.isArray(e)?e:[e]).map(function(e){return s.isFunction(e)?e():p(e)||g(e)?e:"string"==typeof e&&/\S/.test(e)?document.createTextNode(e):void 0}).filter(function(e){return e})}function d(e,t){l(t).forEach(function(t){return e.appendChild(t)})}function h(e,t){return(0,c.throwIfWhitespace)(t),e.classList?e.classList.contains(t):(i=t,new RegExp("(^|\\s)"+i+"($|\\s)")).test(e.className);var i}function p(e){return!!e&&"object"===(void 0===e?"undefined":(0,o.default)(e))&&(1===e.nodeType||9===e.nodeType)}function g(e){return"[Object Object]"===s.type(e)&&3===e.nodeType}function f(e){return function(t,i){if(!A(t))return document[e](null);A(i)&&(i=document.querySelector(i));var n=p(i)?i:document;return n[e]&&n[e](t)}}function A(e){return"string"==typeof e&&/\S/.test(e)}},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=i(0),r=function(e){function t(t,i,n){var r=e.call(this)||this;return r.parent=t,r.outerValue=i,r.outerIndex=n,r.index=0,r}return n.a(t,e),t.prototype._next=function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)},t.prototype._error=function(e){this.parent.notifyError(e,this),this.unsubscribe()},t.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},t}(i(1).a)},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){e&&(new Error).stack;n=e},get useDeprecatedSynchronousErrorHandling(){return n}}},function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,i){var n=i(158)("wks"),r=i(118),o=i(32).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:r)("Symbol."+e))}).store=n},function(e,t,i){e.exports={default:i(276),__esModule:!0}},function(e,t,i){"use strict";function n(e){return e}i.d(t,"a",function(){return n})},function(e,t,i){e.exports={default:i(303),__esModule:!0}},function(e,t,i){"use strict";i.d(t,"a",function(){return o});var n=i(0),r=i(1);function o(e,t){return function(i){return i.lift(new a(e,t))}}var a=function(){function e(e,t){this.predicate=e,this.thisArg=t}return e.prototype.call=function(e,t){return t.subscribe(new s(e,this.predicate,this.thisArg))},e}(),s=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.predicate=i,r.thisArg=n,r.count=0,r}return n.a(t,e),t.prototype._next=function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(e){return void this.destination.error(e)}t&&this.destination.next(e)},t}(r.a)},function(e,t,i){"use strict";i.d(t,"b",function(){return n}),i.d(t,"a",function(){return s});var n,r=i(24),o=i(68),a=i(86);n||(n={});var s=function(){function e(e,t,i){this.kind=e,this.value=t,this.error=i,this.hasValue="N"===e}return e.prototype.observe=function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}},e.prototype.do=function(e,t,i){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return i&&i()}},e.prototype.accept=function(e,t,i){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,i)},e.prototype.toObservable=function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(a.a)(this.error);case"C":return Object(r.b)()}throw new Error("unexpected notification kind value")},e.createNext=function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},function(e,t,i){"use strict";function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}i.d(t,"a",function(){return r});var r=n()},function(e,t,i){"use strict";function n(){}i.d(t,"a",function(){return n})},function(e,t,i){var n=i(43),r=i(180),o=i(155),a=Object.defineProperty;t.f=i(47)?Object.defineProperty:function(e,t,i){if(n(e),t=o(t,!0),n(i),r)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},function(e,t,i){var n=i(33);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeRE=t.dateRE=void 0;var n=a(i(37));t.formatServerUTC=function(e){var t=new Date(e),i=t.getUTCMilliseconds(),n=c(e);return e=(e=n.format("Y-m-d H:i:s")).replace(" ","T"),n=null,t=null,e+="."+i+"Z"},t.formatTDateStr=function(e){return!!/^(?:19|20)[0-9][0-9]-(?:(?:0[1-9])|(?:1[0-2]))-(?:(?:[0-2][1-9])|(?:[1-3][0-1])) (?:(?:[0-2][0-3])|(?:[0-1][0-9])):[0-5][0-9]:[0-5][0-9]$/.test(e)&&(e=e.replace(" ","T"))},t.timer=function(e){if(e<=0)return"00:00:00";var t=c(e,"s").timeset();return t.hour=c(e,"s")._hour(),e="",(0,n.default)(t).forEach(function(i){"hour"!==i&&"minute"!==i&&"second"!==i||(e+="second"===i?String(t[i]).length>1?t[i]:"0"+t[i]:String(t[i]).length>1?t[i]+":":"0"+t[i]+":")}),t=null,e},t.retimer=function(e){var t=s.exec(e),i=3600*+t[1],n=60*+t[2],r=+t[3];return i+n+r},t.default=c;var r=a(i(20)),o=i(48);function a(e){return e&&e.__esModule?e:{default:e}}t.dateRE=/^(\d{4})-(\d{1,2})-(\d{1,2})[T\s]([0-1]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/;var s=t.timeRE=/^([0-1]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/;function c(){var e=arguments[0]||(new Date).getTime(),t="s"===arguments[1]?1:1e3;return e=(0,o.isNumeric)(e)?+e:""+e,(0,r.default)(!0,new Date(e),{init:function(e){return this.target=e/t,this},data:function(){return{basicUnit:{second:1,minute:60,hour:3600,day:86400,halfamonth:1296e3,month:2592e3,year:31104e3},trope:{Y:this.getFullYear(),y:this.getFullYear(),M:this.getMonth()+1,m:this.getMonth()+1<10?"0"+(this.getMonth()+1):this.getMonth()+1,D:this.getDate(),d:this.getDate()<10?"0"+this.getDate():this.getDate(),H:this.getHours()<10?"0"+this.getHours():this.getHours(),h:this.getHours()%24==0?"00":this.getHours()%24<10?"0"+this.getHours()%24:this.getHours()%24,I:this.getMinutes(),i:this.getMinutes()<10?"0"+this.getMinutes():this.getMinutes(),S:this.getSeconds(),s:this.getSeconds()<10?"0"+this.getSeconds():this.getSeconds()},timeset:{year:this.count(31104e3),month:this.count(2592e3),day:this.count(86400),hour:this.count(3600),minute:this.count(60),second:this.count(1)}}},count:function(e,t){return"ceil"===t?Math.ceil(Math.abs(this.target/e)):Math.floor(Math.abs(this.target/e))},format:function(e){try{var t=""+e;for(var i in this.data().trope)t=i&&new RegExp(i).test(t)?t.replace(i,this.data().trope[i]):t;return t}catch(e){return this}},timeset:function(){var e=this.data().basicUnit,t=this.data().timeset;for(var i in t){t[i]=this.count(e[i]);var n=this.target-t[i]*e[i];this.target=n>=0?n:0}return t},state:function(){var e=this.data().basicUnit;return this.target>e.year?{year:this.count(e.year,"ceil")}:this.target>e.month?{month:this.count(e.month,"ceil")}:this.target>e.day?{day:this.count(e.day,"ceil")}:this.target>e.hour?{hour:this.count(e.hour,"ceil")}:this.target>e.minute?{minute:this.count(e.minute,"ceil")}:{second:this.target}},_year:function(){return this.data().timeset.year},_month:function(){return this.data().timeset.month},_day:function(){return this.data().timeset.day},_hour:function(){return this.data().timeset.hour},_minute:function(){return this.data().timeset.minute},_second:function(){return this.data().timeset.second},isGreenwichTime:function(e){return e>this.getTime("1970-01-01 00:00:00")&&e1&&void 0!==arguments[1]&&!arguments[1]||(e=o(e));return e=e.replace(r,function(e,t,i){return 0===t?e.toUpperCase():e.slice(1).toUpperCase()})},t.humpToConnector=function(e){return e=e.replace(n,function(e,t,i){return 0===i?e.toLocaleLowerCase():"-"+e.toLocaleLowerCase()})},t.throwIfWhitespace=function(e){if(/\s/.test(e))throw new Error("string has illegal whitespace characters")},t.ifWhiteSpace=function(e){return/\s/.test(e)},t.isNumeric=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},t.splitColon=function(e,t){if(t=t||":",e=e.split(t),":"!==t)return e[0].trim();return e.length>1?e[1]:e[0]};var n=/([A-Z])/g,r=/-[a-z]{1}/g;function o(e){return"string"!=typeof e?e:e.charAt(0).toUpperCase()+e.slice(1)}},function(e,t,i){"use strict";i.d(t,"a",function(){return u});var n=i(0),r=i(6),o=i(9),a=i(30),s=i(21),c=i(26);function u(e,t,i){return void 0===i&&(i=Number.POSITIVE_INFINITY),"function"==typeof t?function(n){return n.pipe(u(function(i,n){return Object(c.a)(e(i,n)).pipe(Object(s.a)(function(e,r){return t(i,e,n,r)}))},i))}:("number"==typeof t&&(i=t),function(t){return t.lift(new l(e,i))})}var l=function(){function e(e,t){void 0===t&&(t=Number.POSITIVE_INFINITY),this.project=e,this.concurrent=t}return e.prototype.call=function(e,t){return t.subscribe(new d(e,this.project,this.concurrent))},e}(),d=function(e){function t(t,i,n){void 0===n&&(n=Number.POSITIVE_INFINITY);var r=e.call(this,t)||this;return r.project=i,r.concurrent=n,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return n.a(t,e),t.prototype._next=function(e){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},t}(o.a)},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var n=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,"a",function(){return n})},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=u(i(37)),r=u(i(105)),o=u(i(35)),a=u(i(167)),s=u(i(82)),c=u(i(25));function u(e){return e&&e.__esModule?e:{default:e}}function l(e){return null==e}function d(e){return null==e?String(e):"object"===(void 0===e?"undefined":(0,c.default)(e))||"function"==typeof e?Object.prototype.toString.call(e)||"object":void 0===e?"undefined":(0,c.default)(e)}function h(e){return null!=e&&e===e.window}function p(e){return null!==e&&"object"===(void 0===e?"undefined":(0,c.default)(e))}t.isPlainObject=function(e){if("[object Object]"!==d(e)||e.nodeType||h(e))return!1;try{if(e.constructor&&!Object.prototype.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}return!0},t.isDef=function(e){return null!=e},t.isUndef=l,t.type=d,t.isWindow=h,t.inArray=function(e,t,i){return null==t?-1:Array.prototype.indexOf.call(t,e,i)},t.isArray=function(e){return Array.isArray(e)},t.isPrimitive=function(e){return"string"==typeof e||"number"==typeof e},t.isFunction=function(e){return"function"===d(e)},t.isEmpty=function(e){for(var t in e)return!1;return!0},t.isOwnEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},t.merge=function(e,t){var i=t.length,n=e.length,r=0;if("number"==typeof i)for(;r=0}},function(e,t,i){var n=i(98);e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},function(e,t,i){e.exports={default:i(301),__esModule:!0}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l(i(169)),r=l(i(3)),o=l(i(4)),a=u(i(108)),s=u(i(72)),c=i(214);function u(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function l(e){return e&&e.__esModule?e:{default:e}}var d=function(){function e(){(0,r.default)(this,e)}return(0,o.default)(e,[{key:"consturctor",value:function(){this.locked=!1,this.cacheVData=null}},{key:"on",value:function(){for(var e=arguments.length,t=Array(e),i=0;i0?[arguments[0],arguments[1].currentTarget]:[];clearTimeout(i),o<=0?(e.apply(a,s),n=(new Date).getTime()):i=setTimeout(function(){e.apply(a,s)},o)}}},function(e,t,i){"use strict";i.d(t,"a",function(){return r}),i.d(t,"b",function(){return o});var n=i(36);function r(){for(var e=[],t=0;t=t.length?{value:void 0,done:!0}:(e=n(t,i),this._i+=e.length,{value:e,done:!1})})},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t,i){var n=i(28),r=i(17),o=i(69);e.exports=function(e,t){var i=(r.Object||{})[e]||Object[e],a={};a[e]=t(i),n(n.S+n.F*o(function(){i(1)}),"Object",a)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(i(35)),r=s(i(167)),o=s(i(82)),a=s(i(25));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){return null==e?String(e):"object"===(void 0===e?"undefined":(0,a.default)(e))||"function"==typeof e?Object.prototype.toString.call(e)||"object":void 0===e?"undefined":(0,a.default)(e)}function u(e){return null!=e&&e===e.window}function l(e){return null!==e&&"object"===(void 0===e?"undefined":(0,a.default)(e))}t.isPlainObject=function(e){if("[object Object]"!==c(e)||e.nodeType||u(e))return!1;try{if(e.constructor&&!Object.prototype.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}return!0},t.type=c,t.isWindow=u,t.inArray=function(e,t,i){return null==t?-1:Array.prototype.indexOf.call(t,e,i)},t.isArray=function(e){return Array.isArray(e)},t.isFunction=function(e){return"function"===c(e)},t.isEmpty=function(e){for(var t in e)return!1;return!0},t.isOwnEmpty=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},t.merge=function(e,t){var i=t.length,n=e.length,r=0;if("number"==typeof i)for(;r1)this.connection=null;else{var i=this.connection,n=e._connection;this.connection=null,!n||i&&n!==i||n.unsubscribe()}}else this.connection=null},t}(r.a)},function(e,t,i){"use strict";i.d(t,"a",function(){return l});var n=i(0),r=i(14),o=i(141),a=i(11),s=i(134),c=i(46),u=i(143),l=function(e){function t(t,i,n){void 0===t&&(t=Number.POSITIVE_INFINITY),void 0===i&&(i=Number.POSITIVE_INFINITY);var r=e.call(this)||this;return r.scheduler=n,r._events=[],r._infiniteTimeWindow=!1,r._bufferSize=t<1?1:t,r._windowTime=i<1?1:i,i===Number.POSITIVE_INFINITY?(r._infiniteTimeWindow=!0,r.next=r.nextInfiniteTimeWindow):r.next=r.nextTimeWindow,r}return n.a(t,e),t.prototype.nextInfiniteTimeWindow=function(t){var i=this._events;i.push(t),i.length>this._bufferSize&&i.shift(),e.prototype.next.call(this,t)},t.prototype.nextTimeWindow=function(t){this._events.push(new d(this._getNow(),t)),this._trimBufferThenGetEvents(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){var t,i=this._infiniteTimeWindow,n=i?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,o=n.length;if(this.closed)throw new c.a;if(this.isStopped||this.hasError?t=a.a.EMPTY:(this.observers.push(e),t=new u.a(this,e)),r&&e.add(e=new s.a(e,r)),i)for(var l=0;lt&&(o=Math.max(o,r-t)),o>0&&n.splice(0,o),n},t}(r.a),d=function(){return function(e,t){this.time=e,this.value=t}}()},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=i(2);function r(e,t){return t?new n.a(function(i){return t.schedule(o,0,{error:e,subscriber:i})}):new n.a(function(t){return t.error(e)})}function o(e){var t=e.error;e.subscriber.error(t)}},function(e,t,i){"use strict";i.d(t,"b",function(){return l}),i.d(t,"a",function(){return d});var n=i(0),r=i(22),o=i(15),a=i(9),s=i(6),c=i(54),u={};function l(){for(var e=[],t=0;tthis.index},e.prototype.hasCompleted=function(){return this.array.length===this.index},e}(),f=function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.parent=i,r.observable=n,r.stillUnsubscribed=!0,r.buffer=[],r.isComplete=!1,r}return n.a(t,e),t.prototype[u.a]=function(){return this},t.prototype.next=function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}},t.prototype.hasValue=function(){return this.buffer.length>0},t.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},t.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},t.prototype.notifyNext=function(e,t,i,n,r){this.buffer.push(t),this.parent.checkIterators()},t.prototype.subscribe=function(e,t){return Object(c.a)(this,this.observable,this,t)},t}(s.a)},function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e}i.d(t,"a",function(){return n})},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var n=i(1);function r(e){for(;e;){var t=e,i=t.closed,r=t.destination,o=t.isStopped;if(i||o)return!1;e=r&&r instanceof n.a?r:null}return!0}},function(e,t,i){"use strict";i.d(t,"a",function(){return o});var n=i(2),r=i(11);function o(e,t){return new n.a(function(i){var n=new r.a,o=0;return n.add(t.schedule(function(){o!==e.length?(i.next(e[o++]),i.closed||n.add(this.schedule())):i.complete()})),n})}},function(e,t,i){"use strict";var n=i(0),r=1,o=function(){return Promise.resolve()}(),a={};function s(e){return e in a&&(delete a[e],!0)}var c=function(e){var t=r++;return a[t]=!0,o.then(function(){return s(t)&&e()}),t},u=function(e){s(e)},l=function(e){function t(t,i){var n=e.call(this,t,i)||this;return n.scheduler=t,n.work=i,n}return n.a(t,e),t.prototype.requestAsyncId=function(t,i,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,i,n):(t.actions.push(this),t.scheduled||(t.scheduled=c(t.flush.bind(t,null))))},t.prototype.recycleAsyncId=function(t,i,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return e.prototype.recycleAsyncId.call(this,t,i,n);0===t.actions.length&&(u(i),t.scheduled=void 0)},t}(i(57).a),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n.a(t,e),t.prototype.flush=function(e){this.active=!0,this.scheduled=void 0;var t,i=this.actions,n=-1,r=i.length;e=e||i.shift();do{if(t=e.execute(e.state,e.delay))break}while(++n0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},n.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},n.parseFmtp=function(e){for(var t,i={},n=e.substr(e.indexOf(" ")+1).split(";"),r=0;r-1?(i.attribute=e.substr(t+1,n-t-1),i.value=e.substr(n+1)):i.attribute=e.substr(t+1),i},n.parseSsrcGroup=function(e){var t=e.substr(13).split(" ");return{semantics:t.shift(),ssrcs:t.map(function(e){return parseInt(e,10)})}},n.getMid=function(e){var t=n.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},n.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},n.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:n.matchPrefix(e+t,"a=fingerprint:").map(n.parseFingerprint)}},n.writeDtlsParameters=function(e,t){var i="a=setup:"+t+"\r\n";return e.fingerprints.forEach(function(e){i+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),i},n.parseCryptoLine=function(e){var t=e.substr(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},n.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?n.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},n.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;var t=e.substr(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},n.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},n.getCryptoParameters=function(e,t){return n.matchPrefix(e+t,"a=crypto:").map(n.parseCryptoLine)},n.getIceParameters=function(e,t){var i=n.matchPrefix(e+t,"a=ice-ufrag:")[0],r=n.matchPrefix(e+t,"a=ice-pwd:")[0];return i&&r?{usernameFragment:i.substr(12),password:r.substr(10)}:null},n.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},n.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},i=n.splitLines(e)[0].split(" "),r=3;r0?"9":"0",i+=" UDP/TLS/RTP/SAVPF ",i+=t.codecs.map(function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType}).join(" ")+"\r\n",i+="c=IN IP4 0.0.0.0\r\n",i+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(function(e){i+=n.writeRtpMap(e),i+=n.writeFmtp(e),i+=n.writeRtcpFb(e)});var r=0;return t.codecs.forEach(function(e){e.maxptime>r&&(r=e.maxptime)}),r>0&&(i+="a=maxptime:"+r+"\r\n"),i+="a=rtcp-mux\r\n",t.headerExtensions&&t.headerExtensions.forEach(function(e){i+=n.writeExtmap(e)}),i},n.parseRtpEncodingParameters=function(e){var t,i=[],r=n.parseRtpParameters(e),o=-1!==r.fecMechanisms.indexOf("RED"),a=-1!==r.fecMechanisms.indexOf("ULPFEC"),s=n.matchPrefix(e,"a=ssrc:").map(function(e){return n.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute}),c=s.length>0&&s[0].ssrc,u=n.matchPrefix(e,"a=ssrc-group:FID").map(function(e){return e.substr(17).split(" ").map(function(e){return parseInt(e,10)})});u.length>0&&u[0].length>1&&u[0][0]===c&&(t=u[0][1]),r.codecs.forEach(function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var n={ssrc:c,codecPayloadType:parseInt(e.parameters.apt,10)};c&&t&&(n.rtx={ssrc:t}),i.push(n),o&&((n=JSON.parse(JSON.stringify(n))).fec={ssrc:c,mechanism:a?"red+ulpfec":"red"},i.push(n))}}),0===i.length&&c&&i.push({ssrc:c});var l=n.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substr(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substr(5),10)*.95-16e3:void 0,i.forEach(function(e){e.maxBitrate=l})),i},n.parseRtcpParameters=function(e){var t={},i=n.matchPrefix(e,"a=ssrc:").map(function(e){return n.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];i&&(t.cname=i.value,t.ssrc=i.ssrc);var r=n.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=r.length>0,t.compound=0===r.length;var o=n.matchPrefix(e,"a=rtcp-mux");return t.mux=o.length>0,t},n.parseMsid=function(e){var t,i=n.matchPrefix(e,"a=msid:");if(1===i.length)return{stream:(t=i[0].substr(7).split(" "))[0],track:t[1]};var r=n.matchPrefix(e,"a=ssrc:").map(function(e){return n.parseSsrcMedia(e)}).filter(function(e){return"msid"===e.attribute});return r.length>0?{stream:(t=r[0].value.split(" "))[0],track:t[1]}:void 0},n.parseSctpDescription=function(e){var t,i=n.parseMLine(e),r=n.matchPrefix(e,"a=max-message-size:");r.length>0&&(t=parseInt(r[0].substr(19),10)),isNaN(t)&&(t=65536);var o=n.matchPrefix(e,"a=sctp-port:");if(o.length>0)return{port:parseInt(o[0].substr(12),10),protocol:i.fmt,maxMessageSize:t};if(n.matchPrefix(e,"a=sctpmap:").length>0){var a=n.matchPrefix(e,"a=sctpmap:")[0].substr(10).split(" ");return{port:parseInt(a[0],10),protocol:a[1],maxMessageSize:t}}},n.writeSctpDescription=function(e,t){var i=[];return i="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&i.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),i.join("")},n.generateSessionId=function(){return Math.random().toString().substr(2,21)},n.writeSessionBoilerplate=function(e,t,i){var r=void 0!==t?t:2;return"v=0\r\no="+(i||"thisisadapterortc")+" "+(e||n.generateSessionId())+" "+r+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},n.writeMediaSection=function(e,t,i,r){var o=n.writeRtpDescription(e.kind,t);if(o+=n.writeIceParameters(e.iceGatherer.getLocalParameters()),o+=n.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===i?"actpass":"active"),o+="a=mid:"+e.mid+"\r\n",e.direction?o+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?o+="a=sendrecv\r\n":e.rtpSender?o+="a=sendonly\r\n":e.rtpReceiver?o+="a=recvonly\r\n":o+="a=inactive\r\n",e.rtpSender){var a="msid:"+r.id+" "+e.rtpSender.track.id+"\r\n";o+="a="+a,o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,o+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+n.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+n.localCName+"\r\n"),o},n.getDirection=function(e,t){for(var i=n.splitLines(e),r=0;rv;v++)if((A=t?m(a(g=e[v])[0],g[1]):m(e[v]))===u||A===l)return A}else for(f=M.call(e);!(g=f.next()).done;)if((A=r(f,m,g.value,t))===u||A===l)return A}).BREAK=u,t.RETURN=l},function(e,t,i){var n=i(122),r=i(78),o=i(70),a=i(155),s=i(60),c=i(180),u=Object.getOwnPropertyDescriptor;t.f=i(47)?u:function(e,t){if(e=o(e),t=a(t,!0),c)try{return u(e,t)}catch(e){}if(s(e,t))return r(!n.f.call(e,t),e[t])}},function(e,t,i){e.exports={default:i(270),__esModule:!0}},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){e.exports={default:i(313),__esModule:!0}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=s(i(107));t.on=c,t.once=function(e,t,i){if((0,o.isArray)(t))return h(u,e,t,i);var n=function n(){l(e,t,n),i.apply(this,arguments)};n.guid=i.guid=i.guid||(0,a.default)(),c(e,t,n)},t.one=u,t.off=l,t.trigger=function e(t,i,n){var o=r.hasData(t)?r.getData(t):{};var a=t.parentNode||t.ownerDocument;"string"==typeof i&&(i={type:i,target:t});t.tagName&&(i=d(i));o.dispatcher&&o.dispatcher.call(t,i,n);if(a&&!i.isPropagationStopped()&&!0===i.bubbles)e(a,i,n);else if(!a&&!i.defaultPrevented){var s=r.getData(i.target);i.target[i.type]&&(s.disabled=!0,i.target.tagName&&"function"==typeof i.target[i.type]&&i.target[i.type](),s.disabled=!1)}return!i.defaultPrevented},t.fixEvent=d,t.isValidEventType=function(e){return"string"==typeof e&&/\S/.test(e)||(0,o.isArray)(e)&&e.length};var r=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(i(214)),o=i(81),a=s(i(67));function s(e){return e&&e.__esModule?e:{default:e}}function c(e,t,i){if((0,o.isArray)(t))return h(c,e,t,i);var n=r.getData(e);n.handlers||(n.handlers={}),n.handlers[t]||(n.handlers[t]=[]),i.guid||(i.guid=(0,a.default)()),n.handlers[t].push(i),n.dispatcher||(n.disabled=!1,n.dispatcher=function(t,i){if(!n.disabled){var r=t.type;t=e.tagName?d(t):void 0!==i?i:t;var o=n.handlers[r];if(o)for(var a=o.slice(0),s=0,c=a.length;s1&&void 0!==arguments[1]&&arguments[1];return!!e&&(this._isReady?void(t?e.call(this):setTimeout(e,1)):(this._readyQueue=this._readyQueue||[],void this._readyQueue.push(e)))}},{key:"triggerReady",value:function(){this._isReady=!0,this.setTimeout(function(){var e=this,t=this._readyQueue;this._readyQueue=[],t&&t.length>0&&t.forEach(function(t){t.call(e)}),this.trigger("ready")},1)}},{key:"triggerSourceset",value:function(e){var t=this;this._isReady||this.one("ready",function(){t.setTimeout(function(){t.triggerSourceset(e)},1)}),this.trigger("sourceset",e)}},{key:"setTimeout",value:function(e,t){var i,n,r=this;return e=(0,h.bind)(this,e),i=window.setTimeout(function(){r.off("dispose",n),e()},t),(n=function(){return r.clearTimeout(i)}).guid="km-timeout-"+i,this.trigger("dispose",n),i}},{key:"clearTimeout",value:function(e){window.clearTimeout(e);var t=function(){};return t.guid="km-timeout-"+e,this.off("dispose",t),e}},{key:"dispose",value:function(){this.manualTimeupdates&&this.manualTimeUpdatesOff(),window.UNLOADTECH?window.UNLOADTECH++:window.UNLOADTECH=1,(0,c.default)(t.prototype.__proto__||(0,r.default)(t.prototype),"dispose",this).call(this)}}],[{key:"canPlayType",value:function(){return""}},{key:"canPlaySource",value:function(e){return t.canPlayType(e.type)}},{key:"isTech",value:function(e){return e.prototype instanceof t||e instanceof t||e===t}},{key:"registerTech",value:function(e,i){if(t._techs||(t._techs={}),!t.isTech(i))throw new Error("Tech "+e+" must be a Tech");return e=(0,d.toTitleCase)(e),t._techs[e]=i,i}},{key:"getTech",value:function(e){if(e)return e=(0,d.toTitleCase)(e),t._techs&&t._techs[e]?t._techs[e]:void 0}},{key:"getTechs",value:function(){return(0,n.default)(t._techs)}}]),t}(l.default);g.prototype.featuresTimeupdateEvents=!1,t.default=g},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.action=void 0;var n,r=i(20),o=i(174),a=(n=o)&&n.__esModule?n:{default:n},s=i(219);var c={options:{controls:[],mediaInfo:{},plugins:{},source:{},tools:[]},source:{},preCreated:!1,voiceOptions:{},findRecordOptions:{},time:{startTime:0,endTime:0,startPercent:0,endPercent:1,duration:0}},u={name:"player",methods:{setTime:function(e,t){return void 0!==t.startTime&&t.startTime>0&&0!==e.time.duration&&(t.startPercent=t.startTime/e.time.duration),void 0!==t.endTime&&t.endTime>0&&0!==e.time.duration&&(t.endPercent=t.endTime/e.time.duration),{time:(0,r.assign)({},e.time,t)}},timeReset:function(e){var t={duration:e.time.duration,endTime:e.time.duration};return{time:(0,r.assign)({},e.time,c.time,t)}},optionsInit:function(e,t){return(0,s.optionsInit)(t)},setOptions:function(e,t){return{options:(0,r.assign)({},e.options,t)}},changeMedia:function(e,t){var i=t;return(0,r.assign)(i,(0,s.nmediaIdAndUrl)(i.nmediaId),{devId:i.devId||i.src}),"string"!=typeof i.websocketUrl&&(i.websocketUrl=""),{options:(0,r.assign)({},e.options,{mediaInfo:i,source:i}),source:i}},setVoiceOptions:function(e,t){var i=t||{};return(0,r.assign)(i,(0,s.nmediaIdAndUrl)(i.nmediaId)),i.audioFormat=("string"==typeof i.audioFormat?i.audioFormat:"")||"pcma",{voiceOptions:i}},setFindRecord:function(e,t){var i=t;return(0,r.assign)(i,(0,s.nmediaIdAndUrl)(i.nmediaId),{startTime:i.startTime.replace(" ","T"),endTime:i.endTime.replace(" ","T")}),{findRecordOptions:(0,r.assign)({},e.findRecordOptions,i)}}}},l=(0,a.default)(u,c),d=l.actions,h=l.reducers;t.default=h;t.action=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setRequestId=function(e){var t=(0,n.newSHA)();r[t]={request_obj:e.request_obj,onSuccess:e.onSuccess,onError:e.onError,canClean:e.canClean},e.liveStart&&(a=t);return t},t.getRequestId=function(e,t){if(r[e]&&r[e].request_obj){var i=r[e].request_obj;i.currentPage++,1===i.currentPage?(i.totalPages=Math.ceil(t.sum_number/100),i.record_info=[],t.record_info&&t.record_info.length&&(i.record_info=i.record_info.concat(t.record_info)),i.currentPage!==i.totalPages&&0!==t.sum_number||(i.hasDone=!0)):i.currentPage<=i.totalPages&&t.record_info&&t.record_info.length&&(i.record_info=i.record_info.concat(t.record_info),i.currentPage===i.totalPages&&(i.hasDone=!0))}return r[e]},t.getRelatedId=function(){return a},t.clearRequestId=function(e){delete r[e]},t.getErrorHandler=function(){return o},t.setErrorHandler=function(e){if(e&&"function"==typeof e)return o=e,!0;return!1};var n=i(67),r={},o=null,a=""},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var n=function(){function e(t,i){void 0===i&&(i=e.now),this.SchedulerAction=t,this.now=i}return e.prototype.schedule=function(e,t,i){return void 0===t&&(t=0),new this.SchedulerAction(this,e).schedule(i,t)},e.now=function(){return Date.now()},e}()},function(e,t,i){var n=i(43),r=i(241),o=i(159),a=i(157)("IE_PROTO"),s=function(){},c=function(){var e,t=i(154)("iframe"),n=o.length;for(t.style.display="none",i(183).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("