t}}},e}(w),E=function(){functiont(t,e,n){this.eventName=t,this.eventPhase=e,this.handler=n}returnt}()},function(t,e,n){"use strict";functionr(){returno}functioni(t){o||(o=t)}e.a=r,e.c=i,n.d(e,"b",function(){returns});varo=null,s=function(){functiont(){this.resourceLoaderType=null}returnObject.defineProperty(t.prototype,"attrToPropMap",{get:function(){returnthis._attrToPropMap},set:function(t){this._attrToPropMap=t},enumerable:!0,configurable:!0}),t}()},function(t,e,n){"use strict";functionr(t){vare={};returnnull!==t&&Object.keys(t).forEach(function(n){t[n].forEach(function(t){e[String(t)]=n})}),e}functioni(t,e){if(e=e||{},Object.keys(e).forEach(function(e){if(s.indexOf(e)===-1)thrownewo('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')}),this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){returnt},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.defaultStyle=e.defaultStyle||null,this.styleAliases=r(e.styleAliases||null),a.indexOf(this.kind)===-1)thrownewo('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}varo=n(127),s=["kind","resolve","construct","instanceOf","predicate","represent","defaultStyle","styleAliases"],a=["scalar","sequence","mapping"];t.exports=i},function(t,e){varn;n=function(){returnthis}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeofwindow&&(n=window)}t.exports=n},function(t,e,n){"use strict";n.d(e,"TemplateRef",function(){returni}),n.d(e,"TemplateRef_",function(){returno});varr=this&&this.__extends||function(t,e){functionn(){this.constructor=t}for(varrine)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)},i=function(){functiont(){}returnObject.defineProperty(t.prototype,"elementRef",{get:function(){returnnull},enumerable:!0,configurable:!0}),t}(),o=function(t){functione(e,n){t.call(this),this._appElement=e,this._viewFactory=n}returnr(e,t),e.prototype.createEmbeddedView=function(t){vare=this._viewFactory(this._appElement.parentView.viewUtils,this._appElement.parentInjector,this._appElement);returne.create(t||{},null,null),e.ref},Object.defineProperty(e.prototype,"elementRef",{get:function(){returnthis._appElement.elementRef},enumerable:!0,configurable:!0}),e}(i)},function(t,e,n){t.exports=!n(8)(function(){return7!=Object.defineProperty({},"a",{get:function(){return7}}).a})},function(t,e,n){"use strict";varr=n(63),i=n(1035),o=n(254),s=n(33),a=n(30),c=n(370),u=function(){functiont(t){this.closed=!1,t&&(this._unsubscribe=t)}returnt.prototype.unsubscribe=function(){vart,e=!1;if(!this.closed){this.closed=!0;varn=this,u=n._unsubscribe,l=n._subscriptions;if(this._subscriptions=null,o.isFunction(u)){varh=s.tryCatch(u).call(this);h===a.errorObject&&(e=!0,(t=t||[]).push(a.errorObject.e))}if(r.isArray(l))for(varp=-1,f=l.length;++p<f;){vard=l[p];if(i.isObject(d)){varh=s.tryCatch(d.unsubscribe).call(d);if(h===a.errorObject){e=!0,t=t||[];var_=a.errorObject.e;_instanceofc.UnsubscriptionError?t=t.concat(_.errors):t.push(_)}}}if(e)thrownewc.UnsubscriptionError(t)}},t.prototype.add=function(e){if(!e||e===t.EMPTY)returnt.EMPTY;if(e===this)returnthis;varn=e;switch(typeofe){case"function":n=newt(e);case"object":if(n.closed||"function"!=typeofn.unsubscribe)break;this.closed?n.unsubscribe():(this._subscriptions||(this._subscriptions=[])).push(n);break;default:thrownewError("unrecognized teardown "+e+" added to Subscription.")}returnn},t.prototype.remove=function(e){if(null!=e&&e!==this&&e!==t.EMPTY){varn=this._subscriptions;if(n){varr=n.indexOf(e);r!==-1&&n.splice(r,1)}}},t.EMPTY=function(t){returnt.closed=!0,t}(newt),t}();e.Subscription=u},function(t,e){"use strict";e.errorObject={e:{}}},function(t,e,n){"use strict";functionr(t,e){if(n.i(a.isPresent)(t))for(vari=0;i<t.length;i++){varo=t[i];n.i(a.isArray)(o)?r(o,e):e.push(o)}returne}functioni(t){return!!n.i(a.isJsObject)(t)&&(n.i(a.isArray)(t)||!(tinstanceofMap
i.set(e,o=newr)}returno},c=function(t,e,n){varr=a(e,n,!1);returnvoid0!==r&&r.has(t)},u=function(t,e,n){varr=a(e,n,!1);returnvoid0===r?void0:r.get(t)},l=function(t,e,n,r){a(n,r,!0).set(t,e)},h=function(t,e){varn=a(t,e,!1),r=[];returnn&&n.forEach(function(t,e){r.push(e)}),r},p=function(t){returnvoid0===t||"symbol"==typeoft?t:String(t)},f=function(t){i(i.S,"Reflect",t)};t.exports={store:s,map:a,has:c,get:u,set:l,keys:h,key:p,exp:f}},function(t,e,n){varr=n(159),i=n(77),o=n(57),s=n(79),a=n(39),c=n(312),u=Object.getOwnPropertyDescriptor;e.f=n(28)?u:function(t,e){if(t=o(t),e=s(e,!0),c)try{returnu(t,e)}catch(t){}if(a(t,e))returni(!r.f.call(t,e),t[e])}},function(t,e,n){"use strict";if(n(28)){varr=n(122),i=n(10),o=n(8),s=n(1),a=n(162),c=n(237),u=n(88),l=n(120),h=n(77),p=n(51),f=n(123),d=n(78),_=n(34),m=n(91),g=n(79),y=n(39),v=n(324),b=n(221),w=n(9),x=n(52),E=n(226),C=n(89),S=n(60),I=n(90).f,O=n(238),k=n(92),T=n(13),A=n(59),N=n(220),P=n(325),M=n(163),R=n(101),j=n(230),D=n(124),L=n(219),F=n(304),V=n(21),B=n(67),U=V.f,z=B.f,q=i.RangeError,H=i.TypeError,Z=i.Uint8Array,$="ArrayBuffer",W="Shared"+$,G="BYTES_PER_ELEMENT",Y="prototype",J=Array[Y],K=c.ArrayBuffer,X=c.DataView,Q=A(0),tt=A(2),et=A(3),nt=A(4),rt=A(5),it=A(6),ot=N(!0),st=N(!1),at=M.values,ct=M.keys,ut=M.entries,lt=J.lastIndexOf,ht=J.reduce,pt=J.reduceRight,ft=J.join,dt=J.sort,_t=J.slice,mt=J.toString,gt=J.toLocaleString,yt=T("iterator"),vt=T("toStringTag"),bt=k("typed_constructor"),wt=k("def_constructor"),xt=a.CONSTR,Et=a.TYPED,Ct=a.VIEW,St="Wrong length!",It=A(1,function(t,e){returnPt(P(t,t[wt]),e)}),Ot=o(function(){return1===newZ(newUint16Array([1]).buffer)[0]}),kt=!!Z&&!!Z[Y].set&&o(function(){newZ(1).set({})}),Tt=function(t,e){if(void0===t)throwH(St);varn=+t,r=_(t);if(e&&!v(n,r))throwq(St);returnr},At=function(t,e){varn=d(t);if(n<0||n%e)throwq("Wrong offset!");returnn},Nt=function(t){if(w(t)&&Etint)returnt;throwH(t+" is not a typed array!")},Pt=function(t,e){if(!(w(t)&&btint))throwH("It is not a typed array constructor!");returnnewt(e)},Mt=function(t,e){returnRt(P(t,t[wt]),e)},Rt=function(t,e){for(varn=0,r=e.length,i=Pt(t,r);r>n;)i[n]=e[n++];returni},jt=function(t,e,n){U(t,e,{get:function(){returnthis._d[n]}})},Dt=function(t){vare,n,r,i,o,s,a=x(t),c=arguments.length,l=c>1?arguments[1]:void0,h=void0!==l,p=O(a);if(void0!=p&&!E(p)){for(s=p.call(a),r=[],e=0;!(o=s.next()).done;e++)r.push(o.value);a=r}for(h&&c>2&&(l=u(l,arguments[2],2)),e=0,n=_(a.length),i=Pt(this,n);n>e;e++)i[e]=h?l(a[e],e):a[e];returni},Lt=function(){for(vart=0,e=arguments.length,n=Pt(this,e);e>t;)n[t]=arguments[t++];returnn},Ft=!!Z&&o(function(){gt.call(newZ(1))}),Vt=function(){returngt.apply(Ft?_t.call(Nt(this)):Nt(this),arguments)},Bt={copyWithin:function(t,e){returnF.call(Nt(this),t,e,arguments.length>2?arguments[2]:void0)},every:function(t){returnnt(Nt(this),t,arguments.length>1?arguments[1]:void0)},fill:function(t){returnL.apply(Nt(this),arguments)},filter:function(t){returnMt(this,tt(Nt(this),t,arguments.length>1?arguments[1]:void0))},find:function(t){returnrt(Nt(this),t,arguments.length>1?arguments[1]:void0)},findIndex:function(t){returnit(Nt(this),t,arguments.length>1?arguments[1]:void0)},forEach:function(t){Q(Nt(this),t,arguments.length>1?arguments[1]:void0)},indexOf:function(t){returnst(Nt(this),t,arguments.length>1?arguments[1]:void0)},includes:function(t){returnot(Nt(this),t,arguments.length>1?arguments[1]:void0)},join:function(t){returnft.apply(Nt(this),arguments)},lastIndexOf:function(t){returnlt.apply(Nt(this),arguments)},map:function(t){returnIt(Nt(this),t,arguments.length>1?arguments[1]:void0)},reduce:function(t){returnht.apply(Nt(this),arguments)},reduceRight:function(t){returnpt.apply(Nt(this),arguments)},reverse:function(){for(vart,e=this,n=Nt(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;returne},some:function(t){returnet(Nt(this),t,arguments.length>1?arguments[1]:void0)},sort:function(t){returndt.call(Nt(this),t)},subarray:function(t,e){varn=Nt(this),r=n.length,i=m(t,r);returnnew(P(n,n[w
},e.prototype.filterMainTags=function(t){vare=this.specMgr.getTagsMap();returnt?t.filter(function(t){returne[t]&&e[t]["x-traitTag"]}):[]},e.prototype.findBodyParam=function(){vart=this.specMgr.getMethodParams(this.pointer,!0),e=t.find(function(t){return"body"===t.in});returne},e.prototype.ngOnInit=function(){this.preinit()},__decorate([r.Input(),__metadata("design:type",String)],e.prototype,"pointer",void0),__decorate([r.Input(),__metadata("design:type",String)],e.prototype,"tag",void0),e=__decorate([r.Component({selector:"method",templateUrl:"./method.html",styleUrls:["./method.css"],changeDetection:r.ChangeDetectionStrategy.OnPush}),__metadata("design:paramtypes",["function"==typeof(n="undefined"!=typeofo.SpecManager&&o.SpecManager)&&n||Object])],e);varn}(o.BaseComponent);e.Method=a},function(t,e,n){"use strict";varr=n(2),i=n(44),o=n(64),s=function(t){functione(e){t.call(this,e),this.tags=[]}return__extends(e,t),e.prototype.init=function(){vart=o.SchemaHelper.buildMenuTree(this.specMgr.schema);this.tags=t.filter(function(t){return!t.virtual}),this.tags.forEach(function(t){t.methods=t.methods||[],t.methods.forEach(function(e){e.tag=t.id})})},e.prototype.trackByPointer=function(t,e){returne.pointer},e.prototype.trackByTagName=function(t,e){returne.name},e.prototype.ngOnInit=function(){this.preinit()},__decorate([r.Input(),__metadata("design:type",String)],e.prototype,"pointer",void0),e=__decorate([r.Component({selector:"methods-list",templateUrl:"./methods-list.html",styleUrls:["./methods-list.css"],changeDetection:r.ChangeDetectionStrategy.OnPush}),__metadata("design:paramtypes",["function"==typeof(n="undefined"!=typeofi.SpecManager&&i.SpecManager)&&n||Object])],e);varn}(i.BaseComponent);e.MethodsList=s},function(t,e,n){"use strict";functionr(t,e,n){t[e]||(t[e]=[]),t[e].push(n)}vari=n(2),o=n(44),s=n(117),a=function(t){functione(e){t.call(this,e)}return__extends(e,t),e.prototype.init=function(){vart=this;this.params=[];vare=this.specMgr.getMethodParams(this.pointer,!0);e=e.map(function(e){varn=e._pointer;return"body"===e.in?e:(e._name=e.name,s.SchemaHelper.preprocess(e,n,t.pointer))});varn=this.orderParams(e);if(n.body&&n.body.length){varr=n.body[0];this.bodyParam=r,n.body=void0}this.empty=!(Object.keys(n).length||this.bodyParam);vari=["path","query","formData","header","body"],o={path:"Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId",query:"Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id",formData:"Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request",header:"Custom headers that are expected as part of the request"},a=[];i.forEach(function(t){n[t]&&n[t].length&&a.push({place:t,placeHint:o[t],params:n[t]})}),this.params=a},e.prototype.orderParams=function(t){vare={};returnt.forEach(function(t){returnr(e,t.in,t)}),e},e.prototype.ngOnInit=function(){this.preinit()},__decorate([i.Input(),__metadata("design:type",String)],e.prototype,"pointer",void0),e=__decorate([i.Component({selector:"params-list",templateUrl:"./params-list.html",styleUrls:["./params-list.css"],changeDetection:i.ChangeDetectionStrategy.OnPush}),__metadata("design:paramtypes",["function"==typeof(n="undefined"!=typeofo.SpecManager&&o.SpecManager)&&n||Object])],e);varn}(o.BaseComponent);e.ParamsList=a},function(t,e,n){"use strict";varr=n(2),i=n(44),o=n(73),s=n(301),a=n(64),c=function(t){functione(e,n){t.call(this,e),this.events=n,this.selectedLang=this.events.samplesLanguageChanged}return__extends(e,t),e.prototype.changeLangNotify=function(t){this.events.samplesLanguageChanged.next(t)},e.prototype.init=function(){this.schemaPointer=this.schemaPointer?o.default.join(this.schemaPointer,"schema"):null,this.samples=this.componentSchema["x-code-samples"]||[
t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)},s=n(35),a=n(0),c=function(t){functione(e,n){t.call(this),this.promise=e,this.scheduler=n}returno(e,t),e.create=function(t,n){returnnewe(t,n)},e.prototype._subscribe=function(t){vare=this,n=this.promise,o=this.scheduler;if(null==o)this._isScalar?t.closed||(t.next(this.value),t.complete()):n.then(function(n){e.value=n,e._isScalar=!0,t.closed||(t.next(n),t.complete())},function(e){t.closed||t.error(e)}).then(null,function(t){s.root.setTimeout(function(){throwt})});elseif(this._isScalar){if(!t.closed)returno.schedule(r,0,{value:this.value,subscriber:t})}elsen.then(function(n){e.value=n,e._isScalar=!0,t.closed||t.add(o.schedule(r,0,{value:n,subscriber:t}))},function(e){t.closed||t.add(o.schedule(i,0,{err:e,subscriber:t}))}).then(null,function(t){s.root.setTimeout(function(){throwt})})},e}(a.Observable);e.PromiseObservable=c},function(t,e,n){"use strict";functionr(){if(h.root.XMLHttpRequest){vart=newh.root.XMLHttpRequest;return"withCredentials"int&&(t.withCredentials=!!this.withCredentials),t}if(h.root.XDomainRequest)returnnewh.root.XDomainRequest;thrownewError("CORS is not supported by your browser")}functioni(){if(h.root.XMLHttpRequest)returnnewh.root.XMLHttpRequest;vart=void0;try{for(vare=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],n=0;n<3;n++)try{if(t=e[n],newh.root.ActiveXObject(t))break}catch(t){}returnnewh.root.ActiveXObject(t)}catch(t){thrownewError("XMLHttpRequest is not supported by your browser")}}functiono(t,e){returnvoid0===e&&(e=null),newg({method:"GET",url:t,headers:e})}functions(t,e,n){returnnewg({method:"POST",url:t,body:e,headers:n})}functiona(t,e){returnnewg({method:"DELETE",url:t,headers:e})}functionc(t,e,n){returnnewg({method:"PUT",url:t,body:e,headers:n})}functionu(t,e){returnnewg({method:"GET",url:t,responseType:"json",headers:e}).lift(newm.MapOperator(function(t,e){returnt.response},null))}varl=this&&this.__extends||function(t,e){functionn(){this.constructor=t}for(varrine)e.hasOwnProperty(r)&&(t[r]=e[r]);t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,newn)},h=n(35),p=n(33),f=n(30),d=n(0),_=n(3),m=n(249);e.ajaxGet=o,e.ajaxPost=s,e.ajaxDelete=a,e.ajaxPut=c,e.ajaxGetJSON=u;varg=function(t){functione(e){t.call(this);varn={async:!0,createXHR:function(){returnthis.crossDomain?r.call(this):i()},crossDomain:!1,withCredentials:!1,headers:{},method:"GET",responseType:"json",timeout:0};if("string"==typeofe)n.url=e;elsefor(varoine)e.hasOwnProperty(o)&&(n[o]=e[o]);this.request=n}returnl(e,t),e.prototype._subscribe=function(t){returnnewy(t,this.request)},e.create=function(){vart=function(t){returnnewe(t)};returnt.get=o,t.post=s,t.delete=a,t.put=c,t.getJSON=u,t}(),e}(d.Observable);e.AjaxObservable=g;vary=function(t){functione(e,n){t.call(this,e),this.request=n,this.done=!1;varr=n.headers=n.headers||{};n.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),"Content-Type"inr||h.root.FormData&&n.bodyinstanceofh.root.FormData||"undefined"==typeofn.body||(r["Content-Type"]="application/x-www-form-urlencoded; charset=UTF-8"),n.body=this.serializeBody(n.body,n.headers["Content-Type"]),this.send()}returnl(e,t),e.prototype.next=function(t){this.done=!0;vare=this,n=e.xhr,r=e.request,i=e.destination,o=newv(t,n,r);i.next(o)},e.prototype.send=function(){vart=this,e=t.request,n=t.request,r=n.user,i=n.method,o=n.url,s=n.async,a=n.password,c=n.headers,u=n.body,l=e.createXHR,h=p.tryCatch(l).call(e);if(h===f.errorObject)this.error(f.errorObject.e);else{this.xhr=h;vard=void0;if(d=r?p.tryCatch(h.open).call(h,i,o,s,r,a):p.tryCatch(h.open).call(h,i,o,s),d===f.errorObject)returnthis.error(f.errorObject.e),null;h.timeout=e.timeout,h.responseType=e.responseType,this.setHeaders(h,c),this.setupEvents(h,e),u?h.send(u):h.send()}returnh},e.prototype.serializeBody=function(t,e){if(!t||"string"==typeoft)returnt;if(h.root.FormData&&tinstanceofh.root.FormData)returnt;if(e){varn=e.indexOf(";");n!==-1&&(e=e.substring(0,n))}switch(e){case"a
e="")),s(this,n,t,e,!1)},o.prototype.unshift=function(t){vare=this._readableState;returns(this,e,t,"",!0)},o.prototype.isPaused=function(){returnthis._readableState.flowing===!1},o.prototype.setEncoding=function(t){returnF||(F=n(178).StringDecoder),this._readableState.decoder=newF(t),this._readableState.encoding=t,this};varU=8388608;o.prototype.read=function(t){L("read",t),t=parseInt(t,10);vare=this._readableState,n=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))returnL("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?S(this):p(this),null;if(t=u(t,e),0===t&&e.ended)return0===e.length&&S(this),null;varr=e.needReadable;L("need readable",r),(0===e.length||e.length-t<e.highWaterMark)&&(r=!0,L("length less than watermark",r)),e.ended||e.reading?(r=!1,L("reading or ended",r)):r&&(L("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=u(n,e)));vari;returni=t>0?w(t,e):null,null===i?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),n!==t&&e.ended&&S(this)),null!==i&&this.emit("data",i),i},o.prototype._read=function(t){this.emit("error",newError("not implemented"))},o.prototype.pipe=function(t,n){functioni(t){L("onunpipe"),t===p&&s()}functiono(){L("onend"),t.end()}functions(){L("cleanup"),t.removeListener("close",u),t.removeListener("finish",l),t.removeListener("drain",g),t.removeListener("error",c),t.removeListener("unpipe",i),p.removeListener("end",o),p.removeListener("end",s),p.removeListener("data",a),y=!0,!f.awaitDrain||t._writableState&&!t._writableState.needDrain||g()}functiona(e){L("ondata"),v=!1;varn=t.write(e);!1!==n||v||((1===f.pipesCount&&f.pipes===t||f.pipesCount>1&&k(f.pipes,t)!==-1)&&!y&&(L("false write response, pause",p._readableState.awaitDrain),p._readableState.awaitDrain++,v=!0),p.pause())}functionc(e){L("onerror",e),h(),t.removeListener("error",c),0===P(t,"error")&&t.emit("error",e)}functionu(){t.removeListener("finish",l),h()}functionl(){L("onfinish"),t.removeListener("close",u),h()}functionh(){L("unpipe"),p.unpipe(t)}varp=this,f=this._readableState;switch(f.pipesCount){case0:f.pipes=t;break;case1:f.pipes=[f.pipes,t];break;default:f.pipes.push(t)}f.pipesCount+=1,L("pipe count=%d opts=%j",f.pipesCount,n);vard=(!n||n.end!==!1)&&t!==e.stdout&&t!==e.stderr,_=d?o:s;f.endEmitted?T(_):p.once("end",_),t.on("unpipe",i);varg=m(p);t.on("drain",g);vary=!1,v=!1;returnp.on("data",a),r(t,"error",c),t.once("close",u),t.once("finish",l),t.emit("pipe",p),f.flowing||(L("pipe resume"),p.resume()),t},o.prototype.unpipe=function(t){vare=this._readableState;if(0===e.pipesCount)returnthis;if(1===e.pipesCount)returnt&&t!==e.pipes?this:(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this),this);if(!t){varn=e.pipes,r=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(vari=0;i<r;i++)n[i].emit("unpipe",this);returnthis}varo=k(e.pipes,t);returno===-1?this:(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this),this)},o.prototype.on=function(t,e){varn=N.prototype.on.call(this,t,e);if("data"===t)this._readableState.flowing!==!1&&this.resume();elseif("readable"===t){varr=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&p(this,r):T(g,this))}returnn},o.prototype.addListener=o.prototype.on,o.prototype.resume=function(){vart=this._readableState;returnt.flowing||(L("resume"),t.flowing=!0,y(this,t)),this},o.prototype.pause=function(){returnL("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(L("pause"),this._readableState.flowing=!1,this.emit("pause")),this},o.prototype.wrap=function(t){vare=this._readableState,n=!1,r=this;t.on("end",function(){if(L("wrapped end"),e.decoder&&!e.ended){vart=e.decoder.end();t&&t.length&&r.push(t)}r.push(null)}),t.on("data",function(i){if(L("wrapped data"),e.decoder&&(i=e.decoder.write(i)),(!e.objectMode||null!==i&&void
}functiona(t){f.attributeMap(t).forEach(function(e,n){"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||f.removeAttribute(t,n)});for(vare=0,n=f.childNodesAsList(t);e<n.length;e++){varr=n[e];f.isElementNode(r)&&a(r)}}functionc(t){try{vare=r(),i=t?String(t):"",o=5,s=i;do{if(0===o)thrownewError("Failed to sanitize html because the input is unstable");o--,i=s,f.setInnerHTML(e,i),f.defaultDoc().documentMode&&a(e),s=f.getInnerHTML(e)}while(i!==s);for(varc=newS,l=c.sanitizeChildren(f.getTemplateContent(e)||e),h=f.getTemplateContent(e)||e,d=0,_=f.childNodesAsList(h);d<_.length;d++){varm=_[d];f.removeChild(h,m)}returnn.i(u.isDevMode)()&&c.sanitizedSomething&&f.log("WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss)."),l}catch(t){throwp=null,t}}varu=n(2),l=n(24),h=n(202);e.a=c;varp=null,f=null,d=i("area,br,col,hr,img,wbr"),_=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),m=i("rp,rt"),g=o(m,_),y=o(_,i("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),v=o(m,i("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),b=o(d,y,v,g),w=i("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),x=i("srcset"),E=i("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),C=o(w,x,E),S=function(){functiont(){this.sanitizedSomething=!1,this.buf=[]}returnt.prototype.sanitizeChildren=function(t){for(vare=t.firstChild;e;)if(f.isElementNode(e)?this.startElement(e):f.isTextNode(e)?this.chars(f.nodeValue(e)):this.sanitizedSomething=!0,f.firstChild(e))e=f.firstChild(e);elsefor(;e;){if(f.isElementNode(e)&&this.endElement(e),f.nextSibling(e)){e=f.nextSibling(e);break}e=f.parentElement(e)}returnthis.buf.join("")},t.prototype.startElement=function(t){vare=this,r=f.nodeName(t).toLowerCase();returnb.hasOwnProperty(r)?(this.buf.push("<"),this.buf.push(r),f.attributeMap(t).forEach(function(t,r){vari=r.toLowerCase();returnC.hasOwnProperty(i)?(w[i]&&(t=n.i(h.a)(t)),x[i]&&(t=n.i(h.b)(t)),e.buf.push(" "),e.buf.push(r),e.buf.push('="'),e.buf.push(s(t)),voide.buf.push('"')):void(e.sanitizedSomething=!0)}),voidthis.buf.push(">")):void(this.sanitizedSomething=!0)},t.prototype.endElement=function(t){vare=f.nodeName(t).toLowerCase();b.hasOwnProperty(e)&&!d.hasOwnProperty(e)&&(this.buf.push("</"),this.buf.push(e),this.buf.push(">"))},t.prototype.chars=function(t){this.buf.push(s(t))},t}(),I=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,O=/([^\#-~ |!])/g},function(t,e,n){"use strict";functionr(t){for(vare=!0,n=!0,r=0;r<t.length;r++){vari=t.charAt(r);"'"===i&&n?e=!e:'"'===i&&e&&(n=!n)}returne&&n}functioni(t){if(t=String(t).trim(),!t)return"";vare=t.match(f);returne&&n.i(a.a)(e[1])===e[1]||t.match(p)&&r(t)?t:(n.i(o.isDevMode)()&&n.i(s.a)().log("WARNING: sanitizing unsafe style value "+t+" (see http://g.co/ng/security#xss)."),"unsafe")}varo=n(2),s=n(24),a=n(202);e.a=i;varc="[-,.\"'%_!# a-zA-Z0-9]+",u="(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?",l="(?:rgb|hsl)a?",h="\\([-0-9.%, a-zA-Z]+\\)",p=newRegExp("^("+c+"|(?:"+u+"|"+l+")"+h+")$","g"),f=/^url\(([^)]+)\)$/},function(t,e,n){"use strict";functionr(){returni.platformBrowser().bootstrapModuleFactory(o.RedocModuleNgFactory)}vari=n(112),o=n(458);e.bootstrapRedoc=r},function(t,e){"use strict";e.styles=[".api-info-header[_ngcontent-%COMP%]{\nfont-weight:normal;}\n\n[_nghost-%COMP%]>div[_ngcontent-%COMP%]{\nwidth:60%;\npadding:40px;\nbox-sizing:border-box;}\
pathFromRoot:r,depth:d,file:_,hash:m,value:f.value,circular:f.circular,extended:y,external:g}),i(f.value,null,f.path,r,o,s,u)}}functions(t){t.sort(function(t,e){returnt.file!==e.file?t.file<e.file?-1:1:t.hash!==e.hash?t.hash<e.hash?-1:1:t.circular!==e.circular?t.circular?-1:1:t.extended!==e.extended?t.extended?1:-1:t.depth!==e.depth?t.depth-e.depth:e.pathFromRoot.lastIndexOf("/definitions")-t.pathFromRoot.lastIndexOf("/definitions")});vare,n,r;t.forEach(function(t){u('Re-mapping $ref pointer "%s" at %s',t.$ref.$ref,t.pathFromRoot),t.external?t.file===e&&t.hash===n?t.$ref.$ref=r:t.file===e&&0===t.hash.indexOf(n+"/")?t.$ref.$ref=c.join(r,c.parse(t.hash)):(e=t.file,n=t.hash,r=t.pathFromRoot,t.$ref=t.parent[t.key]=a.dereference(t.$ref,t.value),t.circular&&(t.$ref.$ref=t.pathFromRoot)):t.$ref.$ref=t.hash,u(" new value: %s",t.$ref&&t.$ref.$ref?t.$ref.$ref:"[object Object]")})}vara=n(126),c=n(166),u=n(95),l=n(69);t.exports=r},function(t,e,n){"use strict";functionr(t,e){l("Dereferencing $ref pointers in %s",t.$refs._root$Ref.path);varn=i(t.schema,t.$refs._root$Ref.path,"#",[],t.$refs,e);t.$refs.circular=n.circular,t.schema=n.value}functioni(t,e,n,r,u,l){varh,p={value:t,circular:!1};returnt&&"object"==typeoft&&(r.push(t),a.isAllowed$Ref(t,l)?(h=o(t,e,n,r,u,l),p.circular=h.circular,p.value=h.value):Object.keys(t).forEach(function(f){vard=c.join(e,f),_=c.join(n,f),m=t[f],g=!1;a.isAllowed$Ref(m,l)?(h=o(m,d,_,r,u,l),g=h.circular,t[f]=h.value):r.indexOf(m)===-1?(h=i(m,d,_,r,u,l),g=h.circular,t[f]=h.value):g=s(d,u,l),p.circular=p.circular||g}),r.pop()),p}functiono(t,e,n,r,o,c){l('Dereferencing $ref pointer "%s" at %s',t.$ref,e);varu=h.resolve(e,t.$ref),p=o._resolve(u,c),f=p.circular,d=f||r.indexOf(p.value)!==-1;d&&s(e,o,c);var_=a.dereference(t,p.value);if(!d){varm=i(_,p.path,n,r,o,c);d=m.circular,_=m.value}returnd&&!f&&"ignore"===c.dereference.circular&&(_=t),f&&(_.$ref=n),{circular:d,value:_}}functions(t,e,n){if(e.circular=!0,!n.dereference.circular)throwu.reference("Circular $ref pointer found at %s",t);return!0}vara=n(126),c=n(166),u=n(81),l=n(95),h=n(69);t.exports=r},function(t,e,n){"use strict";(function(e){functionr(){this.schema=null,this.$refs=newa}functioni(t){vare,n,r,i;returnt=Array.prototype.slice.call(t),"function"==typeoft[t.length-1]&&(i=t.pop()),"string"==typeoft[0]?(e=t[0],"object"==typeoft[2]?(n=t[1],r=t[2]):(n=void0,r=t[1])):(e="",n=t[0],r=t[1]),rinstanceofs||(r=news(r)),{path:e,schema:n,options:r,callback:i}}varo=n(80),s=n(638),a=n(643),c=n(338),u=n(644),l=n(635),h=n(636),p=n(69),f=n(649),d=n(81);t.exports=r,t.exports.YAML=n(339),r.parse=function(t,e,n){varr=this,i=newr;returni.parse.apply(i,arguments)},r.prototype.parse=function(t,n,r){vars,u=i(arguments);if(!u.path&&!u.schema){varl=d("Expected a file path, URL, or object. Got %s",u.path||u.schema);returnf(u.callback,o.reject(l))}this.schema=null,this.$refs=newa,p.isFileSystemPath(u.path)&&(u.path=p.fromFileSystemPath(u.path)),u.path=p.resolve(p.cwd(),u.path),u.schema&&"object"==typeofu.schema?(this.$refs._add(u.path,u.schema),s=o.resolve(u.schema)):s=c(u.path,this.$refs,u.options);varh=this;returns.then(function(t){if(!t||"object"!=typeoft||e.isBuffer(t))throwd.syntax('"%s" is not a valid JSON Schema',h.$refs._root$Ref.path||t);returnh.schema=t,f(u.callback,o.resolve(h.schema))}).catch(function(t){returnf(u.callback,o.reject(t))})},r.resolve=function(t,e,n){varr=this,i=newr;returni.resolve.apply(i,arguments)},r.prototype.resolve=function(t,e,n){varr=this,s=i(arguments);returnthis.parse(s.path,s.schema,s.options).then(function(){returnu(r,s.options)}).then(function(){returnf(s.callback,o.resolve(r.$refs))}).catch(function(t){returnf(s.callback,o.reject(t))})},r.bundle=function(t,e,n){varr=this,i=newr;returni.bundle.apply(i,arguments)},r.prototype.bundle=function(t,e,n){varr=this,s=i(arguments);returnthis.resolve(s.path,s.schema,s.options).then(function(){returnl(r,s.options),f(s.callback,o.resolve(r.schema))}).catch(function(t){returnf(s.callback,o.reject(t))})},r.dereference=function(t,e,n){varr=thi
if(!r(s))break;for(v(t),s=t.input.charCodeAt(t.position),o++,t.lineIndent=0;32===s;)t.lineIndent++,s=t.input.charCodeAt(++t.position)}returnn!==-1&&0!==o&&t.lineIndent<n&&_(t,"deficient indentation"),o}functionw(t){vare,n=t.position;returne=t.input.charCodeAt(n),!(45!==e&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,e=t.input.charCodeAt(n),0!==e&&!o(e)))}functionx(t,e){1===e?t.result+=" ":e>1&&(t.result+=B.repeat("\n",e-1))}functionE(t,e,n){vara,c,u,l,h,p,f,d,_,g=t.kind,y=t.result;if(_=t.input.charCodeAt(t.position),o(_)||s(_)||35===_||38===_||42===_||33===_||124===_||62===_||39===_||34===_||37===_||64===_||96===_)return!1;if((63===_||45===_)&&(c=t.input.charCodeAt(t.position+1),o(c)||n&&s(c)))return!1;for(t.kind="scalar",t.result="",u=l=t.position,h=!1;0!==_;){if(58===_){if(c=t.input.charCodeAt(t.position+1),o(c)||n&&s(c))break}elseif(35===_){if(a=t.input.charCodeAt(t.position-1),o(a))break}else{if(t.position===t.lineStart&&w(t)||n&&s(_))break;if(r(_)){if(p=t.line,f=t.lineStart,d=t.lineIndent,b(t,!1,-1),t.lineIndent>=e){h=!0,_=t.input.charCodeAt(t.position);continue}t.position=l,t.line=p,t.lineStart=f,t.lineIndent=d;break}}h&&(m(t,u,l,!1),x(t,t.line-p),u=l=t.position,h=!1),i(_)||(l=t.position+1),_=t.input.charCodeAt(++t.position)}returnm(t,u,l,!1),!!t.result||(t.kind=g,t.result=y,!1)}functionC(t,e){varn,i,o;if(n=t.input.charCodeAt(t.position),39!==n)return!1;for(t.kind="scalar",t.result="",t.position++,i=o=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(m(t,i,t.position,!0),n=t.input.charCodeAt(++t.position),39!==n)return!0;i=o=t.position,t.position++}elser(n)?(m(t,i,o,!0),x(t,b(t,!1,e)),i=o=t.position):t.position===t.lineStart&&w(t)?d(t,"unexpected end of the document within a single quoted scalar"):(t.position++,o=t.position);d(t,"unexpected end of the stream within a single quoted scalar")}functionS(t,e){varn,i,o,s,u,l;if(l=t.input.charCodeAt(t.position),34!==l)return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(l=t.input.charCodeAt(t.position));){if(34===l)returnm(t,n,t.position,!0),t.position++,!0;if(92===l){if(m(t,n,t.position,!0),l=t.input.charCodeAt(++t.position),r(l))b(t,!1,e);elseif(l<256&&it[l])t.result+=ot[l],t.position++;elseif((u=c(l))>0){for(o=u,s=0;o>0;o--)l=t.input.charCodeAt(++t.position),(u=a(l))>=0?s=(s<<4)+u:d(t,"expected hexadecimal character");t.result+=h(s),t.position++}elsed(t,"unknown escape sequence");n=i=t.position}elser(l)?(m(t,n,i,!0),x(t,b(t,!1,e)),n=i=t.position):t.position===t.lineStart&&w(t)?d(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}d(t,"unexpected end of the stream within a double quoted scalar")}functionI(t,e){varn,r,i,s,a,c,u,l,h,p,f,_=!0,m=t.tag,g=t.anchor,v={};if(f=t.input.charCodeAt(t.position),91===f)s=93,u=!1,r=[];else{if(123!==f)return!1;s=125,u=!0,r={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=r),f=t.input.charCodeAt(++t.position);0!==f;){if(b(t,!0,e),f=t.input.charCodeAt(t.position),f===s)returnt.position++,t.tag=m,t.anchor=g,t.kind=u?"mapping":"sequence",t.result=r,!0;_||d(t,"missed comma between flow collection entries"),h=l=p=null,a=c=!1,63===f&&(i=t.input.charCodeAt(t.position+1),o(i)&&(a=c=!0,t.position++,b(t,!0,e))),n=t.line,M(t,e,$,!1,!0),h=t.tag,l=t.result,b(t,!0,e),f=t.input.charCodeAt(t.position),!c&&t.line!==n||58!==f||(a=!0,f=t.input.charCodeAt(++t.position),b(t,!0,e),M(t,e,$,!1,!0),p=t.result),u?y(t,r,v,h,l,p):a?r.push(y(t,null,v,h,l,p)):r.push(l),b(t,!0,e),f=t.input.charCodeAt(t.position),44===f?(_=!0,f=t.input.charCodeAt(++t.position)):_=!1}d(t,"unexpected end of the stream within a flow collection")}functionO(t,e){varn,o,s,a,c=J,l=!1,h=!1,p=e,f=0,_=!1;if(a=t.input.charCodeAt(t.position),124===a)o=!1;else{if(62!==a)return!1;o=!0}for(t.kind="scalar",t.result="";0!==a;)if(a=t.input.charCodeAt(++t.position),43===a||45===a)J===c?c=43===a?X:K:d(t,"repeat of a chomping mode identifier");else{if(!((s=u(a))>=0))break;0===s?d(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):h?d(t,"repeatofan
script:{pattern:/(<script[\w\W]*?>)[\w\W]*?(?=<\/script>)/i,lookbehind:!0,inside:r.languages.javascript,alias:"language-javascript"}}),r.languages.js=r.languages.javascript,function(){"undefined"!=typeofself&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(){vart={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.forEach&&Array.prototype.slice.call(document.querySelectorAll("pre[data-src]")).forEach(function(e){for(varn,i=e.getAttribute("data-src"),o=e,s=/\blang(?:uage)?-(?!\*)(\w+)\b/i;o&&!s.test(o.className);)o=o.parentNode;if(o&&(n=(e.className.match(s)||[,""])[1]),!n){vara=(i.match(/\.(\w+)$/)||[,""])[1];n=t[a]||a}varc=document.createElement("code");c.className="language-"+n,e.textContent="",c.textContent="Loading…",e.appendChild(c);varu=newXMLHttpRequest;u.open("GET",i,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?(c.textContent=u.responseText,r.highlightElement(c)):u.status>=400?c.textContent="✖ Error "+u.status+" while fetching file: "+u.statusText:c.textContent="✖ Error: File does not exist or is empty")},u.send(null)})},document.addEventListener("DOMContentLoaded",self.Prism.fileHighlight))}()}).call(e,n(26))},function(t,e,n){(function(t,r){vari;!function(o){functions(t){thrownewRangeError(P[t])}functiona(t,e){for(varn=t.length,r=[];n--;)r[n]=e(t[n]);returnr}functionc(t,e){varn=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(N,".");vari=t.split("."),o=a(i,e).join(".");returnr+o}functionu(t){for(vare,n,r=[],i=0,o=t.length;i<o;)e=t.charCodeAt(i++),e>=55296&&e<=56319&&i<o?(n=t.charCodeAt(i++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--)):r.push(e);returnr}functionl(t){returna(t,function(t){vare="";returnt>65535&&(t-=65536,e+=j(t>>>10&1023|55296),t=56320|1023&t),e+=j(t)}).join("")}functionh(t){returnt-48<10?t-22:t-65<26?t-65:t-97<26?t-97:w}functionp(t,e){returnt+22+75*(t<26)-((0!=e)<<5)}functionf(t,e,n){varr=0;for(t=n?R(t/S):t>>1,t+=R(t/e);t>M*E>>1;r+=w)t=R(t/M);returnR(r+(M+1)*t/(t+C))}functiond(t){vare,n,r,i,o,a,c,u,p,d,_=[],m=t.length,g=0,y=O,v=I;for(n=t.lastIndexOf(k),n<0&&(n=0),r=0;r<n;++r)t.charCodeAt(r)>=128&&s("not-basic"),_.push(t.charCodeAt(r));for(i=n>0?n+1:0;i<m;){for(o=g,a=1,c=w;i>=m&&s("invalid-input"),u=h(t.charCodeAt(i++)),(u>=w||u>R((b-g)/a))&&s("overflow"),g+=u*a,p=c<=v?x:c>=v+E?E:c-v,!(u<p);c+=w)d=w-p,a>R(b/d)&&s("overflow"),a*=d;e=_.length+1,v=f(g-o,e,0==o),R(g/e)>b-y&&s("overflow"),y+=R(g/e),g%=e,_.splice(g++,0,y)}returnl(_)}function_(t){vare,n,r,i,o,a,c,l,h,d,_,m,g,y,v,C=[];for(t=u(t),m=t.length,e=O,n=0,o=I,a=0;a<m;++a)_=t[a],_<128&&C.push(j(_));for(r=i=C.length,i&&C.push(k);r<m;){for(c=b,a=0;a<m;++a)_=t[a],_>=e&&_<c&&(c=_);for(g=r+1,c-e>R((b-n)/g)&&s("overflow"),n+=(c-e)*g,e=c,a=0;a<m;++a)if(_=t[a],_<e&&++n>b&&s("overflow"),_==e){for(l=n,h=w;d=h<=o?x:h>=o+E?E:h-o,!(l<d);h+=w)v=l-d,y=w-d,C.push(j(p(d+v%y,0))),l=R(v/y);C.push(j(p(l,0))),o=f(n,g,r==i),n=0,++r}++n,++e}returnC.join("")}functionm(t){returnc(t,function(t){returnT.test(t)?d(t.slice(4).toLowerCase()):t})}functiong(t){returnc(t,function(t){returnA.test(t)?"xn--"+_(t):t})}vary=("object"==typeofe&&e&&!e.nodeType&&e,"object"==typeoft&&t&&!t.nodeType&&t,"object"==typeofr&&r);y.global!==y&&y.window!==y&&y.self!==y||(o=y);varv,b=2147483647,w=36,x=1,E=26,C=38,S=700,I=72,O=128,k="-",T=/^xn--/,A=/[^\x20-\x7E]/,N=/[\x2E\u3002\uFF0E\uFF61]/g,P={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},M=w-x,R=Math.floor,j=String.fromCharCode;v={version:"1.4.1",ucs2:{decode:u,encode:l},decode:d,encode:_,toASCII:g,toUnicode:m},i=function(){returnv}.call(e,n,e,t),!(void0!==i&&(t.exports=i))}(this)}).call(e,n(382)(t),n(26))},function(t,e){"use strict";functionn(t,e){returnObject.prototype.hasOwnProperty.call(t,e)}t.exports=function(t,e,i,o){e=e||"&",i=i||"=";vars={};if("string"!=typeoft||0===t.length)retur
a.push({frame:r.frame,notification:o.Notification.createNext(e)})},function(t){a.push({frame:r.frame,notification:o.Notification.createError(t)})},function(){a.push({frame:r.frame,notification:o.Notification.createComplete()})})},0),u!==Number.POSITIVE_INFINITY&&this.schedule(function(){returns.unsubscribe()},u),this.flushTests.push(c),{toBe:function(t,n,r){c.ready=!0,c.expected=e.parseMarbles(t,n,r,!0)}}},e.prototype.expectSubscriptions=function(t){varn={actual:t,ready:!1};returnthis.flushTests.push(n),{toBe:function(t){varr="string"==typeoft?[t]:t;n.ready=!0,n.expected=r.map(function(t){returne.parseMarblesAsSubscriptions(t)})}}},e.prototype.flush=function(){for(vare=this.hotObservables;e.length>0;)e.shift().setup();t.prototype.flush.call(this);for(varn=this.flushTests.filter(function(t){returnt.ready});n.length>0;){varr=n.shift();this.assertDeepEqual(r.actual,r.expected)}},e.parseMarblesAsSubscriptions=function(t){if("string"!=typeoft)returnnewc.SubscriptionLog(Number.POSITIVE_INFINITY);for(vare=t.length,n=-1,r=Number.POSITIVE_INFINITY,i=Number.POSITIVE_INFINITY,o=0;o<e;o++){vars=o*this.frameTimeFactor,a=t[o];switch(a){case"-":case" ":break;case"(":n=s;break;case")":n=-1;break;case"^":if(r!==Number.POSITIVE_INFINITY)thrownewError("found a second subscription point '^' in a subscription marble diagram. There can only be one.");r=n>-1?n:s;break;case"!":if(i!==Number.POSITIVE_INFINITY)thrownewError("found a second subscription point '^' in a subscription marble diagram. There can only be one.");i=n>-1?n:s;break;default:thrownewError("there can only be '^' and '!' markers in a subscription marble diagram. Found instead '"+a+"'.")}}returni<0?newc.SubscriptionLog(r):newc.SubscriptionLog(r,i)},e.parseMarbles=function(t,e,n,r){if(void0===r&&(r=!1),t.indexOf("!")!==-1)thrownewError('conventional marble diagrams cannot have the unsubscription marker "!"');for(vari=t.length,a=[],c=t.indexOf("^"),u=c===-1?0:c*-this.frameTimeFactor,l="object"!=typeofe?function(t){returnt}:function(t){returnr&&e[t]instanceofs.ColdObservable?e[t].messages:e[t]},h=-1,p=0;p<i;p++){varf=p*this.frameTimeFactor+u,d=void0,_=t[p];switch(_){case"-":case" ":break;case"(":h=f;break;case")":h=-1;break;case"|":d=o.Notification.createComplete();break;case"^":break;case"#":d=o.Notification.createError(n||"error");break;default:d=o.Notification.createNext(l(_))}d&&a.push({frame:h>-1?h:f,notification:d})}returna},e}(u.VirtualTimeScheduler);e.TestScheduler=h},function(t,e,n){"use strict";varr=n(35),i=function(){functiont(t){t.requestAnimationFrame?(this.cancelAnimationFrame=t.cancelAnimationFrame.bind(t),this.requestAnimationFrame=t.requestAnimationFrame.bind(t)):t.mozRequestAnimationFrame?(this.cancelAnimationFrame=t.mozCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.mozRequestAnimationFrame.bind(t)):t.webkitRequestAnimationFrame?(this.cancelAnimationFrame=t.webkitCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.webkitRequestAnimationFrame.bind(t)):t.msRequestAnimationFrame?(this.cancelAnimationFrame=t.msCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.msRequestAnimationFrame.bind(t)):t.oRequestAnimationFrame?(this.cancelAnimationFrame=t.oCancelAnimationFrame.bind(t),this.requestAnimationFrame=t.oRequestAnimationFrame.bind(t)):(this.cancelAnimationFrame=t.clearTimeout.bind(t),this.requestAnimationFrame=function(e){returnt.setTimeout(e,1e3/60)})}returnt}();e.RequestAnimationFrameDefinition=i,e.AnimationFrame=newi(r.root)},function(t,e){"use strict";varn=function(){functiont(){this.values={}}returnt.prototype.delete=function(t){returnthis.values[t]=null,!0},t.prototype.set=function(t,e){returnthis.values[t]=e,this},t.prototype.get=function(t){returnthis.values[t]},t.prototype.forEach=function(t,e){varn=this.values;for(varrinn)n.hasOwnProperty(r)&&null!==n[r]&&t.call(e,n[r],r)},t.prototype.clear=function(){this.values={}},t}();e.FastMap=n},function(t,e,n){"use strict";varr=n(35),i=function(){functiont(t){if(this.root=t,t.setImmediate&&"function"==typeoft.setImmediate)this.setImmediate=t.
o(IDBRequest.prototype,null),o(IDBOpenDBRequest.prototype,null),o(IDBDatabase.prototype,null),o(IDBTransaction.prototype,null),o(IDBCursor.prototype,null)),e&&o(WebSocket.prototype,null)):(C(),h("XMLHttpRequest"),e&&w(t))}}functionE(){if(N&&!Object.getOwnPropertyDescriptor(HTMLElement.prototype,"onclick")&&"undefined"!=typeofElement){vart=Object.getOwnPropertyDescriptor(Element.prototype,"onclick");if(t&&!t.configurable)return!1}Object.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{get:function(){return!0}});vare=newXMLHttpRequest,n=!!e.onreadystatechange;returnObject.defineProperty(XMLHttpRequest.prototype,"onreadystatechange",{}),n}functionC(){for(vart=function(t){vare=Z[t],n="on"+e;document.addEventListener(e,function(t){vare,r,i=t.target;for(r=i?i.constructor.name+"."+n:"unknown."+n;i;)i[n]&&!i[n][$]&&(e=Zone.current.wrap(i[n],r),e[$]=i[n],i[n]=e),i=i.parentElement},!0)},e=0;e<Z.length;e++)t(e)}functionS(t,e,n,r){functioni(e){varn=e.data;returnn.args[0]=e.invoke,n.handleId=s.apply(t,n.args),e}functiono(t){returna(t.data.handleId)}vars=null,a=null;e+=r,n+=r,s=f(t,e,function(n){returnfunction(s,a){if("function"==typeofa[0]){varc=Zone.current,u={handleId:null,isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?a[1]||0:null,args:a},l=c.scheduleMacroTask(e,a[0],u,i,o);if(!l)returnl;varh=l.data.handleId;returnh.ref&&h.unref&&(l.ref=h.ref.bind(h),l.unref=h.unref.bind(h)),l}returnn.apply(t,a)}}),a=f(t,n,function(e){returnfunction(n,r){vari=r[0];i&&"string"==typeofi.type?(i.cancelFn&&i.data.isPeriodic||0===i.runCount)&&i.zone.cancelTask(i):e.apply(t,r)}})}functionI(t){functione(t){vare=t[Q];returne}functionn(t){vare=t.data;e.target.addEventListener("readystatechange",function(){e.target.readyState===e.target.DONE&&(e.aborted||t.invoke())});varn=e.target[Q];returnn||(e.target[Q]=t),s.apply(e.target,e.args),t}functionr(){}functioni(t){vare=t.data;returne.aborted=!0,a.apply(e.target,e.args)}varo=f(t.XMLHttpRequest.prototype,"open",function(){returnfunction(t,e){returnt[tt]=0==e[2],o.apply(t,e)}}),s=f(t.XMLHttpRequest.prototype,"send",function(){returnfunction(t,e){varo=Zone.current;if(t[tt])returns.apply(t,e);vara={target:t,isPeriodic:!1,delay:null,args:e,aborted:!1};returno.scheduleMacroTask("XMLHttpRequest.send",r,a,n,i)}}),a=f(t.XMLHttpRequest.prototype,"abort",function(t){returnfunction(t,n){varr=e(t);if(r&&"string"==typeofr.type){if(null==r.cancelFn)return;r.zone.cancelTask(r)}}})}varO=(function(t){functione(t){return"__zone_symbol__"+t}functionn(){0==S&&0==x.length&&(t[y]?t[y].resolve(0)[v](o):t[g](o,0))}functionr(t){n(),x.push(t)}functioni(t){vare=t&&t.rejection;e&&console.error("Unhandled Promise rejection:",einstanceofError?e.message:e,"; Zone:",t.zone.name,"; Task:",t.task&&t.task.source,"; Value:",e,einstanceofError?e.stack:void0),console.error(t)}functiono(){if(!E){for(E=!0;x.length;){vart=x;x=[];for(vare=0;e<t.length;e++){varn=t[e];try{n.zone.runTask(n,null,null)}catch(t){i(t)}}}for(;C.length;)for(varr=function(){vart=C.shift();try{t.zone.runGuarded(function(){throwt})}catch(t){i(t)}};C.length;)r();E=!1}}functions(t){returnt&&t.then}functiona(t){returnt}functionc(t){returnM.reject(t)}functionu(t,e){returnfunction(n){l(t,e,n)}}functionl(t,e,r){if(t[I]===T)if(rinstanceofM&&r[I]!==T)h(r),l(t,r[I],r[O]);elseif(s(r))r.then(u(t,e),u(t,!1));else{t[I]=e;vari=t[O];t[O]=r;for(varo=0;o<i.length;)p(t,i[o++],i[o++],i[o++],i[o++]);if(0==i.length&&e==N){t[I]=P;try{thrownewError("Uncaught (in promise): "+r)}catch(e){vara=e;a.rejection=r,a.promise=t,a.zone=d.current,a.task=d.currentTask,C.push(a),n()}}}returnt}functionh(t){if(t[I]===P){t[I]=N;for(vare=0;e<C.length;e++)if(t===C[e].promise){C.splice(e,1);break}}}functionp(t,e,n,r,i){h(t);varo=t[I]?r||a:i||c;e.scheduleMicroTask(k,function(){try{l(n,!0,e.run(o,null,[t[O]]))}catch(t){l(n,!1,t)}})}functionf(t){varn=t.prototype,r=n[e("then")]=n.then;n.then=function(t,e){varn=this;returnnewM(function(t,e){r.call(n,t,e)}).then(t,e)}}if(t.Zone)thrownewError("Zonealready