!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var r={};e.m=t,e.c=r,e.d=function(t,r,n){e.o(t,r)||Object.defineProperty(t,r,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,"a",r),r},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=95)}([function(t,e,r){"use strict";function n(){for(var t=[],e=0;e0){var s=i.indexOf(r);-1!==s&&i.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=[t].concat(this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)},e}(i.OuterSubscriber)},function(t,e,r){"use strict";var n=r(8),o=r(99),i=r(43),s=r(101),c=function(){function t(t){this._isScalar=!1,t&&(this._subscribe=t)}return t.prototype.lift=function(e){var r=new t;return r.source=this,r.operator=e,r},t.prototype.subscribe=function(t,e,r){var n=this.operator,i=o.toSubscriber(t,e,r);if(n?n.call(i,this.source):i.add(this.source||!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},t.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.syncErrorThrown=!0,t.syncErrorValue=e,t.error(e)}},t.prototype.forEach=function(t,e){var r=this;if(e||(n.root.Rx&&n.root.Rx.config&&n.root.Rx.config.Promise?e=n.root.Rx.config.Promise:n.root.Promise&&(e=n.root.Promise)),!e)throw new Error("no Promise impl found");return new e(function(e,n){var o;o=r.subscribe(function(e){if(o)try{t(e)}catch(t){n(t),o.unsubscribe()}else t(e)},n,e)})},t.prototype._subscribe=function(t){return this.source.subscribe(t)},t.prototype[i.observable]=function(){return this},t.prototype.pipe=function(){for(var t=[],e=0;e=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function i(t){var r=this.useColors;if(t[0]=(r?"%c":"")+this.namespace+(r?" %c":" ")+t[0]+(r?"%c ":" ")+"+"+e.humanize(this.diff),r){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))}),t.splice(i,0,n)}}function s(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function c(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(t){}}function a(){var t;try{t=e.storage.debug}catch(t){}return!t&&void 0!==n&&"env"in n&&(t=n.env.DEBUG),t}e=t.exports=r(106),e.log=s,e.formatArgs=i,e.save=c,e.load=a,e.useColors=o,e.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(t){}}(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},e.enable(a())}).call(e,r(59))},function(t,e,r){"use strict";var n=r(25);e.of=n.ArrayObservable.of},function(t,e,r){"use strict";function n(t){return function(e,r){return e.pipe(c.withLatestFrom(r.io$,r.window$.pipe(p.pluck("location","pathname"))),u.tap(function(e){var r=e[0],n=e[1],i=e[2];return n.emit(t,o({},r,{pathname:i}))}),a.ignoreElements())}}var o=this&&this.__assign||Object.assign||function(t){for(var e,r=1,n=arguments.length;r0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},e}(s.OuterSubscriber);e.MergeMapSubscriber=a},function(t,e,r){"use strict";var n=r(29);e.empty=n.EmptyObservable.create},function(t,e,r){function n(t){if(t)return o(t)}function o(t){for(var e in n.prototype)t[e]=n.prototype[e];return t}t.exports=n,n.prototype.on=n.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},n.prototype.once=function(t,e){function r(){this.off(t,r),e.apply(this,arguments)}return r.fn=e,this.on(t,r),this},n.prototype.off=n.prototype.removeListener=n.prototype.removeAllListeners=n.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n,o=0;o1?{type:g[o],data:t.substring(1)}:{type:g[o]}:w}var i=new Uint8Array(t),o=i[0],s=h(t,1);return _&&"blob"===r&&(s=new _([s])),{type:g[o],data:s}},e.decodeBase64Packet=function(t,e){var r=g[t.charAt(0)];if(!u)return{type:r,data:{base64:!0,data:t.substr(1)}};var n=u.decode(t.substr(1));return"blob"===e&&_&&(n=new _([n])),{type:r,data:n}},e.encodePayload=function(t,r,n){function o(t){return t.length+":"+t}function i(t,n){e.encodePacket(t,!!s&&r,!1,function(t){n(null,o(t))})}"function"==typeof r&&(n=r,r=null);var s=l(t);return r&&s?_&&!v?e.encodePayloadAsBlob(t,n):e.encodePayloadAsArrayBuffer(t,n):t.length?void a(t,i,function(t,e){return n(e.join(""))}):n("0:")},e.decodePayload=function(t,r,n){if("string"!=typeof t)return e.decodePayloadAsBinary(t,r,n);"function"==typeof r&&(n=r,r=null);var o;if(""===t)return n(w,0,1);for(var i,s,c="",a=0,u=t.length;a0;){for(var s=new Uint8Array(o),c=0===s[0],a="",u=1;255!==s[u];u++){if(a.length>310)return n(w,0,1);a+=s[u]}o=h(o,2+a.length),a=parseInt(a);var p=h(o,0,a);if(c)try{p=String.fromCharCode.apply(null,new Uint8Array(p))}catch(t){var l=new Uint8Array(p);p="";for(var u=0;u=0?(e=t.slice(r),t=t.slice(0,r)):e="",(r=t.indexOf("?"))>=0?(n=t.slice(r),t=t.slice(0,r)):n="",{url:t,params:n,hash:e}},e.pathFromUrl=function(t){var r;return t=e.splitUrl(t).url,r=0===t.indexOf("file://")?t.replace(new RegExp("^file://(localhost)?"),""):t.replace(new RegExp("^([^:]+:)?//([^:/]+)(:\\d*)?/"),"/"),decodeURIComponent(r)},e.pickBestMatch=function(t,r,n){var o,i={score:0,object:null};return r.forEach(function(r){(o=e.numberOfMatchingSegments(t,n(r)))>i.score&&(i={object:r,score:o})}),i.score>0?i:null},e.numberOfMatchingSegments=function(t,e){if(t=u(t),e=u(e),t===e)return 1e4;for(var r=t.split("/").reverse(),n=e.split("/").reverse(),o=Math.min(r.length,n.length),i=0;i0},e.getLocation=o,e.updateSearch=i;var b=[function(t){return"map"===t.ext}];e.isBlacklisted=s,e.createTimedBooleanSwitch=c,e.array=a,e.normalisePath=u},function(t,e,r){"use strict";function n(){return window}function o(){return document}function i(t,e){var r,n,o=e.documentElement,i=e.body;return void 0!==t.pageYOffset?(r=t.pageXOffset,n=t.pageYOffset):(r=o.scrollLeft||i.scrollLeft||0,n=o.scrollTop||i.scrollTop||0),{x:r,y:n}}function s(t){var e=t.documentElement,r=t.body;return{x:r.scrollHeight-e.clientWidth,y:r.scrollHeight-e.clientHeight}}function c(t,e){var r=i(t,e);e.cookie="bs_scroll_pos="+[r.x,r.y].join(",")}function a(){var t=o().cookie.replace(/(?:(?:^|.*;\s*)bs_scroll_pos\s*\=\s*([^;]*).*$)|^.*$/,"$1").split(",");n().scrollTo(Number(t[0]),Number(t[1]))}function u(t,e){var r=o().getElementsByTagName(t);return Array.prototype.indexOf.call(r,e)}function p(t){t.blur(),t.focus()}function l(t){var e=t.tagName;return{tagName:e,index:u(e,t)}}function h(t,e){return o().getElementsByTagName(t)[e]}function f(){return o().getElementsByTagName("body")[0]}function d(t){n().scrollTo(t.x,t.y)}function y(){n().location.reload(!0)}function b(t,e){for(var r=0,n=t.length;r1?new e(t,n):1===o?new i.ScalarObservable(t[0],n):new s.EmptyObservable(n)},e.dispatch=function(t){var e=t.array,r=t.index,n=t.count,o=t.subscriber;if(r>=n)return void o.complete();o.next(e[r]),o.closed||(t.index=r+1,this.schedule(t))},e.prototype._subscribe=function(t){var r=this.array,n=r.length,o=this.scheduler;if(o)return o.schedule(e.dispatch,0,{array:r,index:0,count:n,subscriber:t});for(var i=0;i1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof a&&(r=t.pop()),null===n&&1===t.length&&t[0]instanceof o.Observable?t[0]:c.mergeAll(r)(new i.ArrayObservable(t,n))}var o=r(1),i=r(25),s=r(26),c=r(51);e.merge=n},function(t,e,r){"use strict";function n(t){return function(e){return e.lift(new s(t))}}var o=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=r(3);e.skip=n;var s=function(){function t(t){this.total=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.total))},t}(),c=function(t){function e(e,r){t.call(this,e),this.total=r,this.count=0}return o(e,t),e.prototype._next=function(t){++this.count>this.total&&this.destination.next(t)},e}(i.Subscriber)},function(t,e,r){"use strict";function n(t,e){return function(r){return r.lift(new a(t,e))}}var o=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=r(3),s=r(41),c=r(28);e.distinctUntilChanged=n;var a=function(){function t(t,e){this.compare=t,this.keySelector=e}return t.prototype.call=function(t,e){return e.subscribe(new u(t,this.compare,this.keySelector))},t}(),u=function(t){function e(e,r,n){t.call(this,e),this.keySelector=n,this.hasKey=!1,"function"==typeof r&&(this.compare=r)}return o(e,t),e.prototype.compare=function(t,e){return t===e},e.prototype._next=function(t){var e=this.keySelector,r=t;if(e&&(r=s.tryCatch(this.keySelector)(t))===c.errorObject)return this.destination.error(c.errorObject.e);var n=!1;if(this.hasKey){if((n=s.tryCatch(this.compare)(this.key,r))===c.errorObject)return this.destination.error(c.errorObject.e)}else this.hasKey=!0;!1===Boolean(n)&&(this.key=r,this.destination.next(t))},e}(i.Subscriber)},function(t,e,r){"use strict";var n=r(165);e.fromEvent=n.FromEventObservable.create},function(t,e,r){"use strict";function n(t){return"function"==typeof t}e.isFunction=n},function(t,e,r){"use strict";function n(){try{return i.apply(this,arguments)}catch(t){return s.errorObject.e=t,s.errorObject}}function o(t){return i=t,n}var i,s=r(28);e.tryCatch=o},function(t,e,r){"use strict";var n=r(8),o=n.root.Symbol;e.rxSubscriber="function"==typeof o&&"function"==typeof o.for?o.for("rxSubscriber"):"@@rxSubscriber",e.$$rxSubscriber=e.rxSubscriber},function(t,e,r){"use strict";function n(t){var e,r=t.Symbol;return"function"==typeof r?r.observable?e=r.observable:(e=r("observable"),r.observable=e):e="@@observable",e}var o=r(8);e.getSymbolObservable=n,e.observable=n(o.root),e.$$observable=e.observable},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(1),i=function(t){function e(e,r){t.call(this),this.value=e,this.scheduler=r,this._isScalar=!0,r&&(this._isScalar=!1)}return n(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.done,r=t.value,n=t.subscriber;if(e)return void n.complete();n.next(r),n.closed||(t.done=!0,this.schedule(t))},e.prototype._subscribe=function(t){var r=this.value,n=this.scheduler;if(n)return n.schedule(e.dispatch,0,{done:!1,value:r,subscriber:t});t.next(r),t.closed||t.complete()},e}(o.Observable);e.ScalarObservable=i},function(t,e,r){function n(){}function o(t){var r=""+t.type;return e.BINARY_EVENT!==t.type&&e.BINARY_ACK!==t.type||(r+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(r+=t.nsp+","),null!=t.id&&(r+=t.id),null!=t.data&&(r+=JSON.stringify(t.data)),l("encoded %j as %s",t,r),r}function i(t,e){function r(t){var r=d.deconstructPacket(t),n=o(r.packet),i=r.buffers;i.unshift(n),e(i)}d.removeBlobs(t,r)}function s(){this.reconstructor=null}function c(t){var r=0,n={type:Number(t.charAt(0))};if(null==e.types[n.type])return p();if(e.BINARY_EVENT===n.type||e.BINARY_ACK===n.type){for(var o="";"-"!==t.charAt(++r)&&(o+=t.charAt(r),r!=t.length););if(o!=Number(o)||"-"!==t.charAt(r))throw new Error("Illegal attachments");n.attachments=Number(o)}if("/"===t.charAt(r+1))for(n.nsp="";++r;){var i=t.charAt(r);if(","===i)break;if(n.nsp+=i,r===t.length)break}else n.nsp="/";var s=t.charAt(r+1);if(""!==s&&Number(s)==s){for(n.id="";++r;){var i=t.charAt(r);if(null==i||Number(i)!=i){--r;break}if(n.id+=t.charAt(r),r===t.length)break}n.id=Number(n.id)}return t.charAt(++r)&&(n=a(n,t.substr(r))),l("decoded %s as %j",t,n),n}function a(t,e){try{t.data=JSON.parse(e)}catch(t){return p()}return t}function u(t){this.reconPack=t,this.buffers=[]}function p(){return{type:e.ERROR,data:"parser error"}}var l=r(10)("socket.io-parser"),h=r(19),f=r(60),d=r(109),y=r(61);e.protocol=4,e.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],e.CONNECT=0,e.DISCONNECT=1,e.EVENT=2,e.ACK=3,e.ERROR=4,e.BINARY_EVENT=5,e.BINARY_ACK=6,e.Encoder=n,e.Decoder=s,n.prototype.encode=function(t,r){if(t.type!==e.EVENT&&t.type!==e.ACK||!f(t.data)||(t.type=t.type===e.EVENT?e.BINARY_EVENT:e.BINARY_ACK),l("encoding packet %j",t),e.BINARY_EVENT===t.type||e.BINARY_ACK===t.type)i(t,r);else{r([o(t)])}},h(s.prototype),s.prototype.add=function(t){var r;if("string"==typeof t)r=c(t),e.BINARY_EVENT===r.type||e.BINARY_ACK===r.type?(this.reconstructor=new u(r),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",r)):this.emit("decoded",r);else{if(!y(t)&&!t.base64)throw new Error("Unknown type: "+t);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(r=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,this.emit("decoded",r))}},s.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},u.prototype.takeBinaryData=function(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e=d.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null},u.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},function(t,e,r){(function(e){var n=r(113);t.exports=function(t){var r=t.xdomain,o=t.xscheme,i=t.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!r||n))return new XMLHttpRequest}catch(t){}try{if("undefined"!=typeof XDomainRequest&&!o&&i)return new XDomainRequest}catch(t){}if(!r)try{return new(e[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(t){}}}).call(e,r(5))},function(t,e,r){function n(t){this.path=t.path,this.hostname=t.hostname,this.port=t.port,this.secure=t.secure,this.query=t.query,this.timestampParam=t.timestampParam,this.timestampRequests=t.timestampRequests,this.readyState="",this.agent=t.agent||!1,this.socket=t.socket,this.enablesXDR=t.enablesXDR,this.pfx=t.pfx,this.key=t.key,this.passphrase=t.passphrase,this.cert=t.cert,this.ca=t.ca,this.ciphers=t.ciphers,this.rejectUnauthorized=t.rejectUnauthorized,this.forceNode=t.forceNode,this.extraHeaders=t.extraHeaders,this.localAddress=t.localAddress}var o=r(20),i=r(19);t.exports=n,i(n.prototype),n.prototype.onError=function(t,e){var r=new Error(t);return r.type="TransportError",r.description=e,this.emit("error",r),this},n.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},n.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},n.prototype.send=function(t){if("open"!==this.readyState)throw new Error("Transport not open");this.write(t)},n.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},n.prototype.onData=function(t){var e=o.decodePacket(t,this.socket.binaryType);this.onPacket(e)},n.prototype.onPacket=function(t){this.emit("packet",t)},n.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},function(t,e,r){"use strict";var n=r(131);e.timer=n.TimerObservable.create},function(t,e,r){"use strict";function n(t,e){return t.pipe(s.tap(function(t){return e.option$.next(t)}),i.ignoreElements())}function o(t){return[c.EffectNames.SetOptions,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(13),s=r(6),c=r(9);e.setOptionsEffect=n,e.setOptions=o},function(t,e,r){"use strict";function n(){for(var t=[],e=0;e1)for(var r=1;r0&&!this.encoding){var t=this.packetBuffer.shift();this.packet(t)}},n.prototype.cleanup=function(){p("cleanup");for(var t=this.subs.length,e=0;e=this._reconnectionAttempts)p("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var e=this.backoff.duration();p("will wait %dms before reconnect attempt",e),this.reconnecting=!0;var r=setTimeout(function(){t.skipReconnect||(p("attempting reconnect"),t.emitAll("reconnect_attempt",t.backoff.attempts),t.emitAll("reconnecting",t.backoff.attempts),t.skipReconnect||t.open(function(e){e?(p("reconnect attempt error"),t.reconnecting=!1,t.reconnect(),t.emitAll("reconnect_error",e.data)):(p("reconnect success"),t.onreconnect())}))},e);this.subs.push({destroy:function(){clearTimeout(r)}})}},n.prototype.onreconnect=function(){var t=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",t)}},function(t,e,r){(function(t){function n(e){var r=!1,n=!1,c=!1!==e.jsonp;if(t.location){var a="https:"===location.protocol,u=location.port;u||(u=a?443:80),r=e.hostname!==location.hostname||u!==e.port,n=e.secure!==a}if(e.xdomain=r,e.xscheme=n,"open"in new o(e)&&!e.forceJSONP)return new i(e);if(!c)throw new Error("JSONP disabled");return new s(e)}var o=r(46),i=r(114),s=r(122),c=r(123);e.polling=n,e.websocket=c}).call(e,r(5))},function(t,e,r){function n(t){var e=t&&t.forceBase64;p&&!e||(this.supportsBinary=!1),o.call(this,t)}var o=r(47),i=r(33),s=r(20),c=r(34),a=r(65),u=r(10)("engine.io-client:polling");t.exports=n;var p=function(){return null!=new(r(46))({xdomain:!1}).responseType}();c(n,o),n.prototype.name="polling",n.prototype.doOpen=function(){this.poll()},n.prototype.pause=function(t){function e(){u("paused"),r.readyState="paused",t()}var r=this;if(this.readyState="pausing",this.polling||!this.writable){var n=0;this.polling&&(u("we are currently polling - waiting to pause"),n++,this.once("pollComplete",function(){u("pre-pause polling complete"),--n||e()})),this.writable||(u("we are currently writing - waiting to pause"),n++,this.once("drain",function(){u("pre-pause writing complete"),--n||e()}))}else e()},n.prototype.poll=function(){u("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},n.prototype.onData=function(t){var e=this;u("polling got data %s",t);var r=function(t,r,n){if("opening"===e.readyState&&e.onOpen(),"close"===t.type)return e.onClose(),!1;e.onPacket(t)};s.decodePayload(t,this.socket.binaryType,r),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():u('ignoring poll - transport state "%s"',this.readyState))},n.prototype.doClose=function(){function t(){u("writing close packet"),e.write([{type:"close"}])}var e=this;"open"===this.readyState?(u("transport open - closing"),t()):(u("transport not open - deferring close"),this.once("open",t))},n.prototype.write=function(t){var e=this;this.writable=!1;var r=function(){e.writable=!0,e.emit("drain")};s.encodePayload(t,this.supportsBinary,function(t){e.doWrite(t,r)})},n.prototype.uri=function(){var t=this.query||{},e=this.secure?"https":"http",r="";return!1!==this.timestampRequests&&(t[this.timestampParam]=a()),this.supportsBinary||t.sid||(t.b64=1),t=i.encode(t),this.port&&("https"===e&&443!==Number(this.port)||"http"===e&&80!==Number(this.port))&&(r=":"+this.port),t.length&&(t="?"+t),e+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+r+this.path+t}},function(t,e,r){"use strict";function n(t){var e="";do{e=c[t%a]+e,t=Math.floor(t/a)}while(t>0);return e}function o(t){var e=0;for(l=0;l1)return void(this.connection=null);var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},e}(i.Subscriber)},function(t,e,r){"use strict";function n(t){return t.pipe(s.tap(function(t){var e=t.target,r=t.prop,n=t.value;e[r]=n}),i.map(function(t){return a.consoleInfo("[PropSet]",t.target,t.prop+" = "+t.pathname)}))}function o(t){return[c.Events.PropSet,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=r(6),c=r(21),a=r(16);e.propSetDomEffect=n,e.propSet=o},function(t,e,r){"use strict";function n(t){return!o.isArray(t)&&t-parseFloat(t)+1>=0}var o=r(27);e.isNumeric=n},function(t,e,r){"use strict";var n=r(76),o=r(77);e.async=new o.AsyncScheduler(n.AsyncAction)},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(8),i=r(132),s=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r,this.pending=!1}return n(e,t),e.prototype.schedule=function(t,e){if(void 0===e&&(e=0),this.closed)return this;this.state=t,this.pending=!0;var r=this.id,n=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(n,r,e)),this.delay=e,this.id=this.id||this.requestAsyncId(n,this.id,e),this},e.prototype.requestAsyncId=function(t,e,r){return void 0===r&&(r=0),o.root.setInterval(t.flush.bind(t,this),r)},e.prototype.recycleAsyncId=function(t,e,r){return void 0===r&&(r=0),null!==r&&this.delay===r&&!1===this.pending?e:o.root.clearInterval(e)&&void 0||void 0},e.prototype.execute=function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(t,e);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},e.prototype._execute=function(t,e){var r=!1,n=void 0;try{this.work(t)}catch(t){r=!0,n=!!t&&t||new Error(t)}if(r)return this.unsubscribe(),n},e.prototype._unsubscribe=function(){var t=this.id,e=this.scheduler,r=e.actions,n=r.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==n&&r.splice(n,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null},e}(i.Action);e.AsyncAction=s},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(133),i=function(t){function e(){t.apply(this,arguments),this.actions=[],this.active=!1,this.scheduled=void 0}return n(e,t),e.prototype.flush=function(t){var e=this.actions;if(this.active)return void e.push(t);var r;this.active=!0;do{if(r=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,r){for(;t=e.shift();)t.unsubscribe();throw r}},e}(o.Scheduler);e.AsyncScheduler=i},function(t,e,r){"use strict";function n(t){return t.pipe(c.tap(function(t){var e=t.style,r=t.styleName,n=t.newValue;e[r]=n}),i.map(function(t){return a.consoleInfo("[StyleSet] "+t.styleName+" = "+t.pathName)}))}function o(t){return[s.Events.StyleSet,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=r(21),c=r(6),a=r(16);e.styleSetDomEffect=n,e.styleSet=o},function(t,e,r){"use strict";function n(t,e){return t.pipe(c.withLatestFrom(e.option$.pipe(u.pluck("injectNotification"))),s.filter(function(t){return t[1]}),i.map(function(t){var e=t[0],r=t[1],n="[LinkReplace] "+e.basename;return"overlay"===r?a.overlayInfo(n):a.consoleInfo(n)}))}function o(t){return[p.Events.LinkReplace,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=r(4),c=r(0),a=r(16),u=r(7),p=r(21);e.linkReplaceDomEffect=n,e.linkReplace=o},function(t,e,r){"use strict";function n(t,e){return[a.Events.SetScroll,{x:t,y:e}]}function o(t,e){return t.pipe(s.withLatestFrom(e.window$),c.tap(function(t){var e=t[0];return t[1].scrollTo(e.x,e.y)}),i.ignoreElements())}Object.defineProperty(e,"__esModule",{value:!0});var i=r(13),s=r(0),c=r(6),a=r(21);e.setScroll=n,e.setScrollDomEffect=o},function(t,e,r){"use strict";function n(t,e){return t.pipe(s.withLatestFrom(e.window$),c.tap(function(t){var e=t[0];return t[1].name=e}),i.ignoreElements())}function o(t){return[a.Events.SetWindowName,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(13),s=r(0),c=r(6),a=r(21);e.setWindowNameDomEffect=n,e.setWindowName=o},function(t,e,r){"use strict";function n(t,e,r,n){return void 0===n&&(n=-1),[i.OutgoingSocketEvents.Scroll,{position:t,tagName:e,index:r,mappingIndex:n}]}function o(t,e){return t.pipe(u.withLatestFrom(e.option$.pipe(s.pluck("ghostMode","scroll")),e.window$.pipe(s.pluck("location","pathname"))),c.filter(function(t){var e=t[0],r=t[1],n=t[2];return r&&e.pathname===n}),a.map(function(t){var e=t[0];return[p.EffectNames.BrowserSetScroll,e]}))}Object.defineProperty(e,"__esModule",{value:!0});var i=r(12),s=r(7),c=r(4),a=r(2),u=r(0),p=r(9);e.outgoing=n,e.incomingScrollHandler=o},function(t,e,r){"use strict";function n(t){return[i.EffectNames.FileReload,t]}function o(t,e){return t.pipe(c.withLatestFrom(e.option$,e.document$,e.navigator$),a.mergeMap(function(t){var e=t[0],r=t[1],n=t[2],o=t[3];return s.reload(n,o)(e,{tagNames:r.tagNames,liveCSS:!0,liveImg:!0})}))}Object.defineProperty(e,"__esModule",{value:!0});var i=r(9),s=r(136),c=r(0),a=r(17);e.fileReload=n,e.fileReloadEffect=o},function(t,e,r){"use strict";var n=r(137);e.from=n.FromObservable.create},function(t,e,r){"use strict";function n(t){return function(e){return e.lift(new s(t))}}var o=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},i=r(3);e.mapTo=n;var s=function(){function t(t){this.value=t}return t.prototype.call=function(t,e){return e.subscribe(new c(t,this.value))},t}(),c=function(t){function e(e,r){t.call(this,e),this.value=r}return o(e,t),e.prototype._next=function(t){this.destination.next(this.value)},e}(i.Subscriber)},function(t,e,r){"use strict";function n(t,e){return t.pipe(c.withLatestFrom(e.window$),s.tap(function(t){var e=t[0],r=t[1];return e.path?r.location=r.location.protocol+"//"+r.location.host+e.path:e.url?r.location=e.url:void 0}),i.ignoreElements())}function o(t){return[a.EffectNames.BrowserSetLocation,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(13),s=r(6),c=r(0),a=r(9);e.browserSetLocationEffect=n,e.browserSetLocation=o},function(t,e,r){"use strict";function n(t,e){return t.pipe(c.withLatestFrom(e.window$,e.document$),s.tap(function(t){var e=t[0],r=t[1],n=t[2],o=n.getElementsByTagName(e.tagName),i=o[e.index];i&&(n.createEvent?r.setTimeout(function(){var t=n.createEvent("MouseEvents");t.initEvent("click",!0,!0),i.dispatchEvent(t)},0):r.setTimeout(function(){if(n.createEventObject){var t=n.createEventObject();t.cancelBubble=!0,i.fireEvent("onclick",t)}},0))}),i.ignoreElements())}function o(t){return[a.EffectNames.SimulateClick,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(13),s=r(6),c=r(0),a=r(9);e.simulateClickEffect=n,e.simulateClick=o},function(t,e,r){"use strict";function n(t,e){return t.pipe(s.withLatestFrom(e.document$),i.tap(function(t){var e=t[0],r=t[1],n=r.getElementsByTagName(e.tagName),o=n[e.index];o&&(o.value=e.value)}))}function o(t){return[c.EffectNames.SetElementValue,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(6),s=r(0),c=r(9);e.setElementValueEffect=n,e.setElementValue=o},function(t,e,r){"use strict";function n(t,e){return t.pipe(s.withLatestFrom(e.document$),i.tap(function(t){var e=t[0],r=t[1],n=r.getElementsByTagName(e.tagName),o=n[e.index];o&&("radio"===e.type&&(o.checked=!0),"checkbox"===e.type&&(o.checked=e.checked),"SELECT"===e.tagName&&(o.value=e.value))}))}function o(t){return[c.EffectNames.SetElementToggleValue,t]}Object.defineProperty(e,"__esModule",{value:!0});var i=r(6),s=r(0),c=r(9);e.setElementToggleValueEffect=n,e.setElementToggleValue=o},function(t,e,r){"use strict";function n(){return[s.EffectNames.BrowserReload]}function o(){return[s.EffectNames.PreBrowserReload]}function i(t,e){return t.pipe(a.withLatestFrom(e.window$),c.tap(function(t){return t[1].location.reload(!0)}))}Object.defineProperty(e,"__esModule",{value:!0});var s=r(9),c=r(6),a=r(0);e.browserReload=n,e.preBrowserReload=o,e.browserReloadEffect=i},function(t,e,r){"use strict";function n(t){return[i.OutgoingSocketEvents.Click,t]}function o(t,e){return t.pipe(u.withLatestFrom(e.option$.pipe(s.pluck("ghostMode","clicks")),e.window$.pipe(s.pluck("location","pathname"))),c.filter(function(t){var e=t[0],r=t[1],n=t[2];return r&&e.pathname===n}),a.map(function(t){var e=t[0];return p.simulateClick(e)}))}Object.defineProperty(e,"__esModule",{value:!0});var i=r(12),s=r(7),c=r(4),a=r(2),u=r(0),p=r(87);e.outgoing=n,e.incomingHandler$=o},function(t,e,r){"use strict";function n(t,e){return[s.OutgoingSocketEvents.Keyup,i({},t,{value:e})]}function o(t,e){return t.pipe(p.withLatestFrom(e.option$.pipe(c.pluck("ghostMode","forms","inputs")),e.window$.pipe(c.pluck("location","pathname"))),a.filter(function(t){var e=t[0],r=t[1],n=t[2];return r&&e.pathname===n}),u.map(function(t){var e=t[0];return l.setElementValue(e)}))}var i=this&&this.__assign||Object.assign||function(t){for(var e,r=1,n=arguments.length;r=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},r(156),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,r){"use strict";function n(t,e){return[s.OutgoingSocketEvents.InputToggle,i({},t,e)]}function o(t,e){return t.pipe(p.withLatestFrom(e.option$.pipe(c.pluck("ghostMode","forms","toggles")),e.window$.pipe(c.pluck("location","pathname"))),a.filter(function(t){return!0===t[1]}),u.map(function(t){var e=t[0];return l.setElementToggleValue(e)}))}var i=this&&this.__assign||Object.assign||function(t){for(var e,r=1,n=arguments.length;rthis.index},t.prototype.hasCompleted=function(){return this.array.length===this.index},t}(),b=function(t){function e(e,r,n){t.call(this,e),this.parent=r,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}return i(e,t),e.prototype[l.iterator]=function(){return this},e.prototype.next=function(){var t=this.buffer;return 0===t.length&&this.isComplete?{value:null,done:!0}:{value:t.shift(),done:!1}},e.prototype.hasValue=function(){return this.buffer.length>0},e.prototype.hasCompleted=function(){return 0===this.buffer.length&&this.isComplete},e.prototype.notifyComplete=function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()},e.prototype.notifyNext=function(t,e,r,n,o){this.buffer.push(e),this.parent.checkIterators()},e.prototype.subscribe=function(t,e){return p.subscribeToResult(this,this.observable,this,e)},e}(u.OuterSubscriber)},function(t,e,r){"use strict";function n(t,e,r){if(t){if(t instanceof o.Subscriber)return t;if(t[i.rxSubscriber])return t[i.rxSubscriber]()}return t||e||r?new o.Subscriber(t,e,r):new o.Subscriber(s.empty)}var o=r(3),i=r(42),s=r(54);e.toSubscriber=n},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=function(t){function e(e){t.call(this),this.errors=e;var r=Error.call(this,e?e.length+" errors occurred during unsubscription:\n "+e.map(function(t,e){return e+1+") "+t.toString()}).join("\n "):"");this.name=r.name="UnsubscriptionError",this.stack=r.stack,this.message=r.message}return n(e,t),e}(Error);e.UnsubscriptionError=o},function(t,e,r){"use strict";function n(){for(var t=[],e=0;e100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return r*p;case"days":case"day":case"d":return r*u;case"hours":case"hour":case"hrs":case"hr":case"h":return r*a;case"minutes":case"minute":case"mins":case"min":case"m":return r*c;case"seconds":case"second":case"secs":case"sec":case"s":return r*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function n(t){return t>=u?Math.round(t/u)+"d":t>=a?Math.round(t/a)+"h":t>=c?Math.round(t/c)+"m":t>=s?Math.round(t/s)+"s":t+"ms"}function o(t){return i(t,u,"day")||i(t,a,"hour")||i(t,c,"minute")||i(t,s,"second")||t+" ms"}function i(t,e,r){if(!(t0)return r(t);if("number"===i&&!1===isNaN(t))return e.long?o(t):n(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){(function(t){function n(t,e){if(!t)return t;if(s(t)){var r={_placeholder:!0,num:e.length};return e.push(t),r}if(i(t)){for(var o=new Array(t.length),c=0;c0&&(this.extraHeaders=r.extraHeaders),r.localAddress&&(this.localAddress=r.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}function o(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}var i=r(63),s=r(19),c=r(10)("engine.io-client:socket"),a=r(66),u=r(20),p=r(58),l=r(33);t.exports=n,n.priorWebsocketSuccess=!1,s(n.prototype),n.protocol=u.protocol,n.Socket=n,n.Transport=r(47),n.transports=r(63),n.parser=r(20),n.prototype.createTransport=function(t){c('creating transport "%s"',t);var e=o(this.query);e.EIO=u.protocol,e.transport=t;var r=this.transportOptions[t]||{};return this.id&&(e.sid=this.id),new i[t]({query:e,socket:this,agent:r.agent||this.agent,hostname:r.hostname||this.hostname,port:r.port||this.port,secure:r.secure||this.secure,path:r.path||this.path,forceJSONP:r.forceJSONP||this.forceJSONP,jsonp:r.jsonp||this.jsonp,forceBase64:r.forceBase64||this.forceBase64,enablesXDR:r.enablesXDR||this.enablesXDR,timestampRequests:r.timestampRequests||this.timestampRequests,timestampParam:r.timestampParam||this.timestampParam,policyPort:r.policyPort||this.policyPort,pfx:r.pfx||this.pfx,key:r.key||this.key,passphrase:r.passphrase||this.passphrase,cert:r.cert||this.cert,ca:r.ca||this.ca,ciphers:r.ciphers||this.ciphers,rejectUnauthorized:r.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:r.perMessageDeflate||this.perMessageDeflate,extraHeaders:r.extraHeaders||this.extraHeaders,forceNode:r.forceNode||this.forceNode,localAddress:r.localAddress||this.localAddress,requestTimeout:r.requestTimeout||this.requestTimeout,protocols:r.protocols||void 0})},n.prototype.open=function(){var t;if(this.rememberUpgrade&&n.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))t="websocket";else{if(0===this.transports.length){var e=this;return void setTimeout(function(){e.emit("error","No transports available")},0)}t=this.transports[0]}this.readyState="opening";try{t=this.createTransport(t)}catch(t){return this.transports.shift(),void this.open()}t.open(),this.setTransport(t)},n.prototype.setTransport=function(t){c("setting transport %s",t.name);var e=this;this.transport&&(c("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=t,t.on("drain",function(){e.onDrain()}).on("packet",function(t){e.onPacket(t)}).on("error",function(t){e.onError(t)}).on("close",function(){e.onClose("transport close")})},n.prototype.probe=function(t){function e(){if(h.onlyBinaryUpgrades){var e=!this.supportsBinary&&h.transport.supportsBinary;l=l||e}l||(c('probe transport "%s" opened',t),p.send([{type:"ping",data:"probe"}]),p.once("packet",function(e){if(!l)if("pong"===e.type&&"probe"===e.data){if(c('probe transport "%s" pong',t),h.upgrading=!0,h.emit("upgrading",p),!p)return;n.priorWebsocketSuccess="websocket"===p.name,c('pausing current transport "%s"',h.transport.name),h.transport.pause(function(){l||"closed"!==h.readyState&&(c("changing transport and sending upgrade packet"),u(),h.setTransport(p),p.send([{type:"upgrade"}]),h.emit("upgrade",p),p=null,h.upgrading=!1,h.flush())})}else{c('probe transport "%s" failed',t);var r=new Error("probe error");r.transport=p.name,h.emit("upgradeError",r)}}))}function r(){l||(l=!0,u(),p.close(),p=null)}function o(e){var n=new Error("probe error: "+e);n.transport=p.name,r(),c('probe transport "%s" failed because of error: %s',t,e),h.emit("upgradeError",n)}function i(){o("transport closed")}function s(){o("socket closed")}function a(t){p&&t.name!==p.name&&(c('"%s" works - aborting "%s"',t.name,p.name),r())}function u(){p.removeListener("open",e),p.removeListener("error",o),p.removeListener("close",i),h.removeListener("close",s),h.removeListener("upgrading",a)}c('probing transport "%s"',t);var p=this.createTransport(t,{probe:1}),l=!1,h=this;n.priorWebsocketSuccess=!1,p.once("open",e),p.once("error",o),p.once("close",i),this.once("close",s),this.once("upgrading",a),p.open()},n.prototype.onOpen=function(){if(c("socket open"),this.readyState="open",n.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){c("starting upgrade probes");for(var t=0,e=this.upgrades.length;tn&&(r=n),e>=n||e>=r||0===n)return new ArrayBuffer(0);for(var o=new Uint8Array(t),i=new Uint8Array(r-e),s=e,c=0;s=55296&&e<=56319&&o65535&&(e-=65536,o+=w(e>>>10&1023|55296),e=56320|1023&e),o+=w(e);return o}function a(t,e){if(t>=55296&&t<=57343){if(e)throw Error("Lone surrogate U+"+t.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function u(t,e){return w(t>>e&63|128)}function p(t,e){if(0==(4294967168&t))return w(t);var r="";return 0==(4294965248&t)?r=w(t>>6&31|192):0==(4294901760&t)?(a(t,e)||(t=65533),r=w(t>>12&15|224),r+=u(t,6)):0==(4292870144&t)&&(r=w(t>>18&7|240),r+=u(t,12),r+=u(t,6)),r+=w(63&t|128)}function l(t,e){e=e||{};for(var r,n=!1!==e.strict,o=s(t),i=o.length,c=-1,a="";++c=m)throw Error("Invalid byte index");var t=255&v[g];if(g++,128==(192&t))return 63&t;throw Error("Invalid continuation byte")}function f(t){var e,r,n,o,i;if(g>m)throw Error("Invalid byte index");if(g==m)return!1;if(e=255&v[g],g++,0==(128&e))return e;if(192==(224&e)){if(r=h(),(i=(31&e)<<6|r)>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&e)){if(r=h(),n=h(),(i=(15&e)<<12|r<<6|n)>=2048)return a(i,t)?i:65533;throw Error("Invalid continuation byte")}if(240==(248&e)&&(r=h(),n=h(),o=h(),(i=(7&e)<<18|r<<12|n<<6|o)>=65536&&i<=1114111))return i;throw Error("Invalid UTF-8 detected")}function d(t,e){e=e||{};var r=!1!==e.strict;v=s(t),m=v.length,g=0;for(var n,o=[];!1!==(n=f(r));)o.push(n);return c(o)}var y="object"==typeof e&&e,b=("object"==typeof t&&t&&t.exports,"object"==typeof n&&n);var v,m,g,w=String.fromCharCode,_={version:"2.1.2",encode:l,decode:d};void 0!==(o=function(){return _}.call(e,r,e,t))&&(t.exports=o)}()}).call(e,r(119)(t),r(5))},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e){!function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=new Uint8Array(256),n=0;n>2],i+=t[(3&n[r])<<4|n[r+1]>>4],i+=t[(15&n[r+1])<<2|n[r+2]>>6],i+=t[63&n[r+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},e.decode=function(t){var e,n,o,i,s,c=.75*t.length,a=t.length,u=0;"="===t[t.length-1]&&(c--,"="===t[t.length-2]&&c--);var p=new ArrayBuffer(c),l=new Uint8Array(p);for(e=0;e>4,l[u++]=(15&o)<<4|i>>2,l[u++]=(3&i)<<6|63&s;return p}}()},function(t,e,r){(function(e){function r(t){for(var e=0;e';i=document.createElement(t)}catch(t){i=document.createElement("iframe"),i.name=o.iframeId,i.src="javascript:0"}i.id=o.iframeId,o.form.appendChild(i),o.iframe=i}var o=this;if(!this.form){var i,s=document.createElement("form"),c=document.createElement("textarea"),p=this.iframeId="eio_iframe_"+this.index;s.className="socketio",s.style.position="absolute",s.style.top="-1000px",s.style.left="-1000px",s.target=p,s.method="POST",s.setAttribute("accept-charset","utf-8"),c.name="d",s.appendChild(c),document.body.appendChild(s),this.form=s,this.area=c}this.form.action=this.uri(),n(),t=t.replace(u,"\\\n"),this.area.value=t.replace(a,"\\n");try{this.form.submit()}catch(t){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===o.iframe.readyState&&r()}:this.iframe.onload=r}}).call(e,r(5))},function(t,e,r){(function(e){function n(t){t&&t.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=t.perMessageDeflate,this.usingBrowserWebSocket=l&&!t.forceNode,this.protocols=t.protocols,this.usingBrowserWebSocket||(h=o),i.call(this,t)}var o,i=r(47),s=r(20),c=r(33),a=r(34),u=r(65),p=r(10)("engine.io-client:websocket"),l=e.WebSocket||e.MozWebSocket;if("undefined"==typeof window)try{o=r(124)}catch(t){}var h=l;h||"undefined"!=typeof window||(h=o),t.exports=n,a(n,i),n.prototype.name="websocket",n.prototype.supportsBinary=!0,n.prototype.doOpen=function(){if(this.check()){var t=this.uri(),e=this.protocols,r={agent:this.agent,perMessageDeflate:this.perMessageDeflate};r.pfx=this.pfx,r.key=this.key,r.passphrase=this.passphrase,r.cert=this.cert,r.ca=this.ca,r.ciphers=this.ciphers,r.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(r.headers=this.extraHeaders),this.localAddress&&(r.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket?e?new h(t,e):new h(t):new h(t,e,r)}catch(t){return this.emit("error",t)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},n.prototype.addEventListeners=function(){var t=this;this.ws.onopen=function(){t.onOpen()},this.ws.onclose=function(){t.onClose()},this.ws.onmessage=function(e){t.onData(e.data)},this.ws.onerror=function(e){t.onError("websocket error",e)}},n.prototype.write=function(t){function r(){n.emit("flush"),setTimeout(function(){n.writable=!0,n.emit("drain")},0)}var n=this;this.writable=!1;for(var o=t.length,i=0,c=o;i0&&t.jitter<=1?t.jitter:0,this.attempts=0}t.exports=r,r.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),r=Math.floor(e*this.jitter*t);t=0==(1&Math.floor(10*e))?t-r:t+r}return 0|Math.min(t,this.max)},r.prototype.reset=function(){this.attempts=0},r.prototype.setMin=function(t){this.ms=t},r.prototype.setMax=function(t){this.max=t},r.prototype.setJitter=function(t){this.jitter=t}},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(14),i=function(t){function e(e,r){t.call(this),this.subject=e,this.subscriber=r,this.closed=!1}return n(e,t),e.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var r=e.indexOf(this.subscriber);-1!==r&&e.splice(r,1)}}},e}(o.Subscription);e.SubjectSubscription=i},function(t,e,r){"use strict";function n(t,e){return function(r){var n;if(n="function"==typeof t?t:function(){return t},"function"==typeof e)return r.lift(new i(n,e));var s=Object.create(r,o.connectableObservableDescriptor);return s.source=r,s.subjectFactory=n,s}}var o=r(129);e.multicast=n;var i=function(){function t(t,e){this.subjectFactory=t,this.selector=e}return t.prototype.call=function(t,e){var r=this.selector,n=this.subjectFactory(),o=r(n).subscribe(t);return o.add(e.subscribe(n)),o},t}();e.MulticastOperator=i},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(35),i=r(1),s=r(3),c=r(14),a=r(72),u=function(t){function e(e,r){t.call(this),this.source=e,this.subjectFactory=r,this._refCount=0,this._isComplete=!1}return n(e,t),e.prototype._subscribe=function(t){return this.getSubject().subscribe(t)},e.prototype.getSubject=function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject},e.prototype.connect=function(){var t=this._connection;return t||(this._isComplete=!1,t=this._connection=new c.Subscription,t.add(this.source.subscribe(new l(this.getSubject(),this))),t.closed?(this._connection=null,t=c.Subscription.EMPTY):this._connection=t),t},e.prototype.refCount=function(){return a.refCount()(this)},e}(i.Observable);e.ConnectableObservable=u;var p=u.prototype;e.connectableObservableDescriptor={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:p._subscribe},_isComplete:{value:p._isComplete,writable:!0},getSubject:{value:p.getSubject},connect:{value:p.connect},refCount:{value:p.refCount}};var l=function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._error=function(e){this._unsubscribe(),t.prototype._error.call(this,e)},e.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),t.prototype._complete.call(this)},e.prototype._unsubscribe=function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}},e}(o.SubjectSubscriber),h=(function(){function t(t){this.connectable=t}t.prototype.call=function(t,e){var r=this.connectable;r._refCount++;var n=new h(t,r),o=e.subscribe(n);return n.closed||(n.connection=r.connect()),o}}(),function(t){function e(e,r){t.call(this,e),this.connectable=r}return n(e,t),e.prototype._unsubscribe=function(){var t=this.connectable;if(!t)return void(this.connection=null);this.connectable=null;var e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);var r=this.connection,n=t._connection;this.connection=null,!n||r&&n!==r||n.unsubscribe()},e}(s.Subscriber))},function(t,e,r){"use strict";function n(t){var e,r=i;if(t.notify.styles)if("[object Array]"===Object.prototype.toString.call(t.notify.styles))r=t.notify.styles.join(";");else for(var n in t.notify.styles)t.notify.styles.hasOwnProperty(n)&&(r[n]=t.notify.styles[n]);if(e=document.createElement("DIV"),e.id="__bs_notify__","string"==typeof r)e.style.cssText=r;else for(var s in r)e.style[s]=r[s];return new o.BehaviorSubject(e)}Object.defineProperty(e,"__esModule",{value:!0});var o=r(15),i={display:"none",padding:"15px",fontFamily:"sans-serif",position:"fixed",fontSize:"0.9em",zIndex:9999,right:0,top:0,borderBottomLeftRadius:"5px",backgroundColor:"#1B2032",margin:0,color:"white",textAlign:"center",pointerEvents:"none"};e.initNotify=n},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(74),i=r(1),s=r(75),c=r(26),a=r(134),u=function(t){function e(e,r,n){void 0===e&&(e=0),t.call(this),this.period=-1,this.dueTime=0,o.isNumeric(r)?this.period=Number(r)<1&&1||Number(r):c.isScheduler(r)&&(n=r),c.isScheduler(n)||(n=s.async),this.scheduler=n,this.dueTime=a.isDate(e)?+e-this.scheduler.now():e}return n(e,t),e.create=function(t,r,n){return void 0===t&&(t=0),new e(t,r,n)},e.dispatch=function(t){var e=t.index,r=t.period,n=t.subscriber,o=this;if(n.next(e),!n.closed){if(-1===r)return n.complete();t.index=e+1,o.schedule(t,r)}},e.prototype._subscribe=function(t){var r=this,n=r.period,o=r.dueTime;return r.scheduler.schedule(e.dispatch,o,{index:0,period:n,subscriber:t})},e}(i.Observable);e.TimerObservable=u},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(14),i=function(t){function e(e,r){t.call(this)}return n(e,t),e.prototype.schedule=function(t,e){return void 0===e&&(e=0),this},e}(o.Subscription);e.Action=i},function(t,e,r){"use strict";var n=function(){function t(e,r){void 0===r&&(r=t.now),this.SchedulerAction=e,this.now=r}return t.prototype.schedule=function(t,e,r){return void 0===e&&(e=0),new this.SchedulerAction(this,t).schedule(r,e)},t.now=Date.now?Date.now:function(){return+new Date},t}();e.Scheduler=n},function(t,e,r){"use strict";function n(t){return t instanceof Date&&!isNaN(+t)}e.isDate=n},function(t,e,r){"use strict";function n(t){return"color: "+t+";"}var o=this&&this.__assign||Object.assign||function(t){for(var e,r=1,n=arguments.length;rd?d:e):e}function i(t){return"number"==typeof t&&a.root.isFinite(t)}function s(t){var e=+t;return 0===e?e:isNaN(e)?e:e<0?-1:1}var c=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},a=r(8),u=r(1),p=r(32),l=function(t){function e(e,r){if(t.call(this),this.scheduler=r,null==e)throw new Error("iterator cannot be null.");this.iterator=n(e)}return c(e,t),e.create=function(t,r){return new e(t,r)},e.dispatch=function(t){var e=t.index,r=t.hasError,n=t.iterator,o=t.subscriber;if(r)return void o.error(t.error);var i=n.next();return i.done?void o.complete():(o.next(i.value),t.index=e+1,o.closed?void("function"==typeof n.return&&n.return()):void this.schedule(t))},e.prototype._subscribe=function(t){var r=this,n=r.iterator,o=r.scheduler;if(o)return o.schedule(e.dispatch,0,{index:0,iterator:n,subscriber:t});for(;;){var i=n.next();if(i.done){t.complete();break}if(t.next(i.value),t.closed){"function"==typeof n.return&&n.return();break}}},e}(u.Observable);e.IteratorObservable=l;var h=function(){function t(t,e,r){void 0===e&&(e=0),void 0===r&&(r=t.length),this.str=t,this.idx=e,this.len=r}return t.prototype[p.iterator]=function(){return this},t.prototype.next=function(){return this.idx=n)return void o.complete();o.next(e[r]),t.index=r+1,this.schedule(t)}},e.prototype._subscribe=function(t){var r=this,n=r.arrayLike,o=r.scheduler,i=n.length;if(o)return o.schedule(e.dispatch,0,{arrayLike:n,index:0,length:i,subscriber:t});for(var s=0;s1?c.concat(new o.ArrayObservable(t,r),e):c.concat(new s.EmptyObservable(r),e)}}var o=r(25),i=r(44),s=r(29),c=r(50),a=r(26);e.startWith=n},function(t,e,r){"use strict";function n(t,e){var r=t.pipe(l.withLatestFrom(e.window$,e.document$,e.option$.pipe(i.pluck("scrollProportionally")))),n=c.partition(function(t){return"document"===t[0].tagName})(r),f=n[0],d=n[1],y=c.partition(function(t){return t[0].mappingIndex>-1})(d),b=y[0],v=y[1];return a.merge(f.pipe(p.tap(function(t){var e=t[0],r=t[1],n=t[2],o=t[3],i=u.getDocumentScrollSpace(n);return o?r.scrollTo(0,i.y*e.position.proportional):r.scrollTo(0,e.position.raw.y)})),v.pipe(p.tap(function(t){var e=t[0],r=(t[1],t[2]),n=t[3],i=r.getElementsByTagName(e.tagName);if(i&&i.length){var s=i[e.index];if(s)return o(s,n,e)}})),b.pipe(l.withLatestFrom(e.option$.pipe(i.pluck("scrollElementMapping"))),h.map(function(t){var e=t[0],r=t[1],n=e[0];return[e,r.filter(function(t,e){return e!==n.mappingIndex})]}),p.tap(function(t){var e=t[0],r=t[1],n=e[0],i=(e[1],e[2]),s=e[3];r.map(function(t){return i.querySelector(t)}).forEach(function(t){o(t,s,n)})}))).pipe(s.ignoreElements())}function o(t,e,r){return e&&t.scrollTo?t.scrollTo(0,t.scrollHeight*r.position.proportional):t.scrollTo(0,r.position.raw.y)}Object.defineProperty(e,"__esModule",{value:!0});var i=r(7),s=r(13),c=r(147),a=r(36),u=r(24),p=r(6),l=r(0),h=r(2);e.setScrollEffect=n},function(t,e,r){"use strict";function n(t,e){return function(r){return[i.filter(t,e)(r),i.filter(o.not(t,e))(r)]}}var o=r(148),i=r(4);e.partition=n},function(t,e,r){"use strict";function n(t,e){function r(){return!r.pred.apply(r.thisArg,arguments)}return r.pred=t,r.thisArg=e,r}e.not=n},function(t,e,r){"use strict";function n(t){return t.pipe(o.map(function(t){return i.overlayInfo(t.message,t.timeout)}))}Object.defineProperty(e,"__esModule",{value:!0});var o=r(2),i=r(16);e.incomingBrowserNotify=n},function(t,e,r){"use strict";function n(t,e){return t.pipe(c.withLatestFrom(e.option$.pipe(o.pluck("ghostMode","location"))),i.filter(function(t){return!0===t[1]}),s.map(function(t){var e=t[0];return a.browserSetLocation(e)}))}Object.defineProperty(e,"__esModule",{value:!0});var o=r(7),i=r(4),s=r(2),c=r(0),a=r(86);e.incomingBrowserLocation=n},function(t,e,r){"use strict";function n(t,e){return void 0===e&&(e=0),function(r){return r.lift(new i(t,e))}}var o=r(152);e.subscribeOn=n;var i=function(){function t(t,e){this.scheduler=t,this.delay=e}return t.prototype.call=function(t,e){return new o.SubscribeOnObservable(e,this.delay,this.scheduler).subscribe(t)},t}()},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(1),i=r(153),s=r(74),c=function(t){function e(e,r,n){void 0===r&&(r=0),void 0===n&&(n=i.asap),t.call(this),this.source=e,this.delayTime=r,this.scheduler=n,(!s.isNumeric(r)||r<0)&&(this.delayTime=0),n&&"function"==typeof n.schedule||(this.scheduler=i.asap)}return n(e,t),e.create=function(t,r,n){return void 0===r&&(r=0),void 0===n&&(n=i.asap),new e(t,r,n)},e.dispatch=function(t){var e=t.source,r=t.subscriber;return this.add(e.subscribe(r))},e.prototype._subscribe=function(t){var r=this.delayTime,n=this.source;return this.scheduler.schedule(e.dispatch,r,{source:n,subscriber:t})},e}(o.Observable);e.SubscribeOnObservable=c},function(t,e,r){"use strict";var n=r(154),o=r(157);e.asap=new o.AsapScheduler(n.AsapAction)},function(t,e,r){"use strict";var n=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},o=r(155),i=r(76),s=function(t){function e(e,r){t.call(this,e,r),this.scheduler=e,this.work=r}return n(e,t),e.prototype.requestAsyncId=function(e,r,n){return void 0===n&&(n=0),null!==n&&n>0?t.prototype.requestAsyncId.call(this,e,r,n):(e.actions.push(this),e.scheduled||(e.scheduled=o.Immediate.setImmediate(e.flush.bind(e,null))))},e.prototype.recycleAsyncId=function(e,r,n){if(void 0===n&&(n=0),null!==n&&n>0||null===n&&this.delay>0)return t.prototype.recycleAsyncId.call(this,e,r,n);0===e.actions.length&&(o.Immediate.clearImmediate(r),e.scheduled=void 0)},e}(i.AsyncAction);e.AsapAction=s},function(t,e,r){"use strict";(function(t,n){var o=r(8),i=function(){function t(t){if(this.root=t,t.setImmediate&&"function"==typeof t.setImmediate)this.setImmediate=t.setImmediate.bind(t),this.clearImmediate=t.clearImmediate.bind(t);else{this.nextHandle=1,this.tasksByHandle={},this.currentlyRunningATask=!1,this.canUseProcessNextTick()?this.setImmediate=this.createProcessNextTickSetImmediate():this.canUsePostMessage()?this.setImmediate=this.createPostMessageSetImmediate():this.canUseMessageChannel()?this.setImmediate=this.createMessageChannelSetImmediate():this.canUseReadyStateChange()?this.setImmediate=this.createReadyStateChangeSetImmediate():this.setImmediate=this.createSetTimeoutSetImmediate();var e=function t(e){delete t.instance.tasksByHandle[e]};e.instance=this,this.clearImmediate=e}}return t.prototype.identify=function(t){return this.root.Object.prototype.toString.call(t)},t.prototype.canUseProcessNextTick=function(){return"[object process]"===this.identify(this.root.process)},t.prototype.canUseMessageChannel=function(){return Boolean(this.root.MessageChannel)},t.prototype.canUseReadyStateChange=function(){var t=this.root.document;return Boolean(t&&"onreadystatechange"in t.createElement("script"))},t.prototype.canUsePostMessage=function(){var t=this.root;if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}return!1},t.prototype.partiallyApplied=function(t){for(var e=[],r=1;r>",e.SUFFIX="<>",e.regex=new RegExp(e.PREFIX+"(.+?)"+e.SUFFIX,"g"),e.initWindowName=o,e.scrollRestoreHandlers$=new c.BehaviorSubject((y={},y[s.EffectNames.PreBrowserReload]=function(t,r){return t.pipe(l.withLatestFrom(r.window$,r.document$),h.map(function(t){var r=t[1],n=t[2];return[r.name,e.PREFIX,JSON.stringify({bs:{hardReload:!0,scroll:i.getBrowserScrollPosition(r,n)}}),e.SUFFIX].join("")}),h.map(function(t){return f.setWindowName(t)}))},y));var y},function(t,e,r){"use strict";function n(t,e,r,n){return o.merge(c.getScrollStream(t,e,r,n),s.getClickStream(e,r,n),i.getFormInputStream(e,r,n),a.getFormTogglesStream(e,r,n))}Object.defineProperty(e,"__esModule",{value:!0});var o=r(36),i=r(164),s=r(166),c=r(167),a=r(168);e.initListeners=n},function(t,e,r){"use strict";function n(t,e,r){var n=s.createTimedBooleanSwitch(e.pipe(a.filter(function(t){return t[0]===o.IncomingSocketNames.Keyup})));return r.pipe(h.skip(1),l.pluck("ghostMode","forms","inputs"),f.distinctUntilChanged(),d.switchMap(function(e){return e?b.fromEvent(t.body,"keyup",!0).pipe(p.map(function(t){return t.target||t.srcElement}),a.filter(function(t){return"INPUT"===t.tagName||"TEXTAREA"===t.tagName}),u.withLatestFrom(n),a.filter(function(t){return t[1]}),p.map(function(t){var e=t[0],r=i.getElementData(e),n=e.value;return c.outgoing(r,n)})):y.empty()}))}Object.defineProperty(e,"__esModule",{value:!0});var o=r(12),i=r(24),s=r(23),c=r(92),a=r(4),u=r(0),p=r(2),l=r(7),h=r(37),f=r(38),d=r(22),y=r(18),b=r(39);e.getFormInputStream=n},function(t,e,r){"use strict";function n(t){return!!t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}function o(t){return!!t&&"function"==typeof t.on&&"function"==typeof t.off}function i(t){return!!t&&"[object NodeList]"===d.call(t)}function s(t){return!!t&&"[object HTMLCollection]"===d.call(t)}function c(t){return!!t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}var a=this&&this.__extends||function(t,e){function r(){this.constructor=t}for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)},u=r(1),p=r(41),l=r(40),h=r(28),f=r(14),d=Object.prototype.toString,y=function(t){function e(e,r,n,o){t.call(this),this.sourceObj=e,this.eventName=r,this.selector=n,this.options=o}return a(e,t),e.create=function(t,r,n,o){return l.isFunction(n)&&(o=n,n=void 0),new e(t,r,o,n)},e.setupSubscription=function(t,r,a,u,p){var l;if(i(t)||s(t))for(var h=0,d=t.length;h